]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove shlib-versions entries redundant with DEFAULT entries.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
93ae1eba
JM
12014-09-26 Joseph Myers <joseph@codesourcery.com>
2
1810d3ab
JM
3 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4 specify symbol version for ld.so. Do not include entry for
5 libpthread.
6 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9
93ae1eba
JM
10 [BZ #14171]
11 * Makeconfig [$(build-shared) = yes]
12 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13 makefiles.
14 [$(build-shared) = yes && $(soversions.mk-done) = t]
15 ($(common-objpfx)gnu/lib-names.h): Remove rule.
16 [$(build-shared) = yes && $(soversions.mk-done) = t]
17 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
18 to Makerules.
19 [$(build-shared) = yes && $(soversions.mk-done) = t]
20 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
21 here.
22 [$(build-shared) = yes && $(soversions.mk-done) = t]
23 (common-generated): Don't append gnu/lib-names.h and
24 gnu/lib-names.stmp here.
25 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
26 (lib-names-h-abi): New variable.
27 [$(build-shared) = yes && $(soversions.mk-done) = t]
28 (lib-names-stmp-abi): Likewise.
29 [$(build-shared) = yes && $(soversions.mk-done) = t &&
30 abi-variants] (before-compile): Append
31 $(common-objpfx)$(lib-names-h-abi).
32 [$(build-shared) = yes && $(soversions.mk-done) = t &&
33 abi-variants] (common-generated): Append gnu/lib-names.h.
34 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35 abi-variants] (install-others-nosubdir): Depend on
36 $(inst_includedir)/$(lib-names-h-abi).
37 [$(build-shared) = yes && $(soversions.mk-done) = t &&
38 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
39 [$(build-shared) = yes && $(soversions.mk-done) = t]
40 ($(common-objpfx)$(lib-names-h-abi)): New rule.
41 [$(build-shared) = yes && $(soversions.mk-done) = t]
42 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
43 [$(build-shared) = yes && $(soversions.mk-done) = t]
44 (common-generated): Append $(lib-names-h-abi) and
45 $(lib-names-stmp-abi).
46 * scripts/lib-names.awk: Do not handle multi being set.
47 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
48 Remove variable.
49 (abi-lp64_be-ld-soname): Likewise.
50 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
51 Likewise.
52 (abi-hard-ld-soname): Likewise.
53 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
54 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
55 Remove variable.
56 (abi-o32_hard-ld-soname): Likewise.
57 (abi-o32_soft_2008-ld-soname): Likewise.
58 (abi-o32_hard_2008-ld-soname): Likewise.
59 (abi-n32_soft-ld-soname): Likewise.
60 (abi-n32_hard-ld-soname): Likewise.
61 (abi-n32_soft_2008-ld-soname): Likewise.
62 (abi-n32_hard_2008-ld-soname): Likewise.
63 (abi-n64_soft-ld-soname): Likewise.
64 (abi-n64_hard-ld-soname): Likewise.
65 (abi-n64_soft_2008-ld-soname): Likewise.
66 (abi-n64_hard_2008-ld-soname): Likewise.
67 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
68 Likewise.
69 (abi-64-v2-ld-soname): Likewise.
70 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
71 ld.so entries.
72 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
73 variable.
74 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
75 entry.
76 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
77 variable.
78 (abi-64-ld-soname): Likewise.
79 (abi-x32-ld-soname): Likewise.
80 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
81 entry.
82 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
83
68870f12
JM
842014-09-23 Joseph Myers <joseph@codesourcery.com>
85
86 [BZ #14138]
87 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
88 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
89 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
90 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
91 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
92 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
93 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
94 syscall entry for GLIBC_2.2 symbol version.
95 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
96 Likewise.
97 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
98 (setrlimit): Likewise.
99 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
100 Likewise.
101
ea58f202
WN
1022014-09-23 Will Newton <will.newton@linaro.org>
103
104 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
105 _LINUX_ARM_SYSDEP_H include guard too.
106 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
107 define.
108
69eb9a18
RV
1092014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
110
111 * sysdeps/unix/sysv/linux/eventfd.c:
112 Make first argument unsigned.
113 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
114 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
115
20e5a5f7
OB
1162014-09-20 Ondřej Bílka <neleai@seznam.cz>
117
118 * socket/recvmmsg.c (recvmmsg): Drop const argument.
119 * socket/sys/socket.h: Likewise
120 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
121
d3c827e7
AK
1222014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
123
124 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
125
fe1cc35a
AS
1262014-09-17 Arjun Shankar <arjun.is@lostca.se>
127
128 * time/tst-ftime.c: New test.
129 * time/Makefile (tests): Add tst-ftime.
130
4e8afe69
JM
1312014-09-17 Joseph Myers <joseph@codesourcery.com>
132
c4fe3ea7
JM
133 * soft-fp/extended.h: Fix comment formatting.
134 * soft-fp/op-1.h: Likewise.
135 * soft-fp/op-2.h: Likewise.
136 * soft-fp/op-4.h: Likewise.
137 * soft-fp/op-8.h: Likewise.
138 * soft-fp/op-common.h: Likewise.
139 * soft-fp/soft-fp.h: Likewise.
140
4e8afe69
JM
141 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
142
af296fcd
JM
1432014-09-16 Joseph Myers <joseph@codesourcery.com>
144
145 [BZ #6652]
146 * Makeconfig (soversions-default-setname): Remove variable.
147 ($(common-objpfx)soversions.i): Don't pass default_setname to
148 soversions.awk.
149 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
150 oldest_abi to abi-versions.awk.
151 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
152 * config.make.in (oldest-abi): Remove variable.
153 * configure.ac (--enable-oldest-abi): Remove configure option.
154 * configure: Regenerated.
155 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
156 text.
157 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
158 * scripts/soversions.awk: Do not handle default_setname variable.
159 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
160 variable.
161 * sysdeps/mach/hurd/configure: Regenerated.
162 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
163 variable.
164 * sysdeps/unix/sysv/linux/configure: Regenerated.
165
545583d6
SP
1662014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
167
d330b980
SP
168 * elf/Makefile (CFLAGS-interp.c): Remove.
169 ($(elf-objpfx)runtime-linker.h): Generate header with linker
170 path string.
171 * elf/interp.c: Include generated runtime-linker.h
172
02657da2
SP
173 * Makerules (lib%.so): Don't include $(+interp) in
174 prerequisites.
175 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
176 * dlfcn/eval.c: Remove file.
177
653b1080
SP
178 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
179 macros.
180
602f80ec
SP
181 [BZ #17266]
182 * misc/sys/cdefs.h: Define __extern_always_inline for clang
183 4.2 and newer.
184
545583d6
SP
185 [BZ #17370]
186 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
187
884ddc50
SP
1882014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
189 Jakub Jelinek <jakub@redhat.com>
190
191 [BZ #17266]
192 * libio/stdio.h: Check definition of __fortify_function
193 instead of __extern_always_inline to include bits/stdio2.h.
194 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
195 check if __extern_always_inline is defined.
196 [__USE_MISC || __USE_XOPEN]: Likewise.
197 [__USE_ISOC99] Likewise.
198 * misc/sys/cdefs.h (__fortify_function): Define only if
199 __extern_always_inline is defined.
200 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
201 __extern_always_inline and __extern_inline only for g++-4.3
202 and newer or a compatible gcc.
203
a7b87268
AS
2042014-09-15 Andreas Schwab <schwab@linux-m68k.org>
205
206 [BZ #17371]
207 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
208 last change to handle zero prefix length.
209
3f41521d
SP
2102014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
211
61fe374a
SP
212 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
213 _SC_REGEX_VERSION.
214
3f41521d
SP
215 * posix/getconf.c (vars): Add _POSIX_IPV6 and
216 _POSIX_RAW_SOCKETS.
217
d8f879ee
AM
2182014-09-13 Allan McRae <allan@archlinux.org>
219
220 * po/ru.po: Update Russian translation from translation project.
221
c079afb7
RM
2222014-09-12 Roland McGrath <roland@hack.frob.com>
223
a62b3c15
RM
224 * locale/programs/locale.c (show_locale_vars): Inline local function
225 into its sole call site. Clean up some style nits.
226 (print_item): New function, broken out of ...
227 (show_info): ... local function here. Clean up style nits.
228
d7e49b19
RM
229 * locale/programs/ld-ctype.c (set_one_default): New function, broken
230 out of ...
231 (set_class_defaults): ... local function set_default here.
232 Define set_default as a macro locally to pass constant parameters.
233 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
234 rather than a shared local.
235
c079afb7
RM
236 * stdlib/rpmatch.c (try): New function, broken out of ...
237 (rpmatch): ... local function here. Also, prototypify definition.
238
0bd72468
JM
2392014-09-12 Joseph Myers <joseph@codesourcery.com>
240
ba90e050
JM
241 * scripts/soversions.awk: Do not handle configuration names.
242 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
243 vendor and os variables to soversions.awk.
244 * configure.ac: Do not modify gnu-* host_os.
245 * configure: Regenerated
246 * shlib-versions: Remove first column with configuration names.
247 * nptl/shlib-versions: Likewise.
248 * nptl_db/shlib-versions: Likewise.
249 * sysdeps/hppa/shlib-versions: Likewise.
250 * sysdeps/m68k/shlib-versions: Likewise.
251 * sysdeps/mach/hurd/shlib-versions: Likewise.
252 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
253 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
254 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
255 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
256 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
257 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
258 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
259 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
261 Likewise.
262 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
263 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
264 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
265 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
266 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
267 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
268 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
269 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
270
73a39112
JM
271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
272 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
274 Regenerated.
275 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
277 Condition symbol version definitions on [HAVE_ELFV2_ABI].
278
c729e7c1
JM
279 * shlib-versions: Remove OS-specific entries. Moved to files in
280 sysdeps.
281 * sysdeps/mach/hurd/shlib-versions: New file.
282 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
283
dc932a24
JM
284 * nptl/shlib-versions: Remove architecture-specific entries.
285 Moved to files in sysdeps.
286 * shlib-versions: Likewise.
287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
288 file.
289 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
290 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
291 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
292 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
293
0bd72468
JM
294 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
295 (UDP_NO_CHECK6_RX): Likewise.
296
920238e0
SP
2972014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
298
299 * sysdeps/posix/sysconf.c (__sysconf): Spell
300 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
301
ba7b4d29
FW
3022014-08-12 Florian Weimer <fweimer@redhat.com>
303
304 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
305 loading.
306 * iconv/Versions (__gconv_transliterate): Export for use from
307 gconv modules.
308 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
309 (struct __gconv_trans_data, __gconv_trans_fct,
310 __gconv_trans_context_fct, __gconv_trans_query_fct,
311 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
312 definitions.
313 (struct __gconv_step_data): Remove __trans member.
314 (__gconv_transliterate): Declaration moved from gconv_int.h. No
315 longer hidden. Remove unused trans_data argument.
316 * iconv/gconv_int.h (struct trans_struct): Remove definition.
317 (__gconv_translit_find): Remove declaration.
318 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
319 prototype.
320 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
321 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
322 trans_data argument. Add hidden definition.
323 (__gconv_translit_find): Remove.
324 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
325 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
326 * iconv/skeleton.c: Remove transliteration initialization.
327 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
328 __gconv_step_data initialization.
329 * libio/iofwide.c (__libio_translit_): Remove.
330 (_IO_fwide): Adjust struct __gconv_step_data initialization.
331 * wcsmbs/btowc.c (__btowc): Likewise.
332 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
333 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
334 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
335 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
336 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
337 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
338 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
339 * wcsmbs/wctob.c (wctob): Likewise.
340
5379aebd
SP
3412014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
342
343 [BZ #16194]
344 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
345 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
346 register usage.
347 * sysdeps/x86/Makefile: Adjust.
348
8c0ab919
RM
3492014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
350 Roland McGrath <roland@hack.frob.com>
351
352 * locale/weight.h: Add include guard.
353 (findidx): Make static rather than auto; take new parameters
354 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
355 * locale/weightwc.h: Likewise.
356 * posix/fnmatch_loop.c
357 (FCT): Change type of EXTRA from int32_t to wint_t.
358 Don't include either header inside the function.
359 Call FINDIDX rather than findidx, and pass new arguments.
360 #undef FINDIDX at the end of the file.
361 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
362 FINDIDX before including fnmatch_loop.c for the non-wide version.
363 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
364 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
365 for the wide version.
366 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
367 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
368 Pass new arguments to findidx.
369 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
370 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
371 Don't #include it inside the function. Pass new arguments to findidx.
372 * posix/regex_internal.h
373 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
374 (re_string_elem_size_at): Don't #include it inside the function.
375 Pass new arguments to findidx.
376 * string/strcoll_l.c: #include WEIGHT_H at top level.
377 (get_next_seq): Don't #include it inside the function.
378 Pass new arguments to findidx.
379 (get_next_seq_nocache): Likewise.
380 * string/strxfrm_l.c: #include WEIGHT_H at top level.
381 (STRXFRM): Don't #include it inside the function.
382 Pass new arguments to findidx.
383
52ffbdf2
FW
3842014-09-11 Florian Weimer <fweimer@redhat.com>
385
386 [BZ #17344]
387 * malloc/malloc.c (unlink): Turn asserts into a call to
388 malloc_printerr.
389
984c0ea9
TL
3902014-09-11 Tim Lammens <tim.lammens@gmail.com>
391
392 [BZ #17370]
393 * libio/wfileops (do_ftell_wide): Free OUT.
394
3daee107
CM
3952014-09-10 Chris Metcalf <cmetcalf@tilera.com>
396
397 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
398
58b930ae
SP
3992014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
400
401 [BZ #17363]
402 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
403 group if the current group is empty.
404
3b473fec
AZ
4052014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
406
71ae8647
AZ
407 * benchtests/bench-memset.c (test_main): Add more test from size
408 from 32 to 512 bytes.
409 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
410 Add POWER8 memset object.
411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
412 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
413 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
414 implementation.
415 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
416 Likewise.
417 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
418 multiarch POWER8 memset optimization.
419 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
420 POWER8 memset optimization.
421
3b473fec
AZ
422 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
423 Remove bzero multiarch objects.
424 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
425 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
426 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
427 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
428 Remove define.
429 [__bzero]: Redefine to specific name.
430 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
431 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
432 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
433 define.
434 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
435 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
436
e6fb9587
FW
4372014-09-10 Florian Weimer <fweimer@redhat.com>
438
439 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
440 warnings into errors.
441
442 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
443 __cxa_thread_atexit_impl prototype.
444
9d3a350b
SE
4452014-09-09 Steve Ellcey <sellcey@mips.com>
446
447 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
448 Fix capitalization of error message.
449
0febba23
SE
4502014-09-09 Steve Ellcey <sellcey@mips.com>
451
452 * sysdeps/mips/preconfigure: Modify ABI tests.
453
645a0e9c
CD
4542014-09-07 Carlos O'Donell <carlos@systemhalted.org>
455
456 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
457
d83f0734
CD
4582014-09-07 Roland McGrath <roland@hack.frob.com>
459 Carlos O'Donell <carlos@systemhalted.org>
460
461 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
462 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
463 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
464 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
465 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
466 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
467 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
468 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
469 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
470 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
471 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
472 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
473 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
474 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
475 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
476 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
477 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
478 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
479 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
480 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
481 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
482 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
483 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
484 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
485 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
486 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
487 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
488 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
489 Deconditionalize the code that was previously under [RESET_PID].
490 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
491 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
492 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
493 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
494 include sysdep.h.
495
21c83793
AM
4962014-09-08 Allan McRae <allan@archlinux.org>
497
498 * version.h (RELEASE): Set to "development".
499 (VERSION): Set to "2.20.90"
500
1cd9b65c
AM
5012014-09-07 Allan McRae <allan@archlinux.org
502
b8079dd0
AM
503 * version.h (RELEASE): Set to "stable".
504 (VERSION): Set to "2.20"
505 * include/features.h (__GLIBC_MINOR__): Set to 20.
506
c46303ef
AM
507 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
508 Liebler.
509
1cd9b65c
AM
510 * po/ko.po: Update Korean translation from translation project.
511
8622092d
CM
5122014-09-06 Chris Metcalf <cmetcalf@tilera.com>
513
514 [BZ #17354]
515 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
516 macro for handling signed relocations.
517
41488498
FW
5182014-09-03 Florian Weimer <fweimer@redhat.com>
519
520 [BZ #17325]
521 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
522 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
523 assert.
524 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
525 * iconvdata/ibm935.c (BODY): Likewise.
526 * iconvdata/ibm937.c (BODY): Likewise.
527 * iconvdata/ibm939.c (BODY): Likewise.
528 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
529 assert.
530 * iconvdata/Makefile (iconv-test.out): Pass module list to test
531 script.
532 * iconvdata/run-iconv-test.sh: New test loop for checking for
533 decoder crashers.
534
a78b712d
KR
5352014-09-02 Khem Raj <raj.khem@gmail.com>
536
537 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
538 libm_hidden_ver.
539
cb08abc6
AM
5402014-09-01 Allan McRae <allan@archlinux.org>
541
2c31e102
AM
542 * po/eo.po: Update Esperanto translation from translation project.
543
cb08abc6
AM
544 * po/ca.po: Update Catalan translation from translation project.
545
17a62de1
ST
5462014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
547
548 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
549 __proc_dostop call.
550
9570bc53
MW
5512014-08-27 Mark Wielaard <mjw@redhat.com>
552
553 [BZ #17319]
554 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
555 to call set_thread_area instead of hand written asm.
556 (__NR_set_thread_area): Removed define.
557 (TLS_FLAG_WRITABLE): Likewise.
558 (__ASSUME_SET_THREAD_AREA): Remove check.
559 (TLS_EBX_ARG): Remove define.
560 (TLS_LOAD_EBX): Likewise.
561
b0f955c9
ST
5622014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
563
564 Simplify atomicity of socket creation in bind.
565
566 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
567 looking up the name after linking the file.
568
529bf515
AM
5692014-08-27 Allan McRae <allan@archlinux.org>
570
571 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
572
a1a6a401
FW
5732014-08-26 Florian Weimer <fweimer@redhat.com>
574
575 [BZ #17187]
576 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
577 trans_compare, open_translit, __gconv_translit_find):
578 Remove module loading code.
579
686ab290
AM
5802014-08-26 Allan McRae <allan@archlinux.org>
581
e4e7cfd2
AM
582 * po/vi.po: Update Vietnamese translation from translation project.
583
6aa09f71
AM
584 * po/uk.po: Update Ukrainian translation from translation project.
585
edc0660e
AM
586 * po/fr.po: Update French translation from translation project.
587
7eea72ac
AM
588 * po/ru.po: Update Russian translation from translation project.
589
93c49eff
AM
590 * po/pl.po: Update Polish translation from translation project.
591
46acaf63
AM
592 * po/cs.po: Update Czech translation from translation project.
593
a9f5ce98
AM
594 * po/de.po: Update German translation from translation project.
595
373f2b78
AM
596 * po/bg.po: Update Bulgarian translation from translation project.
597
e7548bd8
AM
598 * po/sv.po: Update Sweedish translation from translation project.
599
c526bf4d
AM
600 * po/nl.po: Update Dutch translation from translation project.
601
686ab290
AM
602 * po/es.po: Update Spanish translation from translation project.
603
eb72478a
SP
6042014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
605
dd763fdb
SP
606 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
607
318c7a58
SP
608 * catgets/Makefile (CPPFLAGS-gencat): Remove.
609 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
610 (CPPFLAGS-iconvconfig): Likewise.
611 * timezone/Makefile (CPPFLAGS-zic): Likewise.
612
eb72478a
SP
613 * include/libc-symbols.h: Remove unnecessary check for
614 NOT_IN_libc.
615 * nptl/pthreadP.h: Likewise.
616 * sysdeps/aarch64/setjmp.S: Likewise.
617 * sysdeps/alpha/setjmp.S: Likewise.
618 * sysdeps/arm/sysdep.h: Likewise.
619 * sysdeps/i386/setjmp.S: Likewise.
620 * sysdeps/m68k/setjmp.c: Likewise.
621 * sysdeps/posix/getcwd.c: Likewise.
622 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
623 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
624 * sysdeps/s390/s390-32/setjmp.S: Likewise.
625 * sysdeps/s390/s390-64/setjmp.S: Likewise.
626 * sysdeps/sh/sh3/setjmp.S: Likewise.
627 * sysdeps/sh/sh4/setjmp.S: Likewise.
628 * sysdeps/unix/alpha/sysdep.h: Likewise.
629 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
630 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
631 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
632 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
635 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
636 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
637 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
638 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
639 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
640 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
642 * sysdeps/x86_64/setjmp.S: Likewise.
643
d44a052c
JM
6442014-08-13 Joseph Myers <joseph@codesourcery.com>
645
646 [BZ #17263]
647 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
648 <stdint.h>.
649 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
650 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
651
508ce3ac
SP
6522014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
653
e44c8b0e
SP
654 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
655
508ce3ac
SP
656 [BZ #17262]
657 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
658 and __x86_64__ when disabling x87 inline functions.
659
b4acef1f
L
6602014-08-12 H.J. Lu <hongjiu.lu@intel.com>
661
662 [BZ #17259]
663 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
664 asm statement with __cpuid_count.
665
61b1ef6e
MF
6662014-08-12 Mike Frysinger <vapier@gentoo.org>
667
668 * configure.ac: Change __ehdr_start code to dereference the struct.
669 Run readelf on the output to look for relocations.
670 * configure: Regenerated.
671
898c62f4
JM
6722014-08-12 Joseph Myers <joseph@codesourcery.com>
673
674 [BZ #17261]
675 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
676 value to 0.
677 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
678
9a8a5720
RM
6792014-08-12 Roland McGrath <roland@hack.frob.com>
680
681 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
682
4e75751c
BO
6832014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
684
685 [BZ #16892]
686 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
687 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
688
bb2ce416
SA
6892014-08-12 Sean Anderson <seanga2@gmail.com>
690
691 * malloc/malloc.c: Fix typo in comment.
692
7950a4ee
AM
6932014-08-09 Allan McRae <allan@archlinux.org>
694
695 * Regenerate libc.po.
696
f469c49f
MF
6972014-08-08 Mike Frysinger <vapier@gentoo.org>
698
699 * intl/tst-gettext2.sh: Check every lang file for creation.
700
656b84c2
WD
7012014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
702
703 * sysdeps/aarch64/fpu/math_private.h
704 (libc_feholdsetround_noex_aarch64_ctx): New function.
705
538e9e45
W
7062014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
707
708 * sysdeps/arm/armv6/strcpy.S (strcpy):
709 Fix performance issue in misaligned cases.
710
d4795e4a
AZ
7112014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
712
713 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
714 Move definition from termios.h.
715 (struct termio): Likewise.
716 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
717 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
718 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
719 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
720 Likewise.
721 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
722 Move definition to ioctl-types.h
723 (struct termio): Likewise.
724 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
725 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
726 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
727 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
728 Likewise.
729
64accb62
RH
7302014-08-05 Richard Henderson <rth@redhat.com>
731
27bb6dc0
RH
732 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
733 exceptions.
734 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
735 Add fraiseexcpt.
736 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
737 Use __feraiseexcept.
738 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
739 Protect libm symbols with IS_IN_libm.
740
64accb62
RH
741 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
742
e5292691
BO
7432014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
744
745 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
746
5b4bd2d4
WN
7472014-08-04 Will Newton <will.newton@linaro.org>
748
749 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
750 file.
751
fcadaeef
MF
7522014-08-04 Mike Frysinger <vapier@gentoo.org>
753
754 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
755 variants for each function.
756
43a94c64
RM
7572014-08-04 Roland McGrath <roland@hack.frob.com>
758
759 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
760 appended ...
761 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
762 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
763 appended ...
764 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
765 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
766 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
767 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
768 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
769 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
770 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
771 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
772 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
773 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
774 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
775 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
776 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
777 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
778 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
779 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
780 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
781 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
782 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
783 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
784 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
785 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
786 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
787 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
788 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
789 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
790 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
791 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
792 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
793 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
794 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
795 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
796 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
797 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
798 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
799 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
800 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
801 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
802 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
803 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
804 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
805 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
806 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
807 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
808 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
809 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
810 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
811 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
812 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
813 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
814 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
815 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
816 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
817 Update #include.
818 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
819 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
820
8f3c1fa4
RM
8212014-08-04 Roland McGrath <roland@hack.frob.com>
822
823 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
824 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
825 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
826 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
827 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
828 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
829
ca08746f
RM
8302014-08-04 Roland McGrath <roland@hack.frob.com>
831
832 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
833 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
834 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
835 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
836
9c925ff9
RM
8372014-08-04 Roland McGrath <roland@hack.frob.com>
838
839 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
840 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
841 (__libc_vfork): Define function under this name.
842 (__vfork): Define as an alias.
843 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
844 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
845
e641054c
RM
8462014-08-04 Roland McGrath <roland@hack.frob.com>
847
848 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
849 that was previously under [RESET_PID].
850 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
851
dacdc867
AS
8522014-08-04 Andreas Schwab <schwab@suse.de>
853
854 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
855
41f725ff
MF
8562014-08-03 Mike Frysinger <vapier@gentoo.org>
857
858 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
859 (main): Likewise.
860
277cfb31
RM
8612014-08-01 Roland McGrath <roland@hack.frob.com>
862
863 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
864
4896f049
RH
8652014-08-01 Richard Henderon <rth@redhat.com>
866
867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
868 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
869 typo in exact zero test.
870 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
871 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
872 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
873
6f64e7d7
RM
8742014-08-01 Roland McGrath <roland@hack.frob.com>
875
876 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
877 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
878 * sysdeps/arm/sysdep.h: ... here.
879 [!__ASSEMBLER__]: Include <stdint.h>.
880
3f3dd810
SP
8812014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
882
a476ac4b
SP
883 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
884 (HAVE_WCTYPE_H): Likewise.
885 (HAVE_ISWCTYPE): Likewise.
886 (ENABLE_NLS): Likewise.
887 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
888 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
889
78dd658a
SP
890 * posix/regex_internal.c: Check if DEBUG is defined and is
891 set.
892
3f3dd810
SP
893 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
894 (HAVE_MBSRTOWCS): Likewise.
895 * posix/fnmatch.c: Include string.h unconditionally.
896
95ee7fb1
SL
8972014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
898
899 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
900 reversal.
901
23fe486b
RM
9022014-07-31 Roland McGrath <roland@hack.frob.com>
903
f61a113f
RM
904 * sysdeps/generic/safe-fatal.h: New file.
905 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
906 * nptl/forward.c: Include it.
907 (__pthread_unwind): Use __safe_fatal as default action, rather
908 than a bogus use of INTERNAL_SYSCALL that could never work.
909
9fe7e787
RM
910 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
911 * configure.ac (libc_cv_builtin_trap): New test.
912 * configure: Regenerated.
913 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
914 (ABORT_INSTRUCTION): Define using __builtin_trap.
915
23fe486b
RM
916 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
917 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
918 * sysdeps/nptl/nptl-signals.h: New file.
919 * nptl/pthreadP.h: Include <nptl-signals.h>.
920
f349489e
SL
9212014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
922
923 * sysdeps/s390/s390-64/utf16-utf32-z9.c
924 (ONE_DIRECTION): Define.
925 * sysdeps/s390/s390-64/utf8-utf16-z9.c
926 (ONE_DIRECTION): Define.
927 * sysdeps/s390/s390-64/utf8-utf32-z9.c
928 (ONE_DIRECTION): Define.
929
2f438e20
SL
9302014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
931
932 * sysdeps/s390/Makefile: Delete file.
933 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
934 * sysdeps/s390/__longjmp.c: Delete file.
935 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
936 Remove fields __flags and __reserved.
937 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
938 and add versioning.
939 * sysdeps/s390/rtld-__longjmp.c: Delete file.
940 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
941 * sysdeps/s390/rtld-setjmp.S: Likewise.
942 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
943 * sysdeps/s390/s390-32/__longjmp.c: ... here.
944 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
945 * sysdeps/s390/s390-32/setjmp.S: ... here.
946 Add versioning.
947 (__sigsetjmp): Remove setting __flags field.
948 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
949 * sysdeps/s390/s390-64/__longjmp.c: ... here.
950 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
951 * sysdeps/s390/s390-64/setjmp.S: ... here.
952 Add versioning.
953 (__sigsetjmp): Remove setting __flags field.
954 * sysdeps/s390/setjmp.S: Delete file.
955 * sysdeps/s390/sigjmp.c: Likewise.
956 * sysdeps/s390/v1-longjmp.c: Likewise.
957 * sysdeps/s390/v1-setjmp.h: Likewise.
958 * sysdeps/s390/v1-sigjmp.c: Likewise.
959 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
960 Remove v1-longjmp_chk.
961 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
962 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
963 Include debug/longjmp_chk.c and add versioning.
964 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
965 Include nptl/pt-longjmp.c and add versioning.
966 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
967 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
968 Include __longjmp.c.
969 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
970 Move to ...
971 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
972 (__getcontext): Remove setting __flags field.
973 Add versioning.
974 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
975 Don't restore upper high grps.
976 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
977 Likewise.
978 (__swapcontext): Remove setting uc_flags field.
979 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
980 Delete file.
981 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
982 Include __longjmp.c.
983 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
984 Move to ...
985 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
986 (__getcontext): Remove setting __flags field.
987 Add versioning.
988 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
989 (__swapcontext): Remove setting uc_flags field.
990 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
991 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
992 Remove fields uc_high_gprs and __reserved.
993 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
994 New file with reverted content.
995 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
996 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
997 Regenerated.
998 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
999 Regenerated.
1000
6c9578a2
AS
10012014-07-31 Andreas Schwab <schwab@suse.de>
1002
1003 * config.h.in (HAVE_IFUNC): Define to 0.
1004 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1005 definedness.
1006
05f3633d
LM
10072014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1008
1009 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1010 memmove-avx-unaligned, memcpy-avx-unaligned and
1011 mempcpy-avx-unaligned.
1012 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1013 Add tests for AVX memcpy functions.
1014 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1015 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1016 memcpy_chk.
1017 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1018 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1019 memmove_chk.
1020 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1021 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1022 mempcpy_chk.
1023 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1024 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1025 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1026
a53fbd8e
AZ
10272013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1028
1029 [BZ #17213]
1030 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1031 powerpc64le.
1032
0961f7e1
JL
10332014-07-29 Jeff Layton <jlayton@poochiereds.net>
1034
1035 [BZ #16839]
1036 * manual/llio.texi: Add section about open file description locks.
1037 * manual/examples/ofdlocks.c: Example of open file description
1038 lock usage.
1039 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1040 F_OFD_SETLK, and F_OFD_SETLKW.
1041
cc5fb300
AM
10422014-07-23 Allan McRae <allan@archlinux.org>
1043
1044 * po/es.po: Update Spanish translation from translation project.
1045
23329dca
AS
10462014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1047
1048 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1049
9c82da17
MR
10502014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1051
1052 [BZ #17078]
1053 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1054 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1055 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1056
29c4f53e
JM
10572014-07-17 Joseph Myers <joseph@codesourcery.com>
1058
831b9896
JM
1059 [BZ #17088]
1060 * math/fesetenv.c (__fesetenv)
1061 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1062 * math/feupdateenv.c (__feupdateenv)
1063 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1064
b21c2d50
JM
1065 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1066 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1067 (__ASSUME_SOCKETCALL): Do not define.
1068
067764ef
JM
1069 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1070 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1071 (__ASSUME_SOCKETCALL): Do not define.
1072 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1073 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1074 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1075 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1076 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1077 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1078 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1079 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1080
642530c1
JM
1081 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1082 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1083 (__ASSUME_SOCKETCALL): Do not define.
1084 (__ASSUME_IPC64): Define unconditionally.
1085 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1086 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1087 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1088 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1089 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1090 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1091 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1092 Likewise.
1093
03f77315
JM
1094 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1095 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1096 (__ASSUME_SOCKETCALL): Do not define.
1097 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1098 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1099 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1100 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1101 (__ASSUME_REQUEUE_PI): Define unconditionally.
1102 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1103 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1104 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1105 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1106 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1107 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1108
083b1f7c
JM
1109 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1110 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1111 (__ASSUME_SOCKETCALL): Do not define.
1112 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1113 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1114 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1115 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1116 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1117 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1118
5be44ea6
JM
1119 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1120 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1121 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1122 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1123 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1124 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1125 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1126 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1127 (__ASSUME_GETCPU_SYSCALL): Likewise.
1128
d95ffd4c
JM
1129 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1130 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1131 cases for individual architectures.
1132 * sysdeps/gnu/configure: Regenerated.
1133 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1134 LIBC_SLIBDIR_RTLDDIR.
1135 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1136 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1137 LIBC_SLIBDIR_RTLDDIR.
1138 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1140 LIBC_SLIBDIR_RTLDDIR.
1141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1142 Regenerated.
1143 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1144 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1145 file.
1146 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1147 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1148 file.
1149 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1150 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1151 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1152 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1153
29c4f53e
JM
1154 * sysdeps/aarch64/shlib-versions: Move to ...
1155 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1156 * sysdeps/alpha/shlib-versions: Move to ...
1157 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1158 * sysdeps/arm/shlib-versions: Move to ...
1159 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1160 * sysdeps/hppa/shlib-versions: Move all contents except for
1161 libgcc_s entry to ...
1162 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1163 entry from ...
1164 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1165 * sysdeps/ia64/shlib-versions: Move to ...
1166 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1167 entry from ...
1168 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1169 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1170 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1171 * sysdeps/microblaze/shlib-versions: Move to ...
1172 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1173 * sysdeps/mips/shlib-versions: Move to ...
1174 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1175 entry from ...
1176 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1177 * sysdeps/tile/shlib-versions: Move to ...
1178 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1179 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1180 from ...
1181 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1182 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1183 entry from ...
1184 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1185
32bead5b
WN
11862014-07-17 Will Newton <will.newton@linaro.org>
1187
57977c4b
WN
1188 * sysdeps/arm/bits/atomic.h
1189 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1190 (__arch_compare_and_exchange_bool_16_int): Likewise.
1191 (__arch_compare_and_exchange_bool_64_int): Likewise.
1192
32bead5b
WN
1193 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1194 into an #else block.
1195
37fccd41
RM
11962014-07-16 Roland McGrath <roland@hack.frob.com>
1197
1198 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1199 just Linux configurations. Test empirically that the compiler sets
1200 __ARM_EABI__, rather than using the tuple to decide.
1201 * sysdeps/arm/preconfigure: Regenerated.
1202 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1203 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1204 contents appended ...
1205 * sysdeps/arm/configure.ac: ... here.
1206 * sysdeps/arm/configure: Regenerated.
1207
b365f3ec
RM
12082014-07-15 Roland McGrath <roland@hack.frob.com>
1209
8badf496
RM
1210 * nptl/pthread_kill.c: New file.
1211 * nptl/pthread_sigmask.c: New file.
1212 * nptl/pthread_sigqueue.c: New file.
1213
3df6f22e
RM
1214 * sysdeps/nptl/lowlevellock.h: New file.
1215 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1216 * sysdeps/nptl/lowlevellock-futex.h: New file.
1217
b365f3ec
RM
1218 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1219 Remove dead declarations.
1220
f2fef657
L
12212014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1222
1223 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1224 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1225 config-cflags-avx2.
1226 * sysdeps/x86_64/configure.ac: Likewise.
1227 * sysdeps/i386/configure: Regenerated.
1228 * sysdeps/x86_64/configure: Likewise.
1229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1230 memset-avx2 only if config-cflags-avx2 is yes.
1231 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1232 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1233 defined.
1234 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1235 only if HAVE_AVX2_SUPPORT is defined.
1236 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1237
f6c44d47
AM
12382014-07-14 Alan Modra <amodra@gmail.com>
1239
1240 [BZ #17153]
1241 * elf/elf.h (DT_PPC64_NUM): Correct value.
1242 * NEWS: Add to fixed bug list.
1243
7ee03f00
JM
12442014-07-13 Jim Meyering <meyering@fb.com>
1245
1246 [BZ 17150]
1247 regex: don't deref NULL upon heap allocation failure
1248 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1249 failure in one more place.
1250 To trigger the segfault, configure grep -with-included-regex,
1251 build it, and run these commands:
1252 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1253
9d39d517
AS
12542014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1255
1256 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1257
a75b89b7
RH
12582014-07-11 Richard Henderson <rth@redhat.com>
1259
1260 * sysdeps/aarch64/libm-test-ulps: Update.
1261
771eb141
FW
12622014-07-10 Florian Weimer <fweimer@redhat.com>
1263
1264 [BZ #17135]
1265 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1266 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1267 (__nptl_setxid): Initialize error member. Call
1268 __nptl_setxid_error.
1269 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1270 * nptl/descr.h (struct xid_command): Add error member.
1271 * nptl/tst-setuid3.c: New file.
1272 * nptl/Makefile (tests): Add it.
1273
bc1da176
AZ
12742014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1275
1276 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1277 New define.
1278 (__lll_trylock): Use __lll_base_trylock.
1279 (__lll_cond_trylock): Likewise.
1280
887865fc
RM
12812014-07-10 Roland McGrath <roland@hack.frob.com>
1282
c0c6bac9
RM
1283 * nptl/pthread_create.c (start_thread): Use atomic_or and
1284 lll_futex_wake directly rather than lll_robust_dead.
1285 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1286 (lll_robust_dead): Macro removed.
6a42be57 1287 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
1288 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1289 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1290 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1291 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1292 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1293 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1294 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1295 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1296 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1297 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1298 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1299 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1300 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1301 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1302
887865fc
RM
1303 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1304 Use atomic_compare_and_exchange_val_acq directly rather than
1305 lll_robust_trylock.
1306 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1307 (__lll_robust_trylock, lll_robust_trylock): Removed.
1308 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1309 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1310 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1311 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1312 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1313 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1314 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1315 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1316 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1317 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1318 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1319 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1320 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1321 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1322
58536726
FW
13232014-07-02 Florian Weimer <fweimer@redhat.com>
1324
1325 * manual/locale.texi (Locale Names): New section documenting
1326 locale name syntax. Adjust menu and node chaining accordingly.
1327 (Choosing Locale): Reference Locale Names, Locale Categories.
1328 Mention setting LC_ALL=C. Reflect that name syntax is now
1329 documented.
1330 (Locale Categories): New section title. Reference Locale Names.
1331 LC_ALL is an environment variable, but not a category.
1332 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1333 description, now in Locale Name. Reference that section. Locale
1334 name syntax is now documented.
1335
4e8f95a0
FW
13362014-07-02 Florian Weimer <fweimer@redhat.com>
1337
1338 [BZ #17137]
1339 * locale/findlocale.c (name_present, valid_locale_name): New
1340 functions.
1341 (_nl_find_locale): Use the loc_name variable to store name
1342 candidates. Call name_present and valid_locale_name to check and
1343 validate locale names. Return an error if the locale is invalid.
1344
d1836456
FW
13452014-07-02 Florian Weimer <fweimer@redhat.com>
1346
1347 * locale/setlocale.c (setlocale): Use strdup for allocating
1348 composite name copy.
1349
d69b7f5a
SP
13502014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1351
888c679b
SP
1352 Sync up with gnulib.
1353 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1354 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1355 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1356 and _GL_ARG_NONNULL.
1357 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1358 [!_LIBC]: Include code for Windows and Cygwin.
1359 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1360 Include prototype for int strerror_r.
1361 [!_LIBC] (is_open): New function.
1362 (flush_stdout): New function.
1363 (print_errno_message): Use it.
1364 (error): Likewise.
1365 (error_at_line): Likewise.
1366 (error_tail) Add function attribute macros. Use
1367 __builtin_expect.
1368
180e0e4b
SP
1369 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1370
d22f1fe2
SP
1371 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1372
12f2254b
SP
1373 * io/ftw.c: Include sys/param.h unconditionally.
1374
c3c7c360
SP
1375 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1376
d62aa75a
SP
1377 [BZ #17125]
1378 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1379 libc_freeres_ptr.
1380 (freecache): New function to free CACHE on exit.
1381
d69b7f5a
SP
1382 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1383 initialization.
1384
5efe06a1
DM
13852014-07-09 David S. Miller <davem@davemloft.net>
1386
1387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1388
7000d82e
DM
1389 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1390 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1391 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1392 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1393 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1394 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1395 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1396 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1397 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1398 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1399 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1400 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1401 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1402
c213442d
AS
14032014-07-09 Andreas Schwab <schwab@suse.de>
1404
4a2552c3
AS
1405 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1406 output.
1407 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1408 (do_test): Likewise.
1409
c213442d
AS
1410 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1411
82374e65
WN
14122014-07-09 Will Newton <will.newton@linaro.org>
1413
1414 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1415 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1416 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1417 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1418 * sysdeps/hppa/start.S (_start): Likewise.
1419
6680738a
SP
14202014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1421
6ee3eab4
SP
1422 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1423
6680738a
SP
1424 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1425 defined.
1426
80b5c505
SP
14272014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1428
e35c53e3
SP
1429 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1430 after checking that it is non-NULL.
1431
80b5c505
SP
1432 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1433
91f4b564
AZ
14342014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1435
27b75f56
AZ
1436 * sysdeps/powerpc/memmove.c: Remove file.
1437 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1438 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1439 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1440 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1441 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1442 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1443 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1444 string memmove instead of removed powerpc one.
1445
e7f95bb5
AZ
1446 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1447 [weak_alias]: Fix compiler warning due trailing data.
1448 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1449 [weak_alias]: Likewise.
1450 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1451 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1452
91f4b564
AZ
1453 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1454 (__libc_ifunc_impl_list): Add memmove functions.
1455
7c33f1e5
SP
14562014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1457
1458 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1459 Remove code.
1460 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1461 Likewise
1462 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1463 Likewise
1464 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1465 Likewise
1466 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1467 Likewise
1468 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1469 Likewise
1470 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1471 Likewise
1472 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1473 Likewise
1474 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1475 Likewise
1476 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1477 Likewise
1478 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1479 Likewise
1480 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1481 Likewise
1482 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1483 Likewise
1484 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1485 Likewise
1486 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1487 Likewise
1488 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1489 Likewise
1490 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1491 Likewise
1492
3f17b03b
AZ
14932014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1494
87868c24
AZ
1495 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1496 to avoid alignment traps in non-cacheable memory.
1497 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1498
07aedd78
AZ
1499 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1500 multiarch objects.
1501 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1502 file: multiarch power7 memmove.
1503 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1504 multiarch default memmove.
1505 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1506 multiarch memove for powerpc32/power4.
1507
17762f66
AZ
1508 * string/bcopy.c: Use full path to include memmove.c.
1509 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1510 multiarch objects.
1511 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1512 bcopy for powerpc64.
1513 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1514 bcopy for powerpc64.
1515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1516 and memmove implementations.
1517 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1518 optimized multiarch memmove for POWER7/powerpc64.
1519 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1520 default multiarch memmove for powerpc64.
1521 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1522 multiarch for powerpc64.
1523 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1524 for POWER7/powerpc64.
1525 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1526 memmove for POWER7/powerpc64.
1527
d6f68bbe
AZ
1528 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1529 glibc default one.
1530
3f17b03b
AZ
1531 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1532 __ELF_NATIVE_CLASS equal to 64.
1533
08192659
RM
15342014-07-07 Roland McGrath <roland@hack.frob.com>
1535
f4c4021b
RM
1536 * sysdeps/nptl/lowlevellock.h: File removed.
1537
f083450f
RM
1538 * NEWS: NPTL is no longer an add-on!
1539 * nptl/internaltypes.h: Moved ...
1540 * sysdeps/nptl/internaltypes.h: ... here.
1541 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1542 * sysdeps/nptl/fork.c: Likewise.
1543 * sysdeps/nptl/gai_misc.h: Likewise.
1544 * sysdeps/nptl/librt-cancellation.c: Likewise.
1545 * sysdeps/nptl/jmp-unwind.c: Likewise.
1546 * sysdeps/nptl/setxid.h: Likewise.
1547 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1548 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1549 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1550 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1551 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1552 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1553 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1554 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1555 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1556 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1557 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1558 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1559 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1560 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1561 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1562 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1563 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1564 * nptl/Makeconfig: Moved ...
1565 * sysdeps/nptl/Makeconfig: ... here.
1566 * nptl/configure: File removed.
1567 * nptl/ANNOUNCE: File removed.
1568 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1569 * sysdeps/unix/sysv/linux/configure: Regenerated.
1570
08192659
RM
1571 * nptl/Makefile (routines): Add libc_pthread_init,
1572 libc_multiple_threads, register-atfork and unregister-atfork.
1573 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1574 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1575 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1576 pthread-pi-defines.sym, structsem.sym.
1577 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1578 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1579 [$(subdir) = nptl] (tests): Add tst-setgetname.
1580 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1581 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1582 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1583 [!LIBC_SIGACTION]: Remove aliases.
1584 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1585 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1586 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1587 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1588 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1589 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1590 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1591 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1592 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1593 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1594 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1595 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1596 __libc_allocate_rtsig_private.
1597 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1598 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1599 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1600 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1601 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1602 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1603 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1604 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1605 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1606 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1607 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1608 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1609 * nptl/internaltypes.h: ... here.
1610 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1611 * sysdeps/nptl/jmp-unwind.c: ... here.
1612 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1613 * nptl/libc-lowlevellock.c: ... here.
1614 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1615 * nptl/libc_multiple_threads.c: ... here.
1616 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1617 * nptl/libc_pthread_init.c: ... here.
1618 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1619 * nptl/lowlevelbarrier.sym: ... here.
1620 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1621 * nptl/lowlevelcond.sym: ... here.
1622 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1623 * nptl/lowlevellock.c: ... here.
1624 * nptl/lowlevellock.h: Moved ...
1625 * sysdeps/nptl/lowlevellock.h: ... here.
1626 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1627 * nptl/lowlevelrobustlock.c: ... here.
1628 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1629 * nptl/lowlevelrobustlock.sym: ... here.
1630 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1631 * nptl/lowlevelrwlock.sym: ... here.
1632 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1633 * nptl/pt-fork.c: ... here.
1634 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1635 * nptl/pthread-pi-defines.sym: ... here.
1636 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1637 * nptl/pthread_attr_getaffinity.c: ... here.
1638 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1639 * nptl/pthread_attr_setaffinity.c: ... here.
1640 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1641 * nptl/pthread_mutex_cond_lock.c: ... here.
1642 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1643 Update #include.
1644 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1645 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1646 * nptl/pthread_once.c: ... here, replacing old file.
1647 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1648 * nptl/pthread_yield.c: ... here.
1649 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1650 * nptl/register-atfork.c: ... here.
1651 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1652 * nptl/sem_post.c: ... here.
1653 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1654 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1655 * nptl/sem_timedwait.c: ... here.
1656 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1657 * nptl/sem_trywait.c: ... here.
1658 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1659 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1660 * nptl/sem_wait.c: ... here.
1661 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1662 * nptl/structsem.sym: ... here.
1663 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1664 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1665 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1666 * nptl/unregister-atfork.c: ... here.
1667 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1668 * nptl/unwindbuf.sym: ... here.
1669 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1670 * sysdeps/nptl/fork.c: ... here.
1671 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1672 * sysdeps/nptl/fork.h: ... here.
1673 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1674 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1675 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1676 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1677 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1678 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1679 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1680 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1681 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1682 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1683 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1684 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1685 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1686 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1687 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1688 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1689 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1690 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1691 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1692 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1693 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1694 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1695 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1696 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1697 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1698 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1699 * sysdeps/unix/sysv/linux/raise.c: ... here.
1700 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1701 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1702 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1703 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1704 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1705 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1706 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1707 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1708 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1709 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1710 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1711 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1712 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1713 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1714 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1715
96baf6ff
SP
17162014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1717
1718 * sysdeps/generic/memcopy.h: Add comment for
1719 MEMCPY_OK_FOR_FWD_MEMMOVE.
1720
6b7b14b2
WN
17212014-07-04 Will Newton <will.newton@linaro.org>
1722
1570a72b
WN
1723 * string/memchr.c: Merge from gnulib.
1724 [_LIBC]: Remove conditionals.
1725 (__ptr_t): Remove define.
1726 (LONG_MAX_32_BITS): Likewise.
1727 (LONG_MAX): Likewise.
1728 (MEMCHR): Use ANSI prototype and optimize algorithm.
1729
6b7b14b2
WN
1730 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1731
38851324
SP
17322014-07-03 Roland McGrath <roland@hack.frob.com>
1733
3d9eb57c
RM
1734 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1735 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1736
78b984ae
RM
1737 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1738 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1739 in a bare environment with no <stdlib.h> installed.
1740 * sysdeps/nptl/configure: Regenerated.
1741
2d5976a5
RM
1742 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1743
c1f5acd4
RM
1744 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1745 AC_EGREP_CPP for kernel header checks, so they only succeed if
1746 including <linux/version.h> actually works right.
1747 * sysdeps/unix/sysv/linux/configure: Regenerated.
1748
4d614fe5
RM
1749 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1750 value so it's not diagnosed as unused.
1751
38851324
SP
1752 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1753 thing) with "ifeq ($(subdir),rt)".
1754
b3ec00e5
RH
17552014-07-03 Richard Henderson <rth@redhat.com>
1756
69862e25
RH
1757 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1758 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1759 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1760
d5e16ade
RH
1761 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1762 (math_force_eval): New.
1763
ca7b945c
RH
1764 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1765 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1766
cd1175a3
RH
1767 * sysdeps/alpha/fpu/s_round.c: Remove file.
1768 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1769
b3ec00e5
RH
1770 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1771 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1772 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1773 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1774 (_dl_start, print_statistics): Likewise.
1775 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1776 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1777
1778 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1779 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1780 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1781 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1782 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1783 (HP_SMALL_TIMING_AVAIL): Define.
1784 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1785 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1786 (HP_SMALL_TIMING_AVAIL): Define.
1787 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1788 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1789
1790 * sysdeps/aarch64/hp-timing.h: New file.
1791
1792 * sysdeps/generic/hp-timing.h: Remove dead comment.
1793 * sysdeps/generic/hp-timing-common.h: New file.
1794 * sysdeps/alpha/hp-timing.h: Include it.
1795 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1796 * sysdeps/i386/i686/hp-timing.h: Likewise.
1797 * sysdeps/ia64/hp-timing.h: Likewise.
1798 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1799 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1800 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1801 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1802 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1803 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1804 (hp_timing_t): New.
1805
1806 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1807 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1808 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1809 * elf/rtld.c (_dl_start_final): Likewise.
1810 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1811 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1812 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1813 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1814 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1815 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1816 (HP_TIMING_DIFF_INIT): Remove.
1817 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1818 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1819 (HP_TIMING_DIFF_INIT): Remove.
1820 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1821 * sysdeps/i386/i686/hp-timing.c: Remove file.
1822 * sysdeps/x86_64/hp-timing.c: Remove file.
1823 * sysdeps/ia64/hp-timing.c: Remove file.
1824 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1825 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1826 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1827 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1828
1829 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1830 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1831 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1832 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1833 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1834 (HP_TIMING_ACCUM): Remove.
1835 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1836 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1837 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1838
1839 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1840 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1841 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1842 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1843 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1844 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1845 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1846 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1847
1848 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1849
225f410f
MR
18502014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1851
1852 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1853
3247f285
SP
18542014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1855
1856 Sync up with gettext.
1857 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1858 [_MSC_VER]: Include malloc.h
1859 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1860 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1861 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1862 TEMP_FAILURE_RETRY. Cast return of alloca.
1863 [!_LIBC] Call gl_rwlock_init.
1864 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1865
d12704c7
SP
18662014-07-02 Roland McGrath <roland@hack.frob.com>
1867
1868 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1869 before checking its value.
1870
99f8dc92
SP
18712014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1872
05fdac77
SP
1873 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1874
99f8dc92
SP
1875 * debug/memcpy_chk.c: Don't include pagecopy.h.
1876 * debug/mempcpy_chk.c: Likewise.
1877 * string/memcpy.c: Likewise.
1878 * string/memmove.c: Likewise.
1879 * sysdeps/powerpc/memmove.c: Likewise.
1880 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1881 definition of PAGE_COPY_FWD_MAYBE here...
1882 * sysdeps/generic/pagecopy.h: ... from here.
1883 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1884
bc8ea385
VR
18852014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1886 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1887
1888 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1889 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1890 optimizations.
1891 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1892 (__libc_ifunc_impl_list): Likewise.
1893 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1894 multiarch strcat for PPC64.
1895 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1896 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1897
fe5f34e4
RM
18982014-07-02 Roland McGrath <roland@hack.frob.com>
1899
1900 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1901
256aa665
SP
19022014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1903
d4eb8195
SP
1904 * intl/loadmsgcat.c: Remove declaration of
1905 get_sysdep_segment_value.
1906 (get_sysdep_segment_value): Use ISO C style.
1907 (_nl_load_domain): Use ISO C style. Get rid of redundant
1908 semicolon. Fix typo and formatting in comment.
1909 (_nl_unload_domain): Use ISO C style.
1910
256aa665
SP
1911 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1912
b100f9aa
WN
19132014-07-02 Will Newton <will.newton@linaro.org>
1914
1915 * malloc/obstack.c: Merge from gnulib master.
1916 [HAVE_CONFIG_H]: Remove conditional code.
1917 [!_LIBC]: Include config.h.
1918 [!ELIDE_CODE]: Don't include inttypes.h, include
1919 stdint.h unconditionally.
1920 (print_and_abort): Mark as _Noreturn.
1921 (_obstack_allocated_p): Mark as __attribute_pure__.
1922 (obstack_free): Rename to __obstack_free.
1923 [!__attribute__]: Remove conditional code.
1924 * malloc/obstack.h: Merge from gnulib master.
1925 [__cplusplus]: Move conditional down.
1926 [!__attribute_pure__]: Define __attribute_pure__ here
1927 if it is not already defined.
1928 (_obstack_memory_used): Mark as __attribute_pure__.
1929 [!__obstack_free]: Define as obstack_free.
1930 [__GNUC__]: Remove check for ancient NeXT gcc.
1931
c4c41244
PE
19322014-07-02 Will Newton <will.newton@linaro.org>
1933 Paul Eggert <eggert@cs.ucla.edu>
1934
1935 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1936
e1e041c4
SP
19372014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1938
1939 * resolv/gethnamaddr.c: Add comment warning that the file is
1940 not maintained.
1941
ccf431ff
CD
19422014-07-01 Carlos O'Donell <carlos@redhat.com>
1943
d34570a6
CD
1944 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1945 entries.
1946
ccf431ff
CD
1947 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1948 entry for aio_cancel and aio_cancel64.
1949 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1950 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1951 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1952 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1953 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1954 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1955 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1956 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1957 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1958 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1959 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1960 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1961 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1962
ca06321d
RM
19632014-07-01 Roland McGrath <roland@hack.frob.com>
1964
1965 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1966 * nptl/pthread_mutex_lock.c: Likewise.
1967 * nptl/pthread_mutex_timedlock.c: Likewise.
1968 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1969
a1ac3184
RH
19702014-07-01 Richard henderson <rth@redhat.com>
1971
631021e0
RH
1972 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1973 (__isnan, __isnanl): Remove.
1974 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1975
a1ac3184
RH
1976 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1977
0c1d731f
SL
19782014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1979
1980 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1981
76985d3e
SP
19822014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1983
1984 * resolv/nss_dns/dns-host.c (getanswer_r)
1985 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1986
b0cb3096
JM
19872014-07-01 Joseph Myers <joseph@codesourcery.com>
1988
1989 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1990 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1991 undefine.
1992 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1993 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1994
4d76cb39
RM
19952014-07-01 Roland McGrath <roland@hack.frob.com>
1996
1997 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1998 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1999
2000 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2001 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2002
2003 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2004 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2005 ... here.
2006 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2007 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2008
2009 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2010 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2011 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2012 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2013
2014 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2015 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2016 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2017 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2018 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2019 Moved ...
2020 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2021 ... here.
2022 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2023 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2024 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2025 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2026 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2027 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2028 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2029 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2030 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2031 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2032 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2033 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2034 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2035 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2036 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2037 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2038 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2039 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2040 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2041 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2042 ... here.
2043 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2044 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2045 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2046 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2047 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2048 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2049 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2050 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2051
0cdcad17
DH
20522014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2053
2054 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2055 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2056 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2057 Add sysdep.
2058
9b71d0e3
AZ
20592014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2060
2061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2062
665390c2
JM
20632014-06-30 Joseph Myers <joseph@codesourcery.com>
2064
ae05a9d7
JM
2065 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2066 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2067
a7672a2f
JM
2068 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2069
665390c2
JM
2070 * sysdeps/arm/libm-test-ulps: Regenerated.
2071
d7a05d07
MR
20722014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2073 Roland McGrath <roland@hack.frob.com>
2074
2075 * test-skeleton.c (signal_handler): Kill the whole process group
2076 before killing the child individually.
2077 (main): Report any failure on `setpgid'.
2078
46f1d8a6
RM
20792014-06-30 Roland McGrath <roland@hack.frob.com>
2080
2081 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2082 from _TLS_H to _ARM_NPTL_TLS_H.
2083 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2084 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2085
9c37ec0b
JM
20862014-06-30 Joseph Myers <joseph@codesourcery.com>
2087
ce9c5b3e
JM
2088 [BZ #16539]
2089 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2090 (__expm1l): Return argument unchanged when small but not
2091 subnormal.
2092
3a6e9887
JM
2093 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2094 include macro name.
2095 (_FP_UNPACK_RAW_1_P): Likewise.
2096 (_FP_PACK_RAW_1): Likewise.
2097 (_FP_PACK_RAW_1_P): Likewise.
2098 (_FP_MUL_MEAT_1_wide): Likewise.
2099 (_FP_MUL_MEAT_DW_1_hard): Likewise.
2100 (_FP_MUL_MEAT_1_hard): Likewise.
2101 (_FP_DIV_MEAT_1_imm): Likewise.
2102 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2103 (_FP_DIV_MEAT_1_udiv): Likewise.
2104 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2105 (_FP_UNPACK_RAW_2): Likewise.
2106 (_FP_UNPACK_RAW_2_P): Likewise.
2107 (_FP_PACK_RAW_2): Likewise.
2108 (_FP_PACK_RAW_2_P): Likewise.
2109 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2110 (_FP_MUL_MEAT_2_wide): Likewise.
2111 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2112 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2113 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2114 (_FP_MUL_MEAT_2_gmp): Likewise.
2115 (_FP_DIV_MEAT_2_udiv): Likewise.
2116 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2117 (_FP_FRAC_SRL_4): Likewise.
2118 (_FP_FRAC_SRST_4): Likewise.
2119 (_FP_FRAC_SRS_4): Likewise.
2120 (_FP_UNPACK_RAW_4): Likewise.
2121 (_FP_UNPACK_RAW_4_P): Likewise.
2122 (_FP_PACK_RAW_4): Likewise.
2123 (_FP_PACK_RAW_4_P): Likewise.
2124 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2125 (_FP_MUL_MEAT_4_wide): Likewise.
2126 (_FP_MUL_MEAT_4_gmp): Likewise.
2127 (umul_ppppmnnn): Likewise.
2128 (_FP_DIV_MEAT_4_udiv): Likewise.
2129 (__FP_FRAC_ADD_4): Likewise.
2130 (__FP_FRAC_SUB_3): Likewise.
2131 (__FP_FRAC_SUB_4): Likewise.
2132 (__FP_FRAC_DEC_3): Likewise.
2133 (__FP_FRAC_DEC_4): Likewise.
2134 (__FP_FRAC_ADDI_4): Likewise.
2135 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2136 (_FP_FRAC_SRL_8): Likewise.
2137 (_FP_FRAC_SRS_8): Likewise.
2138
9c37ec0b
JM
2139 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2140 include macro name.
2141 (FP_UNPACK_RAW_EP): Likewise.
2142 (FP_PACK_RAW_E): Likewise.
2143 (FP_PACK_RAW_EP): Likewise.
2144 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2145 (_FP_ISSIGNAN): Likewise.
2146 (_FP_ADD_INTERNAL): Likewise.
2147 (_FP_FMA): Likewise.
2148 (_FP_CMP): Likewise.
2149 (_FP_SQRT): Likewise.
2150 (_FP_TO_INT): Likewise.
2151 (_FP_FROM_INT): Likewise.
2152 (FP_EXTEND): Likewise.
2153 (_FP_DIV_MEAT_N_loop): Likewise.
2154
2125f674
MR
21552014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2156
2157 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2158 throughout.
2159
edea4028
JM
21602014-06-29 Joseph Myers <joseph@codesourcery.com>
2161
2162 [BZ #17097]
2163 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2164 result with correct sign in case of exponents that produce
2165 overflow except for X very close to 1.
2166
dd0ba018
PE
21672014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2168
2169 mktime: merge #if/#ifdef usage from glibc
2170 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2171 as that works with both Glibc's and Gnulib's style.
2172 See thread starting at Siddhesh Poyarekar's bug report at:
2173 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2174
64df73c2
SP
21752014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2176
2177 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2178 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2179 * sysdeps/tile/tilegx/memmove.c: Remove file.
2180
f1eafb41
JM
21812014-06-27 Joseph Myers <joseph@codesourcery.com>
2182
2183 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2184 abi-name definition.
2185 * scripts/soversions.awk: Do not handle or generate ABI lines.
2186 * shlib-versions: Remove ABI entries.
2187 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2188 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2189
58eb0862
RM
21902014-06-27 Roland McGrath <roland@hack.frob.com>
2191
37caf178
RM
2192 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2193 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2194 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2195 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2196 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2197 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2198 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2199 Moved ...
2200 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2201 ... here.
2202 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2203 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2204 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2205 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2206 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2207 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2208 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2209 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2210 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2211 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2212 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2213 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2214 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2215 Moved ...
2216 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2217 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2218 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2219 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2220 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2221 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2222 Moved ...
2223 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2224 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2225 Moved ...
2226 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2227 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2228 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2229 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2230 Moved ...
2231 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2232 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2233 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2234 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2235 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2236 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2237 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2238 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2239 Moved ...
2240 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2241 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2242 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2243 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2244 Moved ...
2245 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2246 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2247 Moved ...
2248 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2249 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2250 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2251 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2252 Moved ...
2253 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2254 ... here.
2255 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2256 Identical file removed.
2257 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2258 Moved ...
2259 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2260 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2261 Identical file removed.
2262 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2263 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2264 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2265 Moved ...
2266 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2267 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2268 Identical file removed.
2269 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2270 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2271 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2272 Identical file removed.
2273 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2274 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2275 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2276 Identical file removed.
2277 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2278 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2279 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2280 Identical file removed.
2281 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2282 Moved ...
2283 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2284 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2285 Identical file removed.
2286 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2287 Moved ...
2288 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2289 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2290 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2291 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2292 Identical file removed.
2293 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2294 Moved ...
2295 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2296 ... here.
2297 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2298 Identical file removed.
2299 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2300 Moved ...
2301 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2302 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2303 Identical file removed.
2304 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2305 Moved ...
2306 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2307 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2308 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2309 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2310 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2311 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2312 Moved ...
2313 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2314 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2315 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2316
58eb0862
RM
2317 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2318 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2319 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2320 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2321 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2322
6f12d062
AS
23232014-06-27 Arjun Shankar <arjun.is@lostca.se>
2324
2325 [BZ #17092]
2326 * nscd/nscd.c (monitor_child): Return exit status of child
2327 instead of return value from wait syscall.
2328
be254932
JM
23292014-06-27 Joseph Myers <joseph@codesourcery.com>
2330
cb403c34
JM
2331 * configure.ac (libc_commonpagesize): Remove variable.
2332 (libc_relro_required): Likewise.
2333 (libc_cv_z_relro): Remove configure test.
2334 * configure: Regenerated.
2335 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2336 variable.
2337 (libc_relro_required): Likewise.
2338 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2339 (libc_relro_required): Likewise.
2340 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2341 (libc_relro_required): Likewise.
2342 * sysdeps/arm/preconfigure: Regenerated.
2343 * sysdeps/ia64/preconfigure: Remove file.
2344 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2345 variable.
2346 (libc_relro_required): Likewise.
2347
be254932
JM
2348 [BZ #16561]
2349 [BZ #16562]
2350 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2351 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2352 recompute overflowing results in original rounding mode.
2353 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2354 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2355 recompute overflowing results in original rounding mode.
2356 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2357 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2358 recompute overflowing results in original rounding mode.
2359 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2360 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2361 recompute overflowing results in original rounding mode.
2362 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2363 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2364 recompute overflowing results in original rounding mode.
2365 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2366 (libc_feholdsetround_ctx): New macro.
2367 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2368 * sysdeps/i386/fpu/libm-test-ulps: Update.
2369 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2370
b351d85a
JM
23712014-06-26 Joseph Myers <joseph@codesourcery.com>
2372
2373 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2374 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2375 corresponding .cpsetup call.
2376
3cb4de47
RM
23772014-06-26 Roland McGrath <roland@hack.frob.com>
2378
2379 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2380 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2381 * sysdeps/arm/Makefile [$(subdir) = csu]
2382 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2383 (static-only-routines): Add aeabi_read_tp here.
2384 (shared-only-routines): Add libc-aeabi_read_tp here.
2385 (CFLAGS-libc-start.c): Add -fexceptions here.
2386 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2387 (sysdep_routines, static-only-routines, shared-only-routines):
2388 Don't add to these here.
2389 (CFLAGS-libc-start.c): Likewise.
2390
2391 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2392 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2393 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2394 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2395 * sysdeps/arm/Makefile [$(subdir) = rt]
2396 (librt-sysdep_routines, librt-shared-only-routines):
2397 Append rt-aeabi_unwind_cpp_pr1 here.
2398 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2399 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2400 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2401 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2402 Append nptl-aeabi_unwind_cpp_pr1 here.
2403 (tests): Filter out tst-cleanupx4 here.
2404 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2405 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2406 Don't do those here.
2407
354426bb
JM
24082014-06-26 Joseph Myers <joseph@codesourcery.com>
2409
2410 * scripts/list-sources.sh: Do not handle ports specially.
2411
28b0a8c9
RM
24122014-06-26 Roland McGrath <roland@hack.frob.com>
2413
a3dd035d
RM
2414 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2415 * sysdeps/arm/feupdateenv.c: Likewise.
2416
28b0a8c9
RM
2417 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2418
e66a8203
JM
24192014-06-26 Joseph Myers <joseph@codesourcery.com>
2420
2421 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2422 trailing whitespace removed.
2423 * scripts/config.guess: Update to version 2014-03-23.
2424 * scripts/config.sub: Update to version 2014-05-01
2425 * scripts/install-sh: Update to version 2013-12-25.23.
2426 * scripts/move-if-change: Update from gnulib.
2427
74171115
SP
24282014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2429
b97c9ce5
SP
2430 * debug/memmove_chk.c: Remove pagecopy.h include.
2431
4000f892
SP
24322014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2433
74171115
SP
2434 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2435 identical to gnulib mktime.
2436
a8779c28
JM
24372014-06-26 Joseph Myers <joseph@codesourcery.com>
2438
e64708de
JM
2439 * configure.ac: Do not test for machine being rs6000. Do not test
2440 for powerpc*-*soft.
2441 * configure: Regenerated.
2442
a8779c28
JM
2443 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2444 test.
2445 * configure: Regenerated.
2446 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2447 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2448 Remove configure test.
2449 * sysdeps/arm/configure: Regenerated.
2450 * sysdeps/nptl/configure.ac: Do not check
2451 libc_cv_asm_cfi_directives.
2452 * sysdeps/nptl/configure: Regenerated.
2453 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2454 * sysdeps/x86_64/nptl/configure: Remove generated file.
2455 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2456 unconditional.
2457 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2458
2aac0a86
SP
24592014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2460
059bf913
SP
2461 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2462 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2463 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2464 it is defined.
2465
4cf5b6d0
SP
2466 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2467 instead of whether it is defined.
2468 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2469 * sysdeps/hppa/dl-machine.h: Likewise.
2470 * sysdeps/ia64/dl-machine.h: Likewise.
2471 * sysdeps/m68k/dl-machine.h: Likewise.
2472 * sysdeps/microblaze/dl-machine.h: Likewise.
2473 * sysdeps/mips/dl-machine.: Likewise.
2474 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2475 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2476 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2477 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2478 * sysdeps/sh/dl-machine.h: Likewise.
2479 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2480 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2481 * sysdeps/tile/dl-machine.h: Likewise.
2482 * sysdeps/x86_64/dl-machine.h: Likewise.
2483
2aac0a86
SP
2484 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2485 code.
2486 (verify_persistent_db): Likewise.
2487
6ad2df0b
RM
24882014-06-26 Roland McGrath <roland@hack.frob.com>
2489
d8a483f3
RM
2490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2491 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2493 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2495 Moved ...
2496 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2497 ... here.
2498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2499 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2501 Identical file removed.
2502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2503 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2505 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2507 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2509 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2511 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2513 Moved ...
2514 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2516 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2518 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2520 Moved ...
2521 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2523 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2525 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2527 Identical file removed.
2528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2529 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2531 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2533 Moved ...
2534 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2535 ... here.
2536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2537 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2539 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2541 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2543 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2545 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2547 Moved ...
2548 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2550 Moved ...
2551 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2553 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2555 Moved ...
2556 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2558 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2559
52ae23b4
RM
2560 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2561 folded into ...
2562 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2563 * sysdeps/unix/sysv/linux/s390/Versions
2564 (libpthread: GLIBC_2.19): New version set.
2565 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2566 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2567 (librt: GLIBC_2.3.3): New version set.
2568 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2569 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2570 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2571 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2572 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2573 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2574 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2575 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2576 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2577 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2578 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2579 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2580 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2581 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2582 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2583 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2584 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2585 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2586 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2587 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2588 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2589 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2590 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2591 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2592 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2593 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2594 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2595 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2596 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2597 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2598 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2599 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2600 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2601 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2602 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2603 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2604 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2605 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2606 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2607 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2608 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2609 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2610 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2611 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2612 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2613
39507e4a
RM
2614 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2615 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2616 (__libc_vfork): Define the function under this name.
2617 [!NOT_IN_libc] (__vfork): Make this an alias.
2618 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2619 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2620 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2621 (__libc_vfork): Define the function under this name.
2622 [!NOT_IN_libc] (__vfork): Make this an alias.
2623 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2624 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2625 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2626 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2627 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2628 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2629
e549ee56
RM
2630 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2631 code that was previously under [RESET_PID].
2632 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2633 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2634 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2635
6ad2df0b
RM
2636 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2637 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2638 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2639 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2640 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2641 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2642 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2643 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2644 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2645 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2646 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2647 Moved ...
2648 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2649 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2650 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2651 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2652 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2653 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2654 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2655 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2656 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2657 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2658 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2659 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2660 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2661 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2662 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2663 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2664 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2665 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2666 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2667 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2668 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2669 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2670 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2671 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2672 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2673 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2674 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2675 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2676 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2677
7c1c1d8e
RM
26782014-06-25 Roland McGrath <roland@hack.frob.com>
2679
2680 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2681 that was previously under [RESET_PID].
2682 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2683
3e239be6
JM
26842014-06-25 Joseph Myers <joseph@codesourcery.com>
2685
74385da5
JM
2686 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2687 not undefine and redefine.
2688 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2689 [O_CLOEXEC]: Make code unconditional.
2690 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2691 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2692 <kernel-features.h>.
2693 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2694 conditional variable definition.
2695 (shm_open) [O_CLOEXEC]: Make code unconditional.
2696 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2697 code.
2698
c2570a0b
JM
2699 * configure.ac (USE_REGPARMS): Don't define here.
2700 * configure: Regenerated.
2701 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2702 * sysdeps/i386/configure: Regenerated.
2703
11b076bb
JM
2704 * nptl/createthread.c: Don't include kernel-features.h.
2705 * nptl/pthread_cancel.c: Likewise.
2706 * nptl/pthread_condattr_setclock.c: Likewise.
2707 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2708 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2709 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2710 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2711 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2712 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2713 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2714 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2715 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2716 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2717 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2718 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2719 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2720 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2721 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2722 * nscd/gai.c: Likewise.
2723 * nss/nss_db/db-open.c: Likewise.
2724 * sysdeps/generic/ldsodefs.h: Likewise.
2725 * sysdeps/sh/nptl/tls.h: Likewise.
2726 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2727 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2728 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2729 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2730 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2731 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2732 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2733 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2734 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2735 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2736 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2737 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2738 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2739 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2740 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2741 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2742 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2743 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2744 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2745 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2746 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2747 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2748 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2749 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2750 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2751 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2752 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2753 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2754 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2755 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2756 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2757 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2758 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2759 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2760 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2761 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2762 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2763 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2764 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2765 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2766 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2767 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2768 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2769 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2770 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2771 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2772 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2773 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2774 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2775 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2776 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2777 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2778 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2779 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2780 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2781 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2782 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2783 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2806 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2807 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2808 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2809 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2810 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2811 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2812 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2813 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2814 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2815 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2816 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2817 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2818 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2819 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2820 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2821 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2822 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2823 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2824 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2825 * sysdeps/unix/sysv/linux/system.c: Likewise.
2826 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2827 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2828 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2829 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2830 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2831 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2832 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2833
92072d57
JM
2834 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2835 * configure: Regenerated.
2836 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2837
3e239be6
JM
2838 * configure.ac (base_machine): Do not set specially for particular
2839 machines here.
2840 * configure: Regenerated.
2841 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2842 settings from configure.ac.
2843 * sysdeps/i386/preconfigure: New file.
2844 * sysdeps/s390/preconfigure: Likewise.
2845 * sysdeps/sh/preconfigure: Likewise.
2846 * sysdeps/sparc/preconfigure: Likewise.
2847
06d50baa
RM
28482014-06-25 Roland McGrath <roland@hack.frob.com>
2849
74836003
RM
2850 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2851 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2852 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2853 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2854 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2855 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2856 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2857 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2858 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2859 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2860 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2861 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2862 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2863 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2864 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2865 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2866 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2867 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2868 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2869
2870 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2871 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2872 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2873 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2874 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2875 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2876 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2877 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2878 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2879 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2880 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2881 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2882 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2883 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2884 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2885 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2886 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2887 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2888 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2889 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2890 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2891 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2892 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2893 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2894 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2895 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2896 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2897 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2898 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2899 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2900 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2901 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2902 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2903 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2904 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2905 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2906 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2907 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2908
06d50baa
RM
2909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2910 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2912 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2914 Moved ...
2915 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2916 ... here.
2917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2918 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2920 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2922 Moved ...
2923 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2925 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2927 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2929 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2931 Moved ...
2932 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2934 Moved ...
2935 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2937 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2939 Moved ...
2940 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2942 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2944 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2946 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2948 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2950 Moved ...
2951 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2952 ... here.
2953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2954 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2956 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2958 Moved ...
2959 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2961 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2963 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2965 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2967 Moved ...
2968 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2970 Moved ...
2971 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2973 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2975 Moved ...
2976 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2978 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2980 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2981
a4ccbc9b
JM
29822014-06-25 Joseph Myers <joseph@codesourcery.com>
2983
0828edbf
JM
2984 * timezone/checktab.awk: Update from tzcode 2014e.
2985 * timezone/private.h: Likewise.
2986 * timezone/tzfile.h: Likewise.
2987 * timezone/zdump.c: Likewise.
2988 * timezone/zic.c: Likewise.
2989
a4ccbc9b
JM
2990 * sysdeps/unix/sysv/linux/kernel-features.h
2991 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2992 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2993 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2994 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2995 Remove conditional code.
2996
9aea0cb8
WN
29972014-06-25 Will Newton <will.newton@linaro.org>
2998
2999 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3000 (_dl_arm_cap_flags): Add HWCAP2 values.
3001 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3002 (_DL_HWCAP_COUNT): Increase to 37.
3003 (_DL_HWCAP_LAST): New define.
3004 (_DL_HWCAP2_LAST): New define.
3005 (_dl_procinfo): Add support for printing
3006 AT_HWCAP2 entries.
3007 (_dl_string_hwcap): Use _dl_hwcap_string.
3008
6eaa65ce
AZ
30092014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3010
3011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3012
0f5b7185
JM
30132014-06-25 Joseph Myers <joseph@codesourcery.com>
3014
cfd2ea50
JM
3015 * README: Do not mention ports directory.
3016
cecf2ed4
JM
3017 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3018 Remove macro.
3019 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3020 <kernel-features.h>.
3021 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3022 conditional variable definition.
3023 (__futimes): Update comment.
3024 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3025 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3026
a638de82
JM
3027 [BZ #16560]
3028 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3029 arguments close to 0.
3030 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3031 Likewise.
3032 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3033 Likewise.
3034 * math/auto-libm-test-in: Add more tests of exp10.
3035 * math/auto-libm-test-out: Regenerated.
3036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3037
0f5b7185
JM
3038 * sysdeps/unix/sysv/linux/kernel-features.h
3039 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3040 * sysdeps/unix/sysv/linux/readv.c: Do not include
3041 <kernel-features.h>.
3042 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3043 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3044 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3045 unconditional.
3046 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3047 conditional code.
3048 * sysdeps/unix/sysv/linux/writev.c: Do not include
3049 <kernel-features.h>.
3050 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3051 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3052 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3053 unconditional.
3054 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3055 conditional code.
3056
c7aec4be
WN
30572014-06-25 Will Newton <will.newton@linaro.org>
3058
3059 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3060 comment changes throughout the file. Remove checks
3061 for HAVE_*_H definitions that are not required.
3062 (__gen_tempname): Call abort if an unknown kind value is
3063 passed.
3064
c5241f95
AS
30652014-06-25 Andreas Schwab <schwab@suse.de>
3066
3067 [BZ #17086]
3068 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3069 scalbln, scalblnf, scalblnl in libc.
3070
911422da
SP
30712014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3072
3073 [BZ #17086]
3074 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3075 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3076 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3077
0d749bbe
RM
30782014-06-24 Roland McGrath <roland@hack.frob.com>
3079
3080 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3081 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3082 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3083 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3084 Update #include.
3085 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3086 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3087 Update #include.
3088 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3089 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3090 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3091 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3092 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3093 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3094 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3095 * sysdeps/x86/bits/semaphore.h: ... here.
3096 * sysdeps/x86/nptl/elide.h: Moved ...
3097 * sysdeps/x86/elide.h: ... here.
3098 * sysdeps/x86_64/nptl/Implies: File removed.
3099 * sysdeps/i386/nptl/Implies: File removed.
3100
0ea5d373
JM
31012014-06-24 Joseph Myers <joseph@codesourcery.com>
3102
4060283d
JM
3103 [BZ #16539]
3104 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3105 return the argument for normal arguments with exponent below -64.
3106 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3107 Likewise.
3108 * math/auto-libm-test-in: Add another test of expm1.
3109 * math/auto-libm-test-out: Regenerated.
3110
e7dd3c8c
JM
3111 [BZ #16287]
3112 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3113 calling __erfcl for arguments at least 16.
3114 * math/auto-libm-test-in: Add more tests of erf.
3115 * math/auto-libm-test-out: Regenerated.
3116
0ea5d373
JM
3117 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3118 individual architectures.
3119 * sysdeps/unix/sysv/linux/configure: Regenerated.
3120 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3121 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3122 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3123 (ldd_rewrite_script): Define variable.
3124 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3126 file.
3127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3128 generated file.
3129 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3130 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3131 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3132 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3133 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3134 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3135 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3136 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3137
2307e126
SP
31382014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3139
3140 [BZ #17084]
3141 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3142 Rename member __data.d to __data.__elision_data.
3143
c0a4ed77
W
31442014-06-24 Wilco <wdijkstr@arm.com>
3145
3146 * NEWS: Add 16918 to fixed bug list.
3147
b8c00573
W
31482014-06-24 Wilco <wdijkstr@arm.com>
3149
3150 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3151
b5570d92
W
31522014-06-24 Wilco <wdijkstr@arm.com>
3153
3154 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3155 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3156 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3157 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3158 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3159 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3160 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3161 Use _FPU_MASK_RM.
3162
947bdca2
W
31632014-06-24 Wilco <wdijkstr@arm.com>
3164
3165 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3166
00f669ed
W
31672014-06-24 Wilco <wdijkstr@arm.com>
3168
3169 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3170 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3171 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3172 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3173
db59bad3
W
31742014-06-24 Wilco <wdijkstr@arm.com>
3175
3176 [BZ #16918]
3177 * sysdeps/arm/feupdateenv.c (feupdateenv):
3178 Rewrite to reduce FPSCR accesses and fix return value.
3179
001f7b77
W
31802014-06-24 Wilco <wdijkstr@arm.com>
3181
3182 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3183 Optimize to avoid unnecessary FPSCR writes.
3184 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3185 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3186 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3187 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3188
4841e6a6
W
31892014-06-24 Wilco <wdijkstr@arm.com>
3190
3191 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3192 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3193 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3194 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3195 Call libc_fetestexcept_vfp.
3196 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3197 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3198 __SOFTFP__ ifdef so that they can be built for softfp.
3199
0813022c
SP
32002014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3201
08e5862f
SP
3202 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3203 argument type signed char.
3204
0813022c
SP
3205 * Makerules (check-abi): Dump diff of symlist if the test
3206 fails.
3207
3fc7236a
RM
32082014-06-23 Roland McGrath <roland@hack.frob.com>
3209
aba8ef95
RM
3210 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3211 using abort.
3212
3fc7236a
RM
3213 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3214 Remove unused variable ST.
3215
4da6db51
JM
32162014-06-23 Joseph Myers <joseph@codesourcery.com>
3217
4648909d
JM
3218 [BZ #16354]
3219 [BZ #17061]
3220 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3221 small arguments before calling __expm1.
3222 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3223 small arguments before calling __expm1f.
3224 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3225 small arguments before calling __expm1l.
3226 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3227 Likewise.
3228 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3229 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3230 spurious underflow for some cosh tests.
3231 * math/auto-libm-test-out: Regenerated.
3232 * sysdeps/i386/fpu/libm-test-ulps: Update.
3233
46a3d3c7
JM
3234 [BZ #17050]
3235 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3236 (__ieee754_y1): Set errno if return value overflows.
3237 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3238 (__ieee754_y1f): Set errno if return value overflows.
3239 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3240 (__ieee754_y1l): Set errno if return value overflows.
3241 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3242 (__ieee754_y1l): Set errno if return value overflows.
3243 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3244 * math/auto-libm-test-out: Regenerated.
3245
863893ec
JM
3246 * math/gen-auto-libm-tests.c: Document use of
3247 ignore-zero-inf-sign.
3248 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3249 (input_flags): Add ignore-zero-inf-sign.
3250 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3251 * math/gen-libm-test.pl (generate_testfile): Handle
3252 ignore-zero-inf-sign.
3253 * math/auto-libm-test-in: Mark some cpow tests with
3254 ignore-zero-inf-sign and some with xfail-rounding.
3255 * math/auto-libm-test-out: Regenerated.
3256 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3257 * sysdeps/i386/fpu/libm-test-ulps: Update.
3258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3259
4da6db51
JM
3260 [BZ #16315]
3261 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3262 overflowing or underflowing operations take place with sign of
3263 result.
3264 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3265 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3266 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3267 (__ieee754_pow): Recompute overflowing and underflowing results in
3268 original rounding mode.
3269 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3270 (__powl_helper): Allow negative argument X and scale negated value
3271 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3272 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3273 overflowing or underflowing operations take place with sign of
3274 result.
3275 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3276 Include <math.h>.
3277 * math/auto-libm-test-in: Add more tests of pow.
3278 * math/auto-libm-test-out: Regenerated.
3279 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3280 (pow_tonearest_test_data): Remove.
3281 (pow_test_tonearest): Likewise.
3282 (pow_towardzero_test_data): Likewise.
3283 (pow_test_towardzero): Likewise.
3284 (pow_downward_test_data): Likewise.
3285 (pow_test_downward): Likewise.
3286 (pow_upward_test_data): Likewise.
3287 (pow_test_upward): Likewise.
3288 (main): Don't call removed functions.
3289 * sysdeps/i386/fpu/libm-test-ulps: Update.
3290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3291
5686b236
RM
32922014-06-23 Roland McGrath <roland@hack.frob.com>
3293
3294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3295 Moved ...
3296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3298 Moved ...
3299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3301 Moved ...
3302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3304 Moved ...
3305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3307 File removed.
3308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3309 File removed.
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3311 File removed.
3312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3313 File removed.
3314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3315 File removed.
3316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3317 File removed.
3318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3319 File removed.
3320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3321 File removed.
3322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3323 File removed.
3324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3325 File removed.
3326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3327 File removed.
3328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3329 File removed.
3330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3331 Moved ...
3332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3334 Moved ...
3335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3336 ... here.
3337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3338 Moved ...
3339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3341 Moved ...
3342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3344 Moved ...
3345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3347 Moved ...
3348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3350 Moved ...
3351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3353 Moved ...
3354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3356 Moved ...
3357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3360 ... here.
3361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3362 Moved ...
3363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3365 Moved ...
3366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3367 ... here.
3368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3369 Moved ...
3370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3371 ... here.
3372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3373 Moved ...
3374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3375 ... here.
3376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3377 Moved ...
3378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3380 Moved ...
3381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3385 Moved ...
3386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3387 ... here.
3388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3389 Moved ...
3390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3391 ... here.
3392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3393 Moved ...
3394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3396 Moved ...
3397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3399 Moved ...
3400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3402 Moved ...
3403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3405 Moved ...
3406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3407 ... here.
3408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3409 Moved ...
3410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3412 Moved ...
3413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3415 Moved ...
3416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3418 Moved ...
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3423 Moved ...
3424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3426 Moved ...
3427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3429 Moved ...
3430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3431 ... here.
3432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3433 Moved ...
3434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3435 ... here.
3436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3437 Moved ...
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3439 ... here.
3440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3441 Moved ...
3442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3444 Moved ...
3445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3447 Moved ...
3448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3450 Moved ...
3451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3452 ... here.
3453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3454 Moved ...
3455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3456 ... here.
3457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3458 Moved ...
3459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3460 ... here.
3461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3462 Moved ...
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3465 Moved ...
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3467
e6d90d67
WD
34682014-06-23 Will Newton <will.newton@linaro.org>
3469 Wilco <wdijkstr@arm.com>
3470
3471 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3472 implementation. Include get-rounding-mode.h.
3473 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3474 [!libc_feholdsetround_noex_ctx]: Define
3475 libc_feholdsetround_noex_ctx.
3476 [!libc_feholdsetround_noexf_ctx]: Define
3477 libc_feholdsetround_noexf_ctx.
3478 [!libc_feholdsetround_noexl_ctx]: Define
3479 libc_feholdsetround_noexl_ctx.
3480 (libc_feholdsetround_ctx): New function.
3481 (libc_feresetround_ctx): New function.
3482 (libc_feholdsetround_noex_ctx): New function.
3483 (libc_feresetround_noex_ctx): New function.
3484
d42df555
RM
34852014-06-23 Roland McGrath <roland@hack.frob.com>
3486
88a46474
RM
3487 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3488 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3489 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3490 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3491 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3492 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3493
15bed472
RM
3494 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3495 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3496 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3497 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3498 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3499 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3500 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3501 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3502 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3503 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3504 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3505 Moved ...
3506 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3507 ... here.
3508 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3509 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3510 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3511 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3512 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3513 Moved ...
3514 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3515 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3516 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3517 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3518 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3519 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3520 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3521 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3522 Moved ...
3523 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3524 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3525 Moved ...
3526 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3527 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3528 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3529 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3530 Moved ...
3531 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3532 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3533 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3534 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3535 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3536 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3537 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3538 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3539 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3540 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3541 Moved ...
3542 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3543 ... here.
3544 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3545 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3546 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3547 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3548 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3549 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3550 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3551 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3552 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3553 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3554 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3555 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3556 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3557 Moved ...
3558 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3559 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3560 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3561 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3562 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3563 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3564 Moved ...
3565 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3566 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3567 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3568 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3569 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3570
d42df555
RM
3571 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3572 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3573 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3574 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3575 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3576 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3577 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3578 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3579 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3580 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3581 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3582 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3583 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3584 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3585 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3586 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3587 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3588 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3589 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3590 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3591 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3592 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3593 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3594 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3595 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3596 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3597 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3598 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3599
76e5216e
JM
36002014-06-23 Joseph Myers <joseph@codesourcery.com>
3601
3602 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3603 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3604 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3605 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3606 (IPV6_PMTUDISC_INTERFACE): Likewise.
3607 (IPV6_PMTUDISC_OMIT): Likewise.
3608
7a81cbcc
AS
36092014-06-23 Andreas Schwab <schwab@suse.de>
3610
3611 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3612 Remove unused errout label.
3613
db224009
AZ
36142014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3615
3616 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3617 macro: hardware supports Vector Crypto instructions.
3618
f393b4aa
WN
36192014-06-23 Will Newton <will.newton@linaro.org>
3620
cc7d0447
WN
3621 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3622 rather than __builtin_expect.
3623
d6d06225
WN
3624 * elf/dl-lookup.c (undefined_msg): Remove variable.
3625 (_dl_lookup_symbol_x): Replace undefined_msg with string
3626 literal.
3627
f393b4aa
WN
3628 * elf/dl-lookup.c (do_lookup_unique): New function.
3629 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3630 to a separate function.
3631
ac60763e
AS
36322014-06-23 Andreas Schwab <schwab@suse.de>
3633
3634 [BZ #17079]
3635 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3636 before reading the next line.
3637
c5c13355
WN
36382014-06-23 Will Newton <will.newton@linaro.org>
3639
3640 * test-skeleton.c (signal_handler): Use printf and %m
3641 rather than perror. Use printf rather than fprintf to
3642 stderr. Use puts rather than fputs to stderr.
3643 (main): Likewise.
3644
bd3675f9
LC
36452014-06-22 Ludovic Courtès <ludo@gnu.org>
3646
3647 * nscd/nscd.c (thread_info_t): Remove typedef.
3648 (thread_info): Remove variable.
3649
d03efb2f
AM
36502014-06-21 Allan McRae <allan@archlinux.org>
3651
3652 * NEWS: Mention CVE-2014-4043.
3653
bc4a86fa
RM
36542014-06-20 Roland McGrath <roland@hack.frob.com>
3655
dc9a54f8
RM
3656 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3657 * nptl/smp.h: ... here.
3658
bd7022c4
RM
3659 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3660
26ffd5e6
RM
3661 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3662 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3663 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3664 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3665
93a6d082
RM
3666 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3667 * nptl/stack-aliasing.h: New file.
3668 * sysdeps/i386/i686/stack-aliasing.h: New file.
3669 * sysdeps/i386/i686/nptl/Makefile: File removed.
3670 * sysdeps/x86_64/stack-aliasing.h: New file.
3671 * sysdeps/x86_64/nptl/Makefile
3672 (CFLAGS-pthread_create.c): Variable removed.
3673
bc4a86fa
RM
3674 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3675 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3676 old file.
3677 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3678 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3679 old file.
3680
2272ffc1
JM
36812014-06-21 Joseph Myers <joseph@codesourcery.com>
3682
3683 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3684 (__ASSUME_SIGFRAME_V2): Remove macro.
3685 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3686 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3687 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3688 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3689 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3690 Declare as function. Remove conditional macro definitions.
3691 (__default_rt_sa_restorer): Likewise.
3692 (__default_sa_restorer_v1): Remove declaration.
3693 (__default_sa_restorer_v2): Likewise.
3694 (__default_rt_sa_restorer_v1): Likewise.
3695 (__default_rt_sa_restorer_v2): Likewise.
3696 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3697 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3698 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3699
4b88139b
RM
37002014-06-20 Roland McGrath <roland@hack.frob.com>
3701
3702 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3703 (libpthread-routines): Add sysdep.
3704 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3705 * sysdeps/unix/sysv/linux/sparc/Versions
3706 (libpthread: GLIBC_2.3.3): New version set.
3707 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3708 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3709 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3710 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3711 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3712 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3713 Moved ...
3714 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3715 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3716 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3717 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3718 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3719 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3720 * sysdeps/sparc/nptl/sem_init.c: ... here.
3721 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3722 * sysdeps/sparc/nptl/sem_post.c: ... here.
3723 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3724 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3725 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3726 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3727 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3728 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3729 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3730 (libpthread-routines): Add cpu_relax.
3731 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3732 File removed.
3733 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3734 (librt: GLIBC_2.3.3): New version set.
3735 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3736 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3737 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3738 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3739 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3740 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3741 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3742 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3743 Moved ...
3744 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3745 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3746 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3747 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3748 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3749 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3750 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3751 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3752 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3753 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3754 Moved ...
3755 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3756 Update #include.
3757 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3758 Moved ...
3759 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3760 Update #include.
3761 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3762 Moved ...
3763 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3764 Update #include.
3765 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3766 Moved ...
3767 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3768 Update #include.
3769 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3770 Moved ...
3771 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3772 Update #include.
3773 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3774 Moved ...
3775 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3776 Update #include.
3777 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3778 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3779 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3780 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3781 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3783 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3784 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3785 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3786 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3787 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3788 Moved ...
3789 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3790 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3791 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3793 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3794
d7109027
JM
37952014-06-20 Joseph Myers <joseph@codesourcery.com>
3796
9bc6103d
JM
3797 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3798 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3799 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3800 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3801 * nscd/nscd.c: Likewise.
3802 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3803 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3804 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3805 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3806
d7109027
JM
3807 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3808 <kernel-features.h>.
3809 (init_mq_netlink): Remove conditional have_sock_cloexec
3810 definitions. Remove code conditional on have_sock_cloexec < 0.
3811 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3812 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3813 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3814 <kernel-features.h>.
3815 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3816 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3817
d92d8f8a
L
38182014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3819
3820 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3821 Add tests for memset_chk and memset.
3822
3823 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3824 with AVX2_Usable.
3825
4e6d2347
MR
38262014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3827
257ce712
MR
3828 [BZ #16046]
3829 * elf/tst-dl-iter-static.c: New file.
3830 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3831
4e6d2347
MR
3832 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3833 error.
3834
a2a76afe
JM
38352014-06-20 Joseph Myers <joseph@codesourcery.com>
3836
7fd00f99
JM
3837 * sysdeps/unix/sysv/linux/kernel-features.h
3838 (__ASSUME_F_GETOWN_EX): Remove macro.
3839 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3840 <kernel-features.h>.
3841 (miss_F_GETOWN_EX): Remove variable or macro.
3842 (do_fcntl): Do not check miss_F_GETOWN_EX.
3843 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3844
4a103975
JM
3845 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3846 Remove macro.
3847 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3848 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3849 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3850
a2a76afe
JM
3851 * sysdeps/unix/sysv/linux/kernel-features.h
3852 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3853 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3854 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3855 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3856
90e5dd48
MR
38572014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3858
3859 [BZ #17075]
3860 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3861 Fix calculation of the symbol's value.
3862 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3863 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3864 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3865 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3866 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3867 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3868 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3869 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3870 (modules-names): Add `tst-armtlsdescmod',
3871 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3872 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3873 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3874 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3875 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3876 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3877 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3878 ($(objpfx)tst-armtlsdescloc): New dependency.
3879 ($(objpfx)tst-armtlsdescextnow): Likewise.
3880 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3881 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3882 TLS scheme support.
3883 * sysdeps/arm/configure: Regenerate.
3884
809fdf0d
JM
38852014-06-20 Joseph Myers <joseph@codesourcery.com>
3886
3887 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3888 (__atfct_seterrno_2): Likewise.
3889 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3890 <kernel-features.h>.
3891 (__ASSUME_ATFCTS): Do not undefine and redefine.
3892 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3893 (__have_atfcts): Remove conditional definition.
3894 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3895 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3896 unreachable if [__ASSUME_ATFCTS].
3897 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3898 not undefine and redefine.
3899 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3900 <kernel-features.h>.
3901 (faccessat) [__NR_faccessat]: Make code unconditional.
3902 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3903 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3904 <kernel-features.h>.
3905 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3906 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3907 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3908 <kernel-features.h>.
3909 (fchownat) [__NR_fchownat]: Make code unconditional.
3910 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3911 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3912 <kernel-features.h>.
3913 (futimesat) [__NR_futimesat]: Make code unconditional.
3914 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3915 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3916 <kernel-features.h>.
3917 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3918 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3919 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3920 <kernel-features.h>.
3921 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3922 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3923 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3924 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3925 <kernel-features.h>.
3926 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3927 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3928 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3929 <kernel-features.h>.
3930 (linkat) [__NR_linkat]: Make code unconditional.
3931 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3932 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3933 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3934 <kernel-features.h>.
3935 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3936 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3937 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3938 <kernel-features.h>.
3939 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3940 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3941 * sysdeps/unix/sysv/linux/openat.c: Do not include
3942 <kernel-features.h>.
3943 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3944 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3945 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3946 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3947 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3948 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3949 <kernel-features.h>.
3950 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3951 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3952 result of INLINE_SYSCALL directly, not via int variable.
3953 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3954 <kernel-features.h>.
3955 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3956 (renameat) [__NR_renameat]: Make code unconditional.
3957 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3958 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3959 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3960 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3961 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3962 (__ASSUME_ATFCTS): Do not undefine and redefine.
3963 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3964 <kernel-features.h>.
3965 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3966 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3967 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3968 <kernel-features.h>.
3969 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3970 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3971 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3972 (__ASSUME_ATFCTS): Do not undefine and redefine.
3973 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3974 <kernel-features.h>.
3975 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3976 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3977 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3978 <kernel-features.h>.
3979 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3980 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3981
224c6c51
L
39822014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3983
3984 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3985
aa6ec754
AS
39862014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3987
3988 [BZ #17069]
3989 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3990 constructed tree before returning error.
3991 * posix/bug-regexp36.c: Expand test case.
3992
d8c2869d
SL
39932014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3994
3ef6b850
SL
3995 [BZ #6803]
3996 * math/libm-test.inc (scalbln_test_date):
3997 Add errno expectations.
3998 * math/w_scalblnf.c: New File.
3999 Add wrapper which checks for setting errno to ERANGE.
4000 Add weak_alias for corresponding scalbln function.
4001 * math/w_scalbln.c: Likewise.
4002 * math/w_scalblnl.c: Likewise.
4003 * math/Makefile (libm-calls): Add w_scalbln.
4004 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4005 Remove weak_alias for corresponding scalbln function.
4006 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4007 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4008 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4009 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4010 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4011 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4012 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4013 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4014 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4015 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4016 Remove long_double_symbol for scalblnl function in libm, libc.
4017 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4018 Add wrapper which checks for setting errno to ERANGE.
4019 Add long_double_symbol for scalblnl function in libm, libc.
4020 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4021 Remove long_double_symbol for scalblnl in libm.
4022 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4023 Add wrapper which checks for setting errno to ERANGE.
4024 Add long_double_symbol for scalblnl function in libm.
4025 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4026 Do not use wrapper because of own implementation.
4027
c8daec5c
L
40282014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4029
4030 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4031 3 bytes for __pad1 for x32.
4032 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4033
5c74e47c
LM
40342014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4035 H.J. Lu <hongjiu.lu@intel.com>
4036
4037 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4038 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4039 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4040 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4041 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4042
4d43ef1e
AS
40432014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4044
4045 [BZ #17069]
4046 * posix/regcomp.c (parse_expression): Deallocate partially
4047 constructed tree before returning error.
4048 * posix/Makefile.c (tests): Add bug-regex36.
4049 (generated): Add bug-regex36.mtrace.
4050 (tests-special): Add $(objpfx)bug-regex36-mem.out
4051 (bug-regex36-ENV): New variable.
4052 ($(objpfx)bug-regex36-mem.out): New rule.
4053 * posix/bug-regex36.c: New file.
4054
51a7380b
WN
40552014-06-19 Will Newton <will.newton@linaro.org>
4056
4057 * malloc/malloc.c (systrim): If extra is zero then return
4058 early.
4059
91b84fe5
SP
40602014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4061
4062 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4063
f940b965
RE
40642014-06-19 Richard Earnshaw <rearnsha@arm.com>
4065
4066 * sysdeps/aarch64/strchr.S: New file.
4067
4ba7a00f
JM
40682014-06-18 Joseph Myers <joseph@codesourcery.com>
4069
4070 [BZ #17022]
4071 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4072 from arguments -2 or below.
4073 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4074 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4075
b3a9f56b
AS
40762014-06-18 Andreas Schwab <schwab@suse.de>
4077
4078 [BZ #17062]
4079 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4080 of a bracket expr not to run off the end of the string.
4081 * posix/Makefile (tests): Add tst-fnmatch3.
4082 * posix/tst-fnmatch3.c: New file.
4083
85d89278
JM
40842014-06-18 Joseph Myers <joseph@codesourcery.com>
4085
4086 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4087 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4088 [$(cross-compiling) = no]: Likewise.
4089 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4090 [$(cross-compiling) = no]: Likewise.
4091
754c5a08
RS
40922014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4093
4094 [BZ #17031]
4095 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4096 double, adjusted for any remainder from the high double.
4097 * math/libm-test.inc (nearbyint): Add tests.
4098 (rint): Likewise.
4099
556f529d
AZ
41002014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4101
4102 * nptl/sysdeps/powerpc/Makefile: Moved ...
4103 * sysdeps/powerpc/nptl/Makefile: ... here.
4104 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4105 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4106 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4107 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4108 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4109 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4110 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4111 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4112 * nptl/sysdeps/powerpc/tls.h: Moved ...
4113 * sysdeps/powerpc/nptl/tls.h: ... here.
4114
91c03c53
JM
41152014-06-16 Joseph Myers <joseph@codesourcery.com>
4116
4117 [BZ #16681]
4118 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4119 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4120 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4121 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4122 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4123 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4124 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4125 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4126 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4127
a76e63c5
AS
41282014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4129
4130 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4131
f2f6d82f
AS
41322014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4133
ea8a15f6
AS
4134 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4135 defined operator.
4136
f2f6d82f
AS
4137 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4138 $TIMEOUTFACTOR.
4139
a7291117
FW
41402014-06-16 Florian Weimer <fweimer@redhat.com>
4141
4142 [BZ #17058]
4143 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4144 non-executed part of the test.
4145
3d7c00e3
AS
41462014-06-16 Andreas Schwab <schwab@suse.de>
4147
4148 * string/bits/string2.h (strdup, strndup): Update feature guard.
4149
6957fb31
DM
41502014-06-14 David S. Miller <davem@davemloft.net>
4151
4152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4153
11b9e55b
AS
41542014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4155
1d2a0492
AS
4156 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4157 that was previously under [RESET_PID].
4158 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4159
11b9e55b
AS
4160 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4161 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4162 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4163 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4164 (__libc_vfork): New strong alias.
4165 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4166
0f6901d0
AK
41672014-06-14 Andi Kleen <ak@linux.intel.com>
4168
4169 * sysdeps/generic/elide.h: New file.
4170
38bbbb9f
SL
41712014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4172
4173 * Makefile (installed-headers): Adjust path of pthread.h header.
4174
45193bb8
RM
41752014-06-13 Roland McGrath <roland@hack.frob.com>
4176
9a25fd1e
RM
4177 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4178 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4179 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4180 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4181
4004f7e4
RM
4182 * nptl/sysdeps/s390/Makefile: Moved ...
4183 * sysdeps/s390/nptl/Makefile: ... here.
4184 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4185 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4186 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4187 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4188 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4189 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4190 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4191 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4192 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4193 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4194 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4195 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4196 * nptl/sysdeps/s390/tls.h: Moved ...
4197 * sysdeps/s390/nptl/tls.h: ... here.
4198
45193bb8
RM
4199 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4200 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4201
f6fdf533
DM
42022014-06-13 David S. Miller <davem@davemloft.net>
4203
4204 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4205 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4206 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4207 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4208 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4209 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4210 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4211 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4212 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4213 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4214 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4215 Remove RESET_PID cpp guards.
4216 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4217 Remove RESET_PID cpp guards.
4218 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4219
f5d71e14
AS
42202014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4221
4222 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4223 __sp to uintptr_t.
4224
b7aa8caa
AK
42252014-06-13 Andi Kleen <ak@linux.intel.com>
4226
4b266200
AZ
4227 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4228 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4229 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4230 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4231 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4232 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4233 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4234 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4235 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4236 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4237 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4238 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4239 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4240 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4241 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4242 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4243 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4244 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4245 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4246 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
4247
4248 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
4249 (pthread_rwlock_rdlock): Add elision.
4250 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4251 (pthread_rwlock_wrlock): Add elision.
4252 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4253 (pthread_rwlock_trywrlock): Add elision.
4254 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4255 (pthread_rwlock_tryrdlock): Add elision.
4256 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4257 (pthread_rwlock_tryrdlock): Add elision unlock.
4258 * nptl/sysdeps/pthread/pthread.h:
4259 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4260 (PTHREAD_RWLOCK_INITIALIZER,
4261 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4262 Handle new elision field.
4263 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4264 * sysdeps/arm/nptl/bits/pthreadtypes.h
4265 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4266 * sysdeps/sh/nptl/bits/pthreadtypes.h
4267 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4268 * sysdeps/tile/nptl/bits/pthreadtypes.h
4269 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4270 * sysdeps/a/nptl/bits/pthreadtypes.h
4271 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4272 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4273 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4274 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4275 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4276 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4277 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4278 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4279 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4280 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4281 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4282 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4283 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4284 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4285 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4286 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4287 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4288 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4289 (elision_init): Set try_xbegin to zero when no RTM.
4290 * sysdeps/x86/nptl/bits/pthreadtypes.h
4291 (pthread_rwlock_t): Change __pad1 to __rwelision.
4292 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 4293
a832bdd3
AK
42942014-06-13 Andi Kleen <ak@linux.intel.com>
4295
4296 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4297 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4298 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4299 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4300
995a46bb
MI
43012014-06-13 Meador Inge <meadori@codesourcery.com>
4302
4303 [BZ #16996]
03ed7738 4304 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
4305 that the cached result has been set before returning it.
4306
45262aee
RM
43072014-06-12 Roland McGrath <roland@hack.frob.com>
4308
febf6cc5
RM
4309 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4310 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4311 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4312 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4313 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4314 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4315
e2682246
RM
4316 * nptl/sysdeps/sparc/Makefile: Moved ...
4317 * sysdeps/sparc/nptl/Makefile: ... here.
4318 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4319 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4320 * nptl/sysdeps/sparc/tls.h: Moved ...
4321 * sysdeps/sparc/nptl/tls.h: ... here.
4322 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4323 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4324 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4325 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4326 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4327 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4328 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4329 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4330 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4331 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4332 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4333 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4334 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4335 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4336 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4337 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4338 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4339 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4340 Update #include.
4341 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4342 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4343 Update #include.
4344 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4345 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4346 Update #include.
4347 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4348 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4349 Update #include.
4350
b0725f43
RM
4351 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4352
b14368b8
RM
4353 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4354 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4355
c5620eb3
RM
4356 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4357 (struct list_links): Type removed.
4358 (struct thread_node, struct timer_node): Replace struct list_links
4359 with struct list_head.
4360 (list_unlink_ip): Likewise.
4361 * sysdeps/pthread/timer_routines.c
4362 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4363 (list_append, list_insbefore): Likewise.
4364 (list_init): Function removed.
4365 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
4366 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4367 * sysdeps/pthread/Makefile: ... here, new file.
4368
4369 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4370 * sysdeps/nptl/Implies: ... here.
4371 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4372 * nptl/sysdeps/pthread/list.h: Moved ...
4373 * include/list.h: ... here.
4374 * nptl/sysdeps/pthread/createthread.c: Moved ...
4375 * nptl/createthread.c: ... here.
4376 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4377 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4378 * nptl/pt-longjmp.c: ... here.
4379 * nptl/sysdeps/pthread/Makefile: Moved ...
4380 * sysdeps/nptl/Makefile: ... here.
4381 * nptl/sysdeps/pthread/Subdirs: Moved ...
4382 * sysdeps/nptl/Subdirs: ... here.
4383 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4384 * sysdeps/nptl/aio_misc.h: ... here.
4385 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4386 * sysdeps/nptl/bits/libc-lock.h: ... here.
4387 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4388 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4389 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4390 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4391 * nptl/sysdeps/pthread/configure: Moved ...
4392 * sysdeps/nptl/configure: ... here.
4393 * nptl/sysdeps/pthread/configure.ac: Moved ...
4394 * sysdeps/nptl/configure.ac: ... here.
4395 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4396 * sysdeps/nptl/gai_misc.h: ... here.
4397 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4398 * sysdeps/nptl/librt-cancellation.c: ... here.
4399 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4400 * sysdeps/nptl/malloc-machine.h: ... here.
4401 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4402 * sysdeps/nptl/pthread-functions.h: ... here.
4403 * nptl/sysdeps/pthread/pthread.h: Moved ...
4404 * sysdeps/nptl/pthread.h: ... here.
4405 * nptl/sysdeps/pthread/setxid.h: Moved ...
4406 * sysdeps/nptl/setxid.h: ... here.
4407 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4408 * sysdeps/nptl/sigfillset.c: ... here.
4409 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4410 * sysdeps/nptl/tcb-offsets.h: ... here.
4411 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4412 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4413 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4414 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4415 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4416 * sysdeps/pthread/allocalim.h: ... here.
4417 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4418 * sysdeps/pthread/bits/sigthread.h: ... here.
4419 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4420 * sysdeps/pthread/flockfile.c: ... here.
4421 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4422 * sysdeps/pthread/ftrylockfile.c: ... here.
4423 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4424 * sysdeps/pthread/funlockfile.c: ... here.
4425 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4426 * sysdeps/pthread/posix-timer.h: ... here.
4427 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4428 * sysdeps/pthread/timer_create.c: ... here.
4429 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4430 * sysdeps/pthread/timer_delete.c: ... here.
4431 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4432 * sysdeps/pthread/timer_getoverr.c: ... here.
4433 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4434 * sysdeps/pthread/timer_gettime.c: ... here.
4435 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4436 * sysdeps/pthread/timer_routines.c: ... here.
4437 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4438 * sysdeps/pthread/timer_settime.c: ... here.
4439 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4440 * sysdeps/pthread/tst-timer.c: ... here.
4441 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4442 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4443
e876b090
RM
4444 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4445 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4446
f6b07b3d
RM
4447 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4448 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4449 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4450 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4451 Update #include target.
4452 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4453 * sysdeps/i386/i686/nptl/Makefile: ... here.
4454 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4455 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4456 Update #include target.
4457 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4458 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4459 * nptl/sysdeps/i386/Makefile: Moved ...
4460 * sysdeps/i386/nptl/Makefile: ... here.
4461 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4462 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4463 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4464 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4465 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4466 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4467 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4468 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4469 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4470 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4471 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4472 * nptl/sysdeps/i386/tls.h: Moved ...
4473 * sysdeps/i386/nptl/tls.h: ... here.
4474
45262aee
RM
4475 * sysdeps/sh/Makefile [$(subdir) = csu]
4476 (gen-as-const-headers): Add tcb-offsets.sym.
4477 * nptl/sysdeps/sh/Makefile: File removed.
4478 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4479 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4480 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4481 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4482 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4483 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4484 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4485 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4486 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4487 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4488 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4489 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4490 * nptl/sysdeps/sh/tls.h: Moved ...
4491 * sysdeps/sh/nptl/tls.h: ... here.
4492 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4493 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4494 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4495 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4496 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4497 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4498 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4499 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4500 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4501 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4502 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4503 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4504 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4505 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4506 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4507 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4508 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4509 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4510 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4511 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4512 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4513 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4514 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4515 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4516 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4517 Moved ...
4518 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4519 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4520 Moved ...
4521 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4522 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4523 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4524 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4525 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4526 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4527 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4528 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4529 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4530 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4531 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4532 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4533 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4534 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4535 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4536 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4537 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4538 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4539 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4540
35a5e3e3
SL
45412014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4542
4543 * posix/spawn_faction_addopen.c: Include string.h.
4544
14642b85
RM
45452014-06-11 Roland McGrath <roland@hack.frob.com>
4546
4547 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4548 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4549 * nptl/sysdeps/x86_64/Makefile: Moved ...
4550 * sysdeps/x86_64/nptl/Makefile: ... here.
4551 * nptl/sysdeps/x86_64/configure: Moved ...
4552 * sysdeps/x86_64/nptl/configure: ... here.
4553 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4554 * sysdeps/x86_64/nptl/configure.ac: ... here.
4555 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4556 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4557 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4558 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4559 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4560 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4561 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4562 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4563 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4564 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4565 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4566 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4567 * nptl/sysdeps/x86_64/tls.h: Moved ...
4568 * sysdeps/x86_64/nptl/tls.h: ... here.
4569 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4570 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4571 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4572 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4573
4574 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4575
31c44fea
AZ
45762014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4577
4578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4579
e81a4f9a
JM
45802014-06-11 Joseph Myers <joseph@codesourcery.com>
4581
4582 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4583 type.
4584 [POSIX] (off_t): Likewise.
4585 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4586 [POSIX] (S_ISBLK): Require macro.
4587 [POSIX] (S_ISCHR): Likewise.
4588 [POSIX] (S_ISDIR): Likewise.
4589 [POSIX] (S_ISFIFO): Likewise.
4590 [POSIX] (S_ISREG): Likewise.
4591 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4592 optional-macro.
4593 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4594 type.
4595 [POSIX] (time_t): Likewise.
4596 [POSIX] (timer_t): Likewise.
4597
89e435f3
FW
45982014-06-11 Florian Weimer <fweimer@redhat.com>
4599
4600 [BZ #17048]
4601 * posix/spawn_int.h (struct __spawn_action): Make the path string
4602 non-const to support deallocation.
4603 * posix/spawn_faction_addopen.c
4604 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4605 * posix/spawn_faction_destroy.c
4606 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4607 path in all spawn_do_open actions.
4608 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4609 posix_spawn_file_actions_addopen.
4610
c3a2ebe1
CM
46112014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4612
4613 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4614 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4615 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4616 conditional code always true.
4617 (__libc_vfork): New alias.
4618
9503784a
RM
46192014-06-11 Roland McGrath <roland@hack.frob.com>
4620
c9cab3d2
RM
4621 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4622 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4623
d3996c79
RM
4624 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4625
ba5ec611
RM
4626 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4627 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4628
f12b4814
RM
4629 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4630 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4631
9503784a
RM
4632 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4633 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4634
e23d3d26
VR
46352014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4636
4637 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4638 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4639 multiarch strcmp for PPC64.
4640 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4641 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4643 multiarch optimizations.
4644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4645 (__libc_ifunc_impl_list): Likewise.
4646
42b1161e
SP
46472014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4648
4649 * benchtests/scripts/validate_benchout.py: New script.
4650 * benchtests/Makefile (bench-func): Call it.
4651 * benchtests/scripts/benchout.schema.json: New file.
4652
2d0fc4dc
CM
46532014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4654
4a594c34
AZ
4655 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4656 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4657 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4658 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4659 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4660 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4661 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4662 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4663 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4664 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4665 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4666 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4667 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4668 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4669 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4670 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 4672 Moved ...
4a594c34 4673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 4674 ... here.
4a594c34 4675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 4676 Moved ...
4a594c34
AZ
4677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 4679 Moved ...
4a594c34 4680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 4681 ... here.
4a594c34 4682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 4683 Moved ...
4a594c34 4684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 4685 ... here.
4a594c34 4686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 4687 Moved ...
4a594c34
AZ
4688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 4690 Moved ...
4a594c34 4691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 4692 ... here.
4a594c34 4693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 4694 Moved ...
4a594c34 4695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 4696 ... here.
4a594c34 4697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 4698 Moved ...
4a594c34
AZ
4699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 4701 Moved ...
4a594c34 4702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 4703 ... here.
4a594c34 4704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 4705 Moved ...
4a594c34 4706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 4707 ... here.
4a594c34 4708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 4709 Moved ...
4a594c34 4710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 4711 ... here.
4a594c34 4712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 4713 Moved ...
4a594c34
AZ
4714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 4716 Moved ...
4a594c34 4717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 4718 ... here.
4a594c34 4719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 4720 Moved ...
4a594c34 4721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 4722 ... here.
4a594c34 4723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 4724 Moved ...
4a594c34 4725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 4726 ... here.
4a594c34 4727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 4728 Moved ...
4a594c34
AZ
4729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 4731 Moved ...
4a594c34 4732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 4733 ... here.
4a594c34 4734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 4735 Moved ...
4a594c34 4736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 4737 ... here.
4a594c34 4738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 4739 Moved ...
4a594c34
AZ
4740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 4742 Moved ...
4a594c34 4743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 4744 ... here.
4a594c34 4745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 4746 Moved ...
4a594c34
AZ
4747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 4749 Moved ...
4a594c34
AZ
4750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 4752 Moved ...
4a594c34 4753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 4754 ... here.
4a594c34 4755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 4756 Moved ...
4a594c34 4757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 4758 ... here.
4a594c34 4759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 4760 Moved ...
4a594c34 4761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 4762 ... here.
4a594c34 4763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 4764 Moved ...
4a594c34
AZ
4765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 4767 Moved ...
4a594c34 4768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 4769 ... here.
4a594c34 4770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 4771 Moved ...
4a594c34 4772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 4773 ... here.
4a594c34
AZ
4774 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4775 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4776 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4777 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4778 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 4779 Moved ...
4a594c34 4780 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 4781 ... here.
4a594c34
AZ
4782 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4783 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4784 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4785 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4786 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4787 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4788 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4789 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4790 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4791 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4792 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4793 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4794 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 4795 Moved ...
4a594c34
AZ
4796 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4797 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 4798 Moved ...
4a594c34
AZ
4799 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4800 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4801 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4802 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 4803 Moved ...
4a594c34
AZ
4804 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4805 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4806 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4807 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4808 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4809 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4810 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 4811
0570cfed
W
48122014-06-10 Wilco <wdijkstr@arm.com>
4813
4814 * math/test-fenv-return.c: New file.
4815 * math/Makefile: Add new test test-fenv-return.
4816
f8ba1b56
JM
48172014-06-10 Joseph Myers <joseph@codesourcery.com>
4818
4819 [BZ #17042]
4820 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4821 when x - 1 is zero.
4822 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4823 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4824 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4825 0.0L for an argument of 1.0L.
4826 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4827 Likewise.
4828 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4829 value when x - 1 is zero.
4830 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4831 * sysdeps/i386/fpu/libm-test-ulps: Update.
4832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4833
2c3520d9
BO
48342014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4835
4836 [BZ #15119]
4837 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4838
acaa4d24
RM
48392014-06-09 Roland McGrath <roland@hack.frob.com>
4840
4841 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4842 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4843
962b744d
RM
48442014-06-09 Roland McGrath <roland@hack.frob.com>
4845
d752f0cc
RM
4846 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4847 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4848
34eda6d1
RM
4849 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4850 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4851
50f0a637
RM
4852 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4853 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4854
08f41f04
RM
4855 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4856 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4857
962b744d
RM
4858 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4859 if not already defined.
4860 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4861 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4862 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4863 (TLS_INIT_TP): Use it.
4864 (TLS_DEFINE_INIT_TP): New macro.
4865 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4866
09f19b05
JM
48672014-06-09 Joseph Myers <joseph@codesourcery.com>
4868
4869 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4870 constant.
4871 [POSIX] (IXANY): Likewise.
4872 [POSIX] (OLCUC): Likewise.
4873 [POSIX || POSIX2008] (CBAUD): Do not allow.
4874 [POSIX || POSIX2008] (DEFECHO): Likewise.
4875 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4876 [POSIX || POSIX2008] (ECHOKE): Likewise.
4877 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4878 [POSIX || POSIX2008] (EXTA): Likewise.
4879 [POSIX || POSIX2008] (EXTB): Likewise.
4880 [POSIX || POSIX2008] (FLUSHO): Likewise.
4881 [POSIX || POSIX2008] (LOBLK): Likewise.
4882 [POSIX || POSIX2008] (PENDIN): Likewise.
4883 [POSIX || POSIX2008] (SWTCH): Likewise.
4884 [POSIX || POSIX2008] (VDISCARD): Likewise.
4885 [POSIX || POSIX2008] (VDSUSP): Likewise.
4886 [POSIX || POSIX2008] (VLNEXT): Likewise.
4887 [POSIX || POSIX2008] (VREPRINT): Likewise.
4888 [POSIX || POSIX2008] (VSTATUS): Likewise.
4889 [POSIX || POSIX2008] (VWERASE): Likewise.
4890 (B*): Change to B[0123456789]*.
4891 * conform/data/time.h-data [POSIX || UNIX98]
4892 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4893 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4894 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4895 [POSIX] (tm_*): Do not allow.
4896
686554bf
JM
48972014-06-07 Joseph Myers <joseph@codesourcery.com>
4898
4899 * Makefile (install): Don't set LANGUAGE.
4900 * Makefile.in (install): Likewise.
4901 * assert/Makefile (test-assert-ENV): Remove variable.
4902 (test-assert-perr-ENV): Likewise.
4903 * elf/Makefile (neededtest4-ENV): Likewise.
4904 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4905 [$(cross-compiling) = no]: Don't set LANGUAGE.
4906 * io/ftwtest-sh (LANG): Remove variable.
4907 * libio/Makefile (tst-widetext-ENV): Likewise.
4908 * manual/install.texi (Running make install): Don't refer to
4909 environment settings for make install.
4910 * INSTALL: Regenerated.
4911 * nptl/tst-tls6.sh: Don't set LANG.
4912 * posix/globtest.sh (LANG): Remove variable.
4913 * string/Makefile (tester-ENV): Likewise.
4914 (inl-tester-ENV): Likewise.
4915 (noinl-tester-ENV): Likewise.
4916 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4917 [$(cross-compiling) = no]: Don't set LANGUAGE.
4918 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4919 without explicit environment settings.
4920
68e6b6b1
RM
49212014-06-06 Roland McGrath <roland@hack.frob.com>
4922
4923 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4924 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4925 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4926 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4927
4d3ae034
CM
49282014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4929
4930 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4931 other files in the crypt directory.
4932 * crypt/crypt.c: Remove duplicate includes.
4933 * crypt/crypt-entry.c: Likewise.
4934 * crypt/crypt_util.c: Likewise.
4935
8540f6d2
JM
49362014-06-06 Joseph Myers <joseph@codesourcery.com>
4937
4938 * Makeconfig (run-program-env): New variable.
4939 (run-program-prefix-before-env): Likewise.
4940 (run-program-prefix-after-env): Likewise.
4941 (run-program-prefix): Define in terms of new variables.
4942 (built-program-cmd-before-env): New variable.
4943 (built-program-cmd-after-env): Likewise.
4944 (built-program-cmd): Define in terms of new variables.
4945 (test-program-prefix-before-env): New variable.
4946 (test-program-prefix-after-env): Likewise.
4947 (test-program-prefix): Define in terms of new variables.
4948 (test-program-cmd-before-env): New variable.
4949 (test-program-cmd-after-env): Likewise.
4950 (test-program-cmd): Define in terms of new variables.
4951 * Rules (make-test-out): Use $(run-program-env).
4952 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4953 (help): Do not mention environment variables. Mention
4954 --timeoutfactor option.
4955 (timeoutfactor): New variable.
4956 (blacklist_exports): Remove function.
4957 (exports): Remove variable.
4958 (command): Do not include ${exports}.
4959 * manual/install.texi (Configuring and compiling): Do not mention
4960 test wrappers preserving environment variables. Mention that last
4961 assignment to a variable must take precedence.
4962 * INSTALL: Regenerated.
4963 * benchtests/Makefile (run-bench): Use $(run-program-env).
4964 * catgets/Makefile ($(objpfx)test1.cat): Use
4965 $(built-program-cmd-before-env), $(run-program-env) and
4966 $(built-program-cmd-after-env).
4967 ($(objpfx)test2.cat): Do not specify environment variables
4968 explicitly.
4969 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4970 $(run-program-env) and $(built-program-cmd-after-env).
4971 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4972 $(run-program-env) and $(test-program-cmd-after-env).
4973 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4974 explicitly.
4975 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4976 run_program_env and test_program_cmd_after_env arguments.
4977 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4978 * elf/tst-pathopt.sh: Use run_program_env argument.
4979 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4980 $(test-wrapper-env) and $(run-program-env).
4981 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4982 run_program_env arguments.
4983 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4984 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4985 $(test-program-prefix-before-env), $(run-program-env) and
4986 $(test-program-prefix-after-env).
4987 ($(objpfx)tst-gettext2.out): Likewise.
4988 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4989 run_program_env and test_program_prefix_after_env arguments.
4990 * intl/tst-gettext2.sh: Likewise.
4991 * intl/tst-gettext4.sh: Do not set environment variables
4992 explicitly.
4993 * intl/tst-gettext6.sh: Likewise.
4994 * intl/tst-translit.sh: Likewise.
4995 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4996 $(test-program-prefix-before-env), $(run-program-env) and
4997 $(test-program-prefix-after-env).
4998 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4999 run_program_env and test_program_prefix_after_env arguments.
5000 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5001 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5002 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5003 explicitly with each use of ${test_wrapper_env}.
5004 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5005 $(test-program-prefix-before-env), $(run-program-env) and
5006 $(test-program-prefix-after-env).
5007 * posix/tst-getconf.sh: Do not set environment variables
5008 explicitly.
5009 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5010 run_program_env and test_program_prefix_after_env arguments.
5011 * stdio-common/tst-printf.sh: Do not set environment variables
5012 explicitly.
5013 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5014 $(test-program-prefix-before-env), $(run-program-env) and
5015 $(test-program-prefix-after-env).
5016 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5017 run_program_env and test_program_prefix_after_env arguments.
5018 Split $test calls into $test_pre and $test.
5019 * timezone/Makefile (build-testdata): Use
5020 $(built-program-cmd-before-env), $(run-program-env) and
5021 $(built-program-cmd-after-env).
5022
ed36bfa1
AZ
50232014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5024
5025 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5026 strlen for non SHARED builds.
5027
fc75bf46
SP
50282014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5029
5030 * nptl/allocatestack.c (check_list): Inlined function...
5031 (__reclaim_stacks): ... here.
5032
d89b3d80
OB
50332014-06-05 Ondřej Bílka <neleai@seznam.cz>
5034
5035 [BZ #15698]
5036 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5037 memory overrun.
5038
2bf18041
JM
50392014-06-05 Joseph Myers <joseph@codesourcery.com>
5040
5041 * Rules (make-test-out): Include
5042 LOCPATH=$(common-objpfx)localedata in default environment.
5043 * debug/Makefile (tst-chk1-ENV): Remove variable.
5044 (tst-chk2-ENV): Likewise.
5045 (tst-chk3-ENV): Likewise.
5046 (tst-chk4-ENV): Likewise.
5047 (tst-chk5-ENV): Likewise.
5048 (tst-chk6-ENV): Likewise.
5049 (tst-lfschk1-ENV): Likewise.
5050 (tst-lfschk2-ENV): Likewise.
5051 (tst-lfschk3-ENV): Likewise.
5052 (tst-lfschk4-ENV): Likewise.
5053 (tst-lfschk5-ENV): Likewise.
5054 (tst-lfschk6-ENV): Likewise.
5055 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5056 (tst-iconv7-ENV): Likewise.
5057 * intl/Makefile (LOCPATH-ENV): Likewise.
5058 (tst-codeset-ENV): Likewise.
5059 (tst-gettext3-ENV): Likewise.
5060 (tst-gettext5-ENV): Likewise.
5061 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5062 (tst-fopenloc-ENV): Likewise.
5063 (tst-fgetws-ENV): Remove variable.
5064 (tst-ungetwc1-ENV): Likewise.
5065 (tst-ungetwc2-ENV): Likewise.
5066 (bug-ungetwc2-ENV): Likewise.
5067 (tst-swscanf-ENV): Likewise.
5068 (bug-ftell-ENV): Likewise.
5069 (tst-fgetwc-ENV): Likewise.
5070 (tst-fseek-ENV): Likewise.
5071 (tst-ftell-partial-wide-ENV): Likewise.
5072 (tst-ftell-active-handler-ENV): Likewise.
5073 (tst-ftell-append-ENV): Likewise.
5074 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5075 (tst-regexloc-ENV): Likewise.
5076 (bug-regex1-ENV): Likewise.
5077 (tst-regex-ENV): Likewise.
5078 (tst-regex2-ENV): Likewise.
5079 (bug-regex5-ENV): Likewise.
5080 (bug-regex6-ENV): Likewise.
5081 (bug-regex17-ENV): Likewise.
5082 (bug-regex18-ENV): Likewise.
5083 (bug-regex19-ENV): Likewise.
5084 (bug-regex20-ENV): Likewise.
5085 (bug-regex22-ENV): Likewise.
5086 (bug-regex23-ENV): Likewise.
5087 (bug-regex25-ENV): Likewise.
5088 (bug-regex26-ENV): Likewise.
5089 (bug-regex30-ENV): Likewise.
5090 (bug-regex32-ENV): Likewise.
5091 (bug-regex33-ENV): Likewise.
5092 (bug-regex34-ENV): Likewise.
5093 (bug-regex35-ENV): Likewise.
5094 (tst-rxspencer-ENV): Likewise.
5095 (tst-rxspencer-no-utf8-ENV): Likewise.
5096 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5097 (tst-sscanf-ENV): Likewise.
5098 (tst-swprintf-ENV): Likewise.
5099 (tst-swscanf-ENV): Likewise.
5100 (test-vfprintf-ENV): Likewise.
5101 (scanf13-ENV): Likewise.
5102 (bug14-ENV): Likewise.
5103 (tst-grouping-ENV): Likewise.
5104 * stdlib/Makefile (tst-strtod-ENV): Likewise.
5105 (tst-strtod3-ENV): Likewise.
5106 (tst-strtod4-ENV): Likewise.
5107 (tst-strtod5-ENV): Likewise.
5108 (testmb2-ENV): Likewise./
5109 * string/Makefile (tst-strxfrm-ENV): Likewise.
5110 (tst-strxfrm2-ENV): Likewise.
5111 (bug-strcoll1-ENV): Likewise.
5112 (test-strcasecmp-ENV): Likewise.
5113 (test-strncasecmp-ENV): Likewise.
5114 * time/Makefile (tst-strptime-ENV): Likewise.
5115 (tst-ftime_l-ENV): Likewise.
5116 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5117 (tst-mbrtowc-ENV): Likewise.
5118 (tst-wcrtomb-ENV): Likewise.
5119 (tst-mbrtowc2-ENV): Likewise.
5120 (tst-c16c32-1-ENV): Likewise.
5121 (tst-mbsnrtowcs-ENV): Likewise.
5122
cd1fb604
OB
51232014-06-05 Ondřej Bílka <neleai@seznam.cz>
5124
5125 * manual/resource.texi (How to get information about the memory
5126 subsystem?): Fix typo.
5127 Reported by Peon de la Parra Ivan <peon@keba.com>
5128
b42eca7d
GY
51292014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5130
5131 [BZ #16882]
5132 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5133 (pthread_spin_lock): Branch out of spin loop to proper location.
5134 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5135 (pthread_spin_lock): Likewise.
5136
902b71f9
DM
5137 * nptl/tst-spin4.c: New test.
5138 * nptl/Makefile (tests): Add tst-spin4.
5139
f9d2d032
AS
51402014-06-03 Andreas Schwab <schwab@suse.de>
5141
5142 [BZ #15946]
5143 * resolv/res_send.c (send_dg): Reload file descriptor after
5144 calling reopen.
5145
cf7bfd28
SL
51462014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5147
5148 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5149
111cc714
RH
51502014-06-03 Richard Henderson <rth@redhat.com>
5151
89b4bd6b
RH
5152 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5153 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5154 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5155 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5156 in the SAVE_PID block.
5157 (__libc_vfork): New alias.
71840409 5158 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 5159
111cc714
RH
5160 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5161 child in registers, not on the stack. Remove RESET_PID conditionals.
5162 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5163
ccc39911
MS
51642014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5165
5166 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5167
693096cc
W
51682014-06-03 Wilco <wdijkstr@arm.com>
5169
5170 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5171 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5172 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5173 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5174 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5175 Likewise.
5176
0b4366bc
W
51772014-06-03 Wilco <wdijkstr@arm.com>
5178
5179 * sysdeps/aarch64/fpu/math_private.h
5180 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5181 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5182 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5183 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5184 Fix declarations.
5185
8747cd03
KS
51862014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5187
5188 * crypt/crypt-private.h: Include ufc-crypt.h.
5189 (__b64_from_24bit): Declare extern.
5190 * crypt/crypt_util.c(__b64_from_24bit): New function.
5191 (b64t): New static const variable.
5192 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5193 (b64t): Remove variable.
5194 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5195 * crypt/sha256-crypt.c: Include crypt-private.h.
5196 (b64t): Remove variable.
5197 (__sha256_crypt_r): Remove b64_from_24bit and replace
5198 with __b64_from_24bit.
5199 * crypt/sha512-crypt.c: Likewise.
5200
d936d379
RM
52012014-06-02 Roland McGrath <roland@hack.frob.com>
5202
5203 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5204 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5205 Label the code __libc_vfork rather than __vfork.
5206 [!NOT_IN_libc] (vfork): Define as weak alias.
5207 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5208 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5209 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5210
9fa76613
SP
52112014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5212
5213 * malloc/malloc.c (malloc_info): Fix format specifier for
5214 n_mmaps.
5215
a88dadbe
W
52162014-06-02 Wilco <wdijkstr@arm.com>
5217
5218 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5219 FPCR write.
5220
c95b3011
W
52212014-06-02 Wilco <wdijkstr@arm.com>
5222
5223 [BZ #17009]
5224 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5225 Rewrite to reduce FPCR/FPSR accesses.
5226
6b4d7a90
DM
52272014-06-01 David S. Miller <davem@davemloft.net>
5228
5229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5230
30f3d07c
DM
52312014-05-31 David S. Miller <davem@davemloft.net>
5232
5233 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5234 to occur in round to nearest mode when |x| >= 2.0
5235
74f31c18
RH
52362014-05-30 Richard Henderson <rth@twiddle.net>
5237
f0712b54
RH
5238 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5239 (PSEUDO_RET_NOERRNO): Remove.
5240 (ret): Don't redefine.
5241 (ret_NOERRNO): Define in terms of ret.
5242 (ret_ERRVAL): Likewise.
5243
74f31c18
RH
5244 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5245 use of PSEUDO_RET; perform the error check directly.
5246
30477995
MM
52472014-05-30 Marko Myllynen <myllynen@redhat.com>
5248
5249 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5250 with __int128_t.
5251
62a58816
SP
52522014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5253
5254 * malloc/malloc (malloc_info): Fix formatting.
5255
4d653a59
SP
52562014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5257 Roland McGrath <roland@hack.frob.com>
5258
5259 * malloc/malloc (malloc_info): Also print mmapped statistics.
5260
5190c17f
RM
52612014-05-30 Roland McGrath <roland@hack.frob.com>
5262
5263 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5264 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5265
987c0269
OB
52662014-05-30 Ondřej Bílka <neleai@seznam.cz>
5267
5268 * malloc/malloc.c (malloc_info): Inline mi_arena.
5269
af4e8ef9
RH
52702014-05-29 Richard Henderson <rth@twiddle.net>
5271
1670e207
RH
5272 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5273 Remove comma before expanding ASM_ARGS_##nr.
5274 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5275 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5276 of ASM_ARGS_##nr.
5277 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5278 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5279 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5280 (ASM_ARGS_1): Add leading comma.
5281
11a28aee
RH
5282 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5283 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5284 to __errno_location.
5285 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5286 Remove the expected plt for __errno_location.
5287
a17e5ffb 5288 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 5289 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
5290 call to __read_tp.
5291
b5be4597
RH
5292 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5293 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5294 it and break it down.
5295 (DOCARGS_0, DOCARGS_1): Do nothing.
5296 (DOCARGS_2): Update to store into the new stack frame.
5297 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5298 (UNDOCARGS_1): Update to restore from the new stack frame.
5299 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5300 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5301
645d44ab
RH
5302 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5303 (SINGLE_THREAD_P): New parameter for result regno.
5304 (PSEUDO): Update to match; use cbz instead of beq.
5305
a8b4f04a
RH
5306 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5307 Use ENTRY to define the _nocancel entry point. Share the syscall
5308 and syscall error check paths with the cancel path.
5309 (PSEUDO_END): New.
5310
af4e8ef9
RH
5311 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5312 whitespace; tabs before and after asm mnemonics.
5313
26b0d2e1
EW
53142014-05-29 Eric Wong <normalperson@yhbt.net>
5315
5316 [BZ #15132]
5317 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5318 Call fstat64 or stat64 internally, depending on arguments passed.
5319 Replace stat buffer argument with file descriptor argument.
5320 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5321 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5322 Pass fd to __internal_statvfs instead of calling fstat64.
5323 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5324 Pass fd to __internal_statvfs64 instead of calling fstat64.
5325 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5326 Pass -1 to __internal_statvfs instead of calling stat64.
5327 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5328 Pass -1 to __internal_statvfs64 instead of calling stat64.
5329
1efe2bd9
RM
53302014-05-28 Roland McGrath <roland@hack.frob.com>
5331
0d3b7a19
RM
5332 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5333 that was previously under [RESET_PID].
5334 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5335
1efe2bd9
RM
5336 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5337 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5338
a6bea3ca
RM
53392014-05-27 Roland McGrath <roland@hack.frob.com>
5340
30b6629e
RM
5341 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5342
a6bea3ca
RM
5343 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5344 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5345
3dfb9a5c
OB
53462014-05-27 Ondřej Bílka <neleai@seznam.cz>
5347
5348 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5349
774f9285
AS
53502014-05-27 Andreas Schwab <schwab@suse.de>
5351
5352 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5353 TLS_INIT_TP macro.
5354 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5355 * elf/rtld.c (init_tls, dl_main): Likewise.
5356 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5357 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5358 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5359 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5360 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5361 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5362 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5363 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5364 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5365 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5366 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5367 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5368 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5369 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5370 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5371 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5372 * sysdeps/generic/tls.h: Update description.
5373
36ffe739
WN
53742014-05-27 Will Newton <will.newton@linaro.org>
5375
5376 [BZ #16990]
5377 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5378 and restore r2 rather than just restoring.
5379
2482ae43
SP
53802014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5381
5382 [BZ #16724]
5383 * libio/tst-ftell-append.c: New test case.
5384 * libio/Makefile (tests): Add test case.
5385 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5386 append mode.
5387 * libio/wfileops.c (do_ftell_wide): Likewise.
5388
3d1024e8
AZ
53892014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5390
bab90016
AZ
5391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5392
c7a8d667
AZ
5393 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5394 ...
5395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5397 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5398 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5399 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5400 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5401 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5402 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5403 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5404 Moved ...
5405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5406 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5407 Moved ...
5408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5409 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5410 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5411 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5412 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5413 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5414 ...
5415 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5416 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5417 Moved ...
5418 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5419 here.
5420 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5421 ...
5422 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5423 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5424 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5425
daee7851
AZ
5426 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5427 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5428 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5429 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5430
50a40819
AZ
5431 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5432 merge into ...
5433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5434 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5435 ...
5436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5437 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5438 ...
5439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5440 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5441 Moved ...
5442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5443 here.
5444 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5445 Moved ...
5446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5447 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5448 Moved ...
5449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5450
8464c2a1
AZ
5451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5452 conditional [RESET_PID].
5453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5454 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5455 removed.
5456 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5457 removed.
5458
3d1024e8
AZ
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5460 <tcb-offsets.h>.
5461 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5462 (__libc_vfork): New strong alias.
5463 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5464 removed.
5465 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5466 Removed.
5467
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5469 <tcb-offsets.h>.
5470 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5471 (__libc_vfork): New strong alias.
5472 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5473 removed.
5474 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5475 removed.
5476
fdfd175d
CD
54772014-05-26 Carlos O'Donell <carlos@redhat.com>
5478
5479 * malloc/malloc.c (mi_arena): New function.
5480 (malloc_info): Remove nested function mi_arena. Call non-nosted
5481 function mi_arena.
5482
d298c416
AZ
54832014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5484
5485 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5486 by insrwi.
5487 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5488 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5489 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5490 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5491 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5492 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5493 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5494
b60ea6ff
AS
54952014-05-26 Andreas Schwab <schwab@suse.de>
5496
5497 [BZ #16984]
5498 * locale/programs/repertoire.c (repertoire_read): Add slash
5499 between I18NPATH element and file name.
5500 * locale/programs/locfile.c (locfile_read): Likewise.
5501
67365926
SL
55022014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5503
5504 * nptl/pthread_mutexattr_settype.c
5505 (__pthread_mutexattr_settype):
5506 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5507
f8bdf1f0
SL
55082014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5509
5510 * nptl/tst-mutex5 (do_test):
5511 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5512
15eaf6ff
SP
55132014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5514
5515 * benchtests/README: Document 'init' directive.
5516 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5517 BENCH_INIT.
5518 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5519 (parse_file): Recognize 'init' directive.
5520
75f11331
KM
55212014-05-26 Kyle McMartin <kyle@redhat.com>
5522
5523 [BZ #16796]
5524 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5525 alignment of struct pthread.
5526
c3ec475c
SP
55272014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5528
5529 [BZ #16878]
5530 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5531 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5532 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5533 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5534
82aab97c
RH
55352014-05-25 Richard Henderson <rth@twiddle.net>
5536
aa2f176d
RH
5537 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5538 (SINGLE_THREAD_P_PIC): Remove.
5539 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5540 (SINGLE_THREAD_P_PIC): Remove.
5541
ca3cfa40
RH
5542 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5543 branch to syscall error ...
5544 (PSEUDO): ... here.
5545 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5546 from __local_syscall_error to .Lsyscall_error.
5547 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5548 (SYSCALL_ERROR): Update label name.
5549
6e6c2d01
RH
5550 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5551 Do not use DOARGS/UNDOARGS.
5552 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5553 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5554 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5555 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5556 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5557
c69abcee
RH
5558 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5559 block comment.
5560
82aab97c
RH
5561 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5562 define if !NOT_IN_libc.
5563 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5564 define with non-default symbol versions.
5565
8820e3ac
RH
55662014-05-23 Richard Henderson <rth@twiddle.net>
5567
900e445f
RH
5568 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5569 (vfork, __vfork): Define via compat_symbol.
5570
8820e3ac
RH
5571 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5572 [!HAVE_IFUNC] (vfork_compat): Remove.
5573 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5574
e59252a5
JM
55752014-05-23 Joseph Myers <joseph@codesourcery.com>
5576
5577 [BZ #16978]
5578 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5579 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5580 variable.
5581
132c7f5f
RH
55822014-05-23 Richard Henderson <rth@twiddle.net>
5583
bc89e962
RH
5584 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5585 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5586 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5587 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5588
5589 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5590 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5591 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5592 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5593 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5594 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5595 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5596 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5597 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5598 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5599 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5600 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5601 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5602 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5603 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5604 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5605 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5606 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5607 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5608 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5609 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5610 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5611 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5612 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5613 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5614 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5615 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5616 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5617 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5618 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5619 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5620 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5621 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5622 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5623 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5624 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5625 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5626 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5627 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5628 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5629 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5630 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5631 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5632 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5633 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5634 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5635 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5636 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5637 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5638 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5639 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5640 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5641 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5642 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5643 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5644 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5645
e2fa4bc2
RH
5646 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5647 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5648 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5649 before exiting on error.
5650 (__libc_vfork): New strong alias.
5651 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5652 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5653
279b24e2
RH
5654 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5655 that was previously under [RESET_PID].
5656 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5657
132c7f5f
RH
5658 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5659
b72592e7
JM
56602014-05-23 Joseph Myers <joseph@codesourcery.com>
5661
5662 [BZ #16977]
5663 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5664 value when x - 1 is zero.
5665 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5666 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5667 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5668 0.0L for an argument of 1.0L.
5669 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5670 Likewise.
5671 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5672 value when x - 1 is zero.
5673 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5674 * sysdeps/i386/fpu/libm-test-ulps: Update.
5675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5676
2302d679
RV
56772014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5678
5679 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5680 alphasort and versionsort.
5681
32999d63
AZ
56822014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5683
5684 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5685 macro.
5686 [copysignf]: Likewise.
5687
019324d0
SP
56882014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5689
5690 * crypt/md5-crypt.c: Fix formatting.
5691
34fff5c2
KS
56922014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5693
5694 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5695 (b64_from_24bit): New function.
5696
3d2badac
AZ
56972014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5698
5699 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5700 libc_hidden_builtin_def to ifunc.
5701 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5702 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5703
f7bb179f 57042014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
5705
5706 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5707 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5708
4134b50d
JM
57092014-05-21 Joseph Myers <joseph@codesourcery.com>
5710
bb7d0337
JM
5711 * nscd/Depend (linuxthreads): Remove.
5712 (nptl): Add.
5713 * resolv/Depend (linuxthreads): Remove.
5714 * rt/Depend (linuxthreads): Remove.
5715
4134b50d
JM
5716 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5717 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5718 $(common-objpfx)elf/.
5719 (link-libc-before-gnulib): Likewise.
5720 (elfobjdir): Remove variable.
5721 * Makefile (install): Use $(elf-objpfx) instead of
5722 $(common-objpfx)elf/.
5723 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5724 $(elfobjdir)/.
5725 (link-libc-deps): Likewise.
5726 ($(common-objpfx)libc.so): Likewise.
5727 ($(common-objpfx)linkobj/libc.so): Likewise.
5728 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5729 instead of $(common-objpfx)elf/.
5730 (symbolic-link-list): Likewise.
5731 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5732 [$(cross-compiling) = no]: Likewise.
5733 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5734 $(elfobjdir)/.
5735 (static-gnulib-arch): Likewise.
5736 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5737 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5738 $(common-objpfx)elf/.
5739
3612eb8f
RH
57402014-05-21 Richard Henderson <rth@redhat.com>
5741
a6b3657b
RH
5742 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5743 (SINGLE_THREAD_P): Use the correct width load. Fold
5744 into the ldr offset.
5745
3612eb8f
RH
5746 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5747 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5748
175cef41
JM
57492014-05-20 Joseph Myers <joseph@codesourcery.com>
5750
5751 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5752 (libgcc_s_resume): Use __attribute_used__.
5753 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5754 Likewise.
5755
e13bccd3
AZ
57562014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5757
5758 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5759 optimization when used with float constants.
5760
7c112a38
AZ
5761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5762
ae75a883
AJ
57632014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5764
5765 [BZ #16915]
5766 * locale/nl_langinfo_l.c: Make direct reference to every
5767 _nl_current_CATEGORY symbol.
5768 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5769 (tests-static): Add tst-langinfo-static.
5770 (tests-special): Add tst-langinfo-static.out.
5771 ($(objpfx)tst-langinfo.out): Redirect output.
5772 ($(objpfx)tst-langinfo-static.out): New.
5773 * localedata/tst-langinfo.sh: Send output to stdout.
5774 * localedata/tst-langinfo-static.c: New file.
5775
4406c41c
AJ
5776 [BZ #16965]
5777 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5778 when the shift amount is modulo the limb size.
5779
4c0a1e63
RH
57802014-05-20 Richard Henderson <rth@redhat.com>
5781
de9d8f20
RH
5782 [BZ #16967]
5783 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5784 Change type of sa_flags from unsigned int to int.
5785
4c0a1e63
RH
5786 [BZ #16966]
5787 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
5788
5789 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5790
a60339aa
WN
57912014-05-20 Will Newton <will.newton@linaro.org>
5792
5793 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5794 Test the return value of the system call in the nocancel case.
5795
7d05a816
YR
57962014-05-20 Will Newton <will.newton@linaro.org>
5797 Yvan Roux <yvan.roux@linaro.org>
5798
5799 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5800 #include of asm/ptrace.h.
5801 (PTRACE_GET_THREAD_AREA): Remove #undef.
5802 (PTRACE_GETHBPREGS): Likewise.
5803 (PTRACE_SETHBPREGS): Likewise.
5804 (struct user_regs_struct): New structure.
5805 (struct user_fpsimd_struct): New structure.
5806 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5807 #include of asm/ptrace.h and second #include of sys/user.h.
5808 (PTRACE_GET_THREAD_AREA): Remove #undef.
5809 (PTRACE_GETHBPREGS): Likewise.
5810 (PTRACE_SETHBPREGS): Likewise.
5811 (ELF_NGREG): Use new struct user_regs_struct.
5812 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5813
af121e37
AZ
58142014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5815
5816 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5817 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5818
834caf06
JM
58192014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5820
5821 [BZ #16958]
5822 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5823 membar to avoid block loads/stores to overlap previous stores.
5824
e184a918
RH
58252014-05-17 Richard Henderson <rth@redhat.com>
5826
5827 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5828 Create the __##syscall_name##_nocancel entry point.
5829 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5830 Remove; let the sysdep-cancel.h code create it.
5831
f56c7a6a
DM
58322014-05-17 David S. Miller <davem@davemloft.net>
5833
5834 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5835 Protect with __USE_GNU.
5836 (TIOCSET_TEMPT): Likewise.
5837 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5838 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5839 these are already provided in bits/ioctl-types.h
5840
f75616b2
RM
58412014-05-16 Roland McGrath <roland@hack.frob.com>
5842
3edeca86
RM
5843 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5844 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5845
f75616b2
RM
5846 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5847 Use wait4 regardless of [__NR_waitpid].
5848
deb0f7f6
MR
58492014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5850
5851 PR libgcc/60166
5852 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5853 (_FP_NANSIGN_Q): Set the quiet bit.
5854
79520f4b
JM
58552014-05-16 Joseph Myers <joseph@codesourcery.com>
5856
5857 * benchtests/Makefile
5858 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5859 not $(common-objpfx)math/libm.so.
5860 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5861 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5862 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5863 $(common-objpfx)dlfcn/libdl.so.
5864 ($(objpfx)tst-audit8): Depend on $(libm), not
5865 $(common-objpfx)math/libm.so.
5866 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5867 not $(common-objpfx)dlfcn/libdl.so.
5868 * math/Makefile
5869 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5870 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5871 [$(build-shared) = yes].
5872 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5873 $(common-objpfx)nptl/libpthread.so.
5874 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5875 $(common-objpfx)math/libm.so$(libm.so-version) or
5876 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5877 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5878 $(common-objpfx)dlfcn/libdl.so.
5879 * setjmp/Makefile (link-libm): Remove variable.
5880 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5881 * stdio-common/Makefile (link-libm): Remove variable.
5882 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5883 * stdlib/Makefile (link-libm): Remove variable.
5884 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5885 ($(objpfx)tst-strtod-round): Likewise.
5886 ($(objpfx)tst-tininess): Likewise.
5887 ($(objpfx)tst-strtod-underflow): Likewise.
5888 ($(objpfx)tst-strtod6): Likewise.
5889 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5890 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5891 $(common-objpfx)dlfcn/libdl.so.
5892
026b0fe4
AZ
58932014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5894
5895 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5896 BSD terminal modes definitions.
5897
def4bcb2
RM
58982014-05-16 Roland McGrath <roland@hack.frob.com>
5899
fe39b021
RM
5900 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5901 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5902
1d1fc46e 5903 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
5904 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5905 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5906 Don't do #include_next.
5907 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5908 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5909 Don't do #include_next.
5910 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5911 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5912 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5913 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5914
c72399fb
AM
59152014-05-16 Allan McRae <allan@archlinux.org>
5916
d51d659d
AM
5917 * po/sv.po: Update Swedish translation from translation project.
5918
c72399fb
AM
5919 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5920 in sed expression.
5921
d0583c40
AJ
59222014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5923
5924 [BZ #16917]
5925 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5926 errno if the TIOCGPTN ioctl fails with an error different than
5927 EINVAL.
5928 * login/tst-ptsname.c: New file.
5929 * login/Makefile (tests): Add tst-ptsname.
5930
d16e6ec7
AJ
5931 [BZ #16943]
5932 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5933 and prlimit64.
5934
cf26a0cb
SP
59352014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5936
5937 [BZ #16849]
5938 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5939 herrno to return EAI_AGAIN.
5940
5675da1e
RM
59412014-05-14 Roland McGrath <roland@hack.frob.com>
5942
a5d87b3d
RM
5943 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5944 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5945 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5946 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5947 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5948 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5949 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5950 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5951 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5952 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5953 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5954 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5955 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5956 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5957 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5958 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5959 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5960 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5961 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5962 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5963 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5964 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5965 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5966 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5967 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5968 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5969 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5970 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5971 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5972 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5974 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5976 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5978 Moved ...
5979 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5981 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5983 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5985 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5987 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5989 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5991 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5993 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5995 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5997 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5999 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6001 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6003 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6005 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6007 Moved ...
6008 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6010 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6012 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6014 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6016 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6018 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6020 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6022 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6024 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6026 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6028 Moved ...
6029 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6031 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6032
039890a6
RM
6033 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6034 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6035 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6036 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6037 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6038 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6039 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6040 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6041 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6042 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6043 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6044 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6045 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6046 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6047 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6048 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6049 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6050 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6051 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6052 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6053 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6054 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6055 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6056 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6057 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6058 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6059 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6060 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6061 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6062 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6063 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6064
65c89320
RM
6065 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6066 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6067
348f8e8c
RM
6068 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6069 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6070 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6071 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6072 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6073 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6074 Moved ...
6075 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6076 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6077 Moved ...
6078 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6079 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6080 Moved ...
6081 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6082 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6083 Moved ...
6084 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6085 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6086 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6087 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6088 Moved ...
6089 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6090 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6091 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6092 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6093 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6094 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6095 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6096 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6097 Moved ...
6098 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6099 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6100 Moved ...
6101 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6102 ... here.
6103 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6104 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6105 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6106 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6107 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6108 Moved ...
6109 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6110 ... here.
6111 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6112 Moved ...
6113 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6114 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6115 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6116 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6117 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6118 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6119 Moved ...
6120 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6121 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6122 Moved ...
6123 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6124 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6125 Moved ...
6126 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6127 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6128 Moved ...
6129 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6130 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6131 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6132 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6133 Moved ...
6134 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6135 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6136 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6137 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6138 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6139 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6140 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6141 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6142 Moved ...
6143 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6144 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6145 Moved ...
6146 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6147 ... here.
6148 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6149 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6150 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6151 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6152 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6153 Moved ...
6154 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6155 ... here.
6156 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6157 Moved ...
6158 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6159 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6160 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6161 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6162 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6163 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6164 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6165 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6166 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6167 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6168 Moved ...
6169 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6170 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6171 Moved ...
6172 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6173 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6174 Moved ...
6175 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6176 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6177 Moved ...
6178 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6179 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6180 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6181 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6182 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6183 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6184 Moved ...
6185 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6186 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6187 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6188 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6189 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6190 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6191 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6192 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6193 Moved ...
6194 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6195 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6196 Moved ...
6197 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6198 ... here.
6199 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6200 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6201 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6202 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6203 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6204 Moved ...
6205 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6206 ... here.
6207 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6208 Moved ...
6209 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6210 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6211 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6212 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6213 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6214 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6215 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6216 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6217 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6218 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6219 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6220
5085af05
RM
6221 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6222 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6223
708f0813
RM
6224 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6225 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6226
c96067bc
RM
6227 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6228 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6229 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6230 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6231 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6232 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6233 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6234 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6235 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6236 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6237 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6238 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6239 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6240 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6241 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6242 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6243 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6244 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6245 Moved ...
6246 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6247 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6248 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6249 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6250 Moved ...
6251 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6252 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6253 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6254 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6255 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6256 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6257 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6258 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6259 Moved ...
6260 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6261 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6262 Moved ...
6263 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6264 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6265 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6266 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6267 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6268 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6269 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6270 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6271 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6272 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6273 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6274 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6275 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6276 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6277 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6278 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6279 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6280
ec136444
RM
6281 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6282 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6283 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6284 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6285 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6286
2fbdf533
RM
6287 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6288 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6289 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6290 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6291 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6292 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6293 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6294 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6295 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6296 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6297
4c68138b
RM
6298 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6299 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6300
4eaae765
RM
6301 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6302 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
6303 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6304 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6305 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6306 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6307 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6308 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6309 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6310 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6311 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6312 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6313 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6314 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6315 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6316 Update #include.
6317 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6318 Likewise.
6319 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6320 Likewise.
6321 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6322 Likewise.
6323 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6324 Likewise.
6325 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6326 Likewise.
6327 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6328 Likewise.
6329 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6330 Likewise.
6331 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6332 Likewise.
6333 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6334 Likewise.
4ef6befa
RM
6335 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6336 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6337 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6338 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6339 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
6340 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6341 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6342 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6343 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6344 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6345 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6346 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6347 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6348 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6349 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 6350
941d7dfd
RM
6351 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6352 that was previously under [RESET_PID].
6353 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6354 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6355 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6356
1b731c35
RM
6357 * sysdeps/i386/nptl/Implies: New file.
6358 * sysdeps/x86_64/nptl/Implies: New file.
6359 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6360 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6361 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6362 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6363
e2787137
RM
6364 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6365 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6366 (__libc_vfork): New strong alias.
6367 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6368 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6369
6370 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6371 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6372 (__libc_vfork): New strong alias.
6373 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6374 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6375
5675da1e
RM
6376 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6377 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6378 (__libc_vfork): New strong alias.
6379 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6380 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6381 * nptl/pt-vfork.c: New file.
6382 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6383 (libpthread: GLIBC_2.20): New version set (empty).
6384
4f02e2b8
WN
63852014-05-14 Will Newton <will.newton@linaro.org>
6386
6387 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6388 rather than #if.
6389
0bf061d3
JM
63902014-05-14 Joseph Myers <joseph@codesourcery.com>
6391
1a84c3d6
JM
6392 [BZ #16564]
6393 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6394 arguments with exponent 65 or above.
6395 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6396 arguments 0x1p113L or above.
6397 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6398 to arguments 0x1p107L or above.
6399 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6400 positive arguments with exponent 65 or above.
6401 * math/auto-libm-test-in: Add more tests of log1p.
6402 * math/auto-libm-test-out: Regenerated.
6403
01dbacd2
JM
6404 [BZ #16928]
6405 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6406 non-finite arguments is +0.
6407 * math/s_cacosf.c (__cacosf): Likewise.
6408 * math/s_cacosl.c (__cacosl): Likewise.
6409 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6410 * sysdeps/i386/fpu/libm-test-ulps: Update.
6411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6412
913d03c8
JM
6413 [BZ #16927]
6414 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6415 value.
6416 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6417 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6418 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6419 for explicit high bit of mantissa when testing for argument equal
6420 to 1.
6421 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6422 * sysdeps/i386/fpu/libm-test-ulps: Update.
6423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6424
0bf061d3
JM
6425 [BZ #16516]
6426 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6427 (__erf): Scale by 16 instead of 8 in potentially underflowing
6428 case. Ensure exception if result actually underflows.
6429 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6430 (__erff): Scale by 16 instead of 8 in potentially underflowing
6431 case. Ensure exception if result actually underflows.
6432 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6433 (efx8): Remove variable.
6434 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6435 case. Ensure exception if result actually underflows.
6436 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6437 (efx8): Remove variable.
6438 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6439 case. Ensure exception if result actually underflows.
6440 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6441 (efx8): Remove variable.
6442 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6443 case. Ensure exception if result actually underflows.
6444 * math/auto-libm-test-in: Add more tests of erf.
6445 * math/auto-libm-test-out: Regenerated.
6446
73ba67cb
AS
64472014-05-14 Andreas Schwab <schwab@suse.de>
6448
3d8c8bff
AS
6449 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6450 Remove code conditionalized on USE___THREAD.
6451
73ba67cb
AS
6452 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6453 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6454 not definedness.
6455
5c521ecd
JM
64562014-05-14 Joseph Myers <joseph@codesourcery.com>
6457
5e7698c6
JM
6458 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6459 Define unconditionally.
6460 (__ASSUME_O_CLOEXEC): Likewise.
6461 (__ASSUME_SOCK_CLOEXEC): Likewise.
6462 (__ASSUME_IN_NONBLOCK): Likewise.
6463 (__ASSUME_PIPE2): Likewise.
6464 (__ASSUME_EVENTFD2): Likewise.
6465 (__ASSUME_SIGNALFD4): Likewise.
6466 (__ASSUME_DUP3): Likewise.
6467 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6468 (__ASSUME_DUP3): Do not define.
6469 (__ASSUME_EVENTFD2): Likewise.
6470 (__ASSUME_IN_NONBLOCK): Likewise.
6471 (__ASSUME_O_CLOEXEC): Likewise.
6472 (__ASSUME_PIPE2): Likewise.
6473 (__ASSUME_SIGNALFD4): Likewise.
6474 (__ASSUME_SOCK_CLOEXEC): Likewise.
6475 (__ASSUME_UTIMES): Undefine.
6476 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6477 (__ASSUME_UTIMES): Do not define.
6478 (__ASSUME_O_CLOEXEC): Likewise.
6479 (__ASSUME_SOCK_CLOEXEC): Likewise.
6480 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6481 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6482 0x020621].
6483 (__ASSUME_PIPE2): Likewise.
6484 (__ASSUME_EVENTFD2): Likewise.
6485 (__ASSUME_SIGNALFD4): Likewise.
6486 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6487 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6488 Do not define.
6489 (__ASSUME_EVENTFD2): Likewise.
6490 (__ASSUME_SIGNALFD4): Likewise.
6491 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6492 (__ASSUME_32BITUIDS): Likewise.
6493 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6494 (__ASSUME_IPC64): Likewise.
6495 (__ASSUME_ST_INO_64_BIT): Likewise.
6496 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6497 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6498 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6499 (__ASSUME_UTIMES): Do not define.
6500 (__ASSUME_PSELECT): Likewise.
6501 (__ASSUME_PPOLL): Likewise.
6502 (__ASSUME_O_CLOEXEC): Likewise.
6503 (__ASSUME_SOCK_CLOEXEC): Likewise.
6504 (__ASSUME_IN_NONBLOCK): Likewise.
6505 (__ASSUME_PIPE2): Likewise.
6506 (__ASSUME_EVENTFD2): Likewise.
6507 (__ASSUME_SIGNALFD4): Likewise.
6508 (__ASSUME_DUP3): Likewise.
6509 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6510 (__ASSUME_UTIMES): Likewise.
6511 (__ASSUME_O_CLOEXEC): Likewise.
6512 (__ASSUME_SOCK_CLOEXEC): Likewise.
6513 (__ASSUME_IN_NONBLOCK): Likewise.
6514 (__ASSUME_PIPE2): Likewise.
6515 (__ASSUME_EVENTFD2): Likewise.
6516 (__ASSUME_SIGNALFD4): Likewise.
6517 (__ASSUME_DUP3): Likewise.
6518 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6519 (__ASSUME_UTIMES): Likewise.
6520 (__ASSUME_O_CLOEXEC): Likewise.
6521 (__ASSUME_SOCK_CLOEXEC): Likewise.
6522 (__ASSUME_IN_NONBLOCK): Likewise.
6523 (__ASSUME_PIPE2): Likewise.
6524 (__ASSUME_EVENTFD2): Likewise.
6525 (__ASSUME_SIGNALFD4): Likewise.
6526 (__ASSUME_DUP3): Likewise.
6527 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6528 Likewise.
6529 (__ASSUME_UTIMES): Likewise.
6530 (__ASSUME_EVENTFD2): Likewise.
6531 (__ASSUME_SIGNALFD4): Likewise.
6532 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6533 (__ASSUME_O_CLOEXEC): Likewise.
6534 (__ASSUME_SOCK_CLOEXEC): Likewise.
6535 (__ASSUME_IN_NONBLOCK): Likewise.
6536 (__ASSUME_PIPE2): Likewise.
6537 (__ASSUME_EVENTFD2): Likewise.
6538 (__ASSUME_SIGNALFD4): Likewise.
6539 (__ASSUME_DUP3): Likewise.
6540 (__ASSUME_UTIMES): Undefine.
6541
5c521ecd
JM
6542 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6543 feclearexcept. Remove symbol versioning code.
6544 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6545 symbol versioning code.
6546 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6547 symbol versioning code.
6548 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6549 feupdateenv. Remove symbol versioning code.
6550 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6551 fegetexceptflag. Remove symbol versioning code.
6552 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6553 fesetexceptflag. Remove symbol versioning code.
6554 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6555 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6556 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6557 (__posix_fadvise64_l32): Remove prototype.
6558 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6559 code.
6560
5da9dfad
RM
65612014-05-13 Roland McGrath <roland@hack.frob.com>
6562
6563 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6564 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6565 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6566 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6567
893b4f37
SK
65682014-05-13 Sami Kerola <kerolasa@iki.fi>
6569
6570 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6571 current working directory
6572
e0db6517
RM
65732014-05-13 Roland McGrath <roland@hack.frob.com>
6574
58aa195d
RM
6575 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6576 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6577 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6578 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6579 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6580 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6581 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6582 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6583 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6584 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6585 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6586 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6587 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6588 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6589 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6590 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6591 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6592 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6593 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6594 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6595 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6596 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6597 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6598 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6599 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6600 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6601 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6602 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6603 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6604 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6605 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6606 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6607 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6608 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6609 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6610 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6611 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6612 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6613 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6614 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6615 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6616 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6617
8c6d01f0
RM
6618 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6619 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6620
6621 * sysdeps/unix/sysv/linux/arm/Makefile
6622 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6623 Add rt-aeabi_unwind_cpp_pr1.
6624 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6625 Add nptl-aeabi_unwind_cpp_pr1.
6626 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6627 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6628 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6629 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6630 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6631 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6632
6633 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6634 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6635 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6636 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6637
bba6da4e
RM
6638 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6639 Deconditionalize the code that was previously under [RESET_PID].
6640 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6641
e0db6517
RM
6642 * sysdeps/generic/exit-thread.h: New file.
6643 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6644 * include/unistd.h (__exit_thread): Remove declaration.
6645 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6646 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6647 * csu/libc-start.c: Include <exit-thread.h>.
6648 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6649 * nptl/pthread_create.c: Include <exit-thread.h>.
6650 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6651 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6652 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6653 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6654 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6655 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6656 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6657 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6658 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6659 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6660 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6661 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6662 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6663 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6664 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6665 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6666 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6667
01eb16fd
AS
66682014-05-13 Andreas Schwab <schwab@suse.de>
6669
6670 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6671
637461d9
JM
66722014-05-12 Joseph Myers <joseph@codesourcery.com>
6673
6674 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6675 (__ASSUME_UTIMES): Do not condition on kernel version.
6676 (__ASSUME_PSELECT): Define unconditionally.
6677 (__ASSUME_PPOLL): Likewise.
6678 (__ASSUME_ATFCTS): Likewise.
6679 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6680 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6681 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6682 (__ASSUME_UTIMENSAT): Define unconditionally.
6683 (__ASSUME_PRIVATE_FUTEX): Likewise.
6684 (__ASSUME_FALLOCATE): Likewise.
6685 (__ASSUME_O_CLOEXEC): Likewise.
6686 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6687 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6688 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6689 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6690 (__ASSUME_IN_NONBLOCK): Likewise.
6691 (__ASSUME_PIPE2): Likewise.
6692 (__ASSUME_EVENTFD2): Likewise.
6693 (__ASSUME_SIGNALFD4): Likewise.
6694 (__ASSUME_DUP3): Likewise.
6695 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6696 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6697 (__ASSUME_AT_RANDOM): Likewise.
6698 (__ASSUME_PREADV): Likewise.
6699 (__ASSUME_PWRITEV): Likewise.
6700 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6701 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6702 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6703 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6704 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6705 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6706 (__ASSUME_O_CLOEXEC): Define unconditionally.
6707 (__ASSUME_PSELECT): Do not undefine conditionally.
6708 (__ASSUME_PPOLL): Likewise.
6709 (__ASSUME_ATFCTS): Likewise.
6710 (__ASSUME_SET_ROBUST_LIST): Likewise.
6711 (__ASSUME_UTIMENSAT): Likewise.
6712 (__ASSUME_FDATASYNC): Define unconditionally.
6713 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6714 (__ASSUME_SIGFRAME_V2): Likewise.
6715 )__ASSUME_EVENTFD2): Likewise.
6716 (__ASSUME_SIGNALFD4): Likewise.
6717 (__ASSUME_PSELECT): Do not undefine conditionally.
6718 (__ASSUME_PPOLL): Likewise.
6719 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6720 (__ASSUME_PSELECT): Define unconditionally.
6721 (__ASSUME_PPOLL): Likewise.
6722 (__ASSUME_O_CLOEXEC): Likewise.
6723 (__ASSUME_SOCK_CLOEXEC): Likewise.
6724 (__ASSUME_IN_NONBLOCK): Likewise.
6725 (__ASSUME_PIPE2): Likewise.
6726 (__ASSUME_EVENTFD2): Likewise.
6727 (__ASSUME_SIGNALFD4): Likewise.
6728 (__ASSUME_DUP3): Likewise.
6729 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6730 (__ASSUME_O_CLOEXEC): Likewise.
6731 (__ASSUME_SOCK_CLOEXEC): Likewise.
6732 (__ASSUME_IN_NONBLOCK): Likewise.
6733 (__ASSUME_PIPE2): Likewise.
6734 (__ASSUME_EVENTFD2): Likewise.
6735 (__ASSUME_SIGNALFD4): Likewise.
6736 (__ASSUME_DUP3): Likewise.
6737 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6738 (__ASSUME_EVENTFD2): Likewise.
6739 (__ASSUME_SIGNALFD4): Likewise.
6740 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6741
315eb1d8
AS
67422014-05-12 Andreas Schwab <schwab@suse.de>
6743
6744 [BZ #16932]
6745 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6746 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6747 than maximum RPC packet size.
6748 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6749 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6750 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6751 (_nss_nis_getservbyport_r): Likewise.
6752
91df99f7
WN
67532014-05-12 Will Newton <will.newton@linaro.org>
6754
6755 * malloc/Makefile (tests): Add tst-mallopt.
6756 * malloc/tst-mallopt.c: New file.
6757
0a982a29
RM
67582014-05-09 Roland McGrath <roland@hack.frob.com>
6759
6760 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6761 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6762
0ded08a5
AZ
67632014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6764
6765 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6766 (tst-tlsmod6.so): Likewise.
6767
55d4d550
RM
67682014-05-09 Roland McGrath <roland@hack.frob.com>
6769
6770 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6771
77d08aca
JM
67722014-05-09 Joseph Myers <joseph@codesourcery.com>
6773
6774 [BZ #16064]
6775 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6776 and <dl-procinfo.h>.
6777 (__fegetenv): Save SSE state in envp->__eip if supported.
6778 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6779 envp->__eip if supported.
6780 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6781 and <dl-procinfo.h>.
6782 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6783 __data_offset and __data_selector in environment to 0. Set SSE
6784 state if supported.
6785 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6786 test-fenv-sse.
6787 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6788 -mfpmath=sse.
6789 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6790
28162f4d
WN
67912014-05-09 Will Newton <will.newton@linaro.org>
6792
6793 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6794 and libc_relro_required for ARM.
6795 * sysdeps/arm/preconfigure: Regenerate.
6796
5a414ff7
DV
67972014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6798 Stefan Liebler <stli@linux.vnet.ibm.com>
6799
6800 * config.make.in (enable-lock-elision): New Makefile variable.
6801 * configure.ac: Likewise.
6802 * configure: Regenerate.
6803 * sysdeps/s390/configure.ac:
6804 Add check for gcc transactions support.
6805 * sysdeps/s390/configure: Regenerate.
6806 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6807 Build elision files if enabled.
6808 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6809 Add lock elision support for s390.
6810 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6811 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6812 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6813 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6814 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6815 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6816 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6817 Likewise.
6818 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6819 Likewise.
6820 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6821 Likewise.
6822 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6823 Likewise.
6824 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6825 (__lll_timedlock_elision, __lll_lock_elision)
6826 (__lll_unlock_elision, __lll_trylock_elision)
6827 (lll_timedlock_elision, lll_lock_elision)
6828 (lll_unlock_elision, lll_trylock_elision): Add.
6829 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6830 (pthread_mutex_t): Add lock elision support for s390.
6831
1a2f40e5
W
68322014-05-14 Wilco <wdijkstr@arm.com>
6833
6834 * sysdeps/arm/fclrexcpt.c: Cleanup.
6835 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6836 * sysdeps/arm/feenablxcpt.c: Cleanup.
6837 * sysdeps/arm/fegetenv.c: Cleanup.
6838 * sysdeps/arm/fegetexcept.c: Cleanup.
6839 * sysdeps/arm/fegetround.c: Cleanup.
6840 * sysdeps/arm/feholdexcpt.c: Cleanup.
6841 * sysdeps/arm/fesetenv.c: Cleanup.
6842 * sysdeps/arm/fesetround.c: Cleanup.
6843 * sysdeps/arm/feupdateenv.c: Cleanup.
6844 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6845 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6846 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6847 * sysdeps/arm/ftestexcept.c: Cleanup.
6848 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6849 * sysdeps/arm/setfpucw.c: Cleanup.
6850
f63c86fe
WN
68512014-05-09 Will Newton <will.newton@linaro.org>
6852
6853 * sysdeps/arm/armv7/strcmp.S: New file.
6854 * NEWS: Mention addition of ARMv7 optimized strcmp.
6855
7a1a51b5
RM
68562014-05-08 Roland McGrath <roland@hack.frob.com>
6857
95afbbe5
RM
6858 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6859 look for %.ac rather than %.in.
6860
6861 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6862 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6863 * sysdeps/mach/hurd/configure: Regenerated.
6864 * sysdeps/unix/sysv/linux/configure: Regenerated.
6865
7a1a51b5
RM
6866 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6867
5057ad3b
SE
68682014-05-07 Steve Ellcey <sellcey@mips.com>
6869
6870 [BZ# 16922]
6871 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6872 (LONG_SUB): Ditto.
6873 (PTR_SUB): Ditto.
6874
8dc97517
AS
68752014-05-07 Andreas Schwab <schwab@suse.de>
6876
6877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6878 when skipping over non-matching result from nscd.
6879
ce0c5b8f
OB
68802014-05-07 Ondřej Bílka <neleai@seznam.cz>
6881
6882 [BZ #16876]
6883 * nptl/sockperf.c (client): Check socket return value.
8dc97517 6884
a1189263
OB
6885 [BZ #16877]
6886 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6887 nscd security class.
ce0c5b8f 6888
0f58d252
RM
68892014-05-06 Roland McGrath <roland@hack.frob.com>
6890
6891 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6892 * sysdeps/arm/unwind.h: ... here.
6893
83df9ad0
AJ
68942014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6895
ce0c5b8f
OB
6896 [BZ# 16916]
6897 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6898 Define.
83df9ad0 6899
f360f94a
VR
69002014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6901
6902 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6903 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6904 multiarch strncpy for PPC64.
6905 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6906 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6907 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6908 multiarch optimizations.
6909 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6910 (__libc_ifunc_impl_list): Likewise.
6911 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6912 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6913 multiarch stpncpy for PPC64.
6914 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6915 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6916
978a41c3
AS
69172014-05-06 Andreas Schwab <schwab@suse.de>
6918
6919 [BZ #16912]
6920 * gmon/mcount.c (_MCOUNT_DECL): Use
6921 atomic_compare_and_exchange_bool_acq instead of
6922 catomic_compare_and_exchange_bool_acq.
6923
eb1ed03d
RM
69242014-05-05 Roland McGrath <roland@hack.frob.com>
6925
fe658845
RM
6926 * elf/Makefile (others, install-bin): Remove pldd.
6927 (pldd-modules): Variable removed.
6928 ($(objpfx)pldd): Target removed.
6929 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6930 (others, install-bin): Append pldd here.
6931 ($(objpfx)pldd): New target.
6932
eb1ed03d
RM
6933 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6934 to 0, so the first #if test emitted later doesn't see it undefined.
6935 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6936 * sysdeps/gnu/errlist.c: Regenerated.
6937
19c4bec0
AZ
69382014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6939
6940 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6941 [libc_hidden_builtin_def]: Define to empty value.
6942 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6943 [libc_hidden_builtin_def]: Likewise.
6944 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6945 [libc_hidden_builtin_def]: Likewise.
6946 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6947 [libc_hidden_builtin_def]: Likewise.
6948 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6949 __redirect_memcpy and define ifunc as default hidden symbol.
6950 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6951 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6952
7776e669
AC
69532014-05-04 Adam Conrad <adconrad@0c3.net>
6954
6955 * locale/iso-4217.def: Reintroduce XDR currency.
6956
d69aeb12
AM
69572014-05-04 Allan McRae <allan@archlinux.org>
6958
6959 * po/eo.po: Update Esperanto translation from translation project.
6960
8f1df5cf
CD
69612014-05-02 Carlos O'Donell <carlos@redhat.com>
6962
6963 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6964 and FEATURE_INDEX_MAX to 1.
6965 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6966
13e402e7
SE
69672014-05-01 Steve Ellcey <sellcey@mips.com>
6968
6969 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6970 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6971 * iconvdata/big5.c (ONE_DIRECTION): Define.
6972 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6973 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6974 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6975 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6976 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6977 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6978 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6979 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6980 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6981 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6982 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6983 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6984 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6985 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6986 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6987 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6988 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6989 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6990 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6991 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6992 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6993 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6994 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6995 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6996 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6997 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6998 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6999 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7000 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7001 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7002 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7003 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7004 * iconvdata/johab.c (ONE_DIRECTION): Define.
7005 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7006 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7007 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7008 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7009 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7010 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7011 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7012 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7013 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7014 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7015
c727f032
RM
70162014-05-01 Roland McGrath <roland@hack.frob.com>
7017
8f2f08d0
RM
7018 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7019 (_IO_JUMPS_OFFSET): Define to 0.
7020
c727f032
RM
7021 * nptl/sysdeps/pthread/bits/libc-lock.h
7022 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7023 (__libc_lock_define_initialized_recursive): Always define using
7024 initializer. Modern compilers treat uninitialized (implicit zero) and
7025 explicit zero initializers the same (i.e. put the datum in bss).
7026
a849e800
AS
70272014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7028
7029 * nscd/nscd-client.h: Include <string.h>.
7030
5331255b
DM
70312014-05-01 David S. Miller <davem@davemloft.net>
7032
7033 [BZ #16885]
7034 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7035 multiple zero bytes exist at the end of a string.
7036 Reported by Aurelien Jarno <aurelien@aurel32.net>
7037
7038 * string/test-strcmp.c (check): Add explicit test for situations where
7039 there are multiple zero bytes after the first.
7040
4fdfe821
AS
70412014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7042
7043 [BZ #16890]
7044 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7045 when compiling wprintf.
7046 * stdio-common/tstdiomisc.c (t3): New function.
7047 (main): Call it.
7048
0cdddc25
SE
70492014-05-01 Steve Ellcey <sellcey@mips.com>
7050
7051 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7052 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7053 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7054 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7055
6426d77e
SE
70562014-05-01 Steve Ellcey <sellcey@mips.com>
7057
7058 * stdlib/longlong.h: Updated from GCC.
7059
6d96f5e4
WN
70602014-05-01 Will Newton <will.newton@linaro.org>
7061 Bernard Ogden <bernie.ogden@linaro.org>
7062
7470db0c
WN
7063 * NEWS: Update fixed bug list.
7064
6d96f5e4
WN
7065 [BZ #15119]
7066 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7067
211d653c
DM
70682014-04-30 David S. Miller <davem@davemloft.net>
7069
4fa262fa
DM
7070 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7071 (libc_feholdexcept_setround_sparc_ctx): New function.
7072 (libc_fesetenv_sparc_ctx): Likewise.
7073 (libc_feupdateenv_sparc_ctx): Likewise.
7074 (libc_feholdsetround_sparc_ctx): Likewise.
7075 (libc_feholdexcept_setround_ctx): Define.
7076 (libc_feholdexcept_setroundf_ctx): Likewise.
7077 (libc_feholdexcept_setroundl_ctx): Likewise.
7078 (libc_fesetenv_ctx): Likewise.
7079 (libc_fesetenvf_ctx): Likewise.
7080 (libc_fesetenvl_ctx): Likewise.
7081 (libc_feupdateenv_ctx): Likewise.
7082 (libc_feupdateenvf_ctx): Likewise.
7083 (libc_feupdateenvl_ctx): Likewise.
7084 (libc_feresetround_ctx): Likewise.
7085 (libc_feresetroundf_ctx): Likewise.
7086 (libc_feresetroundl_ctx): Likewise.
7087 (libc_feholdsetround_ctx): Likewise.
7088 (libc_feholdsetroundf_ctx): Likewise.
7089 (libc_feholdsetroundl_ctx): Likewise.
7090
1d3d93ef
DM
7091 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7092 with __USE_GNU instead of XOPEN cpp guards.
7093
8aa583c3
DM
7094 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7095 0.
7096
211d653c
DM
7097 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7098 with XOPEN cpp guards.
7099
60c8f1f6
JB
71002014-04-30 Julian Brown <julian@codesourcery.com>
7101
7102 [BZ #16888]
7103 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7104 handling.
7105
9a461d46
JM
71062014-04-30 Joseph Myers <joseph@codesourcery.com>
7107
d0f5b3f8
JM
7108 [BZ #9894]
7109 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7110 Change to 2.6.32.
7111 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7112 * sysdeps/unix/sysv/linux/configure: Regenerated.
7113 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7114 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7115 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7116 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7117 * README: Update reference to required Linux kernel version.
7118 * manual/install.texi (Linux): Update reference to required Linux
7119 kernel headers version.
7120 * INSTALL: Regenerated.
7121
9a461d46
JM
7122 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7123 header inclusion.
7124 [POSIX] (limits.h): Likewise.
7125 [POSIX] (math.h): Likewise.
7126 [POSIX] (sys/wait.h): Likewise.
7127 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7128 function.
7129 [POSIX] (stddef.h): Do not allow header inclusion.
7130
1775babf
AZ
71312014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7132
57f41c40 7133 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 7134
8f630cca
YY
71352014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7136
7137 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7138 Return immediately after lll_futex_wake.
7139
1cdeb237
SP
71402014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7141
bc8f194c
SP
7142 [BZ #16791]
7143 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7144 structure.
7145 (datahead_init_pos): Call datahead_init_common early.
7146 (datahead_init_neg): Likewise.
7147
1cdeb237
SP
7148 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7149 datahead_init_neg): New functions.
7150 * nscd/aicache.c (addhstaiX): Use them.
7151 * nscd/grpcache.c (cache_addgr): Likewise.
7152 * nscd/hstcache.c (cache_addhst): Likewise.
7153 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7154 * nscd/netgroupcache.c (do_notfound): Likewise.
7155 (addgetnetgrentX): Likewise.
7156 (addinnetgrX): Likewise.
7157 * nscd/pwdcache.c (cache_addpw): Likewise.
7158 * nscd/servicescache.c (cache_addserv): Likewise.
7159
16b293a7
SP
71602014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7161 Atsushi Onoe <atsushi@onoe.org>
7162
7163 [BZ #14308]
7164 [BZ #12994]
7165 [BZ #13651]
7166 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7167 one response is valid.
7168 * resolv/res_send.c (send_dg): Check for validity of other
7169 response if the current response is a referral.
7170
a28a9b94
SE
71712014-04-29 Steve Ellcey <sellcey@mips.com>
7172
7173 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7174
2ca180e9
SL
71752014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7176
7177 [BZ #16823]
7178 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7179 Always divide by positive zero when computing -Inf result.
7180 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7181 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7182
18f2945a
AZ
71832014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7184
7185 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7186 FPSCR if value do not change.
7187 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7188 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7189 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7190 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7191 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7192 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7193 function.
7194
5abebba4
CD
71952014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7196
7197 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7198 * sysdeps/unix/sysv/linux/hppa: Move directory from
7199 ports/systeps/unix/sysv/linux/hppa.
7200 * README: Update listing for hppa-*-linux-gnu.
7201
f7ed60c2
OB
72022014-04-28 Ondřej Bílka <neleai@seznam.cz>
7203
fff763a5
OB
7204 [BZ #16754]
7205 * manual/stdio.texi (Hook functions): Fix types of stream hook
7206 functions.
f7ed60c2
OB
7207 [BZ #16854]
7208 * socket/sys/socket.h: Fix typo in comment.
7209
df639d73
WD
72102014-04-28 Wilco <wdijkstr@arm.com>
7211
f7ed60c2 7212 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
7213 * sysdeps/arm/math_private.h: New file.
7214 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7215
48332d82
L
72162014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7217
7218 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7219 with __int128_t.
7220 (La_x86_64_retval): Likewise.
7221
e5e0d9a4
IB
72222014-04-24 Ian Bolton <ian.bolton@arm.com>
7223
7224 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7225 fpsr if value didn't change.
7226 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7227 to fpcr if value didn't change.
7228 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7229 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7230 fpsr or fpcr if value didn't change.
7231 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7232 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7233 fpcr if value didn't change.
7234 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7235 to fpsr if value didn't change.
7236
bacc75f7
SP
72372014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7238
7239 * nptl/tst-sem3.c: Use test-skeleton.c
7240 (main): Rename to do_test. Use return instead of
7241 exit.
7242 * nptl/tst-sem4.c: Use test-skeleton.c
7243 (main): Rename to do_test.
7244
a059d359
DM
72452014-04-22 David S. Miller <davem@davemloft.net>
7246
7247 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7248 (struct sigaction): New struct member __glibc_reserved0, change
7249 type of sa_flags to int.
7250
ea6c92f3
YZ
72512014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7252
7253 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7254 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7255
766c4a36
SP
72562014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7257
7258 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7259 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7260
140cc7ab
VK
72612014-04-22 Will Newton <will.newton@linaro.org>
7262 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7263
7264 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7265 (__longjmp): Add longjmp and longjmp_target SystemTap
7266 probes.
7267 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7268 (__sigsetjmp): Add setjmp SystemTap probe.
7269
c54e5cf7
CD
72702014-04-17 Carlos O'Donell <carlos@redhat.com>
7271
7272 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7273 match manual order.
7274
75ffb047
AZ
72752014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7276
7277 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7278
2cd925f7
AZ
7279 * sysdeps/powerpc/fpu/fenv_private.h
7280 (libc_feholdexcept_setroundl_ctx): Define to
7281 libc_feholdexcept_setround_ppc_ctx.
7282 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7283 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7284 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7285 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7286
39e6cd8d
IB
72872014-04-17 Ian Bolton <ian.bolton@arm.com>
7288
7289 * sysdeps/aarch64/math-tests.h: New file.
7290
f9281df9
SY
72912014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7292
7293 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7294 New.
7295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7296 Check and set bit_AVX2_Usable.
7297 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7298 macro.
7299 (bit_AVX2): Likewise.
7300 (index_AVX2_Usable): Likewise.
7301 (CPUID_AVX2): Likewise.
7302 (HAS_AVX2): Likewise.
7303
37d35007
WN
73042014-04-17 Will Newton <will.newton@linaro.org>
7305
7c677662
WN
7306 * manual/setjmp.texi (System V contexts): Add note that
7307 calling setcontext on a context created by a call to a
7308 signal handler is undefined. Update text to note that
7309 setcontext from a signal handler is possible but not
7310 recommended.
7311
37d35007 7312 [BZ #16629]
e04a4e9d
WN
7313 * stdlib/tst-setcontext.c: Include signal.h.
7314 (main): Check that the signal stack before and
7315 after swapcontext is the same.
7316
37d35007
WN
7317 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7318 Re-implement to restore registers in user code and avoid
7319 rt_sigreturn system call.
7320
423a7160
W
73212014-04-17 Wilco <wdijkstr@arm.com>
7322
7323 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7324 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7325 * math/test-fenv.c: Skip exception trap tests on targets which only
7326 support non-stop mode.
7327
bc93ab29
IB
73282014-04-17 Ian Bolton <ian.bolton@arm.com>
7329 Wilco Dijkstra <wilco.dijkstra@arm.com>
7330
7331 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7332 (libc_feholdsetround_aarch64_ctx)
7333 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7334 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7335 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7336 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7337 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7338 (libc_feresetround_noexl_ctx): Define.
7339
95fc5fa3
RH
73402014-04-16 Richard Henderson <rth@redhat.com>
7341
ddb04724
RH
7342 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7343
d77c0899
RH
7344 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7345 unwind tables.
7346
a3df56fc
RH
7347 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7348 const from the non-libc, non-ldso copy.
7349
95fc5fa3
RH
7350 * sysdeps/alpha/libm-test-ulps: Regenerate.
7351
7e0b6763
IB
73522014-04-16 Ian Bolton <ian.bolton@arm.com>
7353 Wilco Dijkstra <wilco.dijkstra@arm.com>
7354
7355 * sysdeps/aarch64/fpu/math_private.h: New file.
7356
a9ea2e0c
MS
73572014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7358
7359 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7360
ea8ba7cd
IZ
73612014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7362
7e54fd04 7363 [BZ #16275]
ea8ba7cd
IZ
7364 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7365 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7366 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7367 Intel MPX bound registers before _dl_profile_fixup.
7368 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7369 registers after _dl_profile_fixup. Save and restore bound
7370 registers bnd0/bnd1 when calling _dl_call_pltexit.
7371 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7372 (LR_BND_OFFSET): Likewise.
7373 (LRV_BND0_OFFSET): Likewise.
7374 (LRV_BND1_OFFSET): Likewise.
7375
9f2a4fbc
ST
73762014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7377
7378 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7379 to...
7380 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
7381 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7382 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7383 fields.
9f2a4fbc 7384
fd15a59b
ST
73852014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7386
7387 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7388
f19dfa0a
SL
73892014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7390
7391 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7392
4fa8bc3b
SL
73932014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7394
7395 [BZ #14770]
7396 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7397 * sysdeps/s390/configure: Regenerate.
7398
8ea587db
SL
7399 [BZ #16824]
7400 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7401 Set round-to-nearest internally to reduce error accumulation.
7402
aa5f0ff1
AM
74032014-04-16 Alan Modra <amodra@gmail.com>
7404
7405 [BZ #16740]
7406 [BZ #16619]
7407 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7408 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 7409 * NEWS: Update fixed bug list.
aa5f0ff1 7410
bb9c256f
SP
74112014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7412
7413 * benchtests/Makefile: Depend on libraries in build directory.
7414 (bench-math): Separate out math tests.
7415 (bench-pthread): Separate out pthread tests.
7416 (bench): Include math and pthread tests.
7417
f737dfd0
CD
74182014-04-14 Carlos O'Donell <carlos@redhat.com>
7419
7420 [BZ #16831]
7421 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7422 _dl_debug_initialize.
7423
0699f766
CD
7424 * configure.ac: Remove SELinux header check.
7425 * configure: Regenerate.
7426 * nscd/selinux.c (perms): Array of const char* to permission names.
7427 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7428 default policy. Call string_to_security_class and string_to_av_perm to
7429 translate strings. Enforce default policy and call avs_has_perm with
7430 results of translated strings.
7431
809bd45f
DM
74322014-04-13 David S. Miller <davem@davemloft.net>
7433
7434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7435
89e691f2
AM
74362014-04-12 Allan McRae <allan@archlinux.org>
7437
7438 [BZ #16838]
7439 * manual/string.texi (Collation Functions): Fix qsort argument
7440 order in example.
7441 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7442
9c9daaeb
CM
74432014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7444
7445 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7446 Make the test a no-op if there are no exceptions defined.
7447
95561fb9
PP
74482014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7449
fe8d072c 7450 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
7451 enable-hardcoded-path-in-tests
7452
970c602a
WN
74532014-04-11 Will Newton <will.newton@linaro.org>
7454
7455 * benchtests/Makefile (extra-objs): Add json-lib.o.
7456 (bench-func): Tidy up JSON output.
7457 * benchtests/bench-skeleton.c: Include json-lib.h.
7458 (main): Use JSON library functions to do output of
7459 benchmark results.
7460 * benchtests/bench-timing-type.c (main): Output the
7461 timing type simply, leaving formatting to the user.
7462 * benchtests/json-lib.c: New file.
7463 * benchtests/json-lib.h: Likewise.
7464
36875b06
TR
74652014-04-11 Torvald Riegel <triegel@redhat.com>
7466
7467 [BZ #15215]
7468 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7469 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7470 memory barriers. Add comments.
7471 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7472 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7473 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7474 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7475 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7476 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7477
579db35a
SL
74782014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7479
7480 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7481 * sysdeps/s390/s390-64/configure.ac: ... this ...
7482 * sysdeps/s390/configure.ac: ... to here.
7483 * sysdeps/s390/s390-32/configure: Delete file.
7484 * sysdeps/s390/s390-64/configure: Delete file.
7485 * sysdeps/s390/configure: Regenerate.
7486
c12e9f37
JAPH
74872014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7488
7489 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7490
439bda32
WN
74912014-04-11 Will Newton <will.newton@linaro.org>
7492
7493 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7494 to zero if it is not defined elsewhere. (mtrim): Test
7495 the value of MALLOC_DEBUG with #if rather than #ifdef.
7496
6a5d6ea1
TR
74972014-04-10 Torvald Riegel <triegel@redhat.com>
7498
7499 * benchtests/pthread_once-inputs: New file.
7500 * benchtests/pthread_once-source.c: New file.
7501 * benchtests/README: Update documentation.
7502
a4c75cfd
IZ
75032014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7504 H.J. Lu <hongjiu.lu@intel.com>
7505
7e54fd04 7506 [BZ #16275]
a4c75cfd
IZ
7507 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7508 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7509 * sysdeps/x86_64/configure: Regenerated.
7510 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7511 macro.
7512 (REGISTER_SAVE_RAX): Likewise.
7513 (REGISTER_SAVE_RCX): Likewise.
7514 (REGISTER_SAVE_RDX): Likewise.
7515 (REGISTER_SAVE_RSI): Likewise.
7516 (REGISTER_SAVE_RDI): Likewise.
7517 (REGISTER_SAVE_R8): Likewise.
7518 (REGISTER_SAVE_R9): Likewise.
7519 (REGISTER_SAVE_BND0): Likewise.
7520 (REGISTER_SAVE_BND1): Likewise.
7521 (REGISTER_SAVE_BND2): Likewise.
7522 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7523 bound registers when calling _dl_fixup.
7524
27822ce6
AZ
75252014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7526
7527 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
7528 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7529 of its definition.
27822ce6
AZ
7530 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7531 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7532 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7533 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7534 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7535 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7536 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7537
a88ddc90
PTB
75382014-04-09 Peter Brett <peter@peter-b.co.uk>
7539
7540 [BZ #15514]
7541 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7542 pathconf(_PC_NAME_MAX).
7543
01f8eac2
AZ
75442014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7545
7546 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7547 Remove macro usage.
7548 (__PTHREAD_SPINS): Move definition to ...
7549 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7550 (__PTHREAD_SPINS): ... here.
7551 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7552 (__PTHREAD_SPIN): Likewise.
7553 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7554 (__PTHREAD_SPIN): Likewise.
7555 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7556 (__PTHREAD_SPIN): Likewise.
7557 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7558 (__PTHREAD_SPIN): Likewise.
7559 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7560 (__PTHREAD_SPIN): Likewise.
7561 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7562 (__PTHREAD_SPIN): Likewise.
7563 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7564 (__PTHREAD_SPIN): Likewise.
7565 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7566 (__PTHREAD_SPIN): Likewise.
7567 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7568 (__PTHREAD_SPIN): Likewise.
7569 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7570 (__PTHREAD_SPIN): Likewise.
7571 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7572 (__PTHREAD_SPIN): Likewise.
7573 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7574 (__PTHREAD_SPIN): Likewise.
7575
de21c33c
AZ
7576 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7577 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7578 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7579 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7580 imply folder.
7581 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7582 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7583 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7584 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7585 correct imply path.
7586 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7587 strlen symbol for non multi-arch builds.
7588 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7589 missing hidden_def and weak_alias.
7590
862c472e
CD
75912014-04-08 Carlos O'Donell <carlos@redhat.com>
7592
7593 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7594
8667f90e
WN
75952014-04-07 Will Newton <will.newton@linaro.org>
7596
7597 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7598 and contents. [!_LIBC] Remove #ifndef and contents.
7599 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7600 * string/memccpy.c (__memccpy): Use ANSI prototype.
7601 * string/memfrob.c (memfrob): Likewise.
7602 * string/strcoll.c (STRCOLL): Likewise.
7603 * string/strlen.c (strlen): Likewise.
7604 * string/strtok.c (STRTOK): Likewise.
7605 * string/strcat.c: Remove unused #include of memcopy.h.
7606 (strcat): Use ANSI prototype.
7607 * string/strchr.c: Remove unused #include of memcopy.h.
7608 (strchr): Use ANSI prototype.
7609 * string/strcmp.c: Remove unused #include of memcopy.h.
7610 (strcmp): Use ANSI prototype.
7611 * string/strcpy.c: Remove unused #include of memcopy.h.
7612 (strcpy): Use ANSI prototype.
7613
7ffa9423
AZ
76142014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7615
7616 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7617 * config.make.in (config-extra-cppflags): Set it from
7618 libc_extra_cppflags.
7619 * configure.ac (libc_extra_cflags): Make it accumulate over
7620 configure fragments.
7621 (libc_extra_cppflags): New flag.
7622 * configure. Regenerate.
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
7624 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7625 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
7626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7627
8bd70862
AZ
7628 [BZ #16815]
7629 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7630 result for FE_DOWNWARD rounding mode.
7631 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7632 Likewise.
7633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7634
d42f3448
CM
76352014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7636
7637 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7638 in function argument name.
7639
1c21d115
DS
76402014-04-03 David Svoboda <svoboda@cert.org>
7641
7642 [BZ #5666]
7643 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7644 explicitly.
7645
fcccd512
RM
76462014-04-03 Roland McGrath <roland@hack.frob.com>
7647
7648 * elf/dl-unmap-segments.h: New file.
7649 * sysdeps/generic/ldsodefs.h
7650 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7651 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7652 * elf/dl-fptr.c: Likewise.
7653 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7654 * sysdeps/aarch64/tlsdesc.c: Likewise.
7655 * sysdeps/arm/tlsdesc.c: Likewise.
7656 * sysdeps/i386/tlsdesc.c: Likewise.
7657 * sysdeps/tile/dl-runtime.c: Likewise.
7658 * sysdeps/x86_64/tlsdesc.c: Likewise.
7659 * elf/dl-load.h: New file.
7660 * elf/dl-load.c: Include it.
7661 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7662 Macros moved to dl-load.h.
7663 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7664 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7665 Use _dl_unmap_segments in place of __munmap.
7666 Break out segment-mapping loop into ...
7667 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7668
f6488e2b
WN
76692014-04-03 Will Newton <will.newton@linaro.org>
7670
7671 * elf/dl-lookup.c (do_lookup_x): Remove comment
7672 referring to nested function and move variable
7673 declarations down to before first use.
7674
6f05bafe
JM
76752014-04-02 Joseph Myers <joseph@codesourcery.com>
7676
a84e78c8
JM
7677 [BZ #16799]
7678 [BZ #16800]
7679 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7680 with 0 numerator.
7681 * math/s_catanf.c (__catanf): Likewise.
7682 * math/s_catanh.c (__catanh): Likewise.
7683 * math/s_catanhf.c (__catanhf): Likewise.
7684 * math/s_catanhl.c (__catanhl): Likewise.
7685 * math/s_catanl.c (__catanl): Likewise.
7686 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7687 by positive zero when computing -Inf result.
7688 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7689 (catanh_test): Likewise.
7690 * sysdeps/i386/fpu/libm-test-ulps: Update.
7691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7692
6f05bafe
JM
7693 [BZ #16789]
7694 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7695 instead of using underflowing value in computing result.
7696 * math/s_clog10.c (__clog10): Likewise.
7697 * math/s_clog10f.c (__clog10f): Likewise.
7698 * math/s_clog10l.c (__clog10l): Likewise.
7699 * math/s_clogf.c (__clogf): Likewise.
7700 * math/s_clogl.c (__clogl): Likewise.
7701 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7702 (clog10_test): Likewise.
7703 * sysdeps/i386/fpu/libm-test-ulps: Update.
7704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7705
b0abbc21
AM
77062014-04-02 Alan Modra <amodra@gmail.com>
7707
7708 [BZ #16739]
7709 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7710 output when value is near a power of two. Use int64_t for lx and
7711 remove casts. Use decimal rather than hex exponent constants.
7712 Don't use long double multiplication when double will suffice.
7713 * math/libm-test.inc (nextafter_test_data): Add tests.
7714 * NEWS: Add 16739 and 16786 to bug list.
7715
af6b1797
AM
7716 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7717
483818d7
AM
7718 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7719
f6c55796
WN
77202014-04-01 Will Newton <will.newton@linaro.org>
7721
7722 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7723 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7724
13f7fe35
FW
77252014-04-01 Florian Weimer <fweimer@redhat.com>
7726
7727 [BZ #13347]
7728 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7729 * nptl/tst-setuid2.c: New file.
7730 * nptl/Makefile (xtests): Add tst-setuid2.
7731
c859b32e
AM
77322014-04-01 Alan Modra <amodra@gmail.com>
7733
7734 [BZ #16786]
7735 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7736
54fa2475
JM
77372014-03-31 Joseph Myers <joseph@codesourcery.com>
7738
8795b4a4
JM
7739 [BZ #6803]
7740 [BZ #6804]
7741 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7742 set errno as appropriate.
7743 * math/w_scalbf.c (__scalbf): Likewise.
7744 * math/w_scalbl.c (__scalbl): Likewise.
7745 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7746 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7747 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7748 Add more NaN tests.
7749
54fa2475
JM
7750 [BZ #16349]
7751 * math/w_atan2.c: Include <errno.h>.
7752 (__atan2): Set errno for result underflowing to zero.
7753 * math/w_atan2f.c: Include <errno.h>.
7754 (__atan2f): Set errno for result underflowing to zero.
7755 * math/w_atan2l.c: Include <errno.h>.
7756 (__atan2l): Set errno for result underflowing to zero.
7757 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7758 tests.
7759 * math/auto-libm-test-out: Regenerated.
7760
757d9dd5
AZ
77612014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7762
7763 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7764 Encode instruction correctly in little endian.
7765 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7766 Likewise.
7767 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7768 Likewise.
7769 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7770 Likewise.
7771 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7772 Likewise.
7773
d7a68734
JM
77742014-03-31 Joseph Myers <joseph@codesourcery.com>
7775
47c5adeb
JM
7776 [BZ #9894]
7777 * sysdeps/unix/sysv/linux/kernel-features.h
7778 [__sparc__ && !__arch64__ && !__sparc_v9__]
7779 (__ASSUME_SET_ROBUST_LIST): Do not define.
7780 [__sparc__ && !__arch64__ && !__sparc_v9__]
7781 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7782 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7783 Likewise.
7784 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7785 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7786 (__ASSUME_REQUEUE_PI): Likewise.
7787 (__ASSUME_SET_ROBUST_LIST): Likewise.
7788 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7789 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7790 Undefine.
7791 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7792 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7793 Likewise.
7794 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7795 Likewise.
7796 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7797 Likewise.
7798 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7799 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7800 Undefine.
7801 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7802 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7803 Likewise.
7804
d7a68734
JM
7805 [BZ #16648]
7806 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7807 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7808 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7809
c760f5c2
WN
78102014-03-31 Will Newton <will.newton@linaro.org>
7811
7812 * benchtests/Makefile (bench): Add ffs and ffsll to list
7813 of tests.
7814 * benchtests/ffs-inputs: New file.
7815 * benchtests/ffsll-inputs: Likewise.
7816
ea6029b1
JM
78172014-03-29 Joseph Myers <joseph@codesourcery.com>
7818
7819 [BZ #16770]
7820 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7821 too large before casting to int.
7822 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7823 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7824 * math/libm-test.inc (scalb_test_data): Add more tests.
7825
cf806aff
SP
78262014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7827
56737508
SP
7828 * benchtests/Makefile (DETAILED_OPT): New make option.
7829 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7830 set.
7831 * benchtests/bench-skeleton.c: Include stdbool.h.
7832 (main): Store and print timings per input.
7833 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7834 member to each argument value.
7835 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7836 (_print_arg_data): Initialize per-input timing to 0.
7837
cb5e4aad
SP
7838 * benchtests/Makefile (timing-type): New binary.
7839 (bench-clean): Also remove bench-timing-type.
7840 (bench): New target for timing-type.
7841 (bench-func): Print output in JSON format.
7842 * benchtests/bench-skeleton.c (main): Print output in JSON
7843 format.
7844 * benchtests/bench-timing-type.c: New file.
7845 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7846 (TIMING_PRINT_STATS): Remove.
7847 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7848 name separately.
7849
cf806aff
SP
7850 * benchtests/bench-modf.c: Remove.
7851 * benchtests/modf-inputs: New inputs file.
7852
289e0779
JM
78532014-03-28 Joseph Myers <joseph@codesourcery.com>
7854
7855 [BZ #16362]
7856 * math/s_clog10.c (M_PI_LOG10E): New macro.
7857 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7858 imaginary parts are 0.
7859 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7860 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7861 imaginary parts are 0.
7862 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7863 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7864 imaginary parts are 0.
7865 * math/libm-test.inc (clog10_test_data): Update expected results
7866 for when real and imaginary parts are 0.
7867
277ae3f1
PP
78682014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7869
7870 * elf/dl-load.c: Finish conversion of __builtin_expect into
7871 __glibc_{un}likely.
7872
03a7091f
JM
78732014-03-27 Joseph Myers <joseph@codesourcery.com>
7874
7875 [BZ #16348]
7876 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7877 1+x for argument with exponent below -67.
7878 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7879 Likewise.
7880 * math/auto-libm-test-in: Add more tests of exp.
7881 * math/auto-libm-test-out: Regenerated.
7882
ea7d8b95
SP
78832014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7884
dd3022d7
SP
7885 [BZ #16759]
7886 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7887 (nscd_getnetgrent): Use it.
7888
ea7d8b95
SP
7889 [BZ #16760]
7890 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7891 of stpcpy.
7892
df5b85da
AK
78932014-03-27 Andi Kleen <ak@linux.intel.com>
7894
57f41c40
AS
7895 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7896 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7897 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7898 (lll_robust_unlock): Remove out of line section. Use cfi
7899 intrinsics.
df5b85da 7900 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
7901 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7902 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7903 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7904 (lll_robust_unlock): Remove out of line section. Use cfi
7905 intrinsics.
df5b85da
AK
7906 (LLL_STUB_UNWIND_INFO*): Remove.
7907
fbd6b5a4
SP
79082014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7909
7910 [BZ #16758]
7911 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7912 blank values.
7913
1b26b855
PP
79142014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7915
7916 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7917
9be36fb8
JM
79182014-03-26 Joseph Myers <joseph@codesourcery.com>
7919
7920 [BZ #16198]
7921 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7922 fnstenv.
7923 * math/test-fenv-preserve.c: New file.
7924 * math/Makefile (tests): Add test-fenv-preserve.
7925
60a2f3c1
WN
79262014-03-26 Will Newton <will.newton@linaro.org>
7927
7928 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7929
a5e5f1e2
RM
79302014-03-25 Roland McGrath <roland@hack.frob.com>
7931
7932 * scripts/versionlist.awk: Partition the version sets and emit all
7933 GLIBC_* (sorted) before all others (sorted).
7934
00f4012a
JM
79352014-03-25 Joseph Myers <joseph@codesourcery.com>
7936
7937 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7938 GLIBC_2.2.5 version.
7939
7bc5a741
AZ
79402014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7941
7942 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7943 calls.
7944
7578473b
AZ
7945 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7946 previous change.
7947
f3f1dab3
AZ
7948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7949
6da36183
AS
79502014-03-25 Andreas Schwab <schwab@suse.de>
7951
7952 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7953 label to be used after in6ailist is initialized.
7954
f3f1dab3 79552014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 7956
7578473b 7957 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
7958 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7959
046651c1
JM
79602014-03-25 Joseph Myers <joseph@codesourcery.com>
7961
7962 [BZ #16357]
7963 [BZ #16599]
7964 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7965 min_plus_half.
7966 (fp_formats): Update initializers.
7967 (init_fp_formats): Initialize new field.
7968 (output_for_one_input_case): Allow underflow for results up to
7969 min_plus_half.
7970 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7971 * math/auto-libm-test-in: Don't mark some underflows from asin and
7972 atanh as spurious.
7973 * math/auto-libm-test-out: Regenerated.
7974 * sysdeps/i386/fpu/libm-test-ulps: Update.
7975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7976
003e49ed
AS
79772014-03-25 Andreas Schwab <schwab@suse.de>
7978
7979 * libio/Makefile (tst-ftell-partial-wide-ENV)
7980 (tst-ftell-active-handler-ENV): Define.
7981
de031874
SL
79822014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7983
7984 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7985
55a81e3b
PP
79862014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7987
7988 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7989
f3426898
JM
79902014-03-24 Joseph Myers <joseph@codesourcery.com>
7991
7992 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7993 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7994 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7995
a42faf59
PP
79962014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7997
7998 [BZ #16634]
a42faf59 7999 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
8000 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8001 (open_path): Change from boolean 'secure' to complete flag 'mode'
8002 (_dl_map_object): Adjust.
a42faf59
PP
8003 * elf/Makefile (tests): Add tst-dlopen-aout.
8004 * elf/tst-dlopen-aout.c: New test.
8005
50936127
SL
80062014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8007
8008 [BZ #16714]
8009 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8010 (struct stat): Rename member pad0 to __glibc_reserved0.
8011
26011b5c
SL
8012 [BZ #16712]
8013 * sysdeps/s390/s390-32/bits/wordsize.h
8014 (__WORDSIZE32_SIZE_ULONG): New define.
8015 * sysdeps/s390/s390-64/bits/wordsize.h
8016 (__WORDSIZE32_SIZE_ULONG): Likewise.
8017 * sysdeps/generic/stdint.h (SIZE_MAX):
8018 Define as UL if __WORDSIZE32_SIZE_ULONG.
8019
a2d86bf1
SL
8020 [BZ #16713]
8021 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8022 (__glibc_reserved0): New variable.
8023 (sa_flags): Change type to int.
8024
78b6eebc
SL
8025 * posix/Makefile (before-compile): Use += before-compile instead
8026 of a :=.
8027
f1399b5a
SL
8028 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8029 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8030
a071766e
AS
80312014-03-20 Andreas Schwab <schwab@suse.de>
8032
8033 [BZ #16743]
8034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8035 non-matching result from nscd.
8036
27c673b8
SP
80372014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8038
8039 * scripts/bench.py: Moved to ...
8040 * benchtests/scripts/bench.py: ... here.
8041 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8042
44152e4b
AS
80432014-03-24 Andreas Schwab <schwab@suse.de>
8044
8045 [BZ #16002]
8046 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8047 alloca_account and account alloca use for struct in6ailist.
8048
b376a11a
JM
80492014-03-24 Joseph Myers <joseph@codesourcery.com>
8050
8051 [BZ #16284]
8052 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8053 rounding mode to recompute results that overflow to infinity or
8054 underflow to zero.
8055 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8056 bug 16284.
8057 * math/auto-libm-test-out: Regenerated.
8058 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8059 (ccosh_test): Likewise.
8060 (csin_test_data): Use plus_oflow.
8061 (csin_test): Use ALL_RM_TEST.
8062 (csinh_test_data): Use plus_oflow.
8063 (csinh_test): Use ALL_RM_TEST.
8064 * sysdeps/i386/fpu/libm-test-ulps: Update.
8065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8066
f7be7376
JM
80672014-03-21 Joseph Myers <joseph@codesourcery.com>
8068
1ca2d03e
JM
8069 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8070 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8071 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8072
f7be7376
JM
8073 [BZ #16731]
8074 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8075 when x - 1 is zero.
8076 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8077 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8078 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8079 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8080 argument is 1.
8081 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8082 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8083 zero.
8084 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8085 * sysdeps/i386/fpu/libm-test-ulps: Update.
8086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8087
fdf4534d
SP
80882014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8089
df26ea53
SP
8090 * scripts/bench.pl: Remove file.
8091 * scripts/bench.py: New benchmark script.
8092 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8093 * benchtests/README: Mention python dependency.
8094 * scripts/pylintrc: New file.
8095 * scripts/pylint: New file.
8096
fdf4534d
SP
8097 * bits/mathdef.h: Use #ifdef instead of #if.
8098 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8099 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8100 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8101 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8102 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8103 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8104
6f23d093
AZ
81052014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8106 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8107
8108 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8109 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8110 and strpbrk-ppc64 objects.
8111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8112 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8113 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8114 multiarch strpbrk for POWER7.
8115 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8116 multiarch strpbrk for PPC64.
8117 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8118 ifunc selector.
8119 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8120 strpbrk for POWER7.
8121
8c92dfff
JM
81222014-03-20 Joseph Myers <joseph@codesourcery.com>
8123
8124 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8125 (atan_test): Likewise.
8126 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8127 (atanh_test): Use ALL_RM_TEST.
8128 (atan2_test_data): Likewise.
8129 (cabs_test): Likewise.
8130 (cacosh_test): Likewise.
8131 (carg_test): Likewise.
8132 (casin_test): Likewise.
8133 (casinh_test): Likewise.
8134 (cbrt_test): Likewise.
8135 (csqrt_test): Likewise.
8136 (erf_test): Likewise.
8137 (erfc_test): Likewise.
8138 (pow10_test): Likewise.
8139 (exp2_test): Likewise.
8140 (hypot_test): Likewise.
8141 (j0_test): Likewise.
8142 (j1_test): Likewise.
8143 (lgamma_test): Likewise.
8144 (gamma_test): Likewise.
8145 (sincos_test): Likewise.
8146 (tanh_test): Likewise.
8147 (y0_test): Likewise.
8148 (y1_test): Likewise.
8149 * sysdeps/i386/fpu/libm-test-ulps: Update.
8150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8151
6eaf95cb
AZ
81522014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8153
a387428c
SP
8154 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
8156 and strcspn-ppc64 objects.
8157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8158 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8159 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8160 multiarch strcspn for POWER7.
8161 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8162 multiarch strcspn for PPC64.
8163 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8164 ifunc selector.
8165 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8166 strcspn for POWER7.
8167
ae3a5dff
JM
81682014-03-20 Joseph Myers <joseph@codesourcery.com>
8169
8170 * math/gen-libm-test.pl (generate_testfile): Expect only function
8171 name as argument to AUTO_TESTS_* and pass results for all rounding
8172 modes to parse_args.
8173 (parse_auto_input): Separate inputs of automatic tests from
8174 outputs before storing in %auto_tests.
8175 * math/libm-test.inc (acos_test_data): Update call to
8176 AUTO_TESTS_f_f.
8177 (acos_test): Use ALL_RM_TEST.
8178 (acos_tonearest_test_data): Remove.
8179 (acos_test_tonearest): Likewise.
8180 (acos_towardzero_test_data): Likewise.
8181 (acos_test_towardzero): Likewise.
8182 (acos_downward_test_data): Likewise.
8183 (acos_test_downward): Likewise.
8184 (acos_upward_test_data): Likewise.
8185 (acos_test_upward): Likewise.
8186 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8187 (asin_test_data): Likewise.
8188 (asin_test): Use ALL_RM_TEST.
8189 (asin_tonearest_test_data): Remove.
8190 (asin_test_tonearest): Likewise.
8191 (asin_towardzero_test_data): Likewise.
8192 (asin_test_towardzero): Likewise.
8193 (asin_downward_test_data): Likewise.
8194 (asin_test_downward): Likewise.
8195 (asin_upward_test_data): Likewise.
8196 (asin_test_upward): Likewise.
8197 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8198 (atan_test_data): Likewise.
8199 (atanh_test_data): Likewise.
8200 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8201 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8202 (carg_test_data): Likewise.
8203 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8204 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8205 (ccosh_test_data): Likewise.
8206 (cexp_test_data): Likewise.
8207 (clog_test_data): Likewise.
8208 (clog10_test_data): Likewise.
8209 (cos_test_data): Update call to AUTO_TESTS_f_f.
8210 (cos_test): Use ALL_RM_TEST.
8211 (cos_tonearest_test_data): Remove.
8212 (cos_test_tonearest): Likewise.
8213 (cos_towardzero_test_data): Likewise.
8214 (cos_test_towardzero): Likewise.
8215 (cos_downward_test_data): Likewise.
8216 (cos_test_downward): Likewise.
8217 (cos_upward_test_data): Likewise.
8218 (cos_test_upward): Likewise.
8219 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8220 (cosh_test): Use ALL_RM_TEST.
8221 (cosh_tonearest_test_data): Remove.
8222 (cosh_test_tonearest): Likewise.
8223 (cosh_towardzero_test_data): Likewise.
8224 (cosh_test_towardzero): Likewise.
8225 (cosh_downward_test_data): Likewise.
8226 (cosh_test_downward): Likewise.
8227 (cosh_upward_test_data): Likewise.
8228 (cosh_test_upward): Likewise.
8229 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8230 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8231 (ctan_test_data): Likewise.
8232 (ctan_test): Use ALL_RM_TEST.
8233 (ctan_tonearest_test_data): Remove.
8234 (ctan_test_tonearest): Likewise.
8235 (ctan_towardzero_test_data): Likewise.
8236 (ctan_test_towardzero): Likewise.
8237 (ctan_downward_test_data): Likewise.
8238 (ctan_test_downward): Likewise.
8239 (ctan_upward_test_data): Likewise.
8240 (ctan_test_upward): Likewise.
8241 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8242 (ctanh_test): Use ALL_RM_TEST.
8243 (ctanh_tonearest_test_data): Remove.
8244 (ctanh_test_tonearest): Likewise.
8245 (ctanh_towardzero_test_data): Likewise.
8246 (ctanh_test_towardzero): Likewise.
8247 (ctanh_downward_test_data): Likewise.
8248 (ctanh_test_downward): Likewise.
8249 (ctanh_upward_test_data): Likewise.
8250 (ctanh_test_upward): Likewise.
8251 (erf_test_data): Update call to AUTO_TESTS_f_f.
8252 (erfc_test_data): Likewise.
8253 (exp_test_data): Likewise.
8254 (exp_test): Use ALL_RM_TEST.
8255 (exp_tonearest_test_data): Remove.
8256 (exp_test_tonearest): Likewise.
8257 (exp_towardzero_test_data): Likewise.
8258 (exp_test_towardzero): Likewise.
8259 (exp_downward_test_data): Likewise.
8260 (exp_test_downward): Likewise.
8261 (exp_upward_test_data): Likewise.
8262 (exp_test_upward): Likewise.
8263 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8264 (exp10_test): Use ALL_RM_TEST.
8265 (exp10_tonearest_test_data): Remove.
8266 (exp10_test_tonearest): Likewise.
8267 (exp10_towardzero_test_data): Likewise.
8268 (exp10_test_towardzero): Likewise.
8269 (exp10_downward_test_data): Likewise.
8270 (exp10_test_downward): Likewise.
8271 (exp10_upward_test_data): Likewise.
8272 (exp10_test_upward): Likewise.
8273 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8274 (expm1_test_data): Likewise.
8275 (expm1_test): Use ALL_RM_TEST.
8276 (expm1_tonearest_test_data): Remove.
8277 (expm1_test_tonearest): Likewise.
8278 (expm1_towardzero_test_data): Likewise.
8279 (expm1_test_towardzero): Likewise.
8280 (expm1_downward_test_data): Likewise.
8281 (expm1_test_downward): Likewise.
8282 (expm1_upward_test_data): Likewise.
8283 (expm1_test_upward): Likewise.
8284 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8285 (fma_test): Use ALL_RM_TEST.
8286 (fma_towardzero_test_data): Remove.
8287 (fma_test_towardzero): Likewise.
8288 (fma_downward_test_data): Likewise.
8289 (fma_test_downward): Likewise.
8290 (fma_upward_test_data): Likewise.
8291 (fma_test_upward): Likewise.
8292 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8293 (j0_test_data): Update call to AUTO_TESTS_f_f.
8294 (j1_test_data): Likewise.
8295 (jn_test_data): Update call to AUTO_TESTS_if_f.
8296 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8297 (log_test_data): Update call to AUTO_TESTS_f_f.
8298 (log10_test_data): Likewise.
8299 (log1p_test_data): Likewise.
8300 (log2_test_data): Likewise.
8301 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8302 (pow_tonearest_test_data): Likewise.
8303 (sin_test_data): Update call to AUTO_TESTS_f_f.
8304 (sin_test): Use ALL_RM_TEST.
8305 (sin_tonearest_test_data): Remove.
8306 (sin_test_tonearest): Likewise.
8307 (sin_towardzero_test_data): Likewise.
8308 (sin_test_towardzero): Likewise.
8309 (sin_downward_test_data): Likewise.
8310 (sin_test_downward): Likewise.
8311 (sin_upward_test_data): Likewise.
8312 (sin_test_upward): Likewise.
8313 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8314 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8315 (sinh_test): Use ALL_RM_TEST.
8316 (sinh_tonearest_test_data): Remove.
8317 (sinh_test_tonearest): Likewise.
8318 (sinh_towardzero_test_data): Likewise.
8319 (sinh_test_towardzero): Likewise.
8320 (sinh_downward_test_data): Likewise.
8321 (sinh_test_downward): Likewise.
8322 (sinh_upward_test_data): Likewise.
8323 (sinh_test_upward): Likewise.
8324 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8325 (sqrt_test): Use ALL_RM_TEST.
8326 (sqrt_tonearest_test_data): Remove.
8327 (sqrt_test_tonearest): Likewise.
8328 (sqrt_towardzero_test_data): Likewise.
8329 (sqrt_test_towardzero): Likewise.
8330 (sqrt_downward_test_data): Likewise.
8331 (sqrt_test_downward): Likewise.
8332 (sqrt_upward_test_data): Likewise.
8333 (sqrt_test_upward): Likewise.
8334 (tan_test_data): Update call to AUTO_TESTS_f_f.
8335 (tan_test): Use ALL_RM_TEST.
8336 (tan_tonearest_test_data): Remove.
8337 (tan_test_tonearest): Likewise.
8338 (tan_towardzero_test_data): Likewise.
8339 (tan_test_towardzero): Likewise.
8340 (tan_downward_test_data): Likewise.
8341 (tan_test_downward): Likewise.
8342 (tan_upward_test_data): Likewise.
8343 (tan_test_upward): Likewise.
8344 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8345 (tgamma_test_data): Likewise.
8346 (y0_test_data): Likewise.
8347 (y1_test_data): Likewise.
8348 (yn_test_data): Update call to AUTO_TESTS_if_f.
8349 (main): Do not call removed functions.
8350
d71aeee8
JM
83512014-03-19 Joseph Myers <joseph@codesourcery.com>
8352
8353 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8354 (ldexp_test_data): Remove.
8355 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8356 scalbn_test_data.
8357 (scalb_test): Use ALL_RM_TEST.
8358
baaf1ded
AS
83592014-03-19 Andreas Schwab <schwab@suse.de>
8360
8361 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8362
b1115e91
JM
83632014-03-19 Joseph Myers <joseph@codesourcery.com>
8364
8365 [BZ #16649]
8366 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8367 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8368 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8369 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8370 (__ASSUME_PREADV): Undefine.
8371 (__ASSUME_PWRITEV): Likewise.
8372
0283ecca
RM
83732014-03-18 Roland McGrath <roland@hack.frob.com>
8374
7d375303
RM
8375 * bits/mman-linux.h: Add comment about non-Linux use.
8376 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8377 bits/mman-linux.h resting place.
8378
0283ecca
RM
8379 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8380 * bits/mman-linux.h: ... here.
8381
aebe1003
AZ
83822014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8383
8384 * conform/conformtest.pl: Add standard definition when calling C
8385 preprocessor on data files.
8386 (checknamespace): Remove unused variable.
8387
b29b6bb8
JM
83882014-03-18 Joseph Myers <joseph@codesourcery.com>
8389
8390 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8391 minus_oflow, plus_uflow and minus_uflow in expected results.
8392 * math/libm-test.inc (scalbn_test_data): Add more tests of
8393 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8394 minus_uflow.
8395 (scalbn_test): Use ALL_RM_TEST.
8396 (scalbln_test_data): Add more tests of negative arguments. Use
8397 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8398 (scalbln_test): Use ALL_RM_TEST.
8399
c8f8fa15
RM
84002014-03-18 Roland McGrath <roland@hack.frob.com>
8401
8402 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8403
fede7a5f
WN
84042014-03-18 Will Newton <will.newton@linaro.org>
8405
8406 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8407 inaccurate comment.
8408
80cf0a58
JM
84092014-03-18 Joseph Myers <joseph@codesourcery.com>
8410
8411 * Makerules [!subdir] (check-abi): Exit with error status if a
8412 test failed.
8413
b3620862
JM
84142014-03-17 Joseph Myers <joseph@codesourcery.com>
8415
8416 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8417 for rint. Include results for all rounding modes.
8418 (nearbyint_test): Use ALL_RM_TEST.
8419 (rint_test_data): Include all tests used for nearbyint.
8420
788bba36
WN
84212014-03-17 Will Newton <will.newton@linaro.org>
8422
04ec140a
WN
8423 * nptl/sysdeps/pthread/pthread.h: Revert previous
8424 change.
8425
7579d8d5
WN
8426 * sysdeps/generic/ldsodefs.h: Revert previous
8427 change.
8428
c15cf13a
WN
8429 * libio/genops.c: Revert previous change.
8430 * libio/libioP.h: Likewise.
8431 * stdio-common/vfprintf.c: Likewise.
8432
d0ac1324
WN
8433 * sysdeps/generic/math_private.h: Revert previous
8434 change.
8435
9290130a
WN
8436 * sysdeps/generic/math_private.h: Check whether
8437 HAVE_RM_CTX is defined with #ifdef rather
8438 than #if.
8439
afb466fc
WN
8440 * argp/argp-fmtstream.h: Check whether
8441 __STRICT_ANSI__ is defined with #ifdef rather
8442 than #if.
8443 * argp/argp.h: Likewise.
8444
f7efd7c3
WN
8445 * libio/genops.c: Check whether
8446 _IO_JUMPS_OFFSET is defined with #ifdef rather
8447 than #if.
8448 * libio/libioP.h: Likewise.
8449 * stdio-common/vfprintf.c: Likewise.
8450
53f1bed3
WN
8451 * sysdeps/generic/ldsodefs.h: Check whether
8452 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8453 than #if.
8454
788bba36
WN
8455 * nptl/sysdeps/pthread/pthread.h: Check
8456 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8457 its value.
8458
fcd89ebe
SP
84592014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8460
ae42bbc5
SP
8461 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8462 setting O_APPEND.
8463 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8464 test case.
8465
ea33158c
SP
8466 [BZ #16680]
8467 * libio/fileops.c (_IO_file_open): Seek to end of file but
8468 don't cache the offset.
8469 (get_file_offset): Remove function.
8470 (do_ftell): Use cached offset when available.
8471 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8472 don't cache the offset.
8473 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8474 case.
8475 (do_one_test): Call it.
8476 (do_ftell_test): Fix up expected old offset for a+ mode.
8477 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8478 available.
8479
b1dbb426
SP
8480 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8481 up test status with function return status.
8482 (do_write_test): Likewise.
8483 (do_append_test): Likewise.
8484
fcd89ebe
SP
8485 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8486 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8487 Remove.
8488
9962a2d3
JM
84892014-03-17 Joseph Myers <joseph@codesourcery.com>
8490
8491 * math/gen-libm-test.pl (parse_args): Handle results specified for
8492 each rounding mode separately.
8493 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8494 tests and results from lrint_tonearest_test_data,
8495 lrint_towardzero_test_data, lrint_downward_test_data and
8496 lrint_upward_test_data.
8497 (lrint_test): Use ALL_RM_TEST.
8498 (lrint_tonearest_test_data): Remove.
8499 (lrint_test_tonearest): Likewise.
8500 (lrint_towardzero_test_data): Likewise.
8501 (lrint_test_towardzero): Likewise.
8502 (lrint_downward_test_data): Likewise.
8503 (lrint_test_downward): Likewise.
8504 (lrint_upward_test_data): Likewise.
8505 (lrint_test_upward): Likewise.
8506 (llrint_test_data): Merge in per-rounding-mode tests and results
8507 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8508 llrint_downward_test_data and llrint_upward_test_data.
8509 (llrint_test): Use ALL_RM_TEST.
8510 (llrint_tonearest_test_data): Remove.
8511 (llrint_test_tonearest): Likewise.
8512 (llrint_towardzero_test_data): Likewise.
8513 (llrint_test_towardzero): Likewise.
8514 (llrint_downward_test_data): Likewise.
8515 (llrint_test_downward): Likewise.
8516 (llrint_upward_test_data): Likewise.
8517 (llrint_test_upward): Likewise.
8518 (rint_test_data): Merge in per-rounding-mode tests and results
8519 from rint_tonearest_test_data, rint_towardzero_test_data,
8520 rint_downward_test_data and rint_upward_test_data. Add
8521 per-rounding-mode results for tests not in those arrays.
8522 (rint_test): Use ALL_RM_TEST.
8523 (rint_tonearest_test_data): Remove.
8524 (rint_test_tonearest): Likewise.
8525 (rint_towardzero_test_data): Likewise.
8526 (rint_test_towardzero): Likewise.
8527 (rint_downward_test_data): Likewise.
8528 (rint_test_downward): Likewise.
8529 (rint_upward_test_data): Likewise.
8530 (rint_test_upward): Likewise.
8531 (main): Don't call removed functions.
8532
5006148e
RM
85332014-03-14 Roland McGrath <roland@hack.frob.com>
8534
8535 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8536 "Compiled on ..." crapola. It is anti-useful.
8537
d6fe5e58
JM
85382014-03-14 Joseph Myers <joseph@codesourcery.com>
8539
8540 * scripts/evaluate-test.sh: Handle fourth argument to determine
8541 whether test run should stop on failure.
8542 * Makeconfig (stop-on-test-failure): New variable.
8543 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8544 $(stop-on-test-failure).
8545 * Makefile (tests): Give a summary of results from testing and
8546 exit with failure status if they include an ERROR or FAIL.
8547 (xtests): Likewise.
8548 * manual/install.texi (Configuring and compiling): Mention
8549 stop-on-test-failure=y.
8550 * INSTALL: Regenerated.
8551
498a2233
RM
85522014-03-14 Roland McGrath <roland@hack.frob.com>
8553
22dbc19d
RM
8554 * scripts/versionlist.awk: New file.
8555 * Makerules [$(build-shared) = yes]
8556 (postclean-generated): Add Versions.def, not Versions.def.v and
8557 Versions.def.v.i.
8558 ($(common-objpfx)Versions.def.v.i): Target removed.
8559 ($(common-objpfx)Versions.def): New target.
8560 ($(common-objpfx)Versions.all): Depend on that rather that
8561 $(common-objpfx)Versions.def.v.
8562 * Versions.def: File removed.
8563
498a2233
RM
8564 * Makeconfig (+gccwarn): Add -Wundef.
8565 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8566 a dl-sysdep.h breaking its contract.
8567 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8568 * include/stackinfo.h: New file.
8569 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8570 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8571 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8572 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8573 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8574 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8575 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8576 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8577 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8578 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8579 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8580 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8581 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8582 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8583 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8584
c7de5025
AZ
85852014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8586
8587 [BZ #16707]
8588 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8589 implementation.
8590 * math/libm-test.inc (round_test_data): Add more tests.
8591
98fb27a3
AZ
8592 [BZ #16706]
8593 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8594 implementation.
8595 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8596
374f7f61
AZ
8597 [BZ #16701]
8598 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8599 implementation.
8600 * math/libm-test.inc (ceil_test_data): Add more tests.
8601
4655c291
AZ
8602 * math/libm-test.inc (trunc_test_data): Add more tests related to
8603 BZ#16414.
8604
d7329d4b
RM
86052014-03-14 Roland McGrath <roland@hack.frob.com>
8606
8607 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8608 with #if rather than #ifdef.
8609 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8610
aa4de9ce
L
86112014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8612
8613 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8614 first. Disable AVX-512 GCC support if assembler doesn't support
8615 it.
8616 * sysdeps/x86_64/configure: Regenerated.
8617
2e03fae7
CD
86182014-03-13 Carlos O'Donell <carlos@redhat.com>
8619
8620 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8621 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8622 (__old_pthread_attr_setstack): Likewise.
8623 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8624 [!_STACK_GROWS_DOWN]: Likewise.
8625
43ca83ec
MF
86262014-03-13 Mike Frysinger <vapier@gentoo.org>
8627
8628 * config.make.in (have-bash2): Delete.
8629 * configure.ac (libc_cv_have_bash2): Delete.
8630 * configure: Regenerate.
8631 * elf/Makefile (common-ldd-rewrite): Rename to ...
8632 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8633 (sh-ldd-rewrite): Delete.
8634 (bash-ldd-rewrite): Delete.
8635 (have-bash2): Delete checks.
57f41c40
AS
8636 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8637 ldd-rewrite.
c66e48b4
MF
8638
8639 * config.make.in (have-ksh): Delete.
8640 (KSH): Delete.
8641 * configure.ac (libc_cv_have_ksh): Delete.
8642 * configure: Regenerate.
8643
b93834ef
MF
8644 * elf/Makefile: Delete $(have-ksh) check.
8645 ($(objpfx)sotruss): Change KSH to BASH.
8646 * elf/sotruss.ksh: Rename to ...
8647 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8648 function style to match POSIX. Drop ksh vim mode setting.
8649
f3a4632a
MF
8650 * manual/time.texi (Specifying the Time Zone with TZ): Change
8651 Tuesday to Thursday.
8652
5896c8bd
MF
8653 * debug/tst-longjmp_chk2.c: Update header comment.
8654 (stackoverflow_handler): Add comment. Call assert on pass value.
8655
2d63a517
IZ
86562014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8657
7e54fd04 8658 [BZ #16194]
2d63a517
IZ
8659 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8660 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8661 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8662 (La_x86_64_vector): Add zmm.
8663 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8664 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8665 ($(objpfx)tst-audit10): New target.
8666 ($(objpfx)tst-audit10.out): Likewise.
8667 (tst-audit10-ENV): New.
8668 (AVX512-CFLAGS): Likewise.
8669 (CFLAGS-tst-audit10.c): Likewise.
8670 (CFLAGS-tst-auditmod10a.c): Likewise.
8671 (CFLAGS-tst-auditmod10b.c): Likewise.
8672 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8673 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8674 * sysdeps/x86_64/configure: Regenerated.
8675 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8676 AVX-512 zmm register support.
8677 (_dl_x86_64_save_sse): Likewise.
8678 (_dl_x86_64_restore_sse): Likewise.
8679 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8680 size vector registers.
8681 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8682 (ZMM_SIZE): Likewise.
8683 * sysdeps/x86_64/tst-audit10.c: New file.
8684 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8685 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8686
44c4e5d5
RM
86872014-03-13 Roland McGrath <roland@hack.frob.com>
8688
8689 * configure.ac (HAVE_EHDR_START): New check.
8690 * configure: Regenerated.
8691 * config.h.in (HAVE_EHDR_START): New #undef.
8692 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8693 assuming the lowest-addressed segment maps the start of the file.
8694
acd6e389
JM
86952014-03-13 Joseph Myers <joseph@codesourcery.com>
8696
8697 * INSTALL: Regenerated.
8698
6f918f36
WN
86992014-03-13 Will Newton <will.newton@linaro.org>
8700
8701 * manual/setjmp.texi (System V contexts): Improve
8702 clarity and grammar of documentation.
8703
798212a0
PP
87042014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8705
8706 [BZ #16381]
798212a0 8707 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 8708 (tests-pie): Add tst-pie2.
798212a0
PP
8709 * elf/tst-pie2.c: New file.
8710 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8711 for ET_EXEC.
8712 * elf/rtld.c (map_doit): Load executable as lt_executable.
8713 (dl_main): Likewise.
8714
abe6d90c
JM
87152014-03-12 Joseph Myers <joseph@codesourcery.com>
8716
8717 [BZ #16642]
8718 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8719 (__ASSUME_PSELECT): Undefine.
8720
dd3946c6
AZ
87212014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8722
8723 [BZ #16689]
8724 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8725 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8726 static build.
8727 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8728 selector for static builds.
8729
c44496df
SP
87302014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8731
8732 [BZ #16695]
8733 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8734 key in the buffer.
8735
27c7220a
AZ
87362014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8737
57f41c40
AS
8738 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8739 IFUNC selector for static builds.
27c7220a 8740
600fa361
JM
87412014-03-11 Joseph Myers <joseph@codesourcery.com>
8742
76c96cf7
JM
8743 * sysdeps/mips/math_private.h [__mips_hard_float]
8744 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8745 libc_feresetround_mips_ctx.
8746 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8747 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8748 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8749
600fa361
JM
8750 [BZ #16677]
8751 * math/s_nextafter.c (__nextafter): Do not return value from
8752 overflowing computation.
8753 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8754 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8755 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8756 Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8758 Likewise.
8759 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8760 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8761
d7706c32
RM
87622014-03-11 Roland McGrath <roland@hack.frob.com>
8763
8764 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8765 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8766 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8767 the new mov targetting sp.
8768
4facea47
AZ
87692014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8770
8771 [BZ #16683]
8772 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8773 Define it for static builds as well.
8774 (NO_BZERO_IMPL): Likewise.
8775
e65caf1f
VR
87762014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8777
8778 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8779 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8780 multiarch strspn for PPC64.
8781 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8782 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8784 (__libc_ifunc_impl_list): Likewise.
8785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8786 multiarch optimizations
8787 * string/strspn.c (strspn): Using macro to redefine symbol name.
8788
ba9cc071
AZ
87892014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8790 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8791
8792 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8793 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8794 multiarch strncat for PPC64.
8795 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8796 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8797 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8798 (__libc_ifunc_impl_list): Likewise.
8799 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8800 multiarch optimizations
8801
8b4ff974
SP
88022014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8803
8804 [BZ #16639]
8805 * nscd/nscd.service: Make service type forking.
8806
54b46a4b
AZ
88072014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8808
8809 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8810 sign in non default rounding modes.
8811 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8812
e9996ef7
JM
88132014-03-08 Joseph Myers <joseph@codesourcery.com>
8814
8815 * math/libm-test.inc (ALL_RM_TEST): New macro.
8816 (ceil_test): Use ALL_RM_TEST.
8817 (cimag_test): Likewise.
8818 (conj_test): Likewise.
8819 (copysign_test): Likewise.
8820 (cproj_test): Likewise.
8821 (creal_test): Likewise.
8822 (fabs_test): Likewise.
8823 (floor_test): Likewise.
8824 (fmax_test): Likewise.
8825 (fmin_test): Likewise.
8826 (fmod_test): Likewise.
8827 (fpclassify_test): Likewise.
8828 (frexp_test): Likewise.
8829 (ilogb_test): Likewise.
8830 (isfinite_test): Likewise.
8831 (finite_test): Likewise.
8832 (isgreater_test): Likewise.
8833 (isgreaterequal_test): Likewise.
8834 (isinf_test): Likewise.
8835 (isless_test): Likewise.
8836 (islessequal_test): Likewise.
8837 (islessgreater_test): Likewise.
8838 (isnan_test): Likewise.
8839 (isnormal_test): Likewise.
8840 (issignaling_test): Likewise.
8841 (isunordered_test): Likewise.
8842 (logb_test): Likewise.
8843 (logb_downward_test_data): Remove.
8844 (logb_test_downward): Likewise.
8845 (lround_test): Use ALL_RM_TEST.
8846 (llround_test): Likewise.
8847 (modf_test): Likewise.
8848 (nexttoward_test): Likewise.
8849 (remainder_test): Likewise.
8850 (drem_test): Likewise.
8851 (remainder_tonearest_test_data): Likewise.
8852 (remainder_test_tonearest): Likewise.
8853 (drem_test_tonearest): Likewise.
8854 (remainder_towardzero_test_data): Likewise.
8855 (remainder_test_towardzero): Likewise.
8856 (drem_test_towardzero): Likewise.
8857 (remainder_downward_test_data): Likewise.
8858 (remainder_test_downward): Likewise.
8859 (drem_test_downward): Likewise.
8860 (remainder_upward_test_data): Likewise.
8861 (remainder_test_upward): Likewise.
8862 (drem_test_upward): Likewise.
8863 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8864 (round_test): Use ALL_RM_TEST.
8865 (signbit_test): Likewise.
8866 (trunc_test): Likewise.
8867 (significand_test): Likewise.
8868 (main): Don't call removed functions.
8869
bc61d27c
JM
88702014-03-07 Joseph Myers <joseph@codesourcery.com>
8871
5c780849
JM
8872 [BZ #16674]
8873 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8874 || __USE_XOPEN2K8].
8875 (ILL_ILLOPN): Likewise.
8876 (ILL_ILLADR): Likewise.
8877 (ILL_ILLTRP): Likewise.
8878 (ILL_PRVOPC): Likewise.
8879 (ILL_PRVREG): Likewise.
8880 (ILL_COPROC): Likewise.
8881 (ILL_BADSTK): Likewise.
8882 (FPE_INTDIV): Likewise.
8883 (FPE_INTOVF): Likewise.
8884 (FPE_FLTDIV): Likewise.
8885 (FPE_FLTOVF): Likewise.
8886 (FPE_FLTUND): Likewise.
8887 (FPE_FLTRES): Likewise.
8888 (FPE_FLTINV): Likewise.
8889 (FPE_FLTSUB): Likewise.
8890 (SEGV_MAPERR): Likewise.
8891 (SEGV_ACCERR): Likewise.
8892 (BUS_ADRALN): Likewise.
8893 (BUS_ADRERR): Likewise.
8894 (BUS_OBJERR): Likewise.
8895 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8896 (TRAP_TRACE): Likewise.
8897 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8898 __USE_XOPEN2K8].
8899 (CLD_KILLED): Likewise.
8900 (CLD_DUMPED): Likewise.
8901 (CLD_TRAPPED): Likewise.
8902 (CLD_STOPPED): Likewise.
8903 (CLD_CONTINUED): Likewise.
8904 (POLL_IN): Likewise.
8905 (POLL_OUT): Likewise.
8906 (POLL_MSG): Likewise.
8907 (POLL_ERR): Likewise.
8908 (POLL_PRI): Likewise.
8909 (POLL_HUP): Likewise.
8910 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8911 Likewise.
8912 (ILL_ILLOPN): Likewise.
8913 (ILL_ILLADR): Likewise.
8914 (ILL_ILLTRP): Likewise.
8915 (ILL_PRVOPC): Likewise.
8916 (ILL_PRVREG): Likewise.
8917 (ILL_COPROC): Likewise.
8918 (ILL_BADSTK): Likewise.
8919 (FPE_INTDIV): Likewise.
8920 (FPE_INTOVF): Likewise.
8921 (FPE_FLTDIV): Likewise.
8922 (FPE_FLTOVF): Likewise.
8923 (FPE_FLTUND): Likewise.
8924 (FPE_FLTRES): Likewise.
8925 (FPE_FLTINV): Likewise.
8926 (FPE_FLTSUB): Likewise.
8927 (SEGV_MAPERR): Likewise.
8928 (SEGV_ACCERR): Likewise.
8929 (BUS_ADRALN): Likewise.
8930 (BUS_ADRERR): Likewise.
8931 (BUS_OBJERR): Likewise.
8932 (BUS_MCEERR_AR): Likewise.
8933 (BUS_MCEERR_AO): Likewise.
8934 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8935 (TRAP_TRACE): Likewise.
8936 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8937 __USE_XOPEN2K8].
8938 (CLD_KILLED): Likewise.
8939 (CLD_DUMPED): Likewise.
8940 (CLD_TRAPPED): Likewise.
8941 (CLD_STOPPED): Likewise.
8942 (CLD_CONTINUED): Likewise.
8943 (POLL_IN): Likewise.
8944 (POLL_OUT): Likewise.
8945 (POLL_MSG): Likewise.
8946 (POLL_ERR): Likewise.
8947 (POLL_PRI): Likewise.
8948 (POLL_HUP): Likewise.
8949 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8950 (ILL_ILLOPN): Likewise.
8951 (ILL_ILLADR): Likewise.
8952 (ILL_ILLTRP): Likewise.
8953 (ILL_PRVOPC): Likewise.
8954 (ILL_PRVREG): Likewise.
8955 (ILL_COPROC): Likewise.
8956 (ILL_BADSTK): Likewise.
8957 (FPE_INTDIV): Likewise.
8958 (FPE_INTOVF): Likewise.
8959 (FPE_FLTDIV): Likewise.
8960 (FPE_FLTOVF): Likewise.
8961 (FPE_FLTUND): Likewise.
8962 (FPE_FLTRES): Likewise.
8963 (FPE_FLTINV): Likewise.
8964 (FPE_FLTSUB): Likewise.
8965 (SEGV_MAPERR): Likewise.
8966 (SEGV_ACCERR): Likewise.
8967 (BUS_ADRALN): Likewise.
8968 (BUS_ADRERR): Likewise.
8969 (BUS_OBJERR): Likewise.
8970 (BUS_MCEERR_AR): Likewise.
8971 (BUS_MCEERR_AO): Likewise.
8972 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8973 (TRAP_TRACE): Likewise.
8974 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8975 __USE_XOPEN2K8].
8976 (CLD_KILLED): Likewise.
8977 (CLD_DUMPED): Likewise.
8978 (CLD_TRAPPED): Likewise.
8979 (CLD_STOPPED): Likewise.
8980 (CLD_CONTINUED): Likewise.
8981 (POLL_IN): Likewise.
8982 (POLL_OUT): Likewise.
8983 (POLL_MSG): Likewise.
8984 (POLL_ERR): Likewise.
8985 (POLL_PRI): Likewise.
8986 (POLL_HUP): Likewise.
8987 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8988 Likewise.
8989 (ILL_ILLOPN): Likewise.
8990 (ILL_ILLADR): Likewise.
8991 (ILL_ILLTRP): Likewise.
8992 (ILL_PRVOPC): Likewise.
8993 (ILL_PRVREG): Likewise.
8994 (ILL_COPROC): Likewise.
8995 (ILL_BADSTK): Likewise.
8996 (ILL_BADIADDR): Likewise.
8997 (ILL_BREAK): Likewise.
8998 (FPE_INTDIV): Likewise.
8999 (FPE_INTOVF): Likewise.
9000 (FPE_FLTDIV): Likewise.
9001 (FPE_FLTOVF): Likewise.
9002 (FPE_FLTUND): Likewise.
9003 (FPE_FLTRES): Likewise.
9004 (FPE_FLTINV): Likewise.
9005 (FPE_FLTSUB): Likewise.
9006 (FPE_DECOVF): Likewise.
9007 (FPE_DECDIV): Likewise.
9008 (FPE_DECERR): Likewise.
9009 (FPE_INVASC): Likewise.
9010 (FPE_INVDEC): Likewise.
9011 (SEGV_MAPERR): Likewise.
9012 (SEGV_ACCERR): Likewise.
9013 (SEGV_PSTKOVF): Likewise.
9014 (BUS_ADRALN): Likewise.
9015 (BUS_ADRERR): Likewise.
9016 (BUS_OBJERR): Likewise.
9017 (BUS_MCEERR_AR): Likewise.
9018 (BUS_MCEERR_AO): Likewise.
9019 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9020 (TRAP_TRACE): Likewise.
9021 (TRAP_BRANCH): Likewise.
9022 (TRAP_HWBKPT): Likewise.
9023 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9024 __USE_XOPEN2K8].
9025 (CLD_KILLED): Likewise.
9026 (CLD_DUMPED): Likewise.
9027 (CLD_TRAPPED): Likewise.
9028 (CLD_STOPPED): Likewise.
9029 (CLD_CONTINUED): Likewise.
9030 (POLL_IN): Likewise.
9031 (POLL_OUT): Likewise.
9032 (POLL_MSG): Likewise.
9033 (POLL_ERR): Likewise.
9034 (POLL_PRI): Likewise.
9035 (POLL_HUP): Likewise.
9036 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9037 (ILL_ILLOPN): Likewise.
9038 (ILL_ILLADR): Likewise.
9039 (ILL_ILLTRP): Likewise.
9040 (ILL_PRVOPC): Likewise.
9041 (ILL_PRVREG): Likewise.
9042 (ILL_COPROC): Likewise.
9043 (ILL_BADSTK): Likewise.
9044 (FPE_INTDIV): Likewise.
9045 (FPE_INTOVF): Likewise.
9046 (FPE_FLTDIV): Likewise.
9047 (FPE_FLTOVF): Likewise.
9048 (FPE_FLTUND): Likewise.
9049 (FPE_FLTRES): Likewise.
9050 (FPE_FLTINV): Likewise.
9051 (FPE_FLTSUB): Likewise.
9052 (SEGV_MAPERR): Likewise.
9053 (SEGV_ACCERR): Likewise.
9054 (BUS_ADRALN): Likewise.
9055 (BUS_ADRERR): Likewise.
9056 (BUS_OBJERR): Likewise.
9057 (BUS_MCEERR_AR): Likewise.
9058 (BUS_MCEERR_AO): Likewise.
9059 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9060 (TRAP_TRACE): Likewise.
9061 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9062 __USE_XOPEN2K8].
9063 (CLD_KILLED): Likewise.
9064 (CLD_DUMPED): Likewise.
9065 (CLD_TRAPPED): Likewise.
9066 (CLD_STOPPED): Likewise.
9067 (CLD_CONTINUED): Likewise.
9068 (POLL_IN): Likewise.
9069 (POLL_OUT): Likewise.
9070 (POLL_MSG): Likewise.
9071 (POLL_ERR): Likewise.
9072 (POLL_PRI): Likewise.
9073 (POLL_HUP): Likewise.
9074 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9075 (ILL_ILLOPN): Likewise.
9076 (ILL_ILLADR): Likewise.
9077 (ILL_ILLTRP): Likewise.
9078 (ILL_PRVOPC): Likewise.
9079 (ILL_PRVREG): Likewise.
9080 (ILL_COPROC): Likewise.
9081 (ILL_BADSTK): Likewise.
9082 (FPE_INTDIV): Likewise.
9083 (FPE_INTOVF): Likewise.
9084 (FPE_FLTDIV): Likewise.
9085 (FPE_FLTOVF): Likewise.
9086 (FPE_FLTUND): Likewise.
9087 (FPE_FLTRES): Likewise.
9088 (FPE_FLTINV): Likewise.
9089 (FPE_FLTSUB): Likewise.
9090 (SEGV_MAPERR): Likewise.
9091 (SEGV_ACCERR): Likewise.
9092 (BUS_ADRALN): Likewise.
9093 (BUS_ADRERR): Likewise.
9094 (BUS_OBJERR): Likewise.
9095 (BUS_MCEERR_AR): Likewise.
9096 (BUS_MCEERR_AO): Likewise.
9097 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9098 (TRAP_TRACE): Likewise.
9099 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9100 __USE_XOPEN2K8].
9101 (CLD_KILLED): Likewise.
9102 (CLD_DUMPED): Likewise.
9103 (CLD_TRAPPED): Likewise.
9104 (CLD_STOPPED): Likewise.
9105 (CLD_CONTINUED): Likewise.
9106 (POLL_IN): Likewise.
9107 (POLL_OUT): Likewise.
9108 (POLL_MSG): Likewise.
9109 (POLL_ERR): Likewise.
9110 (POLL_PRI): Likewise.
9111 (POLL_HUP): Likewise.
9112 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9113 (ILL_ILLOPN): Likewise.
9114 (ILL_ILLADR): Likewise.
9115 (ILL_ILLTRP): Likewise.
9116 (ILL_PRVOPC): Likewise.
9117 (ILL_PRVREG): Likewise.
9118 (ILL_COPROC): Likewise.
9119 (ILL_BADSTK): Likewise.
9120 (FPE_INTDIV): Likewise.
9121 (FPE_INTOVF): Likewise.
9122 (FPE_FLTDIV): Likewise.
9123 (FPE_FLTOVF): Likewise.
9124 (FPE_FLTUND): Likewise.
9125 (FPE_FLTRES): Likewise.
9126 (FPE_FLTINV): Likewise.
9127 (FPE_FLTSUB): Likewise.
9128 (SEGV_MAPERR): Likewise.
9129 (SEGV_ACCERR): Likewise.
9130 (BUS_ADRALN): Likewise.
9131 (BUS_ADRERR): Likewise.
9132 (BUS_OBJERR): Likewise.
9133 (BUS_MCEERR_AR): Likewise.
9134 (BUS_MCEERR_AO): Likewise.
9135 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9136 (TRAP_TRACE): Likewise.
9137 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9138 __USE_XOPEN2K8].
9139 (CLD_KILLED): Likewise.
9140 (CLD_DUMPED): Likewise.
9141 (CLD_TRAPPED): Likewise.
9142 (CLD_STOPPED): Likewise.
9143 (CLD_CONTINUED): Likewise.
9144 (POLL_IN): Likewise.
9145 (POLL_OUT): Likewise.
9146 (POLL_MSG): Likewise.
9147 (POLL_ERR): Likewise.
9148 (POLL_PRI): Likewise.
9149 (POLL_HUP): Likewise.
9150 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9151 (ILL_ILLOPN): Likewise.
9152 (ILL_ILLADR): Likewise.
9153 (ILL_ILLTRP): Likewise.
9154 (ILL_PRVOPC): Likewise.
9155 (ILL_PRVREG): Likewise.
9156 (ILL_COPROC): Likewise.
9157 (ILL_BADSTK): Likewise.
9158 (ILL_DBLFLT): Likewise.
9159 (ILL_HARDWALL): Likewise.
9160 (FPE_INTDIV): Likewise.
9161 (FPE_INTOVF): Likewise.
9162 (FPE_FLTDIV): Likewise.
9163 (FPE_FLTOVF): Likewise.
9164 (FPE_FLTUND): Likewise.
9165 (FPE_FLTRES): Likewise.
9166 (FPE_FLTINV): Likewise.
9167 (FPE_FLTSUB): Likewise.
9168 (SEGV_MAPERR): Likewise.
9169 (SEGV_ACCERR): Likewise.
9170 (BUS_ADRALN): Likewise.
9171 (BUS_ADRERR): Likewise.
9172 (BUS_OBJERR): Likewise.
9173 (BUS_MCEERR_AR): Likewise.
9174 (BUS_MCEERR_AO): Likewise.
9175 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9176 (TRAP_TRACE): Likewise.
9177 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9178 __USE_XOPEN2K8].
9179 (CLD_KILLED): Likewise.
9180 (CLD_DUMPED): Likewise.
9181 (CLD_TRAPPED): Likewise.
9182 (CLD_STOPPED): Likewise.
9183 (CLD_CONTINUED): Likewise.
9184 (POLL_IN): Likewise.
9185 (POLL_OUT): Likewise.
9186 (POLL_MSG): Likewise.
9187 (POLL_ERR): Likewise.
9188 (POLL_PRI): Likewise.
9189 (POLL_HUP): Likewise.
9190 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9191 (ILL_ILLOPN): Likewise.
9192 (ILL_ILLADR): Likewise.
9193 (ILL_ILLTRP): Likewise.
9194 (ILL_PRVOPC): Likewise.
9195 (ILL_PRVREG): Likewise.
9196 (ILL_COPROC): Likewise.
9197 (ILL_BADSTK): Likewise.
9198 (FPE_INTDIV): Likewise.
9199 (FPE_INTOVF): Likewise.
9200 (FPE_FLTDIV): Likewise.
9201 (FPE_FLTOVF): Likewise.
9202 (FPE_FLTUND): Likewise.
9203 (FPE_FLTRES): Likewise.
9204 (FPE_FLTINV): Likewise.
9205 (FPE_FLTSUB): Likewise.
9206 (SEGV_MAPERR): Likewise.
9207 (SEGV_ACCERR): Likewise.
9208 (BUS_ADRALN): Likewise.
9209 (BUS_ADRERR): Likewise.
9210 (BUS_OBJERR): Likewise.
9211 (BUS_MCEERR_AR): Likewise.
9212 (BUS_MCEERR_AO): Likewise.
9213 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9214 (TRAP_TRACE): Likewise.
9215 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9216 __USE_XOPEN2K8].
9217 (CLD_KILLED): Likewise.
9218 (CLD_DUMPED): Likewise.
9219 (CLD_TRAPPED): Likewise.
9220 (CLD_STOPPED): Likewise.
9221 (CLD_CONTINUED): Likewise.
9222 (POLL_IN): Likewise.
9223 (POLL_OUT): Likewise.
9224 (POLL_MSG): Likewise.
9225 (POLL_ERR): Likewise.
9226 (POLL_PRI): Likewise.
9227 (POLL_HUP): Likewise.
9228 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9229 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9230
bc61d27c
JM
9231 [BZ #16670]
9232 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9233 before #include of <time.h>.
9234 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9235 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9236 (test-xfail-UNIX98/sched.h/conform): Likewise.
9237
302949e2
MS
92382014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9239
9240 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9241 error absence of trapping exception support.
9242 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9243
a00f522a
JM
92442014-03-07 Joseph Myers <joseph@codesourcery.com>
9245
6f99f280
JM
9246 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9247 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9248 * timezone/Makefile (testdata): Move definition above include of
9249 Rules.
9250 (test-zones): New variable.
9251 (tests-special): Add zone files.
9252 (build-testdata): Use $(evaluate-test).
9253
0b20a9e8
JM
9254 * elf/Makefile (tests-special): Rename tests to end with .out.
9255 ($(objpfx)noload-mem): Likewise.
9256 ($(objpfx)tst-leaks1-mem): Likewise.
9257 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9258 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9259 $(objpfx)test-iconvconfig.out.
9260 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9261 set -e inside subshell and redirect output to file.
9262 * iconvdata/Makefile (generated): Rename tests to end with .out.
9263 Correct type.
9264 (tests-special): Rename tests to end with .out.
9265 ($(objpfx)mtrace-tst-loading): Likewise.
9266 * intl/Makefile (generated): Likewise.
9267 (tests-special): Likewise.
9268 ($(objpfx)mtrace-tst-gettext): Likewise.
9269 * misc/Makefile (generated): Likewise.
9270 (tests-special): Likewise.
9271 ($(objpfx)tst-error1-mem): Likewise.
9272 * nptl/Makefile (tests-special): Likewise.
9273 ($(objpfx)tst-stack3-mem): Likewise.
9274 (generated): Likewise.
9275 * posix/Makefile (generated): Likewise.
9276 (tests-special): Likewise.
9277 (xtests-special): Likewise.
9278 ($(objpfx)tst-fnmatch-mem): Likewise.
9279 ($(objpfx)bug-regex2-mem): Likewise.
9280 ($(objpfx)bug-regex14-mem): Likewise.
9281 ($(objpfx)bug-regex21-mem): Likewise.
9282 ($(objpfx)bug-regex31-mem): Likewise.
9283 ($(objpfx)tst-vfork3-mem): Likewise.
9284 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9285 ($(objpfx)tst-pcre-mem): Likewise.
9286 ($(objpfx)tst-boost-mem): Likewise.
9287 ($(objpfx)bug-ga2-mem): Likewise.
9288 ($(objpfx)bug-glob2-mem): Likewise.
9289 * resolv/Makefile (generate): Likewise.
9290 (tests-special): Likewise.
9291 (xtests-special): Likewise.
9292 (generated): Likewise.
9293 ($(objpfx)mtrace-tst-leaks): Likewise.
9294 ($(objpfx)mtrace-tst-leaks2): Likewise.
9295
265d52ab
JM
9296 * scripts/merge-test-results.sh: New file.
9297 * Makefile (tests-special-notdir): New variable.
9298 (tests): Run merge-test-results.sh.
9299 (xtests): Likewise.
9300 * Rules (tests-special-notdir): New variable.
9301 (xtests-special-notdir): Likewise.
9302 (tests): Run merge-test-results.sh
9303 (xtests): Likewise.
9304
54ee292d
JM
9305 * Makeconfig (test-xfail-name): New variable.
9306 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9307 compute variable name for expected failures.
9308 * conform/Makefile (conformtest-headers-data): New variable.
9309 (conformtest-standards): Likewise.
9310 (conformtest-headers-ISO): Likewise.
9311 (conformtest-headers-ISO99): Likewise.
9312 (conformtest-headers-ISO11): Likewise.
9313 (conformtest-headers-POSIX): Likewise.
9314 (conformtest-headers-XPG3): Likewise.
9315 (conformtest-headers-XPG4): Likewise.
9316 (conformtest-headers-UNIX98): Likewise.
9317 (conformtest-headers-XOPEN2K): Likewise.
9318 (conformtest-headers-POSIX2008): Likewise.
9319 (conformtest-headers-XOPEN2K8): Likewise.
9320 (conformtest-header-list-base): Likewise.
9321 (conformtest-header-list-tests): Likewise.
9322 (conformtest-header-base): Likewise.
9323 (conformtest-header-tests): Likewise.
9324 (tests-special): Add $(conformtest-header-list-tests). If
9325 [$(fast-check) && !$(cross-compiling)], add
9326 $(conformtest-header-tests) instead of
9327 $(objpfx)run-conformtest.out.
9328 (generated): Add $(conformtest-header-list-base). If
9329 [$(fast-check) && !$(cross-compiling)], add
9330 $(conformtest-header-base). Remove previous setting.
9331 ($(conformtest-header-list-tests)): New target.
9332 (test-xfail-run-conformtest): Remove variable.
9333 ($(objpfx)run-conformtest.out): Remove target.
9334 (test-xfail-ISO11/complex.h/conform): New variable.
9335 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9336 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9337 (test-xfail-XPG3/varargs.h/conform): Likewise.
9338 (test-xfail-XPG4/varargs.h/conform): Likewise.
9339 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9340 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9341 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9342 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9343 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9344 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9345 (test-xfail-XPG3/ftw.h/conform): Likewise.
9346 (test-xfail-XPG3/grp.h/conform): Likewise.
9347 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9348 (test-xfail-XPG3/limits.h/conform): Likewise.
9349 (test-xfail-XPG3/pwd.h/conform): Likewise.
9350 (test-xfail-XPG3/search.h/conform): Likewise.
9351 (test-xfail-XPG3/signal.h/conform): Likewise.
9352 (test-xfail-XPG3/stdio.h/conform): Likewise.
9353 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9354 (test-xfail-XPG3/string.h/conform): Likewise.
9355 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9356 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9357 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9358 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9359 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9360 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9361 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9362 (test-xfail-XPG3/termios.h/conform): Likewise.
9363 (test-xfail-XPG3/time.h/conform): Likewise.
9364 (test-xfail-XPG3/unistd.h/conform): Likewise.
9365 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9366 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9367 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9368 (test-xfail-XPG4/netdb.h/conform): Likewise.
9369 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9370 (test-xfail-XPG4/signal.h/conform): Likewise.
9371 (test-xfail-XPG4/stdio.h/conform): Likewise.
9372 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9373 (test-xfail-XPG4/stropts.h/conform): Likewise.
9374 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9375 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9376 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9377 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9378 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9379 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9380 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9381 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9382 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9383 (test-xfail-XPG4/termios.h/conform): Likewise.
9384 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9385 (test-xfail-XPG4/unistd.h/conform): Likewise.
9386 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9387 (test-xfail-POSIX/sched.h/conform): Likewise.
9388 (test-xfail-POSIX/signal.h/conform): Likewise.
9389 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9390 (test-xfail-POSIX/tar.h/conform): Likewise.
9391 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9392 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9393 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9394 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9395 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9396 (test-xfail-UNIX98/sched.h/conform): Likewise.
9397 (test-xfail-UNIX98/signal.h/conform): Likewise.
9398 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9399 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9400 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9401 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9402 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9403 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9404 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9405 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9406 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9407 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9408 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9409 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9410 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9411 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9412 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9413 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9414 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9415 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9416 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9417 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9418 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9419 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9420 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9421 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9422 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9423 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9424 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9425 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9426 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9427 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9428 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9429 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9430 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9431 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9432 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9433 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9434 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9435 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9436 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9437 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9438 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9439 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9440 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9441 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9442 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9443 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9444 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9445 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9446 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9447 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9448 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9449 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9450 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9451 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9452 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9453 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9454 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9455 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9456 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9457 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9458 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9459 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9460 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9461 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9462 (conformtest-cc-flags): Likewise.
9463 ($(conformtest-header-tests): New target.
9464 * conform/check-header-lists.sh: New file.
9465 * conform/run-conformtest.sh: Remove.
9466
a00f522a
JM
9467 * conform/conformtest.pl: Allow ' and \ in values given for
9468 constants.
9469 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9470 inclusion.
9471 [POSIX] (sys/types.h): Likewise.
9472 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9473 inclusion.
9474 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9475 inclusion.
9476 * conform/data/signal.h-data (SIGIO): Remove expectation.
9477 [XPG3] (SIGBUS): Do not expect.
9478 [POSIX || XPG3] (SIGPOLL): Likewise.
9479 [POSIX || XPG3] (SIGPROF): Likewise.
9480 [POSIX || XPG3] (SIGSYS): Likewise.
9481 [XPG3] (SIGTRAP): Likewise.
9482 [POSIX || XPG3] (SIGURG): Likewise.
9483 [POSIX || XPG3] (SIGVTALRM): Likewise.
9484 [POSIX || XPG3] (SIGXCPU): Likewise.
9485 [POSIX || XPG3] (SIGXFSZ): Likewise.
9486 [POSIX] (SA_SIGINFO): Expect.
9487 [XPG3] (siginfo_t): Do not expect type or contents.
9488 [POSIX] (si_pid): Do not expect element.
9489 [POSIX] (si_uid): Likewise.
9490 [POSIX] (si_addr): Likewise.
9491 [POSIX] (si_status): Likewise.
9492 [POSIX] (si_band): Likewise.
9493 [XPG4] (si_value): Likewise.
9494 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9495 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9496 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9497 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9498 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9499 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9500 [POSIX || XPG3] (ILL_COPROC): Likewise.
9501 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9502 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9503 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9504 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9505 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9506 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9507 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9508 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9509 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9510 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9511 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9512 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9513 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9514 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9515 [POSIX || XPG3] (CLD_EXITED): Likewise.
9516 [POSIX || XPG3] (CLD_KILLED): Likewise.
9517 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9518 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9519 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9520 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9521 [POSIX || XPG3] (POLL_IN): Likewise.
9522 [POSIX || XPG3] (POLL_OUT): Likewise.
9523 [POSIX || XPG3] (POLL_MSG): Likewise.
9524 [POSIX || XPG3] (POLL_ERR): Likewise.
9525 [POSIX || XPG3] (POLL_PRI): Likewise.
9526 [POSIX || XPG3] (POLL_HUP): Likewise.
9527 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9528 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9529 (SIG*): Do not allow.
9530 [XPG3] (si_*): Likewise.
9531 [XPG3] (SI_*): Likewise.
9532 [XPG3 || XPG4] (sigev_*): Likewise.
9533 [XPG3 || XPG4] (SIGEV_*): Likewise.
9534 [XPG3 || XPG4] (sival_*): Likewise.
9535 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9536 [POSIX || XPG3] (BUS_*): Likewise.
9537 [POSIX || XPG3] (CLD_*): Likewise.
9538 [POSIX || XPG3] (FPE_*): Likewise.
9539 [POSIX || XPG3] (ILL_*): Likewise.
9540 [POSIX || XPG3] (POLL_*): Likewise.
9541 [POSIX || XPG3] (SEGV_*): Likewise.
9542 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9543 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9544 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9545 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9546 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9547 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9548 Specify type and value.
9549 (TVERSLEN): Likewise.
9550 (REGTYPE): Likewise.
9551 (AREGTYPE): Likewise.
9552 (LNKTYPE): Likewise.
9553 (SYMTYPE): Likewise.
9554 (CHRTYPE): Likewise.
9555 (BLKTYPE): Likewise.
9556 (DIRTYPE): Likewise.
9557 (FIFOTYPE): Likewise.
9558 (CONTTYPE): Likewise.
9559 (TSUID): Likewise.
9560 (TSGID): Likewise.
9561 (TSVTX): Likewise.
9562 (TUREAD): Likewise.
9563 (TUWRITE): Likewise.
9564 (TUEXEC): Likewise.
9565 (TGREAD): Likewise.
9566 (TGWRITE): Likewise.
9567 (TGEXEC): Likewise.
9568 (TOREAD): Likewise.
9569 (TOWRITE): Likewise.
9570 (TOEXEC): Likewise.
9571 [POSIX] (TSVTX): Expect constant.
9572
aa97dee1
JM
95732014-03-06 Joseph Myers <joseph@codesourcery.com>
9574
f214606a
JM
9575 * Makefile (tests): Change dependencies to ....
9576 (tests-special): ... additions to this variable.
9577 (tests): Depend on $(tests-special).
9578 * Makerules (check-abi-list): New variable.
9579 (check-abi): Depend on $(check-abi-list).
9580 [$(subdir) = elf] (tests-special): Add
9581 $(objpfx)check-abi-libc.out.
9582 [$(build-shared) = yes && subdir] (tests-special): Add
9583 $(check-abi-list).
9584 [$(build-shared) = yes && subdir] (tests): Do not depend on
9585 check-abi.
9586 * Rules (tests): Depend on $(tests-special).
9587 (xtests): Depend on $(xtests-special).
9588 * catgets/Makefile (tests): Change dependencies to ....
9589 (tests-special): ... additions to this variable.
9590 * conform/Makefile (tests): Change dependencies to ....
9591 (tests-special): ... additions to this variable.
9592 * elf/Makefile (tests): Change dependencies to ....
9593 (tests-special): ... additions to this variable.
9594 * grp/Makefile (tests): Change dependencies to ....
9595 (tests-special): ... additions to this variable.
9596 * iconv/Makefile (xtests): Change dependencies to ....
9597 (xtests-special): ... additions to this variable.
9598 * iconvdata/Makefile (tests): Change dependencies to ....
9599 (tests-special): ... additions to this variable.
9600 * intl/Makefile (tests): Change dependencies to ....
9601 (tests-special): ... additions to this variable. Also add
9602 $(objpfx)tst-gettext.out.
9603 * io/Makefile (tests): Change dependencies to ....
9604 (tests-special): ... additions to this variable.
9605 * libio/Makefile (tests): Change dependencies to ....
9606 (tests-special): ... additions to this variable.
9607 * malloc/Makefile (tests): Change dependencies to ....
9608 (tests-special): ... additions to this variable.
9609 * misc/Makefile (tests): Change dependencies to ....
9610 (tests-special): ... additions to this variable.
9611 * nptl/Makefile (tests): Change dependencies to ....
9612 (tests-special): ... additions to this variable.
9613 * nptl_db/Makefile (tests): Change dependencies to ....
9614 (tests-special): ... additions to this variable.
9615 * posix/Makefile (tests): Change dependencies to ....
9616 (tests-special): ... additions to this variable.
9617 (xtests): Change dependencies to ....
9618 (xtests-special): ... additions to this variable.
9619 * resolv/Makefile (tests): Change dependencies to ....
9620 (tests-special): ... additions to this variable.
9621 (xtests): Change dependencies to ....
9622 (xtests-special): ... additions to this variable.
9623 * stdio-common/Makefile (tests): Change dependencies to ....
9624 (tests-special): ... additions to this variable.
9625 (do-tst-unbputc): Remove target.
9626 (do-tst-printf): Likewise.
9627 * stdlib/Makefile (tests): Change dependencies to ....
9628 (tests-special): ... additions to this variable.
9629 * string/Makefile (tests): Change dependencies to ....
9630 (tests-special): ... additions to this variable.
9631 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9632 (tests-special): ... additions to this variable.
9633
81700b53
JM
9634 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9635 whole file.
9636 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9637 whole file.
9638 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9639 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9640
2ea18461
JM
9641 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9642 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9643 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9644 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9645 * conform/data/libgen.h-data [XPG3]: Likewise.
9646 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9647 * conform/data/ndbm.h-data [XPG3]: Likewise.
9648 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9649 * conform/data/netdb.h-data [XPG3]: Likewise.
9650 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9651 * conform/data/poll.h-data [XPG3]: Likewise.
9652 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9653 * conform/data/strings.h-data [XPG3]: Likewise.
9654 * conform/data/stropts.h-data [XPG3]: Likewise.
9655 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9656 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9657 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9658 Likewise.
9659 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9660 * conform/data/sys/time.h-data [XPG3]: Likewise.
9661 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9662 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9663 * conform/data/sys/un.h-data [XPG3]: Likewise.
9664 * conform/data/syslog.h-data [XPG3]: Likewise.
9665 * conform/data/ucontext.h-data [XPG3]: Likewise.
9666 * conform/data/utmpx.h-data [XPG3]: Likewise.
9667 * conform/data/varargs.h-data [UNIX98]: Enable file.
9668
355bc986
JM
9669 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9670
215db402
JM
9671 * math/libm-test.inc (struct test_f_f_data): Move expected results
9672 into structure for each rounding mode.
9673 (struct test_ff_f_data): Likewise.
9674 (struct test_ff_f_data_nexttoward): Likewise.
9675 (struct test_fi_f_data): Likewise.
9676 (struct test_fl_f_data): Likewise.
9677 (struct test_if_f_data): Likewise.
9678 (struct test_fff_f_data): Likewise.
9679 (struct test_c_f_data): Likewise.
9680 (struct test_f_f1_data): Likewise.
9681 (struct test_fF_f1_data): Likewise.
9682 (struct test_ffI_f1_data): Likewise.
9683 (struct test_c_c_data): Likewise.
9684 (struct test_cc_c_data): Likewise.
9685 (struct test_f_i_data): Likewise.
9686 (struct test_ff_i_data): Likewise.
9687 (struct test_f_l_data): Likewise.
9688 (struct test_f_L_data): Likewise.
9689 (struct test_fFF_11_data): Likewise.
9690 (RM_): New macro.
9691 (RM_FE_DOWNWARD): Likewise.
9692 (RM_FE_TONEAREST): Likewise.
9693 (RM_FE_TOWARDZERO): Likewise.
9694 (RM_FE_UPWARD): Likewise.
9695 (RUN_TEST_LOOP_f_f): Update references to expected results.
9696 (RUN_TEST_LOOP_2_f): Likewise.
9697 (RUN_TEST_LOOP_fff_f): Likewise.
9698 (RUN_TEST_LOOP_c_f): Likewise.
9699 (RUN_TEST_LOOP_f_f1): Likewise.
9700 (RUN_TEST_LOOP_fF_f1): Likewise.
9701 (RUN_TEST_LOOP_fI_f1): Likewise.
9702 (RUN_TEST_LOOP_ffI_f1): Likewise.
9703 (RUN_TEST_LOOP_c_c): Likewise.
9704 (RUN_TEST_LOOP_cc_c): Likewise.
9705 (RUN_TEST_LOOP_f_i): Likewise.
9706 (RUN_TEST_LOOP_f_i_tg): Likewise.
9707 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9708 (RUN_TEST_LOOP_f_b): Likewise.
9709 (RUN_TEST_LOOP_f_b_tg): Likewise.
9710 (RUN_TEST_LOOP_f_l): Likewise.
9711 (RUN_TEST_LOOP_f_L): Likewise.
9712 (RUN_TEST_LOOP_fFF_11): Likewise.
9713 * math/gen-libm-test.pl (parse_args): Output four copies of
9714 expected results for each test.
9715
67737b8f
JM
9716 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9717 (__ASSUME_UTIMES): Remove.
9718 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9719 (__ASSUME_UTIMES): Likewise.
9720
aa97dee1
JM
9721 * math/gen-auto-libm-tests.c: Update comment on output format.
9722 (output_for_one_input_case): Generate before-rounding and
9723 after-rounding information as conditions on output flags not
9724 floating-point format.
9725 * math/auto-libm-test-out: Regenerated.
9726 * math/gen-libm-test.pl (cond_value): New function.
9727 (or_cond_value): Use cond_value.
9728 (generate_testfile): Handle conditional exceptions.
9729
e6b6a857
JM
97302014-03-05 Joseph Myers <joseph@codesourcery.com>
9731
2f0a0f44
JM
9732 * math/libm-test.inc (max_valid_error): New variable.
9733 (init_max_error): Take new argument specifying whether function
9734 results are exactly determined. Set max_valid_error and bound
9735 other variables for errors based on this argument.
9736 (set_max_error): Do not record results above max_valid_error.
9737 (check_float_internal): Only accept errors of up to 0.5ulps if
9738 also at most max_valid_error.
9739 (START): Take new argument EXACT and pass it to init_max_error.
9740 (acos_test): Update call to START.
9741 (acos_test_tonearest): Likewise.
9742 (acos_test_towardzero): Likewise.
9743 (acos_test_downward): Likewise.
9744 (acos_test_upward): Likewise.
9745 (acosh_test): Likewise.
9746 (asin_test): Likewise.
9747 (asin_test_tonearest): Likewise.
9748 (asin_test_towardzero): Likewise.
9749 (asin_test_downward): Likewise.
9750 (asin_test_upward): Likewise.
9751 (asinh_test): Likewise.
9752 (atan_test): Likewise.
9753 (atanh_test): Likewise.
9754 (atan2_test): Likewise.
9755 (cabs_test): Likewise.
9756 (cacos_test): Likewise.
9757 (cacosh_test): Likewise.
9758 (carg_test): Likewise.
9759 (casin_test): Likewise.
9760 (casinh_test): Likewise.
9761 (catan_test): Likewise.
9762 (catanh_test): Likewise.
9763 (cbrt_test): Likewise.
9764 (ccos_test): Likewise.
9765 (ccosh_test): Likewise.
9766 (ceil_test): Likewise.
9767 (cexp_test): Likewise.
9768 (cimag_test): Likewise.
9769 (clog_test): Likewise.
9770 (clog10_test): Likewise.
9771 (conj_test): Likewise.
9772 (copysign_test): Likewise.
9773 (cos_test): Likewise.
9774 (cos_test_tonearest): Likewise.
9775 (cos_test_towardzero): Likewise.
9776 (cos_test_downward): Likewise.
9777 (cos_test_upward): Likewise.
9778 (cosh_test): Likewise.
9779 (cosh_test_tonearest): Likewise.
9780 (cosh_test_towardzero): Likewise.
9781 (cosh_test_downward): Likewise.
9782 (cosh_test_upward): Likewise.
9783 (cpow_test): Likewise.
9784 (cproj_test): Likewise.
9785 (creal_test): Likewise.
9786 (csin_test): Likewise.
9787 (csinh_test): Likewise.
9788 (csqrt_test): Likewise.
9789 (ctan_test): Likewise.
9790 (ctan_test_tonearest): Likewise.
9791 (ctan_test_towardzero): Likewise.
9792 (ctan_test_downward): Likewise.
9793 (ctan_test_upward): Likewise.
9794 (ctanh_test): Likewise.
9795 (ctanh_test_tonearest): Likewise.
9796 (ctanh_test_towardzero): Likewise.
9797 (ctanh_test_downward): Likewise.
9798 (ctanh_test_upward): Likewise.
9799 (erf_test): Likewise.
9800 (erfc_test): Likewise.
9801 (exp_test): Likewise.
9802 (exp_test_tonearest): Likewise.
9803 (exp_test_towardzero): Likewise.
9804 (exp_test_downward): Likewise.
9805 (exp_test_upward): Likewise.
9806 (exp10_test): Likewise.
9807 (exp10_test_tonearest): Likewise.
9808 (exp10_test_towardzero): Likewise.
9809 (exp10_test_downward): Likewise.
9810 (exp10_test_upward): Likewise.
9811 (pow10_test): Likewise.
9812 (exp2_test): Likewise.
9813 (expm1_test): Likewise.
9814 (expm1_test_tonearest): Likewise.
9815 (expm1_test_towardzero): Likewise.
9816 (expm1_test_downward): Likewise.
9817 (expm1_test_upward): Likewise.
9818 (fabs_test): Likewise.
9819 (fdim_test): Likewise.
9820 (floor_test): Likewise.
9821 (fma_test): Likewise.
9822 (fma_test_towardzero): Likewise.
9823 (fma_test_downward): Likewise.
9824 (fma_test_upward): Likewise.
9825 (fmax_test): Likewise.
9826 (fmin_test): Likewise.
9827 (fmod_test): Likewise.
9828 (fpclassify_test): Likewise.
9829 (frexp_test): Likewise.
9830 (hypot_test): Likewise.
9831 (ilogb_test): Likewise.
9832 (isfinite_test): Likewise.
9833 (finite_test): Likewise.
9834 (isgreater_test): Likewise.
9835 (isgreaterequal_test): Likewise.
9836 (isinf_test): Likewise.
9837 (isless_test): Likewise.
9838 (islessequal_test): Likewise.
9839 (islessgreater_test): Likewise.
9840 (isnan_test): Likewise.
9841 (isnormal_test): Likewise.
9842 (issignaling_test): Likewise.
9843 (isunordered_test): Likewise.
9844 (j0_test): Likewise.
9845 (j1_test): Likewise.
9846 (jn_test): Likewise.
9847 (ldexp_test): Likewise.
9848 (lgamma_test): Likewise.
9849 (gamma_test): Likewise.
9850 (lrint_test): Likewise.
9851 (lrint_test_tonearest): Likewise.
9852 (lrint_test_towardzero): Likewise.
9853 (lrint_test_downward): Likewise.
9854 (lrint_test_upward): Likewise.
9855 (llrint_test): Likewise.
9856 (llrint_test_tonearest): Likewise.
9857 (llrint_test_towardzero): Likewise.
9858 (llrint_test_downward): Likewise.
9859 (llrint_test_upward): Likewise.
9860 (log_test): Likewise.
9861 (log10_test): Likewise.
9862 (log1p_test): Likewise.
9863 (log2_test): Likewise.
9864 (logb_test): Likewise.
9865 (logb_test_downward): Likewise.
9866 (lround_test): Likewise.
9867 (llround_test): Likewise.
9868 (modf_test): Likewise.
9869 (nearbyint_test): Likewise.
9870 (nextafter_test): Likewise.
9871 (nexttoward_test): Likewise.
9872 (pow_test): Likewise.
9873 (pow_test_tonearest): Likewise.
9874 (pow_test_towardzero): Likewise.
9875 (pow_test_downward): Likewise.
9876 (pow_test_upward): Likewise.
9877 (remainder_test): Likewise.
9878 (drem_test): Likewise.
9879 (remainder_test_tonearest): Likewise.
9880 (drem_test_tonearest): Likewise.
9881 (remainder_test_towardzero): Likewise.
9882 (drem_test_towardzero): Likewise.
9883 (remainder_test_downward): Likewise.
9884 (drem_test_downward): Likewise.
9885 (remainder_test_upward): Likewise.
9886 (drem_test_upward): Likewise.
9887 (remquo_test): Likewise.
9888 (rint_test): Likewise.
9889 (rint_test_tonearest): Likewise.
9890 (rint_test_towardzero): Likewise.
9891 (rint_test_downward): Likewise.
9892 (rint_test_upward): Likewise.
9893 (round_test): Likewise.
9894 (scalb_test): Likewise.
9895 (scalbn_test): Likewise.
9896 (scalbln_test): Likewise.
9897 (signbit_test): Likewise.
9898 (sin_test): Likewise.
9899 (sin_test_tonearest): Likewise.
9900 (sin_test_towardzero): Likewise.
9901 (sin_test_downward): Likewise.
9902 (sin_test_upward): Likewise.
9903 (sincos_test): Likewise.
9904 (sinh_test): Likewise.
9905 (sinh_test_tonearest): Likewise.
9906 (sinh_test_towardzero): Likewise.
9907 (sinh_test_downward): Likewise.
9908 (sinh_test_upward): Likewise.
9909 (sqrt_test): Likewise.
9910 (sqrt_test_tonearest): Likewise.
9911 (sqrt_test_towardzero): Likewise.
9912 (sqrt_test_downward): Likewise.
9913 (sqrt_test_upward): Likewise.
9914 (tan_test): Likewise.
9915 (tan_test_tonearest): Likewise.
9916 (tan_test_towardzero): Likewise.
9917 (tan_test_downward): Likewise.
9918 (tan_test_upward): Likewise.
9919 (tanh_test): Likewise.
9920 (tgamma_test): Likewise.
9921 (trunc_test): Likewise.
9922 (y0_test): Likewise.
9923 (y1_test): Likewise.
9924 (yn_test): Likewise.
9925 (significand_test): Likewise.
9926
e6b6a857
JM
9927 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9928 individual tests in comment.
9929 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9930 (prev_max_error): New variable.
9931 (prev_real_max_error): Likewise.
9932 (prev_imag_max_error): Likewise.
9933 (compare_ulp_data): Don't refer to test names in comment.
9934 (find_test_ulps): Remove function.
9935 (find_function_ulps): Likewise.
9936 (find_complex_function_ulps): Likewise.
9937 (init_max_error): Take function name as argument. Look up ulps
9938 for that function.
9939 (print_ulps): Remove function.
9940 (print_max_error): Use prev_max_error instead of calling
9941 find_function_ulps.
9942 (print_complex_max_error): Use prev_real_max_error and
9943 prev_imag_max_error instead of calling find_complex_function_ulps.
9944 (check_float_internal): Take max_ulp parameter instead of calling
9945 find_test_ulps. Don't call print_ulps.
9946 (check_float): Update call to check_float_internal.
9947 (check_complex): Update calls to check_float_internal.
9948 (START): Pass argument to init_max_error.
9949 * math/gen-libm-test.pl (%results): Don't include "kind"
9950 information.
9951 (parse_ulps): Don't handle ulps of individual tests.
9952 (print_ulps_file): Likewise.
9953 (output_ulps): Likewise.
9954 * math/README.libm-test: Update.
9955 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9956 individual tests.
9957 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9958 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9959 * sysdeps/arm/libm-test-ulps: Likewise.
9960 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9961 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9962 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9963 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9964 * sysdeps/microblaze/libm-test-ulps: Likewise.
9965 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9966 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9967 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9968 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9969 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9970 * sysdeps/sh/libm-test-ulps: Likewise.
9971 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9972 * sysdeps/tile/libm-test-ulps: Likewise.
9973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9974
45adef3c
JM
99752014-03-04 Joseph Myers <joseph@codesourcery.com>
9976
9977 * math/libm-test.inc (print_complex_max_error): Check separately
9978 whether real and imaginary errors are within allowed range and
9979 pass 0 to print_complex_function_ulps instead of value within
9980 allowed range.
9981
000232b9
SP
99822014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9983
d4b17258
SP
9984 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9985 formatting.
9986 (get_handles_fopen): Likewise.
9987 (do_write_test): Likewise.
9988
091eff71
SP
9989 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9990
fa3cd248
SP
9991 * libio/fileops.c (do_ftell): Use cached offset when
9992 available.
9993 * libio/iofwide.c (do_ftell_wide): Likewise.
9994 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9995 _IO_file_attach.
9996 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9997
000232b9
SP
9998 [BZ #16532]
9999 * libio/libioP.h (get_file_offset): New function.
10000 * libio/fileops.c (get_file_offset): Likewise.
10001 (do_ftell): Likewise.
10002 (_IO_new_file_seekoff): Split out ftell logic.
10003 * libio/wfileops.c (do_ftell_wide): Likewise.
10004 (_IO_wfile_seekoff): Split out ftell logic.
10005 * libio/tst-ftell-active-handler.c: New test case.
10006 * libio/Makefile (tests): Add it.
10007
116f4d1a
RM
100082014-03-03 Roland McGrath <roland@hack.frob.com>
10009
10010 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10011 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10012
532a6035
SP
100132014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10014
10015 [BZ #16639]
10016 * nscd/connections.c (nscd_init): Call do_exit.
10017 (start_threads): Call do_exit and notify_parent.
10018 (begin_drop_privileges): Call do_exit.
10019 (finish_drop_privileges): Likewise.
10020 * nscd/selinux.c (preserve_capabilities): Likewise.
10021 (install_real_capabilities): Likewise.
10022 (nscd_selinux_enabled): Likewise.
10023 (avc_create_thread): Likewise.
10024 (avc_alloc_lock): Likewise.
10025 (nscd_avc_init): Likewise.
10026 * nscd/nscd.c (parent_fd): New static variable.
10027 (main): Create a pipe between parent and child processes.
10028 Skip closing parent_fd.
10029 (monitor_child): New function.
10030 (do_exit): Likewise.
10031 (notify_parent): Likewise.
10032 * nscd/nscd.h (notify_parent): Likewise.
10033 (do_exit): Likewise.
10034
d6285c9f
CD
100352014-03-03 Carlos O'Donell <carlos@redhat.com>
10036
10037 * malloc/malloc.c (__libc_calloc): Revert last change.
10038
2b85d2a0
AZ
100392014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10040
10041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10042
c7debbdf
RS
100432014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10044
10045 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10046 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10047 implementation.
10048 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10049 (__libc_ifunc_impl_list): Likewise.
10050 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10051 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10052 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10053 * string/strrchr.c: Define STRRCHR.
10054
235eed86
OB
100552014-02-28 Ondřej Bílka <neleai@seznam.cz>
10056
10057 * benchtest/bench-strtok.c (simple_strtok): Delete.
10058 (strtok_string): Use as benchmark.
10059 * string/strtok (STRTOK): New macro.
10060
8e25d1e7
CD
100612014-02-28 Carlos O'Donell <carlos@redhat.com>
10062
ef563f92
CD
10063 * manual/threads.texi: Add header and standard comments to all
10064 functions.
10065
8e25d1e7
CD
10066 * elf/dl-lookup.c (check_match): New function.
10067 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10068 (do_lookup_x): Remove nested function check_match. Use non-nested
10069 function check_match.
10070
ff71cc37
RM
100712014-02-28 Roland McGrath <roland@hack.frob.com>
10072
f08e9a26
RM
10073 * csu/Makefile (generated, before-compile): Use += rather than =.
10074 * catgets/Makefile (generated, generated-dirs): Likewise.
10075 * debug/Makefile (generated): Likewise.
10076 * dlfcn/Makefile (generated): Likewise.
10077 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10078 * iconvdata/Makefile (before-compile, generated): Likewise.
10079 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10080 * libio/Makefile (generated): Likewise.
10081 * malloc/Makefile (generated): Likewise.
10082 * manual/Makefile (generated, generated-dirs): Likewise.
10083 * misc/Makefile (generated): Likewise.
10084 * posix/Makefile (generated): Likewise.
10085 * resolv/Makefile (generated): Likewise.
10086 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10087 * timezone/Makefile (generated, generated-dirs): Likewise.
10088
ff71cc37
RM
10089 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10090
fe13a20c
AZ
100912014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10092
57f41c40
AS
10093 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10094 power8 implementation.
10095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10096 file: POWER8 llround ifunc implementation.
10097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10098 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
10099 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10100 POWER8 llround implementation.
10101
57f41c40
AS
10102 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10103 power8 implementation.
10104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10105 file: POWER8 llrint ifunc implementation.
10106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10107 Add POWER8 implementation.
1ad8950a
AZ
10108 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10109 POWER8 llrint implementation.
10110
57f41c40
AS
10111 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10112 power8 implementation.
10113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10114 file: POWER8 finite ifunc implementation.
10115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10116 Add POWER8 implementation.
cac626d6
AZ
10117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10118 Likewise.
10119 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10120 POWER8 finite implementation.
10121 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10122
57f41c40
AS
10123 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10124 power8 implementation.
10125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10126 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
10127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10128 POWER8 implementation.
10129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10130 Likewise.
57f41c40
AS
10131 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10132 isinf implementation.
4393fc11
AZ
10133 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10134
57f41c40
AS
10135 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10136 (INIT_ARCH): Add hwcap2 initialization.
10137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10138 power8 implementation.
10139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10140 file: POWER8 isnan ifunc implementation.
487972ae
AZ
10141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10142 POWER8 implementation.
10143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10144 Likewise.
57f41c40
AS
10145 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10146 isnan implementation.
487972ae
AZ
10147 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10148
7d92b787
JY
101492014-02-27 Joey Ye <joey.ye@arm.com>
10150
10151 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10152 (_FP_NANFRAC_Q): Set to zero.
10153
1cadc858
SP
101542014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10155
10156 [BZ #16623]
10157 * math/auto-libm-test-in: New test inputs.
10158 * math/auto-libm-test-out: Regenerate.
10159 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10160 and DA.
10161 (__cos): Likewise.
10162 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10163
f8c17e79
JM
101642014-02-27 Joseph Myers <joseph@codesourcery.com>
10165
10166 * scripts/evaluate-test.sh: Take new argument indicating whether
10167 failure is expected.
10168 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10169 indicating whether failure is expected.
10170 * conform/Makefile (test-xfail-run-conformtest): New variable.
10171 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10172 level.
10173 * posix/Makefile (test-xfail-annexc): New variable.
10174 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10175
a5f891ac
JM
101762014-02-26 Joseph Myers <joseph@codesourcery.com>
10177
10178 * argp/Makefile: Include Makeconfig immediately after defining
10179 subdir.
10180 * assert/Makefile: Likewise.
10181 * benchtests/Makefile: Likewise.
10182 * catgets/Makefile: Likewise.
10183 * conform/Makefile: Likewise.
10184 * crypt/Makefile: Likewise.
10185 * csu/Makefile: Likewise.
10186 (all): Remove target.
10187 * ctype/Makefile: Include Makeconfig immediately after defining
10188 subdir.
10189 * debug/Makefile: Likewise.
10190 * dirent/Makefile: Likewise.
10191 * dlfcn/Makefile: Likewise.
10192 * gmon/Makefile: Likewise.
10193 * gnulib/Makefile: Likewise.
10194 * grp/Makefile: Likewise.
10195 * gshadow/Makefile: Likewise.
10196 * hesiod/Makefile: Likewise.
10197 * hurd/Makefile: Likewise.
10198 (all): Remove target.
10199 * iconvdata/Makefile: Include Makeconfig immediately after
10200 defining subdir.
10201 * inet/Makefile: Likewise.
10202 * intl/Makefile: Likewise.
10203 * io/Makefile: Likewise.
10204 * libio/Makefile: Likewise.
10205 (all): Remove target.
10206 * locale/Makefile: Include Makeconfig immediately after defining
10207 subdir.
10208 * login/Makefile: Likewise.
10209 * mach/Makefile: Likewise.
10210 (all): Remove target.
10211 * malloc/Makefile: Include Makeconfig immediately after defining
10212 subdir.
10213 (all): Remove target.
10214 * manual/Makefile: Include Makeconfig immediately after defining
10215 subdir.
10216 * math/Makefile: Likewise.
10217 * misc/Makefile: Likewise.
10218 * nis/Makefile: Likewise.
10219 * nss/Makefile: Likewise.
10220 * po/Makefile: Likewise.
10221 (all): Remove target.
10222 * posix/Makefile: Include Makeconfig immediately after defining
10223 subdir.
10224 * pwd/Makefile: Likewise.
10225 * resolv/Makefile: Likewise.
10226 * resource/Makefile: Likewise.
10227 * rt/Makefile: Likewise.
10228 * setjmp/Makefile: Likewise.
10229 * shadow/Makefile: Likewise.
10230 * signal/Makefile: Likewise.
10231 * socket/Makefile: Likewise.
10232 * soft-fp/Makefile: Likewise.
10233 * stdio-common/Makefile: Likewise.
10234 * stdlib/Makefile: Likewise.
10235 * streams/Makefile: Likewise.
10236 * string/Makefile: Likewise.
10237 * sunrpc/Makefile: Likewise.
10238 (all): Remove target.
10239 * sysvipc/Makefile: Include Makeconfig immediately after defining
10240 subdir.
10241 * termios/Makefile: Likewise.
10242 * time/Makefile: Likewise.
10243 * timezone/Makefile: Likewise.
10244 (all): Remove target.
10245 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10246 subdir.
10247 * wctype/Makefile: Likewise.
10248
5b456e9d
SE
102492014-02-26 Steve Ellcey <sellcey@mips.com>
10250
10251 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10252 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10253 (libc_feholdexcept_setround_mips): Ditto.
10254 (libc_feholdsetround): New.
10255 (libc_feholdsetroundf): New.
10256 (libc_feholdsetroundl): New.
10257 (libc_feupdateenv_test_mips): New.
10258 (libc_feupdateenv_test): New.
10259 (libc_feupdateenv_testf): New.
10260 (libc_feupdateenv_testl): New.
10261 (libc_feresetround): New.
10262 (libc_feresetroundf): New.
10263 (libc_feresetroundl): New.
10264 (libc_fetestexcept_mips): New.
10265 (libc_fetestexcept): New.
10266 (libc_fetestexceptf): New.
10267 (libc_fetestexceptl): New.
10268 (HAVE_RM_CTX): New.
10269 (libc_feholdexcept_setround_mips_ctx): New.
10270 (libc_feholdexcept_setround_ctx): New.
10271 (libc_feholdexcept_setroundf_ctx): New.
10272 (libc_feholdexcept_setroundl_ctx): New.
10273 (libc_fesetenv_mips_ctx): New.
10274 (libc_fesetenv_ctx): New.
10275 (libc_fesetenv_ctxf): New.
10276 (libc_fesetenv_ctxl): New.
10277 (libc_feupdateenv_mips_ctx): New.
10278 (libc_feupdateenv_ctx): New.
10279 (libc_feupdateenvf_ctx): New.
10280 (libc_feupdateenvl_ctx): New.
10281 (libc_feholdsetround_mips_ctx): New.
10282 (libc_feholdsetround_ctx): New.
10283 (libc_feholdsetroundf_ctx): New.
10284 (libc_feholdsetroundl_ctx): New.
10285 (libc_feresetround_mips_ctx): New.
10286 (libc_feresetround_ctx): New.
10287 (libc_feresetroundf_ctx): New.
10288 (libc_feresetroundl_ctx): New.
10289
085d0e35
CD
102902014-02-26 Carlos O'Donell <carlos@redhat.com>
10291
f067bf1f
CD
10292 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10293
085d0e35
CD
10294 * manual/ipc.texi: New file.
10295 * manual/Makefile (chapters): Add ipc.
10296 * manual/job.texi: Add "Inter-Process Communication" to next.
10297 * manual/process.texi: Add "Inter-Process Communication" to prev.
10298
86e58c08
AZ
102992014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10300
10301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10302
4248f0da
OB
103032014-02-26 Ondřej Bílka <neleai@seznam.cz>
10304
10305 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10306
cf822e3c
OB
10307 * manual/arith.texi: Fix spaces after sentences.
10308 * manual/charset.texi: Likewise.
10309 * manual/errno.texi: Likewise.
10310 * manual/install.texi: Likewise.
10311 * manual/llio.texi: Likewise.
10312 * manual/locale.texi: Likewise.
10313 * manual/maint.texi: Likewise.
10314 * manual/math.texi: Likewise.
10315 * manual/memory.texi: Likewise.
10316 * manual/message.texi: Likewise.
10317 * manual/probes.texi: Likewise.
10318 * manual/resource.texi: Likewise.
10319 * manual/signal.texi: Likewise.
10320 * manual/socket.texi: Likewise.
10321 * manual/stdio.texi: Likewise.
10322 * manual/string.texi: Likewise.
10323 * manual/time.texi: Likewise.
10324 * manual/users.texi: Likewise.
10325
ade40b10
CD
103262014-02-25 Carlos O'Donell <carlos@redhat.com>
10327
10328 [BZ #16632]
10329 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10330 _DEFAULT_SOURCE is defined.
10331
d0503676
CD
103322014-02-25 Ulrich Drepper <drepper@gmail.com>
10333 Carlos O'Donell <carlos@redhat.com>
10334
10335 [BZ #16613]
10336 * elf/dl-tls.c (_dl_count_modids): New function.
10337 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10338 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10339 audit library and increment generation counter.
10340 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10341 * elf/tst-audit9.c: New file.
10342 * elf/tst-auditmod9a.c: New file.
10343 * elf/tst-auditmod9b.c: New file.
10344 * elf/Makefile: Add rules to build and run tst-audit9.
10345
4cbf380c
FW
103462014-02-25 Florian Weimer <fweimer@redhat.com>
10347
10348 [BZ #15347]
10349 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10350
80a56cc3
WN
103512014-02-25 Will Newton <will.newton@linaro.org>
10352
10353 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10354 (__longjmp): Restore sp and lr before restoring callee
10355 saved registers. Add longjmp and longjmp_target
10356 SystemTap probe point.
10357 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10358 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10359 Define to zero to match jmpbuf layout.
10360 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10361 (__sigsetjmp): Save sp and lr before saving callee
10362 saved registers. Add setjmp SystemTap probe point.
10363
3ea0f74e
SL
103642014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10365
10366 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10367
b04acb26
AS
103682014-02-24 Andreas Schwab <schwab@suse.de>
10369
10370 [BZ #15804]
10371 * elf/pldd.c (wait_for_ptrace_stop): New function.
10372 (main): Call it after attaching.
10373
098ad55c
RM
103742014-02-22 Roland McGrath <roland@hack.frob.com>
10375
d4ec6ae1
RM
10376 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10377 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10378 Versions files is now verboten.
10379 * hurd/Versions (libc: GLIBC_2.0):
10380 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10381 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10382 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10383 * mach/Versions: Likewise.
10384
098ad55c
RM
10385 * csu/Versions: Remove unused %include.
10386 * resolv/Versions: Likewise.
10387
acd7f096
JM
103882014-02-21 Joseph Myers <joseph@codesourcery.com>
10389
f0881698
JM
10390 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10391 ($(objpfx)check-local-headers.out): Likewise.
10392 ($(objpfx)begin-end-check.out): Likewise.
10393 * Makerules (check-abi-%.out): Likewise.
10394 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10395 ($(objpfx)test2.cat): Likewise.
10396 ($(objpfx)de/libc.cat): Likewise.
10397 ($(objpfx)test-gencat.out): Likewise.
10398 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10399 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10400 ($(objpfx)noload-mem): Likewise.
10401 ($(objpfx)tst-pathopt.out): Likewise.
10402 ($(objpfx)tst-rtld-load-self.out): Likewise.
10403 ($(objpfx)tst-array1-cmp.out): Likewise.
10404 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10405 ($(objpfx)tst-array2-cmp.out): Likewise.
10406 ($(objpfx)tst-array3-cmp.out): Likewise.
10407 ($(objpfx)tst-array4-cmp.out): Likewise.
10408 ($(objpfx)tst-array5-cmp.out): Likewise.
10409 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10410 ($(objpfx)check-textrel.out): Likewise.
10411 ($(objpfx)check-execstack.out): Likewise.
10412 ($(objpfx)check-localplt.out): Likewise.
10413 ($(objpfx)order2-cmp.out): Likewise.
10414 ($(objpfx)tst-leaks1-mem): Likewise.
10415 ($(objpfx)tst-leaks1-static-mem): Likewise.
10416 ($(objpfx)tst-initorder-cmp.out): Likewise.
10417 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10418 ($(objpfx)tst-unused-dep.out): Likewise.
10419 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10420 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10421 * iconv/Makefile (test-iconvconfig): Likewise.
10422 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10423 ($(objpfx)iconv-test.out): Likewise.
10424 ($(objpfx)tst-tables.out): Likewise.
10425 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10426 ($(objpfx)tst-gettext.out): Likewise.
10427 ($(objpfx)tst-translit.out): Likewise.
10428 ($(objpfx)tst-gettext2.out): Likewise.
10429 ($(objpfx)tst-gettext4.out): Likewise.
10430 ($(objpfx)tst-gettext6.out): Likewise.
10431 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10432 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10433 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10434 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10435 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10436 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10437 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10438 ($(objpfx)wordexp-tst.out): Likewise.
10439 ($(objpfx)annexc.out): Likewise.
10440 ($(objpfx)tst-fnmatch-mem): Likewise.
10441 ($(objpfx)bug-regex2-mem): Likewise.
10442 ($(objpfx)bug-regex14-mem): Likewise.
10443 ($(objpfx)bug-regex21-mem): Likewise.
10444 ($(objpfx)bug-regex31-mem): Likewise.
10445 ($(objpfx)tst-vfork3-mem): Likewise.
10446 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10447 ($(objpfx)tst-pcre-mem): Likewise.
10448 ($(objpfx)tst-boost-mem): Likewise.
10449 ($(objpfx)tst-getconf.out): Likewise.
10450 ($(objpfx)bug-ga2-mem): Likewise.
10451 ($(objpfx)bug-glob2-mem): Likewise.
10452 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10453 ($(objpfx)mtrace-tst-leaks2): Likewise.
10454 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10455 ($(objpfx)tst-printf.out): Likewise.
10456 ($(objpfx)tst-setvbuf1.out): Likewise.
10457 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10458 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10459 ($(objpfx)tst-fmtmsg.out): Likewise.
10460 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10461 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10462
acd7f096
JM
10463 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10464 * bits/sigaction.h [__USE_MISC]: Likewise.
10465 * bits/waitstatus.h: Update #endif comments.
10466 * ctype/ctype.h: Likewise.
10467 * dirent/dirent.h: Likewise.
10468 [__USE_MISC]: Remove redundant conditionals.
10469 * grp/grp.h: Update #endif comments.
10470 [__USE_GNU]: Remove redundant conditionals.
10471 [__USE_MISC]: Likewise.
10472 * inet/netinet/in.h [__USE_GNU]: Likewise.
10473 * io/sys/stat.h [__USE_MISC]: Likewise.
10474 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10475 * libio/bits/stdio.h: Update #endif comments.
10476 [__USE_MISC]: Remove redundant conditionals.
10477 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10478 * libio/stdio.h: Update #endif comments.
10479 [__USE_MISC]: Remove redundant conditionals.
10480 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10481 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10482 * math/math.h: Update #else and #endif comments.
10483 [__USE_MISC]: Remove redundant conditionals.
10484 * misc/sys/uio.h: Update #endif comments.
10485 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10486 * posix/glob.h [__USE_MISC]: Likewise.
10487 * posix/sys/types.h: Update #endif comments.
10488 [__USE_MISC]: Remove redundant conditionals.
10489 * posix/sys/wait.h: Update #endif comments.
10490 [__USE_MISC]: Remove redundant conditionals.
10491 * posix/unistd.h: Update #endif comments.
10492 [__USE_MISC]: Remove redundant conditionals.
10493 * pwd/pwd.h [__USE_GNU]: Likewise.
10494 [__USE_MISC]: Likewise.
10495 * resolv/netdb.h [__USE_GNU]: Likewise.
10496 * signal/signal.h: Update #endif comments.
10497 [__USE_MISC]: Remove redundant conditionals.
10498 * stdlib/stdlib.h: Update #else and #endif comments.
10499 [__USE_MISC]: Remove redundant conditionals.
10500 [__USE_GNU]: Likewise.
10501 * string/bits/string2.h [__USE_MISC]: Likewise.
10502 * string/string.h: Update #endif comments.
10503 [__USE_MISC]: Remove redundant conditionals.
10504 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10505 Likewise.
10506 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10507 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10508 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10509 Likewise.
10510 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10511 Likewise.
10512 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10513 comments.
10514 [__USE_MISC]: Remove redundant conditionals.
10515 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10516 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10517 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10518 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10519 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10520 Likewise.
10521 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10522 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10523 Likewise.
10524 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10525 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10526 Likewise.
10527 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10528 Likewise.
10529 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10530 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10531 Likewise.
10532 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10533 Likewise.
10534 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10535 * sysdeps/x86/bits/string.h: Update #endif comments.
10536 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10537 conditionals.
10538 * time/sys/time.h: Update #endif comments.
10539 * time/time.h: Likewise.
10540 [__USE_MISC]: Remove redundant conditionals.
10541
a5d82e4e
YG
105422014-02-21 Yury Gribov <y.gribov@samsung.com>
10543
10544 [BZ #16600]
10545 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10546
9a80491d
AS
105472014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10548
10549 * Versions.def (librt): Add GLIBC_2.17.
10550
105fa381
AC
105512014-02-21 Adam Conrad <adconrad@0c3.net>
10552
10553 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10554 synonym for _SYS_AUXV_H to allow direct inclusion.
10555 * sysdeps/sparc/bits/hwcap.h: Likewise.
10556 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10557 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10558 * sysdeps/sparc/sysdep.h: Likewise.
10559
b8cd1c4e
SP
105602014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10561
10562 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10563
bd939d23
RS
105642014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10565
10566 * benchtests/bench-strrchr.c: Print length instead of position.
10567
5d7b57ca
JM
105682014-02-20 Joseph Myers <joseph@codesourcery.com>
10569
bc688c10
JM
10570 [BZ #16611]
10571 * sysdeps/unix/sysv/linux/kernel-features.h
10572 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10573 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10574 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10575 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10576 Likewise.
10577 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10578 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10579 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10580 (__ASSUME_SENDMMSG): Define instead of using previous
10581 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10582 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10583 (__ASSUME_SENDMMSG_SYSCALL): Define.
10584 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10585 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10586 Likewise.
10587 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10588 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10589 Likewise.
10590 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10591 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10592 Likewise.
10593 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10594 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10595 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10596 [__ASSUME_SENDMMSG]: Change conditionals to
10597 [__ASSUME_SENDMMSG_SOCKETCALL].
10598 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10599 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10600 Define.
10601 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10602 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10603 Likewise.
10604 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10605 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10606 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10607 [!__ASSUME_SENDMMSG]: Change conditional to
10608 [!__ASSUME_SENDMMSG_SOCKETCALL].
10609 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10610 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10611 Define.
10612
0e31b18c
JM
10613 [BZ #16610]
10614 * sysdeps/unix/sysv/linux/kernel-features.h
10615 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10616 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10617 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10618 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10619 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10620 [__i386__ || __sparc__]
10621 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10622 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10623 (__ASSUME_RECVMMSG): Define instead of using previous
10624 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10625 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10626 (__ASSUME_RECVMMSG_SYSCALL): Define.
10627 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10628 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10629 Likewise.
10630 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10631 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10632 Likewise.
10633 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10634 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10635 Likewise.
10636 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10637 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10638 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10639 [__ASSUME_RECVMMSG]: Change condition to
10640 [__ASSUME_RECVMMSG_SOCKETCALL].
10641 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10642 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10643 Define.
10644 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10645 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10646 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10647 Likewise.
10648 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10649 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10650 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10651 [!__ASSUME_RECVMMSG]: Change condition to
10652 [!__ASSUME_RECVMMSG_SOCKETCALL].
10653 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10654 (__ASSUME_RECVMMSG_SYSCALL): Define.
10655
dd481ccf
JM
10656 [BZ #16609]
10657 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10658 __powerpc__ || __s390__ || __sh__ || __sparc__]
10659 (__ASSUME_SOCKETCALL): Define.
10660 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10661 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10662 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10663 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10664 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10665 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10666 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10667 (__ASSUME_ACCEPT4): Define instead of using previous
10668 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10669 __powerpc__ || __sparc__ || __s390__)] condition.
10670 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10671 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10672 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10673 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10674 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10675 [!__ASSUME_ACCEPT4]: Change condition to
10676 [!__ASSUME_ACCEPT4_SOCKETCALL].
10677 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10678 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10679 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10680 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10681 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10682 __ASSUME_ACCEPT4_SYSCALL.
10683 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10684 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10685 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10686 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10687 __ASSUME_ACCEPT4_SYSCALL.
10688 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10689 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10690 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10691 [__ASSUME_ACCEPT4]: Change condition to
10692 [__ASSUME_ACCEPT4_SOCKETCALL].
10693 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10694 (__ASSUME_SOCKETCALL): Define.
10695 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10696 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10697 (__ASSUME_SOCKETCALL): Define.
10698 (__ASSUME_ACCEPT4): Remove.
10699 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10700 Define.
10701 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10702 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10703 Likewise.
10704 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10705 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10706
5d7b57ca
JM
10707 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10708 macro.
10709 (HWCAP_ARM_LPAE): Likewise.
10710 (HWCAP_ARM_EVTSTRM): Likewise.
10711 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10712 Add vpfd32, lpae and evtstrm.
10713 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10714 Increase to 22.
10715
63689d61
JM
107162014-02-19 Joseph Myers <joseph@codesourcery.com>
10717
10718 * math/auto-libm-test-in: Add tests of clog10.
10719 * math/auto-libm-test-out: Regenerated.
10720 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10721 * sysdeps/i386/fpu/libm-test-ulps: Update.
10722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10723
ab09bf61
AS
107242014-02-18 Andreas Schwab <schwab@suse.de>
10725
10726 [BZ #16574]
10727 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10728 Store non-zero if the second buffer was newly allocated.
10729 (send_dg): Likewise.
10730 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10731 to send_vc and send_dg.
10732 (res_nsend): Pass NULL for ansp2_malloced.
10733 * resolv/res_query.c (__libc_res_nquery): Add parameter
10734 answerp2_malloced and pass it down to __libc_res_nsend.
10735 (res_nquery): Pass additional NULL to __libc_res_nquery.
10736 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10737 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10738 second answer buffer if answerp2_malloced was set.
10739 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10740 (__libc_res_nquerydomain): Add parameter
10741 answerp2_malloced and pass it down to __libc_res_nquery.
10742 (res_nquerydomain): Pass additional NULL to
10743 __libc_res_nquerydomain.
10744 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10745 additional NULL to __libc_res_nsend and __libc_res_nquery.
10746 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10747 additional NULL to __libc_res_nsearch.
10748 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10749 parameter of __libc_res_nsearch to check for separately allocated
10750 second buffer.
10751 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10752 __libc_res_nquery.
10753 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10754 additional NULL to __libc_res_nquery.
10755 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10756 __libc_res_nsearch.
10757 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10758 * include/resolv.h: Update prototypes of __libc_res_nquery,
10759 __libc_res_nsearch, __libc_res_nsend.
10760
a4fb7861
JM
107612014-02-18 Joseph Myers <joseph@codesourcery.com>
10762
c6af2d89
JM
10763 * math/auto-libm-test-in: Add tests of fma.
10764 * math/auto-libm-test-out: Regenerated.
10765 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10766 (fma_towardzero_test_data): Likewise.
10767 (fma_downward_test_data): Likewise.
10768 (fma_upward_test_data): Likewise.
10769 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10770 mpc_mode.
10771 (rounding_modes): Add values for new field.
10772 (func_calc_method): Add value mpfr_fff_f.
10773 (func_calc_desc): Add mpfr_fff_f union field.
10774 (test_function): Add field exact_args.
10775 (FUNC): Add macro argument EXACT_ARGS.
10776 (FUNC_mpfr_f_f): Update call to FUNC.
10777 (FUNC_mpfr_f_f): Likewise.
10778 (FUNC_mpfr_ff_f): Likewise.
10779 (FUNC_mpfr_if_f): Likewise.
10780 (FUNC_mpc_c_f): Likewise.
10781 (FUNC_mpc_c_c): Likewise.
10782 (test_functions): Add fma. Update calls to FUNC.
10783 (handle_input_arg): Add argument exact_args.
10784 (add_test): Update call to handle_input_arg.
10785 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10786 (output_for_one_input_case): Update call to calc_generic_results.
10787 Recalculate exact zero results in each rounding mode.
10788
a4fb7861
JM
10789 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10790 non-negative before setting low bit.
10791 * math/auto-libm-test-in: Mark one asin test possibly having
10792 spurious underflow.
10793 * math/auto-libm-test-out: Regenerated.
10794 * sysdeps/i386/fpu/libm-test-ulps: Update.
10795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10796
ef114eaf
DH
107972014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10798
2b7f4f2c
SP
10799 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10800 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10801 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
10802 * README: Add missing listing for microblaze*-*-linux-gnu.
10803
8125aedc
AM
108042014-02-16 Ondřej Bílka <neleai@seznam.cz>
10805
10806 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10807 duplicate code
10808
c70a4b1d
MF
108092014-02-16 Mike Frysinger <vapier@gentoo.org>
10810
10811 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10812 * sysdeps/unix/sysv/linux/ia64: Move directory from
10813 ports/sysdeps/unix/sysv/linux/ia64.
10814 * README: Update listing for ia64-*-linux-gnu.
10815
591aeaf7
TD
108162014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10817 Joseph Myers <joseph@codesourcery.com>
10818
10819 * Makeconfig (test-name): New variable.
10820 (evaluate-test): Likewise.
10821 * Makerules (do-test-clean): Remove .test-result files.
10822 (common-mostlyclean): Likewise.
10823 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10824 * scripts/evaluate-test.sh: New file.
10825
6e89caf1
JM
108262014-02-14 Joseph Myers <joseph@codesourcery.com>
10827
7f98f180
JM
10828 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10829 separate $(objpfx)tst-fopenloc-cmp.out and
10830 $(objpfx)tst-fopenloc-mem.out targets.
10831 (tests): Update dependencies.
10832 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10833 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10834 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10835 (tst-rxspencer-no-utf8-ARGS): New variable.
10836 (tst-rxspencer-no-utf8-ENV): Likewise.
10837 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10838 instead of $(objpfx)tst-rxspencer-mem.
10839 ($(objpfx)tst-rxspencer-mem): Change target to
10840 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10841 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10842 * posix/tst-rxspencer-no-utf8.c: New file.
10843
6e89caf1
JM
10844 * elf/Makefile ($(objpfx)order.out): Remove rule.
10845 [$(run-built-tests) = yes] (tests): Depend on
10846 $(objpfx)order-cmp.out.
10847 ($(objpfx)order-cmp.out): New rule.
10848 [$(run-built-tests) = yes] (tests): Depend on
10849 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10850 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10851 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10852 $(objpfx)tst-array5-static-cmp.out.
10853 ($(objpfx)tst-array1.out): Remove rule.
10854 ($(objpfx)tst-array1-cmp.out): New rule.
10855 ($(objpfx)tst-array1-static.out): Remove rule.
10856 ($(objpfx)tst-array1-static-cmp.out): New rule.
10857 ($(objpfx)tst-array2.out): Remove rule.
10858 ($(objpfx)tst-array2-cmp.out): New rule.
10859 ($(objpfx)tst-array3.out): Remove rule.
10860 ($(objpfx)tst-array3-cmp.out): New rule.
10861 ($(objpfx)tst-array4.out): Remove rule.
10862 ($(objpfx)tst-array4-cmp.out): New rule.
10863 ($(objpfx)tst-array5.out): Remove rule.
10864 ($(objpfx)tst-array5-cmp.out): New rule.
10865 ($(objpfx)tst-array5-static.out): Remove rule.
10866 ($(objpfx)tst-array5-static-cmp.out): New rule.
10867 [$(run-built-tests) = yes] (tests): Depend on
10868 $(objpfx)order2-cmp.out.
10869 ($(objpfx)order2.out): Remove rule.
10870 ($(objpfx)order2-cmp.out): New rule.
10871 ($(objpfx)tst-initorder.out): Remove rule.
10872 [$(run-built-tests) = yes] (tests): Depend on
10873 $(objpfx)tst-initorder-cmp.out.
10874 ($(objpfx)tst-initorder-cmp.out): New rule.
10875 ($(objpfx)tst-initorder2.out): Remove rule.
10876 [$(run-built-tests) = yes] (tests): Depend on
10877 $(objpfx)tst-initorder2-cmp.out.
10878 ($(objpfx)tst-initorder2-cmp.out): New rule.
10879 [$(run-built-tests) = yes] (tests): Depend on
10880 $(objpfx)tst-unused-dep-cmp.out.
10881 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10882 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10883 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10884 on $(objpfx)tst-setvbuf1-cmp.out.
10885 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10886 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10887 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10888 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10889 ($(objpfx)tst-svc.out): Remove rule.
10890 ($(objpfx)tst-svc-cmp.out): New rule.
10891
ed9a38e2
JM
108922014-02-13 Joseph Myers <joseph@codesourcery.com>
10893
10894 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10895 * ctype/ctype.h [__USE_MISC]: Likewise.
10896 * dirent/dirent.h [__USE_MISC]: Likewise.
10897 * grp/grp.h [__USE_MISC]: Likewise.
10898 * io/fcntl.h [__USE_MISC]: Likewise.
10899 * io/sys/stat.h [__USE_MISC]: Likewise.
10900 * libio/stdio.h [__USE_MISC]: Likewise.
10901 * posix/unistd.h [__USE_MISC]: Likewise.
10902 * pwd/pwd.h [__USE_MISC]: Likewise.
10903 * stdlib.h [__USE_MISC]: Likewise.
10904 * string/bits/string2.h [__USE_MISC]: Likewise.
10905 * string/string.h [__USE_MISC]: Likewise.
10906 * time/time.h [__USE_MISC]: Likewise.
10907
d6680619
AS
109082014-02-13 Andreas Schwab <schwab@suse.de>
10909
10910 [BZ #16574]
10911 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10912 second answer buffer if it was separately allocated.
10913
ace614b8
JM
109142014-02-12 Joseph Myers <joseph@codesourcery.com>
10915
743151ae
JM
10916 * sysdeps/mips/math-tests.h: Include <features.h>.
10917 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10918 (ROUNDING_TESTS_long_double): Do not define.
10919 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10920 (EXCEPTION_TESTS_long_double): Likewise.
10921 * sysdeps/mips/mips64/libm-test-ulps: Update.
10922
498afc54
JM
10923 * include/features.h (__USE_BSD): Remove macro definitions.
10924 (__USE_SVID): Likewise.
10925 (_BSD_SOURCE): Likewise.
10926 (_SVID_SOURCE): Likewise.
10927 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10928 from definition of _DEFAULT_SOURCE.
10929 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10930 [_DEFAULT_SOURCE].
10931 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10932 * bits/mman.h [__USE_BSD]: Likewise.
10933 * bits/termios.h [__USE_BSD]: Likewise.
10934 * bits/waitstatus.h [__USE_BSD]: Likewise.
10935 * ctype/ctype.h [__USE_SVID]: Likewise.
10936 * dirent/dirent.h [__USE_BSD]: Likewise.
10937 * grp/grp.h [__USE_SVID]: Likewise.
10938 [__USE_BSD]: Likewise.
10939 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10940 * io/fcntl.h [__USE_BSD]: Likewise.
10941 * io/ftw.h [__USE_BSD]: Likewise.
10942 * io/sys/stat.h [__USE_BSD]: Likewise.
10943 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10944 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10945 * libio/stdio.h [__USE_SVID]: Likewise.
10946 [__USE_BSD]: Likewise.
10947 * math/math.h [__USE_SVID]: Likewise.
10948 [__USE_BSD]: Likewise.
10949 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10950 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10951 * misc/search.h [__USE_SVID]: Likewise.
10952 * misc/sys/mman.h [__USE_BSD]: Likewise.
10953 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10954 * misc/sys/uio.h [__USE_BSD]: Likewise.
10955 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10956 * posix/glob.h [__USE_BSD]: Likewise.
10957 * posix/regex.h [__USE_BSD]: Likewise.
10958 * posix/sys/types.h [__USE_BSD]: Likewise.
10959 [__USE_SVID]: Likewise.
10960 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10961 * posix/sys/wait.h [__USE_BSD]: Likewise.
10962 [__USE_SVID]: Likewise.
10963 * posix/unistd.h [__USE_BSD]: Likewise.
10964 [__USE_SVID]: Likewise.
10965 * pwd/pwd.h [__USE_SVID]: Likewise.
10966 * resolv/netdb.h [__USE_BSD]: Likewise.
10967 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10968 * signal/signal.h [__USE_BSD]: Likewise.
10969 [__USE_SVID]: Likewise.
10970 * socket/sys/socket.h [__USE_BSD]: Likewise.
10971 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10972 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10973 [__USE_SVID]: Likewise.
10974 * string/bits/string2.h [__USE_BSD]: Likewise.
10975 [__USE_SVID]: Likewise.
10976 * string/bits/string3.h [__USE_BSD]: Likewise.
10977 * string/endian.h [__USE_BSD]: Likewise.
10978 * string/string.h [__USE_SVID]: Likewise.
10979 [__USE_BSD]: Likewise.
10980 * string/strings.h [__USE_BSD]: Likewise.
10981 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10982 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10983 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10984 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10985 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10986 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10987 Likewise.
10988 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10989 Likewise.
10990 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10991 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10992 Likewise.
10993 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10994 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10995 Likewise.
10996 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10997 Likewise.
10998 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10999 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11000 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11001 Likewise.
11002 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11003 Likewise.
11004 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11005 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11006 * termios/termios.h [__USE_BSD]: Likewise.
11007 * time/sys/time.h [__USE_BSD]: Likewise.
11008 * time/time.h [__USE_BSD]: Likewise.
11009 [__USE_SVID]: Likewise.
11010
dd7b064c
JM
11011 * Makefile (subdir_targets): Remove subdir_lint.out.
11012
a2c4c199
JM
11013 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11014 (do-tst-printf): Likewise.
11015 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11016 $(objpfx)tst-printf.out.
11017
8756f740
JM
11018 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11019
1b6dd3f1
JM
11020 * Makerules (check-abi-%): Change target to
11021 $(objpfx)check-abi-%.out.
11022 (check-abi target): Update dependencies.
11023 (check-abi-pattern variable): Redirect output of diff to $@.
11024 (check-abi variable): Likewise.
11025 * elf/Makefile (check-abi): Update dependencies.
11026
ace614b8
JM
11027 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11028 unused.
11029 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11030 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11031 subnormal range.
11032 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11033 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11034 value has largest subnormal exponent.
11035 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11036 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11037 * sysdeps/aarch64/soft-fp/sfp-machine.h
11038 (_FP_TININESS_AFTER_ROUNDING): New macro.
11039 * sysdeps/alpha/soft-fp/sfp-machine.h
11040 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11041 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11042 Likewise.
11043 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11044 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11045 * sysdeps/mips/soft-fp/sfp-machine.h
11046 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11047 * sysdeps/powerpc/soft-fp/sfp-machine.h
11048 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11049 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11050 Likewise.
11051 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11052 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11053 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11054 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11055 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11056 Likewise.
11057
fbfdf9cb
DAS
110582014-02-12 Dylan Alex Simon <dylan@dylex.net>
11059
11060 [BZ #16545]
11061 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11062 model 1.
11063
68b7efaa
RH
110642014-02-12 Richard Henderson <rth@redhat.com>
11065
c70a4b1d 11066 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
11067 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11068 * sysdeps/unix/sysv/linux/alpha: Move directory from
11069 ports/sysdeps/unix/sysv/linux/alpha.
11070 * README: Update listing for alpha-*-linux-gnu.
11071
cb4a2928
JM
110722014-02-11 Joseph Myers <joseph@codesourcery.com>
11073
c941736c
JM
11074 * include/features.h: Update comment documenting feature test
11075 macros.
11076 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11077 _DEFAULT_SOURCE.
11078 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11079 (_SVID_SOURCE): Likewise.
11080 (_DEFAULT_SOURCE): Update description of default features.
11081 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11082 with _GNU_SOURCE.
11083 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11084 (S_ISVTX): Likewise.
11085 * manual/math.texi (Mathematical Constants): Likewise.
11086 * manual/signal.texi (Interrupted Primitives): Likewise.
11087 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11088 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11089 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11090 Don't refer to _SVID_SOURCE in warning text.
11091
e8d8d7ec
JM
11092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11093
cb4a2928
JM
11094 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11095 already defined.
11096 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11097 * sysdeps/mips/dl-lookup.c: Remove.
11098 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11099
7e6424e3
AK
111002014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11101
11102 [BZ #16447]
11103 * math/auto-libm-test-in: Add testcase for expl.
11104 * math/auto-libm-test-out: Regenerate.
11105 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11106 calculation of unsafe.
11107 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11108
75eff3fe
MS
111092014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11110
11111 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11112 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11113 ports/sysdeps/unix/sysv/linux/aarch64.
11114 * README: Update listing for aarch64*-*-linux-gnu.
11115
d35f1e80
WN
111162014-02-11 Will Newton <will.newton@linaro.org>
11117
11118 * manual/probes.texi (Mathematical Function Probes): Use
11119 "triggered" instead of "hit".
11120
7b3436d4
WN
11121 * manual/probes.texi (Internal Probes): Add documentation
11122 of setjmp, longjmp and longjmp_target probes.
11123
b4f12ca3
WN
11124 * include/stap-probe.h: Add comment about probe argument
11125 format.
11126
c13a72b7
WN
11127 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11128 definition. (tr_where, tr_freehook, tr_mallochook,
11129 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11130
195b8165
DM
111312014-02-11 David S. Miller <davem@davemloft.net>
11132
11133 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11134 processing int_tests.
11135
2ad7600b
JM
111362014-02-10 Joseph Myers <joseph@codesourcery.com>
11137
11138 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11139 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11140 * sysdeps/unix/sysv/linux/mips: Move directory from
11141 ports/sysdeps/unix/sysv/linux/mips.
11142 * README: Update listing for mips-*-linux-gnu and
11143 mips64-*-linux-gnu.
11144
73588a72
AS
111452014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11146
11147 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11148 * sysdeps/unix/sysv/linux/m68k: Move directory from
11149 ports/sysdeps/unix/sysv/linux/m68k.
11150 * README: Update listing for m68k-*-linux-gnu.
11151
4372980f
CM
111522014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11153
11154 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11155 * sysdeps/unix/sysv/linux/generic: Move directory from
11156 ports/sysdeps/unix/sysv/linux/generic.
11157 * sysdeps/unix/sysv/linux/tile: Move directory from
11158 ports/sysdeps/unix/sysv/linux/tile.
11159 * README: Update listing for tile*-*-linux-gnu.
11160
a1ffb40e
OB
111612014-02-10 Ondřej Bílka <neleai@seznam.cz>
11162
57f41c40
AS
11163 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11164 __builtin_expect.
a1ffb40e
OB
11165 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11166 * catgets/open_catalog.c (__open_catalog): Likewise.
11167 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11168 * debug/confstr_chk.c: Likewise.
11169 * debug/fread_chk.c (__fread_chk): Likewise.
11170 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11171 * debug/getgroups_chk.c: Likewise.
11172 * debug/mbsnrtowcs_chk.c: Likewise.
11173 * debug/mbsrtowcs_chk.c: Likewise.
11174 * debug/mbstowcs_chk.c: Likewise.
11175 * debug/memcpy_chk.c: Likewise.
11176 * debug/memmove_chk.c: Likewise.
11177 * debug/mempcpy_chk.c: Likewise.
11178 * debug/memset_chk.c: Likewise.
11179 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11180 * debug/strcat_chk.c (__strcat_chk): Likewise.
11181 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11182 * debug/strncat_chk.c (__strncat_chk): Likewise.
11183 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11184 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11185 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11186 * debug/wcpncpy_chk.c: Likewise.
11187 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11188 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11189 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11190 * debug/wcsncpy_chk.c: Likewise.
11191 * debug/wcsnrtombs_chk.c: Likewise.
11192 * debug/wcsrtombs_chk.c: Likewise.
11193 * debug/wcstombs_chk.c: Likewise.
11194 * debug/wmemcpy_chk.c: Likewise.
11195 * debug/wmemmove_chk.c: Likewise.
11196 * debug/wmempcpy_chk.c: Likewise.
11197 * debug/wmemset_chk.c: Likewise.
11198 * dirent/scandirat.c (SCANDIRAT): Likewise.
11199 * dlfcn/dladdr1.c (dladdr1): Likewise.
11200 * dlfcn/dladdr.c (dladdr): Likewise.
11201 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11202 * dlfcn/dlerror.c (__dlerror): Likewise.
11203 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11204 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11205 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11206 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11207 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11208 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11209 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11210 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11211 Likewise.
11212 * elf/dl-conflict.c: Likewise.
11213 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11214 * elf/dl-dst.h: Likewise.
11215 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11216 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11217 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11218 * elf/dl-init.c (call_init, _dl_init): Likewise.
11219 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
11220 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11221 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11222 Likewise.
a1ffb40e
OB
11223 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11224 Likewise.
11225 * elf/dl-minimal.c (__libc_memalign): Likewise.
11226 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11227 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11228 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11229 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
11230 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11231 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
11232 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11233 * elf/dl-writev.h (_dl_writev): Likewise.
11234 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
11235 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11236 (dl_main): Likewise.
a1ffb40e
OB
11237 * elf/setup-vdso.h (setup_vdso): Likewise.
11238 * grp/compat-initgroups.c (compat_call): Likewise.
11239 * grp/fgetgrent.c (fgetgrent): Likewise.
11240 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11241 * grp/putgrent.c (putgrent): Likewise.
11242 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11243 Likewise.
11244 * hurd/hurdinit.c: Likewise.
11245 * iconvdata/8bit-gap.c (struct): Likewise.
11246 * iconvdata/ansi_x3.110.c : Likewise.
11247 * iconvdata/big5.c : Likewise.
11248 * iconvdata/big5hkscs.c : Likewise.
11249 * iconvdata/cp1255.c: Likewise.
11250 * iconvdata/cp1258.c : Likewise.
11251 * iconvdata/cp932.c : Likewise.
11252 * iconvdata/euc-cn.c: Likewise.
11253 * iconvdata/euc-jisx0213.c : Likewise.
11254 * iconvdata/euc-jp.c: Likewise.
11255 * iconvdata/euc-jp-ms.c : Likewise.
11256 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11257 * iconvdata/gb18030.c : Likewise.
11258 * iconvdata/gbbig5.c (const): Likewise.
11259 * iconvdata/gbgbk.c: Likewise.
11260 * iconvdata/gbk.c : Likewise.
11261 * iconvdata/ibm1364.c : Likewise.
11262 * iconvdata/ibm930.c : Likewise.
11263 * iconvdata/ibm932.c: Likewise.
11264 * iconvdata/ibm933.c : Likewise.
11265 * iconvdata/ibm935.c : Likewise.
11266 * iconvdata/ibm937.c : Likewise.
11267 * iconvdata/ibm939.c : Likewise.
11268 * iconvdata/ibm943.c: Likewise.
11269 * iconvdata/iso_11548-1.c: Likewise.
11270 * iconvdata/iso-2022-cn.c : Likewise.
11271 * iconvdata/iso-2022-cn-ext.c : Likewise.
11272 * iconvdata/iso-2022-jp-3.c: Likewise.
11273 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11274 * iconvdata/iso-2022-kr.c : Likewise.
11275 * iconvdata/iso646.c (gconv_end): Likewise.
11276 * iconvdata/iso_6937-2.c : Likewise.
11277 * iconvdata/iso_6937.c : Likewise.
11278 * iconvdata/iso8859-1.c: Likewise.
11279 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11280 * iconvdata/shift_jisx0213.c : Likewise.
11281 * iconvdata/sjis.c : Likewise.
11282 * iconvdata/t.61.c : Likewise.
11283 * iconvdata/tcvn5712-1.c : Likewise.
11284 * iconvdata/tscii.c: Likewise.
11285 * iconvdata/uhc.c : Likewise.
11286 * iconvdata/unicode.c (gconv_end): Likewise.
11287 * iconvdata/utf-16.c (gconv_end): Likewise.
11288 * iconvdata/utf-32.c (gconv_end): Likewise.
11289 * iconvdata/utf-7.c (base64): Likewise.
11290 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11291 * iconv/gconv_close.c (__gconv_close): Likewise.
11292 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
11293 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11294 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11295 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11296 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11297 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
11298 * iconv/iconv.c (iconv): Likewise.
11299 * iconv/iconv_close.c: Likewise.
11300 * iconv/loop.c (SINGLE): Likewise.
11301 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11302 * include/atomic.h: Likewise.
11303 * inet/inet6_option.c (option_alloc): Likewise.
11304 * intl/bindtextdom.c (set_binding_values): Likewise.
11305 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11306 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11307 * intl/localealias.c (read_alias_file): Likewise.
11308 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
11309 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11310 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
11311 * libio/fmemopen.c (fmemopen): Likewise.
11312 * libio/iofgets.c (_IO_fgets): Likewise.
11313 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11314 * libio/iofgetws.c (fgetws): Likewise.
11315 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11316 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
11317 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11318 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
11319 * locale/findlocale.c (_nl_find_locale): Likewise.
11320 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11321 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11322 Likewise.
11323 * locale/setlocale.c (setlocale): Likewise.
11324 * login/programs/pt_chown.c (main): Likewise.
11325 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11326 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
11327 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11328 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
11329 * math/e_exp2l.c: Likewise.
11330 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11331 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11332 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11333 * math/s_catan.c (__catan): Likewise.
11334 * math/s_catanf.c (__catanf): Likewise.
11335 * math/s_catanh.c (__catanh): Likewise.
11336 * math/s_catanhf.c (__catanhf): Likewise.
11337 * math/s_catanhl.c (__catanhl): Likewise.
11338 * math/s_catanl.c (__catanl): Likewise.
11339 * math/s_ccosh.c (__ccosh): Likewise.
11340 * math/s_ccoshf.c (__ccoshf): Likewise.
11341 * math/s_ccoshl.c (__ccoshl): Likewise.
11342 * math/s_cexp.c (__cexp): Likewise.
11343 * math/s_cexpf.c (__cexpf): Likewise.
11344 * math/s_cexpl.c (__cexpl): Likewise.
11345 * math/s_clog10.c (__clog10): Likewise.
11346 * math/s_clog10f.c (__clog10f): Likewise.
11347 * math/s_clog10l.c (__clog10l): Likewise.
11348 * math/s_clog.c (__clog): Likewise.
11349 * math/s_clogf.c (__clogf): Likewise.
11350 * math/s_clogl.c (__clogl): Likewise.
11351 * math/s_csin.c (__csin): Likewise.
11352 * math/s_csinf.c (__csinf): Likewise.
11353 * math/s_csinh.c (__csinh): Likewise.
11354 * math/s_csinhf.c (__csinhf): Likewise.
11355 * math/s_csinhl.c (__csinhl): Likewise.
11356 * math/s_csinl.c (__csinl): Likewise.
11357 * math/s_csqrt.c (__csqrt): Likewise.
11358 * math/s_csqrtf.c (__csqrtf): Likewise.
11359 * math/s_csqrtl.c (__csqrtl): Likewise.
11360 * math/s_ctan.c (__ctan): Likewise.
11361 * math/s_ctanf.c (__ctanf): Likewise.
11362 * math/s_ctanh.c (__ctanh): Likewise.
11363 * math/s_ctanhf.c (__ctanhf): Likewise.
11364 * math/s_ctanhl.c (__ctanhl): Likewise.
11365 * math/s_ctanl.c (__ctanl): Likewise.
11366 * math/w_pow.c: Likewise.
11367 * math/w_powf.c: Likewise.
11368 * math/w_powl.c: Likewise.
11369 * math/w_scalb.c (sysv_scalb): Likewise.
11370 * math/w_scalbf.c (sysv_scalbf): Likewise.
11371 * math/w_scalbl.c (sysv_scalbl): Likewise.
11372 * misc/error.c (error_tail): Likewise.
11373 * misc/pselect.c (__pselect): Likewise.
11374 * nis/nis_callback.c (__nis_create_callback): Likewise.
11375 * nis/nis_call.c (__nisfind_server): Likewise.
11376 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11377 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11378 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11379 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11380 * nis/nis_lookup.c (nis_lookup): Likewise.
11381 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
11382 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11383 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 11384 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
11385 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11386 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11387 * nis/nss_compat/compat-initgroups.c (add_group)
11388 (internal_getgrent_r): Likewise.
11389 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11390 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11391 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11392 (internal_getspnam_r): Likewise.
11393 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11394 (_nss_nis_getaliasbyname_r): Likewise.
11395 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11396 (_nss_nis_getntohost_r): Likewise.
11397 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11398 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11399 (_nss_nis_getgrgid_r): Likewise.
11400 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11401 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11402 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11403 (_nss_nis_gethostbyname4_r): Likewise.
11404 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11405 (initgroups_netid): Likewise.
a1ffb40e 11406 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
11407 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11408 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11409 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11410 (_nss_nis_getprotobynumber_r): Likewise.
11411 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11412 (_nss_nis_getsecretkey): Likewise.
11413 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11414 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11415 (_nss_nis_getpwuid_r): Likewise.
11416 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11417 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11418 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11419 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11420 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11421 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
11422 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11423 Likewise.
57f41c40
AS
11424 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11425 (_nss_nisplus_getntohost_r): Likewise.
11426 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11427 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11428 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11429 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 11430 Likewise.
57f41c40
AS
11431 * nis/nss_nisplus/nisplus-initgroups.c
11432 (_nss_nisplus_initgroups_dyn): Likewise.
11433 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11434 (_nss_nisplus_getnetbyaddr_r): Likewise.
11435 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11436 (_nss_nisplus_getprotobynumber_r): Likewise.
11437 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11438 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
11439 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11440 Likewise.
57f41c40
AS
11441 * nis/nss_nisplus/nisplus-service.c
11442 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11443 (_nss_nisplus_getservbyport_r): Likewise.
11444 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11445 (_nss_nisplus_getspnam_r): Likewise.
11446 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11447 Likewise.
a1ffb40e
OB
11448 * nscd/aicache.c (addhstaiX): Likewise.
11449 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
11450 * nscd/connections.c (register_traced_file, send_ro_fd)
11451 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11452 (main_loop_epoll): Likewise.
a1ffb40e
OB
11453 * nscd/grpcache.c (addgrbyX): Likewise.
11454 * nscd/hstcache.c (addhstbyX): Likewise.
11455 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11456 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
11457 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11458 (addinnetgrX): Likewise.
11459 * nscd/nscd-client.h (__nscd_acquire_maplock)
11460 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
11461 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11462 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11463 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11464 Likewise.
11465 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11466 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
11467 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11468 (__nscd_get_map_ref): Likewise.
a1ffb40e 11469 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
11470 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11471 Likewise.
a1ffb40e
OB
11472 * nscd/pwdcache.c (addpwbyX): Likewise.
11473 * nscd/selinux.c (preserve_capabilities): Likewise.
11474 * nscd/servicescache.c (addservbyX): Likewise.
11475 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11476 * posix/fnmatch.c (fnmatch): Likewise.
11477 * posix/getopt.c (_getopt_internal_r): Likewise.
11478 * posix/glob.c (glob, glob_in_dir): Likewise.
11479 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
11480 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11481 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
11482 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11483 * resolv/res_init.c: Likewise.
11484 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11485 * resolv/res_query.c (__libc_res_nquery): Likewise.
11486 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11487 Likewise.
11488 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11489 * stdio-common/perror.c (perror): Likewise.
11490 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11491 * stdio-common/tmpnam.c (tmpnam): Likewise.
11492 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11493 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
11494 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11495 Likewise.
a1ffb40e
OB
11496 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11497 * stdlib/putenv.c (putenv): Likewise.
11498 * stdlib/setenv.c (__add_to_environ): Likewise.
11499 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11500 * stdlib/strtol_l.c (INTERNAL): Likewise.
11501 * string/memmem.c (memmem): Likewise.
11502 * string/strerror.c (strerror): Likewise.
11503 * string/strnlen.c (__strnlen): Likewise.
11504 * string/test-memmem.c (simple_memmem): Likewise.
11505 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11506 * sunrpc/pm_getport.c (__get_socket): Likewise.
11507 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11508 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
11509 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11510 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
11511 Likewise.
11512 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11513 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11514 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11515 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11516 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
11517 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11518 Likewise.
11519 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11520 Likewise.
a1ffb40e
OB
11521 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11522 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11523 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11524 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11525 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11527 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11528 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11529 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11530 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11531 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11532 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11533 Likewise.
11534 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11535 Likewise.
11536 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11537 Likewise.
11538 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11539 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11540 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11541 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11542 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11543 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11544 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11545 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11546 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11547 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11548 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11549 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11550 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11551 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11552 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
11553 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11554 Likewise.
a1ffb40e
OB
11555 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11556 Likewise.
11557 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11558 Likewise.
11559 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11560 Likewise.
11561 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11562 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11563 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11564 Likewise.
11565 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11566 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11567 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11568 * sysdeps/posix/sleep.c: Likewise.
11569 * sysdeps/posix/tempname.c: Likewise.
11570 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11571 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11572 Likewise.
57f41c40
AS
11573 * sysdeps/powerpc/powerpc32/dl-machine.h
11574 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
11575 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11576 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11577 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11578 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11579 Likewise.
11580 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11581 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11582 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11583 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11584 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11585 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11586 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11587 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11588 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11589 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11590 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11591 (elf_machine_lazy_rel): Likewise.
a1ffb40e 11592 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11593 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11594 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11595 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11596 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11597 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11598 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11599 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11600 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11601 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11602 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11603 Likewise.
11604 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11605 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11606 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11607 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11608 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11609 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11610 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11611 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11612 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11613 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11614 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11615 Likewise.
11616 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11617 (__posix_fallocate64_l64): Likewise.
11618 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11619 (posix_fallocate): Likewise.
57f41c40
AS
11620 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11621 Likewise.
a1ffb40e 11622 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
11623 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11624 (getifaddrs_internal): Likewise.
a1ffb40e
OB
11625 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11626 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11627 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11628 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11629 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11630 (__posix_fallocate64_l64): Likewise.
11631 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11632 Likewise.
11633 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
11634 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11635 (__get_clockfreq): Likewise.
a1ffb40e
OB
11636 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11637 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11638 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11639 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11640 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11641 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11642 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11643 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11644 Likewise.
11645 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11646 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11647 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11648 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11649 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11650 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11651 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11652 Likewise.
11653 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11654 (posix_fallocate): Likewise.
11655 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11656 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11657 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11658 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11659 (elf_machine_rela, elf_machine_rela_relative)
11660 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11661 * time/asctime.c (asctime_internal): Likewise.
11662 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11663 * time/tzset.c (__tzset_parse_tz): Likewise.
11664 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11665 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11666 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11667 * wcsmbs/wcsmbsload.h: Likewise.
11668
f3d338c9
OB
11669 [BZ #15894]
11670 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11671
57f41c40
AS
11672 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11673 (arena_get2): Remove THREAD_STATS conditionals.
11674 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11675 (__malloc_stats, int): Likewise.
bdfe308a 11676
d674667c
MF
116772014-02-08 Mike Frysinger <vapier@gentoo.org>
11678
11679 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11680 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11681
6349768c
MF
11682 * manual/setjmp.texi: Fix typos/grammar errors.
11683
0b7c7473
MF
11684 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11685 Only return early when n is <= 0. Delete unused return statement.
11686
ac8cc9e3
MF
11687 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11688 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11689 * debug/tst-longjmp_chk3.c: New file.
11690
c5bb8e23
MF
11691 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11692 (test_main): Replace code with set_fortify_handler call.
11693 * debug/test-strcpy_chk.c: Likewise.
11694 * debug/tst-chk1.c: Likewise.
11695 * debug/tst-longjmp_chk.c: Likewise.
11696 * test-skeleton.c: Include fcntl.h & paths.h
11697 (set_fortify_handler): Define.
11698
10444e42
MF
11699 * debug/tst-longjmp_chk.c: Add header comment and include
11700 ../test-skeleton.c.
11701 (do_test): Mark static.
11702 (TEST_FUNCTION): Define.
11703
1e805e8d
MF
11704 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11705 (IP_PMTUDISC_INTERFACE): Likewise.
11706 (IP_MULTICAST_IF): Likewise.
11707 (IP_MULTICAST_TTL): Likewise.
11708 (IP_MULTICAST_LOOP): Likewise.
11709 (IP_ADD_MEMBERSHIP): Likewise.
11710 (IP_DROP_MEMBERSHIP): Likewise.
11711 (IP_UNBLOCK_SOURCE): Likewise.
11712 (IP_BLOCK_SOURCE): Likewise.
11713 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11714 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11715 (IP_MSFILTER): Likewise.
11716 (MCAST_JOIN_GROUP): Likewise.
11717 (MCAST_BLOCK_SOURCE): Likewise.
11718 (MCAST_UNBLOCK_SOURCE): Likewise.
11719 (MCAST_LEAVE_GROUP): Likewise.
11720 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11721 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11722 (MCAST_MSFILTER): Likewise.
11723 (IP_MULTICAST_ALL): Likewise.
11724 (IP_UNICAST_IF): Likewise.
11725
73f79bb7
MF
11726 * timezone/Makefile: Delete $(have-ksh) check.
11727 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11728 * timezone/tzselect.ksh: Add +x mode bits.
11729
8da79b60
MF
11730 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11731 (ANON_INODE_FS_MAGIC): Likewise.
11732 (BDEVFS_MAGIC): Likewise.
11733 (BINFMTFS_MAGIC): Likewise.
11734 (BTRFS_TEST_MAGIC): Likewise.
11735 (CRAMFS_MAGIC_WEND): Likewise.
11736 (DEBUGFS_MAGIC): Likewise.
11737 (ECRYPTFS_SUPER_MAGIC): Likewise.
11738 (EXT3_SUPER_MAGIC): Likewise.
11739 (EXT4_SUPER_MAGIC): Likewise.
11740 (FUTEXFS_SUPER_MAGIC): Likewise.
11741 (HOSTFS_SUPER_MAGIC): Likewise.
11742 (HUGETLBFS_MAGIC): Likewise.
11743 (MINIX3_SUPER_MAGIC): Likewise.
11744 (MTD_INODE_FS_MAGIC): Likewise.
11745 (NILFS_SUPER_MAGIC): Likewise.
11746 (OPENPROM_SUPER_MAGIC): Likewise.
11747 (PIPEFS_MAGIC): Likewise.
11748 (PSTOREFS_MAGIC): Likewise.
11749 (QNX6_SUPER_MAGIC): Likewise.
11750 (RAMFS_MAGIC): Likewise.
11751 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11752 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11753 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11754 (SECURITYFS_MAGIC): Likewise.
11755 (SELINUX_MAGIC): Likewise.
11756 (SMACK_MAGIC): Likewise.
11757 (SOCKFS_MAGIC): Likewise.
11758 (SQUASHFS_MAGIC): Likewise.
11759 (STACK_END_MAGIC): Likewise.
11760 (TMPFS_MAGIC): Likewise.
11761 (USBDEVICE_SUPER_MAGIC): Likewise.
11762 (V9FS_MAGIC): Likewise.
11763 (XENFS_SUPER_MAGIC): Likewise.
11764 (CRAMFS_MAGIC): Fix typo in comment.
11765 (EXT2_SUPER_MAGIC): Update comment.
11766 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11767
464263cc
JM
117682014-02-08 Joseph Myers <joseph@codesourcery.com>
11769
c6bfe5c4
JM
11770 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11771 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11772 * sysdeps/unix/sysv/linux/arm: Move directory from
11773 ports/sysdeps/unix/sysv/linux/arm.
11774 * README: Update listing for arm-*-linux-gnueabi.
11775
464263cc
JM
11776 * README: Remove mention of am33.
11777
32749f6c
RM
117782014-02-07 Roland McGrath <roland@hack.frob.com>
11779
11780 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11781 than the comma operator, to avoid "rhs of comma has no effect"
11782 compiler warnings.
11783 (__sigfillset, __sigandset, __sigorset): Likewise.
11784 * include/signal.h (__sigemptyset): Likewise.
11785 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11786
d5b396c1
AM
117872014-02-07 Allan McRae <allan@archlinux.org>
11788
11789 * version.h (RELEASE): Set to "development".
11790 (VERSION): Set to "2.19.90"
11791 * NEWS: Add 2.20 section.
11792
3bfff2ed
CD
117932014-02-06 Carlos O'Donell <carlos@redhat.com>
11794
11795 [BZ #16529]
11796 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11797
ee7cc385
SP
117982014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11799
11800 * manual/contrib.texi: Update entry for Carlos O'Donell,
11801 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11802
f877c4f2
CD
118032014-02-05 Carlos O'Donell <carlos@rehdat.com>
11804
27e839f6
CD
11805 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11806
f877c4f2
CD
11807 * sysdeps/unix/sysv/linux/kernel-features.h
11808 [__LINUX_KERNEL_VERSION >= 0x020621]
11809 (__ASSUME_PROC_PID_TASK_COMM): Define.
11810
68159946
SP
118112014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11812
ba17cdbd
SP
11813 [BZ #16398]
11814 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11815 conversion when destination buffer does not have enough space.
11816 * libio/tst-ftell-partial-wide.c: New test case.
11817 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11818
68159946
SP
11819 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11820 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11821 Leonard and Allan McRae.
11822
2b528732
DM
118232014-02-04 David S. Miller <davem@davemloft.net>
11824
11825 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11826 32-bit.
11827
0ff82463
AZ
118282014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11829
57f41c40
AS
11830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11831 New file
c01603f7
AZ
11832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11833 New file
57f41c40
AS
11834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11835 New file.
11836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11837 New file.
c01603f7
AZ
11838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11839 New file.
57f41c40
AS
11840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11841 New file.
11842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11843 New file.
c01603f7
AZ
11844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11845 New file.
11846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11847 New file.
11848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11849 New file.
11850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11851 New file.
11852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11853 New file.
11854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11855 New file.
11856
118572014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11858
0ff82463
AZ
11859 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11860 * shlib-versions: Likewise.
11861
1695c773
AZ
118622014-02-04 Roland McGrath <roland@hack.frob.com>
11863 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11864
11865 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11866 (abilist-pattern): New variable, set to %-le.abilist.
11867
11868 * Makerules (abilist-pattern): New variable.
11869 (vpath): Use $(abilist-pattern) in place of %.abilist.
11870 (check-abi-% pattern rule): Likewise.
11871 (check-abi, update-abi): Likewise.
11872
6c0ce4b4
EW
118732014-02-04 Eric Wong <normalperson@yhbt.net>
11874
11875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11876
481e3524
CD
118772014-02-03 Carlos O'Donell <carlos@redhat.com>
11878
11879 * manual/startup.texi: Add next, previous, and top entries for
11880 the `Program Arguments' and `Environment Variables' nodes.
11881
375592d3
AO
118822014-02-03 Alexandre Oliva <aoliva@redhat.com>
11883
11884 * manual/macros.texi: Add comments before MTASC-safety macros.
11885
f54838ba
AO
11886 * manual/users.texi: Document MTASC-safety properties.
11887
57f41c40
AS
11888 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11889 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
11890 @deftypefun, and add @safety note.
11891 * manual/signal.texi: Move comments that analyze the above
11892 functions to their home place.
11893
fd3daba4
AM
118942014-02-03 Allan McRae <allan@archlinux.org>
11895
11896 * po/sl.po: Update Slovenian translation from translation project.
11897
597636d7
AO
118982014-02-02 Alexandre Oliva <aoliva@redhat.com>
11899
11900 * manual/time.texi (timegm): Add missing blank after @c.
11901 Reported by Joseph Myers <joseph@codesourcery.com>.
11902
ee196e3c
AO
119032014-02-01 Alexandre Oliva <aoliva@redhat.com>
11904
11905 * manual/check-safety.sh: New.
11906 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11907
f8d529d5
AO
11908 * manual/terminal.texi: Document MTASC-safety properties.
11909
de55fdf4
AO
11910 * manual/filesys.texi: Document MTASC-safety properties.
11911
c3299c08
AO
11912 * manual/errno.texi: Document MTASC-safety properties.
11913
06e90b14
AO
11914 * manual/intro.texi: Document safety identifiers and
11915 conditionals.
11916
1acd4371
AO
11917 * manual/string.texi (wcstok): Fix prototype.
11918 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11919
23e5b8cb
AO
11920 * manual/time.texi: Document MTASC-safety properties.
11921
11087373
AO
11922 * manual/string.texi: Document MTASC-safety properties.
11923
5da2c93d
AO
11924 * manual/threads.texi: Document MTASC-safety properties.
11925
171e9210
AO
11926 * manual/stdio.texi: Document MTASC-safety properties.
11927
d9e02532
AO
11928 * manual/syslog.texi: Document MTASC-safety properties.
11929
6af8bab7
AO
11930 * manual/sysinfo.texi: Document MTASC-safety properties.
11931
663b02d7
AO
11932 * manual/startup.texi: Document MTASC-safety properties.
11933
973f180b
AO
11934 * manual/socket.texi: Document MTASC-safety properties.
11935
8f3c25c8
AO
11936 * manual/signal.texi: Document MTASC-safety properties.
11937
542210fb
AO
119382014-01-31 Alexandre Oliva <aoliva@redhat.com>
11939
11940 * manual/setjmp.texi: Document MTASC-safety properties.
11941
433c45a2
AO
11942 * manual/search.texi: Document MTASC-safety properties.
11943
c8ce789c
AO
11944 * manual/resource.texi: Document MTASC-safety properties.
11945
19f5d29c
AO
11946 * manual/process.texi: Document MTASC-safety properties.
11947
e2dfb7f4
AO
11948 * manual/platform.texi: Document MTASC-safety properties.
11949
8c1413f5
AO
11950 * manual/pipe.texi: Document MTASC-safety properties.
11951
03483ada
AO
11952 * manual/pattern.texi: Document MTASC-safety properties.
11953
29e7e2df
AO
11954 * manual/message.texi: Document MTASC-safety properties.
11955
9f529d7c
AO
11956 [BZ #12751]
11957 * manual/memory.texi: Document MTASC-safety properties.
11958
27aaa791
AO
11959 * manual/math.texi: Document MTASC-safety properties.
11960
f2d58726
AO
11961 * manual/locale.texi: Document MTASC-safety properties.
11962
2cc3615c
AO
11963 * manual/llio.texi: Document MTASC-safety properties.
11964
d9f0ec97
AO
11965 * manual/libdl.texi: New.
11966
e7c4409a
AO
11967 * manual/lang.texi: Document MTASC-safety properties.
11968
27bdc63c
AO
11969 * manual/job.texi: Document MTASC-safety properties.
11970
a7b90ea9
AO
11971 * manual/getopt.texi: Document MTASC-safety properties.
11972
c49130e3
AO
11973 * manual/ctype.texi: Document MTASC-safety properties.
11974
0d23a5c1
MR
119752014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11976
11977 [BZ #16046]
11978 * csu/libc-tls.c (static_map): Remove variable.
11979 (__libc_setup_tls): Use main executable's link map for TLS data.
11980 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11981 casing for LM_ID_BASE and GL(dl_nns).
11982 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11983 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11984 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11985 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11986 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11987 member.
11988 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11989 l_phnum members.
11990
0037bb60
AO
119912014-01-30 Alexandre Oliva <aoliva@redhat.com>
11992
11993 * manual/debug.texi: Document MTASC-safety properties.
11994
409e00bd
L
119952014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11996
11997 [BZ #16510]
11998 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11999 of __x86_64__ when disabling x87 inline functions.
12000
86e60666
AO
120012014-01-29 Alexandre Oliva <aoliva@redhat.com>
12002
12003 * manual/charset.texi: Document MTASC-safety properties.
12004
76167637
AO
12005 * manual/crypt.texi: Document MTASC-safety properties.
12006
e567f2a0
AO
12007 * manual/conf.texi: Document MTASC-safety properties.
12008
b719dafd
AO
12009 * manual/arith.texi: Document MTASC-safety properties.
12010
4a16c662
AO
12011 * manual/argp.texi: Document MTASC-safety properties.
12012
0a57b83e
AO
12013 * manual/macros.texi: Introduce macros to document multi
12014 thread, asynchronous signal and asynchronous cancellation
12015 safety properties.
12016 * manual/intro.texi: Introduce the properties themselves.
12017
feab2397
KK
120182014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12019
12020 * sysdeps/sh/sh4/Makefile: New file.
12021
1c0d11bc
AS
120222014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12023
12024 * math/gen-libm-test.pl ($srcdir): New variable.
12025 ($auto_input): Use it.
12026
af37a8a3
SP
120272014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12028
d7b00f98
SP
12029 [BZ #16506]
12030 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12031 access beyond array bounds when parsing netgroups file.
12032
af37a8a3
SP
12033 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12034 the old buffer before realloc.
12035
0c00f062
AM
120362014-01-27 Allan McRae <allan@archlinux.org>
12037
12038 * po/fr.po: Update French translation from translation project.
12039
7d69a1b0
KK
120402014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12041
12042 * sysdeps/sh/libm-test-ulps: Regenerate.
12043
6e697ff7
DM
120442014-01-24 David S. Miller <davem@davemloft.net>
12045
12046 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12047
9cadb35c
KK
120482014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12049
12050 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12051 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12052
5d41dadf
SP
120532013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12054
12055 [BZ #16474]
12056 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12057 string pointers after reallocation.
12058
0bad441c
KK
120592014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12060
12061 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12062 __SH4A__ instead of __SH_FPU_ANY__.
12063
7007c661
KK
120642014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12065
12066 * sysdeps/sh/fpu_control.h: New file.
12067 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12068 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12069 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12070 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12071 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12072 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12073 * sysdeps/sh/sys/ucontext.h: Remove.
12074 * sysdeps/sh/sys: Remove directory.
12075
0f0c35e4
AK
120762014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12077
12078 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12079 s390/sys/ucontext.h.
12080 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12081 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12082
4959e284
L
120832014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12084
12085 [BZ #15605]
12086 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12087
d98720e0
AZ
120882014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12089
12090 [BZ#16431]
12091 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12092 Adjust the vDSO correctly for internal calls.
12093 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12094
91cbd0bc
AM
120952014-01-20 Allan McRae <allan@archlinux.org>
12096
12097 * po/ca.po: Update Catalan translation from translation project.
12098
7a02cfad
MF
120992014-01-16 Mike Frysinger <vapier@gentoo.org>
12100
12101 * sysdeps/s390/sotruss-lib.c: New file.
12102
736c304a
AZ
121032014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12104
12105 [BZ#16430]
6e077ee5 12106 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
12107 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12108 local calls issues by not having a PLT stub required for IFUNC calls.
12109 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12110
94d0cea0
JM
121112014-01-16 Joseph Myers <joseph@codesourcery.com>
12112
12113 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12114 * math/test-fpucw-static.c: Likewise.
12115
980cb518
SP
121162013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12117
12118 [BZ #16453]
12119 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12120
2393fc01
AZ
121212014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12122
12123 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12124 implementation for powerpc.
12125
d359bcc2
OB
121262014-01-15 Ondřej Bílka <neleai@seznam.cz>
12127
12128 [BZ #14782]
12129 * sysdeps/posix/system.c (__libc_system): Do not enable
12130 asynchronous cancellation.
12131
7beb48cb
AK
121322014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12133
12134 [BZ #16427]
12135 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12136 handling only for numbers special also in the IEEE case.
12137
c20d5bf5
AK
121382014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12139
12140 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12141
e83bd4ee
AM
121422014-01-11 Allan McRae <allan@archlinux.org>
12143
76d0ea69
AM
12144 * po/bg.po: Update Bulgarian translation from translation project.
12145
e83bd4ee
AM
12146 * po/de.po: Update German translation from translation project.
12147
bc2ba20a
RM
121482014-01-10 Roland McGrath <roland@hack.frob.com>
12149
12150 * sysdeps/generic/gcc-compat.h: New file.
12151
649ecea2
SP
121522014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12153
12154 * benchtests/asin-inputs: Correct slow inputs.
12155 * benchtests/acos-inputs: Likewise.
12156
1b19c006
AM
121572014-01-10 Allan McRae <allan@archlinux.org>
12158
a46dab08
AM
12159 * po:sv.po: Update Swedish translation from translation project.
12160
421df74a
AM
12161 * po/vi.po: Update Vietnamese translation from translation project.
12162
d61c51a7
AM
12163 * po/eo.po: Update Esperanto translation from translation project.
12164
0339a319
AM
12165 * po/cs.po: Update Czech translation from translation project.
12166
94ad3e99
AM
12167 * po/nl.po: Update Dutch translation from translation project.
12168
e349ca71
AM
12169 * po/pl.po: Update Polish translation from translation project.
12170
ddf930c1
AM
12171 * po/ru.po: Update Russian translation from translation project.
12172
1b19c006
AM
12173 * po/uk.po: Update Ukrainian translation from translation project.
12174
9f236c49
BM
121752014-01-08 Brooks Moses <bmoses@google.com>
12176
12177 * elf/dl-load.c: Fix comment typo.
12178
cd6701cf
CD
121792014-01-08 Carlos O'Donell <carlos@redhat.com>
12180
12181 * po/header.pot: Rename to...
12182 * po/pot.header: ... this.
12183 * po/Makefile: Use pot.header.
12184
66671c84
YK
121852014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12186 Maxim Kuvyrkov <maxim@kugelworks.com>
12187
12188 [BZ #16394]
cd6701cf
CD
12189 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12190 SRC and DEST against LEN.
66671c84 12191
38f34581
AZ
121922014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12193
12194 [BZ #16414]
12195 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12196 implementation.
12197 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12198
121992014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
12200
12201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12202
4c327f2a
JM
122032014-01-08 Joseph Myers <joseph@codesourcery.com>
12204
12205 [BZ #16408]
12206 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12207 for large positive arguments.
12208
b821f414
JM
122092014-01-07 Joseph Myers <joseph@codesourcery.com>
12210
1f0f2067
JM
12211 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12212
a5a326f6
JM
12213 * math/auto-libm-test-in: Mark various tests with
12214 xfail-rounding:ldbl-128ibm.
12215 * math/auto-libm-test-out: Regenerated.
12216
b821f414
JM
12217 [BZ #16407]
12218 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12219 Increase overflow threshold.
12220
94c8a4bc
OB
122212014-01-07 Ondřej Bílka <neleai@seznam.cz>
12222
12223 [BZ #14286]
12224 * stdio-common/vfprintf.c: Check for integer overflow.
12225
87ded0c3
AK
122262014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12227
12228 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12229 the first argument and return value of __tls_get_addr_internal.
12230
c5eebdd0
AK
122312014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12232
12233 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12234 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12235
05d138ef
AK
122362014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12237
12238 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12239 * sysdeps/s390/rtld-global-offsets.sym: New file.
12240 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12241 GLIBC_2.19 symbol.
12242 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12243 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12244 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12245 ... this.
12246 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12247 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12248 ... this.
12249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12250 Regenerate.
12251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12252 Regenerate.
12253 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12254 halfs of GPRs for high_gprs contexts.
12255 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12256 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12257 field.
12258 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12259 uc_flags field.
12260 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12261 64 bit versions:
12262 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12263 for high GPRs (uc_high_gprs) and for future extensions
12264 (__reserved).
12265 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12266 for future extensions (__reserved).
12267 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12268 64 bit versions:
12269 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12270 SC_HIGHGPRS offset definition.
12271 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12272 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12273
93a45ff1
AK
12274 * Versions.def: Add GLIBC_2.19 for libpthread.
12275 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12276 siglongjmp for libpthread with GLIBC_2.19 symver.
12277 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12278 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12279 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12280 * sysdeps/s390/__longjmp.c: New file.
12281 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12282 * sysdeps/s390/longjmp.c: New file.
12283 * sysdeps/s390/setjmp.S: New file.
12284 * sysdeps/s390/sigjmp.S: New file.
12285 * sysdeps/s390/v1-longjmp.c: New file.
12286 * sysdeps/s390/v1-setjmp.h: New file.
12287 * sysdeps/s390/v1-sigjmp.c: New file.
12288 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12289 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12290 GLIBC_2.19 version.
12291 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12292 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12293 versioned symbols for ____longjmp_chk.
12294 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12295 Likewise.
12296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12297 Regenerate.
12298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12299 Regenerate.
12300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12301 Regenerate.
12302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12303 Regenerate.
12304 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12305 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12306 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12307 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12308 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12309 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12310 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12311 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12312 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12313 * sysdeps/s390/rtld-__longjmp.c: New file.
12314 * sysdeps/s390/rtld-setjmp.S: New file.
12315
eb3fc44b
JM
123162014-01-06 Joseph Myers <joseph@codesourcery.com>
12317
12318 [BZ #16400]
12319 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12320 Return -__logl (x) for small positive arguments without evaluating
12321 a polynomial.
12322
9341dde4
MF
123232014-01-06 Mike Frysinger <vapier@gentoo.org>
12324
12325 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12326 Rename to ...
12327 (__ptrace_peeksiginfo_args): ... this.
12328 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12329 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12330 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12331
4cff0293
AM
123322014-01-06 Allan McRae <allan@archlinux.org>
12333
12334 * inet/netinet/in.h: Fix typo in comment.
12335
75595dcf
AJ
123362014-01-05 Andreas Jaeger <aj@suse.de>
12337
12338 * sysdeps/i386/fpu/libm-test-ulps: Update.
12339
79c1e109
AM
123402014-01-05 Allan McRae <allan@archlinux.org>
12341
dd804818
AM
12342 * po/libc.pot: Regenerated.
12343
79c1e109
AM
12344 * malloc/memusagestat.c: Fix gettext call formatting.
12345
0c813d1f
SK
123462014-01-04 Sami Kerola <kerolasa@iki.fi>
12347
12348 * nscd/nscd.c: Improve usage() output.
12349
20f4a8d9
MF
123502014-01-04 Mike Frysinger <vapier@gentoo.org>
12351
12352 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12353 * sysdeps/unix/sysv/linux/configure: Regenerated.
12354 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12355 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12356
22562bb2
JM
123572014-01-03 Joseph Myers <joseph@codesourcery.com>
12358
12359 [BZ #16390]
12360 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12361 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12362
d7ad2d9b
AZ
123632014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12364
12365 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12366 extra tokens at end of #undef directive.
12367 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12368 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12369 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12370
7dd009d8
JM
123712014-01-03 Joseph Myers <joseph@codesourcery.com>
12372
24db925a
JM
12373 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12374
7dd009d8
JM
12375 * math/auto-libm-test-in: Mark various tests with
12376 xfail-rounding:ldbl-128ibm.
12377 * math/auto-libm-test-out: Regenerated.
12378
396e3ecf
JM
123792014-01-02 Joseph Myers <joseph@codesourcery.com>
12380
819e5d50
JM
12381 [BZ #16386]
12382 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12383 numbers with subnormal high part when calculating exponent.
12384
90b6a1e5
JM
12385 [BZ #16385]
12386 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12387 fabs.
12388
396e3ecf
JM
12389 [BZ #16384]
12390 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12391 M_LN2l.
12392 (__ieee754_acoshl): Use __log1pl not __log1p.
12393
6c8dbf00
OB
123942013-01-02 Ondřej Bílka <neleai@seznam.cz>
12395
57f41c40
AS
12396 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12397 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12398 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12399 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12400 (reused_arena, arena_get2): Convert to GNU style.
12401 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12402 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12403 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 12404 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
12405 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12406 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12407 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12408 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12409 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12410 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 12411 * malloc/malloc.h: Likewise.
57f41c40
AS
12412 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12413 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 12414 * malloc/mcheck.h: Likewise.
57f41c40
AS
12415 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12416 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
12417 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12418 * malloc/morecore.c (__default_morecore): Likewise.
12419 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
12420 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12421 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12422 (print_and_abort): Likewise.
6c8dbf00
OB
12423 * malloc/obstack.h: Likewise.
12424 * malloc/set-freeres.c (__libc_freeres): Likewise.
12425 * malloc/tst-mallocstate.c (main): Likewise.
12426 * malloc/tst-mtrace.c (main): Likewise.
12427 * malloc/tst-realloc.c (do_test): Likewise.
12428
d4124212
SP
124292013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12430
9a3c6a6f
SP
12431 [BZ #16366]
12432 * nscd/netgroupcache.c (do_notfound): New function.
12433 (addgetnetgrentX): Use it.
12434
d4124212
SP
12435 [BZ # 16365]
12436 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12437 NSS_STATUS_NOTFOUND.
12438
97b9a009
JM
124392014-01-01 Joseph Myers <joseph@codesourcery.com>
12440
12441 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12443
d4697bc9
AM
124442014-01-01 Allan McRae <allan@archlinux.org>
12445
ddb3687f
AM
12446 * scripts/update-copyrights: Update configure input file suffix.
12447
88726d48
AM
12448 * NEWS: Update copyright year.
12449 * catgets/gencat.c: Likewise.
12450 * csu/version.c: Likewise.
12451 * debug/catchsegv.sh: Likewise.
12452 * debug/pcprofiledump.c: Likewise.
12453 * debug/xtrace.sh: Likewise.
12454 * elf/ldconfig.c: Likewise.
12455 * elf/ldd.bash.in: Likewise.
12456 * elf/pldd.c: Likewise.
12457 * elf/sotruss.ksh: Likewise.
12458 * elf/sprof.c: Likewise.
12459 * iconv/iconv_prog.c: Likewise.
12460 * iconv/iconvconfig.c: Likewise.
12461 * locale/programs/locale.c: Likewise.
12462 * locale/programs/localedef.c: Likewise.
12463 * login/programs/pt_chown.c: Likewise.
12464 * malloc/memusage.sh: Likewise.
12465 * malloc/memusagestat.c: Likewise.
12466 * malloc/mtrace.pl: Likewise.
12467 * manual/libc.texinfo: Likewise.
12468 * nscd/nscd.c: Likewise.
12469 * nss/getent.c: Likewise.
12470 * nss/makedb.c: Likewise.
12471 * posix/getconf.c: Likewise.
12472 * scripts/test-installation.pl: Likewise.
12473
d4697bc9
AM
12474 * All files with FSF copyright notices: Update copyright dates
12475 using scripts/update-copyrights.
12476 * intl/plural.c: Regenerated.
12477 * locale/programs/charmap-kw.h: Likewise.
12478 * locale/programs/locfile-kw.h: Likewise.
12479
c8590f9d
MF
124802013-12-31 Mike Frysinger <vapier@gentoo.org>
12481
12482 * sysdeps/unix/sysv/linux/configure: Regenerated.
12483 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12484 the linux/fanotify.h header.
12485 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12486 HAVE_LINUX_FANOTIFY_H is defined.
12487
b19221b9
SP
124882013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12489
dd1d85e5
SP
12490 * benchtests/cos-inputs: New inputs.
12491 * benchtests/sin-inputs: Likewise.
12492
1acbb90f
SP
12493 * benchtests/atan-inputs: New inputs. Fix name of multiple
12494 precision fallback inputs.
12495
4c012ed3
SP
12496 * benchtests/atanh-inputs: New inputs.
12497 * benchtests/tanh-inputs: Likewise.
12498
eff98324
SP
12499 * benchtests/acosh-inputs: New inputs.
12500 * benchtests/asinh-inputs: Likewise.
12501
ce641152
SP
12502 * benchtests/cosh-inputs: New inputs.
12503 * benchtests/sinh-inputs: Likewise.
12504
b19221b9
SP
12505 * benchtests/acos-inputs: Add more inputs.
12506 * benchtests/asin-inputs: Likewise.
12507
030a4976 125082013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 12509
030a4976 12510 [BZ #16375]
9dcc8f11
VS
12511 * manual/arith.texi: Fix spelling.
12512 * manual/charset.texi: Likewise.
12513 * manual/errno.texi: Likewise.
12514 * manual/filesys.texi: Likewise.
12515 * manual/lang.texi: Likewise.
12516 * manual/llio.texi: Likewise.
12517 * manual/locale.texi: Likewise.
12518 * manual/message.texi: Likewise.
12519 * manual/resource.texi: Likewise.
12520 * manual/search.texi: Likewise.
12521 * manual/setjmp.texi: Likewise.
12522 * manual/stdio.texi: Likewise.
12523 * manual/string.texi: Likewise.
12524 * manual/sysinfo.texi: Likewise.
12525 * manual/time.texi: Likewise.
12526
11520a57
CD
125272013-12-27 Carlos O'Donell <carlos@redhat.com>
12528
12529 * po/sl.po: New file.
12530
471103ae
MF
125312013-12-27 Mike Frysinger <vapier@gentoo.org>
12532
12533 * .gitignore: Add core/.gdbinit/.gdb_history.
12534
6c9642ed
AM
125352013-12-27 Allan McRae <allan@archlinux.org>
12536
12537 [BZ #16369]
12538 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12539 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12540
3f637079
BM
125412013-12-24 Brooks Moses <bmoses@google.com>
12542
12543 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12544 all compilers that claim C++98 compliance, not just GCC.
12545 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12546 Likewise.
12547
abc26e99
MK
125482013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12549
12550 * NEWS: Restore accidentally deleted bug-fix entries.
12551
362b47fe
MK
125522013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12553 Ondřej Bílka <neleai@seznam.cz>
12554
12555 [BZ #15073]
12556 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 12557 have_lock.
362b47fe 12558
b9bcbbcb
OB
125592013-12-23 Ondřej Bílka <neleai@seznam.cz>
12560
12561 [BZ #12986]
12562 * manual/stdio.texi (String Input Conversions): Clarify that character
12563 classes are not supported.
12564
fb55fcd2
AZ
125652013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12566
12567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12568
ef7344f0
JM
125692013-12-22 Joseph Myers <joseph@codesourcery.com>
12570
4f40e4b3
JM
12571 [BZ #16337]
12572 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12573 Calculate results for small negative arguments directly rather
12574 than using reflection formula with special underflow handling.
12575
ef7344f0
JM
12576 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12577 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12578 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12579 (fchflags): Likewise.
12580 (revoke): Likewise.
12581 (setlogin): Likewise.
12582 (sigaltstack): Likewise.
12583 (wait4): Likewise.
12584 (sigblock): Remove.
12585 (sigsetmask): Likewise.
12586 (wait3): Likewise.
12587 (waitpid): Likewise.
12588 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12589 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12590 file.
12591 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12592 * sysdeps/unix/bsd/Makefile: ... here.
12593 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12594 * sysdeps/unix/bsd/Versions: ... here.
12595 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12596 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12597 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12598 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12599 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12600 * sysdeps/unix/bsd/sigblock.c: ... here.
12601 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12602 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12603 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12604 * sysdeps/unix/bsd/sigvec.c: ... here.
12605 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12606 * sysdeps/unix/bsd/tcdrain.c: ... here.
12607 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12608 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12609 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12610 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12611 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12612 * sysdeps/unix/bsd/wait.c: ... here.
12613 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12614 * sysdeps/unix/bsd/wait3.c: ... here.
12615 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12616 * sysdeps/unix/bsd/waitpid.c: ... here.
12617
5b0626b9
JM
126182013-12-21 Joseph Myers <joseph@codesourcery.com>
12619
12620 [BZ #16356]
12621 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12622 round-to-nearest for [!USE_AS_EXPM1L].
12623 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12624 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12625 more tests of exp and exp10. Expect some exp10 tests to miss
12626 exceptions or fail in directed rounding modes.
12627 * math/auto-libm-test-out: Regenerated.
12628 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12629 (exp10_test_tonearest): New function.
12630 (exp10_towardzero_test_data): New array.
12631 (exp10_test_towardzero): New function.
12632 (exp10_downward_test_data): New array.
12633 (exp10_test_downward): New function.
12634 (exp10_upward_test_data): New array.
12635 (exp10_test_upward): New function.
12636 (main): Call the new functions.
12637 * sysdeps/i386/fpu/libm-test-ulps: Update.
12638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12639
7fda5682
JM
126402013-12-20 Joseph Myers <joseph@codesourcery.com>
12641
31e3a405
JM
12642 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12643 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12644 * math/auto-libm-test-out: Regenerated.
12645 * math/libm-test.inc (acosh_test_data): Add more tests.
12646 (atanh_test_data): Likewise.
12647 (ceil_test_data): Likewise.
12648 (copysign_test_data): Likewise.
12649 * sysdeps/i386/fpu/libm-test-ulps: Update.
12650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12651
85bff96a
JM
12652 * timezone/checktab.awk: Update from tzcode 2013i.
12653 * timezone/private.h: Likewise.
12654 * timezone/scheck.c: Likewise.
12655 * timezone/tzfile.h: Likewise.
12656 * timezone/tzselect.ksh: Likewise.
12657 * timezone/zdump.c: Likewise.
12658 * timezone/zic.c: Likewise.
12659
b7867a3b
JM
12660 * math/auto-libm-test-in: Add tests of cpow.
12661 * math/auto-libm-test-out: Regenerated.
12662 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 12663 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
12664 mpc_cc_c.
12665 (func_calc_desc): Add mpc_cc_c union field.
12666 (test_functions): Add cpow.
12667 (special_fill_2pi): New function.
12668 (special_real_inputs): Add 2pi.
12669 (calc_generic_results): Handle mpc_cc_c.
12670 * sysdeps/i386/fpu/libm-test-ulps: Update.
12671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12672
7fda5682
JM
12673 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12674 csqrt, ctan and ctanh.
12675 * math/auto-libm-test-out: Regenerated.
12676 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12677 (TEST_COND_x86): Likewise.
12678 (ccos_test_data): Use AUTO_TESTS_c_c.
12679 (ccosh_test_data): Likewise.
12680 (cexp_test_data): Likewise.
12681 (clog_test_data): Likewise.
12682 (csqrt_test_data): Likewise.
12683 (ctan_test_data): Likewise.
12684 (ctan_tonearest_test_data): Likewise.
12685 (ctan_towardzero_test_data): Likewise.
12686 (ctan_downward_test_data): Likewise.
12687 (ctan_upward_test_data): Likewise.
12688 (ctanh_test_data): Likewise.
12689 (ctanh_tonearest_test_data): Likewise.
12690 (ctanh_towardzero_test_data): Likewise.
12691 (ctanh_downward_test_data): Likewise.
12692 (ctanh_upward_test_data): Likewise.
12693 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12694 mpc_c_c.
12695 (func_calc_desc): Add mpc_c_c union field.
12696 (FUNC_mpc_c_c): New macro.
12697 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12698 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12699 ctanh.
12700 (special_fill_min_subnorm_p120): New function.
12701 (special_real_inputs): Add min_subnorm_p120.
12702 (calc_generic_results): Handle mpc_c_c.
12703 * sysdeps/i386/fpu/libm-test-ulps: Update.
12704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12705
5ff8d60e
SP
127062013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12707
57f41c40
AS
12708 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12709 (do_sin_slow): New functions.
12710 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12711 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 12712
84ba214c
SP
12713 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12714 Use M to change sign of result instead of X. Assume X is
12715 positive.
12716 (csloww1): Likewise.
12717 (__sin): Adjust.
12718 (__cos): Adjust.
12719
975195e4
SP
12720 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12721 arguments A and DA.
12722 (__sin): Adjust.
12723 (__cos): Likewise.
12724
5ff8d60e
SP
12725 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12726 (__cos): Likewise.
12727 (sloww1): Don't adjust sign of DX.
12728 (csloww1): Likewise.
12729 (sloww2): Use X directly and don't adjust sign of DX.
12730 (csloww2): Likewise.
12731
eb983568
JM
127322013-12-19 Joseph Myers <joseph@codesourcery.com>
12733
64a17f1a
JM
12734 * math/auto-libm-test-in: Add tests of cabs and carg.
12735 * math/auto-libm-test-out: Regenerated.
12736 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12737 (carg_test_data): Likewise.
12738 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12739 mpc_c_f.
12740 (func_calc_desc): Add mpc_c_f union field.
12741 (test_functions): Add cabs and carg.
12742 (calc_generic_results): Handle mpc_c_f.
12743
eb983568
JM
12744 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12745 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12746 as a macro and a compat symbol.
12747 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12748 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12749 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12750 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12751 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12752 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12753 not use .hidden.
12754 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12755 Likewise.
12756 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12757 Likewise.
12758 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12759 Likewise.
12760 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12761 Likewise.
12762 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12763 Likewise.
12764 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12765 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12766 from GLIBC_2.3.2.
12767
6eeb678a
AZ
127682013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12769
12770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12771
6f6fc482
JM
127722013-12-19 Joseph Myers <joseph@codesourcery.com>
12773
21fea2e2
JM
12774 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12775 trailing whitespace removed.
12776 * scripts/config.guess: Update to version 2013-11-29.
12777 * scripts/config.sub: Update to version 2013-10-01.
12778
6f6fc482
JM
12779 * math/auto-libm-test-in: Add tests of sincos.
12780 * math/auto-libm-test-out: Regenerated.
12781 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12782 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12783 mpfr_f_11.
12784 (func_calc_desc): Add mpfr_f_11 union field.
12785 (test_functions): Add sincos.
12786 (calc_generic_results): Handle mpfr_f_11.
12787 * sysdeps/i386/fpu/libm-test-ulps: Update.
12788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12789
83f5c32d
AS
127902013-12-19 Andreas Schwab <schwab@suse.de>
12791
12792 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12793 CALL_MCOUNT.
12794 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12795 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12796 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12797
c688b419
JM
127982013-12-19 Joseph Myers <joseph@codesourcery.com>
12799
335ee092
JM
12800 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12801 * sysdeps/i386/fpu/libm-test-ulps: Update.
12802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12803
f88acd39
JM
12804 [BZ #16293]
12805 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12806 round-to-nearest mode when using frndint.
12807 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12808 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12809 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12810 Likewise.
12811 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12812 sinh test to fail.
12813 * math/auto-libm-test-out: Regenerated.
12814 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12815 (TEST_COND_x86): Likewise.
12816 (expm1_tonearest_test_data): New array.
12817 (expm1_test_tonearest): New function.
12818 (expm1_towardzero_test_data): New array.
12819 (expm1_test_towardzero): New function.
12820 (expm1_downward_test_data): New array.
12821 (expm1_test_downward): New function.
12822 (expm1_upward_test_data): New array.
12823 (expm1_test_upward): New function.
12824 (main): Run the new test functions.
12825 * sysdeps/i386/fpu/libm-test-ulps: Update.
12826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12827
c688b419
JM
12828 * include/features.h: Update comment documenting feature test
12829 macros. Mention _DEFAULT_SOURCE in comment.
12830 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12831 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12832 _BSD_SOURCE and _SVID_SOURCE.
12833 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12834 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12835 !_SVID_SOURCE]: Likewise.
12836 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12837 (__USE_POSIX_IMPLICITLY): Define.
12838 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12839 (_POSIX_SOURCE): Undefine and redefine.
12840 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12841 (_POSIX_C_SOURCE): Likewise.
12842 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12843 (Feature Test Macros): Update documentation of default features.
12844
9f6e964c
RS
128452013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12846
12847 * benchtests/Makefile: Add bench-strtok.
12848 * benchtests/bench-strtok.c: New file: strtok benchtest.
12849
ee0a148a
AM
128502013-12-19 Allan McRae <allan@archlinux.org>
12851
12852 * manual/install.texi: Suppress menu for plain text output.
12853 * INSTALL: Regenerated.
12854
b9ab448f
BM
128552013-12-18 Brooks Moses <bmoses@google.com>
12856
12857 [BZ #15846]
12858 * misc/getauxval.c: Include errno.h.
12859 (__getauxval): Set errno to ENOENT if the requested type is not
12860 found.
12861 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12862 don't declare with __attribute_const__.
12863 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12864 * manual/startup.texi: Document that getauxval sets errno.
12865
23776487
JM
128662013-12-18 Joseph Myers <joseph@codesourcery.com>
12867
f889953b
JM
12868 * math/auto-libm-test-in: Add tests of jn and yn.
12869 * math/auto-libm-test-out: Regenerated.
12870 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12871 (yn_test_data): Likewise.
12872 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12873 mpfr_if_f.
12874 (func_calc_desc): Add mpfr_if_f union field.
12875 (FUNC_mpfr_if_f): New macro.
12876 (test_functions): Add jn and yn.
12877 (calc_generic_results): Assert type of second input for
12878 mpfr_ff_f. Handle mpfr_if_f.
12879 (output_for_one_input_case): Disable all checking for arguments
12880 fitting floating-point types in case of an integer argument.
12881 * sysdeps/i386/fpu/libm-test-ulps: Update.
12882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12883
23776487
JM
12884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12885 Don't expect fegetround reference in libm.so.
12886
cb756c6d
MS
128872013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12888
12889 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12890 $(config-cflags-nofma).
12891
2dec468f
JM
128922013-12-18 Joseph Myers <joseph@codesourcery.com>
12893
5953eb3a
JM
12894 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12895 * math/auto-libm-test-out: Regenerated.
12896
2dec468f
JM
12897 [BZ #16338]
12898 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12899 to determine exponent and adjust argument to have exponent of -1.
12900 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12901 log2.
12902 * math/auto-libm-test-out: Regenerated.
12903 * sysdeps/i386/fpu/libm-test-ulps: Update.
12904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12905
4d84e6ad
OB
129062013-12-18 Ondřej Bílka <neleai@seznam.cz>
12907
12908 * manual/probes.texi: Remove cases when per-thread arenas are
12909 disabled.
12910
1818483b
AS
129112013-12-18 Andreas Schwab <schwab@suse.de>
12912
12913 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12914 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12915 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12916 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12917 * sysdeps/i386/i686/multiarch/Makefile: Update.
12918 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12919
25de95bf
JM
129202013-12-17 Joseph Myers <joseph@codesourcery.com>
12921
12922 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12923 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12924
674762d9
PE
129252013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12926
ed27ed83 12927 [BZ #15968]
0748546f
PE
12928 Support TZ transition times < 00:00:00.
12929 This is needed for version-3 tz-format files; it supports time
12930 stamps past 2037 for America/Godthab (the only entry in the tz
12931 database for which this change is relevant).
12932 * manual/time.texi (TZ Variable): Document transition times
12933 from -167:59:59 through -00:00:01.
12934 * time/tzset.c (tz_rule): Time of day is now signed.
12935 (__tzset_parse_tz): Parse negative time of day.
12936
4480e934
PE
12937 Document TZ transition times >= 25:00:00.
12938 * manual/time.texi (TZ Variable): Document transition times from
12939 25:00:00 through 167:59:59. These are already supported, and this
12940 support will help with version-3 tz-format files.
12941
69947401
PE
12942 * manual/time.texi (TZ Variable): Modernize North America example
12943 to reflect current (i.e., 2007-and-later) daylight saving rules.
12944
674762d9
PE
12945 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12946
7011c262
JM
129472013-12-17 Joseph Myers <joseph@codesourcery.com>
12948
2fc6557e
JM
12949 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12950 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12951 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12952 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12953 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12954 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12955 * sysdeps/unix/bsd/clock.c: Likewise.
12956 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12957 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12958 * sysdeps/unix/bsd/init-posix.c: Likewise.
12959 * sysdeps/unix/bsd/poll.c: Likewise.
12960 * sysdeps/unix/bsd/ptsname.c: Likewise.
12961 * sysdeps/unix/bsd/seekdir.c: Likewise.
12962 * sysdeps/unix/bsd/setegid.c: Likewise.
12963 * sysdeps/unix/bsd/seteuid.c: Likewise.
12964 * sysdeps/unix/bsd/setgid.c: Likewise.
12965 * sysdeps/unix/bsd/setrgid.c: Likewise.
12966 * sysdeps/unix/bsd/setruid.c: Likewise.
12967 * sysdeps/unix/bsd/setsid.c: Likewise.
12968 * sysdeps/unix/bsd/setuid.c: Likewise.
12969 * sysdeps/unix/bsd/sigaction.c: Likewise.
12970 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12971 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12972 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12973 * sysdeps/unix/bsd/telldir.c: Likewise.
12974 * sysdeps/unix/bsd/times.c: Likewise.
12975 * sysdeps/unix/bsd/usleep.c: Likewise.
12976
029c7b25
JM
12977 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12978 ($(objpfx)libbsd-compat.a): Remove rule.
12979
7011c262
JM
12980 * include/features.h (__FAVOR_BSD): Do not define.
12981 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12982 features conflicting with POSIX.
12983 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12984 (_BSD_SOURCE): Remove description of not being a subset of other
12985 feature test macros.
12986 * manual/job.texi (getpgrp): Do not document BSD version.
12987 (getpgid): Do not document by reference to BSD getpgrp.
12988 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12989 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12990 * signal/signal.h [__FAVOR_BSD]: Likewise.
12991 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12992 instead of making contents conditional on [__FAVOR_BSD].
12993 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12994
affb6f78
AZ
129952013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12996
12997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12998
c88769dd
JM
129992013-12-17 Joseph Myers <joseph@codesourcery.com>
13000
6432a540
JM
13001 [BZ #16314]
13002 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13003 values below 2**-450, not 2**-500.
13004 * math/auto-libm-test-in: Don't allow spurious underflow from
13005 hypot.
13006 * math/auto-libm-test-out: Regenerated.
13007
c88769dd
JM
13008 [BZ #16316]
13009 [BZ #16330]
13010 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13011 values of ha and hb and sort them after adjusting subnormal
13012 arguments.
13013 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13014 Likewise.
13015 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13016 values of ea and eb and sort them after adjusting subnormal
13017 arguments.
13018 * math/auto-libm-test-in: Do not expect some hypot tests of
13019 subnormals to fail. Add more hypot tests.
13020 * math/auto-libm-test-out: Regenerated.
13021
29618f6b
KK
130222013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13023
13024 [BZ #13304]
13025 * sysdeps/sh/s_fma.c: New file.
13026 * sysdeps/sh/s_fmaf.c: New file.
13027 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13028 version.
13029 * sysdeps/sh/Implies: Add sh/soft-fp.
13030
eacfdfbf
RM
130312013-12-16 Roland McGrath <roland@hack.frob.com>
13032
13033 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13034 level of indirection to members `objname', `errstring', `malloced'.
13035 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13036 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13037 it as the __longjmp argument (just pass 1 instead).
13038 (_dl_catch_error): Initialize C with argument pointers and address of
13039 volatile local ERRCODE rather than copying values out of C at return.
13040
ff362e5b
JM
130412013-12-16 Joseph Myers <joseph@codesourcery.com>
13042
13043 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13044 * math/auto-libm-test-out: Regenerated.
13045 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13046 (hypot_test_data): Likewise.
13047 (pow_test_data): Likewise.
13048 (pow_tonearest_test_data): Likewise.
13049 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13050 mpfr_ff_f.
13051 (func_calc_desc): Add mpfr_ff_f union field.
13052 (FUNC_mpfr_ff_f): New macro.
13053 (test_functions): Add atan2, hypot and pow.
13054 (special_fill_min): New function.
13055 (special_fill_minus_min): Likewise.
13056 (special_fill_min_subnorm): Likewise.
13057 (special_fill_minus_min_subnorm): Likewise.
13058 (special_real_inputs): Add min, -min, min_subnorm and
13059 -min_subnorm.
13060 (calc_generic_results): Handle mpfr_ff_f.
13061 * sysdeps/i386/fpu/libm-test-ulps: Update.
13062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13063
5764c27f
WN
130642013-12-16 Will Newton <will.newton@linaro.org>
13065
13066 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13067 (Aligned Memory Blocks): Add documentation for aligned_alloc
13068 and suggest it as an alternative to posix_memalign.
13069 (Hooks for Malloc): Document __memalign_hook is also called
13070 for aligned_alloc. (Summary of Malloc): Add summary for
13071 aligned alloc. Document __memalign_hook is also called
13072 for aligned_alloc.
13073
0a096e44
WN
130742013-12-16 Will Newton <will.newton@linaro.org>
13075
13076 * manual/memory.texi (Malloc Examples): Clarify default
13077 alignment documentation. Suggest posix_memalign rather
13078 than memalign or valloc.
13079 (Aligned Memory Blocks): Remove suggestion to use memalign
13080 or valloc. Remove obsolete comment about BSD.
13081 Document memalign errno values and mark the function obsolete.
13082 Document posix_memalign returned error codes. Mark valloc
13083 as obsolete. (Hooks for Malloc): __memalign_hook is also
13084 called for posix_memalign and valloc.
13085 (Summary of Malloc): Add posix_memalign to function summary.
13086 __memalign_hook is also called for posix_memalign and valloc.
13087
8d561986
SP
130882013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13089
13090 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13091 TAYLOR_SIN.
13092 (__sin): Adjust.
13093 (__cos): Likewise.
13094 (sloww): Use mynumber union. Expand ternary operator into
13095 if-else statements.
13096 (cslow): use mynumber union.
13097
73616a74
AM
130982013-12-16 Allan McRae <allan@archlinux.org>
13099
9e8ac24b
AM
13100 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13101 * configure: Regenerated.
13102
6f8e37eb
AM
13103 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13104
8894bad3
AM
13105 [BZ #14120]
13106 * configure.ac: Added --enable-maintainer-mode. Check for
13107 autoconf when enabled.
13108 * configure: Regenerated.
13109
73616a74
AM
13110 * nscd/nscd.service: New file.
13111 * nscd/nscd.tmpfiles: New file.
13112
584b18eb
OB
131132013-12-14 Ondřej Bílka <neleai@seznam.cz>
13114
13115 [BZ #12100]
13116 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13117 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13118 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13119 (strstr): Add __strstr_sse2_unaligned ifunc.
13120 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13121 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13122 (strcasestr): Remove __strcasestr_sse42 ifunc.
13123 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13126
8a5c7897
KK
131272013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13128
13129 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13130 * sysdeps/sh/bits/fenv.h: ... here.
13131 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13132
fd712ef3
AZ
131332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13134
13135 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13136
42fcb46c
AZ
13137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13138 hypotf multiarch implementations.
13139 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13140 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13141 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13142 multiarch hypot for PPC64.
13143 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13144 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13145 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13146 multiarch hypotf for PPC64.
13147
83efded4
AZ
13148 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13149 modff multiarch implementations.
13150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13153 multiarch modf for PPC64.
13154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13157 multiarch modff for PPC64.
13158
43e246d2
AZ
13159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13160 and logl multiarch implementations.
13161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13164 multiarch logb for PPC64.
13165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13168 multiarch logb for PPC64.
13169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13172 multiarch logb for PPC64.
13173
8fdad123
AZ
13174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13175 isinff multiarch implementation.
13176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13177 file.
13178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13180 multiarch isinf for PPC64.
13181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13182 file.
13183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13184 multiarch isinff for PPC64.
13185
1481d706
AZ
13186 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13187 finitef multiarch implementation.
13188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13189 file.
13190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13192 multiarch finite for PPC64.
13193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13194 file.
13195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13196 multiarch finitef for PPC64.
13197
5ccd5fc8
AZ
13198 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13199 lrint multiarch implementation.
13200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13201 file.
13202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13204 multiarch llrint for PPC64.
13205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13206 multiarch lrint for PPC64.
13207
2568f3fa
AZ
13208 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13209 copysignf multiarch implementation.
13210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13211 file.
13212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13213 file.
13214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13215 multiarch copysign for PPC64.
13216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13217 multiarch copysignf for PPC64.
13218
1cb341fd
AZ
13219 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13220 multiarch implementation.
13221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13222 file.
13223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13224 file.
13225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13226 file.
13227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13228 file.
13229 multiarch llround for PPC64.
13230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13231 multiarch trunc for PPC64.
13232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13233 multiarch truncf for PPC64.
13234
59a3e194
AZ
13235 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13236 multiarch implementation.
13237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13238 file.
13239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13240 file.
13241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13242 file.
13243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13244 file.
13245 multiarch llround for PPC64.
13246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13247 multiarch round for PPC64.
13248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13249 multiarch roundf for PPC64.
13250
357fd3b4
AZ
13251 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13252 multiarch implementation.
13253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13254 file.
13255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13256 file.
13257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13258 file.
13259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13260 file.
13261 multiarch llround for PPC64.
13262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13263 multiarch floor for PPC64.
13264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13265 multiarch floorf for PPC64.
13266
96770f12
AZ
13267 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13268 multiarch implementation.
13269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13270 file.
13271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13272 file.
13273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13274 file.
13275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13276 file.
13277 multiarch llround for PPC64.
13278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13279 multiarch ceil for PPC64.
13280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13281 multiarch ceilf for PPC64.
13282
c3627f6e
AZ
13283 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13284 multiarch implementation.
13285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13286 file.
13287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13288 file.
13289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13290 file.
13291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13292 multiarch llround for PPC64.
13293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13294 multiarch lround for PPC64.
13295
b2284ad7
AZ
13296 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13297 multiarch implementation.
13298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13301 file.
13302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13305 multiarch isnan for PPC64.
13306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13307 multiarch isnanf for PPC64.
13308
69bbc63d
AZ
13309 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13310 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13311 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13312 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13313 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13315
c24517c9
AZ
13316 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13317 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13318 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13319 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13320
a52374e8
AZ
13321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13322 multiarch implementations.
13323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13324 (__libc_ifunc_impl_list): Likewise.
13325 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13326 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13327 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13328 multiarch stpcpy for PPC64.
13329
7f5ec113
AZ
13330 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13331 multiarch implementations.
13332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13333 (__libc_ifunc_impl_list): Likewise.
13334 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13335 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13336 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13337 multiarch strcpy for PPC64.
13338
e28bcd42
AZ
13339 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13340 redefine function name.
13341 (_wordcopy_fwd_dest_aligned): Likewise.
13342 (_wordcopy_bwd_aligned): Likewise.
13343 (_wordcopy_bwd_dest_aligned): Likewise.
13344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13345 multiarch implementations.
13346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13347 (__libc_ifunc_impl_list): Likewise.
13348 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13349 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13350 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13351 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13352 multiarch wcscpy for PPC64.
13353
92cacfce
AZ
13354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13355 multiarch implementations.
13356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13357 (__libc_ifunc_impl_list): Likewise.
13358 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13359 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13360 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13361 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13362 multiarch wcscpy for PPC64.
13363
7b714620
AZ
13364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13365 multiarch implementations.
13366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13367 (__libc_ifunc_impl_list): Likewise.
13368 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13369 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13370 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13371 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13372 multiarch wcsrchr for PPC64.
13373
16fd2ae3
AZ
13374 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13375 multiarch implementations.
13376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13377 (__libc_ifunc_impl_list): Likewise.
13378 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13379 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13380 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13381 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13382 multiarch wcschr for PPC64.
13383
9ee2969b
AZ
13384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13385 multiarch implementations.
13386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13387 (__libc_ifunc_impl_list): Likewise.
13388 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13389 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13390 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13391 multiarch strchrnul for PPC64.
13392
372dc060
AZ
13393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13394 implementations.
13395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13396 (__libc_ifunc_impl_list): Likewise.
13397 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13398 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13399 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13400 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13401 strchr for PPC64.
13402
24c2c3b9
AZ
13403 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13404 implementations.
13405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13406 (__libc_ifunc_impl_list): Likewise.
13407 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13408 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13409 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13410 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13411 strncmp for PPC64.
13412
1c92d9a0
AZ
13413 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13414 multiarch implementations.
13415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13416 (__libc_ifunc_impl_list): Likewise.
13417 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13418 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13419 strncasecmp for PPC64.
13420 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13421 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13422 multiarch strncasecmp_l for PPC64.
13423
17de3ee3
AZ
13424 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13425 multiarch implementations.
13426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13427 (__libc_ifunc_impl_list): Likewise.
13428 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13429 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13430 multiarch strcasecmp for PPC64.
13431 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13432 file.
13433 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13434 multiarch strcasecmp_l for PPC64.
13435
62982bf9
AZ
13436 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13437 implementations.
13438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13439 (__libc_ifunc_impl_list): Likewise.
13440 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13441 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13442 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13443 strnlen for PPC64.
13444
a65f4904
AZ
13445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13446 implementations.
13447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13448 (__libc_ifunc_impl_list): Likewise.
13449 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13450 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13451 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13452 strlen for PPC64.
13453
1fd005ad
AZ
13454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13455 implementations.
13456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13457 (__libc_ifunc_impl_list): Likewise.
13458 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13459 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13460 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13461 rawmemrchr for PPC64.
13462
cd05ba91
AZ
13463 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13464 implementation.
13465 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13466 (__libc_ifunc_impl_list): Likewise.
13467 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13468 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13469 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13470 memrchr for PPC64.
13471
870f8676
AZ
13472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13473 implementation.
13474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13475 (__libc_ifunc_impl_list): Likewise.
13476 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13477 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13478 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13479 memchr for PPC64.
13480
f00be62b
AZ
13481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13482 implementation.
13483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13484 (__libc_ifunc_impl_list): Likewise.
13485 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13486 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13487 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13488 mempcpy for PPC64.
13489
8a29a3d0
AZ
13490 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13491 avoid cretion of __bzero symbol.
13492 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13493 Likewise.
13494 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13495 Likewise.
13496 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13497 Likewise.
13498 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13499 multiarch implementations.
13500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13501 (__libc_ifunc_impl_list): Likewise.
13502 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13503 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13504 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13505 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13506 bzero for PPC32.
13507 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13508 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13509 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13510 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13511 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13512 memset for PPC64.
13513 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13514
07253fcf
AZ
13515 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13517 implementations.
13518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13519 (__libc_ifunc_impl_list): Likewise.
13520 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13521 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13522 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13523 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13524 memcmp for PPC64.
13525
b5beafbc
AZ
13526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13527 multiarch for POWER/PPC64.
13528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13529 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13530 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13531 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13532 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13533 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13534 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13535 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13536 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13537 memcpy for PPC64.
13538
5e6a4d4b
AZ
13539 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13540 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13541 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13542 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13543 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13544 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13545 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13546 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13547 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13548 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13549 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13550 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13551 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13552 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13553 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13561
ddfab6dc
KK
135622013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13563
13564 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13565
19b5525e
SP
135662013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13567
13568 * benchtests/Makefile (bench): Add exp2 and log2.
13569 (LDLIBS-bench-exp2): Add -lm.
13570 (LDLIBS-bench-log2): Likewise.
13571 * benchtests/exp2-inputs: New inputs file.
13572 * benchtests/log2-inputs: New inputs file.
13573 * benchtests/log-inputs: Add new inputs.
13574 * benchtests/tan-inputs: Likewise.
13575
196f7f5d
SP
135762013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13577
7a74607f
SP
13578 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13579 definition...
57f41c40
AS
13580 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13581 (csloww2): ... from here.
7a74607f 13582
196f7f5d
SP
13583 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13584 instead of structures.
13585 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13586 (POLYNOMIAL): Likewise.
13587 (TAYLOR_SLOW): Likewise.
13588 (__sin): Likewise.
13589 (__cos): Likewise.
13590 (slow1): Likewise.
13591 (slow2): Likewise.
13592 (sloww): Likewise.
13593 (sloww1); Likewise.
13594 (sloww2): Likewise.
13595 (bsloww1): Likewise.
13596 (bsloww2): Likewise.
13597 (cslow2): Likewise.
13598 (csloww): Likewise.
13599 (csloww1): Likewise.
13600 (csloww2): Likewise.
13601
0dfa665c
OB
136022013-12-10 Ondřej Bílka <neleai@seznam.cz>
13603
13604 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
13605 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13606 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
13607 * malloc/hooks.c (realloc_check): Likewise.
13608
5782a80f
OB
13609 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13610 * malloc/arena.c: Remove PER_THREAD conditional.
13611 [!PER_THREAD]: Remove code.
13612 (ptmalloc_unlock_all2): Likewise.
13613 (ptmalloc_init): Likewise.
13614 (_int_new_arena): Likewise.
13615 (arena_get2): Likewise.
13616 * malloc/hooks.c (__malloc_get_state): Likewise.
13617 (__malloc_set_state): Likewise.
13618 * malloc/malloc.c: Likewise.
13619 (struct malloc_state): Likewise.
13620 (struct malloc_par): Likewise.
13621 (__libc_realloc): Likewise.
13622 (__libc_mallopt): Likewise.
13623
aeb95445
AZ
136242013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13625
13626 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13627
e8349efd
OB
136282013-12-09 Ondřej Bílka <neleai@seznam.cz>
13629
13630 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13631 macro to a function. Check for zero perturb_byte.
13632 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13633
f3eeb3fc 13634 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
13635 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13636 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
13637 force_reg by atomic_forced_read.
13638 * malloc/arena.c (ptmalloc_init): Likewise.
13639 * malloc/hooks.c (top_check): Likewise.
13640
be2f9009
AZ
136412013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13642
13643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13644
e7b914bd
MT
136452013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13646
13647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13648
9f0be4f8
JM
136492013-12-08 Joseph Myers <joseph@codesourcery.com>
13650
13651 * math/auto-libm-test-in: Add tests of lgamma.
13652 * math/auto-libm-test-out: Regenerated.
13653 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13654 (M_LOG_2_SQRT_PIl): Likewise.
13655 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13656 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13657 mpfr_f_f1.
13658 (func_calc_desc): Add mpfr_f_f1 union field.
13659 (ARGS1): New macro.
13660 (ARGS2): Likewise.
13661 (ARGS3): Likewise.
13662 (ARGS4): Likewise.
13663 (RET1): Likewise.
13664 (RET2): Likewise.
13665 (CALC): Likewise.
13666 (FUNC): Likewise.
13667 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13668 (test_functions): Add lgamma.
13669 (calc_generic_results): Handle mpfr_f_f1.
13670 * sysdeps/i386/fpu/libm-test-ulps: Update.
13671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13672
24eeafdb
AZ
136732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13674
13675 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13676 __mpn_add_n for PowerPC64/POWER7.
13677 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13678 __mpn_sub_n for PowerPC64/POWER7.
13679
4a2c0fd4
AZ
13680 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13681 __mpn_addmul_1 for PowerPC64.
13682 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13683 __mpn_submul_1 for PowerPC64.
13684 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13685 for PowerPC64.
13686 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13687 for PowerPC64.
13688
4b5b548c
FS
136892013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13690
13691 [BZ #15089]
13692 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13693
0a3ac0aa
AZ
136942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13695
13696 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13697
ccdc8438
AZ
13698 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13699 add multiarch folders.
13700 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13701 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13702 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13703 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13704 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13705 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13706 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13707 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13708 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13709 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13710 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13717
2e973d99
AZ
13718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13719 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13721 New file.
13722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13723 New file.
13724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13725 multiarch __ieee754_hypot for PowerPC32.
13726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13727 New file.
13728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13729 New file.
13730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13731 multiarch __ieee754_hypotf for PowerPC32.
13732
2d9470b2
AZ
13733 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13734 long_double_symbol only if __logbl is defined.
13735 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13736 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13737 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13738 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13739 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13740 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13741 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13742 path for implementation.
13743 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13744 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13746 logb, and logbl multiarch implementations for PowerPC32.
13747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13748 file.
13749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13750 file.
13751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13752 multiarch logb for PowerPC32.
13753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13754 file.
13755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13756 file.
13757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13758 multiarch logbf for PowerPC32.
13759 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13761 file.
13762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13763 multiarch logbl implementation for PowerPC32.
13764
5212ffce
AZ
13765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13766 and modff multiarch implementations.
13767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13768 New file.
13769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13770 New file.
13771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13772 multiarch modf for PowerPC32.
13773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13774 New file.
13775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13776 New file.
13777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13778 multiarch modff for PowerPC32.
13779
79dccf31
AZ
13780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13781 and lrintf multiarch implementations.
13782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13783 New file.
13784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13785 New file.
13786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13787 multiarch lrint for PowerPC32.
13788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13789 file: multiarch lrintf for PowerPC32.
13790
deb66480
AZ
13791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13792 and lroundf multiarch implementations.
13793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13794 New file.
13795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13796 New file.
13797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13798 New file.
13799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13800 multiarch lround for PowerPC32.
13801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13802 file: multiarch lroundf for PowerPC32.
13803
264b036b
AZ
13804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13805 copysign and copysignf multiarch implementations.
13806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13807 New file.
13808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13809 New file.
13810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13811 file: multiarch copysign for PowerPC32.
13812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13813 file: multiarch copysignf for PowerPC32.
13814
d47db6c9
AZ
13815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13816 and truncf multiarch implementations.
13817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13818 New file.
13819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13820 file.
13821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13822 multiarch trunc for PowerPC32.
13823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13824 New file.
13825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13826 New file.
13827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13828 multiarch truncf for PowerPC32.
13829
ddb60b5a
AZ
13830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13831 and roundf multiarch implementations.
13832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13833 New file.
13834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13835 file.
13836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13837 multiarch round for PowerPC32.
13838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13839 New file.
13840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13841 New file.
13842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13843 multiarch roundf for PowerPC32.
13844
bedcf49b
AZ
13845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13846 and floorf multiarch implementations.
13847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13848 New file.
13849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13850 file.
13851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13852 multiarch floor for PowerPC32.
13853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13854 New file.
13855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13856 New file.
13857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13858 multiarch floorf for PowerPC32.
13859
35ae5b40
AZ
13860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13861 and ceilf multiarch implementations.
13862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13863 New file.
13864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13865 file.
13866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13867 multiarch ceil for PowerPC32.
13868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13869 New file.
13870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13871 file.
13872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13873 multiarch ceilf for PowerPC32.
13874
ae1a4cd9
AZ
13875 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13876 is defined.
13877 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13878 FINITEF is defined.
13879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13880 and finitef multiarch implementations.
13881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13882 New file.
13883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13884 file.
13885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13886 multiarch finite for PowerPC32.
13887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13888 New file.
13889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13890 file: multiarch finitef for PowerPC32.
13891
64fffd65
AZ
13892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13893 and isinff multiarch implementations.
13894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13895 file.
13896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13897 file.
13898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13899 multiarch isinf for PowerPC32.
13900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13901 New file.
13902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13903 multiarch isinff for PowerPC32.
13904
8e4e7ba2
AZ
13905 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13906 alias when __isnan is defined.
13907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13908 and isnanf multiarch implementations.
13909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13910 file.
13911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13912 file.
13913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13914 file.
13915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13916 file.
13917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13918 multiarch isnan for PowerPC32.
13919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13920 New file.
13921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13922 New file.
13923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13924 multiarch isnanf for PowerPC32.
13925
ddba588e
AZ
13926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13927 and sqrtf multiarch implementations.
13928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13929 file.
13930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13931 file.
13932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13933 multiarch sqrt for PowerPC32.
13934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13935 file.
13936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13937 file.
13938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13939 multiarch sqrtf for PowerPC32.
13940
0f96a2f0
AZ
13941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13942 and llroundf multiarch implementations.
13943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13944 New file.
13945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13946 New file.
13947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13948 New file.
13949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13950 file: multiarch llround for PowerPC32.
13951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13952 file: multiarch llroundf for PowerPC32.
13953
c9b5d79e
AZ
13954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13955 multiarch PowerPC32 fpu implementations.
13956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13957 New file.
13958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13959 New file.
13960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13961 multiarch llrint for PowerPC32.
13962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13963 New file.
13964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13965 New file.
13966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13967 file.
13968
9cbb3aab
AZ
13969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13970
ea5a72f8
AZ
13971 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13972 file.
13973 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13974 file.
13975 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13976 file.
13977 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13978 multiarch wordcopy for PPC32.
13979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13980 wordcopy objects.
13981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13982 (__libc_ifunc_impl_list): Likewise.
13983 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13984 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13985 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13986 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13987 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13988 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13989
93be09e7
AZ
13990 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13991 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13992 file.
13993 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13994 file.
13995 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13996 file.
13997 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13998 multiarch wcscpy for PPC32.
13999 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14000 multiarch objects.
14001 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14002 (__libc_ifunc_impl_list): Likewise.
14003 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14004 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14005 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14006 sysdeps/powerpc/power6/wcscpy.c.
14007
bb04e529
AZ
14008 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14009 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14010 file.
14011 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14012 file.
14013 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14014 file.
14015 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14016 multiarch wcsrchr for PPC32.
14017 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14018 multiarch objects.
14019 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14020 (__libc_ifunc_impl_list): Likewise.
14021 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14022 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14023 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14024 sysdeps/powerpc/power6/wcsrchr.c.
14025
05b5cd1c
AZ
14026 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14027 file.
14028 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14029 file.
14030 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14031 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14032 multiarch wcschr for PPc32.
14033 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14034 multiarch objects.
14035 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14036 (__libc_ifunc_impl_list): Likewise.
14037 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14038 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14039 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14040 sysdeps/powerpc/power6/wcschr.c.
14041
ba964147
AZ
14042 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14043 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14044 file.
14045 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14046 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14047 file: multiarch strchr for PPC32.
14048 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14049 multiarch objects.
14050 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14051 (__libc_ifunc_impl_list): Likewise.
14052
31c81aaa
AZ
14053 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14054 name.
14055 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14056 file.
14057 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14058 file.
14059 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14060 multiarch strchrnul for PPC32.
14061 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14062 multiarch objects.
14063 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14064 (__libc_ifunc_impl_list): Likewise.
14065
0d0607d9
AZ
14066 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14067 file.
14068 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14069 multiarch strncasecmp for PPC32.
14070 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14071 file.
14072 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14073 multiarch strncasecmp_l for PPC32.
14074 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14075 strncasecmp multiarch objects.
14076 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14077 (__libc_ifunc_impl_list): Likewise.
14078
4dfd5c86
AZ
14079 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14080 file.
14081 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14082 multiarch strncasecmp for PPC32.
14083 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14084 New file.
14085 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14086 multiarch strcasecmp_l for PPC32.
14087 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14088 multiarch objects.
14089 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14090 (__libc_ifunc_impl_list): Likewise.
14091
a19e01a3
AZ
14092 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14093 file.
14094 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14095 file.
14096 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14097 multiarch strncmp for PPC32.
14098 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14099 multiarch objects.
14100 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14101 (__libc_ifunc_impl_list): Likewise.
14102
ae9cf7a2
AZ
14103 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14104 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14105 file.
14106 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14107 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14108 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14109 multiarch objects.
14110 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14111 (__libc_ifunc_impl_list): Likewise.
14112
3148bb7d
AZ
14113 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14114 file.
14115 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14116 file.
14117 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14118 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14119 multiarch objects.
14120 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14121 (__libc_ifunc_impl_list): Likewise.
14122
7af8b946
AZ
14123 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14124 file.
14125 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14126 file.
14127 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14128 multiarch rawmemchr for PPC32.
14129 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14130 multiarch objects.
14131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14132 (__libc_ifunc_impl_list): Likewise.
14133
03a6aa6a
AZ
14134 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14135 file.
14136 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14137 file.
14138 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14139 file: memrchr multiarch for PPC32.
14140 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14141 multiarch objects.
14142 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14143 (__libc_ifunc_impl_list): Likewise.
14144
1c62e6d9
AZ
14145 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14146 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14147 file.
14148 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14149 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14150 multiarch memchr for PPC32.
14151 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14152 multiarch objects.
14153 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14154 (__libc_ifunc_impl_list): Likewise.
14155
87da8bdb
AZ
14156 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14157 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14158 file.
14159 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14160 file.
14161 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14162 file: multiarch mempcpy for PPC32.
14163 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14164 multiarch objects.
14165 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14166 (__libc_ifunc_impl_list): Likewise.
14167
20ed4714
AZ
14168 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14169 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14170 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14171 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14172 multiarch bzero for PPC32.
14173 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14174 file.
14175 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14176 file.
14177 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14178 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14179 file: multiarch memset for PPC32.
14180 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14181 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14182 memset multiarch objects.
14183 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14184 (__libc_ifunc_impl_list): Likewise.
14185
ab3e3a46
AZ
14186 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14187 file.
14188 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14189 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14190 memcmp for PPC32.
14191 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14192 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14193 multiarch objects.
14194 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14195 (__libc_ifunc_impl_list): Likewise.
14196
930de6f0
AZ
14197 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14198 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14199 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14200 file.
14201 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14202 file.
14203 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14204 file.
14205 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14206 multiarch memcpy for PPC32.
14207 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14208 multiarch objects.
14209 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14210 (__libc_ifunc_impl_list): Likewise.
14211
4c628e00
AZ
14212 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14213 support multiarch for POWER/PPC32.
14214 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14215 Likewise.
14216 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14218 Implies file to make multiarch folder appers before the fpu and
14219 default folder for power4 configuration.
14220
f4479220
SP
142212013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14222
14223 * scripts/bench.pl: Append volatile keyword to type.
14224
8517800f
KK
142252013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14226
14227 * sysdeps/sh/sotruss-lib.c: New file.
14228 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14229
180138f1
AZ
142302013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14231
14232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14233
bbf37bdc
JM
142342013-12-05 Joseph Myers <joseph@codesourcery.com>
14235
e47cc4e0
JM
14236 [BZ #6810]
14237 * math/w_tgamma.c: Include <errno.h>.
14238 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14239 * math/w_tgammaf.c: Include <errno.h>.
14240 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14241 * math/w_tgammal.c: Include <errno.h>.
14242 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14243 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14244 underflow. Add more tgamma tests.
14245 * math/auto-libm-test-out: Regenerated.
14246 * sysdeps/i386/fpu/libm-test-ulps: Update.
14247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14248
bbf37bdc
JM
14249 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14250 sin, sinh, tan, tanh, tgamma, y0 and y1.
14251 * math/auto-libm-test-out: Regenerated.
14252 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14253 (TEST_COND_x86): Likewise.
14254 (M_E2l): Remove macro.
14255 (M_E3l): Likewise.
14256 (M_2_SQRT_PIl): Likewise.
14257 (M_SQRT_PIl): Likewise.
14258 (M_1_DIV_El): Likewise.
14259 (log_test_data): Use AUTO_TESTS_f_f.
14260 (log10_test_data): Likewise.
14261 (log1p_test_data): Likewise.
14262 (log2_test_data): Likewise.
14263 (sin_test_data): Likewise.
14264 (sin_tonearest_test_data): Likewise.
14265 (sin_towardzero_test_data): Likewise.
14266 (sin_downward_test_data): Likewise.
14267 (sin_upward_test_data): Likewise.
14268 (sinh_test_data): Likewise.
14269 (sinh_tonearest_test_data): Likewise.
14270 (sinh_towardzero_test_data): Likewise.
14271 (sinh_downward_test_data): Likewise.
14272 (sinh_upward_test_data): Likewise.
14273 (tan_test_data): Likewise.
14274 (tan_tonearest_test_data): Likewise.
14275 (tan_towardzero_test_data): Likewise.
14276 (tan_downward_test_data): Likewise.
14277 (tan_upward_test_data): Likewise.
14278 (tanh_test_data): Likewise.
14279 (tgamma_test_data): Likewise.
14280 (y0_test_data): Likewise.
14281 (y1_test_data): Likewise.
14282 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14283 (special_real_inputs): Add pi/4.
14284 * sysdeps/i386/fpu/libm-test-ulps: Update.
14285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14286
eb5ad6b9
AZ
142872013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14288
14289 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14290 "longjmp_target" static probes.
14291 (__longjmp): Rename to __longjmp_symbol.
14292 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14293 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14294 on which longjmp to generate.
14295 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14296 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14297 probe.
14298 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14299 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14300 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14301 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14302 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14303 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14305 __longjmp_symbol based on which __longjmp to generate.
14306 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14307 probe.
14308 (setjmp): Rename to setjmp_symbol.
14309 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14310 (_setjmp): Rename to _setjmp_symbol.
14311 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14312 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14313 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14314 which setjmp to generate.
14315 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14316 "longjmp_target" static probes.
14317
d136c6dc
SP
143182013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14319
9298ecba
SP
14320 * benchtests/README: Add note about output arguments.
14321 * benchtests/bench-sincos.c: Remove file.
14322 * benchtests/sincos-inputs: New file.
14323 * scripts/bench.pl: Identify output arguments and define
14324 static variables for them.
14325
232983e9
SP
14326 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14327
d136c6dc
SP
14328 [BZ #15941]
14329 * Makefile (INSTALL): Add install-plain.texi as the primary
14330 dependency.
14331 * manual/install-plain.texi: New file.
14332 * manual/install.texi: Include node directive only for
14333 non-plaintext output.
14334
699ff837
JM
143352013-12-04 Joseph Myers <joseph@codesourcery.com>
14336
ab07cea8
JM
14337 * stdlib/longlong.h: Update from GCC.
14338
699ff837
JM
14339 [BZ #6807]
14340 [BZ #15901]
14341 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14342 * math/w_j0f.c (y0f): Likewise.
14343 * math/w_j0l.c (__y0l): Likewise.
14344 * math/w_j1.c (y1): Likewise.
14345 * math/w_j1f.c (y1f): Likewise.
14346 * math/w_j1l.c (__y1l): Likewise
14347 * math/w_jn.c (yn): Likewise.
14348 * math/w_jnf.c (ynf): Likewise.
14349 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14350 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14351 value for Bessel function domain errors outside _SVID_ mode.
14352 Adjust sign of return value for yn (negative integer, 0).
14353 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14354 by zero in return for negative x and set sign appropriately for
14355 negative n.
14356 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14357 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14358 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14359 expectations in error cases.
14360 (y1_test_data): Likewise.
14361 (yn_test_data): Likewise.
14362 * sysdeps/i386/fpu/libm-test-ulps: Update.
14363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14364
5b118558
UW
143652013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14366
14367 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14368 "64" to "64-v1". Add "64-v2".
14369 (abi-64-options): Rename to ...
14370 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14371 (abi-64-condition): Rename to ...
14372 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14373 (abi-64-ld-soname): Rename to ...
14374 (abi-64-v1-ld-soname): ... this.
14375 (abi-64-v2-options): Define.
14376 (abi-64-v2-condition): Likewise.
14377 (abi-64-v2-ld-soname): Likewise.
14378 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14379 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14383
61cd8fe4
UW
143842013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14385 Alan Modra <amodra@gmail.com>
14386
14387 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14388 New versions for use with the ELFv2 ABI.
14389 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14390 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14391 declaration.
14392 (struct La_ppc64v2_retval): Likewise.
14393 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14394 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14395 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14396 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14397 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14398 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14399 Do not save or restore CR.
14400 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14401 (_dl_profile_resolve): Do no save or restore CR. Support extended
14402 return values for ELFv2 ABI. Fix location of FPR return registers.
14403 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14404 updated values for _CALL_ELF == 2.
14405 (La_regs, La_retval, int_retval): Likewise.
14406
8b8a692c
UW
144072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14408
14409 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14410 (FRAME_MIN_SIZE_PARM): Likewise.
14411 (FRAME_BACKCHAIN): Likewise.
14412 (FRAME_CR_SAVE): Likewise.
14413 (FRAME_LR_SAVE): Likewise.
14414 (FRAME_TOC_SAVE): Likewise.
14415 (FRAME_PARM_SAVE): Likewise.
14416 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14417 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14418 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14419 (call_mcount_parm_offset): New macro.
14420 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14421 (PROF): Use symbolic stack frame offsets.
14422 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14423 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14424 Redefine in terms of FRAME_MIN_SIZE.
14425 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14426 (_dl_profile_resolve): Likewise. Update comment.
14427 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14428 symbols stack frame offsets.
14429 (__sigsetjmp): Likewise.
14430 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14431 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14432 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14433 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14434
14435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14436 (FRAME_BACKCHAIN): Remove.
14437 (FRAME_CR_SAVE): Likewise.
14438 (FRAME_LR_SAVE): Likewise.
14439 (FRAME_COMPILER_DW): Likewise.
14440 (FRAME_LINKER_DW): Likewise.
14441 (FRAME_TOC_SAVE): Likewise.
14442 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
14443 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14444 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14445 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
14446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14447 (CHECK_SP): Use symbolic stack frame offsets.
14448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14449 zone" instead of caller's parameter save area for temp storage.
14450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14451 Likewise. Also, use symbolic stack frame offsets.
14452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14453 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14454 our own stack frame instead of the caller's.
14455 (__socket): Use symbolic stack frame offsets.
14456
122b66de
UW
144572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14458 Alan Modra <amodra@gmail.com>
14459
14460 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14461 Define.
57f41c40
AS
14462 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14463 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
14464 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14465 New function.
14466 (elf_machine_fixup_plt): Call it.
14467 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14468 reloc arguments.
14469 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
14470 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14471 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
14472 r2 before calling target.
14473
696caf1d
UW
144742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14475 Alan Modra <amodra@gmail.com>
14476
14477 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14478 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14479 versions of macros to support ELFv2 ABI.
14480 (LOCALENTRY): New macro.
14481 (ENTRY, EALIGN): Use it.
14482 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14483 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14484 fall through into ENTRY entry point.
14485 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14486 Only define if _CALL_ELF != 2.
14487
14488 (elf_machine_matches_host): Verify ABI version matches.
14489 (RTLD_START): Use LOCALENTRY.
14490 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14491 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14492 (PLT_ENTRY_WORDS): New macro.
14493 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14494 (elf_machine_runtime_setup): Support ELFv2 ABI.
14495 (elf_machine_fixup_plt): Likewise.
14496 (elf_machine_plt_conflict): Likewise.
14497 (resolve_ifunc): Likewise.
14498 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14499 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14500 Likewise.
14501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14502 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14504 (makecontext): Support ELFv2 ABI.
14505 * elf/elf.h (EF_PPC64_ABI): Define.
14506
d31beafa
UW
145072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14508
57f41c40
AS
14509 * sysdeps/powerpc/powerpc64/sysdep.h
14510 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14511 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14512 (ENTRY) [ASSEMBLER]: ... but instead here ...
14513 (EALIGN) [ASSEMBLER]: ... and here.
14514 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14515 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14516 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
14517 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14518 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
14519 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14520 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
14521 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14523 Use PPC64_LOAD_FUNCPTR.
14524
b525166b
UW
14525 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14526
7ec07d9a
AM
145272013-12-04 Alan Modra <amodra@gmail.com>
14528
14529 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14530 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14531 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14532 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14533
14534 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14535 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14536 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14537 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14538 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14539 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14540
5162e7dd
UW
145412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14542
14543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14544 (__makecontext): Fix incorrect CFI when backtracing out of
14545 context created via makecontext.
14546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14547 (__setcontext): Fix incorrect CFI during switch to new context.
14548 (__novec_setcontext): Likewise.
14549
19e3372b
OB
145502013-12-04 Ondřej Bílka <neleai@seznam.cz>
14551
14552 [BZ #4772]
14553 * time/strptime_l.c (__strptime_internal): Allow modifiers
14554 in strptime.
14555 * time/tst-strptime.c (day_tests): Add testcase.
14556
ecaf142d
SP
145572013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14558
14559 * scripts/bench.pl: Skip over blank lines.
14560
fbf964ae
PE
145612013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14562
14563 [BZ #926]
14564 * manual/time.texi (Calendar Time): Clarify what timezone functions
14565 use.
14566
fa60a674
AZ
145672013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14568
14569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14570
d674f0ef
OB
145712013-12-04 Ondřej Bílka <neleai@seznam.cz>
14572
14573 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14574 implementation.
14575 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14576 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14577 * debug/memset_chk.c (__memset_chk): Likewise.
14578 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14579 * debug/strncpy_chk.c: Likewise.
14580
17dea188
JM
145812013-12-03 Joseph Myers <joseph@codesourcery.com>
14582
749008ff
JM
14583 [BZ #15268]
14584 [BZ #15425]
14585 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14586 (__ieee754_exp): For possibly underflowing results, check size of
14587 result and force underflow exception if required.
14588 * math/auto-libm-test-in: Add more tests of exp.
14589 * math/auto-libm-test-out: Regenerated.
14590 * sysdeps/i386/fpu/libm-test-ulps: Update.
14591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14592
17dea188
JM
14593 [BZ #16283]
14594 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14595 * math/w_exp2f.c (__exp2f): Likewise.
14596 * math/w_exp2l.c (__exp2l): Likewise.
14597 * math/auto-libm-test-in: Do not allow missing errno on exp2
14598 underflow.
14599 * math/auto-libm-test-out: Regenerated.
14600
b20de2c3
OB
146012013-12-03 Ondřej Bílka <neleai@seznam.cz>
14602
14603 [BZ #16274]
14604 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14605 handle filename validation.
14606 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14607 (do_open): Delete.
14608
d8e2dbe3
JM
146092013-12-03 Joseph Myers <joseph@codesourcery.com>
14610
34e16df5
JM
14611 [BZ #6786]
14612 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14613 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14614 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14615 <float.h>.
14616 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14617 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14618 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14619 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14620 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14621 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14622 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14623 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14624 Add more erfc tests.
14625 * math/auto-libm-test-out: Regenerated.
14626 * sysdeps/i386/fpu/libm-test-ulps: Update.
14627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14628
d8e2dbe3
JM
14629 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14630 exp2, expm1, j0 and j1.
14631 * math/auto-libm-test-out: Regenerated.
14632 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14633 (erfc_test_data): Likewise.
14634 (exp_test_data): Likewise.
14635 (exp_tonearest_test_data): Likewise.
14636 (exp_towardzero_test_data): Likewise.
14637 (exp_downward_test_data): Likewise.
14638 (exp_upward_test_data): Likewise.
14639 (exp10_test_data): Likewise.
14640 (exp2_test_data): Likewise.
14641 (expm1_test_data): Likewise.
14642 (j0_test_data): Likewise.
14643 (j1_test_data): Likewise.
14644 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14645 (input_flag_type): Add flag_xfail_rounding.
14646 (input_flags): Add xfail-rounding.
14647 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14648 (output_for_one_input_case): Handle flag_xfail_rounding.
14649 * sysdeps/i386/fpu/libm-test-ulps: Update.
14650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14651
18d14251
AJ
146522013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14653
3d2e6075 14654 [BZ #16289]
18d14251
AJ
14655 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14656 division by 0.
14657
520d437b
SP
146582013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14659
14660 [BZ #16195]
14661 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14662 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14663 (STAP_PROBE0): New macro.
14664 (STAP_PROBE1): Likewise.
14665 (STAP_PROBE2): Likewise.
14666 (STAP_PROBE3): Likewise.
14667 (STAP_PROBE4): Likewise.
14668
416e0145
OB
146692013-12-02 Ondřej Bílka <neleai@seznam.cz>
14670
14671 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14672
9d17796a
SE
146732013-12-02 Steve Ellcey <sellcey@mips.com>
14674
14675 * benchtests/Makefile (bench): Add sqrt.
14676 (LDLIBS-bench-sqrt): New.
14677 * benchtests/sqrt-input: New.
14678
f524d6a8
PS
146792013-12-02 Pavel Simerda <psimerda@redhat.com>
14680
639a0ef8
PS
14681 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14682 (GAIH_EAI): Likewise.
14683 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14684 (gaih_inet): Likewise.
14685 (getaddrinfo): Don't use GAIH_EAI.
14686
f524d6a8
PS
14687 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14688 (struct gaih): Remove definition.
14689
df3aedaf
SP
146902013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14691
14692 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14693 Use HERRNOP directly.
14694
1ab19dec
AZ
146952013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14696
b42ad38d 14697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 14698
176b0c79
JM
146992013-11-30 Joseph Myers <joseph@codesourcery.com>
14700
14701 * math/gen-auto-libm-tests.c (test_functions): Add more
14702 single-argument functions.
14703 (special_fill_pi_2): New function.
14704 (special_fill_minus_pi_2): Likewise.
14705 (special_fill_pi_6): Likewise.
14706 (special_fill_minus_pi_6): Likewise.
14707 (special_fill_pi_3): Likewise.
14708 (special_fill_2pi_3): Likewise.
14709 (special_fill_e): Likewise.
14710 (special_fill_1_e): Likewise.
14711 (special_fill_e_minus_1): Likewise.
14712 (special_real_inputs): Add more special inputs.
14713 (output_for_one_input_case): Do not require ERANGE on underflow to
14714 zero if round-to-nearest result does not underflow to zero, unless
14715 exact results required.
14716 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14717 atan, atanh, cbrt, cos and cosh.
14718 * math/auto-libm-test-out: Regenerated.
14719 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14720 (acos_tonearest_test_data): Likewise.
14721 (acos_towardzero_test_data): Likewise.
14722 (acos_downward_test_data): Likewise.
14723 (acos_upward_test_data): Likewise.
14724 (acosh_test_data): Likewise.
14725 (asin_test_data): Likewise.
14726 (asin_tonearest_test_data): Likewise.
14727 (asin_towardzero_test_data): Likewise.
14728 (asin_upward_test_data): Likewise.
14729 (asinh_test_data): Likewise.
14730 (atan_test_data): Likewise.
14731 (atanh_test_data): Likewise.
14732 (cbrt_test_data): Likewise.
14733 (cos_test_data): Likewise.
14734 (cos_tonearest_test_data): Likewise.
14735 (cos_towardzero_test_data): Likewise.
14736 (cos_downward_test_data): Likewise.
14737 (cos_upward_test_data): Likewise.
14738 (cosh_test_data): Likewise.
14739 (cosh_tonearest_test_data): Likewise.
14740 (cosh_towardzero_test_data): Likewise.
14741 (cosh_downward_test_data): Likewise.
14742 (cosh_upward_test_data): Likewise.
14743 * sysdeps/i386/fpu/libm-test-ulps: Update.
14744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14745
ffb536d0
JM
147462013-11-29 Joseph Myers <joseph@codesourcery.com>
14747
2a77a467
JM
14748 [BZ #6787]
14749 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14750 * math/w_exp10f.c (__exp10f): Likewise.
14751 * math/w_exp10l.c (__exp10l): Likewise.
14752 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14753 errno settings in existing tests.
14754
ea3bc4e8
JM
14755 [BZ #14032]
14756 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14757 precision control set to double precision.
14758 * sysdeps/i386/fpu/w_sqrt.c: New file.
14759 * math/auto-libm-test-in: Add more tests.
14760 * math/auto-libm-test-out: Update.
14761
0712c9d8
JM
14762 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14763 (sqrt_test_tonearest): New function.
14764 (sqrt_towardzero_test_data): New variable.
14765 (sqrt_test_towardzero): New function.
14766 (sqrt_downward_test_data): New variable.
14767 (sqrt_test_downward): New function.
14768 (sqrt_upward_test_data): New variable.
14769 (sqrt_test_upward): New function.
14770 (main): Call the new functions.
14771
ffb536d0
JM
14772 * math/gen-auto-libm-tests.c: New file.
14773 * math/auto-libm-test-in: Likewise.
14774 * math/auto-libm-test-out: New generated file.
14775 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14776 variables.
14777 (%beautify): Add generated representations of zero.
14778 (top level): Set $auto_input and call parse_auto_input.
14779 (beautify): Remove trailing "f" from hex float constants.
14780 (parse_args): Handle XFAIL_TEST.
14781 (convert_condition): New function.
14782 (or_value): Likewise.
14783 (or_cond_value): Likewise.
14784 (generate_testfile): Handle AUTO_TESTS_* lines.
14785 (parse_auto_input): New function.
14786 * math/libm-test.inc (XFAIL_TEST): New macro.
14787 (ERRNO_UNCHANGED): Update value.
14788 (ERRNO_EDOM): Likewise.
14789 (ERRNO_ERANGE): Likewise.
14790 (IGNORE_RESULT): Likewise.
14791 (TEST_COND_flt_32): New macro.
14792 (TEST_COND_dbl_64): Likewise.
14793 (TEST_COND_ldbl_96_intel): Likewise.
14794 (TEST_COND_ldbl_96_m68k): Likewise.
14795 (TEST_COND_ldbl_128): Likewise.
14796 (TEST_COND_ldbl_128ibm): Likewise.
14797 (TEST_COND_long32): Likewise.
14798 (TEST_COND_long64): Likewise.
14799 (TEST_COND_before_rounding): Likewise.
14800 (TEST_COND_after_rounding): Likewise.
14801 (enable_test): Handle XFAIL_TEST flag.
14802 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14803 with finite results.
14804 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14805 auto-libm-test-out.
14806
acd98a8e
AK
148072013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14808 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14809
14810 [BZ #16214]
14811 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14812 __tls_get_addr_internal instead of __tls_get_offset in order to
14813 avoid GOT pointer dependency. Make rtld export
14814 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14815 __tls_get_addr since we are a __tls_get_offset platform.
14816 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14817 GOT pointer being set up before.
14818 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14819
3c1c46a6
JM
148202013-11-28 Joseph Myers <joseph@codesourcery.com>
14821
7475aef5
JM
14822 * manual/math.texi (Errors in Math Functions): Document accuracy
14823 goals.
14824
8bca7cd8
JM
14825 [BZ #15004]
14826 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14827 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14828 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14829 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14830 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14831 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14832 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14833 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14834 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14835 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14836 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14837 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14838 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14839 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14840 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14841 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14842
91a1f3fe
JM
14843 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14844 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14845 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14846 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14847 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14848 Likewise.
14849 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14850 Likewise.
14851 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14852 Likewise.
14853 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14854 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14855 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14856 atomic-feupdateenv and flt-rounds.
14857 * sysdeps/powerpc/nofpu/Versions (libc): Add
14858 __atomic_feholdexcept, __atomic_feclearexcept,
14859 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14860 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14861 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14862 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14863 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14864 here.
14865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14866 Update.
14867
c5df7609
JM
14868 * manual/arith.texi (FP Exceptions): Document that exceptions may
14869 not be raised when matherr is used.
14870 (Math Error Reporting): Document overflow in directed rounding
14871 modes. Document that errno may not be set when finite values are
14872 returned on overflow. Document intent to set errno on underflow
14873 only for underflow to zero.
14874
3c1c46a6
JM
14875 [BZ #16271]
14876 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14877 round-to-nearest then adjust result for other rounding modes.
14878 * include/fenv.h (fegetround): Use libm_hidden_proto.
14879 * math/fegetround.c (fegetround): Use libm_hidden_def.
14880 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14881 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14882 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14883 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14884 Likewise.
14885 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14886 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14887 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14888 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14889
5a4c6d53
SP
148902013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14891
14892 [BZ #16077]
14893 * nss/Versions (libnss_files): Add
14894 _nss_files_gethostbyname3_r.
14895 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14896 New function.
14897 (HOST_DB_LOOKUP): Remove macro.
14898 (_nss_files_gethostbyname_r): Implement function without the
14899 HOST_DB_LOOKUP macro.
14900 (_nss_files_gethostbyname2_r): Likewise.
14901
897b98ba
OB
149022013-11-28 Ondřej Bílka <neleai@seznam.cz>
14903
14904 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14905
6f476861
UB
149062013-11-26 Uros Bizjak <ubizjak@gmail.com>
14907
14908 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14909 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14910 warning.
14911
bd12ab55
AZ
149122013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14913
14914 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14915 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14916 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14917 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14918 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14919 __fe_nomask_env_priv and attribute_hidden.
14920 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14921 (libc_feupdateenv_test_ppc): Likewise.
14922 (libc_feresetround_ppc): Likewise.
14923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14924 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14925 compat_symbol macro.
14926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14927 (__fe_nomask_env): Likewise.
14928 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14929
52bb6543
OB
149302013-11-26 Ondřej Bílka <neleai@seznam.cz>
14931
14932 * string/Makefile: Remove ifunc tests.
14933 * string/test-string.h: Define TEST_IFUNC.
14934 * string/test-bcopy-ifunc.c: Remove.
14935 * string/test-bzero-ifunc.c: Likewise.
14936 * string/test-memccpy-ifunc.c: Likewise.
14937 * string/test-memchr-ifunc.c: Likewise.
14938 * string/test-memcmp-ifunc.c: Likewise.
14939 * string/test-memcpy-ifunc.c: Likewise.
14940 * string/test-memmem-ifunc.c: Likewise.
14941 * string/test-memmove-ifunc.c: Likewise.
14942 * string/test-mempcpy-ifunc.c: Likewise.
14943 * string/test-memrchr-ifunc.c: Likewise.
14944 * string/test-memset-ifunc.c: Likewise.
14945 * string/test-rawmemchr-ifunc.c: Likewise.
14946 * string/test-stpcpy-ifunc.c: Likewise.
14947 * string/test-stpncpy-ifunc.c: Likewise.
14948 * string/test-strcasecmp-ifunc.c: Likewise.
14949 * string/test-strcasestr-ifunc.c: Likewise.
14950 * string/test-strcat-ifunc.c: Likewise.
14951 * string/test-strchr-ifunc.c: Likewise.
14952 * string/test-strchrnul-ifunc.c: Likewise.
14953 * string/test-strcmp-ifunc.c: Likewise.
14954 * string/test-strcpy-ifunc.c: Likewise.
14955 * string/test-strcspn-ifunc.c: Likewise.
14956 * string/test-strlen-ifunc.c: Likewise.
14957 * string/test-strncasecmp-ifunc.c: Likewise.
14958 * string/test-strncat-ifunc.c: Likewise.
14959 * string/test-strncmp-ifunc.c: Likewise.
14960 * string/test-strncpy-ifunc.c: Likewise.
14961 * string/test-strnlen-ifunc.c: Likewise.
14962 * string/test-strpbrk-ifunc.c: Likewise.
14963 * string/test-strrchr-ifunc.c: Likewise.
14964 * string/test-strspn-ifunc.c: Likewise.
14965 * string/test-strstr-ifunc.c: Likewise.
14966
ab260039 149672013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
14968
14969 * benchtests/Makefile: Remove ifunc tests.
14970 * benchtests/bench-string.h: Define TEST_IFUNC.
14971 * benchtests/bench-bcopy-ifunc.c: Remove.
14972 * benchtests/bench-bzero-ifunc.c: Likewise.
14973 * benchtests/bench-memccpy-ifunc.c: Likewise.
14974 * benchtests/bench-memchr-ifunc.c: Likewise.
14975 * benchtests/bench-memcmp-ifunc.c: Likewise.
14976 * benchtests/bench-memcpy-ifunc.c: Likewise.
14977 * benchtests/bench-memmem-ifunc.c: Likewise.
14978 * benchtests/bench-memmove-ifunc.c: Likewise.
14979 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14980 * benchtests/bench-memrchr-ifunc.c: Likewise.
14981 * benchtests/bench-memset-ifunc.c: Likewise.
14982 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14983 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14984 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14985 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14986 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14987 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14988 * benchtests/bench-strcat-ifunc.c: Likewise.
14989 * benchtests/bench-strchr-ifunc.c: Likewise.
14990 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14991 * benchtests/bench-strcmp-ifunc.c: Likewise.
14992 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14993 * benchtests/bench-strcpy-ifunc.c: Likewise.
14994 * benchtests/bench-strcspn-ifunc.c: Likewise.
14995 * benchtests/bench-strlen-ifunc.c: Likewise.
14996 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14997 * benchtests/bench-strncat-ifunc.c: Likewise.
14998 * benchtests/bench-strncmp-ifunc.c: Likewise.
14999 * benchtests/bench-strncpy-ifunc.c: Likewise.
15000 * benchtests/bench-strnlen-ifunc.c: Likewise.
15001 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15002 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 15003 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
15004 * benchtests/bench-strspn-ifunc.c: Likewise.
15005 * benchtests/bench-strstr-ifunc.c: Likewise.
15006
150072013-11-26 Ondřej Bílka <neleai@seznam.cz>
15008
ab260039
OB
15009 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15010
d1d9eaf4 150112013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 15012
d1d9eaf4
OB
15013 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15014 * rt/aio.h: Likewise.
15015 * sysdeps/gnu/bits/utmp.h: Likewise.
15016 * sysdeps/gnu/bits/utmpx.h: Likewise.
15017 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15018 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15019 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15020 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15021 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15022 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15023 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15024 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15025 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15026 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15027 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15028 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15029 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15031 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15032 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15033 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15034 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15035 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15036 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15037 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15038 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15039 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15040 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15041 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15042 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15043 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15044 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15045 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15046 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15047 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15048 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15049 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15050 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15051 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15052 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15053 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15054 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15055 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15056 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15057 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15058 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15059
a7624ed9
CD
150602013-11-25 Carlos O'Donell <carlos@redhat.com>
15061
15062 [BZ #16245]
15063 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15064 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15065
63cfe52b
JM
150662013-11-25 Joseph Myers <joseph@codesourcery.com>
15067
15068 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15069 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15070 Likewise.
15071
41e8926a
AZ
150722013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15073
15074 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15075 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15076 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15077 (__fesetround): Remove define.
15078 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15079 rounding and exceptions handling.
15080 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15081 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15082 (__fe_nomask_env): Likewise.
15083 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15084 __fegetround instead of fegetround.
15085 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15086 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15087
6851bd4d
RM
150882013-11-21 Roland McGrath <roland@hack.frob.com>
15089
070906ff
RM
15090 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15091 it's there.
15092
6851bd4d
RM
15093 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15094
84ae135d
MI
150952013-11-21 Meador Inge <meadori@codesourcery.com>
15096
15097 [BZ #11157]
15098 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15099 (encrypt_r): Likewise.
15100 * malloc/obstack.h (obstack_free): Likewise.
15101 * posix/unistd.h (encrypt): Likewise.
15102
daf75146
GM
151032013-11-21 Guy Martin <gmsoft@tuxicoman.be>
15104
15105 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15106 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15107 DL_CALL_DT_FINI() that call the functions directly.
15108 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15109 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15110 * elf/dl-fini.c: Likewise.
15111
10ad46bc
OB
151122013-11-20 Ondřej Bílka <neleai@seznam.cz>
15113
15114 * malloc/hooks.c (memalign_check): Add alignment rounding.
15115 * malloc/malloc.c (_mid_memalign): New function.
15116 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15117 Implement by calling _mid_memalign.
15118 * manual/probes.texi (Memory Allocation Probes): Remove
15119 memory_valloc_retry and memory_pvalloc_retry.
15120
f3fd2628
SP
151212013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15122
4712799f
SP
15123 * locale/programs/locarchive.c (open_archive): Add const
15124 qualifier to ARCHIVEFNAME and copy default fname to
15125 DEFAULT_FNAME.
15126
0417b20f
SP
15127 [BZ #15601]
15128 * libio/tst-widetext.input: Rename Oriya to Odia.
15129 * locale/iso-639.def: Likewise.
15130
f3fd2628
SP
15131 * manual/probes.texi (Mathematical Function Probes): Add
15132 documentation for sin, cos, asin and acos probes.
15133 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15134 (__sin32): Add slowasin probe.
15135 (__cos32): Add slowacos probe.
15136 (__mpsin): Add slowsin probe.
15137 (__mpcos): Add slowcos probe.
15138
73c1ce4f
JM
151392013-11-19 Joseph Myers <joseph@codesourcery.com>
15140
15141 [BZ #15483]
15142 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15143 thread-local __sim_exceptions_thread and global
15144 __sim_exceptions_global.
15145 (__sim_disabled_exceptions): Change to thread-local
15146 __sim_disabled_exceptions_thread and global
15147 __sim_disabled_exceptions_global.
15148 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15149 and global __sim_round_mode_global.
15150 (__simulate_exceptions): Use thread-local floating-point state and
15151 set global state from it as needed.
15152 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15153 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15154 __sim_round_mode_thread.
15155 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15156 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15157 and global __sim_exceptions_global.
15158 (__sim_disabled_exceptions): Change to thread-local
15159 __sim_disabled_exceptions_thread and global
15160 __sim_disabled_exceptions_global.
15161 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15162 and global __sim_round_mode_global.
15163 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15164 (SIM_SET_GLOBAL): Likewise.
15165 * sysdeps/powerpc/soft-fp/sfp-machine.h
15166 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15167 __sim_round_mode_thread.
15168 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15169 __sim_disabled_exceptions_thread.
15170 (__sim_exceptions): Change to __sim_exceptions_thread.
15171 (__sim_disabled_exceptions): Change to
15172 __sim_disabled_exceptions_thread.
15173 (__sim_round_mode): Change to __sim_round_mode_thread.
15174 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15175 thread-local floating-point state and set global state from it as
15176 needed.
15177 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15178 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15179 (__sim_disabled_exceptions): Remove extern declaration.
15180 (feenableexcept): Use thread-local floating-point state and set
15181 global state from it as needed.
15182 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15183 extern declaration.
15184 (__sim_disabled_exceptions): Likewise.
15185 (__sim_round_mode): Likewise.
15186 (__fegetenv): Use thread-local floating-point state.
15187 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15188 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15189 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15190 floating-point state and set global state from it as needed.
15191 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15192 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15193 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15194 Likewise.
15195 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15196 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15197 Likewise.
15198 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15199 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15200 Use __sim_round_mode_thread.
15201 * math/test-fenv-tls.c: New file.
15202 * math/Makefile (tests): Add test-fenv-tls.
15203 ($(objpfx)test-fenv-tls): Depend on
15204 $(common-objpfx)nptl/libpthread.so.
15205
b5449b12
AS
152062013-11-19 Andreas Schwab <schwab@suse.de>
15207
15208 * locale/programs/locale.c (show_info): Decode wordarray elements.
15209 * locale/categories.def (LC_MONETARY): Add element for
15210 _NL_MONETARY_CRNCYSTR.
15211 * locale/C-monetary.c (conversion_rate): New variable.
15212 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15213 element.
15214
e186536b
CM
152152013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15216
15217 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15218 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15219
5c349950
PP
152202013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15221
15222 * elf/Makefile (tst-auxv): New test.
15223 * elf/tst-auxv.c: New
15224 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15225
699df45b
JM
152262013-11-18 Joseph Myers <joseph@codesourcery.com>
15227
15228 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15229 (hidden_proto): Caller changed.
15230 (hidden_tls_proto): New macro.
15231 (libc_hidden_tls_proto): Likewise.
15232 (rtld_hidden_tls_proto): Likewise.
15233 (libm_hidden_tls_proto): Likewise.
15234 (libresolv_hidden_tls_proto): Likewise.
15235 (librt_hidden_tls_proto): Likewise.
15236 (libdl_hidden_tls_proto): Likewise.
15237 (libnss_files_hidden_tls_proto): Likewise.
15238 (libnsl_hidden_tls_proto): Likewise.
15239 (libnss_nisplus_hidden_tls_proto): Likewise.
15240 (libutil_hidden_tls_proto): Likewise.
15241
b7589107
OB
152422013-11-18 Ondřej Bílka <neleai@seznam.cz>
15243
15244 [BZ #10253]
15245 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15246 (decompose_rpath): Defer expansion to fillin_rpath.
15247 (_dl_init_paths): Pass linkmap to fillin_rpath.
15248
250c23bd
RS
152492013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15250
15251 * benchtests/Makefile: Add strsep.
15252 * benchtests/bench-strsep.c: New file: strsep benchtest.
15253 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15254
a7931fcf
AS
152552013-11-18 Andreas Schwab <schwab@suse.de>
15256
15257 * locale/programs/locale.c (show_info) [case byte]: Check for
15258 '\377' instead of '\177'.
15259 * locale/C-monetary.c (not_available): Always use "\377".
15260 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15261 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15262 detect unavailable sign_posn locale elements.
15263 * locale/localeconv.c (__localeconv): For grouping and
15264 mon_grouping handle "\177" and "\377" like no grouping.
15265 (INT_ELEM): New macro. Use it to set all numeric members.
15266 * locale/programs/ld-monetary.c (monetary_read)
15267 <tok_mon_grouping>: Normalize single -1 to the empty string.
15268 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15269 Likewise.
15270
728dab0e
OB
152712013-11-07 Ondřej Bílka <neleai@seznam.cz>
15272
15273 [BZ #16055]
15274 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15275 when we match (nil).
15276 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15277
66294491
JM
152782013-11-16 Joseph Myers <joseph@codesourcery.com>
15279
ce665817
JM
15280 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15281 (NO_TEST_INLINE): Update value.
15282 (ERRNO_UNCHANGED): Likewise.
15283 (ERRNO_EDOM): Likewise.
15284 (ERRNO_ERANGE): Likewise.
15285 (IGNORE_RESULT): Likewise.
15286 (check_float_internal): Check signs of NaN results if
15287 TEST_NAN_SIGN used.
15288 (check_complex): Pass TEST_NAN_SIGN flag through to second
15289 check_float_internal call.
15290 (copysign_test_data): Add tests with quiet NaNs as second
15291 argument. Use TEST_NAN_SIGN.
15292 (fabs_test_data): Add test of negative quiet NaN argument. Use
15293 TEST_NAN_SIGN.
15294 (signbit_test_data): Add tests of quiet NaN argument.
15295 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15296
ee1466a9
JM
15297 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15298 $ignore_result.
15299 (parse_args): Handle function results specified as IGNORE.
15300 * math/libm-test.inc (IGNORE_RESULT): New macro.
15301 (check_float_internal): Do not check numerical result if flag
15302 IGNORE_RESULT set.
15303 (check_complex): Pass through IGNORE_RESULT to second
15304 check_float_internal call.
15305 (check_int): Do not check numerical result if flag IGNORE_RESULT
15306 set.
15307 (check_long): Likewise.
15308 (check_bool): Likewise.
15309 (check_longlong): Likewise.
15310 (lrint_test_data): Add tests of infinite and NaN arguments.
15311 (lrint_tonearest_test_data): Likewise.
15312 (lrint_towardzero_test_data): Likewise.
15313 (lrint_downward_test_data): Likewise.
15314 (lrint_upward_test_data): Likewise.
15315 (llrint_test_data): Likewise.
15316 (llrint_tonearest_test_data): Likewise.
15317 (llrint_towardzero_test_data): Likewise.
15318 (llrint_downward_test_data): Likewise.
15319 (llrint_upward_test_data): Likewise.
15320 (lround_test_data): Likewise.
15321 (llround_test_data): Likewise.
15322
14407b7e
JM
15323 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15324 (ERRNO_UNCHANGED): Update value.
15325 (ERRNO_EDOM): Likewise.
15326 (ERRNO_ERANGE): Likewise.
15327 (NO_TEST_INLINE_FLOAT): New macro.
15328 (NO_TEST_INLINE_DOUBLE): Likewise.
15329 (enable_test): New function.
15330 (RUN_TEST_f_f): Check enable_test before running test.
15331 (RUN_TEST_2_f): Likewise.
15332 (RUN_TEST_fff_f): Likewise.
15333 (RUN_TEST_c_f): Likewise.
15334 (RUN_TEST_f_f1): Likewise.
15335 (RUN_TEST_fF_f1): Likewise.
15336 (RUN_TEST_fI_f1): Likewise.
15337 (RUN_TEST_ffI_f1): Likewise.
15338 (RUN_TEST_c_c): Likewise.
15339 (RUN_TEST_cc_c): Likewise.
15340 (RUN_TEST_f_i): Likewise.
15341 (RUN_TEST_f_i_tg): Likewise.
15342 (RUN_TEST_ff_i_tg): Likewise.
15343 (RUN_TEST_f_b): Likewise.
15344 (RUN_TEST_f_b_tg): Likewise.
15345 (RUN_TEST_f_l): Likewise.
15346 (RUN_TEST_f_L): Likewise.
15347 (RUN_TEST_fFF_11): Likewise.
15348 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15349 conditionals.
15350 (cosh_test_data): Likewise.
15351 (exp_test_data): Likewise.
15352 (expm1_test_data): Likewise.
15353 (hypot_test_data): Likewise.
15354 (pow_test_data): Likewise.
15355 (sinh_test_data): Likewise.
15356 (tanh_test_data): Likewise.
15357 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15358 flags argument.
15359
ca07f197
JM
15360 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15361 tests with quiet NaN input and output.
15362 (acosh_test_data): Likewise.
15363 (asin_test_data): Likewise.
15364 (asinh_test_data): Likewise.
15365 (atan_test_data): Likewise.
15366 (atanh_test_data): Likewise.
15367 (atan2_test_data): Likewise.
15368 (cbrt_test_data): Likewise.
15369 (cos_test_data): Likewise.
15370 (cosh_test_data): Likewise.
15371 (erf_test_data): Likewise.
15372 (erfc_test_data): Likewise.
15373 (exp_test_data): Likewise.
15374 (exp10_test_data): Likewise.
15375 (exp2_test_data): Likewise.
15376 (expm1_test_data): Likewise.
15377 (hypot_test_data): Likewise.
15378 (j0_test_data): Likewise.
15379 (j1_test_data): Likewise.
15380 (jn_test_data): Likewise.
15381 (lgamma_test_data): Likewise.
15382 (log_test_data): Likewise.
15383 (log10_test_data): Likewise.
15384 (log1p_test_data): Likewise.
15385 (log2_test_data): Likewise.
15386 (pow_test_data): Likewise.
15387 (scalb_test_data): Likewise.
15388 (sin_test_data): Likewise.
15389 (sincos_test_data): Likewise.
15390 (sinh_test_data): Likewise.
15391 (tan_test_data): Likewise.
15392 (tanh_test_data): Likewise.
15393 (tgamma_test_data): Likewise.
15394 (y0_test_data): Likewise.
15395 (y1_test_data): Likewise.
15396 (yn_test_data): Likewise.
15397
66294491
JM
15398 [BZ #16167]
15399 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15400 argument being NaN and avoid computations with second argument in
15401 that case.
15402 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15403 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15404 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15405
1820b143
CL
154062013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15407
15408 * locale/iso-639.def: Add Chitwani Tharu (the).
15409
714bd261
AS
154102013-11-14 Andreas Schwab <schwab@suse.de>
15411
15412 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15413 word instead of empty string.
15414
7ab44563
AZ
154152013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15416
15417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15418 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15420 (__fe_nomask_env): Likewise.
15421
e8470ea2
SE
154222013-11-13 Steve Ellcey <sellcey@mips.com>
15423
15424 * benchtests/bench-timing.h: Include time.h.
15425
17c1d9f0
L
154262013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15427
15428 [BZ #15997]
15429 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15430 to 3.4.0 for x32.
15431 * sysdeps/unix/sysv/linux/configure: Regenerated.
15432
9310c284
JM
154332013-11-13 Joseph Myers <joseph@codesourcery.com>
15434
15435 [BZ #16151]
15436 * stdlib/strtod_l.c (round_and_return): Do not consider
15437 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15438 exponent one less than half the least subnormal exponent.
15439 * stdlib/test-strtod-round-data: Add more tests.
15440 * stdlib/tst-strtod-round.c (tests): Regenerated.
15441
7a2ad8cf
AZ
154422013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15443
15444 [BZ #14143]
15445 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15446 (__fe_mask_env): Likewise.
15447 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15448 libm_hidden_proto and add function prototype.
15449 (__fe_mask_env): Add function prototype.
15450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15451 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15453 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15455 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15456
50727aa7
MS
154572013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15458
b2f386c1 15459 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
15460 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15461
a615be46
MS
154622013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15463
15464 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15465 of htab_find_slot().
15466
7ddace62
DM
154672013-11-11 David S. Miller <davem@davemloft.net>
15468
15469 [BZ #16150]
15470 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15471 symbol in the non-vis3 case in static builds.
15472 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15473 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15474 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15475 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15476
9182aa67
JK
154772013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15478
15479 [BZ #387]
15480 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15481 it is empty.
15482
450a2e2d
AZ
154832013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15484
b2f386c1
SP
15485 * benchtests/Makefile: Add bench-strtod.
15486 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 15487
8ec3f656
AS
154882013-11-11 Andreas Schwab <schwab@suse.de>
15489
15490 [BZ #16153]
15491 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15492 terminating NUL in key length.
15493
76a9b998
AZ
154942013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15495
15496 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15497 Add artificial ODP entry for vDSO symbol for PPC64.
15498 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15499 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15500
e4368156
OB
155012013-11-07 Ondřej Bílka <neleai@seznam.cz>
15502
15503 [BZ #15374]
15504 * nss/getent.c (services_keys): Recognize services starting with digit.
15505
8d6bb57c
DM
155062013-11-06 David S. Miller <davem@davemloft.net>
15507
15508 [BZ #15985]
15509 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15510 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15511
e256c421
WN
155122013-11-06 Will Newton <will.newton@linaro.org>
15513
15514 * manual/memory.texi (Malloc Examples): Remove register
15515 keyword from examples.
15516
f6e12daa 155172013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 15518
f6e12daa 15519 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 15520
9d880655
AS
155212013-11-04 Joseph Myers <joseph@codesourcery.com>
15522
fd2f9486 15523 [BZ #6981]
9d880655
AS
15524 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15525 depending on [__GCC_IEC_559 > 0].
15526 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15527 depending on [__GCC_IEC_559_COMPLEX > 0].
15528
ae129d3c
CL
155292013-11-03 Chris Leonard <cjl@sugarlabs.org>
15530
15531 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15532 to iso-639.def.
15533
4a15c2a4 155342013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
15535
15536 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15537
8b35e35d
OB
155382013-11-01 Ondřej Bílka <neleai@seznam.cz>
15539
15540 [BZ #16112]
15541 * malloc/malloc (malloc_info): Do not handle first bin as
15542 special case.
15543
1d70fd6c
CL
155442013-11-01 Chris Leonard <cjl@sugarlabs.org>
15545
15546 * locale/iso-639.def: Add Central Nahuatl (nhn).
15547
8c5c2600
BH
155482013-11-01 Bruno Haible <bruno@clisp.org>
15549
15550 [BZ #7003]
15551 * manual/math.texi (BSD Random): Specify range upper bound as
15552 in POSIX.
15553
da5579c2
CL
155542013-10-31 Chris Leonard <cjl@sugarlabs.org>
15555
15556 * locale/iso-639.def: Add Meadow Mari (mhr).
15557
5d30d853
OB
155582013-10-31 Ondřej Bílka <neleai@seznam.cz>
15559
15560 [BZ #14752], [BZ #15763]
15561 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15562 Validate name.
15563 * rt/tst_shm.c: Add test for escaping directory.
15564
a4966c61
AS
155652013-10-31 Andreas Schwab <schwab@suse.de>
15566
8a43e768 15567 [BZ #15917]
a4966c61
AS
15568 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15569 followed by 'x' as part of digit sequence.
15570 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15571
28d708c4
MAP
155722013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15573
15574 [BZ #16037]
15575 * configure.ac: allow GNU Make 4.0 and greater.
15576 * configure: Regenerated.
15577
a56ee40b
WN
155782013-10-30 Will Newton <will.newton@linaro.org>
15579
15580 [BZ #16038]
15581 * malloc/hooks.c (memalign_check): Limit alignment to the
15582 maximum representable power of two.
15583 * malloc/malloc.c (__libc_memalign): Likewise.
15584 * malloc/tst-memalign.c (do_test): Add test for very
15585 large alignment values.
15586 * malloc/tst-posix_memalign.c (do_test): Likewise.
15587
c6e4925d
OB
155882013-10-30 Ondřej Bílka <neleai@seznam.cz>
15589
15590 [BZ #11087]
15591 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15592 (munmap_chunk): Likewise.
15593 (mremap_chunk): Likewise.
15594
155952013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 15596
8a43e768 15597 [BZ #15799]
bbea82f7
OB
15598 * stdlib/div.c (div): Remove obsolete code.
15599 * stdlib/ldiv.c (ldiv): Likewise.
15600 * stdlib/lldiv.c (lldiv): Likewise.
15601
977f4b31
SP
156022013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15603
15604 [BZ #16071]
15605 * nss/nss_files/files-XXX.c (get_contents_ret): New
15606 enumerator.
15607 (get_contents): New function.
15608 (internal_getent): Use it. Expand size of LINEBUFLEN.
15609
cb8a6dbd
MF
156102013-10-30 Mike Frysinger <vapier@gentoo.org>
15611
15612 * configure.in: Moved to ...
15613 * configure.ac: ... here. Change reference to configure.in
15614 to configure.ac.
15615 * sysdeps/arm/preconfigure.ac: ... here.
15616 configure.in to configure.ac.
15617 * sysdeps/gnu/configure.in: Moved to ...
15618 * sysdeps/gnu/configure.ac: ... here.
15619 * sysdeps/i386/configure.in: Moved to ...
15620 * sysdeps/i386/configure.ac: ... here.
15621 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15622 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15623 * sysdeps/mach/configure.in: Moved to ...
15624 * sysdeps/mach/configure.ac: ... here.
15625 * sysdeps/mach/hurd/configure.in: Moved to ...
15626 * sysdeps/mach/hurd/configure.ac: ... here.
15627 * sysdeps/powerpc/configure.in: Moved to ...
15628 * sysdeps/powerpc/configure.ac: ... here.
15629 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15630 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15631 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15632 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15633 * sysdeps/s390/s390-32/configure.in: Moved to ...
15634 * sysdeps/s390/s390-32/configure.ac: ... here.
15635 * sysdeps/s390/s390-64/configure.in: Moved to ...
15636 * sysdeps/s390/s390-64/configure.ac: ... here.
15637 * sysdeps/sh/configure.in: Moved to ...
15638 * sysdeps/sh/configure.ac: ... here.
15639 * sysdeps/sparc/configure.in: Moved to ...
15640 * sysdeps/sparc/configure.ac: ... here.
15641 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15642 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15643 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15644 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15645 * sysdeps/x86_64/configure.in: Moved to ...
15646 * sysdeps/x86_64/configure.ac: ... here.
15647 * sysdeps/x86_64/preconfigure.in: Moved to ...
15648 * sysdeps/x86_64/preconfigure.ac: ... here.
15649 * aclocal.m4: Change reference to configure.in to configure.ac.
15650 * config.h.in: Likewise.
15651 * manual/install.texi: Likewise.
15652 * manual/maint.texi: Likewise.
15653 * Makefile: Likewise.
15654 * malloc/Makefile: Likewise.
15655 * nscd/Makefile: Likewise.
15656 * Makeconfig: Change reference to configure.in and
15657 preconfigure.in to configure.ac and preconfigure.ac
15658 respectively.
15659 * INSTALL: Regenerated.
15660 * configure: Likewise.
15661 * sysdeps/gnu/configure: Likewise.
15662 * sysdeps/i386/configure: Likewise.
15663 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15664 * sysdeps/mach/configure: Likewise.
15665 * sysdeps/mach/hurd/configure: Likewise.
15666 * sysdeps/powerpc/configure: Likewise.
15667 * sysdeps/powerpc/powerpc32/configure: Likewise.
15668 * sysdeps/powerpc/powerpc64/configure: Likewise.
15669 * sysdeps/s390/s390-32/configure: Likewise.
15670 * sysdeps/s390/s390-64/configure: Likewise.
15671 * sysdeps/sh/configure: Likewise.
15672 * sysdeps/sparc/configure: Likewise.
15673 * sysdeps/unix/sysv/linux/configure: Likewise.
15674 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15675 * sysdeps/x86_64/configure: Likewise.
15676 * sysdeps/x86_64/preconfigure: Likewise.
15677
36a4953a
AS
156782013-10-29 Andreas Schwab <schwab@suse.de>
15679
15680 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15681
c79a1204
SP
156822013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15683
dfa1b402
SP
15684 * benchtests/pow-inputs: Add new inputs.
15685
54f73d9c
SP
15686 * benchtests/exp-inputs: Add new inputs.
15687
c79a1204
SP
15688 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15689 conditional check for return value.
15690 (__cos32): Likewise.
15691
67beb545 156922013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
15693
15694 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15695 to provide a boost for large inputs with word alignment.
15696 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15697 implementation based on optimized PPC64 strcpy.
15698 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15699 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15700 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15701 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15702
151659f6
OB
157032013-10-25 Ondřej Bílka <neleai@seznam.cz>
15704
482a077e 15705 [BZ #2801]
151659f6
OB
15706 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15707
10b0f26b
OB
157082013-10-25 Ondřej Bílka <neleai@seznam.cz>
15709
15710 [BZ #14876]
15711 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15712 * time/tst-strptime.c (day_tests): Add testcase.
15713
ca42d35e
OB
157142013-10-25 Ondřej Bílka <neleai@seznam.cz>
15715
482a077e 15716 [BZ #14029]
ca42d35e
OB
15717 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15718
52e6d801
FB
157192013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15720
15721 [BZ #16074]
15722 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15723 MAP_FAILED on error.
15724
7cbcdb36
SP
157252013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15726
15727 [BZ #16072]
15728 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15729 heap for large requests.
15730
894f3f10
AM
157312013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15732
15733 [BZ #9954]
15734 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15735 result if the result has no associated interface.
15736 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15737 interface for all 127.X.Y.Z addresses.
15738
b85545a6
CL
157392013-10-24 Chris Leonard <cjl@sugarlabs.org>
15740
15741 * locale/iso-639.def: Add Ligurian (lij)
15742
d1f23d46
OB
157432013-10-21 Ondřej Bílka <neleai@seznam.cz>
15744
15745 [BZ #15825]
15746 * sunrpc/rpc_main.c: Document rpcgen -5.
15747
4db5b08f
MS
157482013-10-19 Michael Stahl <mstahl@redhat.com>
15749
15750 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15751
a471e96a
OB
157522013-10-19 Ondřej Bílka <neleai@seznam.cz>
15753
d1f23d46 15754 [BZ #10278]
a471e96a
OB
15755 * posix/glob.c: Match only directories when trailing slash is present.
15756 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15757 (main): Add testcase.
15758
45c30c61
OB
157592013-10-19 Ondřej Bílka <neleai@seznam.cz>
15760
15761 [BZ #15670]
15762 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15763
484c12fb
CD
157642013-10-18 Carlos O'Donell <carlos@redhat.com>
15765
3d7dc513
CD
15766 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15767 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15768 AUTH_DES and cindex for FIPS 140-2.
15769 (DES Encryption): Add cindex FIPS 46-3.
15770
484c12fb
CD
15771 * locale/locarchive.h (struct locarhandle): Add fname.
15772 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15773 if an optional argument was specified to --list-archive,
15774 otherwise NULL.
15775 * locale/programs/locarchive.c (show_archive_content): Take new
15776 argument fname and pass it via ah.fname to open_archive.
15777 * locale/programs/localedef.h: Update decl.
15778 (open_archive): If AH->fname is non-null, open that file
15779 rather than the default file name, and don't ignore ENOENT.
15780 (create_archive): Set AH.fname to NULL.
15781 (delete_locales_from_archive): Likewise.
15782 (add_locales_to_archive): Likewise.
15783 * locale/programs/locfile.c (write_all_categories): Likewise.
15784
3c8325fb
JM
157852013-10-18 Joseph Myers <joseph@codesourcery.com>
15786 Aldy Hernandez <aldyh@redhat.com>
15787
15788 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15789 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15790 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15791 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15792 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15793 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15794 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15795 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15796 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15797 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15798 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15799 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15800 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15801 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15802 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15803 Likewise.
15804 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15805 Likewise.
15806 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15807 Likewise.
15808 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15809 Likewise.
15810 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15811 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15812 Likewise.
15813 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15814 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15815 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15816 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15817 Likewise.
15818 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15819 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15820 * sysdeps/powerpc/preconfigure: Likewise.
15821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15822 Likewise.
15823 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15824 Replace contents of file by #include of <fenv_libc.h>.
15825 * sysdeps/powerpc/soft-fp/sfp-machine.h
15826 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15827 and <sys/prctl.h>.
15828 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15829 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15830 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15831 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15832 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15833 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15834 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15835 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15836 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15837 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15838 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15839 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15841 Allow copysignl PLT reference to be missing.
15842
5abe0682
RS
158432013-10-18 Richard Sandiford <richard@codesourcery.com>
15844 Joseph Myers <joseph@codesourcery.com
15845
15846 [BZ #15948]
15847 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15848 single character.
15849 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15850
c7738d08
SP
158512013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15852
15853 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15854 * elf/tst-tls1.c: Likewise.
15855 * elf/tst-tls10.h: Likewise.
15856 * elf/tst-tls14.c: Likewise.
15857 * elf/tst-tls2.c: Likewise.
15858 * elf/tst-tls3.c: Likewise.
15859 * elf/tst-tls4.c: Likewise.
15860 * elf/tst-tls5.c: Likewise.
15861 * elf/tst-tls6.c: Likewise.
15862 * elf/tst-tls7.c: Likewise.
15863 * elf/tst-tls8.c: Likewise.
15864 * elf/tst-tls9.c: Likewise.
15865 * elf/tst-tlsmod1.c: Likewise.
15866 * elf/tst-tlsmod13.c: Likewise.
15867 * elf/tst-tlsmod13a.c: Likewise.
15868 * elf/tst-tlsmod14a.c: Likewise.
15869 * elf/tst-tlsmod16a.c: Likewise.
15870 * elf/tst-tlsmod16b.c: Likewise.
15871 * elf/tst-tlsmod2.c: Likewise.
15872 * elf/tst-tlsmod3.c: Likewise.
15873 * elf/tst-tlsmod4.c: Likewise.
15874 * elf/tst-tlsmod5.c: Likewise.
15875 * elf/tst-tlsmod6.c: Likewise.
15876
0bfcf2c7
OB
158772013-10-18 Ondřej Bílka <neleai@seznam.cz>
15878
15879 [BZ #12486]
15880 * malloc/malloc.c: remove checks for statistics.
15881
264aad1e
OB
158822013-10-17 Ondřej Bílka <neleai@seznam.cz>
15883
15884 [BZ #15277]
15885 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15886 * inet/tst-network.c: Add testcase.
15887
b957ced8
AS
158882013-10-17 Andreas Schwab <schwab@suse.de>
15889
15890 [BZ #15218]
15891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15892 to determine canonical name.
15893
c5d5d574
OB
158942013-10-17 Ondřej Bílka <neleai@seznam.cz>
15895
15896 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15897 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15898 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15899 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15901 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15902 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15903 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15904 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15905 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15906 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15907 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15908 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15909 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15910 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15911 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15912 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15913 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15914 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15915 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15916 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15917 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15918 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15919 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15920 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15921 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15922 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15923 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15924 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15925 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15926 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15927 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15928 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15929 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15930 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15931 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15932 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15933 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15934 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15935 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15936 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15937 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15938 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15939 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15940 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15941 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15942 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15943 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15944 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15945 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15946 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15947 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15948 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15949 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15950 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15951 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15952 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15953 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15954
e5c2c2d0
JM
159552013-10-17 Joseph Myers <joseph@codesourcery.com>
15956
15957 [BZ #16041]
15958 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15959 make result into a quiet NaN.
15960
51ca9e29
JM
159612013-10-16 Joseph Myers <joseph@codesourcery.com>
15962
15963 * soft-fp/adddf3.c: Fix horizontal whitespace.
15964 * soft-fp/addsf3.c: Likewise.
15965 * soft-fp/addtf3.c: Likewise.
15966 * soft-fp/divdf3.c: Likewise.
15967 * soft-fp/divsf3.c: Likewise.
15968 * soft-fp/divtf3.c: Likewise.
15969 * soft-fp/double.h: Likewise.
15970 * soft-fp/eqdf2.c: Likewise.
15971 * soft-fp/eqsf2.c: Likewise.
15972 * soft-fp/eqtf2.c: Likewise.
15973 * soft-fp/extenddftf2.c: Likewise.
15974 * soft-fp/extended.h: Likewise.
15975 * soft-fp/extendsfdf2.c: Likewise.
15976 * soft-fp/extendsftf2.c: Likewise.
15977 * soft-fp/extendxftf2.c: Likewise.
15978 * soft-fp/fixdfdi.c: Likewise.
15979 * soft-fp/fixdfsi.c: Likewise.
15980 * soft-fp/fixdfti.c: Likewise.
15981 * soft-fp/fixsfdi.c: Likewise.
15982 * soft-fp/fixsfsi.c: Likewise.
15983 * soft-fp/fixsfti.c: Likewise.
15984 * soft-fp/fixtfdi.c: Likewise.
15985 * soft-fp/fixtfsi.c: Likewise.
15986 * soft-fp/fixtfti.c: Likewise.
15987 * soft-fp/fixunsdfdi.c: Likewise.
15988 * soft-fp/fixunsdfsi.c: Likewise.
15989 * soft-fp/fixunsdfti.c: Likewise.
15990 * soft-fp/fixunssfdi.c: Likewise.
15991 * soft-fp/fixunssfsi.c: Likewise.
15992 * soft-fp/fixunssfti.c: Likewise.
15993 * soft-fp/fixunstfdi.c: Likewise.
15994 * soft-fp/fixunstfsi.c: Likewise.
15995 * soft-fp/fixunstfti.c: Likewise.
15996 * soft-fp/floatdidf.c: Likewise.
15997 * soft-fp/floatdisf.c: Likewise.
15998 * soft-fp/floatditf.c: Likewise.
15999 * soft-fp/floatsidf.c: Likewise.
16000 * soft-fp/floatsisf.c: Likewise.
16001 * soft-fp/floatsitf.c: Likewise.
16002 * soft-fp/floattidf.c: Likewise.
16003 * soft-fp/floattisf.c: Likewise.
16004 * soft-fp/floattitf.c: Likewise.
16005 * soft-fp/floatundidf.c: Likewise.
16006 * soft-fp/floatundisf.c: Likewise.
16007 * soft-fp/floatunditf.c: Likewise.
16008 * soft-fp/floatunsidf.c: Likewise.
16009 * soft-fp/floatunsisf.c: Likewise.
16010 * soft-fp/floatunsitf.c: Likewise.
16011 * soft-fp/floatuntidf.c: Likewise.
16012 * soft-fp/floatuntisf.c: Likewise.
16013 * soft-fp/floatuntitf.c: Likewise.
16014 * soft-fp/fmadf4.c: Likewise.
16015 * soft-fp/fmasf4.c: Likewise.
16016 * soft-fp/fmatf4.c: Likewise.
16017 * soft-fp/gedf2.c: Likewise.
16018 * soft-fp/gesf2.c: Likewise.
16019 * soft-fp/getf2.c: Likewise.
16020 * soft-fp/ledf2.c: Likewise.
16021 * soft-fp/lesf2.c: Likewise.
16022 * soft-fp/letf2.c: Likewise.
16023 * soft-fp/muldf3.c: Likewise.
16024 * soft-fp/mulsf3.c: Likewise.
16025 * soft-fp/multf3.c: Likewise.
16026 * soft-fp/negdf2.c: Likewise.
16027 * soft-fp/negsf2.c: Likewise.
16028 * soft-fp/negtf2.c: Likewise.
16029 * soft-fp/op-1.h: Likewise.
16030 * soft-fp/op-2.h: Likewise.
16031 * soft-fp/op-4.h: Likewise.
16032 * soft-fp/op-8.h: Likewise.
16033 * soft-fp/op-common.h: Likewise.
16034 * soft-fp/quad.h: Likewise.
16035 * soft-fp/single.h: Likewise.
16036 * soft-fp/soft-fp.h: Likewise.
16037 * soft-fp/sqrtdf2.c: Likewise.
16038 * soft-fp/sqrtsf2.c: Likewise.
16039 * soft-fp/sqrttf2.c: Likewise.
16040 * soft-fp/subdf3.c: Likewise.
16041 * soft-fp/subsf3.c: Likewise.
16042 * soft-fp/subtf3.c: Likewise.
16043 * soft-fp/truncdfsf2.c: Likewise.
16044 * soft-fp/trunctfdf2.c: Likewise.
16045 * soft-fp/trunctfsf2.c: Likewise.
16046 * soft-fp/trunctfxf2.c: Likewise.
16047 * soft-fp/unorddf2.c: Likewise.
16048 * soft-fp/unordsf2.c: Likewise.
16049 * soft-fp/unordtf2.c: Likewise.
16050
9ebb0332
JM
160512013-10-15 Joseph Myers <joseph@codesourcery.com>
16052
16053 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16054 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16055
4b1a6d8b
OB
160562013-10-15 Ondřej Bílka <neleai@seznam.cz>
16057
16058 * elf/dl-libc.c: Clear initfini list after freeing.
16059
1e145589
JM
160602013-10-14 Joseph Myers <joseph@codesourcery.com>
16061
16062 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16063 * soft-fp/addsf3.c: Likewise.
16064 * soft-fp/addtf3.c: Likewise.
16065 * soft-fp/divdf3.c: Likewise.
16066 * soft-fp/divsf3.c: Likewise.
16067 * soft-fp/divtf3.c: Likewise.
16068 * soft-fp/double.h: Likewise.
16069 * soft-fp/eqdf2.c: Likewise.
16070 * soft-fp/eqsf2.c: Likewise.
16071 * soft-fp/eqtf2.c: Likewise.
16072 * soft-fp/extenddftf2.c: Likewise.
16073 * soft-fp/extended.h: Likewise.
16074 * soft-fp/extendsfdf2.c: Likewise.
16075 * soft-fp/extendsftf2.c: Likewise.
16076 * soft-fp/extendxftf2.c: Likewise.
16077 * soft-fp/fixdfdi.c: Likewise.
16078 * soft-fp/fixdfsi.c: Likewise.
16079 * soft-fp/fixdfti.c: Likewise.
16080 * soft-fp/fixsfdi.c: Likewise.
16081 * soft-fp/fixsfsi.c: Likewise.
16082 * soft-fp/fixsfti.c: Likewise.
16083 * soft-fp/fixtfdi.c: Likewise.
16084 * soft-fp/fixtfsi.c: Likewise.
16085 * soft-fp/fixtfti.c: Likewise.
16086 * soft-fp/fixunsdfdi.c: Likewise.
16087 * soft-fp/fixunsdfsi.c: Likewise.
16088 * soft-fp/fixunsdfti.c: Likewise.
16089 * soft-fp/fixunssfdi.c: Likewise.
16090 * soft-fp/fixunssfsi.c: Likewise.
16091 * soft-fp/fixunssfti.c: Likewise.
16092 * soft-fp/fixunstfdi.c: Likewise.
16093 * soft-fp/fixunstfsi.c: Likewise.
16094 * soft-fp/fixunstfti.c: Likewise.
16095 * soft-fp/floatdidf.c: Likewise.
16096 * soft-fp/floatdisf.c: Likewise.
16097 * soft-fp/floatditf.c: Likewise.
16098 * soft-fp/floatsidf.c: Likewise.
16099 * soft-fp/floatsisf.c: Likewise.
16100 * soft-fp/floatsitf.c: Likewise.
16101 * soft-fp/floattidf.c: Likewise.
16102 * soft-fp/floattisf.c: Likewise.
16103 * soft-fp/floattitf.c: Likewise.
16104 * soft-fp/floatundidf.c: Likewise.
16105 * soft-fp/floatundisf.c: Likewise.
16106 * soft-fp/floatunsidf.c: Likewise.
16107 * soft-fp/floatunsisf.c: Likewise.
16108 * soft-fp/floatuntidf.c: Likewise.
16109 * soft-fp/floatuntisf.c: Likewise.
16110 * soft-fp/floatuntitf.c: Likewise.
16111 * soft-fp/fmadf4.c: Likewise.
16112 * soft-fp/fmasf4.c: Likewise.
16113 * soft-fp/fmatf4.c: Likewise.
16114 * soft-fp/gedf2.c: Likewise.
16115 * soft-fp/gesf2.c: Likewise.
16116 * soft-fp/getf2.c: Likewise.
16117 * soft-fp/ledf2.c: Likewise.
16118 * soft-fp/lesf2.c: Likewise.
16119 * soft-fp/letf2.c: Likewise.
16120 * soft-fp/muldf3.c: Likewise.
16121 * soft-fp/mulsf3.c: Likewise.
16122 * soft-fp/multf3.c: Likewise.
16123 * soft-fp/negdf2.c: Likewise.
16124 * soft-fp/negsf2.c: Likewise.
16125 * soft-fp/negtf2.c: Likewise.
16126 * soft-fp/op-1.h: Likewise.
16127 * soft-fp/op-2.h: Likewise.
16128 * soft-fp/op-4.h: Likewise.
16129 * soft-fp/op-8.h: Likewise.
16130 * soft-fp/op-common.h: Likewise.
16131 * soft-fp/quad.h: Likewise.
16132 * soft-fp/single.h: Likewise.
16133 * soft-fp/soft-fp.h: Likewise.
16134 * soft-fp/sqrtdf2.c: Likewise.
16135 * soft-fp/sqrtsf2.c: Likewise.
16136 * soft-fp/sqrttf2.c: Likewise.
16137 * soft-fp/subdf3.c: Likewise.
16138 * soft-fp/subsf3.c: Likewise.
16139 * soft-fp/subtf3.c: Likewise.
16140 * soft-fp/truncdfsf2.c: Likewise.
16141 * soft-fp/trunctfdf2.c: Likewise.
16142 * soft-fp/trunctfsf2.c: Likewise.
16143 * soft-fp/trunctfxf2.c: Likewise.
16144 * soft-fp/unorddf2.c: Likewise.
16145 * soft-fp/unordsf2.c: Likewise.
16146 * soft-fp/unordtf2.c: Likewise.
16147
17c48a60
OB
161482013-10-14 Ondřej Bílka <neleai@seznam.cz>
16149
16150 [BZ #15672]
16151 * misc/error.c (error_tail): Fix possible buffer overflow.
16152
cabba934
OB
161532013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16154
16155 [BZ #13028]
16156 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16157 address.
16158
94bf958a
PM
161592013-10-14 P. J. McDermott <pj@pehjota.net>
16160
16161 [BZ #832]
16162 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16163 testing pipefail option.
16164
71b4dea7
JM
161652013-10-12 Joseph Myers <joseph@codesourcery.com>
16166
16167 * soft-fp/double.h: Indent preprocessor directives inside #if.
16168 * soft-fp/extended.h: Likewise.
16169 * soft-fp/op-2.h: Likewise.
16170 * soft-fp/op-4.h: Likewise.
16171 * soft-fp/op-common.h: Likewise.
16172 * soft-fp/quad.h: Likewise.
16173 * soft-fp/single.h: Likewise.
16174 * soft-fp/soft-fp.h: Likewise.
16175
55602758
YC
161762013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16177
16178 * iconv/iconv_prog.c: Fix typos.
16179 * stdio-common/psiginfo-data.h: Likewise.
16180
9cd83302
RT
161812013-10-12 Reuben Thomas <rrt@sc3d.org>
16182
16183 [BZ #15764]
16184 * locale/setlocale.c: Fix typo.
16185
99fd9f47
JM
161862013-10-12 Joseph Myers <joseph@codesourcery.com>
16187
b7ea74f0
JM
16188 [BZ #16036]
16189 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16190 signaling NaN arguments.
16191 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16192 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16193
8a509447
JM
16194 [BZ #14910]
16195 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16196 unordered operands.
16197 * soft-fp/gesf2.c (__gesf2): Likewise.
16198 * soft-fp/getf2.c (__getf2): Likewise.
16199 * soft-fp/ledf2.c (__ledf2): Likewise.
16200 * soft-fp/lesf2.c (__lesf2): Likewise.
16201 * soft-fp/letf2.c (__letf2): Likewise.
16202
98998e9f
JM
16203 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16204 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16205 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16206 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16207 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16208 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16209 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16210 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16211 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16212 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16213 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16214 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16215 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16216 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16217 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16218 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16219 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16220 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16221 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16222 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16223 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16224 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16225 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16226 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16227 * soft-fp/floattidf.c (__floattidf): Likewise.
16228 * soft-fp/floattisf.c (__floattisf): Likewise.
16229 * soft-fp/floattitf.c (__floattitf): Likewise.
16230 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16231 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16232 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16233 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16234 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16235 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16236 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16237 * soft-fp/gesf2.c (__gesf2): Likewise.
16238 * soft-fp/getf2.c (__getf2): Likewise.
16239 * soft-fp/ledf2.c (__ledf2): Likewise.
16240 * soft-fp/lesf2.c (__lesf2): Likewise.
16241 * soft-fp/letf2.c (__letf2): Likewise.
16242
8edc4a11
JM
16243 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16244 Undefine and redefine.
16245 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16246 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16247 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16248 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16249 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16250 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16251 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16252 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16253 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16254 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16255 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16256 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16257 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16258 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16259 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16260
8399acaf
JM
16261 [BZ #16032]
16262 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16263 without decrementing exponent if mantissa >= that for the
16264 denominator, not >.
16265 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16266 denominator, not >. Decrement exponent in < case instead of
16267 incrementing in >= case.
16268 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16269 without decrementing exponent if mantissa >= that for the
16270 denominator, not >.
16271
99fd9f47
JM
16272 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16273 computing saturated result for unsigned overflow.
16274
10e1cf6b
SP
162752013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16276 Jeff Law <law@redhat.com>
16277
16278 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16279 (atan2Mp): Add systemtap probe marker.
16280 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16281 (__ieee754_log): Add systemtap probe marker.
16282 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16283 (atanMp): Add systemtap probe marker.
16284 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16285 (tanMp): Add systemtap probe marker.
16286 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16287 (__slowexp): Add systemtap probe marker.
16288 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16289 (__slowpow): Add systemtap probe marker.
16290 * manual/probes.texi: Document probes.
16291
3d110c7c
EB
162922013-10-11 Eric Biggers <ebiggers3@gmail.com>
16293
16294 [BZ #15362]
16295 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16296 written.
16297 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16298 written.
16299 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16300 written to buffer but not flushed.
16301 * libio/iofwrite_u.c: Likewise.
16302 * libio/iopadn.c: Return bytes returned even if EOF was
16303 encountered.
16304 * libio/iowpadn.c: Likewise.
16305 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16306 if _IO_padn does not write the whole buffer.
16307 [!COMPILE_WPRINTF] (PAD): Likewise.
16308
75b4202a
DM
163092013-10-10 David S. Miller <davem@davemloft.net>
16310
16311 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16312 directory block.
16313
6c6352e6
JM
163142013-10-10 Joseph Myers <joseph@codesourcery.com>
16315
33b853c3
JM
16316 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16317 instead of FSF address.
16318 * soft-fp/fixdfti.c: Likewise.
16319 * soft-fp/fixsfti.c: Likewise.
16320 * soft-fp/fixtfti.c: Likewise.
16321 * soft-fp/fixunsdfti.c: Likewise.
16322 * soft-fp/fixunssfti.c: Likewise.
16323 * soft-fp/fixunstfti.c: Likewise.
16324 * soft-fp/floattidf.c: Likewise.
16325 * soft-fp/floattisf.c: Likewise.
16326 * soft-fp/floattitf.c: Likewise.
16327 * soft-fp/floatuntidf.c: Likewise.
16328 * soft-fp/floatuntisf.c: Likewise.
16329 * soft-fp/floatuntitf.c: Likewise.
16330 * soft-fp/trunctfxf2.c: Likewise.
16331
6c6352e6
JM
16332 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16333 * soft-fp/fixdfti.c: Likewise.
16334 * soft-fp/fixsfti.c: Likewise.
16335 * soft-fp/fixtfti.c: Likewise.
16336 * soft-fp/fixunsdfti.c: Likewise.
16337 * soft-fp/fixunssfti.c: Likewise.
16338 * soft-fp/fixunstfti.c: Likewise.
16339 * soft-fp/floattidf.c: Likewise.
16340 * soft-fp/floattisf.c: Likewise.
16341 * soft-fp/floattitf.c: Likewise.
16342 * soft-fp/floatuntidf.c: Likewise.
16343 * soft-fp/floatuntisf.c: Likewise.
16344 * soft-fp/floatuntitf.c: Likewise.
16345 * soft-fp/trunctfxf2.c: Likewise.
16346
3bf78b71
DM
163472013-10-10 David S. Miller <davem@davemloft.net>
16348
16349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16350
6f10289e
JM
163512013-10-10 Joseph Myers <joseph@codsourcery.com>
16352
bd878fc0
JM
16353 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16354 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16355 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16356 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16357 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16358 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16359 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16360
6f10289e
JM
16361 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16362 for NaNs before doing comparisons on argument.
16363 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16364 Likewise.
16365
321e2684
WN
163662013-10-10 Will Newton <will.newton@linaro.org>
16367
16368 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16369 passed to _int_memalign does not overflow.
16370
40fefba1
TR
163712013-10-10 Torvald Riegel <triegel@redhat.com>
16372
16373 * scripts/bench.pl: Add include-sources directive.
16374 * benchtests/README: Update documentation.
16375
2ae21ed2
JM
163762013-10-10 Joseph Myers <joseph@codesourcery.com>
16377
dcc2dd3f
JM
16378 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16379 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16380 instead of FP_INIT_ROUNDMODE.
16381 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16382 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16383
2ae21ed2
JM
16384 [BZ #16034]
16385 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16386 copy class of input value.
16387 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16388 not handle exceptions.
16389 * soft-fp/negsf2.c (__negsf2): Likewise.
16390 * soft-fp/negtf2.c (__negtf2): Likewise.
16391 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16392
cb8f9562
JM
163932013-10-09 Joseph Myers <joseph@codesourcery.com>
16394
16395 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16396 semicolon. From Linux kernel.
16397
5b60c59d
AB
163982013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16399
16400 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16401
b86835ca
YC
164022013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16403
16404 [BZ #156]
16405 * manual/socket.texi: Added statement about buffer
16406 for gethostbyname2_r.
16407
e7044ea7
OB
164082013-10-08 Ondřej Bílka <neleai@seznam.cz>
16409
16410 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16411 Use .p2align directive instead, throughout.
16412 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16413 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16414 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16415 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16416 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16417 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16418 * sysdeps/x86_64/strchr.S: Likewise.
16419 * sysdeps/x86_64/strrchr.S: Likewise.
16420
09544cbc
SP
164212013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16422
88576635
SP
16423 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16424
e7b2d1dd
SP
16425 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16426
09544cbc
SP
16427 * sysdeps/generic/math_private.h (__mpsin1): Remove
16428 declaration.
16429 (__mpcos1): Likewise.
16430 (__mpsin): New argument __range_reduce.
16431 (__mpcos): Likewise.
16432 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16433 (slow): Use __mpsin and __mpcos.
16434 (slow1): Likewise.
16435 (slow2): Likewise.
16436 (sloww): Likewise.
16437 (sloww1): Likewise.
16438 (sloww2): Likewise.
16439 (bsloww): Likewise.
16440 (bsloww1): Likewise.
16441 (bsloww2): Likewise.
16442 (cslow2): Likewise.
16443 (csloww): Likewise.
16444 (csloww1): Likewise.
16445 (csloww2): Likewise.
16446 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16447 range_reduce. Merge in __mpsin1.
16448 (__mpcos): Likewise.
16449 (__mpsin1): Remove.
16450 (__mpcos1): Likewise.
16451
7602d070
JM
164522013-10-07 Joseph Myers <joseph@codesourcery.com>
16453
16454 * locale/loadlocale.c (_nl_intern_locale_data): Use
16455 LOCFILE_ALIGNED_P.
16456 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16457 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16458 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16459 obstack data is appropriately aligned.
16460 (obstack_int32_grow_fast): Likewise.
16461 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16462 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16463 (add_locale_uint32_array): Likewise.
16464
a357259b
SP
164652013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16466
16467 * benchtests/Makefile: Remove ARGLIST and RET variables.
16468 ($(objpfx)bench-%.c): Pass only function name to the script.
16469 * benchtests/README: Update documentation.
16470 * benchtests/acos-inputs: Add new directives.
16471 * benchtests/acosh-inputs: Likewise.
16472 * benchtests/asin-inputs: Likewise.
16473 * benchtests/asinh-inputs: Likewise.
16474 * benchtests/atan-inputs: Likewise.
16475 * benchtests/atanh-inputs: Likewise.
16476 * benchtests/cos-inputs: Likewise.
16477 * benchtests/cosh-inputs: Likewise.
16478 * benchtests/exp-inputs: Likewise.
16479 * benchtests/log-inputs: Likewise.
16480 * benchtests/pow-inputs: Likewise.
16481 * benchtests/rint-inputs: Likewise.
16482 * benchtests/sin-inputs: Likewise.
16483 * benchtests/sinh-inputs: Likewise.
16484 * benchtests/tan-inputs: Likewise.
16485 * benchtests/tanh-inputs: Likewise.
16486 * scripts/bench.pl: Add support for new directives.
16487
9ec1b13d
AM
164882013-10-07 Alan Modra <amodra@gmail.com>
16489
16490 * README: Fix careless merge.
16491
8b7d57cd
AM
164922013-10-05 Alan Modra <amodra@gmail.com>
16493
16494 * NEWS: Mention powerpc64le support and bugs fixed.
16495 * README: Both big-endian and little-endian powerpc64 supported.
16496
7b7bab13
ST
164972013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16498
57f41c40
AS
16499 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16500 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
16501 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16502 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16503
d39baad1
RA
165042013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16505
16506 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16507 match prototype.
16508
cd78f7e7
JM
165092013-10-04 Joseph Myers <joseph@codesourcery.com>
16510
29d73d86
JM
16511 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16512 Move -mhard-float appending from
16513 ports/sysdeps/powerpc/powerpc32/Makefile.
16514 [$(with-fp) = yes] (ASFLAGS): Likewise.
16515 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16516 * sysdeps/powerpc/nofpu: Move directory from
16517 ports/sysdeps/powerpc/nofpu.
16518 * sysdeps/powerpc/soft-fp: Move directory from
16519 ports/sysdeps/powerpc/soft-fp.
16520 * sysdeps/powerpc/powerpc32/405: Move directory from
16521 ports/sysdeps/powerpc/powerpc32/405.
16522 * sysdeps/powerpc/powerpc32/440: Move directory from
16523 ports/sysdeps/powerpc/powerpc32/440.
16524 * sysdeps/powerpc/powerpc32/464: Move directory from
16525 ports/sysdeps/powerpc/powerpc32/464.
16526 * sysdeps/powerpc/powerpc32/476: Move directory from
16527 ports/sysdeps/powerpc/powerpc32/476.
16528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16529 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16531 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16533 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16535 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16537 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16538 * README: Update for powerpc-*-linux-gnu software floating point
16539 support in libc.
16540
e246b347
JM
16541 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16542 case to powerpc/powerpc32*.
16543 * sysdeps/unix/sysv/linux/configure: Regenerated.
16544
89c2003e
JM
16545 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16546 (_FPU_MASK_OM): Define as 0x04.
16547 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16548 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16549 0x00c10080.
16550 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16551 0x0000003c.
16552 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16553
cd78f7e7
JM
16554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16555 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16556 getcontext_e500.
16557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16558 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16559 setcontext_e500.
16560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16561 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16562 and setcontext_e500.
16563
c755294d
CL
165642013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16565
16566 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16567
e16d221c
SP
165682013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16569
16570 * manual/threads.texi (Default Thread Attributes): Fix typo.
16571
215c7d43
WN
165722013-10-04 Will Newton <will.newton@linaro.org>
16573
16574 * malloc/Makefile: Add tst-memalign.
16575 * malloc/tst-memalign.c: New file.
16576
27d0461b
WN
16577 * malloc/tst-posix_memalign.c: Add comments.
16578 (do_test): Add comments and call free on all potentially
16579 allocated pointers. Add space after cast.
16580
1bc92709
WN
16581 * malloc/tst-pvalloc.c: Add comments.
16582 (do_test): Add comments and call free on all potentially
16583 allocated pointers. Remove duplicate check for NULL pointer.
16584 Add space after cast.
16585
66a9be9d
WN
16586 * malloc/tst-valloc.c: Add comments.
16587 (do_test): Add comments and call free on all potentially
16588 allocated pointers. Remove duplicate check for NULL pointer.
16589 Add space after cast.
16590
4cb81307
AM
165912013-10-04 Alan Modra <amodra@gmail.com>
16592
16593 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16594 Use stdint types in rather than __attribute__((mode())).
16595 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16596
f8e3e9f3
AM
165972013-10-04 Alan Modra <amodra@gmail.com>
16598
16599 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16600 Correct handling of unaligned relocs for little-endian.
16601 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16602
8f9ebb08
AM
166032013-10-04 Alan Modra <amodra@gmail.com>
16604
16605 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16606 * configure: Regenerate.
16607 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16608 * shlib-versions: Likewise.
16609
0edf96c2
AM
166102013-10-04 Alan Modra <amodra@gmail.com>
16611
16612 * string/tester.c (test_memrchr): Increment reported test cycle.
16613
e0f7a380
AM
166142013-10-04 Alan Modra <amodra@gmail.com>
16615
16616 * string/test-memcpy.c (do_one_test): When reporting errors, print
16617 string address and don't overrun end of string.
16618
466b0393
AM
166192013-10-04 Alan Modra <amodra@gmail.com>
16620
16621 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16622 insrdi. Make better use of reg selection to speed exit slightly.
16623 Schedule entry path a little better. Remove useless "are we done"
16624 checks on entry to main loop. Handle wrapping around zero address.
16625 Correct main loop count. Handle single left-over word from main
16626 loop inline rather than by using loop_small. Remove extra word
16627 case in loop_small caused by wrong loop count. Add little-endian
16628 support.
16629 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16630 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16631 cache hint.
16632 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16633 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16634 support. Avoid rlwimi.
16635 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16636
3be87c77
AM
166372013-10-04 Alan Modra <amodra@gmail.com>
16638
16639 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 16640 insrdi. Formatting.
3be87c77
AM
16641 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16642 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16643 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16644 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16645 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16646 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16647
759cfef3
AM
166482013-10-04 Alan Modra <amodra@gmail.com>
16649
16650 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16651 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16652 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16653 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16654 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16655 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16656 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16657 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16658 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16659 use of regs. Use power7 mtocrf. Tidy function tails.
16660
fe6e95d7
AM
166612013-10-04 Alan Modra <amodra@gmail.com>
16662
16663 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16664 Formatting. Consistently use rXXX register defines or rN defines.
16665 Use early exit labels that avoid restoring unused non-volatile regs.
16666 Make cr field use more consistent with rWORDn compares. Rename
16667 regs used as shift registers for unaligned loop, using rN defines
16668 for short lifetime/multiple use regs.
16669 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16670 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16671 addi 1,1,64 to pop stack frame. Simplify return value code.
16672 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16673
664318c3
AM
166742013-10-04 Alan Modra <amodra@gmail.com>
16675
16676 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16677 support. Correct typos, formatting. Optimize tail. Use insrdi
16678 rather than rlwimi.
16679 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16680 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16681 little-endian support. Correct typos.
16682 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16683 rather than rlwimi.
16684 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16685 in loop and entry code to keep "and." results.
16686 (strchr): Add little-endian support. Comment. Move cntlzd
16687 earlier in tail.
16688 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16689
43b84013
AM
166902013-10-04 Alan Modra <amodra@gmail.com>
16691
16692 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16693 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16694 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16695 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16696
8a7413f9
AM
166972013-10-04 Alan Modra <amodra@gmail.com>
16698
16699 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16700 (rTMP): Define as r11.
16701 (strcmp): Add little-endian support. Optimise tail.
16702 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16703 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16704 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16705 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16706 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16707 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16708 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16709
33ee81de
AM
167102013-10-04 Alan Modra <amodra@gmail.com>
16711
16712 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16713 little-endian support. Remove unnecessary "are we done" tests.
16714 Handle "s" wrapping around zero and extremely large "size".
16715 Correct main loop count. Handle single left-over word from main
16716 loop inline rather than by using small_loop. Correct comments.
16717 Delete "zero" tail, use "end_max" instead.
16718 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16719
db9b4570
AM
167202013-10-04 Alan Modra <amodra@gmail.com>
16721
16722 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16723 support. Don't branch over align.
16724 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16725 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16726 support. Rearrange tmp reg use to suit. Comment.
16727 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16728
f7c399cf
AM
167292013-10-04 Alan Modra <amodra@gmail.com>
16730
16731 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16732
0b2c2ace
AM
167332013-10-04 Alan Modra <amodra@gmail.com>
16734
16735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16736 conditional form of branch and link when obtaining pc.
16737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16738
02f04a6c
AM
167392013-10-04 Alan Modra <amodra@gmail.com>
16740
16741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16742 HIWORD/LOWORD.
16743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16745
9b874b2f
AM
167462013-10-04 Alan Modra <amodra@gmail.com>
16747
16748 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16749 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16750 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16751 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16752 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16753 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16754 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16755 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16756 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16757 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16758
be1e5d31
AB
167592013-10-04 Anton Blanchard <anton@au1.ibm.com>
16760 Alistair Popple <alistair@ozlabs.au.ibm.com>
16761 Alan Modra <amodra@gmail.com>
16762
16763 [BZ #15723]
16764 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16765 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16766 _dl_hwcap access for little-endian.
16767 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16768 destroy vmx regs when saving unaligned.
16769 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16770 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16771 destroy vmx regs when saving unaligned.
16772
fef13a78
AM
167732013-10-04 Alan Modra <amodra@gmail.com>
16774
16775 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16776 Don't use a union to pack hi/low value.
16777
76a66d51
AB
167782013-10-04 Anton Blanchard <anton@au1.ibm.com>
16779
16780 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16781 for little-endian.
16782 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16783 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16784 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16785 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16786 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16787
6a31fe7f
AM
167882013-10-04 Alan Modra <amodra@gmail.com>
16789
16790 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16791 constants to usual value for .cst8 section, and remove redundant
16792 high address load.
16793 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16794 constant for 0x1p52. Load little-endian words of double from
16795 correct stack offsets.
16796
7b88401f
AM
167972013-10-04 Alan Modra <amodra@gmail.com>
16798
16799 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16800 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16801 words of double from correct stack offsets.
16802 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16803 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16804 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16805 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16806 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16807 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16808 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16809 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16810 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16811 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16812 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16813 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16814 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16815 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16816 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16817 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16818 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16819
9c008155
AM
168202013-10-04 Alan Modra <amodra@gmail.com>
16821
16822 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16823 64-bit int/double union.
16824 (_FPU_SETCW): Likewise.
16825 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16826 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16827
da13146d
AM
168282013-10-04 Alan Modra <amodra@gmail.com>
16829
16830 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16831 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16832
603e8410
AM
168332013-10-04 Alan Modra <amodra@gmail.com>
16834
16835 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16836 use vector int constants.
16837 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16838
4a28b3ca
AB
168392013-10-04 Anton Blanchard <anton@au1.ibm.com>
16840
16841 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16842 array with long long.
16843 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16844 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16845 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16846 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16847 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16848 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16849 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16850 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16851 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16852 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16853 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16854 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16855 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16856
2ca85d2b
AB
168572013-10-04 Anton Blanchard <anton@au1.ibm.com>
16858
16859 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16860 (__signbit): Likewise. Correct for little-endian.
16861 (__signbitl): Call __signbit.
16862 (lrint): Correct for little-endian.
16863 (lrintf): Call lrint.
16864
62a728ae
AM
168652013-10-04 Alan Modra <amodra@gmail.com>
16866
16867 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16868 union 32-bit int array member with 64-bit int array.
16869 (t515, tm256): Double rather than long double.
16870 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16871
32c301df
AM
168722013-10-04 Alan Modra <amodra@gmail.com>
16873
16874 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16875 Delete.
16876 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16877 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16878 version of math_ldbl.h.
16879
650ef4bd
AM
168802013-10-04 Alan Modra <amodra@gmail.com>
16881
16882 [BZ #15734], [BZ #15735]
16883 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16884 all uses of ieee875 long double macros and unions. Simplify test
16885 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16886 ldbl_extract_mantissa value for ix,iy exponents. Properly
16887 normalize after ldbl_extract_mantissa, and don't add hidden bit
16888 already handled. Don't treat low word of ieee854 mantissa like
16889 low word of IBM long double and mask off bit when testing for
16890 zero.
16891 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16892 all uses of ieee875 long double macros and unions. Simplify tests
16893 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16894 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16895 two1022, instead use their values. Recognise that tests for large
16896 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16897 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16898 Rewrite all uses of ieee875 long double macros and unions. Simplify
16899 test for 0.0L and nan. Correct negation.
16900 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16901 ieee875 long double macros and unions. Correct output for large
16902 magnitude x. Correct absolute value calculation.
16903 (__erfcl): Likewise.
16904 * math/libm-test.inc: Add tests for errors discovered in IBM long
16905 double versions of fmodl, remainderl, erfl and erfcl.
16906
765714ca
AM
169072013-10-04 Alan Modra <amodra@gmail.com>
16908
16909 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16910 all uses of ieee854 long double macros and unions. Simplify tests
16911 for long doubles that are fully specified by the high double.
16912 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16913 Likewise.
16914 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16915 Remove dead code too.
16916 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16917 (__ieee754_ynl): Likewise.
16918 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16919 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16920 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16921 Remove dead code too.
16922 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16923 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16924 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16925 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16926 Simplify.
16927 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16928 Simplify.
16929 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16930 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16931 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16932 Comment on variable precision.
16933 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16934 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16935 Likewise.
16936 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16937 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16938 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16939 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16940 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16941
4ebd120c
AM
169422013-10-04 Alan Modra <amodra@gmail.com>
16943
16944 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16945 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16946 all uses of ieee854 long double macros and unions.
16947 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16948 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16949 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16950 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16951 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16952 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16953 Likewise.
16954 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16955 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16956 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16957 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16958 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16959 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16960 Simplify sign and nan test too.
16961 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16962 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16963 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16964 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16965 Likewise.
16966 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16967 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16968 Likewise.
16969 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16970 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16971 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16972 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16973 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16974 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16975
1b6adf88
AM
169762013-10-04 Alan Modra <amodra@gmail.com>
16977
16978 * stdio-common/printf_size.c (__printf_size): Don't use
16979 union ieee854_long_double in fpnum union.
16980 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16981 signbit macro to retrieve sign from long double.
16982 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16983 retrieve sign from long double.
16984 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16985 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16986 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16987 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16988 * math/test-misc.c (main): Don't use union ieee854_long_double.
16989
4cf69995
AM
169902013-10-04 Alan Modra <amodra@gmail.com>
16991
16992 [BZ #15680]
16993 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16994 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16995 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16996 calculation. Remove unnecessary test for denormal exponent.
16997 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16998 Correct handling of denormals. Avoid undefined shift behaviour.
16999 Correct normalisation of low mantissa when low double is denormal.
17000 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17001 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17002 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17003 Correct normalisation of low mantissa. Test for overflow of high
17004 mantissa and normalise.
17005 (ldbl_nearbyint): Use more readable constant for two52.
17006 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17007 (__mpn_construct_long_double): Fix test for overflow of high
17008 mantissa and correct normalisation. Avoid undefined shift.
17009
9605ca6c
AM
170102013-10-04 Alan Modra <amodra@gmail.com>
17011
17012 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17013 (union ibm_extended_long_double): Define as an array of ieee754_double.
17014 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17015 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17016 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17017 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17018 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17019 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17020 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17021 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17022 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17023 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17024 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17025
975569d0
JM
170262013-10-03 Joseph Myers <joseph@codesourcery.com>
17027
d3d23756
JM
17028 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17029 page size instead of calling getpagesize.
17030
975569d0
JM
17031 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17032 (LOCFILE_ALIGN_MASK): Likewise.
17033 (LOCFILE_ALIGN_UP): Likewise.
17034 (LOCFILE_ALIGNED_P): Likewise.
17035 * locale/programs/ld-collate.c (collate_output): Use the new
17036 macros instead of __alignof__ (int32_t).
17037 * locale/weight.h (findidx): Likewise.
17038
b1fe1f2b
OB
170392013-10-03 Ondřej Bílka <neleai@seznam.cz>
17040
17041 [BZ #431]
17042 * manual/string.texi: Fix strncat and wcsncat.
17043
5f855e35
BM
170442013-10-03 Brooks Moses <bmoses@google.com>
17045
17046 [BZ #15915]
17047 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17048 * Makerules: ...here, and adjust associated comments.
17049
3cef6009
WN
170502013-10-02 Will Newton <will.newton@linaro.org>
17051
17052 * malloc/Makefile: Add tst-pvalloc.
17053 * malloc/tst-pvalloc.c: New file.
17054
7815420b
WN
170552013-10-02 Will Newton <will.newton@linaro.org>
17056
17057 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17058 improve test coverage.
17059
4868b204
WN
170602013-10-02 Will Newton <will.newton@linaro.org>
17061
17062 * malloc/Makefile: Add tst-posix_memalign.
17063 * malloc/tst-posix_memalign.c: New file.
17064
29c793b3
EB
170652013-10-01 Eric Blake <eblake@redhat.com>
17066
17067 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17068 Use __THROWNL rather than __THROW on static functions.
17069
fd967522
PM
170702013-09-30 Petr Machata <pmachata@redhat.com>
17071
17072 * elf/elf.h (R_AARCH64_ABS16): New macro.
17073 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17074 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17075 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17076 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17077 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17078 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17079 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17080 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17081 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17082 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17083 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17084 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17085 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17086 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17087 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17088 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17089 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17090 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17091 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17092 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17093 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17094 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17095 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17096 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17097 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17098 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17099 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17100 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17101 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17102 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17103 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17104 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17105 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17106 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17107 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17108 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17109 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17110 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17111 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17112 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17113 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17114 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17115 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17116 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17117 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17118 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17119 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17120 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17121 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17122 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17123 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17124 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17125 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17126 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17127 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17128 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17129 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17130 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17131 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17132 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17133 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17134 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17135 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17136 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17137 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17138 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17139 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17140 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17141 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17142 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17143 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17144 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17145 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17146 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17147 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17148 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17149 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17150 (R_AARCH64_TLSDESC_LDR): Likewise.
17151 (R_AARCH64_TLSDESC_ADD): Likewise.
17152 (R_AARCH64_TLSDESC_CALL): Likewise.
17153
b2179107
AS
171542013-09-30 Andreas Schwab <schwab@suse.de>
17155
17156 [BZ #15048]
17157 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17158 the nss database lookup.
17159 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17161
47f28d0a
MF
171622013-09-28 Mike Frysinger <vapier@gentoo.org>
17163
17164 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17165
171662013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
17167
17168 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17169 ${Bash-specific parameter/pattern/string} parameter expansion.
17170 * sysdeps/unix/make-syscalls.sh: Likewise.
17171
f4518a17
KK
171722013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17173
17174 * sysdeps/sh/stackguard-macros.h: New file.
17175
dc1a95c7
OB
171762013-09-26 Ondřej Bílka <neleai@seznam.cz>
17177
17178 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17179 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17180 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17181 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17182 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17183 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17184
5ebbff8f
AZ
171852013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17186
17187 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17188 Fix thread ID register.
17189
4fd2cf9f
JM
171902013-09-25 Joseph Myers <joseph@codesourcery.com>
17191
17192 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17193 [POSIX || UNIX98]: Require rather than permitting all symbols from
17194 <time.h>.
17195 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17196 element of struct sched_param.
17197 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17198 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17199 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17200 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17201 constant.
17202
12c22bc4
OL
172032013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17204
17205 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17206 argument calculation.
17207
a03d8ea7
JM
172082013-09-24 Joseph Myers <joseph@codesourcery.com>
17209
17210 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17211 Expect macro.
17212 [POSIX] (pthread_attr_t): Do not require type.
17213 [POSIX] (pthread_cond_t): Likewise.
17214 [POSIX] (pthread_condattr_t): Likewise.
17215 [POSIX] (pthread_key_t): Likewise.
17216 [POSIX] (pthread_mutex_t): Likewise.
17217 [POSIX] (pthread_mutexattr_t): Likewise.
17218 [POSIX] (pthread_once_t): Likewise.
17219 [POSIX] (pthread_t): Likewise.
17220 [POSIX-based standards] (pthread_atfork): Expect function.
17221
6055173a
JM
172222013-09-24 Joseph Myers <joseph@codesourcery.com>
17223 Richard Sandiford <richard@codesourcery.com>
17224
17225 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17226 (swap_endianness_p): New extern variable.
17227 (set_big_endian): New inline function.
17228 (maybe_swap_uint32): Likewise.
17229 (maybe_swap_uint32_array): Likewise.
17230 (maybe_swap_uint32_obstack): Likewise.
17231 * locale/programs/locfile.c: Include <stdbool.h>.
17232 (swap_endianness_p): New variable.
17233 (add_locale_uint32): Call maybe_swap_uint32.
17234 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17235 (write_locale_data): Call maybe_swap_uint32_array.
17236 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17237 maybe_swap_uint32.
17238 (obstack_int32_grow_fast): Likewise.
17239 (output_weightwc): Call maybe_swap_uint32_obstack.
17240 (collate_output): Likewise.
17241 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17242 (OPT_LITTLE_ENDIAN): Likewise.
17243 (options): Add --little-endian and --big-endian options.
17244 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17245 * locale/programs/locarchive.c: Include "locfile.h".
17246 (GET): New macro.
17247 (SET): Likewise.
17248 (INC): Likewise.
17249 (create_archive): Use the new macros to access fields of
17250 structures directly mapped from or written to locale archives.
17251 (oldlocrecentcmp): Likewise.
17252 (enlarge_archive): Likewise.
17253 (insert_name): Likewise.
17254 (add_alias): Likewise.
17255 (add_locale): Likewise.
17256 (delete_locales_from_archive): Likewise.
17257 (show_archive_content): Likewise.
17258 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17259 locale data.
17260
39bf0bb4
RM
172612013-09-24 Roland McGrath <roland@hack.frob.com>
17262
17263 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17264 http://www.gnu.org/doc/freemanuals.texi.
17265 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17266
f02eed10
WN
172672013-09-24 Will Newton <will.newton@linaro.org>
17268
17269 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17270 macro.
17271
a3a6c312
JM
172722013-09-23 Joseph Myers <joseph@codesourcery.com>
17273
17274 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17275 unsigned char.
17276
107375ac
MR
172772013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17278
17279 * manual/threads.texi (POSIX Threads): Fix a typo.
17280
141f3a77
SP
172812013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17282
303e567a
SP
17283 [BZ #14547]
17284 * string/tst-strcoll-overflow.c: New test case.
17285 * string/Makefile (xtests): Add tst-strcoll-overflow.
17286 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17287 cache if string sizes may cause integer overflow.
17288
141f3a77
SP
17289 [BZ #14547]
17290 * string/strcoll_l.c (coll_seq): New members rule, idx,
17291 save_idx and back_us.
17292 (get_next_seq_nocache): New function.
17293 (do_compare_nocache): New function.
17294 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17295 when malloc fails.
17296
c61b4d41
CD
172972013-09-23 Carlos O'Donell <carlos@redhat.com>
17298
0b1f8e35
CD
17299 [BZ #15754]
17300 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17301 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17302 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17303
c61b4d41
CD
17304 [BZ #15754]
17305 * elf/Makefile (tests): Add tst-ptrguard1.
17306 (tests-static): Add tst-ptrguard1-static.
17307 (tst-ptrguard1-ARGS): Define.
17308 (tst-ptrguard1-static-ARGS): Define.
17309 * elf/tst-ptrguard1.c: New file.
17310 * elf/tst-ptrguard1-static.c: New file.
17311 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17312 * sysdeps/i386/stackguard-macros.h: Likewise.
17313 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17314 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17315 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17316 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17317 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17318 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17319
173202013-09-23 Hector Marco <hecmargi@upv.es>
17321 Ismael Ripoll <iripoll@disca.upv.es>
17322 Carlos O'Donell <carlos@redhat.com>
17323
17324 [BZ #15754]
17325 * sysdeps/generic/stackguard-macros.h: Define
17326 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17327 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17328 Define __pointer_chk_guard_local.
17329 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17330 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17331
f5f4e7b4
VV
173322013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17333
17334 [BZ #15859]
17335 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17336
5bb43a43
AS
173372013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17338
17339 * include/string.h (__ffs): Declare as hidden.
17340 * string/ffs.c (__ffs): Define as hidden.
17341 * sysdeps/i386/ffs.c (__ffs): Likewise.
17342 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17343 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17344 * sysdeps/s390/ffs.c (__ffs): Likewise.
17345 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17346
3ea5be54
AO
173472013-09-20 Alexandre Oliva <aoliva@redhat.com>
17348
ffb89e53
AO
17349 * NEWS: Mention malloc probes.
17350
322dea08
AO
17351 * malloc/arena.c (new_heap): New memory_heap_new probe.
17352 (grow_heap): New memory_heap_more probe.
17353 (shrink_heap): New memory_heap_less probe.
17354 (heap_trim): New memory_heap_free probe.
17355 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17356 (systrim): New memory_sbrk_less probe.
17357 * manual/probes.texi: Document them.
17358
655673f3
AO
17359 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17360 * manual/probes.texi: Document it.
17361
35fed6f1
AO
17362 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17363 (__libc_realloc): Add memory_realloc_retry probe.
17364 (__libc_memalign): Add memory_memalign_retry probe.
17365 (__libc_valloc): Add memory_valloc_retry probe.
17366 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17367 (__libc_calloc): Add memory_calloc_retry probe.
17368 * manual/probes.texi: Document them.
17369
6999d38c
AO
17370 * malloc/arena.c (get_free_list): Add probe
17371 memory_arena_reuse_free_list.
17372 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17373 and memory_arena_reuse.
17374 (arena_get2) [!PER_THREAD]: Likewise.
17375 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17376 memory_arena_reuse_realloc.
17377 * manual/probes.texi: Document them.
17378
0653427f
AO
17379 * malloc/malloc.c (__libc_free): Add
17380 memory_mallopt_free_dyn_thresholds probe.
17381 (__libc_mallopt): Add multiple memory_mallopt probes.
17382 * manual/probes.texi: Document them.
17383
3ea5be54
AO
17384 * malloc/malloc.c: Include stap-probe.h.
17385 (__libc_mallopt): Add memory_mallopt probe.
17386 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17387 * manual/probes.texi: New.
17388 * manual/Makefile (chapters): Add probes.
17389 * manual/threads.texi: Set next node.
17390
e35696c3 173912013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 17392
e35696c3
CL
17393 [BZ #15963, #13985]
17394 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17395 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17396 Add `Chinese' to `nan' entry name.
17397
4aafb73c
SP
173982013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17399
17400 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17401 (POLYNOMIAL): Likewise.
17402 (TAYLOR_SINCOS): Likewise.
17403 (TAYLOR_SLOW): Likewise.
17404 (__sin): Use TAYLOR_SINCOS.
17405 (__cos): Likewise.
17406 (slow): Use TAYLOR_SLOW.
17407 (sloww): Likewise.
17408 (bsloww): Likewise.
17409 (csloww): Likewise.
17410
d84f25c7
LD
174112013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17412
17413 * stdlib/strtod_l.c: Fix buffer overrun.
17414
5eea0404
SP
174152013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17416
7849ff93
SP
17417 * benchtests/Makefile (bench): Add sincos.
17418 * benchtests/bench-sincos.c: New file.
17419
cfa3c886
SP
17420 * math/libm-test.inc (cos_test_data): New test inputs.
17421 (sin_test_data): Likewise.
17422
b348e1e3
SP
17423 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17424 macro.
17425 (__sin): Use it.
17426 (__cos): Likewise.
17427 (slow1): Likewise.
17428 (slow2): Likewise.
17429 (sloww1): Likewise.
17430 (sloww2): Likewise.
17431 (bsloww1): Likewise.
17432 (bsloww2): Likewise.
17433 (cslow2): Likewise.
17434 (csloww1): Likewise.
17435 (csloww2): Likewise.
17436
6cce25f8
SP
17437 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17438 function.
17439 (__sin): Use it.
17440 (__cos): Likewise.
17441
5eea0404
SP
17442 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17443 gotos.
17444 (__cos): Likewise.
17445
9c21573c
MR
174462013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17447
17448 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17449 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17450 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17451 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17452 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17453 * elf/cache.c (print_entry): Handle the new cache flags.
17454
24d22e65
JM
174552013-09-18 Joseph Myers <joseph@codesourcery.com>
17456 Aldy Hernandez <aldyh@redhat.com>
17457
17458 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17459 Change condition to [_SOFT_FLOAT].
17460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17461 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17462 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17463 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17464 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17465 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17466 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17467 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17468 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17469 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17470 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17471 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17472 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17473 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17474 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17475 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17476 declaration.
17477
d13ef066
JM
174782013-09-18 Joseph Myers <joseph@codesourcery.com>
17479
2e071de0
JM
17480 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17481 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17482 (__longjmp): Use LOAD_GP to load saved GPRs.
17483 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17484 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17485 (__sigsetjmp): Use SAVE_GP to save GPRs.
17486
d13ef066
JM
17487 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17488 Do not append -msoft-float.
17489 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17490
97a0650b
SP
174912013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17492
17493 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17494
11ca09e9
JM
174952013-09-17 Joseph Myers <joseph@codesourcery.com>
17496
17497 [BZ #15966]
17498 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17499 (_FPU_GETCW): Use initial "__" on variable and field names but not
17500 on macro parameter name.
17501 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17502 parentheses around reference to macro parameter.
17503
08ffcf34
RS
175042013-09-13 Richard Sandiford <richard@codesourcery.com>
17505
17506 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17507 prototype.
17508 (ctype_startup): Use uint32_t in cast and sizeof for
17509 ctype->charnames.
17510
ae7080d3
JL
175112013-09-11 Jia Liu <proljc@gmail.com>
17512
17513 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17514 __daddr_t_defined.
17515 [__FreeBSD__]: Likewise.
17516
5905e7b3
OB
175172013-09-11 Ondřej Bílka <neleai@seznam.cz>
17518
17519 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17520 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17521 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17522 (strchr): Remove __strchr_sse42 ifunc selection.
17523 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17524 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17525
b987c776
WN
175262013-09-11 Will Newton <will.newton@linaro.org>
17527
17528 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17529 parameter to RES. Remove hardcoded 1000 value.
17530 * benchtests/bench-skeleton.c (main): Pass RES parameter
17531 to TIMING_INIT and multiply result by 1000.
17532
ddf985af
AZ
175332013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17534
17535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17536
ffdd3181
AS
175372013-09-11 Andreas Schwab <schwab@suse.de>
17538
17539 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17540 if not defined.
17541 (O_TMPFILE) [__USE_GNU]: Define.
17542 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17543 Define.
17544
b73ed247
WN
175452013-09-11 Will Newton <will.newton@linaro.org>
17546
17547 [BZ #15857]
17548 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17549 does not overflow.
17550
55e17aad
WN
175512013-09-11 Will Newton <will.newton@linaro.org>
17552
17553 [BZ #15856]
17554 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17555 does not overflow.
17556
1159a193
WN
175572013-09-11 Will Newton <will.newton@linaro.org>
17558
17559 [BZ #15855]
17560 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17561 does not overflow.
17562
5905e7b3 175632013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
17564
17565 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17566 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17567 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17568 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17569 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17570
cdfc721b
AM
175712013-09-10 Allan McRae <allan@archlinux.org>
17572
aa04af00
AM
17573 [BZ #15748]
17574 * manual/arith.texi (Parsing of Floats): Clarify
17575 cross-reference.
17576
cdfc721b
AM
17577 [BZ #15849]
17578 * manual/install.texi (Running make install): Mention
17579 --enable-pt-chown.
17580 * INSTALL: Regenerated.
17581
95e7cf29
MR
175822013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17583
17584 * csu/init-first.c (_init): Remove the !SHARED condition around
17585 FPU control word initialization.
17586 * elf/dl-support.c (_dl_fpu_control): New variable.
17587 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17588 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17589 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17590 * math/test-fpucw-static.c: New file.
17591 * math/test-fpucw-ieee.c: New file.
17592 * math/test-fpucw-ieee-static.c: New file.
17593 * math/Makefile (tests): Add `test-fpucw-ieee' and
17594 `$(tests-static)'.
17595 (tests-static): New variable.
17596 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17597 dependency to...
17598 [($(build-shared),yes)]
17599 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17600 ... this.
17601 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17602 New dependency.
17603
83e43bf0
AM
176042013-09-09 Allan McRae <allan@archlinux.org>
17605
a9f5ce09
AM
17606 [BZ #15939]
17607 * manual/string.texi (Collation Functions): Fix typo in
17608 strcoll example.
17609 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17610
34829bc2
AM
17611 [BZ #15893]
17612 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17613
3932737d
AM
17614 [BZ #15892]
17615 * libio/memstream.c (open_memstream): Fix memory leak.
17616 * libio/wmemstream.c (open_wmemstream): Likewise.
17617
83e43bf0
AM
17618 [BZ #15895]
17619 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17620
0c66b8e9
WN
176212013-09-09 Will Newton <will.newton@linaro.org>
17622
17623 * malloc/Makefile: Add tst-realloc to tests.
17624 * malloc/tst-realloc.c: New file.
17625
f6b00fd1
AM
176262013-09-09 Allan McRae <allan@archlinux.org>
17627
17628 [BZ #15844]
17629 * COPYING: Update from GNU website to fix FSF address.
17630 * COPYING.LIB: Likewise.
17631
eec55e16
DM
176322013-09-06 David S. Miller <davem@davemloft.net>
17633
17634 * po/zh_TW.po: Update Chinese (traditional) translation from
17635 translation project.
17636
1ecbb381
RS
176372013-09-06 Richard Sandiford <richard@codesourcery.com>
17638 Joseph Myers <joseph@codesourcery.com>
17639
17640 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17641 "localeinfo.h".
17642 (obstack_chunk_alloc): New macro.
17643 (obstack_chunk_free): Likewise.
17644 (record_offset): New function.
17645 (init_locale_data): Likewise.
17646 (align_locale_data): Likewise.
17647 (add_locale_empty): Likewise.
17648 (add_locale_raw_data): Likewise.
17649 (add_locale_raw_obstack): Likewise.
17650 (add_locale_string): Likewise.
17651 (add_locale_wstring): Likewise.
17652 (add_locale_uint32): Likewise.
17653 (add_locale_uint32_array): Likewise.
17654 (add_locale_char): Likewise.
17655 (start_locale_structure): Likewise.
17656 (end_locale_structure): Likewise.
17657 (start_locale_prelude): Likewise.
17658 (end_locale_prelude): Likewise.
17659 (write_locale_data): Take locale_file structure rather than an
17660 iovec.
17661 * locale/programs/locfile.h: Include "obstack.h".
17662 (struct locale_file): Change to store locale file contents instead
17663 of header.
17664 (init_locale_data): New prototype.
17665 (align_locale_data): Likewise.
17666 (add_locale_empty): Likewise.
17667 (add_locale_raw_data): Likewise.
17668 (add_locale_raw_obstack): Likewise.
17669 (add_locale_string): Likewise.
17670 (add_locale_wstring): Likewise.
17671 (add_locale_uint32): Likewise.
17672 (add_locale_uint32_array): Likewise.
17673 (add_locale_char): Likewise.
17674 (start_locale_structure): Likewise.
17675 (end_locale_structure): Likewise.
17676 (start_locale_prelude): Likewise.
17677 (end_locale_prelude): Likewise.
17678 (write_locale_data): Update prototype.
17679 * locale/programs/3level.h (struct TABLE): Remove result field.
17680 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17681 Use new locale_file interface.
17682 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17683 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17684 * locale/programs/ld-address.c (address_output): Use new
17685 locale_file interface.
17686 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17687 NO_ADD_LOCALE.
17688 (collate_finish): Don't call collseq_table_finalize.
17689 (collate_output): Use new locale_file interface.
17690 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17691 in file.
17692 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17693 (TABLE): Move defines earlier in file.
17694 (ELEMENT): Likewise.
17695 (DEFAULT): Likewise.
17696 (wctrans_table_add): Move macro and inline function earlier in
17697 file.
17698 (struct wctype_table): Move type earlier in file.
17699 (add_locale_wctype_table): New static prototype.
17700 (struct locale_ctype_t): Use logical types instead of struct iovec
17701 pointers for members.
17702 (ctype_output): Use new locale_file interface.
17703 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17704 new locale_file interface.
17705 (allocate_arrays): Update for use of new locale_file interface.
17706 * locale/programs/ld-identification.c (identification_output): Use
17707 new locale_file interface.
17708 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17709 * locale/programs/ld-messages.c (messages_output): Likewise.
17710 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17711 * locale/programs/ld-name.c (name_output): Likewise.
17712 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17713 * locale/programs/ld-paper.c (paper_output): Likewise.
17714 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17715 * locale/programs/ld-time.c (time_output): Likewise.
17716
e029e2e5
AZ
177172013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17718
17719 * benchtests/Makefile: Add memrchr benchmark.
17720 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17721 benchmark as memrchr.
17722 * benchtests/bench-memrchr-ifunc.c: New file.
17723 * benchtests/bench-memrchr.c: New file.
17724
bbf6e8e4
WN
177252013-09-06 Will Newton <will.newton@linaro.org>
17726
17727 * benchtests/Makefile (string-bench): Add memcpy.
17728
6c82a2f8
CD
177292013-09-05 Carlos O'Donell <carlos@redhat.com>
17730 Cong Wang <amwang@redhat.com>
17731
e732c5f0 17732 [BZ #15850]
6c82a2f8
CD
17733 * sysdeps/unix/sysv/linux/bits/in.h
17734 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17735 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17736 before __USE_KERNEL_IPV6_DEFS uses.
17737 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17738 IPPROTO_BEETPH.
17739 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17740 sockaddr_in6, or ipv6_mreq.
17741
5430fc65
AZ
177422013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17743
17744 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17745 memory access for final bytes in some large inputs.
17746 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17747
4660856c
AZ
177482013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17749
17750 * string/test-memrchr.c: New file.
17751 * string/test-memrchr-ifunc.c: New file.
17752 * string/Makefile: Add new memrchr testcase.
17753
bb8ea713
MF
177542013-09-05 Mike Frysinger <vapier@gentoo.org>
17755
17756 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17757 fanotify_init returns EPERM.
17758
b92a20b5
JM
177592013-09-04 Joseph Myers <joseph@codesourcery.com>
17760
17761 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17762 errors.
17763 (top level): Treat second token from macro or constant entries for
17764 allowed headers as allowed.
17765 * include/complex.h: Condition internal declarations on
17766 [!_ISOMAC].
17767 * include/fenv.h: Condition include of <stdbool.h> and internal
17768 declarations on [!_ISOMAC].
7447ccd9
CL
17769
177702013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17771
3e181dda 17772 [BZ #15923]
7447ccd9
CL
17773 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17774
3f2e46a4
JM
177752013-09-04 Joseph Myers <joseph@codesourcery.com>
17776
17777 * configure.in (--enable-versioning): Remove configure option.
17778 (libc_cv_asm_symver_directive): Remove configure test.
17779 (libc_cv_ld_version_script_option): Likewise.
17780 (VERSIONING): Remove variable and AC_SUBST.
17781 (DO_VERSIONING): Remove AC_DEFINE.
17782 * configure: Regenerated.
17783 * config.h.in (DO_VERSIONING): Remove macro.
17784 * Makerules [$(versioning) = yes]: Change conditionals to
17785 [$(build-shared) = yes].
17786 * config.make.in (versioning): Remove variable.
17787 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17788 [$(build-shared) = yes].
17789 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17790 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17791 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17792 [$(build-shared) = yes].
17793 * extra-lib.mk [$(versioning) = yes]: Likewise.
17794 * hurd/Makefile [$(versioning) = yes]: Likewise.
17795 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17796 [SHARED].
17797 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17798 [SHARED].
17799 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17800 [SHARED && !NO_HIDDEN].
17801 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17802 [SHARED].
17803 [SHARED && DO_VERSIONING]: Likewise..
17804 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17805 [$(build-shared) = yes].
17806 * manual/install.texi (--disable-versioning): Remove
17807 documentation.
17808 * INSTALL: Regenerated.
17809 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17810 to [SHARED].
17811 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17812 [$(build-shared) = yes].
17813 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17814 * sysdeps/i386/i686/multiarch/strstr-c.c
17815 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17816 [SHARED && !NO_HIDDEN].
17817 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17818 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17819 * sysdeps/powerpc/powerpc32/dl-machine.c
17820 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17821 * sysdeps/powerpc/powerpc32/sysdep.h
17822 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17823 to [SHARED && PIC && !NO_HIDDEN].
17824 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17825 conditional to [SHARED].
17826
44558701
WN
178272013-09-04 Will Newton <will.newton@linaro.org>
17828
17829 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17830 * benchtests/bench-string.h: Include bench-timing.h instead
17831 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17832 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17833 call to HP_TIMING_DIFF_INIT.
17834 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17835 instead of hp-timing.h macros.
17836 * benchtests/bench-memchr.c: Likewise.
17837 * benchtests/bench-memcmp.c: Likewise.
17838 * benchtests/bench-memcpy.c: Likewise.
17839 * benchtests/bench-memmem.c: Likewise.
17840 * benchtests/bench-memmove.c: Likewise.
17841 * benchtests/bench-memset.c: Likewise.
17842 * benchtests/bench-rawmemchr.c: Likewise.
17843 * benchtests/bench-strcasecmp.c: Likewise.
17844 * benchtests/bench-strcasestr.c: Likewise.
17845 * benchtests/bench-strcat.c: Likewise.
17846 * benchtests/bench-strchr.c: Likewise.
17847 * benchtests/bench-strcmp.c: Likewise.
17848 * benchtests/bench-strcpy.c: Likewise.
17849 * benchtests/bench-strcpy_chk.c: Likewise.
17850 * benchtests/bench-strlen.c: Likewise.
17851 * benchtests/bench-strncasecmp.c: Likewise.
17852 * benchtests/bench-strncat.c: Likewise.
17853 * benchtests/bench-strncmp.c: Likewise.
17854 * benchtests/bench-strncpy.c: Likewise.
17855 * benchtests/bench-strnlen.c: Likewise.
17856 * benchtests/bench-strpbrk.c: Likewise.
17857 * benchtests/bench-strrchr.c: Likewise.
17858 * benchtests/bench-strspn.c: Likewise.
17859 * benchtests/bench-strstr.c: Likewise.
17860
cae16d66
WN
178612013-09-04 Will Newton <will.newton@linaro.org>
17862
17863 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17864
ffa3cd7f
JM
178652013-09-03 Joseph Myers <joseph@codesourcery.com>
17866
17867 [BZ #15427]
17868 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17869 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17870 * math/libm-test.inc (lgamma_test_data): Add more tests.
17871 * sysdeps/i386/fpu/libm-test-ulps: Update.
17872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17873
8f02859f
OB
178742013-09-03 Ondřej Bílka <neleai@seznam.cz>
17875
17876 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17877 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17878 Add ifunc.
17879 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17880 Add strcmp-sse2-unaligned
17881 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17882
18d43716
MF
178832013-09-02 Mike Frysinger <vapier@gentoo.org>
17884
17885 * Versions.def (libc): Add GLIBC_2.19.
17886
ac444012
MF
178872013-09-02 Mike Frysinger <vapier@gentoo.org>
17888
17889 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17890 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17891
b7835e32
JM
178922013-09-02 Joseph Myers <joseph@codesourcery.com>
17893
17894 [BZ #14155]
17895 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17896 intermediate calculations in recurrence.
17897 (__ieee754_ynf): Likewise.
17898 * math/libm-test.inc (jn_test_data): Do not allow spurious
17899 underflow exception. Add more tests.
17900 (yn_test_data): Add more tests.
17901 * sysdeps/i386/fpu/libm-test-ulps: Update.
17902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17903
8220f4f0
OB
179042013-09-02 Ondřej Bílka <neleai@seznam.cz>
17905
17906 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17907
f24a6d08
OB
179082013-08-30 Ondřej Bílka <neleai@seznam.cz>
17909
17910 * csu/init-first.c: Fix then/than typos.
17911 * locale/programs/ld-collate.c: Likewise.
17912 * locale/programs/linereader.h: Likewise.
17913 * manual/charset.texi: Likewise.
17914 * manual/filesys.texi: Likewise.
17915 * manual/stdio.texi: Likewise.
17916 * manual/string.texi: Likewise.
17917 * stdlib/fmtmsg.c: Likewise.
17918 * sysdeps/i386/stpncpy.S: Likewise.
17919 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17920 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17921 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17922 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17923
382466e0
OB
179242013-08-30 Ondřej Bílka <neleai@seznam.cz>
17925
17926 * elf/dl-open.c: Fix typos.
17927 * iconvdata/gbbig5.c: Likewise.
17928 * iconvdata/iso-2022-jp.c: Likewise.
17929 * iconv/gconv_int.h: Likewise.
17930 * iconv/loop.c: Likewise.
17931 * nis/rpcsvc/nis.h: Likewise.
17932 * resolv/ns_name.c: Likewise.
17933 * stdio-common/vfscanf.c: Likewise.
17934 * streams/stropts.h: Likewise.
17935 * sunrpc/rpc_thread.c: Likewise.
17936 * sysdeps/i386/strpbrk.S: Likewise.
17937 * sysdeps/ieee754/k_standard.c: Likewise.
17938 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17939 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17940 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17941 * sysdeps/mach/hurd/profil.c: Likewise.
17942 * sysdeps/s390/dl-procinfo.h: Likewise.
17943 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17944 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17945 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17946 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17947 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17948
0186c6e9
OB
179492013-08-30 Ondřej Bílka <neleai@seznam.cz>
17950
17951 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17952 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17953
d4e16af1
OB
179542013-08-29 Ondřej Bílka <neleai@seznam.cz>
17955
17956 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17957 aix specific files.
17958 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17959 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17960 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17961 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17962 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17963 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17964 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17965 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17966
88335980
TS
179672013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17968 Roland McGrath <roland@hack.frob.com>
17969
17970 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17971 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17972
ed479b02
ST
179732013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17974
17975 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17976 __executable_start symbol instead of _start.
17977
f1cc4c86
TS
179782013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17979
d821f07c
TS
17980 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17981 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17982 Move macros to...
17983 * sysdeps/gnu/ldsodefs.h: ... this new file.
17984
c54290cf
TS
17985 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17986 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17987 instead of ELFOSABI_LINUX.
17988
0007fc9b 17989 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
17990 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17991 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17992 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17993 Likewise.
17994 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17995 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17996 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17997 Likewise.
17998 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17999 (ibm_extended_long_double): Add ieee_nan member.
18000 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18001 (do_test): New function.
18002
f1cc4c86
TS
18003 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18004 TEST_TRUNC.
18005 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18006 functions, renamed from truncdfsf_test, trunctfsf_test,
18007 trunctfdf_test.
18008 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18009 functions.
18010 (do_test): Run all these.
18011
6f65e668
OB
180122013-08-29 Ondřej Bílka <neleai@seznam.cz>
18013
18014 * argp/argp-help.c: Fix typos.
18015 * argp/argp-parse.c: Likewise.
18016 * debug/backtracesyms.c: Likewise.
18017 * elf/elf.h: Likewise.
18018 * malloc/malloc.c: Likewise.
18019 * nis/nis_print.c: Likewise.
18020 * resolv/res_comp.c: Likewise.
18021 * stdlib/stdlib.h: Likewise.
18022 * sunrpc/clnt_tcp.c: Likewise.
18023 * sunrpc/clnt_udp.c: Likewise.
18024 * sunrpc/clnt_unix.c: Likewise.
18025 * sysdeps/unix/bsd/ptsname.c: Likewise.
18026 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18027 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
18028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18029 Likewise.
18030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18031 Likewise.
18032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18033 Likewise.
6f65e668
OB
18034 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18035
3a309239
SP
180362013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18037
18038 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18040
3b813b29
MF
180412013-08-27 Mike Frysinger <vapier@gentoo.org>
18042
18043 [BZ #15897]
18044 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18045 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18046 ($(objpfx)bug-dl-leaf): New rule.
18047 ($(objpfx)bug-dl-leaf.so): Likewise.
18048 ($(objpfx)bug-dl-leaf.out): Likewise.
18049 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18050 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18051 * dlfcn/bug-dl-leaf.c: New test.
18052 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18053 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18054 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18055 (dlclose): Likewise.
18056 (dlmopen): Likewise.
18057
8cc3269f
RM
180582013-08-27 Roland McGrath <roland@hack.frob.com>
18059
7f9d0034
RM
18060 * include/netdb.h [!_ISOMAC]:
18061 Don't include <tls.h>.
18062 (h_errno, __libc_h_errno): Move declaration and macros out of
18063 [_LIBC_REENTRANT].
18064
fb431262
RM
18065 * include/resolv.h [_RESOLV_H_]:
18066 Don't include <tls.h>.
18067 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18068 * resolv/res_libc.c: Don't include <tls.h>.
18069 (_res): Use __attribute__ ((nocommon)) in place of
18070 __attribute__ ((section (".bss"))).
18071
bd81123a
RM
18072 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18073 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18074
c4e42566
RM
18075 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18076
f890a59b
RM
18077 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18078 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18079
18080 * resolv/res_mkquery.c: Include <sys/time.h>.
18081
5d1f0a09
RM
18082 * inet/ifreq.c: Moved to ...
18083 * sysdeps/unix/ifreq.c: ... here.
18084 * inet/ifreq.c: New file, true stub version.
18085
6fcf28b3
RM
18086 * socket/sa_len.c: New file.
18087 * socket/Makefile (aux): Add it.
18088 * sysdeps/unix/sysv/linux/Makefile
18089 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18090 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18091 and #include <socket/sa_len.c>.
18092 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18093 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18094
e041fb8b
RM
18095 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18096 * bits/socket.h: ... here.
18097
8cc3269f
RM
18098 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18099 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18100 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18101
5d228a43
AS
181022013-08-27 Andreas Schwab <schwab@suse.de>
18103
45b8accc
AS
18104 [BZ #15736]
18105 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18106 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18107 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18108 * string/test-strcasecmp.c (test_main): Run tests in several
18109 locales.
18110 * string/test-strncasecmp.c (test_main): Likewise.
18111
5d228a43
AS
18112 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18113 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18114 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18115 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18116 (__strncasecmp_ssse3) [PIC]: Likewise.
18117
59d112a4
RM
181182013-08-26 Roland McGrath <roland@hack.frob.com>
18119
53234cc3
RM
18120 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18121
59d112a4
RM
18122 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18123 instead of explicitly declaring xdecrypt.
18124 * nis/nss_nis/nis-publickey.c: Likewise.
18125
595aba70
SP
181262013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18127
18128 [BZ #15890]
18129 * nscd/aicache.c: Include res_hconf.h.
18130 (addhstaiX): Initialize res_hconf.
18131
ffabd393
AS
181322013-08-26 Andreas Schwab <schwab@suse.de>
18133
18134 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18135 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18136
e0a69f5c
SP
181372013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18138
18139 * nscd/aicache.c (addhstaiX): Fix indentation.
18140
8c12f01d
MF
181412013-08-25 Mike Frysinger <vapier@gentoo.org>
18142
18143 * configure.ac: Quote $build_pt_chown test.
18144 * configure: Regenerated.
18145
8fe89494
JM
181462013-08-23 Joseph Myers <joseph@codesourcery.com>
18147
18148 [BZ #15532]
18149 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18150 * math/s_cexpf.c (__cexpf): Likewise.
18151 * math/s_cexpl.c (__cexpl): Likewise.
18152 * math/libm-test.inc (cexp_test_data): Correct expected return
18153 value for NaN + i0. Add another test.
18154
75b181d6
DM
181552013-08-22 David S. Miller <davem@davemloft.net>
18156
18157 * po/ca.po: Update Catalan translation from translation project.
936241e4 18158 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 18159
acd06bb1
JM
181602013-08-21 Joseph Myers <joseph@codesourcery.com>
18161
18162 [BZ #15797]
18163 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18164 is infinite, not alongside NaN test.
18165 * math/s_fdimf.c (__fdimf): Likewise.
18166 * math/s_fdiml.c (__fdiml): Likewise.
18167 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18168 errno is unchanged.
18169
c0c3f78a
OB
181702013-08-21 Ondřej Bílka <neleai@seznam.cz>
18171
18172 * argp/argp-help.c: Fix typos.
18173 * crypt/speeds.c: Likewise.
18174 * csu/check_fds.c: Likewise.
18175 * elf/dl-load.c: Likewise.
18176 * elf/dl-open.c: Likewise.
18177 * elf/reldep3.c: Likewise.
18178 * elf/reldep.c: Likewise.
18179 * elf/sprof.c: Likewise.
18180 * iconv/iconv_charmap.c: Likewise.
18181 * iconv/skeleton.c: Likewise.
18182 * iconv/strtab.c: Likewise.
18183 * io/lockf64.c: Likewise.
18184 * libio/libioP.h: Likewise.
18185 * resolv/gai_notify.c: Likewise.
18186 * resolv/ns_name.c: Likewise.
18187 * resolv/ns_samedomain.c: Likewise.
18188 * resolv/res_send.c: Likewise.
18189 * stdlib/random.c: Likewise.
18190 * sunrpc/rpc/xdr.h: Likewise.
18191 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18192 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18193 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18194 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18195 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18196 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18197 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18198 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18199 * sysdeps/mach/hurd/check_fds.c: Likewise.
18200 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18201 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18202 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18203 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18204 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18205 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18206 * sysdeps/pthread/aio_notify.c: Likewise.
18207 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18208 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18209 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18210 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18211 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18212
46ed1038
LD
182132013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18214
18215 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18216 version if bit_Slow_SSE4_2 is set.
18217 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18218 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18219
d400dcac
AZ
182202013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18221
18222 [BZ #15867]
18223 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18224 trampoline stack frame information.
18225 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18226 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18227 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18228 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18229 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18230 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18231 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18232 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18233 sa_flags value.
18234 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18235 interrupting a syscall and set with option SA_SIGINFO.
18236
42c8fdd8
JM
182372013-08-20 Joseph Myers <joseph@codesourcery.com>
18238
c980f2f4
JM
18239 [BZ #15531]
18240 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18241 argument is infinite.
18242 * math/s_cprojf.c (__cprojf): Likewise.
18243 * math/s_cprojl.c (__cprojl): Likewise.
18244 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18245 * math/libm-test.inc (cproj_test_data): Add more tests.
18246
0716c4fc
JM
18247 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18248
42c8fdd8
JM
18249 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18250 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18251 size. Use __ffs to determine corresponding shift.
18252
b31469d0
JM
182532013-08-20 Joseph Myers <joseph@codesourcery.com>
18254 Roland McGrath <roland@hack.frob.com>
18255
18256 * Makefile (INSTALL): Remove trailing blank lines from output of
18257 makeinfo.
18258
4e39af6e
AK
182592013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18260
18261 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18262 Align 32 bit compat elf_greg to 8 bytes.
18263
f315524e
AA
182642013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18265
18266 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18267
1326ba1a
SP
182682013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18269
18270 * string/strcoll_l.c (coll_seq): New structure.
18271 (get_next_seq_cached): New function.
18272 (get_next_seq): New function.
18273 (do_compare): New function.
18274 (STRCOLL): Use GNU style definition. Simplify implementation
18275 by using get_next_seq, get_next_seq_cached and do_compare.
18276
91ce4085
FW
182772013-08-16 Florian Weimer <fweimer@redhat.com>
18278
18279 [BZ #14699]
18280 CVE-2013-4237
18281 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18282 member.
18283 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18284 member.
18285 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18286 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18287 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18288 conditional.
18289 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18290 GETDENTS_64BIT_ALIGNED.
18291 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18292 * manual/filesys.texi (Reading/Closing Directory): Document
18293 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18294 strongly.
18295 * manual/conf.texi (Limits for Files): Add portability note to
18296 NAME_MAX, PATH_MAX.
18297 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18298
ca0a6bc4
AS
182992013-08-13 Andreas Schwab <schwab@suse.de>
18300
18301 [BZ #15749]
18302 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18303 of fabs.
18304 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18305 LDBL_MAX_EXP >= 16384]: Add tests for it.
18306
6c1fd795
DM
183072013-08-12 David S. Miller <davem@davemloft.net>
18308
18309 * version.h (RELEASE): Set to "development".
18310 (VERSION): Set to "2.18.90".
18311 * NEWS: Add 2.19 section.
18312
31ad488d
DM
183132013-08-03 David S. Miller <davem@davemloft.net>
18314
18315 * po/ko.po: Update Korean translation from translation project.
18316
db24e684
DM
183172013-08-01 David S. Miller <davem@davemloft.net>
18318
18319 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18320 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18321 Bilka.
18322
f723285b
DM
183232013-07-30 David S. Miller <davem@davemloft.net>
18324
18325 * po/fr.po: Update French translation from translation project.
18326
3cbc52db
DM
183272013-07-28 David S. Miller <davem@davemloft.net>
18328
30bbc0cc
DM
18329 * po/cs.po: Update Czech translation from translation project.
18330
3cbc52db
DM
18331 * po/sv.po: Update Swedish translation from translation project.
18332
d492e6d0
DM
183332013-07-27 David S. Miller <davem@davemloft.net>
18334
f1a7f492
DM
18335 * po/eo.po: Update Esperanto translation from translation project.
18336
90e62a4a
DM
18337 * po/vi.po: Update Vietnamese translation from translation project.
18338
d492e6d0
DM
18339 * po/de.po: Update German translation from translation project.
18340
d4baa62d
DM
183412013-07-26 David S. Miller <davem@davemloft.net>
18342
641aa7b4
DM
18343 * po/bg.po: Update Bulgarian translation from translation project.
18344
d4baa62d
DM
18345 * po/nl.po: Update Dutch translation from translation project.
18346 * po/pl.po: Update Polish translation from translation project.
18347 * po/ru.po: Update Russian translation from translation project.
18348
61a9dcb9
DM
183492013-07-24 David S. Miller <davem@davemloft.net>
18350
18351 * po/libc.pot: Update.
18352
7b1f8b58
AZ
183532013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18354
18355 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18356 variable page size.
18357 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18358 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18359 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18360
a8fc7a03
AK
183612013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18362
18363 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18364
e4608715
CD
183652013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18366 Andreas Schwab <schwab@suse.de>
18367 Roland McGrath <roland@hack.frob.com>
18368 Joseph Myers <joseph@codesourcery.com>
18369 Carlos O'Donell <carlos@redhat.com>
18370
18371 [BZ #15755]
18372 * config.h.in: Define HAVE_PT_CHOWN.
18373 * config.make.in (build-pt-chown): New variable.
18374 * configure.in (--enable-pt_chown): New configure option.
18375 * configure: Regenerate.
18376 * login/Makefile: Include Makeconfig. Build pt_chown only if
18377 build-pt-chown is enabled.
18378 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18379 pt_chown to fix pty ownership.
18380 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18381 CLOSE_ALL_FDS.
18382 * manual/install.texi (Configuring and compiling): Mention
18383 --enable-pt_chown. Add @findex for grantpt.
18384 * INSTALL: Regenerate.
18385
da2d62df
DM
183862013-07-20 David S. Miller <davem@davemloft.net>
18387
18388 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18389 difference between 32-bit and 64-bit.
18390
d7e06450
CD
183912013-07-15 Carlos O'Donell <carlos@redhat.com>
18392
18393 [BZ #15711]
18394 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18395 Avoid system header dependency with -ffreestanding.
18396 ($(objpfx)bits/syscall%d): Likewise.
18397
f959cfd7
DM
183982013-07-13 David S. Miller <davem@davemloft.net>
18399
18400 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18401 underflows from atanl/atan2l due to bug 15319.
18402 (casinh_test_data): Likewise.
18403
c61f8513
DM
184042013-07-07 David S. Miller <davem@davemloft.net>
18405
18406 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18407
72c90ed0
JA
184082013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18409
18410 * sysdeps/i386/fpu/libm-test-ulps: Update.
18411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18412
52dfbe13
SP
184132013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18414
18415 * configure.in (--enable-lock-elision): Fix message text.
18416 * INSTALL: Regenerate.
18417 * configure: Regenerate.
18418
3f169543
AZ
184192013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18420
18421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18422
521c6785
AJ
184232013-07-03 Andreas Jaeger <aj@suse.de>
18424
18425 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18426 define.
18427 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18428 (ptrace_peeksiginfo_args): Add.
18429 (__ptrace_peeksiginfo_flags): Add.
18430 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18431 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18432 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18433
d2cc15cb
AM
184342013-07-03 Allan McRae <allan@archlinux.org>
18435
18436 * sysdeps/i386/fpu/libm-test-ulps: Update.
18437
3aaeeca7
DM
184382013-07-02 David S. Miller <davem@davemloft.net>
18439
18440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18441
5314ed1a
MT
184422013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18443
18444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18445
67338156
JM
184462013-07-02 Joseph Myers <joseph@codesourcery.com>
18447
18448 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18450
1717da59
AK
184512013-07-02 Andi Kleen <ak@linux.intel.com>
18452
18453 * config.h.in (ENABLE_LOCK_ELISION): Add.
18454 * configure.in (--enable-lock-elision): Add option.
18455 * manual/install.texi: Document --enable lock elision.
18456 * configure: Regenerate
18457 * INSTALL: Regenerate.
18458
1c81621c
L
184592013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18460
18461 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18462 SSE4.2 strcasecmp for libc.a.
18463 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18464
77f01ab5
JM
184652013-07-02 Joseph Myers <joseph@codesourcery.com>
18466
18467 [BZ #13304]
18468 * soft-fp/op-common.h (_FP_FMA): New macro.
18469 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18470 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18471 (_FP_MUL_MEAT_1_imm): ... here.
18472 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18473 (_FP_MUL_MEAT_1_wide): ... here.
18474 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18475 (_FP_MUL_MEAT_1_hard): ... here.
18476 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18477 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18478 (_FP_MUL_MEAT_2_wide): ... here.
18479 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18480 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18481 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18482 (_FP_MUL_MEAT_2_gmp): ... here.
18483 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18484 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18485 (_FP_MUL_MEAT_4_wide): ... here.
18486 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18487 (_FP_MUL_MEAT_4_gmp): ... here.
18488 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18489 (_FP_WFRACBITS_DW_S): Likewise.
18490 (_FP_WFRACXBITS_DW_S): Likewise.
18491 (_FP_HIGHBIT_DW_S): Likewise.
18492 (FP_FMA_S): Likewise.
18493 (_FP_FRAC_HIGH_DW_S): Likewise.
18494 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18495 (_FP_WFRACBITS_DW_D): Likewise.
18496 (_FP_WFRACXBITS_DW_D): Likewise.
18497 (_FP_HIGHBIT_DW_D): Likewise.
18498 (FP_FMA_D): Likewise.
18499 (_FP_FRAC_HIGH_DW_D): Likewise.
18500 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18501 (_FP_WFRACBITS_DW_E): Likewise.
18502 (_FP_WFRACXBITS_DW_E): Likewise.
18503 (_FP_HIGHBIT_DW_E): Likewise.
18504 (FP_FMA_E): Likewise.
18505 (_FP_FRAC_HIGH_DW_E): Likewise.
18506 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18507 (_FP_WFRACBITS_DW_Q): Likewise.
18508 (_FP_WFRACXBITS_DW_Q): Likewise.
18509 (_FP_HIGHBIT_DW_Q): Likewise.
18510 (FP_FMA_Q): Likewise.
18511 (_FP_FRAC_HIGH_DW_Q): Likewise.
18512 * soft-fp/fmasf4.c: New file.
18513 * soft-fp/fmadf4.c: Likewise.
18514 * soft-fp/fmatf4.c: Likewise.
18515
6308fd9a
LD
185162013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18517
18518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18519 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18520 Silvermont.
18521 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18522 macro.
18523 (index_Slow_SSE4_2): Likewise.
18524 (index_Prefer_PMINUB_for_stringop): Likewise.
18525 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18526 bit_Slow_SSE4_2 is set.
18527 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18528 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18529
89cd9569
RA
185302013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18531
18532 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18533 rtld_global._dl_hwcap2.
18534 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18535 POWER8.
18536 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18537 POWER8 feature descriptions defined in _dl_hwcap2.
18538 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18539 string handling for POWER8 feature bits.
18540 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18541 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18542 _dl_powerpc_cap_flags.
18543 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18544 * sysdeps/powerpc/rtld-global-offsets.sym
18545 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18546 _dl_hwcap2 in the rtld_global_ro structure.
18547
1ae8bfe0
RA
185482013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18549
18550 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18551 hardware capabilities in support of AT_HWCAP2.
18552 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18553 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18554 GLRO(dl_hwcap2).
18555 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18556 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18557 explicitly the unknown a_type display mechanism is used.
18558 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18559 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18560 struct member.
18561 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18562 to macro prototype for AT_HWCAP2 support.
18563 * sysdeps/i386/dl-procinfo.h: Likewise.
18564 * sysdeps/s390/dl-procinfo.h: Likewise.
18565 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18566 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18567 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18568 return -1 for unknown a_type display fallback.
18569 * sysdeps/sparc/dl-procinfo.h: Likewise.
18570 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18571 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18572
8fbec010
JM
185732013-06-28 Joseph Myers <joseph@codesourcery.com>
18574
18575 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18576 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18577
0432680e
PY
185782013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18579
18580 [BZ #12492]
18581 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18582 mprotect making __stack_prot writable.
18583
ce61a2ad
NF
185842013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18585 Joseph Myers <joseph@codesourcery.com>
18586
18587 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18588 as being properly aligned.
18589
f91f1c0f
MR
185902013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18591
3d0f5d0c
MR
18592 * dlfcn/modstatic5.c: New file.
18593 * dlfcn/tststatic5.c: New file.
18594 * dlfcn/Makefile (tests): Add tststatic5.
18595 (tests-static): Likewise.
18596 (modules-names): Add modstatic5.
18597 (tststatic5-ENV): New variable.
18598 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18599
f91f1c0f
MR
18600 [BZ #15022]
18601 * elf/dl-support.c (_dl_main_map): New variable.
18602 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18603 (_dl_nns, _dl_load_adds): Set to 1.
18604 (_dl_initial_searchlist): Refer to _dl_main_map.
18605 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18606 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18607 call to _dl_get_origin.
18608 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18609 around call_map.
18610 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18611 * dlfcn/modstatic3.c: New file.
18612 * dlfcn/tststatic3.c: New file.
18613 * dlfcn/tststatic4.c: New file.
18614 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18615 (tests-static): Likewise.
18616 (modules-names): Add modstatic3.
18617 (tststatic3-ENV, tststatic4-ENV): New variables.
18618 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18619 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18620
cbe7d24b
JM
186212013-06-26 Joseph Myers <joseph@codesourcery.com>
18622
18623 * configure.in (CC): Require GCC version 4.4 or later.
18624 * configure: Regenerated.
18625 * manual/install.texi (Tools for Compilation): Update GCC version
18626 requirement.
18627 * INSTALL: Regenerated.
18628
11b8a0e1
LD
186292013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18630
18631 [BZ #15674]
bb5bb87c
L
18632 * string/test-memcmp.c (check2): New.
18633 (main): Call check2.
18634
11b8a0e1
LD
18635 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18636
b0037103
MR
186372013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18638
18639 [BZ #15022]
18640 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18641 over to...
18642 (dl_open_worker) [!SHARED]: ... here.
18643
c18c701d
RA
186442013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18645
18646 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18647
1d17fa5f
RH
186482013-06-25 Richard Henderson <rth@redhat.com>
18649
18650 * locale/programs/locarchive.c: Include <libc-internal.h>
18651
8fcb833a
JM
186522013-06-25 Joseph Myers <joseph@codesourcery.com>
18653
18654 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18655 trailing whitespace removed.
18656
17db6e8d
MF
186572013-06-24 Mike Frysinger <vapier@gentoo.org>
18658
18659 [BZ #10283]
17db6e8d
MF
18660 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18661 * locale/programs/locarchive.c: Include libc-mmap.h.
18662 (prepare_address_space): Take two new outputs (the mmap base and len).
18663 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18664 values.
18665 (create_archive): Declare new mmap base and len values for
18666 prepare_address_space, and store the result in ah.
18667 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18668 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18669 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18670 Declare new mmap base and len values for
18671 prepare_address_space, and store the result in new_ah.
18672 (open_archive): Declare new mmap base and len values for
18673 prepare_address_space, and store the result in ah.
18674 (close_archive): If ah->mmap_base is not NULL, use that and
18675 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18676 * sysdeps/generic/libc-mmap.h: New file.
18677
d605071e
MF
186782013-06-24 Mike Frysinger <vapier@gentoo.org>
18679
18680 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18681 (ALIGN_UP): Likewise.
18682 (PTR_ALIGN_DOWN): Likewise.
18683 (PTR_ALIGN_UP): Likewise.
18684
2f063a6e
RA
186852013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18686
18687 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18688 entry mapped to PPC_PLATFORM_POWER8.
18689 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18690 POWER8.
18691 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18692 (_dl_string_platform): Add case for exporting platform position for
18693 POWER8.
18694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18695 search path to sysdeps/powerpc/powerpc32/power8 directory.
18696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18697 search path to sysdeps/powerpc/powerpc64/power8 directory.
18698 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18699 power7 directories.
18700 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18701 power7 directories.
18702
a31ee4b3
SP
187032013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18704
a74ca98f
SP
18705 * INSTALL: Regenerate.
18706
a31ee4b3
SP
18707 * nscd/connections.c (nscd_init): Fix comment.
18708
695c378f
JM
187092013-06-22 Joseph Myers <joseph@codesourcery.com>
18710
d8412221
JM
18711 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18712
695c378f
JM
18713 [BZ #15667]
18714 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18715 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18716
d1d54715
MR
187172013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18718
18719 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18720 DL_DST_REQ_STATIC.
18721 (DL_DST_REQ_STATIC): Remove macro.
18722
8fdda7af
JM
187232013-06-21 Joseph Myers <joseph@codesourcery.com>
18724
18725 [BZ #7006]
18726 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18727 with a shift of 0 bits.
18728
f3bc5e5a
MR
187292013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18730
18731 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18732 $(tststatic-ENV).
18733
be09e8c9
KK
187342013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18735
18736 [BZ #15655]
18737 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18738
85c2e611
AZ
187392013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18740
18741 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18742 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18743 accepts -fno-tree-loop-distribute-patterns.
18744 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18745 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18746 recursive call.
18747 * string/memset.c (memset): Likewise.
18748 * string/test-memmove.c (simple_memmove): Disable loop transformation
18749 to library calls.
18750 * string/test-memset.c (simple_memset): Likewise.
18751 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18752 * benchtests/bench-memset.c (simple_memset): Likewise.
18753 * configure: Regenerated.
18754
c91e0825
JM
187552013-06-20 Joseph Myers <joseph@codesourcery.com>
18756
b8c792af
JM
18757 * math/test-misc.c (main): Ignore fesetround failure when failures
18758 of subsequent rounding tests would be ignored.
18759
c91e0825
JM
18760 [BZ #15654]
18761 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18762 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18763 * math/fegetenv.c (__fegetenv): Return 0.
18764 * math/fegetexcept.c (fegetexcept): Return 0.
18765 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18766 FE_TONEAREST.
18767 * math/feholdexcpt.c (feholdexcept): Return 0.
18768 * math/fesetenv.c (__fesetenv): Return 0.
18769 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18770 argument FE_TONEAREST.
18771 * math/feupdateenv.c (__feupdateenv): Return 0.
18772 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18773
bfcacbde
RM
187742013-06-18 Roland McGrath <roland@hack.frob.com>
18775
18776 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18777 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18778 ($(objpfx)rtld-%.os rules): Use them.
18779
e55a9b25
AZ
187802013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18781
18782 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18783 fields.
18784
346d65b3
RM
187852013-06-17 Roland McGrath <roland@hack.frob.com>
18786
12086fb4
RM
18787 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18788 length of target pattern, then descending length of dependency pattern.
18789 * configure.in (AWK): Require gawk 3.1.2 or newer.
18790 * manual/install.texi (Tools for Compilation): Say that we do.
18791 * configure: Regenerated.
18792
346d65b3
RM
18793 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18794 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18795 * scripts/sysd-rules.awk: ... this new script.
18796 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18797 than a glob-style pattern.
18798
1a846317
JM
187992013-06-17 Joseph Myers <joseph@codesourcery.com>
18800
18801 * math/test-misc.c (main): Do not treat incorrectly rounded
18802 conversions as failure unless ROUNDING_TESTS passes.
18803
8fc75e6f
JM
188042013-06-15 Joseph Myers <joseph@codesourcery.com>
18805
3711a167
JM
18806 [BZ #15631]
18807 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18808 restore exception state around main square root computation, then
18809 check for inexactness explicitly.
18810
8fc75e6f
JM
18811 * math/libm-test.inc (fma_test_data): Add another test.
18812
61dd6208
SP
188132013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18814
adf23d2c
SP
18815 * manual/threads.texi (Non-POSIX Extensions): New document
18816 node. Document pthread_getattr_default_np and
18817 pthread_setattr_default_np.
18818
61dd6208
SP
18819 * Versions.def (libpthread): Add GLIBC_2.18.
18820 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18822 Likewise.
18823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18824 Likewise.
18825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18826 Likewise.
18827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18828 Likewise.
18829 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18830 Likewise.
18831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18832 Likewise.
18833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18834 Likewise.
18835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18836 Likewise.
18837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18838 Likewise.
18839
d086fc7b
LD
188402013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18841
18842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18843 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18844
747ef469
SP
188452013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18846 H.J. Lu <hjl.tools@gmail.com>
18847
18848 [BZ #15627]
18849 * sysdeps/x86_64/rtld-memset.c: Remove file.
18850 * sysdeps/x86_64/rtld-memset.S: New file.
18851
1b2feed2
JM
188522013-06-14 Joseph Myers <joseph@codesourcery.com>
18853
18854 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18855 (test_in_one_mode): Take arguments for whether the rounding mode
18856 is supported for each floating-point type.
18857 (do_test): Pass new arguments to test_in_one_mode using
18858 ROUNDING_TESTS.
18859
a58ad3f8
RM
188602013-06-13 Roland McGrath <roland@hack.frob.com>
18861
18862 * posix/tst-waitid.c (do_test): Distinguish different instances of
18863 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18864 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18865 before entering the kernel for waitpid.
18866
c204ab28
SP
188672013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18868
18869 * NEWS: Fix note on clock function precision. Text by Roland
18870 McGrath.
18871
f4a29fba
RM
188722013-06-13 Roland McGrath <roland@hack.frob.com>
18873
18874 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18875 it into place only when and if the sanity check passes.
18876
1f24b9ad
JM
188772013-06-13 Joseph Myers <joseph@codesourcery.com>
18878
18879 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18880 output for whether conversion result is exact. Take argument
18881 indicating whether type is IBM long double.
18882 (round_for_all): Change need_exact field to ibm_ld.
18883 * stdlib/tst-strtod-round.c (struct exactness): New type.
18884 (struct test): Change bool ld_ok field to struct exactness exact.
18885 (TEST): Update all definitions for change to field.
18886 (tests): Regenerate array contents.
18887 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18888 field value. Check for IBM long double here.
18889 (do_test): Update calls to test_in_one_mode.
18890
58206c68
SP
188912013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18892
18893 [BZ #12515]
18894 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18895 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18896
2d6f4c5b 188972013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
18898
18899 [BZ #15605]
18900 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18901 generated by the compiler on loop optimizations.
18902 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18903 general definitions.
18904
94f2c076
JM
189052013-06-12 Joseph Myers <joseph@codesourcery.com>
18906
18907 * math/bug-nextafter.c: Include <math-tests.h>.
18908 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18909 the relevant type.
18910 * math/bug-nexttoward.c: Include <math-tests.h>.
18911 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18912 the relevant type.
18913 * math/test-misc.c: Include <math-tests.h>.
18914 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18915 the relevant type.
18916
e0e50a0a
AJ
189172013-06-12 Andreas Jaeger <aj@suse.de>
18918
18919 * po/ia.po: Update Interlingua translation from translation
18920 project.
18921
25061094
SP
189222013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18923
18924 * include/fenv.h: Include stdbool.h.
18925 (struct rm_ctx): New structure.
18926 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18927 Define macro.
18928 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18929 (SET_RESTORE_ROUNDF): Likewise.
18930 (SET_RESTORE_ROUNDL): Likewise.
18931 (SET_RESTORE_ROUND_NOEX): Likewise.
18932 (SET_RESTORE_ROUND_NOEXF): Likewise.
18933 (SET_RESTORE_ROUND_NOEXL): Likewise.
18934 (SET_RESTORE_ROUND_53BIT): Likewise.
18935 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18936 (libc_feresetround_noexf_ctx): Likewise.
18937 (libc_feresetround_noexl_ctx): Likewise.
18938 (libc_feholdsetround_53bit_ctx): Likewise.
18939 (libc_feresetround_53bit_ctx): Likewise.
18940 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18941 (libc_feholdexcept_setround_sse_ctx): New function.
18942 (libc_fesetenv_sse_ctx): Likewise.
18943 (libc_feupdateenv_sse_ctx): Likewise.
18944 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18945 (libc_feholdexcept_setround_387_ctx): Likewise.
18946 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18947 (libc_feholdsetround_387_prec_ctx): Likewise.
18948 (libc_feholdsetround_387_ctx): Likewise.
18949 (libc_feholdsetround_387_53bit_ctx): Likewise.
18950 (libc_feholdsetround_sse_ctx): Likewise.
18951 (libc_feresetround_sse_ctx): Likewise.
18952 (libc_feresetround_387_ctx): Likewise.
18953 (libc_feupdateenv_387_ctx): Likewise.
18954 (libc_feholdexcept_setroundf_ctx): Define macro.
18955 (libc_fesetenvf_ctx): Likewise.
18956 (libc_feupdateenvf_ctx): Likewise.
18957 (libc_feholdsetroundf_ctx): Likewise.
18958 (libc_feresetroundf_ctx): Likewise.
18959 (libc_feholdexcept_setround_ctx): Likewise.
18960 (libc_fesetenv_ctx): Likewise.
18961 (libc_feupdateenv_ctx): Likewise.
18962 (libc_feholdsetround_ctx): Likewise.
18963 (libc_feresetround_ctx): Likewise.
18964 (libc_feholdexcept_setroundl_ctx): Likewise.
18965 (libc_feupdateenvl_ctx): Likewise.
18966 (libc_feholdsetroundl_ctx): Likewise.
18967 (libc_feresetroundl_ctx): Likewise.
18968 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18969 (libc_feresetround_53bit_ctx): Likewise.
18970
59b30555
SP
189712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18972
18973 * locale/iso-639.def: Convert to UTF-8.
18974
f1d73d30
JM
189752013-06-11 Joseph Myers <joseph@codesourcery.com>
18976
18977 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18978 (EXCEPTION_TESTS_double): Likewise.
18979 (EXCEPTION_TESTS_long_double): Likewise.
18980 (EXCEPTION_TESTS): Likewise.
18981 * math/libm-test.inc (test_exceptions): Only test exceptions if
18982 EXCEPTION_TESTS (FLOAT).
18983
94aca5e7
SP
189842013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18985
18986 * benchtests/Makefile (string-bench): Add strcpy_chk and
18987 stpcpy_chk.
18988 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18989 * benchtests/bench-stpcpy_chk.c: New file.
18990 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18991 * benchtests/bench-strcpy_chk.c: New file.
18992 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18993 code.
18994 (do_test): Likewise.
18995
fac0c5f2
RA
189962013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18997
18998 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18999 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19000 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19001 with tabs where appropriate.
19002 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19003 dl-procinfo.h.
19004 [PPC_PLATFORM_PPC440]: Likewise.
19005 [PPC_PLATFORM_PPC464]: Likewise.
19006 [PPC_PLATFORM_PPC476]: Likewise.
19007 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19008 ppc464, and ppc476 platform strings merging from ports/
19009 dl-procinfo.h.
19010
f22bc486
AS
190112013-06-11 Andreas Schwab <schwab@suse.de>
19012
19013 [BZ #14991]
19014 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19015 (from_ucs4_idx): Regenerate.
19016 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19017 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19018 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19019 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19020 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19021 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19022 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19023 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19024 from FROM_LOOP and TO_LOOP specific macros.
19025 (BODY): Handle combining characters.
19026 * iconvdata/BIG5HKSCS.irreversible: Update.
19027 * iconvdata/BIG5HKSCS.precomposed: New file.
19028 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19029 characters.
19030 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19031
c1f75dc3
SP
190322013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19033
4eacded2
SP
19034 * include/sys/time.h: Fix indentation and add copyright header.
19035
fec799f8
SP
19036 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19037 (do_test): Likewise.
19038 * string/test-memchr.c (do_one_test): Likewise.
19039 (do_test): Likewise.
19040 * string/test-memcmp.c (do_one_test): Likewise.
19041 (do_test): Likewise.
19042 * string/test-memcpy.c (do_one_test): Likewise.
19043 (do_test): Likewise.
19044 * string/test-memmem.c (do_one_test): Likewise.
19045 (do_test): Likewise.
19046 (do_random_tests): Likewise.
19047 * string/test-memmove.c (do_one_test): Likewise.
19048 (do_test): Likewise.
19049 * string/test-memset.c (do_one_test): Likewise.
19050 (do_test): Likewise.
19051 * string/test-rawmemchr.c (do_one_test): Likewise.
19052 (do_test): Likewise.
19053 * string/test-strcasecmp.c (do_one_test): Likewise.
19054 (do_test): Likewise.
19055 * string/test-strcasestr.c (do_one_test): Likewise.
19056 (do_test): Likewise.
19057 * string/test-strcat.c (do_one_test): Likewise.
19058 (do_test): Likewise.
19059 * string/test-strchr.c (do_one_test): Likewise.
19060 (do_test): Likewise.
19061 * string/test-strcmp.c (do_one_test): Likewise.
19062 (do_test): Likewise.
19063 * string/test-strcpy.c (do_one_test): Likewise.
19064 (do_test): Likewise.
19065 * string/test-string.h: Likewise.
19066 (test_init): Likewise.
19067 * string/test-strlen.c (do_one_test): Likewise.
19068 (do_test): Likewise.
19069 * string/test-strncasecmp.c (do_one_test): Likewise.
19070 (do_test): Likewise.
19071 * string/test-strncat.c (do_one_test): Likewise.
19072 (do_test): Likewise.
19073 * string/test-strncmp.c (do_one_test): Likewise.
19074 (do_test_limit): Likewise.
19075 (do_test): Likewise.
19076 * string/test-strncpy.c (do_one_test): Likewise.
19077 (do_test): Likewise.
19078 * string/test-strnlen.c (do_one_test): Likewise.
19079 (do_test): Likewise.
19080 * string/test-strpbrk.c (do_one_test): Likewise.
19081 (do_test): Likewise.
19082 * string/test-strrchr.c (do_one_test): Likewise.
19083 (do_test): Likewise.
19084 * string/test-strspn.c (do_one_test): Likewise.
19085 (do_test): Likewise.
19086 * string/test-strstr.c (do_one_test): Likewise.
19087 (do_test): Likewise.
19088
97020474
SP
19089 * benchtests/Makefile (string-bench): Add string benchmarks.
19090 * benchtests/bench-bcopy-ifunc.c: New file.
19091 * benchtests/bench-bcopy.c: New file.
19092 * benchtests/bench-bzero-ifunc.c: New file.
19093 * benchtests/bench-bzero.c: New file.
19094 * benchtests/bench-memccpy-ifunc.c: New file.
19095 * benchtests/bench-memccpy.c: New file.
19096 * benchtests/bench-memchr-ifunc.c: New file.
19097 * benchtests/bench-memchr.c: New file.
19098 * benchtests/bench-memcmp-ifunc.c: New file.
19099 * benchtests/bench-memcmp.c: New file.
19100 * benchtests/bench-memmem-ifunc.c: New file.
19101 * benchtests/bench-memmem.c: New file.
19102 * benchtests/bench-memmove-ifunc.c: New file.
19103 * benchtests/bench-memmove.c: New file.
19104 * benchtests/bench-mempcpy-ifunc.c: New file.
19105 * benchtests/bench-mempcpy.c: New file.
19106 * benchtests/bench-memset-ifunc.c: New file.
19107 * benchtests/bench-memset.c: New file.
19108 * benchtests/bench-rawmemchr-ifunc.c: New file.
19109 * benchtests/bench-rawmemchr.c: New file.
19110 * benchtests/bench-stpcpy-ifunc.c: New file.
19111 * benchtests/bench-stpcpy.c: New file.
19112 * benchtests/bench-stpncpy-ifunc.c: New file.
19113 * benchtests/bench-stpncpy.c: New file.
19114 * benchtests/bench-strcasecmp-ifunc.c: New file.
19115 * benchtests/bench-strcasecmp.c: New file.
19116 * benchtests/bench-strcasestr-ifunc.c: New file.
19117 * benchtests/bench-strcasestr.c: New file.
19118 * benchtests/bench-strcat-ifunc.c: New file.
19119 * benchtests/bench-strcat.c: New file.
19120 * benchtests/bench-strchr-ifunc.c: New file.
19121 * benchtests/bench-strchr.c: New file.
19122 * benchtests/bench-strchrnul-ifunc.c: New file.
19123 * benchtests/bench-strchrnul.c: New file.
19124 * benchtests/bench-strcmp-ifunc.c: New file.
19125 * benchtests/bench-strcmp.c: New file.
19126 * benchtests/bench-strcpy-ifunc.c: New file.
19127 * benchtests/bench-strcpy.c: New file.
19128 * benchtests/bench-strcspn-ifunc.c: New file.
19129 * benchtests/bench-strcspn.c: New file.
19130 * benchtests/bench-strlen-ifunc.c: New file.
19131 * benchtests/bench-strlen.c: New file.
19132 * benchtests/bench-strncasecmp-ifunc.c: New file.
19133 * benchtests/bench-strncasecmp.c: New file.
19134 * benchtests/bench-strncat-ifunc.c: New file.
19135 * benchtests/bench-strncat.c: New file.
19136 * benchtests/bench-strncmp-ifunc.c: New file.
19137 * benchtests/bench-strncmp.c: New file.
19138 * benchtests/bench-strncpy-ifunc.c: New file.
19139 * benchtests/bench-strncpy.c: New file.
19140 * benchtests/bench-strnlen-ifunc.c: New file.
19141 * benchtests/bench-strnlen.c: New file.
19142 * benchtests/bench-strpbrk-ifunc.c: New file.
19143 * benchtests/bench-strpbrk.c: New file.
19144 * benchtests/bench-strrchr-ifunc.c: New file.
19145 * benchtests/bench-strrchr.c: New file.
19146 * benchtests/bench-strspn-ifunc.c: New file.
19147 * benchtests/bench-strspn.c: New file.
19148 * benchtests/bench-strstr-ifunc.c: New file.
19149 * benchtests/bench-strstr.c: New file.
19150
c1f75dc3
SP
19151 * benchtests/Makefile: Disable parallel execution of targets.
19152 (string-bench): Add memcpy.
19153 (benchset): New variable to store a list of benchmark sets.
19154 (bench-func): Renamed from bench.
19155 (bench-set): New target.
19156 (bench): Depend on bench-func and bench-set.
19157 * benchtests/README: Add section on benchmark sets.
19158 * benchtests/bench-memcpy-ifunc.c: New file.
19159 * benchtests/bench-memcpy.c: New file.
19160 * benchtests/bench-string.h: New file.
19161
50fd745b
AS
191622013-06-11 Andreas Schwab <schwab@suse.de>
19163
19164 [BZ #15577]
19165 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19166 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19167 values in the triple.
19168 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19169 terminator in the group key.
19170
3ee7e9fe
AJ
191712013-06-11 Andreas Jaeger <aj@suse.de>
19172
19173 * po/zh_TW.po: Update Chinese (traditional) translation from
19174 translation project.
19175
89fb6835
SP
191762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19177
19178 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19179 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19180 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19181 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19182 (clock_getcpuclockid): Likewise.
19183 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19184 Add weak_alias and libc_hidden_def.
19185 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19186 * rt/clock_gettime.c (clock_gettime): Rename to
19187 __clock_gettime. Add weak_alias and libc_hidden_def.
19188 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19189 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19190 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19191 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19192 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19193 Likewise.
19194 * rt/clock_settime.c (clock_settime): Rename to
19195 __clock_settime. Add weak_alias and libc_hidden_def.
19196 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19197
0efa6f8b
JM
191982013-06-10 Joseph Myers <joseph@codesourcery.com>
19199
b8c61b4b
JM
19200 * mach/err_boot.sub: Remove trailing whitespace.
19201 * mach/err_ipc.sub: Likewise.
19202 * mach/err_mach.sub: Likewise.
19203
0efa6f8b
JM
19204 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19205 (ROUNDING_TESTS_double): Likewise.
19206 (ROUNDING_TESTS_long_double): Likewise.
19207 (ROUNDING_TESTS): Likewise.
19208 * math/libm-test.inc: Include <math-tests.h>.
19209 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19210 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19211 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19212 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19213
50b818bf
SP
192142013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19215
19216 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19217 of assigning.
19218
60d2f8f3
JM
192192013-06-08 Joseph Myers <joseph@codesourcery.com>
19220
4902d2c3
JM
19221 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19222 otherwise empty TRANS lines.
19223 * sysdeps/gnu/errlist.c: Regenerated.
19224
60d2f8f3
JM
19225 * catgets/gencat.c (error_print): Use (void) in function
19226 definition.
19227 * crypt/crypt_util.c (__init_des): Likewise.
19228 * crypt/speeds.c (Stop): Likewise.
19229 (main): Likewise.
19230 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19231 * inet/ruserpass.c (token): Likewise.
19232 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19233 * intl/localealias.c (extend_alias_table): Likewise.
19234 * intl/plural-exp.c (init_germanic_plural): Likewise.
19235 * libio/fcloseall.c (__fcloseall): Likewise.
19236 * libio/genops.c (_IO_flush_all): Likewise.
19237 (_IO_flush_all_linebuffered): Likewise.
19238 (_IO_cleanup): Likewise.
19239 (_IO_iter_begin): Likewise.
19240 (_IO_iter_end): Likewise.
19241 (_IO_list_lock): Likewise.
19242 (_IO_list_unlock): Likewise.
19243 (_IO_list_resetlock): Likewise.
19244 * libio/getchar.c (getchar): Likewise.
19245 * libio/getchar_u.c (getchar_unlocked): Likewise.
19246 * libio/getwchar.c (getwchar): Likewise.
19247 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19248 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19249 * login/getpt.c (__getpt): Likewise.
19250 * login/tst-utmp.c (main): Likewise.
19251 * malloc/hooks.c (__malloc_check_init): Likewise.
19252 * malloc/malloc.c (__malloc_stats): Likewise.
19253 * malloc/mtrace.c (tr_break): Likewise.
19254 (mtrace): Likewise.
19255 (muntrace): Likewise.
19256 * misc/fstab.c (endfsent): Likewise.
19257 * misc/getclktck.c (__getclktck): Likewise.
19258 * misc/getdtsz.c (__getdtablesize): Likewise.
19259 * misc/gethostid.c (gethostid): Likewise.
19260 * misc/getpagesize.c (__getpagesize): Likewise.
19261 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19262 (__get_nprocs): Likewise.
19263 (__get_phys_pages): Likewise.
19264 (__get_avphys_pages): Likewise.
19265 * misc/getttyent.c (getttyent): Likewise.
19266 (setttyent): Likewise.
19267 (endttyent): Likewise.
19268 * misc/getusershell.c (getusershell): Likewise.
19269 (endusershell): Likewise.
19270 (setusershell): Likewise.
19271 (initshells): Likewise.
19272 * misc/hsearch.c (__hdestroy): Likewise.
19273 * misc/sync.c (sync): Likewise.
19274 * misc/syslog.c (closelog_internal): Likewise.
19275 (closelog): Likewise.
19276 * misc/ttyslot.c (ttyslot): Likewise.
19277 * misc/vhangup.c (vhangup): Likewise.
19278 * posix/fork.c (__fork): Likewise.
19279 * posix/getegid.c (__getegid): Likewise.
19280 * posix/geteuid.c (__geteuid): Likewise.
19281 * posix/getgid.c (__getgid): Likewise.
19282 * posix/getpid.c (__getpid): Likewise.
19283 * posix/getppid.c (__getppid): Likewise.
19284 * posix/getuid.c (__getuid): Likewise.
19285 * posix/pause.c (pause): Likewise.
19286 * posix/setpgrp.c (setpgrp): Likewise.
19287 * posix/setsid.c (__setsid): Likewise.
19288 * posix/test-vfork.c (noop): Likewise.
19289 * resolv/gethnamaddr.c (_endhtent): Likewise.
19290 (_gethtent): Likewise.
19291 (ht_endhostent): Likewise.
19292 (gethostent): Likewise.
19293 (dns_service): Likewise.
19294 * stdlib/drand48.c (drand48): Likewise.
19295 * stdlib/lrand48.c (lrand48): Likewise.
19296 * stdlib/mrand48.c (mrand48): Likewise.
19297 * stdlib/rand.c (rand): Likewise.
19298 * stdlib/random.c (__random): Likewise.
19299 * stdlib/setenv.c (clearenv): Likewise.
19300 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19301 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19302 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19303 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19304 (__get_nprocs): Likewise.
19305 (__get_phys_pages): Likewise.
19306 (__get_avphys_pages): Likewise.
19307 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19308 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19309 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19310 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19311 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19312 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19313 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19314 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19315 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19316 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19317 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19318 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19319 * sysdeps/posix/clock.c (clock): Likewise.
19320 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19321 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19322 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19323 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19324 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19325 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19326 (__get_nprocs_conf): Likewise.
19327 (__get_phys_pages): Likewise.
19328 (__get_avphys_pages): Likewise.
19329 * time/clock.c (clock): Likewise.
19330 * time/tzset.c (__tzname_max): Likewise.
19331
2e09a79a
JM
193322013-06-07 Joseph Myers <joseph@codesourcery.com>
19333
19334 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19335 (__bswap_32): Do not use "register".
19336 * crypt/crypt.c (_ufc_doit_r): Likewise.
19337 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19338 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19339 * gmon/gmon.c (__monstartup): Likewise.
19340 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19341 * hurd/hurdmalloc.c (more_memory): Likewise.
19342 (malloc): Likewise.
19343 (free): Likewise.
19344 (realloc): Likewise.
19345 (malloc_fork_prepare): Likewise.
19346 (malloc_fork_parent): Likewise.
19347 (malloc_fork_child): Likewise.
19348 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19349 (_svcauth_des): Likewise.
19350 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19351 * inet/inet_net.c (inet_network): Likewise.
19352 * inet/inet_netof.c (inet_netof): Likewise.
19353 * inet/rcmd.c (__validuser2_sa): Likewise.
19354 * io/fts.c (fts_open): Likewise.
19355 (fts_load): Likewise.
19356 (fts_close): Likewise.
19357 (fts_read): Likewise.
19358 (fts_children): Likewise.
19359 (fts_build): Likewise.
19360 (fts_stat): Likewise.
19361 (fts_sort): Likewise.
19362 (fts_alloc): Likewise.
19363 (fts_lfree): Likewise.
19364 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19365 (_IO_file_xsgetn): Likewise.
19366 (_IO_file_xsgetn_mmap): Likewise.
19367 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19368 (_IO_cookie_write): Likewise.
19369 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19370 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19371 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19372 * malloc/obstack.c (_obstack_begin): Likewise.
19373 (_obstack_begin_1): Likewise.
19374 (_obstack_newchunk): Likewise.
19375 (_obstack_allocated_p): Likewise.
19376 (obstack_free): Likewise.
19377 (_obstack_memory_used): Likewise.
19378 * misc/getttyent.c (getttynam): Likewise.
19379 (getttyent): Likewise.
19380 (skip): Likewise.
19381 (value): Likewise.
19382 * misc/getusershell.c (initshells): Likewise.
19383 * misc/syslog.c (__vsyslog_chk): Likewise.
19384 * misc/ttyslot.c (ttyslot): Likewise.
19385 * nis/nis_hash.c (__nis_hash): Likewise.
19386 * posix/fnmatch_loop.c (FCT): Likewise.
19387 * posix/getconf.c (print_all): Likewise.
19388 (main): Likewise.
19389 * posix/getopt.c (exchange): Likewise.
19390 * posix/glob.c (globfree): Likewise.
19391 (prefix_array): Likewise.
19392 (__glob_pattern_type): Likewise.
19393 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19394 (NS_GET32): Likewise.
19395 (NS_PUT16): Likewise.
19396 (NS_PUT32): Likewise.
19397 * resolv/gethnamaddr.c (getanswer): Likewise.
19398 (gethostbyname2): Likewise.
19399 (gethostbyaddr): Likewise.
19400 (_gethtent): Likewise.
19401 (_gethtbyname2): Likewise.
19402 (_gethtbyaddr): Likewise.
19403 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19404 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19405 * resolv/res_init.c (__res_vinit): Likewise.
19406 (net_mask): Likewise.
19407 * resolv/res_mkquery.c (outchar): Likewise.
19408 (PRINT): Likewise.
19409 * stdio-common/printf_fp.c (outchar): Likewise.
19410 (PRINT): Likewise.
19411 * stdio-common/printf_fphex.c (outchar): Likewise.
19412 (PRINT): Likewise.
19413 * stdio-common/printf_size.c (outchar): Likewise.
19414 (PRINT): Likewise.
19415 * stdio-common/test_rdwr.c (main): Likewise.
19416 * stdio-common/tfformat.c (matches): Likewise.
19417 * stdio-common/vfprintf.c (outchar): Likewise.
19418 (printf_unknown): Likewise.
19419 (buffered_vfprintf): Likewise.
19420 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19421 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19422 (ReadFile): Likewise.
19423 * stdlib/qsort.c (SWAP): Likewise.
19424 (_quicksort): Likewise.
19425 * stdlib/setenv.c (__add_to_environ): Likewise.
19426 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19427 * stdlib/strtol_l.c (__strtol_l): Likewise.
19428 * stdlib/tst-strtod.c (main): Likewise.
19429 * stdlib/tst-strtol.c (main): Likewise.
19430 * stdlib/tst-strtoll.c (main): Likewise.
19431 * string/bits/string2.h (__strcmp_cc): Likewise.
19432 (__strcmp_cg): Likewise.
19433 (__strcspn_c1): Likewise.
19434 (__strcspn_c2): Likewise.
19435 (__strcspn_c3): Likewise.
19436 (__strspn_c1): Likewise.
19437 (__strspn_c2): Likewise.
19438 (__strspn_c3): Likewise.
19439 (__strsep_1c): Likewise.
19440 (__strsep_2c): Likewise.
19441 (__strsep_3c): Likewise.
19442 * string/memccpy.c (__memccpy): Likewise.
19443 * string/stpcpy.c (__stpcpy): Likewise.
19444 * string/strcmp.c (strcmp): Likewise.
19445 * string/strrchr.c (strrchr): Likewise.
19446 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19447 Likewise.
19448 * sysdeps/mach/hurd/getcwd.c
19449 (_hurd_canonicalize_directory_name_internal): Likewise.
19450 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19451 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19452 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19453 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19454 Likewise, in both definitions.
19455 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19456 definitions.
19457 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19458 64] (__bswap_64): Likewise.
19459 * time/test_time.c (main): Likewise.
19460 * time/tzfile.c (__tzfile_read): Likewise.
19461 (__tzfile_compute): Likewise.
19462 * time/tzset.c (__tzset_parse_tz): Likewise.
19463 (tzset_internal): Likewise.
19464 (compute_change): Likewise.
19465 * wcsmbs/wcscat.c (__wcscat): Likewise.
19466 * wcsmbs/wcschr.c (wcschr): Likewise.
19467 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19468 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19469 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19470 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19471 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19472 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19473 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19474 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19475 * wcsmbs/wmemset.c (wmemset): Likewise.
19476
9e54314b
JM
194772013-06-06 Joseph Myers <joseph@codesourcery.com>
19478
19479 * scripts/config.guess: Update to version 2013-05-16.
19480 * scripts/config.sub: Update to version 2013-04-24.
19481 * scripts/install-sh: Update to version 2011-11-20.07.
19482 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19483 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19484
350635a5
OB
194852013-06-06 Ondřej Bílka <neleai@seznam.cz>
19486
19487 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19488 * elf/sln.c: Likewise.
19489 * hurd/hurd/ioctl.h: Likewise.
19490 * hurd/hurdmalloc.c: Likewise.
19491 * hurd/xattr.c: Likewise.
19492 * include/shlib-compat.h: Likewise.
19493 * inet/ruserpass.c: Likewise.
19494 * libio/iofgets_u.c: Likewise.
19495 * libio/iofgetws_u.c: Likewise.
19496 * locale/programs/ld-identification.c: Likewise.
19497 * locale/programs/ld-time.c: Likewise.
19498 * mach/msg-destroy.c: Likewise.
19499 * nss/nss_files/files-netgrp.c: Likewise.
19500 * resolv/res_data.c: Likewise.
19501 * soft-fp/op-1.h: Likewise.
19502 * soft-fp/op-2.h: Likewise.
19503 * soft-fp/op-4.h: Likewise.
19504 * soft-fp/op-common.h: Likewise.
19505 * stdio-common/printf_fphex.c: Likewise.
19506 * stdlib/strtod_l.c: Likewise.
19507 * sunrpc/rpc/clnt.h: Likewise.
19508 * sysdeps/generic/framestate.c: Likewise.
19509 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19510 * sysdeps/i386/bsd-setjmp.S: Likewise.
19511 * sysdeps/i386/__longjmp.S: Likewise.
19512 * sysdeps/i386/setjmp.S: Likewise.
19513 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19514 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19515 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19516 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19517 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19518 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19519 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19520 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19521 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19522 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19523 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19524 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19525 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19526 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19527 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19528 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19529 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19530 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19531 * sysdeps/ieee754/support.c: Likewise.
19532 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19533 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19534 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19535 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19536 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19537 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19538 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19539 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19540 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19541 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19542 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19543 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19544 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19545 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19546 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19547 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19548 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19550
44a988af
OB
195512013-06-05 Ondřej Bílka <neleai@seznam.cz>
19552
25506f09 19553 * posix/transbug.c: Remove executable mode.
44a988af 19554
9c84384c
JM
195552013-06-05 Joseph Myers <joseph@codesourcery.com>
19556
19557 * crypt/speeds.c: Remove trailing whitespace.
19558 * dlfcn/default.c: Likewise.
19559 * elf/ifuncdep2.c: Likewise.
19560 * elf/ifuncmain1.c: Likewise.
19561 * elf/ifuncmain1vis.c: Likewise.
19562 * elf/testobj.h: Likewise.
19563 * elf/tst-stackguard1.c: Likewise.
19564 * gmon/sys/gmon.h: Likewise.
19565 * hurd/hurdmsg.c: Likewise.
19566 * hurd/new-fd.c: Likewise.
19567 * hurd/ports-get.c: Likewise.
19568 * iconvdata/ibm1008_420.c: Likewise.
19569 * inet/tst-getni1.c: Likewise.
19570 * inet/tst-getni2.c: Likewise.
19571 * libio/ioungetc.c: Likewise.
19572 * libio/wfiledoalloc.c: Likewise.
19573 * manual/libm-err-tab.pl: Likewise.
19574 * math/w_dremf.c: Likewise.
19575 * misc/ftruncate.c: Likewise.
19576 * posix/bug-glob2.c: Likewise.
19577 * posix/tst-pcre.c: Likewise.
19578 * posix/wait4.c: Likewise.
19579 * resolv/README: Likewise.
19580 * resolv/res_debug.h: Likewise.
19581 * resolv/tst-inet_ntop.c: Likewise.
19582 * setjmp/bug269-setjmp.c: Likewise.
19583 * soft-fp/extended.h: Likewise.
19584 * soft-fp/op-1.h: Likewise.
19585 * soft-fp/op-2.h: Likewise.
19586 * soft-fp/op-4.h: Likewise.
19587 * soft-fp/op-8.h: Likewise.
19588 * soft-fp/testit.c: Likewise.
19589 * stdio-common/bug16.c: Likewise.
19590 * stdlib/random.c: Likewise.
19591 * sunrpc/rpcsvc/rquota.x: Likewise.
19592 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19593 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19594 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19595 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19596 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19597 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19598 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19599 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19600 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19601 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19602 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19603 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19604 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19605 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19606 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19607 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19608 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19609 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19610 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19611 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19612 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19613 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19614 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19615 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19616 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19617 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19618 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19619 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19620 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19621 * sysdeps/ieee754/s_lib_version.c: Likewise.
19622 * sysdeps/mach/hurd/check_fds.c: Likewise.
19623 * sysdeps/mach/hurd/getsockname.c: Likewise.
19624 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19625 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19626 * sysdeps/powerpc/bits/link.h: Likewise.
19627 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19628 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19629 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19630 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19631 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19632 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19633 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19634 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19635 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19636 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19637 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19638 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19639 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19640 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19641 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19642 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19643 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19644 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19645 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19646 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19647 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19648 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19649 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19650 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19651 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19652 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19653 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19654 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19655 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19656 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19657 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19658 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19659 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19660 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19661 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19662 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19663 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19664 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19665 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19666 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19667 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19668 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19669 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19670 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19671 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19672 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19673 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19674 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19675 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19676 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19677 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19678 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19679 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19680 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19681 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19682 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19683 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19684 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19685 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19686 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19687 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19688 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19689 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19690 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19691 * sysdeps/powerpc/sysdep.h: Likewise.
19692 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19693 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19694 * sysdeps/sh/dl-trampoline.S: Likewise.
19695 * sysdeps/sh/memset.S: Likewise.
19696 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19697 * sysdeps/sh/strlen.S: Likewise.
19698 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19699 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19700 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19701 * sysdeps/sparc/sparc32/rem.S: Likewise.
19702 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19703 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19704 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19705 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19706 * sysdeps/sparc/sparc32/urem.S: Likewise.
19707 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19708 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19709 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19710 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19711 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19712 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19713 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19714 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19715 * sysdeps/unix/bsd/times.c: Likewise.
19716 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19717 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19721 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19722 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19723 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19724 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19725 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19726 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19727 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19728 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19729 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19730 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19731 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19732 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19733 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19734 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19735 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19736 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19737 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19738 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19739 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19740 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19741 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19742 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19743 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19744 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19745 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19746 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19747 * sysdeps/x86_64/strcspn.S: Likewise.
19748
869378a5
RA
197492013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19750
19751 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19752 generated file. Regenerate properly from gen-translit.pl.
19753 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19754 locale/C-translit.h.
19755
840e2943
AS
197562013-06-05 Andreas Schwab <schwab@suse.de>
19757
19758 [BZ #15100]
19759 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19760 week as 6 instead of -1.
19761 * time/tst-strptime.c (day_tests): Add test case.
19762
4c60cb0c
SP
197632013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19764
19765 * sysdeps/generic/math_private.h
19766 (libc_feholdexcept_setround_53bit): Replace with
19767 libc_feholdsetround_53bit.
19768 (libc_feupdateenv_53bit): Replace with
19769 libc_feresetround_53bit.
19770 (SET_RESTORE_ROUND_53BIT): Adjust.
19771
d180203e
SP
197722013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19773
96df079a
SP
19774 * string/test-strchrnul.c: Add copyright header.
19775
d180203e
SP
19776 * posix/tst-getaddrinfo4.c: Increase test timeout.
19777
8b0ccb2d
CD
197782013-06-03 Carlos O'Donell <carlos@redhat.com>
19779
19780 [BZ #15536]
19781 * math/libm-test.inc (MAX_EXP): Remove
19782 (MIN_EXP): Define.
19783 (ulp): Use MIN_EXP - MANT_DIG.
19784 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19785
3b3c4d40
CD
197862013-05-31 Carlos O'Donell <carlos@redhat.com>
19787
19788 * po/be.po: Revert last change.
19789 * po/zh_CN.po: Likewise.
19790 * po/header.pot: Likewise.
19791
fab7ce3f
JM
197922013-05-31 Joseph Myers <joseph@codesourcery.com>
19793
19794 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19795 link-libc-deps to empty as target-specific variable.
19796 * Makerules (link-libc-args): New variable.
19797 (libc-for-link): Likewise.
19798 (link-libc-deps): Likewise.
19799 (lib%.so): Depend on $(link-libc-deps). Link with
19800 $(link-libc-args).
19801 (build-module): Link with $(link-libc-args).
19802 (build-module-asneeded): Likewise.
19803 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19804 list of objects.
19805 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19806 target-specific variable.
19807 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19808 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19809 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19810 libc.
19811 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19812 libc and ld.so.
19813 ($(objpfx)libpcprofile.so): Likewise.
19814 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19815 libc_nonshared.a.
19816 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19817 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19818 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19819 $(link-libc-deps).
19820 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19821 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19822 * login/Makefile ($(objpfx)libutil.so): Likewise.
19823 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19824 * math/Makefile ($(objpfx)libm.so): Likewise.
19825 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19826 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19827 variable instead of depending directly on libc.
19828 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19829 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19830 $(link-libc-deps).
19831 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19832 libc.
19833 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19834 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19835 ($(objpfx)libanl.so): Likewise.
19836 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19837 ld.so.
19838 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19839 $(link-libc-deps).
19840 * sysdeps/i386/fpu/Makefile: Remove file.
19841 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19842 ($(objpfx)libm.so): Remove dependency on ld.so.
19843
eca5920c
PF
198442013-05-30 Patsy Franklin <pfrankli@redhat.com>
19845
19846 [BZ # 15553]
19847 * nis/yp_xdr.c (XDRMAXNAME): Define.
19848 (XDRMAXRECORD): Define.
19849 (xdr_domainname): Use XDRMAXNAME.
19850 (xdr_mapname): Likewise.
19851 (xdr_peername): Likewise.
19852 (xdr_keydat): Use XDRMAXRECORD.
19853 (xdr_valdat): Likewise.
19854
198552013-05-30 Jeff Law <law@redhat.com>
96945714
JL
19856
19857 [BZ #14256]
19858 * manual/errno.texi (ESTALE): Update to account for more than
19859 just NFS file systems.
19860 * sysdeps/gnu/errlist.c: Regenerated.
19861
b9375348
SP
198622013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19863
19864 [BZ #15465]
19865 * elf/Makefile (tests): Add tst-null-argv.
19866 (modules-names): Add tst-null-argv-lib.
19867 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19868 (tst-null-argv-ENV): Set environment for tst-null-argv.
19869 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19870 (RTLD_PROGNAME): New macro.
19871 * elf/tst-null-argv.c: New test case.
19872 * elf/tst-null-argv-lib.c: Library for test case.
19873 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19874 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19875 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19876 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19877 * elf/dl-init.c (call_init): Likewise.
19878 (_dl_init): Likewise.
19879 * elf/dl-load.c (print_search_path): Likewise.
19880 (_dl_map_object): Likewise.
19881 * elf/dl-lookup.c (do_lookup_x): Likewise.
19882 (add_dependency): Likewise.
19883 (_dl_lookup_symbol_x): Likewise.
19884 (_dl_debug_bindings): Likewise.
19885 * elf/dl-open.c (_dl_show_scope): Likewise.
19886 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19887 * elf/dl-version.c (match_symbol): Likewise.
19888 (_dl_check_map_versions): Likewise.
19889 * elf/rtld.c (dl_main): Likewise.
19890 (print_unresolved): Use RTLD_PROGNAME.
19891 (print_missing_version): Likewise.
19892 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19893 (elf_machine_rela): Likewise.
19894 * sysdeps/powerpc/powerpc32/dl-machine.c
19895 (__process_machine_rela): Likewise.
19896 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19897 Likewise.
19898 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19899 Likewise.
19900 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19901 Likewise.
19902 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19903 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19904 Likewise.
19905 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19906 Likewise.
19907 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19908
8a9f20c8
CD
199092013-05-28 Carlos O'Donell <carlos@redhat.com>
19910
19911 * po/be.po: Add descriptive title.
19912 * po/zh_CN.po: Likewise.
19913 * po/header.pot: Likewise.
19914
0e60d68e
MF
199152013-05-28 Mike Frysinger <vapier@gentoo.org>
19916
19917 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19918 error message.
19919 (enlarge_archive): Likewise.
19920
56b672e9
BN
199212013-05-28 Ben North <ben@redfrontdoor.org>
19922
19923 * manual/arith.texi (frexp): It is the magnitude of the return
19924 value which lies in [0.5, 1), not the return value itself.
19925
5e056687
AZ
199262013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19927
19928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19929
2b66ef5d
TS
199302013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19931
528c2405
TS
19932 * stdio-common/bug26.c (main): Correct fscanf template.
19933
07b4c13d
TS
19934 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19935 declare _dl_skip_args.
19936
ec9dd97c
TS
19937 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19938 Don't declare.
19939
2b66ef5d
TS
19940 * manual/platform.texi: Add missing @end deftypefun.
19941
4f8dfe27
JM
199422013-05-24 Joseph Myers <joseph@codesourcery.com>
19943
0323d086
JM
19944 [BZ #15529]
19945 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19946 bit of mantissa of 2^16382.
19947 * math/libm-test.inc (hypot_test_data): Add more tests.
19948
dd4259b9
JM
19949 * math/libm-test.inc: Add drem and pow10 to list of tested
19950 functions.
19951 (pow10_test): New function.
19952 (drem_test): Likewise.
19953 (drem_test_tonearest): Likewise.
19954 (drem_test_towardzero): Likewise.
19955 (drem_test_downward): Likewise.
19956 (drem_test_upward): Likewise.
19957 (main): Call the new functions.
19958
4f8dfe27
JM
19959 * math/libm-test.inc (finite_test_data): Remove.
19960 (finite_test): Run tests from isfinite_test_data.
19961 (gamma_test_data): Remove.
19962 (gamma_test): Run tests from lgamma_test_data.
19963 * sysdeps/i386/fpu/libm-test-ulps: Update.
19964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19965
d116b7c4
AZ
199662013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19967
19968 * manual/platform.texi: Add PowerPC PPR function set documentation.
19969 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19970 implementation.
19971
e96e3767
CD
199722013-05-24 Carlos O'Donell <carlos@redhat.com>
19973
19974 * math/libm-test.inc (MAX_EXP): Define.
19975 (ULPDIFF): Define.
19976 (ulp): New function.
19977 (check_float_internal): Use ULPDIFF.
19978 (cpow_test): Disable failing test.
19979 (check_ulp): Test ulp() implemetnation.
19980 (main): Call check_ulp before starting tests.
19981
b679a606
JM
199822013-05-24 Joseph Myers <joseph@codesourcery.com>
19983
e8bdba36
JM
19984 * math/gen-libm-test.pl (generate_testfile): Do not handle
19985 START_DATA and END_DATA.
19986 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19987 END_DATA.
19988 (acos_tonearest_test_data): Likewise.
19989 (acos_towardzero_test_data): Likewise.
19990 (acos_downward_test_data): Likewise.
19991 (acos_upward_test_data): Likewise.
19992 (acosh_test_data): Likewise.
19993 (asin_test_data): Likewise.
19994 (asin_tonearest_test_data): Likewise.
19995 (asin_towardzero_test_data): Likewise.
19996 (asin_downward_test_data): Likewise.
19997 (asin_upward_test_data): Likewise.
19998 (asinh_test_data): Likewise.
19999 (atan_test_data): Likewise.
20000 (atanh_test_data): Likewise.
20001 (atan2_test_data): Likewise.
20002 (cabs_test_data): Likewise.
20003 (cacos_test_data): Likewise.
20004 (cacosh_test_data): Likewise.
20005 (carg_test_data): Likewise.
20006 (casin_test_data): Likewise.
20007 (casinh_test_data): Likewise.
20008 (catan_test_data): Likewise.
20009 (catanh_test_data): Likewise.
20010 (cbrt_test_data): Likewise.
20011 (ccos_test_data): Likewise.
20012 (ccosh_test_data): Likewise.
20013 (ceil_test_data): Likewise.
20014 (cexp_test_data): Likewise.
20015 (cimag_test_data): Likewise.
20016 (clog_test_data): Likewise.
20017 (clog10_test_data): Likewise.
20018 (conj_test_data): Likewise.
20019 (copysign_test_data): Likewise.
20020 (cos_test_data): Likewise.
20021 (cos_tonearest_test_data): Likewise.
20022 (cos_towardzero_test_data): Likewise.
20023 (cos_downward_test_data): Likewise.
20024 (cos_upward_test_data): Likewise.
20025 (cosh_test_data): Likewise.
20026 (cosh_tonearest_test_data): Likewise.
20027 (cosh_towardzero_test_data): Likewise.
20028 (cosh_downward_test_data): Likewise.
20029 (cosh_upward_test_data): Likewise.
20030 (cpow_test_data): Likewise.
20031 (cproj_test_data): Likewise.
20032 (creal_test_data): Likewise.
20033 (csin_test_data): Likewise.
20034 (csinh_test_data): Likewise.
20035 (csqrt_test_data): Likewise.
20036 (ctan_test_data): Likewise.
20037 (ctan_tonearest_test_data): Likewise.
20038 (ctan_towardzero_test_data): Likewise.
20039 (ctan_downward_test_data): Likewise.
20040 (ctan_upward_test_data): Likewise.
20041 (ctanh_test_data): Likewise.
20042 (ctanh_tonearest_test_data): Likewise.
20043 (ctanh_towardzero_test_data): Likewise.
20044 (ctanh_downward_test_data): Likewise.
20045 (ctanh_upward_test_data): Likewise.
20046 (erf_test_data): Likewise.
20047 (erfc_test_data): Likewise.
20048 (exp_test_data): Likewise.
20049 (exp_tonearest_test_data): Likewise.
20050 (exp_towardzero_test_data): Likewise.
20051 (exp_downward_test_data): Likewise.
20052 (exp_upward_test_data): Likewise.
20053 (exp10_test_data): Likewise.
20054 (exp2_test_data): Likewise.
20055 (expm1_test_data): Likewise.
20056 (fabs_test_data): Likewise.
20057 (fdim_test_data): Likewise.
20058 (finite_test_data): Likewise.
20059 (floor_test_data): Likewise.
20060 (fma_test_data): Likewise.
20061 (fma_towardzero_test_data): Likewise.
20062 (fma_downward_test_data): Likewise.
20063 (fma_upward_test_data): Likewise.
20064 (fmax_test_data): Likewise.
20065 (fmin_test_data): Likewise.
20066 (fmod_test_data): Likewise.
20067 (fpclassify_test_data): Likewise.
20068 (frexp_test_data): Likewise.
20069 (gamma_test_data): Likewise.
20070 (hypot_test_data): Likewise.
20071 (ilogb_test_data): Likewise.
20072 (isfinite_test_data): Likewise.
20073 (isgreater_test_data): Likewise.
20074 (isgreaterequal_test_data): Likewise.
20075 (isinf_test_data): Likewise.
20076 (isless_test_data): Likewise.
20077 (islessequal_test_data): Likewise.
20078 (islessgreater_test_data): Likewise.
20079 (isnan_test_data): Likewise.
20080 (isnormal_test_data): Likewise.
20081 (issignaling_test_data): Likewise.
20082 (isunordered_test_data): Likewise.
20083 (j0_test_data): Likewise.
20084 (j1_test_data): Likewise.
20085 (jn_test_data): Likewise.
20086 (ldexp_test_data): Likewise.
20087 (lgamma_test_data): Likewise.
20088 (lrint_test_data): Likewise.
20089 (lrint_tonearest_test_data): Likewise.
20090 (lrint_towardzero_test_data): Likewise.
20091 (lrint_downward_test_data): Likewise.
20092 (lrint_upward_test_data): Likewise.
20093 (llrint_test_data): Likewise.
20094 (llrint_tonearest_test_data): Likewise.
20095 (llrint_towardzero_test_data): Likewise.
20096 (llrint_downward_test_data): Likewise.
20097 (llrint_upward_test_data): Likewise.
20098 (log_test_data): Likewise.
20099 (log10_test_data): Likewise.
20100 (log1p_test_data): Likewise.
20101 (log2_test_data): Likewise.
20102 (logb_test_data): Likewise.
20103 (logb_downward_test_data): Likewise.
20104 (lround_test_data): Likewise.
20105 (llround_test_data): Likewise.
20106 (modf_test_data): Likewise.
20107 (nearbyint_test_data): Likewise.
20108 (nextafter_test_data): Likewise.
20109 (nexttoward_test_data): Likewise.
20110 (pow_test_data): Likewise.
20111 (pow_tonearest_test_data): Likewise.
20112 (pow_towardzero_test_data): Likewise.
20113 (pow_downward_test_data): Likewise.
20114 (pow_upward_test_data): Likewise.
20115 (remainder_test_data): Likewise.
20116 (remainder_tonearest_test_data): Likewise.
20117 (remainder_towardzero_test_data): Likewise.
20118 (remainder_downward_test_data): Likewise.
20119 (remainder_upward_test_data): Likewise.
20120 (remquo_test_data): Likewise.
20121 (rint_test_data): Likewise.
20122 (rint_tonearest_test_data): Likewise.
20123 (rint_towardzero_test_data): Likewise.
20124 (rint_downward_test_data): Likewise.
20125 (rint_upward_test_data): Likewise.
20126 (round_test_data): Likewise.
20127 (scalb_test_data): Likewise.
20128 (scalbn_test_data): Likewise.
20129 (scalbln_test_data): Likewise.
20130 (signbit_test_data): Likewise.
20131 (sin_test_data): Likewise.
20132 (sin_tonearest_test_data): Likewise.
20133 (sin_towardzero_test_data): Likewise.
20134 (sin_downward_test_data): Likewise.
20135 (sin_upward_test_data): Likewise.
20136 (sincos_test_data): Likewise.
20137 (sinh_test_data): Likewise.
20138 (sinh_tonearest_test_data): Likewise.
20139 (sinh_towardzero_test_data): Likewise.
20140 (sinh_downward_test_data): Likewise.
20141 (sinh_upward_test_data): Likewise.
20142 (sqrt_test_data): Likewise.
20143 (tan_test_data): Likewise.
20144 (tan_tonearest_test_data): Likewise.
20145 (tan_towardzero_test_data): Likewise.
20146 (tan_downward_test_data): Likewise.
20147 (tan_upward_test_data): Likewise.
20148 (tanh_test_data): Likewise.
20149 (tgamma_test_data): Likewise.
20150 (trunc_test_data): Likewise.
20151 (y0_test_data): Likewise.
20152 (y1_test_data): Likewise.
20153 (yn_test_data): Likewise.
20154 (significand_test_data): Likewise.
20155
b679a606
JM
20156 * math/gen-libm-test.pl (@functions): Remove variable.
20157 (generate_testfile): Don't handle START and END lines.
20158 * math/libm-test.inc (START): New macro.
20159 (END): Likewise.
20160 (END_COMPLEX): Likewise.
20161 (acos_test): Use END macro without arguments.
20162 (acos_test_tonearest): Likewise.
20163 (acos_test_towardzero): Likewise.
20164 (acos_test_downward): Likewise.
20165 (acos_test_upward): Likewise.
20166 (acosh_test): Likewise.
20167 (asin_test): Likewise.
20168 (asin_test_tonearest): Likewise.
20169 (asin_test_towardzero): Likewise.
20170 (asin_test_downward): Likewise.
20171 (asin_test_upward): Likewise.
20172 (asinh_test): Likewise.
20173 (atan_test): Likewise.
20174 (atanh_test): Likewise.
20175 (atan2_test): Likewise.
20176 (cabs_test): Likewise.
20177 (cacos_test): Use END_COMPLEX macro without arguments.
20178 (cacosh_test): Likewise.
20179 (carg_test): Use END macro without arguments.
20180 (casin_test): Use END_COMPLEX macro without arguments.
20181 (casinh_test): Likewise.
20182 (catan_test): Likewise.
20183 (catanh_test): Likewise.
20184 (cbrt_test): Use END macro without arguments.
20185 (ccos_test): Use END_COMPLEX macro without arguments.
20186 (ccosh_test): Likewise.
20187 (ceil_test): Use END macro without arguments.
20188 (cexp_test): Use END_COMPLEX macro without arguments.
20189 (cimag_test): Use END macro without arguments.
20190 (clog_test): Use END_COMPLEX macro without arguments.
20191 (clog10_test): Likewise.
20192 (conj_test): Likewise.
20193 (copysign_test): Use END macro without arguments.
20194 (cos_test): Likewise.
20195 (cos_test_tonearest): Likewise.
20196 (cos_test_towardzero): Likewise.
20197 (cos_test_downward): Likewise.
20198 (cos_test_upward): Likewise.
20199 (cosh_test): Likewise.
20200 (cosh_test_tonearest): Likewise.
20201 (cosh_test_towardzero): Likewise.
20202 (cosh_test_downward): Likewise.
20203 (cosh_test_upward): Likewise.
20204 (cpow_test): Use END_COMPLEX macro without arguments.
20205 (cproj_test): Likewise.
20206 (creal_test): Use END macro without arguments.
20207 (csin_test): Use END_COMPLEX macro without arguments.
20208 (csinh_test): Likewise.
20209 (csqrt_test): Likewise.
20210 (ctan_test): Likewise.
20211 (ctan_test_tonearest): Likewise.
20212 (ctan_test_towardzero): Likewise.
20213 (ctan_test_downward): Likewise.
20214 (ctan_test_upward): Likewise.
20215 (ctanh_test): Likewise.
20216 (ctanh_test_tonearest): Likewise.
20217 (ctanh_test_towardzero): Likewise.
20218 (ctanh_test_downward): Likewise.
20219 (ctanh_test_upward): Likewise.
20220 (erf_test): Use END macro without arguments.
20221 (erfc_test): Likewise.
20222 (exp_test): Likewise.
20223 (exp_test_tonearest): Likewise.
20224 (exp_test_towardzero): Likewise.
20225 (exp_test_downward): Likewise.
20226 (exp_test_upward): Likewise.
20227 (exp10_test): Likewise.
20228 (exp2_test): Likewise.
20229 (expm1_test): Likewise.
20230 (fabs_test): Likewise.
20231 (fdim_test): Likewise.
20232 (finite_test): Likewise.
20233 (floor_test): Likewise.
20234 (fma_test): Likewise.
20235 (fma_test_towardzero): Likewise.
20236 (fma_test_downward): Likewise.
20237 (fma_test_upward): Likewise.
20238 (fmax_test): Likewise.
20239 (fmin_test): Likewise.
20240 (fmod_test): Likewise.
20241 (fpclassify_test): Likewise.
20242 (frexp_test): Likewise.
20243 (gamma_test): Likewise.
20244 (hypot_test): Likewise.
20245 (ilogb_test): Likewise.
20246 (isfinite_test): Likewise.
20247 (isgreater_test): Likewise.
20248 (isgreaterequal_test): Likewise.
20249 (isinf_test): Likewise.
20250 (isless_test): Likewise.
20251 (islessequal_test): Likewise.
20252 (islessgreater_test): Likewise.
20253 (isnan_test): Likewise.
20254 (isnormal_test): Likewise.
20255 (issignaling_test): Likewise.
20256 (isunordered_test): Likewise.
20257 (j0_test): Likewise.
20258 (j1_test): Likewise.
20259 (jn_test): Likewise.
20260 (ldexp_test): Likewise.
20261 (lgamma_test): Likewise.
20262 (lrint_test): Likewise.
20263 (lrint_test_tonearest): Likewise.
20264 (lrint_test_towardzero): Likewise.
20265 (lrint_test_downward): Likewise.
20266 (lrint_test_upward): Likewise.
20267 (llrint_test): Likewise.
20268 (llrint_test_tonearest): Likewise.
20269 (llrint_test_towardzero): Likewise.
20270 (llrint_test_downward): Likewise.
20271 (llrint_test_upward): Likewise.
20272 (log_test): Likewise.
20273 (log10_test): Likewise.
20274 (log1p_test): Likewise.
20275 (log2_test): Likewise.
20276 (logb_test): Likewise.
20277 (logb_test_downward): Likewise.
20278 (lround_test): Likewise.
20279 (llround_test): Likewise.
20280 (modf_test): Likewise.
20281 (nearbyint_test): Likewise.
20282 (nextafter_test): Likewise.
20283 (nexttoward_test): Likewise.
20284 (pow_test): Likewise.
20285 (pow_test_tonearest): Likewise.
20286 (pow_test_towardzero): Likewise.
20287 (pow_test_downward): Likewise.
20288 (pow_test_upward): Likewise.
20289 (remainder_test): Likewise.
20290 (remainder_test_tonearest): Likewise.
20291 (remainder_test_towardzero): Likewise.
20292 (remainder_test_downward): Likewise.
20293 (remainder_test_upward): Likewise.
20294 (remquo_test): Likewise.
20295 (rint_test): Likewise.
20296 (rint_test_tonearest): Likewise.
20297 (rint_test_towardzero): Likewise.
20298 (rint_test_downward): Likewise.
20299 (rint_test_upward): Likewise.
20300 (round_test): Likewise.
20301 (scalb_test): Likewise.
20302 (scalbn_test): Likewise.
20303 (scalbln_test): Likewise.
20304 (signbit_test): Likewise.
20305 (sin_test): Likewise.
20306 (sin_test_tonearest): Likewise.
20307 (sin_test_towardzero): Likewise.
20308 (sin_test_downward): Likewise.
20309 (sin_test_upward): Likewise.
20310 (sincos_test): Likewise.
20311 (sinh_test): Likewise.
20312 (sinh_test_tonearest): Likewise.
20313 (sinh_test_towardzero): Likewise.
20314 (sinh_test_downward): Likewise.
20315 (sinh_test_upward): Likewise.
20316 (sqrt_test): Likewise.
20317 (tan_test): Likewise.
20318 (tan_test_tonearest): Likewise.
20319 (tan_test_towardzero): Likewise.
20320 (tan_test_downward): Likewise.
20321 (tan_test_upward): Likewise.
20322 (tanh_test): Likewise.
20323 (tgamma_test): Likewise.
20324 (trunc_test): Likewise.
20325 (y0_test): Likewise.
20326 (y1_test): Likewise.
20327 (yn_test): Likewise.
20328 (significand_test): Likewise.
20329
bae143d2
OB
203302013-05-24 Ondřej Bílka <neleai@seznam.cz>
20331
20332 [BZ #15381]
20333 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20334
9323d39b
EM
203352013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20336
d4ea44a0 20337 [BZ #14894]
9323d39b
EM
20338 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20339 __ppc_mdoio and __ppc_mdoom.
20340 * manual/platform.texi: Document new functions __ppc_yield,
20341 __ppc_mdoio and __ppc_mdoom.
20342
13e23af7
CD
203432013-05-22 Carlos O'Donell <carlos@redhat.com>
20344
20345 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20346 (main): Mention "tls" pseudo-hwcap is legacy.
20347 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20348
351fe550
JM
203492013-05-22 Joseph Myers <joseph@codesourcery.com>
20350
20351 * math/gen-libm-test.pl (parse_args): Output only string of
20352 arguments as text for test name, not full call or descriptions of
20353 tests for extra outputs.
20354 (generate_testfile): Do not pass function name to parse_args.
20355 Generate this_func variable from START.
20356 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20357 field to arg_str.
20358 (struct test_ff_f_data): Likewise.
20359 (test_ff_f_data_nexttoward): Likewise.
20360 (struct test_fi_f_data): Likewise.
20361 (struct test_fl_f_data): Likewise.
20362 (struct test_if_f_data): Likewise.
20363 (struct test_fff_f_data): Likewise.
20364 (struct test_c_f_data): Likewise.
20365 (struct test_f_f1_data): Likewise. Remove field extra_name.
20366 (struct test_fF_f1_data): Likewise.
20367 (struct test_ffI_f1_data): Likewise.
20368 (struct test_c_c_data): Rename test_name field to arg_str.
20369 (struct test_cc_c_data): Likewise.
20370 (struct test_f_i_data): Likewise.
20371 (struct test_ff_i_data): Likewise.
20372 (struct test_f_l_data): Likewise.
20373 (struct test_f_L_data): Likewise.
20374 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20375 and extra2_name.
20376 (COMMON_TEST_SETUP): New macro.
20377 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20378 (COMMON_TEST_CLEANUP): Likewise.
20379 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20380 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20381 macros.
20382 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20383 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20384 macros.
20385 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20386 (RUN_TEST_fff_f): Take argument string. Call new setup and
20387 cleanup macros.
20388 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20389 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20390 macros.
20391 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20392 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20393 macros.
20394 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20395 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20396 cleanup macros.
20397 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20398 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20399 cleanup macros.
20400 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20401 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20402 cleanup macros.
20403 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20404 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20405 macros.
20406 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20407 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20408 macros.
20409 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20410 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20411 macros.
20412 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20413 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20414 cleanup macros.
20415 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20416 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20417 cleanup macros.
20418 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20419 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20420 macros.
20421 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20422 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20423 cleanup macros.
20424 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20425 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20426 macros.
20427 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20428 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20429 macros.
20430 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20431 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20432 cleanup macros.
20433 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20434
85118d4d
EBM
204352013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20436
20437 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20438 to _sifields.sigfault.
20439 (si_addr_lsb): Define new macro.
20440 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20441 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20442 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20443
7a44c18f
CD
204442013-05-03 Carlos O'Donell <carlos at redhat.com>
20445
20446 [BZ #15441]
20447 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20448 returns -1.
20449 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20450 null return -1.
20451 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20452 loading the domain.
20453
b50a7181
JM
204542013-05-22 Joseph Myers <joseph@codesourcery.com>
20455
20456 * math/gen-libm-test.pl (parse_args): Do not include expected
20457 result in test name.
20458 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20459 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20460 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20461 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20462 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20464
051063c8
SP
204652013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20466
3ce9e010
SP
20467 * benchtests/Makefile: Sort function entries.
20468
051063c8
SP
20469 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20470 tanh, asinh, acosh, atanh.
20471 * benchtests/acos-inputs: New file.
20472 * benchtests/acosh-inputs: New file.
20473 * benchtests/asin-inputs: New file.
20474 * benchtests/asinh-inputs: New file.
20475 * benchtests/atanh-inputs: New file.
20476 * benchtests/cosh-inputs: New file.
20477 * benchtests/log-inputs: New file.
20478 * benchtests/sinh-inputs: New file.
20479 * benchtests/tanh-inputs: New file.
20480
47c22455
DL
204812013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20482
20483 [BZ #15339]
20484 * posix/tst-getaddrinfo4.c: New test.
20485 * posix/Makefile (tests): Add it.
20486
3d04f5db
SP
204872013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20488
20489 [BZ #15339]
20490 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20491 when no services were used.
20492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20493 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20494
d5dd6189
AS
204952013-05-21 Andreas Schwab <schwab@suse.de>
20496
20497 [BZ #15014]
20498 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20499 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20500 successful.
20501 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20502 redundant variable declarations and reallocation of buffer when
20503 parsing as IPv6 address. Always set NSS status when called from
20504 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20505 buffer too small. Correct computation of needed size.
20506 * nss/Makefile (tests): Add test-digits-dots.
20507 * nss/test-digits-dots.c: New test.
20508
fef94eab
SP
205092013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20510
20511 * benchtests/Makefile: Remove instructions for adding
20512 benchmark tests.
20513 * benchtests/README: New file to explain how to execute and
20514 enhance the benchmark tests.
20515
e39adf43
AS
205162013-05-21 Andreas Schwab <schwab@suse.de>
20517
20518 [BZ #15493]
20519 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20520 * setjmp/tst-sigsetjmp.c: New test.
20521
b2b671b6
OB
205222013-05-20 Ondřej Bílka <neleai@seznam.cz>
20523
20524 * sysdeps/x86_64/memset.S (memset): New implementation.
20525 (__bzero): Likewise.
20526 (__memset_tail): New function.
20527
2d48b41c
OB
205282013-05-20 Ondřej Bílka <neleai@seznam.cz>
20529
20530 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20531 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20532 __memcpy_sse2_unaligned ifunc selection.
20533 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20534 Add memcpy-sse2-unaligned.S.
20535 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20536 Add: __memcpy_sse2_unaligned.
20537
f16cc3eb
JM
205382013-05-19 Joseph Myers <joseph@codesourcery.com>
20539
3e694268
JM
20540 [BZ #15490]
20541 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20542 math_force_eval before restoring floating-point envrionment.
20543 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20544 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20545 Likewise.
20546 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20547 <math_private.h>.
20548 (__nearbyintl): Use math_force_eval before restoring
20549 floating-point environment.
20550 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20551
db62a907
JM
20552 * math/gen-libm-test.pl (special_functions): Remove.
20553 (parse_args): Don't handle TEST_extra. Handle functions with no
20554 return value.
20555 * math/libm-test.inc (struct test_sincos_data): Replace with
20556 struct test_fFF_11_data.
20557 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20558 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20559 (sincos_test_data): Change element type to struct
20560 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20561 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20562 RUN_TEST_LOOP_sincos.
20563 * math/README.libm-test: Don't mention special handling of
20564 individual functions.
20565 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20566 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20567 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20568 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20569 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20571
f16cc3eb
JM
20572 * math/gen-libm-test.pl (get_variable): Remove function.
20573 (parse_args): Don't show pointer parameters to call in test
20574 names. Use "extra output N" in test names for extra outputs
20575 rather than naming variables.
20576
3779b5b6
JM
205772013-05-18 Joseph Myers <joseph@codesourcery.com>
20578
2ee094ff
JM
20579 [BZ #15488]
20580 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20581 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20582 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20583 double tests.
20584 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20585 disable.
20586 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20587 check_long_double.
20588
3779b5b6
JM
20589 * math/gen-libm-test.pl (@tests): Remove variable.
20590 ($count): Likewise.
20591 (new_test): Remove function.
20592 (show_exceptions): New function.
20593 (special_functions): Use show_exceptions instead of new_test.
20594 (parse_args): Likewise.
20595 (generate_testfile): Pass only function name in generated call to
20596 print_max_error or print_complex_max_error.
20597 (get_ulps): Do not handle complex tests specially.
20598 (output_test): Rename to ...
20599 (get_all_ulps_for_test): ... this. Return a string rather than
20600 printing to a file. Require ulps to be present.
20601 (output_ulps): Generate arrays rather than #defines.
20602 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20603 (struct ulp_data): New type.
20604 (BUILD_COMPLEX_ULP): Remove macro.
20605 (compare_ulp_data): New function.
20606 (find_ulps): Likewise.
20607 (find_test_ulps): Likewise.
20608 (find_function_ulps): Likewise.
20609 (find_complex_function_ulps): Likewise.
20610 (print_max_error): Determine allowed ulps using
20611 find_function_ulps.
20612 (print_complex_max_error): Determine allowed ulps using
20613 find_complex_function_ulps.
20614 (check_float_internal): Determine max ulps using find_test_ulps.
20615 (check_float): Do not take max_ulp parameter. Update call to
20616 check_float_internal.
20617 (check_complex): Likewise.
20618 (check_int): Do not take max_ulp parameter.
20619 (check_long): Likewise.
20620 (check_bool): Likewise.
20621 (check_longlong): Likewise.
20622 (struct test_f_f_data): Remove max_ulp field.
20623 (struct test_ff_f_data): Likewise.
20624 (struct test_ff_f_data_nexttoward): Likewise.
20625 (struct test_fi_f_data): Likewise.
20626 (struct test_fl_f_data): Likewise.
20627 (struct test_if_f_data): Likewise.
20628 (struct test_fff_f_data): Likewise.
20629 (struct test_c_f_data): Likewise.
20630 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20631 (struct test_fF_f1_data): Likewise.
20632 (struct test_ffI_f1_data): Likewise.
20633 (struct test_c_c_data): Remove max_ulp field.
20634 (struct test_cc_c_data): Likewise.
20635 (struct test_f_i_data): Likewise.
20636 (struct test_ff_i_data): Likewise.
20637 (struct test_f_l_data): Likewise.
20638 (struct test_f_L_data): Likewise.
20639 (struct test_sincos_data): Likewise.
20640 (RUN_TEST_f_f): Do not handle ulps.
20641 (RUN_TEST_LOOP_f_f): Likewise.
20642 (RUN_TEST_2_f): Likewise.
20643 (RUN_TEST_LOOP_2_f): Likewise.
20644 (RUN_TEST_fff_f): Likewise.
20645 (RUN_TEST_LOOP_fff_f): Likewise.
20646 (RUN_TEST_c_f): Likewise.
20647 (RUN_TEST_LOOP_c_f): Likewise.
20648 (RUN_TEST_f_f1): Likewise.
20649 (RUN_TEST_LOOP_f_f1): Likewise.
20650 (RUN_TEST_fF_f1): Likewise.
20651 (RUN_TEST_LOOP_fF_f1): Likewise.
20652 (RUN_TEST_fI_f1): Likewise.
20653 (RUN_TEST_LOOP_fI_f1): Likewise.
20654 (RUN_TEST_ffI_f1): Likewise.
20655 (RUN_TEST_LOOP_ffI_f1): Likewise.
20656 (RUN_TEST_c_c): Likewise.
20657 (RUN_TEST_LOOP_c_c): Likewise.
20658 (RUN_TEST_cc_c): Likewise.
20659 (RUN_TEST_LOOP_cc_c): Likewise.
20660 (RUN_TEST_f_i): Likewise.
20661 (RUN_TEST_LOOP_f_i): Likewise.
20662 (RUN_TEST_f_i_tg): Likewise.
20663 (RUN_TEST_LOOP_f_i_tg): Likewise.
20664 (RUN_TEST_ff_i_tg): Likewise.
20665 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20666 (RUN_TEST_f_b): Likewise.
20667 (RUN_TEST_LOOP_f_b): Likewise.
20668 (RUN_TEST_f_b_tg): Likewise.
20669 (RUN_TEST_LOOP_f_b_tg): Likewise.
20670 (RUN_TEST_f_l): Likewise.
20671 (RUN_TEST_LOOP_f_l): Likewise.
20672 (RUN_TEST_f_L): Likewise.
20673 (RUN_TEST_LOOP_f_L): Likewise.
20674 (RUN_TEST_sincos): Likewise.
20675 (RUN_TEST_LOOP_sincos): Likewise.
20676
8269107f
JM
206772013-05-17 Joseph Myers <joseph@codesourcery.com>
20678
bb38759d
JM
20679 [BZ #15480]
20680 [BZ #15485]
20681 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20682 main case of finite arguments, set rounding mode to FE_TONEAREST
20683 and discard exceptions.
20684 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20685 exceptions.
20686 (remainder_tonearest_test_data): New variable.
20687 (remainder_test_tonearest): New function.
20688 (remainder_towardzero_test_data): New variable.
20689 (remainder_test_towardzero): New function.
20690 (remainder_downward_test_data): New variable.
20691 (remainder_test_downward): New function.
20692 (remainder_upward_test_data): New variable.
20693 (remainder_test_upward): New function.
20694 (main): Call the new test functions.
20695
a00bdcf0
JM
20696 * math/libm-test.inc (struct test_f_f1_data): Remove field
20697 extra_init.
20698 (struct test_fF_f1_data): Likewise.
20699 (struct test_ffI_f1_data): Likewise.
20700 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20701 based on value of EXTRA_EXPECTED.
20702 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20703 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20704 EXTRA_VAR based on value of EXTRA_EXPECTED.
20705 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20706 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20707 EXTRA_VAR based on value of EXTRA_EXPECTED.
20708 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20709 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20710 EXTRA_VAR based on value of EXTRA_EXPECTED.
20711 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20712 * math/gen-libm-test.pl (parse_args): Don't output initializers
20713 for extra output values.
20714
de407f79
JM
20715 * math/libm-test.inc (check_int): Expect result to be exactly
20716 equal to expected value and do not handle ulps.
20717 (check_long): Likewise.
20718 (check_longlong): Likewise.
20719
8269107f
JM
20720 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20721 exceptions.
20722 (cimag_test_data): Likewise.
20723 (conj_test_data): Likewise.
20724 (copysign_test_data): Likewise.
20725 (cproj_test_data): Likewise.
20726 (creal_test_data): Likewise.
20727 (fabs_test_data): Likewise.
20728 (fdim_test_data): Likewise.
20729 (finite_test_data): Likewise.
20730 (floor_test_data): Likewise.
20731 (fmax_test_data): Likewise.
20732 (fmin_test_data): Likewise.
20733 (fmod_test_data): Likewise.
20734 (fpclassify_test_data): Likewise.
20735 (frexp_test_data): Likewise.
20736 (ilogb_test_data): Likewise.
20737 (isfinite_test_data): Likewise.
20738 (isgreater_test_data): Likewise.
20739 (isgreaterequal_test_data): Likewise.
20740 (isinf_test_data): Likewise.
20741 (isless_test_data): Likewise.
20742 (islessequal_test_data): Likewise.
20743 (islessgreater_test_data): Likewise.
20744 (isnan_test_data): Likewise.
20745 (isnormal_test_data): Likewise.
20746 (issignaling_test_data): Likewise.
20747 (isunordered_test_data): Likewise.
20748 (ldexp_test_data): Likewise.
20749 (lrint_test_data): Likewise.
20750 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20751 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20752 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20753 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20754 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20755 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20756 test input.
20757 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20758 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20759 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20760 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20761 that test input.
20762 (lrint_downward_test_data): Test for "inexact" exceptions.
20763 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20764 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20765 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20766 test input.
20767 (lrint_upward_test_data): Test for "inexact" exceptions.
20768 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20769 test input.
20770 (llrint_test_data): Test for "inexact" exceptions.
20771 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20772 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20773 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20774 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20775 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20776 (llrint_downward_test_data): Test for "inexact" exceptions.
20777 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20778 (llrint_upward_test_data): Test for "inexact" exceptions.
20779 (logb_test_data): Likewise.
20780 (logb_downward_test_data): Likewise.
20781 (nextafter_test_data): Likewise.
20782 (nexttoward_test_data): Likewise.
20783 (remainder_test_data): Likewise.
20784 (remquo_test_data): Likewise.
20785 (scalbn_test_data): Likewise.
20786 (scalbln_test_data): Likewise.
20787 (signbit_test_data): Likewise.
20788 (sqrt_test_data): Likewise.
20789 (significand_test_data): Likewise.
20790
48a18de1
SP
207912013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20792
20793 [BZ #15424]
20794 * benchtests/bench-modf.c (struct args): Mark arg0 as
20795 volatile.
20796 * scripts/bench.pl: Mark members of struct args as volatile.
20797
13d3b41a
AZ
207982013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20799
68191c1d 20800 [BZ # 15497]
13d3b41a
AZ
20801 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20802 negative infinity on POWER6 or lower.
20803 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20804
2848b105
MR
208052013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20806
20807 [BZ #15442]
20808 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20809 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20810 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20811 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20812 (_FP_SETQNAN): New macro.
20813 (_FP_SETQNAN_SEMIRAW): Likewise.
20814 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20815 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20816 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20817 (FP_EXTEND): Use _FP_FRAC_SNANP.
20818 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20819 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20820 into account.
20821 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20822 New macro.
20823 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20824 Likewise.
20825
323e5cb7
JM
208262013-05-16 Joseph Myers <joseph@codesourcery.com>
20827
c58b274f
JM
20828 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20829 with DIVIDE_BY_ZERO_EXCEPTION.
20830 (gamma_test_data): Likewise.
20831 (lgamma_test_data): Likewise.
20832 (log_test_data): Likewise.
20833 (log10_test_data): Likewise.
20834 (log2_test_data): Likewise.
20835 (tgamma_test_data): Likewise.
20836
0ab34904
JM
20837 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20838 (acos_test_tonearest): Likewise.
20839 (acos_test_towardzero): Likewise.
20840 (acos_test_downward): Likewise.
20841 (acos_test_upward): Likewise.
20842 (acosh_test): Likewise.
20843 (asin_test): Likewise.
20844 (asin_test_tonearest): Likewise.
20845 (asin_test_towardzero): Likewise.
20846 (asin_test_downward): Likewise.
20847 (asin_test_upward): Likewise.
20848 (asinh_test): Likewise.
20849 (atan_test): Likewise.
20850 (atanh_test): Likewise.
20851 (atan2_test): Likewise.
20852 (cabs_test): Likewise.
20853 (cacos_test): Likewise.
20854 (cacosh_test): Likewise.
20855 (casin_test): Likewise.
20856 (casinh_test): Likewise.
20857 (catan_test): Likewise.
20858 (catanh_test): Likewise.
20859 (cbrt_test): Likewise.
20860 (ccos_test): Likewise.
20861 (ccosh_test): Likewise.
20862 (cexp_test): Likewise.
20863 (clog_test): Likewise.
20864 (clog10_test): Likewise.
20865 (cos_test): Likewise.
20866 (cos_test_tonearest): Likewise.
20867 (cos_test_towardzero): Likewise.
20868 (cos_test_downward): Likewise.
20869 (cos_test_upward): Likewise.
20870 (cosh_test): Likewise.
20871 (cosh_test_tonearest): Likewise.
20872 (cosh_test_towardzero): Likewise.
20873 (cosh_test_downward): Likewise.
20874 (cosh_test_upward): Likewise.
20875 (cpow_test): Likewise.
20876 (csin_test): Likewise.
20877 (csinh_test): Likewise.
20878 (csqrt_test): Likewise.
20879 (ctan_test): Likewise.
20880 (ctan_test_tonearest): Likewise.
20881 (ctan_test_towardzero): Likewise.
20882 (ctan_test_downward): Likewise.
20883 (ctan_test_upward): Likewise.
20884 (ctanh_test): Likewise.
20885 (ctanh_test_tonearest): Likewise.
20886 (ctanh_test_towardzero): Likewise.
20887 (ctanh_test_downward): Likewise.
20888 (ctanh_test_upward): Likewise.
20889 (erf_test): Likewise.
20890 (erfc_test): Likewise.
20891 (exp_test): Likewise.
20892 (exp_test_tonearest): Likewise.
20893 (exp_test_towardzero): Likewise.
20894 (exp_test_downward): Likewise.
20895 (exp_test_upward): Likewise.
20896 (exp10_test): Likewise.
20897 (exp2_test): Likewise.
20898 (expm1_test): Likewise.
20899 (fmod_test): Likewise.
20900 (gamma_test): Likewise.
20901 (hypot_test): Likewise.
20902 (j0_test): Likewise.
20903 (j1_test): Likewise.
20904 (jn_test): Likewise.
20905 (lgamma_test): Likewise.
20906 (log_test): Likewise.
20907 (log10_test): Likewise.
20908 (log1p_test): Likewise.
20909 (log2_test): Likewise.
20910 (logb_test_downward): Likewise.
20911 (pow_test): Likewise.
20912 (pow_test_tonearest): Likewise.
20913 (pow_test_towardzero): Likewise.
20914 (pow_test_downward): Likewise.
20915 (pow_test_upward): Likewise.
20916 (remainder_test): Likewise.
20917 (remquo_test): Likewise.
20918 (sin_test): Likewise.
20919 (sin_test_tonearest): Likewise.
20920 (sin_test_towardzero): Likewise.
20921 (sin_test_downward): Likewise.
20922 (sin_test_upward): Likewise.
20923 (sincos_test): Likewise.
20924 (sinh_test): Likewise.
20925 (sinh_test_tonearest): Likewise.
20926 (sinh_test_towardzero): Likewise.
20927 (sinh_test_downward): Likewise.
20928 (sinh_test_upward): Likewise.
20929 (sqrt_test): Likewise.
20930 (tan_test): Likewise.
20931 (tan_test_tonearest): Likewise.
20932 (tan_test_towardzero): Likewise.
20933 (tan_test_downward): Likewise.
20934 (tan_test_upward): Likewise.
20935 (tanh_test): Likewise.
20936 (tgamma_test): Likewise.
20937 (y0_test): Likewise.
20938 (y1_test): Likewise.
20939 (yn_test): Likewise.
20940
323e5cb7
JM
20941 * math/gen-libm-test.pl (adjust_arg): Remove function.
20942 (special_function): Remove argument $in_func. Only handle
20943 generating output for tables of tests, not inside functions.
20944 (parse_args): Likewise.
20945 (generate_testfile): Remove variable $in_func. Update call to
20946 parse_args.
20947 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20948 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20949 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20950 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20951 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20952 (MAX_VALUE_INIT): Rename macro to max_value.
20953 (MIN_VALUE_INIT): Rename macro to min_value.
20954 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20955 (plus_zero): Remove variable.
20956 (minus_zero): Likewise.
20957 (plus_infty): Likewise.
20958 (minus_infty): Likewise.
20959 (qnan_value): Likewise.
20960 (max_value): Likewise.
20961 (min_value): Likewise.
20962 (min_subnorm_value): Likewise.
20963
e054f494
RA
209642013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20965
20966 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20967 uint64_t or uint32_t usage.
20968 * crypt/sha256-block.c: Likewise.
20969 * crypt/sha256-crypt.c: Likewise.
20970 * crypt/sha256.c: Likewise.
20971 * crypt/sha512-block.c: Likewise.
20972 * crypt/sha512-crypt.c: Likewise.
20973 * crypt/sha512.c: Likewise.
20974 * debug/backtrace-tst.c: Likewise.
20975 * debug/pcprofiledump.c: Likewise.
20976 * elf/cache.c: Likewise.
20977 * elf/dl-cache.c: Likewise.
20978 * elf/dl-misc.c: Likewise.
20979 * elf/dl-profile.c: Likewise.
20980 * elf/dl-support.c: Likewise.
20981 * elf/ldconfig.c: Likewise.
20982 * elf/sprof.c: Likewise.
20983 * iconv/dummy-repertoire.c: Likewise.
20984 * iconv/iconv_charmap.c: Likewise.
20985 * iconv/skeleton.c: Likewise.
20986 * iconvdata/8bit-generic.c: Likewise.
20987 * iconvdata/cp737.h: Likewise.
20988 * iconvdata/cp775.h: Likewise.
20989 * iconvdata/ibm1008.h: Likewise.
20990 * iconvdata/ibm1025.h: Likewise.
20991 * iconvdata/ibm1046.h: Likewise.
20992 * iconvdata/ibm1097.h: Likewise.
20993 * iconvdata/ibm1112.h: Likewise.
20994 * iconvdata/ibm1122.h: Likewise.
20995 * iconvdata/ibm1123.h: Likewise.
20996 * iconvdata/ibm1124.h: Likewise.
20997 * iconvdata/ibm1129.h: Likewise.
20998 * iconvdata/ibm1130.h: Likewise.
20999 * iconvdata/ibm1132.h: Likewise.
21000 * iconvdata/ibm1133.h: Likewise.
21001 * iconvdata/ibm1137.h: Likewise.
21002 * iconvdata/ibm1140.h: Likewise.
21003 * iconvdata/ibm1141.h: Likewise.
21004 * iconvdata/ibm1142.h: Likewise.
21005 * iconvdata/ibm1143.h: Likewise.
21006 * iconvdata/ibm1144.h: Likewise.
21007 * iconvdata/ibm1145.h: Likewise.
21008 * iconvdata/ibm1146.h: Likewise.
21009 * iconvdata/ibm1147.h: Likewise.
21010 * iconvdata/ibm1148.h: Likewise.
21011 * iconvdata/ibm1149.h: Likewise.
21012 * iconvdata/ibm1153.h: Likewise.
21013 * iconvdata/ibm1154.h: Likewise.
21014 * iconvdata/ibm1155.h: Likewise.
21015 * iconvdata/ibm1156.h: Likewise.
21016 * iconvdata/ibm1157.h: Likewise.
21017 * iconvdata/ibm1158.h: Likewise.
21018 * iconvdata/ibm1160.h: Likewise.
21019 * iconvdata/ibm1161.h: Likewise.
21020 * iconvdata/ibm1162.h: Likewise.
21021 * iconvdata/ibm1163.h: Likewise.
21022 * iconvdata/ibm1164.h: Likewise.
21023 * iconvdata/ibm1166.h: Likewise.
21024 * iconvdata/ibm1167.h: Likewise.
21025 * iconvdata/ibm12712.h: Likewise.
21026 * iconvdata/ibm1390.h: Likewise.
21027 * iconvdata/ibm1399.h: Likewise.
21028 * iconvdata/ibm16804.h: Likewise.
21029 * iconvdata/ibm4517.h: Likewise.
21030 * iconvdata/ibm4899.h: Likewise.
21031 * iconvdata/ibm4909.h: Likewise.
21032 * iconvdata/ibm4971.h: Likewise.
21033 * iconvdata/ibm5347.h: Likewise.
21034 * iconvdata/ibm803.h: Likewise.
21035 * iconvdata/ibm856.h: Likewise.
21036 * iconvdata/ibm901.h: Likewise.
21037 * iconvdata/ibm902.h: Likewise.
21038 * iconvdata/ibm9030.h: Likewise.
21039 * iconvdata/ibm9066.h: Likewise.
21040 * iconvdata/ibm921.h: Likewise.
21041 * iconvdata/ibm922.h: Likewise.
21042 * iconvdata/ibm9448.h: Likewise.
21043 * iconvdata/isiri-3342.h: Likewise.
21044 * iconvdata/jis0201.h: Likewise.
21045 * include/link.h: Likewise.
21046 * include/netdb.h: Likewise.
21047 * inet/check_native.c: Likewise.
21048 * inet/check_pf.c: Likewise.
21049 * inet/getipv4sourcefilter.c: Likewise.
21050 * inet/getnameinfo.c: Likewise.
21051 * inet/getsourcefilter.c: Likewise.
21052 * inet/htonl.c: Likewise.
21053 * inet/setipv4sourcefilter.c: Likewise.
21054 * inet/setsourcefilter.c: Likewise.
21055 * inet/test-inet6_opt.c: Likewise.
21056 * inet/tst-network.c: Likewise.
21057 * locale/C-collate.c: Likewise.
21058 * locale/C-ctype.c: Likewise.
21059 * locale/C-time.c: Likewise.
21060 * locale/C-translit.h: Likewise.
21061 * locale/loadarchive.c: Likewise.
21062 * locale/programs/3level.h: Likewise.
21063 * locale/programs/charmap.c: Likewise.
21064 * locale/programs/charmap.h: Likewise.
21065 * locale/programs/ld-address.c: Likewise.
21066 * locale/programs/ld-collate.c: Likewise.
21067 * locale/programs/ld-ctype.c: Likewise.
21068 * locale/programs/ld-identification.c: Likewise.
21069 * locale/programs/ld-measurement.c: Likewise.
21070 * locale/programs/ld-messages.c: Likewise.
21071 * locale/programs/ld-monetary.c: Likewise.
21072 * locale/programs/ld-name.c: Likewise.
21073 * locale/programs/ld-numeric.c: Likewise.
21074 * locale/programs/ld-paper.c: Likewise.
21075 * locale/programs/ld-telephone.c: Likewise.
21076 * locale/programs/ld-time.c: Likewise.
21077 * locale/programs/linereader.c: Likewise.
21078 * locale/programs/locale.c: Likewise.
21079 * locale/programs/locarchive.c: Likewise.
21080 * locale/programs/locfile.h: Likewise.
21081 * locale/programs/repertoire.c: Likewise.
21082 * locale/programs/simple-hash.c: Likewise.
21083 * locale/programs/simple-hash.h: Likewise.
21084 * malloc/memusage.c: Likewise.
21085 * malloc/memusagestat.c: Likewise.
21086 * nis/nis_defaults.c: Likewise.
21087 * nis/nis_hash.c: Likewise.
21088 * nis/nis_print.c: Likewise.
21089 * nis/nis_xdr.c: Likewise.
21090 * nscd/connections.c: Likewise.
21091 * nscd/hstcache.c: Likewise.
21092 * nscd/nscd_gethst_r.c: Likewise.
21093 * nscd/nscd_getserv_r.c: Likewise.
21094 * nscd/nscd_helper.c: Likewise.
21095 * nscd/servicescache.c: Likewise.
21096 * nss/makedb.c: Likewise.
21097 * nss/nss_db/db-XXX.c: Likewise.
21098 * nss/nss_db/db-initgroups.c: Likewise.
21099 * nss/nss_db/db-netgrp.c: Likewise.
21100 * nss/nss_files/files-network.c: Likewise.
21101 * nss/nss_files/files-parse.c: Likewise.
21102 * posix/bug-regex5.c: Likewise.
21103 * posix/fnmatch_loop.c: Likewise.
21104 * posix/regcomp.c: Likewise.
21105 * posix/regexec.c: Likewise.
21106 * posix/tst-rfc3484-2.c: Likewise.
21107 * posix/tst-rfc3484-3.c: Likewise.
21108 * posix/tst-rfc3484.c: Likewise.
21109 * resolv/nss_dns/dns-canon.c: Likewise.
21110 * resolv/nss_dns/dns-network.c: Likewise.
21111 * resolv/res_init.c: Likewise.
21112 * resolv/res_mkquery.c: Likewise.
21113 * resolv/tst-aton.c: Likewise.
21114 * stdlib/cxa_atexit.c: Likewise.
21115 * stdlib/cxa_finalize.c: Likewise.
21116 * stdlib/gen-fpioconst.c: Likewise.
21117 * stdlib/strtol_l.c: Likewise.
21118 * string/tst-endian.c: Likewise.
21119 * sunrpc/auth_des.c: Likewise.
21120 * sunrpc/clnt_udp.c: Likewise.
21121 * sunrpc/rtime.c: Likewise.
21122 * sunrpc/svcauth_des.c: Likewise.
21123 * sunrpc/xdr.c: Likewise.
21124 * sunrpc/xdr_intXX_t.c: Likewise.
21125 * sunrpc/xdr_rec.c: Likewise.
21126 * sysdeps/generic/ldconfig.h: Likewise.
21127 * sysdeps/generic/ldsodefs.h: Likewise.
21128 * sysdeps/generic/memusage.h: Likewise.
21129 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21130 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21131 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21132 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21133 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21134 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21135 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21136 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21137 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21138 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21139 * sysdeps/posix/getaddrinfo.c: Likewise.
21140 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21141 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21142 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21143 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21144 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21145 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21146 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21147 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21148 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21149 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21150 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21151 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21152 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21153 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21154 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21155 * sysdeps/x86_64/dl-tls.h: Likewise.
21156 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21157 * time/alt_digit.c: Likewise.
21158 * time/era.c: Likewise.
21159 * wcsmbs/tst-c16c32-1.c: Likewise.
21160
8c75f674
JM
211612013-05-16 Joseph Myers <joseph@codesourcery.com>
21162
21163 * math/libm-test.inc (struct test_sincos_data): New type.
21164 (RUN_TEST_LOOP_sincos): New macro.
21165 (sincos_test_data): New variable.
21166 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21167
e6e49e59
RH
211682013-05-16 Richard Henderson <rth@redhat.com>
21169
21170 * math/atest-exp2.c (LIMB64): New macro.
21171 (CONSTSZ): New macro.
21172 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21173 (hexdig): Move ...
21174 (print_mpn_fp): ... to function scope.
21175 (read_mpn_hex): Remove.
21176 (get_log2): Remove.
21177 (exp2_mpn): Use mp_log2.
21178 (main): Use mp_exp1.
21179
15c7c18d
JM
211802013-05-16 Joseph Myers <joseph@codesourcery.com>
21181
105a07df
JM
21182 * math/libm-test.inc: Remove comment about not testing "inexact"
21183 exceptions.
21184 (INEXACT_EXCEPTION): New macro.
21185 (NO_INEXACT_EXCEPTION): Likewise.
21186 (INVALID_EXCEPTION_OK): Update value.
21187 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21188 (OVERFLOW_EXCEPTION_OK): Likewise.
21189 (UNDERFLOW_EXCEPTION_OK): Likewise.
21190 (IGNORE_ZERO_INF_SIGN): Likewise.
21191 (ERRNO_UNCHANGED): Likewise.
21192 (ERRNO_EDOM): Likewise.
21193 (ERRNO_ERANGE): Likewise.
21194 (test_exceptions): Handle testing "inexact" exceptions.
21195 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21196 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21197 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21198 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21199 INEXACT_EXCEPTION.
21200 (rint_towardzero_test_data): Likewise.
21201 (rint_downward_test_data): Likewise.
21202 (rint_upward_test_data): Likewise.
21203
e9eee333
JM
21204 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21205 with OVERFLOW_EXCEPTION.
21206 (exp10_test_data): Likewise.
21207 (exp2_test_data): Likewise.
21208 (expm1_test_data): Likewise.
21209 (lgamma_test_data): Likewise.
21210 (pow_test_data): Likewise.
21211 (tgamma_test_data): Likewise.
21212 (yn_test_data): Remove duplicate test of overflow.
21213
1c38ff73
JM
21214 * math/libm-test.inc (struct test_cc_c_data): New type.
21215 (RUN_TEST_LOOP_cc_c): New macro.
21216 (cpow_test_data): New variable.
21217 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21218
15c7c18d
JM
21219 * math/libm-test.inc (struct test_f_L_data): New type.
21220 (RUN_TEST_LOOP_f_L): New macro.
21221 (llrint_test_data): New variable.
21222 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21223 (llrint_tonearest_test_data): New variable.
21224 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21225 (llrint_towardzero_test_data): New variable.
21226 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21227 (llrint_downward_test_data): New variable.
21228 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21229 (llrint_upward_test_data): New variable.
21230 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21231 (llround_test_data): New variable.
21232 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21233
f137ff13
PC
212342013-05-13 Peter Collingbourne <pcc@google.com>
21235
21236 * math/atest-exp2.c (get_log2): Remove const attribute.
21237
3608cb24
JM
212382013-05-15 Joseph Myers <joseph@codesourcery.com>
21239
21240 * math/libm-test.inc (struct test_f_l_data): New type.
21241 (RUN_TEST_LOOP_f_l): New macro.
21242 (lrint_test_data): New variable.
21243 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21244 (lrint_tonearest_test_data): New variable.
21245 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21246 (lrint_towardzero_test_data): New variable.
21247 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21248 (lrint_downward_test_data): New variable.
21249 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21250 (lrint_upward_test_data): New variable.
21251 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21252 (lround_test_data): New variable.
21253 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21254
39b1f617
PC
212552013-05-15 Peter Collingbourne <pcc@google.com>
21256
1deff3dc
PC
21257 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21258 (EXTRACT_WORDS64) Use where appropriate.
21259 (INSERT_WORDS64) Likewise.
21260
791f3ba0
PC
21261 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21262 constraints with x constraints.
21263 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21264
39b1f617
PC
21265 * malloc/obstack.c (_obstack_compat): Add initializer.
21266
12fba011
EM
212672013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21268
21269 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21270 si_trapno and add si_addr_lsb to _sifields.sigfault.
21271 (si_trapno): Remove macro.
21272 (si_addr_lsb): Define new macro.
21273 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21274
d369f531
JM
212752013-05-15 Joseph Myers <joseph@codesourcery.com>
21276
b861c6c4
JM
21277 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21278 instead of TEST_f_l.
21279 (llrint_test_tonearest): Likewise.
21280 (llrint_test_towardzero): Likewise.
21281 (llrint_test_downward): Likewise.
21282 (llrint_test_upward): Likewise.
21283 (llround_test): Likewise.
21284
7abeee12
JM
21285 * math/libm-test.inc (struct test_f_i_data): Add comment.
21286 (RUN_TEST_LOOP_f_b): New macro.
21287 (RUN_TEST_LOOP_f_b_tg): Likewise.
21288 (finite_test_data): New variable.
21289 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21290 (isfinite_test_data): New variable.
21291 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21292 (isinf_test_data): New variable.
21293 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21294 (isnan_test_data): New variable.
21295 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21296 (isnormal_test_data): New variable.
21297 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21298 (issignaling_test_data): New variable.
21299 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21300 (signbit_test_data): New variable.
21301 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21302
cbe8c4d3
JM
21303 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21304 with INVALID_EXCEPTION.
21305 (acosh_test_data): Likewise.
21306 (asin_test_data): Likewise.
21307 (atanh_test_data): Likewise.
21308 (fmod_test_data): Likewise.
21309 (log_test_data): Likewise.
21310 (log10_test_data): Likewise.
21311 (log2_test_data): Likewise.
21312 (pow_test_data): Likewise.
21313 (sqrt_test_data): Likewise.
21314 (y0_test_data): Likewise.
21315 (y1_test_data): Likewise.
21316 (yn_test_data): Likewise.
21317
5575c0e5
JM
21318 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21319 function contents.
21320
d369f531
JM
21321 * math/libm-test.inc (struct test_ff_i_data): New type.
21322 (RUN_TEST_LOOP_ff_i_tg): New macro.
21323 (isgreater_test_data): New variable.
21324 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21325 (isgreaterequal_test_data): New variable.
21326 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21327 (isless_test_data): New variable.
21328 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21329 (islessequal_test_data): New variable.
21330 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21331 (islessgreater_test_data): New variable.
21332 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21333 (isunordered_test_data): New variable.
21334 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21335
781fd748
DM
213362013-05-14 David S. Miller <davem@davemloft.net>
21337
21338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21339
87aa21df
JM
213402013-05-14 Joseph Myers <joseph@codesourcery.com>
21341
5e908270
JM
21342 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21343
f71172e5
JM
21344 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21345 extra_test to int.
21346 (struct test_f_i_data): Change type of max_ulp to int.
21347
8cfa635a
JM
21348 * math/libm-test.inc (test_ffI_f1_data): New type.
21349 (RUN_TEST_LOOP_ffI_f1): New macro.
21350 (remquo_test_data): New variable.
21351 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21352
2bcb36b2
JM
21353 * setjmp/tst-setjmp-fp.c: New file.
21354 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21355 (link-libm): New variable.
21356 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21357
acbd839a
JM
21358 * math/libm-test.inc (struct test_f_i_data): New type.
21359 (RUN_TEST_LOOP_f_i): New macro.
21360 (RUN_TEST_LOOP_f_i_tg): Likewise.
21361 (fpclassify_test_data): New variable.
21362 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21363 (ilogb_test_data): New variable.
21364 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21365
e414d745
JM
21366 * math/libm-test.inc (scalbln_test): Correct function name in END
21367 call.
21368
d9c2a0fd
JM
21369 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21370 (RUN_TEST_LOOP_fI_f1): New macro.
21371 (frexp_test_data): New variable.
21372 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21373
9dc9095d
JM
21374 * math/libm-test.inc (struct test_fF_f1_data): New type.
21375 (RUN_TEST_LOOP_fF_f1): New macro.
21376 (modf_test_data): New variable.
21377 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21378
87aa21df
JM
21379 * math/libm-test.inc (struct test_f_f1_data): New type.
21380 (RUN_TEST_LOOP_f_f1): New macro.
21381 (gamma_test_data): New variable.
21382 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21383 (lgamma_test_data): New variable.
21384 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21385
141af660
CD
213862013-05-13 Carlos O'Donell <carlos@redhat.com>
21387
21388 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21389 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21390 (main): Comment "tls" pseudo-hwcap.
21391
6d33265c
JM
213922013-05-13 Joseph Myers <joseph@codesourcery.com>
21393
68fc074c
JM
21394 * math/libm-test.inc (struct test_fl_f_data): New type.
21395 (RUN_TEST_LOOP_fl_f): New variable.
21396 (scalbln_test_data): New variable.
21397 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21398
243216e1
JM
21399 * math/libm-test.inc (struct test_fi_f_data): New type.
21400 (RUN_TEST_LOOP_fi_f): New macro.
21401 (ldexp_test_data): New variable.
21402 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21403 (scalbn_test_data): New variable.
21404 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21405
6a1992e2
JM
21406 * math/libm-test.inc (struct test_c_f_data): New type.
21407 (RUN_TEST_LOOP_c_f): New macro.
21408 (cabs_test_data): New variable.
21409 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21410 (carg_test_data): New variable.
21411 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21412 (cimag_test_data): New variable.
21413 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21414 (creal_test_data): New variable.
21415 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21416
0e400df5
JM
21417 * math/libm-test.inc (struct test_if_f_data): New type.
21418 (RUN_TEST_LOOP_if_f): New macro.
21419 (jn_test_data): New variable.
21420 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21421 (yn_test_data): New variable.
21422 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21423
6d33265c
JM
21424 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21425
f98ece5f
AZ
214262013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21427
21428 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21429 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21430
0f7d347b
SP
214312013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21432
43fe811b
SP
21433 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21434 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21435 (bench-deps): Add bench-timing.h.
21436 * benchtests-bench-skeleton.c: Include bench-timing.h.
21437 (main): Use TIMING_* macros instead of clock_gettime.
21438 * benchtests/bench-timing.h: New file.
21439
0f7d347b
SP
21440 [BZ #14582]
21441 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21442 Renamed from _LIB_VERSION.
21443 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21444
601a3a5f
JM
214452013-05-12 Joseph Myers <joseph@codesourcery.com>
21446
4f184d30
JM
21447 * math/libm-test.inc (struct test_fff_f_data): New type.
21448 (RUN_TEST_LOOP_fff_f): New macro.
21449 (fma_test_data): New variable.
21450 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21451 (fma_towardzero_test_data): New variable.
21452 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21453 (fma_downward_test_data): New variable.
21454 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21455 (fma_upward_test_data): New variable.
21456 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21457
08198877
JM
21458 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21459 (struct test_c_c_data): New type.
21460 (RUN_TEST_LOOP_c_c): New macro.
21461 (cacos_test_data): New variable.
21462 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21463 (cacosh_test_data): New variable.
21464 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21465 (casin_test_data): New variable.
21466 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21467 (casinh_test_data): New variable.
21468 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21469 (catan_test_data): New variable.
21470 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21471 (catanh_test_data): New variable.
21472 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21473 (ccos_test_data): New variable.
21474 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21475 (ccosh_test_data): New variable.
21476 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21477 (cexp_test_data): New variable.
21478 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21479 (clog_test_data): New variable.
21480 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21481 (clog10_test_data): New variable.
21482 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21483 (conj_test_data): New variable.
21484 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21485 (cproj_test_data): New variable.
21486 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21487 (csin_test_data): New variable.
21488 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21489 (csinh_test_data): New variable.
21490 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21491 (csqrt_test_data): New variable.
21492 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21493 (ctan_test_data): New variable.
21494 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21495 (ctan_tonearest_test_data): New variable.
21496 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21497 (ctan_towardzero_test_data): New variable.
21498 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21499 (ctan_downward_test_data): New variable.
21500 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21501 (ctan_upward_test_data): New variable.
21502 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21503 (ctanh_test_data): New variable.
21504 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21505 (ctanh_tonearest_test_data): New variable.
21506 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21507 (ctanh_towardzero_test_data): New variable.
21508 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21509 (ctanh_downward_test_data): New variable.
21510 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21511 (ctanh_upward_test_data): New variable.
21512 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21513 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21514 of BUILD_COMPLEX.
21515
601a3a5f
JM
21516 * math/libm-test.inc (struct test_ff_f_data): New type.
21517 (struct test_ff_f_data_nexttoward): Likewise.
21518 (RUN_TEST_LOOP_2_f): New macro.
21519 (RUN_TEST_LOOP_ff_f): Likewise.
21520 (atan2_test_data): New variable.
21521 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21522 (copysign_test_data): New variable.
21523 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21524 (fdim_test_data): New variable.
21525 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21526 (fmax_test_data): New variable.
21527 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21528 (fmin_test_data): New variable.
21529 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21530 (fmod_test_data): New variable.
21531 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21532 (hypot_test_data): New variable.
21533 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21534 (nextafter_test_data): New variable.
21535 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21536 (nexttoward_test_data): New variable.
21537 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21538 (pow_test_data): New variable.
21539 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21540 (pow_tonearest_test_data): New variable.
21541 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21542 (pow_towardzero_test_data): New variable.
21543 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21544 (pow_downward_test_data): New variable.
21545 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21546 (pow_upward_test_data): New variable.
21547 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21548 (remainder_test_data): New variable.
21549 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21550 (scalb_test_data): New variable.
21551 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21552 * sysdeps/i386/fpu/libm-test-ulps: Update.
21553
74c57478
JM
215542013-05-11 Joseph Myers <joseph@codesourcery.com>
21555
8329e4da
JM
21556 * math/libm-test.inc (fma_test): Use max_value instead of local
21557 variable fltmax.
21558 (nextafter_test): Likewise.
21559
74c57478
JM
21560 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21561 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21562 (acos_downward_test_data): New variable.
21563 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21564 (acos_upward_test_data): New variable.
21565 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21566 (acosh_test_data): New variable.
21567 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21568 (asin_test_data): New variable.
21569 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21570 (asin_tonearest_test_data): New variable.
21571 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21572 (asin_towardzero_test_data): New variable.
21573 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21574 (asin_downward_test_data): New variable.
21575 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21576 (asin_upward_test_data): New variable.
21577 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21578 (asinh_test_data): New variable.
21579 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21580 (atan_test_data): New variable.
21581 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21582 (atanh_test_data): New variable.
21583 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21584 (cbrt_test_data): New variable.
21585 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21586 (ceil_test_data): New variable.
21587 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21588 (cos_test_data): New variable.
21589 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21590 (cos_tonearest_test_data): New variable.
21591 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21592 (cos_towardzero_test_data): New variable.
21593 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21594 (cos_downward_test_data): New variable.
21595 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21596 (cos_upward_test_data): New variable.
21597 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21598 (cosh_test_data): New variable.
21599 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21600 (cosh_tonearest_test_data): New variable.
21601 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21602 (cosh_towardzero_test_data): New variable.
21603 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21604 (cosh_downward_test_data): New variable.
21605 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21606 (cosh_upward_test_data): New variable.
21607 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21608 (erf_test_data): New variable.
21609 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21610 (erfc_test_data): New variable.
21611 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21612 (exp_test_data): New variable.
21613 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21614 (exp_tonearest_test_data): New variable.
21615 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21616 (exp_towardzero_test_data): New variable.
21617 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21618 (exp_downward_test_data): New variable.
21619 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21620 (exp_upward_test_data): New variable.
21621 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21622 (exp10_test_data): New variable.
21623 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21624 (exp2_test_data): New variable.
21625 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21626 (expm1_test_data): New variable.
21627 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21628 (fabs_test_data): New variable.
21629 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21630 (floor_test_data): New variable.
21631 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21632 (j0_test_data): New variable.
21633 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21634 (j1_test_data): New variable.
21635 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21636 (log_test_data): New variable.
21637 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21638 (log10_test_data): New variable.
21639 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21640 (log1p_test_data): New variable.
21641 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21642 (log2_test_data): New variable.
21643 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21644 (logb_test_data): New variable.
21645 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21646 (logb_downward_test_data): New variable.
21647 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21648 (nearbyint_test_data): New variable.
21649 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21650 (rint_test_data): New variable.
21651 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21652 (rint_tonearest_test_data): New variable.
21653 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21654 (rint_towardzero_test_data): New variable.
21655 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21656 (rint_downward_test_data): New variable.
21657 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21658 (rint_upward_test_data): New variable.
21659 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21660 (round_test_data): New variable.
21661 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21662 (sin_test_data): New variable.
21663 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21664 (sin_tonearest_test_data): New variable.
21665 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21666 (sin_towardzero_test_data): New variable.
21667 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21668 (sin_downward_test_data): New variable.
21669 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21670 (sin_upward_test_data): New variable.
21671 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21672 (sinh_test_data): New variable.
21673 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21674 (sinh_tonearest_test_data): New variable.
21675 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21676 (sinh_towardzero_test_data): New variable.
21677 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21678 (sinh_downward_test_data): New variable.
21679 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21680 (sinh_upward_test_data): New variable.
21681 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21682 (sqrt_test_data): New variable.
21683 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21684 (tan_test_data): New variable.
21685 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21686 (tan_tonearest_test_data): New variable.
21687 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21688 (tan_towardzero_test_data): New variable.
21689 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21690 (tan_downward_test_data): New variable.
21691 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21692 (tan_upward_test_data): New variable.
21693 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21694 (tanh_test_data): New variable.
21695 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21696 (tgamma_test_data): New variable.
21697 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21698 (trunc_test_data): New variable.
21699 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21700 (y0_test_data): New variable.
21701 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21702 (y1_test_data): New variable.
21703 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21704 (significand_test_data): New variable.
21705 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21706
7187d844
CG
217072013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21708
21709 [BZ #12387]
21710 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21711
f63fae73
PT
217122013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21713
21714 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21715
8a67a4b3
AJ
217162013-05-10 Andreas Jaeger <aj@suse.de>
21717
21718 [BZ #15448]
21719 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21720 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21721
51df539d
JM
217222013-05-10 Joseph Myers <joseph@codesourcery.com>
21723
21724 * math/gen-libm-test.pl (adjust_arg): New function.
21725 (special_functions): Handle generating output in both functions
21726 and arrays.
21727 (parse_args): Likewise.
21728 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21729 $in_func argument to parse_args.
21730 * math/libm-test.inc (struct test_f_f_data): New type.
21731 (IF_ROUND_INIT_): New macro.
21732 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21733 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21734 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21735 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21736 (ROUND_RESTORE_): Likewise.
21737 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21738 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21739 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21740 (ROUND_RESTORE_FE_UPWARD): Likewise.
21741 (RUN_TEST_LOOP_f_f): New macro.
21742 (acos_test_data): New variable.
21743 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21744 (acos_tonearest_test_data): New variable.
21745 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21746
5c637fe5
SP
217472013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21748
21749 * benchtests/bench-skeleton.c (startup): Fix coding style.
21750
ab2b9461
JM
217512013-05-10 Joseph Myers <joseph@codesourcery.com>
21752
21753 [BZ #6809]
21754 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21755 negative infinity argument.
21756 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21757 negative infinity argument.
21758 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21759 negative infinity argument.
21760 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21761 domain errors.
21762
4c0fe6fe
FW
217632013-05-10 Florian Weimer <fweimer@redhat.com>
21764
21765 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21766 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21767 * iconv/iconv_prog.c (main): Likewise.
21768 * locale/programs/charmap-dir.c (charmap_readdir)
21769 (fopen_uncompressed): Likewise.
21770 * locale/programs/locfile.c (siblings_uncached)
21771 (write_locale_data): Use lstat64 instead of lstat.
21772 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21773 stat.
21774
a3375d29
AJ
217752013-05-10 Andreas Jaeger <aj@suse.de>
21776
21777 [BZ #15395]
21778 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21779 localization.
21780 Include <locale.h>.
21781
36129722
CD
217822013-05-09 Carlos O'Donell <carlos@redhat.com>
21783
21784 * elf/dl-close.c (_dl_close_worker): Add comments.
21785
faa7f811
JM
217862013-05-09 Joseph Myers <joseph@codesourcery.com>
21787
ed41ffef
JM
21788 [BZ #15359]
21789 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21790 high part of pi/2.
21791 (__ieee754_rem_pio2l): Update comments.
21792
d0213cd0
JM
21793 [BZ #15429]
21794 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21795 high part of pi/2.
21796 (__ieee754_rem_pio2l): Update comments.
21797
0d3e777a
JM
21798 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21799 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21800
24f56066
JM
21801 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21802 M_PI_4l.
21803
faa7f811
JM
21804 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21805 (M_PI_34_LOG10El): Likewise.
21806 (M_PI2_LOG10El): Likewise.
21807 (M_PI4_LOG10El): Likewise.
21808 (M_PI_LOG10El): Likewise.
21809
e9a5e0fd
AZ
218102013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21811
21812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21813
d8cd06db
JM
218142013-05-08 Joseph Myers <joseph@codesourcery.com>
21815
a0d9f9d7
JM
21816 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21817 (MINUS_ZERO_INIT): Likewise.
21818 (PLUS_INFTY_INIT): Likewise.
21819 (MINUS_INFTY_INIT): Likewise.
21820 (QNAN_VALUE_INIT): Likewise.
21821 (MAX_VALUE_INIT): Likewise.
21822 (MIN_VALUE_INIT): Likewise.
21823 (MIN_SUBNORM_VALUE_INIT): Likewise.
21824 (plus_zero): Initialize with PLUS_ZERO_INIT.
21825 (minus_zero): Initialize with MINUS_ZERO_INIT.
21826 (plus_infty): Initialize with PLUS_INFTY_INIT.
21827 (minus_infty): Initialize with MINUS_INFTY_INIT.
21828 (qnan_value): Initialize with QNAN_VALUE_INIT.
21829 (max_value): Initialize with MAX_VALUE_INIT.
21830 (min_value): Initialize with MIN_VALUE_INIT.
21831 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21832
ae08db3b
JM
21833 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21834 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21835 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21836 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21837
f44bf14a
JM
21838 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21839 (RUN_TEST_2_f): Likewise.
21840 (RUN_TEST_ff_f): Likewise.
21841 (RUN_TEST_fi_f): Likewise.
21842 (RUN_TEST_fl_f): Likewise.
21843 (RUN_TEST_fff_f): Likewise.
21844 (RUN_TEST_c_f): Likewise.
21845 (RUN_TEST_f_f1): Likewise.
21846 (RUN_TEST_fF_f1): Likewise.
21847 (RUN_TEST_fI_f1): Likewise.
21848 (RUN_TEST_ffI_f1): Likewise.
21849 (RUN_TEST_c_c): Likewise.
21850 (RUN_TEST_cc_c): Likewise.
21851 (RUN_TEST_f_i): Likewise.
21852 (RUN_TEST_f_i_tg): Likewise.
21853 (RUN_TEST_ff_i_tg): Likewise.
21854 (RUN_TEST_f_b): Likewise.
21855 (RUN_TEST_f_b_tg): Likewise.
21856 (RUN_TEST_f_l): Likewise.
21857 (RUN_TEST_f_L): Likewise.
21858 (RUN_TEST_sincos): Likewise.
21859 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21860 whether to show exceptions. Do not include ");\n" in return
21861 value.
21862 (special_functions): Output call to RUN_TEST_sincos instead of
21863 check_float calls. Update calls to new_test.
21864 (parse_args): Output call to single RUN_TEST_* macro instead of
21865 check_* calls and other assignments. Update calls to new_test.
21866
d8cd06db
JM
21867 [BZ #2546]
21868 [BZ #2560]
21869 [BZ #5159]
21870 [BZ #15426]
21871 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21872 input to result for tgamma overflow.
21873 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21874 (gamma_coeff): New variable.
21875 (NCOEFF): New macro.
21876 (gamma_positive): New function.
21877 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21878 underflow here. Use gamma_positive instead of exp (lgamma) for
21879 other arguments.
21880 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21881 (gamma_coeff): New variable.
21882 (NCOEFF): New macro.
21883 (gammaf_positive): New function.
21884 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21885 underflow here. Use gamma_positive instead of exp (lgamma) for
21886 other arguments.
21887 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21888 (gamma_coeff): New variable.
21889 (NCOEFF): New macro.
21890 (gammal_positive): New function.
21891 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21892 underflow here. Use gamma_positive instead of exp (lgamma) for
21893 other arguments.
21894 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21895 (gamma_coeff): New variable.
21896 (NCOEFF): New macro.
21897 (gammal_positive): New function.
21898 (__ieee754_gammal_r): Handle positive infinity, overflow and
21899 underflow here. Handle NaN the same as positive infinity. Remove
21900 check x < 0xffffffff for negative integers. Use gamma_positive
21901 instead of exp (lgamma) for other arguments.
21902 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21903 (gamma_coeff): New variable.
21904 (NCOEFF): New macro.
21905 (gammal_positive): New function.
21906 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21907 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21908 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21909 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21910 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21911 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21912 * sysdeps/generic/math_private.h (__gamma_productf): New
21913 prototype.
21914 (__gamma_product): Likewise.
21915 (__gamma_productl): Likewise.
21916 * math/Makefile (libm-calls): Add gamma_product.
21917 * math/libm-test.inc (tgamma_test): Add more tests.
21918 * sysdeps/i386/fpu/libm-test-ulps: Update.
21919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21920
bb7cf681
OB
219212013-05-08 Ondřej Bílka <neleai@seznam.cz>
21922
21923 * benchtests/bench-skeleton.c (main): Preheat CPU.
21924
ba853947
AJ
219252013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21926
21927 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21928
8347c74c
RM
219292013-05-07 Roland McGrath <roland@hack.frob.com>
21930
21931 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21932 and _dl_skip_args_internal.
21933
e8dd4791
CD
219342013-05-07 Carlos O'Donell <carlos@redhat.com>
21935
21936 * manual/message.texi (Message Translation): Talk about users.
21937 Message to key mapping impacts design.
21938
c7405830
RM
219392013-05-06 Roland McGrath <roland@hack.frob.com>
21940
a9173057
RM
21941 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21942
976e2f03
RM
21943 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21944
9723ffc5
RM
21945 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21946 * sysdeps/wordsize-64/glob64.c: ... here.
21947
962e6658
RM
21948 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21949 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21950 New macros.
21951
ee586a6d
RM
21952 * debug/getlogin_r_chk.c: Moved to ...
21953 * login/getlogin_r_chk.c: ... here.
21954 * debug/Makefile (routines): Move getlogin_r_chk to ...
21955 * login/Makefile (routines): ... here.
21956 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21957 * login/Versions (libc: GLIBC_2.4): ... here.
21958
355f9165
RM
21959 * io/poll.c (__poll): Renamed from poll.
21960 Add libc_hidden_def.
21961 (poll): Define as weak alias.
21962
bd9ffde6
RM
21963 * debug/ptsname_r_chk.c: Moved to ...
21964 * login/ptsname_r_chk.c: ... here.
21965 * debug/Makefile (routines): Move ptsname_r_chk to ...
21966 * login/Makefile (routines): ... here.
21967 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21968 * login/Versions (libc: GLIBC_2.4): ... here.
21969
8fb16a04
RM
21970 * posix/getlogin.c: Moved to ...
21971 * login/getlogin.c: ... here.
21972 * posix/getlogin_r.c: Moved to ...
21973 * login/getlogin_r.c: ... here.
21974 * posix/getlogin_r.c: Moved to ...
21975 * login/getlogin_r.c: ... here.
21976 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21977 * login/Makefile (routines): ... here.
21978 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21979 * login/Versions (libc: GLIBC_2.0): ... here.
21980
b99b892f
RM
21981 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21982 (setrlimit): Define as weak alias.
21983
c7405830
RM
21984 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21985 Call __ names for open, ftruncate, and close.
21986 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21987 (truncate): Define as weak alias.
21988
5bf96de5
JM
219892013-05-06 Joseph Myers <joseph@codesourcery.com>
21990
9ea3513c
JM
21991 * math/gen-libm-test.pl (parse_args): Initialize x before each
21992 test of frexp, modf and remquo.
21993
5bf96de5
JM
21994 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21995 test signgam value.
21996
16e616a7
AZ
219972013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21998
21999 [BZ #15418]
22000 [BZ #15419]
22001 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22002 internal tests.
22003 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22004
d5e82754
RM
220052013-05-06 Roland McGrath <roland@hack.frob.com>
22006
22007 * elf/dl-writev.h: New file.
22008 * elf/dl-misc.c: Include it.
22009 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22010 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22011
a7548d41
JM
220122013-05-04 Joseph Myers <joseph@codesourcery.com>
22013
b7dab1e4
JM
22014 * math/libm-test.inc (noXFails): Remove variable.
22015 (noXPasses): Likewise.
22016 (BUILD_COMPLEX_INT): Remove macro.
22017 (print_screen): Remove xfail argument.
22018 (print_screen_max_error): Likewise.
22019 (update_stats): Likewise.
22020 (print_max_error): Likewise. Update calls to other affected
22021 functions.
22022 (print_complex_max_error): Likewise.
22023 (test_single_exception): Update calls to print_screen.
22024 (test_single_errno): Likewise.
22025 (check_float_internal): Remove xfail argument. Update calls to
22026 other affected functions.
22027 (check_float): Likewise.
22028 (check_complex): Likewise.
22029 (check_int): Likewise.
22030 (check_long): Likewise.
22031 (check_bool): Likewise.
22032 (check_longlong): Likewise.
22033 (main): Don't print noXFails and noXPasses.
22034 * math/gen-libm-test.pl (top level): Don't mention expected
22035 failure handling in comment.
22036 (new_test): Don't handle expected failures.
22037 (parse_args): Don't mention expected failure handling in comment.
22038 (generate_testfile): Don't handle expected failures.
22039 (parse_ulps): Likewise.
22040 (print_ulps_file): Likewise.
22041 (get_failure): Remove function.
22042 (output_test): Don't handle expected failures.
22043 * make/README.libm-test: Don't mention expected failure handling.
22044
a7548d41
JM
22045 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22046 (minus_zero): Likewise.
22047 (plus_infty): Likewise.
22048 (minus_infty): Likewise.
22049 (qnan_value): Likewise.
22050 (max_value): Likewise.
22051 (min_value): Likewise.
22052 (min_subnorm_value): Likewise.
22053 (initialize): Do not initialize those variables dynamically.
22054
60bfd54c
RM
220552013-05-03 Roland McGrath <roland@hack.frob.com>
22056
cc0e6ed8
RM
22057 * io/open.c (__open_2): Moved to ...
22058 * io/open_2.c: ... this new file.
22059 * io/open64.c (__open64_2): Moved to ...
22060 * io/open64_2.c: ... this new file.
22061 * io/openat.c (__openat_2): Moved to ...
22062 * io/openat_2.c: ... this new file.
22063 * io/openat64.c (__openat64_2): Moved to ...
22064 * io/openat64_2.c: ... this new file.
22065 * io/Makefile (routines): Add them.
22066 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22067 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22068 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22069 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22070 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22071 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22072 (__openat64): Add hidden_ver.
22073 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22074 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22075
60bfd54c
RM
22076 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22077 Separately conditionalize setting of GLRO(dl_sysinfo) so
22078 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22079 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22080
83e7640f
AZ
220812013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22082
22083 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22084 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22085 definition.
22086 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22087 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22088 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22089 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22090 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22091
d5dc2af3
JM
220922013-05-03 Joseph Myers <joseph@codesourcery.com>
22093
c31a5b1e
JM
22094 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22095 test signgam value.
22096
d5dc2af3
JM
22097 * math/libm-test.inc (hypot_test): Do not use
22098 IGNORE_ZERO_INF_SIGN.
22099
164fd39d
AJ
221002013-05-03 Andreas Jaeger <aj@suse.de>
22101
22102 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22103 Linux 3.9.
22104 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22105 (PF_MAX): Adjust for VSOCK change.
22106
8237f48c
AZ
221072013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22108
22109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22110
9df02941
CD
221112013-05-02 Carlos O'Donell <carlos@redhat.com>
22112
22113 [BZ #15264]
22114 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22115 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22116 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22117
d422395e
DM
221182013-05-02 David S. Miller <davem@davemloft.net>
22119
22120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22121
a07c5731
OB
221222013-05-01 Ondřej Bílka <neleai@seznam.cz>
22123
22124 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22125
1324e37f
RM
221262013-05-01 Roland McGrath <roland@hack.frob.com>
22127
22128 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22129
0695940b
RS
221302013-05-01 Richard Smith <richard@metafoo.co.uk>
22131
bb5f27ad 22132 [BZ #14952]
0695940b
RS
22133 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22134 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22135 Use __attribute__ ((__gnu_inline__)).
22136 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22137 Don't use __attribute__ ((__gnu_inline__)).
22138
10de07f5
JM
221392013-05-01 Joseph Myers <joseph@codesourcery.com>
22140
22141 [BZ #15423]
22142 * math/s_catan.c (__catan): Handle small real or imaginary part of
22143 input specially to avoid spurious underflow.
22144 * math/s_catanf.c (__catanf): Likewise.
22145 * math/s_catanh.c (__catanh): Likewise.
22146 * math/s_catanhf.c (__catanhf): Likewise.
22147 * math/s_catanhl.c (__catanhl): Likewise.
22148 * math/s_catanl.c (__catanl): Likewise.
22149 * math/libm-test.inc (catan_test): Add more tests.
22150 (catanh_test): Likewise.
22151 * sysdeps/i386/fpu/libm-test-ulps: Update.
22152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22153
cb4d5414
AZ
221542013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22155
22156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22157
caf84319
JM
221582013-04-30 Joseph Myers <joseph@codesourcery.com>
22159
22160 [BZ #15416]
22161 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22162 accurately for denominator in atan2.
22163 * math/s_catanf.c (__catanf): Likewise.
22164 * math/s_catanh.c (__catanh): Likewise.
22165 * math/s_catanhf.c (__catanhf): Likewise.
22166 * math/s_catanhl.c (__catanhl): Likewise.
22167 * math/s_catanl.c (__catanl): Likewise.
22168 * math/libm-test.inc (catan_test): Add more tests.
22169 (catanh_test): Likewise.
22170 * sysdeps/i386/fpu/libm-test-ulps: Update.
22171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22172
d569c6ee
SP
221732013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22174
6dbe713d
SP
22175 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22176
f0ee064b
SP
22177 * benchtests/Makefile (bench): Remove slow benchmarks.
22178 * benchtests/atan-inputs: Add slow benchmark inputs.
22179 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22180 (BENCH_FUNC): Accept variant offset.
22181 (VARIANT): Define.
22182 * benchtests/bench-skeleton.c (main): Run benchmark for each
22183 variant.
22184 * benchtests/cos-inputs: Add slow benchmark inputs.
22185 * benchtests/exp-inputs: Likewise.
22186 * benchtests/pow-inputs: Likewise.
22187 * benchtests/sin-inputs: Likewise.
22188 * benchtests/slowatan-inputs: Remove.
22189 * benchtests/slowatan.c: Remove.
22190 * benchtests/slowcos-inputs: Remove.
22191 * benchtests/slowcos.c: Remove.
22192 * benchtests/slowexp-inputs: Remove.
22193 * benchtests/slowexp.c: Remove.
22194 * benchtests/slowpow-inputs: Remove.
22195 * benchtests/slowpow.c: Remove.
22196 * benchtests/slowsin-inputs: Remove.
22197 * benchtests/slowsin.c: Remove.
22198 * benchtests/slowtan-inputs: Remove.
22199 * benchtests/slowtan.c: Remove.
22200 * benchtests/tan-inputs: Add slow benchmark inputs.
22201 * scripts/bench.pl: Parse comments and directives.
22202
d569c6ee
SP
22203 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22204 in CPPFLAGS.
22205 ($(objpfx)bench-%.c): Remove *-ITER.
22206 * benchtests/bench-modf.c: Remove definition of ITER.
22207 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22208 (main): Loop for DURATION seconds instead of fixed number of
22209 iterations.
22210 * scripts/bench.pl: Don't expect iterations in parameters.
22211
a6a242fe
RM
222122013-04-29 Roland McGrath <roland@hack.frob.com>
22213
22214 * io/fchdir.c (__fchdir): Renamed from fchdir.
22215 (fchdir): Define as weak alias.
22216
f2da7793
JM
222172013-04-29 Joseph Myers <joseph@codesourcery.com>
22218
22219 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22220 (ERRNO_EDOM): Likewise.
22221 (ERRNO_ERANGE): Likewise.
22222 (noErrnoTests): New variable.
22223 (init_max_error): Set errno to 0.
22224 (test_single_errno): New function.
22225 (test_errno): Likewise.
22226 (check_float_internal): Call test_errno. Set errno to 0.
22227 (check_complex): Refer to errno tests in comment.
22228 (check_int): Call test_errno. Set errno to 0.
22229 (check_long): Likewise.
22230 (check_bool): Likewise.
22231 (check_longlong): Likewise.
22232 (cos_test): Use ERRNO_* flags for errno tests instead of
22233 check_int.
22234 (expm1_test): Likewise.
22235 (fmod_test): Likewise.
22236 (ilogb_test): Likewise.
22237 (lgamma_test): Likewise.
22238 (pow_test): Likewise.
22239 (remainder_test): Likewise.
22240 (sin_test): Likewise.
22241 (tan_test): Likewise.
22242 (yn_test): Likewise.
22243 (initialize): Set errno to 0.
22244 (main): Print number of errno tests.
22245 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22246
b1a36ceb
AJ
222472013-04-29 Andreas Jaeger <aj@suse.de>
22248
c3ed8088
AJ
22249 [BZ #15084]
22250 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22251 and RES_USEVC.
22252
f1a24198
AJ
22253 [BZ #15085]
22254 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22255 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22256 unimplemented.
22257
9ce3b2cb
AJ
22258 [BZ #15380]
22259 * stdlib/random.c (__initstate): Return NULL if
22260 __initstate fails.
22261
f1a24198 22262 [BZ #15086]
b1a36ceb
AJ
22263 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22264 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22265 RES_SNGLKUPREOP.
22266
7e7b6f36
AZ
222672013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22268
22269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22270
4d14f449
JM
222712013-04-29 Joseph Myers <joseph@codesourcery.com>
22272
22273 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22274 of individual tests.
22275 (casin_test): Likewise.
22276 (casinh_test): Likewise.
22277
5b4217d7
JM
222782013-04-27 Joseph Myers <joseph@codesourcery.com>
22279
22280 [BZ #15409]
22281 * math/s_catan.c (__catan): Handle arguments with large real or
22282 imaginary part separately without squaring.
22283 * math/s_catanf.c (__catanf): Likewise.
22284 * math/s_catanh.c (__catanh): Likewise.
22285 * math/s_catanhf.c (__catanhf): Likewise.
22286 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22287 and redefine.
22288 (__catanhl): Handle arguments with large real or imaginary part
22289 separately without squaring.
22290 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22291 and redefine.
22292 (__catanl): Handle arguments with large real or imaginary part
22293 separately without squaring.
22294 * math/libm-test.inc (catan_test): Add more tests.
22295 (catanh_test): Likewise.
22296 * sysdeps/i386/fpu/libm-test-ulps: Update.
22297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22298
4220c3ef
AJ
222992013-04-27 Andreas Jaeger <aj@suse.de>
22300
22301 [BZ #15007]
22302 * stdlib/stdlib.h: Update guards for qecvt.
22303 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22304 <stdlib.h>.
22305
4721b2d1
AM
223062013-04-27 Allan McRae <allan@archlinux.org>
22307
22308 * sysdeps/i386/fpu/libm-test-ulps: Update.
22309
f0302940
JM
223102013-04-26 Joseph Myers <joseph@codesourcery.com>
22311
9457fd95
JM
22312 [BZ #15406]
22313 * math/s_catan.c: Include <float.h>.
22314 (__catan): Ensure underflow exception occurs for underflowed
22315 result.
22316 * math/s_catanf.c: Include <float.h>.
22317 (__catanf): Ensure underflow exception occurs for underflowed
22318 result.
22319 * math/s_catanh.c: Include <float.h>.
22320 (__catanh): Ensure underflow exception occurs for underflowed
22321 result.
22322 * math/s_catanhf.c: Include <float.h>.
22323 (__catanhf): Ensure underflow exception occurs for underflowed
22324 result.
22325 * math/s_catanhl.c: Include <float.h>.
22326 (__catanhl): Ensure underflow exception occurs for underflowed
22327 result.
22328 * math/s_catanl.c: Include <float.h>.
22329 (__catanl): Ensure underflow exception occurs for underflowed
22330 result.
22331 * math/libm-test.inc (catan_test): Add more tests.
22332 (catanh_test): Likewise.
22333
f0302940
JM
22334 [BZ #15405]
22335 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22336 underflowed result.
22337 * math/s_ccoshf.c (__ccoshf): Likewise.
22338 * math/s_ccoshl.c (__ccoshl): Likewise.
22339 * math/s_csin.c (__csin): Likewise.
22340 * math/s_csinf.c (__csinf): Likewise.
22341 * math/s_csinh.c (__csinh): Likewise.
22342 * math/s_csinhf.c (__csinhf): Likewise.
22343 * math/s_csinhl.c (__csinhl): Likewise.
22344 * math/s_csinl.c (__csinl): Likewise.
22345 * math/libm-test.inc (ccos_test): Add more tests.
22346 (ccosh_test): Likewise.
22347 (csin_test): Likewise.
22348 (csinh_test): Likewise.
22349
aa630f59
AZ
223502013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22351
22352 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22353 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22354 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22355 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22356 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22357 powerpc/power5+/fpu folders.
22358 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22359
22360
1b835983
MT
223612013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22362
22363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22364
73709b26
JM
223652013-04-25 Joseph Myers <joseph@codesourcery.com>
22366
22367 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22368 additions to variable.
22369 [$(config-machine) = x86_64] (modules-names): Likewise.
22370 ($(objpfx)tst-audit3): Remove dependency.
22371 ($(objpfx)tst-audit3.out): Likewise.
22372 ($(objpfx)tst-audit4): Likewise.
22373 ($(objpfx)tst-audit4.out): Likewise.
22374 ($(objpfx)tst-audit5): Likewise.
22375 ($(objpfx)tst-audit5.out): Likewise.
22376 ($(objpfx)tst-audit6): Likewise.
22377 ($(objpfx)tst-audit6.out): Likewise.
22378 ($(objpfx)tst-audit7): Likewise.
22379 ($(objpfx)tst-audit7.out): Likewise.
22380 (tst-audit3-ENV): Remove variable.
22381 (tst-audit4-ENV): Likewise.
22382 (tst-audit5-ENV): Likewise.
22383 (tst-audit6-ENV): Likewise.
22384 (tst-audit7-ENV): Likewise.
22385 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22386 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22387 addition to variable.
22388 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22389 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22390 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22391 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22392 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22393 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22394 tst-audit3, tst-audit4 and tst-audit5.
22395 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22396 tst-audit6 and tst-audit7.
22397 [$(subdir) = elf] (modules-names): Add audit modules for those
22398 tests.
22399 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22400 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22401 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22402 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22403 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22404 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22405 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22406 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22407 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22408 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22409 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22410 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22411 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22412 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22413 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22414 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22415 Likewise.
22416 [$(subdir) = elf && $(config-cflags-avx) = yes]
22417 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22418 [$(subdir) = elf && $(config-cflags-avx) = yes]
22419 (CFLAGS-tst-auditmod4a.c): Likewise.
22420 [$(subdir) = elf && $(config-cflags-avx) = yes]
22421 (CFLAGS-tst-auditmod4b.c): Likewise.
22422 [$(subdir) = elf && $(config-cflags-avx) = yes]
22423 (CFLAGS-tst-auditmod6b.c): Likewise.
22424 [$(subdir) = elf && $(config-cflags-avx) = yes]
22425 (CFLAGS-tst-auditmod6c.c): Likewise.
22426 [$(subdir) = elf && $(config-cflags-avx) = yes]
22427 (CFLAGS-tst-auditmod7b.c): Likewise.
22428 * elf/tst-audit3.c: Move to ...
22429 * sysdeps/x86_64/tst-audit3.c: ... here.
22430 * elf/tst-audit4.c: Move to ...
22431 * sysdeps/x86_64/tst-audit4.c: ... here.
22432 * elf/tst-audit5.c: Move to ...
22433 * sysdeps/x86_64/tst-audit5.c: ... here.
22434 * elf/tst-audit6.c: Move to ...
22435 * sysdeps/x86_64/tst-audit6.c: ... here.
22436 * elf/tst-audit7.c: Move to ...
22437 * sysdeps/x86_64/tst-audit7.c: ... here.
22438 * elf/tst-auditmod3a.c: Move to ...
22439 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22440 * elf/tst-auditmod3b.c: Move to ...
22441 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22442 * elf/tst-auditmod4a.c: Move to ...
22443 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22444 * elf/tst-auditmod4b.c: Move to ...
22445 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22446 * elf/tst-auditmod5a.c: Move to ...
22447 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22448 * elf/tst-auditmod5b.c: Move to ...
22449 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22450 * elf/tst-auditmod6a.c: Move to ...
22451 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22452 * elf/tst-auditmod6b.c: Move to ...
22453 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22454 * elf/tst-auditmod6c.c: Move to ...
22455 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22456 * elf/tst-auditmod7a.c: Move to ...
22457 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22458 * elf/tst-auditmod7b.c: Move to ...
22459 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22460
1ef74943
PP
224612013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22462
22463 [BZ #15366]
22464 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22465 define unconditionally.
22466 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22467 define unconditionally.
22468 (INT8_C, INT16_C, etc.): Likewise.
22469
93fd48c5
MR
224702013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22471
ae9552cf
MR
22472 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22473 __ehdr_start with hidden visibility.
22474
93fd48c5
MR
22475 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22476
418601aa
CD
224772013-04-24 Carlos O'Donell <carlos@redhat.com>
22478
22479 * math/libm-test.inc (cos_test): Use accurate hex constants.
22480 (sincost_test): Likewise.
22481
2f38fbfe
JM
224822013-04-24 Joseph Myers <joseph@codesourcery.com>
22483
5e221800
JM
22484 * math/libm-test.inc (catan_test): Add more tests.
22485 (catanh_test): Likewise.
22486
77f143fd
JM
22487 * math/s_catanf.c (__catanf): Use suffixed floating-point
22488 constants.
22489 * math/s_catanhf.c (__catanhf): Likewise.
22490 * math/s_catanhl.c (__catanhl): Likewise.
22491 * math/s_catanl.c (__catanl): Likewise.
22492
2f38fbfe
JM
22493 [BZ #15394]
22494 * math/s_catan.c (__catan): Calculate imaginary part of result
22495 with log1p not log unless computing log of number close to 0.
22496 * math/s_catanf.c (__catanf): Likewise.
22497 * math/s_catanl.c (__catanl): Likewise.
22498 * math/s_catanh.c (__catanh): Calculate real part of result with
22499 log1p not log unless computing log of number close to 0.
22500 * math/s_catanhf.c (__catanhf): Likewise.
22501 * math/s_catanhl.c (__catanhl): Likewise.
22502 * math/libm-test.inc (catan_test): Add more tests.
22503 (catanh_test): Likewise.
22504 * sysdeps/i386/fpu/libm-test-ulps: Update.
22505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22506
45d69176
SP
225072013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22508
22509 * benchtests/Makefile: Mention files in which fast and slow
22510 paths of math functions are implemented.
22511
87f51853
RM
225122013-04-23 Roland McGrath <roland@hack.frob.com>
22513
22514 * sysdeps/posix/timespec_get.c: New file.
22515
3c026539
AZ
225162013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22517
22518 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22519 POWER.
22520 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22521 for POWER.
22522 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22523 powerpc/power5/fpu folders.
22524 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22525 * benchtests/Makefile: Add modf testcase.
22526 * benchtests/bench-modf.c: New file: Benchmark test for mo
22527
ff491d14
SP
225282013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22529
22530 [BZ #14888]
22531 * time/Makefile (tests): Add tst-strptime-whitespace.
22532 * time/strptime_l.c (get_number): Use ISSPACE.
22533 (__strptime_internal): Likewise.
22534 * time/tst-strptime-whitespace.c: New test case.
22535
7ed3f4e8
AS
225362013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22537
22538 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22539 member.
22540 (_nss_files_init): Set it here.
22541
5c95f7b6
HC
225422013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22543
22544 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22545 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22546 unsigned.
22547
d34c9158
JBG
225482013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22549
22550 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22551
2169712d
SP
225522013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22553
22554 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22555 size just once.
22556
29c5de99
DM
225572013-04-21 David S. Miller <davem@davemloft.net>
22558
22559 * po/ru.po: Update Russion translation from translation project.
22560
ccdad15d
AC
225612013-04-17 Adam Conrad <adconrad@0c3.net>
22562
22563 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22564 and setfsgid.
22565
0f122b8d
CD
225662013-04-17 Carlos O'Donell <carlos@redhat.com>
22567
5c5b07da 22568 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 22569 * configure: Regenerate.
5c5b07da 22570 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
22571 Add example to error message.
22572 * sysdeps/i386/configure: Regenerate.
22573
037714dd
SP
225742013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22575
22576 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22577 slowtan.
22578 * benchtests/cos-inputs: New file.
22579 * benchtests/slowcos-inputs: New file.
22580 * benchtests/slowcos.c: New file.
22581 * benchtests/slowtan-inputs: New file.
22582 * benchtests/slowtan.c: New file.
22583 * benchtests/tan-inputs: New file.
22584
e913141d
RM
225852013-04-16 Roland McGrath <roland@hack.frob.com>
22586
22587 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22588 considered kosher.
22589
a2964074
SP
225902013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22591
4856bcd2
SP
22592 * benchtests/Makefile: Include cppflags-iterator.mk to add
22593 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22594
a2964074
SP
22595 * Makefile.in (bench-clean): New target.
22596 * benchtests/Makefile (bench-clean): Likewise.
22597
9fbf9aca
DH
225982013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22599
22600 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22601
207d1e2a
TS
226022013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22603
22604 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22605
306dfba9
AS
226062013-04-15 Andreas Schwab <schwab@suse.de>
22607
22608 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22609 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22610 * nscd/pwdcache.c (cache_addpw): Likewise.
22611 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22612 more than recsize.
22613
206a6699
SP
226142013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22615
22616 * benchtests/Makefile (bench): Write all output to
22617 bench-out.tmp together.
22618
0582f6b3
AS
226192013-04-15 Andreas Schwab <schwab@suse.de>
22620
22621 * nscd/nscd.c (main): Don't fork again after closing files.
22622
acb4325f
SP
226232013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22624
5cb26d0a
SP
22625 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22626
acb4325f
SP
22627 * benchtests/Rules (bench-deps): Collect dependencies into a
22628 single variable. Add Makefile to dependencies.
22629 ($(objpfx)bench-%.c): Depend on bench-deps.
22630
47792506
RM
226312013-04-12 Roland McGrath <roland@hack.frob.com>
22632 Xavier Roche <roche+kml2@exalead.com>
22633
22634 [BZ #15361]
22635 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22636 just that it's a file descriptor.
22637 * manual/llio.texi (Synchronizing AIO Operations): Update description
22638 for EBADF error from aio_fsync.
22639
8fc1bee5
SP
226402013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22641
22642 * Rules (bench): Move target definition...
22643 * benchtests/Makefile: ... here.
22644
aba5e333
CD
226452013-04-11 Carlos O'Donell <carlos@redhat.com>
22646
22647 * math/libm-test.inc (cos_test): Fix PI/2 test.
22648 (sincos_test): Likewise.
22649 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22650 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22651
273cdee8
AS
226522013-04-11 Andreas Schwab <schwab@suse.de>
22653
6ecec3b6
AS
22654 [BZ #13988]
22655 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22656 accept exponent character only when digits were seen.
22657 * stdio-common/Makefile (tests): Add bug26.
22658 * stdio-common/bug26.c: New file.
22659
273cdee8
AS
22660 [BZ #14293]
22661 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22662 non-freeable.
22663
8da491f5
SP
226642013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22665
01dc6df9
SP
22666 * Makeconfig (rtld-prefix): Define built linker prefix.
22667 * Rules (run-bench): Use it.
22668 * math/Makefile (run-regen-ulps): Likewise.
22669
8da491f5
SP
22670 * Rules (bench): Remove eval.
22671
abe7f530
SP
226722013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22673 Roland McGrath <roland@hack.frob.com>
22674 Ondrej Bilka <neleai@seznam.cz>
22675
22676 [BZ #15346]
22677 * time/getdate.c: Include ctype.h and alloca.h.
22678 (__getdate_r): Trim leading and trailing spaces of input.
22679 * time/tst-getdate.c (tests): Add tests with leading and
22680 trailing spaces.
22681
61c23e62
RM
226822013-04-08 Roland McGrath <roland@hack.frob.com>
22683
22684 [BZ #14280]
22685 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22686 when computing value.
22687
7208a313
CD
226882013-04-06 Carlos O'Donell <carlos@redhat.com>
22689
085b2d41
CD
22690 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22691 Use testrun.sh to run libm tests.
22692
7208a313
CD
22693 [BZ #15309]
22694 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22695
872c0acd
MM
226962013-04-06 Marko Myllynen <myllynen@redhat.com>
22697
22698 [BZ #15264]
22699 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22700
26510bdd
CD
227012013-04-06 Carlos O'Donell <carlos@redhat.com>
22702
22703 * Makefile.in (regen-ulps): New target.
22704 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22705 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22706 [ifneq (no,$(PERL)] (regen-ulps): New target.
22707 [ifeq (no,$(PERL)] (regen-ulps): New target.
22708 * math/libm-test.inc (ulps_file_name): Define.
22709 (output_dir): New variable.
22710 (options): Add "output-dir" option.
22711 (parse_opt): Handle 'o' case.
22712 (main): If output_dir is non-NULL use it as a prefix
22713 otherwise use "".
22714 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22715
a01f19c8
CD
227162013-04-06 Carlos O'Donell <carlos@redhat.com>
22717
22718 [BZ #10060, #10062]
22719 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22720 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22721 fail configure if __sync_val_compare_and_swap is not inlined.
22722 * sysdeps/i386/configure: Regenerate.
22723 * configure.in: Build for i686 when configured for i386.
22724 * configure: Regenerate.
22725 * README: Remove i386 reference.
22726
b7a329a5
CD
227272013-04-06 Carlos O'Donell <carlos@redhat.com>
22728
22729 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22730 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22731
bf0f50df
TS
227322013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22733
ee091edf
TS
22734 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22735 (lmsnanval): New variables.
22736 (F): Add conversion tests.
22737 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22738 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22739
a8b792d6
TS
22740 * stdio-common/tstdiomisc.c (F): Properly collect individual
22741 tests' results.
22742
a1cbf437
TS
22743 [BZ #14686, #15336]
22744 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22745 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22746 Instead, use input NaN values or generate a qNaN by arithmetic
22747 operation. Also fix bugs to comply with the standard.
22748 * math/libm-test.inc (remainder_test): Add more tests.
22749
8b43a0c9
TS
22750 [BZ #15335, #15342]
22751 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22752 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22753 input NaN values or generate a qNaN by arithmetic operation.
22754
d91da4ce
TS
22755 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22756 unreachable code.
22757
bf0f50df
TS
22758 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22759 definitions.
22760
05e166c8
JM
227612013-04-03 Joseph Myers <joseph@codesourcery.com>
22762
22763 [BZ #14478]
22764 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22765 underflowed result.
22766 * math/s_cexpf.c (__cexpf): Likewise.
22767 * math/s_cexpl.c (__cexpl): Likewise.
22768 * math/libm-test.inc (cexp_test): Add more tests.
22769
1cef1b19
AS
227702013-04-03 Andreas Schwab <schwab@suse.de>
22771
22772 [BZ #15330]
22773 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22774 order arrays from heap if bigger than alloca cutoff.
22775
74d87055
TS
227762013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22777
22778 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22779 (SNAN_TESTS_double): Refer to GCC PR56831.
22780 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22781 GCC PR56828.
22782
d755bba4
SP
227832013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22784
90d5d5bb
SP
22785 * Rules (bench): Move bench.out after the run is complete.
22786
73e0cd5d
SP
22787 * Rules (bench): Echo currently running benchmark.
22788
64aabd4b
SP
22789 * benchtests/Makefile (bench): Add atan and slowatan.
22790 * benchtests/atan-inputs: New file.
22791 * benchtests/slowatan-inputs: New file.
22792 * benchtests/slowatan.c: New file.
22793
c871eccd
SP
22794 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22795 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22796 its value.
22797
d755bba4
SP
22798 [BZ #15305]
22799 * sysdeps/unix/sysv/linux/kernel-features.h
22800 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22801 __ASSUME_XFS_RESTRICTED_CHOWN.
22802 * sysdeps/unix/sysv/linux/pathconf.c
22803 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22804 Save and restore errno.
22805
52ce4860
JM
228062013-04-02 Joseph Myers <joseph@codesourcery.com>
22807
22808 [BZ #15327]
22809 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22810 arguments using __kernel_casinh.
22811 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22812 arguments using __kernel_casinhf.
22813 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22814 arguments using __kernel_casinhl.
22815 * math/libm-test.inc (cacosh_test): Add more tests.
22816 * sysdeps/i386/fpu/libm-test-ulps: Update.
22817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22818
81f311c2
SP
228192013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22820
e7906a47
SP
22821 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22822 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22823
92e3664b
SP
22824 * bench/Makefile (bench): Add sin and slowsin.
22825 * benchtests/sin-inputs: New file.
22826 * benchtests/slowsin-inputs: New file.
22827 * benchtests/slowsin.c: New file.
22828
81f311c2
SP
22829 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22830 (bench): Add slowexp and slowpow.
22831 (exp-ITER): Increase iterations.
22832 (pow-ITER): Likewise.
22833 * benchtests/exp-inputs: Change input.
22834 * benchtests/pow-inputs: Likewise.
22835 * benchtests/slowexp-inputs: New file.
22836 * benchtests/slowexp.c: New file.
22837 * benchtests/slowpow-inputs: New file.
22838 * benchtests/slowpow.c: New file.
22839
ab0f1aa9
AZ
228402013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22841
22842 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22843 instructions.
22844 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22845 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22846 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22847 * benchtests/Makefile: Add rint benchtest.
22848 * benchtests/rint-inputs: Input for rint benchtest.
22849
57267616
TS
228502013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22851
22852 * Versions.def (libm): Add GLIBC_2.18.
22853 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22854 hidden libm prototypes.
22855 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22856 * math/Makefile (libm-calls): Add s_issignaling.
22857 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22858 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22859 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22860 declaration.
22861 * math/math.h [__USE_GNU] (issignaling): New macro.
22862 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22863 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22864 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22865 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22866 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22867 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22868 * manual/arith.texi (issignaling): New section.
22869 * manual/libm-err-tab.pl (@all_functions): Update comment.
22870 * math/gen-libm-test.pl (parse_args): Apply special handling for
22871 issignaling.
22872 * math/libm-test.inc (print_float, issignaling_test): New
22873 functions.
22874 (check_float_internal): Add issignaling checks.
22875 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22876 default definition.
22877 * sysdeps/powerpc/math-tests.h: New file.
22878 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22879 tests.
22880 * math/test-snan.c (TEST_FUNC): Likewise.
22881
6142896d
DM
228822013-03-30 David S. Miller <davem@davemloft.net>
22883
22884 * po/de.po: Update from translation team.
22885
ccc8cadf
JM
228862013-03-30 Joseph Myers <joseph@codesourcery.com>
22887
22888 [BZ #10357]
22889 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22890 imaginary part less than 1.0 and real part less than 0.5
22891 specially.
22892 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22893 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22894 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22895 (cacos_test): Add more tests.
22896 (casin_test): Likewise.
22897 (casinh_test): Likewise.
22898 * sysdeps/i386/fpu/libm-test-ulps: Update.
22899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22900
0f6a8d4b
SP
229012013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22902
0d1029de
SP
22903 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22904 ONE with its value.
22905
c2d94018
SP
22906 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22907 (__pow_mp): Replace ONE and MONE with their values.
22908 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22909 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22910 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22911 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22912 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22913 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22914
27ec37f1
SP
22915 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22916
a64d7e0e
SP
22917 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22918 (__pow_mp): Replace ZERO and MZERO with their values.
22919 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22920 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22921 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22922 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22923 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22924 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22925 (__sqr): Likewise.
22926
d26dd3eb
SP
22927 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22928
0f6a8d4b
SP
22929 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22930
e57b0c61
RM
229312013-03-28 Roland McGrath <roland@hack.frob.com>
22932
22933 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22934 Declare with __attribute__ ((weak)).
22935 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22936 Call __call_tls_dtors only if it's not NULL.
22937
356b3480
RM
229382013-03-28 Roland McGrath <roland@hack.frob.com>
22939
288f7d79
RM
22940 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22941 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22942 magic __ehdr_start linker symbol if it's defined.
22943 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22944 them up here if it was already done.
22945
dc0a0263
RM
22946 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22947 (_dl_aux_init): Use const in cast when setting it.
22948 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22949 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22950 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22951
3d3436ae
RM
22952 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22953 Declare them here.
22954 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22955 * csu/libc-tls.c: Nor here.
22956 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22957
356b3480
RM
22958 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22959 (__libc_message): Never call vsyslog.
22960
b0f1246a
AM
229612013-03-28 Alan Modra <amodra@gmail.com>
22962
22963 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22964 Define as empty.
22965 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22966 Likewise.
22967
fbbe2b9a
AZ
229682013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22969
22970 [BZ #15214]
22971 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22972 underflow.
22973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22974
1728ab37
SP
229752013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22976
7a86be6e
SP
22977 [BZ #15304]
22978 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22979 Don't add gid passed as argument.
22980
1728ab37
SP
22981 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22982
3a7182a1
JM
229832013-03-27 Joseph Myers <joseph@codesourcery.com>
22984
22985 [BZ #15307]
22986 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22987 imaginary part between 1.0 and 1.5 and real part less than 0.5
22988 specially.
22989 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22990 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22991 * math/libm-test.inc (cacos_test): Add more tests.
22992 (casin_test): Likewise.
22993 (casinh_test): Likewise.
22994 * sysdeps/i386/fpu/libm-test-ulps: Update.
22995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22996
6f2e90e7
SP
229972013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22998
5739f705
SP
22999 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23000 constants.
23001 (norm): Likewise.
23002 (denorm): Likewise.
23003 (__dbl_mp): Likewise.
23004 (add_magnitudes): Likewise.
23005 (sub_magnitudes): Likewise.
23006 (__add): Likewise.
23007 (__sub): Likewise.
23008 (__mul): Likewise.
23009 (__sqr): Likewise.
23010 (__inv): Likewise.
23011 (__dvd): Likewise.
23012
e375e83d
SP
23013 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23014 commented code.
23015 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23016 (__dubcos): Likewise.
23017 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23018 (__ieee754_acos): Likewise.
23019 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23020 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23021 (__exp1): Likewise.
23022 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23023 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23024 (log1): Likewise.
23025 (my_log2): Likewise.
23026 (checkint): Likewise.
23027 * sysdeps/ieee754/dbl-64/e_remainder.c
23028 (__ieee754_remainder): Likewise.
23029 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23030 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23031 (bsloww): Likewise.
23032 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23033
6f2e90e7
SP
23034 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23035 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23036 MANTISSA_STORE_T to store computations on mantissa. Use
23037 macros for rounding and division.
23038 (denorm): Likewise.
23039 (__dbl_mp): Likewise.
23040 (add_magnitudes): Likewise.
23041 (sub_magnitudes): Likewise.
23042 (__mul): Likewise.
23043 (__sqr): Likewise.
23044 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23045 powers of two in terms of TWOPOW macro.
23046 (mp_no): Make type of mantissa as MANTISSA_T.
23047 [!RADIXI]: Define RADIXI.
23048 [!TWO52]: Define TWO52.
23049 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23050
fce14d4e
AZ
230512013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23052
23053 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23054 llroundl symbol when building for PPC32.
23055
9ad027fb
MW
230562013-03-24 Mark H Weaver <mhw@netris.org>
23057
23058 * manual/arith.texi (Normalization Functions): Fix prototypes for
23059 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23060
e42a38dd
AZ
230612013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23062
23063 [BZ #13889]
23064 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23065 high value to check if expl overflow.
23066 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23067 to check for underflow and overflow.
23068 * math/libm-test.inc: Add exp test.
23069
2e0fb521
DL
230702013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23071
23072 [BZ #11120]
23073 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23074 with NOT_IN_libc.
23075
b5784d95
AZ
230762013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23077
23078 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23079 symbol.
23080
5aa4a1a1
TS
230812013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23082
bdef0be7
TS
23083 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23084 wrap blocks consisting of several statements.
23085
5aa4a1a1
TS
23086 * sysdeps/generic/math-tests.h: New file.
23087 * sysdeps/i386/fpu/math-tests.h: Likewise.
23088 * math/test-snan.c: Include it.
23089 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23090
98c48fe5
JM
230912013-03-21 Joseph Myers <joseph@codesourcery.com>
23092
23093 [BZ #15285]
23094 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23095 (__ieee754_j0l): Do not improve calculations using cos of twice
23096 input for inputs above LDBL_MAX / 2.0L.
23097 (__ieee754_y0l): Likewise.
23098 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23099 (__ieee754_j1l): Do not improve calculations using cos of twice
23100 input for inputs above LDBL_MAX / 2.0L.
23101 (__ieee754_y1l): Likewise.
23102 * math/libm-test.inc (j0_test): Add another test.
23103 (j1_test): Likewise.
23104 (y0_test): Likewise.
23105 (y1_test): Likewise.
23106 * sysdeps/i386/fpu/libm-test-ulps: Update.
23107
3775a8bc
SP
231082013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23109
23110 * Rules ($(objpfx)bench-%.c): Include code from a C source
23111 file.
23112
0a1b2ae6
JM
231132013-03-21 Joseph Myers <joseph@codesourcery.com>
23114
23115 [BZ #15287]
23116 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23117 imaginary part 1.0 and real part less than 0.5 specially.
23118 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23119 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23120 * math/libm-test.inc (cacos_test): Add more tests.
23121 (casin_test): Likewise.
23122 (casinh_test): Likewise.
23123 * sysdeps/i386/fpu/libm-test-ulps: Update.
23124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23125
b33d4ce4
SP
231262013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23127
23128 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23129 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23130
bef0b507
JM
231312013-03-20 Joseph Myers <joseph@codesourcery.com>
23132
23133 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23134 * config.make.in (config-cflags-sse4): Remove variable.
23135 (config-cflags-avx): Likewise.
23136 (config-cflags-sse2avx): Likewise.
23137 (config-cflags-novzeroupper): Likewise.
23138 (config-asflags-i686): Likewise.
23139 (have-mfma4): Likewise.
23140 (have-as-vis3): Likewise.
23141 (MIG): Likewise.
23142 * configure.in (MIG): Do not AC_SUBST.
23143 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23144 (libc_cv_cc_sse4): Do not AC_SUBST.
23145 (libc_cv_cc_avx): Likewise.
23146 (libc_cv_cc_sse2avx): Likewise.
23147 (libc_cv_cc_novzeroupper): Likewise.
23148 (libc_cv_cc_fma4): Likewise.
23149 (libc_cv_as_i686): Likewise.
23150 (libc_cv_sparc_as_vis3): Likewise.
23151 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23152 LIBC_CONFIG_VAR.
23153 (config-asflags-i686): Likewise.
23154 (config-cflags-avx): Likewise.
23155 (config-cflags-sse2avx): Likewise.
23156 (have-mfma4): Likewise.
23157 (config-cflags-novzeroupper): Likewise.
23158 * sysdeps/mach/configure.in (MIG): Likewise.
23159 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23160 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23161 LIBC_CONFIG_VAR.
23162 (config-cflags-avx): Likewise.
23163 (config-cflags-sse2avx): Likewise.
23164 (have-mfma4): Likewise.
23165 (config-cflags-novzeroupper): Likewise.
23166 * configure: Regenerated.
23167 * sysdeps/i386/configure: Likewise.
23168 * sysdeps/mach/configure: Likewise.
23169 * sysdeps/sparc/configure: Likewise.
23170 * sysdeps/x86_64/configure: Likewise.
23171
912cc4b3
RM
231722013-03-20 Roland McGrath <roland@hack.frob.com>
23173
23174 [BZ #14812]
23175 * locale/programs/localedef.c (options): Put N_ translation marker
23176 on argument names, not just descriptions.
23177
04eed2b0
MS
231782013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23179
23180 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23181
a065ceff
OB
231822013-03-20 Ondřej Bílka <neleai@seznam.cz>
23183
9bb2a810 23184 [BZ #14176]
a065ceff
OB
23185 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23186
a600e5ce
RM
231872013-03-19 Roland McGrath <roland@hack.frob.com>
23188
23189 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23190 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23191 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23192 [!BEFORE_ABORT] (before_abort): New function.
23193 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23194 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23195 (writev_for_fatal): New function.
23196 (WRITEV_FOR_FATAL): New macro; call that.
23197 (backtrace_and_maps): New function.
23198 (BEFORE_ABORT): New macro; call that.
23199 (struct str_list): Type removed.
23200 (__libc_message, __libc_fatal): Functions removed.
23201 Include <sysdeps/posix/libc_fatal.c> instead.
23202
6b18bea6
JM
232032013-03-19 Joseph Myers <joseph@codesourcery.com>
23204
23205 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23206 constants.
23207 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23208 double constants.
23209
aaa8cb4b
AS
232102013-03-19 Andreas Schwab <schwab@suse.de>
23211
44673770
AS
23212 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23213 * sysdeps/gnu/configure: Regenerate.
23214
aaa8cb4b
AS
23215 * configure.in: Substitute libc_cv_rtlddir.
23216 * configure: Regenerate.
23217 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23218 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23219 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23220 * elf/Makefile (install-others, CFLAGS-interp.c)
23221 (ldso_install, common-ldd-rewrite): Likewise.
23222 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23223 $(inst_slibdir)/$(rtld-installed-name).
23224 * scripts/rellns-sh: Add -p option.
23225 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23226 for source.
23227
d3cfc668
SP
232282013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23229
23230 * manual/nptl.texi: Renamed to ...
23231 * manual/threads.texi: ... this.
23232 * manual/Makefile (chapters): Update.
23233
0e2b9cdd
RM
232342013-03-18 Roland McGrath <roland@hack.frob.com>
23235
23236 [BZ #14812]
23237 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23238 on argument names, not just descriptions.
0e2b9cdd
RM
23239 * malloc/memusagestat.c (options): Likewise.
23240 * nss/getent.c (options): Likewise.
63270c24
RM
23241
232422013-03-18 Benno Schulenberg <bensberg@justemail.net>
23243
23244 [BZ #14812]
23245 * iconv/iconv_prog.c (options): Put N_ translation marker
23246 on argument names, not just descriptions.
23247 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 23248
b2e1393c
OB
232492013-03-18 Ondrej Bilka <neleai@seznam.cz>
23250
23251 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23252 implementation which is faster on all x86_64 architectures.
23253 Tested on AMD, Intel Nehalem, SNB, IVB.
23254 * sysdeps/x86_64/strnlen.S: Likewise.
23255
23256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23257 Remove all multiarch strlen and strnlen versions.
23258 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23259 Remove strlen and strnlen related parts.
23260
23261 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23262 Inline strlen part.
23263 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23264
23265 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23266 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23267 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23268 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23269 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23270 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23271
ec4ff04d
CD
232722013-03-17 Carlos O'Donell <carlos@redhat.com>
23273
23274 * manual/memory.texi (Malloc Tunable Parameters):
23275 Sort parameters alphabetically. Add comments for missing entries.
23276
cd18e90a
DM
232772013-03-17 David S. Miller <davem@davemloft.net>
23278
23279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23280
2a185d32
JM
232812013-03-16 Joseph Myers <joseph@codesourcery.com>
23282
d2f9799e
JM
23283 [BZ #15283]
23284 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23285 for arguments at most half maximum finite value.
23286 * math/libm-test.inc (j0_test): Add more tests.
23287 (j1_test): Likewise.
23288 (y0_test): Likewise.
23289 (y1_test): Likewise.
23290 * sysdeps/i386/fpu/libm-test-ulps: Update.
23291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23292
2a185d32
JM
23293 [BZ #14155]
23294 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23295 1 / x and functions P and Q for arguments above 0x1p256L.
23296 (__ieee754_y0l): Likewise.
23297 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23298 (__ieee754_y1l): Likewise.
23299 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23300 (j1_test): Likewise.
23301 (y0_test): Likewise.
23302 (y1_test): Likewise.
23303
6cbec759
TS
233042013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23305
23306 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23307 variable.
23308
bc16e260
RM
233092013-03-15 Roland McGrath <roland@hack.frob.com>
23310
aefc9b8c
RM
23311 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23312 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23313 zero since it's initialized to EXEC_PAGESIZE.
23314
bc16e260
RM
23315 * sysdeps/unix/sysv/linux/ldsodefs.h
23316 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23317 * sysdeps/generic/ldsodefs.h: ... here.
23318
a57da955
TS
233192013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23320
af00a34d
TS
23321 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23322
495ded2c
TS
23323 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23324 math/test-snan.c.
23325 * math/test-snan.c: Renamed from
23326 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23327 * math/Makefile (tests): Add test-snan.
23328 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23329 test-powerpc-snan.
23330
777b0332
TS
23331 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23332 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23333 functions.
23334 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23335 __builtin_nan family of functions.
23336 * math/libm-test.inc (initialize): Initialize qnan_value with
23337 __builtin_nan family of functions.
23338 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23339 Remove variables.
23340 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23341 Remove functions.
23342 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23343 storage class. Initialize qNaN_var and sNaN_var with
23344 __builtin_nan and __builtin_nans families of functions,
23345 respectively.
23346
64d063b8
TS
23347 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23348 (sqrt_test): Remove duplicate test with qNaN input.
23349 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23350 (round_test, signbit_test, significand_test): Note missing +/-Inf
23351 as well as qNaN tests.
23352
67e971f1
TS
23353 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23354 qNaN_var. Fix a few strings, too.
23355 * math/libm-test.inc (nan_value): Rename to qnan_value.
23356 * math/gen-libm-test.pl (%beautify): Adjust to that.
23357 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23358 * math/test-misc.c (main): Likewise.
23359 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23360 to __qnan_bytes, and __qnan_union, respectively.
23361 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23362 Likewise.
23363 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23364 and lqnanval, respectively.
23365 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23366 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23367 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23368 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23369
64487e12
TS
23370 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23371 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23372 doubles.
23373
e015e27b
TS
23374 * math/test-misc.c (main): Fix copy'n'pastos.
23375 * misc/tst-efgcvt.c (special): Likewise.
23376
a57da955
TS
23377 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23378 Remove declarations.
23379
1e380345
SP
233802013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23381
23382 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23383 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23384 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23385 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23386
ef26eece
AZ
233872013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23388
23389 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23390 macro to return vdso values correctly in IFUNC implementations.
23391 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23392 Optimization by using IFUNC.
23393
8cfdb7e0
SP
233942013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23395 Richard Henderson <rth@redhat.com>
23396 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23397
23398 * Makefile.in (bench): New target.
23399 * NEWS: Mention the benchmark framework.
23400 * Rules (bench): Likewise.
23401 (binaries-bench): Generate binaries for functions to
23402 benchmark.
23403 * benchtests/Makefile: New makefile for benchmark tests.
23404 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23405 programs.
23406 * benchtests/exp-inputs: New input file for EXP function.
23407 * benchtests/pow-inputs: New input file for POW function.
23408 * scripts/bench.pl: New script to generate source files for
23409 benchmark programs.
23410
bcda9880
SP
234112013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23412
d22ca8cd
SP
23413 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23414 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23415 computations on mantissa. Use macros for rounding and
23416 division.
23417 (denorm): Likewise.
23418 (__dbl_mp): Likewise.
23419 (add_magnitudes): Likewise.
23420 (sub_magnitudes): Likewise.
23421 (__mul): Likewise.
23422 (__sqr): Likewise.
23423 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23424 powers of two in terms of TWOPOW macro.
23425 (mp_no): Make type of mantissa as MANTISSA_T.
23426 [!RADIXI]: Define RADIXI.
23427 [!TWO52]: Define TWO52.
23428 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23429
bcda9880
SP
23430 * manual/nptl.texi (cindex): Modify threads to pthreads.
23431
06d5adfb
JM
234322013-03-15 Joseph Myers <joseph@codesourcery.com>
23433
23434 * sysdeps/x86_64/preconfigure: Regenerated.
23435
41c7328e
JM
234362013-03-14 Joseph Myers <joseph@codesourcery.com>
23437
23438 [BZ #14155]
23439 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23440 0x1p28 and above.
23441 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23442 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23443 0x1p28 and above.
23444 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23445 * math/libm-test.inc (j0_test): Do not allow one spurious
23446 underflow exception.
23447 (y1_test): Likewise.
23448
e25cfa60
SP
234492013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23450
0409959c
SP
23451 * manual/Makefile (chapters): Add nptl.
23452 * manual/debug.texi (Debugging Support): Add link to Threads
23453 chapter.
23454 * manual/nptl.texi: New file.
23455
e25cfa60
SP
23456 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23457
58a1335e
PB
234582013-03-14 Petr Baudis <pasky@ucw.cz>
23459
23460 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23461 for non-NULL pointer before the memory validity test. Pointed
23462 out by Holger Brunck <holger.brunck@keymile.com>.
23463
9dc7c64f
AS
234642013-03-13 Andreas Schwab <schwab@suse.de>
23465
23466 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23467 instead of .os.
23468
54206aa6
JM
234692013-03-13 Joseph Myers <joseph@codesourcery.com>
23470
23471 * timezone/zic.c: Update from tzcode 2013b.
23472
e98cdb38
CD
234732013-03-12 Carlos O'Donell <carlos@redhat.com>
23474
23475 * manual/install.texi (Configuring and compiling):
23476 Mention i686 and i586.
23477 * INSTALL: Regenerate.
23478
9967e003
RM
234792013-03-12 Roland McGrath <roland@hack.frob.com>
23480
23481 * sysdeps/init_array/elf-init.c: New file.
23482 * csu/elf-init.c
23483 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23484 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23485
23486 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23487 __gmon_start__ as global, but as static with a .preinit_array pointer.
23488 * sysdeps/init_array/gmon-start.c: New file. Use that.
23489 * sysdeps/init_array/crti.S: New file, empty except for comments.
23490 * sysdeps/init_array/crtn.S: Likewise.
23491
e6b5a293 234922013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
23493
23494 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23495 definining bcopy.
80f844c9
OB
23496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23497 Remove Prefer_SSE_for_memop.
23498 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23499 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23500 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
23501 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23502 memset-x86-64.
80f844c9 23503 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 23504 Remove bzero, memset ifunc support.
80f844c9
OB
23505 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23506 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23507 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23508 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23509
fb6b0fcb
AS
235102013-03-11 Andreas Schwab <schwab@suse.de>
23511
23512 [BZ #15234]
23513 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23514 by SHLIB_COMPAT.
23515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23516 (GLIBC_2.16): Remove pthread_atfork.
23517
3e6bd4b1
PP
235182013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23519
23520 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23521 (ptestcases.h): Likewise.
23522
222d7f00
RM
235232013-03-08 Roland McGrath <roland@hack.frob.com>
23524
23525 * Makeconfig ($(common-objpfx)config.status): Depend on
23526 sysdeps/*/preconfigure{,.in} too.
23527
1ba4f030
JM
235282013-03-08 Joseph Myers <joseph@codesourcery.com>
23529
a222d91a
JM
23530 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23531 (__free_hook): Use void * instead of __malloc_ptr_t.
23532 (__malloc_hook): Likewise.
23533 (__realloc_hook): Likewise.
23534 (__memalign_hook): Likewise.
23535 (__after_morecore_hook): Likewise.
23536 * malloc/arena.c (save_malloc_hook): Likewise.
23537 (save_free_hook): Likewise.
23538 * malloc/hooks.c (malloc_hook_ini): Likewise.
23539 (realloc_hook_ini): Likewise.
23540 (memalign_hook_ini): Likewise.
23541 * malloc/malloc.c (malloc_hook_ini): Likewise.
23542 (realloc_hook_ini): Likewise.
23543 (memalign_hook_ini): Likewise.
23544 (__free_hook): Likewise.
23545 (__malloc_hook): Likewise.
23546 (__realloc_hook): Likewise.
23547 (__memalign_hook): Likewise.
23548 (__libc_malloc): Likewise.
23549 (__libc_free): Likewise.
23550 (__libc_realloc): Likewise.
23551 (__libc_memalign): Likewise.
23552 (__libc_valloc): Likewise.
23553 (__libc_pvalloc): Likewise.
23554 (__libc_calloc): Likewise.
23555 (__posix_memalign): Likewise.
23556 * malloc/morecore.c (__sbrk): Likewise.
23557 (__default_morecore): Likewise.
23558
5cc45e10
JM
23559 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23560
dd54b864
JM
23561 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23562 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23563 __malloc_ptrdiff_t.
23564
1ba4f030
JM
23565 * malloc/malloc.h (__malloc_size_t): Remove macro.
23566 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23567 __malloc_size_t.
23568 (old_memalign_hook): Likewise.
23569 (old_realloc_hook): Likewise.
23570 (struct hdr): Likewise.
23571 (flood): Likewise.
23572 (mallochook): Likewise.
23573 (memalignhook): Likewise.
23574 (reallochook): Likewise.
23575 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23576 (tr_old_realloc_hook): Likewise.
23577 (tr_old_memalign_hook): Likewise.
23578 (tr_mallochook): Likewise.
23579 (tr_reallochook): Likewise.
23580 (tr_memalignhook): Likewise.
23581
edf66e57
AZ
235822013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23583
23584 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23585 default_ldbl_pack and using as default implementation.
23586 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23587 implementation.
23588 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23589 redundant definition.
23590 (ldbl_insert_mantissa): Likewise.
23591 (ldbl_canonicalize): Likewise.
23592 (ldbl_nearbyint): Likewise.
23593 (ldbl_pack): Rename to ldbl_pack_ppc.
23594 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23595 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23596 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23597
6d9145d8
SP
235982013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23599
23600 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23601 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23602 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23603 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23605 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23606 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23607 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23608
4dd4e157
AJ
236092013-03-07 Andreas Jaeger <aj@suse.de>
23610
23611 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23612 bits/mman-linux.h.
23613
adbb8027
SP
236142013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23615
ce544b5b
SP
23616 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23617 Include mpa.h and declare __MPEXP.
23618 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23619 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23620 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23621 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23622 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23623 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23624 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23625
4cc149fd
SP
23626 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23627 (__slowpow): Use long double EXPL and LOGL functions to
23628 compute POW.
23629 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23630 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23631 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23632 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23633 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23634 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23635
e6ebd4a7
SP
23636 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23637 intermediate variable to calculate exponent.
23638 (__sqr): Likewise.
23639 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23640 Likewise.
23641 (__sqr): Likewise.
23642
82a9811d
SP
23643 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23644 [!NO__SQR]: Define __sqr.
23645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23646 and NO__SQR. Remove all code except __mul and __sqr. Include
23647 sysdeps/ieee754/dbl-64/mpa.c.
23648 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23649
adbb8027
SP
23650 [BZ #12723]
23651 * posix/Makefile (tests): Add tst-pathconf.
23652 * posix/tst-pathconf.c: New test case.
23653 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23654 _PC_PIPE_BUF.
23655 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23656
39120df9
PF
236572013-03-06 Patsy Franklin <pfrankli@redhat.com>
23658
23659 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23660
67525cb8
AJ
236612013-03-06 Andreas Jaeger <aj@suse.de>
23662
664a9ce4
AJ
23663 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23664 definition via __MAP_ANONYMOUS.
23665
8e39047d
AJ
23666 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23667 it's not part of Linux headers.
23668
67525cb8
AJ
23669 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23670 (MAP_HUGE_MASK): Define.
23671
23672 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23673 Define.
23674 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23675 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23676 Define.
23677 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23678 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23679 Define.
23680 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23681 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23682 Define.
23683 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23684
23685 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23686 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23687 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23688 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23689 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23690 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23691
23692 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23693 Handle f2fs.
23694
23695 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23696 Handle f2fs and efivarfs.
23697
23698 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23699 f2fs.
23700
23701 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23702 (EFIVARFS_MAGIC): Add.
23703 (F2FS_LINK_MAX): Add.
23704
e1b42695
PP
237052013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23706
23707 * stdio-common/vfprintf.c: Replace __builtin_expect with
23708 __glibc_unlikely.
23709
2d67d91a
JM
237102013-03-06 Joseph Myers <joseph@codesourcery.com>
23711
23712 [BZ #13550]
23713 * sysdeps/generic/bp-sym.h: Remove file.
23714 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23715 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23716 <bp-sym.h> and <bp-asm.h>.
23717 (__longjmp): Don't use BP_SYM.
23718 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23719 and <bp-asm.h>.
23720 (memcpy): Don't use BP_SYM.
23721 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23722 <bp-sym.h> and <bp-asm.h>.
23723 (memcpy): Don't use BP_SYM.
23724 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23725 <bp-asm.h>.
23726 (memcpy): Don't use BP_SYM.
23727 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23728 <bp-asm.h>.
23729 (memset): Don't use BP_SYM.
23730 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23731 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23732 (__bzero): Don't use BP_SYM.
23733 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23734 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23735 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23736 <bp-sym.h> and <bp-asm.h>.
23737 (memcmp): Don't use BP_SYM. Remove comment about bounded
23738 pointers.
23739 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23740 <bp-sym.h> and <bp-asm.h>.
23741 (memcpy): Don't use BP_SYM.
23742 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23743 <bp-sym.h> and <bp-asm.h>.
23744 (memset): Don't use BP_SYM.
23745 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23746 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23747 (__bzero): Don't use BP_SYM.
23748 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23749 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23750 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23751 <bp-sym.h> and <bp-asm.h>.
23752 (strncmp): Don't use BP_SYM. Remove comment about bounded
23753 pointers.
23754 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23755 <bp-sym.h> and <bp-asm.h>.
23756 (memcpy): Don't use BP_SYM.
23757 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23758 <bp-sym.h> and <bp-asm.h>.
23759 (memset): Don't use BP_SYM.
23760 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23761 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23762 (__bzero): Don't use BP_SYM.
23763 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23764 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23765 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23766 <bp-sym.h> and <bp-asm.h>.
23767 (__memchr): Don't use BP_SYM.
23768 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23769 <bp-sym.h> and <bp-asm.h>.
23770 (memcmp): Don't use BP_SYM. Remove comment about bounded
23771 pointers.
23772 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23773 <bp-sym.h> and <bp-asm.h>.
23774 (memcpy): Don't use BP_SYM.
23775 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23776 <bp-sym.h> and <bp-asm.h>.
23777 (__mempcpy): Don't use BP_SYM.
23778 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23779 <bp-sym.h> and <bp-asm.h>.
23780 (__memrchr): Don't use BP_SYM.
23781 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23782 <bp-sym.h> and <bp-asm.h>.
23783 (memset): Don't use BP_SYM.
23784 (__bzero): Likewise.
23785 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23786 <bp-sym.h> and <bp-asm.h>.
23787 (__rawmemchr): Don't use BP_SYM.
23788 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23789 <bp-sym.h> and <bp-asm.h>.
23790 (__STRCMP): Don't use BP_SYM.
23791 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23792 <bp-sym.h> and <bp-asm.h>.
23793 (strchr): Don't use BP_SYM.
23794 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23795 <bp-sym.h> and <bp-asm.h>.
23796 (__strchrnul): Don't use BP_SYM.
23797 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23798 <bp-sym.h> and <bp-asm.h>.
23799 (strlen): Don't use BP_SYM.
23800 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23801 <bp-sym.h> and <bp-asm.h>.
23802 (strncmp): Don't use BP_SYM. Remove comment about bounded
23803 pointers.
23804 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23805 <bp-sym.h> and <bp-asm.h>.
23806 (__strnlen): Don't use BP_SYM.
23807 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23808 <bp-sym.h> and <bp-asm.h>.
23809 (__GI__setjmp): Don't use BP_SYM.
23810 (_setjmp): Likewise.
23811 (__sigsetjmp): Likewise.
23812 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23813 (L(start_addresses)): Don't use BP_SYM.
23814 (_start): Likewise.
23815 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23816 <bp-asm.h>.
23817 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23818 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23819 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23820 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23821 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23822 <bp-asm.h>.
23823 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23824 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23825 about bounded pointers.
23826 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23827 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23828 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23829 <bp-asm.h>.
23830 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23831 about bounded pointers. Remove GKM FIXME comments.
23832 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23833 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23834 <bp-asm.h>.
23835 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23836 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23837 Remove GKM FIXME comments.
23838 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23839 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23840 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23841 <bp-asm.h>.
23842 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23843 about bounded pointers. Remove GKM FIXME comment.
23844 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23845 and <bp-asm.h>.
23846 (strncmp): Don't use BP_SYM. Remove comment about bounded
23847 pointers.
23848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23849 <bp-sym.h> and <bp-asm.h>.
23850 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23852 <bp-sym.h> and <bp-asm.h>.
23853 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23854 comment.
23855
cdcf361f
PP
238562013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23857
23858 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23859 call free(NULL).
23860
3c4a2b15
DM
238612013-03-05 David S. Miller <davem@davemloft.net>
23862
23863 * po/es.po: Update from translation team.
23864
cdcf361f 238652013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
23866
23867 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23868 <bits/mman-linux.h>.
23869 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23870 is fine.
23871 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23872 <bits/mman-linux.h> to end of file.
23873 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23874 is fine.
23875 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23876 <bits/mman-linux.h> to end of file.
23877 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23878 is fine.
23879 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23880 <bits/mman-linux.h> to end of file.
23881
23882 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23883 (MCL_CURRENT, MCL_FUTURE): Define here.
23884
5f67c04f
AK
238852013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23886
8a4473cc 23887 [BZ #15232]
5f67c04f
AK
23888 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23889 attribute_hidden.
23890 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23891
c3e94a95
AK
238922013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23893
23894 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23895 fourth parameter needed for rt_sigprocmask syscall.
23896 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23897 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23898 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23899 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23900 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23901 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23902
cfb6382a
JM
239032013-03-04 Joseph Myers <joseph@codesourcery.com>
23904
23905 [BZ #13550]
23906 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23907 comment about bounded pointers.
23908 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23909 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23910
539d8e01
AJ
239112013-03-04 Andreas Jaeger <aj@suse.de>
23912
23913 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23914 common definitions.
23915
23916 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23917 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23918 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23919 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23920 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
23921 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23922
2e167a70 239232013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
23924
23925 [BZ #15055]
23926 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23927 __ieee754_sqrl instead of __sqrl.
23928
68508633
JM
239292013-03-01 Joseph Myers <joseph@codesourcery.com>
23930
23931 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23932 * sysdeps/powerpc/fpu_control.h: ... here.
23933 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23934 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23935 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23936 * sysdeps/powerpc/bits/mathinline.h: ... here.
23937
7775448e
RM
239382013-03-01 Roland McGrath <roland@hack.frob.com>
23939
23940 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23941 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23942 to just [NEED_DL_SYSINFO_DSO].
23943 * elf/dl-support.c: Likewise.
23944 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23945 * elf/rtld.c (dl_main): Likewise.
23946 * elf/setup-vdso.h (setup_vdso): Likewise.
23947 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23948 * sysdeps/unix/sysv/linux/dl-sysdep.c
23949 (_dl_discover_osversion): Likewise.
23950
4e9b5995
CD
239512013-03-01 Carlos O'Donell <carlos@redhat.com>
23952
23953 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23954 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23955
e23872c8
SP
239562013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23957
e5c74c63
SP
23958 * NEWS: Mention libm performance improvements and non-x86 PI
23959 futex support.
23960
e23872c8
SP
23961 * csu/libc-start.c (__pthread_initialize_minimal): Change
23962 function arguments.
23963 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23964
b5510883
JM
239652013-02-28 Joseph Myers <joseph@codesourcery.com>
23966
23967 [BZ #13550]
23968 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23969 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23970 <bp-sym.h> and <bp-asm.h>.
23971 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23972 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23973 and <bp-asm.h>.
23974 (memcpy): Don't use BP_SYM.
23975 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23976 <bp-asm.h>.
23977 (__mpn_add_n): Don't use BP_SYM.
23978 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23979 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23980 and <bp-asm.h>.
23981 (__mpn_addmul_1): Don't use BP_SYM.
23982 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23983 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23984 <bp-sym.h>.
23985 (_setjmp): Don't use BP_SYM.
23986 (__novmx_setjmp): Likewise.
23987 (__GI__setjmp): Likewise.
23988 (__vmx_setjmp): Likewise.
23989 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23990 <bp-sym.h>.
23991 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23992 (__bzero): Don't use BP_SYM.
23993 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23994 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23995 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23996 <bp-sym.h> and <bp-asm.h>.
23997 (memcpy): Don't use BP_SYM.
23998 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23999 <bp-sym.h> and <bp-asm.h>.
24000 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24001 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24002 <bp-sym.h> and <bp-asm.h>.
24003 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24004 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24005 <bp-asm.h>.
24006 (__mpn_lshift): Don't use BP_SYM.
24007 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24008 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24009 <bp-asm.h>.
24010 (memset): Don't use BP_SYM.
24011 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24012 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24013 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24014 <bp-asm.h>.
24015 (__mpn_mul_1): Don't use BP_SYM.
24016 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24017 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24018 <bp-sym.h> and <bp-asm.h>.
24019 (memcmp): Don't use BP_SYM.
24020 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24021 <bp-sym.h> and <bp-asm.h>.
24022 (memcpy): Don't use BP_SYM.
24023 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24024 <bp-sym.h> and <bp-asm.h>.
24025 (memset): Don't use BP_SYM.
24026 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24027 <bp-sym.h> and <bp-asm.h>.
24028 (strncmp): Don't use BP_SYM.
24029 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24030 <bp-sym.h> and <bp-asm.h>.
24031 (memcpy): Don't use BP_SYM.
24032 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24033 <bp-sym.h> and <bp-asm.h>.
24034 (memset): Don't use BP_SYM.
24035 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24036 <bp-sym.h> and <bp-asm.h>.
24037 (__memchr): Don't use BP_SYM.
24038 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24039 <bp-sym.h> and <bp-asm.h>.
24040 (memcmp): Don't use BP_SYM.
24041 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24042 <bp-sym.h> and <bp-asm.h>.
24043 (memcpy): Don't use BP_SYM.
24044 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24045 <bp-sym.h> and <bp-asm.h>.
24046 (__mempcpy): Don't use BP_SYM.
24047 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24048 <bp-sym.h> and <bp-asm.h>.
24049 (__memrchr): Don't use BP_SYM.
24050 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24051 <bp-sym.h> and <bp-asm.h>.
24052 (memset): Don't use BP_SYM.
24053 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24054 <bp-sym.h> and <bp-asm.h>.
24055 (__rawmemchr): Don't use BP_SYM.
24056 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24057 <bp-sym.h> and <bp-asm.h>.
24058 (__STRCMP): Don't use BP_SYM.
24059 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24060 <bp-sym.h> and <bp-asm.h>.
24061 (strchr): Don't use BP_SYM.
24062 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24063 <bp-sym.h> and <bp-asm.h>.
24064 (__strchrnul): Don't use BP_SYM.
24065 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24066 <bp-sym.h> and <bp-asm.h>.
24067 (strlen): Don't use BP_SYM.
24068 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24069 <bp-sym.h> and <bp-asm.h>.
24070 (strncmp): Don't use BP_SYM.
24071 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24072 <bp-sym.h> and <bp-asm.h>.
24073 (__strnlen): Don't use BP_SYM.
24074 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24075 <bp-asm.h>.
24076 (__mpn_rshift): Don't use BP_SYM.
24077 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24078 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24079 <bp-sym.h> and <bp-asm.h>.
24080 (__sigsetjmp): Don't use BP_SYM.
24081 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24082 (L(start_addresses)): Don't use BP_SYM.
24083 (_start): Likewise.
24084 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24085 <bp-asm.h>.
24086 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24087 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24088 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24089 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24090 <bp-asm.h>.
24091 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24092 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24093 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24094 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24095 <bp-asm.h>.
24096 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24097 comments.
24098 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24099 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24100 <bp-asm.h>.
24101 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
24102 FIXME comments.
24103 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24104 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24105 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24106 <bp-asm.h>.
24107 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24108 comment.
24109 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24110 and <bp-asm.h>.
24111 (strncmp): Don't use BP_SYM,
24112 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24113 <bp-asm.h>.
24114 (__mpn_sub_n): Don't use BP_SYM.
24115 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24116 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24117 and <bp-asm.h>.
24118 (__mpn_submul_1): Don't use BP_SYM.
24119 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24121 <bp-sym.h> and <bp-asm.h>.
24122 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24124 <bp-sym.h> and <bp-asm.h>.
24125 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24126 comment.
24127
8d19fe64
SP
241282013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24129
24130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24131 Use ZK to minimize writes to Z.
24132 (sub_magnitudes): Simplify code a bit.
24133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24134 Use ZK to minimize writes to Z.
24135 (sub_magnitudes): Simplify code a bit.
24136
85bd816a
RM
241372013-02-27 Roland McGrath <roland@hack.frob.com>
24138
24139 * csu/gmon-start.c: Add special exception to license text.
24140
b5977bf2
RH
241412013-02-27 Richard Henderson <rth@redhat.com>
24142
24143 * scripts/config.guess: Update from config.git.
24144 * scripts/config.sub: Likewise.
24145
11d6e2f2
SP
241462013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24147
09c14ed2
SP
24148 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24149
a688864e
SP
24150 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24151
6295157a
SP
24152 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24153
b8de2202
SP
24154 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24155
11d6e2f2
SP
24156 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24157
7e80ddb8
RM
241582013-02-26 Roland McGrath <roland@hack.frob.com>
24159
24160 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24161 [$(build-shared = yes].
7e80ddb8 24162
7da6d9ed
SP
241632013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24164
45f05884
SP
24165 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24166 (__mul): Reduce iterations for calculating mantissa.
24167
2236d359
SP
24168 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24169 MPTWO.
24170 (__mpranred): Likewise.
24171
7da6d9ed
SP
24172 [BZ #15160]
24173 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24174 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24175
b7688c42
PE
241762013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24177
24178 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24179 Define __attribute__.
24180
53a5c423
SP
241812013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24182
24183 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24184 unused.
24185 * posix/regex_internal.h (__attribute): Remove.
24186 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24187 (re_string_context_at): Likewise.
24188 (bitset_not): Use __attribute__ and mark function as possibly
24189 unused.
24190 (bitset_merge): Likewise.
24191 (bitset_mask): Likewise.
24192 (re_string_char_size_at): Likewise.
24193 (re_string_wchar_at): Likewise.
24194 (re_string_elem_size_at): Likewise.
24195
60f5a8b5
SP
241962013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24197
2a983a2e
SP
24198 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24199 code.
24200 (cc32): Likewise.
24201
e69804d1
SP
24202 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24203 (__acr): Likewise.
24204 (__cpy): Likewise.
24205 (norm): Likewise.
24206 (denorm): Likewise.
24207 (__dbl_mp): Likewise.
24208 (add_magnitudes): Likewise.
24209 (sub_magnitudes): Likewise.
24210 (__mul): Likewise.
24211 (__inv): Likewise.
24212
2f22a1e8
SP
24213 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24214 style.
24215
8930ddc7
SP
24216 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24217 style.
24218
dc60cb11
SP
24219 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24220 code.
24221
60f5a8b5
SP
24222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24223 up changes with default code.
24224 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24225 Likewise.
24226
b4d1fd33
AM
242272013-02-24 Allan McRae <allan@archlinux.org>
24228
faf6f8bc
AM
24229 * manual/socket.texi (The Internet Namespace): Order menu items
24230 to match that in the file.
24231
b4d1fd33
AM
24232 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24233 node listing of the info page menu.
24234
2366713d
JM
242352013-02-21 Joseph Myers <joseph@codesourcery.com>
24236
24237 [BZ #13550]
24238 * sysdeps/i386/bp-asm.h: Remove file.
24239 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24240 (PARMS): Do not use macros from bp-asm.h.
24241 (S1): Likewise.
24242 (S2): Likewise.
24243 (SIZE): Likewise.
24244 (__mpn_add_n): Do not use BP_SYM
24245 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24246 "bp-asm.h".
24247 (PARMS): Do not use macros from bp-asm.h.
24248 (S1): Likewise.
24249 (SIZE): Likewise.
24250 (__mpn_addmul_1): Do not use BP_SYM
24251 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24252 "bp-asm.h".
24253 (PARMS): Do not use macros from bp-asm.h.
24254 (SIGMSK): Likewise.
24255 (_setjmp): Likewise. Do not use BP_SYM.
24256 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24257 "bp-asm.h".
24258 (PARMS): Do not use macros from bp-asm.h.
24259 (SIGMSK): Likewise.
24260 (setjmp): Likewise. Do not use BP_SYM.
24261 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24262 "bp-asm.h".
24263 (PARMS): Do not use macros from bp-asm.h.
24264 (__frexp): Do not use BP_SYM.
24265 (frexp): Likewise.
24266 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24267 "bp-asm.h".
24268 (PARMS): Do not use macros from bp-asm.h.
24269 (__frexpf): Do not use BP_SYM.
24270 (frexpf): Likewise.
24271 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24272 "bp-asm.h".
24273 (PARMS): Do not use macros from bp-asm.h.
24274 (__frexpl): Do not use BP_SYM.
24275 (frexpl): Likewise.
24276 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24277 "bp-asm.h".
24278 (PARMS): Do not use macros from bp-asm.h.
24279 (__remquo): Do not use BP_SYM.
24280 (remquo): Likewise.
24281 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24282 "bp-asm.h".
24283 (PARMS): Do not use macros from bp-asm.h.
24284 (__remquof): Do not use BP_SYM.
24285 (remquof): Likewise.
24286 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24287 "bp-asm.h".
24288 (PARMS): Do not use macros from bp-asm.h.
24289 (__remquol): Do not use BP_SYM.
24290 (remquol): Likewise.
24291 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24292 "bp-asm.h".
24293 (PARMS): Do not use macros from bp-asm.h.
24294 (DEST): Likewise.
24295 (SRC): Likewise.
24296 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24297 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24298 "bp-asm.h".
24299 (PARMS): Do not use macros from bp-asm.h.
24300 (strlen): Do not use BP_SYM.
24301 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24302 "bp-asm.h".
24303 (PARMS): Do not use macros from bp-asm.h.
24304 (S1): Likewise.
24305 (S2): Likewise.
24306 (SIZE): Likewise.
24307 (__mpn_add_n): Do not use BP_SYM.
24308 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24309 "bp-asm.h".
24310 (PARMS): Do not use macros from bp-asm.h.
24311 (S1): Likewise.
24312 (SIZE): Likewise.
24313 (__mpn_addmul_1): Do not use BP_SYM.
24314 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24315 weak_alias.
24316 (bzero): Likewise.
24317 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24318 "bp-asm.h".
24319 (PARMS): Do not use macros from bp-asm.h.
24320 (S): Likewise.
24321 (SIZE): Likewise.
24322 (__mpn_lshift): Do not use BP_SYM.
24323 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24324 "bp-asm.h".
24325 (PARMS): Do not use macros from bp-asm.h.
24326 (DEST): Likewise.
24327 (SRC): Likewise.
24328 (LEN): Likewise.
24329 (memcpy): Likewise. Do not use BP_SYM.
24330 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24331 libc_hidden_def and weak_alias.
24332 (mempcpy): Do not use BP_SYM in weak_alias.
24333 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24334 "bp-asm.h".
24335 (PARMS): Do not use macros from bp-asm.h.
24336 (DEST): Likewise.
24337 (LEN): Likewise.
24338 [!BZERO_P] (CHR): Likewise.
24339 (memset): Likewise. Do not use BP_SYM.
24340 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24341 "bp-asm.h".
24342 (PARMS): Do not use macros from bp-asm.h.
24343 (S1): Likewise.
24344 (SIZE): Likewise.
24345 (__mpn_mul_1): Do not use BP_SYM.
24346 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24347 "bp-asm.h".
24348 (PARMS): Do not use macros from bp-asm.h.
24349 (S): Likewise.
24350 (SIZE): Likewise.
24351 (__mpn_rshift): Do not use BP_SYM.
24352 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24353 "bp-asm.h".
24354 (PARMS): Do not use macros from bp-asm.h.
24355 (STR): Likewise.
24356 (CHR): Likewise.
24357 (strchr): Likewise. Do not use BP_SYM.
24358 (index): Do not use BP_SYM in weak_alias.
24359 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24360 "bp-asm.h".
24361 (PARMS): Do not use macros from bp-asm.h.
24362 (DEST): Likewise.
24363 (SRC): Likewise.
24364 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24365 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24366 "bp-asm.h".
24367 (PARMS): Do not use macros from bp-asm.h.
24368 (strlen): Do not use BP_SYM.
24369 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24370 "bp-asm.h".
24371 (PARMS): Do not use macros from bp-asm.h.
24372 (S1): Likewise.
24373 (S2): Likewise.
24374 (SIZE): Likewise.
24375 (__mpn_sub_n): Do not use BP_SYM.
24376 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24377 "bp-asm.h".
24378 (PARMS): Do not use macros from bp-asm.h.
24379 (S1): Likewise.
24380 (SIZE): Likewise.
24381 (__mpn_submul_1): Do not use BP_SYM.
24382 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24383 "bp-asm.h".
24384 (PARMS): Do not use macros from bp-asm.h.
24385 (S1): Likewise.
24386 (S2): Likewise.
24387 (SIZE): Likewise.
24388 (__mpn_add_n): Do not use BP_SYM.
24389 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24390 weak_alias.
24391 (bzero): Likewise.
24392 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24393 "bp-asm.h".
24394 (PARMS): Do not use macros from bp-asm.h.
24395 (BLK2): Likewise.
24396 (LEN): Likewise.
24397 (memcmp): Do not use BP_SYM.
24398 (bcmp): Do not use BP_SYM in weak_alias.
24399 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24400 "bp-asm.h".
24401 (PARMS): Do not use macros from bp-asm.h.
24402 (DEST): Likewise.
24403 (SRC): Likewise.
24404 (LEN): Likewise.
24405 (memcpy): Likewise. Do not use BP_SYM.
24406 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24407 "bp-asm.h".
24408 (PARMS): Do not use macros from bp-asm.h.
24409 (DEST): Likewise.
24410 (SRC): Likewise.
24411 (LEN): Likewise.
24412 (memmove): Likewise. Do not use BP_SYM.
24413 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24414 "bp-asm.h".
24415 (PARMS): Do not use macros from bp-asm.h.
24416 (DEST): Likewise.
24417 (SRC): Likewise.
24418 (LEN): Likewise.
24419 (__mempcpy): Likewise. Do not use BP_SYM.
24420 (mempcpy): Do not use BP_SYM in weak_alias.
24421 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24422 "bp-asm.h".
24423 (PARMS): Do not use macros from bp-asm.h.
24424 (DEST): Likewise.
24425 (LEN): Likewise.
24426 [!BZERO_P] (CHR): Likewise.
24427 (memset): Likewise. Do not use BP_SYM.
24428 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24429 "bp-asm.h".
24430 (PARMS): Do not use macros from bp-asm.h.
24431 (STR2): Likewise.
24432 (strcmp): Do not use BP_SYM.
24433 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24434 "bp-asm.h".
24435 (PARMS): Do not use macros from bp-asm.h.
24436 (STR): Likewise.
24437 (DELIM): Likewise.
24438 [USE_AS_STRTOK_R] (SAVE): Likewise.
24439 (FUNCTION): Likewise. Do not use BP_SYM.
24440 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24441 aliases.
24442 (strtok_r): Likewise.
24443 (__GI___strtok_r): Likewise.
24444 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24445 (PARMS): Do not use macros from bp-asm.h.
24446 (S): Likewise.
24447 (SIZE): Likewise.
24448 (__mpn_lshift): Do not use BP_SYM.
24449 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24450 (PARMS): Do not use macros from bp-asm.h.
24451 (STR): Likewise.
24452 (CHR): Likewise.
24453 (__memchr): Do not use BP_SYM.
24454 (memchr): Do not use BP_SYM in weak_alias.
24455 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24456 (PARMS): Do not use macros from bp-asm.h.
24457 (BLK2): Likewise.
24458 (LEN): Likewise.
24459 (memcmp): Do not use BP_SYM.
24460 (bcmp): Do not use BP_SYM in weak_alias.
24461 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24462 (PARMS): Do not use macros from bp-asm.h.
24463 (S1): Likewise.
24464 (SIZE): Likewise.
24465 (__mpn_mul_1): Do not use BP_SYM.
24466 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24467 "bp-asm.h".
24468 (PARMS): Do not use macros from bp-asm.h.
24469 (STR): Likewise.
24470 (CHR): Likewise.
24471 (__rawmemchr): Do not use BP_SYM.
24472 (rawmemchr): Do not use BP_SYM in weak_alias.
24473 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24474 (PARMS): Do not use macros from bp-asm.h.
24475 (S): Likewise.
24476 (SIZE): Likewise.
24477 (__mpn_rshift): Do not use BP_SYM.
24478 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24479 (PARMS): Do not use macros from bp-asm.h.
24480 (SIGMSK): Likewise.
24481 (__sigsetjmp): Likewise. Do not use BP_SYM.
24482 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24483 (_start): Do not use BP_SYM.
24484 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24485 (PARMS): Do not use macros from bp-asm.h.
24486 (DEST): Likewise.
24487 (SRC): Likewise.
24488 (__stpcpy): Likewise. Do not use BP_SYM.
24489 (stpcpy): Do not use BP_SYM in weak_alias.
24490 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24491 "bp-asm.h".
24492 (PARMS): Do not use macros from bp-asm.h.
24493 (DEST): Likewise.
24494 (SRC): Likewise.
24495 (LEN): Likewise.
24496 (__stpncpy): Likewise. Do not use BP_SYM.
24497 (stpncpy): Do not use BP_SYM in weak_alias.
24498 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24499 (PARMS): Do not use macros from bp-asm.h.
24500 (STR): Likewise.
24501 (CHR): Likewise.
24502 (strchr): Likewise. Do not use BP_SYM.
24503 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24504 "bp-asm.h".
24505 (PARMS): Do not use macros from bp-asm.h.
24506 (STR): Likewise.
24507 (CHR): Likewise.
24508 (__strchrnul): Likewise. Do not use BP_SYM.
24509 (strchrnul): Do not use BP_SYM in weak_alias.
24510 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24511 "bp-asm.h".
24512 (PARMS): Do not use macros from bp-asm.h.
24513 (STOP): Likewise.
24514 (strcspn): Do not use BP_SYM.
24515 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24516 "bp-asm.h".
24517 (PARMS): Do not use macros from bp-asm.h.
24518 (STR): Likewise.
24519 (STOP): Likewise.
24520 (strpbrk): Likewise. Do not use BP_SYM.
24521 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24522 "bp-asm.h".
24523 (PARMS): Do not use macros from bp-asm.h.
24524 (STR): Likewise.
24525 (CHR): Likewise.
24526 (strrchr): Likewise. Do not use BP_SYM.
24527 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24528 (PARMS): Do not use macros from bp-asm.h.
24529 (SKIP): Likewise.
24530 (strspn): Do not use BP_SYM.
24531 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24532 (PARMS): Do not use macros from bp-asm.h.
24533 (STR): Likewise.
24534 (DELIM): Likewise.
24535 (SAVE): Likewise.
24536 (FUNCTION): Likewise. Do not use BP_SYM.
24537 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24538 aliases.
24539 (strtok_r): Likewise.
24540 (__GI___strtok_r): Likewise.
24541 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24542 (PARMS): Do not use macros from bp-asm.h.
24543 (S1): Likewise.
24544 (S2): Likewise.
24545 (SIZE): Likewise.
24546 (__mpn_sub_n): Do not use BP_SYM.
24547 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24548 "bp-asm.h".
24549 (PARMS): Do not use macros from bp-asm.h.
24550 (S1): Likewise.
24551 (SIZE): Likewise.
24552 (__mpn_submul_1): Do not use BP_SYM.
24553 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24554 <bp-sym.h>.
24555 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24556 and <bp-asm.h>.
24557 (PARMS): Do not use macros from bp-asm.h.
24558 (FLAGS): Likewise.
24559 (PTID): Likewise.
24560 (TLS): Likewise.
24561 (CTID): Likewise.
24562 (__clone): Do not use BP_SYM.
24563 (clone): Do not use BP_SYM in weak_alias.
24564 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24565 and <bp-asm.h>.
24566 (PARMS): Do not use macros from bp-asm.h.
24567 (LEN): Likewise.
24568 (__mmap64): Do not use BP_SYM.
24569 (mmap64): Do not use BP_SYM in weak_alias.
24570 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24571 <bp-sym.h> and <bp-asm.h>.
24572 (PARMS): Do not use macros from bp-asm.h.
24573 (__posix_fadvise64_l64): Do not use BP_SYM.
24574 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24575 (PARMS): Do not use macros from bp-asm.h.
24576 (NSOPS): Likewise.
24577 (semtimedop): Do not use BP_SYM.
24578 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24579 and <bp-asm.h>.
24580
582a3cff
AM
245812013-02-21 Allan McRae <allan@archlinux.org>
24582
24583 * manual/message.texi (Charset conversion in gettext):
24584 Move @end statement to beginning of line.
24585
bab8a695
SP
245862013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24587
80945231
SP
24588 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24589 static.
24590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24591 Likewise.
24592
bab8a695
SP
24593 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24594 (denorm): Likewise.
24595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24597
e21d7aa7
AK
245982013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24599
24600 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24601 tail-call to the resolved function if pltexit isn't needed.
24602
4c7a4263
SP
246032013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24604
24605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24606 or Y being zero as being unlikely.
24607 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24608 Likewise.
24609
41f49342
CD
246102013-02-20 Carlos O'Donell <carlos@redhat.com>
24611
24612 * manual/nss.texi (System Databases and Name Service Switch):
24613 Remove frobnicate @pxref.
24614
50022a93
TS
246152013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24616
24617 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24618 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24619
08cbd996
PM
246202013-02-20 Petr Machata <pmachata@redhat.com>
24621
24622 * elf/elf.h (R_ARM_TARGET1): New macro.
24623 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24624 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24625 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24626 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24627 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24628 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24629 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24630 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24631 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24632 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24633 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24634 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24635 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24636 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24637 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24638 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24639 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24640 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24641 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24642 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24643 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24644 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24645 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24646 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24647 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24648 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24649 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24650 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24651 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24652 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24653 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24654 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24655 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24656 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24657 (R_ARM_THM_GOT_BREL12): Likewise.
24658 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24659 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24660 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24661 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24662 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24663 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24664 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24665 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24666 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24667
c7b275d6
TS
246682013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24669
24670 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24671 __attribute_used__ to __attribute__ ((unused)).
24672
20cd7fb3
SP
246732013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24674
24675 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24676 powerpc mpa.c.
24677 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24678 comment formatting.
24679 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24680
92945b52
JM
246812013-02-19 Joseph Myers <joseph@codesourcery.com>
24682
24683 [BZ #13550]
24684 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24685 Remove macro.
24686 (ENTER): Remove both macro definitions.
24687 (LEAVE): Likewise.
24688 (CHECK_BOUNDS_LOW): Likewise.
24689 (CHECK_BOUNDS_HIGH): Likewise.
24690 (CHECK_BOUNDS_BOTH): Likewise.
24691 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24692 (RETURN_BOUNDED_POINTER): Likewise.
24693 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24694 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24695 (POP_ERRNO_LOCATION_RETURN): Likewise.
24696 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24697 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24698 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24699 macros.
24700 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24701 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24702 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24703 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24704 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24705 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24706 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24707 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24708 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24709 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24710 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24711 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24712 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24713 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24714 removed macros.
24715 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24716 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24717 macros.
24718 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24719 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24720 * sysdeps/i386/i586/memset.S (memset): Likewise.
24721 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24722 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24723 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24724 macros.
24725 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24726 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24727 Change uses of L(2) to L(out).
24728 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24729 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24730 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24731 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24732 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24733 removed macros.
24734 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24735 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24736 macros.
24737 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24738 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24739 (RETURN): Do not use macro LEAVE.
24740 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24741 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24742 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24743 * sysdeps/i386/i686/memset.S (memset): Likewise.
24744 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24745 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24746 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24747 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24748 Likewise.
24749 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24750 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24751 L(1_2) and L(1_3) into L(1).
24752 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24753 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24754 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24755 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24756 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24757 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24758 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24759 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24760 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24761 macros.
24762 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24763 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24764 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24765 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24766 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24767 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24768 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24769 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24770 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24771 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24772 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24773 * sysdeps/i386/strspn.S (strspn): Likewise.
24774 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24775 conditional code.
24776 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24777 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24778 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24779 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24780 L(1_3) into L(1_1).
24781 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24782 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24783 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24784 macros.
24785 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24786
2389741a
JJ
247872013-02-19 Jakub Jelinek <jakub@redhat.com>
24788
24789 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24790 macro.
24791
2016b3cd
SP
247922013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24793
e4f22324
SP
24794 * math/atest-exp.c (exp_mpn): Remove ROUND.
24795 * math/atest-exp2.c (exp_mpn): Likewise.
24796 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24797
2016b3cd
SP
24798 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24799 * stdlib/tst-tls-atexit-lib.c: Likewise.
24800 * stdlib/tst-tls-atexit.c: Likewise.
24801
4be9b544
MF
248022013-02-18 Mike Frysinger <vapier@gentoo.org>
24803
24804 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24805 and __attribute_alloc_size__.
24806
2f62b9ee
MF
248072013-02-18 Mike Frysinger <vapier@gentoo.org>
24808
24809 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24810 __attribute_alloc_size__.
24811 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24812 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24813
6ff444c4
MF
248142013-02-18 Mike Frysinger <vapier@gentoo.org>
24815
24816 * include/programs/xmalloc.h: New file.
24817 * catgets/gencat.c: Include it.
24818 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24819 * elf/pldd.c: Likewise.
24820 * iconv/iconv_charmap.c: Likewise.
24821 * iconv/iconvconfig.c: Likewise.
24822 * iconv/strtab.c: Likewise.
24823 * locale/programs/locale.c: Likewise.
24824 * locale/programs/localedef.h: Likewise.
24825 * locale/programs/simple-hash.c: Likewise.
24826 * nscd/nscd.h: Likewise.
24827 * nss/makedb.c: Likewise.
24828 * sysdeps/generic/ldconfig.h: Likewise.
24829
be179c8a
SP
248302013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24831
ba384f6e
SP
24832 * Versions.def: Add GLIBC_2.18.
24833 * include/link.h (struct link_map): New member l_tls_dtor_count.
24834 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24835 (__call_tls_dtors): Likewise.
24836 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24837 __cxa_thread_atexit_impl.
24838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24839 Likewise.
24840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24841 Likewise.
24842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24843 Likewise.
24844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24845 Likewise.
24846 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24848 Likewise.
24849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24850 Likewise.
24851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24853 Likewise.
24854 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24855 (tests): Add test case tst-tls-atexit.
24856 (modules-names): Add shared library for tst-tls-atexit.
85891aca 24857 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
24858 (GLIBC_PRIVATE): Add __call_tls_dtors.
24859 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24860 for libstdc++.
24861 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24862 * stdlib/tst-tls-atexit.c: New test case.
24863 * stdlib/tst-tls-atexit-lib.c: New test case.
24864
ffaa74cf 24865 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 24866
be179c8a
SP
24867 * elf/Versions (ld): Add _dl_find_dso_for_object.
24868 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24869 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24870 (dl_open_worker): Use _dl_find_dso_for_object.
24871 * elf/dl-sym.c (do_sym): Likewise.
24872 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24873
f78b5caa
AK
248742013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24875
24876 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24877 Syntactic changes only.
24878 (_dl_runtime_profile): Do a tail-call to the resolved function.
24879
29691210
JM
248802013-02-17 Joseph Myers <joseph@codesourcery.com>
24881
24882 [BZ #13550]
24883 * sysdeps/x86_64/bp-asm.h: Remove file.
24884 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24885 <bp-sym.h> and <bp-asm.h>.
24886 (__clone): Do not use BP_SYM.
24887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24888 <bp-sym.h> and <bp-asm.h>.
24889 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24890 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24891 "bp-asm.h".
24892 (_setjmp): Do not use BP_SYM.
24893 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24894 "bp-asm.h".
24895 (setjmp): Do not use BP_SYM.
24896 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24897 libc_hidden_def.
24898 (mempcpy): Do not use BP_SYM in weak_alias.
24899 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24900 "bp-asm.h".
24901 (strchr): Do not use BP_SYM.
24902 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24903 "bp-asm.h".
24904 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24905 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24906 (_start): Do not use BP_SYM.
24907 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24908 "bp-asm.h".
24909 (strcat): Do not use BP_SYM.
24910 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24911 "bp-asm.h".
24912 (STRCMP): Do not use BP_SYM.
24913 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24914 "bp-asm.h".
24915 (STRCPY): Do not use BP_SYM.
24916 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24917 "bp-asm.h".
24918 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24919 "bp-asm.h".
24920 (FUNCTION): Do not use BP_SYM.
24921 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24922 weak_alias.
24923 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24924
f238fd19
AJ
249252013-02-17 Andreas Jaeger <aj@suse.de>
24926
24927 * time/Versions: Sort entries.
24928 * string/Versions: Likewise.
24929 * resolv/Versions: Likewise.
24930 * posix/Versions: Likewise.
24931 * iconv/Versions: Likewise.
24932 * elf/Versions: Likewise.
24933 * wcsmbs/Versions: Likewise.
24934
bd07f23c 249352013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 24936
22af19f9
SP
24937 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24938 loop termination condition.
24939
4709fe76
SP
24940 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24941 variable to calculate EZ.
24942 (__sqr): Likewise.
2d0e0f29
SP
24943
24944 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24945 the lower precision input.
24946
daaa7713
JM
249472013-02-15 Joseph Myers <joseph@codesourcery.com>
24948
24949 [BZ #13550]
24950 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24951 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24952 (run-via-rtld-prefix): Do not handle %-bp tests.
24953 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24954 (all-object-suffixes): Remove .ob.
24955 (bppfx): Remove variable.
24956 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24957 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24958 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24959 [$(build-bounded) = yes] (libtype.ob): Likewise.
24960 * Makerules (elide-routines.ob): Remove variable.
24961 (do-tests-clean): Do not handle *-bp.out.
24962 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24963 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24964 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24965 (tests): Do not include $(tests-bp.out).
24966 (xtests): Do not include $(xtests-bp.out).
24967 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24968 [$(build-bounded) = yes] ($(addprefix
24969 $(objpfx),$(binaries-bounded))): Remove rule.
24970 ($(objpfx)%-bp.out): Remove rule.
24971 * config.make.in (build-bounded): Remove variable.
24972 * crypt/Makefile [$(build-bounded) = yes]
24973 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24974 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24975 append to variable.
24976 [$(build-bounded) = yes] (install-lib): Likewise.
24977 [$(build-bounded) = yes] (generated): Likewise.
24978 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24979 Remove rule.
24980 * intl/Makefile [$(build-bounded) = yes]
24981 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24982 * math/Makefile [$(build-bounded) = yes]
24983 ($(tests:%=$(objpfx)%-bp): Likewise.
24984 * misc/Makefile [$(build-bounded) = yes]
24985 ($(objpfx)tst-tsearch-bp): Likewise.
24986 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24987 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24988 Remove dependency.
24989 * string/Makefile (o-objects.ob): Remove variable.
24990 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24991 (CFLAGS-.ob): Remove variable.
24992 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24993 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24994 both definitions of variable.
24995 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24996 (ASFLAGS-.ob): Remove variable.
24997
e97ed6dd
JM
249982013-02-14 Joseph Myers <joseph@codesourcery.com>
24999
2bdd4ca6
JM
25000 [BZ #13550]
25001 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25002 Remove __BOUNDED_POINTERS__ from condition.
25003 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25004 * string/bits/string2.h [!__NO_STRING_INLINES &&
25005 !__BOUNDED_POINTERS__]: Likewise.
25006 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25007 Likewise.
25008 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25009 Remove conditional code.
25010 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25011 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25012 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25013 condition.
25014
e97ed6dd
JM
25015 [BZ #13550]
25016 * csu/libc-start.c: Do not include <bp-sym.h>.
25017 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25018 * elf/dl-open.c: Do not include <bp-sym.h>.
25019 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25020 * math/fegetenv.c: Do not include <bp-sym.h>.
25021 (fegetenv): Do not use BP_SYM in versioned symbols.
25022 * nptl/sysdeps/pthread/bits/libc-lockP.h
25023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25024 <bp-sym.h>.
25025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25026 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25028 (__pthread_mutex_destroy): Likewise.
25029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25030 (__pthread_mutex_lock): Likewise.
25031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25032 (__pthread_mutex_trylock): Likewise.
25033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25034 (__pthread_mutex_unlock): Likewise.
25035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25036 (__pthread_mutexattr_init): Likewise.
25037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25038 (__pthread_mutexattr_destroy): Likewise.
25039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25040 (__pthread_mutexattr_settype): Likewise.
25041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25042 (__pthread_rwlock_init): Likewise.
25043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25044 (__pthread_rwlock_destroy): Likewise.
25045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25046 (__pthread_rwlock_rdlock): Likewise.
25047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25048 (__pthread_rwlock_tryrdlock): Likewise.
25049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25050 (__pthread_rwlock_wrlock): Likewise.
25051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25052 (__pthread_rwlock_trywrlock): Likewise.
25053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25054 (__pthread_rwlock_unlock): Likewise.
25055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25056 (__pthread_key_create): Likewise.
25057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25058 (__pthread_setspecific): Likewise.
25059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25060 (__pthread_getspecific): Likewise.
25061 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25062 Likewise.
25063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25064 (_pthread_cleanup_push_defer): Likewise.
25065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25066 (_pthread_cleanup_pop_restore): Likewise.
25067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25068 (pthread_setcancelstate): Likewise.
25069 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25070 <bp-sym.h>.
25071 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25072 (memchr): Do not use BP_SYM in weak_alias.
25073 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25074 (fegetenv): Do not use BP_SYM in versioned symbols.
25075 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25076 (fesetenv): Do not use BP_SYM in versioned symbols.
25077 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25078 (feupdateenv): Do not use BP_SYM in versioned symbols.
25079 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25080 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25081 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25082 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25083 (open64): Do not use BP_SYM in weak_alias.
25084 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25085 (fegetenv): Do not use BP_SYM in versioned symbols.
25086 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25087 (fesetenv): Do not use BP_SYM in versioned symbols.
25088 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25089 (feupdateenv): Do not use BP_SYM in versioned symbols.
25090 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25091 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25092 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25093 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25094 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25095 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25096 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25097 <bp-sym.h>.
25098 (__libc_start_main): Do not use BP_SYM.
25099
d6752ccd
SP
251002013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25101
cb57ce60
SP
25102 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25103 redundant return line.
25104 (norm): Likewise.
25105 (denorm): Likewise.
25106 (dbl_mp): Likewise.
25107 (sub_magnitudes): Likewise.
25108 (__add): Likewise.
25109 (__sub): Likewise.
25110 (__mul): Likewise.
25111 (__inv): Likewise.
25112 (__dvd): Likewise.
25113 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25114 (norm): Likewise.
25115 (denorm): Likewise.
25116 (dbl_mp): Likewise.
25117 (sub_magnitudes): Likewise.
25118 (__add): Likewise.
25119 (__sub): Likewise.
25120 (__mul): Likewise.
25121 (__inv): Likewise.
25122 (__dvd): Likewise.
25123
f414520d
SP
25124 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25125 instead of __mul.
25126 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25127 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25128 (cc32): Likewise.
25129
d6752ccd
SP
25130 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25131 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25132 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25133 of __mul for squares.
25134 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25135 function
25136 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25137 Likewise.
25138 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25139 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25140
70d9946a
JM
251412013-02-13 Joseph Myers <joseph@codesourcery.com>
25142
25143 [BZ #13550]
25144 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25145 code.
25146 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25147 prototype or function definition. Rename ubp_* variables and
25148 parameters. Remove argv definitions conditional on
25149 [__BOUNDED_POINTERS__].
25150 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25151 * elf/dl-runtime.c (_dl_fixup): Likewise.
25152 * include/set-hooks.h (RUN_HOOK): Likewise.
25153 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25154 definition.
25155 * string/strcpy.c (strcpy): Do not use __unbounded.
25156 * sysdeps/generic/frame.h (struct layout): Likewise.
25157 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25158 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25159 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25160 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25161 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25162 (__backtrace): Likewise.
25163 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25164 use __ptrvalue.
25165 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25166 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25167 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25168 Likewise.
25169 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25170 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25171 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25172 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25173 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25174 Do not use __unbounded.
25175 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25176 Rename __unboundedrlimits parameter to rlimits in prototype.
25177 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25178 Do not use __unbounded.
25179 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25180 not use __ptrvalue.
25181 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25182 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25183 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25184 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25185 __ptrvalue or __unbounded.
25186 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25187 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25188 use __unbounded.
25189 (__new_msgctl): Do not use __ptrvalue.
25190 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25191 __unbounded.
25192 (__libc_msgrcv): Do not use __ptrvalue.
25193 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25194 startup_info): Do not use __unbounded.
25195 (__libc_start_main): Likewise. Rename ubp_* variables and
25196 parameters. Remove argv definitions conditional on
25197 [__BOUNDED_POINTERS__].
25198 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25199 __ptrvalue.
25200 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25201 use __unbounded.
25202 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25203 or __ptrvalue.
25204 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25205 use __unbounded.
25206 (__new_shmctl): Do not use __ptrvalue.
25207 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25208 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25209 Likewise.
25210 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25211 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25212 (__libc_sigaction): Likewise.
25213 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25214 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25215 Likewise.
25216 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25217
cc7834d6
OB
252182013-02-13 Ondřej Bílka <neleai@seznam.cz>
25219
ffb1ec7b 25220 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
25221
25222 * string/mempcpy.c: Implement by calling memcpy.
25223
bdf02814
SP
252242013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25225
c2af38aa
SP
25226 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25227
4e92d59e
SP
25228 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25229 evaluation.
25230
909279a5
SP
25231 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25232 values in the mantissa.
25233
bdf02814
SP
25234 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25235 minimize writes to Z.
25236 (sub_magnitudes): Simplify code a bit.
25237
cd525923
RM
252382013-02-12 Roland McGrath <roland@hack.frob.com>
25239
25240 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25241 from the message. The linker prefixes all warnings with that already.
25242
7e2f0d2d
AS
252432013-02-12 Andreas Schwab <schwab@suse.de>
25244
a445af0b
AS
25245 [BZ #15078]
25246 * posix/regexec.c (extend_buffers): Add parameter min_len.
25247 (check_matching): Pass minimum needed length.
25248 (clean_state_log_if_needed): Likewise.
25249 (get_subexp): Likewise.
25250 * posix/Makefile (tests): Add bug-regex34.
25251 (bug-regex34-ENV): Define.
25252 * posix/bug-regex34.c: New file.
25253
7e2f0d2d
AS
25254 [BZ #11561]
25255 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25256 elements compare against the byte sequence of it, not its name.
25257 * posix/Makefile (tests): Add bug-regex35.
25258 (bug-regex35-ENV): Define.
25259 * posix/bug-regex35.c: New file.
25260
a175b684
TV
252612013-02-11 Tom de Vries <tom@codesourcery.com>
25262
25263 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25264 comment.
25265 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25266 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25267 (CHECK_EOL): Add undef.
25268
310998fe 252692013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
25270
25271 * bits/stdlib-bsearch.h: New file.
25272 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 25273 * stdlib/stdlib.h: Likewise.
41eda41d 25274
8ded91fb
RM
252752013-02-11 Roland McGrath <roland@hack.frob.com>
25276
25277 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25278 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25279 declaration.
25280 * manual/search.texi (Array Search Function): Add missing const in
25281 lfind prototype.
25282 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25283 declaration to use rlim_t.
25284 (Basic Scheduling Functions): Remove erroneous const from
25285 sched_getparam prototype. Remove erroneous * from
25286 sched_get_priority_max and sched_get_priority_min prototypes.
25287 (Resource Usage): Fix summary @comment on vtimes to refer to
25288 sys/vtimes.h rather than vtimes.h.
25289 Add missing *s in vtimes prototype.
25290 (Limits on Resources): Fix ulimit prototype to return long int.
25291 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25292 prototypes to use long int rather than double.
25293 (BSD Random): Fix initstate and setstate to use char *, not void *.
25294 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25295 prototype to make second argument 'struct aiocb64 *const[]'.
25296 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25297 (Status of AIO Operations): Remove erroneous const in aio_return and
25298 aio_return64 prototypes.
25299 (Synchronizing I/O): Fix sync prototype to return void.
25300 * manual/startup.texi (Suboptions): Remove an erroneous const in
25301 getsubopt prototype.
25302 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25303 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25304 use size_t rather than int.
25305 (Scanning All Users): Likewise for getpwent_r.
25306 (Setting Groups): Add missing const to setgroups prototype.
25307 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25308 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25309 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25310 'const void *' rather than 'const char *'.
25311 (Host Address Functions): Likewise for inet_ntop.
25312 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25313 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25314 ssize_t for return value.
25315 (Sending Data): Likewise for send, sendto, sendmsg.
25316 (Socket Option Functions): Add a missing const in setsockopt prototype.
25317 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25318 use wchar_t for the argument.
25319 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25320 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25321 take no arguments.
25322 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25323 double/float/long double for second argument.
25324 Fix return types of significand, significandf, significandl.
25325 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25326 argument in fchmod prototype.
25327 (File Owner): Use uid_t and gid_t in fchown prototype.
25328 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25329 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25330 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25331 use 'const struct dirent **' as argument types to CMP function pointer
25332 argument.
25333 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25334 (File Times): Fix summary magic @comment for struct utimbuf and utime
25335 to refer to utime.h, not time.h.
25336 * manual/string.texi (Argz Functions): Add missing const in
25337 argz_extract and argz_next prototypes.
25338 (Finding Tokens in a String): Likewise for basename.
25339 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25340 (Copying and Concatenation): Fix typo in wmemmove prototype.
25341 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25342 (Signal Stack): Remove erroneous const in sigstack prototype.
25343 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25344 prototype.
25345 (Simple Calendar Time): Likewise for stime.
25346 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25347 prototype.
25348 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25349 say sys/sysctl.h instead.
25350 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25351 and vsyslog prototypes.
25352
fe77fe6d
TV
253532013-02-11 Tom de Vries <tom@codesourcery.com>
25354
25355 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25356 Remove.
25357
3a09b620
RM
253582013-02-11 Roland McGrath <roland@hack.frob.com>
25359
25360 * misc/sys/mman.h: Fix typo in mremap comment.
25361
550a0b89
RM
253622013-02-08 Roland McGrath <roland@hack.frob.com>
25363
25364 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25365 the '\0' terminator.
25366
a2da1673
JM
253672013-02-08 Joseph Myers <joseph@codesourcery.com>
25368
25369 [BZ #13550]
25370 * debug/segfault.c: Don't include <bp-checks.h>.
25371 * sysdeps/generic/bp-checks.h: Remove file.
25372 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25373 (__GETDENTS): Don't use CHECK_N.
25374 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25375 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25376 (__getgroups): Don't use CHECK_N.
25377 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25378 (setgroups): Don't use CHECK_N.
25379 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25380 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25381 (__libc_msgrcv): Don't use CHECK_N.
25382 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25383 (__libc_msgsnd): Don't use CHECK_N.
25384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25385 <bp-checks.h>.
25386 (__libc_pread): Don't use CHECK_N.
25387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25388 include <bp-checks.h>.
25389 (__libc_pread64): Don't use CHECK_N.
25390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25391 include <bp-checks.h>.
25392 (__libc_pwrite): Don't use CHECK_N.
25393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25394 include <bp-checks.h>.
25395 (__libc_pwrite64): Don't use CHECK_N.
25396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25397 <bp-checks.h>.
25398 (__libc_pread): Don't use CHECK_N.
25399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25400 include <bp-checks.h>.
25401 (__libc_pread64): Don't use CHECK_N.
25402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25403 include <bp-checks.h>.
25404 (__libc_pwrite): Don't use CHECK_N.
25405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25406 include <bp-checks.h>.
25407 (__libc_pwrite64): Don't use CHECK_N.
25408 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25409 (do_pread): Don't use CHECK_N.
25410 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25411 (do_pread64): Don't use CHECK_N.
25412 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25413 (do_pwrite): Don't use CHECK_N.
25414 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25415 (do_pwrite64): Don't use CHECK_N.
25416 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25417 (__libc_readv): Don't use CHECK_N.
25418 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25419 (semop): Don't use CHECK_N.
25420 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25421 <bp-checks.h>.
25422 (semtimedop): Don't use CHECK_N.
25423 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25424 (__libc_pread): Don't use CHECK_N.
25425 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25426 <bp-checks.h>.
25427 (__libc_pread64): Don't use CHECK_N.
25428 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25429 <bp-checks.h>.
25430 (__libc_pwrite): Don't use CHECK_N.
25431 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25432 <bp-checks.h>.
25433 (__libc_pwrite64): Don't use CHECK_N.
25434 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25435 <bp-checks.h>.
25436 (__libc_msgrcv): Don't use CHECK_N.
25437 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25438 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25439 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25440 (__libc_writev): Don't use CHECK_N.
25441
b84660a8
RM
254422013-02-08 Roland McGrath <roland@hack.frob.com>
25443
7f3e75f8
RM
25444 * string/strcpy.c: Removed unused variable.
25445
b84660a8
RM
25446 * Makeconfig (+sysdep-includes): Define with := rather than =.
25447 Use an existing include/ subdir of each sysdeps dir before it.
25448
471514d3
CD
254492013-02-08 Carlos O'Donell <carlos@redhat.com>
25450
25451 * nscd/connection.c (register_traced_file): Comment function.
25452 [HAVE_INOTIFY] (union __inev): Define.
25453 [HAVE_INOTIFY] (inotify_check_files): New function.
25454 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25455 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25456 clear_db_cache.
25457 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25458
b2d3c3be
CD
254592013-02-08 Carlos O'Donell <carlos@redhat.com>
25460
25461 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25462 loaded if not already and that a failure is permanent.
25463
b39949d2
CD
254642013-02-08 Carlos O'Donell <carlos@redhat.com>
25465
ddacd1db 25466 [BZ #15006]
b39949d2
CD
25467 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25468 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25469
b2c9eff4
JM
254702013-02-08 Joseph Myers <joseph@codesourcery.com>
25471
f3aae3f3
JM
25472 [BZ #13550]
25473 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25474 (CHECK_1_NULL_OK): Likewise.
25475 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25476 (__fxstat): Do not use CHECK_1.
25477 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25478 <bp-checks.h>.
25479 (___fxstat64): Do not use CHECK_1.
25480 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25481 <bp-checks.h>.
25482 (__fxstatat): Do not use CHECK_1.
25483 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25484 <bp-checks.h>.
25485 (__fxstatat64): Do not use CHECK_1.
25486 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25487 <bp-checks.h>.
25488 (__fxstat): Do not use CHECK_1.
25489 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25490 <bp-checks.h>.
25491 (__fxstatat): Do not use CHECK_1.
25492 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25493 <bp-checks.h>.
25494 (__getresgid): Do not use CHECK_1.
25495 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25496 <bp-checks.h>.
25497 (__getresuid): Do not use CHECK_1.
25498 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25499 <bp-checks.h>.
25500 (__lxstat): Do not use CHECK_1.
25501 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25502 <bp-checks.h>.
25503 (__old_msgctl): Do not use CHECK_1.
25504 (__new_msgctl): Likewise.
25505 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25506 <bp-checks.h>.
25507 (__new_setrlimit): Do not use CHECK_1.
25508 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25509 <bp-checks.h>.
25510 (__old_shmctl): Do not use CHECK_1.
25511 (__new_shmctl): Likewise.
25512 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25513 <bp-checks.h>.
25514 (__xstat): Do not use CHECK_1.
25515 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25516 (__lxstat): Do not use CHECK_1.
25517 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25518 <bp-checks.h>.
25519 (___lxstat64): Do not use CHECK_1.
25520 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25521 (__old_msgctl): Do not use CHECK_1.
25522 (__new_msgctl): Likewise.
25523 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25524 <bp-checks.h>.
25525 (__gettimeofday): Do not use CHECK_1.
25526 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25527 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25528 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25529 <bp-checks.h>.
25530 (__gettimeofday): Do not use CHECK_1.
25531 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25532 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25533 (__new_shmctl): Do not use CHECK_1.
25534 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25535 <bp-checks.h>.
25536 (do_sigtimedwait): Do not use CHECK_1.
25537 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25538 <bp-checks.h>.
25539 (do_sigwaitinfo): Do not use CHECK_1.
25540 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25541 <bp-checks.h>.
25542 (msgctl): Do not use CHECK_1.
25543 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25544 <bp-checks.h>.
25545 (shmctl): Do not use CHECK_1.
25546 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25547 (ustat): Do not use CHECK_1.
25548 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25549 <bp-checks.h>.
25550 (__fxstat): Do not use CHECK_1.
25551 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25552 <bp-checks.h>.
25553 (__fxstatat): Do not use CHECK_1.
25554 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25555 <bp-checks.h>.
25556 (__lxstat): Do not use CHECK_1.
25557 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25558 <bp-checks.h>.
25559 (__xstat): Do not use CHECK_1.
25560 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25561 (__xstat): Do not use CHECK_1.
25562 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25563 (___xstat64): Do not use CHECK_1.
25564
b2c9eff4
JM
25565 [BZ #13550]
25566 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25567 definitions.
25568 (CHECK_BOUNDS_HIGH): Likewise.
25569 * string/strcpy.c: Do not include <bp-checks.h>.
25570 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25571
f1d70dad
RM
255722013-02-07 Roland McGrath <roland@hack.frob.com>
25573
25574 * nscd/nscd-client.h (__nscd_drop_map_ref):
25575 Add __attribute__ ((unused)).
25576 * nis/nss-nisplus.h (niserr2nss): Likewise.
25577
25578 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25579 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25580
25581 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25582 Remove inline keyword.
25583 * include/rounding-mode.h (round_away): Likewise.
25584 * libio/wfileops.c (adjust_wide_data): Likewise.
25585 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25586 (__m128i_strloadu_tolower): Likewise.
25587 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25588 (__m128i_strloadu_tolower): Likewise.
25589 * time/mktime.c (ydhms_diff): Likewise.
25590 * locale/elem-hash.h (elem_hash): Likewise.
25591 * locale/setlocale.c (setdata): Likewise.
25592 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25593 (re_string_wchar_at): Likewise.
25594 (bitset_not, bitset_merge, bitset_mask): Likewise.
25595 [!(__GNUC__ > 3)] (inline): Remove macro.
25596 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25597 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25598 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25599 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25600 * string/memcmp.c (memcmp_bytes): Likewise.
25601 * locale/programs/locarchive.c (compute_hashval): Likewise.
25602 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25603 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25604 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25605 * nss/getent.c (print_rpc, print_protocols): Likewise.
25606 (print_passwd, print_group, print_aliases): Likewise.
25607 * nis/nss-nisplus.h (niserr2nss): Likewise.
25608 * nscd/connections.c (restart_p): Likewise.
25609 Change return type to bool.
25610
eab55bfb
RM
256112013-02-05 Roland McGrath <roland@hack.frob.com>
25612
7bd642f5
RM
25613 * Makeconfig (all-Depend-files): Add existing
25614 $(sorted-subdirs:=/Depend) files.
25615 (all-subdirs): Remove nss.
25616 * sysdeps/unix/inet/Subdirs: Add it here instead.
25617 * hesiod/Depend: New file.
25618
573c29b2
RM
25619 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25620 instead of calling alloca.
25621
b2e25af0
RM
25622 * io/lseek.c (__lseek): Rename to __libc_lseek.
25623 Define __lseek as an alias.
25624
eab55bfb
RM
25625 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25626
9a0d1941
CD
256272013-02-04 Carlos O'Donell <carlos@redhat.com>
25628
25629 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25630 else clause and remove check for non-standard endianness.
25631
b83bbec4
DM
256322013-02-04 David S. Miller <davem@davemloft.net>
25633
25634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25635
6277fdab
JM
256362013-02-04 Joseph Myers <joseph@codesourcery.com>
25637
25638 [BZ #13550]
25639 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25640 (__ubp_memchr): Remove prototype.
25641 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25642 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25643 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25644 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25645 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25646 Remove alias.
25647 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25648 (__ubp_memchr): Likewise.
25649 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25650 (__ubp_memchr): Likewise.
25651 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25652 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25653 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25654 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25655 CHECK_STRING.
25656 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25657 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25658 (__getcwd): Do not use CHECK_STRING.
25659 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25660 <bp-checks.h>.
25661 (__real_chown): Do not use CHECK_STRING.
25662 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25663 <bp-checks.h>.
25664 (fchownat): Do not use CHECK_STRING.
25665 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25666 CHECK_STRING.
25667 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25668 <bp-checks.h>.
25669 (__lchown): Do not use CHECK_STRING.
25670 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25671 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25672 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25673 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25675 include <bp-checks.h>.
25676 (truncate64): Do not use CHECK_STRING.
25677 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25678 <bp-checks.h>.
25679 (__real_chown): Do not use CHECK_STRING.
25680 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25681 <bp-checks.h>.
25682 (__lchown): Do not use CHECK_STRING.
25683 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25684 <bp-checks.h>.
25685 (__chown): Do not use CHECK_STRING.
25686 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25687 <bp-checks.h>.
25688 (truncate64): Do not use CHECK_STRING.
25689 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25690 Likewise.
25691 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25692 (__xmknod): Do not use CHECK_STRING.
25693 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25694 <bp-checks.h>.
25695 (__xmknodat): Do not use CHECK_STRING.
25696 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25697 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25698
903ae060
AS
256992013-02-04 Andreas Schwab <schwab@suse.de>
25700
25701 [BZ #14142]
25702 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25703 * include/netdb.h: Likewise for h_errno.
25704 * elf/tst-stackguard1.c: Include <tls.h>.
25705
542f9466
JK
257062013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25707
25708 * elf/link.h (struct link_map): Extend the l_addr comment.
25709 * include/link.h (struct link_map): Likewise.
25710
e782a927
JM
257112013-02-01 Joseph Myers <joseph@codesourcery.com>
25712
25713 [BZ #13550]
25714 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25715 (BOUNDED_1): Remove macro.
25716 * debug/backtrace.c: Don't include <bp-checks.h>.
25717 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25718 (__backtrace): Likewise.
25719 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25720 <bp-checks.h>.
25721 (__backtrace): Don't use BOUNDED_1.
25722 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25723 <bp-checks.h>.
25724 (__backtrace): Don't use BOUNDED_1.
25725 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25726 (__backtrace): Don't use BOUNDED_1.
25727 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25728 (shmat): Don't use BOUNDED_N.
25729
8cf28c5e
JM
257302013-01-31 Joseph Myers <joseph@codesourcery.com>
25731
3a7ac8a0
JM
25732 [BZ #13550]
25733 * sysdeps/generic/bp-start.h: Remove file.
25734 * csu/libc-start.c: Don't include <bp-start.h>.
25735 (LIBC_START_MAIN): Set up __environ directly instead of using
25736 INIT_ARGV_and_ENVIRON.
25737 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25738 <bp-start.h>.
25739
f3499f95
JM
25740 [BZ #13550]
25741 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25742 definitions.
25743 (CHECK_FCNTL): Likewise.
25744 (CHECK_N_PAGES): Likewise.
25745
32a45bea
JM
25746 [BZ #13550]
25747 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25748 definitions.
25749 (CHECK_SIGSET_NULL_OK): Likewise.
25750 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25751 <bp-checks.h>.
25752 (sigpending): Don't use CHECK_SIGSET.
25753 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25754 <bp-checks.h>.
25755 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25756 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25757 <bp-checks.h>.
25758 (do_sigsuspend): Don't use CHECK_SIGSET.
25759 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25760 use CHECK_SIGSET.
25761 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25762 (do_sigwait): Don't use CHECK_SIGSET.
25763 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25764 use CHECK_SIGSET.
25765 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25766 include <bp-checks.h>.
25767 (sigpending): Don't use CHECK_SIGSET.
25768 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25769 include <bp-checks.h>.
25770 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25771 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25772 <bp-checks.h>.
25773 (sigpending): Don't use CHECK_SIGSET.
25774 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25775 <bp-checks.h>.
25776 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25777
2e8a5c8c
JM
25778 [BZ #13550]
25779 * sysdeps/generic/bp-semctl.h: Remove file.
25780 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25781 <bp-checks.h> and <bp-semctl.h>.
25782 (__old_semctl): Don't use CHECK_SEMCTL.
25783 (__new_semctl): Likewise.
25784 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25785 and <bp-semctl.h>.
25786 (__old_semctl): Don't use CHECK_SEMCTL.
25787 (__new_semctl): Likewise.
25788 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25789 <bp-checks.h> and <bp-semctl.h>.
25790 (__old_semctl): Don't use CHECK_SEMCTL.
25791 (__new_semctl): Likewise.
25792 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25793 <bp-checks.h> and <bp-semctl.h>.
25794 (semctl): Don't use CHECK_SEMCTL.
25795
c2d54929
JM
25796 [BZ #13550]
25797 * Makerules (elide-bp-thunks): Remove variable.
25798 (elide-routines.oS): Don't use $(elide-bp-thunks).
25799 (elide-routines.os): Likewise.
25800 (elide-routines.o): Likewise.
25801 (elide-routines.op): Likewise.
25802 (elide-routines.og): Likewise.
25803 (objects): Don't use $(bp-thunks).
25804 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25805 include.
25806 (common-generated): Do not add s-proto-bp.d.
25807 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25808 (int): Likewise.
25809 (typ): Likewise.
25810 Do not generate makefile rules for bounded-pointer thunks.
25811 * sysdeps/generic/bp-thunks.h: Remove file.
25812 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25813 * sysdeps/unix/s-proto-bp.S: Likewise.
25814
8cf28c5e
JM
25815 [BZ #15062]
25816 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25817 parts of result separately when argument is not close to line from
25818 -i to i and one part of argument is small.
25819 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25820 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25821 * math/libm-test.inc (cacos_test): Add more tests.
25822 (casin_test): Likewise.
25823 (casinh_test): Likewise.
25824 * sysdeps/i386/fpu/libm-test-ulps: Update.
25825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25826
c4e33b8d
DM
258272013-01-31 David S. Miller <davem@davemloft.net>
25828
25829 * po/de.po: Update from translation team.
25830
3b60b421
MK
258312013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25832
25833 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25834
bb931195
TS
258352013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25836
b5a5da23
TS
25837 * configure.in (_AC_PROG_CC_C89): New definition.
25838 * configure: Regenerate.
25839
bb931195
TS
25840 * configure.in (AC_PROG_CPP): New definition.
25841 * configure: Regenerate.
25842
8c53a12c
JM
258432013-01-23 Joseph Myers <joseph@codesourcery.com>
25844
25845 * debug/tst-backtrace.h: New file.
25846 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25847 (ret): Remove variable.
25848 (x): Likewise.
25849 (FAIL): Remove macro.
25850 (NO_INLINE): Likewise.
25851 (fn1): Use match function instead of strstr.
25852 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25853 (ret): Remove variable.
25854 (x): Likewise.
25855 (FAIL): Remove macro.
25856 (NO_INLINE): Likewise.
25857 (fn): Use match function instead of strstr.
25858 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25859 (ret): Remove variable.
25860 (x): Likewise.
25861 (FAIL): Remove macro.
25862 (NO_INLINE): Likewise.
25863 (handle_signal): Use match function instead of strstr.
25864 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25865 (ret): Remove variable.
25866 (x): Likewise.
25867 (FAIL): Remove macro.
25868 (NO_INLINE): Likewise.
25869 (handle_signal): Use match function instead of strstr.
25870
4858fa2a
RM
258712013-01-23 Roland McGrath <roland@hack.frob.com>
25872
25873 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25874
bae8e7f5
DM
258752013-01-23 David S. Miller <davem@davemloft.net>
25876
25877 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25878 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25879 argument of CAS if possible.
25880 * sysdeps/sparc/sparc64/bits/atomic.h
25881 (__arch_compare_and_exchange_val_32_acq): Likewise.
25882 (__arch_compare_and_exchange_val_64_acq): Likewise.
25883
9cbbc4ae
PT
258842013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25885
25886 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25887 * sysdeps/posix/ulimit.c: ... this.
92a601b8 25888 Include <limits.h>.
67b3f58c 25889 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 25890
5655a0b5
AC
258912013-01-23 Adam Conrad <adconrad@0c3.net>
25892
25893 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25894 (LDFLAGS-tst-array5): Likewise.
25895
052aff95
JM
258962013-01-23 Joseph Myers <joseph@codesourcery.com>
25897
25898 [BZ #15036]
25899 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25900 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25901 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25902 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25903
7c1e01aa
DM
259042013-01-21 David S. Miller <davem@davemloft.net>
25905
25906 * sysdeps/sparc/backtrace.c: New file.
25907 * sysdeps/sparc/sparc32/backtrace.h: New file.
25908 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25909 * sysdeps/sparc/sparc64/backtrace.h: New file.
25910 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25911 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25912 -funwind-tables.
25913
ab087e0a
AS
259142013-01-21 Andreas Schwab <schwab@suse.de>
25915
25916 [BZ #15020]
25917 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25918 closed its stdout.
25919
ed689c2f
AS
259202013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25921
25922 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25923 "mpa2.h".
25924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25925
31d470ac
JM
259262013-01-18 Joseph Myers <joseph@codesourcery.com>
25927 Mark Mitchell <mark@codesourcery.com>
25928 Tom de Vries <tom@codesourcery.com>
25929 Paul Pluzhnikov <ppluzhnikov@google.com>
25930
25931 * debug/tst-backtrace2.c: New file.
25932 * debug/tst-backtrace3.c: Likewise.
25933 * debug/tst-backtrace4.c: Likewise.
25934 * debug/tst-backtrace5.c: Likewise.
25935 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25936 (CFLAGS-tst-backtrace3.c): Likewise.
25937 (CFLAGS-tst-backtrace4.c): Likewise.
25938 (CFLAGS-tst-backtrace5.c): Likewise.
25939 (LDFLAGS-tst-backtrace2): Likewise.
25940 (LDFLAGS-tst-backtrace3): Likewise.
25941 (LDFLAGS-tst-backtrace4): Likewise.
25942 (LDFLAGS-tst-backtrace5): Likewise.
25943 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25944 tst-backtrace4 and tst-backtrace5.
25945
90567f30 259462013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
25947 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25948
25949 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25950 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25951 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25952 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25954 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25955 "+r" and remove output regs list as redundant. Add explicit inline
25956 asm to specify register of return val to work around compiler codegen
25957 bug. Remove (int) cast on return value. Add return type parameter to
25958 use in macro so that this macro does not truncate return value for
25959 64-bit values.
25960 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25961 pass to INTERNAL_VSYSCALL_NCS.
25962 (INLINE_VSYSCALL): Add 'long int' as return type to
25963 INTERNAL_VSYSCALL_NCS macro invocation.
25964 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25965 INTERNAL_VSYSCALL_NCS macro invocation.
25966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25967
d3b9ea61
SP
259682013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25969
0b57daeb
SP
25970 [BZ #14496]
25971 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25972 Fix application of SIMD FP exception mask.
25973
caa99d06
SP
25974 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25975 mp_no from a power of two.
25976 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25977 __mpexp_twomm1. Use __pow_mp.
25978
d3b9ea61
SP
25979 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25980 multiplication.
25981
1dbaee3c
DM
259822013-01-17 David S. Miller <davem@davemloft.net>
25983
25984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25985
728d7b43
JM
259862013-01-17 Joseph Myers <joseph@codesourcery.com>
25987
25988 [BZ #15023]
25989 * include/complex.h: Condition contents on [!_COMPLEX_H].
25990 (__kernel_casinhf): New prototype.
25991 (__kernel_casinh): Likewise.
25992 (__kernel_casinhl): Likewise.
25993 * math/Makefile (libm_calls): Add k_casinh.
25994 * math/k_casinh.c: New file.
25995 * math/k_casinhf.c: Likewise.
25996 * math/k_casinhl.c: Likewise.
25997 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25998 finite nonzero arguments.
25999 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26000 finite nonzero arguments.
26001 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26002 finite nonzero arguments.
26003 * math/s_casinh.c: Do not include <float.h>.
26004 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26005 * math/s_casinhf.c: Do not include <float.h>.
26006 (__casinhf): Move code for finite nonzero arguments to
26007 k_casinhf.c.
26008 * math/s_casinhl.c: Do not include <float.h>.
26009 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26010 redefine.
26011 (__casinhl): Move code for finite nonzero arguments to
26012 k_casinhl.c.
26013 * math/libm-test.inc (cacos_test): Add more tests.
26014 * sysdeps/i386/fpu/libm-test-ulps: Update.
26015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26016
2a26ef3a
PT
260172013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26018
26019 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26020 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26021 [!HAVE_MREMAP]: Remove [defined linux] case.
26022 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26023
a897655d
SP
260242013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26025
26026 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26027
881ebe89 260282013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
26029
26030 * elf/elf.h (R_386_SIZE32): New relocation.
26031 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26032 R_386_SIZE32.
26033 (elf_machine_rela): Likewise.
26034 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26035 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26036
59981e9b
JM
260372013-01-17 Joseph Myers <joseph@codesourcery.com>
26038
26039 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26040 (FP_FAST_FMA): Do not define.
26041 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26042 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26043 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26044 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26045 !_SOFT_FLOAT]: Likewise.
26046 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26047 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26048 value.
26049 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26050 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26051 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26052 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26053 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26054 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26055 file.
26056
cfa8054f
AS
260572013-01-16 Andreas Schwab <schwab@suse.de>
26058
26059 [BZ #14327]
26060 * include/stdlib.h (__mktemp): Add declaration.
26061 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26062 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26063
dd930cc5
SP
260642013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26065
881ebe89
SP
26066 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26067 definitions.
26068 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26069 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26070 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26071 definitions here.
26072 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26073 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26074 definitions.
26075 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26076 and ONE.
26077 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26078 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26079 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26080 definitions.
26081 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26082 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26083 definitions.
26084 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 26085
dd930cc5
SP
26086 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26087
c19a9f89
DM
260882013-01-15 David S. Miller <davem@davemloft.net>
26089
1aa61767
DM
26090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26091 trunc{,f} to libm-sysdep_routes.
26092 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26094 file.
26095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26097 file.
26098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26099 file.
26100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26102 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26103 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26104 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26105 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26106 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26107 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26108
c42d5e98
DM
26109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26110 nearbyint{,f} to libm-sysdep_routes.
26111 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26113 New file.
26114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26115 file.
26116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26117 New file.
26118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26119 file.
26120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26122 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26123 file.
26124 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26125 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26126 file.
26127 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26128 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26129 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26130
c19a9f89
DM
26131 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26132 libc_feholdexcept and libc_fesetenv.
26133
357679d2
MF
261342013-01-15 Mike Frysinger <vapier@gentoo.org>
26135
26136 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26137
65a82e3d
DM
261382013-01-14 David S. Miller <davem@davemloft.net>
26139
8b954ab9
DM
26140 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26141 (SPARC_ASM_VIS2_IFUNC): Likewise.
26142 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26144 use of 'siam' instruction.
26145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26146 Likewise.
26147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26148 Likewise.
26149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26150 Likewise.
26151 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26152 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26156 file.
26157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26158 file.
26159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26160 file.
26161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26162 file.
26163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26168 new VIS2 routines.
26169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26172 Likewise.
26173 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26178 routines to libm-sysdep_routines.
26179 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26180
65a82e3d
DM
26181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26182 fdim/fdimf to libm-sysdep_routines.
26183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26184 file.
26185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26187 file.
26188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26191 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26192 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26193 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26194 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26195
e34ab705
SP
261962013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26197
2a91b573
SP
26198 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26199 to optimize copies.
26200
1066a534
SP
26201 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26203 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26204
e34ab705
SP
26205 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26206 local variable MPTWO.
26207 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26208 Likewise.
26209
aba5e596
MF
262102013-01-13 Mike Frysinger <vapier@gentoo.org>
26211
26212 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26213 GLOB_NOESCAPE.
26214
e557e9e5
MF
262152013-01-13 Mike Frysinger <vapier@gentoo.org>
26216
26217 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26218
0428cec9
MF
262192013-01-13 Mike Frysinger <vapier@gentoo.org>
26220
26221 * manual/pattern.texi (glob_t): Document gl_flags.
26222 (glob64_t): Likewise.
26223
8794a964
DM
262242013-01-11 David S. Miller <davem@davemloft.net>
26225
66438c3f
RM
26226 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26227 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26228 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
26229 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26230 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26231 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26232 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26233 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26234 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26235 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26236 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26237 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26238 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26239
4ae4244d
DM
26240 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26241 sparc V9 rather than using V8 code.
26242 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26243 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26244
8794a964
DM
26245 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26246 Move to...
26247 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26248 Here.
26249
6270516e
RM
262502013-01-11 Roland McGrath <roland@hack.frob.com>
26251
26252 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26253 not in the main loop.
26254 * configure: Regenerated.
26255
6a57d931
JM
262562013-01-11 Joseph Myers <joseph@codesourcery.com>
26257
26258 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26259 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26260 to just #else.
26261 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26262 [!__GLIBC_HAVE_LONG_LONG] case.
26263 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26264 condition to just #else.
26265 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26266 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26267 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26268 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26269 unconditional.
26270 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26271 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26272 #elif condition to just #else.
26273 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26274 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26275 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26276 #elif condition to just #else.
26277
0e8529e9
SE
262782013-01-11 Steve Ellcey <sellcey@mips.com>
26279
26280 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26281 (EF_MIPS_ARCH_64): Fix value.
26282 (EF_MIPS_ARCH_32R2): New.
26283 (EF_MIPS_ARCH_64R2): New.
26284
740b3dbe
L
262852013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26286
26287 * Makeconfig (+link-pie-before-libc): New.
26288 (+link-pie-after-libc): Likewise.
26289 (+link-pie-tests): Likewise.
26290 (+link-pie): Rewritten.
26291 (link-before-libc): Remove $(config-LDFLAGS).
26292 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26293 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26294 (config-LDFLAGS): Renamed to ...
26295 (rtld-LDFLAGS): This.
26296 (rtld-tests-LDFLAGS): New macro.
26297 (link-libc-rpath-link): Likewise.
26298 (link-libc-tests-rpath-link): Likewise.
26299 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26300 (link-libc): Prepand $(link-libc-rpath-link).
26301 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26302 (test-program-prefix): New macro.
26303 (test-via-rtld-prefix): Likewise.
26304 (test-program-cmd): Likewise.
26305 (host-test-program-cmd): Likewise.
26306 * Makefile ($(common-objpfx)testrun.sh): Replace
26307 $(run-program-prefix) with $(test-program-prefix).
26308 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26309 $(rtld-LDFLAGS).
26310 ($(common-objpfx)shlib.lds): Likewise.
26311 (build-module-helper): Likewise.
26312 ($(common-objpfx)format.lds): Likewise.
26313 * Rules (binaries-pie-tests): New.
26314 (binaries-pie-notests): Likewise.
26315 (binaries-pie): Rewritten.
26316 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26317 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26318 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26319 (make-test-out): Replace $(host-built-program-cmd) with
26320 $(host-test-program-cmd).
26321 * config.make.in (build-hardcoded-path-in-tests): New variable.
26322 * configure.in (--enable-hardcoded-path-in-tests): New configure
26323 option.
26324 (hardcoded_path_in_tests): New AC_SUBST.
26325 * configure: Regenerated.
26326 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26327 $(built-program-cmd) with $(test-program-cmd).
26328 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26329 (test_program_cmd): This.
26330 * elf/Makefile ($(objpfx)order.out): Run test with
26331 $(test-program-prefix).
26332 ($(objpfx)order2.out): Likewise.
26333 ($(objpfx)tst-initorder.out): Likewise.
26334 ($(objpfx)tst-initorder2.out): Likewise.
26335 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26336 $(test-program-cmd).
26337 ($(objpfx)tst-array1-static.out): Likewise.
26338 ($(objpfx)tst-array2.out): Likewise.
26339 ($(objpfx)tst-array3.out): Likewise.
26340 ($(objpfx)tst-array4.out): Likewise.
26341 ($(objpfx)tst-array5.out): Likewise.
26342 ($(objpfx)tst-array5-static.out): Likewise.
26343 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26344 $(test-program-cmd).
26345 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26346 $(run-program-prefix) with $(test-program-prefix).
26347 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26348 (test_program_prefix): This.
26349 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26350 $(run-program-prefix) with $(test-program-prefix).
26351 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26352 (test_program_prefix): This.
26353 * iconvdata/tst-tables.sh: Likewise.
26354 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26355 $(run-program-prefix) with $(test-program-prefix).
26356 ($(objpfx)tst-translit.out): Likewise.
26357 ($(objpfx)tst-gettext2.out): Likewise.
26358 ($(objpfx)tst-gettext4.out): Likewise.
26359 ($(objpfx)tst-gettext6.out): Likewise.
26360 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26361 (test_program_prefix): This.
26362 * intl/tst-gettext2.sh: Likewise.
26363 * intl/tst-gettext4.sh Likewise.
26364 * intl/tst-gettext6.sh: Likewise.
26365 * intl/tst-translit.sh: Likewise.
26366 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26367 with $(test-program-cmd).
26368 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26369 $(run-program-prefix) with $(test-program-prefix).
26370 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26371 (test_program_prefix): This.
26372 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26373 $(run-program-prefix) with $(test-program-prefix).
26374 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26375 (test_program_prefix): This.
26376 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26377 * posix/Makefile ($(objpfx)globtest.out): Replace
26378 $(run-via-rtld-prefix) and $(test-wrapper) with
26379 $(test-program-prefix) and $(test-via-rtld-prefix).
26380 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26381 $(test-program-prefix).
26382 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26383 $(host-test-program-cmd).
26384 (tst-spawn-ARGS): Likewise.
26385 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26386 $(test-program-prefix).
26387 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26388 (test_via_rtld_prefix): This.
26389 (test_wrapper): Renamed to ...
26390 (test_program_prefix): This.
26391 (run_program_prefix): Replaced by test_program_prefix.
26392 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26393 (test_program_prefix): This.
26394 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26395 with $(host-test-program-cmd).
26396 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26397 $(run-program-prefix) with $(test-program-prefix).
26398 ($(objpfx)tst-printf.out): Likewise.
26399 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26400 $(test-program-cmd).
26401 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26402 (test_program_prefix): This.
26403 * stdio-common/tst-unbputc.sh: Likewise.
26404 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26405 $(run-program-prefix) with $(test-program-prefix).
26406 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26407 (test_program_prefix): This.
26408 * string/Makefile ($(objpfx)tst-svc.out): Replace
26409 $(built-program-cmd) with $(test-program-cmd).
26410
c6fe55cf
AJ
264112013-01-11 Andreas Jaeger <aj@suse.de>
26412
26413 [BZ #15003]
26414 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26415 value. Sync with Linux 3.7.
26416
9e6919c8
DM
264172013-01-10 David S. Miller <davem@davemloft.net>
26418
26419 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26420 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26421 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26422
1c9f1a02
RM
264232013-01-10 Roland McGrath <roland@hack.frob.com>
26424
26425 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26426 never set.
26427 * configure: Regenerated.
26428
b9de2dde
DM
264292013-01-10 David S. Miller <davem@davemloft.net>
26430
26431 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26432 sparc V9 rather than using V8 code.
26433 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26434 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26435
e7f68ef4
RM
264362013-01-10 Roland McGrath <roland@hack.frob.com>
26437
26438 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26439 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26440 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26441 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26442 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26443 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26444 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26445 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26446 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26447 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26448 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26449 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26450 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26451 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26452 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26453 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26454 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26455 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26456 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26457 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26458 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26459 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26460 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26461 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26462 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26463 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26464 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26465
5a47cc9c
DM
264662013-01-10 David S. Miller <davem@davemloft.net>
26467
26468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26469
4cf8f209
L
264702013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26471
26472 * posix/Makefile (tests-static): New variable.
26473 (tests): Add $(tests-static).
26474 (tst-exec-static-ARGS): New variable.
26475 (tst-spawn-static-ARGS): Likewise.
26476 * posix/tst-exec-static.c: New file.
26477 * posix/tst-spawn-static.c: Likewise.
26478 * posix/tst-exec.c: Support run directly.
26479 * posix/tst-spawn.c: Likewise.
26480
fed0faa1
JM
264812013-01-10 Joseph Myers <joseph@codesourcery.com>
26482
828beb13
JM
26483 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26484 long.
26485 * math/bits/mathcalls.h (llrint): Likewise.
26486 (llround): Likewise.
26487 * stdlib/stdlib.h (struct drand48_data): Likewise.
26488 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26489 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26490 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26491 Likewise.
26492 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26493 Likewise.
26494 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26495 (elf_greg_t): Likewise.
26496 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26497 (__jmp_buf): Likewise.
26498 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26499 definitions.
26500 (llrint): Likewise, for all definitions.
26501 (llrintl): Likewise.
26502
fed0faa1
JM
26503 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26504 Remove [__GNUC__] condition.
26505 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26506 condition to just [__USE_ISOC99].
26507 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26508
1a20cb20
L
265092013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26510
26511 [BZ #14200]
26512 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26513 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26514 defined.
26515 (_POSIX_V6_ILP32_OFF32): Likewise.
26516 (_XBS5_ILP32_OFF32): Likewise.
26517 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26518 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26519
751b85f7
SP
265202013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26521
7490eb81
SP
26522 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26523
751b85f7
SP
26524 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26525 doubles __mpexp_twomm1. Adjust usage.
26526 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26527 Remove.
26528
988197f0
AS
265292013-01-10 Andreas Schwab <schwab@suse.de>
26530
26531 [BZ #14964]
26532 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26533 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26534
e83d7298
DM
265352013-01-09 David S. Miller <davem@davemloft.net>
26536
034ed64b 26537 [BZ #15003]
57f41c40
AS
26538 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26539 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26540 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26541 (TCP_FASTOPEN): Define.
e83d7298
DM
26542 (tcp_repair_opt): New structure.
26543 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26544 enum values.
57f41c40
AS
26545 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26546 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26547 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
26548 (tcp_cookie_transactions): New structure.
26549
d5e0b9bd
AB
265502013-01-09 Anton Blanchard <anton@samba.org>
26551
26552 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26553 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26554 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26555 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26556
0c07e3ea
JM
265572013-01-09 Joseph Myers <joseph@codesourcery.com>
26558
26559 * include/features.h (__USE_ANSI): Remove.
26560
232f7002
RM
265612013-01-09 Roland McGrath <roland@hack.frob.com>
26562
ad98e30c
RM
26563 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26564
232f7002
RM
26565 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26566
950c99ca
SP
265672013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26568
b5792741
SP
26569 * sysdeps/s390/fpu/libm-test-ulps: Update.
26570
47cf2278
SP
26571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26572
950c99ca
SP
26573 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26574 (__acr): Likewise.
26575 (__cpy): Likewise.
26576 (norm): Likewise.
26577 (denorm): Likewise.
26578 (__mp_dbl): Likewise.
26579 (__dbl_mp): Likewise.
26580 (add_magnitudes): Likewise.
26581 (sub_magnitudes): Likewise.
26582 (__add): Likewise.
26583 (__sub): Likewise.
26584 (__mul): Likewise.
26585 (__inv): Likewise.
26586 (__dvd): Likewise.
26587 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26588 (__acr): Likewise.
26589 (__cpy): Likewise.
26590 (norm): Likewise.
26591 (denorm): Likewise.
26592 (__mp_dbl): Likewise.
26593 (__dbl_mp): Likewise.
26594 (add_magnitudes): Likewise.
26595 (sub_magnitudes): Likewise.
26596 (__add): Likewise.
26597 (__sub): Likewise.
26598 (__mul): Likewise.
26599 (__inv): Likewise.
26600 (__dvd): Likewise.
26601 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26602 (__acr): Likewise.
26603 (__cpy): Likewise.
26604 (norm): Likewise.
26605 (denorm): Likewise.
26606 (__mp_dbl): Likewise.
26607 (__dbl_mp): Likewise.
26608 (add_magnitudes): Likewise.
26609 (sub_magnitudes): Likewise.
26610 (__add): Likewise.
26611 (__sub): Likewise.
26612 (__mul): Likewise.
26613 (__inv): Likewise.
26614 (__dvd): Likewise.
26615
eede9df9
JM
266162013-01-08 Joseph Myers <joseph@codesourcery.com>
26617
26618 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26619 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26620 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26621 2 && __USE_EXTERN_INLINES]: Likewise.
26622
c40ea3d9
AJ
266232013-01-08 Andreas Jaeger <aj@suse.de>
26624
26625 [BZ# 14985]
26626 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26627 Remove.
26628 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26629 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26630
2ccdea26
AB
266312013-01-07 Anton Blanchard <anton@samba.org>
26632
26633 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26634 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26635 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26636 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26637 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26638 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26639 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26640 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26641 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26642 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26643 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26644 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26645 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26646 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26647 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26648 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26649 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26650 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26651 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26652 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26653 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26654 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26655 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26656 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26657 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26658 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26659 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26660 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26661 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26662 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26663 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26664 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26665 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26666 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26667 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26668 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26669 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26670 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26671 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26672 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26673 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26674 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26675 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26676
a9708fed
JM
266772013-01-07 Joseph Myers <joseph@codesourcery.com>
26678
375607b9
JM
26679 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26680 (__MALLOC_PMT): Likewise.
26681 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26682 [__GNUC__], only on [_LIBC].
26683 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26684 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26685 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26686 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26687 forward declaration.
26688 (realloc_hook_ini): Likewise.
26689 (memalign_hook_ini): Likewise.
26690 (__libc_memalign): Do not use __MALLOC_PMT in variable
26691 declaration.
26692 (__libc_valloc): Likewise.
26693 (__libc_pvalloc): Likewise.
26694 (__libc_calloc): Likewise.
26695 (__posix_memalign): Likewise.
26696
a9708fed
JM
26697 [BZ #14996]
26698 * math/s_casinh.c: Include <float.h>.
26699 (__casinh): Do not do computation with squaring and square root
26700 for large arguments.
26701 * math/s_casinhf.c: Include <float.h>.
26702 (__casinhf): Do not do computation with squaring and square root
26703 for large arguments.
26704 * math/s_casinhl.c: Include <float.h>.
26705 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26706 (__casinhl): Do not do computation with squaring and square root
26707 for large arguments.
26708 * math/libm-test.inc (casin_test): Add more tests.
26709 (casinh_test): Likewise.
26710 * sysdeps/i386/fpu/libm-test-ulps: Update.
26711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26712
afec409a
L
267132013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26714
26715 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26716 (__x86_64_raw_data_cache_size): Likewise.
26717 (__x86_64_data_cache_size_half): Likewise.
26718 (__x86_64_raw_data_cache_size_half): Likewise.
26719 (__x86_64_shared_cache_size): Likewise.
26720 (__x86_64_raw_shared_cache_size): Likewise.
26721 (__x86_64_shared_cache_size_half): Likewise.
26722 (__x86_64_raw_shared_cache_size_half): Likewise.
26723 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26724 to ...
26725 (__x86_data_cache_size): This.
26726 (__x86_64_raw_data_cache_size): Renamed to ...
26727 (__x86_raw_data_cache_size): This.
26728 (__x86_64_data_cache_size_half): Renamed to ...
26729 (__x86_data_cache_size_half): This.
26730 (__x86_64_raw_data_cache_size_half): Renamed to ...
26731 (__x86_raw_data_cache_size_half): This.
26732 (__x86_64_shared_cache_size): Renamed to ...
26733 (__x86_shared_cache_size): This.
26734 (__x86_64_raw_shared_cache_size): Renamed to ...
26735 (__x86_raw_shared_cache_size): This.
26736 (__x86_64_shared_cache_size_half): Renamed to ...
26737 (__x86_shared_cache_size_half): This.
26738 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26739 (__x86_raw_shared_cache_size_half): This.
26740 * sysdeps/x86_64/memcpy.S: Updated.
26741 * sysdeps/x86_64/memset.S: Likewise.
26742 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26743 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26744 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26745
0b3986d0
DM
267462013-01-04 David S. Miller <davem@davemloft.net>
26747
26748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26749
e47686e9
AS
267502013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26751
d643bac1
AS
26752 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26753 1 to avoid redefinition warning.
26754 (__USE_GNU): Don't define.
26755 (init_signaling_nan): Protoize.
26756
e47686e9
AS
26757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26758
b18decba
SP
267592013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26760
fffb407f
SP
26761 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26763 (__cpymn): Likewise.
26764 (norm): Remove commented code.
26765 (denorm): Likewise.
26766 (__mp_dbl): Likewise.
26767 (__inv): Likewise.
26768 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26769 (__cpymn): Likewise.
26770 (norm): Remove commented code.
26771 (denorm): Likewise.
26772 (__mp_dbl): Likewise.
26773 (__inv): Likewise.
26774
b18decba
SP
26775 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26776 mp_no value for 1.0 and 2.0.
26777 (norm): Use RADIXI instead of radixi.d.
26778 (denorm): Likewise.
26779 (__mul): Use 0.0 instead of zero.d.
26780 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26781 mp_no value for 1.0 and 2.0.
26782 (norm): Use RADIXI instead of radixi.d.
26783 (denorm): Likewise.
26784 (__mul): Use 0.0 instead of zero.d.
26785
cdc1c96f
JM
267862013-01-04 Joseph Myers <joseph@codesourcery.com>
26787
26788 [BZ #14994]
26789 * math/s_casinh.c (__casinh): Reduce finite argument to first
26790 quadrant then set signs of results at the end.
26791 * math/s_casinhf.c (__casinhf): Likewise.
26792 * math/s_casinhl.c (__casinhl): Likewise.
26793 * math/libm-test.inc (casin_test): Add more tests.
26794 (casinh_test): Likewise.
26795 * sysdeps/i386/fpu/libm-test-ulps: Update.
26796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26797
302913e1
SP
267982013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26799
6420d207
SP
26800 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26801
a9e48ab4
SP
26802 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26803
b7837264
SP
26804 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26805 declarations.
26806 (denorm): Likewise.
26807 (__mp_dbl): Likewise.
26808 (__inv): Likewise.
26809
f8af25d2
SP
26810 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26811 and adjust the header comment.
26812
302913e1
SP
26813 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26814 variable name from declaration.
26815
5d7dd1ca
L
268162013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26817
26818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26819 Initialize COMMON_CPUID_INDEX_7 element.
26820 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26821 (CPUID_RTM): Likewise.
26822 (HAS_RTM): Likewise.
26823 (COMMON_CPUID_INDEX_7): New enum.
26824
2f5f40f4
AS
268252013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26826
26827 [BZ #14981]
26828 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26829 size is zero, record memory as freed.
26830
4056f4a0
AJ
268312013-01-03 Andreas Jaeger <aj@suse.de>
26832
26833 * po/ia.po: Add new Interlingua translation.
26834
ab15736f 268352012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
26836
26837 * locale/programs/localedef.c: Fix description of '--posix' flag.
26838
568035b7
JM
268392013-01-02 Joseph Myers <joseph@codesourcery.com>
26840
e6898b8d
JM
26841 * NEWS: Update dates in second copyright notice.
26842 * README: Update copyright dates in example.
26843 * manual/libc.texinfo: Update copyright dates.
26844 * scripts/test-installation.pl: Update copyright date in --version
26845 output.
26846
0e2f9562
JM
26847 * hurd/ctty-input.c: Fix copyright notice formatting.
26848 * hurd/ctty-output.c: Likewise.
26849 * hurd/dtable.c: Likewise.
26850 * hurd/hurd-raise.c: Likewise.
26851 * hurd/hurdprio.c: Likewise.
26852 * hurd/msgportdemux.c: Likewise.
26853 * misc/sys/file.h: Likewise.
26854 * misc/sys/ioctl.h: Likewise.
26855 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26856 * sysdeps/mach/hurd/chdir.c: Likewise.
26857 * sysdeps/mach/hurd/fchdir.c: Likewise.
26858 * sysdeps/mach/hurd/rename.c: Likewise.
26859 * sysdeps/mach/hurd/rmdir.c: Likewise.
26860 * sysdeps/mach/hurd/seekdir.c: Likewise.
26861 * sysdeps/mach/hurd/setsid.c: Likewise.
26862 * sysdeps/posix/wait3.c: Likewise.
26863
568035b7
JM
26864 * All files with FSF copyright notices: Update copyright dates
26865 using scripts/update-copyrights.
26866 * intl/plural.c: Regenerated.
26867 * locale/programs/charmap-kw.h: Likewise.
26868 * locale/programs/locfile-kw.h: Likewise.
26869
da08f647
SP
268702013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26871
0f5477af
SP
26872 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26873 four values.
26874
44e0d4c2
SP
26875 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26876 calculation loop and add branch prediction.
26877
4d55b4e5
SP
26878 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26879 check access beyond bounds of m1np.
26880
da08f647
SP
26881 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26882 MPTWO.
26883 (__inv): Remove local variable MPTWO to use the global
26884 constant.
26885 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26886 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26887 variable MPTWO.
26888 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26889 MP3HALFS static const.
26890
8e051029
DM
268912013-01-01 David S. Miller <davem@davemloft.net>
26892
26893 * po/ca.po: Update from translation team.
26894
f4cf5f2d
JM
268952013-01-01 Joseph Myers <joseph@codesourcery.com>
26896
26897 * scripts/update-copyrights: New file.
26898 * Makeconfig: Reformat copyright notice.
26899 * ctype/ctype.h: Likewise.
26900 * debug/swprintf_chk.c: Likewise.
26901 * elf/dl-cache.c: Likewise.
26902 * elf/dl-debug.c: Likewise.
26903 * elf/dl-object.c: Likewise.
26904 * grp/initgroups.c: Likewise.
26905 * hurd/Makefile: Likewise.
26906 * hurd/hurd/signal.h: Likewise.
26907 * hurd/hurdfault.c: Likewise.
26908 * hurd/hurdioctl.c: Likewise.
26909 * hurd/hurdlookup.c: Likewise.
26910 * hurd/intr-msg.c: Likewise.
26911 * iconv/gconv_open.c: Likewise.
26912 * libio/swprintf.c: Likewise.
26913 * locale/lc-ctype.c: Likewise.
26914 * locale/nl_langinfo.c: Likewise.
26915 * mach/Machrules: Likewise.
26916 * mach/Makefile: Likewise.
26917 * malloc/obstack.h: Likewise.
26918 * manual/Makefile: Likewise.
26919 * manual/tsort.awk: Likewise.
26920 * misc/bits/stab.def: Likewise.
26921 * nis/nis_print_group_entry.c: Likewise.
26922 * nis/nis_table.c: Likewise.
26923 * nis/nss_compat/compat-pwd.c: Likewise.
26924 * nis/nss_compat/compat-spwd.c: Likewise.
26925 * po/Makefile: Likewise.
26926 * posix/fnmatch.c: Likewise.
26927 * posix/regex.h: Likewise.
26928 * resolv/Makefile: Likewise.
26929 * resolv/nss_dns/dns-network.c: Likewise.
26930 * resolv/res_hconf.c: Likewise.
26931 * scripts/gen-sorted.awk: Likewise.
26932 * soft-fp/soft-fp.h: Likewise.
26933 * stdio-common/printf.h: Likewise.
26934 * stdlib/monetary.h: Likewise.
26935 * stdlib/random.c: Likewise.
26936 * stdlib/random_r.c: Likewise.
26937 * sysdeps/generic/Makefile: Likewise.
26938 * sysdeps/gnu/Makefile: Likewise.
26939 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26940 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26941 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26942 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26943 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26944 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26946 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26947 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26948 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26949 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26950 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26951 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26952 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26953 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26954 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26955 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26956 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26957 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26958 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26959 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26960 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26961 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26962 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26963 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26964 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26965 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26966 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26967 * sysdeps/mach/hurd/errnos.awk: Likewise.
26968 * sysdeps/mach/hurd/fork.c: Likewise.
26969 * sysdeps/mach/hurd/getcwd.c: Likewise.
26970 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26971 * sysdeps/mach/hurd/mmap.c: Likewise.
26972 * sysdeps/mach/hurd/utimes.c: Likewise.
26973 * sysdeps/mach/hurd/xmknod.c: Likewise.
26974 * sysdeps/posix/profil.c: Likewise.
26975 * sysdeps/posix/readdir_r.c: Likewise.
26976 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26977 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26978 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26979 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26981 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26982 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26983 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26985 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26986 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26987 * sysdeps/pthread/lio_listio.c: Likewise.
26988 * sysdeps/sparc/dl-procinfo.h: Likewise.
26989 * sysdeps/unix/i386/sysdep.S: Likewise.
26990 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26991 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26992 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26993 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26995 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26996 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26997 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26998 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26999 * sysdeps/wordsize-32/divdi3.c: Likewise.
27000 * time/sys/time.h: Likewise.
27001 * wcsmbs/Makefile: Likewise.
27002
0549fbba
DM
270032013-01-01 David S. Miller <davem@davemloft.net>
27004
a141f1a7
DM
27005 * po/fr.po: Update from translation team.
27006
0549fbba
DM
27007 * catgets/gencat.c: Update copyright year.
27008 * csu/version.c: Likewise.
27009 * debug/catchsegv.sh: Likewise.
27010 * debug/pcprofiledump.c: Likewise.
27011 * debug/xtrace.sh: Likewise.
27012 * elf/ldconfig.c: Likewise.
27013 * elf/ldd.bash.in: Likewise.
27014 * elf/pldd.c: Likewise.
27015 * elf/sotruss.ksh: Likewise.
27016 * elf/sprof.c: Likewise.
27017 * iconv/iconv_prog.c: Likewise.
27018 * iconv/iconvconfig.c: Likewise.
27019 * locale/programs/locale.c: Likewise.
27020 * locale/programs/localedef.c: Likewise.
27021 * login/programs/pt_chown.c: Likewise.
27022 * malloc/memusage.sh: Likewise.
27023 * malloc/memusagestat.c: Likewise.
27024 * malloc/mtrace.pl: Likewise.
27025 * nscd/nscd.c: Likewise.
27026 * nss/getent.c: Likewise.
27027 * nss/makedb.c: Likewise.
27028 * posix/getconf.c: Likewise.
27029
18ea052c
SP
270302012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27031
27032 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27033 numbers.
27034
9c89fca6
MF
270352012-12-30 Mike Frysinger <vapier@gentoo.org>
27036
27037 * math/bits/mathcalls.h (modf): Use __nonnull.
27038
085ec079
SP
270392012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27040
27041 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27042 (split): Use macro CN instead of the bare value.
27043 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27044 could be used.
27045 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27046 instead of the bare value.
27047 (power1): Likewise.
27048
6d9f97e1
SP
270492012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27050
d63f73be
SP
27051 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27052 __ATAN_TWOM.
27053 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27054
6d9f97e1
SP
27055 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27056 their values.
27057 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27058 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27059 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27060 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27061
4c4febf5
AJ
270622012-12-28 Andreas Jaeger <aj@suse.de>
27063
af5843ef
AJ
27064 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27065 values are from Linux 3.7.
27066
4c4febf5
AJ
27067 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27068 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27069
99136f82
SP
270702012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27071
2f216c3c 27072 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
27073 TRUE case.
27074
99136f82
SP
27075 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27076 (norm): Likewise.
27077 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27078 variables with preprocessor constants.
27079 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27080 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27081 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27082
7fffbdff
BH
270832012-12-27 Bruno Haible <bruno@clisp.org>
27084
27085 [BZ #14317]
27086 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27087 only if needed.
27088
b76eb5f0
SP
270892012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27090
31a7fe5c
SP
27091 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27092 and use variable directly.
27093 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27094
b76eb5f0
SP
27095 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27096 MPONE.
27097 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27098 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27099 variable MPONE.
27100 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27101 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27102 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27103 include directive. Remove local variable MPONE.
27104 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27105 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27106 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27107
2c8bfe7d
DM
271082012-12-25 David S. Miller <davem@davemloft.net>
27109
27110 * version.h (RELEASE): Set to "development".
27111 (VERSION): Set to "2.17.90".
27112 * NEWS: Add 2.18 section.
27113
147d03b0
DM
271142012-12-21 David S. Miller <davem@davemloft.net>
27115
27116 * po/hr.po: Update from translation team.
27117
a8ebb2b9
AK
271182012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27119
27120 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27121
95b4f1b6
SE
271222012-12-19 Steve Ellcey <sellcey@mips.com>
27123
b2d94007 27124 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 27125
cedb2a90
MS
271262012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27127
27128 * manual/contrib.texi (Contributors): Spelling correction.
27129
bbf527d6
DM
271302012-12-15 David S. Miller <davem@davemloft.net>
27131
27132 * po/ru.po: Update from translation team.
27133
bc38c906
DM
271342012-12-13 David S. Miller <davem@davemloft.net>
27135
85429b1a
DM
27136 * NEWS: Mention IFUNC testsuite enhancements.
27137
d283e353
DM
27138 * po/pl.po: Update from translation team.
27139 * po/bg.po: Likewise.
27140
bc38c906
DM
27141 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27142 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27143
a181b0d7
DM
271442012-12-11 David S. Miller <davem@davemloft.net>
27145
4641d57e
DM
27146 * po/sv.po: Update from translation team.
27147
f7bc6495
DM
27148 * po/vi.po: Update from translation team.
27149
6fc9048f
DM
27150 * po/cs.po: Update from translation team.
27151
a181b0d7
DM
27152 * po/de.po: Update from translation team.
27153 * po/eo.po: Likewise.
27154 * po/nl.po: Likewise.
27155
f70bfe80
SP
271562012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27157
3c8b4190
SP
27158 [BZ #14246]
27159 * manual/argp.texi (Argp Helper Functions): Move node to follow
27160 Argp Parsing State.
27161
f70bfe80
SP
27162 [BZ #14872]
27163 * manual/conf.texi (Limits on File System Capacity): Mention if
27164 terminating null is included in the max size.
27165
188f0adf
AJ
271662012-12-10 Andreas Jaeger <aj@suse.de>
27167
27168 * po/cs.po: Update from translation team.
27169
56e7d3ad
SP
271702012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27171
27172 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27173 void pointer and cast to uintptr_t.
27174 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27175 path.
27176 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27177 * sysdeps/s390/s390-64/memset.S: Likewise.
27178
76f2d2ea 271792012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
27180
27181 [BZ #14833]
27182 * menual/message.texi (Message Translation): Fix typos.
27183 (Helper programs for gettext): Likewise.
27184
67cbf9a2
AS
271852012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27186
27187 [BZ #14898]
27188 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27189 Change to -1.
27190
682d0e9a
DM
271912012-12-07 David S. Miller <davem@davemloft.net>
27192
27193 * po/libc.pot: Update.
27194
573cd484
RH
271952012-12-07 Richard Henderson <rth@redhat.com>
27196
7e9da188 27197 [BZ #10114]
573cd484
RH
27198 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27199 normal/normal case to before the switch.
27200 (_FP_DIV): Likewise.
27201
e933a943
MF
272022012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27203 Mike Frysinger <vapier@gentoo.org>
27204
27205 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27206 check for __NR_fadvise64_64.
27207
82123268
CM
272082012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27209
27210 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27211 0, not just to plain "0" as a statement.
27212 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27213 with cw.
27214
d9814526
JM
272152012-12-06 Joseph Myers <joseph@codesourcery.com>
27216
27217 * NEWS: Use sourceware.org in Bugzilla URL.
27218
7728c574
SP
272192012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27220
f16946dd
SP
27221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27222 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27223
5704bbcb
SP
27224 * stdio-common/tst-put-error.c (do_test): Add newline to the
27225 padded test to ensure flush.
27226
17aa0516
JL
272272012-12-05 Jeff Law <law@redhat.com>
27228
27229 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27230
363313b5
JM
272312012-12-05 Joseph Myers <joseph@codesourcery.com>
27232
effbd42a
JM
27233 * README: Don't refer to ports add-on as distributed separately.
27234 Mention AArch64 in list of systems supported in the ports add-on.
27235
87600365
JM
27236 * LICENSES: Add more non-FSF copyright and license notices.
27237
a0d7066a
JM
27238 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27239 ((unused)).
27240
66ca5a5b
JM
27241 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27242
363313b5
JM
27243 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27244 10000 as width of padded output.
27245
b37984ad
JM
272462012-12-04 Joseph Myers <joseph@codesourcery.com>
27247
9003570a
JM
27248 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27249
b37984ad
JM
27250 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27251 variable LX with __attribute__ ((unused)).
27252 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27253 Likewise.
27254 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27255 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27256 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27257 with __attribute__ ((unused)).
27258
c8df52ec
DM
272592012-12-04 David S. Miller <davem@abraco.davemloft.net>
27260
27261 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27262
b3b099af
JM
272632012-12-04 Joseph Myers <joseph@codesourcery.com>
27264
c33aa6e3
JM
27265 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27266 (CFLAGS-nldbl-acos.c): New variable.
27267 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27268 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27269 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27270 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27271 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27272 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27273 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27274 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27275 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27276 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27277 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27278 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27279 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27280 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27281 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27282 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27283 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27284 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27285 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27286 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27287 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27288 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27289 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27290 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27291 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27292 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27293 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27294 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27295 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27296 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27297 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27298 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27299 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27300 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27301 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27302 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27303 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27304 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27305 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27306 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27307 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27308 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27309 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27310 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27311 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27312 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27313 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27314 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27315 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27316 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27317 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27318 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27319 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27320 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27321 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27322 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27323 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27324 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27325 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27326 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27327 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27328 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27329 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27330 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27331 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27332 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27333 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27334 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27335 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27336 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27337 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27338 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27339 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27340 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27341 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27342 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27343 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27344 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27345 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27346 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27347 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27348 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27349 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27350 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27351 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27352 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27353 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27354 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27355 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27356 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27357 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27358 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27359 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27360 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27361 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27362 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27363 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27364
20f0018d
JM
27365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27366 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27367
b3b099af
JM
27368 [BZ #14914]
27369 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27370 whole low double instead of just low 47 bits when splitting values
27371 into two parts.
27372
029264d1
AM
273732012-12-03 Allan McRae <allan@archlinux.org>
27374
27375 * manual/stdio.texi (Predefined Printf Handlers): Remove
27376 @hsep and @vsep usage.
27377
c9d6789e
MF
273782012-12-03 Mike Frysinger <vapier@gentoo.org>
27379
27380 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27381 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27382
4b7634a5
JL
273832012-12-03 Jeff Law <law@redhat.com>
27384
27385 * time/sys/time.h (settimeofday): Do not mark TV argument
27386 as __nonnull.
27387
eb6cbd24
MF
273882012-12-01 Mike Frysinger <vapier@gentoo.org>
27389
27390 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27391 when currently writing and seek to current position when not.
27392 * libio/Makefile (tests): Remove bug-fclose1.
27393 * libio/bug-fclose1.c: Delete.
27394
f638872a
JM
273952012-12-01 Joseph Myers <joseph@codesourcery.com>
27396
27397 * manual/arith.texi (feenableexcept): Fix typo.
27398 (fedisableexcept): Likewise.
27399
48085d14
RM
274002012-11-30 Roland McGrath <roland@hack.frob.com>
27401
27402 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27403 second, differently-typed declaration, rather than a cast.
27404
1a538b9f
SP
274052012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27406
27407 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27408 * include/rpc/svc.h: ... here.
27409
d07f2ff1 274102012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
27411
27412 [BZ #13013]
27413 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27414 depending n and resplen2 to catch cases where answer
27415 equals answerp2.
27416
c93ec1f0
CD
274172012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27418
27419 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27420 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27421
37db69de
MF
274222012-11-29 Mike Frysinger <vapier@gentoo.org>
27423
27424 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27425
e10c4e4f
RM
274262012-11-29 Roland McGrath <roland@hack.frob.com>
27427
27428 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27429
2af1b328
JL
274302012-11-28 Jeff Law <law@redhat.com>
27431
27432 [BZ #13761]
27433 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27434 dataset_temporary. Track alloca usage into alloca_used.
27435 If dataset is large allocate and release it via malloc/free.
27436
111db5b1
FW
274372012-06-04 Florian Weimer <fweimer@redhat.com>
27438
f06cc227 27439 [BZ #14197]
111db5b1
FW
27440 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27441
dd694abd
DM
274422012-11-28 David S. Miller <davem@davemloft.net>
27443
27444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27445
9984dd01
JM
274462012-11-28 Joseph Myers <joseph@codesourcery.com>
27447
27448 [BZ #14803]
27449 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27450 of pi/2 rounded to nearest to 64 bits.
27451 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27452 nearest to 64 bits.
27453 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27454 bits.
27455
14bc93a9
JL
274562012-11-28 Jeff Law <law@redhat.com>
27457 Martin Osvald <mosvald@redhat.com>
27458
27459 [BZ #14889]
27460 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27461 * sunrpc/svc.c: Include time.h.
27462 (__svc_accept_failed): New function.
27463 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27464 any reason other than EINTR, call __svc_accept_failed.
27465 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27466 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27467
e3c6aa3a
AS
274682012-11-28 Andreas Schwab <schwab@suse.de>
27469
27470 * scripts/abilist.awk: Also handle indirect functions in .opd
27471 section.
27472
1bead169
JM
274732012-11-28 Joseph Myers <joseph@codesourcery.com>
27474
27475 [BZ #13881]
27476 * sysdeps/x86/fpu/powl_helper.c: New file.
27477 * sysdeps/x86/fpu/Makefile: Likewise.
27478 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27479 (p3): New object.
27480 (__ieee754_powl): Use __powl_helper for finite arguments except
27481 integer exponents below 8.
27482 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27483 (p3): New object.
27484 (__ieee754_powl): Use __powl_helper for finite arguments except
27485 integer exponents below 8.
27486 * math/libm-test.inc (pow_test): Add more tests and enable some
27487 previously disabled tests.
27488 * sysdeps/i386/fpu/libm-test-ulps: Update.
27489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27490
0817d63d
SP
274912012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27492 Carlos O'Donell <carlos_odonell@mentor.com>
27493
27494 * nss/makedb.c (is_prime): Assert that input is odd and greater
27495 than 4. Note that fact in a comment too.
27496 (next_prime): Add 4 to input.
27497
de2fd463
SP
274982012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27499
27500 [BZ #11741]
27501 * libio/Makefile (tests): Add test case tst-fwrite-error.
27502 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27503 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27504 * libio/tst-fwrite-error.c: New test case.
27505
c515fb51
L
275062012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27507
27508 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27509 before casting to void *.
27510 * include/libc-internal.h (__pointer_type): New macro.
27511 (__integer_if_pointer_type_sub): Likewise.
27512 (__integer_if_pointer_type): Likewise.
27513 (cast_to_integer): Likewise.
27514 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27515 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27516 before casting to atomic64_t.
27517 (atomic_exchange_acq): Likewise.
27518 (__arch_exchange_and_add_body): Likewise.
27519 (__arch_add_body): Likewise.
27520 (atomic_add_negative): Likewise.
27521 (atomic_add_zero): Likewise.
27522
4cf77aa9
JM
275232012-11-26 Joseph Myers <joseph@codesourcery.com>
27524
27525 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27526 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27527 (add_fdes): Likewise.
27528 (linear_search_fdes): Likewise.
27529 (binary_search_unencoded_fdes): Likewise.
27530
d260b3b4
AS
275312012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27532
27533 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27534
67060746
AC
275352012-11-24 Adam Conrad <adconrad@0c3.net>
27536
27537 * configure.in: Autodetect C++ header directories.
27538 * configure: Regenerated.
27539
800938a1
MF
275402012-11-23 Mike Frysinger <vapier@gentoo.org>
27541
27542 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27543
4e6e34e6
AS
275442012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27545
27546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27547
7c7feb47
JM
275482012-11-22 Joseph Myers <joseph@codesourcery.com>
27549
7184dcdf
JM
27550 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27551 LDBL_MANT_DIG == 106]: Disable some tests.
27552 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27553 Likewise.
27554 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27555 Likewise.
27556
0a42601f
JM
27557 [BZ #14871]
27558 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27559 input for small inputs. Return +/- pi/2 for large inputs.
27560 * math/libm-test.inc (atan_test): Add more tests.
27561
79c9b9fe
JM
27562 * sysdeps/generic/unwind-dw2-fde-glibc.c
27563 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27564 __attribute__ ((unused)).
27565
c60d3bf2
JM
27566 [BZ #14645]
27567 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27568 x * y if x and y are nonzero and z is zero.
27569
ef1e0867
JM
27570 [BZ #14811]
27571 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27572 nonzero exponents with absolute value below 0x1p-117 to +/-
27573 0x1p-117.
27574
1468ded3
JM
27575 [BZ #14869]
27576 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27577 up arguments below 2**-450, not just those below 2**-500.
27578 * math/libm-test.inc (hypot_test): Add another test.
27579
8e27e3cc
JM
27580 [BZ #14868]
27581 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27582 Return a+b for ratio over 2**120, not 2**60.
27583 * math/libm-test.inc (hypot_test): Add another test.
27584
c9c0279b
JM
27585 * math/libm-test.inc (clog_test): Use
27586 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27587 (clog10_test): Likewise.
27588
7c7feb47
JM
27589 [BZ #6778]
27590 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27591
fff1530e
AS
275922012-11-22 Andreas Schwab <schwab@suse.de>
27593
27594 * sysdeps/i386/fpu/libm-test-ulps: Update.
27595
94558d30
PT
275962012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27597
27598 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27599 printf output with newline.
27600
7e1be741
L
276012012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27602
6bfea974
L
27603 [BZ #14865]
27604 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27605 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27606 -z nodlopen, -z initfirst and -z execstack support.
27607 * configure: Regenerated.
27608
7e1be741
L
27609 * elf/elf.h (DF_1_NODIRECT): New macro.
27610 (DF_1_IGNMULDEF): Likewise.
27611 (DF_1_NOKSYMS): Likewise.
27612 (DF_1_NOHDR): Likewise.
27613 (DF_1_EDITED): Likewise.
27614 (DF_1_NORELOC): Likewise.
27615 (DF_1_SYMINTPOSE): Likewise.
27616 (DF_1_GLOBAUDIT): Likewise.
27617 (DF_1_SINGLETON): Likewise.
27618 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27619 DT_1_SUPPORTED_MASK bits.
27620 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27621
105ce2ce
CD
276222012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27623
27624 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27625
123be9de
TS
276262012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27627
d072f3f7
TS
27628 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27629 macro.
27630
123be9de
TS
27631 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27632 (sendmmsg): Move declarations...
27633 * socket/sys/socket.h: ... here.
27634 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27635 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27636 include it from...
27637 * socket/recvmmsg.c: ... this new file.
27638 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27639 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27640 definition of __sendmmsg hidden.
27641 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27642 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27643 Move ENOSYS stub into and include it from...
27644 * socket/sendmmsg.c: ... this new file.
27645 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27646 (sysdep_routines): Move recvmmsg and sendmmsg...
27647 * socket/Makefile (routines): ... here.
27648 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27649 (GLIBC_PRIVATE): Add __sendmmsg.
27650 * include/sys/socket.h (__sendmmsg): Add declarations.
27651 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27652 sendmmsg.
27653
cf9a5d18
JM
276542012-11-20 Joseph Myers <joseph@codesourcery.com>
27655
27656 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27657 variable I1 with __attribute__ ((unused)).
27658 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27659
ecd4caf9
JM
276602012-11-19 Joseph Myers <joseph@codesourcery.com>
27661
be14d48f
JM
27662 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27663 DUMMY variables with __attribute__ ((unused)).
27664
ecd4caf9
JM
27665 * bits/byteswap.h: Include <bits/types.h>.
27666 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27667
986cab95
PT
276682012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27669
27670 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27671 string_t. Do not manually set errno.
27672 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27673 length with __strnlen. Make sure to both set errno and return it on
27674 failure.
27675
6d33cc9d
DM
276762012-11-19 David S. Miller <davem@davemloft.net>
27677
27678 With help from Joseph Myers.
27679 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27680 very large arguments properly.
27681 * math/libm-test.inc (atan_test): New tests.
27682 (atan2_test): New tests.
27683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27684 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27685
ee663277
JM
276862012-11-19 Joseph Myers <joseph@codesourcery.com>
27687
877f2d8e
JM
27688 [BZ #14856]
27689 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27690 Define to 3.
27691
116fc08a
JM
27692 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27693 [POSIX] (EADDRNOTAVAIL): Likewise.
27694 [POSIX] (EAFNOSUPPORT): Likewise.
27695 [POSIX] (EALREADY): Likewise.
27696 [POSIX] (ECONNABORTED): Likewise.
27697 [POSIX] (ECONNREFUSED): Likewise.
27698 [POSIX] (ECONNRESET): Likewise.
27699 [POSIX] (EDESTADDRREQ): Likewise.
27700 [POSIX] (EDQUOT): Likewise.
27701 [POSIX] (EHOSTUNREACH): Likewise.
27702 [POSIX] (EIDRM): Likewise.
27703 [POSIX] (EISCONN): Likewise.
27704 [POSIX] (ELOOP): Likewise.
27705 [POSIX] (EMULTIHOP): Likewise.
27706 [POSIX] (ENETDOWN): Likewise.
27707 [POSIX] (ENETUNREACH): Likewise.
27708 [POSIX] (ENOBUFS): Likewise.
27709 [POSIX] (ENODATA): Likewise.
27710 [POSIX] (ENOLINK): Likewise.
27711 [POSIX] (ENOMSG): Likewise.
27712 [POSIX] (ENOPROTOOPT): Likewise.
27713 [POSIX] (ENOSR): Likewise.
27714 [POSIX] (ENOSTR): Likewise.
27715 [POSIX] (ENOTCONN): Likewise.
27716 [POSIX] (ENOTSOCK): Likewise.
27717 [POSIX] (EOPNOTSUPP): Likewise.
27718 [POSIX] (EOVERFLOW): Likewise.
27719 [POSIX] (EPROTO): Likewise.
27720 [POSIX] (EPROTONOSUPPORT): Likewise.
27721 [POSIX] (EPROTOTYPE): Likewise.
27722 [POSIX] (ESTALE): Likewise.
27723 [POSIX] (ETIME): Likewise.
27724 [POSIX] (ETXTBSY): Likewise.
27725 [POSIX] (EWOULDBLOCK): Likewise.
27726 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27727 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27728 [POSIX] (SEEK_CUR): Likewise.
27729 [POSIX] (SEEK_END): Likewise.
27730 [POSIX || UNIX98] (mode_t): Do not require.
27731 [POSIX] (off_t): Likewise.
27732 [POSIX] (pid_t): Likewise.
27733 [POSIX] (sys/stat.h): Do not allow header.
27734 [POSIX] (unistd.h): Likewise.
27735 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27736 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27737 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27738 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27739 require.
27740 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27741 sigevent): Specify elements.
27742 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27743 entry.
27744 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27745 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27746
a483863f
JM
27747 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27748 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27749 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27750 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27751 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27752 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27753 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27754 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27755 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27756 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27757 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27758 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27759 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27760 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27761 Likewise.
27762 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27763 Likewise.
27764 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27765 Likewise.
27766 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27767 Likewise.
27768 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27769 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27770 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27771 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27772 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27773 Specify lower bound on value.
27774 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27775 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27776 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27777 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27778 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27779 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27780 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27781 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27782 value.
27783 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27784 as optional.
27785 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27786 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27787 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27788 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27789 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27790 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27791 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27792 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27793 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27794 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27795 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27796 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27797 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27798 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27799 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27800 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27801 entry.
27802 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27803 optional.
27804 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27805 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27806 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27807 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27808 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27809 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27810 Likewise.
27811 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27812 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27813 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27814 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27815 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27816 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27817 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27818 as optional.
27819 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27820 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27821 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27822 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27823 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27824 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27825 specify as optional.
27826 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27827 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27828 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27829 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27830 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27831 [XPG3] (NL_LANGMAX): Likewise.
27832 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27833 [POSIX || XPG3] (NL_NMAX): Likewise.
27834 [POSIX || XPG3] (NL_SETMAX): Likewise.
27835 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27836 [XPG3] (NZERO): Likewise.
27837 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27838 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27839 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27840 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27841 (REG_ERANGE): Expect.
27842 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27843 optional-constant.
27844 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27845 Use (void) in prototype.
27846 [POSIX] (*_t): Allow.
27847 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27848 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27849 (WRDE_BADVAL): Expect.
27850
5ba924e3
JM
27851 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27852 expect.
27853 [XPG3 || XPG4] (O_RSYNC): Likewise.
27854 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27855 Likewise.
27856 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27857 [XPG3 || XPG4] (sigqueue): Likewise.
27858 [XPG3 || XPG4] (sigtimedwait): Likewise.
27859 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27860 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27861 [XPG3 || XPG4] (vsnprintf): Likewise.
27862 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27863 Likewise.
27864 [XPG3 || XPG4] (blksize_t): Likewise.
27865 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27866 Likewise.
27867 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27868 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27869 [XPG3 || XPG4] (struct itimerspec): Likewise.
27870 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27871 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27872 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27873 [XPG3 || XPG4] (clockid_t): Likewise.
27874 [XPG3 || XPG4] (timer_t): Likewise.
27875 [XPG3 || XPG4] (clock_getres): Likewise.
27876 [XPG3 || XPG4] (clock_gettime): Likewise.
27877 [XPG3 || XPG4] (clock_settime): Likewise.
27878 [XPG3 || XPG4] (nanosleep): Likewise.
27879 [XPG3 || XPG4] (timer_create): Likewise.
27880 [XPG3 || XPG4] (timer_delete): Likewise.
27881 [XPG3 || XPG4] (timer_gettime): Likewise.
27882 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27883 [XPG3 || XPG4] (timer_settime): Likewise.
27884 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27885 [XPG3 || XPG4] (getlogin_r): Likewise.
27886 [XPG3 || XPG4] (pread): Likewise.
27887 [XPG3 || XPG4] (pthread_atfork): Likewise.
27888 [XPG3 || XPG4] (pwrite): Likewise.
27889
ee663277
JM
27890 [BZ #14835]
27891 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27892 <bits/siginfo.h>.
27893
942caa16
PT
278942012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27895
e19af380
PT
27896 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27897 finalizing MALLSTREAM.
27898
942caa16
PT
27899 * sysdeps/mach/hurd/syncfs.c: New file.
27900
cfde9b46
SP
279012012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27902
27903 [BZ #14719]
27904 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27905 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27906 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27907 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27908 (_nss_dns_gethostbyname4_r): Likewise.
27909 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27910 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27911
f6da27e5
PH
279122012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27913
27914 [BZ #13763]
27915 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27916
6665d4a2
SM
279172012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27918
1f51ee92
SM
27919 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27920 * elf/cache.c (print_entry): Print ",AArch64" for
27921 FLAG_AARCH64_LIB64
27922
6665d4a2
SM
27923 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27924 * elf/cache.c (print_entry): Print ",hard-float" for
27925 FLAG_ARM_LIBHF.
27926
05b227bd
DM
279272012-11-18 David S. Miller <davem@davemloft.net>
27928
27929 With help from Joseph Myers.
27930 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27931 cutoff to 2**-13.
27932 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27933 cutoff to 2**-25.
27934 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27935 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27936 small.
27937 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27938 * math/libm-test.inc (y0_test): New tests.
27939 (y1_test): New tests.
27940 * sysdeps/i386/fpu/libm-test-ulps: Update.
27941 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27943
786b0b67
AS
279442012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27945
27946 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27947 64-bit targets.
27948 * configure: Regenerated.
27949
8e18b86d
DM
279502012-11-17 David S. Miller <davem@davemloft.net>
27951
27952 [BZ #14811]
27953 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27954 nonzero exponents with absolute value below 0x1p-128 to +/-
27955 0x1p-128.
27956
531f1ae0
JM
279572012-11-17 Joseph Myers <joseph@codesourcery.com>
27958
12df29e2
JM
27959 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27960
150dc1a0
JM
27961 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27962
531f1ae0
JM
27963 * posix/getconf-speclist.c: New file.
27964 * posix/posix-envs.def: Likewise.
27965 * posix/confstr.c (START_ENV_GROUP): New macro.
27966 (END_ENV_GROUP): Likewise.
27967 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27968 (KNOWN_PRESENT_ENV_STRING): Likewise.
27969 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27970 (UNKNOWN_ENVIRONMENT): Likewise.
27971 (confstr): Include posix-envs.def instead of handling
27972 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27973 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27974 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27975 (END_ENV_GROUP): Likewise.
27976 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27977 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27978 (UNKNOWN_ENVIRONMENT): Likewise.
27979 (__sysconf): Include posix-envs.def instead of handling associated
27980 cases directly here.
27981 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27982 preprocessing getconf-speclist.c rather than running getconf or
27983 generating empty file.
27984
a93f9cbc
PT
279852012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27986
27987 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27988
d64d9f87
AL
279892012-11-16 Andrej Lajovic <natrij@gmail.com>
27990
27991 [BZ #14672]
27992 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27993
447885eb
DM
279942012-11-16 David S. Miller <davem@davemloft.net>
27995
27996 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27997 smaller than LDBL_EPSILON/2.0L, just return xm1.
27998
bcbf9830
L
279992012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28000
28001 * elf/tst-array1.c (init): Set constructor priority to 1000.
28002 (fini): Set destructor priority to 1000.
28003 * elf/tst-array2dep.c: Likewise.
28004
2b766585
SP
280052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28006
28007 [BZ #11741]
28008 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28009 (_IO_new_file_xsputn): Also return EOF if none of the input
28010 data was written when overflow failed.
28011 * libio/iopadn.c (_IO_padn): Likewise.
28012 * libio/iowpadn.c (_IO_wpadn): Likewise.
28013 * stdio-common/tst-put-error.c: Add copyright notice.
28014 (do_test): Add case for printing padded string.
28015 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28016 _IO_padn returned error.
28017 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28018 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28019 return EOF.
28020
b1848fde
SP
280212012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28022
28023 * libio/libioP.h: Add comment note that the references to C++
28024 bits are now obsolete.
28025
2fd89785
MS
280262012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28027
28028 * math/libm-test.inc (check_complex): Use asprintf.
28029
e3ea5409
JM
280302012-11-14 Joseph Myers <joseph@codesourcery.com>
28031
28032 * debug/pcprofiledump.c (print_version): Update copyright year.
28033 * malloc/memusagestat.c (print_version): Likewise.
28034
2e64d265
L
280352012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28036
28037 [BZ #14831]
28038 * elf/Makefile (tests): Add tst-audit8.
28039 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28040 ($(objpfx)tst-audit8.out): New target.
28041 (tst-audit8-ENV): New variable.
28042 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28043 audit if l_reloc_result is NULL.
28044 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28045 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28046 * elf/tst-audit8.c: New file.
28047
c485e4d2
MS
280482012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28049
28050 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28051 * misc/Makefile (CFLAGS-select.c): Define.
28052 * posix/Makefile (CFLAGS-pause.c): Define.
28053
3a0d900a
DM
280542012-11-13 David S. Miller <davem@davemloft.net>
28055
28056 * crypt/Makefile: Move test targets after toplevel Rules
28057 inclusion. Grab any necessary sysdep routines when linking.
28058 * crypt/md5.c (md5_process_block): Remove define, we will always
28059 name it __md5_process_block.
28060 (md5_finish_ctx): Update md5_process_block call.
28061 (md5_stream): Likewise.
28062 (md5_process_bytes): Likewise.
28063 (md5_process_block): Rename to __md5_process_block and move to ...
28064 * crypt/md5-block.c: ... here.
28065 * crypt/sha256.c (sha256_process_block): Move to ...
28066 * crypt/sha256-block.c: ... here.
28067 * crypt/sha512.c (sha512_process_block): Move to ...
28068 * crypt/sha512-block.c: ... here.
28069 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28070 path.
28071 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28072 * sysdeps/sparc/sparc64/multiarch/Makefile
28073 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28074 crypt subdir.
28075 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28076 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28077 multiarch changes.
28078 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28079 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28080 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28081 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28082 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28083 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28084 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28085 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28086 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28087 file.
28088 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28089 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28090 file.
28091 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28092
8ca89318
JM
280932012-11-13 Joseph Myers <joseph@codesourcery.com>
28094
e27d476a
JM
28095 * timezone/tzselect.ksh: Update from tzcode git revision
28096 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28097 * timezone/zdump.c: Likewise.
28098 * timezone/zic.c: Likewise.
28099 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28100 in TZVERSION setting, not $(PKGVERSION).
28101 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
28102 REPORT_BUGS_TO settings.
28103
8ca89318
JM
28104 [BZ #14838]
28105 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28106 macro.
28107
47594329
MS
281082012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28109
28110 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28111 detection to immediately after _FP_ROUND().
28112 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28113 bits are 0.
28114
640ac3f1
DM
281152012-11-11 David S. Miller <davem@davemloft.net>
28116
28117 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28118 inttypes.h
28119 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28120 __close rather than their public counterparts.
28121
3d2577bb
JM
281222012-11-10 Joseph Myers <joseph@codesourcery.com>
28123
28124 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28125 file.
28126 [UNIX98] (sem_timedwait): Do not expect.
28127 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28128 [XPG4 || UNIX98] (sockatmark): Do not expect.
28129 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28130 (clock_getcpuclockid): Do not expect.
28131 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28132 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28133 Do not expect.
28134 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28135 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28136 [UNIX98] (vwscanf): Likewise.
28137 [UNIX98] (vswscanf): Likewise.
28138
fb1ae1ee
JM
281392012-11-09 Joseph Myers <joseph@codesourcery.com>
28140
9ec6f8bd
JM
28141 * timezone/version.h: Remove file.
28142 * timezone/README: Do not refer to version.h.
28143 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28144 $(objpfx)version.h.
28145 ($(objpfx)zdump.o): Likewise.
c3f81911 28146 ($(objpfx)version.h): New target.
9ec6f8bd 28147
0aa8f8a1
JM
28148 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28149 2012i.
28150 * timezone/README: Don't mention modification to tzselect.ksh.
28151 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28152 work on unmodified tzselect.ksh. Substitute version numbers in
28153 tzselect.ksh.
28154
4e87147f
JM
28155 * Makefile (format-me): Remove.
28156 (INSTALL): Adjust indentation. Use commands directly instead of
28157 using $(format-me).
28158
8b748aed
JM
28159 * aclocal.m4 (ACX_PKGVERSION): New macro.
28160 (ACX_BUGURL): Likewise.
28161 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28162 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28163 (REPORT_BUGS_TO): Likewise.
28164 * configure: Regenerated.
28165 * config.h.in (PKGVERSION): New macro.
28166 (REPORT_BUGS_TO): Likewise.
28167 * config.make.in (PKGVERSION): New variable.
28168 (PKGVERSION_TEXI): Likewise.
28169 (REPORT_BUGS_TO): Likewise.
28170 (REPORT_BUGS_TEXI): Likewise.
28171 * Makefile (format-me): Use -I$(common-objpfx)manual.
28172 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28173 ($(common-objpfx)manual/%): New target.
28174 (manual/%): Remove target.
28175 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28176 (print_version): Use PKGVERSION.
28177 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28178 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28179 and REPORT_BUGS_TO.
28180 ($(objpfx)xtrace): Likewise.
28181 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28182 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28183 (print_version): Use PKGVERSION.
28184 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28185 (do_version): Use PKGVERSION.
28186 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28187 REPORT_BUGS_TO.
28188 (common-ldd-rewrite): Likewise.
28189 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28190 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28191 (print_version): Use PKGVERSION.
28192 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28193 * elf/pldd.c (argp_program_bug_address): Remove variable.
28194 (more_help): New function.
28195 (argp): Use more_help.
28196 (print_version): Use PKGVERSION.
28197 * elf/sln.c (main): Use PKGVERSION.
28198 (usage): Use REPORT_BUGS_TO.
28199 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28200 (top level): Use PKGVERSION.
28201 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28202 (print_version): Use PKGVERSION.
28203 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28204 (print_version): Use PKGVERSION.
28205 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28206 (print_version): Use PKGVERSION.
28207 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28208 (print_version): Use PKGVERSION.
28209 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28210 (print_version): Use PKGVERSION.
28211 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28212 (print_version): Use PKGVERSION.
28213 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28214 and BUGURL.
28215 ($(objpfx)memusage): Likewise.
28216 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28217 (do_version): Use PKGVERSION.
28218 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28219 (print_version): Use PKGVERSION.
28220 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28221 ($PKGVERSION): New variable.
28222 ($REPORT_BUGS_TO): Likewise.
28223 (usage): Use $REPORT_BUGS_TO.
28224 (top level): Use $PKGVERSION.
28225 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28226 ($(objpfx)pkgvers.texi): New rule.
28227 ($(objpfx)stamp-pkgvers): Likewise.
28228 * manual/install.texi: Include pkgvers.texi.
28229 (--with-pkgversion): Document new configure option.
28230 (--with-bugurl): Likewise.
28231 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28232 than necessarily for this particular distribution. Use
28233 REPORT_BUGS_TO for where to report bugs.
28234 * INSTALL: Regenerated.
28235 * manual/libc.texinfo: Include pkgvers.texi.
28236 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28237 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28238 (print_version): Use PKGVERSION.
28239 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28240 (print_version): Use PKGVERSION.
28241 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28242 (print_version): Use PKGVERSION.
28243 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28244 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28245 macro.
28246 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28247 (print_version): Use PKGVERSION.
28248 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28249 (print_version): Use PKGVERSION.
28250 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28251 and PKGVERSION.
28252
92e4b6a9
JM
28253 * timezone/checktab.awk: Update from tzcode 2012i.
28254 * timezone/ialloc.c: Likewise.
28255 * timezone/private.h: Likewise.
28256 * timezone/scheck.c: Likewise.
28257 * timezone/tzfile.h: Likewise.
28258 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28259 (TZVERSION): Hardcode tzcode version number.
28260 * timezone/zdump.c: Update from tzcode 2012i.
28261 * timezone/zic.c: Likewise.
28262 * timezone/version.h: New file.
28263 * timezone/README: Describe version.h. Update upstream location.
28264
9bde902c
JM
28265 [BZ #14824]
28266 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28267 (mktemp): Enable declaration.
28268 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28269 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28270 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28271 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28272 Likewise.
28273 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28274 Likewise.
28275 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28276 Likewise.
28277 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28278 Likewise.
28279 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28280 Likewise.
28281 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28282 Likewise.
28283
fb1ae1ee
JM
28284 [BZ #14821]
28285 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28286 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28287 for copies of such integer values.
28288 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28289 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28290
2c1adbcb
AJ
282912012-11-09 Andreas Jaeger <aj@suse.de>
28292
28293 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28294 definitions and declarations that are provided by
28295 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28296
d0f8457e
AK
282972012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28298
3a235abb 28299 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
28300 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28301 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28302 definition.
28303
57241e26
MS
283042012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28305
28306 * elf/elf.h: Update comment before AArch64 relocations.
28307
60e8270d
DM
283082012-11-07 David S. Miller <davem@davemloft.net>
28309
28310 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28311 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28312 (__start_context): Declare.
28313 (__makecontext_ret): Delete.
28314 (__makecontext): Hook up __start_context instead of
28315 __makecontext_ret.
28316 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28317 (sysdep_routines): Add __start_context when in stdlib.
28318
0fbb0fbc
JM
283192012-11-07 Joseph Myers <joseph@codesourcery.com>
28320
28321 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28322 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28323 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28324 hardcoded "nm".
28325 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28326 (READELF): New variable. Use it instead of hardcoded "readelf".
28327
eb48db7e
L
283282012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28329
28330 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28331 * sysdeps/x86/Makefile: Here.
28332 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28333 * sysdeps/x86/tst-xmmymm.sh: This.
28334
05bcf62a
JM
283352012-11-07 Joseph Myers <joseph@codesourcery.com>
28336
c4b6cf53
JM
28337 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28338 expectations.
28339 [UNIX98] (pthread_barrier_t): Do not expect.
28340 [UNIX98] (pthread_barrierattr_t): Likewise.
28341 [UNIX98] (pthread_spinlock_t): Likewise.
28342 [UNIX98] (pthread_barrier_destroy): Likewise.
28343 [UNIX98] (pthread_barrier_init): Likewise.
28344 [UNIX98] (pthread_barrier_wait): Likewise.
28345 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28346 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28347 [UNIX98] (pthread_barrierattr_init): Likewise.
28348 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28349 [UNIX98] (pthread_getcpuclockid): Likewise.
28350 [UNIX98] (pthread_mutex_timedlock): Likewise.
28351 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28352 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28353 [UNIX98] (pthread_sigmask): Likewise.
28354 [UNIX98] (pthread_spin_destroy): Likewise.
28355 [UNIX98] (pthread_spin_init): Likewise.
28356 [UNIX98] (pthread_spin_lock): Likewise.
28357 [UNIX98] (pthread_spin_trylock): Likewise.
28358 [UNIX98] (pthread_spin_unlock): Likewise.
28359 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28360 Do not expect.
28361 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28362 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28363 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28364 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28365 [XPG3 || XPG4] (pthread_key_t): Likewise.
28366 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28367 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28368 [XPG3 || XPG4] (pthread_once_t): Likewise.
28369 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28370 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28371 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28372 [XPG3 || XPG4] (pthread_t): Likewise.
28373
cbe6e120
JM
28374 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28375 not expect.
28376 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28377
1b126443
JM
28378 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28379 Change function return type to int.
28380
b961a573
JM
28381 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28382 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28383 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28384 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28385 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28386 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28387 [!POSIX] (posix_madvise): Likewise.
28388 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28389 && !UNIX98].
28390 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28391 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28392 (mode_t): Likewise.
28393 (posix_mem_offset): Likewise.
28394 (posix_typed_mem_get_info): Likewise.
28395 (posix_typed_mem_open): Likewise.
28396
9e188909
JM
28397 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28398 Change condition to [XOPEN2K8].
28399
05bcf62a
JM
28400 * conform/conformtest.pl: Preprocess allow-header data with -x c
28401 instead of from stdin.
28402 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28403 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28404 [C99-based standards] (cerfc): Likewise.
28405 [C99-based standards] (cexp2): Likewise.
28406 [C99-based standards] (cexpm1): Likewise.
28407 [C99-based standards] (clog10): Likewise.
28408 [C99-based standards] (clog1p): Likewise.
28409 [C99-based standards] (clog2): Likewise.
28410 [C99-based standards] (clgamma): Likewise.
28411 [C99-based standards] (ctgamma): Likewise.
28412 [C99-based standards] (cerff): Likewise.
28413 [C99-based standards] (cerfcf): Likewise.
28414 [C99-based standards] (cexp2f): Likewise.
28415 [C99-based standards] (cexpm1f): Likewise.
28416 [C99-based standards] (clog10f): Likewise.
28417 [C99-based standards] (clog1pf): Likewise.
28418 [C99-based standards] (clog2f): Likewise.
28419 [C99-based standards] (clgammaf): Likewise.
28420 [C99-based standards] (ctgammaf): Likewise.
28421 [C99-based standards] (cerfl): Likewise.
28422 [C99-based standards] (cerfcl): Likewise.
28423 [C99-based standards] (cexp2l): Likewise.
28424 [C99-based standards] (cexpm1l): Likewise.
28425 [C99-based standards] (clog10l): Likewise.
28426 [C99-based standards] (clog1pl): Likewise.
28427 [C99-based standards] (clog2l): Likewise.
28428 [C99-based standards] (clgammal): Likewise.
28429 [C99-based standards] (ctgammal): Likewise.
28430 * conform/data/inttypes.h-data [C99-based standards]: Include
28431 stdint.h-data. Remove all expectations for stdint.h contents.
28432 [C99-based standards] (PRI*): Do not allow.
28433 [C99-based standards] (SCN*): Likewise.
28434 [C99-based standards] (*_t): Likewise.
28435 [C99-based-standards] (PRId8): Expect macro.
28436 [C99-based-standards] (PRIi8): Likewise.
28437 [C99-based-standards] (PRIo8): Likewise.
28438 [C99-based-standards] (PRIu8): Likewise.
28439 [C99-based-standards] (PRIx8): Likewise.
28440 [C99-based-standards] (PRIX8): Likewise.
28441 [C99-based-standards] (SCNd8): Likewise.
28442 [C99-based-standards] (SCNi8): Likewise.
28443 [C99-based-standards] (SCNo8): Likewise.
28444 [C99-based-standards] (SCNu8): Likewise.
28445 [C99-based-standards] (SCNx8): Likewise.
28446 [C99-based-standards] (PRIdLEAST8): Likewise.
28447 [C99-based-standards] (PRIiLEAST8): Likewise.
28448 [C99-based-standards] (PRIoLEAST8): Likewise.
28449 [C99-based-standards] (PRIuLEAST8): Likewise.
28450 [C99-based-standards] (PRIxLEAST8): Likewise.
28451 [C99-based-standards] (PRIXLEAST8): Likewise.
28452 [C99-based-standards] (SCNdLEAST8): Likewise.
28453 [C99-based-standards] (SCNiLEAST8): Likewise.
28454 [C99-based-standards] (SCNoLEAST8): Likewise.
28455 [C99-based-standards] (SCNuLEAST8): Likewise.
28456 [C99-based-standards] (SCNxLEAST8): Likewise.
28457 [C99-based-standards] (PRIdFAST8): Likewise.
28458 [C99-based-standards] (PRIiFAST8): Likewise.
28459 [C99-based-standards] (PRIoFAST8): Likewise.
28460 [C99-based-standards] (PRIuFAST8): Likewise.
28461 [C99-based-standards] (PRIxFAST8): Likewise.
28462 [C99-based-standards] (PRIXFAST8): Likewise.
28463 [C99-based-standards] (SCNdFAST8): Likewise.
28464 [C99-based-standards] (SCNiFAST8): Likewise.
28465 [C99-based-standards] (SCNoFAST8): Likewise.
28466 [C99-based-standards] (SCNuFAST8): Likewise.
28467 [C99-based-standards] (SCNxFAST8): Likewise.
28468 [C99-based-standards] (PRId16): Likewise.
28469 [C99-based-standards] (PRIi16): Likewise.
28470 [C99-based-standards] (PRIo16): Likewise.
28471 [C99-based-standards] (PRIu16): Likewise.
28472 [C99-based-standards] (PRIx16): Likewise.
28473 [C99-based-standards] (PRIX16): Likewise.
28474 [C99-based-standards] (SCNd16): Likewise.
28475 [C99-based-standards] (SCNi16): Likewise.
28476 [C99-based-standards] (SCNo16): Likewise.
28477 [C99-based-standards] (SCNu16): Likewise.
28478 [C99-based-standards] (SCNx16): Likewise.
28479 [C99-based-standards] (PRIdLEAST16): Likewise.
28480 [C99-based-standards] (PRIiLEAST16): Likewise.
28481 [C99-based-standards] (PRIoLEAST16): Likewise.
28482 [C99-based-standards] (PRIuLEAST16): Likewise.
28483 [C99-based-standards] (PRIxLEAST16): Likewise.
28484 [C99-based-standards] (PRIXLEAST16): Likewise.
28485 [C99-based-standards] (SCNdLEAST16): Likewise.
28486 [C99-based-standards] (SCNiLEAST16): Likewise.
28487 [C99-based-standards] (SCNoLEAST16): Likewise.
28488 [C99-based-standards] (SCNuLEAST16): Likewise.
28489 [C99-based-standards] (SCNxLEAST16): Likewise.
28490 [C99-based-standards] (PRIdFAST16): Likewise.
28491 [C99-based-standards] (PRIiFAST16): Likewise.
28492 [C99-based-standards] (PRIoFAST16): Likewise.
28493 [C99-based-standards] (PRIuFAST16): Likewise.
28494 [C99-based-standards] (PRIxFAST16): Likewise.
28495 [C99-based-standards] (PRIXFAST16): Likewise.
28496 [C99-based-standards] (SCNdFAST16): Likewise.
28497 [C99-based-standards] (SCNiFAST16): Likewise.
28498 [C99-based-standards] (SCNoFAST16): Likewise.
28499 [C99-based-standards] (SCNuFAST16): Likewise.
28500 [C99-based-standards] (SCNxFAST16): Likewise.
28501 [C99-based-standards] (PRId32): Likewise.
28502 [C99-based-standards] (PRIi32): Likewise.
28503 [C99-based-standards] (PRIo32): Likewise.
28504 [C99-based-standards] (PRIu32): Likewise.
28505 [C99-based-standards] (PRIx32): Likewise.
28506 [C99-based-standards] (PRIX32): Likewise.
28507 [C99-based-standards] (SCNd32): Likewise.
28508 [C99-based-standards] (SCNi32): Likewise.
28509 [C99-based-standards] (SCNo32): Likewise.
28510 [C99-based-standards] (SCNu32): Likewise.
28511 [C99-based-standards] (SCNx32): Likewise.
28512 [C99-based-standards] (PRIdLEAST32): Likewise.
28513 [C99-based-standards] (PRIiLEAST32): Likewise.
28514 [C99-based-standards] (PRIoLEAST32): Likewise.
28515 [C99-based-standards] (PRIuLEAST32): Likewise.
28516 [C99-based-standards] (PRIxLEAST32): Likewise.
28517 [C99-based-standards] (PRIXLEAST32): Likewise.
28518 [C99-based-standards] (SCNdLEAST32): Likewise.
28519 [C99-based-standards] (SCNiLEAST32): Likewise.
28520 [C99-based-standards] (SCNoLEAST32): Likewise.
28521 [C99-based-standards] (SCNuLEAST32): Likewise.
28522 [C99-based-standards] (SCNxLEAST32): Likewise.
28523 [C99-based-standards] (PRIdFAST32): Likewise.
28524 [C99-based-standards] (PRIiFAST32): Likewise.
28525 [C99-based-standards] (PRIoFAST32): Likewise.
28526 [C99-based-standards] (PRIuFAST32): Likewise.
28527 [C99-based-standards] (PRIxFAST32): Likewise.
28528 [C99-based-standards] (PRIXFAST32): Likewise.
28529 [C99-based-standards] (SCNdFAST32): Likewise.
28530 [C99-based-standards] (SCNiFAST32): Likewise.
28531 [C99-based-standards] (SCNoFAST32): Likewise.
28532 [C99-based-standards] (SCNuFAST32): Likewise.
28533 [C99-based-standards] (SCNxFAST32): Likewise.
28534 [C99-based-standards] (PRId64): Likewise.
28535 [C99-based-standards] (PRIi64): Likewise.
28536 [C99-based-standards] (PRIo64): Likewise.
28537 [C99-based-standards] (PRIu64): Likewise.
28538 [C99-based-standards] (PRIx64): Likewise.
28539 [C99-based-standards] (PRIX64): Likewise.
28540 [C99-based-standards] (SCNd64): Likewise.
28541 [C99-based-standards] (SCNi64): Likewise.
28542 [C99-based-standards] (SCNo64): Likewise.
28543 [C99-based-standards] (SCNu64): Likewise.
28544 [C99-based-standards] (SCNx64): Likewise.
28545 [C99-based-standards] (PRIdLEAST64): Likewise.
28546 [C99-based-standards] (PRIiLEAST64): Likewise.
28547 [C99-based-standards] (PRIoLEAST64): Likewise.
28548 [C99-based-standards] (PRIuLEAST64): Likewise.
28549 [C99-based-standards] (PRIxLEAST64): Likewise.
28550 [C99-based-standards] (PRIXLEAST64): Likewise.
28551 [C99-based-standards] (SCNdLEAST64): Likewise.
28552 [C99-based-standards] (SCNiLEAST64): Likewise.
28553 [C99-based-standards] (SCNoLEAST64): Likewise.
28554 [C99-based-standards] (SCNuLEAST64): Likewise.
28555 [C99-based-standards] (SCNxLEAST64): Likewise.
28556 [C99-based-standards] (PRIdFAST64): Likewise.
28557 [C99-based-standards] (PRIiFAST64): Likewise.
28558 [C99-based-standards] (PRIoFAST64): Likewise.
28559 [C99-based-standards] (PRIuFAST64): Likewise.
28560 [C99-based-standards] (PRIxFAST64): Likewise.
28561 [C99-based-standards] (PRIXFAST64): Likewise.
28562 [C99-based-standards] (SCNdFAST64): Likewise.
28563 [C99-based-standards] (SCNiFAST64): Likewise.
28564 [C99-based-standards] (SCNoFAST64): Likewise.
28565 [C99-based-standards] (SCNuFAST64): Likewise.
28566 [C99-based-standards] (SCNxFAST64): Likewise.
28567 [C99-based-standards] (PRIdMAX): Likewise.
28568 [C99-based-standards] (PRIiMAX): Likewise.
28569 [C99-based-standards] (PRIoMAX): Likewise.
28570 [C99-based-standards] (PRIuMAX): Likewise.
28571 [C99-based-standards] (PRIxMAX): Likewise.
28572 [C99-based-standards] (PRIXMAX): Likewise.
28573 [C99-based-standards] (SCNdMAX): Likewise.
28574 [C99-based-standards] (SCNiMAX): Likewise.
28575 [C99-based-standards] (SCNoMAX): Likewise.
28576 [C99-based-standards] (SCNuMAX): Likewise.
28577 [C99-based-standards] (SCNxMAX): Likewise.
28578 [C99-based-standards] (PRIdPTR): Likewise.
28579 [C99-based-standards] (PRIiPTR): Likewise.
28580 [C99-based-standards] (PRIoPTR): Likewise.
28581 [C99-based-standards] (PRIuPTR): Likewise.
28582 [C99-based-standards] (PRIxPTR): Likewise.
28583 [C99-based-standards] (PRIXPTR): Likewise.
28584 [C99-based-standards] (SCNdPTR): Likewise.
28585 [C99-based-standards] (SCNiPTR): Likewise.
28586 [C99-based-standards] (SCNoPTR): Likewise.
28587 [C99-based-standards] (SCNuPTR): Likewise.
28588 [C99-based-standards] (SCNxPTR): Likewise.
28589 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28590 allow.
28591 * conform/data/stdint.h-data: Update comments to clarify
28592 requirements.
28593 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28594 type.
28595 [C99-based standards] (INT8_MAX): Likewise.
28596 [C99-based standards] (INT16_MIN): Likewise.
28597 [C99-based standards] (INT16_MAX): Likewise.
28598 [C99-based standards] (INT32_MIN): Likewise.
28599 [C99-based standards] (INT32_MAX): Likewise.
28600 [C99-based standards] (INT64_MIN): Likewise.
28601 [C99-based standards] (INT64_MAX): Likewise.
28602 [C99-based standards] (UINT8_MAX): Likewise.
28603 [C99-based standards] (UINT16_MAX): Likewise.
28604 [C99-based standards] (UINT32_MAX): Likewise.
28605 [C99-based standards] (UINT64_MAX): Likewise.
28606 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28607 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28608 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28609 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28610 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28611 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28612 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28613 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28614 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28615 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28616 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28617 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28618 [C99-based standards] (INT_FAST8_MIN): Likewise.
28619 [C99-based standards] (INT_FAST8_MAX): Likewise.
28620 [C99-based standards] (INT_FAST16_MIN): Likewise.
28621 [C99-based standards] (INT_FAST16_MAX): Likewise.
28622 [C99-based standards] (INT_FAST32_MIN): Likewise.
28623 [C99-based standards] (INT_FAST32_MAX): Likewise.
28624 [C99-based standards] (INT_FAST64_MIN): Likewise.
28625 [C99-based standards] (INT_FAST64_MAX): Likewise.
28626 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28627 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28628 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28629 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28630 [C99-based standards] (INTPTR_MIN): Likewise.
28631 [C99-based standards] (INTPTR_MAX): Likewise.
28632 [C99-based standards] (UINTPTR_MAX): Likewise.
28633 [C99-based standards] (INTMAX_MIN): Likewise.
28634 [C99-based standards] (INTMAX_MAX): Likewise.
28635 [C99-based standards] (UINTMAX_MAX): Likewise.
28636 [C99-based standards] (PTRDIFF_MIN): Likewise.
28637 [C99-based standards] (PTRDIFF_MAX): Likewise.
28638 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28639 [C99-based standards] (SIZE_MAX): Likewise.
28640 [C99-based standards] (WCHAR_MAX): Likewise.
28641 [C99-based standards] (WINT_MAX): Likewise.
28642 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28643 constraint on value.
28644 [C99-based standards] (WCHAR_MIN): Likewise.
28645 [C99-based standards] (WINT_MIN): Likewise.
28646 [C99-based standards] (*_t): Allow.
28647 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28648 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28649 Include math.h-data and complex.h-data. Remove all expectations
28650 of math.h and complex.h contents.
28651 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28652 at end of line.
28653 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28654 (struct tm): Expect tag.
28655 [C99-based-standards] (wcstof): Expect function.
28656 [C99-based-standards] (wcstold): Likewise.
28657 [C99-based-standards] (wcstoll): Likewise.
28658 [C99-based-standards] (wcstoull): Likewise.
28659 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28660 macro-int-constant. Specify type.
28661 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28662 constraint on value.
28663 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28664 Specify type.
28665 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28666 Specify value.
28667 [ISO C standards]: Do not allow headers.
28668 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28669 wcs[abcdefghijklmnopqrstuvwxyz]*.
28670 [ISO C standards] (*_t): Do not allow.
28671 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28672 Expect function.
28673 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28674 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28675 Specify type.
28676 [ISO C standards]: Do not allow headers.
28677 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28678 is[abcdefghijklmnopqrstuvwxyz]*.
28679 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28680 to[abcdefghijklmnopqrstuvwxyz]*.
28681 [ISO C standards] (*_t): Do not allow.
28682 * conform/data/stdalign.h-data: New file.
28683 * conform/data/stdbool.h-data: Likewise.
28684 * conform/data/stdnoreturn.h-data: Likewise.
28685
7514feb8
RM
286862012-11-07 Roland McGrath <roland@hack.frob.com>
28687
28688 [BZ #14815]
28689 * manual/filesys.texi (Directory Entries): Typo fix.
28690 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28691
19b2ecfc
MS
286922012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28693
28694 * elf/elf.h (EM_AARCH64): New macro.
28695 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28696 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28697 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28698 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28699 (R_AARCH64_TLSDESC): Likewise.
28700 (NT_ARM_TLS): Likewise.
28701 (NT_ARM_HW_BREAK): Likewise.
28702 (NT_ARM_HW_WATCH): Likewise.
28703
60e235ee
JM
287042012-11-07 Joseph Myers <joseph@codesourcery.com>
28705
28706 [BZ #14811]
28707 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28708 (__ieee754_powl): Saturate nonzero exponents with absolute value
28709 below 0x1p-79 to +/- 0x1p-79.
28710 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28711 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28712 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28713 nonzero exponents with absolute value below 0x1p-32 to +/-
28714 0x1p-32.
28715 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28716 (__ieee754_powl): Saturate nonzero exponents with absolute value
28717 below 0x1p-79 to +/- 0x1p-79.
28718 * math/libm-test.inc (pow_test): Add more tests.
28719
0ab234b7
AK
287202012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28721
28722 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28723 _dl_s390_cap_flags with kernel. Increase string length.
28724 (_dl_s390_platforms): Add z196 and zEC12.
28725
45832f74
JM
287262012-11-07 Joseph Myers <joseph@codesourcery.com>
28727
28728 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28729 Change XOPEN21K to XOPEN2K.
28730
19218757
MK
287312012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28732
28733 * string/memmove.c: Use memcpy when possible.
28734
c5f45721
AJ
287352012-11-06 Andreas Jaeger <aj@suse.de>
28736
28737 * po/eo.po: Update from translation team.
28738
82477c28
JM
287392012-11-06 Joseph Myers <joseph@codesourcery.com>
28740
28741 [BZ #14793]
28742 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28743 exponent and small x and y exponents, scale x or y up. Increase
28744 by 2 the exponent used in scaling up.
28745 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28746 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28747 * math/libm-test.inc (fma_test): Add more tests.
28748 (fma_test_towardzero): Likewise.
28749 (fma_test_downward): Likewise.
28750 (fma_test_upward): Likewise.
28751
99252c8c
JM
287522012-11-05 Joseph Myers <joseph@codesourcery.com>
28753
acfa885f
JM
28754 [BZ #14805]
28755 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28756 fenv_t *.
28757
99252c8c
JM
28758 [BZ #14801]
28759 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28760 namespace for names of struct fields.
28761 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28762 fenv_t fields.
28763 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28764 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28765
d6d98dea
ST
287662012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28767
28768 [BZ #3665]
28769 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28770
e10bb107
TS
287712012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28772
28773 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28774 PTR_DEMANGLE.
28775
28776 [BZ #5246]
28777 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28778 PTR_DEMANGLE.
28779
a0c2940d
JM
287802012-11-04 Joseph Myers <joseph@codesourcery.com>
28781
28782 [BZ #14797]
28783 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28784 definitely overflow as x * y not x * y + z.
28785 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28786 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28787 * math/libm-test.inc (fma_test): Add more tests.
28788 (fma_test_towardzero): Likewise.
28789 (fma_test_downward): Likewise.
28790 (fma_test_upward): Likewise.
28791
b830319d
TS
287922012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28793
28794 [BZ #157]
28795
28796 * include/stub-tag.h: Remove file.
28797 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28798 '#include' of it.
28799 * manual/maint.texi (Porting): Don't reference it.
28800 * Makerules ($(objpfx)stubs): Likewise.
28801 * dirent/closedir.c: Don't include <stub-tag.h>.
28802 * dirent/dirfd.c: Likewise.
28803 * dirent/fdopendir.c: Likewise.
28804 * dirent/getdents.c: Likewise.
28805 * dirent/getdents64.c: Likewise.
28806 * dirent/opendir.c: Likewise.
28807 * dirent/readdir.c: Likewise.
28808 * dirent/readdir64.c: Likewise.
28809 * dirent/readdir64_r.c: Likewise.
28810 * dirent/readdir_r.c: Likewise.
28811 * dirent/rewinddir.c: Likewise.
28812 * dirent/seekdir.c: Likewise.
28813 * dirent/telldir.c: Likewise.
28814 * gmon/profil.c: Likewise.
28815 * grp/setgroups.c: Likewise.
28816 * inet/if_index.c: Likewise.
28817 * io/access.c: Likewise.
28818 * io/chdir.c: Likewise.
28819 * io/chmod.c: Likewise.
28820 * io/chown.c: Likewise.
28821 * io/close.c: Likewise.
28822 * io/dup.c: Likewise.
28823 * io/dup2.c: Likewise.
28824 * io/dup3.c: Likewise.
28825 * io/euidaccess.c: Likewise.
28826 * io/faccessat.c: Likewise.
28827 * io/fchdir.c: Likewise.
28828 * io/fchmod.c: Likewise.
28829 * io/fchmodat.c: Likewise.
28830 * io/fchown.c: Likewise.
28831 * io/fchownat.c: Likewise.
28832 * io/fcntl.c: Likewise.
28833 * io/flock.c: Likewise.
28834 * io/fstatfs.c: Likewise.
28835 * io/fstatfs64.c: Likewise.
28836 * io/fstatvfs.c: Likewise.
28837 * io/fstatvfs64.c: Likewise.
28838 * io/futimens.c: Likewise.
28839 * io/fxstat.c: Likewise.
28840 * io/fxstat64.c: Likewise.
28841 * io/fxstatat.c: Likewise.
28842 * io/fxstatat64.c: Likewise.
28843 * io/getcwd.c: Likewise.
28844 * io/isatty.c: Likewise.
28845 * io/lchmod.c: Likewise.
28846 * io/lchown.c: Likewise.
28847 * io/link.c: Likewise.
28848 * io/linkat.c: Likewise.
28849 * io/lseek.c: Likewise.
28850 * io/lseek64.c: Likewise.
28851 * io/lxstat64.c: Likewise.
28852 * io/mkdir.c: Likewise.
28853 * io/mkdirat.c: Likewise.
28854 * io/mkfifo.c: Likewise.
28855 * io/mkfifoat.c: Likewise.
28856 * io/open.c: Likewise.
28857 * io/open64.c: Likewise.
28858 * io/openat.c: Likewise.
28859 * io/openat64.c: Likewise.
28860 * io/pipe.c: Likewise.
28861 * io/pipe2.c: Likewise.
28862 * io/poll.c: Likewise.
28863 * io/posix_fadvise.c: Likewise.
28864 * io/posix_fadvise64.c: Likewise.
28865 * io/posix_fallocate.c: Likewise.
28866 * io/posix_fallocate64.c: Likewise.
28867 * io/read.c: Likewise.
28868 * io/readlink.c: Likewise.
28869 * io/readlinkat.c: Likewise.
28870 * io/rmdir.c: Likewise.
28871 * io/sendfile.c: Likewise.
28872 * io/sendfile64.c: Likewise.
28873 * io/statfs.c: Likewise.
28874 * io/statfs64.c: Likewise.
28875 * io/statvfs.c: Likewise.
28876 * io/statvfs64.c: Likewise.
28877 * io/symlink.c: Likewise.
28878 * io/symlinkat.c: Likewise.
28879 * io/ttyname.c: Likewise.
28880 * io/ttyname_r.c: Likewise.
28881 * io/umask.c: Likewise.
28882 * io/unlink.c: Likewise.
28883 * io/unlinkat.c: Likewise.
28884 * io/utime.c: Likewise.
28885 * io/utimensat.c: Likewise.
28886 * io/write.c: Likewise.
28887 * io/xmknod.c: Likewise.
28888 * io/xmknodat.c: Likewise.
28889 * io/xstat.c: Likewise.
28890 * io/xstat64.c: Likewise.
28891 * login/getpt.c: Likewise.
28892 * login/grantpt.c: Likewise.
28893 * login/unlockpt.c: Likewise.
28894 * math/e_acoshl.c: Likewise.
28895 * math/e_acosl.c: Likewise.
28896 * math/e_asinl.c: Likewise.
28897 * math/e_atan2l.c: Likewise.
28898 * math/e_atanhl.c: Likewise.
28899 * math/e_coshl.c: Likewise.
28900 * math/e_expl.c: Likewise.
28901 * math/e_fmodl.c: Likewise.
28902 * math/e_gammal_r.c: Likewise.
28903 * math/e_hypotl.c: Likewise.
28904 * math/e_j0l.c: Likewise.
28905 * math/e_j1l.c: Likewise.
28906 * math/e_jnl.c: Likewise.
28907 * math/e_lgammal_r.c: Likewise.
28908 * math/e_log10l.c: Likewise.
28909 * math/e_log2l.c: Likewise.
28910 * math/e_logl.c: Likewise.
28911 * math/e_powl.c: Likewise.
28912 * math/e_rem_pio2l.c: Likewise.
28913 * math/e_sinhl.c: Likewise.
28914 * math/e_sqrtl.c: Likewise.
28915 * math/fclrexcpt.c: Likewise.
28916 * math/fedisblxcpt.c: Likewise.
28917 * math/feenablxcpt.c: Likewise.
28918 * math/fegetenv.c: Likewise.
28919 * math/fegetexcept.c: Likewise.
28920 * math/fegetround.c: Likewise.
28921 * math/feholdexcpt.c: Likewise.
28922 * math/fesetenv.c: Likewise.
28923 * math/fesetround.c: Likewise.
28924 * math/feupdateenv.c: Likewise.
28925 * math/fgetexcptflg.c: Likewise.
28926 * math/fraiseexcpt.c: Likewise.
28927 * math/fsetexcptflg.c: Likewise.
28928 * math/ftestexcept.c: Likewise.
28929 * math/k_cosl.c: Likewise.
28930 * math/k_rem_pio2l.c: Likewise.
28931 * math/k_sinl.c: Likewise.
28932 * math/k_tanl.c: Likewise.
28933 * math/s_asinhl.c: Likewise.
28934 * math/s_atanl.c: Likewise.
28935 * math/s_cbrtl.c: Likewise.
28936 * math/s_erfl.c: Likewise.
28937 * math/s_expm1l.c: Likewise.
28938 * math/s_log1pl.c: Likewise.
28939 * math/s_tanhl.c: Likewise.
28940 * misc/acct.c: Likewise.
28941 * misc/brk.c: Likewise.
28942 * misc/chflags.c: Likewise.
28943 * misc/chroot.c: Likewise.
28944 * misc/fchflags.c: Likewise.
28945 * misc/fgetxattr.c: Likewise.
28946 * misc/flistxattr.c: Likewise.
28947 * misc/fremovexattr.c: Likewise.
28948 * misc/fsetxattr.c: Likewise.
28949 * misc/fsync.c: Likewise.
28950 * misc/ftruncate.c: Likewise.
28951 * misc/futimes.c: Likewise.
28952 * misc/futimesat.c: Likewise.
28953 * misc/getdomain.c: Likewise.
28954 * misc/getdtsz.c: Likewise.
28955 * misc/gethostid.c: Likewise.
28956 * misc/gethostname.c: Likewise.
28957 * misc/getloadavg.c: Likewise.
28958 * misc/getpagesize.c: Likewise.
28959 * misc/getsysstats.c: Likewise.
28960 * misc/getxattr.c: Likewise.
28961 * misc/gtty.c: Likewise.
28962 * misc/ioctl.c: Likewise.
28963 * misc/lgetxattr.c: Likewise.
28964 * misc/listxattr.c: Likewise.
28965 * misc/llistxattr.c: Likewise.
28966 * misc/lremovexattr.c: Likewise.
28967 * misc/lsetxattr.c: Likewise.
28968 * misc/lutimes.c: Likewise.
28969 * misc/madvise.c: Likewise.
28970 * misc/mincore.c: Likewise.
28971 * misc/mlock.c: Likewise.
28972 * misc/mlockall.c: Likewise.
28973 * misc/mmap.c: Likewise.
28974 * misc/mprotect.c: Likewise.
28975 * misc/msync.c: Likewise.
28976 * misc/munlock.c: Likewise.
28977 * misc/munlockall.c: Likewise.
28978 * misc/munmap.c: Likewise.
28979 * misc/preadv.c: Likewise.
28980 * misc/preadv64.c: Likewise.
28981 * misc/ptrace.c: Likewise.
28982 * misc/pwritev.c: Likewise.
28983 * misc/pwritev64.c: Likewise.
28984 * misc/readv.c: Likewise.
28985 * misc/reboot.c: Likewise.
28986 * misc/remap_file_pages.c: Likewise.
28987 * misc/removexattr.c: Likewise.
28988 * misc/revoke.c: Likewise.
28989 * misc/select.c: Likewise.
28990 * misc/setdomain.c: Likewise.
28991 * misc/setegid.c: Likewise.
28992 * misc/seteuid.c: Likewise.
28993 * misc/sethostid.c: Likewise.
28994 * misc/sethostname.c: Likewise.
28995 * misc/setregid.c: Likewise.
28996 * misc/setreuid.c: Likewise.
28997 * misc/setxattr.c: Likewise.
28998 * misc/sstk.c: Likewise.
28999 * misc/stty.c: Likewise.
29000 * misc/swapoff.c: Likewise.
29001 * misc/swapon.c: Likewise.
29002 * misc/sync.c: Likewise.
29003 * misc/syncfs.c: Likewise.
29004 * misc/syscall.c: Likewise.
29005 * misc/truncate.c: Likewise.
29006 * misc/ualarm.c: Likewise.
29007 * misc/usleep.c: Likewise.
29008 * misc/ustat.c: Likewise.
29009 * misc/utimes.c: Likewise.
29010 * misc/vhangup.c: Likewise.
29011 * misc/writev.c: Likewise.
29012 * posix/_exit.c: Likewise.
29013 * posix/alarm.c: Likewise.
29014 * posix/execve.c: Likewise.
29015 * posix/fexecve.c: Likewise.
29016 * posix/fork.c: Likewise.
29017 * posix/fpathconf.c: Likewise.
29018 * posix/getaddrinfo.c: Likewise.
29019 * posix/getegid.c: Likewise.
29020 * posix/geteuid.c: Likewise.
29021 * posix/getgid.c: Likewise.
29022 * posix/getgroups.c: Likewise.
29023 * posix/getlogin.c: Likewise.
29024 * posix/getlogin_r.c: Likewise.
29025 * posix/getpgid.c: Likewise.
29026 * posix/getpid.c: Likewise.
29027 * posix/getppid.c: Likewise.
29028 * posix/getresgid.c: Likewise.
29029 * posix/getresuid.c: Likewise.
29030 * posix/getsid.c: Likewise.
29031 * posix/getuid.c: Likewise.
29032 * posix/glob64.c: Likewise.
29033 * posix/nanosleep.c: Likewise.
29034 * posix/pathconf.c: Likewise.
29035 * posix/pause.c: Likewise.
29036 * posix/posix_madvise.c: Likewise.
29037 * posix/pread.c: Likewise.
29038 * posix/pread64.c: Likewise.
29039 * posix/pwrite.c: Likewise.
29040 * posix/pwrite64.c: Likewise.
29041 * posix/sched_getaffinity.c: Likewise.
29042 * posix/sched_getp.c: Likewise.
29043 * posix/sched_gets.c: Likewise.
29044 * posix/sched_primax.c: Likewise.
29045 * posix/sched_primin.c: Likewise.
29046 * posix/sched_rr_gi.c: Likewise.
29047 * posix/sched_setaffinity.c: Likewise.
29048 * posix/sched_setp.c: Likewise.
29049 * posix/sched_sets.c: Likewise.
29050 * posix/sched_yield.c: Likewise.
29051 * posix/setgid.c: Likewise.
29052 * posix/setlogin.c: Likewise.
29053 * posix/setpgid.c: Likewise.
29054 * posix/setresgid.c: Likewise.
29055 * posix/setresuid.c: Likewise.
29056 * posix/setsid.c: Likewise.
29057 * posix/setuid.c: Likewise.
29058 * posix/sleep.c: Likewise.
29059 * posix/spawni.c: Likewise.
29060 * posix/sysconf.c: Likewise.
29061 * posix/times.c: Likewise.
29062 * posix/wait.c: Likewise.
29063 * posix/wait3.c: Likewise.
29064 * posix/wait4.c: Likewise.
29065 * posix/waitpid.c: Likewise.
29066 * resolv/gai_sigqueue.c: Likewise.
29067 * resource/getpriority.c: Likewise.
29068 * resource/getrlimit.c: Likewise.
29069 * resource/getrusage.c: Likewise.
29070 * resource/nice.c: Likewise.
29071 * resource/setpriority.c: Likewise.
29072 * resource/setrlimit.c: Likewise.
29073 * resource/ulimit.c: Likewise.
29074 * rt/aio_cancel.c: Likewise.
29075 * rt/aio_fsync.c: Likewise.
29076 * rt/aio_read.c: Likewise.
29077 * rt/aio_sigqueue.c: Likewise.
29078 * rt/aio_suspend.c: Likewise.
29079 * rt/aio_write.c: Likewise.
29080 * rt/clock_getres.c: Likewise.
29081 * rt/clock_gettime.c: Likewise.
29082 * rt/clock_nanosleep.c: Likewise.
29083 * rt/clock_settime.c: Likewise.
29084 * rt/lio_listio.c: Likewise.
29085 * rt/mq_close.c: Likewise.
29086 * rt/mq_getattr.c: Likewise.
29087 * rt/mq_notify.c: Likewise.
29088 * rt/mq_open.c: Likewise.
29089 * rt/mq_receive.c: Likewise.
29090 * rt/mq_send.c: Likewise.
29091 * rt/mq_setattr.c: Likewise.
29092 * rt/mq_timedreceive.c: Likewise.
29093 * rt/mq_timedsend.c: Likewise.
29094 * rt/mq_unlink.c: Likewise.
29095 * rt/shm_open.c: Likewise.
29096 * rt/shm_unlink.c: Likewise.
29097 * rt/timer_create.c: Likewise.
29098 * rt/timer_delete.c: Likewise.
29099 * rt/timer_getoverr.c: Likewise.
29100 * rt/timer_gettime.c: Likewise.
29101 * rt/timer_settime.c: Likewise.
29102 * setjmp/__longjmp.c: Likewise.
29103 * setjmp/setjmp.c: Likewise.
29104 * signal/kill.c: Likewise.
29105 * signal/killpg.c: Likewise.
29106 * signal/raise.c: Likewise.
29107 * signal/sigaction.c: Likewise.
29108 * signal/sigaltstack.c: Likewise.
29109 * signal/sigblock.c: Likewise.
29110 * signal/sigignore.c: Likewise.
29111 * signal/sigintr.c: Likewise.
29112 * signal/signal.c: Likewise.
29113 * signal/sigpause.c: Likewise.
29114 * signal/sigpending.c: Likewise.
29115 * signal/sigqueue.c: Likewise.
29116 * signal/sigreturn.c: Likewise.
29117 * signal/sigset.c: Likewise.
29118 * signal/sigsetmask.c: Likewise.
29119 * signal/sigstack.c: Likewise.
29120 * signal/sigsuspend.c: Likewise.
29121 * signal/sigtimedwait.c: Likewise.
29122 * signal/sigvec.c: Likewise.
29123 * signal/sigwait.c: Likewise.
29124 * signal/sigwaitinfo.c: Likewise.
29125 * signal/sysv_signal.c: Likewise.
29126 * socket/accept.c: Likewise.
29127 * socket/accept4.c: Likewise.
29128 * socket/bind.c: Likewise.
29129 * socket/connect.c: Likewise.
29130 * socket/getpeername.c: Likewise.
29131 * socket/getsockname.c: Likewise.
29132 * socket/getsockopt.c: Likewise.
29133 * socket/isfdtype.c: Likewise.
29134 * socket/listen.c: Likewise.
29135 * socket/recv.c: Likewise.
29136 * socket/recvfrom.c: Likewise.
29137 * socket/recvmsg.c: Likewise.
29138 * socket/send.c: Likewise.
29139 * socket/sendmsg.c: Likewise.
29140 * socket/sendto.c: Likewise.
29141 * socket/setsockopt.c: Likewise.
29142 * socket/shutdown.c: Likewise.
29143 * socket/sockatmark.c: Likewise.
29144 * socket/socket.c: Likewise.
29145 * socket/socketpair.c: Likewise.
29146 * stdio-common/ctermid.c: Likewise.
29147 * stdio-common/cuserid.c: Likewise.
29148 * stdio-common/remove.c: Likewise.
29149 * stdio-common/rename.c: Likewise.
29150 * stdio-common/renameat.c: Likewise.
29151 * stdio-common/tempname.c: Likewise.
29152 * stdlib/getcontext.c: Likewise.
29153 * stdlib/makecontext.c: Likewise.
29154 * stdlib/setcontext.c: Likewise.
29155 * stdlib/swapcontext.c: Likewise.
29156 * stdlib/system.c: Likewise.
29157 * streams/fattach.c: Likewise.
29158 * streams/fdetach.c: Likewise.
29159 * streams/getmsg.c: Likewise.
29160 * streams/getpmsg.c: Likewise.
29161 * streams/putmsg.c: Likewise.
29162 * streams/putpmsg.c: Likewise.
29163 * sysdeps/unix/bsd/getpt.c: Likewise.
29164 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29165 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29166 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29168 Likewise.
29169 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29170 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29171 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29172 * sysvipc/msgctl.c: Likewise.
29173 * sysvipc/msgget.c: Likewise.
29174 * sysvipc/msgrcv.c: Likewise.
29175 * sysvipc/msgsnd.c: Likewise.
29176 * sysvipc/semctl.c: Likewise.
29177 * sysvipc/semget.c: Likewise.
29178 * sysvipc/semop.c: Likewise.
29179 * sysvipc/semtimedop.c: Likewise.
29180 * sysvipc/shmat.c: Likewise.
29181 * sysvipc/shmctl.c: Likewise.
29182 * sysvipc/shmdt.c: Likewise.
29183 * sysvipc/shmget.c: Likewise.
29184 * termios/tcdrain.c: Likewise.
29185 * termios/tcflow.c: Likewise.
29186 * termios/tcflush.c: Likewise.
29187 * termios/tcgetattr.c: Likewise.
29188 * termios/tcgetpgrp.c: Likewise.
29189 * termios/tcsendbrk.c: Likewise.
29190 * termios/tcsetattr.c: Likewise.
29191 * termios/tcsetpgrp.c: Likewise.
29192 * time/adjtime.c: Likewise.
29193 * time/clock.c: Likewise.
29194 * time/getitimer.c: Likewise.
29195 * time/gettimeofday.c: Likewise.
29196 * time/setitimer.c: Likewise.
29197 * time/settimeofday.c: Likewise.
29198 * time/stime.c: Likewise.
29199 * time/time.c: Likewise.
29200
292012012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 29202
a20492cf
PT
29203 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29204 /usr/old/bin.
29205
72e182e3
PT
29206 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29207 instead of spaces.
29208 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29209
fbeafede
JM
292102012-11-03 Joseph Myers <joseph@codesourcery.com>
29211
5b5b04d6
JM
29212 [BZ #14796]
29213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29214 FE_TONEAREST before applying Dekker multiplication and Knuth
29215 addition. Clear inexact exceptions and check for exact zero
29216 results afterwards.
29217 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29218 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29219 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29220 * math/libm-test.inc (fma_test): Add more tests.
29221 (fma_test_towardzero): Likewise.
29222 (fma_test_downward): Likewise.
29223 (fma_test_upward): Likewise.
29224 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29225 function.
29226 (libc_fesetround): New macro.
29227 (libc_fesetroundf): Likewise.
29228 (libc_fesetroundl): Likewise.
29229 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29230 function.
29231 (libc_fesetround_387): Likewise.
29232 (libc_fesetroundf): New macro.
29233 (libc_fesetround): Likewise.
29234 (libc_fesetroundl): Likewise.
29235 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29236 function.
29237 (libc_fesetroundf): New macro.
29238 (libc_fesetround): Likewise.
29239 (libc_fesetroundl): Likewise.
29240 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29241 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29242 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29243 libm_hidden_ver.
29244 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29245 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29246 libm_hidden_def.
29247 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29248 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29249 libm_hidden_ver.
29250 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29251 libm_hidden_def.
29252
fbeafede
JM
29253 [BZ #3439]
29254 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29255 integer constant usable in #if and use that to give value to enum
29256 constant.
29257 (FE_DIVBYZERO): Likewise.
29258 (FE_UNDERFLOW): Likewise.
29259 (FE_OVERFLOW): Likewise.
29260 (FE_INVALID): Likewise.
29261 (FE_INVALID_SNAN): Likewise.
29262 (FE_INVALID_ISI): Likewise.
29263 (FE_INVALID_IDI): Likewise.
29264 (FE_INVALID_ZDZ): Likewise.
29265 (FE_INVALID_IMZ): Likewise.
29266 (FE_INVALID_COMPARE): Likewise.
29267 (FE_INVALID_SOFTWARE): Likewise.
29268 (FE_INVALID_SQRT): Likewise.
29269 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29270 (FE_TONEAREST): Likewise.
29271 (FE_TOWARDZERO): Likewise.
29272 (FE_UPWARD): Likewise.
29273 (FE_DOWNWARD): Likewise.
29274 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29275 (FE_DIVBYZERO): Likewise.
29276 (FE_OVERFLOW): Likewise.
29277 (FE_UNDERFLOW): Likewise.
29278 (FE_INEXACT): Likewise.
29279 (FE_TONEAREST): Likewise.
29280 (FE_DOWNWARD): Likewise.
29281 (FE_UPWARD): Likewise.
29282 (FE_TOWARDZERO): Likewise.
29283 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29284 (FE_UNDERFLOW): Likewise.
29285 (FE_OVERFLOW): Likewise.
29286 (FE_DIVBYZERO): Likewise.
29287 (FE_INVALID): Likewise.
29288 (FE_TONEAREST): Likewise.
29289 (FE_TOWARDZERO): Likewise.
29290 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29291 (FE_OVERFLOW): Likewise.
29292 (FE_UNDERFLOW): Likewise.
29293 (FE_DIVBYZERO): Likewise.
29294 (FE_INEXACT): Likewise.
29295 (FE_TONEAREST): Likewise.
29296 (FE_TOWARDZERO): Likewise.
29297 (FE_UPWARD): Likewise.
29298 (FE_DOWNWARD): Likewise.
29299 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29300 (FE_DIVBYZERO): Likewise.
29301 (FE_OVERFLOW): Likewise.
29302 (FE_UNDERFLOW): Likewise.
29303 (FE_INEXACT): Likewise.
29304 (FE_TONEAREST): Likewise.
29305 (FE_DOWNWARD): Likewise.
29306 (FE_UPWARD): Likewise.
29307 (FE_TOWARDZERO): Likewise.
29308
105ca950
CM
293092012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29310
29311 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29312
a542b389
AS
293132012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29314
29315 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29316 commands. Quote $PWD.
29317 (blacklist_exports): Don't use remove_newlines. Replace "declare
29318 -x" by "export".
29319 (remove_newlines): Remove.
29320
f62c8abc
L
293212012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29322
29323 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29324 * stdlib/stdlib.h (atof): Moved to ...
29325 * include/bits/stdlib-float.h: Here. New file.
29326 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29327 * stdlib/bits/stdlib-float.h: New file.
29328 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29329 -mno-sse -mno-mmx.
29330 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29331 <xmmintrin.h>.
29332
0155d5b2
JM
293332012-11-02 Joseph Myers <joseph@codesourcery.com>
29334
a68d0680
JM
29335 * conform/conformtest.pl (@headers): Add fenv.h.
29336 * conform/data/fenv.h-data: New file.
29337 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29338 include of <math/fenv.h>.
29339
caf7f573
JM
29340 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29341 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29342 && !UNIX98]. Enables tests for XOPEN2K8.
29343 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29344 POSIX2008]: Likewise.
29345
6c073ad6
JM
29346 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29347 (struct rusage): Do not expect type or its members.
29348
0155d5b2
JM
29349 [BZ #3439]
29350 * math/math.h (FP_NAN): Define macro to integer constant usable in
29351 #if and use that to give value to enum constant.
29352 (FP_INFINITE): Likewise.
29353 (FP_ZERO): Likewise.
29354 (FP_SUBNORMAL): Likewise.
29355 (FP_NORMAL): Likewise.
29356
b5dcacb4
AS
293572012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29358
29359 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29360 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29361 arguments.
29362
f7934be8
RM
293632012-11-02 Roland McGrath <roland@hack.frob.com>
29364
29365 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29366 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29367 autoconf-time if not.
29368 * configure.in: Remove AC_PREREQ.
29369
d7d08bde
TMQMF
293702012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29371
29372 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29373 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29374 of the internal implementation.
29375
dcdae19a
JM
293762012-11-02 Joseph Myers <joseph@codesourcery.com>
29377
29378 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29379 except include of <misc/sys/syslog.h>.
29380
d6cffd3e
AS
293812012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29382
29383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29384 function returns with a NULL context exit with zero.
29385
b3563932
TMQMF
293862012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29387
29388 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29389
b288a93d
L
293902012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29391
29392 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29393 (run_program_cmd): This.
29394 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29395 (tst_langinfo): New variable. Use it.
29396
a2421a68
SAS
293972012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29398
29399 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29400 floating point opcodes.
29401
6f796e1b
TS
294022012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29403
7402596b
TS
29404 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29405 variable.
29406
d0d4f868
TS
29407 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29408
6f796e1b
TS
29409 * sysdeps/mach/hurd/powerpc: Remove directory.
29410 * sysdeps/mach/powerpc: Likewise.
29411
4da224a2
AS
294122012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29413
29414 * scripts/check-local-headers.sh: Ignore c++ headers.
29415
341dd673
TS
294162012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29417
29418 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29419 __libc_cleanup_region_start argument.
29420
473611b2
JM
294212012-11-01 Joseph Myers <joseph@codesourcery.com>
29422
29423 [BZ #14784]
29424 [BZ #14785]
29425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29426 x * y using scaling, not as x * y + z.
29427 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29428 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29429 * math/libm-test.inc (fma_test): Add more tests.
29430 (fma_test_towardzero): Likewise.
29431 (fma_test_downward): Likewise.
29432 (fma_test_upward): Likewise.
29433
4078da3d
TS
294342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29435
29436 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29437
903252aa
JM
294382012-10-31 Joseph Myers <joseph@codesourcery.com>
29439
29440 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29441 New variable.
29442
cbc818d0
TS
294432012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29444
29445 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29446
5a03cb1e
AS
294472012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29448
29449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29450 Fix sort order.
29451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29452 Likewise.
29453
90aff2ff
TMQMF
294542012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29455
29456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29457 Fix the order of the list for glibc 2.17.
29458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29459 Likewise.
29460
1818fcb7
AS
294612012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29462
29463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29464
ef82f4da
JM
294652012-10-31 Joseph Myers <joseph@codesourcery.com>
29466
16a0e2ec
JM
29467 [BZ #14610]
29468 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29469 for low part of x being zero before using __atanl (y).
29470 * math/libm-test.inc (atan2_test): Add another test.
29471
0eb69512
JM
29472 * manual/install.texi (Configuring and compiling): Document
29473 general use of test-wrapper and test-wrapper-env.
29474 * INSTALL: Regenerated.
29475
ef82f4da
JM
29476 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29477 (__fma): Do not extract and scale down low bits on after-rounding
29478 systems when result rounded to normal precision would have normal
29479 exponent.
29480 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29481 (__fmal): Do not extract and scale down low bits on after-rounding
29482 systems when result rounded to normal precision would have normal
29483 exponent.
29484 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29485 (__fmal): Do not extract and scale down low bits on after-rounding
29486 systems when result rounded to normal precision would have normal
29487 exponent.
29488 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29489 macro.
29490 (fma_test): Add more tests.
29491 (fma_test_towardzero): Likewise.
29492 (fma_test_downward): Likewise.
29493 (fma_test_upward): Likewise.
29494
954ef0d9
L
294952012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29496
29497 * sysdeps/i386/tininess.h: Renamed to ...
29498 * sysdeps/x86/tininess.h: This.
29499 * sysdeps/x86_64/tininess.h: Removed.
29500
df61ffb2
JM
295012012-10-30 Joseph Myers <joseph@codesourcery.com>
29502
29503 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29504 input. Use $(build-program-cmd).
29505 ($(objpfx)tst-array1-static.out): Likewise.
29506 ($(objpfx)tst-array2.out): Likewise.
29507 ($(objpfx)tst-array3.out): Likewise.
29508 ($(objpfx)tst-array4.out): Likewise.
29509 ($(objpfx)tst-array5.out): Likewise.
29510 ($(objpfx)tst-array5-static.out): Likewise.
29511
01767843
CM
295122012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29513
47cc1490
CM
29514 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29515 if defined.
29516
01767843
CM
29517 * nss/nsswitch.h (nss_interface_function): Provide new
29518 macro for use with NSS functions.
29519 * grp/initgroups.c: Use new macro.
29520 * nss/getXXbyYY.c: Likewise.
29521 * nss/getXXbyYY_r.c: Likewise.
29522 * nss/getXXent.c: Likewise.
29523 * nss/getXXent_r.c: Likewise.
29524 * sysdeps/posix/getaddrinfo.c: Likewise.
29525
8321aa97
AJ
295262012-10-30 Andreas Jaeger <aj@suse.de>
29527
29528 * po/ru.po: Update Russion translation from translation project.
29529
2a27fd6d
JM
295302012-10-30 Joseph Myers <joseph@codesourcery.com>
29531
8627a232
JM
29532 [BZ #14152]
29533 [BZ #14783]
29534 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29535 result and shift together with sticky bit instead of replicating
29536 round-to-nearest rounding.
29537 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29538 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29539 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29540 missing underflow exceptions.
29541 (fma_test_towardzero): Add more tests.
29542 (fma_test_downward): Likewise.
29543 (fma_test_upward): Likewise.
29544
2a27fd6d
JM
29545 [BZ #14047]
29546 * sysdeps/generic/tininess.h: New file.
29547 * sysdeps/i386/tininess.h: Likewise.
29548 * sysdeps/sh/tininess.h: Likewise.
29549 * sysdeps/x86_64/tininess.h: Likewise.
29550 * stdlib/tst-strtod-underflow.c: Likewise.
29551 * stdlib/tst-tininess.c: Likewise.
29552 * stdlib/strtod_l.c: Include <tininess.h>.
29553 (round_and_return): Do not set errno for exact underflow cases.
29554 Force an underflow exception when setting errno for underflow.
29555 Determine underflow based on rounding to normal precision if
29556 TININESS_AFTER_ROUNDING.
29557 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29558 ERANGE for exact underflow cases.
29559 * stdlib/Makefile (tests): Add tst-tininess and
29560 tst-strtod-underflow.
29561 ($(objpfx)tst-tininess): Use $(link-libm).
29562 ($(objpfx)tst-strtod-underflow): Likewise.
29563
e7170363
AJ
295642012-10-30 Andreas Jaeger <aj@suse.de>
29565
e5088dc6
AJ
29566 [BZ#14767]
29567 * elf/Makefile (tests): Remove conditional for have-initfini-array
29568 since this is now always required and the variable does not exist
29569 anymore.
29570 (tests-static): Likewise.
29571 (modules-names): Likewise.
29572
e7170363 29573 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
29574
29575 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29576 merged with constructor/destructor.
29577 (init_array): Likewise.
29578 * elf/tst-array2dep.c (fini_array): Likewise.
29579 (init_array): Likewise.
29580
60457d8a
MF
295812012-10-29 Mike Frysinger <vapier@gentoo.org>
29582
29583 * manual/message.texi: Delete @cartouche tags.
29584
8bece752
PT
295852012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29586
94ce799f
PT
29587 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29588 EOPNOTSUPP.
29589 * sysdeps/mach/hurd/fsync.c: Likewise.
29590
8bece752
PT
29591 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29592 [_POSIX_REALTIME_SIGNALS]: Change condition to
29593 [_POSIX_REALTIME_SIGNALS > 0].
29594
86ebe6b1
AJ
295952012-10-27 Andreas Jaeger <aj@suse.de>
29596
29597 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29598 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29599 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29600 [__WORDSIZE != 64]: Likewise.
29601
54399c08
L
296022012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29603
29604 * iconvdata/tst-table.sh: Remove ${SHELL}.
29605 * iconvdata/tst-tables.sh: Likewise.
29606
e2211bed
DM
296072012-10-25 David S. Miller <davem@davemloft.net>
29608
29609 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29610 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29611 of strtoull.
29612
f303f97c
DM
29613 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29614 ifunc-impl-list.c
29615 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29616 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29617 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29618 file.
29619
1e9d84cd
RM
296202012-10-25 Roland McGrath <roland@hack.frob.com>
29621
29622 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29623 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29624 __getdirentries.
29625
df381762
JM
296262012-10-25 Joseph Myers <joseph@codesourcery.com>
29627 Jim Blandy <jimb@codesourcery.com>
29628
29629 * scripts/cross-test-ssh.sh: New file.
29630 * manual/install.texi (Configuring and compiling): Document use of
29631 cross-test-ssh.sh.
29632 * INSTALL: Regenerated.
29633
bff64913
PT
296342012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29635
29636 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29637 EOPNOTSUPP.
29638
25fe8932
JM
296392012-10-25 Joseph Myers <joseph@codesourcery.com>
29640
29641 * Makeconfig (run-program-prefix): Fix comment.
29642
cc1290d0
JM
296432012-10-24 Joseph Myers <joseph@codesourcery.com>
29644 Jim Blandy <jimb@codesourcery.com>
29645
29646 * Makeconfig (test-wrapper): New variable,
29647 (test-wrapper-env): Likewise.
29648 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29649 (run-built-tests): Define to yes.
29650 (run-program-prefix): Use $(test-wrapper).
29651 (built-program-cmd): Likewise.
29652 * Rules (make-test-out): Use $(test-wrapper-env) and
29653 $(host-built-program-cmd).
29654 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29655 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29656 tst-pathopt.sh.
29657 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29658 $(test-wrapper-env) to tst-rtld-load-self.sh.
29659 ($(objpfx)order2.out): Use $(test-wrapper).
29660 ($(objpfx)tst-initorder.out): Likewise.
29661 ($(objpfx)tst-initorder2.out): Likewise.
29662 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29663 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29664 (test_wrapper_env): New variable. Use it to run ld.so.
29665 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29666 Use it to run ld.so.
29667 (test_wrapper_env): Likewise.
29668 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29669 $(test-wrapper) to run-iconv-test.sh.
29670 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29671 (ICONV): Use $test_wrapper.
29672 * posix/Makefile ($(objpfx)globtest.out): Pass
29673 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29674 globtest.sh, not $(run-program-prefix).
29675 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29676 (test_wrapper): Likewise.
29677 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29678 set together with run_via_rtld_prefix.
29679 (run_program_prefix): Define in terms of test_wrapper and
29680 run_via_rtld_prefix.
29681
6e6249d0
RM
296822012-10-24 Roland McGrath <roland@hack.frob.com>
29683
29684 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29685 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29686 Targets removed.
29687
29688 [BZ #14743]
29689 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29690 Declare __clock_getres, __clock_gettime, __clock_settime,
29691 __clock_nanosleep, and __clock_getcpuclockid.
29692 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29693 Remove librt_hidden_def (clock_gettime).
29694 * sysdeps/unix/clock_gettime.c: Likewise.
29695 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29696 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29697 * rt/clock_getres.c: Define __clock_getres as an alias.
29698 * sysdeps/posix/clock_getres.c: Likewise.
29699 * rt/clock_settime.c: Define __clock_settime as an alias.
29700 * sysdeps/unix/clock_settime.c: Likewise.
29701 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29702 * sysdeps/unix/clock_nanosleep.c: Likewise.
29703 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29704 * rt/clock-compat.c: New file.
29705 * rt/Makefile (librt-routines): Add clock-compat and move
29706 $(clock-routines) to ...
29707 (routines): ... here, new variable.
29708 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29709 Don't add get_clockfreq here.
29710 * rt/Versions (libc: GLIBC_2.17): New version set.
29711 Add clock_* symbols here.
29712 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29713 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29714 (GLIBC_2.17): Add clock_* symbols.
29715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29717 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29719 Likewise.
29720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29721 Likewise.
29722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29726 * NEWS: Mention the move.
29727
29728 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29729 Use __open, __read, __close rather than their public counterparts.
29730 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29731 (__get_clockfreq_via_cpuinfo): Likewise.
29732 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29733 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29734
29735 * config.h.in (HAVE_IFUNC): New #undef.
29736 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29737 was successful.
29738 * configure: Regenerated.
29739
0cae3f4b
MF
297402012-10-24 Mike Frysinger <vapier@gentoo.org>
29741
29742 * configure.in: Move READELF check to start of file.
29743 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29744 libc_cv_asm_gnu_indirect_function in the process.
29745 * configure: Regenerated.
29746
8175a253
MF
297472012-10-24 Mike Frysinger <vapier@gentoo.org>
29748
29749 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29750 send the output to /dev/null.
29751 (libc_cv_cc_with_libunwind): Likewise.
29752 (libc_cv_as_noexecstack): Likewise.
29753 * configure: Regenerate.
29754
0708a7d1
JM
297552012-10-24 Joseph Myers <joseph@codesourcery.com>
29756
10b40d85
JM
29757 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29758
0708a7d1
JM
29759 * posix/globtest.sh (TMPDIR): Do not set.
29760 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29761 (testout): Likewise.
29762
9fddec1a
AJ
297632012-10-24 Andreas Jaeger <aj@suse.de>
29764
3a8db22f
AJ
29765 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29766 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29767 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29768 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29769 posix_fadvise64, posix_fallocate64.
29770
9fddec1a
AJ
29771 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29772 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29773 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29774 Likewise.
29775 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29776 Likewise.
29777 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29778
29779 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29780 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29781 <bits/fcntl-linux.h>.
29782 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29783
29784 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29785 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29786 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29787 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29788 [__WORDSIZE != 64]: Likewise.
29789
ebfd1bbd
JM
297902012-10-23 Joseph Myers <joseph@codesourcery.com>
29791
03ac099f
JM
29792 * Makeconfig (run-built-tests): New variable.
29793 * Rules [$(cross-compiling) = yes]: Change condition to
29794 [$(run-built-tests) = no].
29795 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29796 to [$(run-built-tests) = yes].
29797 * elf/Makefile [$(cross-compiling) = no]: Likewise
29798 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29799 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29800 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29801 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29802 * io/Makefile [$(cross-compiling) = no]: Likewise.
29803 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29804 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29805 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29806 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29807 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29808 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29809 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29810 * string/Makefile [$(cross-compiling) = no]: Likewise.
29811
ebfd1bbd
JM
29812 * posix/Makefile ($(objpfx)globtest.out): Pass
29813 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29814 $(rtld-installed-name).
29815 * posix/globtest.sh (elf_objpfx): Remove variable.
29816 (rtld_installed_name): Likewise.
29817 (library_path): Likewise.
29818 (run_program_prefix): New variable. Use for running globtest
29819 binary.
29820
166bca24
JB
298212012-10-23 Jim Blandy <jimb@codesourcery.com>
29822 Joseph Myers <joseph@codesourcery.com>
29823
29824 * Makeconfig (host-built-program-cmd): New variable.
29825 * elf/Makefile (tst-stackguard1-ARGS): Use
29826 $(host-built-program-cmd).
29827 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29828 (tst-spawn-ARGS): Likewise.
29829 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29830
88866099
JM
298312012-10-23 Joseph Myers <joseph@codesourcery.com>
29832 Jim Blandy <jimb@codesourcery.com>
29833
29834 * Makeconfig (run-via-rtld-prefix): New variable.
29835 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29836 (built-program-cmd): Likewise.
29837
b4b4c296
AJ
298382012-10-22 Andreas Jaeger <aj@suse.de>
29839
29840 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29841 __O_RSYNC if it exists, otherwise to O_SYNC.
29842
6fb54a22
JB
298432012-10-22 Jim Blandy <jimb@codesourcery.com>
29844 Joseph Myers <joseph@codesourcery.com>
29845
29846 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29847 /dev/null.
29848 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29849 from /dev/null
29850 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29851 /dev/null.
29852
481b90b9
AJ
298532012-10-22 Andreas Jaeger <aj@suse.de>
29854
2a0e2669
AJ
29855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29856 Define always.
29857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29858
76e38f9a
AJ
29859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29860 bits/fcntl-linux.h.
29861
7cd37b43
AJ
29862 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29863 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29864
481b90b9
AJ
29865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29866 to __O_LARGEFILE.
29867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29868 to __O_LARGEFILE.
29869
aba75984
JB
298702012-10-21 Jim Blandy <jimb@codesourcery.com>
29871 Joseph Myers <joseph@codesourcery.com>
29872
29873 * config.make.in (NM): New variable.
29874
88d4247f
AJ
298752012-10-21 Andreas Jaeger <aj@suse.de>
29876
29877 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29878 definitions and declarations that are provided by
29879 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29880
f2eed205
L
298812012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29882
29883 [BZ #14683]
29884 * elf/Makefile (tests-static): Add tst-leaks1-static.
29885 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29886 ($(objpfx)tst-leaks1-static): New rule.
29887 ($(objpfx)tst-leaks1-static-mem): Likewise.
29888 (tst-leaks1-static-ENV): New macro.
29889 * elf/dl-open.c (dl_open_worker): Check the main application
29890 only if SHARED is defined.
29891 * elf/tst-leaks1-static.c: New file.
29892
335e6931
AJ
298932012-10-20 Andreas Jaeger <aj@suse.de>
29894
29895 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29896 generic values for Linux.
29897 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29898 and declarations that are provided by <bits/fcntl-linux.h> and
29899 include <bits/fcntl-linux.h>.
29900 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29901 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29902
ac5c94d3
RM
299032012-10-20 Roland McGrath <roland@hack.frob.com>
29904
29905 * io/fcntl.h: Move include of <bits/types.h> to the top and
29906 include it unconditionally.
29907
de54b33a
L
299082012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29909
228cfb01
L
29910 * wcsmbs/Makefile (tests-ifunc): New variable.
29911 (tests): Add $(tests-ifunc).
29912 * wcsmbs/test-wcschr-ifunc.c: New file.
29913 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29914 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29915 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29916 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29917 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29918
69f07e5f
L
29919 * string/Makefile (tests-ifunc): New variable.
29920 (tests): Add $(tests-ifunc).
29921 * string/test-memccpy.c (TEST_NAME): New macro.
29922 * string/test-memchr.c (TEST_NAME): Likewise.
29923 * string/test-memcmp.c (TEST_NAME): Likewise.
29924 * string/test-memcpy.c (TEST_NAME): Likewise.
29925 * string/test-memmem.c (TEST_NAME): Likewise.
29926 * string/test-memmove.c (TEST_NAME): Likewise.
29927 * string/test-memset.c (TEST_NAME): Likewise.
29928 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29929 * string/test-stpcpy.c (TEST_NAME): Likewise.
29930 * string/test-stpncpy.c (TEST_NAME): Likewise.
29931 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29932 * string/test-strcasestr.c (TEST_NAME): Likewise.
29933 * string/test-strcat.c (TEST_NAME): Likewise.
29934 * string/test-strchr.c (TEST_NAME): Likewise.
29935 * string/test-strcmp.c(TEST_NAME): Likewise.
29936 * string/test-strcpy.c (TEST_NAME): Likewise.
29937 * string/test-strcspn.c (TEST_NAME): Likewise.
29938 * string/test-strlen.c (TEST_NAME): Likewise.
29939 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29940 * string/test-strncmp.c (TEST_NAME): Likewise.
29941 * string/test-strncpy.c (TEST_NAME): Likewise.
29942 * string/test-strnlen.c (TEST_NAME): Likewise.
29943 * string/test-strpbrk.c (TEST_NAME): Likewise.
29944 * string/test-strrchr.c (TEST_NAME): Likewise.
29945 * string/test-strspn.c (TEST_NAME): Likewise.
29946 * string/test-strstr.c (TEST_NAME): Likewise.
29947 * string/test-bcopy-ifunc.c: New file.
29948 * string/test-bzero-ifunc.c: Likewise.
29949 * string/test-memccpy-ifunc.c: Likewise.
29950 * string/test-memchr-ifunc.c: Likewise.
29951 * string/test-memcmp-ifunc.c: Likewise.
29952 * string/test-memcpy-ifunc.c: Likewise.
29953 * string/test-memmem-ifunc.c: Likewise.
29954 * string/test-memmove-ifunc.c: Likewise.
29955 * string/test-mempcpy-ifunc.c: Likewise.
29956 * string/test-memset-ifunc.c: Likewise.
29957 * string/test-rawmemchr-ifunc.c: Likewise.
29958 * string/test-stpcpy-ifunc.c: Likewise.
29959 * string/test-stpncpy-ifunc.c: Likewise.
29960 * string/test-strcasecmp-ifunc.c: Likewise.
29961 * string/test-strcasestr-ifunc.c: Likewise.
29962 * string/test-strcat-ifunc.c: Likewise.
29963 * string/test-strchr-ifunc.c: Likewise.
29964 * string/test-strchrnul-ifunc.c: Likewise.
29965 * string/test-strcmp-ifunc.c: Likewise.
29966 * string/test-strcpy-ifunc.c: Likewise.
29967 * string/test-strcspn-ifunc.c: Likewise.
29968 * string/test-strlen-ifunc.c: Likewise.
29969 * string/test-strncasecmp-ifunc.c: Likewise.
29970 * string/test-strncat-ifunc.c: Likewise.
29971 * string/test-strncmp-ifunc.c: Likewise.
29972 * string/test-strncpy-ifunc.c: Likewise.
29973 * string/test-strnlen-ifunc.c: Likewise.
29974 * string/test-strpbrk-ifunc.c: Likewise.
29975 * string/test-strrchr-ifunc.c: Likewise.
29976 * string/test-strspn-ifunc.c: Likewise.
29977 * string/test-strstr-ifunc.c: Likewise.
29978
de54b33a
L
29979 * debug/Makefile (tests-ifunc): New variable.
29980 (tests): Add $(tests-ifunc).
29981 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29982 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29983 * debug/test-stpcpy_chk-ifunc.c: New file.
29984 * debug/test-strcpy_chk-ifunc.c: Likewise.
29985
88481c16
SP
299862012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29987
29988 [BZ #13601]
29989 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29990 header is not read in.
29991
135948bd
JM
299922012-10-19 Joseph Myers <joseph@codesourcery.com>
29993
89f1c388
JM
29994 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29995 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29996 directly. Pass built executable to script as
29997 $(built-program-cmd).
29998 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29999 $testprogram without using LD_LIBRARY_PATH and $ldso.
30000
e40a0d21
JM
30001 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30002 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30003 $(rtld-installed-name).
30004 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30005 (rtld_installed_name): Likewise.
30006 (library_path): Likewise.
30007 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30008 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30009 $(run-program-prefix) to tst-tables.sh.
30010 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30011 it to run tst-table-from and tst-table-to.
30012 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30013 Pass it to tst-table.sh.
30014 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30015 $(run-program-prefix) to tst-gettext.sh.
30016 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30017 tst-translit.sh.
30018 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30019 tst-gettext2.sh.
30020 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30021 to run tst-gettext.
30022 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30023 to run tst-gettext2.
30024 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30025 to run tst-translit.
30026 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30027 $(run-program-prefix) to tst-mtrace.sh.
30028 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30029 to run tst-mtrace.
30030 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30031 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30032 $(rtld-installed-name).
30033 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30034 (rtld_installed_name): Likewise.
30035 (run_program_prefix): New variable. Use it to run wordexp-test.
30036
728e272a
JM
30037 * Makeconfig (ARCH): Remove all definitions.
30038 (machine): Likewise.
30039 [ARCH]: Remove conditional code.
30040 [!objdir]: Give error.
30041 [!objdir] (objpfx): Remove.
30042 [!objdir] (common-objpfx): Likewise.
30043 [!objdir] (common-objdir): Likewise.
30044 * configure.in (config_makefile): Remove. Hardcode Makefile in
30045 AC_CONFIG_FILES call.
30046 * configure: Regenerated.
30047
d528cdcf
JM
30048 [BZ #13888]
30049 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30050 or TMPDIR.
30051 (testout): Likewise.
30052
135948bd
JM
30053 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30054 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30055 $(rtld-installed-name).
30056 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30057 (rtld_installed_name): Likwise.
30058 (runit): Remove function.
30059 (run_getconf): New variable, Use it for running getconf binary.
30060
38c78296
L
300612012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30062
30063 [BZ #14716]
30064 * string/test-memmem.c (check_result): New function.
30065 (do_one_test): Use it.
30066 (check1): New function.
30067 (test_main): Use it.
30068
d077f65f
MT
300692012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30070
30071 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30072
ced52c71
JM
300732012-10-18 Joseph Myers <joseph@codesourcery.com>
30074
30075 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30076 (_G_LSEEK64): Likewise.
30077 (_G_MMAP64): Likewise.
30078 (_G_FSTAT64): Likewise.
30079 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30080 (_G_LSEEK64): Likewise.
30081 (_G_MMAP64): Likewise.
30082 (_G_FSTAT64): Likewise.
30083 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30084 unconditional. Call __mmap64 directly.
30085 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30086 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30087 __lseek64 directly.
30088 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30089 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30090 __mmap64 directly.
30091 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30092 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30093 __lseek64 directly.
30094 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30095 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30096 __lseek64 directly.
30097 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30098 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
30099 __lseek64 directly.
30100 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30101 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
30102 __fxstat64 directly.
30103 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30104 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30105 unconditional.
30106 (freopen64) [!_G_OPEN64]: Remove conditional code.
30107 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30108 unconditional.
30109 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30110 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30111 unconditional.
30112 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30113 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30114 unconditional.
30115 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30116 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30117 unconditional.
30118 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30119 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30120 unconditional.
30121 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30122 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30123 unconditional.
30124 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30125 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30126 unconditional.
30127 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30128
b741de23
SP
301292012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30130
30131 [BZ #12140]
30132 * manual/memory.texi (Malloc Tunable Parameters): Add note
30133 about free list pointers overwriting some perturb bytes.
30134 Wording suggested by Roland McGrath.
30135
f9b9d9c9
JM
301362012-10-17 Joseph Myers <joseph@codesourcery.com>
30137
30138 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30139 (lgamma_test): Likewise.
30140 (tgamma_test): Likewise.
30141
172a631a
FW
301422012-10-16 Florian Weimer <fweimer@redhat.com>
30143
30144 [BZ #14700]
30145 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30146 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30147
e9f37252
MK
301482012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30149
30150 * NEWS: Mention BZ #14716.
30151 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30152 when removing AVAILABLE1_USES_J macro.
30153
d394eb74
L
301542012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30155
30156 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30157 (__bswap_64): __uint64_t for unsigned 64-bit int.
30158
ca38dc17
AS
301592012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30160
30161 * include/string.h (memmem): Declare libc hidden alias.
30162 * string/memmem.c (memmem): Define libc hidden alias.
30163 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30164 __read, __close instead of open, read, close.
30165
9a387d1f
L
301662012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30167
ac49ecaf
L
30168 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30169 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30170 global and hidden.
30171 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30172 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30173 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30174 Likewise.
30175 (__rawmemchr_sse2): Likewise.
30176 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30177 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30178 (__strchr_sse2): Likewise.
30179 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30180 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30181 (__strcasecmp_sse2): Likewise.
30182 (__strncasecmp_sse2): Likewise.
30183 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30184 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30185 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30186 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30187 (__strrchr_sse2): Likewise.
30188 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30189 ifunc-impl-list.c.
30190 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30191 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30192 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30193 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30194 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30195 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30196 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30197 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30198 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30199 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30200 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30201 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30202 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30203 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30204 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30205 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30206 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30207 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30208 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30209 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30210 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30211 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30212 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30213 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30214 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30215 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30216 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30217 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30218 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30219 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30220
b090e8ea
L
30221 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30222 global and hidden.
30223 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30224 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30225 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30226 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30227 Likewise.
30228 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30229 Likewise.
30230 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30231 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30232 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30233 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30234 ifunc-impl-list.c.
30235 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30236 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30237 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30238 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30239 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30240 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30241 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30242 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30243 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30244 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30245 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30246 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30247 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30248 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30249 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30250 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30251 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30252 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30253 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30254 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30255 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30256 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30257 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30258 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30259 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30260 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30261 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30262 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30263 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30264 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30265 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30266 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30267 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30268 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30269 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30270 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30271 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30272 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30273 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30274 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30275 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30276
11dd4af6
L
30277 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30278 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30279 * include/ifunc-impl-list.h: New file.
30280 * misc/ifunc-impl-list.c: Likewise.
30281 * misc/Makefile (routines): Add ifunc-impl-list.
30282 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30283 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
30284 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30285 TEST_NAME]: New variables.
11dd4af6
L
30286 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30287 are defined.
30288 (test_init): Call __libc_ifunc_impl_list to initialize
30289 func_list if TEST_IFUNC and TEST_NAME are defined.
30290
9a387d1f
L
30291 * string/Makefile (strop-tests): Add bcopy and bzero.
30292 * string/test-bcopy.c: New file.
30293 * string/test-bzero.c: Likewise.
30294 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30295 defined.
30296 * string/test-memset.c: Support bzero test if TEST_BZERO is
30297 defined.
30298 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30299 __libc_memmove.
30300 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30301 __libc_memset.
30302 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30303 of memset.
30304
472371b9
JM
303052012-10-10 Joseph Myers <joseph@codesourcery.com>
30306
1e4a9536
JM
30307 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30308 * configure: Regenerated.
30309
d173d12e
JM
30310 * Makeconfig (+link-static-before-libc): Don't include
30311 $(link-static-libc).
30312
472371b9
JM
30313 * libio/libio.h (_IO_pos_t): Remove.
30314
89a3ad0b
AO
303152012-10-10 Alexandre Oliva <aoliva@redhat.com>
30316
30317 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30318 McGrath.
30319
e7451425
AO
303202012-10-10 Alexandre Oliva <aoliva@redhat.com>
30321
30322 * crypt/crypt-entry.c: Include fips-private.h.
30323 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30324 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30325 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30326 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30327
4ba74a35
AO
303282012-10-10 Alexandre Oliva <aoliva@redhat.com>
30329
30330 * crypt/crypt-private.h: Include stdbool.h.
30331 (_ufc_setup_salt_r): Return bool.
30332 * crypt/crypt-entry.c: Include errno.h.
30333 (__crypt_r): Return NULL with EINVAL for bad salt.
30334 * crypt/crypt_util.c (bad_for_salt): New.
30335 (_ufc_setup_salt_r): Check that salt is long enough and within
30336 the specified alphabet.
30337 * crypt/badsalttest.c: New file.
30338 * crypt/Makefile (tests): Add it.
30339 ($(objpfx)badsalttest): New.
30340
f96f1242
MK
303412012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30342
30343 * NEWS: Add entry for BZ #14602.
30344
0e8e0c1c
JM
303452012-10-09 Joseph Myers <joseph@codesourcery.com>
30346
30347 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30348 type-generic.
30349 * math/libm-test.inc: Update comment listing what functions and
30350 macros are tested.
30351 (isgreater_test): New function.
30352 (isgreaterequal_test): Likewise.
30353 (isless_test): Likewise.
30354 (islessequal_test): Likewise.
30355 (islessgreater_test): Likewise.
30356 (isunordered_test): Likewise.
30357 (main): Call the new functions.
30358
273edc5e
RM
303592012-10-09 Roland McGrath <roland@hack.frob.com>
30360
b8493de0
RM
30361 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30362 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30363 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30364 * sysdeps/i386/configure: Regenerated.
30365 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30366 * sysdeps/mach/configure: Regenerated.
30367 * sysdeps/mach/hurd/configure: Regenerated.
30368 * sysdeps/powerpc/configure: Regenerated.
30369 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30370 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30371 * sysdeps/s390/s390-32/configure: Regenerated.
30372 * sysdeps/s390/s390-64/configure: Regenerated.
30373 * sysdeps/sh/configure: Regenerated.
30374 * sysdeps/sparc/configure: Regenerated.
30375 * sysdeps/unix/sysv/linux/configure: Regenerated.
30376 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30377 * sysdeps/x86_64/configure: Regenerated.
30378
273edc5e
RM
30379 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30380 defined. Don't check if MAP is NULL.
30381
c8450f70
JM
303822012-10-09 Joseph Myers <joseph@codesourcery.com>
30383
30384 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30385 (_G_stat64): Likewise.
30386 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30387 (_G_stat64): Likewise.
30388 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30389 instead of struct _G_stat64.
30390 * libio/fileops.c (mmap_remap_check): Likewise.
30391 (decide_maybe_mmap): Likewise.
30392 (_IO_new_file_seekoff): Likewise.
30393 (_IO_file_stat): Likewise.
30394 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30395 _G_off64_t.
30396 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30397 instead of struct _G_stat64.
30398 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30399
57e605ba
MK
304002012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30401
30402 [BZ #14602]
30403 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30404 Replace with ...
30405 (CHECK_EOL): New macro.
30406 (two_way_short_needle): Check beginning of haystack for EOL. Use
30407 CHECK_EOL.
30408 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30409 Replace with CHECK_EOL.
30410 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30411 Replace with CHECK_EOL.
30412
ef1bb361
JM
304132012-10-08 Joseph Myers <joseph@codesourcery.com>
30414
30415 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30416 type-generic.
30417 * math/libm-test.inc: Update comment listing what functions and
30418 macros are tested.
30419 (finite_test): New function.
30420 (isinf_test): Likewise.
30421 (isnan_test): Likewise.
30422 (fpclassify_test): Test subnormal input.
30423 (isfinite_test): Likewise.
30424 (isnormal_test): Likewise.
30425 (main): Call the new functions.
30426
55f11534
JN
304272012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30428
30429 [BZ #14660]
30430 * Makerules (%.dynsym): Force C locale when running
30431 $(OBJDUMP) --dynamic-syms.
30432
1ab29350
AS
304332012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30434
30435 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30436 <stdint.h>.
30437
f1ecb7ef
DM
304382012-10-06 David S. Miller <davem@davemloft.net>
30439
30440 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30441 upper 32-bits of the length value in %o2 since we use branch-on-register
30442 tests which consider the entire 64-bit register.
30443
5d41d91a
L
304442012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30445
30446 * string/test-strstr.c (check2): Add a test for page boundary.
30447
3baddb72
DM
304482012-10-05 David S. Miller <davem@davemloft.net>
30449
30450 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30451 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30452 file.
30453 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30454 sysdep_routines.
30455 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30456 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30457 and bzero when HWCAP_SPARC_CRYPTO is present.
30458
9cee5585
L
304592012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30460
d7e0dab9
L
30461 [BZ #14602]
30462 * string/test-strstr.c (check2): New function.
30463 (test_main): Call check2.
30464
03759f47
L
30465 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30466 and bug-strchr1.
30467 * string/bug-strcasestr1.c (do_test): Moved to ...
30468 * string/test-strcasestr.c (check1): Here. New function.
30469 (do_one_test): Break out result checking code into ...
30470 (check_result): This. New function.
30471 (do_one_test): Call check_result.
30472 (test_main): Call check1.
30473 * string/bug-strchr1.c (do_test): Moved to ...
30474 * string/test-strchr.c (check1): Here. New function.
30475 (do_one_test): Break out result checking code into ...
30476 (check_result): This. New function.
30477 (do_one_test): Call check_result.
30478 (test_main): Call check1.
30479 * string/bug-strstr1.c (main): Moved to ...
046f153e 30480 * string/test-strstr.c (check1): Here. New function.
03759f47
L
30481 (do_one_test): Break out result checking code into ...
30482 (check_result): This. New function.
30483 (do_one_test): Call check_result.
30484 (test_main): Call check1.
30485 * string/bug-strcasestr1.c: Removed.
30486 * string/bug-strchr1.c: Likewise.
30487 * string/bug-strstr1.c: Likewise.
30488
53cea63e
L
30489 * elf/Makefile (dl-routines): Add hwcaps.
30490 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30491 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30492 (_dl_important_hwcaps): Moved to ...
30493 * elf/dl-hwcaps.c: Here. New file.
30494 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30495
9cee5585 30496 [BZ #14557]
bb859b06
L
30497 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30498 if IS_IN_rtld isn't defined.
30499
9cee5585
L
30500 * elf/dl-support.c (_dl_sysinfo_map): New.
30501 Include "get-dynamic-info.h" and "setup-vdso.h".
30502 (_dl_non_dynamic_init): Call setup_vdso.
30503 * elf/dynamic-link.h: Don't include <assert.h>.
30504 (elf_get_dynamic_info): Moved to ...
30505 * elf/get-dynamic-info.h: Here. New file.
30506 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30507 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30508 * elf/setup-vdso.h: Here. New file.
30509 * elf/rtld.c: Include "setup-vdso.h".
30510 (dl_main): Call setup_vdso.
30511
23c31b76
JM
305122012-10-05 Joseph Myers <joseph@codesourcery.com>
30513
28234b07
JM
30514 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30515 creal in comment listing functions tested. List finite, isinf,
30516 isnan, isless, islessequal, isgreater, isgreaterequal,
30517 islessgreater, isunordered, lgamma_r and pow10 as functions and
30518 macros not tested. Mention which functions not tested are aliases
30519 for other functions. Fix typo. Note that signs of NaNs are not
30520 tested.
30521
23c31b76
JM
30522 * scripts/config.guess: Update from config.git.
30523 * scripts/config.sub: Likewise.
30524
9043e228
RM
305252012-10-04 Roland McGrath <roland@hack.frob.com>
30526
30527 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30528 * misc/madvise.c (madvise): Renamed to __madvise.
30529 Make madvise a weak alias.
30530 * include/sys/mman.h: Declare __madvise.
30531 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30532 * sysdeps/unix/syscalls.list
30533 (madvise): Make __madvise the strong name, and madvise a weak alias.
30534 * sysdeps/unix/sysv/linux/syscalls.list
30535 (madvise, mmap): Remove redundant entries.
30536 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30537 * malloc/malloc.c (mtrim): Likewise.
30538 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30539
f57f8055
RM
305402012-10-03 Roland McGrath <roland@hack.frob.com>
30541
30542 * sysdeps/mach/hurd/dl-cache.c: File removed.
30543 * config.h.in (USE_LDCONFIG): New #undef.
30544 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30545 * configure: Regenerated.
30546 * elf/Makefile (dl-routines): Add dl-cache only under
30547 [$(use-ldconfig) = yes].
30548 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30549 cache on [USE_LDCONFIG].
30550 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30551 [USE_LDCONFIG].
30552 * elf/rtld.c (dl_main): Likewise.
30553
5bb0c10a
PT
305542012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30555
30556 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30557 _SC_LEVEL4_CACHE_LINESIZE.
30558
010188c6
RM
305592012-10-03 Roland McGrath <roland@hack.frob.com>
30560
30561 * sysdeps/unix/bsd/confstr.h: File removed.
30562
b6c5ec07
AO
305632012-10-02 Alexandre Oliva <aoliva@redhat.com>
30564
30565 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30566 sys/sdt-config.h.
30567
408223d4
RM
305682012-10-02 Roland McGrath <roland@hack.frob.com>
30569
30570 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30571 Make 'mapoff' field ElfW(Off) rather than off_t.
30572
bb9510dc
DL
305732012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30574
fc997c6e
DL
30575 * nscd/Makefile: Remove nscd-cflags and all its users.
30576 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30577 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30578
bb9510dc
DL
30579 [BZ #10631]
30580 * malloc.c (malloc_printerr): Clarify error message.
30581
05699367
L
305822012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30583
30584 [BZ #14648]
30585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30586 Set bit_FMA_Usable if FMA is supported.
30587 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30588 macro.
30589 (bit_FMA4_Usable): Updated.
30590 (index_FMA_Usable): New macro.
30591 (CPUID_FMA): Likewise
30592 (HAS_FMA): Defined with bit_FMA_Usable.
30593
51367701
RM
305942012-10-01 Roland McGrath <roland@hack.frob.com>
30595
30596 * bits/types.h (__swblk_t): Type removed.
30597 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30598 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30599 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30600 (__SWBLK_T_TYPE): Likewise.
30601 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30602 (__SWBLK_T_TYPE): Likewise.
30603 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30604 (__SWBLK_T_TYPE): Likewise.
30605 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30606 (__SWBLK_T_TYPE): Likewise.
30607
4d57bf63 306082012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 30609 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
30610
30611 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30612 (xdr_mapname): Use YPMAXMAP as maxsize.
30613 (xdr_peername): Use YPMAXPEER as maxsize.
30614 (xdr_keydat): Use YPAXRECORD as maxsize.
30615 (xdr_valdat): Use YPMAXRECORD as maxsize.
30616
93c65d43
RM
306172012-10-01 Roland McGrath <roland@hack.frob.com>
30618
497a03d6
RM
30619 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30620
93c65d43
RM
30621 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30622 * csu/init-first.c: ... here.
30623 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30624 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30625 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30626 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30627 * sysdeps/i386/init-first.c: File removed.
30628 * sysdeps/sh/init-first.c: File removed.
30629
bec749fd
JM
306302012-10-01 Joseph Myers <joseph@codesourcery.com>
30631
30632 [BZ #14645]
30633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30634 if x * y might underflow to zero and z is zero.
30635 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30636 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30637 * math/libm-test.inc (min_subnorm_value): New variable.
30638 (fma_test): Add more tests.
30639 (fma_test_towardzero): Likewise.
30640 (fma_test_downward): Likewise
30641 (fma_test_upward): Likewise.
30642 (initialize): Set min_subnorm_value.
30643
8ec5b013
JM
306442012-09-29 Joseph Myers <joseph@codesourcery.com>
30645
30646 [BZ #14638]
30647 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30648 0 + 0.
30649 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30650 mode for addition resulting in exact zero.
30651 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30652 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30653 exact 0 + 0.
30654 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30655 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30656 * math/libm-test.inc (fma_test): Add more tests.
30657 (fma_test_towardzero): New function.
30658 (fma_test_downward): Likewise.
30659 (fma_test_upward): Likewise.
30660 (main): Call the new functions.
30661
b1fa802e
DM
306622012-09-28 David S. Miller <davem@davemloft.net>
30663
30664 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30665
d3b9fd9e
RM
306662012-09-28 Roland McGrath <roland@hack.frob.com>
30667
ea4d37b3
RM
30668 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30669 instead of SIGALRM.
30670
ac51c949
RM
30671 * sysdeps/gnu/_G_config.h: Moved to ...
30672 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30673 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30674 * sysdeps/generic/_G_config.h: ... here.
30675
28c195f7
RM
30676 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30677
848917f9
RM
30678 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30679
6bacf05b
RM
30680 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30681 Conditionalize target on [libnss_test1.so-version].
30682
91363dbb
RM
30683 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30684
cc87f7d8
RM
30685 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30686 (elfobjdir): Move out of conditionals.
30687
b1c608fe
RM
30688 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30689 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30690 (__nss_lookup_function): Conditionalize label remove_from_tree on
30691 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 30692
1d9a6d96
DM
306932012-09-28 David S. Miller <davem@davemloft.net>
30694
30695 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30696 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30697 file.
30698 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30699 sysdep_routines.
30700 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30701 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30702 when HWCAP_SPARC_CRYPTO is present.
30703
72581615
PT
307042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30705
30706 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30707
715a900c
JL
307082012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30709
30710 [BZ #6530]
30711 * stdio-common/vfprintf.c (process_string_arg): Revert
30712 2000-07-22 change.
30713
307142011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30715
30716 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30717 for testcase.
30718 * stdio-common/tst-sprintf.c: Include <locale.h>
30719 (main): Test sprintf's handling of incomplete multibyte
30720 characters.
30721
9bac1d86
L
307222012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30723
30724 * elf/dl-runtime.c (VERSYMIDX): Removed.
30725 * elf/dl-version.c (VERSYMIDX): Likewise.
30726 * elf/do-rel.h (VERSYMIDX): Likewise.
30727 (VALIDX): Likewise.
30728 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30729 * elf/rtld.c (VALIDX): Likewise.
30730 (ADDRIDX): Likewise.
9bac1d86
L
30731 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30732 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30733 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
30734 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30735 (VALIDX): Likewise.
30736 (ADDRIDX): Likewise.
9bac1d86 30737
b31606c0
PT
307382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30739
30740 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30741
11541177
JL
307422012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30743
30744 [BZ #11438]
30745 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30746 to global scope.
30747 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30748 addresses are in the same scope as 192.0.2/24.
30749 * posix/gai.conf: Document new scope table defaults.
30750
adb26fae
SP
307512012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30752
30753 [BZ #5298]
30754 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30755 for ftell. Compute offsets from write pointers instead.
30756 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30757
4573c6b0
SP
307582012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30759
30760 [BZ #14543]
30761 * libio/Makefile (tests): New test case tst-fseek.
30762 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30763 combination works in wide mode.
30764 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30765 state when the external buffer state changes.
30766
aa9bbfe6
DM
307672012-09-27 David S. Miller <davem@davemloft.net>
30768
30769 [BZ #14376]
30770 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30771 pass reloc->r_addend in as the 'high' argument to
30772 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30773
784421e7
DM
30774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30775
c39bc8b8
PT
307762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30777
30778 * rt/tst-aio2.c: Include <pthread.h>.
30779 * rt/tst-aio3.c: Likewise.
30780
1ccc2399
SE
307812012-09-27 Steve Ellcey <sellcey@mips.com>
30782
30783 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30784
31ed4153
L
307852012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30786
25f5f885
L
30787 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30788 contents on [SHARED].
31ed4153 30789
b7bfe116
MP
307902012-09-26 Marek Polacek <polacek@redhat.com>
30791
30792 [BZ #14530]
30793 [BZ #13741]
30794 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30795 for C++ and GCC <4.3 as well as for non GCC compilers.
30796
43c4edba
MT
307972012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30798
30799 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30800
6a1bf82f
RM
308012012-09-25 Roland McGrath <roland@hack.frob.com>
30802
30803 * Makefile.in (all, install): Declare with .PHONY.
30804 Reported by Michael Hope <michael.hope@linaro.org>.
30805
8ad11b9a
TMQMF
308062012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30807
30808 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30809 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30810 system header.
30811 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30812 Likewise.
30813 (sydep_routines): Add the new and the internal functions.
30814 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30815 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30817 (GLIBC_2.17): Add the new function.
30818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30819 (GLIBC_2.17): Likewise.
30820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30821 (GLIBC_2.17): Likewise.
30822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30823 (GLIBC_2.17): Likewise.
30824 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30825
7e2fca8d
AM
308262012-09-25 Alan Modra <amodra@gmail.com>
30827
30828 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30829 Add release barrier before setting once_control to say
30830 initialisation is done. Add hints on lwarx. Use macro in
30831 place of isync.
30832 (clear_once_control): Add release barrier.
30833
b87c4b24
JM
308342012-09-25 Joseph Myers <joseph@codesourcery.com>
30835
d032e0d2
JM
30836 [BZ #13629]
30837 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30838 specially.
30839 * math/s_clog10.c (__clog10): Likewise.
30840 * math/s_clog10f.c (__clog10f): Likewise.
30841 * math/s_clog10l.c (__clog10l): Likewise.
30842 * math/s_clogf.c (__clogf): Likewise.
30843 * math/s_clogl.c (__clogl): Likewise.
30844 * math/Makefile (libm-calls): Add x2y2m1.
30845 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30846 (__x2y2m1): Likewise.
30847 (__x2y2m1l): Likewise.
30848 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30849 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30850 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30851 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30852 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30853 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30854 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30855 * sysdeps/i386/fpu/libm-test-ulps: Update.
30856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30857
b87c4b24
JM
30858 [BZ #14621]
30859 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30860 int as type of variable DEPTH.
30861 (glob): Use size_t instead of int as type of variables NEWCOUNT
30862 and OLD_PATHC.
30863
6d3bf199
LD
308642012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30865
22bf5c17
LD
30866 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30867 Add s_sincosf-sse2.
30868 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30869 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30870 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30871 macros for using routine as __sincosf_ia32.
30872 Use macro for function declaration and weak_alias.
30873 * sysdeps/i386/fpu/libm-test-ulps: Update.
30874
30875 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30877
30878 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
30879 subnormal argument.
30880 * math/s_cexpf.c (__cexpf): Likewise.
30881 * math/s_csinf.c (__csinf): Likewise.
30882 * math/s_csinhf.c (__csinhf): Likewise.
30883 * math/s_ctanf.c (__ctanf): Likewise.
30884 * math/s_ctanhf.c (__ctanhf): Likewise.
30885 * math/s_ccosh.c (__ccoshf): Likewise.
30886 * math/s_cexp.c (__cexpl): Likewise.
30887 * math/s_csin.c (__csin): Likewise.
30888 * math/s_csinh.c (__csinh): Likewise.
30889 * math/s_ctan.c (__ctan): Likewise.
30890 * math/s_ctanh.c (ctanh): Likewise.
30891 * math/s_ccoshl.c (__ccoshl): Likewise.
30892 * math/s_cexpl.c (__cexpl): Likewise.
30893 * math/s_csinl.c (__csinl): Likewise.
30894 * math/s_csinhl.c (__csinhl): Likewise.
30895 * math/s_ctanl.c (__ctanl): Likewise.
30896 * math/s_ctanhl.c (__ctanhl): Likewise.
30897
203e5603
JM
308982012-09-25 Joseph Myers <joseph@codesourcery.com>
30899
30900 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30901 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30902 (_IO_off_t): Define to __off_t, not _G_off_t.
30903 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30904 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30905 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30906 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30907 type of __dummy and __dummy2 fields.
30908 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30909 (_G_ssize_t): Likewise.
30910 (_G_off_t): Likewise.
30911 (_G_pid_t): Likewise.
30912 (_G_uid_t): Likewise.
30913 (_G_wchar_t): Likewise.
30914 (_G_wint_t): Likewise.
30915 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30916 (_G_ssize_t): Likewise.
30917 (_G_off_t): Likewise.
30918 (_G_pid_t): Likewise.
30919 (_G_uid_t): Likewise.
30920 (_G_wchar_t): Likewise.
30921 (_G_wint_t): Likewise.
30922 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30923 (_G_ssize_t): Likewise.
30924 (_G_off_t): Likewise.
30925 (_G_pid_t): Likewise.
30926 (_G_uid_t): Likewise.
30927 (_G_wchar_t): Likewise.
30928 (_G_wint_t): Likewise.
30929
9fab36eb
SP
309302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30931
30932 * malloc/arena.c: Include malloc-sysdep.h.
30933 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30934 is sufficient to shrink the heap or an unmap is needed.
30935 * sysdeps/generic/malloc-sysdep.h: New file. Define
30936 new function check_may_shrink_heap.
30937 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30938 new function check_may_shrink_heap.
30939
2b4f00d1
SP
309402012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30941
30942 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30943 comments.
30944
9a9028b1
DL
309452012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30946
57c69bef
DL
30947 * catgets/test-gencat.sh: Add "set -e".
30948 * elf/tst-pathopt.sh: Likewise.
30949 * grp/tst_fgetgrent.sh: Likewise.
30950 * iconvdata/run-iconv-test.sh: Likewise.
30951 * intl/tst-gettext.sh: Likewise.
30952 * intl/tst-gettext2.sh: Likewise.
30953 * intl/tst-gettext4.sh: Likewise.
30954 * intl/tst-gettext6.sh: Likewise.
30955 * intl/tst-translit.sh: Likewise.
30956 * io/ftwtest-sh: Likewise.
30957 * libio/test-freopen.sh: Likewise.
30958 * malloc/tst-mtrace.sh: Likewise.
30959 * posix/globtest.sh: Likewise.
30960 * posix/tst-getconf.sh: Likewise.
30961 * posix/wordexp-tst.sh: Likewise.
30962 * stdio-common/tst-printf.sh: Likewise.
30963 * stdio-common/tst-unbputc.sh: Likewise.
30964 * stdlib/tst-fmtmsg.sh: Likewise.
30965 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30966 * catgets/Makefile: Do not specify -e option when running
30967 testsuite shell scripts.
30968 * elf/Makefile: Likewise.
30969 * grp/Makefile: Likewise.
30970 * iconvdata/Makefile: Likewise.
30971 * intl/Makefile: Likewise.
30972 * io/Makefile: Likewise.
30973 * libio/Makefile: Likewise.
30974 * malloc/Makefile: Likewise.
30975 * posix/Makefile: Likewise.
30976 * stdio-common/Makefile: Likewise.
30977 * stdlib/Makefile: Likewise.
30978 * sysdeps/x86_64/Makefile: Likewise.
30979
9a9028b1
DL
30980 * io/ftwtest-sh: Add copyright header.
30981 * posix/globtest.sh: Likewise.
30982 * posix/tst-getconf.sh: Likewise.
30983 * posix/wordexp-tst.sh: Likewise.
30984 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30985
ced6f16e
L
309862012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30987
94b32c39
L
30988 [BZ #13679]
30989 * Makeconfig (+link): Defined as $(+link-static) if
30990 $(build-shared) isn't yes.
30991 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30992 isn't yes.
30993 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30994
189e935b
L
30995 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30996
ced6f16e
L
30997 [BZ #14562]
30998 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30999 new chunk size with MALLOC_ALIGN_MASK.
31000
a9f8e53a
JM
310012012-09-24 Joseph Myers <joseph@codesourcery.com>
31002
31003 [BZ #5044]
31004 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31005 <rounding-mode.h>.
31006 (__printf_fphex): Determine rounding using get_rounding_mode and
31007 round_away.
31008 * stdio-common/tst-printf-round.c (struct hex_test): New
31009 structure.
31010 (hex_tests): New variable.
31011 (test_hex_in_one_mode): New function.
31012 (do_test): Also run tests for hex float output.
31013
43153109
JM
310142012-09-21 Joseph Myers <joseph@codesourcery.com>
31015
31016 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31017 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31018 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31019 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31020 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31021 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31022 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31023 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31024
8a26625d
JM
310252012-09-20 Joseph Myers <joseph@codesourcery.com>
31026
31027 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31028 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31029 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31030 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31031
f3fd569c
DL
310322012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31033
31034 [BZ #14579]
31035 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31036 mode only.
31037 * elf/tst-rtld-load-self.sh: New test.
31038 * elf/Makefile: Run it.
31039
63bbedd4
JM
310402012-09-18 Joseph Myers <joseph@codesourcery.com>
31041
31042 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31043 (tst-writev-ENV): Remove.
31044 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31045
626f8b6a
CM
310462012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31047
31048 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31049
b7aaa4d6
JM
310502012-09-17 Joseph Myers <joseph@codesourcery.com>
31051
31052 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31053 unconditional.
31054 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31055 Likewise.
31056 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31057 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31058 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31059 Likewise.
31060
65513990
L
310612012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31062
31063 [BZ #14587]
31064 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31065 * config.make.in (have-cpp-asm-debuginfo): Removed.
31066 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31067 * configure: Regenerated.
31068
784761be
JM
310692012-09-14 Joseph Myers <joseph@codesourcery.com>
31070
31071 [BZ #5044]
31072 * stdio-common/printf_fp.c: Include <stdbool.h> and
31073 <rounding-mode.h>.
31074 (___printf_fp): Determine rounding using get_rounding_mode and
31075 round_away.
31076 * stdio-common/tst-printf-round.c: New file.
31077 * stdio-common/Makefile (tests): Add tst-printf-round.
31078 (link-libm): New variable.
31079 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31080
9503345f
L
310812012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31082
31083 [BZ #14576]
31084 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31085 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31086 Likewise.
31087 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31088 Likewise.
31089
ad35fc00
JM
310902012-09-13 Joseph Myers <joseph@codesourcery.com>
31091
31092 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31093 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31094 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31095 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31096
6c9b0f68
JM
310972012-09-12 Joseph Myers <joseph@codesourcery.com>
31098
31099 [BZ #14518]
31100 * include/rounding-mode.h: New file.
31101 * sysdeps/generic/get-rounding-mode.h: Likewise.
31102 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31103 * stdlib/strtod_l.c: Include <rounding-mode.h>.
31104 (MAX_VALUE): New macro.
31105 (MIN_VALUE): Likewise.
31106 (overflow_value): New function.
31107 (underflow_value): Likewise.
31108 (round_and_return): Use overflow_value and underflow_value to
31109 determine return values in overflow and underflow cases. Use
31110 round_away to determine rounding depending on rounding mode.
31111 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31112 determine return values in overflow and underflow cases.
31113 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31114 (struct test_results): New structure.
31115 (struct test): Use struct test_results to store expected results
31116 for all rounding modes.
31117 (TEST): Include expected results for all rounding modes.
31118 (test_in_one_mode): New function.
31119 (do_test): Use test_in_one_mode to compute and check results.
31120 Check results for all rounding modes.
31121 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31122 $(link-libm).
31123
19fcedd5
AM
311242012-12-09 Allan McRae <allan@archlinux.org>
31125
1e9d84cd 31126 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 31127
8bbfd2f1
JM
311282012-09-11 Joseph Myers <joseph@codesourcery.com>
31129
31130 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31131 (_G_int32_t): Likewise.
31132 (_G_uint16_t): Likewise.
31133 (_G_uint32_t): Likewise.
31134 (_G_HAVE_BOOL): Likewise.
31135 (_G_HAVE_ATEXIT): Likewise.
31136 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31137 (_G_HAVE_IO_FILE_OPEN): Likewise.
31138 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31139 (_G_int32_t): Likewise.
31140 (_G_uint16_t): Likewise.
31141 (_G_uint32_t): Likewise.
31142 (_G_HAVE_BOOL): Likewise.
31143 (_G_HAVE_ATEXIT): Likewise.
31144 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31145 (_G_HAVE_IO_FILE_OPEN): Likewise.
31146 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31147 (_G_int32_t): Likewise.
31148 (_G_uint16_t): Likewise.
31149 (_G_uint32_t): Likewise.
31150 (_G_HAVE_BOOL): Likewise.
31151 (_G_HAVE_ATEXIT): Likewise.
31152 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31153 (_G_HAVE_IO_FILE_OPEN): Likewise.
31154
b1dc5912
L
311552012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31156
31157 * csu/libc-tls.c: Update copyright years.
31158
0e886ef9
JM
311592012-09-10 Joseph Myers <joseph@codesourcery.com>
31160
28361c5e
JM
31161 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31162 [!_G_USING_THUNKS]: Remove conditional code.
31163 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31164 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31165
0e886ef9
JM
31166 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31167 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31168 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31169 (_G_VTABLE_LABEL_PREFIX): Likewise.
31170 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31171 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31172 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31173 (_G_VTABLE_LABEL_PREFIX): Likewise.
31174 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31175 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31176 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31177 (_G_VTABLE_LABEL_PREFIX): Likewise.
31178 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31179
bcba7aa2
L
311802012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31181
31182 * libio/Makefile: Include ../Makeconfig before tests.
31183 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31184 only if $(build-shared) is yes.
31185
06585ee8
L
31186 * iconv/gconv_db.c: Update copyright years.
31187
80ccd52c
LD
311882012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31189
31190 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31191 unwind info if defined PIC. Fix special cases description.
31192 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31193
31194 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31195 DP_HI_MASK entry.
31196 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31197
691bc9c1
L
311982012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31199
3d9b46b3
L
31200 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31201
de2139a9
L
31202 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31203 is NULL.
31204
5ca78dd0
L
31205 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31206 (LDLIBS-tst-chk4): This.
31207 (LDFLAGS-tst-chk5): Renamed to ...
31208 (LDLIBS-tst-chk5): This.
31209 (LDFLAGS-tst-chk6): Renamed to ...
31210 (LDLIBS-tst-chk6): This.
31211 (LDFLAGS-tst-lfschk4): Renamed to ...
31212 (LDLIBS-tst-lfschk4): This.
31213 (LDFLAGS-tst-lfschk5): Renamed to ...
31214 (LDLIBS-tst-lfschk5): This.
31215 (LDFLAGS-tst-lfschk6): Renamed to ...
31216 (LDLIBS-tst-lfschk6): This.
31217
691bc9c1
L
31218 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31219 on $(common-objpfx)soversions.mk.
31220
65cafb1c
JM
312212012-09-07 Joseph Myers <joseph@codesourcery.com>
31222
31223 [BZ #10014]
31224 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31225 example host name.
31226
c78ab094
SP
312272012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31228
31229 * malloc/arena.c (arena_get_retry): New function that gets
31230 another arena for the caller to try its request on.
31231 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31232 current arena cannot fulfill the request.
31233 (__libc_memalign): Likewise.
31234 (__libc_memalign): Likewise.
31235 (__libc_pvalloc): Likewise.
31236 (__libc_calloc): Likewise.
31237
01f49f59
JT
312382012-09-05 John Tobey <john.tobey@gmail.com>
31239
31240 [BZ #13542]
31241 * manual/arith.texi (Operations on Complex): Fix description
31242 of carg branch cut.
31243
4c23fed5
JM
312442012-09-06 Joseph Myers <joseph@codesourcery.com>
31245
1d3c8572
JM
31246 [BZ #10014]
31247 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31248 host name.
31249
4c23fed5
JM
31250 [BZ #10038]
31251 * manual/memory.texi (Memory): Make order of menu items match
31252 order of sections.
31253
04570aaa
L
312542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31255
31256 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31257 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31258 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31259
b80af2f4
L
312602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31261
31262 * csu/libc-tls.c (static_dtv): Renamed to ...
31263 (_dl_static_dtv): This. Make it global.
31264 (_dl_initial_dtv): Removed.
31265 (__libc_setup_tls): Updated.
31266 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31267 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31268 DL_INITIAL_DTV.
31269
2abe9f15
PM
312702012-09-06 Petr Machata <pmachata@redhat.com>
31271
31272 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31273 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31274 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31275 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31276
0948c3af
L
312772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31278
31279 [BZ #14545]
31280 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31281 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31282 freeing dtv[-1].
31283
a5055ad1
L
312842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31285
31286 [BZ #14544]
31287 * Makeconfig (link-static-before-libc): Replace $(+prector)
31288 with $(+prectorT).
31289 (link-static-after-libc): Replace $(+postctor) with
31290 $(+postctorT).
31291 (link-bounded): Replace $(+prector)/$(+postctor) with
31292 $(+prectorT)/$(+postctorT).
31293 (+prectorT): New macro.
31294 (+postctorT): Likewise.
31295
ed8c2ecd
JM
312962012-09-06 Joseph Myers <joseph@codesourcery.com>
31297
31298 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31299 (round_str): Handle values above the maximum for IBM long double
31300 as inexact.
31301 * stdlib/tst-strtod-round.c (tests): Regenerated.
31302
14c996c8
AK
313032012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31304
31305 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31306 assembler flag.
31307 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31308 zarch_nohighgprs around the zarch optimized routines.
31309 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31310 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31311 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31312 for zarch.
31313
430d6ce6
DM
313142012-09-05 David S. Miller <davem@davemloft.net>
31315
31316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31317
57f41c40
AS
31318 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31319 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
31320 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31321 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31322 entries.
31323
24d4e01b
AO
313242012-09-05 Alexandre Oliva <aoliva@redhat.com>
31325
31326 * malloc/arena.c: Fold copyright years.
31327 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31328
61d58174
AO
313292012-09-05 Alexandre Oliva <aoliva@redhat.com>
31330
31331 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31332
20196a5e
AO
313332012-09-05 Alexandre Oliva <aoliva@redhat.com>
31334
31335 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31336
5c447383
AO
313372012-09-05 Alexandre Oliva <aoliva@redhat.com>
31338
31339 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31340 change internal state upon failure.
31341
fad64255
AO
313422012-09-05 Alexandre Oliva <aoliva@redhat.com>
31343
31344 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31345 * malloc/memusage.c (mmap): Likewise.
31346 (mmap64, mremap): Likewise. Adjust name in comment.
31347
1ffb8c90
SP
313482012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31349
31350 * libio/fileops.c: Fix typos in comments.
31351 * libio/oldfileops.c: Likewise.
31352 * libio/wfileops.c: Likewise.
31353
6ef9cc37
SP
313542012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31355
31356 [BZ #1349]
31357 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31358 (tst-malloc-usable-ENV): Set environment for test case.
31359 * malloc/hooks.c (malloc_check_get_size): New function to get
31360 requested size.
31361 * malloc/malloc.c (musable): Use malloc_check_get_size.
31362 * malloc/tst-malloc-usable.c: New test case.
31363
4d038ae3
AS
313642012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31365
31366 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31367
c4e85184
AM
313682012-09-05 Allan McRae <allan@archlinux.org>
31369
b9dafc56 31370 [BZ #13966]
c4e85184
AM
31371 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31372 determine header location.
31373 * configure: Regenerated.
31374
e1343020
AS
313752012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31376
31377 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31378 float format.
31379 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
31380 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31381 format.
e1343020
AS
31382 (test): Regenerate.
31383
0a9f1987
DM
313842012-09-04 David S. Miller <davem@davemloft.net>
31385
31386 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31387 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31388 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31389
29237804
FW
313902012-09-04 Florian Weimer <fweimer@redhat.com>
31391
31392 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31393 failures.
31394
edb3cb88
FW
31395 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31396
60160d83
JM
313972012-09-04 Joseph Myers <joseph@codesourcery.com>
31398
31399 [BZ #9914]
31400 * libio/iogetdelim.c: Include <limits.h>.
31401 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31402 + len + 1 would overflow.
31403
bcd6c8dc
AJ
314042012-09-03 Andreas Jaeger <aj@suse.de>
31405
31406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31407 * sysdeps/i386/fpu/libm-test-ulps: Update.
31408
4ffffbd2
LD
314092012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31410
31411 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31412 Add s_sinf-sse2, s_conf-sse2.
31413
31414 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31415 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31416 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31417 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31418
31419 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31420 for using routine as __sinf_ia32.
31421 Use macro for function declaration and weak_alias.
31422 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31423 for using routine as __cosf_ia32.
31424 Use macro for function declaration and weak_alias.
31425
31426 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31427 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31428
31429 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31430 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31431 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31432
31433 * math/libm-test.inc (cos_test): Add more test cases.
31434 (sin_test): Likewise.
31435 (sincos_test): Likewise.
31436
511fa286
AK
314372012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31438
31439 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31440 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31441 hidden.
31442 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31443
5f30cfec
L
314442012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31445
31446 [BZ #14538]
31447 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31448 first element of the GOT.
31449 (elf_machine_load_address): Return the difference between
31450 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31451
0786794f
AM
314522012-09-01 Allan McRae <allan@archlinux.org>
31453
5f30cfec
L
31454 [BZ #13412]
31455 * configure.in (AWK): Require gawk version 3.0 or later.
31456 * configure: Regenerated.
0786794f 31457
26889eac
JM
314582012-09-01 Joseph Myers <joseph@codesourcery.com>
31459
31460 * sysdeps/unix/sysv/linux/kernel-features.h
31461 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31462 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31463 [__NR_clock_getres]: Make code unconditional.
31464 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31465 (clock_getcpuclockid): Remove code left unreachable by removal of
31466 conditionals.
31467 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31468 code unconditional.
31469 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31470 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31471 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31472 Make code unconditional.
31473 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31474 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31475 * sysdeps/unix/sysv/linux/clock_settime.c
31476 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31477 conditional code.
31478 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31479 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31480
d22e28b0
L
314812012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31482
31483 [BZ #14476]
31484 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31485 scripts/test-installation.pl.
31486
31487 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31488 and $ld_so_version if it is set.
31489
050af9c4
SP
314902012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31491
31492 [BZ #14516]
31493 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31494 failure if reading from procfs failed.
31495 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31496
ad845c0b
JM
314972012-08-27 Joseph Myers <joseph@codesourcery.com>
31498
31499 * sysdeps/unix/sysv/linux/kernel-features.h
31500 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31501 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31502 Remove conditional code.
31503 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31504 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31505 Remove conditional code.
31506 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31507 * sysdeps/unix/sysv/linux/i386/fxstat.c
31508 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31509 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31510 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31511 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31512 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31513 * sysdeps/unix/sysv/linux/i386/lxstat.c
31514 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31515 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31516 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31517 Remove conditional code.
31518 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31519 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31520 Remove conditional code.
31521 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31522 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31523 <kernel-features.h>.
31524 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31525 Remove.
31526 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31527 Remove conditional code.
31528 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31529 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31530 Remove conditional.
31531
5dbf56af
MF
315322012-08-27 Mike Frysinger <vapier@gentoo.org>
31533
31534 [BZ #5400]
31535 * NEWS: Add fixed bug number.
31536
d6e70f43
JM
315372012-08-27 Joseph Myers <joseph@codesourcery.com>
31538
7efb4737
JM
31539 [BZ #14519]
31540 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31541 underflowing exponent in case of negative sign.
31542 * stdlib/tst-strtod-round-data: Add more tests.
31543 * stdlib/tst-strtod-round.c (tests): Regenerated.
31544
af92131a
JM
31545 [BZ #3479]
31546 * stdlib/strtod_l.c (NDIG): Remove.
31547 (HEXNDIG): Likewise.
31548 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31549 smallest representable value.
31550 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31551 lie within an exact representation of 1/2 ulp of the result.
31552 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31553 unconditionally.
31554 (TENS_P9_IDX): Define unconditionally.
31555 (TENS_P9_SIZE): Likewise.
31556 (TENS_P10_IDX): Likewise.
31557 (TENS_P10_SIZE): Likewise.
31558 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31559 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31560 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31561 entries for 10^2^13 and 10^2^14.
31562 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31563 (TENS_P13_IDX): Define.
31564 (TENS_P13_SIZE): Likewise.
31565 (TENS_P14_IDX): Likewise.
31566 (TENS_P14_SIZE): Likewise.
31567 (_fpioconst_pow10): Change array size to
31568 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31569 unconditional.
31570 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31571 1024]: Add entries for 10^2^13 and 10^2^14.
31572 [LAST_POW10 > _LAST_POW10]: Remove #error.
31573 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31574 (_fpioconst_pow10): Change array size to
31575 FPIOCONST_POW10_ARRAY_SIZE.
31576 * stdlib/gen-fpioconst.c: New file.
31577 * stdlib/gen-tst-strtod-round.c: Likewise.
31578 * stdlib/tst-strtod-round-data: Likewise.
31579 * stdlib/tst-strtod-round.c: Likewise.
31580 * stdlib/Makefile (tests): Add tst-strtod-round.
31581
d6e70f43
JM
31582 [BZ #14459]
31583 * stdlib/strtod_l.c: Include <stdint.h>.
31584 (NDEBUG): Do not define.
31585 (round_and_return): Change EXPONENT parameter to type intmax_t.
31586 Rearrange calculations to avoid internal overflow possibilities.
31587 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31588 Rearrange calculations to avoid internal overflow possibilities.
31589 Assert that number fits inside MPNSIZE limbs.
31590 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31591 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31592 calculations and add assertions to avoid internal overflow
31593 possibilities. Add casts to avoid signed/unsigned operations.
31594 * stdlib/tst-strtod-overflow.c: New file.
31595 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31596
1f529f7d
MP
315972012-08-25 Marek Polacek <polacek@redhat.com>
31598
31599 * time/time.h: Fix some typos in comments.
31600
59a629f1
RM
316012012-08-23 Roland McGrath <roland@hack.frob.com>
31602
31603 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31604 * posix/tst-rfc3484-2.c: Likewise.
31605 * posix/tst-rfc3484-3.c: Likewise.
31606
d3bafbc9
SM
316072012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31608
31609 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31610 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31611
4efcc022
JM
316122012-08-23 Joseph Myers <joseph@codesourcery.com>
31613
31614 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31615 #include of fxstatat64.c.
31616
3cc3ef96
RM
316172012-08-22 Roland McGrath <roland@hack.frob.com>
31618
f04e2132
RM
31619 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31620 * shadow/getspent_r.c: Likewise.
31621 * shadow/getspnam.c: Likewise.
31622 * shadow/getspnam_r.c: Likewise.
31623 * gshadow/getsgent.c: Likewise.
31624 * gshadow/getsgent_r.c: Likewise.
31625 * gshadow/getsgnam.c: Likewise.
31626 * gshadow/getsgnam_r.c: Likewise.
31627 * inet/getnetbyad.c: Likewise.
31628 * inet/getnetbyad_r.c: Likewise.
31629 * inet/getnetbynm.c: Likewise.
31630 * inet/getnetbynm_r.c: Likewise.
31631 * inet/getnetent.c: Likewise.
31632 * inet/getnetent_r.c: Likewise.
31633 * inet/getproto.c: Likewise.
31634 * inet/getproto_r.c: Likewise.
31635 * inet/getprtent.c: Likewise.
31636 * inet/getprtent_r.c: Likewise.
31637 * inet/getprtname.c: Likewise.
31638 * inet/getprtname_r.c: Likewise.
31639 * inet/getrpcbyname.c: Likewise.
31640 * inet/getrpcbyname_r.c: Likewise.
31641 * inet/getrpcbynumber.c: Likewise.
31642 * inet/getrpcbynumber_r.c: Likewise.
31643 * inet/getrpcent.c: Likewise.
31644 * inet/getrpcent_r.c: Likewise.
31645 * inet/getaliasent.c: Likewise.
31646 * inet/getaliasent_r.c: Likewise.
31647 * inet/getaliasname.c: Likewise.
31648 * inet/getaliasname_r.c: Likewise.
31649 * nscd/getgrgid_r.c: Likewise.
31650 * nscd/getgrnam_r.c: Likewise.
31651 * nscd/gethstbyad_r.c: Likewise.
31652 * nscd/gethstbynm3_r.c: Likewise.
31653 * nscd/getpwnam_r.c: Likewise.
31654 * nscd/getpwuid_r.c: Likewise.
31655 * nscd/getsrvbynm_r.c: Likewise.
31656 * nscd/getsrvbypt_r.c: Likewise.
31657 * nscd/gai.c: Likewise.
31658
c53d909c
RM
31659 * configure.in (build_nscd): New substituted variable, set
31660 by --disable-build-nscd and defaults to $use_nscd.
31661 * configure: Regenerated.
31662 * config.make.in (build-nscd): New substituted variable.
31663 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31664 Change conditional to require [$(build-nscd) = yes] as well.
31665 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31666
3cc3ef96
RM
31667 [BZ# 13696]
31668 * configure.in (use_nscd): New substituted variable, set by
31669 --disable-nscd. If enabled, define USE_NSCD.
31670 * configure: Regenerated.
31671 * config.h.in: Add USE_NSCD.
31672 * config.make.in (use-nscd): New substituted variable.
31673 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31674 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31675 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31676 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31677 (CFLAGS-getgrnam_r.c): Likewise.
31678 (CFLAGS-initgroups.c): Likewise.
31679 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31680 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31681 Variables removed.
31682 * inet/getnetgrent_r.c
31683 (nscd_setnetgrent): New function, broken out of ...
31684 (setnetgrent): ... here. Call it.
31685 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31686 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31687 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31688 * nscd/Makefile (routines, aux): Move definitions after include of
31689 Makeconfig. Conditionalize on [$(use-nscd) != no].
31690 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31691 Conditionalize on [USE_NSCD].
31692 (is_nscd, nscd_init_cb): Likewise.
31693 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31694 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31695 * nss/nss_db/db-init.c: Likewise.
31696 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31697 [USE_NSCD].
31698 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31699 (make_request): Use it.
31700 (cache_valid_p): New function.
31701 (__check_pf): Use it.
31702 * NEWS: Add item for --disable-nscd.
31703
07e51550
DL
317042012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31705
31706 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31707 to support sed >= 4.2.1-20-ga9bf076.
31708 * configure: Regenerated.
31709
35a5b08b
RM
317102012-08-22 Roland McGrath <roland@hack.frob.com>
31711
31712 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31713 Conditionalize whole body on [IREL].
31714
8479f23a
JL
317152012-08-22 Jeff Law <law@redhat.com>
31716
31717 [BZ #14505]
31718 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31719 if the family is PF_UNSPEC.
31720
48da0b21
MF
317212012-08-22 Mike Frysinger <vapier@gentoo.org>
31722
31723 * Makerules (lib-version): Rename from V.
31724 (install-lib-nosubdir): Change V to lib-version.
31725
15d0da8c
WS
317262012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31727
31728 [BZ #14252]
31729 * powerpc32/power6/wcschr.c: New file.
31730 * powerpc32/power6/wcscpy.c: New file.
31731 * powerpc32/power6/wcsrchr.c: New file.
31732 * powerpc64/power6/wcschr.c: New file.
31733 * powerpc64/power6/wcscpy.c: New file.
31734 * powerpc64/power6/wcsrchr.c: New file.
31735
bcca0895
MK
317362012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31737
31738 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31739 (two_way_short_needle): Use it.
5a4aaa33
RM
31740 * string/strstr.c (AVAILABLE1_USES_J): Define.
31741 * string/strcasestr.c: Likewise.
99677e57
MK
31742
31743 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31744 array references.
31745 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31746
400726de
MK
31747 [BZ #11607]
31748 * NEWS: Add an entry.
31749 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31750 define their defaults.
31751 (two_way_short_needle): Detect end-of-string on-the-fly.
31752 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31753 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31754 * string/bug-strcasestr1.c: New test.
31755 * string/Makefile: Run it.
31756
20a71f2c
MK
317572012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31758
31759 [BZ #11607]
31760 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31761 the first character.
31762
21ad0558
RM
317632012-08-21 Roland McGrath <roland@hack.frob.com>
31764
31765 * csu/elf-init.c (__libc_csu_irel): Function removed.
31766 * csu/libc-start.c (apply_irel): New function.
31767 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31768
0e1d9911
JM
317692012-08-21 Joseph Myers <joseph@codesourcery.com>
31770
31771 * sysdeps/unix/sysv/linux/kernel-features.h
31772 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31773 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31774 <kernel-features.h>.
31775 [__NR_fadvise64_64]: Make code unconditional.
31776 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31777 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31778 !__NR_fadvise64_64)]: Likewise.
31779 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31780 !__NR_fadvise64_64))]: Likewise.
31781 [__NR_fadvise64]: Make code unconditional.
31782 [!__NR_fadvise64]: Remove conditional code.
31783 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31784 <kernel-features.h>.
31785 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31786 unconditional.
31787 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31788 conditional code.
31789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31790 not include <kernel-features.h>.
31791 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31792 unconditional.
31793 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31794 conditional code.
31795 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31796 include <kernel-features.h>.
31797 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31798 unconditional.
31799 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31800 conditional code.
31801
14a50c9d
WS
318022012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31803
31804 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31805 slight instruction rearrangements per scrollpipe analysis.
31806 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31807
c0f4faf0
RM
318082012-08-20 Roland McGrath <roland@hack.frob.com>
31809
696da859
RM
31810 * manual/syslog.texi (syslog; vsyslog, closelog):
31811 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31812 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31813
c0f4faf0
RM
31814 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31815 DSOCAPS to match condition on defining it.
31816
348363b2
JM
318172012-08-20 Joseph Myers <joseph@codesourcery.com>
31818
a35cbf28
JM
31819 * sysdeps/unix/sysv/linux/kernel-features.h
31820 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31822 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31823 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31825 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31826 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31828 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31829 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31830
445f7ecd
JM
31831 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31832 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31833
348363b2
JM
31834 * sysdeps/unix/sysv/linux/kernel-features.h
31835 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31836 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31837 unconditional.
31838 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31839 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31840 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31841 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31842 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31843 Make code unconditional.
31844 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31845 (__mmap64) [!__NR_mmap2]: Likewise.
31846 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31847 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31848 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31849 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31850 [__NR_mmap2]: Make code unconditional.
31851 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31852 (__mmap64) [!__NR_mmap2]: Likewise.
31853
bc5bc0e5
AK
318542012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31855
31856 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31857
88d506de
AJ
318582012-08-18 Andreas Jaeger <aj@suse.de>
31859
31860 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31861
493387d2
MF
318622012-08-18 Mike Frysinger <vapier@gentoo.org>
31863
31864 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31865 * include/unistd.h (__have_sock_cloexec): Likewise.
31866 (__have_pipe2): Likewise.
31867 (__have_dup3): Likewise.
31868
a277af22
MF
318692012-08-18 Mike Frysinger <vapier@gentoo.org>
31870
31871 [BZ #9685]
31872 * include/unistd.h (__have_pipe2): Change define into an extern int.
31873 (__have_dup3): Likewise.
31874 * socket/have_sock_cloexec.c: Include fcntl.h.
31875 (__have_pipe2): New variable.
31876 (__have_dup3): Likewise.
31877
fdab8fd3
MF
318782012-08-17 Mike Frysinger <vapier@gentoo.org>
31879
31880 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31881
31035e80
MP
318822012-08-17 Marek Polacek <polacek@redhat.com>
31883
31884 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31885 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31886
3bd9e993
RM
318872012-08-17 Roland McGrath <roland@hack.frob.com>
31888
c91c505f
RM
31889 * configure.in: Add AC_SUBST for sysheaders.
31890 * configure: Regenerated.
31891 * config.make.in (sysheaders): New substituted variable.
31892
7c6f9d53
RM
31893 * sysdeps/unix/mkfifo.c: Moved ...
31894 * sysdeps/posix/mkfifo.c: ... here.
31895 * sysdeps/unix/mkfifoat.c: Moved ...
31896 * sysdeps/posix/mkfifoat.c: ... here.
31897
31898 * sysdeps/unix/utime.c: Moved ...
31899 * sysdeps/posix/utime.c: ... here.
31900
31901 * sysdeps/unix/time.c: Moved ...
31902 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
31903 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31904 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
31905
31906 * sysdeps/unix/nice.c: Moved ...
31907 * sysdeps/posix/nice.c: ... here.
31908
31909 * sysdeps/unix/alarm.c: Moved ...
31910 * sysdeps/posix/alarm.c: ... here.
31911
3bd9e993
RM
31912 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31913
d1f09384
JL
319142012-08-17 Jeff Law <law@redhat.com>
31915
31916 * intl/Makefile (codeset_mo): New variable.
31917 ($(codeset_mo)): New target.
31918 (tst-codeset.out): Depend on that. Remove explicit rule.
31919 (tst-gettext3.out, tst-gettext5.out): Likewise.
31920 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31921 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31922 * intl/tst-codeset.sh: Remove.
31923 * intl/tst-gettext3.sh: Likewise.
31924 * intl/tst-gettext5.sh: Likewise.
31925
2ae1ae5c
RM
319262012-08-17 Roland McGrath <roland@hack.frob.com>
31927
c31fdb83
RM
31928 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31929 * sysdeps/unix/syscalls.list: ... here.
31930
a0844057
RM
31931 * sysdeps/posix/getaddrinfo.c
31932 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31933 (gaiconf_init, gaiconf_reload): Use them.
31934 [!_STATBUF_ST_NSEC]
31935 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31936 Define using time_t rather than struct timespec.
31937
750c1f2a
RM
31938 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31939 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31940 Macros removed.
31941 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31942 [!NO_THREADS].
31943 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31944 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31945 Likewise.
31946
2ae1ae5c
RM
31947 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31948 __libc_cleanup_push argument.
31949
e66a42f5
RM
31950 * bits/param.h: New file.
31951 * misc/sys/param.h: New file.
31952 * include/sys/param.h: New file.
31953 * misc/Makefile (headers): Add bits/param.h.
31954 * sysdeps/generic/sys/param.h: File removed.
31955 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31956 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31957 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 31958 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 31959
b7c08a66
RM
31960 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31961 last change.
31962
b2e1c562
RM
31963 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31964 [_IO_MTSAFE_IO].
31965 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31966 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31967 New macros.
31968
c75ccd4c
RM
31969 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31970 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31971 rather than -D_IO_MTSAFE_IO conditionally.
31972 * stdio-common/Makefile (CPPFLAGS): Likewise.
31973 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31974 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31975 Use $(libio-mtsafe).
31976 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31977 of -D_IO_MTSAFE_IO.
31978 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31979 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31980 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31981 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31982 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31983 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31984 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31985 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31986 (CFLAGS-fread_u_chk.c): Likewise.
31987 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31988 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31989 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31990 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31991 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31992 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31993 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31994 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31995 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31996
31997 * libio/Makefile: Test [$(libc-reentrant) = yes]
31998 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31999
32000 * Makeconfig
32001 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32002 * sysdeps/pthread/configure: File removed.
32003 * sysdeps/pthread/Makeconfig: New file.
32004 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32005 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32006
d9195db8
GB
320072012-08-16 Gary Benson <gbenson@redhat.com>
32008
32009 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32010 unmapping the first object in a namespace.
32011
86466cd9
RM
320122012-08-16 Roland McGrath <roland@hack.frob.com>
32013
32014 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32015 (__internal_setnetgrent): ... this. Add internal_function to
32016 definition. Add libc_hidden_def.
32017 (setnetgrent): Update caller.
32018 (internal_endnetgrent): Renamed to ...
32019 (__internal_endnetgrent): ... this. Add internal_function to
32020 definition. Add libc_hidden_def.
32021 (endnetgrent): Update caller.
32022 (internal_getnetgrent_r): Renamed to ...
32023 (__internal_getnetgrent_r): ... this. Add internal_function to
32024 definition. Add libc_hidden_def.
32025 (__getnetgrent_r): Update caller.
32026 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32027
c3c8283c
JM
320282012-08-16 Joseph Myers <joseph@codesourcery.com>
32029
32030 * stdlib/longlong.h: Update from GCC.
32031
db1ee0a8
RM
320322012-08-16 Roland McGrath <roland@hack.frob.com>
32033
32034 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32035 on _QL, which is set by umul_ppmm but never used.
32036 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32037 variables, which are set by GMP macros but never used.
32038 * stdio-common/_itowa.c (_itowa): Likewise.
32039 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32040 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32041
30f69637
CD
320422012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32043
32044 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32045 struct La_sh_regs is not constant.
32046 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32047 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32048 and struct La_sparc64_regs are not constant.
32049
93a78ac4
JM
320502012-08-16 Joseph Myers <joseph@codesourcery.com>
32051
32052 * sysdeps/unix/sysv/linux/kernel-features.h
32053 (__ASSUME_POSIX_TIMERS): Remove.
32054 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32055 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32056 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32057 Make code unconditional.
32058 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32059 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32060 Make code unconditional.
32061 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32062 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32063 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32064 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32065 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32066 Make code unconditional.
32067 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32068 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32069 (__libc_missing_posix_timers): Remove.
32070
dd924cd7
RM
320712012-08-15 Roland McGrath <roland@hack.frob.com>
32072
4b4f2771
RM
32073 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32074 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32075
601c888b
RM
32076 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32077
176790a7
RM
32078 * elf/dl-sym.c: Include <stdlib.h>.
32079
329bc018
RM
32080 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32081 constants, which avoids warnings in 32-bit builds.
32082
e04e272d
RM
32083 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32084 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32085
952bf94a
RM
32086 * misc/lseek.c: File moved to ...
32087 * io/lseek.c: ... here.
32088
7c99b50a
RM
32089 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32090
dd924cd7
RM
32091 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32092 shifting LEN more than 31 bits at once.
32093
b3f479a8
LD
320942012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32095
32096 [BZ #14195]
8c4ae0d4
RM
32097 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32098 segmentation fault for a case of two empty input strings.
b3f479a8
LD
32099 * string/test-strncasecmp.c (check1): Renamed to...
32100 (bz12205): ...this.
32101 (bz14195): Add new testcase for two empty input strings and N > 0.
32102 (test_main): Call new testcase, adapt for renamed function.
32103
9c55864e
AJ
321042012-08-15 Andreas Jaeger <aj@suse.de>
32105
32106 [BZ #14090]
32107 * crypt/md5test2.c: New test, based on test supplied by Serge
32108 Belyshev <belyshev@depni.sinp.msu.ru>.
32109 * crypt/Makefile (xtests): Add md5test-giant..
32110 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32111
02dcb6c5
PE
321122012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32113
32114 [BZ #14090]
32115 * crypt/md5.c (md5_process_block): Don't assume the buffer
32116 length is less than 2**32.
32117 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32118 length is less than 2**64.
32119
a3f95dcc
RM
321202012-08-15 Roland McGrath <roland@hack.frob.com>
32121
be75d758
RM
32122 * string/str-two-way.h: Include <sys/param.h>.
32123 (MAX): Macro removed.
32124
7312ca90
RM
32125 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32126 Move #define and #undef of memmove to just before and after
32127 including <string.h>.
32128
9a0a5486
RM
32129 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32130 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32131 and after including <string.h>. Move declarations of
32132 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32133 to before #include "string/memmove.c".
32134
67cc348d
RM
32135 * include/dirent.h: Declare __getdirentries.
32136
a3f95dcc
RM
32137 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32138 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32139
ca98e171
MF
321402012-08-14 Mike Frysinger <vapier@gentoo.org>
32141
32142 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32143 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32144 * sysdeps/i386/configure: Regenerated.
32145 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32146 STABS_CURRENT_FILE, and STABS_FUN.
32147 (END): Remove call to STABS_FUN_END.
32148 (STABS_CURRENT_FILE1): Delete.
32149 (STABS_CURRENT_FILE): Likewise.
32150 (STABS_FUN): Likewise.
32151 (STABS_FUN_END): Likewise.
32152 (STABS_FUN2): Likewise.
32153 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32154 * sysdeps/x86_64/configure: Regenerated.
32155
5908bf46
RM
321562012-08-14 Roland McGrath <roland@hack.frob.com>
32157
32158 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 32159 * elf/dl-lookup.c: Likewise.
5908bf46 32160
f2c05b9e
JM
321612012-08-14 Joseph Myers <joseph@codesourcery.com>
32162
32163 * sysdeps/unix/sysv/linux/kernel-features.h
32164 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32165 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32166 unconditionally.
32167 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32168 unconditionally.
32169 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32170 condition on __ASSUME_CLONE_THREAD_FLAGS.
32171
e11f5155
AJ
321722012-08-14 Andreas Jaeger <aj@suse.de>
32173
32174 * sysdeps/i386/fpu/libm-test-ulps: Update.
32175
51a9ba86
MK
321762012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32177
2fdd4f78
AJ
32178 * include/atomic.h (atomic_exchange_and_add): Split into ...
32179 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32180 New atomic macros.
51a9ba86 32181
ba6cba9e
MT
321822012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32183
32184 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32185
42443a47
JL
321862012-08-13 Jeff Law <law@redhat.com>
32187
32188 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32189 null byte in the output string.
32190
121dce05
JM
321912012-08-10 Joseph Myers <joseph@codesourcery.com>
32192
32193 * sysdeps/unix/sysv/linux/kernel-features.h
32194 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32195 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32196 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32197 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32198 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32199 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32200 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32201
bf51f568
JL
322022012-08-09 Jeff Law <law@redhat.com>
32203
32204 [BZ #13939]
32205 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32206 When avoid_arena is set, don't retry in the that arena. Pick the
32207 next one, whatever it might be.
32208 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32209 (arena_lock): Pass in new parameter to arena_get2.
32210 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32211 arena_get2.
32212 (__libc_malloc): Unify retrying after main arena failure with
32213 __libc_memalign version.
32214 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32215
f85fa270
L
322162012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32217
32218 [BZ #14166]
32219 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32220 to __redirect_strstr.
32221 (__strstr_sse42): Use typeof __redirect_strstr.
32222 (__strstr_ia32): Likewise.
32223 (__libc_strstr): New prototype.
32224 (strstr): Renamed to ...
32225 (__libc_strstr): This.
32226 (strstr): New strong alias of __libc_strstr.
32227 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32228 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32229 __redirect_time.
32230 Include <time.h>.
32231 (__libc_time): New prototype.
32232 (time_ifunc): Replace time with __libc_time.
32233 (time): New strong alias and hidden definition of __libc_time.
32234 (__GI_time): Remove strong alias.
32235 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32236 Include <stddef.h>.
32237 (memmove): Redefined to __redirect_memmove.
32238 (__memmove_sse2): Use typeof __redirect_memmove.
32239 (__memmove_ssse3): Likewise.
32240 (__memmove_ssse3_back): Likewise.
32241 (__libc_memmove): New prototype.
32242 (memmove): Renamed to ...
32243 (__libc_memmove): This.
32244 (memmove): New strong alias of __libc_memmove.
32245
33b4a91e
MS
322462012-08-08 Mark Salter <msalter@redhat.com>
32247
32248 * elf/elf.h
32249 (R_MN10300_TLS_GD): Define.
32250 (R_MN10300_TLS_LD): Likewise.
32251 (R_MN10300_TLS_LDO): Likewise.
32252 (R_MN10300_TLS_GOTIE): Likewise.
32253 (R_MN10300_TLS_IE): Likewise.
32254 (R_MN10300_TLS_LE): Likewise.
32255 (R_MN10300_TLS_DTPMOD): Likewise.
32256 (R_MN10300_TLS_DTPOFF): Likewise.
32257 (R_MN10300_TLS_TPOFF): Likewise.
32258 (R_MN10300_SYM_DIFF): Likewise.
32259 (R_MN10300_ALIGN): Likewise.
32260 (R_MN10300_NUM): Update.
32261
b36137f1
JM
322622012-08-08 Joseph Myers <joseph@codesourcery.com>
32263
32264 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32265 Remove.
32266
cdd915fd
RM
322672012-08-08 Roland McGrath <roland@hack.frob.com>
32268
a2433aac
RM
32269 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32270
cdd915fd
RM
32271 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32272 sysdeps/unix -> sysdeps/posix move.
32273 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32274
bf9b740a
AM
322752012-08-07 Allan McRae <allan@archlinux.org>
32276
32277 [BZ #14303]
32278 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32279 (SUNOS_CPP): Likewise.
32280 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32281 not found.
32282 (open_input): Call CPP using execvp.
32283
93df14ee
JM
322842012-08-07 Joseph Myers <joseph@codesourcery.com>
32285
32286 * sysdeps/unix/sysv/linux/kernel-features.h
32287 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32288 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32289 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32290 (__ASSUME_WAITID_SYSCALL): Likewise.
32291 * sysdeps/unix/sysv/linux/dl-execstack.c
32292 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32293 code unconditional.
32294 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32295 conditional code.
32296 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32297 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32298 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32299 code.
32300 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32301 unconditional.
32302 [__ASSUME_WAITID_SYSCALL]: Likewise.
32303 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32304
d34689de
RM
323052012-08-07 Roland McGrath <roland@hack.frob.com>
32306
a281decc
RM
32307 * sysdeps/unix/closedir.c: Renamed to ...
32308 * sysdeps/posix/closedir.c: ... here.
32309 * sysdeps/unix/dirfd.c: Renamed to ...
32310 * sysdeps/posix/dirfd.c: ... here.
32311 * sysdeps/unix/dirstream.h: Renamed to ...
32312 * sysdeps/posix/dirstream.h: ... here.
32313 * sysdeps/unix/fdopendir.c: Renamed to ...
32314 * sysdeps/posix/fdopendir.c: ... here.
32315 * sysdeps/unix/opendir.c: Renamed to ...
32316 * sysdeps/posix/opendir.c: ... here.
32317 * sysdeps/unix/readdir.c: Renamed to ...
32318 * sysdeps/posix/readdir.c: ... here.
32319 * sysdeps/unix/readdir_r.c: Renamed to ...
32320 * sysdeps/posix/readdir_r.c: ... here.
32321 * sysdeps/unix/rewinddir.c: Renamed to ...
32322 * sysdeps/posix/rewinddir.c: ... here.
32323 * sysdeps/unix/seekdir.c: Renamed to ...
32324 * sysdeps/posix/seekdir.c: ... here.
32325 * sysdeps/unix/telldir.c: Renamed to ...
32326 * sysdeps/posix/telldir.c: ... here.
32327 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32328 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32329 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32330 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32331
22895b47
RM
32332 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32333 * bits/fcntl.h: ... here.
32334
707a53b6
RM
32335 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32336 not 0.
32337 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32338 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32339 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32340 (struct flock): Move l_start, l_len to the beginning.
32341 Use __pid_t for l_pid.
32342 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32343 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32344 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32345 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32346 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32347 [__USE_LARGEFILE64] (struct flock64): New type.
32348 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32349
f0bd3e25
RM
32350 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32351 * bits/dirent.h: ... here.
32352
d34689de
RM
32353 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32354 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32355
6dad2c06
JM
323562012-08-07 Joseph Myers <joseph@codesourcery.com>
32357
32358 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32359 Change from 2.6.0 to 2.6.16.
32360 * sysdeps/unix/sysv/linux/configure: Regenerated.
32361 * sysdeps/unix/sysv/linux/kernel-features.h
32362 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32363 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32364 version.
32365 (__ASSUME_UTIMES): Likewise.
32366 (__ASSUME_CLONE_STOPPED): Remove.
32367 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32368 architectures, not kernel version.
32369 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32370 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32371 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32372 (__ASSUME_WAITID_SYSCALL): Likewise.
32373 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32374 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32375 * README: State 2.6.16 as minimum Linux kernel version. Do not
32376 refer to older versions.
32377
03af9520
RM
323782012-08-06 Roland McGrath <roland@hack.frob.com>
32379
8e49df1d
RM
32380 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32381 Define alphasort64 as an alias.
32382 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32383 Define versionsort64 as an alias.
32384 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32385 Define scandir64 as an alias.
32386 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32387 Define scandirat64 as an alias.
32388 * dirent/alphasort64.c (alphasort64):
32389 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32390 * dirent/versionsort64.c: Likewise.
32391 * dirent/scandir64.c: Likewise.
32392 * dirent/scandirat64.c: Likewise.
32393 * sysdeps/wordsize-64/alphasort.c: File removed.
32394 * sysdeps/wordsize-64/alphasort64.c: File removed.
32395 * sysdeps/wordsize-64/scandir.c: File removed.
32396 * sysdeps/wordsize-64/scandir64.c: File removed.
32397 * sysdeps/wordsize-64/scandirat.c: File removed.
32398 * sysdeps/wordsize-64/scandirat64.c: File removed.
32399 * sysdeps/wordsize-64/versionsort.c: File removed.
32400 * sysdeps/wordsize-64/versionsort64.c: File removed.
32401 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32402 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32403 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32404 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32405 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32406 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32407 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32408 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32409
32410 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32411 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32412 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32413 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32414 [defined __arch64__ || defined __sparcv9]
32415 (__INO_T_MATCHES_INO64_T): New macro.
32416 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32417 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32418 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32419 * sysdeps/unix/sysv/linux/bits/dirent.h
32420 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32421 (_DIRENT_MATCHES_DIRENT64): New macro.
32422
03af9520
RM
32423 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32424 Define lockf64 as an alias.
32425 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32426 Define fseeko64 as an alias.
32427 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32428 Define ftello64 as an alias.
32429 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32430 Define _IO_fgetpos64 and fgetpos64 as aliases.
32431 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32432 Define _IO_fsetpos64 and fsetpos64 as aliases.
32433 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32434 Conditionalize body on this.
32435 * libio/fseeko64.c: Likewise.
32436 * libio/ftello64.c: Likewise.
32437 * libio/iofgetpos64.c: Likewise.
32438 * libio/iofsetpos64.c: Likewise.
32439 * sysdeps/wordsize-64/lockf.c: File removed.
32440 * sysdeps/wordsize-64/lockf64.c: File removed.
32441 * sysdeps/wordsize-64/fseeko.c: File removed.
32442 * sysdeps/wordsize-64/fseeko64.c: File removed.
32443 * sysdeps/wordsize-64/ftello.c: File removed.
32444 * sysdeps/wordsize-64/ftello64.c: File removed.
32445 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32446 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32447 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32448 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32449 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32450 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32451 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32452 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32453 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32454 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32455 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32456 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32457 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32458 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32459
32460 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32461 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32462 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32463 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32464 [defined __arch64__ || defined __sparcv9]
32465 (__OFF_T_MATCHES_OFF64_T): New macro.
32466 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32467 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32468 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32469 (__OFF_T_MATCHES_OFF64_T): New macro.
32470
c5757acd
L
324712012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32472
32473 * stdlib/secure-getenv.c (__secure_getenv): Replace
32474 GLIBC_2_16 with GLIBC_2_17.
32475
3a31811e
L
324762012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32477
32478 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32479 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32480
faa2bccb
DM
324812012-08-03 David S. Miller <davem@davemloft.net>
32482
32483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32484
85fe1997
JM
324852012-08-03 Joseph Myers <joseph@codesourcery.com>
32486
32487 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32488 Remove.
32489 (__ASSUME_CORRECT_SI_PID): Likewise.
32490 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32491 (__ASSUME_TMPFS_NAME): Likewise.
32492 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32493 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32494 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32495 (HAVE_AUX_SECURE): Make definition unconditional.
32496 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32497 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32498
4f75b7a0
RM
324992012-08-03 Roland McGrath <roland@hack.frob.com>
32500
32501 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32502 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32503 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32504 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32505 __eloop_threshold instead of SYMLOOP_MAX.
32506
32507 * sysdeps/generic/eloop-threshold.h: New file.
32508 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32509 of MAXSYMLINKS.
32510 * elf/chroot_canon.c (chroot_canon): Likewise.
32511
7aab07e4
JM
325122012-08-03 Joseph Myers <joseph@codesourcery.com>
32513
32514 [BZ #13717]
32515 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32516 Change to 2.6.0 everywhere.
32517 * sysdeps/unix/sysv/linux/configure: Regenerated.
32518 * sysdeps/unix/sysv/linux/kernel-features.h
32519 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32520 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32521 kernel versions.
32522 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32523 (__ASSUME_FUTEX_REQUEUE): Remove.
32524 (__ASSUME_STATFS64): Define unconditionally.
32525 (__ASSUME_AT_SECURE): Likewise.
32526 (__ASSUME_CORRECT_SI_PID): Likewise.
32527 (__ASSUME_TGKILL): Define without depending on kernel version for
32528 i386.
32529 (__ASSUME_UTIMES): Likewise.
32530 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32531 kernel version.
32532 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32533 (__ASSUME_TMPFS_NAME): Likewise.
32534 * README: Update reference to Linux kernel versions.
32535
b67e9372
MP
325362012-08-02 Marek Polacek <polacek@redhat.com>
32537
1f529f7d 32538 [BZ# 14150]
b67e9372
MP
32539 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32540 libc_cv_asm_type_prefix with %.
32541 * configure: Regenerated.
d2441631
RM
32542 * include/libc-symbols.h: Remove comment about
32543 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
32544 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32545 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32546 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32547 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32548 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32549 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32550 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32551 * elf/tst-unique2mod1.c: Likewise.
32552 * elf/tst-unique1mod2.c: Likewise.
32553 * elf/tst-unique1mod1.c: Likewise.
32554 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32555 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32556 Replace ASM_TYPE_DIRECTIVE with .type.
32557 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32558 * sysdeps/i386/sysdep.h: Likewise.
32559 * sysdeps/x86_64/sysdep.h: Likewise.
32560 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
32561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32562 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 32563 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
32564 * sysdeps/powerpc/powerpc32/sysdep.h:
32565 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
32566 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32567 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32568 * sysdeps/i386/fpu/e_powf.S: Likewise.
32569 * sysdeps/i386/fpu/e_expl.S: Likewise.
32570 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32571 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32572 * sysdeps/i386/fpu/e_pow.S: Likewise.
32573 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32574 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32575 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32576 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32577 * sysdeps/i386/fpu/e_log2.S: Likewise.
32578 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32579 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32580 * sysdeps/i386/fpu/e_powl.S: Likewise.
32581 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32582 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32583 * sysdeps/i386/fpu/e_logl.S: Likewise.
32584 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32585 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32586 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32587 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32588 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32589 * sysdeps/i386/fpu/e_log.S: Likewise.
32590 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32591 * sysdeps/i386/fpu/e_logf.S: Likewise.
32592 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32593 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32594 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32595 * sysdeps/i386/fpu/e_log10.S: Likewise.
32596 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32597 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32598 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32599 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32600 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32601 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32602 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32603 * sysdeps/i386/i686/strtok.S: Likewise.
32604 * sysdeps/i386/i386-mcount.S: Likewise.
32605 * sysdeps/i386/strtok.S: Likewise.
32606 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32607 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32608 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32609 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32610 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32611 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32612 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32613 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32614 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32615 * sysdeps/x86_64/_mcount.S: Likewise.
32616 * sysdeps/x86_64/strtok.S: Likewise.
32617 * sysdeps/sh/_mcount.S: Likewise.
32618
2747bf9a
RM
326192012-08-01 Roland McGrath <roland@hack.frob.com>
32620
32621 * libio/iofopen.c: Include <fcntl.h>.
32622 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32623 (_IO_fopen64, fopen64): Define as aliases.
32624 * libio/iofopen64.c: Include <fcntl.h>.
32625 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32626 Conditionalize body on this.
32627 * sysdeps/wordsize-64/iofopen.c: File removed.
32628 * sysdeps/wordsize-64/iofopen64.c: File removed.
32629
3fb791b8
MP
326302012-08-01 Marek Polacek <polacek@redhat.com>
32631
32632 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32633 Use dlfcn directly instead of a variable.
32634 (binfmt-subdir): Do not define.
32635 (dlfcn): Likewise.
32636
a9f1039f
JM
326372012-08-01 Joseph Myers <joseph@codesourcery.com>
32638
23bddc06
JM
32639 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32640 Remove all definitions.
32641 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32642 <kernel-features.h>.
32643 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32644 (miss_F_GETOWN_EX): Remove all definitions.
32645 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32646 macro definition.
32647 [!__ASSUME_FCNTL64]: Remove conditional code.
32648 [__ASSUME_FCNTL64]: Make code unconditional.
32649 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32650 <kernel-features.h>.
32651 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32652 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32653 (lockf64) [__NR_fcntl64]: Make code unconditional.
32654 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32655
a9f1039f
JM
32656 * sysdeps/unix/sysv/linux/kernel-features.h
32657 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32658 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32659 Make code unconditional.
32660 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32661 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32663 [__NR_vfork]: Make code unconditional.
32664 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32665 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32667 [__NR_vfork]: Make code unconditional.
32668 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32669 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32670
09c0ee5f
RM
326712012-08-01 Roland McGrath <roland@hack.frob.com>
32672
48aec5b9
RM
32673 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32674 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32675
cd97c966
RM
32676 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32677 Define mkstemp64 as an alias.
3f55550c
RM
32678 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32679 Define mkstemps64 as an alias.
cd97c966
RM
32680 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32681 Define mkostemp64 as an alias.
b8625cfc
RM
32682 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32683 Define mkostemps64 as an alias.
cd97c966
RM
32684 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32685 Conditionalize body on this.
32686 * misc/mkostemp64.c: Likewise.
b8625cfc 32687 * misc/mkostemps64.c: Likewise.
3f55550c 32688 * misc/mkstemps64.c: Likewise.
cd97c966
RM
32689 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32690 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32691 * sysdeps/wordsize-64/mkostemp.c: File removed.
32692 * sysdeps/wordsize-64/mkstemp.c: File removed.
32693 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32694 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32695 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32696 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32697
09c0ee5f
RM
32698 [BZ #14138]
32699 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32700 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32701 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32702 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32703
32704 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32705 compat_symbol macros from <shlib-compat.h> rather than the underlying
32706 default_symbol_version and symbol_version macros, so that DEFAULT
32707 lines in shlib-versions are respected.
32708 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32709
7e66ee51
FW
327102012-08-01 Florian Weimer <fweimer@redhat.com>
32711
32712 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32713 Declare with warn_unused_result.
32714 (setgid, setregid, setegid, setresgid): Likewise.
32715 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32716 Likewise.
32717 * WUR-REPORT: Remove set*id functions.
32718
d2a54255
PT
327192012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32720
32721 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32722
7ecdb005
RM
327232012-07-31 Roland McGrath <roland@hack.frob.com>
32724
b4180a5e 32725 [BZ #10191]
789bd351
RM
32726 * include/sys/socket.h (__libc_accept, __libc_accept4):
32727 Add attribute_hidden.
32728 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32729
40ce302d
RM
32730 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32731 use of PTR_MANGLE.
32732 * inet/getnetgrent_r.c (setup): Likewise.
32733
7ecdb005
RM
32734 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32735
e2eabb2c
DM
327362012-07-31 David S. Miller <davem@davemloft.net>
32737
32738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32739
d0419dbf
JM
327402012-07-31 Joseph Myers <joseph@codesourcery.com>
32741
32742 [BZ #13629]
32743 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32744 value between 1.0 and 2.0 and smaller part has absolute value less
32745 than 1.0.
32746 * math/s_clog10.c (__clog10): Likewise.
32747 * math/s_clog10f.c (__clog10f): Likewise.
32748 * math/s_clog10l.c (__clog10l): Likewise.
32749 * math/s_clogf.c (__clogf): Likewise.
32750 * math/s_clogl.c (__clogl): Likewise.
32751 * math/libm-test.inc (clog_test): Add more tests.
32752 (clog10_test): Likewise.
32753 * sysdeps/i386/fpu/libm-test-ulps: Update.
32754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32755
2bc13872
FW
327562012-07-31 Florian Weimer <fweimer@redhat.com>
32757
32758 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32759 Exit with zero in case no suitable GID is found, and write a
32760 message to standard error.
32761
bea9b193
RM
327622012-07-30 Roland McGrath <roland@hack.frob.com>
32763
32764 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32765 rather than to 1.
32766 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32767 (MAXPATHLEN): Removed.
32768 (NOGROUP, NODEV): New macros.
32769 (setbit, clrbit, isset, isclr): New macros.
32770 (howmany, roundup, powerof2): New macros.
32771 (DEV_BSIZE): New macro.
32772
32773 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32774 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32775
32776 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32777 definition on [!__NO_LONG_DOUBLE_MATH].
32778
32779 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32780 PTR_MANGLE and PTR_DEMANGLE.
32781
32782 * socket/accept4.c (accept4): Rename to __libc_accept4.
32783 Define accept4 as a weak alias.
32784
32785 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32786 on [_DIRENT_HAVE_D_TYPE].
32787 * io/ftw.c (ftw_dir): Likewise.
32788
32789 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32790
32791 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32792
32793 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32794 Use the BSD numbers rather than the arbitrary ones we had.
32795 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32796 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32797 (SIGXCPU, SIGXFSZ): New macros.
32798 (_NSIG): Now 32.
32799
32800 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32801 initializer on [_LIBC_REENTRANT].
32802
32803 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32804 definitions inside [_POSIX_MAPPED_FILES].
32805
32806 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32807
32808 * dirent/opendir.c: Include <fcntl.h>.
32809
32810 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32811 (__libc_getspecific): Likewise.
32812 (__libc_key_create): Likewise.
32813
32814 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32815 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32816 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32817 (tmpfile64): Define as alias.
32818 * sysdeps/wordsize-64/tmpfile.c: File removed.
32819 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32820 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32821 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32822
32823 * stdio-common/vfscanf.c: Include <stdbool.h>.
32824 * nss/makedb.c: Likewise.
32825 * stdio-common/_i18n_number.h: Likewise.
32826 * argp/argp-help.c: Likewise.
32827 * posix/wordexp.c: Likewise.
32828 * sysdeps/posix/spawni.c: Likewise.
32829 * nss/nss_files/files-initgroups.c: Likewise.
32830 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32831 * nss/nss_files/files-initgroups.c: Likewise.
32832 * nss/nss_db/db-netgrp.c: Likewise.
32833 * nss/nss_db/db-initgroups.c: Likewise.
32834 * io/fchmodat.c: Include <sys/stat.h>.
32835
32836 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32837 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32838
32839 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32840 [HAVE_MMAP].
32841
32842 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32843 Add multiple inclusion protection.
32844
e5abc686
DM
328452012-07-27 David S. Miller <davem@davemloft.net>
32846
32847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32848
815e6fa3
GB
328492012-07-27 Gary Benson <gbenson@redhat.com>
32850
32851 [BZ #14298]
32852 * elf/rtld.c: Include <stap-probe.h>.
32853 (dl_main): Added static probes "init_start" and "init_complete".
32854 * elf/dl-load.c: Include <stap-probe.h>.
32855 (lose): Take new parameter "nsid".
32856 Added static probe "map_failed".
32857 (_dl_map_object_from_fd): Pass namespace id to lose.
32858 Added static probe "map_start".
32859 (open_verify): Pass namespace id to lose.
32860 * elf/dl-open.c: Include <stap-probe.h>.
32861 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32862 and "reloc_complete".
32863 * elf/dl-close.c: Include <stap-probe.h>.
32864 (_dl_close_worker): Added static probes "unmap_start" and
32865 "unmap_complete".
32866 * elf/rtld-debugger-interface.txt: New file documenting the above.
32867
9f98c16c
RM
328682012-07-26 Roland McGrath <roland@hack.frob.com>
32869
32870 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32871 rather than a string variable.
32872 * sunrpc/rpc_main.c (h_output): Likewise.
32873 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32874
f3c22df3
PT
328752012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32876
32877 * inet/check_native.c: New file.
32878
3129cfc6
JM
328792012-07-26 Joseph Myers <joseph@codesourcery.com>
32880
da865e95
JM
32881 [BZ #13629]
32882 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32883 if larger part has absolute value 1.0.
32884 * math/s_clog10.c (__clog10): Likewise.
32885 * math/s_clog10f.c (__clog10f): Likewise.
32886 * math/s_clog10l.c (__clog10l): Likewise.
32887 * math/s_clogf.c (__clogf): Likewise.
32888 * math/s_clogl.c (__clogl): Likewise.
32889 * math/libm-test.inc (clog_test): Add more tests.
32890 (clog10_test): Likewise.
32891 * sysdeps/i386/fpu/libm-test-ulps: Update.
32892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32893
3129cfc6
JM
32894 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32895 (pltexit): Likewise.
32896 (La_regs): Likewise.
32897 (La_retval): Likewise.
32898 (int_retval): Likewise.
32899 Update #error for removed macros to refer only to definitions in
32900 tst-audit.h.
32901 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32902 macro.
32903 (pltexit): Likewise.
32904 (La_regs): Likewise.
32905 (La_retval): Likewise.
32906 (int_retval): Likewise.
32907 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32908 macro.
32909 (pltexit): Likewise.
32910 (La_regs): Likewise.
32911 (La_retval): Likewise.
32912 (int_retval): Likewise.
32913 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32914 macro.
32915 (pltexit): Likewise.
32916 (La_regs): Likewise.
32917 (La_retval): Likewise.
32918 (int_retval): Likewise.
32919 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32920 macro.
32921 (pltexit): Likewise.
32922 (La_regs): Likewise.
32923 (La_retval): Likewise.
32924 (int_retval): Likewise.
32925 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32926 macro.
32927 (pltexit): Likewise.
32928 (La_regs): Likewise.
32929 (La_retval): Likewise.
32930 (int_retval): Likewise.
32931 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32932 macro.
32933 (pltexit): Likewise.
32934 (La_regs): Likewise.
32935 (La_retval): Likewise.
32936 (int_retval): Likewise.
32937 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32938 macro definitions in tst-audit.h.
32939 * sysdeps/i386/tst-audit.h: New file.
32940 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32941 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32942 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32943 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32944 * sysdeps/sh/tst-audit.h: Likewise.
32945 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32946 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32947 * sysdeps/x86_64/tst-audit.h: Likewise.
32948
bfc07087
AJ
329492012-07-26 Andreas Jaeger <aj@suse.de>
32950
b1b2aaf8
AJ
32951 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32952 ptrace.
32953
32954 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32955 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32956 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32957 PTRACE_O_MASK.
32958 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32959 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32960 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32961
bfc07087
AJ
32962 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32963 value.
32964
32965 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32966 _sigsys.
32967 (si_call_addr, si_syscall, si_arch): Define new macro.
32968 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32969 _sigsys.
32970 (si_call_addr, si_syscall, si_arch): Define new marcro.
32971 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32972 _sigsys.
32973 (si_call_addr, si_syscall, si_arch): Define new macro.
32974 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32975 _sigsys.
32976 (si_call_addr, si_syscall, si_arch): Define new macro.
32977
89b4b02f
JM
329782012-07-25 Joseph Myers <joseph@codesourcery.com>
32979
32980 [BZ #13717]
32981 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32982 Change to 2.4.21 where previously 2.4.1.
32983 * sysdeps/unix/sysv/linux/configure: Regenerated.
32984 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32985 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32986 Linux kernel version.
32987 (__ASSUME_STD_AUXV): Remove.
32988 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32989 kernel version.
32990 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32991 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32992 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32993 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32994 (__ASSUME_NETLINK_SUPPORT): Likewise.
32995 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32996 (__no_netlink_support): Remove conditional definition.
32997 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32998 Remove.
32999 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33000 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33001 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33002 (if_nameindex_ioctl): Remove.
33003 (if_nameindex_netlink): Do not handle __no_netlink_support.
33004 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33005 code.
33006 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33007 Remove conditional code.
33008 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33009 code.
33010 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33011 unconditional.
33012 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33013 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33014 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33015 Remove.
33016 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33017 [!__ASSUME_STD_AUXV]: Remove conditional code.
33018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33019 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33020 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33022 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33023 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33024 code.
33025 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33027 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33028 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33029 conditional code.
33030 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33032 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33033 code.
33034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33035 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33036 conditional code.
33037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33038 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33039 code unconditional.
33040 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33041 conditional code.
33042 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33043 unconditional.
33044 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33045 conditional code.
33046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33047 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33048 unconditional.
33049 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33050 conditional code.
33051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33052 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33053 code unconditional.
33054 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33055 conditional code.
33056 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33057 unconditional.
33058 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33059 conditional code.
33060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33061 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33062 code unconditional.
33063 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33064 conditional code.
33065 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33066 unconditional.
33067 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33068 conditional code.
33069
842a39cd
AS
330702012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33071
33072 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33073 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33074 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33075 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33076 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33077 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33078 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33079 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33080 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33081 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33082 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33083 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33084 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33085 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33086 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33087 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33088 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33089 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33090 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33091 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33092 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33093 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33094 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33095
84b3fd84
FW
330962012-07-25 Florian Weimer <fweimer@redhat.com>
33097
33098 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
33099 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33100 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33101 Introduce __libc_secure_getenv.
0c7936d5
FW
33102 * stdlib/Versions (2.17): Add secure_getenv
33103 (GLIBC_PRIVATE): Add __libc_secure_getenv.
33104 * stdlib/secure-getenv.c: Rename __secure_getenv to
33105 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
33106 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
33107 * stdlib/tst-secure-getenv.c: New.
33108 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
33109 * manual/startup.texi (Environment Access): Document
33110 secure_getenv.
84b3fd84
FW
33111 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33112 __libc_secure_getenv.
33113 * inet/ruserpass.c (ruserpass): Likewise.
33114 * malloc/mtrace.c (mtrace): Likewise.
33115 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 33116 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
33117 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33118 * sysdeps/posix/tempname.c: Likewise. Evaluate
33119 HAVE_SECURE_GETENV.
33120 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 33121 __secure_getenv to __libc_secure_getenv.
84b3fd84 33122 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
33123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33124 Likewise.
33125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33126 Likewise.
33127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33129 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 33134
56e49b71
JM
331352012-07-25 Joseph Myers <joseph@codesourcery.com>
33136
33137 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33138 (struct La_i86_retval): Likewise.
33139 (struct La_x86_64_regs): Likewise.
33140 (struct La_x86_64_retval): Likewise.
33141 (struct La_x32_regs): Likewise.
33142 (struct La_x32_retval): Likewise.
33143 (struct La_ppc32_regs): Likewise.
33144 (struct La_ppc32_retval): Likewise.
33145 (struct La_ppc64_regs): Likewise.
33146 (struct La_ppc64_retval): Likewise.
33147 (struct La_sh_regs): Likewise.
33148 (struct La_sh_retval): Likewise.
33149 (struct La_s390_32_regs): Likewise.
33150 (struct La_s390_32_retval): Likewise.
33151 (struct La_s390_64_regs): Likewise.
33152 (struct La_s390_64_retval): Likewise.
33153 (struct La_sparc32_regs): Likewise.
33154 (struct La_sparc32_retval): Likewise.
33155 (struct La_sparc64_regs): Likewise.
33156 (struct La_sparc64_retval): Likewise.
33157 (struct audit_ifaces): Remove architecture-specific pltenter and
33158 pltexit members.
33159 * sysdeps/i386/ldsodefs.h: New file.
33160 * sysdeps/powerpc/ldsodefs.h: Likewise.
33161 * sysdeps/s390/ldsodefs.h: Likewise.
33162 * sysdeps/sh/ldsodefs.h: Likewise.
33163 * sysdeps/sparc/ldsodefs.h: Likewise.
33164 * sysdeps/x86_64/ldsodefs.h: Likewise.
33165
354691b7
MP
331662012-07-25 Marek Polacek <polacek@redhat.com>
33167
33168 [BZ #6808]
33169 * math/libm-test.inc (yn_test): Add another test.
33170 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33171 to ERANGE when the result is +-Inf.
33172 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33173 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33174 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33175 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33176
bf9e2071
JM
331772012-07-24 Joseph Myers <joseph@codesourcery.com>
33178
33179 * conform/data/time.h-data (NULL): Use macro-constant. Require
33180 equal to 0.
33181 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33182 clock_t.
33183 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33184
57633811
TS
331852012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33186
33187 * configure.in <sysdeps resolving>: Correct printing
33188 Implies_before.
33189 * configure: Regenerate.
33190
c23c33b0
TS
331912012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33192
33193 * math/w_ilogb.c: Include <limits.h>.
33194 * math/w_ilogbl.c: Likewise.
33195
b5982523
JM
331962012-07-20 Joseph Myers <joseph@codesourcery.com>
33197
33198 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33199 va_copy. Document allowing for unavailable va_copy only as
33200 pre-C99 compatibility.
33201 * manual/string.texi (Copying and Concatenation): Use va_copy
33202 instead of __va_copy in concat example.
33203
ac4ea442
PT
332042012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33205
33206 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33207 (__sendto): Use create_address_port. Initialize APORT and deallocate
33208 it if not null.
33209
f98eafbd
PT
33210 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33211 with O_NOLINK passed to __file_name_lookup.
33212
898c7aab
PT
33213 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33214 with O_NOLINK passed to __file_name_lookup.
33215
0ced335a
PT
33216 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33217 negative N or less than NGIDS.
33218
b3404dbd
PT
33219 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33220 type to string_t. Set ERANGE as errno and return it if NAME is not big
33221 enough. Use memcpy instead of strncpy.
33222
0f48659e
JM
332232012-07-20 Joseph Myers <joseph@codesourcery.com>
33224
33225 * elf/Makefile (check-data): Remove.
33226 (localplt.data): New vpath directive.
33227 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33228 instead of $(check-data).
33229 * scripts/data/localplt-generic.data: Move to ...
33230 * sysdeps/generic/localplt.data: ... here.
33231 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33232 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33233 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33235 ... here.
33236 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33238 ... here.
33239 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33241 ... here.
33242 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33244 ... here.
33245 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33247 ... here.
33248 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33250 ... here.
33251
d37cbdaa
AZ
332522012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33253
33254 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33255 PPC32 and PPC64 files.
33256 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33257 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33258
46f85fc2
AK
332592012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33260
33261 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33262 __makecontext_ret to ...
33263 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33264 ... here and call exit if uc_link is NULL. New file.
33265 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33266 __makecontext_ret.S.
33267 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33268 __makecontext_ret to ...
33269 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33270 ... here and call exit if uc_link is NULL. New file.
33271 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33272 __makecontext_ret.S.
33273
08f43f9b
AK
332742012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33275
33276 * elf/elf.h (R_390_IRELATIVE): New definition.
33277 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33278 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33279 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33280 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33281 (elf_machine_lazy_rel): Likewise.
33282 * sysdeps/s390/dl-irel.h: New file.
33283 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33284 * sysdeps/s390/s390-64/memset.S: New asm code.
33285 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33286 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33287 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33288 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33289 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33290 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33291 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33292 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33293 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33294 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33295 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33296 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33297 * sysdeps/s390/s390-32/memset.S: New asm code.
33298 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33299
3b05db33
MP
333002012-07-17 Marek Polacek <polacek@redhat.com>
33301
33302 [BZ #14349]
33303 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33304 * sysdeps/s390/s390-64/configure.in: Likewise.
33305 * sysdeps/sparc/configure.in: Likewise.
33306 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33307 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33308 * sysdeps/i386/configure.in: Likewise.
33309 * sysdeps/x86_64/configure.in: Likewise.
33310 * sysdeps/sh/configure.in: Likewise.
33311 * sysdeps/s390/s390-32/configure: Regenerated.
33312 * sysdeps/s390/s390-64/configure: Likewise.
33313 * sysdeps/x86_64/configure: Likewise.
33314 * sysdeps/sh/configure: Likewise.
33315 * sysdeps/powerpc/powerpc64/configure: Likewise.
33316 * sysdeps/powerpc/powerpc32/configure: Likewise.
33317 * sysdeps/sparc/configure: Likwise.
33318 * sysdeps/i386/configure: Likewise.
33319
a66877c6
MP
33320 * elf/dl-open.c: Comment fixes.
33321
cfc82fd8
JM
333222012-07-17 Joseph Myers <joseph@codesourcery.com>
33323
bd29910a
JM
33324 * Makefile [CXX] (check-data): Remove.
33325 [CXX] (c++-types.data): New vpath directive.
33326 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33327 vpath. Do not allow for C++ type data being missing.
33328 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33329 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33330 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33331 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33332 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33333 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33334 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33336 ... here.
33337 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33339 ... here.
33340 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33342 ... here.
33343 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33345 ... here.
33346 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33348 ... here.
33349 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33351 ... here.
33352 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33354 ... here.
33355 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33357
cfc82fd8
JM
33358 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33359 definitions to architecture-specific files.
33360 (TLS_IE): Likewise.
33361 (TLS_LD): Likewise.
33362 (TLS_GD): Likewise.
33363 * sysdeps/i386/tls-macros.h: New file.
33364 * sysdeps/powerpc/tls-macros.h: Likewise.
33365 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33366 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33367 * sysdeps/sh/tls-macros.h: Likewise.
33368 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33369 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33370 * sysdeps/x86_64/tls-macros.h: Likewise.
33371
f7db3170
TS
333722012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33373
07cbfc23
TS
33374 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33375 zero value for regular exit case.
33376
f7db3170
TS
33377 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33378 (__start_context): Preserve zero value for regular exit case.
33379
dc97c227
TS
333802012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33381 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33382
33383 * manual/setjmp.texi (setcontext): Clarify normal process
33384 termination when uc_link is the null pointer.
33385 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33386 exit call.
33387
d0cd7d02
AS
333882012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33389
33390 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33391 preprocessor. Test for each exception mask separately.
33392
dd318934
AJ
333932012-07-16 Andreas Jaeger <aj@suse.de>
33394
33395 * po/ru.po: Update from translation team.
33396
8048311a
JM
333972012-07-15 Joseph Myers <joseph@codesourcery.com>
33398
33399 * conform/data/string.h-data (NULL): Use macro-constant. Require
33400 equal to 0.
33401 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33402 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33403 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33404 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33405 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33406
b637d46e
AJ
334072012-07-13 Andreas Jaeger <aj@suse.de>
33408
33409 * po/fr.po: Update from translation team.
33410
541428fe
MP
334112012-07-12 Marek Polacek <polacek@redhat.com>
33412
33413 [BZ #14173]
33414 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33415 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33416 loop condition.
33417
ec332e94
JM
334182012-07-12 Joseph Myers <joseph@codesourcery.com>
33419
33420 [BZ #13717]
33421 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33422 Change to 2.4.1 where previously 2.4.0.
33423 * sysdeps/unix/sysv/linux/configure: Regenerated.
33424 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33425 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33426 version.
33427 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33428 (__ASSUME_AT_CLKTCK): Remove.
33429 (__ASSUME_AT_PAGESIZE): Likewise.
33430 (__ASSUME_AT_XID): Likewise.
33431 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33432 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33433 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33434 unconditionally.
33435 (HAVE_AUX_PAGESIZE): Likewise.
33436 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33437 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33438 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33439
7b6e99be
JB
334402012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33441
33442 [BZ #14307]
33443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33444 the temporary buffer used to invoke __gethostbyname2_r,
33445 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33446 host_data / struct gaih_addrtuple.
33447 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33448 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33449 header file nss/nsswitch.h.
33450 * nss/nsswitch.h (global scope): Add definition of implementation
33451 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33452 resolv/nss_dns/dns-host.c).
33453
608404eb
AJ
334542012-07-11 Andreas Jaeger <aj@suse.de>
33455
33456 * po/fr.po: Update from translation team.
33457
71220aca
AJ
33458 * po/sv.po: Update from translation team
33459 * po/fr.po: Another update from translation team.
33460
28cfe843
AZ
334612012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33462
33463 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33464 for subnormals or multiply small sinh result by itself.
33465 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33467
6b90f981
DM
334682012-07-11 David S. Miller <davem@davemloft.net>
33469
33470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33471
c6825772
AS
334722012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33473
33474 [BZ #14347]
33475 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33476 (INTERNAL_MARK): Shift it here.
33477
7b8e0d49
MP
334782012-07-10 Marek Polacek <polacek@redhat.com>
33479
33480 [BZ #14151]
33481 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33482 libc_cv_asm_global_directive with .globl.
33483 * configure: Regenerated.
33484 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33485 with .globl.
33486 * sysdeps/i386/configure: Regenerated.
33487 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33488 with .globl.
33489 * sysdeps/x86_64/configure: Regenerated.
33490 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33491 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33492 * elf/tst-unique2mod2.c: Likewise.
33493 * elf/tst-unique2mod1.c: Likewise.
33494 * elf/tst-unique1mod2.c: Likewise.
33495 * elf/tst-unique1mod1.c: Likewise.
33496 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33497 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33498 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33499 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33500 * sysdeps/mach/sysdep.h: Likewise.
33501 * sysdeps/i386/sysdep.h: Likewise.
33502 * sysdeps/i386/i386-mcount.S: Likewise.
33503 * sysdeps/x86_64/_mcount.S: Likewise.
33504 * sysdeps/x86_64/sysdep.h: Likewise.
33505 * sysdeps/sh/_mcount.S: Likewise.
33506 * sysdeps/sh/sysdep.h: Likewise.
33507 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33508 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33509 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33510 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33511 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33512 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33513 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33514 * locale/localeinfo.h: Likewise.
33515 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33516 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33517
6c55cda3
RM
335182012-07-09 Roland McGrath <roland@hack.frob.com>
33519
33520 [BZ #14336]
33521 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33522 system".
33523 * manual/message.texi (The Uniforum approach): Likewise.
33524 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33525 (glibc iconv Implementation): Likewise.
33526
638a572e
JM
335272012-07-09 Joseph Myers <joseph@codesourcery.com>
33528
33529 [BZ #14337]
33530 * math/s_clog.c (__clog): Avoid scaling a value down where that
33531 could result in underflow.
33532 * math/s_clog10.c (__clog10): Likewise.
33533 * math/s_clog10f.c (__clog10f): Likewise.
33534 * math/s_clog10l.c (__clog10l): Likewise.
33535 * math/s_clogf.c (__clogf): Likewise.
33536 * math/s_clogl.c (__clogl): Likewise.
33537 * math/libm-test.inc (clog_test): Add more tests.
33538 (clog10_test): Likewise.
33539 * sysdeps/i386/fpu/libm-test-ulps: Update.
33540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33541
261f4859
AS
335422012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33543
0abaf3e4
AS
33544 [BZ #14283]
33545 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33546 by 7 not 8 to examine high bit of fractional part.
33547
261f4859
AS
33548 [BZ #14042]
33549 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33550 for call to __mcount_internal.
33551 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33552 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33553 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33554
f17ac40d
JM
335552012-07-06 Joseph Myers <joseph@codesourcery.com>
33556
9ad63c23
JM
33557 [BZ #14154]
33558 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33559 approximation for values within 0x1p-13f of an odd multiple of
33560 pi/4.
33561 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33562 exception. Add more tests.
33563 * sysdeps/i386/fpu/libm-test-ulps: Update.
33564
f17ac40d
JM
33565 [BZ #6778]
33566 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33567 inputs and return -1 for them. Do not check for +Inf in case not
33568 reachable for +Inf.
33569 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33570 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33571 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33572 and return -1 for them. Do not check for +Inf in case not
33573 reachable for +Inf.
33574 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33575 define.
33576 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33577 and return -1 for them. Do not check for +Inf in case not
33578 reachable for +Inf.
33579 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33580 spurious underflow.
33581 * sysdeps/i386/fpu/libm-test-ulps: Update.
33582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33583
fb21f89b
MF
335842012-07-06 Mike Frysinger <vapier@gentoo.org>
33585
33586 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33587
cdfe2c5e
JM
335882012-07-05 Joseph Myers <joseph@codesourcery.com>
33589
33590 [BZ #14157]
33591 [BZ #14331]
33592 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33593 could result in spurious underflow. Scale down values above
33594 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33595 * math/s_csqrtf.c (__csqrtf): Likewise.
33596 * math/s_csqrtl.c (__csqrtl): Likewise.
33597 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33598 spurious underflow.
33599 * sysdeps/i386/fpu/libm-test-ulps: Update.
33600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33601
70d35b67
AS
336022012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33603
704bc459
AS
33604 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33605 xopen-msg.sed.
33606 * catgets/xopen-msg.awk: New file.
33607 * catgets/xopen-msg.sed: Removed.
33608
70d35b67
AS
33609 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33610 po2text.sed.
33611 * intl/po2test.awk: New file.
33612 * intl/po2test.sed: Removed.
33613
ca61cf32
JM
336142012-07-04 Joseph Myers <joseph@codesourcery.com>
33615
33616 [BZ #14328]
33617 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33618 or multiply small sinh result by itself.
33619 * math/s_ctanf.c (__ctanf): Likewise.
33620 * math/s_ctanh.c (__ctanh): Likewise.
33621 * math/s_ctanhf.c (__ctanhf): Likewise.
33622 * math/s_ctanhl.c (__ctanhl): Likewise.
33623 * math/s_ctanl.c (__ctanl): Likewise.
33624 * math/libm-test.inc (ctan_test_tonearest): New function.
33625 (ctan_test_towardzero): Likewise.
33626 (ctan_test_downward): Likewise.
33627 (ctan_test_upward): Likewise.
33628 (ctanh_test_tonearest): Likewise.
33629 (ctanh_test_towardzero): Likewise.
33630 (ctanh_test_downward): Likewise.
33631 (ctanh_test_upward): Likewise.
33632 (main): Call these new functions.
33633 * sysdeps/i386/fpu/libm-test-ulps: Update.
33634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33635
ca48a46a
MF
336362012-07-03 Mike Frysinger <vapier@gentoo.org>
33637
33638 * .gitignore: Delete /ports entry.
33639
9d63d37d
AJ
336402012-07-03 Andreas Jaeger <aj@suse.de>
33641
33642 * po/bg.po: Update from translation team.
33643 * po/cs.po: Likewise.
33644 * po/de.po: Likewise.
33645 * po/hr.po: Likewise.
33646 * po/nl.pl: Likewise.
33647 * po/pl.po: Likewise.
33648 * po/vi.po: Likewise.
33649
370ca3d2
JM
336502012-07-03 Joseph Myers <joseph@codesourcery.com>
33651
95f5a9a8
JM
33652 * Makeconfig [!+link] (+link-before-libc): New variable.
33653 [!+link] (+link-after-libc): Likewise.
33654 [!+link] (+link-tests): Likewise.
33655 [!+link] (+link): Define in terms of $(+link-before-libc) and
33656 $(+link-after-libc).
33657 [!+link-static] (+link-static-before-libc): New variable.
33658 [!+link-static] (+link-static-after-libc): Likewise.
33659 [!+link-static] (+link-static-tests): Likewise.
33660 [!+link-static] (+link-static): Define in terms of
33661 $(+link-static-before-libc) and $(+link-static-after-libc).
33662 [build-shared] (link-libc-before-gnulib): New variable.
33663 [build-shared] (link-libc-tests): Likewise.
33664 [build-shared] (link-libc): Define in terms of
33665 $(link-libc-before-gnulib).
33666 [!build-shared] (link-libc-tests): New variable.
33667 (link-libc-static-tests): New variable.
33668 [!gnulib] (gnulib-arch): New variable.
33669 [!gnulib] (gnulib-tests): Likewise.
33670 [!gnulib] (static-gnulib-arch): Likewise.
33671 [!gnulib] (static-gnulib-tests): Likewise.
33672 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33673 Define with "=" instead of ":=".
33674 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33675 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33676 * Rules (binaries-all-notests): New variable.
33677 (binaries-all-tests): Likewise.
33678 (binaries-static-notests): Likewise.
33679 (binaries-static-tests): Likewise.
33680 (binaries-all): Define using $(binaries-all-notests) and
33681 $(binaries-all-tests).
33682 (binaries-static): Define using $(binaries-static-notests) and
33683 $(binaries-static-tests).
33684 (binaries-shared-tests): New variable.
33685 (binaries-shared-notests): Likewise.
33686 (binaries-shared): Remove variable.
33687 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33688 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33689 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33690 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33691 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33692 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33693 * elf/Makefile (sln-modules): New variable.
33694 (extra-objs): Add $(sln-modules:=.o).
33695 (ldconfig-modules): Add static-stubs.
33696 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33697 * elf/static-stubs.c: New file.
33698
7a845b2c
JM
33699 [BZ #14283]
33700 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33701 by 7 not 8 to examine high bit of fractional part. Use volatile
33702 variables when splitting into final array of floats if
33703 __FLT_EVAL_METHOD__ != 0.
33704 * math/libm-test.inc (cos_test): Add another test.
33705 (sin_test): Likewise.
33706 * sysdeps/i386/fpu/libm-test-ulps: Update.
33707
e2283f38
JM
33708 [BZ #14273]
33709 * math/libm-test.inc (cosh_test): Add more tests.
33710
370ca3d2
JM
33711 * version.h (RELEASE): Set to "development".
33712 (VERSION): Set to "2.16.90".
33713
ee9247c3
CD
337142012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33715
33716 * NEWS: Update copyright. Remove last-updated date.
33717 Mention math library bug fixes and timezone data changes.
33718 * README: Mention GNU/Hurd, x32, and HPPA support status.
33719
4648c381
TS
337202012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33721
33722 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33723
aac78a43
AJ
337242012-06-27 Andreas Jaeger <aj@suse.de>
33725
33726 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33727
ed3dbfad
AJ
337282012-06-25 Andreas Jaeger <aj@suse.de>
33729
33730 * sysdeps/s390/fpu/libm-test-ulps: Update.
33731
4d0ee855
AS
337322012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33733 Thomas Schwinge <thomas@codesourcery.com>
33734
33735 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33736 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33737 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33738 fanotify_mark.
33739
af1bce34
TS
337402012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33741
a9fa33ba
TS
33742 * sysdeps/mach/start.c: Remove file.
33743 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33744 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33745 * sysdeps/sh/init-first.c: Likewise.
33746
58f902b8
TS
33747 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33748 registers for frame unwinding purposes, add CFI directives.
33749 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33750 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33751 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33752 Likewise.
33753
1518f58b
TS
33754 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33755 __fortify_fail returning.
33756 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33757
db9b5059
TS
33758 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33759 sysdeps/sh/____longjmp_chk.S.
33760 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33761 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33762 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33763 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33764
967705fe
TS
33765 * sysdeps/sh/abort-instr.h: New file.
33766 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33767 process in case exit returns.
33768
a9def8c4
TS
33769 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33770 initialize the GOT register before use.
33771
2a649725
TS
33772 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33773 calculation of ARGC > 4.
33774
af1bce34
TS
33775 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33776 meaningful names to some local labels.
33777
d230f50a
KK
337782012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33779 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33780
33781 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33782 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33783 (__arch_compare_and_exchange_val_16_acq): Likewise.
33784 (__arch_compare_and_exchange_val_32_acq): Likewise.
33785 (atomic_exchange_and_add): Fix gUSA sequence.
33786 (atomic_add): Likewise.
33787 (atomic_add_negative): Likewise.
33788 (atomic_add_zero): Likewise.
33789 (atomic_bit_test_set): Likewise.
33790
0479b305
AS
337912012-06-22 Andreas Schwab <schwab@redhat.com>
33792
33793 [BZ #13579]
33794 * include/link.h (struct link_map): Add l_free_initfini.
33795 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33796 l_initfini.
33797 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33798 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33799 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33800 set.
33801
0e3933b9
CD
338022012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33803
33804 * configure.in: Use AC_LANG_SOURCE.
33805 * configure: Regenerate.
33806
4248b1b1
RM
338072012-06-22 Roland McGrath <roland@hack.frob.com>
33808
33809 * configure.in (libc_cv_localstatedir): New substituted variable.
33810 * configure: Regenerated.
33811 * config.make.in (localstatedir): New variable, substituted from
33812 libc_cv_localstatedir.
33813 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33814 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33815 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33816 * sysdeps/gnu/configure: Regenerated.
33817
006dd861
JL
338182012-06-21 Jeff Law <law@redhat.com>
33819
33820 [BZ #14277]
33821 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33822 free. Simplify list management for _LIBC case.
33823
79662d42
JM
338242012-06-21 Joseph Myers <joseph@codesourcery.com>
33825
b7abb4bf
JM
33826 [BZ #14273]
33827 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33828 Clear sign bit of 64-bit integer value before comparing against
33829 overflow value.
33830
79662d42
JM
33831 * sysdeps/mach/configure: Regenerated.
33832
1f150908
L
338332012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33834
33835 [BZ #14278]
33836 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33837
28363bbf
JL
338382012-06-21 Jeff Law <law@redhat.com>
33839
33840 [BZ #13882]
33841 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33842 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 33843 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
33844 * elf/dl-open.c (dl_open_worker): Likewise.
33845
09615db4
CD
338462012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33847
33848 * scripts/list-sources.sh: Scan PORTS for translations.
33849 * po/libc.pot: Regenerated.
33850
2174c6dd
AJ
338512012-06-21 Andreas Jaeger <aj@suse.de>
33852
33853 [BZ #12194]
33854 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33855 warning.
33856 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33857 * bits/byteswap-16.h (__bswap_16): Likewise.
33858 * bits/byteswap.h (__bswap_constant_16): Likewise.
33859
3ee947b1
L
338602012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33861
33862 [BZ #14117]
a2f34833
L
33863 * sysdeps/i386/fpu_control.h: Removed.
33864 * sysdeps/x86_64/fpu_control.h: Moved to ...
33865 * sysdeps/x86/fpu_control.h: Here.
33866
3ee947b1
L
33867 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33868 (_FPU_SETCW): Likewise.
33869
ed1825f8
L
338702012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33871
25f1282a
L
33872 [BZ #14117]
33873 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33874 * sysdeps/x86/fpu/bits/mathinline.h: This.
33875 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33876
ed1825f8
L
33877 [BZ #14050]
33878 [BZ #14117]
33879 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33880 functions if __x86_64__ is defined.
33881
36d54b74
CLT
338822012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33883
33884 * string/endian.h: Add !__ASSEMBLER__ condition for including
33885 conversion interfaces.
33886
10285c21
JM
338872012-06-15 Joseph Myers <joseph@codesourcery.com>
33888
33889 [BZ #14241]
33890 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33891 of ABS(x) in calculating zero to negative powers other than odd
33892 integers.
33893 * math/libm-test.inc (pow_test): Add more tests.
33894
06c5abbd
AJ
338952012-06-15 Andreas Jaeger <aj@suse.de>
33896
33897 * manual/contrib.texi (Contributors): Update entry of Liubov
33898 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33899 Machado Filho.
33900
a3aeac40
CH
339012012-06-15 Cyril Hrubis <metan@ucw.cz>
33902
33903 * string/string.h: Add __wur to GNU version of strerror_r.
33904
49bdf4c1
L
339052012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33906
33907 [BZ #14229]
33908 * string/Makefile (tests): Add tst-strtok_r.
33909 * string/tst-strtok_r.c: New file.
33910 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33911 RAX_LP/RDX_LP on SAVE_PTR.
33912
834f9b8d
RM
339132012-06-14 Roland McGrath <roland@hack.frob.com>
33914
33915 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33916
75fa1921
JM
339172012-06-14 Joseph Myers <joseph@codesourcery.com>
33918
33919 * libm_test.inc (csqrt_test): Allow more spurious underflow
33920 exceptions.
33921 (j0_test): Likewise.
33922 (j1_test): Likewise.
33923 (y0_test): Likewise.
33924 (y1_test): Likewise.
33925
771766df
CD
339262012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33927
33928 * po/Makefile (libc.pot): Use UTF-8 charset.
33929
ceb9e56b
PP
339302012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33931
33932 [BZ #14210]
33933 Suppress sign-conversion warning from FD_SET.
33934 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33935 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33936 not unsigned long int.
33937 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33938
ddb28975
L
339392012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33940
33941 [BZ #14050]
33942 [BZ #14117]
33943 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33944 __extern_always_inline instead of __extern_inline.
33945 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33946 (__signbit): Likewise.
33947 (__signbitl): Support C++ namespace.
33948 (lrintf): New inline function.
33949 (lrint): Likewise.
33950 (llrintf): Likewise.
33951 (llrint): Likewise.
33952 (fmaxf): Likewise.
33953 (fmax): Likewise.
33954 (fminf): Likewise.
33955 (fmin): Likewise.
33956 (rint): Likewise.
33957 (rintf): Likewise.
33958 (ceil): Likewise.
33959 (ceilf): Likewise.
33960 (floor): Likewise.
33961 (floorf): Likewise.
33962 (nearbyint): Likewise.
33963 (nearbyintf): Likewise.
33964
d7b4fb26
TS
339652012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33966
33967 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33968 non-default versions.
33969
eb55f5c2
RM
339702012-06-11 Roland McGrath <roland@hack.frob.com>
33971
33972 [BZ #14218]
33973 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33974
366af02c
TS
339752012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33976
99ff6e5c
TS
33977 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33978 (FE_UPWARD, FE_DOWNWARD): Don't define.
33979 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33980 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33981
366af02c
TS
33982 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33983 reading it.
33984 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33985 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33986
793ea851
KK
339872012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33988
33989 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33990 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33991 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33992 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33993
a728a38f
L
339942012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33995
33996 [BZ #14117]
c08010c7
L
33997 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33998 * sysdeps/i386/fpu/Implies: New file.
33999 * sysdeps/x86_64/fpu/Implies: Likewise.
34000 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34001 * sysdeps/x86/fpu/bits/fenv.h: This.
34002
a728a38f
L
34003 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34004 __SSE_MATH__.
34005
6e230d11
SP
340062012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34007
34008 [BZ #14134]
34009 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34010 character 0xffff that matches the last element of the
34011 conversion table.
34012
1b671feb
AZ
340132012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34014
34015 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34016 fmodl commit.
34017
6043738b
AZ
340182012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34019
34020 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34021 values higher than 25.6283.
34022
34ae0b32
AZ
340232012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34024
34025 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34026 subnormal exponent extraction and add some __builtin_expect.
34027 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34028 Fix for subnormal mantissa calculation.
34029
1214ec8f
MF
340302012-06-04 Mike Frysinger <vapier@gentoo.org>
34031
34032 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34033 cpu2 is -1 and errno is not ENOSYS.
34034
f3d1f93c
L
340352012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34036
34037 [BZ #14117]
0e4a3cd7
L
34038 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34039 * sysdeps/x86/bits/string.h: This.
34040 * sysdeps/x86_64/bits/string.h: Removed.
34041
6704c645
L
34042 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34043 if not compiling for x86-64, but compiling for >= i486.
34044
48495318
L
34045 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34046 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34047
14adcbfc
L
34048 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34049 New macro from Linux kernel 3.4.0.
34050 (FP_XSTATE_MAGIC2): Likewise.
34051 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34052 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34053 (struct _fpx_sw_bytes): New struct.
34054 (struct _xsave_hdr): Likewise.
34055 (struct _ymmh_state): Likewise.
34056 (struct _xstate): Likewise.
34057
68e408ab
L
34058 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34059 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34060 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34061 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34062 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34063 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34064
f3d1f93c
L
34065 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34066 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34067 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34068 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34069 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34070 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34071
d9dc34cd
TMQMF
340722012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34073
34074 [BZ #13743]
34075 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34076 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34077 (sysdep_headers): Include sys/platform/ppc.h.
34078 * sysdeps/powerpc/test-gettimebase.c: Test for
34079 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34080 * manual/Makefile (appendices): Include platform.texi.
34081 * manual/contrib.texi (Contributors): Update @node pointers.
34082 * manual/maint.texi (Maintenance): Likewise.
34083 (Platform): New node.
34084 * manual/platform.texi: New file. Document the new features.
34085
4af3879c
SP
340862012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34087 Jakub Jelinek <jakub@redhat.com>
34088
34089 [BZ #14188]
34090 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34091 where __builtin_expect is unavailable.
34092
2fd6ff13
DM
340932012-06-03 David S. Miller <davem@davemloft.net>
34094
34095 * stdlib/longlong.h: Updated from GCC.
34096
173f7220
AS
340972012-06-02 Andreas Schwab <schwab@linux-m68k.org>
34098
34099 [BZ #14042]
34100 * sysdeps/powerpc/powerpc32/mcount.c: New file.
34101 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34102 __mcount_internal.
34103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34104 (GLIBC_2.16): Likewise.
34105
f34a1c6f
L
341062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34107
34108 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34109
88a4576f
JM
341102012-06-01 Joseph Myers <joseph@codesourcery.com>
34111
ea32bcdd
JM
34112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34113 (default-abi): New variable.
34114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34115 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34116 variable.
34117 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34118 Likewise.
34119 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34120 Likewise.
34121 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34122 Likewise.
34123
88a4576f
JM
34124 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34125 definition. Document in comment.
34126
402fe938
DM
341272012-06-01 David S. Miller <davem@davemloft.net>
34128
34129 * stdlib/longlong.h: Updated from GCC.
34130
3553723f
L
341312012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34132
34133 [BZ #14117]
3bd872c4
L
34134 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34135 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34136 sys/debugreg.h sys/io.h here.
34137 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34138 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34139 sys/io.h.
34140 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34141 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34142 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34143 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34144 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34145 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34146
3553723f
L
34147 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34148 Define only if __x86_64__ is defined.
34149
4842e4fe
JM
341502012-06-01 Joseph Myers <joseph@codesourcery.com>
34151
c5bfe3d5
JM
34152 [BZ #14048]
34153 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34154 Use int64_t for variable i.
34155 * math/libm-test.inc (fmod_test): Add more tests.
34156
4842e4fe
JM
34157 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34158 z computation is not scheduled after fetestexcept.
34159 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34160 Use math_force_eval instead of asm to ensure calculation scheduled
34161 before exception test.
34162 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34163 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34164
efb73488
AJ
341652012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34166
34167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34168 computation is not scheduled after fetestexcept.
34169
29bcce7c
L
341702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34171
34172 [BZ #14117]
34173 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34174 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34175
73a68f94
AZ
341762012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34177
34178 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34179 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34180
67b6df78
L
341812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34182
edf2933a 34183 [BZ #14117]
ebc64a18
L
34184 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34185 <bits/wordsize.h>.
34186 (__WCHAR_MIN): Support __WORDSIZE == 64.
34187 (__WCHAR_MAX): Likewise.
34188
edf2933a
L
34189 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34190 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34191
57c6cf40
L
34192 [BZ #14183]
34193 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34194 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34195
67b6df78 34196 [BZ #14117]
8eb6281e
L
34197 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34198 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34199
aac639f4
L
34200 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34201 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34202
67b6df78
L
34203 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34204 Defined to 1 if __x86_64__ isn't defined.
34205 (_STAT_VER_LINUX_OLD): New.
34206 (st_atime): Remove duplicate.
34207 (st_mtime): Likewise.
34208 (st_ctime): Likewise.
34209
1c2cfe81
DM
342102012-05-31 David S. Miller <davem@davemloft.net>
34211
34212 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34213 entries.
34214
5be8418c
AS
342152012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34216
e7725326
AS
34217 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34218 gen-libm-test.pl.
34219
5be8418c
AS
34220 [BZ #14132]
34221 * elf/dl-reloc.c: Include <_itoa.h>.
34222 (_dl_reloc_bad_type): Remove use of INTUSE.
34223 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34224 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34225 * stdio-common/psiginfo.c (psiginfo): Likewise.
34226 * stdio-common/psignal.c (psignal): Likewise.
34227 * string/strsignal.c (strsignal): Likewise.
34228 * include/signal.h (_sys_siglist): Declare hidden proto.
34229 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34230 INTVARDEF with libc_hidden_data_def.
34231 * stdio-common/itoa-udigits.c: Likewise.
34232 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34233 (_itoa_lower_digits_internal): Remove declaration.
34234 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34235 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34236 (_sys_sigabbrev_internal): Remove aliases.
34237 (_sys_siglist): Define hidden alias.
34238
507352f1
MT
342392012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34240
34241 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34242 bits/sysctl.h.
34243
42bbb1c3
L
342442012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34245
34246 [BZ #14117]
6bd784b6
L
34247 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34248 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34249
8bca20f0
L
34250 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34251 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34252 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34253 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34254 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34255 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34256
f9e890a9
L
34257 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34258 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34259 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34260
471101a1
L
34261 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34262 with __addr.
34263 (insw): Likewise.
34264 (insl): Likewise.
34265 (outsb): Likewise.
34266 (outsw): Likewise.
34267 (outsl): Likewise.
34268
6451c862
L
34269 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34270 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34271 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34272
a254b8c9
L
34273 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34274 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34275 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34276 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34277 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34278 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34279
b8dfdd92
L
34280 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34281 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34282
578cd270
L
34283 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34284 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34285
de662f5f
L
34286 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34287 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34288 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34289
25653439
L
34290 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34291 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34292 to ...
34293 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34294
6bad24a0
L
34295 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34296 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34297 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34298
42bbb1c3
L
34299 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34300 for x86-64.
34301 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34302
2d10d547
JM
343032012-05-31 Joseph Myers <joseph@codesourcery.com>
34304
34305 * math/math.h (M_El): Use two more decimal places.
34306 (M_LOG2El): Likewise.
34307 (M_LOG10El): Likewise.
34308 (M_LN2l): Likewise.
34309 (M_LN10l): Likewise.
34310 (M_PIl): Likewise.
34311 (M_PI_2l): Likewise.
34312 (M_PI_4l): Likewise.
34313 (M_1_PIl): Likewise.
34314 (M_2_PIl): Likewise.
34315 (M_2_SQRTPIl): Likewise.
34316 (M_SQRT2l): Likewise.
34317 (M_SQRT1_2l): Likewise.
34318
f230c29b
DM
343192012-05-31 David S. Miller <davem@davemloft.net>
34320
34321 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34322 values between float registers.
34323 * sysdeps/sparc/sparc64/memset.S: Likewise.
34324 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34325
fed806c3
MF
343262012-05-31 Mike Frysinger <vapier@gentoo.org>
34327
34328 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34329 -D_FORTIFY_SOURCE=1.
34330 (CPPFLAGS-tst-longjmp_chk.c): Define.
34331 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34332 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34333 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34334 CFLAGS-tst-wchar-h.c.
34335
30917259
MP
343362012-05-31 Marek Polacek <polacek@redhat.com>
34337
34338 [BZ #14132]
34339 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34340 __endmntent_internal): Remove declaration.
34341 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34342 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34343 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34344
1c58d5dc
DM
343452012-05-30 David S. Miller <davem@davemloft.net>
34346
34347 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34348 (___Q_simulate_exceptions): Use real FP ops rather than writing
34349 into the %fsr.
34350 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34351 Likewise.
34352
7dc00e0d
L
343532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34354
34355 [BZ #14117]
0bd53985
L
34356 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34357 * sysdeps/x86/bits/xtitypes.h: This.
34358
3a257e66
L
34359 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34360 * sysdeps/x86/bits/wordsize.h: This.
34361
62f62904
L
34362 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34363 * sysdeps/x86/bits/huge_vall.h: This.
34364
404fe9d9
L
34365 * sysdeps/i386/bits/select.h: Removed.
34366 * sysdeps/x86_64/bits/select.h: Renamed to ...
34367 * sysdeps/x86/bits/select.h: This.
34368
d48d0446
L
34369 * sysdeps/i386/bits/setjmp.h: Removed.
34370 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34371 * sysdeps/x86/bits/setjmp.h: This.
34372
7dc00e0d
L
34373 * sysdeps/i386/bits/mathdef.h: Removed.
34374 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34375 * sysdeps/x86/bits/mathdef.h: This.
34376
03277f8f
AS
343772012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34378
34379 [BZ #14132]
34380 * include/sys/socket.h (__connect_internal)
34381 (__libc_sa_len_internal): Remove declaration.
34382 (__connect, __libc_sa_len): Declare hidden_proto.
34383 (SA_LEN): Remove use of INTUSE.
34384 * socket/connect.c: Add libc_hidden_def.
34385 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34386 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34387 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34388 alias.
34389 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34390 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34391 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34392 of adding _internal alias.
34393
13764867
L
343942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34395
34396 [BZ #14117]
6bd97696
L
34397 * sysdeps/i386/bits/link.h: Removed.
34398 * sysdeps/i386/bits/linkmap.h: Likewise.
34399 * sysdeps/x86_64/bits/link.h: Renamed to ...
34400 * sysdeps/x86/bits/link.h: This.
34401 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34402 * sysdeps/x86/bits/linkmap.h: This.
34403
f726f0bb
L
34404 * sysdeps/i386/bits/endian.h: Removed.
34405 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34406 * sysdeps/x86/bits/endian.h: This.
34407
13764867
L
34408 * sysdeps/i386/bits/byteswap.h: Removed.
34409 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34410 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34411 * sysdeps/x86/bits/byteswap.h: This.
34412 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34413 * sysdeps/x86/bits/byteswap-16.h: This.
34414 * sysdeps/i386/Implies: Add x86.
34415 * sysdeps/x86_64/Implies: Likewise.
34416
ae251b0b
DM
344172012-05-30 David S. Miller <davem@davemloft.net>
34418
34419 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34420 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34421 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34422 (FP_TRAPPING_EXCEPTIONS): Define.
34423 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34424 (FP_TRAPPING_EXCEPTIONS): Define.
34425 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34426 subnormals only when inexact has been signalled or underflow
34427 exceptions are enabled.
34428 (_FP_PACK_CANONICAL): Likewise.
34429
d5c90867
L
344302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34431
34432 [BZ #14183]
34433 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34434 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34435
63f1549e
RH
344362012-05-30 Richard Henderson <rth@twiddle.net>
34437
8d8f2279
RH
34438 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34439 with #ifndef NOT_IN_libc.
34440
63f1549e
RH
34441 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34442 marked to avoid plt entry.
34443
0ab0291b
L
344442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34445
34446 [BZ #14112]
34447 * Makeconfig (default-abi): New macro.
34448 (abi-includes): Likewise.
34449 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34450 $(abi-$(default-abi)-lib-soname) for soname if defined.
34451 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34452 abi-variants.
34453 * Makefile (installed-stubs): Likewise.
34454 * include/stubs-biarch.h: Removed.
34455 * scripts/lib-names.awk: Only handle one library at a time.
34456 * scripts/soversions.awk: Remove WORDSIZE support.
34457 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34458 entries.
34459 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34460 Removed.
34461 (syscall-list-default-condition): Likewise.
34462 (syscall-list-default-condition): Likewise.
34463 (syscall-list-includes): Likewise.
34464 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34465 syscall-list-* with abi-*. Handle undefined abi-variants.
34466 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34467 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34468 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34469 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34470 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34471 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34472 Removed.
34473 (syscall-list-32-options): Likewise.
34474 (syscall-list-32-condition): Likewise.
34475 (syscall-list-64-options): Likewise.
34476 (syscall-list-64-condition): Likewise.
34477 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34478 macro.
34479 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34480 Renamed to ...
34481 (abi-*): This.
34482 (abi-64-ld-soname): New macro.
34483 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34484 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34485 Renamed to ...
34486 (abi-*): This.
34487 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34488 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34489
4da0431d
JM
344902012-05-30 Joseph Myers <joseph@codesourcery.com>
34491
3a85279c
JM
34492 * sysdeps/unix/sysv/linux/kernel-features.h
34493 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34494 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34495 include <kernel-features.h>.
34496 [!__NR_ftruncate64]: Remove conditional code.
34497 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34498 [__NR_ftruncate64]: Make code unconditional.
34499 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34500 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34501 include <kernel-features.h>.
34502 [!__NR_ftruncate64]: Remove conditional code.
34503 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34504 [__NR_ftruncate64]: Make code unconditional.
34505 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34507 include <kernel-features.h>.
34508 [!__NR_ftruncate64]: Remove conditional code.
34509 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34510 [__NR_ftruncate64]: Make code unconditional.
34511 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34513 include <kernel-features.h>.
34514 [!__NR_ftruncate64]: Remove conditional code.
34515 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34516 [__NR_ftruncate64]: Make code unconditional.
34517 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34518
4da0431d
JM
34519 * configure.in (libc_cv_fpie): Weaken to a compile test using
34520 LIBC_TRY_CC_OPTION.
34521 * configure: Regenerated.
34522
11ef492c
AK
345232012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34524
34525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34529 Refreshed.
34530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34536 Refreshed.
34537
d66ef399
DM
345382012-05-27 David S. Miller <davem@davemloft.net>
34539
34540 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34541 (___Q_zero): New.
34542 (__Q_simulate_exceptions): Return void. Change to simulate
34543 exceptions by writing into the %fsr.
34544 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34545 (__Qp_handle_exceptions): Likewise.
34546 (numbers): Delete.
34547 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34548 __Qp_handle_exceptions.
34549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34550 __Qp_handle_exceptions.
34551 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34552 as unused and give dummy FP_RND_NEAREST initializer.
34553 (FP_INHIBIT_RESULTS): Define.
34554 (___Q_simulate_exceptions): Update declaration.
34555 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34556 formatting.
34557 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34558 as unused and give dummy FP_RND_NEAREST initializer.
34559 (__Qp_handle_exceptions): Update declaration.
34560 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34561 formatting.
34562
04fb54b5
TS
345632012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34564
34565 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34566 the temporary FPU control word.
34567 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34568 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34569 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34570 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34571 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34572 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34573 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34574 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34575 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34576 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34577 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34578
3f99608f
KK
345792012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34580
34581 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34582 fields.
34583
65a4de4e
CLT
345842012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34585
34586 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34587 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34588 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34589 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34590 Likewise.
34591 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34592 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34593 Likewise.
34594
15749d40
UD
345952012-05-27 Ulrich Drepper <drepper@gmail.com>
34596
34597 * po/h.po: Update from translation team.
34598
25dbcb27
AS
345992012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34600
3d3f8e55
AS
34601 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34602
25dbcb27
AS
34603 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34604 handling of denormals.
34605 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34606 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34607 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34608 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34609 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34610 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34611 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34612 Likewise.
34613
7ad47a80 346142012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
34615
34616 [BZ #14152]
34617 * math/libm-test.inc (fma_test): Don't always expect underflow
34618 exception.
34619
9c6ea9fa
SP
346202012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34621
34622 [BZ #12416]
34623 * elf/tst-execstack.c: Include stackinfo.h.
34624 (do_test): Adjust test case to ensure that pthread_getattr_np
34625 behaviour remains the same after marking stack executable.
34626
a8239222
JM
346272012-05-25 Joseph Myers <joseph@codesourcery.com>
34628
34629 * sysdeps/unix/sysv/linux/kernel-features.h
34630 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34631 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34632 kernel-features.h.
34633 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34634 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34635 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34636 kernel-features.h.
34637 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34638 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34639
918b5606
L
346402012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34641
34642 * configure.in: Define the default includes to being none.
34643 * configure: Regenerated.
34644
3a097cc7
RM
346452012-05-25 Roland McGrath <roland@hack.frob.com>
34646
8422c9a5
RM
34647 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34648 * sysdeps/x86_64/setjmp.S: Likewise.
34649 * sysdeps/i386/bsd-setjmp.S: Likewise.
34650 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34651 * sysdeps/i386/setjmp.S: Likewise.
34652 * sysdeps/i386/__longjmp.S: Likewise.
34653 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34654 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34655
3a097cc7
RM
34656 * include/stap-probe.h: New file.
34657 * configure.in: Handle --enable-systemtap.
34658 * configure: Regenerated.
34659 * config.h.in (USE_STAP_PROBE): New #undef.
34660 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34661 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34662 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34663
21708942
JM
346642012-05-25 Joseph Myers <joseph@codesourcery.com>
34665
34666 [BZ #13717]
34667 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34668 to 2.4.0 where earlier.
34669 * sysdeps/unix/sysv/linux/configure: Regenerated.
34670 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34671 <kernel-features.h>.
34672 [__ASSUME_32BITUIDS]: Make code unconditional.
34673 [!__ASSUME_32BITUIDS]: Remove conditional code.
34674 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34675 <kernel-features.h>.
34676 [__ASSUME_32BITUIDS]: Make code unconditional.
34677 [!__ASSUME_32BITUIDS]: Remove conditional code.
34678 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34679 [__ASSUME_32BITUIDS]: Make code unconditional.
34680 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34681 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34682 <kernel-features.h>.
34683 [__ASSUME_32BITUIDS]: Make code unconditional.
34684 [!__ASSUME_32BITUIDS]: Remove conditional code.
34685 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34686 <kernel-features.h>.
34687 [__ASSUME_32BITUIDS]: Make code unconditional.
34688 [!__ASSUME_32BITUIDS]: Remove conditional code.
34689 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34690 <kernel-features.h>.
34691 [__ASSUME_32BITUIDS]: Make code unconditional.
34692 [!__ASSUME_32BITUIDS]: Remove conditional code.
34693 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34694 <kernel-features.h>.
34695 [__ASSUME_32BITUIDS]: Make code unconditional.
34696 [!__ASSUME_32BITUIDS]: Remove conditional code.
34697 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34698 <kernel-features.h>.
34699 [__ASSUME_32BITUIDS]: Make code unconditional.
34700 [!__ASSUME_32BITUIDS]: Remove conditional code.
34701 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34702 <kernel-features.h>.
34703 [__ASSUME_32BITUIDS]: Make code unconditional.
34704 [!__ASSUME_32BITUIDS]: Remove conditional code.
34705 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34706 <kernel-features.h>.
34707 [__ASSUME_32BITUIDS]: Make code unconditional.
34708 [!__ASSUME_32BITUIDS]: Remove conditional code.
34709 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34710 <kernel-features.h>.
34711 [__ASSUME_32BITUIDS]: Make code unconditional.
34712 [!__ASSUME_32BITUIDS]: Remove conditional code.
34713 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34714 <kernel-features.h>.
34715 [__ASSUME_32BITUIDS]: Make code unconditional.
34716 [!__ASSUME_32BITUIDS]: Remove conditional code.
34717 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34718 <kernel-features.h>.
34719 [__ASSUME_32BITUIDS]: Make code unconditional.
34720 [!__ASSUME_32BITUIDS]: Remove conditional code.
34721 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34722 <kernel-features.h>.
34723 [__NR_setresgid] (__setresgid): Do not declare.
34724 [__ASSUME_32BITUIDS]: Make code unconditional.
34725 [!__ASSUME_32BITUIDS]: Remove conditional code.
34726 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34727 <kernel-features.h>.
34728 [__NR_setresuid] (__setresuid): Do not declare.
34729 [__ASSUME_32BITUIDS]: Make code unconditional.
34730 [!__ASSUME_32BITUIDS]: Remove conditional code.
34731 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34732 <kernel-features.h>.
34733 [__ASSUME_32BITUIDS]: Make code unconditional.
34734 [!__ASSUME_32BITUIDS]: Remove conditional code.
34735 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34736 <kernel-features.h>.
34737 [__ASSUME_32BITUIDS]: Make code unconditional.
34738 [!__ASSUME_32BITUIDS]: Remove conditional code.
34739 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34740 <kernel-features.h>.
34741 [__ASSUME_32BITUIDS]: Make code unconditional.
34742 [!__ASSUME_32BITUIDS]: Remove conditional code.
34743 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34744 <kernel-features.h>.
34745 [__ASSUME_32BITUIDS]: Make code unconditional.
34746 [!__ASSUME_32BITUIDS]: Remove conditional code.
34747 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34748 <kernel-features.h>.
34749 [__ASSUME_32BITUIDS]: Make code unconditional.
34750 [!__ASSUME_32BITUIDS]: Remove conditional code.
34751 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34752 <kernel-features.h>.
34753 [__ASSUME_32BITUIDS]: Make code unconditional.
34754 [!__ASSUME_32BITUIDS]: Remove conditional code.
34755 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34756 <kernel-features.h>.
34757 [__ASSUME_32BITUIDS]: Make code unconditional.
34758 [!__ASSUME_32BITUIDS]: Remove conditional code.
34759 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34760 <kernel-features.h>.
34761 [__ASSUME_32BITUIDS]: Make code unconditional.
34762 [!__ASSUME_32BITUIDS]: Remove conditional code.
34763 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34764 <kernel-features.h>.
34765 [__ASSUME_32BITUIDS]: Make code unconditional.
34766 [!__ASSUME_32BITUIDS]: Remove conditional code.
34767 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34768 <kernel-features.h>.
34769 [__ASSUME_32BITUIDS]: Make code unconditional.
34770 [!__ASSUME_32BITUIDS]: Remove conditional code.
34771 * sysdeps/unix/sysv/linux/kernel-features.h
34772 (__ASSUME_SETRESUID_SYSCALL): Remove.
34773 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34774 (__ASSUME_32BITUIDS): Likewise.
34775 (__ASSUME_LDT_WORKS): Likewise.
34776 (__ASSUME_O_DIRECTORY): Likewise.
34777 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34778 architecture but not kernel version.
34779 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34780 (__ASSUME_MMAP2_SYSCALL): Likewise.
34781 (__ASSUME_STAT64_SYSCALL): Likewise.
34782 (__ASSUME_IPC64): Likewise.
34783 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34784 <kernel-features.h>.
34785 [__ASSUME_32BITUIDS]: Make code unconditional.
34786 [!__ASSUME_32BITUIDS]: Remove conditional code.
34787 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34788 <kernel-features.h>.
34789 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34790 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34791 132096]: Remove conditional code.
34792 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34793 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34794 <kernel-features.h>.
34795 [__ASSUME_32BITUIDS]: Make code unconditional.
34796 [!__ASSUME_32BITUIDS]: Remove conditional code.
34797 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34798 <kernel-features.h>.
34799 [__ASSUME_32BITUIDS]: Make code unconditional.
34800 [!__ASSUME_32BITUIDS]: Remove conditional code.
34801 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34802 <kernel-features.h>.
34803 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34804 unconditional.
34805 (__setresgid): Do not declare.
34806 [__ASSUME_32BITUIDS]: Make code unconditional.
34807 [!__ASSUME_32BITUIDS]: Remove conditional code.
34808 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34809 <kernel-features.h>.
34810 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34811 unconditional.
34812 (__setresuid): Do not declare.
34813 [__ASSUME_32BITUIDS]: Make code unconditional.
34814 [!__ASSUME_32BITUIDS]: Remove conditional code.
34815 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34816 <kernel-features.h>.
34817 [__ASSUME_32BITUIDS]: Make code unconditional.
34818 [!__ASSUME_32BITUIDS]: Remove conditional code.
34819 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34820 <kernel-features.h>.
34821 [__ASSUME_32BITUIDS]: Make code unconditional.
34822 [!__ASSUME_32BITUIDS]: Remove conditional code.
34823
a386f1cc
RH
348242012-05-25 Richard Henderson <rth@twiddle.net>
34825
34826 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34827 dl_hwcap to ifunc resolver.
34828 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34829 elf_ifunc_invoke.
34830 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34831 dl_hwcap to ifunc resolver.
34832 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34833
b6550497
JM
348342012-05-24 Joseph Myers <joseph@codesourcery.com>
34835
34836 [BZ #14153]
34837 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34838 for |x| <= 2**-26, not 2**-57.
34839 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34840 exception.
34841
b0bc23a1
JL
348422012-05-24 Jeff Law <law@redhat.com>
34843
34844 * stdio-common/Makefile (tests): Add bug25.
34845 * stdio-common/bug25.c: New test.
34846
347c92e9
L
348472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34848
34849 [BZ #13576]
34850 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34851 multiple of MALLOC_ALIGNMENT in size.
34852 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34853
6bcc8b3f
JM
348542012-05-24 Joseph Myers <joseph@codesourcery.com>
34855
34856 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34857 Require >= 256.
34858 (FILENAME_MAX): Use macro-int-constant.
34859 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34860 (_IOFBF): Use macro-int-constant.
34861 (_IOLBF): Likewise.
34862 (_IONBF): Likewise.
34863 (SEEK_CUR): Likewise.
34864 (SEEK_END): Likewise.
34865 (SEEK_SET): Likewise.
34866 (TMP_MAX): Likewise.
34867 (EOF): Use macro-int-constant. Require < 0.
34868 (NULL): Use macro-constant. Require == 0.
34869 (stdin): Require type to be FILE *.
34870 (stdout): Likewise.
34871 (stderr): Likewise.
34872 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34873 macro-int-constant.
34874 (EXIT_SUCCESS): Likewise.
34875 (NULL): Use macro-constant. Require == 0.
34876 (RAND_MAX): Use macro-int-constant.
34877 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34878 [C99-based standards] (strtof): Require function.
34879 [C99-based standards] (strtold): Likewise.
34880 [C99-based standards] (strtoll): Likewise.
34881 [C99-based standards] (strtoull): Likewise.
34882 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34883 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34884 [ISO || ISO99 || ISO11] (math.h): Likewise.
34885 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34886 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34887 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34888
d18ea0c5
AS
348892012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34890
34891 [BZ #14132]
56d25bb8
AS
34892 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34893 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34894 * intl/dgettext.c (DCGETTEXT): Likewise.
34895 * intl/gettext.c (DCGETTEXT): Likewise.
34896 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34897 * posix/regex_internal.h (gettext): Likewise.
34898 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34899 Remove declaration.
34900 * include/argz.h (__argz_count_internal)
34901 (__argz_stringify_internal): Remove declaration.
34902 (__argz_count, __argz_stringify): Declare hidden proto.
34903 * intl/dcgettext.c: Remove use of INTDEF.
34904 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34905 * string/argz-stringify.c: Likewise.
34906 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34907 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34908 Declare hidden proto.
d18ea0c5
AS
34909 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34910 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34911 Declare hidden proto.
34912 * include/stdio.h (__asprintf_internal): Don't declare.
34913 (__asprintf): Don't define as macro. Declare hidden proto.
34914 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34915 (__fsetlocking): Declare hidden proto.
34916 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34917 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34918 hidden proto.
34919 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34920 (_IO_setlinebuf): Remove use of INTUSE.
34921 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34922 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34923 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34924 Remove declaration.
34925 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34926 (_IO_do_flush): Remove use of INTUSE.
34927 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34928 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34929 (_IO_adjust_column, _IO_least_wmarker)
34930 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34931 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34932 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34933 (_IO_default_doallocate, _IO_wdefault_doallocate)
34934 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34935 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34936 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34937 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34938 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34939 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34940 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34941 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34942 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34943 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34944 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34945 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34946 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34947 proto.
34948 (_IO_flush_all_internal, _IO_adjust_column_internal)
34949 (_IO_default_uflow_internal, _IO_default_finish_internal)
34950 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34951 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34952 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34953 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34954 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34955 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34956 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34957 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34958 (_IO_file_close_internal, _IO_file_close_it_internal)
34959 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34960 (_IO_file_init_internal, _IO_file_attach_internal)
34961 (_IO_file_fopen_internal, _IO_file_read_internal)
34962 (_IO_file_sync_internal, _IO_file_seek_internal)
34963 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34964 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34965 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34966 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34967 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34968 (_IO_list_all_internal, _IO_link_in_internal)
34969 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34970 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34971 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34972 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34973 (_IO_do_write_internal, _IO_padn_internal)
34974 (_IO_getline_info_internal, _IO_getline_internal)
34975 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34976 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34977 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34978 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34979 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34980 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34981 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34982 with libc_hidden_ver, remove use of INTUSE.
34983 * libio/genops.c: Likewise.
34984 * libio/freopen.c: Likewise.
34985 * libio/freopen64.c: Likewise.
34986 * libio/iofclose.c: Likewise.
34987 * libio/iofdopen.c: Likewise.
34988 * libio/iofflush.c: Likewise.
34989 * libio/iofflush_u.c: Likewise.
34990 * libio/iofgets.c: Likewise.
34991 * libio/iofgets_u.c: Likewise.
34992 * libio/iofopen.c: Likewise.
34993 * libio/iofopncook.c: Likewise.
34994 * libio/iofread.c: Likewise.
34995 * libio/iofread_u.c: Likewise.
34996 * libio/ioftell.c: Likewise.
34997 * libio/iofwrite.c: Likewise.
34998 * libio/iogetline.c: Likewise.
34999 * libio/iogets.c: Likewise.
35000 * libio/iogetwline.c: Likewise.
35001 * libio/iopadn.c: Likewise.
35002 * libio/iopopen.c: Likewise.
35003 * libio/ioseekoff.c: Likewise.
35004 * libio/ioseekpos.c: Likewise.
35005 * libio/iosetbuffer.c: Likewise.
35006 * libio/iosetvbuf.c: Likewise.
35007 * libio/ioungetc.c: Likewise.
35008 * libio/ioungetwc.c: Likewise.
35009 * libio/iovdprintf.c: Likewise.
35010 * libio/iovsprintf.c: Likewise.
35011 * libio/iovsscanf.c: Likewise.
35012 * libio/memstream.c: Likewise.
35013 * libio/obprintf.c: Likewise.
35014 * libio/oldfileops.c: Likewise.
35015 * libio/oldiofclose.c: Likewise.
35016 * libio/oldiofdopen.c: Likewise.
35017 * libio/oldiofopen.c: Likewise.
35018 * libio/oldiopopen.c: Likewise.
35019 * libio/oldstdfiles.c: Likewise.
35020 * libio/putc.c: Likewise.
35021 * libio/setbuf.c: Likewise.
35022 * libio/setlinebuf.c: Likewise.
35023 * libio/stdfiles.c: Likewise.
35024 * libio/strops.c: Likewise.
35025 * libio/vasprintf.c: Likewise.
35026 * libio/vscanf.c: Likewise.
35027 * libio/vsnprintf.c: Likewise.
35028 * libio/vswprintf.c: Likewise.
35029 * libio/wfiledoalloc.c: Likewise.
35030 * libio/wfileops.c: Likewise.
35031 * libio/wgenops.c: Likewise.
35032 * libio/wmemstream.c: Likewise.
35033 * libio/wstrops.c: Likewise.
35034 * libio/__fpurge.c: Likewise.
35035 * libio/__fsetlocking.c: Likewise.
35036 * assert/assert.c: Likewise.
35037 * debug/fgets_chk.c: Likewise.
35038 * debug/fgets_u_chk.c: Likewise.
35039 * debug/fread_chk.c: Likewise.
35040 * debug/fread_u_chk.c: Likewise.
35041 * debug/gets_chk.c: Likewise.
35042 * debug/obprintf_chk.c: Likewise.
35043 * debug/vasprintf_chk.c: Likewise.
35044 * debug/vdprintf_chk.c: Likewise.
35045 * debug/vsnprintf_chk.c: Likewise.
35046 * debug/vsprintf_chk.c: Likewise.
35047 * malloc/mtrace.c: Likewise.
35048 * misc/error.c: Likewise.
35049 * misc/syslog.c: Likewise.
35050 * stdio-common/asprintf.c: Likewise.
35051 * stdio-common/fxprintf.c: Likewise.
35052 * stdio-common/getw.c: Likewise.
35053 * stdio-common/isoc99_fscanf.c: Likewise.
35054 * stdio-common/isoc99_scanf.c: Likewise.
35055 * stdio-common/isoc99_vfscanf.c: Likewise.
35056 * stdio-common/isoc99_vscanf.c: Likewise.
35057 * stdio-common/isoc99_vsscanf.c: Likewise.
35058 * stdio-common/printf-prs.c: Likewise.
35059 * stdio-common/printf_fp.c: Likewise.
35060 * stdio-common/printf_fphex.c: Likewise.
35061 * stdio-common/printf_size.c: Likewise.
35062 * stdio-common/putw.c: Likewise.
35063 * stdio-common/scanf.c: Likewise.
35064 * stdio-common/sprintf.c: Likewise.
35065 * stdio-common/tmpfile.c: Likewise.
35066 * stdio-common/vfprintf.c: Likewise.
35067 * stdio-common/vfscanf.c: Likewise.
35068 * stdlib/strfmon_l.c: Likewise.
35069 * sunrpc/openchild.c: Likewise.
35070 * sunrpc/xdr_stdio.c: Likewise.
35071 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35072 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35073
d6c33fda
RM
350742012-05-24 Roland McGrath <roland@hack.frob.com>
35075
c1487492
RM
35076 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35077
35078 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35079 in the third column, to generate for the shared library an IFUNC
35080 that uses _dl_vdso_vsym.
35081 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35082 * Makeconfig (object-suffixes-noshared): New variable.
35083
35084 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35085 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35086 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35087 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35088
d6c33fda
RM
35089 [BZ #14132]
35090 * include/sys/time.h (__gettimeofday): Remove macro.
35091 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35092 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35093 Remove INTDEF.
35094 (__gettimeofday): Add libc_hidden_def.
35095 (gettimeofday): Add libc_hidden_weak.
35096 * sysdeps/mach/gettimeofday.c: Likewise.
35097 * sysdeps/posix/gettimeofday.c: Likewise.
35098 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35099 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35100 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35101 (__gettimeofday_internal): Remove strong_alias.
35102 (__gettimeofday): Add libc_hidden_def.
35103 (gettimeofday): Add libc_hidden_weak.
35104 * sysdeps/unix/syscalls.list (gettimeofday):
35105 Remove __gettimeofday_internal alias.
35106
b5a2bbe6
L
351072012-05-24 Daniel Jacobowitz <drow@false.org>
35108 H.J. Lu <hongjiu.lu@intel.com>
35109
35110 [BZ #12495]
35111 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35112 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35113 (largebin_index_32_big): New.
35114 (largebin_index): Use it for 16-byte alignment.
35115 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35116 correction with front_misalign.
35117
cfba4fda
L
351182012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35119
7f907421
L
35120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35122 Likewise.
35123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35124 Likewise.
35125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35126 Likewise.
35127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35128 Likewise.
35129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35130 Likewise.
35131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35132 Likewise.
35133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35134 Likewise.
35135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35136 Likewise.
35137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35138 Likewise.
35139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35140 Likewise.
35141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35142 Likewise.
35143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35144 Likewise.
35145
cfba4fda
L
35146 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35147 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35148
80bad0cc
JM
351492012-05-24 Joseph Myers <joseph@codesourcery.com>
35150
7a25eb06
JM
35151 [BZ #10846]
35152 [BZ #14036]
35153 * math/libm-test.inc (exp_test): Add test from bug 14036.
35154 (pow_test): Add test from bug 10846.
35155
795405f9
JM
35156 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35157 and other flags.
35158 (special_function): Do not include flags in test name.
35159 (parse_args): Likewise.
35160 * sysdeps/i386/fpu/libm-test-ulps: Update.
35161 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35162 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35163 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35165
80bad0cc
JM
35166 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35167 exceptions.
35168 * math/libm-test.inc ("Philosophy"): Update comment about
35169 exception testing.
35170 (UNDERFLOW_EXCEPTION): New macro.
35171 (UNDERFLOW_EXCEPTION_OK): Likewise.
35172 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35173 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35174 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35175 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35176 (INVALID_EXCEPTION_OK): Update value.
35177 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35178 (OVERFLOW_EXCEPTION_OK): Likewise.
35179 (IGNORE_ZERO_INF_SIGN): Likewise.
35180 (test_exceptions): Handle underflow exceptions.
35181 (acos_test): Update for underflow exception expectations.
35182 (cexp_test): Likewise.
35183 (clog_test): Likewise.
35184 (clog10_test): Likewise.
35185 (csqrt_test): Likewise.
35186 (ctan_test): Likewise.
35187 (ctanh_test): Likewise.
35188 (exp_test): Likewise.
35189 (exp10_test): Likewise.
35190 (exp2_test): Likewise.
35191 (expm1_test): Likewise.
35192 (fma_test): Likewise.
35193 (j0_test): Likewise.
35194 (jn_test): Likewise.
35195 (nexttoward_test): Likewise.
35196 (pow_test): Likewise.
35197 (scalbn_test): Likewise.
35198 (scalbln_test): Likewise.
35199 (tan_test): Likewise.
35200 (y1_test): Likewise.
35201 * sysdeps/i386/fpu/libm-test-ulps: Update.
35202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35203
9e0e3d0b
DM
352042012-05-23 David S. Miller <davem@davemloft.net>
35205
35206 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35207 (__libc_sigaction): Remove unused local variables.
35208
ccd0a08f
L
352092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35210
35211 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35212
62bdf9a6
PE
352132012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35214
f8591f80
PE
35215 mktime: avoid signed integer overflow
35216 * time/mktime.c (__mktime_internal): Do not mishandle the case
35217 where diff == INT_MIN.
35218
94c7d826
PE
35219 mktime: simplify computation of average
35220 * time/mktime.c (ranged_convert): Use new time_t_avg function
35221 instead of rolling our own (probably-slower) code.
35222
ce73d683
PE
35223 mktime: do not assume signed right shift propagates sign bit
35224 * time/mktime.c (isdst_differ): New static function.
35225 (__mktime_internal): No need to normalize tm_isdst now.
35226 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35227 tm_isdst values.
35228
72a22e59
PE
35229 mktime: merge another wrapv change from gnulib
35230 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35231 from some compilers.
35232
68605433
PE
35233 mktime: remove incorrect attempt at unusual arithmetics
35234 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35235 The code didn't really work on such machines anyway.
35236 (TYPE_MINIMUM): Assume two's complement.
35237 (twos_complement_arithmetic): Verify that long_int and time_t
35238 are two's complement (or unsigned, in the latter case).
35239
03cf7fe3
PE
35240 mktime: check signed shifts on long_int and time_t, too
35241 * time/mktime.c (SHR): Check that shifts work as desired
35242 on the types long_int and time_t too, as SHR is used on
35243 such types.
35244
f04dfbc2
PE
35245 mktime: do not assume 'long' is wide enough
35246 * time/mktime.c (verify): Move decl up.
35247 (long_int): New type.
35248 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35249 to remove assumption in the code that 'long' is wide enough to
35250 store year values. This assumption is not true on x32 and on
35251 some non-glibc platforms.
35252
62bdf9a6
PE
35253 mktime: merge wrapv change from gnulib
35254 * time/mktime.c (WRAPV): New macro.
35255 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35256 (guess_time_tm, __mktime_internal): Do not assume that signed
35257 integer overflow wraps around; modern compilers generate code
35258 where this assumption is no longer valid.
35259
5e292e4f
L
352602012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35261
35262 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35263 Replace "jmp L(pseudo_end)" with "ret".
35264 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35265 Likewise.
35266
8caf8c87
AJ
352672012-05-23 Andreas Jaeger <aj@suse.de>
35268
35269 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35270 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35271
1a09dc56
AJ
352722012-05-23 Andreas Jaeger <aj@suse.de>
35273 Maximilian Attems <max@stro.at>
35274
35275 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35276 New macros.
35277
1c87aba0
L
352782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35279
35280 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35281 code so that pseudo_end is just ret and the stack pointer is
35282 correct also for static library in error case.
35283
40e45bd5
JM
352842012-05-23 Joseph Myers <joseph@codesourcery.com>
35285
c2670533
JM
35286 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35287 move to syscalls.list.
35288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35292
40e45bd5
JM
35293 * manual/install.texi (Running make install): Do not mention Linux
35294 kernel version for which pt_chown is not needed.
35295 (Linux): Do not mention problems with nscd with 2.0 kernels.
35296 * INSTALL: Regenerated.
35297
be08eda5
AJ
352982012-05-23 Andreas Jaeger <aj@suse.de>
35299
35300 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35301 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35302 macro.
35303 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35304 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35305 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35306 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35307 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35308 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35309 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35310 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35311 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35312 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35313 * sysdeps/unix/sysv/linux/bits/in.h
35314 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35315
a6a056bb
RM
353162012-05-22 Roland McGrath <roland@hack.frob.com>
35317
35318 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35319 (PREPARE_VERSION): Just use assert instead, it will be elided
35320 under [NDEBUG] anyway.
35321
c9009328
L
353222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35323
35324 * sysdeps/unix/sysv/linux/Makefile: Include
35325 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 35326 (sysdep_routines): Remove sysctl.
c9009328
L
35327 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35328 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35329 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35330 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35331 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35332
73338355
AJ
353332012-05-22 Andreas Jaeger <aj@suse.de>
35334
35335 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35336 that pseudo_end is just ret and the stack pointer is correct also
35337 for static library in error case.
35338
d44638b0
PP
353392012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35340
35341 [BZ #14122]
35342 * nss/nsswitch.c (defconfig_entries): New variable.
35343 (__nss_database_lookup): Don't leak defconfig entries.
35344 (nss_parse_service_list): Don't leak on error paths.
35345 (free_database_entries): New function.
35346 (free_defconfig): New function.
35347 (free_mem): Move common code to free_database_entries.
35348
31a39bd8
L
353492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35350
da0331a8
L
35351 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35352 Add arch_prctl.
35353 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35354
31a39bd8
L
35355 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35356 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35357 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35358 New macro.
35359 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35360 (INTERNAL_SYSCALL_TYPES): Likewise.
35361 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35362 (LOAD_REGS_TYPES_[1-6]): Likewise.
35363 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35364 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35365
45470df3
AZ
353662012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35367
35368 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35369 copysignl for GLIBC_2_0.
35370 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35371 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35372 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35373 logbl for GLIBC_2_0.
35374 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35375 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35376
98a61bcb
L
353772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35378
a4f6e481
L
35379 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35380 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35381
f63d5db6
L
35382 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35383 Use "neg %eax".
35384
98a61bcb
L
35385 * time/mktime.c: Update copyright years.
35386
95770f14
PE
353872012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35388
6226efbd
PE
35389 mktime: merge comment-quoting-style change from gnulib
35390 * time/mktime.c: Quote 'like this' in comments.
35391 The GNU coding standards suggest that we no longer quote `like this',
35392 as "`" and "'" are typically rendered asymmetrically nowadays.
35393 The typical gnulib style is to quote 'like this' when quoting
35394 code, and "like this" when quoting English.
35395
b99e4f78
PE
35396 * time/mktime.c (compile-command): Add "-I.".
35397
643e01e6
PE
35398 mktime: merge mktime-internal.h change from gnulib
35399 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35400
2554247d
PE
35401 mktime: merge time_r change from gnulib
35402 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35403
826dd0ab
PE
35404 mktime: merge DEBUG change from gnulib
35405 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35406 case system <time.h> has a #define.
35407
bd83aabe
PE
35408 mktime: merge <sys/types.h> change from gnulib
35409 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35410 since <time.t> is now guaranteed to define time_t.
35411
95770f14
PE
35412 mktime: merge HAVE_CONFIG_H change from gnulib
35413 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35414
5e1a27a9
L
354152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35416
0e44a77e
L
35417 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35418 Use "neg %eax".
35419
5e1a27a9
L
35420 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35421 __rlim_t cast.
35422 (struct rusage): Use anonymous union to pad each field to
35423 __syscall_slong_t.
35424
46259bec
DM
354252012-05-21 David S. Miller <davem@davemloft.net>
35426
35427 * Makefules (o-iterator): Remove .s cases.
35428 (compile-command.s): Delete.
35429 (COMPILE.s): Delete.
35430 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35431
59f0c22e
JM
354322012-05-21 Joseph Myers <joseph@codesourcery.com>
35433
35434 * configure.in (libc_cv_predef_stack_protector): Only consider
35435 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35436 * configure: Regenerated.
35437
20c07380
L
354382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35439
bbb3154b
L
35440 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35441 New macro. Use R*LP on int and pointer.
35442 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
35443 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35444 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
35445 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35446
20c07380
L
35447 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35448 [__WORDSIZE_TIME64_COMPAT32] instead of
35449 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35450 (struct utmp): Likewise.
35451 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35452 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35453 Renamed to ...
35454 (__WORDSIZE_TIME64_COMPAT32): This.
35455 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35456 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35457 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35458 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35459 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35460 (__WORDSIZE_TIME64_COMPAT32): New macro.
35461
d8d1017e
AJ
354622012-05-21 Andreas Jaeger <aj@suse.de>
35463
35464 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35465 only if [SHARED]. Add prototype for __wcschr_ia32.
35466
6c7fb145
RM
354672012-05-21 Roland McGrath <roland@hack.frob.com>
35468
35469 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35470 of %rbp unmolested in the jmp_buf while mangling the low bits.
35471 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35472 unmolested high bits of %rbp while demangling the low bits.
35473 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35474
66274218
AJ
354752012-05-21 Andreas Jaeger <aj@suse.de>
35476
07c58f8f
AJ
35477 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35478 * sunrpc/svc_simple.c: Use it for registerrpc.
35479 * sunrpc/xcrypt.c: Use it for passwd2des.
35480
66274218
AJ
35481 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35482
61f65140
L
354832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35484
35485 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35486 Don't define if [__SYSCALL_WORDSIZE != 32].
35487 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35488 New macro.
35489
5fefb436
AJ
354902012-05-21 Bruno Haible <bruno@clisp.org>
35491 Andreas Jaeger <aj@suse.de>
35492
35493 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35494 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35495 inptr and inend for must_buffer_ch.
35496 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35497 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35498 * stdio-common/Makefile (tests): Remove bug15.
35499 (bug15-ENV): Remove macro.
35500 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35501 anymore.
35502
d8e272ab
AJ
355032012-05-19 Andreas Jaeger <aj@suse.de>
35504 Roland McGrath <roland@hack.frob.com>
35505
35506 * manual/contrib.texi: Completely rewritten. It contains now an
35507 alphabetical list of contributors and their contributions.
35508
4a56a162
RH
355092012-05-21 Richard Henderson <rth@twiddle.net>
35510
35511 * misc/getauxval.c (__getauxval): Use unsigned long int.
35512 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35513 (getauxval): Use unsigned long int.
35514
d024d23c
L
355152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35516
35517 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35518
cbc00a03
RM
355192012-05-21 Roland McGrath <roland@hack.frob.com>
35520
35521 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35522 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35523 __alignof__ (long double).
35524
478143fa
AZ
355252012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35526
35527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35528
c7683a6d
RH
355292012-05-20 Richard Henderson <rth@twiddle.net>
35530
35531 * misc/getauxval.c: New file.
35532 * misc/sys/auxv.h: New file.
35533 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35534 (routines): Add getauxval.
35535 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35536 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35537 * elf/dl-sysdep.c (_dl_auxv): Remove.
35538 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35539 * elf/dl-support.c (_dl_auxv): New variable.
35540 (_dl_aux_init): Initialize it.
35541 * manual/startup.texi (Auxiliary Vector): New node.
35542 * sysdeps/generic/bits/hwcap.h: New file.
35543 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35544 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35545 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35546 * sysdeps/sparc/sysdep.h: ... here. Include it.
35547 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35548 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
35549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35550 Update.
c7683a6d
RH
35551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35554 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35559
a6f1845d
AZ
355602012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35561
35562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35563
cbcbe830
DM
355642012-05-19 David S. Miller <davem@davemloft.net>
35565
35566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35567
e0b16cc2
JM
355682012-05-19 Joseph Myers <joseph@codesourcery.com>
35569
35570 [BZ #14123]
35571 * math/s_ccosh.c: Include <float.h>
35572 (__ccosh): Avoid internal overflow calculating sinh and cosh
35573 values before multiplying by sin and cos values.
35574 * math/s_ccoshf.c: Likewise.
35575 * math/s_ccoshl.c: Likewise.
35576 * math/s_csin.c: Likewise.
35577 * math/s_csinf.c: Likewise.
35578 * math/s_csinl.c: Likewise.
35579 * math/s_csinh.c: Likewise.
35580 * math/s_csinhf.c: Likewise.
35581 * math/s_csinhl.c: Likewise.
35582 * math/libm-test.inc (ccos_test): Add more tests.
35583 (ccosh_test): Likewise.
35584 (csin_test): Likewise.
35585 (csinh_test): Likewise.
35586 * sysdeps/i386/fpu/libm-test-ulps: Update.
35587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35588
6ad13e08
L
355892012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35590
f66f0ce8
L
35591 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35592 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35593
6ad13e08
L
35594 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35595
b1d072a7
JM
355962012-05-19 Joseph Myers <joseph@codesourcery.com>
35597
35598 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35599 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35600 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35601 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35602 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35603 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35604 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35605 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35606 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35607 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35608 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35609 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35610 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35611 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35612 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35613 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35614 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35615 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35616 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35617 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35618 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35619 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35620 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35621 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35622 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35623 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35624 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35625 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35626 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35627 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35628 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35629
9eae47cb
AJ
356302012-05-18 Andreas Jaeger <aj@suse.de>
35631
35632 * csu/.gitignore: Delete.
35633
bb07f69f
L
356342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35635
35636 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35637 (timex): Use __syscall_slong_t.
35638
e6bdb741
AJ
356392012-05-18 Andreas Jaeger <aj@suse.de>
35640 Carlos O'Donell <carlos_odonell@mentor.com>
35641
35642 * manual/install.texi (Configuring and compiling): Update
35643 description about files modified in the source directory.
d6c33fda 35644 * INSTALL: Regenerated.
e6bdb741 35645
1b74487e
L
356462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35647
35648 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35649 value. Use "or" to set return value to -1.
35650 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35651 negate return value.
35652
a88b64b9
TMQMF
356532012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35654
57f41c40
AS
35655 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35656 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
35657 failure if the compiler has Graphite support disabled.
35658 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35659 Likewise.
57f41c40
AS
35660 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35661 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
35662 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35663 Likewise.
35664
3707636e
L
356652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35666
610b8622
L
35667 * sysdeps/x86_64/x32/_itoa.h: New file.
35668
7cd195df
L
35669 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35670 getdents system call only if kernel and user dirents have the
35671 same d_ino and d_off.
35672
94b07d20
L
35673 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35674 LLONG_MAX != LONG_MAX.
35675 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35676 (_fitoa_word): Likewise.
35677
18298070
L
35678 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35679 years.
35680 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35681 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35682 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35683
553c7ea4
L
35684 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35685 include <bits/wordsize.h>. Check __x86_64__ instead of
35686 __WORDSIZE.
35687 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35688 if __x86_64__ is defined. Use anonymous union on fpstate.
35689
3707636e
L
35690 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35691 anonymous union.
35692
b53ef01a
AS
356932012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35694
37fb1dc0
AS
35695 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35696 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35697 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35698 Refer to _rtld_local_ro instead of _rtld_global_ro.
35699 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35700 Likewise.
35701 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35702 Likewise.
35703 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35704 Likewise.
35705 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35706 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35707 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35708
b53ef01a
AS
35709 * sysdeps/powerpc/powerpc32/dl-machine.c
35710 (__elf_machine_runtime_setup) [PROF]: Don't reference
35711 _dl_prof_resolve.
35712
7a185db2
AJ
357132012-05-18 Andreas Jaeger <aj@suse.de>
35714
35715 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35716 function only available for GCCs before 3.4 since GCC 3.4
35717 introduced a builtin.
35718 (lrint): Likewise.
35719 (llrintf): Likewise.
35720 (llrint): Likewise.
35721 (fmaxf): Likewise.
35722 (fmax): Likewise.
35723 (fminf): Likewise.
35724 (fmin): Likewise.
35725 (rint): Likewise.
35726 (rintf): Likewise.
35727 (nearbyint): Likewise.
35728 (nearbyintf): Likewise.
35729 (ceil): Likewise.
35730 (ceilf): Likewise.
35731 (floor): Likewise.
35732 (floorf): Likewise.
35733
3e5aef87
L
357342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35735
428bd707
L
35736 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35737 on both fields and cast pointer to __syscall_ulong_t.
35738
3e5aef87
L
35739 * bits/types.h (__fsword_t): New type.
35740 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35741 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35742 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35743 (__FSWORD_T_TYPE): Likewise.
35744 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35745 (__FSWORD_T_TYPE): Likewise.
35746 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35747 (__FSWORD_T_TYPE): Likewise.
35748 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35749 (__FSWORD_T_TYPE): Likewise.
35750 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35751 __SWORD_TYPE with __fsword_t.
35752 (statfs64): Likewise.
35753
1ba7c3dc
DM
357542012-05-17 David S. Miller <davem@davemloft.net>
35755
35756 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35757
59910343
AJ
357582012-05-17 Andreas Jaeger <aj@suse.de>
35759
35760 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35761 warning.
35762
2e4c1e9e
L
357632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35764
35765 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35766
de7f5ce7
AJ
357672012-05-17 Andreas Jaeger <aj@suse.de>
35768
35769 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35770 when it is used.
35771
286abc3d
CM
357722012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35773
35774 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35775
477cc68e
L
357762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35777
35778 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35779 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35780
1a0994f5
CD
357812012-05-17 Andreas Jaeger <aj@suse.de>
35782 Carlos O'Donell <carlos_odonell@mentor.com>
35783
35784 [BZ #14059]
35785 * sysdeps/x86_64/multiarch/init-arch.h
35786 (bit_YMM_Usable): Rename to...
35787 (bit_AVX_Usable): ... this.
35788 (bit_FMA4_Usable): New macro.
35789 (bit_XMM_state): New macro.
35790 (bit_YMM_state): New macro.
35791 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35792 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35793 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35794 (CPUID_OSXSAVE): New macro.
35795 (CPUID_AVX): New macro.
35796 (CPUID_FMA4): New macro.
35797 (index_YMM_Usable): Rename to...
35798 (index_AVX_Usable): ... this.
35799 (HAS_AVX): Use HAS_ARCH_FEATURE.
35800 (HAS_FMA4): Likewise.
35801 (HAS_YMM_USABLE): Remove.
35802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35803 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35804 are present.
35805 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35806 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35807 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35808 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35809 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35810
0af797de
CM
358112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35812
35813 * math/libm-test.c: Support platforms without multiple rounding modes.
35814 * math/bug-nextafter.c: Support platforms without FP exceptions.
35815 * math/bug-nexttoward.c: Likewise.
35816 * math/test-fenv.c: Likewise.
35817 * math/test-misc.c: Likewise.
35818 * stdlib/bug-getcontext.c: Likewise.
35819
e39745ff
AJ
358202012-05-17 Andreas Jaeger <aj@suse.de>
35821
35822 * manual/examples/search.c (critter_cmp): Change signature to
35823 avoid warnings.
35824 * manual/string.texi (Collation Functions): Likewise.
35825
48970aba
L
358262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35827
35828 * bits/types.h: Fold copyright years.
35829 * bits/typesizes.h: Likewise.
35830 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35831 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35832 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35833 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35834 * time/time.h: Likewise.
35835
bedee953
PP
358362012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35837
35838 [BZ #208]
35839 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35840 in instead of returning them. Return void.
35841 (__libc_mallinfo): Accumulate over all arenas.
35842 (__malloc_stats): Adjust for change in int_mallinfo interface.
35843
61653dfb
RM
358442012-05-16 Roland McGrath <roland@hack.frob.com>
35845
30b99d79
RM
35846 [BZ #10375]
35847 * configure.in (NM): Add AC_CHECK_TOOL for it.
35848 (libc_extra_cflags): New substituted variable.
35849 Check for -fstack-protector being used implicitly.
35850 * configure: Regenerated.
35851 * config.make.in (config-extra-cflags): New variable,
35852 gets @libc_extra_cflags@.
35853 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35854
61653dfb
RM
35855 [BZ #10375]
35856 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35857 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35858 * configure: Regenerated.
35859 * config.make.in (CPPUNDEFS): New substituted variable.
35860 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35861 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35862 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35863
661768bb
L
358642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35865
35866 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35867 (mq_attr): Use __syscall_slong_t.
35868
d4261567
L
358692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35870
35871 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35872 Check __x86_64__ instead of __WORDSIZE.
35873 (_STAT_VER_LINUX): Likewise.
35874 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35875 __syscall_ulong_t and __syscall_slong_t.
35876 (stat64): Likewise.
35877
cf3ff365
L
358782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35879
35880 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35881
76cf3e4d
L
358822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35883
35884 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35885
a637753a
L
358862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35887
35888 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35889 __syscall_ulong_t.
35890
d5e05119
L
35891 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35892 include <bits/wordsize.h>. Check __x86_64__ instead of
35893 __WORDSIZE.
35894 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35895 defined.
35896 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35897
f62ee380
L
35898 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35899 include <bits/wordsize.h>. Check __x86_64__ instead of
35900 __WORDSIZE.
35901 (user_regs_struct): Use "__extension__ unsigned long long"
35902 instead of "unsigned long" if __x86_64__ is defined.
35903 (user): Likewise. Pad after pointer field if __ILP32__ is
35904 defined.
35905
4e124ced
JM
359062012-05-16 Joseph Myers <joseph@codesourcery.com>
35907
6a3951a0
JM
35908 * configure.in (makeinfo): Require version 4.5 or later. Allow
35909 versions 5 to 9.
35910 * configure: Regenerated.
35911 * manual/install.texi (texinfo): Increase version requirement to
35912 4.5 or later.
35913 * INSTALL: Regenerated.
35914
4e124ced
JM
35915 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35916
953ca31a
L
359172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35918
35919 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35920
617aca05
L
35921 * sysdeps/x86_64/x32/ffs.c: New file.
35922
5762f7ae
L
35923 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35924 __syscall_ulong_t.
35925 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35926 defined. Use __syscall_ulong_t.
35927 (shminfo): Use __syscall_ulong_t.
35928 (shm_info): Likewise.
35929
a26b6856
L
35930 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35931 __syscall_ulong_t.
35932
cb2b9ef7
L
35933 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35934 <bits/wordsize.h>.
35935 (msgqnum_t): Use __syscall_ulong_t.
35936 (msglen_t): Likewise.
35937 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35938 __syscall_ulong_t.
35939
34683bb0
L
35940 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35941 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35942
84a68786
L
35943 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35944
48baa5f1
L
35945 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35946 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35947
180be88b
L
35948 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35949 __syscall_slong_t.
35950
5e90c8ad
L
35951 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35952 include <bits/wordsize.h>. Check __x86_64__ instead of
35953 __WORDSIZE.
35954
23dfb58b
L
35955 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35956 "unsigned long long int" if __x86_64__ is defined.
35957 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35958
ce5d54b0
L
35959 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35960 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35961 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35962
13dc9eac
L
35963 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35964 <stdint.h>.
35965 (GET_PC): Cast to uintptr_t first.
35966 (GET_FRAME): Likewise.
35967 (GET_STACK): Likewise.
35968
a7895d15
L
35969 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35970 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35971 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35972 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35973 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35974 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35975 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35976 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35977 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35978 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35979 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35980 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35981 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35982 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35983 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35984 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35985 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35986 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35987 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35988 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35989 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35990 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35991 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35992 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35993 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35994 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35995 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35996 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35997 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35998
656416c9
AS
359992012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36000
5bd66283
AS
36001 * Makerules (+depfiles): Also collect depfiles from .oS in
36002 $(extra-objs).
36003 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36004 .oS, $(libnldbl-routines)).
36005
656416c9
AS
36006 * Makerules (native-compile-mkdep-flags): Define.
36007 * sunrpc/Makefile (extra-objs): Add $(addprefix
36008 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36009 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36010 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36011 calling $(make-target-directory).
36012
a46f2169
L
360132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36014
36015 * bits/types.h (__snseconds_t): Removed.
36016 * time/time.h (struct timespec): Replace __snseconds_t with
36017 __syscall_slong_t.
36018 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36019 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36020 Likewise.
36021 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36022 (__SNSECONDS_T_TYPE): Likewise.
36023 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36024 (__SNSECONDS_T_TYPE): Likewise.
36025 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36026 (__SNSECONDS_T_TYPE): Likewise.
36027
6af6528b
L
360282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36029
36030 * sysdeps/mach/hurd/bits/typesizes.h
36031 (__SYSCALL_SLONG_TYPE): New macro.
36032 (__SYSCALL_ULONG_TYPE): Likewise.
36033
de986b56
L
360342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36035
36036 * bits/types.h (__syscall_slong_t): New type.
36037 (__syscall_ulong_t): Likewise.
36038
36039 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36040 (__SYSCALL_ULONG_TYPE): Likewise.
36041 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36042 (__SYSCALL_SLONG_TYPE): Likewise.
36043 (__SYSCALL_ULONG_TYPE): Likewise.
36044 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36045 (__SYSCALL_SLONG_TYPE): Likewise.
36046 (__SYSCALL_ULONG_TYPE): Likewise.
36047 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36048 (__SYSCALL_SLONG_TYPE): Likewise.
36049 (__SYSCALL_ULONG_TYPE): Likewise.
36050
85736dc7
L
360512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36052
36053 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36054 Add sigaltstack-offsets.sym.
36055 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36056 <sigaltstack-offsets.h>.
36057 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36058 longjmp_msg pointer.
36059 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36060 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36061 signal stack.
36062 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36063
cc03b296
JM
360642012-05-15 Joseph Myers <joseph@codesourcery.com>
36065
a9538892
JM
36066 * elf/stackguard-macros.h: Remove file.
36067 * sysdeps/generic/stackguard-macros.h: New file.
36068 * sysdeps/i386/stackguard-macros.h: Likewise.
36069 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36070 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36071 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36072 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36073 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36074 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36075 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36076 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36077 <elf/stackguard-macros.h>.
36078
cc03b296
JM
36079 [BZ #14109]
36080 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36081 __aligned__ in attribute.
36082 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36083 (gregset_t): Likewise.
36084
93171016
L
360852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36086
36087 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36088 * sysdeps/x86_64/64/Implies-after: Here. New file.
36089 * sysdeps/x86_64/x32/Implies-after: New file.
36090
d86813a0
L
360912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36092
36093 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36094 and access return value for _dl_profile_fixup. Use R10_LP to
36095 load frame size.
36096
2953ec75
L
360972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36098
36099 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36100
3b550e9e
L
361012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36102
36103 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36104 * sysdeps/x86_64/x32/sysdep.h: New file.
36105
eda41706
L
361062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36107
36108 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36109 * sysdeps/x86_64/setjmp.S: Likewise.
36110
9ea01d93
AZ
361112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36112
36113 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36114 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36115 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36116 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36117 remove unused global constant.
36118
02a91938
CM
361192012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36120
36121 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36122 include of <not-cancel.h>.
36123
6540185f
RM
361242012-05-15 Roland McGrath <roland@hack.frob.com>
36125
36126 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36127
509072a0
AJ
361282012-05-15 Jeff Law <law@redhat.com>
36129 Andreas Jaeger <aj@suse.de>
36130
36131 [BZ #13594]
36132 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36133 out from...
36134 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36135 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36136 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36137 code changing __hst_map_handle.map.
36138
ba75122d
RM
361392012-05-15 Roland McGrath <roland@hack.frob.com>
36140
36141 * configure.in (sysnames): Look for Implies-before and Implies-after
36142 files.
36143 * configure: Regenerated.
36144
890d8bd8
L
361452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36146
36147 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36148 8-byte data alignment with LP_SIZE alignment.
36149
f6ee6623
L
361502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36151
36152 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36153 into R10_LP.
36154
ea2626f6
L
361552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36156
36157 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36158
085f715e
L
361592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36160
36161 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36162 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36163 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36164 Likewise.
36165 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36166
be8498fc
L
361672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36168
36169 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36170 (stackinfo_sub_sp): Likewise.
36171
70bc83b9
L
361722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36173
36174 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36175 RAX_LP.
36176
9bc0b730
L
361772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36178
36179 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36180 into R*_LP.
36181
6d2850e7
L
361822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36183
36184 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36185 sizes into R*_LP.
36186
3cb84561
L
361872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36188
36189 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36190
54e2ed81
L
361912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36192
36193 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36194 into R11_LP and load __x86_64_shared_cache_size_half into
36195 R8_LP.
36196
8a17f349
L
361972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36198
36199 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36200 R8_LP.
36201
777b1eea
AZ
362022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36203
36204 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36205 logb for POWER7.
36206 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36207 logbf for POWER7.
36208 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36209 logbl for POWER7.
36210 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36211 powerpc32/power7/fpu/s_logb.c via #include.
36212 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36213 powerpc32/power7/fpu/s_logbf.c via #include.
36214 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36215 powerpc32/power7/fpu/s_logbl.c via #include.
36216
d20d4ac2
JM
362172012-05-15 Joseph Myers <joseph@codesourcery.com>
36218
36219 * README.libm: Remove file.
36220
6cdef1ab
L
362212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36222
36223 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36224 count for x32. Use R*_LP and omit operand-size suffix.
36225
0b254d8f
L
362262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36227
36228 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36229 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36230 * sysdeps/x86_64/x32/shlib-versions: New file.
36231
ceb809dc
RM
362322012-05-14 Roland McGrath <roland@hack.frob.com>
36233
36234 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36235 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36236 Use _dl_fatal_printf instead.
36237
37f1abd4
JM
362382012-05-14 Joseph Myers <joseph@codesourcery.com>
36239
36240 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36241 set if not set by the user. Do not allow for being unset.
36242 * sysdeps/unix/sysv/linux/configure: Regenerated.
36243
11de3a33
L
362442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36245
36246 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36247 the `q' suffix from lea and replace .quad with ASM_ADDR.
36248
e02f153a
L
362492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36250
36251 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36252 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36253 instead of $17.
36254 (PTR_DEMANGLE): Likewise.
36255
520ae0fd
L
362562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36257
36258 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36259 (LP_OP): Likewise.
36260 (ASM_ADDR): Likewise.
36261 (RAX_LP): Likewise.
36262 (RBP_LP): Likewise.
36263 (RBX_LP): Likewise.
36264 (RCX_LP): Likewise.
36265 (RDI_LP): Likewise.
36266 (RSI_LP): Likewise.
36267 (RSP_LP): Likewise.
36268 (R8_LP): Likewise.
36269 (R9_LP): Likewise.
36270 (R10_LP): Likewise.
36271 (R10_LP): Likewise.
36272 (R11_LP): Likewise.
36273 (R12_LP): Likewise.
36274 (R13_LP): Likewise.
36275 (R14_LP): Likewise.
36276 (R15_LP): Likewise.
36277
b985be81
L
362782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36279
36280 * sysdeps/x86_64/x32/dl-machine.h: New file.
36281
6a4888ff
AJ
362822012-05-14 Andreas Jaeger <aj@suse.de>
36283
36284 * manual/Makefile (subdir): Remove export of subdir.
36285 (all): Remove target.
36286 (.PHONY): Remove all from list.
36287 (mkinstalldirs): Remove.
36288 (.PHONY): Remove installdirs from list.
36289 ($(inst_infodir)/libc.info): Use make-target-directory.
36290 (installdirs): Remove.
36291 (subdir_%): Remove.
36292 (glibc-targets): Remove.
36293 (lib): Remove.
36294 (stubs): Remove.
36295 ($(objpfx)stubs ../po/manual.pot): Remove.
36296 ($(objpfx)stamp%): Remove.
36297 (make-target-directory): Remove.
36298 (subdir_install): Remove.
36299 (routines): Remove.
36300 (aux): Remove.
36301 (sources): Remove.
36302 (objects): Remove.
36303 (headers): Remove.
36304
36305 [BZ #13750]
36306 * manual/.gitignore: Remove, it's not needed anymore.
36307 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36308 all files in it.
36309 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36310 directory.
36311 (texis): Renamed to $(objpfx)texis.
36312 (texis-path): New, contains path to generated files.
36313 (chapters.%): Use texis-path for complete path, add extra argument
36314 libc-texinfo.sh.
36315 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36316 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36317 (summary,texi, stamp-summary): Use complete path of
36318 files. Generate files in build dir.
36319 (dir-add.texi): Build in build dir.
36320 (libm-err.texi,stamp-libm-err): Likewise.
36321 (version.texi, stamp-version): Likewise.
36322 (.%c.texi): Likewise.
36323 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36324 (mostlyclean): Remove target.
36325 (realclean): Remove target.
36326 (generated): Add new variable with contents from mostlyclean and
36327 realclean, remove entries duplicated in common-mostlyclean, add
36328 stamp-libm-err and stamp-version.
36329 (generated-dirs): Add libc directory.
36330 ($(inst_infodir)/libc.info): Install files from build dir.
36331
36332 * manual/install.texi (Configuring and compiling): Adjust since
36333 the info files are not part of the tar ball anymore.
36334
7ac77294
AJ
363352012-05-14 Andreas Jaeger <aj@suse.de>
36336
36337 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36338 variable.
36339
ffb7875d
JM
363402012-05-14 Joseph Myers <joseph@codesourcery.com>
36341
36342 [BZ #13717]
36343 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36344 to 2.2.0 where earlier.
36345 * sysdeps/unix/sysv/linux/configure: Regenerated.
36346 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36347 Remove conditional code.
36348 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36349 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36350 Remove conditional code.
36351 [!__NR_lchown]: Likewise.
36352 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36353 [__NR_lchown]: Likewise.
36354 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36355 comment referencing __ASSUME_LCHOWN_SYSCALL.
36356 * sysdeps/unix/sysv/linux/i386/sigaction.c
36357 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36358 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36359 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36360 Remove conditional code.
36361 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36362 (__protocol_available): Remove #if 0 code.
36363 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36364 conditional code.
36365 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36366 * sysdeps/unix/sysv/linux/kernel-features.h
36367 (__ASSUME_GETCWD_SYSCALL): Don't define.
36368 (__ASSUME_REALTIME_SIGNALS): Likewise.
36369 (__ASSUME_PREAD_SYSCALL): Likewise.
36370 (__ASSUME_PWRITE_SYSCALL): Likewise.
36371 (__ASSUME_POLL_SYSCALL): Likewise.
36372 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36373 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36374 non-SPARC.
36375 (__ASSUME_SIOCGIFNAME): Don't define.
36376 (__ASSUME_MSG_NOSIGNAL): Likewise.
36377 (__ASSUME_SENDFILE): Define unconditionally.
36378 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36379 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36380 conditional code.
36381 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36382 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36383 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36384 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36385 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36386 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36387 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36389 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36390 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36392 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36393 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36395 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36396 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36398 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36399 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36401 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36402 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36404 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36405 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36407 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36408 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36410 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36411 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36412 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36413 Remove conditional code.
36414 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36415 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36416 Remove conditional code.
36417 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36418 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36419 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36420 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36421 Remove conditional code.
36422 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36423 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36424 Remove conditional code.
36425 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36426 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36427 Remove conditional code.
36428 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36429 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36430 Remove conditional code.
36431 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36432 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36433 Remove conditional code.
36434 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36435 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36436 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36437 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36438 * sysdeps/unix/sysv/linux/sigaction.c
36439 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36440 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36441 * sysdeps/unix/sysv/linux/sigpending.c
36442 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36443 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36444 * sysdeps/unix/sysv/linux/sigprocmask.c
36445 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36446 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36447 * sysdeps/unix/sysv/linux/sigsuspend.c
36448 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36449 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36450 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36451 (__libc_missing_rt_sigs): Remove.
36452 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36453 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36454 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36455 Remove conditional code.
36456 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36457 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36458 return 1.
36459 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36460 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36461 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36462 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36463
1bfb7291
AJ
364642012-05-14 Andreas Jaeger <aj@suse.de>
36465
caae5a81
AJ
36466 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36467 it's not used in glibc.
36468 (__coshm1): Likewise.
36469 (__acosh1p): Likewise.
36470 (__sgn): Likewise.
36471
1bfb7291
AJ
36472 * manual/string.texi (Copying and Concatenation): Add missing
36473 variable in concat example.
36474 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36475
c044d724
L
364762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36477
144c5467 36478 [BZ #14103]
c044d724
L
36479 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36480 __builtin_clzl with __builtin_clzll.
36481
2523c62b
L
364822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36483
36484 [BZ #14104]
36485 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36486 libc_freeres_ptr.
36487
d7bb4c42
LD
364882012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36489
36490 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36491 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36492 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36493 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36494
9dc4e1fb
MF
364952012-05-14 Mike Frysinger <vapier@gentoo.org>
36496
36497 * NEWS: Update ia64 info.
36498
c7df0112
AS
364992012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36500
36501 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36502 used as bcopy.
36503
dc70356c
TS
365042012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36505
36506 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36507 * sysdeps/unix/syscalls.list (dup3): Likewise.
36508 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36509 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36510
9fb1a21f
L
365112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36512
36513 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36514 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36515
4822a2a5
L
365162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36517
36518 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36519 thread pointer.
36520 (TLS_IE): Use mov/add instead of movq/addq to load thread
36521 pointer.
36522 (TLS_GD_PREFIX): New.
36523 (TLS_GD): Use it.
36524
842b81d6
DM
365252012-05-11 David S. Miller <davem@davemloft.net>
36526
36527 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36528 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36529 (_FPU_SETCW): Likewise.
36530
1cf463cd
L
365312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36532
36533 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36534 is 32-byte aligned.
36535
60cc4a18
AS
365362012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36537
36538 [BZ #11837]
36539 * iconvdata/gb18030.c: Update tables.
36540 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36541 characters specially.
36542 (BODY for TO_LOOP): Add encoding of missing ranges.
36543
febb44a4
TS
365442012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36545
36546 [BZ #13673]
36547 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36548 * sysdeps/mach/hurd/dup3.c: Likewise.
36549 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36550 * sysdeps/powerpc/memmove.c:: Likewise.
36551
0a10fb9e
L
365522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36553
36554 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36555 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36556
df8a552f
L
365572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36558
36559 * elf/elf.h (R_X86_64_RELATIVE64): New.
36560 (R_X86_64_NUM): Updated.
36561 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36562 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36563 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36564 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36565 tst-quad1pie tst-quad2pie
36566 (modules-names): Add tst-quadmod1 tst-quadmod2.
36567 ($(objpfx)tst-quad1): New dependency.
36568 ($(objpfx)tst-quad2): Likewise.
36569 ($(objpfx)tst-quad1pie): Likewise.
36570 ($(objpfx)tst-quad2pie): Likewise.
36571 * sysdeps/x86_64/tst-quad1.c: New file.
36572 * sysdeps/x86_64/tst-quad1pie.c: New file.
36573 * sysdeps/x86_64/tst-quad2.c: Likewise.
36574 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36575 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36576 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36577 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36578 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36579
f34d6f84
ST
365802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36581
f42d41d1
ST
36582 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36583 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36584 * streams/stropts.h (t_scalar_t): Define type.
36585
3c3571fc
ST
36586 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36587 (_PATH_PRESERVE): Set to "/var/lib".
36588 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36589
61f06bd3
ST
36590 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36591 instead of int.
36592
918d4d71
ST
36593 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36594 if __dir_mkfile succeeded.
36595
f34d6f84
ST
36596 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36597 checking for _hurd_dtablesize. Unlock it right after having
36598 finished _hurd_dtable allocation.
36599
10589b4a
TS
366002012-05-10 Thomas Schwinge <thomas@schwinge.name>
36601
674cdbc7
TS
36602 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36603 * sysdeps/mach/hurd/configure: Regenerated.
36604 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36605 special-casing to...
36606 * sysdeps/gnu/configure.in: ... this new file.
36607 * sysdeps/unix/sysv/linux/configure: Regenerated.
36608 * sysdeps/gnu/configure: New generated file.
36609
8e41b99f
TS
36610 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36611 for Linux: use nsec instead of usec, as well as:
36612 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36613 members of type struct timespec.
36614 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36615 New macros.
36616 (struct stat64): Likewise.
36617 (_STATBUF_ST_NSEC): New macro.
36618 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36619
10589b4a
TS
36620 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36621 __strtoul_internal rather than strtoul.
36622
63643c85
PT
366232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36624
36625 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36626 and reject them.
36627
3faebe6a
ST
366282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36629
36630 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36631 which preserves existing values.
36632 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36633
c6474b07
PT
366342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36635
36636 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36637 TIMEOUT values. Return EINVAL for NFDS values either negative or
36638 greater than FD_SETSIZE.
36639
1043890b
ST
366402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36641
36642 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36643 allocated, call __vm_protect to finish enabling the existing space, and
36644 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36645 allocate the remainder.
36646
37ed8b9b
PT
366472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36648
36649 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36650 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36651
db653660
ST
366522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36653
37ed8b9b
PT
36654 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36655 sysdeps/mach/hurd/readlink.c.
b29d4053 36656
db653660
ST
36657 * posix/tst-sysconf.c (posix_options): Only use
36658 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36659 _POSIX_SYNCHRONIZED_IO when they are defined
36660 * sysdeps/mach/hurd/bits/posix_opt.h:
36661 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36662 (_XOPEN_REALTIME): Undefine macro.
36663 (_XOPEN_REALTIME_THREADS): Undefine macro.
36664 (_XOPEN_SHM): Undefine macro.
36665 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36666 macro to -1.
36667 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36668 macro to -1.
36669 (_POSIX_ASYNC_IO): Undefine macro.
36670 (_POSIX_PRIORITIZED_IO): Undefine macro.
36671 (_POSIX_SPIN_LOCKS): Define macro to -1.
36672
ee16e894
ST
36673 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36674 SA_NODEFER, SA_RESETHAND.
36675 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36676 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36677 F_DUPFD_CLOEXEC.
36678
6103ae3b
TS
366792012-05-10 Thomas Schwinge <thomas@schwinge.name>
36680
36681 * elf/Makefile (pldd-modules): Define unconditionally.
36682
80b4e5f3
TS
366832012-05-10 Thomas Schwinge <thomas@schwinge.name>
36684
36685 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36686
edadcbd6
ST
366872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36688
36689 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36690 Return ENOENT when name is empty.
36691 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36692
80694780
TS
366932012-05-10 Thomas Schwinge <thomas@schwinge.name>
36694
1792c087
TS
36695 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36696
80694780
TS
36697 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36698
6b645f0d
ST
366992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36700
80694780
TS
36701 Fix mlock in all cases except non-readable pages.
36702 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36703 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 36704
6b645f0d
ST
36705 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36706 (__mkdir): When path is `/', just fail with EEXIST.
36707 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36708
e468f8a3
TS
367092012-05-10 Thomas Schwinge <thomas@schwinge.name>
36710
36711 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36712 <sys/uio.h> (for writev).
36713 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36714 and <sys/param.h> (for MIN).
36715
a4186cff
PT
367162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36717
36718 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36719 REQUESTED_TIME. Properly set the remaining time and return EINTR
36720 if interrupted.
36721
510bbf14
TS
367222012-05-10 Thomas Schwinge <thomas@schwinge.name>
36723
36724 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36725 Depend on against $(link-rpcuserlibs).
36726
5d5722e8
ST
367272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36728
a4186cff
PT
36729 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36730 (__libc_stack_end): Do not use attribute_relro.
36731 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36732 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 36733 to libthread-provided value.
a4186cff
PT
36734 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36735 attribute_relro.
5d5722e8 36736
37233df9
TS
367372012-05-10 Thomas Schwinge <thomas@schwinge.name>
36738
be971a2b
TS
36739 [BZ #3748]
36740 * bits/libc-lock.h (__libc_once_get): New macro.
36741 * sysdeps/mach/bits/libc-lock.h: Likewise.
36742 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36743 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36744 instead of using implementation details.
36745
37233df9
TS
36746 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36747 * libio/freopen.c: Likewise.
36748 * libio/freopen64.c: Likewise.
36749 * misc/syslog.c: Likewise.
36750 * nscd/connections.c: Likewise.
36751 * nscd/netgroupcache.c: Likewise.
36752 * sysdeps/posix/getcwd.c: Likewise.
36753
38de94a5
RM
367542012-05-10 Roland McGrath <roland@hack.frob.com>
36755
36756 * math/w_ilogbf.c: Add #include <limits.h>.
36757
67530489
ST
367582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36759
a4186cff 36760 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
36761 path instead of returning without unlocking.
36762
67530489
ST
36763 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36764 immediate-write ioctls.
36765 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36766
5aa3a74a
TS
367672012-05-10 Thomas Schwinge <thomas@schwinge.name>
36768
18bad2ae
TS
36769 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36770 __builtin_frame_address instead of making assumptions about the
36771 location of the return address relative to DATA. Force early load of
36772 the return address.
36773 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36774 __builtin_frame_address.
36775
5aa3a74a
TS
36776 dup3 for GNU Hurd.
36777 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36778 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36779 implement dup3 and do some further code clean-ups.
36780 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36781 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36782
ecd0de9a
ST
367832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36784
cd9fa985
ST
36785 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36786
a4186cff
PT
36787 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36788 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36789 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36790 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36791 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36792 d->port.lock.
802ca5a5 36793
a4186cff
PT
36794 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36795 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36796 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 36797
bcf55240
TS
367982012-05-10 Thomas Schwinge <thomas@schwinge.name>
36799
6960eb42
TS
36800 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36801 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36802 definitions.
36803
eb43375f
TS
36804 accept4 for GNU Hurd.
36805 * include/sys/socket.h (__libc_accept4): New prototype.
36806 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36807 to implement __libc_accept4.
36808 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36809 __libc_accept4.
36810 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36811
bcf55240
TS
36812 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36813 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36814 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36815 signal-defines.sym.
36816
6178c55b
ST
368172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36818
a4186cff 36819 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 36820
6f080c2f
TS
368212012-05-10 Thomas Schwinge <thomas@schwinge.name>
36822
36823 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36824 assertion on O_CLOEXEC flag.
36825 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36826 * hurd/intern-fd.c: Likewise.
36827 * hurd/port2fd.c: Likewise.
36828
bcfe3a54
ST
368292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36830
36831 [BZ #3906]
36832 * bits/in.h (IPV6_PKTINFO): Define new macro.
36833 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36834
89c9aa49
AZ
368352012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36836
36837 [BZ #13954]
36838 [BZ #13955]
36839 [BZ #13956]
36840 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36841 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36842 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36843 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36844 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36845 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36846 * math/libm-test.inc (logb_test) : Additional logb tests.
36847
021db4be
AJ
368482012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36849 Andreas Jaeger <aj@suse.de>
36850
36851 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36852 * configure: Regenerated.
36853 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36854 * config.make.in (link-obsolete-rpc): New substituted variable.
36855 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36856 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36857 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36858 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36859 so that libc.a contains the symbols.
36860 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36861 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36862 * sunrpc/auth_none.c: Likewise.
36863 * sunrpc/auth_unix.c: Likewise.
36864 * sunrpc/authdes_prot.c: Likewise.
36865 * sunrpc/authuxprot.c: Likewise.
36866 * sunrpc/clnt_gen.c: Likewise.
36867 * sunrpc/clnt_perr.c: Likewise.
36868 * sunrpc/clnt_raw.c: Likewise.
36869 * sunrpc/clnt_simp.c: Likewise.
36870 * sunrpc/clnt_tcp.c: Likewise.
36871 * sunrpc/clnt_udp.c: Likewise.
36872 * sunrpc/clnt_unix.c: Likewise.
36873 * sunrpc/des_crypt.c: Likewise.
36874 * sunrpc/des_soft.c: Likewise.
36875 * sunrpc/get_myaddr.c: Likewise.
36876 * sunrpc/key_call.c: Likewise.
36877 * sunrpc/key_prot.c: Likewise.
36878 * sunrpc/netname.c: Likewise.
36879 * sunrpc/pm_getmaps.c: Likewise.
36880 * sunrpc/pm_getport.c: Likewise.
36881 * sunrpc/pmap_clnt.c: Likewise.
36882 * sunrpc/pmap_prot.c: Likewise.
36883 * sunrpc/pmap_prot2.c: Likewise.
36884 * sunrpc/pmap_rmt.c: Likewise.
36885 * sunrpc/publickey.c: Likewise.
36886 * sunrpc/rpc_cmsg.c: Likewise.
36887 * sunrpc/rpc_common.c: Likewise.
36888 * sunrpc/rpc_dtable.c: Likewise.
36889 * sunrpc/rpc_prot.c: Likewise.
36890 * sunrpc/rpc_thread.c: Likewise.
36891 * sunrpc/rtime.c: Likewise.
36892 * sunrpc/svc.c: Likewise.
36893 * sunrpc/svc_auth.c: Likewise.
36894 * sunrpc/svc_raw.c: Likewise.
36895 * sunrpc/svc_run.c: Likewise.
36896 * sunrpc/svc_tcp.c: Likewise.
36897 * sunrpc/svc_udp.c: Likewise.
36898 * sunrpc/svc_unix.c: Likewise.
36899 * sunrpc/svcauth_des.c: Likewise.
36900 * sunrpc/xcrypt.c: Likewise.
36901 * sunrpc/xdr.c: Likewise.
36902 * sunrpc/xdr_array.c: Likewise.
36903 * sunrpc/xdr_float.c: Likewise.
36904 * sunrpc/xdr_intXX_t.c: Likewise.
36905 * sunrpc/xdr_mem.c: Likewise.
36906 * sunrpc/xdr_rec.c: Likewise.
36907 * sunrpc/xdr_ref.c: Likewise.
36908 * sunrpc/xdr_sizeof.c: Likewise.
36909 * sunrpc/xdr_stdio.c: Likewise.
36910
b5c086a2
RM
369112012-05-10 Roland McGrath <roland@hack.frob.com>
36912
36913 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36914 change. Update copyright years.
36915
6d74dd09
JM
369162012-05-10 Joseph Myers <joseph@codesourcery.com>
36917
36918 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36919
28e72501
MK
369202012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36921 Joseph Myers <joseph@codesourcery.com>
36922 Paul Pluzhnikov <ppluzhnikov@google.com>
36923
36924 [BZ #14012]
36925 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36926 requiring rpcgen.
36927 [cross-compiling] (extra-libs): Likewise.
36928 [cross-compiling] (extra-libs-others): Likewise.
36929 [cross-compiling] (librpcsvc-routines): Likewise.
36930 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36931 [cross-compiling] (omit-deps): Likewise.
36932 (sunrpc-CPPFLAGS): New variable.
36933 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36934 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36935 (cross-rpcgen-objs): New variable.
36936 (extra-objs): Append $(cross-rpcgen-objs).
36937 ($(cross-rpcgen-objs)): New rule.
36938 ($(objpfx)cross-rpcgen): Likewise.
36939 (rpcgen-cmd): Define to use $(built-program-file). Expand
36940 comment.
36941 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36942 ($(objpfx)x%.stmp): Likewise.
36943 * sunrpc/proto.h [IS_IN_build] (_): Define.
36944 [IS_IN_build] (_libc_intl_domainname): Likewise.
36945
c8c59454
L
369462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36947
36948 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36949 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36950 and R_X86_64_TPOFF64.
36951
6f27cd16
JM
369522012-05-10 Joseph Myers <joseph@codesourcery.com>
36953
36954 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36955 sysdeps/unix/sysv/syscalls.list.
36956 (stime): Likewise.
36957 (utime): Likewise.
36958 * sysdeps/unix/sysv/syscalls.list: Remove file.
36959
02467e1c
PE
369602012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36961
36962 [BZ #3440]
36963 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36964 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36965 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36966 (__LC_IDENTIFICATION): Make these macros useful in #if
36967 expressions, as required by C99.
36968
da392631
AS
369692012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36970
36971 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36972 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36973 after this.
36974
8115f29b
L
369752012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36976
36977 * stdlib/longlong.h: Updated from GCC.
36978
bdd74070
AJ
369792012-05-09 Andreas Jaeger <aj@suse.de>
36980
edfe0dbe
AJ
36981 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36982 default is first entry.
36983 (run_mode): Set type.
36984 (main): Remove informal message about syslog.
36985 (options): Fix typo.
36986
bcfe3a54
ST
36987 [BZ #14053]
36988 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 36989 to asm.
bcfe3a54
ST
36990 (lrint): Likewise.
36991 (llrintf): Likewise.
36992 (llrint): Likewise.
36993 (rint): Likewise.
36994 (rintf): Likewise.
36995 (nearbyint): Likewise.
36996 (nearbyintf): Likewise.
bdd74070 36997
91d8d69e
AJ
369982012-05-09 Andreas Jaeger <aj@suse.de>
36999 Pedro Alves <palves@redhat.com>
37000
37001 * nscd/nscd.c (run_mode): Use enum.
37002 (main): Cleanup coding style issue.
37003
bb90b80b
AJ
370042012-05-09 Alexandre Oliva <aoliva@redhat.com>
37005 Andreas Jaeger <aj@suse.de>
37006
bcfe3a54
ST
37007 * nscd/nscd.c (go_background): Replaced with...
37008 (run_mode): ... this.
bb90b80b 37009 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
37010 (options): Add -F --foreground.
37011 (main): Implement it.
37012 (parse_opt): Parse it.
bb90b80b 37013
1a4b75a1
AJ
370142012-05-09 Andreas Jaeger <aj@suse.de>
37015
37016 [BZ #14083]
37017 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37018 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37019 -Wconversion warning.
37020 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37021 Likewise.
37022
b1cc2472
JM
370232012-05-09 Joseph Myers <joseph@codesourcery.com>
37024
37025 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37026 == 0.
37027 (LC_ALL): Use macro-int-constant.
37028 (LC_COLLATE): Likewise.
37029 (LC_CTYPE): Likewise.
37030 (LC_MESSAGES): Likewise.
37031 (LC_MONETARY): Likewise.
37032 (LC_NUMERIC): Likewise.
37033 (LC_TIME): Likewise.
37034 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37035 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37036 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37037 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37038 Specify type.
37039 [C99-based standards] (float_t): Expect type.
37040 [C99-based standards] (double_t): Expect type.
37041 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37042 type.
37043 [C99-based standards] (HUGE_VALL): Likewise.
37044 [C99-based standards] (INFINITY): Likewise.
37045 [C99-based standards] (NAN): Likewise.
37046 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37047 [C99-based standards] (FP_NAN): Likewise.
37048 [C99-based standards] (FP_NORMAL): Likewise.
37049 [C99-based standards] (FP_SUBNORMAL): Likewise.
37050 [C99-based standards] (FP_ZERO): Likewise.
37051 [C99-based standards] (FP_FAST_FMA): Use
37052 optional-macro-int-constant. Specify type. Require == 1.
37053 [C99-based standards] (FP_FAST_FMAF): Likewise.
37054 [C99-based standards] (FP_FAST_FMAL): Likewise.
37055 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37056 [C99-based standards] (FP_ILOGBNAN): Likewise.
37057 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37058 Specify type.
37059 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37060 [C99-based standards] (math_errhandling): Specify type.
37061 [ISO99 || ISO11] (signgam): Do not allow.
37062 [non-C99-based standards] (copysignf): Do not allow.
37063 [non-C99-based standards] (exp2f): Likewise.
37064 [non-C99-based standards] (log2f): Likewise.
37065 [non-C99-based standards] (modff): Allow.
37066 [non-C99-based standards] (erff): Do not allow.
37067 [non-C99-based standards] (erfcf): Likewise.
37068 [non-C99-based standards] (gammaf): Likewise.
37069 [non-C99-based standards] (hypotf): Likewise.
37070 [non-C99-based standards] (j0f): Likewise.
37071 [non-C99-based standards] (j1f): Likewise.
37072 [non-C99-based standards] (jnf): Likewise.
37073 [non-C99-based standards] (lgammaf): Likewise.
37074 [non-C99-based standards] (tgammaf): Likewise.
37075 [non-C99-based standards] (y0f): Likewise.
37076 [non-C99-based standards] (y1f): Likewise.
37077 [non-C99-based standards] (ynf): Likewise.
37078 [non-C99-based standards] (isnanf): Likewise.
37079 [non-C99-based standards] (acoshf): Likewise.
37080 [non-C99-based standards] (asinhf): Likewise.
37081 [non-C99-based standards] (atanhf): Likewise.
37082 [non-C99-based standards] (cbrtf): Likewise.
37083 [non-C99-based standards] (expm1f): Likewise.
37084 [non-C99-based standards] (ilogbf): Likewise.
37085 [non-C99-based standards] (log1pf): Likewise.
37086 [non-C99-based standards] (logbf): Likewise.
37087 [non-C99-based standards] (nextafterf): Likewise.
37088 [non-C99-based standards] (remainderf): Likewise.
37089 [non-C99-based standards] (rintf): Likewise.
37090 [non-C99-based standards] (scalbf): Likewise.
37091 [non-C99-based standards] (copysignl): Likewise.
37092 [non-C99-based standards] (exp2l): Likewise.
37093 [non-C99-based standards] (log2l): Likewise.
37094 [non-C99-based standards] (modfl): Allow.
37095 [non-C99-based standards] (erfl): Do not allow.
37096 [non-C99-based standards] (erfcl): Likewise.
37097 [non-C99-based standards] (gammal): Likewise.
37098 [non-C99-based standards] (hypotl): Likewise.
37099 [non-C99-based standards] (j0l): Likewise.
37100 [non-C99-based standards] (j1l): Likewise.
37101 [non-C99-based standards] (jnl): Likewise.
37102 [non-C99-based standards] (lgammal): Likewise.
37103 [non-C99-based standards] (tgammal): Likewise.
37104 [non-C99-based standards] (y0l): Likewise.
37105 [non-C99-based standards] (y1l): Likewise.
37106 [non-C99-based standards] (ynl): Likewise.
37107 [non-C99-based standards] (isnanl): Likewise.
37108 [non-C99-based standards] (acoshl): Likewise.
37109 [non-C99-based standards] (asinhl): Likewise.
37110 [non-C99-based standards] (atanhl): Likewise.
37111 [non-C99-based standards] (cbrtl): Likewise.
37112 [non-C99-based standards] (expm1l): Likewise.
37113 [non-C99-based standards] (ilogbl): Likewise.
37114 [non-C99-based standards] (log1pl): Likewise.
37115 [non-C99-based standards] (logbl): Likewise.
37116 [non-C99-based standards] (nextafterl): Likewise.
37117 [non-C99-based standards] (remainderl): Likewise.
37118 [non-C99-based standards] (rintl): Likewise.
37119 [non-C99-based standards] (scalbl): Likewise.
37120 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37121 [non-C99-based standards] (FP_*): Do not allow.
37122 [C99-based standards] (FP_*): Change to
37123 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37124 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37125 allow.
37126 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37127 (SIG_ERR): Likewise.
37128 [X/Open-based standards] (SIG_HOLD): Likewise.
37129 (SIG_IGN): Likewise.
37130 (SIGABRT): Use macro-int-constant. Specify type. Require
37131 positive value.
37132 (SIGFPE): Likewise.
37133 (SIGILL): Likewise.
37134 (SIGINT): Likewise.
37135 (SIGSEGV): Likewise.
37136 (SIGTER): Likewise.
37137 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37138 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37139 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37140 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37141 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37142 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37143 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37144 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37145 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37146 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37147 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37148 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37149 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37150 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37151 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37152 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37153 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37154 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37155 [X/Open-based standards] (SIGTRAP): Likewise.
37156 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37157 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37158 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37159 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37160 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37161 allow.
37162
b9f1922d
IW
371632012-05-08 Ian Wienand <ianw@vmware.com>
37164
37165 [BZ #14080]
37166 * time/tzset.c (__tzset_parse_tz): Update default rules for
37167 daylight time changes in the Energy Policy Act of 2005.
37168
1db86e88
AJ
371692012-05-09 Andreas Jaeger <aj@suse.de>
37170
37171 [BZ #13983]
37172 * elf/ldconfig.c (parse_conf): Change string to make clear that
37173 ldconfig only issued a warning if ld.so.conf does not exist.
37174
dee4a4e3
DM
371752012-05-08 David S. Miller <davem@davemloft.net>
37176
ee0db190
DM
37177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37178 movxtod instead of popping the value on the stack.
37179
dee4a4e3
DM
37180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37181
6a43ec98
CD
371822012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37183
37184 * config.h.in: Add HAVE_ARM_PCS_VFP.
37185
05c2c961
RMG
371862012-05-08 Roland Mc Grath <roland@hack.frob.com>
37187
bcfe3a54
ST
37188 [BZ #13979]
37189 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37190 checking but the checks are disabled for any reason.
05c2c961 37191
4b30f61a
L
371922012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37193
37194 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37195 and ELF64_R_TYPE with ELFW(R_TYPE).
37196
eee2bc67
JM
371972012-05-08 Joseph Myers <joseph@codesourcery.com>
37198
7ea5391a
JM
37199 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37200 (ulimit): Likewise.
37201
eee2bc67
JM
37202 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37203 (settimeofday): Likewise.
37204
abb66a67
MF
372052012-05-08 Mike Frysinger <vapier@gentoo.org>
37206
37207 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37208 a struct th_u2 inside the union, and move tu_block/tu_code into
37209 a new th_u3 union of tu_block/tu_code inside of that. Move
37210 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37211 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37212 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37213 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37214 (th_stuff): Change to th_u1.tu_stuff.
37215 (th_data): Define.
37216 (th_msg): Change to th_u1.th_u2.tu_data.
37217
7f18b530
DM
372182012-05-07 David S. Miller <davem@davemloft.net>
37219
05760585
DM
37220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37221
7f18b530
DM
37222 [BZ #14074]
37223 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37224 (SETUP_PIC_REG): Use it.
37225 (SETUP_PIC_REG_LEAF): Use it.
37226
495fd99f
JM
372272012-05-07 Joseph Myers <joseph@codesourcery.com>
37228
37229 [BZ #13885]
37230 [BZ #13923]
37231 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37232 USE_AS_EXPM1L.
37233 (EXPL_FINITE): Likewise.
37234 (FLDLOG): Likewise.
37235 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37236 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37237 e_expl.S.
37238 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37239 USE_AS_EXPM1L.
37240 (EXPL_FINITE): Likewise.
37241 (FLDLOG): Likewise.
37242 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37243 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37244 e_expl.S.
37245 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37246 test of -max_value argument for long double.
37247 * sysdeps/i386/fpu/libm-test-ulps: Update.
37248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37249
6693d694
DM
372502012-05-06 David S. Miller <davem@davemloft.net>
37251
37252 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37253 quad soft-float symbols whose references which are compiler
37254 generated.
37255 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37256
6c23e11c
JM
372572012-05-06 Joseph Myers <joseph@codesourcery.com>
37258
d8b82cad
JM
37259 [BZ #13884]
37260 [BZ #13914]
37261 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37262 USE_AS_EXP10L.
37263 (EXPL_FINITE): Likewise.
37264 (FLDLOG): Likewise.
37265 (c0): Likewise.
37266 (c1): Likewise.
37267 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37268 Adjust comments for base varying.
37269 (__expl_finite): Change alias to EXPL_FINITE.
37270 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37271 e_expl.S.
37272 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37273 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37274 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37275 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37276 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37277 USE_AS_EXP10L.
37278 (EXPL_FINITE): Likewise.
37279 (FLDLOG): Likewise.
37280 (c0): Likewise.
37281 (c1): Likewise.
37282 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37283 Adjust comments for base varying.
37284 (__expl_finite): Change alias to EXPL_FINITE.
37285 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37286 tests for bugs.
37287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37288
6c23e11c
JM
37289 [BZ #14064]
37290 * math/libm-test.inc (check_float_internal): Correct ulp
37291 calculation for subnormal expected results.
37292
29ba805c
AJ
372932012-05-06 Andreas Jaeger <aj@suse.de>
37294
37295 * Makeconfig (+math-flags): New, set to -frounding-math.
37296 (+cflags): Add +math-flags so that all of glibc gets compiled with
37297 it.
37298
37299 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37300
7b17aeda
JM
373012012-05-05 Joseph Myers <joseph@codesourcery.com>
37302
5779f134
JM
37303 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37304 Disable one test.
37305
41498f4d
JM
37306 [BZ #13787]
37307 [BZ #13922]
37308 [BZ #14036]
37309 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37310 (__ieee754_expl): Allow for and saturate large arguments.
37311 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37312 (u_threshold): Likewise.
37313 (__exp): Call __ieee754_exp before checking for overflow and
37314 underflow.
37315 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37316 (u_threshold): Likewise.
37317 (__expf): Call __ieee754_expf before checking for overflow and
37318 underflow.
37319 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37320 (u_threshold): Likewise.
37321 (__expl): Call __ieee754_expl before checking for overflow and
37322 underflow.
37323 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37324 (__ieee754_expl): Allow for and saturate large arguments.
37325 * math/libm-test.inc (exp_test): Add another test. Do not allow
37326 missing overflow exception on overflow.
37327 (expm1_test): Do not allow missing overflow exception on overflow.
37328
6698b8bf
JM
37329 * sysdeps/i386/fpu/e_expl.c: Move to ...
37330 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37331 rather than using inline asm.
37332 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37333 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37334 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37335
7b17aeda
JM
37336 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37337 (nice): Likewise.
37338 (poll): Likewise.
37339 (signal): Likewise.
37340 (time): Likewise.
37341 (times): Likewise.
37342
f7c85819
JM
373432012-05-04 Joseph Myers <joseph@codesourcery.com>
37344
37345 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37346 sysdeps/unix/common/syscalls.list.
37347 (fchmod): Likewise.
37348 (fchown): Likewise.
37349 (ftruncate): Likewise.
37350 (getrusage): Likewise.
37351 (gettimeofday): Likewise.
37352 (setpgid): Likewise.
37353 (setregid): Likewise.
37354 (setreuid): Likewise.
37355 (sigaction): Likewise.
37356 (truncate): Likewise.
37357 (vhangup): Likewise.
37358 * sysdeps/unix/common/syscalls.list: Remove file.
37359 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37360 * sysdeps/unix/sysv/linux/Implies: Likewise.
37361
336270d0
L
373622012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37363
37364 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37366 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37367 Moved to ...
37368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37369 Here.
37370 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37371 to ...
37372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37373 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37374 to ...
37375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37376 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37377 to ...
37378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37379 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37380 to ...
37381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37382 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37383 to ...
37384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37385 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37386 to ...
37387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37388 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37389 to ...
37390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37391 Here.
37392 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37393 to ...
37394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37395 Here.
37396 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37397 to ...
37398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37399 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37400 Moved to ...
37401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37402 Here.
37403 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37404 to ...
37405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37406
d128e450
JM
374072012-05-04 Joseph Myers <joseph@codesourcery.com>
37408
fa8ee516
JM
37409 * sysdeps/unix/common/bits/dirent.h: Remove file.
37410 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37411
d128e450
JM
37412 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37413 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37414 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37415 * sysdeps/unix/bsd/isatty.c: Likewise.
37416 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37417 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37418 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37419
ff8faaf0 374202012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 37421
62881be4 37422 [BZ #13563]
31dc8730
AZ
37423 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37424 long double comparison inaccuracies.
37425 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37427
6fef930c
AS
374282012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37429
37430 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37431 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37432
8f203e6c
JM
374332012-05-04 Joseph Myers <joseph@codesourcery.com>
37434
37435 [BZ #14049]
37436 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37437 nonzero digits before rounding a hex value.
37438 * stdlib/tst-strtod.c (tests): Add another test.
37439
5197d9c2
AK
374402012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37441
37442 * sysdeps/s390/fpu/libm-test-ulps: Update.
37443
f0c1dedf
AJ
374442012-05-03 Andreas Jaeger <aj@suse.de>
37445
37446 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37447 does not get optimized out.
37448 (malloc_opt_barrier): New.
37449
a65ef2ae 374502012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 37451 Roland McGrath <roland@hack.frob.com>
a65ef2ae 37452
2b942cb7 37453 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 37454 intermediate file deletion.
2b942cb7 37455 (generated): Add .symlist files.
a65ef2ae 37456
54b71e02
JM
374572012-05-03 Joseph Myers <joseph@codesourcery.com>
37458
37459 [BZ #13775]
37460 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37461 Redirect under this condition.
37462 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37463 [__USE_GNU] (__dprintf_chk): Not under this condition.
37464 [__USE_GNU] (__vdprintf_chk): Likewise.
37465 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37466 under this condition.
37467 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37468 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37469 [__USE_XOPEN2K8] (vdprintf): Likewise.
37470 [__USE_GNU] (__dprintf_chk): Not under this condition.
37471 [__USE_GNU] (__vdprintf_chk): Likewise.
37472 [__USE_GNU] (dprintf): Likewise.
37473 [__USE_GNU] (vdprintf): Likewise.
37474
d3dfcc41
RM
374752012-05-03 Roland McGrath <roland@hack.frob.com>
37476
37477 * elf/Makefile (common-generated): Set this instead of generated for
37478 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37479 $(all-built-dso)-derived lists.
37480
7ac30cc5
AJ
374812012-05-03 Andreas Jaeger <aj@suse.de>
37482
0c51e550
AJ
37483 * sysdeps/i386/fpu/libm-test-ulps: Update.
37484
7ac30cc5
AJ
37485 * FAQ: Removed.
37486 * FAQ.in: Likewise.
37487 * scripts/gen-FAQ.pl: Likewise.
37488 * manual/install.texi (Installation): Point to online location of
37489 FAQ.
37490 * Makefile (files-for-dist): Remove FAQ.
37491 (FAQ): Remove.
37492
d4c2917f
AM
374932012-05-02 Allan McRae <allan@archlinux.org>
37494
37495 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37496 (LDFLAGS-reldepmod5.so): Likewise.
37497 (LDFLAGS-reldep6mod1.so): Likewise.
37498 (LDFLAGS-reldep6mod4.so): Likewise.
37499 (LDFLAGS-reldep8mod3.so): Likewise.
37500 (LDFLAGS-unload4mod1.so): Likewise.
37501 (LDFLAGS-unload4mod2.so): Likewise.
37502 (LDFLAGS-tst-initorder): Likewise.
37503 (LDFLAGS-tst-initordera2.so): Likewise.
37504 (LDFLAGS-tst-initordera3.so): Likewise.
37505 (LDFLAGS-tst-initordera4.so): Likewise.
37506 (LDFLAGS-tst-initorderb2.so): Likewise.
37507 (LDFLAGS-noload): Likewise.
37508 (LDFLAGS-next): Likewise.
37509 (LDFLAGS-order2mod1.so): Likewise.
37510 (LDFLAGS-order2mod2.so): Likewise.
37511 (LDFLAGS-tst-initorder2): Likewise.
37512 (LDFLAGS-tst-initorder2a.so): Likewise.
37513 (LDFLAGS-tst-initorder2b.so): Likewise.
37514 (LDFLAGS-tst-initorder2c.so): Likewise.
37515 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37516
d77f993f
DM
375172012-05-02 David S. Miller <davem@davemloft.net>
37518
37519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37520
171a70b4
PP
375212012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37522
37523 [BZ #14055]
37524 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37525
0be196ad
AJ
375262012-05-02 Andreas Jaeger <aj@suse.de>
37527
37528 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37529 since we manipulate rounding mode.
37530 (CPPFLAGS-test-idouble.c): Likewise.
37531 (CPPFLAGS-test-ifloat.c): Likewise.
37532 (CFLAGS-test-ldouble.c): Likewise.
37533 (CFLAGS-test-double.c): Likewise.
37534 (CFLAGS-test-float.c): Likewise.
37535 (CFLAGS-test-misc.c): Likewise.
37536 (CFLAGS-test-test-fenv.c): Likewise.
37537
4f9d04aa
AZ
375382012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37539
2b942cb7
RM
37540 [BZ #2550]
37541 [BZ #2570]
37542 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37543 comparisons to determine direction to adjust input.
4f9d04aa 37544
82a79e7d
RM
375452012-05-01 Roland McGrath <roland@hack.frob.com>
37546
f5a01ca9
RM
37547 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37548 output to the target.
37549
90fe4186
RM
37550 * scripts/localplt.awk: New file.
37551 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37552 (check-localplt-CFLAGS): Variable removed.
37553 ($(all-built-dso:=.jmprel)): New static pattern rule.
37554 (generated): Add those targets.
37555 (localplt-built-dso): New variable.
37556 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37557
37558 * elf/check-localplt.c: File removed.
37559
82397ed6
RM
37560 * scripts/check-execstack.awk: New file.
37561 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37562 (check-execstack-CFLAGS): Variable removed.
37563 ($(objpfx)check-execstack.h): Target removed.
37564 ($(objpfx)execstack-default): New target.
37565 (generated): Add that instead of check-execstack.h.
37566 ($(all-built-dso:=.phdr)): New static pattern rule.
37567 (generated): Add those targets.
37568 * elf/check-execstack.c: File removed.
37569
82a79e7d
RM
37570 * scripts/check-textrel.awk: New file.
37571 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37572 (check-textrel-CFLAGS): Variable removed.
37573 (all-built-dso): Use := to define.o
37574 ($(all-built-dso:=.dyn)): New static pattern rule.
37575 (generated): Add those targets.
37576 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37577 * config.make.in (READELF): New substituted variable.
37578 * elf/check-textrel.c: File removed.
37579
62fde54f 375802012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 37581
615605c9
JM
37582 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37583 allow.
37584 * conform/data/ctype.h-data [C99-based standards] (isblank):
37585 Expect function.
37586 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37587 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37588 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37589 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37590 Specify type. Require positive value.
37591 (EILSEQ): Likewise.
37592 (ERANGE): Likewise.
37593 [ISO || POSIX] (EILSEQ): Do not expect.
37594 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37595 Specify type. Require positive value.
37596 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37597 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37598 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37599 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37600 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37601 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37602 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37603 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37604 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37605 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37606 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37607 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37608 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37609 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37610 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37611 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37612 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37613 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37614 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37615 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37616 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37617 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37618 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37619 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37620 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37621 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37622 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37623 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37624 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37625 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37626 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37627 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37628 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37629 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37630 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37631 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37632 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37633 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37634 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37635 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37636 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37637 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37638 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37639 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37640 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37641 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37642 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37643 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37644 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37645 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37646 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37647 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37648 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37649 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37650 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37651 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37652 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37653 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37654 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37655 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37656 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37657 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37658 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37659 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37660 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37661 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37662 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37663 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37664 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37665 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37666 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37667 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37668 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37669 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37670 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37671 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37672 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37673 Require >= 2.
37674 (FLT_ROUNDS): Expect as macro, not constant.
37675 (FLT_MANT_DIG): Use macro-int-constant.
37676 (DBL_MANT_DIG): Likewise.
37677 (LDBL_MANT_DIG): Likewise.
37678 (FLT_DIG): Likewise.
37679 (DBL_DIG): Likewise.
37680 (LDBL_DIG): Likewise.
37681 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37682 (DBL_MIN_EXP): Likewise.
37683 (LDBL_MIN_EXP): Likewise.
37684 (FLT_MAX_EXP): Use macro-int-constant.
37685 (DBL_MAX_EXP): Likewise.
37686 (LDBL_MAX_EXP): Likewise.
37687 (FLT_MAX_10_EXP): Likewise.
37688 (DBL_MAX_10_EXP): Likewise.
37689 (LDBL_MAX_10_EXP): Likewise.
37690 (FLT_MAX): Use macro-constant.
37691 (DBL_MAX): Likewise.
37692 (LDBL_MAX): Likewise.
37693 (FLT_EPSILON): Use macro-constant. Give upper bound.
37694 (DBL_EPSILON): Likewise.
37695 (LDBL_EPSILON): Likewise.
37696 (FLT_MIN): Likewise.
37697 (DBL_MIN): Likewise.
37698 (LDBL_MIN): Likewise.
37699 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37700 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37701 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37702 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37703 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37704 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37705 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37706 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37707 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37708 [ISO11] (FLT_TRUE_MIN): Likewise.
37709 [ISO11] (LDBL_TRUE_MIN): Likewise.
37710 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37711 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37712 (SCHAR_MIN): Use macro-int-constant. Specify type.
37713 (SCHAR_MAX): Likewise.
37714 (UCHAR_MAX): Likewise.
37715 (CHAR_MIN): Likewise.
37716 (CHAR_MAX): Likewise.
37717 (MB_LEN_MAX): Use macro-int-constant.
37718 (SHRT_MIN): Use macro-int-constant. Specify type.
37719 (SHRT_MAX): Likewise.
37720 (USHRT_MAX): Likewise.
37721 (INT_MAX): Likewise.
37722 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37723 bound negative.
37724 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37725 bound with "U".
37726 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37727 bound with "L".
37728 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37729 bound negative. Suffix upper bound with "L".
37730 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37731 bound with "UL".
37732 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37733 Specify type.
37734 [C99-based standards] (LLONG_MAX): Likewise.
37735 [C99-based standards] (ULLONG_MAX): Likewise.
37736 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37737 == 0.
37738 [ISO11] (max_align_t): Require type.
37739 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37740
c9140a62
JM
37741 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37742 from $CFLAGS, without defining away __attribute__ calls.
37743 (checknamespace): Use $CFLAGS_namespace.
37744
9af0bf29
JM
37745 * conform/conformtest.pl (@keywords): Only include C99 keywords
37746 for standards based on C99 or C11.
37747
343222a2
JM
37748 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37749 Disable tests.
37750 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37751 UNIX98]: Likewise.
37752
661f8cf0
JM
37753 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37754 usability of symbols in #if.
37755
ee74b9cb
JM
37756 * conform/conformtest.pl: If macro or constant types start
37757 "promoted:", expect the symbol to be of the following type
37758 promoted by the integer promotions.
62fde54f 37759
aafc49b3
JM
37760 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37761 in one place. Also handle "macro-constant".
37762
fefdf574
JM
37763 * conform/conformtest.pl: Only accept expected macro values with
37764 "==". Parse all "macro" lines in one place.
37765 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37766
f2d922fe
JM
37767 * conform/conformtest.pl: Handle braced types on "constant" lines
37768 instead of handling "typed-constant".
37769 * conform/data/signal.h-data: Use "constant" instead of
37770 "typed-constant".
37771
d22956c9
JM
37772 * conform/conformtest.pl: Handle "optional-" at start of lines in
37773 one place rather than duplicating several cases. Handle each
37774 format of "macro" line with initial "optional-".
37775
028e2e38
JM
37776 * conform/conformtest.pl: Only accept expected constant or
37777 optional-constant values with "==". Parse all "constant" lines in
37778 one place. Parse all "optional-constant" lines in one place.
37779 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37780 * conform/data/fmtmsg.h-data: Likewise.
37781 * conform/data/netinet/in.h-data: Likewise.
37782 * conform/data/tar.h-data: Likewise.
37783 * conform/data/limits.h-data: Use "==" form on "constant" and
37784 "optional-constant" lines.
37785
1b8f2850
JM
37786 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37787 Use -std=c99 for XOPEN2K.
37788 (@knownproblems): Remove.
37789 (newtoken): Don't check %isknown.
37790
a05a144b
JM
37791 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37792 Do not expect macro.
37793 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37794 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37795 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37796 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37797 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37798 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37799 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37800 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37801 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37802 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37803 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37804 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37805 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37806 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37807 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37808 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37809 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37810 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37811 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37812 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37813 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37814 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37815 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37816 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37817 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37818 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37819 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37820 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37821 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37822 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37823 [XPG3] (acosh): Likewise.
37824 [XPG3] (asinh): Likewise.
37825 [XPG3] (atanh): Likewise.
37826 [XPG3] (cbrt): Likewise.
37827 [XPG3] (expm1): Likewise.
37828 [XPG3] (ilogb): Likewise.
37829 [XPG3] (log1p): Likewise.
37830 [XPG3] (logb): Likewise.
37831 [XPG3] (nextafter): Likewise.
37832 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37833 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37834 [XPG3] (remainder): Likewise.
37835 [XPG3] (rint): Likewise.
37836 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37837 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37838 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37839 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37840 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37841 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37842 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37843 [UNIX98 || XOPEN2K] (scalb): Expect.
37844 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37845 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37846 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37847 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37848 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37849 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37850 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37851 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37852 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37853 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37854 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37855 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37856 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37857 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37858 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37859 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37860 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37861 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37862 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37863 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37864 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37865 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37866 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37867 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37868 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37869 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37870 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37871 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37872 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37873 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37874 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37875 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37876 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37877 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37878 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37879 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37880 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37881 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37882 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37883 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37884 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37885 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37886 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37887 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37888 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37889 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37890 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37891 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37892 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37893 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37894 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37895 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37896 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37897 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37898 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37899 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37900 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37901 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37902 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37903 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37904 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37905 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37906 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37907 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37908 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37909 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37910 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37911 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37912 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37913 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37914 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37915 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37916 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37917 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37918 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37919 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37920 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37921 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37922 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37923 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37924 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37925 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37926 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37927 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37928 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37929 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37930 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37931 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37932 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37933 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37934 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37935 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37936 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37937 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37938 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37939 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37940 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37941 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37942 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37943 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37944 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37945 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37946 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37947 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37948 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37949 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37950 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37951 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37952 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37953 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37954 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37955 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37956 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37957 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37958 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37959 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37960 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37961 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37962 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37963 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37964 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37965 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37966 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37967 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37968 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37969 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37970 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37971 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37972 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37973 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37974 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37975 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37976 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37977 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37978 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37979 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37980 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37981
73c5ebe3
JM
37982 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37983 _XOPEN_SOURCE_EXTENDED for XPG4.
37984
39c33b6c
JM
37985 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37986
62fde54f
JM
37987 * Makeconfig (localtime): Remove variable.
37988 (inst_localtime-file): Likewise.
37989
0741d64c
AS
379902012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37991
37992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37993 Update.
37994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37995 Update.
37996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37997 Update.
37998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37999 Update.
38000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38001 Update.
38002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38003 Update.
38004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38005 Update.
38006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38007 Update.
38008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38009 Update.
38010
7cb029ee
JM
380112012-05-01 Joseph Myers <joseph@codesourcery.com>
38012
38013 [BZ #2550]
38014 [BZ #2570]
38015 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38016 comparisons to determine direction to adjust input.
38017 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38018 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38019 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38020 Likewise.
38021 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38022 Likewise.
38023 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38024 Likewise.
38025 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38026 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38027 Likewise.
38028 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38029 Likewise.
38030 * math/libm-test.inc (nexttoward_test): Add more tests.
38031
412bd966
AS
380322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38033
38034 [BZ #14040]
38035 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38036 in version GLIBC_2.1, not GLIBC_2.0.
38037 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38038 Likewise.
38039
9568c0c2
JM
380402012-04-30 Joseph Myers <joseph@codesourcery.com>
38041
adfbc8ac
JM
38042 [BZ #13942]
38043 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38044 (1 - x) * (1 + x).
38045 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38046 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38047 * math/libm-test.inc (acos_test): Add more tests.
38048 (asin_test): Likewise.
38049 * sysdeps/i386/fpu/libm-test-ulps: Update.
38050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38051
5ba3cc69
JM
38052 [BZ #14034]
38053 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38054 of square root.
38055 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38056 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38057 * math/libm-test.inc (acos_test_tonearest): New function.
38058 (acos_test_towardzero): Likewise.
38059 (acos_test_downward): Likewise.
38060 (acos_test_upward): Likewise.
38061 (asin_test_tonearest): Likewise.
38062 (asin_test_towardzero): Likewise.
38063 (asin_test_downward): Likewise.
38064 (asin_test_upward): Likewise.
38065 (main): Call the new functions.
38066 * sysdeps/i386/fpu/libm-test-ulps: Update.
38067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38068
9568c0c2
JM
38069 [BZ #13884]
38070 [BZ #13924]
38071 * math/e_exp10.c: Include <float.h>.
38072 (__ieee754_exp10): Handle underflow here rather than multiplying
38073 large negative argument by M_LN10.
38074 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38075 of __ieee754_expf.
38076 * math/e_exp10l.c: Include <float.h>.
38077 (__ieee754_exp10l): Handle underflow here rather than multiplying
38078 large negative argument by M_LN10l.
38079 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38080 spurious overflow exception on underflow.
38081
5ac3ea17
MP
380822012-04-29 Marek Polacek <polacek@redhat.com>
38083
38084 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38085 (__fortify_function): New macro.
38086 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38087 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38088 __extern_always_inline.
38089 * libio/bits/stdio2.h: Likewise.
38090 * libio/bits/stdio.h: Likewise.
38091 * string/string.h: Likewise.
38092 * string/bits/string3.h: Likewise.
38093 * include/stdio.h: Likewise.
38094 * stdlib/bits/stdlib.h: Likewise.
38095 * stdlib/stdlib.h: Likewise.
38096 * rt/bits/mqueue2.h: Likewise.
38097 * rt/mqueue.h: Likewise.
38098 * posix/bits/unistd.h: Likewise.
38099 * posix/unistd.h: Likewise.
38100 * io/bits/poll2.h: Likewise.
38101 * io/bits/fcntl2.h: Likewise.
38102 * io/fcntl.h: Likewise.
38103 * io/sys/poll.h: Likewise.
38104 * misc/bits/syslog.h: Likewise.
38105 * misc/bits/syslog-ldbl.h: Likewise.
38106 * misc/sys/syslog.h: Likewise.
38107 * socket/bits/socket2.h: Likewise.
38108 * socket/sys/socket.h: Likewise.
38109 * debug/tst-chk1.c: Likewise.
38110 * wcsmbs/bits/wchar2.h: Likewise.
38111 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38112 * wcsmbs/wchar.h: Likewise.
38113
ecf0ebfb
AJ
381142012-04-29 Andreas Jaeger <aj@suse.de>
38115
38116 * Makerules (tests): Remove enable-check-abi protection.
38117 (check-abi-warn): Remove.
38118 (check-abi-%): Remove check-abi-warn usage.
38119
38120 * configure.in: Remove check-abi configure option.
38121 * configure: Regenerated.
38122 * config.make.in (enable-check-abi): Remove.
38123
6d5c57fa
AS
381242012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38125
24c5d07e 38126 [BZ #14033]
ded5180a
AS
38127 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38128 double functions to double *_finite functions.
38129
7e0d315d
AS
38130 [BZ #13941]
38131 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38132 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38133 LDBL_MIN_EXP.
38134 * stdio-common/Makefile (tests): Add tst-sprintf3.
38135 * stdio-common/tst-sprintf3.c: New file.
38136
6d5c57fa
AS
38137 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38138 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38139
0749ff8b
JM
381402012-04-28 Joseph Myers <joseph@codesourcery.com>
38141
38142 * conform/conformtest.pl: Remove duplicate typed-constant
38143 handling.
38144
8dbd5d7b
DM
381452012-04-28 David S. Miller <davem@davemloft.net>
38146
38147 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38148 (check-abi-%): Remove AWK script prerequisite and explicit
38149 abilist directory.
38150 (check-abi): Rewrite to just diff the symlist with the abilist.
38151 (config-tls, config-abi-config): Delete, no longer used.
38152 (update-abi-%): Remove AWK script and explicit abilist directory.
38153 (update-abi): Rewrite to simply compare and conditionally copy the
38154 symlist and the sysdep abilist file. Remove update-abi-config
38155 checks.
38156 * abilist/ld.abilist: Remove.
38157 * abilist/libBrokenLocale.abilist: Remove.
38158 * abilist/libanl.abilist: Remove.
38159 * abilist/libcrypt.abilist: Remove.
38160 * abilist/libdl.abilist: Remove.
38161 * abilist/librt.abilist: Remove.
38162 * abilist/libthread_db.abilist: Remove.
38163 * abilist/libutil.abilist: Remove.
38164 * scripts/extract-abilist.awk: Remove.
38165 * scripts/merge-abilist.awk: Remove.
38166 * sysdeps/generic/libcidn.abilist: New file.
38167 * sysdeps/generic/libnss_compat.abilist: New file.
38168 * sysdeps/generic/libnss_db.abilist: New file.
38169 * sysdeps/generic/libnss_dns.abilist: New file.
38170 * sysdeps/generic/libnss_files.abilist: New file.
38171 * sysdeps/generic/libnss_hesiod.abilist: New file.
38172 * sysdeps/generic/libnss_nis.abilist: New file.
38173 * sysdeps/generic/libnss_nisplus.abilist: New file.
38174 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38175 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38176 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38177 file.
38178 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38179 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38180 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38181 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38182 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38183 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38184 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38185 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38186 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38187 file.
38188 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38189 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38190 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38191 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38192 file.
38193 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38194 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38195 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38196 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38197 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38198 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38199 file.
38200 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38201 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38202 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38203 file.
38204 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38206 New file.
38207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38208 New file.
38209 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38210 New file.
38211 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38212 New file.
38213 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38214 New file.
38215 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38216 New file.
38217 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38218 New file.
38219 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38220 New file.
38221 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38222 New file.
38223 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38224 New file.
38225 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38226 New file.
38227 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38228 New file.
38229 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38230 New file.
38231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38232 file.
38233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38234 New file.
38235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38236 New file.
38237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38238 file.
38239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38240 New file.
38241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38242 New file.
38243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38244 file.
38245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38246 New file.
38247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38248 New file.
38249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38250 New file.
38251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38252 New file.
38253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38254 New file.
38255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38256 New file.
38257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38259 file.
38260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38261 New file.
38262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38263 file.
38264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38265 file.
38266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38267 file.
38268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38269 file.
38270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38271 file.
38272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38273 New file.
38274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38275 file.
38276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38277 file.
38278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38279 New file.
38280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38281 file.
38282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38284 file.
38285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38286 New file.
38287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38288 file.
38289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38290 file.
38291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38292 file.
38293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38294 file.
38295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38296 file.
38297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38298 New file.
38299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38300 file.
38301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38302 file.
38303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38304 New file.
38305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38306 file.
38307 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38308 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38309 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38310 file.
38311 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38312 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38313 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38314 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38315 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38316 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38317 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38318 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38319 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38320 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38323 file.
38324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38325 New file.
38326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38327 file.
38328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38329 file.
38330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38331 file.
38332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38333 file.
38334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38335 file.
38336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38337 New file.
38338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38339 New file.
38340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38341 file.
38342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38343 New file.
38344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38345 file.
38346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38348 file.
38349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38350 New file.
38351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38352 file.
38353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38354 file.
38355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38356 file.
38357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38358 file.
38359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38360 file.
38361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38362 New file.
38363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38364 New file.
38365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38366 file.
38367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38368 New file.
38369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38370 file.
38371
41d73a1b
JM
383722012-04-28 Joseph Myers <joseph@codesourcery.com>
38373
38374 * conform/conformtest.pl: Fix typo in handling typed-constant from
38375 allow-header.
38376
28aeeda4
JM
383772012-04-27 Joseph Myers <joseph@codesourcery.com>
38378
adae8f5e
JM
38379 * README: Cut down references to pre-2.6 Linux kernels and
38380 Linuxthreads. Update lists of configurations in libc and ports
38381 and sort alphabetically. Say "or newer" with Linux kernel version
38382 requirements.
38383
28aeeda4
JM
38384 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38385
a462cb63
RA
383862012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38387
38388 [BZ #887]
38389 * math/libm-test.inc (logb_test_downward): New test to expose
38390 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38391 rounding mode.
38392
6ad3493e
JM
383932012-04-27 Joseph Myers <joseph@codesourcery.com>
38394
38395 [BZ #14027]
38396 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38397 to be done.
38398 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38399 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38400
2ce4f015
JM
384012012-04-26 Joseph Myers <joseph@codesourcery.com>
38402
5aeb141a
JM
38403 * sysdeps/unix/i386/brk.S: Remove file.
38404 * sysdeps/unix/i386/dl-brk.S: Likewise.
38405 * sysdeps/unix/i386/pipe.S: Likewise.
38406 * sysdeps/unix/i386/sigreturn.S: Likewise.
38407 * sysdeps/unix/i386/syscall.S: Likewise.
38408 * sysdeps/unix/i386/vfork.S: Likewise.
38409 * sysdeps/unix/i386/wait.S: Likewise.
38410
7143acae
JM
38411 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38412 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38413
2ce4f015
JM
38414 * configure.in (arm*-none*): Do not allow without
38415 --enable-hacker-mode.
38416 (netbsd*): Remove case setting base_os.
38417 (386bsd*): Likewise.
38418 (freebsd*): Likewise.
38419 (bsdi*): Likewise.
38420 (osf*): Likewise.
38421 (sunos*): Likewise.
38422 (ultrix*): Likewise.
38423 (newsos*): Likewise.
38424 (dynix*): Likewise.
38425 (*bsd*): Likewise.
38426 (sysv*): Likewise.
38427 (isc*): Likewise.
38428 (esix*): Likewise.
38429 (sco*): Likewise.
38430 (minix*): Likewise.
38431 (irix4*): Likewise.
38432 (irix6*): Likewise.
38433 (solaris[2-9]*): Likewise.
38434 (none): Likewise.
38435 * configure: Regenerated.
38436
0ac229c8
AZ
384372012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38438
38439 [BZ #11521]
38440 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38441 overflow or cancellation in calculating denominator.
38442 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38443 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38444 down expression to avoid unexpected rounding in newer GCCs.
38445 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38446
33f244f4
DM
384472012-04-26 David S. Miller <davem@davemloft.net>
38448
38449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38450 long-double compat symbols.
38451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38464
cfa1f3e8
DM
384652012-04-25 David S. Miller <davem@davemloft.net>
38466
38467 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38468 HWCAP_* values only after the memory barriers have been defined.
38469 (atomic_full_barrier): Define.
38470 (atomic_read_barrier): Define.
38471 (atomic_write_barrier): Define.
38472
6e236b92
SP
384732012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38474
38475 * shlib-versions: Add libgcc_s version information.
38476 * sysdeps/generic/libgcc_s.h: Remove.
38477 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38478 libgcc_s.h.
38479 * sysdeps/gnu/unwind-resume.c: Likewise.
38480 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38481
aab39a09
DM
384822012-04-25 David S. Miller <davem@davemloft.net>
38483
38484 * sysdeps/unix/sparc/brk.S: Delete.
38485 * sysdeps/unix/sparc/dl-brk.S: Delete.
38486 * sysdeps/unix/sparc/pipe.S: Delete.
38487 * sysdeps/unix/sparc/sysdep.S: Delete.
38488 * sysdeps/unix/sparc/sysdep.h: Delete.
38489 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
38490 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38491 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38492 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38493 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
38494 (JUMPTARGET): Remove.
38495 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38496 sysdeps/unix/sparc/sysdep.h
38497 (ENTRY, END): Remove.
38498 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38499
a3cc4f48
JM
385002012-04-25 Joseph Myers <joseph@codesourcery.com>
38501
2ed8cda2
JM
38502 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38503 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38504 -DIS_IN_build.
38505
35d76d59
JM
38506 * timezone/README: Update upstream location and email address for
38507 tzcode and tzdata.
38508 * timezone/zdump.c: Update from tzcode 2012b.
38509 * timezone/zic.c: Likewise.
38510
a3cc4f48
JM
38511 * configure.in (libc_cv_as_needed): Remove test.
38512 * configure: Regenerated.
38513 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38514 conditional definition.
38515 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38516 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38517 * config.make.in (have-as-needed): Remove variable.
38518
ceab42c3
SP
385192012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38520 Paul Pluzhnikov <ppluzhnikov@google.com>
38521
38522 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38523 strings correctly.
38524
3ce2865f
CLT
385252012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38526
38527 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38528 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38529 * sysdeps/sh/strlen.S: Likewise.
38530
f37e0d68
JM
385312012-04-24 Joseph Myers <joseph@codesourcery.com>
38532
ae186e9a
JM
38533 * sysdeps/unix/fork.S: Remove file.
38534 * sysdeps/unix/i386/fork.S: Likewise.
38535 * sysdeps/unix/sparc/fork.S: Likewise.
38536
b96914af
JM
38537 * sysdeps/unix/system.c: Remove file.
38538 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38539
f37e0d68
JM
38540 * sysdeps/unix/getegid.S: Remove file.
38541 * sysdeps/unix/geteuid.S: Likewise.
38542
87ef29ca
RM
385432012-04-24 Roland McGrath <roland@hack.frob.com>
38544
83bcd236
RM
38545 * scripts/check-localplt.awk: New file.
38546 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38547 of diff.
38548 * scripts/data/localplt-generic.data: Add a comment.
38549
87ef29ca
RM
38550 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38551 NODE when __dir_mkfile failed.
38552 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38553 Reported by Ludovic Courtès <ludo@gnu.org>.
38554
e5a6e567
AJ
385552012-04-24 Andreas Jaeger <aj@suse.de>
38556
38557 * Makerules (common-clean): Also remove gen-as-const-headers
38558 files.
38559
c1820385
JM
385602012-04-24 Joseph Myers <joseph@codesourcery.com>
38561
38562 * Makerules (native-compile): Do not change working directory for
38563 build. Use $(OUTPUT_OPTION) in command.
38564 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38565
94e02fc4
AZ
385662012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38567
38568 [BZ #13886]
38569 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38570 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38571 * math/libm-test.inc (floor_test): Add more tests.
38572 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38573
3a533ca3
JM
385742012-04-24 Joseph Myers <joseph@codesourcery.com>
38575
940ab4b3
JM
38576 * sysdeps/unix/getdents.c: Remove file.
38577 * sysdeps/unix/sysv/getdents.c: Likewise.
38578 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38579
90e037bd
JM
38580 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38581 sysdeps/unix/mman/syscalls.list.
38582 (mmap): Likewise.
38583 (mprotect): Likewise.
38584 (msync): Likewise.
38585 (munmap): Likewise.
38586 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38587 * sysdeps/unix/mman/syscalls.list: Remove.
38588 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38589
3a533ca3
JM
38590 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38591 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38592 * configure: Regenerated.
38593 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38594 $(libgcc_s_suffix).
38595 * config.make.in (libgcc_s_suffix): Remove variable.
38596
1ad743de
JM
385972012-04-23 Joseph Myers <joseph@codesourcery.com>
38598
4ad451e2
JM
38599 * sysdeps/unix/sysv/gethostname.c: Move to ...
38600 * sysdeps/posix/gethostname.c: ... here.
38601
5e37ce39
JM
38602 * sysdeps/unix/execve.S: Remove file.
38603
1ad743de
JM
38604 * sysdeps/unix/_exit.S: Remove file.
38605
4e681b5b
AJ
386062012-04-23 Andreas Jaeger <aj@suse.de>
38607
38608 [BZ #13739]
38609 * manual/Makefile: Remove make dist support, there's no
38610 need for a stand-alone documentation tar ball.
38611 (TEXI2DVI): Define always, it's not in Makeconfig.
38612 (dist): Removed.
38613 (tar-it): Removed.
38614 (edition): Removed.
38615 (glibc-doc-$(edition).tar): Removed
38616 (%.Z): Removed.
38617 (%.gz): Removed.
38618 (%.uu): Removed.
38619 (ETAGS): Remove, it's in Makeconfig.
38620 (move-if-change): Remove, it's in Makeconfig.
38621
38686a03 386222012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
38623
38624 [BZ #13970]
38625 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38626 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38627 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38628 (strtod_l, strtof_l, strtold_l): Remove __wur.
38629 It is not necessarily an error to ignore strtol's return value.
38630 One can reliably look at the stored endptr to decide whether
38631 the number had valid syntax.
38632
7c0616fa
AJ
386332012-04-21 Andreas Jaeger <aj@suse.de>
38634
803cb6b7 38635 [BZ #13739]
7c0616fa
AJ
38636 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38637
b0fe253f
JM
386382012-04-21 Joseph Myers <joseph@codesourcery.com>
38639
38640 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38641 * sysdeps/unix/sysv/Versions: Remove file.
38642
8280f22d
MT
386432012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38644
38645 [BZ #13927]
38646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38647
75ce411f 386482012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
38649
38650 [BZ #7064]
38651 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38652 version from __vm86.
38653
097d59fa
JM
386542012-04-20 Joseph Myers <joseph@codesourcery.com>
38655
a90f3bcb
JM
38656 * sysdeps/unix/common/lxstat.c: Remove file.
38657 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38658
edc7ea78
JM
38659 * sysdeps/unix/sysv/Makefile: Remove file.
38660
cb78c221
JM
38661 * sysdeps/unix/sysv/direct.h: Remove file.
38662
efa6a45f
JM
38663 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38664 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38665 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38666 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38667 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38668 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38669 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38670
9c9f2d0c
JM
38671 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38672
4541c83b
JM
38673 * sysdeps/unix/xmknod.c: Remove file.
38674 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38675
f5d153a0
JM
38676 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38677
aa746595
JM
38678 * sysdeps/unix/sysv/i386/time.S: Remove file.
38679
cce5905e
JM
38680 * sysdeps/unix/fxstat.c: Remove file.
38681 * sysdeps/unix/xstat.c: Likewise.
38682 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38683
37fa3841
JM
38684 * sysdeps/unix/sysv/sigaction.c: Remove file.
38685
ff1962a3
JM
38686 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38687 (sysdep_headers): Remove variable.
38688 [termio.h not in sysdep_headers] (generated): Likewise.
38689 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38690 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38691 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38692 * sysdeps/unix/sysv/tcflow.c: Likewise.
38693 * sysdeps/unix/sysv/tcflush.c: Likewise.
38694 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38695 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38696 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38697 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38698 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38699
e7740d31
JM
38700 * sysdeps/unix/siglist.c: Remove file.
38701
ee06f18b
JM
38702 * sysdeps/unix/getppid.S: Remove file.
38703
097d59fa
JM
38704 * sysdeps/unix/mkdir.c: Remove file.
38705 * sysdeps/unix/rmdir.c: Likewise.
38706
ff3d51ec
AS
387072012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38708
38709 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38710 ERR_MAX value.
38711 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38712 errlist-compat value.
38713
50f81fd7
DM
387142012-04-18 David S. Miller <davem@davemloft.net>
38715
38716 * sysdeps/generic/memcopy.h (reg_char): Delete.
38717 * debug/strcat_chk.c: Use char, not reg_char.
38718 * debug/strcpy_chk.c: Likewise.
38719 * debug/strncat_chk.c: Likewise.
38720 * debug/strncpy_chk.c: Likewise.
38721 * string/memchr.c: Likewise.
38722 * string/memrchr.c: Likewise.
38723 * string/rawmemchr.c: Likewise.
38724 * string/strcat.c: Likewise.
38725 * string/strchr.c: Likewise.
38726 * string/strchrnul.c: Likewise.
38727 * string/strcmp.c: Likewise.
38728 * string/strcpy.c: Likewise.
38729 * string/strncat.c: Likewise.
38730 * string/strncmp.c: Likewise.
38731 * string/strncpy.c: Likewise.
38732
8ff41c46
WS
387332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38734
38735 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38736 __builtin_memcopy is called when src and dest ranges are known to not
38737 overlap.
38738
6b652f46
WS
387392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38740
38741 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38742 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38743 fwd_align_merge macro call.
38744 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38745 bwd_align_merge macro call.
38746 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38747
b282631e
WS
387482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38749
38750 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38751 bwd_align_merge macros.
38752 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38753 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38754 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38755
95aa737c
DM
387562012-04-18 David S. Miller <davem@davemloft.net>
38757
38758 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38759
7a99a614
AJ
387602012-04-18 Andreas Jaeger <aj@suse.de>
38761
38762 [BZ# 6794]
38763 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38764 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38765 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38766
38767 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38768 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38769 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38770
38771 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38772 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38773 Adjust for changed ldbl-128 files.
38774
38775 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38776 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38777 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38778
e5270c23
DM
387792012-04-17 David S. Miller <davem@davemloft.net>
38780
38781 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38782
fb5e92c9
AS
387832012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38784
38785 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38786 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38787 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38788 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38789 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38790 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38791
76da7265
AZ
387922012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38793
38794 [BZ #6794]
38795 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38796 * math/libm-test.inc: Add ilogb errno and exception tests.
38797 * math/w_ilogb.c: New file: ilogb wrapper.
38798 * math/w_ilogbf.c: New file: ilogbf wrapper.
38799 * math/w_ilogbl.c: New file: ilogbl wrapper.
38800 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38801 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38802 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38803 exception being thrown with 0.0 as argument.
38804 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38805 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38806 exception being thrown with 0.0 as argument.
38807 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38808 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38809 exception being thrown with 0.0 as argument.
38810 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38811 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38812 exception being thrown with 0.0 as argument.
38813 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38814 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 38815 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
38816 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38817 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38818 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38819 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38820 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38821 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38822
0396e69d
PB
388232012-04-17 Petr Baudis <pasky@ucw.cz>
38824
38825 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38826 with altivec.
38827
750b5926
MP
388282012-04-16 Marek Polacek <polacek@redhat.com>
38829
38830 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38831
751728a1
MP
388322012-04-16 Marek Polacek <polacek@redhat.com>
38833
38834 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38835 operands of fdivp instruction.
38836
34a27407
L
388372012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38838
38839 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38840 * elf/tst-auditmod3b.c: Likewise.
38841 * elf/tst-auditmod4b.c: Likewise.
38842 * elf/tst-auditmod5b.c: Likewise.
38843 * elf/tst-auditmod6b.c: Likewise.
38844 * elf/tst-auditmod6c.c: Likewise.
38845 * elf/tst-auditmod7b.c: Likewise.
38846 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38847 * sysdeps/x86_64/preconfigure.in: Likewise.
38848 * sysdeps/x86_64/preconfigure: Regenerated.
38849
7e73e17d
L
388502012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38851
38852 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38853 __ILP32__.
38854
c7a6ab72
AB
388552012-04-13 Antoine Balestrat <merkil33@gmail.com>
38856
38857 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38858 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38859
a9e8e0e0
CL
388602012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38861
38862 [BZ #13973]
38863 * locale/iso-639.def: Fix gl language name. Spotted by
38864 Yaron Shahrabani.
38865
ec98af7d
RM
388662012-04-12 Roland McGrath <roland@hack.frob.com>
38867
38868 [BZ #2074]
38869 * libio/libio.h (__io_write_fn): Update comment.
38870
247c3ede
PB
388712012-04-12 Petr Baudis <pasky@ucw.cz>
38872
38873 [BZ #2074]
38874 * stdio.texi (Hook Functions): The user provided writer function
38875 is not allowed to return -1.
38876
55939d6d
DM
388772012-04-11 David S. Miller <davem@davemloft.net>
38878
38879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38880
90020f5a
MF
388812012-04-11 Mike Frysinger <vapier@gentoo.org>
38882
38883 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38884 Add a leading slash to rtkaio.
38885
288f9098
JM
388862012-04-11 Jim Meyering <meyering@redhat.com>
38887
90020f5a
MF
38888 [BZ #11959]
38889 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38890 It is not necessarily an error to ignore fwrite's return
38891 value. One can reliably use ferror to test for errors after
38892 the fact.
288f9098 38893
4be2b570
L
388942012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38895
38896 * bits/types.h (__snseconds_t): New type.
38897 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38898
38899 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38900 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38901 (__SNSECONDS_T_TYPE): Likewise.
38902 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38903 (__SNSECONDS_T_TYPE): Likewise.
38904 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38905 (__SNSECONDS_T_TYPE): Likewise.
38906
288f9098 389072012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
38908
38909 [BZ #2636]
38910 * manual/time.texi (Processor Time): Return type of times is
38911 elapsed real time since an arbitrary point in the past.
38912 (CPU Time): Move CLK_TCK from here...
38913 (Processor Time): ...to here. Correct description.
38914 * manual/conf.texi (Constants for Sysconf): Correct description of
38915 _SC_CLK_TCK.
38916
d7dd4413
DM
389172012-04-10 David S. Miller <davem@davemloft.net>
38918
38919 [BZ #13967]
38920 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38921 where the is a gap between DT_REL(A) and DT_JMPREL.
38922
b46068fc
L
389232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38924
38925 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38926 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38927 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38928
73d65cc3
SP
389292012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38930
38931 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38932 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38933 (dl_main): Handle --inhibit-cache.
38934 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38935 _dl_inhibit_cache.
38936 * elf/dl-load.c (_dl_map_object): Use it.
38937 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38938
bcc8d661
JM
389392012-04-09 Joseph Myers <joseph@codesourcery.com>
38940
8f9a2fae
JM
38941 [BZ #13872]
38942 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38943 (__ieee754_powl): Saturate large exponents rather than testing for
38944 overflow of y*log2(x).
38945 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38946 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38947 exceptions.
38948
bcc8d661
JM
38949 [BZ #11521]
38950 * math/s_ctan.c: Include <float.h>.
38951 (__ctan): Avoid internal overflow or cancellation in calculating
38952 denominator.
38953 * math/s_ctanf.c: Likewise.
38954 * math/s_ctanl.c: Likewise.
38955 * math/s_ctanh.c: Likewise.
38956 * math/s_ctanhf.c: Likewise.
38957 * math/s_ctanhl.c: Likewise.
38958 * math/libm-test.inc (ctan_test): Add more tests.
38959 (ctanh_test): Likewise.
38960 * sysdeps/i386/fpu/libm-test-ulps: Update.
38961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38962
823fbbb4
AJ
389632012-04-09 Andreas Jaeger <aj@suse.de>
38964
03879793
AJ
38965 [BZ #6894]
38966 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38967 is an optional BSD extension.
38968
823fbbb4
AJ
38969 [BZ #10254]
38970 * manual/stdio.texi (Opening Streams): Document additional fopen
38971 parameters.
38972
8de131cb
RM
389732012-04-09 Roland McGrath <roland@hack.frob.com>
38974
38975 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38976 %eax without telling the compiler.
38977
c0ed9d7d
CD
389782012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38979
38980 [BZ # 13963]
38981 * manual/install.texi: Use sourceware.org.
38982
c483f6b4
JM
389832012-04-09 Joseph Myers <joseph@codesourcery.com>
38984
d7dd9453
JM
38985 [BZ #13873]
38986 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38987 (__ieee754_pow): Generate overflow and underflow using huge*huge
38988 and tiny*tiny rather than just returning constant infinity or zero
38989 for large exponents.
38990 * math/libm-test.inc (pow_test): Require overflow exceptions for
38991 applicable cases of large exponents.
38992
c483f6b4
JM
38993 [BZ #706]
38994 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38995 (__ieee754_pow): Use iterative multiplication algorithm only for
38996 integer exponents with absolute value below 1024. Check for odd
38997 integer exponents when using algorithm for real exponents.
38998 * math/libm-test.inc (pow_test): Add more tests.
38999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39000
d2de7579
JM
390012012-04-08 Joseph Myers <joseph@codesourcery.com>
39002
39003 [BZ #13705]
39004 * math/libm-test.inc (exp_test): Do not allow overflow exception
39005 on underflow test.
39006
f77f1232
AJ
390072012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39008
39009 [BZ #13705]
39010 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39011 instead of __kernel_standard_f.
39012
3884932b
MF
390132012-04-08 Mike Frysinger <vapier@gentoo.org>
39014
39015 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39016 * sysdeps/x86_64/memset_chk.S: Likewise.
39017
54472e9c
AJ
390182012-04-08 Andreas Jaeger <aj@suse.de>
39019
6ab0fbfc
AJ
39020 [BZ #10153]
39021 * manual/startup.texi (Environment Access): Describe return value
39022 for putenv and setenv.
39023
61efba8c
AJ
39024 [BZ #6895]
39025 * manual/filesys.texi (Directory Entries): Add description for
39026 DT_LNK.
39027
95c3f29a
AJ
39028 [BZ #6890]
39029 * manual/filesys.texi (Directory Entries): Clarify that it's file
39030 system not operating system in the description of DT_UNKNOWN.
39031
54472e9c
AJ
39032 [BZ #6578]
39033 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39034
624254b1
SC
390352012-04-08 Stephen Compall <s11@member.fsf.org>
39036
39037 [BZ #6649]
39038 * manual/llio.texi (Opening and Closing Files): Add cross
39039 reference to explain mode argument.
39040
1e4920e0
MF
390412012-04-07 Mike Frysinger <vapier@gentoo.org>
39042
39043 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39044 * sysdeps/x86_64/memset_chk.S: Likewise.
39045
5ed848f3
DM
390462012-04-07 David S. Miller <davem@davemloft.net>
39047
39048 * elf/elf.h (R_SPARC_WDISP10): Define.
39049 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39050 R_SPARC_SIZE32.
39051 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39052 R_SPARC_SIZE64 and R_SPARC_H34.
39053
96154cd8
CD
390542012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39055
39056 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39057 conditions and remove no longer applicable assertion.
39058
9904dc47
L
390592012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39060
39061 * bits/byteswap.h: Include <features.h>.
39062 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39063 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39064
f8887d0a
L
390652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39066
39067 * bits/byteswap.h (__bswap_16): Removed.
39068 Include <bits/byteswap-16.h> to get __bswap_16.
39069 * sysdeps/i386/bits/byteswap.h: Likewise.
39070 * sysdeps/s390/bits/byteswap.h: Likewise.
39071 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39072 * bits/byteswap-16.h: New file.
39073 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39074 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39075 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39076 * string/Makefile (headers): Add bits/byteswap-16.h.
39077
62470f60
PP
390782012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39079
39080 [BZ #13895]
39081 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39082 extra indirection.
39083 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39084 * nss/tst-nss-static.c: New.
39085
4dad7bab
RM
390862012-04-06 Robert Millan <rmh@gnu.org>
39087
39088 [BZ #6486]
39089 * manual/llio.texi (File Position Primitive): lseek
39090 refers to WHENCE when it really means OFFSET.
39091
e9142a17
AJ
390922012-04-06 Andreas Jaeger <aj@suse.de>
39093
2c040eff
AJ
39094 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39095 strncmp declarations.
39096
e9142a17
AJ
39097 * abilist/libc.abilist: Add __poll and __ppoll.
39098
ff9f1c5f
DM
390992012-04-05 David S. Miller <davem@davemloft.net>
39100
dcd2ae90
DM
39101 * scripts/check-local-headers.sh: Accept a host triplet in the
39102 path matched by the exclude regexp.
39103
993eb054
DM
39104 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39105 definition.
39106 * sysdeps/powerpc/powerpc32/dl-machine.h
39107 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39108 * sysdeps/s390/s390-32/dl-machine.h
39109 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39110 * sysdeps/sparc/sparc32/dl-machine.h
39111 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39112 * sysdeps/sparc/sparc64/dl-machine.h
39113 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39114
ff9f1c5f
DM
39115 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39116 lazy binding.
48e2e132 39117 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
39118 undefined symbol errors.
39119
48e2e132 39120 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
39121 DT_NEEDED entries.
39122
e80d6f94
MM
391232012-04-05 Michael Matz <matz@suse.de>
39124
39125 [BZ #13592]
39126 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39127
349fa79f
AJ
391282012-04-05 Andreas Jaeger <aj@suse.de>
39129
39130 [BZ #13908]
39131 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39132 comment.
39133
f402708f
KK
391342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39135
39136 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39137 which ROUND is no valid rounding mode.
39138
2ecccfc9
KK
391392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39140
39141 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39142 read again.
39143 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39144
8a53f50f
KK
391452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39146
39147 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39148 an exception using FPU order intentionally.
39149
391502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39151
39152 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39153 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39154 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39155 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39156
d653abb7
SJ
391572012-04-05 Simon Josefsson <simon@josefsson.org>
39158
39159 [BZ #12340]
39160 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39161 EINVAL when BUFLEN is too smal.
39162
c3b1bf7d
TS
391632012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39164
39165 [BZ #13553]
39166 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39167 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39168
b1aa60f3
AJ
391692012-04-03 Andreas Jaeger <aj@suse.de>
39170
c3b1bf7d 39171 [BZ #13938]
67f60a26
AJ
39172 * manual/setjmp.texi (System V contexts): Fix sentence.
39173
b1aa60f3
AJ
39174 [BZ #13926]
39175 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39176 New macro for this case.
39177 [!__GNUC__] (__bswap_64): New inline function for this case.
39178 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39179 * bits/byteswap.h: Likewise.
39180 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39181 ull, guard with __GLIBC_HAVE_LONG_LONG.
39182
39183 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39184 __GLIBC_HAVE_LONG_LONG.
39185
39186 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39187 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39188
39c59c35
TMQMF
391892012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39190
39191 [BZ #13691]
39192 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39193 inptr and inend, rather than using last_ch.
39194
135ffda8
DM
391952012-04-02 David S. Miller <davem@davemloft.net>
39196
39197 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39198 * stdio-common/printf-parse.h (read_int): Change return type to
39199 'int', return -1 on INT_MAX overflow.
39200 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39201 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39202 overflows INT_MAX. Check for overflow of in-format-string precision
39203 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39204 SIZE_MAX not INT_MAX for integer overflow test.
39205 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39206 skip the construct in the format string but do not record anything.
39207 * stdio-common/bug22.c: Adjust to test both width/prevision
39208 INT_MAX overflow as well as total length INT_MAX overflow. Check
39209 explicitly for proper errno values.
39210
228c019e
TS
392112012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39212
302cadd3
TS
39213 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39214 CHAR_MAX.
39215 * string/test-strcmp.c [! WIDE]: Likewise.
39216 * time/tst-mktime2.c: Likewise for INT_MAX.
39217 * string/test-string.h: #include <sys/param.h> for MIN.
39218
228c019e
TS
39219 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39220 * sysdeps/i386/init-first.c (init): Likewise.
39221 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39222 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39223 * sysdeps/sh/init-first.c (init): Likewise.
39224
cfa633f5
UD
392252012-04-01 Ulrich Drepper <drepper@gmail.com>
39226
39227 * po/ru.po: Update from translation team.
d1635ef8 39228 * po/vi.po: Likewise.
cfa633f5 39229
6cd0a5ea
SP
392302012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39231
39232 * resolv/nss_dns/dns-host.c: Merge copyright years.
39233
4b43400f
LD
392342012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39235
39236 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39237 Optimize memcpy with prefetch if
39238 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39239 src, dst pointers have unequal 16 byte alignments.
39240
48c41d04
SP
392412012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39242
39243 [BZ #13928]
39244 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39245 from a CNAME entry and return the minimum ttl for the query.
39246 (gaih_getanswer_slice): Likewise.
39247
b8dc394d
JL
392482012-03-30 Jeff Law <law@redhat.com>
39249
39250 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39251 due to long keys.
39252 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39253 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39254
2f5a5ed0
JL
39255 * resolv/nss_dns/dns-host.c: Update copyright year.
39256
1d39e359
UD
392572012-03-30 Ulrich Drepper <drepper@gmail.com>
39258
c030f70c 39259 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 39260 requests to save a system call. Fix check that all bytes are sent.
c030f70c 39261
1d39e359
UD
39262 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39263 comments for sendmmsg.
39264
392652012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
39266
39267 [BZ #13691]
39268 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39269 with only 1 character between 0x0041 and 0x01b0.
39270 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39271 * wcsmbs/tst-mbsnrtowcs.c: New file.
39272
20fde227
DM
392732012-03-29 David S. Miller <davem@davemloft.net>
39274
39275 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39276 small copies by hand.
39277
984a4237
JL
392782012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39279
39280 [BZ #13761]
57f41c40
AS
39281 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39282 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39283 group memberships.
984a4237 39284
18c9d62b
DM
392852012-03-28 David S. Miller <davem@davemloft.net>
39286
88d85d4f
DM
39287 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39288 that branches into memcpy.
39289 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39290 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39291 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39292 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39293 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39294 bits.
39295 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39296 implementation too.
39297 * sysdeps/sparc/mempcpy.S: New file.
39298
e5aa83e1
DM
39299 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39300 the IFUNC routine in the libc case.
39301 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39302
88570753
DM
39303 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39304 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39305 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39306 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39307 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39308 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39309 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39310 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39311
249d7567
DM
39312 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39313 loop to 256 bytes instead of 64 bytes and fix test signedness.
39314
18c9d62b
DM
39315 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39316 * sysdeps/sparc/sparc32/Makefile: rather than here...
39317 * sysdeps/sparc/sparc64/Makefile: and here.
39318
05f3d1f6
UD
393192012-03-28 Ulrich Drepper <drepper@gmail.com>
39320
39321 * malloc/mallocbug.c: Avoid warnings about unused variables.
39322
86ae07a8
JL
393232012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39324
39325 [BZ #13760]
39326 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39327 in the right place. Discard and retry query if response is
39328 larger than input buffer size.
39329
41bf21a1
JM
393302012-03-28 Joseph Myers <joseph@codesourcery.com>
39331
d6270972
JM
39332 [BZ #369]
39333 [BZ #2678]
39334 [BZ #3866]
39335 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39336 x for large integer exponent.
39337 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39338 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39339 sign of result as needed afterwards.
39340 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39341 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39342 result for underflowing pow the same as for overflow.
39343 (__kernel_standard_l): Handle powl overflow and underflow here
39344 rather than calling __kernel_standard.
39345 * math/libm-test.inc (pow_test): Add more tests.
39346
414fca03 39347 [BZ #3868]
41bf21a1
JM
39348 [BZ #13879]
39349 [BZ #13910]
39350 [BZ #13911]
39351 [BZ #13912]
39352 [BZ #13913]
39353 [BZ #13915]
39354 [BZ #13916]
39355 [BZ #13917]
39356 [BZ #13918]
39357 [BZ #13919]
39358 [BZ #13920]
39359 [BZ #13921]
39360 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39361 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39362 (__kernel_standard_l): New function.
39363 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39364 __kernel_standard.
39365 * math/w_acosl.c (__acosl): Likewise.
39366 * math/w_asinl.c (__asinl): Likewise.
39367 * math/w_atan2l.c (__atan2l): Likewise.
39368 * math/w_atanhl.c (__atanhl): Likewise.
39369 * math/w_coshl.c (__coshl): Likewise.
39370 * math/w_exp10l.c (__exp10l): Likewise.
39371 * math/w_exp2l.c (__exp2l): Likewise.
39372 * math/w_fmodl.c (__fmodl): Likewise.
39373 * math/w_hypotl.c (__hypotl): Likewise.
39374 * math/w_j0l.c (__j0l, __y0l): Likewise.
39375 * math/w_j1l.c (__j1l, __y1l): Likewise.
39376 * math/w_jnl.c (__jnl, __ynl): Likewise.
39377 * math/w_lgammal.c (__lgammal): Likewise.
39378 * math/w_log10l.c (__log10l): Likewise.
39379 * math/w_log2l.c (__log2l): Likewise.
39380 * math/w_logl.c (__logl): Likewise.
39381 * math/w_powl.c (__powl): Likewise.
39382 * math/w_remainderl.c (__remainderl): Likewise.
39383 * math/w_scalbl.c (sysv_scalbl): Likewise.
39384 * math/w_sinhl.c (__sinhl): Likewise.
39385 * math/w_sqrtl.c (__sqrtl): Likewise.
39386 * math/w_tgammal.c (__tgammal): Likewise.
39387 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39388 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39389 * math/libm-test.inc (acos_test): Add more tests.
39390 (acosh_test): Likewise.
39391 (asin_test): Likewise.
39392 (atanh_test): Likewise.
39393 (exp_test): Likewise.
39394 (exp10_test): Likewise.
39395 (exp2_test): Likewise.
39396 (expm1_test): Likewise.
39397 (lgamma_test): Likewise.
39398 (log_test): Likewise.
39399 (log10_test): Likewise.
39400 (log1p_test): Likewise.
39401 (log2_test): Likewise.
39402 (pow_test): Do not allow some spurious overflow exceptions.
39403 (sqrt_test): Add more tests.
39404 (tgamma_test): Likewise.
39405 (y0_test): Likewise.
39406 (y1_test): Likewise.
39407 (yn_test): Likewise.
39408
dd62fda6
AB
394092012-03-27 Anton Blanchard <anton@samba.org>
39410
39411 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39412 MAP_HUGETLB.
39413 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39414 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39415 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39416
1e3cdfda
AJ
394172012-03-27 David S. Miller <davem@davemloft.net>
39418
b855ab85
DM
39419 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39420
1e3cdfda
AJ
39421 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39422 have-as-vis3 check.
39423
394242012-03-27 Andreas Jaeger <aj@suse.de>
39425
39426 * sysdeps/x86_64/elf/configure.in: Moved to ...
39427 * sysdeps/x86_64/configure.in: ... here.
39428 * sysdeps/x86_64/elf/start.S: Moved to ...
39429 * sysdeps/x86_64/start.S: ... here.
39430 * sysdeps/x86_64/elf/configure: Delete.
39431
39432 * sysdeps/x86_64/configure.in: Merge contents from
39433 sysdeps/i386/configure.in (without i686 check).
39434
39435 * sysdeps/i386/elf/Versions: Merge into ...
39436 * sysdeps/i386/Versions: ... this.
39437 * sysdeps/i386/elf/Versions: Delete file.
39438 * sysdeps/i386/elf/start.S: Moved to ...
39439 * sysdeps/i386/start.S: ...here.
39440 * sysdeps/i386/elf/configure.in: Merge into...
39441 * sysdeps/i386/configure.in: ...here.
39442 * sysdeps/i386/elf/configure.in: Delete file.
39443 * sysdeps/i386/elf/configure: Delete file.
39444
39445 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39446 * debug/backtracesyms.c: ... here.
39447 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39448 * debug/backtracesymsfd.c: ... here.
39449 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39450 * sysdeps/generic/ifunc-sel.h: ... here.
39451
39452 * sysdeps/unix/i386/start.c: Delete file.
39453 * sysdeps/unix/sparc/start.c: Delete file.
39454 * sysdeps/unix/start.c: Delete file.
39455
39456 * sysdeps/sh/elf/configure.in: Moved to ...
39457 * sysdeps/sh/configure.in: ... here.
39458 * sysdeps/sh/elf/start.S: Moved to ...
39459 * sysdeps/sh/start.S: ... here.
39460 * sysdeps/sh/elf/configure: Delete file.
39461
39462 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39463 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39464 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39465 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39466 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39467 * sysdeps/powerpc/powerpc64/start.S: here.
39468 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39469 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39470 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39471 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39472 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39473
39474 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39475 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39476 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39477 * sysdeps/powerpc/powerpc32/start.S: ... here.
39478 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39479 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39480 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39481
39482 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39483 * sysdeps/powerpc/ifunc-sel.h: ... here.
39484 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39485 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39486
39487 * sysdeps/sparc/elf/configure.in: Moved to ...
39488 * sysdeps/sparc/configure.in: ... here.
39489 * sysdeps/sparc/elf/configure: Delete file.
39490 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39491 * sysdeps/sparc/sparc32/start.S: ... here.
39492 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39493 * sysdeps/sparc/sparc64/start.S: ... here.
39494 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39495 * sysdeps/sparc/sparc32/Makefile: ... this.
39496 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39497 * sysdeps/sparc/sparc64/Makefile: ... this.
39498
39499 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39500 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39501 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39502 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39503 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39504 * sysdeps/s390/s390-32/setjmp.S: ... here.
39505 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39506 * sysdeps/s390/s390-32/configure.in: ... here.
39507 * sysdeps/s390/s390-32/elf/configure: Delete file.
39508 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39509 * sysdeps/s390/s390-32/start.S: ... here.
39510
39511 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39512 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39513 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39514 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39515 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39516 * sysdeps/s390/s390-64/setjmp.S: ... here.
39517 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39518 * sysdeps/s390/s390-64/configure.in: ... here
39519 * sysdeps/s390/s390-64/elf/configure: Delete file.
39520 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39521 * sysdeps/s390/s390-64/start.S: ... here.
39522 * sysdeps/s390/s390-64/elf/configure: Delete.
39523
39524 * configure.in: Remove support for elf directories in sysdeps.
39525
39526 * configure: Regenerated.
39527 * sysdeps/i386/configure: Regenerated.
39528 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39529 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39530 * sysdeps/s390/s390-32/configure: Regenerated.
39531 * sysdeps/s390/s390-64/configure: Regenerated.
39532 * sysdeps/sh/configure: Regenerated.
39533 * sysdeps/sparc/configure: Regenerated.
39534 * sysdeps/x86_64/configure: Regenerated.
39535
a3f61311
AS
395362012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39537
c876e002
AS
39538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39539
a3f61311
AS
39540 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39541 denormal result into account.
39542
ac4c54f0
RM
395432012-03-25 Roland McGrath <roland@hack.frob.com>
39544
39545 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39546 Reported by Allan McRae <allan@archlinux.org>.
39547
6a9b9c02
JL
395482012-03-23 Jeff Law <law@redhat.com>
39549
39550 * nss/getnssent.c (__nss_getent): Fix typo.
39551
4c42a0c1
DM
395522012-03-23 David S. Miller <davem@davemloft.net>
39553
39554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39555
1532c7ac
L
395562012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39557
39558 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39559 to pad to uint64_t for each field.
39560 (dl_tls_index): Replace unsigned long with uint64_t.
39561
3ff42526
PP
395622012-03-23 Daniel Jacobowitz <dmj@google.com>
39563 Paul Pluzhnikov <ppluzhnikov@google.com>
39564
39565 [BZ #6528]
39566 * grp/Makefile (otherlibs): Don't set it.
39567 * inet/Makefile (otherlibs): Likewise.
39568 * login/Makefile (otherlibs): Likewise.
39569 * nscd/Makefile (otherlibs): Likewise.
39570 * posix/Makefile (otherlibs): Likewise.
39571 * pwd/Makefile (otherlibs): Likewise.
39572 * rt/Makefile (otherlibs): Likewise.
39573 * sunrpc/Makefile (otherlibs): Likewise.
39574 * nss/Makefile (otherlibs): Likewise.
39575 Add libnss_files to routines and static-only-routines.
39576 ($(objpfx)getent): Remove rule.
39577 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39578 static-only-routines.
39579
7c69cd14
JM
395802012-03-22 Joseph Myers <joseph@codesourcery.com>
39581
39582 [BZ #13892]
39583 * math/s_cexp.c: Include <float.h>.
39584 (__cexp): Handle exp result overflowing not necessarily
39585 overflowing both real and imaginary parts of result.
39586 * math/s_cexpf.c: Likewise.
39587 * math/s_cexpl.c: Likewise.
39588 * math/libm-test.inc (cexp_test): Add more tests.
39589 * sysdeps/i386/fpu/libm-test-ulps: Update.
39590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39591
81b035fe
L
395922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39593
39594 * include/link.h (ELFW): New macro.
39595 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39596 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39597
1da7940c
L
395982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39599
39600 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39601 with uint64_t.
39602
b749dbb9
L
396032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39604
39605 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39606 declaration.
39607 (struct La_x32_retval): Likewise.
39608
2ff87f3f
L
396092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39610
39611 * sysdeps/x86_64/preconfigure.in: New file.
39612 * sysdeps/x86_64/preconfigure: New generated file.
39613
c0df8e69
JM
396142012-03-22 Joseph Myers <joseph@codesourcery.com>
39615
48e44791
JM
39616 [BZ #13824]
39617 * math/e_exp2l.c: Include <float.h>.
39618 (__ieee754_exp2l): Handle overflow and underflow cases
39619 separately. Only pass fractional part of argument to
39620 __ieee754_expl.
39621 * math/libm-test.inc (exp2_test): Add more tests.
39622
c0df8e69
JM
39623 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39624 negating x to take absolute value.
39625 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39626 Likewise.
39627 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39628 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39629 Likewise.
39630 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39631 computing low part if x was negated.
39632 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39633
c8e43ba7
L
396342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39635
39636 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39637 la_x32_gnu_pltexit.
39638 (pltexit): Cast int_retval to ptrdiff_t.
39639 * elf/tst-auditmod3b.c: Likewise.
39640 * elf/tst-auditmod4b.c: Likewise.
39641 * elf/tst-auditmod5b.c: Likewise.
39642 * elf/tst-auditmod6b.c: Likewise.
39643 * elf/tst-auditmod6c.c: Likewise.
39644 * elf/tst-auditmod7b.c: Likewise.
39645
39646 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39647 and x32_gnu_pltexit.
39648
39649 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39650 __ELF_NATIVE_CLASS.
39651 (La_x32_regs): New macro.
39652 (La_x32_retval): Likewise.
39653 (la_x32_gnu_pltenter): New function prototype.
39654 (la_x32_gnu_pltexit): Likewise.
39655
7998fa78
AS
396562012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39657
dcb33988
AS
39658 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39659 exponent.
39660
233fc563
AS
39661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39662
7998fa78
AS
39663 * configure.in (libc_cv_cc_nofma): Check for option to disable
39664 generation of FMA instructions.
39665 * configure: Regenerate.
39666 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39667 * sysdeps/ieee754/dbl-64/Makefile: New file.
39668 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39669 Remove brandred-fma4.
39670 (CFLAGS-brandred-fma4.c): Remove.
39671 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39672 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39673 define.
39674 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39675 define.
39676
8e95c99a
L
396772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39678
39679 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39680 LLONG_MAX != LONG_MAX.
39681 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39682 (_fitoa_word): Likewise.
39683 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39684 LLONG_MAX != LONG_MAX.
39685 * stdio-common/_itowa.h: Include <_itoa.h>.
39686 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39687 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39688 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39689 only if not defined.
39690 (_ITOA_WORD_TYPE): Likewise.
39691 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39692 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39693
6f4db457
DM
396942012-03-21 David S. Miller <davem@davemloft.net>
39695
39696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39697
7785fe5a
L
396982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39699
39700 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39701 of x86_64 when setting libc_cv_slibdir, libdir and
39702 libc_cv_localedir.
39703 * sysdeps/unix/sysv/linux/configure: Regenerated.
39704
4535cd55
JM
397052012-03-21 Joseph Myers <joseph@codesourcery.com>
39706
39707 * manual/lang.texi (Old Varargs): Remove section.
39708 (How Variadic): Update menu.
39709 (va_start): Do not mention varargs.h.
39710
17228132
TS
397112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39712 Joseph Myers <joseph@codesourcery.com>
39713
39714 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39715 link test.
39716 * configure: Regenerated.
39717
8149f976
TS
397182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39719
05f3d1f6
UD
39720 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39721 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39722 conformtest.pl
8149f976 39723
1a4ac776
JM
397242012-03-21 Joseph Myers <joseph@codesourcery.com>
39725
be22ce65
JM
39726 * NOTES: Remove.
39727 * Makefile (files-for-dist): Remove NOTES.
39728 (NOTES): Remove rule.
39729 * README: Don't refer to NOTES.
39730 * manual/creature.texi: Don't include macros.texi.
39731 * manual/intro.texi (creature.texi): Remove comment referring to
39732 NOTES.
39733
40b601fb
JM
39734 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39735 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39736 * configure: Regenerated.
39737 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39738 LIBC_TRY_CC_OPTION.
39739 (libc_cv_as_i686): Likewise.
39740 (libc_cv_cc_avx): Likewise.
39741 (libc_cv_cc_sse2avx): Likewise.
39742 (libc_cv_cc_fma4): Likewise.
39743 (libc_cv_cc_novzeroupper): Likewise.
39744 * sysdeps/i386/configure: Regenerated.
39745
1a4ac776
JM
39746 [BZ #13883]
39747 * sysdeps/i386/fpu/s_cexp.S: Remove.
39748 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39749 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39750 * math/libm-test.inc (cexp_test): Add more tests.
39751 * sysdeps/i386/fpu/libm-test-ulps: Update.
39752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39753
a458e7fe
AM
397542012-03-21 Allan McRae <allan@archlinux.org>
39755
39756 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39757
0cb7efc5
JM
397582012-03-21 Joseph Myers <joseph@codesourcery.com>
39759
39760 [BZ #13871]
39761 * math/w_exp2.c: Do not include <float.h>.
39762 (o_threshold, u_threshold): Remove.
39763 (__exp2): Calculate result before checking finiteness and calling
39764 __kernel_standard.
39765 * math/w_exp2f.c: Likewise.
39766 * math/w_exp2l.c: Likewise.
39767 * math/libm-test.inc (exp2_test): Require overflow exception for
39768 1e6 input.
2460d3aa
JM
39769
39770 [BZ #3866]
39771 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39772 range of signed 64-bit integers before using fistpll. Remove
39773 checks for whether integers fit in mantissa bits.
39774 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39775 the range of signed 32-bit integers before using fistpl. Remove
39776 checks for whether integers fit in mantissa bits.
39777 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39778 (__ieee754_powl): Test for y outside the range of signed 64-bit
39779 integers before using fistpll. Reduce 64-bit values to 63-bit
39780 ones as needed.
39781 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39782 divide-by-zero is raised for zero to large negative powers.
39783 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39784 (__ieee754_powl): Test for y outside the range of signed 64-bit
39785 integers before using fistpll. Reduce 64-bit values to 63-bit
39786 ones as needed.
39787 * math/libm-test.inc (pow_test): Add more tests.
39788
eb96ffb0
L
397892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39790
39791 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39792 <stdio-common/_itoa.h>.
39793 * debug/segfault.c: Likewise.
39794 * elf/dl-cache.c: Likewise.
39795 * elf/dl-minimal.c: Likewise.
39796 * elf/dl-misc.c: Likewise.
39797 * elf/dl-sysdep.c: Likewise.
39798 * elf/dl-version.c: Likewise.
39799 * elf/rtld.c: Likewise.
39800 * hurd/hurdsock.c: Likewise.
39801 * hurd/lookup-retry.c: Likewise.
39802 * malloc/malloc.c: Likewise.
39803 * malloc/mtrace.c: Likewise.
39804 * nscd/nscd_getgr_r.c: Likewise.
39805 * nscd/nscd_getpw_r.c: Likewise.
39806 * nscd/nscd_getserv_r.c: Likewise.
39807 * posix/getopt_init.c: Likewise.
39808 * posix/wordexp.c: Likewise.
39809 * stdio-common/_itoa.c: Likewise.
39810 * stdio-common/printf_fphex.c: Likewise.
39811 * stdio-common/vfprintf.c: Likewise.
39812 * string/_strerror.c: Likewise.
39813 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39814 * sysdeps/i386/i686/hp-timing.h: Likewise.
39815 * sysdeps/mach/_strerror.c: Likewise.
39816 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39817 * sysdeps/mach/hurd/sethostid.c: Likewise.
39818 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39819 * sysdeps/mach/xpg-strerror.c: Likewise.
39820 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39821 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39822 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39823 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39824 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39825 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39826 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39827 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39828 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39829 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39830 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39831 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39832 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39833 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39834 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39835 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39836 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39837 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39838 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39839 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39840 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39841
39842 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39843
39844 * stdio-common/_itoa.h: Moved to ...
39845 * sysdeps/generic/_itoa.h: Here.
39846
39847 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39848
39849 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39850 instead of "_itoa.h" and "_itowa.h".
39851 * stdio-common/vfprintf.: Likewise.
39852
d1af992d
L
398532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39854
39855 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39856 <bits/wordsize.h>.
39857 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39858 (__signbit): Likwise.
39859 (llrintf): Likwise.
39860 (llrint): Likwise.
39861
114883e0
L
398622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39863
39864 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39865 __WORDSIZE != 64.
39866
c135cc1b
JM
398672012-03-20 Joseph Myers <joseph@codesourcery.com>
39868
39869 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39870 OVERFLOW_EXCEPTION_OK.
39871 * math/libm-test.inc ("Philosophy"): Update comment about
39872 exception testing.
39873 (OVERFLOW_EXCEPTION): Define.
39874 (OVERFLOW_EXCEPTION_OK): Likewise.
39875 (INVALID_EXCEPTION_OK): Renumber.
39876 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39877 (IGNORE_ZERO_INF_SIGN): Likewise.
39878 (test_exceptions): Handle FE_OVERFLOW.
39879 (exp10_test): Expect overflow exceptions.
39880 (exp2_test): Likewise.
39881 (expm1_test): Likewise.
39882 (nextafter_test): Likewise.
39883 (pow_test): Likewise.
39884 (scalbn_test): Likewise.
39885 (scalbln_test): Likewise.
39886
95443d88
L
398872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39888
39889 * sysdeps/x86_64/bits/atomic.h
39890 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39891 64bit integer.
39892 (atomic_exchange_acq): Likewise.
39893 (__arch_exchange_and_add_body): Likewise.
39894 (__arch_add_body): Likewise.
39895 (atomic_add_negative): Likewise.
39896 (atomic_add_zero): Likewise.
39897
490df6c4
L
398982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39899
c2722551 39900 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
39901 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39902
5e52b189
L
399032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39904
39905 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39906 Check __x86_64__ instead of __WORDSIZE.
39907
a9879d4c
L
399082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39909
39910 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39911
5df98260
DM
399122012-03-19 David S. Miller <davem@davemloft.net>
39913
e1497744
DM
39914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39915
5df98260
DM
39916 * sysdeps/sparc/fpu/fenv_private.h: New file.
39917 * sysdeps/sparc/fpu/math_private.h: Use it.
39918 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39919 Remove.
57f41c40 39920 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
39921 (libc_feholdexcept_setroundl): Remove.
39922 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39923 Remove.
39924 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39925 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39926
b4c35121
L
399272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39928
39929 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39930 int64_t instead of long int.
39931 (INSERT_WORDS64): Likwise.
39932
56965fd7
L
399332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39934
39935 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39936 _Unwind_GetCFA return to _Unwind_Ptr first.
39937
83d1aec8
JM
399382012-03-19 Joseph Myers <joseph@codesourcery.com>
39939
1897ad44
JM
39940 [BZ #13629]
39941 * math/s_clog.c: Include <float.h>.
39942 (__clog): Scale large or subnormal inputs.
39943 * math/s_clogf.c: Likewise.
39944 * math/s_clogl.c: Likewise.
39945 * math/s_clog10.c: Include <float.h>.
39946 (M_LOG10_2): Define.
39947 (__clog10): Scale large or subnormal inputs.
39948 * math/s_clog10f.c: Likewise.
39949 * math/s_clog10l.c: Likewise.
39950 * math/libm-test.inc (clog_test): Add more tests.
39951 (clog10_test): Likewise.
39952 * sysdeps/i386/fpu/libm-test-ulps: Update.
39953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39954
7726d6a9
JM
39955 [BZ #11451]
39956 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39957 x and y.
39958 * math/libm-test.inc (atan2_test): Add another test.
39959
83d1aec8
JM
39960 * Makerules (common-objdir-compile): Remove.
39961 * sysdeps/unix/Makefile (config-generated): Do not add
39962 $(unix-generated) to variable.
39963 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39964 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39965 Remove rule.
39966 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39967 Likewise.
39968 [generic bits/local_lim.h] (before-compile): Do not append to
39969 variable.
39970 [generic bits/local_lim.h] (common-generated): Likewise.
39971 [generic sys/param.h] (before-compile): Do not append to variable.
39972 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39973 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39974 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39975 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39976 include.
39977 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39978 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39979 [generic sys/param.h] ($(addprefix
39980 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39981 [generic sys/param.h] (common-generated): Do not append to
39982 variable.
39983 [generic sys/param.h] (sysdep_headers): Likewise.
39984 [generic bits/errno.h] (before-compile): Do not append to
39985 variable.
39986 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39987 rule.
39988 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39989 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39990 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39991 [generic bits/errno.h] (common-generated): Do not append to
39992 variable.
39993 [generic bits/ioctls.h] (before-compile): Do not append to
39994 variable.
39995 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39996 rule.
39997 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39998 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39999 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40000 rule.
40001 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40002 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40003 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40004 [generic bits/ioctls.h] (common-generated): Do not append to
40005 variable.
40006 [generic sys/syscall.h] (syscall.h): Remove variable.
40007 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40008 rule.
40009 [generic sys/syscall.h] (before-compile): Do not append to
40010 variable.
40011 [generic sys/syscall.h] (common-generated): Likewise.
40012 * sysdeps/unix/errnos-tmpl.c: Remove file.
40013 * sysdeps/unix/errnos.awk: Likewise.
40014 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40015 * sysdeps/unix/ioctls.awk: Likewise.
40016 * sysdeps/unix/mk-local_lim.c: Likewise.
40017 * sysdeps/unix/snarf-ioctls: Likewise.
40018
4851a949
RH
400192012-03-19 Richard Henderson <rth@twiddle.net>
40020
bd37f2ee
RH
40021 * sysdeps/i386/fpu/fenv_private.h: New file.
40022 * sysdeps/i386/fpu/math_private.h: Use it.
40023 (math_opt_barrier, math_force_eval): Remove.
40024 (libc_feholdexcept_setround_53bit): Remove.
40025 (libc_feupdateenv_53bit): Remove.
40026 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40027 (math_opt_barrier, math_force_eval): Remove.
40028 (libc_feholdexcept): Remove.
40029 (libc_feholdexcept_setround): Remove.
40030 (libc_fetestexcept, libc_fesetenv): Remove.
40031 (libc_feupdateenv_test): Remove.
40032 (libc_feupdateenv, libc_feholdsetround): Remove.
40033 (libc_feresetround): Remove.
40034
d0adc922
RH
40035 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40036 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40037
0fe0f1f8
RH
40038 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40039 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40040 (libc_feupdateenv_testl): New.
40041 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40042 (libc_feupdateenv_testf): New.
40043 (libc_feupdateenv): Use libc_feupdateenv_test.
40044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40045 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40046
eb92c487
RH
40047 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40048 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40049 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40050 (libc_feresetround_noex): New.
40051 (libc_feresetround_noexf): New.
40052 (libc_feresetround_noexl): New.
40053 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40054 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40055 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40056 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40057 SET_RESTORE_ROUND.
40058 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40059 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40060 (__cos): Likewise.
40061 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40062 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40063 SET_RESTORE_ROUND_NOEX.
40064 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40065 SET_RESTORE_ROUND_NOEXF.
40066 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40067 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40068 (libc_feholdsetroundf): New.
40069 (libc_feresetround, libc_feresetroundf): New.
40070
7d2e8012
RH
40071 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40072 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40073 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40074
b4dabbb4
RH
40075 * sysdeps/generic/math_private.h: Include <fenv.h>.
40076 (default_libc_feholdexcept): New.
40077 (default_libc_feholdexcept_setround): New.
40078 (default_libc_fesetenv, default_libc_feupdateenv): New.
40079 (libc_feholdexcept): Only define if undefined.
40080 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40081 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40082 (libc_feholdexcept_setroundl): Likewise.
40083 (libc_feholdexcept_setround_53bit): Likewise.
40084 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40085 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40086 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40087 (libc_feupdateenv_53bit): Likewise.
40088 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40089 (libc_feholdexcept): Convert from macro to inline function.
40090 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40091 (libc_fesetenv, libc_feupdateenv): Likewise.
40092
4851a949
RH
40093 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40094 not previously defined.
40095 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40096 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40097 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40098 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40099 * sysdeps/ieee754/flt-32/math_private.h: New file.
40100 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40101 math_private.h below SET_FLOAT_WORD.
40102 (__isnan, __isinf_ns, __finite): Remove.
40103 (__isnanf, __isinf_nsf, __finitef): Remove.
40104
e79d442e
AS
401052012-03-18 Andreas Schwab <schwab@linux-m68k.org>
40106
40107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40108
90b80344
DM
401092012-03-17 David S. Miller <davem@davemloft.net>
40110
40111 [BZ #6471]
40112 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40113 for 2.16.
40114
edc21804
DM
401152012-03-16 David S. Miller <davem@davemloft.net>
40116
77e927af
DM
40117 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40118 warnings.
40119
374976dd
DM
40120 [BZ #6471]
40121 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40122 properly.
40123 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40124 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40125 sysdep_routines when subdir is sysvipc.
40126 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40127 __getshmlba helper.
40128
edc21804
DM
40129 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40130
473c3ef3
L
401312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40132
40133 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40134 [__LP64__].
40135
eb0f39b6
L
401362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40137
40138 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40139 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40140 (__lround): Renamed to ...
40141 (__llround): This. Replace long int with long long int.
40142 Define lround functions as aliases of llround functions.
40143 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40144
6b6cd74b
L
401452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40146
40147 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40148 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40149 adresses to uintptr_t. Replace "long int" and "unsigned long
40150 int" with "greg_t" on va_arg.
40151
f1a77b01
L
401522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40153
40154 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40155 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40156
40157 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40158 Move e_machine check before EI_CLASS check. Handle x32
40159 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40160 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40161 SKIP_EM_IA_64 and include
40162 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40163
40164 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40165 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40166 (add_system_dir): New macro.
40167
40168 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40169 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40170
11b90b9f
JM
401712012-03-16 Joseph Myers <joseph@codesourcery.com>
40172
c36e1d23
JM
40173 [BZ #2551]
40174 [BZ #2552]
40175 [BZ #2553]
40176 [BZ #2554]
40177 [BZ #2562]
40178 [BZ #2563]
40179 [BZ #2565]
40180 [BZ #2566]
40181 [BZ #2576]
40182 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40183 (y0): Likewise.
40184 * math/w_j0f.c (j0f): Likewise.
40185 (y0f): Likewise.
40186 * math/w_j0l.c (__j0l): Likewise.
40187 (__y0l): Likewise.
40188 * math/w_j1.c (j1): Likewise.
40189 (y1): Likewise.
40190 * math/w_j1f.c (j1f): Likewise.
40191 (y1f): Likewise.
40192 * math/w_j1l.c (__j1l): Likewise.
40193 (__y1l): Likewise.
40194 * math/w_jn.c (jn): Likewise.
40195 (yn): Likewise.
40196 * math/w_jnf.c (jnf): Likewise.
40197 (ynf): Likewise.
40198 * math/w_jnl.c (__jnl): Likewise.
40199 (__ynl): Likewise.
40200 * math/libm-test.inc (j0_test): Add more tests.
40201 (j1_test): Likewise.
40202 (jn_test): Likewise. Add trailing semicolon to existing test.
40203 (y0_test): Likewise.
40204 (y1_test): Likewise.
40205 * sysdeps/i386/fpu/libm-test-ulps: Update.
40206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40207
11b90b9f
JM
40208 [BZ #13851]
40209 [BZ #13854]
40210 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40211 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40212 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40213 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40214 (__tanl): Set errno for infinite argument.
40215 * sysdeps/i386/fpu/mptan.c: Remove.
40216 * sysdeps/i386/fpu/s_tan.S: Likewise.
40217 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40218 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40219 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40220 * math/libm-test.inc (tan_test): Add more tests and enable more
40221 tests for double and long double.
40222 * sysdeps/i386/fpu/libm-test-ulps: Update.
40223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40224
6a1bd2a1
JK
402252012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40226
40227 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40228 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40229
10a803e0
RM
402302012-03-16 Roland McGrath <roland@hack.frob.com>
40231
40232 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40233 * configure.in: Use it for both main tree and add-ons.
40234 * configure: Regenerated.
40235
f196c7f7
L
402362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40237
40238 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40239
8848d99d
JM
402402012-03-16 Joseph Myers <joseph@codesourcery.com>
40241
96cbe7f4
JM
40242 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40243 in comment.
40244
8848d99d
JM
40245 [BZ #13851]
40246 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40247 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40248 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40249 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40250 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40251 infinite argument.
40252 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40253 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40254 != 0 for prec == 2.
40255 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40256 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40257 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40258 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40259 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40260 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40261 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40262 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40263 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40264 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40265 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40266 * math/libm-test.inc (cos_test): Add more tests and enable more
40267 tests for long double.
40268 (sin_test): Likewise.
40269 (sincos_test): Likewise.
40270 * sysdeps/i386/fpu/libm-test-ulps: Update.
40271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40272
dd7f4703
DM
402732012-03-16 David S. Miller <davem@davemloft.net>
40274
40275 * sysdeps/sparc/fpu/math_private.h: New file.
40276
006f1daa
DM
402772012-03-15 David S. Miller <davem@davemloft.net>
40278
c0c83bc8
DM
40279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40280 file.
e6a62e18 40281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
40282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40283 file.
e6a62e18
DM
40284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40289 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40290 sysdep routines.
40291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40292
88cb87d9
DM
40293 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40294 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40295
006f1daa 40296 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
40297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40298 sparc-ifunc.h
006f1daa 40299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
40300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40301 Likewise.
40302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40303 Likewise.
006f1daa
DM
40304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
40307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40308 Likewise.
006f1daa
DM
40309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
40313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40314 Likewise.
40315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40316 Likewise.
006f1daa
DM
40317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40321 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40323 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40324 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40335 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40336 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40337 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40338 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40339 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40340 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40341
11e0098e
AS
403422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40343
40344 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40345 scaling.
40346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40347
e85b09d0
AJ
403482012-03-15 Andreas Jaeger <aj@suse.de>
40349
40350 [BZ #13852]
40351 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40352 ieee754/flt-32 implementation for sin, cos and sincos.
40353 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40354 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40355 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40356 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40357 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40358 ieee754/flt-32 implementation for tan.
40359
40360 * math/libm-test.inc (cos_test): Enable some large input tests for
40361 float as well
40362 (sin_test): Likewise.
40363 (sincos_test): Likewise.
40364 (tan_test): Add tests for large input.
40365
40366 * sysdeps/i386/fpu/libm-test-ulps: Update.
40367
81c64153
AJ
403682012-03-15 Andreas Jaeger <aj@suse.de>
40369
40370 [BZ #13658]
40371 * math/libm-test.inc (cos_test): Add more test cases.
40372 (sin_test): Likewise.
40373 (sincos_test): Likewise.
40374
7bbfa5c6
AJ
403752012-03-15 Andreas Jaeger <aj@suse.de>
40376
40377 [BZ #13837]
40378 * math/libm-test.inc (cos_test): Add a test case for large input
40379 value.
40380 (sin_test): Likewise.
40381 (sincos_test): Likewise.
40382
57f41c40
AS
403832012-03-15 Andreas Jaeger <aj@suse.de>
40384 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
40385
40386 [BZ #13658]
0671f479 40387 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
40388 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40389 * sysdeps/i386/fpu/branred.c: Likewise.
40390 * sysdeps/i386/fpu/dosincos.c: Likewise.
40391 * sysdeps/i386/fpu/mpa.c: Likewise.
40392 * sysdeps/i386/fpu/s_cos.S: Likewise.
40393 * sysdeps/i386/fpu/s_sin.S: Likewise.
40394 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40395 * sysdeps/i386/fpu/sincos32.c: Likewise.
40396
40397 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40398 Define.
40399 (libc_feupdateenv_53bit): Define.
40400 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40401 Define.
40402 (libc_feupdateenv_53bit): Define.
40403
40404 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40405 53 bit (without extend i386 double precision).
40406
40407 * math/libm-test.inc (sincos_test): Add tests for large input.
40408 (sin): Likewise.
40409 (cos): Likewise.
40410
40411 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40412
9cad04ea
AS
404132012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40414
40415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40416
f7062b9a
DM
404172012-03-15 David S. Miller <davem@davemloft.net>
40418
40419 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40420 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40421 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40422 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
40434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40435 file.
f7062b9a 40436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
40437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40438 file.
f7062b9a 40439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
40440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40441 file.
f7062b9a 40442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
40443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40444 file.
f7062b9a
DM
40445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40446 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40447 fmin/fmax sysdep routines.
40448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40449
7bd951ff
DM
404502012-03-14 David S. Miller <davem@davemloft.net>
40451
559398ab
DM
40452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40453 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40454 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40455 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40456 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40457 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40458 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40459 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40461 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40462 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40463 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40464 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40467 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40470 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40471 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40472 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40473 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40474 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40475 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40476 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40477 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40478 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40479 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
40480 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40481 routines.
40482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40483 file.
559398ab 40484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
40485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40486 file.
559398ab 40487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
40488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40489 file.
559398ab 40490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
40491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40492 file.
559398ab 40493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
40494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40495 file.
559398ab 40496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
40497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40498 file.
40499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40500 file.
40501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40502 file.
40503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40504 file.
40505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40506 New file.
40507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40508 file.
40509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40510 file.
559398ab 40511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
40512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40513 file.
559398ab 40514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
40515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40516 file.
559398ab 40517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
40518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40519 file.
559398ab 40520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
40521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40522 VIS3 routines.
559398ab
DM
40523
40524 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40525 New file.
40526
5a1c1e32
DM
40527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40528
eae47a36
DM
40529 * sysdeps/sparc/configure.in: New file.
40530 * sysdeps/sparc/configure: Generate.
40531 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40532 * configure: Regenerate.
40533 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40534 * config.make.in (have-as-vis3): New.
40535 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40536 available use -Av9d instead of -Av9a.
40537 * sysdeps/sparc/sparc64/Makefile: Likewise.
40538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
40539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40540 New file.
40541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40542 file.
40543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40544 New file.
40545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40546 file.
eae47a36
DM
40547 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40548 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40549 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40550 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40551 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40552
c0c83bc8
DM
40553 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40554 fzeros/fnegs to load 0x80000000 into a float register instead of
40555 using the stack.
7bd951ff
DM
40556 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40557
bd951ccb
JM
405582012-03-14 Joseph Myers <joseph@codesourcery.com>
40559
40560 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40561 bits/syscall.h.
40562 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40563 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40564 ($(inst_includedir)/bits/syscall.h): Remove rule.
40565 ($(objpfx)bits/syscall.d): Include instead of
40566 $(objpfx)syscall-list.d.
40567 (generated): Change syscall-list.h and syscall-list.d to
40568 bits/syscall.h and bits/syscall.d.
40569
bb4e6db2
RM
405702012-03-14 Roland McGrath <roland@hack.frob.com>
40571
40572 [BZ #13846]
40573 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40574
aa4a2ae1
JM
405752012-03-14 Joseph Myers <joseph@codesourcery.com>
40576
e456826d
JM
40577 [BZ #13841]
40578 * math/s_csqrt.c: Include <float.h>.
40579 (__csqrt): Scale large or subnormal inputs.
40580 * math/s_csqrtf.c: Likewise.
40581 * math/s_csqrtl.c: Likewise.
40582 * math/libm-test.inc (csqrt_test): Add more tests.
40583 * sysdeps/i386/fpu/libm-test-ulps: Update.
40584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40585
aa4a2ae1
JM
40586 [BZ #13840]
40587 * math/libm-test.inc (hypot_test): Add more tests.
40588
7c10fd35
DM
405892012-03-13 David S. Miller <davem@davemloft.net>
40590
40591 [BZ #13840]
40592 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40593 double-precision for the calculation instead of scaling.
40594
f453b98b
JM
405952012-03-13 Joseph Myers <joseph@codesourcery.com>
40596
40597 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40598 manipulate bits before adding and subtracting TWO52[sx].
40599 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40600 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40601 Likewise.
40602 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40603
09a3453f
DM
406042012-03-13 David S. Miller <davem@davemloft.net>
40605
8e59da90
DM
40606 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40607 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40608 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40609 rtld-global-offsets.h
40610 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40611
2a8ab7f2
DM
40612 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40613 large parameters.
40614
10f62770
DM
40615 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40616
5f0bdb18
DM
40617 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40618 'err' in the ifdef scope in which it is actually used.
40619
09a3453f
DM
40620 * nss/nss_db/db-init.c: Include string.h
40621
b4b2eb5e
DM
406222012-03-12 David S. Miller <davem@davemloft.net>
40623
98bb2f1c
DM
40624 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40625 masking out of the most significant byte of random value used.
40626 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40627 Fix coding style in previous change.
40628
b4b2eb5e
DM
40629 * sysdeps/unix/sysv/linux/kernel-features.h
40630 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40631 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40632 expression.
40633 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40634 later.
40635
6e226b09
DM
406362012-03-11 David S. Miller <davem@davemloft.net>
40637
a1bcbd40
DM
40638 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40639 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40640 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40641 for 'resultvar' otherwise things get truncated on 64-bit.
40642
cb9d6174
DM
40643 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40644 Fix masking out of the most significant byte of random value used.
40645
6e226b09
DM
40646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40647
058c132d
AS
406482012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40649
40650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40651
2d2cd515
DM
406522012-03-09 David S. Miller <davem@davemloft.net>
40653
40654 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40655 variables with appropriate CPP guards.
57f41c40
AS
40656 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40657 from the frame pointer, not the stack pointer. Correct layout
40658 comments. Fix test on resulting framesize and the management of
40659 the outregs buffer for pltexit. Preserve floating point return
40660 values across _dl_call_pltexit call.
2d2cd515
DM
40661 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40662 framesize and the management of the outregs buffer for pltexit.
40663 Preserve floating point return values across _dl_call_pltexit
40664 call.
57f41c40
AS
40665 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40666 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40667 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
40668 (print_exit): Fix format string for return register value.
40669
9a07f9d0
JM
406702012-03-10 Joseph Myers <joseph@codesourcery.com>
40671
40672 * sunrpc/Makefile (others): Add rpcgen.
40673 ($(objpfx)rpcgen): Remove special build rule and dependency on
40674 libc.
40675 * sunrpc/rpcgen.c: New file.
40676
547b5e30
PE
406772012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40678
c524201a
PE
40679 [BZ #13673]
40680 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40681 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40682 * sysdeps/i386/crti.S: Likewise.
40683 * sysdeps/i386/crtn.S: Likewise.
40684 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40685 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40686 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40687 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40688 * sysdeps/sh/crti.S: Likewise.
40689 * sysdeps/sh/crtn.S: Likewise.
40690 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40691
7b6235f2
PE
40692 [BZ #13673]
40693 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40694 with URL.
40695 * locale/programs/locfile-kw.gperf: Likewise.
40696 * locale/programs/charmap-kw.h: Regenerated.
40697 * locale/programs/locfile-kw.h: Likewise.
40698
547b5e30
PE
40699 [BZ #13673]
40700 * intl/plural.y: Replace FSF snail mail address with URL.
40701 * intl/plural.c: Regenerated.
40702
5f0a5dae
RH
407032012-03-09 Richard Henderson <rth@twiddle.net>
40704
40705 * include/math_private.h: Remove file.
40706 * math/math_private.h: Move file ...
40707 * sysdeps/generic/math_private.h: ... here.
40708
b8c03620
RH
40709 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40710 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40711 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40712
4e234f5d 40713 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
40714 and <math_private.h>.
40715 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40716 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40717 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40718 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40719 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40720 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40721 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40722 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40723 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40724 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40725 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40726 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40727 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40728 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40729 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40730 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40731 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40732 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40733 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40734 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40735 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40736 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40737 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40738 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40739 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40740 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40741 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40742 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40743 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40744 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40745 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40746 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40747 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40748 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40749 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40750 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40751 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40752 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40753 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40754 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40755 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40756 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40757 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40758 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40759 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40760 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40761 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40762 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40763 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40764 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40765 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40766 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40767 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40768 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40769 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40770 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40771 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40772 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40773 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40774 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40775 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40776 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40777 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40778 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40779 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40780 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40781 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40782 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40783 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40784 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40785 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40786 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40787 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40788 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40789 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40790 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40791 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40792 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40793 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40794 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40795 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40796 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40797 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40798 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40799 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40800 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40801 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40802 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40803 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40804 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40805 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40806 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40807 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40808 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40809 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40810 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40811 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40812 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40813 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40814 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40815 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40816 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40817 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40818 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40819 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40820 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40821 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40822 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40823 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40824 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40825 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40826 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40827 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40828 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40829 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40830 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40831 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40832 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40833 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40834 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40835 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40836 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40837 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40838 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40839 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40840 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40841 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40842 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40843 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40844 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40845 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40846 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40847 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40848 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40849 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40850 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40851 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40852 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40853 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40854 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40855 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40856 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40857 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40858 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40859 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40860 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40861 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40862 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40863 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40864 * sysdeps/ieee754/k_standard.c: Likewise.
40865 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40866 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40867 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40868 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40869 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40870 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40871 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40872 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40873 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40874 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40875 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40876 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40877 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40878 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40879 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40880 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40881 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40882 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40883 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40884 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40885 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40886 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40887 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40888 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40889 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40890 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40891 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40892 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40893 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40894 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40895 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40896 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40897 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40898 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40899 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40900 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40901 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40902 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40903 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40904 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40905 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40906 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40907 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40908 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40909 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40910 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40911 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40912 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40913 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40914 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40915 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40916 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40917 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40918 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40919 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40920 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40921 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40922 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40923 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40924 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40925 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40926 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40927 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40928 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40929 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40930 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40931 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40932 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40933 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40934 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40935 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40936 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40937 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40938 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40939 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40940 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40941 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40942 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40943 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40944 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40945 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40946 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40947 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40948 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40949 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40950 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40951 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40952 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40953 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40954 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40955 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40956 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40957 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40958 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40959 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40960 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40961 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40962 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40963 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40964 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40965 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40966 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40967 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40968 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40969 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40970 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40971 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40972 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40973 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40974 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40975 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40976 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40977 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40978 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40979 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40980 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40981 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40982 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40983 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40984 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40985 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40986 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40987 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40988 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40989 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40990 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40991 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40992 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40993 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40994 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40995 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40996 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40997 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40998 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40999 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41000 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41001 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41002 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41003 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41004 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41005 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41006 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41007 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41008 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41009 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41010 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41011 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41012 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41013 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41014 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41015 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41016 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41017 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41018 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41019 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41020 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41021 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41022 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41023 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41024 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41025 * sysdeps/ieee754/s_lib_version.c: Likewise.
41026 * sysdeps/ieee754/s_matherr.c: Likewise.
41027 * sysdeps/ieee754/s_signgam.c: Likewise.
41028 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41029 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41030 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41031 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41032 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41033 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41034 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41035 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41036 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41037 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41038 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41039 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41040 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41041 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41042 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41043 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41044 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41045 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41046 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41047 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41048 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 41049
1991fa03
JM
410502012-03-09 Joseph Myers <joseph@codesourcery.com>
41051
41052 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41053 * sunrpc/rpc_main.c: Likewise.
41054 * sunrpc/rpc_svcout.c: Likewise.
41055
60d6f5a6
DM
410562012-03-09 David S. Miller <davem@davemloft.net>
41057
41058 * include/math_private.h: New file.
41059
4962050e
JM
410602012-03-09 Joseph Myers <joseph@codesourcery.com>
41061
02a6f887
JM
41062 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41063 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41064 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41065 from <bits/socket_type.h>.
41066 (enum __socket_type): Don't define here.
41067 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41069 bits/socket_type.h.
41070
c6e013c1
JM
41071 [BZ #13566]
41072 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41073 checking __USE_GNU.
41074
4962050e
JM
41075 * Makerules ($(inst_includedir)/%.h): New rule.
41076 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41077 (install-others): Remove variable setting.
41078 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41079
38842f45
RH
410802012-03-08 Richard Henderson <rth@twiddle.net>
41081
67bb6da6
RH
41082 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41083 from macro to inline function; merge with the
41084 !__LIBC_INTERNAL_MATH_INLINES version.
41085 (__ieee754_sqrtf): Likewise.
41086
15194b4b
RH
41087 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41088 to inline function.
41089 (__rintf, __floor, __floorf): Likewise.
41090
64e21ede
RH
41091 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41092 macro to inline function.
41093 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41094
38842f45
RH
41095 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41096 not <math/math_private.h>.
41097
c64bf5fe
DM
410982012-03-08 David S. Miller <davem@davemloft.net>
41099
41100 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41101 copyright year.
41102 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41103
82d86f28
TS
411042012-03-08 Thomas Schwinge <thomas@codesourcery.com>
41105
41106 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41107 normalization.
41108 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41109 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41110
aea5d727
UD
411112012-03-08 Ulrich Drepper <drepper@gmail.com>
41112
41113 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41114 be defined individually, they must be defined as a block. Define
41115 S for printing a string instead of hidint the different by using a
41116 macro for adding the 'l'.
41117 * stdio-common/tst-fphex-wide.c: Adjust.
41118
70bca0a3
MP
411192012-03-07 Marek Polacek <polacek@redhat.com>
41120
41121 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41122
65b81130
MP
411232012-03-08 Marek Polacek <polacek@redhat.com>
41124
41125 [BZ #13806]
41126 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41127 * stdio-common/tst-fphex.c: Define a few macros to make the
41128 test reusable. Use them.
41129 * stdio-common/tst-fphex-wide.c: New file.
41130
07037eeb
JM
411312012-03-08 Joseph Myers <joseph@codesourcery.com>
41132
a7a93d50
JM
41133 [BZ #6911]
41134 * manual/macros.texi (gnusystems): New macro.
41135 (nongnusystems): Likewise.
41136 (gnulinuxhurdsystems): Likewise.
41137 (gnuhurdsystems): Likewise..
41138 (gnulinuxsystems): Likewise.
41139 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41140 variants of the GNU system, not "GNU system".
41141 * manual/conf.texi: Likewise.
41142 * manual/errno.texi: Likewise. Update example of errno macro
41143 expansion.
41144 * manual/filesys.texi: Likewise.
41145 (getumask): Document as specific to GNU/Hurd.
41146 * manual/install.texi: Likewise. Reword some references to
41147 GNU/Linux.
41148 * manual/intro.texi: Likewise.
41149 * manual/io.texi: Likewise.
41150 (File Name Portability): Detail which constraints are inapplicable
41151 to all GNU systems and which are only inapplicable to GNU/Hurd.
41152 * manual/job.texi: Likewise.
41153 * manual/llio.texi: Likewise.
41154 (O_NOCTTY): Document as present on GNU/Linux.
41155 * manual/maint.texi: Likewise.
41156 * manual/memory.texi: Likewise.
41157 * manual/pattern.texi: Likewise.
41158 * manual/pipe.texi: Likewise.
41159 * manual/process.texi: Likewise.
41160 * manual/resource.texi: Likewise.
41161 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41162 child on GNU/Hurd.
41163 * manual/setjmp.texi: Likewise.
41164 * manual/signal.texi: Likewise.
41165 * manual/startup.texi: Likewise.
41166 * manual/stdio.texi: Likewise.
41167 * manual/terminal.texi: Likewise.
41168 (ONLCR): Document as POSIX.
41169 (OXTABS): Document availability on GNU/Linux as XTABS.
41170 (ONOEOT): Document availability separately from other bits.
41171 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41172 * manual/time.texi: Likewise.
41173 * manual/users.texi: Likewise.
41174 * INSTALL: Regenerated.
41175 * sysdeps/gnu/errlist.c: Regenerated.
41176
07037eeb
JM
41177 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41178 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41179 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41180 puts.
41181 * configure: Regenerated.
41182
d1d3431a
JM
411832012-03-07 Joseph Myers <joseph@codesourcery.com>
41184
af6a1e37
JM
41185 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41186 default includes instead of AC_HEADER_CHECK.
41187 * sysdeps/i386/configure: Regenerated.
41188
d1d3431a
JM
41189 [BZ #10716]
41190 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41191 * math/s_cacoshf.c (__cacoshf): Likewise.
41192 * math/s_cacoshl.c (__cacoshl): Likewise.
41193 * math/s_casinh.c (__casinh): Set signs of result from argument.
41194 * math/s_casinhf.c (__casinhf): Likewise.
41195 * math/s_casinhl.c (__casinhl): Likewise.
41196 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41197 (casinh_test): Add more tests.
41198 * sysdeps/i386/fpu/libm-test-ulps: Update.
41199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41200
482ff4da
UD
412012012-03-07 Ulrich Drepper <drepper@gmail.com>
41202
872fda05
UD
41203 * po/zh_TW.po: Update from translation team.
41204
a4300c7a
UD
41205 * login/Makefile (distribute): Remove variable.
41206 * catgets/Makefile: Likewise.
41207 * mach/Makefile: Likewise.
41208 * malloc/Makefile: Likewise.
41209 * misc/Makefile: Likewise.
41210 * iconv/Makefile: Likewise.
41211 * nscd/Makefile: Likewise.
41212 * hurd/Makefile: Likewise.
41213 * manual/Makefile: Likewise.
41214 * locale/Makefile: Likewise.
41215 * intl/Makefile: Likewise.
41216 * conform/Makefile: Likewise.
41217 * nss/Makefile: Likewise.
41218 * time/Makefile: Likewise.
41219 * soft-fp/Makefile: Likewise.
41220 * dirent/Makefile: Likewise.
41221 * gmon/Makefile: Likewise.
41222 * po/Makefile: Likewise.
41223 * rt/Makefile: Likewise.
41224 * socket/Makefile: Likewise.
41225 * math/Makefile: Likewise.
41226 * signal/Makefile: Likewise.
41227 * debug/Makefile: Likewise.
41228 * elf/Makefile: Likewise.
41229 * timezone/Makefile: Likewise.
41230 * stdlib/Makefile: Likewise.
41231 * iconvdata/Makefile: Likewise.
41232 * sunrpc/Makefile: Likewise.
41233 * io/Makefile: Likewise.
41234 * argp/Makefile: Likewise.
41235 * inet/Makefile: Likewise.
41236 * hesiod/Makefile: Likewise.
41237 * grp/Makefile: Likewise.
41238 * csu/Makefile: Likewise.
41239 * wctype/Makefile: Likewise.
41240 * crypt/Makefile: Likewise.
41241 * libio/Makefile: Likewise.
41242 * string/Makefile: Likewise.
41243 * nis/Makefile: Likewise.
41244 * resolv/Makefile: Likewise.
41245 * stdio-common/Makefile: Likewise.
41246 * wcsmbs/Makefile: Likewise.
41247 * dlfcn/Makefile: Likewise.
41248 * posix/Makefile: Likewise.
41249
3b7c4e74 41250 [BZ #6959]
482ff4da
UD
41251 * timezone/Makefile: Don't install timezone files, just the programs
41252 and scripts.
41253
f72ed77d
UD
412542012-03-06 Ulrich Drepper <drepper@gmail.com>
41255
a000466f
UD
41256 * nss/databases.def: Add missing gshadow entry.
41257
f72ed77d
UD
41258 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41259
a53b7a4e
MP
412602012-03-06 Marek Polacek <polacek@redhat.com>
41261
41262 [BZ #13726]
41263 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41264 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41265 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41266 * stdio-common/tst-long-dbl-fphex.c: New file.
41267
e9258400
DM
412682012-03-06 David S. Miller <davem@davemloft.net>
41269
41270 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41271 (set_obp_int): New function.
41272 (get_obp_int): New function.
41273 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
41274 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41275 Avoid unused variable warnings on 'val' and use builtin_expect.
41276 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41277 __builtin_expect.
e9258400
DM
41278 (INLINE_CLONE_SYSCALL): Likewise.
41279
3bd2c723
DM
412802012-03-05 David S. Miller <davem@davemloft.net>
41281
41282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41283
bbb78d03
AS
412842012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41285
884c5db4
AS
41286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41287
bbb78d03
AS
41288 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41289 only for |x| >= 40.
41290 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41291
1c9f702a 412922012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
41293
41294 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41295 Replace gettimeofday with __vdso_gettimeofday.
41296
7be16f82
RM
41297 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41298 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41299 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
41300
41301 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41302 time with __vdso_time.
41303
ed58a00f
JM
413042012-03-05 Joseph Myers <joseph@codesourcery.com>
41305
41306 * manual/lang.texi (size_t): Note types to which size_t may be
41307 equivalent with the GNU C Library, but do not describe when
41308 differences between them are significant.
41309
30ee4ced
AJ
413102012-03-05 Andreas Jaeger <aj@suse.de>
41311
41312 * sysdeps/i386/fpu/libm-test-ulps: Update.
41313
b7cd39e8
JM
413142012-03-05 Joseph Myers <joseph@codesourcery.com>
41315
41316 [BZ #3976]
41317 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41318 (__ieee754_pow): Save and restore rounding mode and use
41319 round-to-nearest for main computations.
41320 * math/libm-test.inc (pow_test_tonearest): New function.
41321 (pow_test_towardzero): Likewise.
41322 (pow_test_downward): Likewise.
41323 (pow_test_upward): Likewise.
41324 (main): Call the new functions.
41325 * sysdeps/i386/fpu/libm-test-ulps: Update.
41326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
41327
41328 [BZ #3976]
41329 * math/libm-test.inc (cosh_test_tonearest): New function.
41330 (cosh_test_towardzero): Likewise.
41331 (cosh_test_downward): Likewise.
41332 (cosh_test_upward): Likewise.
41333 (sinh_test_tonearest): Likewise.
41334 (sinh_test_towardzero): Likewise.
41335 (sinh_test_downward): Likewise.
41336 (sinh_test_upward): Likewise.
41337 (main): Call the new functions.
41338 * sysdeps/i386/fpu/libm-test-ulps: Update.
41339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41340
6c6a98c9
TV
413412012-03-05 Tom de Vries <tom@codesourcery.com>
41342
41343 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41344 default stack guard is set in last bytes.
41345 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41346
21bb2d2e 413472012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 41348
21bb2d2e 41349 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 41350
21bb2d2e
AJ
41351 [BZ #13656]
41352 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41353 possibly allocate from heap instead of stack.
41354 * stdio-common/bug-vfprintf-nargs.c: New file.
41355 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 41356
c6922934
AS
413572012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41358
41359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41360
bc957d53
MP
413612012-03-03 Marek Polacek <polacek@redhat.com>
41362
41363 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41364 * math/math_private.h: Likewise.
41365 * stdlib/tst-strtod.c: Likewise.
41366 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41367 * sysdeps/x86_64/bits/atomic.h: Likewise.
41368
6358490d
DM
413692012-03-02 David S. Miller <davem@davemloft.net>
41370
41371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41375 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41376 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41377 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41378 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41379
01ae168d
RM
413802012-03-02 Roland McGrath <roland@hack.frob.com>
41381
d9a17c07
RM
41382 [BZ #13792]
41383 * manual/examples/README: New file, says the example source files
41384 can be used under GPL>=2.
41385 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41386 line containing just "*/".
41387 * manual/examples/add.c: Add copyright header (GPL>=2).
41388 * manual/examples/argp-ex1.c: Likewise.
41389 * manual/examples/argp-ex2.c: Likewise.
41390 * manual/examples/argp-ex3.c: Likewise.
41391 * manual/examples/argp-ex4.c: Likewise.
41392 * manual/examples/atexit.c: Likewise.
41393 * manual/examples/db.c: Likewise.
41394 * manual/examples/dir.c: Likewise.
41395 * manual/examples/dir2.c: Likewise.
41396 * manual/examples/execinfo.c: Likewise.
41397 * manual/examples/filecli.c: Likewise.
41398 * manual/examples/filesrv.c: Likewise.
41399 * manual/examples/fmtmsgexpl.c: Likewise.
41400 * manual/examples/genpass.c: Likewise.
41401 * manual/examples/inetcli.c: Likewise.
41402 * manual/examples/inetsrv.c: Likewise.
41403 * manual/examples/isockad.c: Likewise.
41404 * manual/examples/longopt.c: Likewise.
41405 * manual/examples/memopen.c: Likewise.
41406 * manual/examples/memstrm.c: Likewise.
41407 * manual/examples/mkfsock.c: Likewise.
41408 * manual/examples/mkisock.c: Likewise.
41409 * manual/examples/mygetpass.c: Likewise.
41410 * manual/examples/pipe.c: Likewise.
41411 * manual/examples/popen.c: Likewise.
41412 * manual/examples/rprintf.c: Likewise.
41413 * manual/examples/search.c: Likewise.
41414 * manual/examples/select.c: Likewise.
41415 * manual/examples/setjmp.c: Likewise.
41416 * manual/examples/sigh1.c: Likewise.
41417 * manual/examples/sigusr.c: Likewise.
41418 * manual/examples/stpcpy.c: Likewise.
41419 * manual/examples/strdupa.c: Likewise.
41420 * manual/examples/strftim.c: Likewise.
41421 * manual/examples/strncat.c: Likewise.
41422 * manual/examples/subopt.c: Likewise.
41423 * manual/examples/swapcontext.c: Likewise.
41424 * manual/examples/termios.c: Likewise.
41425 * manual/examples/testopt.c: Likewise.
41426 * manual/examples/testpass.c: Likewise.
41427 * manual/examples/timeval_subtract.c: Likewise.
41428
01ae168d
RM
41429 [BZ #13792]
41430 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41431 function to ...
41432 * manual/timeval_subtract.c.texi: ... here, new file.
41433
49efa33d
DM
414342012-03-02 David S. Miller <davem@davemloft.net>
41435
41436 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41437
28afd92d
JM
414382012-03-02 Joseph Myers <joseph@codesourcery.com>
41439
804360ed
JM
41440 [BZ #3976]
41441 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41442 (__sin): Save and restore rounding mode and use round-to-nearest
41443 for all computations.
41444 (__cos): Save and restore rounding mode and use round-to-nearest
41445 for all computations.
41446 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41447 <fenv.h>.
41448 (tan): Save and restore rounding mode and use round-to-nearest for
41449 all computations.
41450 * math/libm-test.inc (cos_test_tonearest): New function.
41451 (cos_test_towardzero): Likewise.
41452 (cos_test_downward): Likewise.
41453 (cos_test_upward): Likewise.
41454 (sin_test_tonearest): Likewise.
41455 (sin_test_towardzero): Likewise.
41456 (sin_test_downward): Likewise.
41457 (sin_test_upward): Likewise.
41458 (tan_test_tonearest): Likewise.
41459 (tan_test_towardzero): Likewise.
41460 (tan_test_downward): Likewise.
41461 (tan_test_upward): Likewise.
41462 (main): Call the new functions.
41463 * sysdeps/i386/fpu/libm-test-ulps: Update.
41464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41465
a6d06d7b
JM
41466 [BZ #10135]
41467 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41468 small n, then large n, before computing and testing k+n.
41469 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41470 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41471 Likewise.
41472 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41473 Likewise.
41474 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41475 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41476 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41477 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41478 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41479 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41480 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41481 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41482 * math/libm-test.inc (scalbn_test): Add more tests.
41483 (scalbln_test): Likewise.
41484
07e12bb3
JM
41485 * manual/filesys.texi (mode_t): Describe constraints on size and
41486 signedness, not exact equivalence to a particular type.
41487 (ino_t): Likewise.
41488 (ino64_t): Likewise.
41489 (dev_t): Likewise.
41490 (nlink_t): Likewise.
41491 (blkcnt_t): Likewise.
41492 (blkcnt64_t): Likewise.
41493 * manual/llio.texi (off_t): Likewise.
41494
28afd92d
JM
41495 [BZ #3976]
41496 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41497 (__ieee754_exp): Save and restore rounding mode and use
41498 round-to-nearest for all computations.
41499 * math/libm-test.inc (exp_test_tonearest): New function.
41500 (exp_test_towardzero): Likewise.
41501 (exp_test_downward): Likewise.
41502 (exp_test_upward): Likewise.
41503 (main): Call the new functions.
41504 * sysdeps/i386/fpu/libm-test-ulps: Update.
41505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41506
b1eeb65d
CD
415072012-03-01 Chris Demetriou <cgd@google.com>
41508
41509 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41510 have predictable order.
41511
53362a4b
DM
415122012-03-01 David S. Miller <davem@davemloft.net>
41513
3c969083
DM
41514 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41515
759707de
DM
41516 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41517 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41518 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41519 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41520
dfdb8ff2
DM
41521 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41522 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41523 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41525 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41526 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41527 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41528 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41529 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41530
ead89f96
DM
41531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41532
7f66bd07
DM
41533 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41534 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41535 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41536
53362a4b
DM
41537 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41538 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41539 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41540 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41541 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41542 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41543 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41544 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41545 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41546 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41547 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41548 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41549 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41550 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41551 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41552 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41553 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41554 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41555 * sysdeps/sparc/elf/configure: Regenerated.
41556
7b1902cb
JM
415572012-03-01 Joseph Myers <joseph@codesourcery.com>
41558
bec039bc
JM
41559 * configure.in (AS, LD): Require binutils 2.20 or later.
41560 * configure: Regenerated.
41561 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41562 as required minimum version.
41563 * INSTALL: Regenerated.
41564
7b1902cb
JM
41565 [BZ #2541]
41566 [BZ #4108]
41567 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41568 before squaring exponent.
41569 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41570 bottom long double and 27 bits of top long double before squaring
41571 exponent.
41572 * math/libm-test.inc (erfc_test): Add more tests.
41573 * sysdeps/i386/fpu/libm-test-ulps: Update.
41574 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41576
f775c276
KT
415772012-03-01 Kai Tietz <ktietz@redhat.com>
41578
41579 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41580 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41581 containing bit-fields.
41582 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41583 * soft-fp/single.h (_FP_UNION_S): Likewise.
41584 * soft-fp/double.h (_FP_UNION_D): Likewise.
41585
5b8a4d4a
JM
415862012-02-29 Joseph Myers <joseph@codesourcery.com>
41587
0bab47b6
JM
41588 [BZ #13786]
41589 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41590 not include ../strcmp.S.
41591 [USE_AS_STRNCASECMP_L]: Likewise.
41592 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41593 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41594 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41595 (__strncasecmp_l_ia32): Define as alias to
41596 __strncasecmp_l_nonascii.
41597
0fcad3e2
JM
41598 [BZ #5794]
41599 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41600 * sysdeps/i386/fpu/libm-test-ulps: Update.
41601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41602
5b8a4d4a
JM
41603 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41605
8fdceb2e
JL
416062012-02-29 Jeff Law <law@redhat.com>
41607
41608 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41609 out of bounds read.
41610
1f393a11
MP
416112012-02-29 Marek Polacek <polacek@redhat.com>
41612
41613 [BZ #13706]
41614 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41615 * elf/Makefile: Add rules to run tst-unused-dep.out.
41616
8847f037
DM
416172012-02-28 David S. Miller <davem@davemloft.net>
41618
41619 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41620 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41621 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41622 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41623 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41624 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41625
169d7f11
JM
416262012-02-29 Joseph Myers <joseph@codesourcery.com>
41627
41628 * math/libm-test.inc (llround_test): Move one test from
41629 lround_test. Use TEST_f_L in moved test.
41630 (lround_test): Move misplaced test to llround_test. Add testcase
41631 from bug 2561.
41632
39adf059
UD
416332012-02-28 Ulrich Drepper <drepper@gmail.com>
41634
41635 * sysdeps/x86_64/fpu/e_expf.S: New file.
41636 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41637
71b5d1c5
SB
416382012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41639
41640 [BZ #13637]
41641 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41642 of remain_len that may cause incomplete multi-byte character and
41643 false match.
41644 * posix/bug-regex33.c: New file.
41645 * posix/Makefile (tests): Add bug-regex33.
41646
1f77f049
JM
416472012-02-28 Joseph Myers <joseph@codesourcery.com>
41648
41649 * manual/macros.texi: New file.
41650 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41651 * manual/libc.texinfo: Include macros.texi.
41652 * manual/creatute.texi: Likewise.
41653 * manual/install.texi: Likewise.
41654 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41655 @glibcadj{} in references to the GNU C Library.
41656 * manual/charset.texi: Likewise.
41657 * manual/conf.texi: Likewise.
41658 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41659 when not using those macros.
41660 * manual/creature.texi: Likewise.
41661 * manual/crypt.texi: Likewise.
41662 * manual/errno.texi: Likewise.
41663 * manual/filesys.texi: Likewise.
41664 * manual/header.texi: Likewise.
41665 * manual/install.texi: Likewise.
41666 * manual/intro.texi: Likewise.
41667 * manual/io.texi: Likewise.
41668 * manual/job.texi: Likewise.
41669 * manual/lang.texi: Likewise.
41670 * manual/libc.texiinfo: Likewise.
41671 * manual/llio.texi: Likewise.
41672 * manual/locale.texi: Likewise.
41673 * manual/maint.texi: Likewise.
41674 * manual/math.texi: Likewise.
41675 * manual/memory.texi: Likewise.
41676 * manual/message.texi: Likewise.
41677 * manual/nss.texi: Likewise.
41678 * manual/pattern.texi: Likewise.
41679 * manual/process.texi: Likewise.
41680 * manual/resource.texi: Likewise.
41681 * manual/search.texi: Likewise.
41682 * manual/setjmp.texi: Likewise.
41683 * manual/signal.texi: Likewise.
41684 * manual/socket.texi: Likewise.
41685 * manual/startup.texi: Likewise.
41686 * manual/stdio.texi: Likewise.
41687 * manual/string.texi: Likewise.
41688 * manual/sysinfo.texi: Likewise.
41689 * manual/syslog.texi: Likewise.
41690 * manual/terminal.texi: Likewise.
41691 * manual/time.texi: Likewise.
41692 * manual/users.texi: Likewise.
41693 * INSTALL: Regenerated.
41694 * NOTES: Regenerated.
d40c5d54 41695 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 41696
450bf206
AS
416972012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41698
41699 * include/dirent.h: Include <dirstream.h> before
41700 <dirent/dirent.h>.
41701
741a235b
DM
417022012-02-28 David S. Miller <davem@davemloft.net>
41703
41704 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41705 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41706 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41707 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41708
d6b5aa58
DM
417092012-02-27 David S. Miller <davem@davemloft.net>
41710
1aff59a3
DM
41711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41713 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41714 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41715
d6b5aa58
DM
41716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41717 frame pointer instead of stack pointer relative arg slot.
41718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41719 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41720 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41721
433f48bf
CD
417222012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41723
41724 [BZ #3992]
41725 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41726
d674b76d
DM
417272012-02-27 David S. Miller <davem@davemloft.net>
41728
41729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41733 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41734 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41735 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41736 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41737
0e7727f7
JM
417382012-02-27 Joseph Myers <joseph@codesourcery.com>
41739
41740 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41741 later. Allow versions 5-9.
43be4ca2 41742 * configure: Regenerated.
0e7727f7
JM
41743 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41744 required minimum version and 4.6 as recommended version. Do not
41745 mention bugs in GCC 2.7 and 2.8.
43be4ca2 41746 * INSTALL: Regenerated.
0e7727f7 41747
a78bc654
DM
417482012-02-27 David S. Miller <davem@davemloft.net>
41749
428d5830
DM
41750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41754 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41755 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41756 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41757 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41758
a78bc654
DM
41759 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41760 manipulate bits before adding and subtracting TWO112[sx].
41761 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41762
4579f81c
RM
417632012-02-27 Roland McGrath <roland@hack.frob.com>
41764
36c8acb4
RM
41765 [BZ #13775]
41766 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41767 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41768 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41769 being in POSIX, because they are in 1003.1-2008.
41770
84ad622b
RM
41771 * rt/tst-aio.c: Include <fcntl.h>.
41772 * rt/tst-aio7.c: Likewise.
41773 * rt/tst-aio64.c: Likewise.
41774
4579f81c
RM
41775 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41776
abd923db
JM
417772012-02-27 Joseph Myers <joseph@codesourcery.com>
41778
41779 * manual/install.texi (--with-headers): Describe headers as
41780 interface headers, not private headers.
41781 (Specific advice for GNU/Linux systems): Describe use of headers
41782 from "make headers_install", not private headers from older
41783 kernels.
43be4ca2 41784 * INSTALL: Regenerated.
abd923db
JM
41785 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41786 Change to 2.6.19.
41787 * sysdeps/unix/sysv/linux/configure: Regenerated.
41788
6664049b
JM
41789 * manual/llio.texi (fclean): Remove documentation.
41790
bb8b6697
JM
41791 * manual/Makefile (libc-texi-generated): New variable. Include
41792 version.texi.
41793 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41794 $(libc-texi-generated), not duplicated list of files.
41795 (version.texi, stamp-version): New rules.
41796 (realclean): Remove $(libc-texi-generated), not individual files
41797 from that list. Do not remove dir-add.texinfo.
41798 * manual/libc.texinfo: Comment out uses of edition numbers and
41799 references to printed manual. Remove last-updated dates.
41800 (EDITION): Comment out.
41801 (ISBN): Likewise.
41802 (VERSION, UPDATED): Remove.
41803 (version.texi): Include.
41804
12e5c3b9
AS
418052012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41806
41807 * sysdeps/posix/spawni.c: Include <signal.h>.
41808 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41809 * sysdeps/pthread/aio_fsync.c: Likewise.
41810
4efeffc1 418112012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 41812
ba63ba08
UD
41813 * conform/Makefile (tests): Run only when not cross-compiling and
41814 when fast-check is not defined.
41815
d94a4670
UD
41816 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41817 * conform/data/limits.h-data: Fixes for POSIX2008.
41818 * conform/run-conformtest.sh: Run all tests.
41819 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41820 headers.
41821 * include/bits/dlfcn.h: Likewise.
41822 * include/langinfo.h: Likewise.
41823 * include/monetary.h: Likewise.
41824 * include/sys/poll.h: Likewise.
41825
41826 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41827 for __USE_GNU.
41828 * posix/spawn.h: Define __need_sigset_t.
41829 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41830 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41831 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41832 to get sigevent_t only.
41833 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41834 only for __USE_GNU.
41835 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41836 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41837 process_vm_writev only for __USE_GNU.
41838 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
41839
41840 * conform/Makefile: For now ignore errors from run-conformtest.
41841 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41842 POSIX to avoid namespace pollution. Don't prepend headers.
41843 * conform/data/aio.h-data: Fixes for POSIX testing.
41844 * conform/data/fcntl.h-data: Likewise.
41845 * conform/data/glob.h-data: Likewise.
41846 * conform/data/grp.h-data: Likewise.
41847 * conform/data/pthread.h-data: Likewise.
41848 * conform/data/pwd.h-data: Likewise.
41849 * conform/data/signal.h-data: Likewise.
41850 * conform/data/spawn.h-data: Likewise.
41851 * conform/data/stdio.h-data: Likewise.
41852 * conform/data/stdlib.h-data: Likewise.
41853 * conform/data/stropts.h-data: Likewise.
41854 * conform/data/sys/mman.h-data: Likewise.
41855 * conform/data/sys/stat.h-data: Likewise.
41856 * conform/data/sys/types.h-data: Likewise.
41857 * conform/data/sys/wait.h-data: Likewise.
41858 * conform/data/time.h-data: Likewise.
41859 * conform/data/unistd.h-data: Likewise.
41860 * conform/data/utime.h-data: Likewise.
41861
41862 * io/sys/stat.h: fchmod was always in POSIX.
41863 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41864 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41865 * rt/aio.h: Define __need_timespec before including <time.h>.
41866 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41867 struct. Add forward declaration of pthread_attr_t and use it in
41868 sigevent.
41869 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41870 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41871 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41872 always remove CLK_TCK definition.
41873
c20105c3
AS
418742012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41875
41876 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41877
7a270350
UD
418782012-02-25 Ulrich Drepper <drepper@gmail.com>
41879
31341567
UD
41880 * conform/run-conformtest.sh: New file.
41881 * conform/Makefile: Run run-conformtest for tests.
41882 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41883 support.
41884
41885 * conform/data/uchar.h-data: New file.
41886 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41887 * conform/data/arpa/inet.h-data: Likewise.
41888 * conform/data/assert.h-data: Likewise.
41889 * conform/data/complex.h-data: Likewise.
41890 * conform/data/cpio.h-data: Likewise.
41891 * conform/data/ctype.h-data: Likewise.
41892 * conform/data/dirent.h-data: Likewise.
41893 * conform/data/dlfcn.h-data: Likewise.
41894 * conform/data/errno.h-data: Likewise.
41895 * conform/data/fcntl.h-data: Likewise.
41896 * conform/data/float.h-data: Likewise.
41897 * conform/data/fmtmsg.h-data: Likewise.
41898 * conform/data/fnmatch.h-data: Likewise.
41899 * conform/data/ftw.h-data: Likewise.
41900 * conform/data/glob.h-data: Likewise.
41901 * conform/data/grp.h-data: Likewise.
41902 * conform/data/iconv.h-data: Likewise.
41903 * conform/data/inttypes.h-data: Likewise.
41904 * conform/data/langinfo.h-data: Likewise.
41905 * conform/data/libgen.h-data: Likewise.
41906 * conform/data/limits.h-data: Likewise.
41907 * conform/data/locale.h-data: Likewise.
41908 * conform/data/math.h-data: Likewise.
41909 * conform/data/monetary.h-data: Likewise.
41910 * conform/data/mqueue.h-data: Likewise.
41911 * conform/data/ndbm.h-data: Likewise.
41912 * conform/data/net/if.h-data: Likewise.
41913 * conform/data/netdb.h-data: Likewise.
41914 * conform/data/netinet/in.h-data: Likewise.
41915 * conform/data/nl_types.h-data: Likewise.
41916 * conform/data/poll.h-data: Likewise.
41917 * conform/data/pthread.h-data: Likewise.
41918 * conform/data/pwd.h-data: Likewise.
41919 * conform/data/regex.h-data: Likewise.
41920 * conform/data/sched.h-data: Likewise.
41921 * conform/data/search.h-data: Likewise.
41922 * conform/data/semaphore.h-data: Likewise.
41923 * conform/data/setjmp.h-data: Likewise.
41924 * conform/data/signal.h-data: Likewise.
41925 * conform/data/spawn.h-data: Likewise.
41926 * conform/data/stdarg.h-data: Likewise.
41927 * conform/data/stdio.h-data: Likewise.
41928 * conform/data/stdlib.h-data: Likewise.
41929 * conform/data/string.h-data: Likewise.
41930 * conform/data/strings.h-data: Likewise.
41931 * conform/data/stropts.h-data: Likewise.
41932 * conform/data/sys/ipc.h-data: Likewise.
41933 * conform/data/sys/mman.h-data: Likewise.
41934 * conform/data/sys/msg.h-data: Likewise.
41935 * conform/data/sys/resource.h-data: Likewise.
41936 * conform/data/sys/select.h-data: Likewise.
41937 * conform/data/sys/sem.h-data: Likewise.
41938 * conform/data/sys/shm.h-data: Likewise.
41939 * conform/data/sys/socket.h-data: Likewise.
41940 * conform/data/sys/stat.h-data: Likewise.
41941 * conform/data/sys/statvfs.h-data: Likewise.
41942 * conform/data/sys/time.h-data: Likewise.
41943 * conform/data/sys/timeb.h-data: Likewise.
41944 * conform/data/sys/times.h-data: Likewise.
41945 * conform/data/sys/types.h-data: Likewise.
41946 * conform/data/sys/uio.h-data: Likewise.
41947 * conform/data/sys/un.h-data: Likewise.
41948 * conform/data/sys/utsname.h-data: Likewise.
41949 * conform/data/sys/wait.h-data: Likewise.
41950 * conform/data/syslog.h-data: Likewise.
41951 * conform/data/tar.h-data: Likewise.
41952 * conform/data/termios.h-data: Likewise.
41953 * conform/data/utime.h-data: Likewise.
41954 * conform/data/utmpx.h-data: Likewise.
41955 * conform/data/varargs.h-data: Likewise.
41956 * conform/data/wchar.h-data: Likewise.
41957 * conform/data/wctype.h-data: Likewise.
41958 * conform/data/wordexp.h-data: Likewise.
41959
41960 * include/stropts.h: New file.
41961 * include/uchar.h: New file.
41962 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41963 * include/assert.h: Likewise.
41964 * include/ctype.h: Likewise.
41965 * include/dirent.h: Likewise.
41966 * include/dlfcn.h: Likewise.
41967 * include/fcntl.h: Likewise.
41968 * include/fnmatch.h: Likewise.
41969 * include/glob.h: Likewise.
41970 * include/grp.h: Likewise.
41971 * include/libio.h: Likewise.
41972 * include/locale.h: Likewise.
41973 * include/math.h: Likewise.
41974 * include/net/if.h: Likewise.
41975 * include/netdb.h: Likewise.
41976 * include/netinet/in.h: Likewise.
41977 * include/pthread.h: Likewise.
41978 * include/pwd.h: Likewise.
41979 * include/regex.h: Likewise.
41980 * include/sched.h: Likewise.
41981 * include/search.h: Likewise.
41982 * include/setjmp.h: Likewise.
41983 * include/signal.h: Likewise.
41984 * include/stdio.h: Likewise.
41985 * include/stdlib.h: Likewise.
41986 * include/string.h: Likewise.
41987 * include/sys/cdefs.h: Likewise.
41988 * include/sys/mman.h: Likewise.
41989 * include/sys/msg.h: Likewise.
41990 * include/sys/resource.h: Likewise.
41991 * include/sys/select.h: Likewise.
41992 * include/sys/socket.h: Likewise.
41993 * include/sys/stat.h: Likewise.
41994 * include/sys/statvfs.h: Likewise.
41995 * include/sys/time.h: Likewise.
41996 * include/sys/times.h: Likewise.
41997 * include/sys/uio.h: Likewise.
41998 * include/sys/utsname.h: Likewise.
41999 * include/sys/wait.h: Likewise.
42000 * include/termios.h: Likewise.
42001 * include/time.h: Likewise.
42002 * include/ulimit.h: Likewise.
42003 * include/unistd.h: Likewise.
42004 * include/utime.h: Likewise.
42005 * include/wchar.h: Likewise.
42006 * include/wctype.h: Likewise.
42007 * include/wordexp.h: Likewise.
42008
42009 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42010
7a270350
UD
42011 * time/time.h: TIME_UTC must be a macro.
42012 Make timespec_get available for ISO C11 only as well.
42013
7724defc
UD
420142012-02-24 Ulrich Drepper <drepper@gmail.com>
42015
42016 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42017 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42018
6b1d1d46
JM
420192012-02-24 Joseph Myers <joseph@codesourcery.com>
42020
42021 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 42022
0f8bbd69
JM
420232012-02-24 Joseph Myers <joseph@codesourcery.com>
42024
42025 * manual/texinfo.tex: Update to version 2012-01-19.16.
42026
66ab80bc
JM
420272012-02-24 Joseph Myers <joseph@codesourcery.com>
42028
42029 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42030
74981cc5
RM
420312012-02-24 Roland McGrath <roland@hack.frob.com>
42032
ee968201
RM
42033 [BZ #13738]
42034 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42035 * manual/fdl-1.3.texi: New file.
42036 * manual/fdl-1.1.texi: File removed.
42037
74981cc5
RM
42038 [BZ #13738]
42039 * manual/libc.texinfo (FDL_VERSION): New @set.
42040 Use it for mention of FDL in cover text.
42041 (Documentation License): Use it in @include file name.
42042
7bb764bc
JM
420432012-02-22 Joseph Myers <joseph@codesourcery.com>
42044 Roland McGrath <roland@hack.frob.com>
42045
42046 [BZ #5461]
57f41c40
AS
42047 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42048 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
42049 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42050 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42051 name.
42052 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42053
6cbeae47
JM
420542012-02-22 Joseph Myers <joseph@codesourcery.com>
42055
42056 [BZ #2547]
42057 [BZ #11365]
42058 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42059 manipulate bits before adding and subtracting TWO23[sx].
42060 * math/libm-test.inc (nearbyint_test): Add more tests.
42061
fe45ce09
JM
420622012-02-22 Joseph Myers <joseph@codesourcery.com>
42063
42064 [BZ #2548]
42065 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42066 bits before adding and subtracting TWO23[sx].
42067 * math/libm-test.inc (rint_test): Add more tests.
42068 (rint_test_tonearest): Likewise.
42069 (rint_test_towardzero): Likewise.
42070 (rint_test_downward): Likewise.
42071 (rint_test_upward: Likewise.
42072
ff3b3d82
JM
420732012-02-22 Joseph Myers <joseph@codesourcery.com>
42074
42075 [BZ #10110]
42076 * include/stdc-predef.h: New file. Extracted from features.h.
42077 * include/features.h: Include stdc-predef.h.
42078 * Makefile (headers): Add stdc-predef.h.
42079 * CONFORMANCE (Compiler limitations): Update.
42080
ef0aab35
JM
420812012-02-22 Joseph Myers <joseph@codesourcery.com>
42082
42083 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42084
58639409
DM
420852012-02-21 David S. Miller <davem@davemloft.net>
42086
42087 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42088 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42089
c0e70b25
DM
420902012-02-20 David S. Miller <davem@davemloft.net>
42091
42092 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42093 using a normal save/restore sequence, rather than allocating a
42094 dummy stack frame just to store a frame pointer and restore.
42095 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42096
fb06851d
JM
420972012-02-21 Joseph Myers <joseph@codesourcery.com>
42098
42099 * manual/install.texi: Fix stray word in line-wrapped comment.
42100
7a8b71c3
DM
421012012-02-20 David S. Miller <davem@davemloft.net>
42102
d510c123
DM
42103 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42104 both binutils and gcc support GOTDATA.
42105
0722d7c2
DM
42106 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42107 "rd %pc" in the PIC register setup sequences.
42108
3d2b3019
DM
42109 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42110 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42111 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42112 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42113 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42114 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42115 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42116 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42117 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42118 (SYSCALL_ERROR_HANDLER): Likewise.
42119 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42120 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42121 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42122 (SYSCALL_ERROR_HANDLER): Likewise.
42123
c80098a9
DM
42124 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42125 (HAVE_GCC_GOTDATA): New.
42126 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42127 relocation support in both binutils and gcc.
42128 * sysdeps/sparc/elf/configure: Regenerate.
42129
3a2545a0
DM
42130 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42131 * sysdeps/sparc/sparc32/elf/configure: Delete.
42132 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42133 * sysdeps/sparc/sparc64/elf/configure: Delete.
42134 * sysdeps/sparc/elf/configure.in: New file.
42135 * sysdeps/sparc/elf/configure: Generate.
42136
7a8b71c3
DM
42137 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42138 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42139 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42140 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42141 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42142
f1e86fca
JM
421432012-02-21 Joseph Myers <joseph@codesourcery.com>
42144
42145 * manual/install.texi: Do not mention specific glibc version
42146 numbers.
42147 * manual/libc.texinfo (VERSION, UPDATED): Update.
42148 (@copying): Use @copyright{} and range of years.
42149
0e7dfaef
JM
421502012-02-21 Joseph Myers <joseph@codesourcery.com>
42151
42152 [BZ #13695]
42153 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42154 [crti.S not in sysdirs] (generated): Do not append.
42155 [crti.S not in sysdirs] (omit-deps): Likewise.
42156 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42157 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42158 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42159 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42160 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42161 Likewise.
42162 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42163 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42164 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42165 * csu/defs.awk: Remove file.
42166 * sysdeps/generic/initfini.c: Likewise.
42167 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42168 variable.
42169 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42170 Likewise.
42171
599af3ca
JM
421722012-02-20 Joseph Myers <joseph@codesourcery.com>
42173
42174 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42175 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42176 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42177 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42178 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42179 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42180 <bits/epoll.h>.
42181 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42182 (__EPOLL_PACKED): Define to empty if not defined by
42183 <bits/epoll.h>.
42184 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42185 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42186 bits/epoll.h.
42187
0e499750
JM
421882012-02-20 Joseph Myers <joseph@codesourcery.com>
42189
42190 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42191 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42192 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42193 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42194 <bits/timerfd.h>.
42195 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42196 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42197 bits/timerfd.h.
42198
5ad91f6e
JM
421992012-02-20 Joseph Myers <joseph@codesourcery.com>
42200
42201 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42202 in C locale.
42203 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42204 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42205 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42207
06b99b02
AJ
422082012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42209
42210 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42211 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42212
7638c0fd
AS
422132012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42214
42215 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42216 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42217 defined.
42218 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42219 Likewise.
42220 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42221 entry for 2.16.
42222
92221550
AJ
422232012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42224
42225 * math/w_acos.c: Use non-signaling floating-point comparisons.
42226 * math/w_acosf.c: Likewise.
42227 * math/w_acosh.c: Likewise.
42228 * math/w_acoshf.c: Likewise.
42229 * math/w_acoshl.c: Likewise.
42230 * math/w_acosl.c: Likewise.
42231 * math/w_asin.c: Likewise.
42232 * math/w_asinf.c: Likewise.
42233 * math/w_asinl.c: Likewise.
42234 * math/w_atanh.c: Likewise.
42235 * math/w_atanhf.c: Likewise.
42236 * math/w_atanhl.c: Likewise.
42237 * math/w_exp2.c: Likewise.
42238 * math/w_exp2f.c: Likewise.
42239 * math/w_exp2l.c: Likewise.
42240 * math/w_j0.c: Likewise.
42241 * math/w_j0f.c: Likewise.
42242 * math/w_j0l.c: Likewise.
42243 * math/w_j1.c: Likewise.
42244 * math/w_j1f.c: Likewise.
42245 * math/w_j1l.c: Likewise.
42246 * math/w_jn.c: Likewise.
42247 * math/w_jnf.c: Likewise.
42248 * math/w_log.c: Likewise.
42249 * math/w_log10.c: Likewise.
42250 * math/w_log10f.c: Likewise.
42251 * math/w_log10l.c: Likewise.
42252 * math/w_log2.c: Likewise.
42253 * math/w_log2f.c: Likewise.
42254 * math/w_log2l.c: Likewise.
42255 * math/w_logf.c: Likewise.
42256 * math/w_logl.c: Likewise.
42257 * math/w_sqrt.c: Likewise.
42258 * math/w_sqrtf.c: Likewise.
42259 * math/w_sqrtl.c: Likewise.
42260 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42261 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42262 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42263 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42264 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42265
ebaf36eb
JM
422662012-02-19 Joseph Myers <joseph@codesourcery.com>
42267
42268 [BZ #9739]
42269 * manual/string.texi (strnlen): Use correct parameter name in
42270 equivalent expression.
42271
71c254a6
JM
422722012-02-19 Joseph Myers <joseph@codesourcery.com>
42273
42274 [BZ #11174]
42275 * manual/users.texi (seteuid): Consistently use neweuid for
42276 argument name.
42277
16d2c631
JM
422782012-02-19 Joseph Myers <joseph@codesourcery.com>
42279
42280 [BZ #13704]
42281 * manual/nss.texi (Services in the NSS configuration): Correct
42282 list of services in example configuration file.
42283
cd837b09
NB
422842012-02-19 Nick Bowler <nbowler@draconx.ca>
42285
42286 [BZ #11322]
42287 * manual/arith.texi: Remove statements about negative zero
42288 behaving identically to zero.
42289
02c4bbad
JM
422902012-02-18 Joseph Myers <joseph@codesourcery.com>
42291
42292 [BZ #5993]
42293 * manual/install.texi: Do not document upgrading from libc5.
42294
366842e7
JM
422952012-02-18 Joseph Myers <joseph@codesourcery.com>
42296
42297 [BZ #4596]
42298 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42299
dd54084d
DM
423002012-02-18 David S. Miller <davem@davemloft.net>
42301
42302 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42303 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42304 %o7 across the call.
42305 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42306 instead.
42307 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42308 SETUP_PIC_REG_LEAF.
42309 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42310 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42311 * sysdeps/sparc/crtn.S: Likewise.
42312
2bcc53a3
UD
423132012-02-17 Ulrich Drepper <drepper@gmail.com>
42314
42315 * aout/Makefile: Remove.
42316
09c093b5
RK
423172012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42318
42319 [BZ #13058]
42320 * manual/examples/argp-ex1.c (main): Format definition in GNU
42321 style.
42322 * manual/examples/argp-ex2.c (main): Likewise.
42323 * manual/examples/argp-ex3.c (main): Likewise.
42324 * manual/examples/argp-ex4.c (main): Likewise.
42325 * manual/examples/longopt.c (main): Use new-style prototype
42326 definition.
42327 * manual/examples/strncat.c (main): Specify return type and use
42328 (void) for arguments.
42329 * manual/examples/subopt.c (main): Use char **argv argument.
42330
2ee633a2
JM
423312012-02-17 Joseph Myers <joseph@codesourcery.com>
42332
42333 [BZ #5077]
42334 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42335 rounding modes.
42336
0520adde
FB
423372012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42338
42339 [BZ #6907]
42340 * manual/string.texi (strchr): Change when strchrnul is
42341 recommended.
42342
3f4081cd
DGM
423432012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42344
42345 [BZ #174]
42346 * manual/locale.texi (setlocale): Document LOCPATH.
42347
d1b10e78
JM
423482012-02-17 Joseph Myers <joseph@codesourcery.com>
42349
42350 [BZ #10210]
42351 * manual/process.texi (execle): Move @dots{} before last argument.
42352
79c6869c
PB
423532012-02-17 Paul Bolle <pebolle@tiscali.nl>
42354
42355 [BZ #12047]
42356 * manual/charset.texi (Generic Charset Conversion): Fix typo
42357 (LC_TYPE -> LC_CTYPE).
42358
cc6e48bc
NB
423592012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42360
42361 [BZ #5805]
42362 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42363 (scalbnf): Likewise.
42364 (scalbnl): Likewise.
42365 (scalbln): Likewise.
42366 (scalblnf): Likewise.
42367 (scalblnl): Likewise.
42368 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42369 (vwarnx): Likewise.
42370 (verr): Likewise.
42371 (verrx): Likewise.
42372 * manual/filesys.texi (telldir): Use braces around return type.
42373 * manual/llio.texi (mmap): Add space after comma.
42374 (mmap64): Likewise.
42375 * manual/math.texi (jn): Use @var{} on parameter names.
42376 (jnf): Likewise.
42377 (jnl): Likewise.
42378 (yn): Likewise.
42379 (ynf): Likewise.
42380 (ynl): Likewise.
42381 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42382 line.
42383 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42384 "...".
42385 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42386 (sched_get_priority_max): Likewise.
42387 * manual/signal.texi (sigvec): Add space after comma.
42388 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42389 names.
42390 (if_indextoname): Likewise.
42391 (if_freenameindex): Likewise.
42392 (sendto): Use ',' instead of '.' in prototype.
42393 * manual/startup.texi (syscall): Use @dots{} instead of literal
42394 "...".
42395 * manual/stdio.texi (__fpending): Separate initial words of
42396 paragraph from @deftypefun line.
42397 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42398 "...".
42399 (vsyslog): Use @var{} on parameter names.
42400 * manual/terminal.texi (stty): Use @var{} on parameter names.
42401 * manual/users.texi (getutmp): Use @var{} on parameter names.
42402 (getutmpx): Likewise.
42403
5b23062f
JM
424042012-02-17 Joseph Myers <joseph@codesourcery.com>
42405
42406 [BZ #6884]
42407 * manual/stdio.texi (fopen): Fix typos in description of
42408 ",ccs=STRING".
42409
8dee4833
AJ
424102012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42411
42412 [BZ #4026]
42413 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42414 get clock_id definition.
42415
9078ce93
TS
424162012-02-17 Thomas Schwinge <thomas@schwinge.name>
42417
42418 [BZ #4822]
42419 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42420 (madvise): Cast every argument to void on its own.
42421
3835c55f
JM
424222012-02-17 Joseph Myers <joseph@codesourcery.com>
42423
42424 [BZ #9902]
42425 * manual/startup.texi (Exit Status): Fix typo.
42426
35c47e37
JM
424272012-02-17 Joseph Myers <joseph@codesourcery.com>
42428
42429 [BZ #10140]
42430 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42431 * manual/examples/argp-ex2.c: Likewise.
42432 * manual/examples/argp-ex3.c: Likewise.
42433
e3b69ca7
RH
424342012-02-16 Richard Henderson <rth@redhat.com>
42435
42436 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42437 * sysdeps/s390/s390-32/initfini.c: Remove.
42438 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42439 * sysdeps/s390/s390-64/initfini.c: Remove.
42440
df83af67
KK
424412012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42442
42443 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42444 compiler output for sysdeps/generic/initfini.c.
42445 * sysdeps/sh/elf/initfini.c: Remove file.
42446
f63f3380
DM
424472012-02-16 David S. Miller <davem@davemloft.net>
42448
fb59b3a4
DM
42449 [BZ #11494]
42450 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42451
f63f3380
DM
42452 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42453 * sysdeps/sparc/crti.S: New file.
42454 * sysdeps/sparc/crtn.S: New file.
42455 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42456 * sysdeps/sparc/sparc64/Makefile: Likewise.
42457
df6a4a4a
MF
424582012-02-15 Mike Frysinger <vapier@gentoo.org>
42459
6dd8f3dc 42460 [BZ #3335]
df6a4a4a
MF
42461 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42462
1cac7236
RM
424632012-02-15 Roland McGrath <roland@hack.frob.com>
42464
d2c736f8
RM
42465 [BZ #4822]
42466 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42467
1cac7236
RM
42468 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42469 (write, read, close): Likewise.
42470 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42471
8e475601
JM
424722012-02-15 Joseph Myers <joseph@codesourcery.com>
42473
42474 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42475 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42476 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42477 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42478 <bits/signalfd.h>.
42479 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42481 bits/signalfd.h.
42482
ed656b40
MP
424832012-02-14 Marek Polacek <polacek@redhat.com>
42484
42485 * sysdeps/x86_64/crti.S: New file.
42486 * sysdeps/x86_64/crtn.S: New file.
42487 * sysdeps/x86_64/elf/initfini.c: Remove file.
42488
2a979d3a
JM
424892012-02-13 Joseph Myers <joseph@codesourcery.com>
42490
42491 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42492 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42493 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42494 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42495 <bits/inotify.h>.
42496 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42497 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42498 bits/inotify.h.
42499
2a418ac3
JM
425002012-02-13 Joseph Myers <joseph@codesourcery.com>
42501
42502 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42503 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42504 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42505 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42506 <bits/eventfd.h>.
42507 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42509 bits/eventfd.h.
42510
fb779be7
TS
425112012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42512
e19e83c5
RM
42513 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42514 __feraiseexcept instead of feraiseexcept.
7c35ffed 42515
fb779be7
TS
42516 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42517 nanosleep invocations.
42518 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42519 strings, and add error checking for a nanosleep invocations.
42520
59ba27a6
PE
425212012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42522
42523 Replace FSF snail mail address with URLs, as per GNU coding standards.
42524 Most of the snail mail addresses were wrong anyway, and omitting
42525 them makes the source code easier to maintain. Almost all of the
42526 changes are to license notices and to locale LC_IDENTIFICATION
42527 addresses, except for this one:
42528 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42529 not its snail mail address.
42530
57b957eb
RH
425312012-02-09 Richard Henderson <rth@twiddle.net>
42532
af850b1c
RH
42533 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42534 of kernel-features.h.
42535
57b957eb
RH
42536 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42537
6b73181a
MP
425382012-02-08 Marek Polacek <polacek@redhat.com>
42539
42540 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42541 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42542 * sysdeps/gnu/_G_config.h: Likewise.
42543 * sysdeps/generic/_G_config.h: Likewise.
42544
26ecc33a
AS
425452012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42546
6c6dbc63
AS
42547 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42548 tests.
42549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42550
e216c012
AS
42551 * sysdeps/powerpc/powerpc32/crti.S: New file.
42552 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42553 * sysdeps/powerpc/powerpc64/crti.S: New file.
42554 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42555
26ecc33a
AS
42556 * Makeconfig (have-initfini): Don't set.
42557 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42558 * configure.in (nopic_initfini): Don't substitute.
42559 * config.h.in (HAVE_INITFINI): Don't #undef.
42560 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42561 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42562
3add8e13
JM
425632012-02-08 Joseph Myers <joseph@codesourcery.com>
42564
42565 Support crti.S and crtn.S provided directly by architectures.
42566 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42567 [crti.S in sysdirs] (omit-deps): Likewise.
42568 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42569 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42570 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42571 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42572 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42573 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42574 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42575 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42576 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42577 compiler output for sysdeps/generic/initfini.c.
42578 * sysdeps/i386/elf/Makefile: Remove file.
42579 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42580
a22f12b4
MP
425812012-02-07 Marek Polacek <polacek@redhat.com>
42582
42583 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42584 * sysdeps/gnu/_G_config.h: Likewise.
42585 * sysdeps/mach/hurd/_G_config.h: Likewise.
42586
148cf100
MP
425872012-02-07 Marek Polacek <polacek@redhat.com>
42588
42589 * math/Makefile (tests): Add tst-CMPLX2.
42590 * math/tst-CMPLX2.c: New file.
42591
cfdc0dd7
AS
425922012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42593
84ba42c4
AS
42594 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42595
cfdc0dd7
AS
42596 * math/libm-test.inc (jn_test): Add missing L suffix.
42597
622c86f4
MP
425982012-02-06 Marek Polacek <polacek@redhat.com>
42599
42600 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42601 * sysdeps/i386/fpu/e_powf.S: Likewise.
42602 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42603 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42604 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42605 * sysdeps/i386/fpu/e_pow.S: Likewise.
42606 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42607 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42608 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42609 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42610 * sysdeps/i386/fpu/e_log2.S: Likewise.
42611 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42612 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42613 * sysdeps/i386/fpu/e_powl.S: Likewise.
42614 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42615 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42616 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42617 * sysdeps/i386/fpu/e_logl.S: Likewise.
42618 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42619 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42620 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42621 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42622 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42623 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42624 * sysdeps/i386/fpu/e_log.S: Likewise.
42625 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42626 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42627 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42628 * sysdeps/i386/fpu/e_logf.S: Likewise.
42629 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42630 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42631 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42632 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42633 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42634 * sysdeps/i386/fpu/e_log10.S: Likewise.
42635 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42636 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42637 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42638 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42639 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42640 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42641 * sysdeps/i386/asm-syntax.h: Likewise.
42642 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42643 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42644 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42645 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42646 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42647 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42648 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42649 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42650 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42651 * sysdeps/powerpc/sysdep.h: Likewise.
42652 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42653 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42654
d4a54ac6
JM
426552012-02-06 Joseph Myers <joseph@codesourcery.com>
42656
42657 [BZ #411]
42658 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42659
314054ea
JM
426602012-02-06 Joseph Myers <joseph@codesourcery.com>
42661
42662 * sysdeps/i386/sysdep.h: Include <features.h>.
42663 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42664 version.
42665
d8e0ca50
JM
426662012-02-05 Joseph Myers <joseph@codesourcery.com>
42667
42668 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42669 Define.
42670 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42671 LOAD_PIC_REG_STR.
42672
b1da7dd9
JM
426732012-02-03 Joseph Myers <joseph@codesourcery.com>
42674
42675 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42676 (SETUP_PIC_REG): Use GET_PC_THUNK.
42677 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42678 macro.
42679
9a1d9254
JM
426802012-02-03 Joseph Myers <joseph@codesourcery.com>
42681
42682 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42683 for non-PIC compilation.
42684 (SETUP_PIC_REG): Add .p2align directive.
42685 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42686 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42687 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42688 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42689 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42690 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42691 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42692 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42693 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42694 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42695 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42696 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42697 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42698 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42699 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42700 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42701 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42702 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42703 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42704 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42705 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42706 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42707 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42708 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42709 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42710 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42711 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42712 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42713 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42714 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42715 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42716 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42717 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42718 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42719 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42720 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42721 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42722 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42723 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42724 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42725 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42726
65dc3b75
JM
427272012-02-03 Joseph Myers <joseph@codesourcery.com>
42728
42729 * math/tst-CMPLX.c: Include <stdio.h>.
42730
d55bf177
JM
427312012-01-31 Joseph Myers <joseph@codesourcery.com>
42732
42733 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42734 float.
42735 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42736 * sysdeps/sparc/bits/mathdef.h: Likewise.
42737
69db4f8f
MP
427382012-01-31 Marek Polacek <polacek@redhat.com>
42739
42740 * libio/libio.h: Don't define _PARAMS.
42741 * locale/programs/config.h: Don't define PARAMS.
42742 * stdlib/strtol_l.c: Likewise.
42743 (__strtol_l): Remove PARAMS from the prototype.
42744
41b81892
UD
427452012-01-31 Ulrich Drepper <drepper@gmail.com>
42746
3b49edc0
UD
42747 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42748 names. Just use the correct names. Remove unnecessary wrapper
42749 functions.
42750 * malloc/arena.c: Likewise.
42751 * malloc/hooks.c: Likewise.
42752
41b81892
UD
42753 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42754 ARENA_TEST says not to. Simplify test for creation of a new arena.
42755 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42756
27a25b6e
UD
427572012-01-30 Ulrich Drepper <drepper@gmail.com>
42758
42759 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42760 into tail calls.
42761 (update_get_addr): New function.
42762 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42763 GET_ADDR_MODULE parameter.
42764
c8a89e7d
JM
427652012-01-30 Joseph Myers <joseph@codesourcery.com>
42766
42767 * crypt/cert.c: Remove __STDC__ conditionals.
42768 * crypt/crypt-entry.c: Likewise.
42769 * crypt/crypt_util.c: Likewise.
42770 * libio/filedoalloc.c: Likewise.
42771 * libio/fileops.c: Likewise.
42772 * libio/genops.c: Likewise.
42773 * libio/iofclose.c: Likewise.
42774 * libio/iofdopen.c: Likewise.
42775 * libio/iofopen.c: Likewise.
42776 * libio/iofopen64.c: Likewise.
42777 * libio/iogetdelim.c: Likewise.
42778 * libio/iopopen.c: Likewise.
42779 * libio/obprintf.c: Likewise.
42780 * libio/oldfileops.c: Likewise.
42781 * libio/oldiofclose.c: Likewise.
42782 * libio/oldiofdopen.c: Likewise.
42783 * libio/oldiofopen.c: Likewise.
42784 * libio/oldiopopen.c: Likewise.
42785 * libio/wfiledoalloc.c: Likewise.
42786 * libio/wgenops.c: Likewise.
42787 * locale/programs/xmalloc.c: Likewise.
42788 * misc/syslog.c: Likewise.
42789 * stdio-common/xbug.c: Likewise.
42790 * string/memchr.c: Likewise.
42791 * string/memcmp.c: Likewise.
42792 * string/memrchr.c: Likewise.
42793 * string/rawmemchr.c: Likewise.
42794 * sysdeps/posix/getcwd.c: Likewise.
42795 * time/strftime_l.c: Likewise.
42796
3b100462
JM
427972012-01-30 Joseph Myers <joseph@codesourcery.com>
42798
42799 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
42800 * config.make.in (config-cflags-sse2avx): Define.
42801 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42802 Fix typo.
42803
607998af
CM
428042012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42805
42806 * scripts/config.guess: Update from upstream config git repository.
42807 * scripts/config.sub: Likewise.
42808
3601428f
CM
428092012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42810
3ac8b282
CM
42811 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42812 (EM_NUM): Update.
42813 (R_TILEPRO_*, R_TILEGX_*): New macros.
42814
e034841e
CM
42815 * scripts/firstversions.awk: Fix bug in version range handling.
42816
540d7568
CM
42817 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42818
3601428f
CM
42819 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42820
463de862
CM
42821 * include/sys/epoll.h: New file.
42822 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42823 libc_hidden_def.
42824
73139a76
UD
428252012-01-28 Ulrich Drepper <drepper@gmail.com>
42826
96bc5b45
UD
42827 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42828 Avoid unnecessary __WORDSIZE == 64 test.
42829 (fmaxf): Use VEX format if possible.
42830 (fmax): Likewise.
42831 (fminf): Likewise.
42832 (fmin): Likewise.
42833
56f6f6a2
UD
42834 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42835 * math/math_private.h: Remove libc_fegetround* and
42836 libc_fesetround*.
42837 * sysdeps/i386/configure.in: Check for -msse2avx.
42838 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42839 also if SSE2AVX is defined.
42840 Remove libc_fegetround* and libc_fesetround*.
42841 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42842 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42843 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42844 of HAS_YMM_USABLE.
42845 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42846 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42847 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42848 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42849 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42850
73139a76
UD
42851 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42852
d73f93a4
AZ
428532012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42854
42855 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42856 size is not set.
42857 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42858
6ee65ed6
UD
428592012-01-27 Ulrich Drepper <drepper@gmail.com>
42860
42861 [BZ #13618]
42862 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42863 relocation.
42864 * Makeconfig (libm): Define.
42865 * elf/Makefile: Add rules to build and run tst-relsort1.
42866 * elf/tst-relsort1.c: New file.
42867 * elf/tst-relsort1mod1.c: New file.
42868 * elf/tst-relsort1mod2.c: New file.
42869
8db21882
JM
428702012-01-27 Joseph Myers <joseph@codesourcery.com>
42871
42872 * math/s_ldexp.c: Remove __STDC__ conditionals.
42873 * math/s_ldexpf.c: Likewise.
42874 * math/s_ldexpl.c: Likewise.
42875 * math/s_nextafter.c: Likewise.
42876 * math/s_nexttowardf.c: Likewise.
42877 * math/s_significand.c: Likewise.
42878 * math/s_significandf.c: Likewise.
42879 * math/s_significandl.c: Likewise.
42880 * math/w_jnl.c: Likewise.
42881 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42882 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42883 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42884 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42885 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42886 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42887 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42888 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42889 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42890 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42891 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42892 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42893 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42894 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42895 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42896 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42897 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42898 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42899 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42900 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42901 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42902 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42903 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42904 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42905 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42906 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42907 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42908 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42909 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42910 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42911 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42912 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42913 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42914 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42915 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42916 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42917 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42918 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42919 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42920 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42921 * sysdeps/ieee754/k_standard.c: Likewise.
42922 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42923 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42924 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42925 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42926 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42927 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42928 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42929 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42930 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42931 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42932 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42933 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42934 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42935 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42936 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42937 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42938 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42939 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42940 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42941 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42942 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42943 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42944 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42945 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42946 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42947 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42948 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42949 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42950 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42951 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42952 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42953 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42954 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42955 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42956 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42957 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42958 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42959 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42960 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42961 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42962 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42963 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42964 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42965 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42966 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42967 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42968 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42969 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42970 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42971 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42972 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42973 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42974 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42975 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42976 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42977 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42978 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42979 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42980 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42981 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42982 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42983 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42984 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42985 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42986 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42987 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42988 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42989 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42990 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42991 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42992 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42993 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42994 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42995 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42996 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42997 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42998 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42999 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43000 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43001 * sysdeps/ieee754/s_matherr.c: Likewise.
43002 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43003 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43004 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43005 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43006
965a54a4
JM
430072012-01-26 Joseph Myers <joseph@codesourcery.com>
43008
43009 * crypt/md5.h: Remove __STDC__ conditionals.
43010 * libio/libioP.h: Likewise.
43011 * locale/programs/config.h: Likewise.
43012 * sysdeps/generic/sysdep.h: Likewise.
43013 * sysdeps/i386/asm-syntax.h: Likewise.
43014 * sysdeps/s390/asm-syntax.h: Likewise.
43015 * sysdeps/unix/sysdep.h: Likewise.
43016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43018
7071ad79
JM
430192012-01-26 Joseph Myers <joseph@codesourcery.com>
43020
43021 * libio/libio.h: Remove __STDC__ conditionals.
43022 * malloc/obstack.h: Likewise.
43023 * math/complex.h: Likewise.
43024 * math/math.h: Likewise.
43025 * sysdeps/generic/_G_config.h: Likewise.
43026 * sysdeps/gnu/_G_config.h: Likewise.
43027 * sysdeps/mach/hurd/_G_config.h: Likewise.
43028 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43029 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43030 * sysdeps/sparc/bits/mathdef.h: Likewise.
43031
afc5ed09
UD
430322012-01-26 Ulrich Drepper <drepper@gmail.com>
43033
43034 [BZ #13583]
43035 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 43036 Clean up HAS_* macros.
afc5ed09 43037 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
43038 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43039 possible.
43040 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43041 HAS_AVX.
43042 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43043 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43044 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43045 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43046 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 43047
bdb6de1d
JM
430482012-01-25 Joseph Myers <joseph@codesourcery.com>
43049
43050 * elf/tst-unique3.cc (gets): Remove declaration.
43051 * elf/tst-unique3lib.cc (gets): Likewise.
43052 * elf/tst-unique3lib2.cc (gets): Likewise.
43053 * elf/tst-unique4.cc (gets): Likewise.
43054
b15549e6
UD
430552012-01-24 Ulrich Drepper <drepper@gmail.com>
43056
43057 * include/stdio.h: Add C++ protection. Add gets declarations and
43058 definitions.
43059 * debug/tst-chk1.c: Don't declare gets here.
43060 * stdio-common/tst-gets.c: Likewise.
43061
a037381f
JM
430622012-01-24 Joseph Myers <joseph@codesourcery.com>
43063
43064 * posix/glob: Remove directory.
43065
f1d4aa75
JM
430662012-01-24 Joseph Myers <joseph@codesourcery.com>
43067
43068 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43069
81c0c964
PT
430702012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43071
43072 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43073 of the non-standard EPFNOSUPPORT.
43074
0ea698ae
ST
430752011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43076
43077 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43078 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43079 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43080
d220b117
UD
430812012-01-21 Ulrich Drepper <drepper@gmail.com>
43082
43083 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43084
3e1aa84e
UD
430852012-01-20 Ulrich Drepper <drepper@gmail.com>
43086
43087 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43088 transient errors.
43089 * nscd/grpcache.c (cache_addgr): Likewise.
43090 * nscd/hstcache.c (cache_addhst): Likewise.
43091 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43092 * nscd/pwdcache.c (cache_addpw): Likewise.
43093 * nscd/servicescache.c (cache_addserv): Likewise.
43094
400aa020
UD
430952012-01-16 Ulrich Drepper <drepper@gmail.com>
43096
d77e7869
UD
43097 * malloc/malloc.c: Various cleanups.
43098 * malloc/hooks.c: Likewise.
43099
400aa020
UD
43100 * stdlib/Makefile (tests): Add bug-fmtmsg1.
43101 * stdlib/bug-fmtmsg1.c: New file.
43102
43103 * stdlib/fmtmsg.c (init): Add missing unlock.
43104 Patch by Peng Haitao <penght@cn.fujitsu.com>.
43105
e0a309cf
MP
431062012-01-12 Marek Polacek <polacek@redhat.com>
43107
43108 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43109 and _GNU_SOURCE.
43110
929d11c7
WS
431112012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43112
43113 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43114 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43115 macro to ensure uniqueness of label name.
43116 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43117 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43118
41d0e869
UD
431192012-01-11 Ulrich Drepper <drepper@gmail.com>
43120
0cc5ed3b
UD
43121 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43122
41d0e869
UD
43123 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43124 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43125 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43126 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43127
a47a831a
UD
431282012-01-10 Ulrich Drepper <drepper@gmail.com>
43129
daa891c0
UD
43130 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43131
43132 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43133 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43134 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43135
e58ef0f2
UD
43136 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43137
a47a831a 43138 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
43139 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43140 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 43141 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
43142
43143 * math/bits/math-finite.h: Add ldexp support.
43144
a0bfc9c7
MP
431452012-01-10 Marek Polacek <polacek@redhat.com>
43146
43147 * locale/programs/localedef.h (show_archive_content): Add noreturn
43148 attribute.
43149
d6e97a1d
UD
431502012-01-09 Ulrich Drepper <drepper@gmail.com>
43151
43152 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43153
d5835c26
UD
431542012-01-08 Ulrich Drepper <drepper@gmail.com>
43155
e5f484c6
UD
43156 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43157
d5835c26
UD
43158 * io/Makefile (headers): Add bits/poll2.h.
43159
d1f741e9
WS
431602011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43161
43162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43163 typo #include statement.
43164
ec09c1c4
UD
431652012-01-08 Ulrich Drepper <drepper@gmail.com>
43166
43167 * include/sys/cdefs.h: Define __attribute_alloc_size.
43168 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43169 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43170 * elf/pldd.c: Likewise.
43171 * iconv/iconv_charmap.c: Likewise.
43172 * iconv/iconvconfig.c: Likewise.
43173 * iconv/strtab.c: Likewise.
43174 * locale/programs/locale.c: Likewise.
43175 * locale/programs/localedef.h: Likewise.
43176 * locale/programs/simple-hash.c: Likewise.
43177 * nscd/nscd.h: Likewise.
43178 * nss/makedb.c: Likewise.
43179 * sysdeps/generic/ldconfig.h: Likewise.
43180 * locale/programs/localedef.c: Remove xmalloc prototype.
43181 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43182
20b38e03
PP
431832012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43184
43185 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43186 appropriate.
43187
a0da5fe1
UD
431882012-01-08 Ulrich Drepper <drepper@gmail.com>
43189
1d5a644a 43190 * math/Makefile (tests): Add tst-CMPLX.
669704fd 43191 * math/tst-CMPLX.c: New file.
1d5a644a 43192
8784a6db
UD
43193 * math/complex.h (CMPLXL): Fix typo.
43194
d9a216c0
UD
43195 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43196 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43197 GLIBC_2.16.
43198 * debug/tst-chk1.c: Add poll and ppoll tests.
43199 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43200 * include/sys/poll.h: Add hidden proto for ppoll.
43201 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43202 * sysdeps/mach/hurd/ppoll.c: Likewise.
43203 * io/ppoll.c: Likewise.
43204 * debug/poll_chk.c: New file.
43205 * debug/ppoll_chk.c: New file.
43206 * include/bits/poll2.h: New file.
43207 * io/bits/poll2.h: New file.
43208
ac097f5c
UD
43209 [BZ #1350]
43210 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43211
2119dcfa
UD
43212 * configure.in: static is always set to yes. Remove.
43213 * config.make.in: Don't set build-static.
43214 * Makeconfig: Remove use of build-static.
43215 * dlfcn/Makefile: Likewise.
43216 * elf/Makefile: Likewise.
43217 * math/Makefile: Likewise.
43218 * misc/Makefile: Likewise.
43219 * nptl/Makefile: Likewise.
43220 * sysdeps/mach/hurd/Makefile: Likewise.
43221
121766a9
UD
43222 * configure.in: PWD_P is not used anymore.
43223 * config.make.in: Remove PWD_P entry.
43224
51a1d39c 43225 * configure.in: Remove last remnants of RANLIB.
8720d066 43226 No need to check for signed size_t anymore.
215f4bdc
UD
43227 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43228 and IA-64.
3857022a 43229 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
43230 * aclocal.m4: Likewise.
43231
d3ed7225
UD
43232 * wcsmbs/mbrtoc16.c: Implement using towc function.
43233 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43234 * wcsmbs/wcsmbsload.c: Likewise.
43235 * iconv/gconv_simple.c: Likewise.
43236 * iconv/gconv_int.h: Likewise.
43237 * iconv/gconv_builtin.h: Likewise.
43238 * iconv/iconv_prog.c: Remove CHAR16 handling.
43239
43240 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43241
43242 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43243
a0da5fe1
UD
43244 * configure.in: Remove --with-elf and --enable-bounded options.
43245 Dont set base_machine for ia64. More non-ELF conditions removed.
43246 Remove testing and setting of leading underscore information.
43247 * config.make.in (build-bounded): Set to no.
43248 * config.h.in: Remove NO_UNDERSCORES entry.
43249 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43250 them.
43251 * csu/start.c: Remove !NO_UNDERSCORE code.
43252 * locale/localeinfo.h: Likewise.
43253 * sysdeps/generic/machine-gmon.h: Likewise.
43254 * sysdeps/generic/sysdep.h: Likewise.
43255 * sysdeps/i386/sysdep.h: Likewise.
43256 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43257 * sysdeps/mach/sysdep.h: Likewise.
43258 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43259 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43260 * sysdeps/sh/sysdep.h: Likewise.
43261 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43262 * sysdeps/unix/i386/sysdep.S: Likewise.
43263 * sysdeps/unix/sparc/start.c: Likewise.
43264 * sysdeps/unix/sparc/sysdep.S: Likewise.
43265 * sysdeps/unix/sparc/sysdep.h: Likewise.
43266 * sysdeps/unix/start.c: Likewise.
43267 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43268 * sysdeps/x86_64/sysdep.h: Likewise.
43269
df78418a
UD
432702012-01-07 Ulrich Drepper <drepper@gmail.com>
43271
a784e502
UD
43272 [BZ #13553]
43273 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43274 for non-gcc.
43275 * argp/argp-fmtstream.h: Use const instead __const.
43276 * argp/argp.h: Likewise.
43277 * assert/assert.h: Likewise.
43278 * bits/fenv.h: Likewise.
43279 * bits/sched.h: Likewise.
43280 * bits/sigset.h: Likewise.
43281 * bits/sigthread.h: Likewise.
43282 * catgets/nl_types.h: Likewise.
43283 * conform/data/pthread.h-data: Likewise.
43284 * crypt/crypt-private.h: Likewise.
43285 * crypt/crypt.h: Likewise.
43286 * crypt/crypt_util.c: Likewise.
43287 * ctype/ctype.h: Likewise.
43288 * debug/execinfo.h: Likewise.
43289 * debug/mbsnrtowcs_chk.c: Likewise.
43290 * debug/mbsrtowcs_chk.c: Likewise.
43291 * debug/wcsnrtombs_chk.c: Likewise.
43292 * debug/wcsrtombs_chk.c: Likewise.
43293 * debug/wcstombs_chk.c: Likewise.
43294 * dirent/dirent.h: Likewise.
43295 * dlfcn/dlfcn.h: Likewise.
43296 * elf/neededtest4.c: Likewise.
43297 * grp/grp.h: Likewise.
43298 * gshadow/gshadow.h: Likewise.
43299 * iconv/gconv.h: Likewise.
43300 * iconv/gconv_int.h: Likewise.
43301 * iconv/gconv_simple.c: Likewise.
43302 * iconv/iconv.h: Likewise.
43303 * iconv/loop.c: Likewise.
43304 * iconv/skeleton.c: Likewise.
43305 * include/aio.h: Likewise.
43306 * include/aliases.h: Likewise.
43307 * include/argz.h: Likewise.
43308 * include/arpa/inet.h: Likewise.
43309 * include/assert.h: Likewise.
43310 * include/dirent.h: Likewise.
43311 * include/dlfcn.h: Likewise.
43312 * include/execinfo.h: Likewise.
43313 * include/fcntl.h: Likewise.
43314 * include/fenv.h: Likewise.
43315 * include/glob.h: Likewise.
43316 * include/grp.h: Likewise.
43317 * include/libintl.h: Likewise.
43318 * include/mntent.h: Likewise.
43319 * include/netdb.h: Likewise.
43320 * include/pwd.h: Likewise.
43321 * include/rpc/netdb.h: Likewise.
43322 * include/sched.h: Likewise.
43323 * include/search.h: Likewise.
43324 * include/shadow.h: Likewise.
43325 * include/signal.h: Likewise.
43326 * include/stdio.h: Likewise.
43327 * include/stdlib.h: Likewise.
43328 * include/string.h: Likewise.
43329 * include/sys/socket.h: Likewise.
43330 * include/sys/stat.h: Likewise.
43331 * include/sys/statfs.h: Likewise.
43332 * include/sys/statvfs.h: Likewise.
43333 * include/sys/syslog.h: Likewise.
43334 * include/sys/time.h: Likewise.
43335 * include/sys/uio.h: Likewise.
43336 * include/time.h: Likewise.
43337 * include/unistd.h: Likewise.
43338 * include/utmp.h: Likewise.
43339 * include/wchar.h: Likewise.
43340 * include/wctype.h: Likewise.
43341 * inet/aliases.h: Likewise.
43342 * inet/arpa/inet.h: Likewise.
43343 * inet/netinet/ether.h: Likewise.
43344 * inet/netinet/in.h: Likewise.
43345 * intl/libintl.h: Likewise.
43346 * io/bits/fcntl2.h: Likewise.
43347 * io/fcntl.h: Likewise.
43348 * io/ftw.h: Likewise.
43349 * io/sys/poll.h: Likewise.
43350 * io/sys/stat.h: Likewise.
43351 * io/sys/statfs.h: Likewise.
43352 * io/sys/statvfs.h: Likewise.
43353 * io/utime.h: Likewise.
43354 * libio/bits/stdio.h: Likewise.
43355 * libio/bits/stdio2.h: Likewise.
43356 * libio/libio.h: Likewise.
43357 * libio/libioP.h: Likewise.
43358 * libio/stdio.h: Likewise.
43359 * locale/lc-ctype.c: Likewise.
43360 * locale/locale.h: Likewise.
43361 * login/utmp.h: Likewise.
43362 * malloc/arena.c: Likewise.
43363 * malloc/malloc.c: Likewise.
43364 * malloc/malloc.h: Likewise.
43365 * malloc/mcheck.c: Likewise.
43366 * malloc/mtrace.c: Likewise.
43367 * math/bits/mathcalls.h: Likewise.
43368 * math/fenv.h: Likewise.
43369 * math/math_private.h: Likewise.
43370 * misc/bits/error.h: Likewise.
43371 * misc/bits/syslog.h: Likewise.
43372 * misc/err.h: Likewise.
43373 * misc/error.h: Likewise.
43374 * misc/fstab.h: Likewise.
43375 * misc/mntent.h: Likewise.
43376 * misc/regexp.h: Likewise.
43377 * misc/search.h: Likewise.
43378 * misc/sgtty.h: Likewise.
43379 * misc/sys/mman.h: Likewise.
43380 * misc/sys/syslog.h: Likewise.
43381 * misc/sys/uio.h: Likewise.
43382 * misc/sys/xattr.h: Likewise.
43383 * misc/ttyent.h: Likewise.
43384 * nis/rpcsvc/ypclnt.h: Likewise.
43385 * nss/nss.h: Likewise.
43386 * posix/bits/unistd.h: Likewise.
43387 * posix/fnmatch.h: Likewise.
43388 * posix/glob.h: Likewise.
43389 * posix/sched.h: Likewise.
43390 * posix/spawn.h: Likewise.
43391 * posix/sys/wait.h: Likewise.
43392 * posix/unistd.h: Likewise.
43393 * posix/wordexp.h: Likewise.
43394 * pwd/pwd.h: Likewise.
43395 * resolv/netdb.h: Likewise.
43396 * resource/sys/resource.h: Likewise.
43397 * rt/aio.h: Likewise.
43398 * rt/bits/mqueue2.h: Likewise.
43399 * rt/mqueue.h: Likewise.
43400 * shadow/shadow.h: Likewise.
43401 * signal/signal.h: Likewise.
43402 * socket/send.c: Likewise.
43403 * socket/sendto.c: Likewise.
43404 * socket/sys/socket.h: Likewise.
43405 * stdio-common/printf.h: Likewise.
43406 * stdlib/bits/stdlib.h: Likewise.
43407 * stdlib/fmtmsg.h: Likewise.
43408 * stdlib/monetary.h: Likewise.
43409 * stdlib/stdlib.h: Likewise.
43410 * stdlib/ucontext.h: Likewise.
43411 * streams/stropts.h: Likewise.
43412 * string/argz.h: Likewise.
43413 * string/bits/string2.h: Likewise.
43414 * string/string.h: Likewise.
43415 * string/strings.h: Likewise.
43416 * sunrpc/rpc/auth.h: Likewise.
43417 * sunrpc/rpc/auth_des.h: Likewise.
43418 * sunrpc/rpc/clnt.h: Likewise.
43419 * sunrpc/rpc/netdb.h: Likewise.
43420 * sunrpc/rpc/pmap_clnt.h: Likewise.
43421 * sunrpc/rpc/xdr.h: Likewise.
43422 * sysdeps/generic/inttypes.h: Likewise.
43423 * sysdeps/generic/net/if.h: Likewise.
43424 * sysdeps/generic/sys/swap.h: Likewise.
43425 * sysdeps/gnu/net/if.h: Likewise.
43426 * sysdeps/gnu/utmpx.h: Likewise.
43427 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43428 * sysdeps/i386/i486/bits/string.h: Likewise.
43429 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43430 * sysdeps/s390/bits/string.h: Likewise.
43431 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43432 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43433 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43434 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43435 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43436 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43437 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43438 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43439 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43440 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43441 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43442 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43443 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43444 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43445 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43446 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43447 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43448 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43449 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43450 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43451 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43452 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43453 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43454 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43455 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43456 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43457 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43458 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43459 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43460 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43461 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43462 * sysvipc/sys/ipc.h: Likewise.
43463 * sysvipc/sys/msg.h: Likewise.
43464 * sysvipc/sys/sem.h: Likewise.
43465 * sysvipc/sys/shm.h: Likewise.
43466 * termios/termios.h: Likewise.
43467 * time/sys/time.h: Likewise.
43468 * time/time.h: Likewise.
43469 * wcsmbs/bits/wchar2.h: Likewise.
43470 * wcsmbs/uchar.h: Likewise.
43471 * wcsmbs/wchar.h: Likewise.
43472 * wctype/wctype.h: Likewise.
43473
0269750c
UD
43474 [BZ #13551]
43475 * Makeconfig: Remove all but ELF support including AIX support.
43476 * Makerules: Likewise.
43477 * config.h.in: Likewise.
43478 * config.make.in: Likewise.
43479 * configure: Likewise.
43480 * configure.in: Likewise.
43481 * csu/Makefile: Likewise.
43482 * csu/version.c: Likewise.
43483 * debug/Makefile: Likewise.
43484 * dlfcn/Makefile: Likewise.
43485 * elf/Makefile: Likewise.
43486 * extra-lib.mk: Likewise.
43487 * iconv/Makefile: Likewise.
43488 * include/libc-symbols.h: Likewise.
43489 * include/shlib-compat.h: Likewise.
43490 * resolv/Makefile: Likewise.
43491 * resolv/res_libc.c: Likewise.
43492 * rt/Makefile: Likewise.
43493 * sysdeps/i386/asm-syntax.h: Likewise.
43494 * sysdeps/i386/sysdep.h: Likewise.
43495 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43496 * sysdeps/mach/sysdep.h: Likewise.
43497 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43498 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43499 * sysdeps/s390/asm-syntax.h: Likewise.
43500 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43501 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43502 * sysdeps/sh/sysdep.h: Likewise.
43503 * sysdeps/unix/sparc/sysdep.h: Likewise.
43504 * sysdeps/wordsize-32/divdi3.c: Likewise.
43505 * sysdeps/x86_64/sysdep.h: Likewise.
43506
00bbd29b
UD
43507 * argp/Versions: Remove _argp_unlock_xxx.
43508
43509 [BZ #13559]
43510 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43511 * abilist/libBrokenLocale.abilist: Likewise.
43512 * abilist/libanl.abilist: Likewise.
43513 * abilist/libc.abilist: Likewise.
43514 * abilist/libcrypt.abilist: Likewise.
43515 * abilist/libdl.abilist: Likewise.
43516 * abilist/libm.abilist: Likewise.
43517 * abilist/libnsl.abilist: Likewise.
43518 * abilist/libpthread.abilist: Likewise.
43519 * abilist/libresolv.abilist: Likewise.
43520 * abilist/librt.abilist: Likewise.
43521 * abilist/libthread_db.abilist: Likewise.
43522 * abilist/libutil.abilist: Likewise.
43523 * abilist/libnss_db.abilist: New file.
43524
43525 * scripts/abilist.awk: Add support for indirect functions.
43526
a2693a0e
UD
43527 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43528
3f05895f
UD
43529 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43530
ecb6fb48
UD
43531 * shlib-versions: Remove entries for ports architectures.
43532
664f8cb9
UD
43533 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43534 files in ports.
43535 * elf/stackguard-macros.h: Remove support for IA-64.
43536 * elf/tst-auditmod1.c: Likewise.
43537 * sysdeps/generic/ldsodefs.h: Likewise.
43538
7ae81d88
UD
43539 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43540 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43541 configure files.
43542
bdeba135
UD
43543 [BZ #13552]
43544 * configure.in: Remove --enable-omitfp support.
43545 * FAQ.in: Adjust.
43546 * config.make.in: Likewise.
43547 * Makeconfig: Likewise.
43548 * manual/install.texi: Likewise.
43549
d75a0a62
UD
43550 In case anyone cares, the IA-64 architecture could move to ports.
43551 * sysdeps/ia64/*: Removed.
43552 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 43553 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 43554
dcc9756b
UD
43555 [BZ #13555]
43556 * configure.in: Remove entries for unsupported architectures.
43557
d3761ebc 43558 [BZ #13533]
9954432e
UD
43559 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43560 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43561 routines.
43562 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43563 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43564 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43565 fall back to using wcrtomb.
43566 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43567 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43568 renaming.
43569 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43570 * wcsmbs/tst-c16c32-1.c: New file.
43571
43572 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43573 local variable.
43574
c3a87236
UD
43575 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43576
28926a1b
UD
43577 * elf/tst-unique3.cc: Add explicit declaration of gets.
43578 * elf/tst-unique3lib.cc: Likewise.
43579 * elf/tst-unique3lib2.cc: Likewise.
43580 * elf/tst-unique4.cc: Likewise.
43581
df78418a
UD
43582 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43583
8ecd6b2a
JM
435842012-01-06 Joseph Myers <joseph@codesourcery.com>
43585
43586 [BZ #13566]
43587 * assert/assert.h (static_assert): Don't define for C++.
43588 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43589 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43590
9f115170
UD
435912012-01-03 Ulrich Drepper <drepper@gmail.com>
43592
5e0d0300
UD
43593 * iconv/loop.c (single loop): Fix assertion in storing of
43594 remaining bytes.
43595
9f115170
UD
43596 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43597
81fb02b0
UD
435982012-01-01 Ulrich Drepper <drepper@gmail.com>
43599
43600 * posix/getconf.c: Update copyright year.
43601 * nss/getent.c: Likewise.
a316c1f6 43602 * nss/makedb.c: Likewise.
81fb02b0
UD
43603 * iconv/iconvconfig.c: Likewise.
43604 * iconv/iconv_prog.c: Likewise.
43605 * elf/ldconfig.c: Likewise.
a316c1f6
UD
43606 * elf/pldd.c: Likewise.
43607 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
43608 * catgets/gencat.c: Likewise.
43609 * csu/version.c: Likewise.
43610 * elf/ldd.bash.in: Likewise.
43611 * elf/sprof.c (print_version): Likewise.
43612 * locale/programs/locale.c: Likewise.
43613 * locale/programs/localedef.c: Likewise.
a316c1f6 43614 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
43615 * nscd/nscd.c (print_version): Likewise.
43616 * debug/xtrace.sh: Likewise.
43617 * malloc/memusage.sh: Likewise.
43618 * malloc/mtrace.pl: Likewise.
43619 * debug/catchsegv.sh: Likewise.
43620
2ba92745
JJ
436212011-12-30 Jakub Jelinek <jakub@redhat.com>
43622
43623 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43624 pure attribute.
43625
dadebdae
UD
436262011-12-24 Ulrich Drepper <drepper@gmail.com>
43627
d3761ebc 43628 [BZ #13533]
db6af3eb
UD
43629 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43630 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43631 transformations.
43632 * iconv/gconv_int.h: Likewise.
43633 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43634 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43635 from libc for GLIBC_2.16.
43636 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43637 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43638 * wcsmbs/uchar.h: Really define mbstate_t.
43639 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43640 * wcsmbs/c16rtomb.c: New file.
43641 * wcsmbs/mbrtoc16.c: New file.
43642 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43643 for C/POSIX locale.
43644 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43645 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43646
dadebdae
UD
43647 * wcsmbs/wchar.h: Add missing __restrict.
43648
67371b56
UD
436492011-12-23 Ulrich Drepper <drepper@gmail.com>
43650
74033a25
UD
43651 [BZ #13532]
43652 * time/Makefile (routines): Add timespec_get.
43653 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43654 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43655 timespec for ISO C11.
43656 * time/timespec_get.c: New file.
43657 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43658 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43659
380d7e87
UD
43660 [BZ #13531]
43661 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43662 * stdlib/stdlib.h: Declare aligned_alloc.
43663 * Versions.def: Add GLIBC_2.16 for libc.
43664 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43665
4e9e7a35
UD
43666 [BZ 13527]
43667 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43668 ISO C11.
43669
380d7e87 43670 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
43671 code.
43672
03a71829
UD
43673 [BZ #13528]
43674 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43675
839e283e
UD
43676 [BZ #13529]
43677 * assert/assert.h (static_assert): Define.
43678
ce5294e2 43679 * version.h: Update for 2.16 development version.
90fa7312 43680
8d44e150 43681 [BZ #13526]
d7809905
UD
43682 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43683 _ISOC11_SOURCE.
43684
c0da14cd
UD
43685 * version.h (RELEASE): Bump for 2.15 release.
43686 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43687
530a3249
MP
43688 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43689 Patch by Marek Polacek <mpolacek@redhat.com>.
43690
67371b56
UD
43691 * bits/byteswap.h: Protect long long constants with __extension__.
43692 * sysdeps/i386/bits/byteswap.h: Likewise.
43693 * sysdeps/ia64/bits/byteswap.h: Likewise.
43694 * sysdeps/s390/bits/byteswap.h: Likewise.
43695 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43696
15db4de1
LD
436972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43698
43699 [BZ #13540]
bbe315ea
LD
43700 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43701 destination buffer.
15db4de1
LD
43702 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43703
2b2596b1
MP
437042011-12-23 Marek Polacek <polacek@redhat.com>
43705
43706 * elf/dl-addr.c (determine_info): Add inline keyword.
43707 * elf/tst-auditmod4b.c (check_avx): Likewise.
43708 * elf/tst-auditmod6b.c (check_avx): Likewise.
43709 * elf/tst-auditmod6c.c (check_avx): Likewise.
43710 * elf/tst-auditmod7b.c (check_avx): Likewise.
43711
70c6c246
UD
437122011-12-23 Ulrich Drepper <drepper@gmail.com>
43713
43714 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43715 !__SSE_MATH__.
43716
c044cf14
LD
437172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43718
15db4de1 43719 [BZ #13540]
c044cf14
LD
43720 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43721 processing for last bytes.
43722
6b13d9d9
BH
437232011-08-06 Bruno Haible <bruno@clisp.org>
43724
d455f537
BH
43725 [BZ #13061]
43726 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43727 U+0385, not to U+1FEE.
43728
6b13d9d9
BH
43729 [BZ #13062]
43730 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43731 entry for U+00A5 U+0301.
43732
db910efd
UD
437332011-12-22 Ulrich Drepper <drepper@gmail.com>
43734
27deeafc
UD
43735 [BZ #13166]
43736 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43737 buffer for the output is too small.
43738
aed9d171
UD
43739 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43740 optimization.
43741
db910efd
UD
43742 [BZ #13185]
43743 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43744 SSE flags if possible.
43745
2bd779ae
LD
437462011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43747
e7f9dac3 43748 [BZ #13540]
2bd779ae
LD
43749 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43750 processing for last bytes.
43751
154bfc16
JM
437522011-12-22 Joseph Myers <joseph@codesourcery.com>
43753
43754 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43755 (syscall-list-default-options, syscall-list-default-condition)
43756 (syscall-list-includes): Define.
43757 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43758 list of ABIs and options and #if conditions for each ABI. Do not
43759 handle common syscalls between ABIs specially.
43760 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43761 Remove.
43762 (syscall-list-variants, syscall-list-32bit-options)
43763 (syscall-list-32bit-condition, syscall-list-64bit-options)
43764 (syscall-list-64bit-condition): Define.
43765 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43766 (syscall-list-variants, syscall-list-32bit-options)
43767 (syscall-list-32bit-condition, syscall-list-64bit-options)
43768 (syscall-list-64bit-condition): Define.
43769 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43770 Remove.
43771 (syscall-list-variants, syscall-list-32bit-options)
43772 (syscall-list-32bit-condition, syscall-list-64bit-options)
43773 (syscall-list-64bit-condition): Define.
43774 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43775 Remove.
43776 (syscall-list-variants, syscall-list-32bit-options)
43777 (syscall-list-32bit-condition, syscall-list-64bit-options)
43778 (syscall-list-64bit-condition): Define.
43779
21eaf3a5
UD
437802011-12-22 Ulrich Drepper <drepper@gmail.com>
43781
16c6f992
UD
43782 * locale/iso-639.def: Add brx entry.
43783
41043168
UD
43784 [BZ #13328]
43785 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43786 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43787
21eaf3a5
UD
43788 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43789 __feraiseexcept_renamed.
43790
e3a851a2
UD
437912011-12-21 Ulrich Drepper <drepper@gmail.com>
43792
4920765e
UD
43793 [BZ #13538]
43794 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43795 EPOLLET with unsigned values.
43796 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43797 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43798
e3a851a2
UD
43799 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43800 to large cancellation.
43801 * math/s_cacoshf.c: Likewise.
43802 * math/s_cacoshl.c: Likewise.
43803
b27e24b8
RK
438042011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43805
43806 [BZ #13305]
aebefeee 43807 [BZ #12786]
b27e24b8
RK
43808 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43809 * math/s_cacoshf.c: Likewise.
43810 * math/s_cacoshl.c: Likewise.
43811
ee190f67
UD
438122011-12-21 Ulrich Drepper <drepper@gmail.com>
43813
43814 [BZ #13439]
43815 * iconv/gconv.h: Define __GCONV_SWAP.
43816 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43817 * iconvdata/utf-16.c: Likewise.
43818 * iconvdata/utf-32.c: Likewise.
43819
707f25df
AS
438202011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43821
43822 [BZ #13524]
43823 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43824 numerator after shifting it by one limb.
43825
d2daaa1e
RÁE
438262011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43827
43828 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43829 under [__USE_EXTERN_INLINES].
43830
a4647e72
UD
438312011-12-17 Ulrich Drepper <drepper@gmail.com>
43832
43833 [BZ #13446]
43834 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43835
f0b264f1
AZ
438362011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43837
43838 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43839 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43840 optimized code.
43841 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43842 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43843 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43844 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43845 for strncasecmp/strncasecmp_l compilation.
43846 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43847 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43848
8ef4f244
MP
438492011-12-08 Marek Polacek <mpolacek@redhat.com>
43850
43851 [BZ #13484]
43852 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43853 of __asm__.
43854
97ac2654
UD
438552011-12-17 Ulrich Drepper <drepper@gmail.com>
43856
43857 [BZ #13506]
43858 * time/tzfile.c (__tzfile_read): Check values from file header.
43859
91d2a845
WS
438602011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43861
43862 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43863 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43864 * powerpc/powerpc32/dl-start.S: Likewise.
43865 * powerpc/powerpc32/elf/start.S: Likewise.
43866 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43867 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43868 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43869 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43870 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43871 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43872 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43873 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43874 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43875 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43876 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43877 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43878 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43879 * powerpc/powerpc32/memset.S: Likewise.
43880 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43881 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43882 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43883 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43884 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43885 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43886 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43887 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43888 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43889 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43890 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43891 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43892 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43893
a1267ba1
AZ
438942011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43895
43896 * math/libm-test.inc: Added more nearbyint tests.
43897 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43898 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43899 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43900 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43901
ad8ac1bd
RL
439022011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43903
43904 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43905 FD_CLOEXEC.
43906
1d3e4b61
UD
439072011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43908
43909 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43910 Add wcscpy-ssse3 wcscpy-c.
43911 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43912 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43913 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43914 * sysdeps/x86_64/wcschr.S: New file.
43915 * sysdeps/x86_64/wcsrchr.S: New file.
43916 * string/test-strcmp.c: Remove checking of wcscmp function for
43917 wrong alignments.
43918 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43919 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43920 wcsrchr-sse2 wcsrchr-c.
43921 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43922 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43923 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43924 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43925 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43926 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43927 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43928 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43929 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43930 * wcsmbc/wcschr.c (WCSCHR): New macro.
43931
5b330a2d
UD
439322011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43933
43934 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43935 * wcsmbs/test-wcsrchr.c: New file.
43936 * string/test-strrchr.c: Add wcsrchr support.
43937 (WIDE): New macro.
43938 * wcsmbs/test-wcscpy.c: New file.
43939 * string/test-strcpy.c: Add wcscpy support.
43940 (WIDE): New macro.
26428b7c 43941
f039c043
UD
439422011-12-10 Ulrich Drepper <drepper@gmail.com>
43943
43944 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43945 the inner loop.
43946
850fb039
AS
439472011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43948
43949 [BZ #13472]
43950 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43951
4efbd5cb
UD
439522011-12-04 Ulrich Drepper <drepper@gmail.com>
43953
52ff5dd0 43954 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 43955 Minor optimizations.
52ff5dd0 43956
4efbd5cb
UD
43957 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43958 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43959 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43960
8a426e12
UD
439612011-12-03 Ulrich Drepper <drepper@gmail.com>
43962
aff2453d
UD
43963 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43964 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43965 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43966 for gcc to avoid warnings.
43967 * inet/Makefile (tests): Add tst-checks.
43968 * inet/tst-checks.c: New file.
43969
43970 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43971 warning.
43972
43973 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43974 __wmemcmp_sse2.
43975
43976 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43977 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43978
8a426e12
UD
43979 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43980
9bea3473
UD
439812011-12-02 Ulrich Drepper <drepper@gmail.com>
43982
3a965496
UD
43983 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43984 problem.
43985
9bea3473
UD
43986 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43987
f101631b
UD
439882011-11-29 Joseph Myers <joseph@codesourcery.com>
43989
43990 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43991 conditional on GCC version.
43992 (__arch_compare_and_exchange_val_8_acq)
43993 (__arch_compare_and_exchange_val_16_acq)
43994 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43995 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43996 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43997
a98275aa
UD
439982011-12-02 Joseph Myers <joseph@codesourcery.com>
43999
44000 * sysdeps/sh/backtrace.c: New file.
44001
d4cc29a2
AS
440022011-12-02 Andreas Schwab <schwab@redhat.com>
44003
44004 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44005 parenthesis.
44006
6257af2d
AS
440072011-12-01 Andreas Schwab <schwab@redhat.com>
44008
44009 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44010 falling back to utime.
44011
b5f44c1a
AS
440122011-11-30 Andreas Schwab <schwab@redhat.com>
44013
44014 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44015 expectations for float.
44016
f3a6cc0a
AS
440172011-11-29 Andreas Schwab <schwab@redhat.com>
44018
44019 * locale/weight.h (findidx): Add parameter len.
44020 * locale/weightwc.h (findidx): Likewise.
44021 * posix/fnmatch_loop.c (FCT): Adjust caller.
44022 * posix/regcomp.c (build_equiv_class): Likewise.
44023 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44024 * posix/regexec.c (check_node_accept_bytes): Likewise.
44025 * string/strcoll_l.c (STRCOLL): Likewise.
44026 * string/strxfrm_l.c (STRXFRM): Likewise.
44027
9d65ea3a
UD
440282011-11-17 Ulrich Drepper <drepper@gmail.com>
44029
44030 * Makefile.in: Remove CVSOPT handling.
44031 * configure.in: Remove use of AC_REVISION.
44032 * iconvdata/Makefile (distribute): No need to filter out CVS.
44033 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44034 handling.
44035
5583a086
AS
440362011-11-16 Andreas Schwab <schwab@redhat.com>
44037
44038 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44039 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44040 [USE_AS_STRNCASECMP_L]: Likewise.
44041 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44042 NO_TLS_DIRECT_SEG_REFS.
44043 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44044 Fix argument offsets for non-PIC.
44045 [USE_AS_STRNCASECMP_L]: Likewise.
44046 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44047 NO_TLS_DIRECT_SEG_REFS.
44048
d62a8200
UD
440492011-11-15 Ulrich Drepper <drepper@gmail.com>
44050
9d65ea3a 44051 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
44052 O_CLOEXEC.
44053 * locale/loadlocale.c (_nl_load_locale): Likewise.
44054
09f93bd3
AS
440552011-11-15 Andreas Schwab <schwab@redhat.com>
44056
446514f9
AS
44057 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44058 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44059 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44060 (SYSCALL_GETTIME): Set errno on error.
44061
09f93bd3
AS
44062 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44063 count references to noai6ai_cached.
44064
312be3f9
UD
440652011-11-15 Ulrich Drepper <drepper@gmail.com>
44066
44067 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44068
44069 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44070 FD_CLOEXEC for /proc/self/maps.
44071
44072 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44073 FD_CLOEXEC for /proc/meminfo.
44074
44075 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44076 gai.conf.
44077
44078 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44079 FD_CLOEXEC for given file.
44080
44081 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44082
44083 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44084 FD_CLOEXEC for /etc/hosts.
44085 (_gethtent): Likewise.
44086
44087 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44088
44089 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44090 cancellation and set FD_CLOEXEC for /etc/netgroup.
44091
44092 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44093 reading /etc/publickey.
44094
44095 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44096 allow cancellation when reading /etc/group.
44097
44098 * nss/nss_files/files-alias.c (internal_setent): Don't allow
44099 cancellation.
44100 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
44101
44102 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44103 when using data file.
44104
44105 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44106
44107 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44108 (write_nis_obj): Use "c" and "e" in fopen.
44109
44110 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44111
44112 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44113
44114 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44115
44116 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44117
44118 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44119 locale.alias.
44120
44121 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44122
44123 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44124
44125 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44126
44127 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44128 file parsing and set FD_CLOEXEC.
44129
82af0fa8
UD
441302011-11-14 Ulrich Drepper <drepper@gmail.com>
44131
44132 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44133
a5fb313c
AS
441342011-11-14 Andreas Schwab <schwab@redhat.com>
44135
44136 * malloc/arena.c (arena_get2): Don't call reused_arena when
44137 _int_new_arena failed.
44138
6abf3465
UD
441392011-11-14 Ulrich Drepper <drepper@gmail.com>
44140
44141 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44142 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44143 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44144 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44145 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44146 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44147 to compile strcasecmp and strncasecmp.
44148 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44149 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44150
44151 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44152
76e3966e
UD
441532011-11-13 Ulrich Drepper <drepper@gmail.com>
44154
44155 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44156 locale-defines.sym to gen-as-const-headers.
44157 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44158 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44159 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44160 to compile strcasecmp and strncasecmp.
44161 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44162 strcasecmp_l and strncasecmp_l.
44163 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44164 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44165 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44166 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44167 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44168 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44169 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44170 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44171 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44172 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44173 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44174
ab26144e
UD
441752011-11-12 Ulrich Drepper <drepper@gmail.com>
44176
7edb22ef
UD
44177 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44178 result of SYSDEP_GETTIME_CPU to retval.
44179 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44180 parameter list to macro. Remove trailing semicolon. Adjust users.
44181
9694fc44
UD
44182 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44183 variable.
44184
8ad89ef8
UD
44185 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44186 mantissa words.
44187 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44188
0c822ef9
UD
44189 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44190 from unused variable.
44191
874e0564
UD
44192 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44193 DWARF definitions.
44194 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44195 for assembling.
44196
3a2edc79
UD
44197 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44198 over namespaces.
44199
f3c2577f
UD
44200 * sunrpc/rpc_prot.c (rejected): Fix case value.
44201
294ce126
UD
44202 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44203 unsigned long long int to avoid warnings in shift.
44204
5e2b63c6
UD
44205 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44206 of use of trans.
44207 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44208 variable tmp.
44209
e7f4b08e
UD
44210 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44211 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44212 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44213
ab26144e
UD
44214 * nis/nis_table.c (nis_list): Use variable of correct type for
44215 result of __follow_path call.
44216
8a6d5255
AZ
442172011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44218
44219 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44220 of math functions ceil, trunc, floor, round, and sqrt, when
44221 avaliable on the platform.
44222 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44223 name clash.
44224 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44225 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44226 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44227
aaddc98c
MP
442282011-10-30 Marek Polacek <mpolacek@redhat.com>
44229
44230 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44231 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44232
95b7042b
RM
442332011-11-11 Roland McGrath <roland@hack.frob.com>
44234
44235 * include/unistd.h: Fix __readlink return type.
44236 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44237
57769839
UD
442382011-11-11 Ulrich Drepper <drepper@gmail.com>
44239
44240 * stdlib/ucontext.h: Undo last change for makecontext.
44241
edc5984d
AS
442422011-11-11 Andreas Schwab <schwab@redhat.com>
44243
98591e58
AS
44244 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44245
edc5984d
AS
44246 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44247 * setjmp/setjmp.h: Mark functions as non-leaf.
44248 * setjmp/bits/setjmp2.h: Likewise.
44249 * stdlib/ucontext.h: Likewise.
44250
77cdc054
AS
442512011-11-10 Andreas Schwab <schwab@redhat.com>
44252
44253 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44254 (reused_arena): Don't check arena limit.
44255 (arena_get2): Atomically check arena limit.
44256
fe72eebd
UD
442572011-11-08 Ulrich Drepper <drepper@gmail.com>
44258
5f078c32
UD
44259 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44260 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44261
fe72eebd
UD
44262 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44263 instructions.
44264
ae1bc2fa
AS
442652011-11-07 Andreas Schwab <schwab@redhat.com>
44266
7583a88d
AS
44267 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44268 handler when locking.
44269
ae1bc2fa
AS
44270 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44271 Fix size of allocated buffer.
44272
10fb0bfa
AS
442732011-11-04 Andreas Schwab <schwab@redhat.com>
44274
998832a4
AS
44275 [BZ #10103]
44276 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44277 declarations for long double functions.
44278 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44279
10fb0bfa
AS
44280 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44281
3d7ba52b
AS
442822011-11-03 Andreas Schwab <schwab@redhat.com>
44283
a9ae54a1
AS
44284 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44285 installed.
44286
3d7ba52b
AS
44287 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44288 is disabled.
44289
bc8db248
ST
442902011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44291
44292 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44293
45b96dd6
AS
442942011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44295
647776f6
AS
44296 * include/alloca.h (stackinfo_alloca_round): Define.
44297 (extend_alloca): Use it.
44298 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44299 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44300 here.
44301
d91a8b93
AS
44302 * scripts/check-local-headers.sh: Ignore libaudit.h.
44303
45b96dd6
AS
44304 * nscd/Makefile (extra-objs): Make recursively expanded.
44305
432d41ce
UD
443062011-11-01 Ulrich Drepper <drepper@gmail.com>
44307
34372fc6
UD
44308 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44309 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44310
fadb59f8
UD
44311 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44312 * posix/tst-rfc3484-2.c: Likewise.
44313 * posix/tst-rfc3484-3.c: Likewise.
44314
78239589
UD
44315 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44316 process_vm_writev.
44317 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44318 process_vm_writev.
44319 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44320 process_vm_writev from libc using GLIBC_2.15 version.
44321
432d41ce
UD
44322 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44323
02f9c6cf
PP
443242011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44325
44326 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44327 stack usage.
44328
3a2c0242
UD
443292011-10-31 Ulrich Drepper <drepper@gmail.com>
44330
f4ec4833
UD
44331 [BZ #13367]
44332 * nss/getent.c (initgroups_keys): Show error message in case no group
44333 names are given.
44334
3a2c0242
UD
44335 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44336 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44337 __bump_nl_timestamp.
44338 * nscd/connections (nscd_init): When host database is served open
44339 netlink socket and request notification about configuration changes.
44340 (main_loop_poll): Track netlink file descriptor and bump timestamp
44341 in case data becomes available.
44342 (main_loop_epoll): Likewise.
44343 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44344 (database_pers_head): Add extra_data fileds.
44345 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44346 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44347 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44348 Adjust caller.
44349 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44350 in6ai data, call __free_in6ai.
44351 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44352 Add -DHAVE_NETLINK.
44353 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44354 interface information. Reuse previous data if netlink timestamp
44355 is not changed.
44356 (__bump_nl_timestamp): New function.
44357 (__free_in6ai): New function.
44358
636064eb
UD
443592011-10-30 Ulrich Drepper <drepper@gmail.com>
44360
44361 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44362 close_not_cancel_no_status here.
44363 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44364
9beb2334
UD
443652011-10-29 Ulrich Drepper <drepper@gmail.com>
44366
6ef76f3b
UD
44367 [BZ #13276]
44368 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44369 return value.
44370
0ffc4f3e 44371 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
44372 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44373 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44374
cb95113e
UD
443752011-07-03 Andreas Jaeger <aj@suse.de>
44376
44377 [BZ #10709]
44378 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44379 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44380 * math/libm-test.inc (sin_test): Add test case.
44381
a1b560ff
UD
443822011-10-29 Ulrich Drepper <drepper@gmail.com>
44383
c9aaface
UD
44384 [BZ #13337]
44385 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44386 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44387
d272e7f1
UD
44388 * elf/chroot_canon.c (chroot_canon): Cleanups.
44389
1bc33071
UD
44390 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44391
1760874d
TJ
44392 [BZ #13335]
44393 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44394 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44395
51d91b18
UD
44396 * string/test-strchr.c: Make usable for strchrnul testing.
44397 * string/test-strchrnul.c: New file.
44398 * string/Makefile (strop-tests): Add strchrnul.
44399
a1b560ff 44400 * po/it.po: Update from translation team.
b611fb81 44401 * po/es.po: Likewise.
a1b560ff 44402
a5b81e1f
UD
444032011-10-28 Ulrich Drepper <drepper@gmail.com>
44404
fd52bc6d
UD
44405 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44406 the three constants needed as parameters. Drop the others.
44407 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44408 __m128i_strloadu_tolower.
52e4b9eb
UD
44409 Create and initialize variable zero and use it in all the places
44410 where _mm_setzero_si128 was used.
fd52bc6d 44411
a5b81e1f
UD
44412 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44413 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44414 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44415 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44416 anymore.
44417 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44418 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44419 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44420 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44421 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44422 __mpranred, __mptan.
44423 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44424 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44425 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44426 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44427 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44428 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44429 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44430 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44431 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44432
b4343346
AS
444332011-10-28 Andreas Schwab <schwab@redhat.com>
44434
0c92d8a8
AS
44435 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44436 redefine if SHARED.
44437 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44438
b4343346
AS
44439 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44440 wide char related routines to wcsmbs subdir.
44441
3871f58f
AS
444422011-10-27 Andreas Schwab <schwab@redhat.com>
44443
44444 [BZ #13344]
44445 * misc/sys/cdefs.h (__THROWNL): Define.
44446 * posix/unistd.h: Use __THREADNL instead of __THREAD
44447 for memory synchronization functions.
44448
94d44d9f
RM
444492011-10-26 Roland McGrath <roland@hack.frob.com>
44450
21b64b15 44451 [BZ #13349]
94d44d9f
RM
44452 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44453 doesn't exist.
44454 * manual/stdio.texi (Obstack Streams): Node removed.
44455
f6ce9294
AS
444562011-10-26 Andreas Schwab <schwab@redhat.com>
44457
80479147
AS
44458 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44459 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44460 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44461
f6ce9294
AS
44462 * math/math_private.h (math_force_eval): Allow non-addressable
44463 arguments.
44464 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44465
618280a1
UD
444662011-10-25 Ulrich Drepper <drepper@gmail.com>
44467
e0016b11
UD
44468 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44469 file is not needed.
44470
44471 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44472 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44473 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44474 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44475 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44476 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44477 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44478 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44479 Add AVX variants.
44480 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44481 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44482 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44483 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44484 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44485 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44486 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44487 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44488 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44489 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44490 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44491 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44492 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44493 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44494 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44495 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44496 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44497 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44498 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44499
44500 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44501 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44502
618280a1
UD
44503 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44504 place. Use VEX encoding when compiling for AVX.
44505
37822576
AS
445062011-10-25 Andreas Schwab <schwab@redhat.com>
44507
1f1e1947
AS
44508 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44509 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44510
37822576
AS
44511 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44512
31ea014d
UD
445132011-10-25 Ulrich Drepper <drepper@gmail.com>
44514
d7826aa1 44515 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 44516 useless if() expression.
d7826aa1
UD
44517 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44518 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44519 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44520 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44521 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44522 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44523 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44524 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44525 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44526 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44527 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44528 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44529 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44530 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44531 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44532 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44533 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44534 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44535 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44536
31ea014d
UD
44537 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44538
16437fec
AS
445392011-10-25 Andreas Schwab <schwab@redhat.com>
44540
44541 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44542 condition.
44543 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44544
31d3cc00
UD
445452011-10-25 Ulrich Drepper <drepper@gmail.com>
44546
44547 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44548 .text section. Avoid duplicate constants.
44549 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44550 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44551 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44553 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44554 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44555 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44557 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44558 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44559 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44560 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44561 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44562 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44563 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44564 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44565 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44566 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44567 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44568 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44569 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44570 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44571 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44572 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44573 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44574 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44575 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44576 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44577 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44578 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44579 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44580 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44581 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44582 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44583 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44584 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44585 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44586 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44587 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44588 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44589 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44590 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44591 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44592 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44593 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44594
58985aa9
UD
445952011-10-24 Ulrich Drepper <drepper@gmail.com>
44596
202c9deb
UD
44597 * sysdeps/x86_64/dla.h: Move to ...
44598 * sysdeps/x86_64/fpu/dla.h: ...here.
44599 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44600 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 44601
af968f62
UD
44602 * config.make.in: Add have-mfma4 entry.
44603 * configure.in: Substitute libc_cv_cc_fma4.
44604 * math/Makefile (dbl-only-routines): Add sincostab.
44605 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44606 Use __sincostab not sincos.
44607 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44608 name is a macro.
44609 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44610 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44611 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44612 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44613 using __copysign.
44614 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44615 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44616 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44617 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44618 and __inv.
44619 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44620 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44621 __copysign.
44622 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44623 define aliases when function name is a macro.
44624 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44625 sysdeps/ieee754/dbl-64/sincos.tbl.
44626 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44627 fma4-enabled routines.
44628 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44629 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44630 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44631 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44632 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44633 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44634 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44635 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44636 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44637 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44638 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44639 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44640 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44641 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44642 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44643 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44644 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44645 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44646 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44647 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44648 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44649 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44650 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44651 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44652 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44653 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44654 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44655 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44656 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44657 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44658
58985aa9
UD
44659 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44660 rename.
44661 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44662 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44663 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44664 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44665 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44666 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44667 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44668 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44669
a201fbcf
AS
446702011-10-24 Andreas Schwab <schwab@redhat.com>
44671
44672 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44673
fc2ee42a
LD
446742011-10-23 Ulrich Drepper <drepper@gmail.com>
44675
bb3129bd
UD
44676 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44677
0275fff8
UD
44678 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44679 prediction.
44680 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44681
2fa2ae85
UD
44682 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44683 Remove unused variable magic_bits.
44684 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44685
fc2ee42a
LD
44686 * string/strnlen.c: Define and use STRNLEN macro.
44687 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44688 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44689 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44690 * wcsmbs/wcslen.c: Define and use WCSLEN.
44691 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44692 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44693 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44694 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44695 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44696 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44697 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44698
ce7dd29f
LD
446992011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44700
44701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44702 strnlen-sse2-no-bsf.
44703 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44704 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44705 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44706 Add strnlen support.
44707 (USE_AS_STRNLEN): New macro.
44708 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44709 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44710 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44711 * sysdeps/x86_64/wcslen.S: New file.
44712
979c70a3
MZ
447132011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44714
44715 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44716 XMM-moves are used for copying on small sizes.
44717
2d09f82f
LD
447182011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44719
44720 * wcsmbs/Makefile (strop-tests): Add wcschr.
44721 * wcsmbs/test-wcschr.c: New file.
44722 * string/test-strchr.c: Update.
44723 Add wcschr support.
44724 (WIDE): New macro.
44725
619fccca
LD
447262011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44727
2d09f82f 44728 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
44729 * wcsmbs/test-wcslen.c: New file.
44730 * string/test-strlen.c: Update.
44731 Add wcslen support.
44732 (WIDE): New macro.
44733
09f699ea
UD
447342011-10-23 Ulrich Drepper <drepper@gmail.com>
44735
44736 * po/it.po: Update from translation team.
44737
95584d3b
LD
447382011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44739
44740 * sysdeps/x86_64/wcscmp.S: Update.
44741 Fix wrong comparison semantics.
44742 wcscmp shall use signed comparison not unsigned.
44743 Don't use substraction to avoid overflow bug.
44744 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44745 * wcsmbc/wcscmp.c: Likewise.
44746 * string/test-strcmp.c: Likewise.
44747 Add new tests to check cases with negative values.
44748
c8b3296b
UD
447492011-10-23 Ulrich Drepper <drepper@gmail.com>
44750
44751 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44752 * sysdeps/x86_64/dla.h: ...here. New file.
44753 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44754 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44755 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44756 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44758 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44759 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44760 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44761 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44762
246ad57a
AS
447632011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44764
44765 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44766 __ynl_finite aliases.
44767
a1a87169
UD
447682011-10-22 Ulrich Drepper <drepper@gmail.com>
44769
0d355eb7
UD
44770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44771
a1a87169
UD
44772 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44773 define DLA_FMA.
44774 [DLA_FMA] (EMULV): Use DLA_FMA.
44775 [DLA_FMA] (MUL12): Use EMULV.
44776 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44777 that are not needed.
44778 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44779 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44780 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44781 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44782 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44783 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44784 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44785
ee2aafe0
AS
447862011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44787
44788 * math/s_nan.c: Undef __nan.
44789 * math/s_nanf.c: Undef __nanf.
44790 * math/s_nanl.c: Undef __nanl.
44791 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44792 "math_private.h".
44793
bc62c2fb
UD
447942011-10-22 Ulrich Drepper <drepper@gmail.com>
44795
77425c63
UD
44796 * math/s_catan.c: Add branch predictions.
44797 * math/s_catanf.c: Likewise.
44798 * math/s_catanh.c: Likewise.
44799 * math/s_catanhf.c: Likewise.
44800 * math/s_catanhl.c: Likewise.
44801 * math/s_catanl.c: Likewise.
44802 * math/s_cexp.c: Likewise.
44803 * math/s_cexpf.c: Likewise.
44804 * math/s_cexpl.c: Likewise.
44805 * math/s_clog.c: Likewise.
44806 * math/s_clog10.c: Likewise.
44807 * math/s_clog10f.c: Likewise.
44808 * math/s_clog10l.c: Likewise.
44809 * math/s_clogf.c: Likewise.
44810 * math/s_clogl.c: Likewise.
44811 * math/s_csqrt.c: Likewise.
44812 * math/s_csqrtf.c: Likewise.
44813 * math/s_csqrtl.c: Likewise.
44814 * math/s_ctanf.c: Likewise.
44815 * math/s_ctanh.c: Likewise.
44816 * math/s_ctanhf.c: Likewise.
44817 * math/s_ctanhl.c: Likewise.
44818 * math/s_ctanl.c: Likewise.
44819
bc62c2fb
UD
44820 * math/math_private.h: Define __nan, __nanf, __nanl.
44821 * math/s_cacosh.c: Include <math_private.h>.
44822 * math/s_cacoshl.c: Likewise.
44823 * math/s_casinh.c: Likewise.
44824 * math/s_casinhf.c: Likewise.
44825 * math/s_casinhl.c: Likewise.
44826 * math/s_ccos.c: Rely entire on ccosh.
44827 * math/s_ccosf.c: Rely entire on ccoshf.
44828 * math/s_ccosl.c: Rely entirely on ccoshl.
44829 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44830 Remove tests for FE_INVALID.
44831 * math/s_ccoshf.c: Likewise.
44832 * math/s_ccoshl.c: Likewise.
44833 * math/s_csin.c: Likewise.
44834 * math/s_csinf.c: Likewise.
44835 * math/s_csinh.c Likewise.
44836 * math/s_csinhf.c: Likewise.
44837 * math/s_csinhl.c: Likewise.
44838 * math/s_csinl.c: Likewise.
44839 * math/s_ctan.c: Likewise.
44840 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44841 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44842 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44843
8ec250a4
UD
448442011-10-21 Ulrich Drepper <drepper@gmail.com>
44845
c196fed8
UD
44846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44847 compilation problems.
44848
8ec250a4
UD
44849 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44850 __builtin_expect.
44851
8d4f46c6
UD
448522011-10-20 Ulrich Drepper <drepper@gmail.com>
44853
ed72b654
UD
44854 * sysdeps/i386/configure.in: Test for -mfma4 option.
44855 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44856 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44857 COMMON_CPUID_INDEX_80000001.
44858 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44859 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44860 use it if FMA3 is not supported.
44861 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44862
8d4f46c6
UD
44863 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44864 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44865
d45c60c2
AS
448662011-10-20 Andreas Schwab <schwab@redhat.com>
44867
44868 [BZ #12892]
44869 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44870 it would create a cycle with a link time dependency.
44871
d9a4d2ab
UD
448722011-10-19 Ulrich Drepper <drepper@gmail.com>
44873
855d1560
UD
44874 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44875 instruction.
44876 * string/Makefile (strop-tests): Add rawmemchr.
44877 * string/test-rawmemchr.c: New file.
44878
d9a4d2ab
UD
44879 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44880 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44881 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44882 when compiling str{,n}casecmp and when AVX is available. Hook up
44883 new optimized code in initializers.
44884
8f3b1ffe
AS
448852011-10-19 Andreas Schwab <schwab@redhat.com>
44886
44887 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44888 __feraiseexcept instead of feraiseexcept.
44889
d38f1dba
UD
448902011-10-18 Ulrich Drepper <drepper@gmail.com>
44891
d9a8d0ab
UD
44892 * math/math_private.h: Define defaults for libc_fetestexcept and
44893 libc_feupdateenv.
44894 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44895 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44896 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44897 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44898 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44899 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44900 libc_fetestexcept and libc_feupdateenv.
44901
4855e3dd
UD
44902 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44903 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44904 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44905 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44906 libc_feholdexcept_setround.
44907
581d30e3
UD
44908 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44909 Add s_nearbyint-c and s_nearbyintf-c.
44910 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44911 nearbyintf inlines.
44912 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44913 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44914 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44915 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44916
d38f1dba
UD
44917 * math/math_private.h: Define defaults for libc_fegetround,
44918 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44919 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44920 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44921 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44922 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44923 standard functions.
44924 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44925 Remove comments and hacks for old compiler versions.
44926 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44927 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44928 libc_feholdexceptl.
44929
caa6c9d8
AS
449302011-10-18 Andreas Schwab <schwab@redhat.com>
44931
44932 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
44933 (__feraiseexcept_renamed): Add __NTH.
44934 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
44935 namespace violations.
44936
97c066e6
UD
449372011-10-17 Ulrich Drepper <drepper@gmail.com>
44938
99ce7b04
UD
44939 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44940
1004d182
UD
44941 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44942
228a984d
UD
44943 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44944 recently added interfaces.
44945 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44946
c8553a6a
UD
44947 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44948 about macro parameter expansion.
44949
ed22dcf6
UD
44950 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44951 __NO_MATH_INLINES is defined. Cleanups.
44952
44953 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44954 and __floorf is target has SSE4.1.
44955 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44956 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44957 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44958 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44959
b171c137
UD
44960 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44961 name.
44962 (floorf): Likewise.
44963
97c066e6
UD
44964 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44965
629f62ef
AS
449662011-10-17 Andreas Schwab <schwab@redhat.com>
44967
49a43d80
AS
44968 * misc/sys/cdefs.h: Fix last change.
44969
629f62ef
AS
44970 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44971 database lookup.
44972
e453f6cd
UD
449732011-10-16 Ulrich Drepper <drepper@gmail.com>
44974
aa78043a
UD
44975 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44976
ad0f5cad
UD
44977 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44978 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44979 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44980 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44981 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44982 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44983 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44984 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44985 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44986 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44987 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44988 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44989 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44990 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44991 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44992 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44993 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44994 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44995 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44996 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44997 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44998 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44999
45000 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45001 ceil, ceilf, floor, floorf.
45002
45003 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45004 Perform IRELATIVE relocations last.
45005
e453f6cd
UD
45006 * elf/do-rel.h: Add another parameter nrelative, replacing the
45007 local variable with the same name. Change name of the function
45008 to end in Rel or Rela (uppercase).
45009 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45010 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45011 elf_dynamic_do_##reloc function.
45012
fd5bdc09
UD
450132011-10-15 Ulrich Drepper <drepper@gmail.com>
45014
79b195b5
UD
45015 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45016 is sufficient, at least on modern CPUs.
45017
d4a28569
UD
45018 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45019
b61099b5
UD
45020 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45021 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45022
bcf01e6d
UD
45023 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45024 __expl_finite.
45025 * math/bits/math-finite.h: Add entries for exp.
45026 * math/e_expl.c: Add __*_finite alias.
45027 * sysdeps/i386/fpu/e_exp.S: Likewise.
45028 * sysdeps/i386/fpu/e_expf.S: Likewise.
45029 * sysdeps/i386/fpu/e_expl.c: Likewise.
45030 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45031 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45032 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45033 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45034 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45035 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45036 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45037
ba1a0d59
UD
45038 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45039 is sufficient, at least on modern CPUs.
45040
fd5bdc09
UD
45041 * ctype/ctype-info.c (__ctype_init): Define.
45042 * include/ctype.h (__ctype_init): Declare.
45043 (__ctype_b_loc): The variable is always initialized.
45044 (__ctype_toupper_loc): Likewise.
45045 (__ctype_tolower_loc): Likewise.
45046 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45047 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45048
7872cfb0
AS
450492011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45050
b468825a
AS
45051 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45052
7872cfb0
AS
45053 * configure.in: Also look in $cxxmachine/include for C++ system
45054 headers.
45055
be13f7bf
LD
450562011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45057
45058 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45059 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45060 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45061 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45062 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45063 (USE_AS_WMEMCMP): New macro.
45064 Fixing indents.
45065 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45066 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45067 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45068 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45069 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45070 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45071 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45072 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45073 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45074 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45075 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45076 (USE_AS_WMEMCMP): New macro.
45077 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45078 * sysdeps/string/test-memcmp.c: Update.
45079 Fix simple_wmemcmp.
45080 Add new tests.
45081 * wcsmbs/wmemcmp.c: Update.
45082 (WMEMCMP): New macro.
45083 Fix overflow bug.
45084
556a2007
AJ
450852011-10-12 Andreas Jaeger <aj@suse.de>
45086
45087 [BZ #13268]
45088 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45089
538faaa7
UD
450902011-10-15 Ulrich Drepper <drepper@gmail.com>
45091
ab6737ff
UD
45092 * libio/iofwide.c (do_length): Avoid warning.
45093
538faaa7
UD
45094 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45095
396a21b1
UD
450962011-10-14 Ulrich Drepper <drepper@gmail.com>
45097
cdf2901f
UD
45098 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45099
38ad40ce
UD
45100 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45101 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45102 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45103 * sysdeps/i386/i686/fpu/e_log.S: New file.
45104 * sysdeps/i386/i686/fpu/e_logf.S: New file.
45105 * sysdeps/i386/i686/fpu/e_logl.S: New file.
45106
396a21b1
UD
45107 * ctype/ctype.h: Add support for inlined isXXX functions when
45108 compiling C++ code.
45109
6b1f68c9
AS
451102011-10-14 Andreas Schwab <schwab@redhat.com>
45111
349290c0
AS
45112 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45113
6b1f68c9
AS
45114 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45115
f2282d42
RM
451162011-10-13 Roland McGrath <roland@hack.frob.com>
45117
45118 [BZ #13291]
45119 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45120
5298ffa8
AS
451212011-10-13 Andreas Schwab <schwab@redhat.com>
45122
714fad23
AS
45123 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45124 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45125 feraiseexcept.
45126
81dcc7fb
AS
45127 * sysdeps/x86_64/memrchr.S: Check for zero size.
45128
5298ffa8
AS
45129 * string/stratcliff.c: Add memrchr tests.
45130
951fbcec
LD
451312011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45132
45133 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45134 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45135 rawmemchr-sse2 rawmemchr-sse2-bsf.
45136 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45137 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45138 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45139 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45140 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45141 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45142 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45143 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45144 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45145 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45146 * string/memrchr.c (MEMRCHR): New macro.
45147
0ac5ae23
UD
451482011-10-12 Ulrich Drepper <drepper@gmail.com>
45149
45150 Add integration with gcc's -ffinite-math-only and optimize wrapper
45151 functions in libm.
45152 * Versions.def: Define GLIBC_2.15 version for libm.
45153 * math/Makefile (headers): Add bits/math-finite.h.
45154 * math/bits/math-finite.h: New file.
45155 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45156 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45157 * math/e_acoshl.c: Add __*_finite alias.
45158 * math/e_acosl.c: Likewise.
45159 * math/e_asinl.c: Likewise.
45160 * math/e_atan2l.c: Likewise.
45161 * math/e_atanhl.c: Likewise.
45162 * math/e_coshl.c: Likewise.
45163 * math/e_exp10.c: Likewise.
45164 * math/e_exp10f.c: Likewise.
45165 * math/e_exp10l.c: Likewise.
45166 * math/e_exp2l.c: Likewise.
45167 * math/e_fmodl.c: Likewise.
45168 * math/e_gammal_r.c: Likewise.
45169 * math/e_hypotl.c: Likewise.
45170 * math/e_j0l.c: Likewise.
45171 * math/e_j1l.c: Likewise.
45172 * math/e_jnl.c: Likewise.
45173 * math/e_lgammal_r.c: Likewise.
45174 * math/e_log10l.c: Likewise.
45175 * math/e_log2l.c: Likewise.
45176 * math/e_logl.c: Likewise.
45177 * math/e_powl.c: Likewise.
45178 * math/e_sinhl.c: Likewise.
45179 * math/e_sqrtl.c: Likewise.
45180 * math/e_scalb.c: Completely rewritten and optimized.
45181 * math/e_scalbf.c: Likewise.
45182 * math/e_scalbl.c: Likewise.
45183 * math/w_acos.c: Likewise.
45184 * math/w_acosf.c: Likewise.
45185 * math/w_acosl.c: Likewise.
45186 * math/w_acosh.c: Likewise.
45187 * math/w_acoshf.c: Likewise.
45188 * math/w_acoshl.c: Likewise.
45189 * math/w_asin.c: Likewise.
45190 * math/w_asinf.c: Likewise.
45191 * math/w_asinl.c: Likewise.
45192 * math/w_atan2.c: Likewise.
45193 * math/w_atan2f.c: Likewise.
45194 * math/w_atan2l.c: Likewise.
45195 * math/w_atanh.c: Likewise.
45196 * math/w_atanhf.c: Likewise.
45197 * math/w_atanhl.c: Likewise.
45198 * math/w_exp10.c: Likewise.
45199 * math/w_exp10f.c: Likewise.
45200 * math/w_exp10l.c: Likewise.
45201 * math/w_fmod.c: Likewise.
45202 * math/w_fmodf.c: Likewise.
45203 * math/w_fmodl.c: Likewise.
45204 * math/w_j0.c: Likewise.
45205 * math/w_j0f.c: Likewise.
45206 * math/w_j0l.c: Likewise.
45207 * math/w_j1.c: Likewise.
45208 * math/w_j1f.c: Likewise.
45209 * math/w_j1l.c: Likewise.
45210 * math/w_jn.c: Likewise.
45211 * math/w_jnf.c: Likewise.
45212 * math/w_log.c: Likewise.
45213 * math/w_logf.c: Likewise.
45214 * math/w_logl.c: Likewise.
45215 * math/w_log10.c: Likewise.
45216 * math/w_log10f.c: Likewise.
45217 * math/w_log10l.c: Likewise.
45218 * math/w_log2.c: Likewise.
45219 * math/w_log2f.c: Likewise.
45220 * math/w_log2l.c: Likewise.
45221 * math/w_pow.c: Likewise.
45222 * math/w_powf.c: Likewise.
45223 * math/w_powl.c: Likewise.
45224 * math/w_remainder.c: Likewise.
45225 * math/w_remainderf.c: Likewise.
45226 * math/w_remainderl.c: Likewise.
45227 * math/w_scalb.c: Likewise.
45228 * math/w_scalbf.c: Likewise.
45229 * math/w_scalbl.c: Likewise.
45230 * math/w_sqrt.c: Likewise.
45231 * math/w_sqrtf.c: Likewise.
45232 * math/w_sqrtl.c: Likewise.
45233 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45234 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45235 used.
45236 * math/math_private.h: Declare __kernel_standard_f.
45237 * math/w_cosh.c: Remove cruft and optimize a bit.
45238 * math/w_coshf.c: Likewise.
45239 * math/w_coshl.c: Likewise.
45240 * math/w_exp2.c: Likewise.
45241 * math/w_exp2f.c: Likewise.
45242 * math/w_exp2l.c: Likewise.
45243 * math/w_hypot.c: Likewise.
45244 * math/w_hypotf.c: Likewise.
45245 * math/w_hypotl.c: Likewise.
45246 * math/w_lgamma.c: Likewise.
45247 * math/w_lgamma_r.c: Likewise.
45248 * math/w_lgammaf.c: Likewise.
45249 * math/w_lgammaf_r.c: Likewise.
45250 * math/w_lgammal.c: Likewise.
45251 * math/w_lgammal_r.c: Likewise.
45252 * math/w_sinh.c: Likewise.
45253 * math/w_sinhf.c: Likewise.
45254 * math/w_sinhl.c: Likewise.
45255 * math/w_tgamma.c: Likewise.
45256 * math/w_tgammaf.c: Likewise.
45257 * math/w_tgammal.c: Likewise.
45258 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45259 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45260 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45261 Minor optimizations. Pretty printing. Remove cruft.
45262 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45263 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45264 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45265 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45266 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45267 * sysdeps/i386/fpu/e_asin.S: Likewise.
45268 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45269 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45270 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45271 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45272 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45273 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45274 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45275 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45276 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45277 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45278 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45279 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45280 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45281 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45282 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45283 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45284 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45285 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45286 * sysdeps/i386/fpu/e_log.S: Likewise.
45287 * sysdeps/i386/fpu/e_log10.S: Likewise.
45288 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45289 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45290 * sysdeps/i386/fpu/e_log2.S: Likewise.
45291 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45292 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45293 * sysdeps/i386/fpu/e_logf.S: Likewise.
45294 * sysdeps/i386/fpu/e_logl.S: Likewise.
45295 * sysdeps/i386/fpu/e_pow.S: Likewise.
45296 * sysdeps/i386/fpu/e_powf.S: Likewise.
45297 * sysdeps/i386/fpu/e_powl.S: Likewise.
45298 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45299 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45300 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45301 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45302 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45303 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45304 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45305 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45306 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45307 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45308 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45309 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45310 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45311 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45312 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45313 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45314 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45315 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45316 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45317 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45318 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45319 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45320 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45321 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45322 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45323 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45324 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45325 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45326 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45327 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45328 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45329 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45330 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45331 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45332 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45333 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45334 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45335 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45336 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45337 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45338 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45339 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45340 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45341 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45342 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45343 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45344 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45345 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45346 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45347 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45348 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45349 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45350 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45351 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45352 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45353 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45354 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45355 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45356 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45357 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45358 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45359 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45360 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45361 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45362 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45363 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45364 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45365 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45366 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45367 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45368 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45369 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45370 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45371 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45372 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45373 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45374 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45375 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45376 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45377 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45378 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45379 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45380 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45381 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45382 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45383 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45384 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45385 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45386 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45387 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45388 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45389 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45390 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45391 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45392 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45393 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45394 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45395 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45396 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45397 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45398 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45399 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45400 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45401 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45402 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45403 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45404 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45405 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45406 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45407 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45408 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45409 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45410 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45411 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45412 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45413 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45414 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45415 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45416 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45417 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45418 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45419 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45420 (__isnanf): Likewise.
45421 (__isinf_ns): Likewise.
45422 (__isinf_nsf): Likewise.
45423 (__finite): Likewise.
45424 (__finitef): Likewise.
45425 (__ieee754_sqrt): Define as macro.
45426 (__ieee754_sqrtf): Define as macro.
45427 (__ieee754_sqrtl): Define as macro.
45428 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45429 inlined copy.
45430 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45431 __FINITE_MATH_ONLY__ consistent.
45432 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45433
12cc2fcd
AS
454342011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45435
a843a204
AS
45436 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45437 of rawmemchr.
45438
12cc2fcd
AS
45439 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45440
c853acd5
UD
454412011-10-09 Ulrich Drepper <drepper@gmail.com>
45442
45443 * po/ja.po: Update from translation team.
45444
c658d255
RM
454452011-10-08 Roland McGrath <roland@hack.frob.com>
45446
110946e4
RM
45447 * locale/programs/locarchive.c (prepare_address_space): New function.
45448 (create_archive, enlarge_archive, open_archive): Use it.
45449
50604220
RM
45450 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45451 inside [SHARED], where it is used.
45452
c658d255
RM
45453 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45454
45455 * nss/getent.c (netgroup_keys): Remove unused variable.
45456 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45457
6a621eb7
UD
454582011-10-08 Ulrich Drepper <drepper@gmail.com>
45459
7edb55ce
UD
45460 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45461 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45462 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45463 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45464 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45465 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45466 * math/Makefile (libm-calls): Add s_isinf_ns.
45467 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45468 * math/multc3.c: Likewise.
45469 * math/s_casin.c: Likewise.
45470 * math/s_casinf.c: Likewise.
45471 * math/s_casinl.c: Likewise.
45472 * math/s_ccos.c: Likewise.
45473 * math/s_ccosf.c: Likewise.
45474 * math/s_ccosl.c: Likewise.
45475 * math/s_ctan.c: Likewise.
45476 * math/s_ctanf.c: Likewise.
45477 * math/s_ctanh.c: Likewise.
45478 * math/s_ctanhf.c: Likewise.
45479 * math/s_ctanhl.c: Likewise.
45480 * math/s_ctanl.c: Likewise.
45481 * math/w_fmod.c: Likewise.
45482 * math/w_fmodf.c: Likewise.
45483 * math/w_fmodl.c: Likewise.
45484 * math/w_remainder.c: Likewise.
45485 * math/w_remainderf.c: Likewise.
45486 * math/w_remainderl.c: Likewise.
45487 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45488 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45489 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45490 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45491 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45492 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45493 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45494 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45495
187da0ae
UD
45496 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45497 of the number.
45498 * stdio-common/printf_fphex.c: Likewise.
45499 * stdio-common/printf_size.c: Likewise.
45500
9277c064
UD
45501 * math/e_exp10.c: Include math_private.h using <...> not "...".
45502 * math/e_exp10f.c: Likewise.
45503 * math/e_exp10l.c: Likewise.
45504 * math/e_exp2l.c: Likewise.
45505 * math/e_j0l.c: Likewise.
45506 * math/e_j1l.c: Likewise.
45507 * math/e_jnl.c: Likewise.
45508 * math/e_lgammal_r.c: Likewise.
45509 * math/e_rem_pio2l.c: Likewise.
45510 * math/e_scalb.c: Likewise.
45511 * math/e_scalbf.c: Likewise.
45512 * math/e_scalbl.c: Likewise.
45513 * math/k_cosl.c: Likewise.
45514 * math/k_sinl.c: Likewise.
45515 * math/k_tanl.c: Likewise.
45516 * math/s_cacoshf.c: Likewise.
45517 * math/s_catan.c: Likewise.
45518 * math/s_catanf.c: Likewise.
45519 * math/s_catanh.c: Likewise.
45520 * math/s_catanhf.c: Likewise.
45521 * math/s_catanhl.c: Likewise.
45522 * math/s_catanl.c: Likewise.
45523 * math/s_ccosh.c: Likewise.
45524 * math/s_ccoshf.c: Likewise.
45525 * math/s_ccoshl.c: Likewise.
45526 * math/s_cexp.c: Likewise.
45527 * math/s_cexpf.c: Likewise.
45528 * math/s_cexpl.c: Likewise.
45529 * math/s_clog.c: Likewise.
45530 * math/s_clog10.c: Likewise.
45531 * math/s_clog10f.c: Likewise.
45532 * math/s_clog10l.c: Likewise.
45533 * math/s_clogf.c: Likewise.
45534 * math/s_clogl.c: Likewise.
45535 * math/s_csin.c: Likewise.
45536 * math/s_csinf.c: Likewise.
45537 * math/s_csinh.c: Likewise.
45538 * math/s_csinhf.c: Likewise.
45539 * math/s_csinhl.c: Likewise.
45540 * math/s_csinl.c: Likewise.
45541 * math/s_csqrt.c: Likewise.
45542 * math/s_csqrtf.c: Likewise.
45543 * math/s_csqrtl.c: Likewise.
45544 * math/s_ctan.c: Likewise.
45545 * math/s_ctanf.c: Likewise.
45546 * math/s_ctanh.c: Likewise.
45547 * math/s_ctanhf.c: Likewise.
45548 * math/s_ctanhl.c: Likewise.
45549 * math/s_ctanl.c: Likewise.
45550 * math/s_ldexp.c: Likewise.
45551 * math/s_ldexpf.c: Likewise.
45552 * math/s_ldexpl.c: Likewise.
45553 * math/s_significand.c: Likewise.
45554 * math/s_significandf.c: Likewise.
45555 * math/s_significandl.c: Likewise.
45556 * math/w_acos.c: Likewise.
45557 * math/w_acosf.c: Likewise.
45558 * math/w_acosh.c: Likewise.
45559 * math/w_acoshf.c: Likewise.
45560 * math/w_acoshl.c: Likewise.
45561 * math/w_acosl.c: Likewise.
45562 * math/w_asin.c: Likewise.
45563 * math/w_asinf.c: Likewise.
45564 * math/w_asinl.c: Likewise.
45565 * math/w_atan2.c: Likewise.
45566 * math/w_atan2f.c: Likewise.
45567 * math/w_atan2l.c: Likewise.
45568 * math/w_atanh.c: Likewise.
45569 * math/w_atanhf.c: Likewise.
45570 * math/w_atanhl.c: Likewise.
45571 * math/w_cosh.c: Likewise.
45572 * math/w_coshf.c: Likewise.
45573 * math/w_coshl.c: Likewise.
45574 * math/w_dremf.c: Likewise.
45575 * math/w_exp10.c: Likewise.
45576 * math/w_exp10f.c: Likewise.
45577 * math/w_exp10l.c: Likewise.
45578 * math/w_exp2.c: Likewise.
45579 * math/w_exp2f.c: Likewise.
45580 * math/w_fmod.c: Likewise.
45581 * math/w_fmodf.c: Likewise.
45582 * math/w_fmodl.c: Likewise.
45583 * math/w_hypot.c: Likewise.
45584 * math/w_hypotf.c: Likewise.
45585 * math/w_hypotl.c: Likewise.
45586 * math/w_j0.c: Likewise.
45587 * math/w_j0f.c: Likewise.
45588 * math/w_j0l.c: Likewise.
45589 * math/w_j1.c: Likewise.
45590 * math/w_j1f.c: Likewise.
45591 * math/w_j1l.c: Likewise.
45592 * math/w_jn.c: Likewise.
45593 * math/w_jnf.c: Likewise.
45594 * math/w_jnl.c: Likewise.
45595 * math/w_lgamma.c: Likewise.
45596 * math/w_lgamma_r.c: Likewise.
45597 * math/w_lgammaf.c: Likewise.
45598 * math/w_lgammaf_r.c: Likewise.
45599 * math/w_lgammal.c: Likewise.
45600 * math/w_lgammal_r.c: Likewise.
45601 * math/w_log.c: Likewise.
45602 * math/w_log10.c: Likewise.
45603 * math/w_log10f.c: Likewise.
45604 * math/w_log10l.c: Likewise.
45605 * math/w_log2.c: Likewise.
45606 * math/w_log2f.c: Likewise.
45607 * math/w_log2l.c: Likewise.
45608 * math/w_logf.c: Likewise.
45609 * math/w_logl.c: Likewise.
45610 * math/w_pow.c: Likewise.
45611 * math/w_powf.c: Likewise.
45612 * math/w_powl.c: Likewise.
45613 * math/w_remainder.c: Likewise.
45614 * math/w_remainderf.c: Likewise.
45615 * math/w_remainderl.c: Likewise.
45616 * math/w_scalb.c: Likewise.
45617 * math/w_scalbf.c: Likewise.
45618 * math/w_scalbl.c: Likewise.
45619 * math/w_sinh.c: Likewise.
45620 * math/w_sinhf.c: Likewise.
45621 * math/w_sinhl.c: Likewise.
45622 * math/w_sqrt.c: Likewise.
45623 * math/w_sqrtf.c: Likewise.
45624 * math/w_sqrtl.c: Likewise.
45625 * math/w_tgamma.c: Likewise.
45626 * math/w_tgammaf.c: Likewise.
45627 * math/w_tgammal.c: Likewise.
45628
6a621eb7
UD
45629 * po/ja.po: Update from translation team.
45630
bf582445
AJ
456312011-09-29 Andreas Jaeger <aj@suse.de>
45632
f9efbf3a
AJ
45633 [BZ #13179]
45634 * sunrpc/netname.c (netname2host): Fix logic.
45635
bf582445
AJ
45636 [BZ #6779]
45637 [BZ #6783]
45638 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45639 correctly.
45640 * math/w_remainder.c (__remainder): Likewise.
45641 * math/w_remainderf.c (__remainderf): Likewise.
45642 * math/libm-test.inc (remainder_test): Add test cases.
45643
48693bea
AK
456442011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45645
45646 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45647 sdiv_qrnnd.
45648
42622229
LD
456492011-10-07 Ulrich Drepper <drepper@gmail.com>
45650
45651 * string/test-memcmp.c: Avoid unncessary #defines.
45652 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45653
093ecf92
LD
456542011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45655
45656 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45657 Use new sse2 version for core i3 - i7 as it's faster
45658 than sse42 version.
45659 (bit_Prefer_PMINUB_for_stringop): New.
45660 * sysdeps/x86_64/rawmemchr.S: Update.
45661 Replace with faster SSE2 version.
45662 * sysdeps/x86_64/memrchr.S: New file.
45663 * sysdeps/x86_64/memchr.S: Update.
45664 Replace with faster SSE2 version.
45665
fde56e5c
MP
456662011-09-12 Marek Polacek <mpolacek@redhat.com>
45667
45668 * elf/dl-load.c (lose): Add cast to avoid warning.
45669
21fd49a9
UD
456702011-10-07 Ulrich Drepper <drepper@gmail.com>
45671
5a06e643
UD
45672 * po/ca.po: Update from translation team.
45673
684ae515
UD
45674 * inet/getnetgrent_r.c: Hook up nscd.
45675 * nscd/Makefile (routines): Add nscd_netgroup.
45676 (nscd-modules): Add netgroupcache.
45677 (CFLAGS-netgroupcache.c): Define.
45678 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45679 (cache_search): Add const to second parameter.
45680 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45681 INNETGR.
45682 (dbs): Add netgrdb entry.
45683 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45684 (verify_persistent_db): Handle netgrdb.
45685 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45686 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45687 GETFDNETGR.
45688 (netgroup_response_header): Define.
45689 (innetgroup_response_header): Define.
45690 (datahead): Add netgroup_response_header and innetgroup_response_header
45691 elements.
45692 * nscd/nscd.conf: Add entries for netgroup cache.
45693 * nscd/nscd.h (dbtype): Add netgrdb.
45694 (_PATH_NSCD_NETGROUP_DB): Define.
45695 (netgroup_iov_disabled): Declare.
45696 (xmalloc, xcalloc, xrealloc): Move declarations here.
45697 (cache_search): Adjust prototype.
45698 Add netgroup-related prototypes.
45699 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45700 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45701 (__nscd_innetgr): Declare.
45702 * nscd/selinux.c (perms): Use access_vector_t as element type and
45703 add netgroup-related initializers.
45704 * nscd/netgroupcache.c: New file.
45705 * nscd/nscd_netgroup.c: New file.
45706 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45707 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45708 For four parameters use innetgr.
45709 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45710 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45711 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45712 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45713
21fd49a9
UD
45714 * nscd/connections.c (register_traced_file): Don't register file
45715 for disabled databases.
45716
054c0457
UD
457172011-10-06 Ulrich Drepper <drepper@gmail.com>
45718
32b63198
UD
45719 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45720
054c0457
UD
45721 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45722 from tree and freeing node.
45723
64031225
JO
457242011-09-25 Jiri Olsa <jolsa@redhat.com>
45725
45726 * nss/nsswitch.c (__nss_database_lookup): Handle
45727 nss_parse_service_list out of memory case.
45728
0490345c
JO
457292011-09-15 Jiri Olsa <jolsa@redhat.com>
45730
45731 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45732 out of memory case.
45733
3a62d00d
AS
457342011-10-04 Andreas Schwab <schwab@redhat.com>
45735
45736 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45737 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45738 pass it down.
45739 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45740 elf_machine_rela, elf_machine_lazy_rel.
45741 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45742 (ELF_DYNAMIC_DO_REL): Likewise.
45743 (ELF_DYNAMIC_DO_RELA): Likewise.
45744 (ELF_DYNAMIC_RELOCATE): Likewise.
45745 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45746 to ELF_DYNAMIC_DO_REL.
45747 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45748 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45749 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45750 elf_machine_rela.
45751 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45752 skip_ifunc, don't call ifunc function if non-zero.
45753 (elf_machine_rela): Likewise.
45754 (elf_machine_lazy_rel): Likewise.
45755 (elf_machine_lazy_rela): Likewise.
45756 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45757 (elf_machine_lazy_rel): Likewise.
45758 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45759 Likewise.
45760 (elf_machine_lazy_rel): Likewise.
45761 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45762 Likewise.
45763 (elf_machine_lazy_rel): Likewise.
45764 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45765 (elf_machine_lazy_rel): Likewise.
45766 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45767 (elf_machine_lazy_rel): Likewise.
45768 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45769 (elf_machine_lazy_rel): Likewise.
45770 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45771 (elf_machine_lazy_rel): Likewise.
45772 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45773 (elf_machine_lazy_rel): Likewise.
45774 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45775 (elf_machine_lazy_rel): Likewise.
45776
68577918
UD
457772011-09-28 Ulrich Drepper <drepper@gmail.com>
45778
45779 * nss/nss_files/files-init.c (_nss_files_init): Use static
45780 initialization for all the *_traced_file variables.
45781
68822d74
AS
457822011-09-28 Andreas Schwab <schwab@redhat.com>
45783
45784 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45785
2056100b
RM
457862011-09-27 Roland McGrath <roland@hack.frob.com>
45787
45788 [BZ #13226]
45789 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45790
32c76b63
AS
457912011-09-27 Andreas Schwab <schwab@redhat.com>
45792
45793 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45794 Reread the line before reparsing it.
45795
bf972c9d
AS
457962011-09-26 Andreas Schwab <schwab@redhat.com>
45797
45798 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45799
e057a1b5
JM
458002011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45801 Maxim Kuvyrkov <maxim@codesourcery.com>
45802 Joseph Myers <joseph@codesourcery.com>
45803
45804 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45805 if needed for __stack_chk_guard.
45806
bc7e1c36
RM
458072011-09-19 Roland McGrath <roland@hack.frob.com>
45808
ecb1482f
RM
45809 * sysdeps/posix/spawni.c (script_execute): Always define it.
45810 It will be optimized away if unused.
45811 (maybe_script_execute): New function.
45812 (__spawni): Call it.
45813
bc7e1c36
RM
45814 * Makerules: Don't include tls.make.
45815 (config-tls): Always set to thread.
45816 * tls.make.c: File removed.
45817
1c3b002b
MF
458182011-09-19 Mike Frysinger <vapier@gentoo.org>
45819
45820 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45821 * config.make.in (CPPFLAGS-config): New substituted variable.
45822
2840865d
UD
458232011-09-15 Ulrich Drepper <drepper@gmail.com>
45824
88738eb6
UD
45825 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45826
cbf645a6 45827 [BZ #13192]
2840865d
UD
45828 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45829 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45830
b402e91a
RM
458312011-09-15 Roland McGrath <roland@hack.frob.com>
45832
45833 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45834 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45835 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45836 (CALL_FAIL): Likewise.
45837 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45838 (CALL_FAIL): Macro removed.
45839 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45840
4c1a1f71
UD
458412011-09-15 Ulrich Drepper <drepper@gmail.com>
45842
45843 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45844 for __FINITE_MATH_ONLY__ == 1.
45845
edc121be
AS
458462011-09-15 Andreas Schwab <schwab@redhat.com>
45847
45848 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45849 __ieee754_sqrt instead of sqrt.
45850 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45851 __ieee754_sqrtf instead of sqrtf.
45852 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45853 __floorf instead of floorf.
45854 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45855 __floorf, __truncf instead of floorf, truncf.
45856
cd205654
UD
458572011-09-14 Ulrich Drepper <drepper@gmail.com>
45858
ee4d0315
UD
45859 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45860
cd205654
UD
45861 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45862 __extern_always_inline.
45863 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45864 32-bit.
45865
48b67d71
AS
458662011-09-14 Andreas Schwab <schwab@redhat.com>
45867
45868 * elf/rtld.c (dl_main): Also relocate in dependency order when
45869 doing symbol dependency testing.
45870
1ae12c75
AS
458712011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45872
45873 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45874 Always define `refsym'.
45875
995a80df
AS
458762011-09-13 Andreas Schwab <schwab@redhat.com>
45877
e529793b
AS
45878 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45879 (__FD_ELT): Renamed from __FDELT.
45880 * misc/bits/select2.h (__FD_ELT): Likewise.
45881 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45882 __FD_MASK instead of __FDELT, __FDMASK.
45883 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45884 Likewise.
45885 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45886 Likewise.
45887
52d4fef8
AS
45888 * elf/Makefile (gen-ldd): Fix pattern.
45889
995a80df
AS
45890 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45891 (init_tls): Likewise.
45892
8682f8b0
UD
458932011-09-12 Ulrich Drepper <drepper@gmail.com>
45894
45895 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45896
de82006d
AS
458972011-09-12 Andreas Schwab <schwab@redhat.com>
45898
a7c8e6a1
AS
45899 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45900 `struct cmsghdr *' instead of `void *'.
45901 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45902 Likewise.
45903
0f31fe77
AS
459042011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45905
45906 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45907 if non-absolute.
45908 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45909 ldd_rewrite_script.
0f31fe77 45910
32b4c839
UD
459112011-09-11 Ulrich Drepper <drepper@gmail.com>
45912
83cd1420
UD
45913 * configure.in: Remove --with-tls option.
45914 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45915 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45916 out in case it is missing.
45917 * sysdeps/ia64/elf/configure.in: Likewise.
45918 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45919 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45920 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45921 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45922 * sysdeps/sh/elf/configure.in: Likewise.
45923 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45924 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45925 * sysdeps/x86_64/elf/configure.in: Likewise.
45926 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45927 * sysdeps/mach/hurd/tls.h: Likewise.
45928
633f745d
UD
45929 [BZ #13067]
45930 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45931
f318beb8
UD
45932 [BZ #13090]
45933 * configure.in: Fix use of AC_INIT.
45934
32b4c839
UD
45935 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45936
3ce1f295
UD
459372011-09-10 Ulrich Drepper <drepper@gmail.com>
45938
bb016596
UD
45939 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45940 __set_errno.
8e58439c
UD
45941 * malloc/hooks.c: Likewise.
45942
aebae053 45943 [BZ #11929]
02d46fc4
UD
45944 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45945 variables statically.
45946 (narenas): Initialize.
45947 (list_lock): Initialize.
bb016596
UD
45948 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45949 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
45950 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45951 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45952 Add initializers to main_arena and mp_.
45953 (malloc_state): Remove pagesize member. Change all users to use
45954 GLRO(dl_pagesize).
45955
45956 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45957 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45958 is always initialized.
45959
22a89187
UD
45960 * malloc/malloc.c: Removed unused configurations and dead code.
45961 * malloc/arena.c: Likewise.
45962 * malloc/hooks.c: Likewise.
02d46fc4 45963 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 45964
d063d164
UD
45965 * include/tls.h: Removed. USE___THREAD must always be defined.
45966 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45967 * elf/dl-libc.c: Likewise.
45968 * elf/dl-tsd.c: Likewise.
45969 * include/errno.h: Likewise.
45970 * include/netdb.h: Likewise.
45971 * include/resolv.h: Likewise.
45972 * inet/herrno-loc.c: Likewise.
45973 * inet/herrno.c: Likewise.
45974 * malloc/arena.c: Likewise.
45975 * malloc/hooks.c: Likewise.
45976 * malloc/malloc.c: Likewise.
45977 * resolv/res-state.c: Likewise.
45978 * resolv/res_libc.c: Likewise.
45979 * sysdeps/i386/dl-machine.h: Likewise.
45980 * sysdeps/ia64/dl-machine.h: Likewise.
45981 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45982 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45983 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45984 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45985 * sysdeps/sh/dl-machine.h: Likewise.
45986 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45987 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45988 * sysdeps/unix/i386/sysdep.S: Likewise.
45989 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45990 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45991 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45992 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45993 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45994 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45995 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45996 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45997 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45998 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45999 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46000 * sysdeps/x86_64/dl-machine.h: Likewise.
46001 * tls.make.c: Likewise.
46002
3ce1f295
UD
46003 * configure.in: Remove --with-__thread option. Make tests for
46004 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46005 tls_model attribute fail if no support is available. Remove
46006 USE_IN_LIBIO.
46007 * Makeconfig: Adjust for dropped configure option. All features are
46008 now mandatory.
46009 * Makerules: Likewise.
46010 * Versions.def: Likewise.
46011 * argp/argp-fmtstream.c: Likewise.
46012 * argp/argp-fmtstream.h: Likewise.
46013 * argp/argp-help.c: Likewise.
46014 * assert/assert.c: Likewise.
46015 * config.h.in: Likewise.
46016 * config.make.in: Likewise.
46017 * configure: Likewise.
46018 * configure.in: Likewise.
46019 * csu/Versions: Likewise.
46020 * csu/init.c: Likewise.
46021 * elf/tst-audit2.c: Likewise.
46022 * elf/tst-tls10.c: Likewise.
46023 * elf/tst-tls10.h: Likewise.
46024 * elf/tst-tls11.c: Likewise.
46025 * elf/tst-tls12.c: Likewise.
46026 * elf/tst-tls14.c: Likewise.
46027 * elf/tst-tlsmod11.c: Likewise.
46028 * elf/tst-tlsmod12.c: Likewise.
46029 * elf/tst-tlsmod13.c: Likewise.
46030 * elf/tst-tlsmod13a.c: Likewise.
46031 * elf/tst-tlsmod14a.c: Likewise.
46032 * elf/tst-tlsmod15b.c: Likewise.
46033 * elf/tst-tlsmod16a.c: Likewise.
46034 * elf/tst-tlsmod16b.c: Likewise.
46035 * elf/tst-tlsmod7.c: Likewise.
46036 * elf/tst-tlsmod8.c: Likewise.
46037 * elf/tst-tlsmod9.c: Likewise.
46038 * gmon/gmon.c: Likewise.
46039 * grp/fgetgrent_r.c: Likewise.
46040 * grp/putgrent.c: Likewise.
46041 * hurd/fopenport.c: Likewise.
46042 * include/libc-symbols.h: Likewise.
46043 * include/tls.h: Likewise.
46044 * intl/gettextP.h: Likewise.
46045 * intl/loadinfo.h: Likewise.
46046 * locale/global-locale.c: Likewise.
46047 * locale/localeinfo.h: Likewise.
46048 * mach/devstream.c: Likewise.
46049 * malloc/arena.c: Likewise.
46050 * malloc/set-freeres.c: Likewise.
46051 * misc/err.c: Likewise.
46052 * misc/getttyent.c: Likewise.
46053 * misc/mntent_r.c: Likewise.
46054 * posix/getopt.c: Likewise.
46055 * posix/wordexp.c: Likewise.
46056 * pwd/fgetpwent_r.c: Likewise.
46057 * resolv/Versions: Likewise.
46058 * resolv/res_hconf.c: Likewise.
46059 * shadow/fgetspent_r.c: Likewise.
46060 * shadow/putspent.c: Likewise.
46061 * stdio-common/printf_fphex.c: Likewise.
46062 * stdio-common/tmpfile.c: Likewise.
46063 * stdlib/abort.c: Likewise.
46064 * stdlib/fmtmsg.c: Likewise.
46065 * sunrpc/auth_unix.c: Likewise.
46066 * sunrpc/clnt_perr.c: Likewise.
46067 * sunrpc/clnt_tcp.c: Likewise.
46068 * sunrpc/clnt_udp.c: Likewise.
46069 * sunrpc/clnt_unix.c: Likewise.
46070 * sunrpc/openchild.c: Likewise.
46071 * sunrpc/svc_simple.c: Likewise.
46072 * sunrpc/svc_tcp.c: Likewise.
46073 * sunrpc/svc_udp.c: Likewise.
46074 * sunrpc/svc_unix.c: Likewise.
46075 * sunrpc/xdr.c: Likewise.
46076 * sunrpc/xdr_array.c: Likewise.
46077 * sunrpc/xdr_rec.c: Likewise.
46078 * sunrpc/xdr_ref.c: Likewise.
46079 * sunrpc/xdr_stdio.c: Likewise.
46080
1248c1c4
PB
460812011-09-09 Ulrich Drepper <drepper@gmail.com>
46082
46083 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46084
460852011-07-03 Andreas Jaeger <aj@suse.de>
46086
46087 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46088 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46089 regenerate with gen-libm-tests.pl.
46090
460912010-05-12 Petr Baudis <pasky@suse.cz>
46092
46093 [BZ #11589]
46094 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46095 around j0() zero points by switching to j1().
46096 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46097 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46098 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46099 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46100
f22e1074
UD
461012011-09-09 Ulrich Drepper <drepper@gmail.com>
46102
f19009c1
UD
46103 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46104 instead of 0.
46105 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 46106 instead of 0.
f19009c1
UD
46107 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46108 Patch in part by Pavel Roskin <proski@gnu.org>.
46109
3f8cc204
UD
46110 [BZ #13138]
46111 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46112 realloc.
46113 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46114 Free memory block if necessary.
46115
f22e1074
UD
46116 [BZ #12847]
46117 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46118 be NULL. Don't lock in this case.
46119
0a2349f9
RM
461202011-09-09 Roland McGrath <roland@hack.frob.com>
46121
46122 * elf/elf.h (ELFOSABI_GNU): New macro.
46123 (ELFOSABI_LINUX): Define to that.
46124
f3cdd467
DZ
461252011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46126
46127 * string/strncat.c (strncat): Undef the symbol in case it has been
46128 defined in bits/string.h.
46129
74718d13
UD
461302011-09-09 Ulrich Drepper <drepper@gmail.com>
46131
633e9e0f
UD
46132 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46133
0a2349f9 46134 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
46135 link map.
46136
f9924780
AJ
461372011-08-17 Andreas Jaeger <aj@suse.de>
46138
46139 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46140
7f5517aa
PP
461412011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46142 Ian Lance Taylor <iant@google.com>
46143
46144 * math/libm-test.inc (lround_test): New testcase.
46145 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46146
762011fe
UD
461472011-09-08 Ulrich Drepper <drepper@gmail.com>
46148
92963737
UD
46149 * Makefile: Remove support for automatic cvs check-ins.
46150 * Makerules: Likewise.
46151 * config.make.in: Likewise.
46152 * configure.in: Likewise.
46153 * intl/Makefile: Likewise.
46154 * locale/Makefile: Likewise.
46155 * po/Makefile: Likewise.
46156 * posix/Makefile: Likewise.
46157 * sysdeps/gnu/Makefile: Likewise.
46158 * sysdeps/mach/hurd/Makefile: Likewise.
46159 * sysdeps/sparc/sparc32/Makefile: Likewise.
46160
b0727fd8
JS
46161 [BZ #13118]
46162 * posix/Makefile (bug-regex32-ENV): Define.
46163 Patch by John Stanley <jpsinthemix@verizon.net>.
46164
a0f33f99
UD
46165 * misc/Makefile (headers): Add bits/select2.h.
46166 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46167 * misc/bits/select2.h: New file.
46168 * include/bits/select2.h: New file.
46169 * debug/Makefile (routines): Add fdelt_chk.
46170 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46171 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46172 FD_ISSET.
46173 * debug/fdelt_chk.c: New file.
46174
762011fe
UD
46175 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46176 * wcsmbs/test-wmemcmp.c: Likewise.
46177 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 46178 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
46179
461802011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46181
46182 * string/Makefile (strop-tests): Add memcmp.
46183 * string/test-wmemcmp.c: New file.
46184 * string/test-memcmp.c: Add wmemcmp support.
46185
7f513ec8
RM
461862011-09-08 Roland McGrath <roland@hack.frob.com>
46187
0442afb4
RM
46188 [BZ #13153]
46189 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46190 2011-07-19 change.
46191
7f513ec8
RM
46192 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46193 garbage value in a __mach_port_mod_refs call in the cases of the
46194 task-self and thread-self ports.
46195
a12b2239
ST
461962011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46197
46198 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46199
610f9ab4
AS
462002011-09-08 Andreas Schwab <schwab@redhat.com>
46201
7f513ec8 46202 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 46203
48882a1a
LD
462042011-09-07 Ulrich Drepper <drepper@gmail.com>
46205
b49865be
UD
46206 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46207
fdc86bc9
UD
46208 * elf/dl-libc.c (dlerror_run): Pass back error code from
46209 dl_catch_error.
46210
c966526a
UD
46211 [BZ #13123]
46212 * elf/dl-load.c (lose): Free l_origin if it is valid.
46213
48882a1a
LD
46214 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46215 names.
46216 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46217 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46218 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46219 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46220 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46221 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46222
77a2a8b4
AZ
462232011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46224
46225 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46226 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46227 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46228 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46229 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46230 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46231 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46232 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46233 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46234 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46235
24f579d8
AM
462362011-08-15 Alan Modra <amodra@gmail.com>
46237
46238 [BZ #13092]
46239 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46240 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46241 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46242 ppc_mcount to static-only-routines.
46243 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46244 __mcount_internal.
46245 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46246 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46247
3d4837df
UD
462482011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46249
46250 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46251 for finite and infinity parameters.
46252
22700377
WS
462532011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46254
46255 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46256 and add nop instructions for throughput optimization.
46257 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46258
5025581e
WS
462592011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46260
46261 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46262 aligned copy for power7 with vector-scalar instructions.
46263 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46264
08a300c9
L
462652011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46266
46267 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46268 AVX check.
46269
59178ef9
AS
462702011-09-07 Andreas Schwab <schwab@redhat.com>
46271
46272 [BZ #13144]
46273 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46274 last change.
46275
e38ba7ab
UD
462762011-09-07 Ulrich Drepper <drepper@gmail.com>
46277
46278 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46279 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46280 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46281 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46282 clock_gettime.
46283
d53a73ac
UD
462842011-09-06 Ulrich Drepper <drepper@gmail.com>
46285
fc8bffcc
UD
46286 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46287 Forgot to demangle the pointer.
46288
ceaa0c5d
UD
46289 * sysdeps/i386/sysdep.h: Define atom_text_section.
46290 * sysdeps/x86_64/sysdep.h: Likewise.
46291 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46292 section with atom_text_section.
46293 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46294 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46295 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46296 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46297 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46298
a77d3c17
UD
46299 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46300 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46301 already be defined. Change to take two parameters and don't assign
46302 result to variable. Adjust all users.
46303 Define INTERNAL_GETTIME if not already defined.
46304 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46305 call.
46306 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46307 HAVE_CLOCK_GETTIME_VSYSCALL.
46308 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46309
d53a73ac
UD
46310 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46311 gettimeofday vsyscall, just use time.
46312
a8f84144
AS
463132011-09-06 Andreas Schwab <schwab@redhat.com>
46314
46315 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46316 <errno.h>.
46317
ef606249
UD
463182011-09-06 Ulrich Drepper <drepper@gmail.com>
46319
46320 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46321 syscall on x86-64.
46322 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46323 syscall.
46324 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46325 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46326 syscall if possible.
46327
6585cb60
UD
463282011-09-05 Ulrich Drepper <drepper@gmail.com>
46329
46330 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46331 e_ident. Don't pass to find_mapsXX.
46332 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46333
a5f524e4
LD
463342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46335
46336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46337 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46338 * sysdeps/x86_64/multiarch/strchr.S: Update.
46339 Check bit_slow_BSF bit.
46340 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46341 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46342 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46343
554881ef
UD
463442011-09-05 Ulrich Drepper <drepper@gmail.com>
46345
d96de963
UD
46346 [BZ #13134]
46347 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46348 before glibc 2.15.
46349 (tryshell): Define.
46350 (__spawni): Change last parameter to be flag. Test
46351 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46352 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46353 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46354 * posix/spawni.c: Likewise.
46355 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46356 * posix/spawnp.c: Likewise. Change normal version to use
46357 SPAWN_XFLAGS_USE_PATH.
46358 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46359 SPAWN_XFLAGS_TRY_SHELL.
46360
d48e5868
UD
46361 [BZ #13150]
46362 * posix/glob.h: Remove gcc 1.x support.
46363
554881ef
UD
46364 [BZ #13068]
46365 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46366
693fb948
LD
463672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46368
46369 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46370 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46371 strrchr-sse2-bsf
46372 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46373 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46374 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46375 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46376 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46377 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46378
1b48c537
UD
463792011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46380
49d42c37
UD
46381 * sysdeps/x86_64/wcscmp.S: New file.
46382
1b48c537
UD
46383 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46384 wcscmp-c wcscmp-sse2
46385 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46386 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46387 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46388 * wcsmbs/wcscmp.c: Allow renaming.
46389
15c95c5d
DM
463902011-09-05 David S. Miller <davem@davemloft.net>
46391
46392 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46393 stack slot, rather than the struct return pointer slot.
46394 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46395 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46397 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46398
2f0ad8f3
UD
463992011-09-05 Ulrich Drepper <drepper@gmail.com>
46400
d88ae418
UD
46401 * po/ja.po: Update from translation team.
46402
2f0ad8f3
UD
46403 [BZ #13144]
46404 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46405 kernel in 64-bit binaries.
46406
5f4318d1
DM
464072011-09-01 David S. Miller <davem@davemloft.net>
46408
46409 * elf/elf.h (HWCAP_SPARC_*): Move to..
46410 * sysdeps/sparc/sysdep.h: this new file and add new values.
46411 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46412 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46413 _DL_HWCAP_COUNT to 24.
46414 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46415 entries.
46416 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46417 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46418 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46419 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46420 instead of magic constants.
46421 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46422
3ba57516
DM
464232011-08-31 David S. Miller <davem@davemloft.net>
46424
46425 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46426 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46427 Reimplement to do errno handling inline.
46428 (SYSCALL_ERROR_HANDLER): New macro.
46429 (__SYSCALL_STRING): Do not do errno handling in asm.
46430 (__CLONE_SYSCALL_STRING): Delete.
46431 (__INTERNAL_SYSCALL_STRING): Delete.
46432 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46433 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46434 (PSEUDO): Reimplement to do errno handling inline.
46435 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46436 (SYSCALL_ERROR_HANDLER): New macro.
46437 (__SYSCALL_STRING): Do not do errno handling in asm.
46438 (__CLONE_SYSCALL_STRING): Delete.
46439 (__INTERNAL_SYSCALL_STRING): Delete.
46440 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46441 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46442 i386.
46443 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46444 (inline_syscall*): Add 'err' argument.
46445 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46446 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46447 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46448 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46449
46450 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46451 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46452
2bc17433
AS
464532011-08-30 Andreas Schwab <schwab@redhat.com>
46454
46455 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46456
fbeb5f4d
JO
464572011-08-29 Jiri Olsa <jolsa@redhat.com>
46458
46459 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46460 directive.
46461
ad69cc26
DM
464622011-08-24 David S. Miller <davem@davemloft.net>
46463
46464 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46465
39dd69df
AS
464662011-08-24 Andreas Schwab <schwab@redhat.com>
46467
46468 * elf/Makefile: Add rules to build and run unload8 test.
46469 * elf/unload8.c: New file.
46470 * elf/unload8mod1.c: New file.
46471 * elf/unload8mod1x.c: New file.
46472 * elf/unload8mod2.c: New file.
46473 * elf/unload8mod3.c: New file.
46474
46475 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46476 it wasn't used.
46477
2c0b250a
DM
464782011-08-23 David S. Miller <davem@davemloft.net>
46479
46480 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46481 subtract stack bias.
46482 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46483 %sp not %fp in calculations.
46484 (_JMPBUF_UNWINDS_ADJ): Likewise.
46485
22044b48
DM
46486 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46487 (aio_suspend): Call it to force an exception region around the
46488 AIO_MISC_WAIT() invocation.
46489
2cae4995
AS
464902011-08-23 Andreas Schwab <schwab@redhat.com>
46491
46492 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46493 backslash.
46494
873a772e
AJ
464952011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46496
46497 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46498 protection macro.
46499 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46500 and <dl-machine.h>.
46501 (Elf64_FuncDesc): Remove.
46502
25ad0df1
DM
465032011-08-22 David S. Miller <davem@davemloft.net>
46504
46505 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46506 sigaltstack check, add missing cfi directives.
46507 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46508 missing cfi directives, and sigaltstack handling.
46509
e888bcbe
AS
465102011-08-16 Andreas Schwab <schwab@redhat.com>
46511
46512 [BZ #11724]
46513 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46514 object is seen twice.
46515 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46516
46517 * elf/Makefile (distribute): Add tst-initorder2.c.
46518 (tests): Add tst-initorder2.
46519 (modules-names): Add tst-initorder2a tst-initorder2b
46520 tst-initorder2c tst-initorder2d. Add rules to build them.
46521 ($(objpfx)tst-initorder2.out): New rule.
46522 * elf/tst-initorder2.c: New file.
46523 * elf/tst-initorder2.exp: New file.
46524
87162f46
AS
465252011-08-22 Andreas Schwab <schwab@redhat.com>
46526
70538b7f
AS
46527 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46528
f55ffe58
AS
46529 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46530 dependencies back to end of function.
46531
87162f46
AS
46532 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46533 $(elfobjdir)/ld.so.
46534
91b392a4
UD
465352011-08-21 Ulrich Drepper <drepper@gmail.com>
46536
46537 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46538 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46539 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46540 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46541 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46542 of __vdso_gettimeofday.
46543 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46544 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46545 attribute_hidden.
46546 (_libc_vdso_platform_setup): Remove initialization of
46547 __vdso_gettimeofday and __vdso_time.
46548
5c43483f
UD
465492011-08-20 Ulrich Drepper <drepper@gmail.com>
46550
775a77e7
UD
46551 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46552 and fgetc_unlocked.
46553 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46554 getc_unlocked.
89f447ed 46555
49c74ba9
UD
46556 * elf/dl-open.c (add_to_global): Report additions to the global scope
46557 for LD_DEBUG=scopes.
46558 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 46559 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 46560
5c43483f
UD
46561 [BZ #13114]
46562 * stdio-common/Makefile (tests): Add bug24.
46563 * stdio-common/bug24.c: New file.
46564
a101b025
AJ
465652011-08-19 Andreas Jaeger <aj@suse.de>
46566
46567 [BZ #13114]
46568 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46569 non-existant file when using close-on-exec mode.
46570
c88f1766
UD
465712011-08-20 Ulrich Drepper <drepper@gmail.com>
46572
0276a718
UD
46573 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46574 the very first instruction.
46575
c88f1766
UD
46576 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46577 the CFI state in the end.
46578 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46579 inclusion of dl-trampoline.h.
46580 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46581
51ccffa0
AS
465822011-08-19 Andreas Schwab <schwab@redhat.com>
46583
94d7165f
AS
46584 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46585 expectations for long double.
46586
51ccffa0
AS
46587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46588 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46589
fd708658 465902011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
46591
46592 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46593 artificual limit depends upon the system page size.
46594
44f0a71e
UD
465952011-08-17 Ulrich Drepper <drepper@gmail.com>
46596
46597 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46598 * resolv/Makefile: Define CFLAGS-libresolv.
46599
8de79a24
AS
466002011-08-17 Andreas Schwab <schwab@redhat.com>
46601
46602 * nss/makedb.c (compute_tables): Make variables used in nested
46603 function static.
46604
27724598
UD
466052011-08-17 Ulrich Drepper <drepper@gmail.com>
46606
c5305d88
UD
46607 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46608 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46609 if buffer was too small.
46610
27724598
UD
46611 * elf/pldd.c (main): Attach to all threads in the process.
46612 Rewrite /proc handling to use *at functions.
46613
076fe015
UD
466142011-08-16 Ulrich Drepper <drepper@gmail.com>
46615
174baab3
UD
46616 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46617 specifies first scope to show.
46618 (dl_open_worker): Update callers. Move printing scope of new
46619 object to before the relocation.
44f0a71e 46620 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
46621 * sysdeps/generic/ldsodefs.h: Update declaration.
46622
076fe015
UD
46623 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46624 string for the scope number.
46625
a60df2c3
UD
466262011-08-14 Ulrich Drepper <drepper@gmail.com>
46627
46628 * nscd/servicescache.c (cache_addserv): Make sure written is always
46629 initialized.
46630
5e4287d1
RM
466312011-08-14 Roland McGrath <roland@hack.frob.com>
46632
85ae0589
RM
46633 * sysdeps/i386/i486/bits/atomic.h
46634 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46635 statement expression, so as to suppress "set but not used" warning.
46636 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46637
69f63097
RM
46638 * string/strncat.c (STRNCAT): Use prototype definition.
46639
675456ef
RM
46640 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46641 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46642 -Iprograms here.
46643 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46644 (localedef-modules): Add localedef.
46645 (locale-modules): Add locale.
46646
5e4287d1
RM
46647 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46648 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46649 to avoid a warning.
46650
9c96ff23
DM
466512011-08-14 David S. Miller <davem@davemloft.net>
46652
46653 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46654 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46655
f9ddf089
UD
466562011-08-13 Ulrich Drepper <drepper@gmail.com>
46657
44f0a71e 46658 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
46659 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46660 * elf/rtld.c (dl_main): Set l_name of vDSO.
46661 Call _dl_show_scope when DL_DEBUG_SCOPES.
46662 (process_dl_debug): Recognize scopes flag and also set it for all.
46663 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46664 Declare _dl_show_scope.
46665
1dc27704
UD
46666 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46667 (do_dlopen): Pass caller_dlopen to dl_open.
46668 (__libc_dlopen_mode): Initialize caller_dlopen.
46669
f9ddf089
UD
46670 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46671 of libc. Make tolower call locale-independent. Optimize a bit by
46672 using isdigit instead of isalnum.
46673 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46674
9ac533d3
UD
466752011-08-12 Ulrich Drepper <drepper@gmail.com>
46676
46677 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46678 was a dependency or dynamically loaded.
46679
89edf2e9
UD
466802011-08-11 Ulrich Drepper <drepper@gmail.com>
46681
8e999d29
UD
46682 * intl/l10nflist.c: Allow architecture-specific pop function.
46683 * sysdeps/x86_64/l10nflist.c: New file.
46684
89edf2e9
UD
46685 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46686 classification.
46687
14d96785
AS
466882011-08-10 Andreas Schwab <schwab@redhat.com>
46689
46690 * include/dirent.h: Add libc_hidden_proto for scandirat and
46691 scandirat64. Don't declare __scandirat64.
46692 * dirent/scandirat.c: Add libc_hidden_def.
46693 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46694 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46695
6761ac04
DM
466962011-08-10 David S. Miller <davem@davemloft.net>
46697
46698 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46699 enum.
46700 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46701 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46702 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46703
c55fbd1e
UD
467042011-08-09 Ulrich Drepper <drepper@gmail.com>
46705
46706 * Versions.def [libc]: Add GLIBC_2.15.
46707 * dirent/Makefile (routines): Add scandirat and scandirat64.
46708 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46709 GLIBC_2.15.
46710 * dirent/dirent.h: Declare scandirat and scandirat64.
46711 * dirent/scandirat.c: New file.
46712 * dirent/scandirat64.c: New file.
46713 * sysdeps/wordsize-64/scandirat.c: New file.
46714 * sysdeps/wordsize-64/scandirat64.c: New file.
46715 * dirent/opendir.c: Define opendirat.
46716 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46717 using scandirat.
46718 * dirent/scandir64.c: Adjust for scandir.c change.
46719 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46720 __scandirat64, and __scandir_cancel_handler.
46721 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46722 additional parameter and use openat instead of open (outside of ld.so).
46723 Add new __opendir as wrapper around __opendirat.
46724 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46725 here without requiring old scandirat implementation.
46726
879165f2
UD
467272011-08-08 Ulrich Drepper <drepper@gmail.com>
46728
46729 * dirent/scandir.c (cancel_handler): Renamed to
46730 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46731 defined. Adjust users.
46732 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46733 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46734
cb7e923b
UD
467352011-08-04 Ulrich Drepper <drepper@gmail.com>
46736
16292edd
UD
46737 * string/test-string.h (IMPL): Use __STRING to expand name and then
46738 stringify it.
46739
cb7e923b
UD
46740 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46741 of cleanups.
46742
cff82933
LD
467432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46744
46745 * string/Makefile: Update.
46746 (strop-tests): Append strncat.
46747 * string/test-wcscmp.c: New file.
46748 New comprehensive test for wcscmp.
46749 * string/test-strcmp.c: Update.
46750 (WIDE): New define.
46751
9be9bfcc
AS
467522011-07-22 Andreas Schwab <schwab@redhat.com>
46753
46754 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46755 line.
46756
2e96f1c7
AS
467572011-07-26 Andreas Schwab <schwab@redhat.com>
46758
46759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46760 encoding to ACE if AI_IDN.
46761
85188888
JJ
467622011-08-01 Jakub Jelinek <jakub@redhat.com>
46763
46764 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46765 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46766
5fa16e9b
LD
467672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46768
46769 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46770 Fix overflow bug in strncat.
46771 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46772
46773 * string/test-strncat.c: Update.
46774 Add new tests for checking overflow bugs.
46775
467762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46777
46778 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46779 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46780 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46781 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46782 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46783 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46784 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46785 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46786 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46787
46788 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46789 (USE_AS_STRCAT): Define.
46790 Add strcat and strncat support.
46791 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46792
8c1a459f
AS
467932011-07-25 Andreas Schwab <schwab@redhat.com>
46794
46795 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46796 __n bigger than INT_MAX+1.
46797 (__strncmp_g): Likewise.
46798
bba33c28
UD
467992011-07-23 Ulrich Drepper <drepper@gmail.com>
46800
798be72d
UD
46801 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46802 * libio/stido.h: Likewise.
46803
8accd4dc
UD
46804 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46805 (AF_NFC): Define.
46806 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46807 (AF_NFC): Define.
46808
cbff0d96
UD
46809 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46810 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46811 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46812 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46813 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46814
9191c04a
UD
46815 [BZ #13021]
46816 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46817 installed.
46818
bba33c28
UD
46819 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46820 typo.
46821 (_dl_x86_64_save_sse): Likewise.
46822
90f139dd
UD
468232011-07-22 Ulrich Drepper <drepper@gmail.com>
46824
1aae088a
UD
46825 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46826 OSXSAVE.
46827 (_dl_x86_64_save_sse): Likewise.
46828
8e2045f5
UD
46829 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46830
90f139dd
UD
46831 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46832
1d002f25
AS
468332011-07-21 Andreas Schwab <schwab@redhat.com>
46834
46835 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46836 change.
46837 (_dl_x86_64_save_sse): Use correct AVX check.
46838
21137f89
UD
468392011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46840
46841 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46842 bug in strncpy/strncat.
46843 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46844
a65c0b7a
UD
468452011-07-21 Ulrich Drepper <drepper@gmail.com>
46846
46847 * string/tester.c (test_strcat): Add tests for different alignments
46848 of source and destination.
46849 (test_strncat): Likewise.
46850
6986b98a
UD
468512011-07-20 Ulrich Drepper <drepper@gmail.com>
46852
90bb2039
UD
46853 [BZ #12852]
46854 * posix/glob.c (glob): Check passed in values before using them in
46855 expressions to avoid some overflows.
46856 (glob_in_dir): Likewise.
46857
5644ef54
UD
46858 [BZ #13007]
46859 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46860 check for AVX enablement so that we don't crash with old kernels and
46861 new hardware.
46862 * elf/tst-audit4.c: Add same checks here.
46863 * elf/tst-audit6.c: Likewise.
46864
46865 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 46866
bfc9dc9b
AS
468672011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46868
46869 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46870
702e64bb
UD
468712011-07-20 Ulrich Drepper <drepper@gmail.com>
46872
46873 * po/cs.po: Update from translation team.
46874 * po/bg.po: Likewise.
46875
295e904f
MP
468762011-07-12 Marek Polacek <mpolacek@redhat.com>
46877
46878 * misc/sys/cdefs.h: Add support for const attribute.
46879 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46880 to gnu_dev_{major,minor,makedev} functions.
46881
3ff94596
MP
468822011-07-20 Marek Polacek <mpolacek@redhat.com>
46883
46884 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46885
28b59fca
AS
468862011-07-20 Andreas Schwab <schwab@redhat.com>
46887
46888 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46889 strlen results.
46890
19df733e
AK
468912011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46892
46893 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46894 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46895 register in order to avoid conflicts with the soft frame pointer
46896 being held in r11 when necessary.
46897 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46898 (INTERNAL_VSYSCALL_NCS): Likewise.
46899
c8835729
MP
469002011-07-14 Marek Polacek <mpolacek@redhat.com>
46901
46902 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46903 * elf/dl-fini.c (_dl_fini): Adjust caller.
46904 * elf/dl-close.c (_dl_close_worker): Likewise.
46905 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46906
b902330c
MP
469072011-07-15 Marek Polacek <mpolacek@redhat.com>
46908
8991e135
MP
46909 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46910 "aux_cache->nlibs < 0".
46911
b902330c
MP
46912 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46913 in the reload-count case.
46914
99710781
LD
469152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46916
46917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46918 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46919 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46920 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46921 * sysdeps/x86_64/multiarch/strcat.S: New file.
46922 * sysdeps/x86_64/multiarch/strncat.S: New file.
46923 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46924 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46925 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46926 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46927 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46928 (USE_AS_STRCAT): Define.
46929 Add strcat and strncat support.
46930 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46931 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46932 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46933 * string/strncat.c: Update.
46934 (USE_AS_STRNCAT): Define.
46935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46936 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46937 and i7.
46938 * sysdeps/x86_64/multiarch/init-arch.h
46939 (bit_Prefer_PMINUB_for_stringop): New.
46940 (index_Prefer_PMINUB_for_stringop): Likewise.
46941 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46942 bit_Prefer_PMINUB_for_stringop.
46943
7dc6bd90
UD
469442011-07-19 Ulrich Drepper <drepper@gmail.com>
46945
46946 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46947 buffer64.
46948 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46949 of casting of buffer.
46950 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46951 buffer32 and buffer64.
46952 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46953 writes instead of casting of buffer.
46954 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46955 buffer32.
46956 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46957 casting of buffer.
46958
e0e72284
AS
469592011-07-19 Andreas Schwab <schwab@redhat.com>
46960
46961 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46962
feb1eb0b
UD
469632011-07-19 Ulrich Drepper <drepper@gmail.com>
46964
46965 * nscd/nscd.c (termination_handler): Don't do anything for a database
46966 if it has not yet been initialized.
46967
298711ff
UD
469682011-07-18 Ulrich Drepper <drepper@gmail.com>
46969
46970 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46971
469722011-07-15 Marek Polacek <mpolacek@redhat.com>
46973
46974 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46975
f9d68389
UD
469762011-07-18 Ulrich Drepper <drepper@gmail.com>
46977
46978 * po/nl.po: Update from translation team.
46979 * po/sv.po: Likewise.
46980
db290cf5
RM
469812011-07-16 Roland McGrath <roland@hack.frob.com>
46982
46983 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46984 now disallowed by GCC.
5c550700 46985
fd5e21c7
RM
46986 * configure.in (use-default-link): Default to yes if a test -shared
46987 link meets our qualifications.
46988 * configure: Regenerated.
46989
5c550700
RM
46990 * config.make.in (output-format): New variable.
46991 * configure.in: Check for ld --print-output-format support.
46992 * configure: Regenerated.
46993 * Makerules ($(common-objpfx)format.lds)
46994 [$(output-format) != unknown]: Just use $(output-format),
46995 instead of the linker-script munging.
46996
9fa2c032
RM
469972011-07-14 Roland McGrath <roland@hack.frob.com>
46998
a6928d51
RM
46999 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47000 of $(common-objpfx)shlib.lds.
47001 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47002
661607b3
RM
47003 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47004 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47005
9fa2c032
RM
47006 * configure.in (-z relro check): Adjust test code to add a large
47007 writable data section after it.
47008 * configure: Regenerated.
47009
defe9061
RM
470102011-07-11 Roland McGrath <roland@hack.frob.com>
47011
47012 * configure.in (-z relro check): Fix test code to make the variable
47013 truly const.
47014 * configure: Regenerated.
47015
319b9ad4
UD
470162011-07-11 Ulrich Drepper <drepper@gmail.com>
47017
47018 * nscd/nscd.h (struct traced_file): Define.
47019 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47020 elements. Add traced_files.
47021 (inotify_fd): Declare.
47022 (register_traced_file): Declare.
47023 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47024 (inotify_fd): Export.
47025 (resolv_conf_descr): Remove.
47026 (nscd_init): Move inotify descriptor creation to main.
47027 Don't register files for notification here.
47028 (register_traced_file): New function.
47029 (invalidate_cache): Don't use reset_res to determine whether to call
47030 res_init, go through the list of registered files.
47031 (main_loop_poll): The inotify descriptors are now stored in the
47032 structures for the traced files.
47033 (main_loop_epoll): Likewise
47034 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47035 to __nss_disable_nscd.
47036 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47037 for a database anymore. Check the records for all the registered
47038 files instead.
47039 * nss/Makefile (libnss_files-routines): Add files-init.
47040 (libnss_db-routines): Add db-init.
47041 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47042 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47043 * nss/nss_db/db-init.c: New file.
47044 * nss/nss_files/files-init.c: New file.
47045 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47046 __nss_lookup_function.
47047 (__nss_lookup_function): Call nss_load_library.
47048 (nss_load_all_libraries): New function.
47049 (__nss_disable_nscd): Take parameter with callback function for files
47050 to register. Set is_nscd. Load all the DSOs for the NSS modules
47051 used for the cached services.
47052 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47053 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47054 options for features to all the files in nscd.
47055
47056 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47057
23bee3e8
RM
470582011-07-10 Roland McGrath <roland@hack.frob.com>
47059
47060 * csu/elf-init.c (__libc_csu_init): Comment typo.
47061
46a5b7f0
UD
470622011-07-09 Ulrich Drepper <drepper@gmail.com>
47063
47064 * po/pl.po: Update from translation team.
47065 * po/ja.po: Likewise.
47066 * po/ru.po: Likewise.
47067 * po/ko.po: Likewise.
47068 * po/fr.po: Likewise.
47069
d30cf5bb
RM
470702011-07-09 Roland McGrath <roland@hack.frob.com>
47071
113ddea4
RM
47072 * configure.in (.ctors/.dtors header and trailer check):
47073 Use an empirical test on a built program.
47074 * configure: Regenerated.
47075
574920b4
RM
47076 * configure.in (-z relro check): Use an empirical test on a built DSO.
47077 Detect, but do not require, on ia64.
47078 * configure: Regenerated.
47079
d30cf5bb
RM
47080 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47081 Update tests that use readelf to use $READELF instead.
47082 * configure: Regenerated.
47083
8538fdb3
UD
470842011-07-08 Ulrich Drepper <drepper@gmail.com>
47085
47086 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47087 if the result is not used.
47088
04d08991
AJ
470892011-07-05 Andreas Jaeger <aj@suse.de>
47090
47091 [BZ#9696]
47092 * stdlib/tst-strtod.c: Add testcase.
47093
de283087
AD
470942011-07-07 Ulrich Drepper <drepper@gmail.com>
47095
4e5f31c8 47096 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 47097 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
47098 The latter has a higher limit. Take additional parameter to pass to
47099 the new function.
47100 (__pathconf): Pass file to __statfs_link_max.
47101 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47102 __statfs_link_max.
47103 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47104 __statfs_link_max.
47105
de283087
AD
47106 [BZ #12868]
47107 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47108 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47109 Handle Lustre.
47110 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47111 (__statfs_filesize_max): Likewise.
47112 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47113
c75fa153
AJ
471142011-07-05 Andreas Jaeger <aj@suse.de>
47115
47116 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47117
1a544854
UD
471182011-07-06 Marek Polacek <mpolacek@redhat.com>
47119
47120 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47121 `status' variable.
47122 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47123 Likewise.
47124
6f0eec67
UD
471252011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47126
47127 * Makefile (strop-tests): Add strncat.
47128 * string/test-strncat.c: New file.
47129
aae30307
UD
471302011-06-30 Marek Polacek <mpolacek@redhat.com>
47131
47132 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47133
c0cfb5eb
UD
471342011-06-21 Andreas Jaeger <aj@suse.de>
47135
47136 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47137 Copy rule from iconvdata/Makefile.
47138
01636b21
UD
471392011-07-06 Ulrich Drepper <drepper@gmail.com>
47140
47141 [BZ #12922]
47142 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47143 but no long options are defined, just return 'W'.
47144
9895c8bc
UD
471452011-06-22 Marek Polacek <mpolacek@redhat.com>
47146
47147 [BZ #9696]
47148 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47149
5d4cf042
UD
471502011-07-06 Ulrich Drepper <drepper@gmail.com>
47151
47152 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47153 netgroups to read.
960e5535 47154 (innetgr): Likewise.
5d4cf042 47155
751eb97e
RM
471562011-07-05 Roland McGrath <roland@hack.frob.com>
47157
47158 * config.make.in (install_root): Default to $(DESTDIR).
47159
f15f1e45
UD
471602011-07-05 Ulrich Drepper <drepper@gmail.com>
47161
47162 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47163
4e34ac6a
RM
471642011-07-02 Roland McGrath <roland@hack.frob.com>
47165
5e9b6af4
RM
47166 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47167
84f9ea0f
RM
47168 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47169 containing directory rather than embedding absolute directory names.
47170
ea5ee9f7
RM
47171 * scripts/check-local-headers.sh: Rewritten using awk.
47172 Match by word, not by line. Print error messages for matches.
47173 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47174
1b74661a
RM
47175 * Makerules [shlib-lds-flags empty]:
47176 ($(common-objpfx)libc_pic.opts): New target.
47177 ($(common-objpfx)libc_pic.os.clean): New target.
47178 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47179
47180 * config.make.in (OBJCOPY): New variable.
47181 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47182 * configure: Regenerated.
47183
f781ef40
RM
47184 * config.make.in (use-default-link): New variable.
47185 * configure.in (use_default_link): Grok --with-default-link to set it.
47186 * configure: Regenerated.
47187 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47188 (shlib-lds, shlib-lds-flags): Define to empty.
47189
2d4fa81e
RM
47190 * Makerules (shlib-lds): New variable.
47191 (shlib-lds-flags): New variable.
47192 (build-shlib, build-moduile, build-module-asneeded): Use it.
47193 ($(common-objpfx)libc.so): Use $(shlib-lds).
47194 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47195 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47196
31fffa6b
RM
47197 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47198 DT_FLAGS/DT_FLAGS_1 with zero flags.
47199
4e34ac6a
RM
47200 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47201 linker script munging.
47202
fcfc776b
UD
472032011-07-02 Ulrich Drepper <drepper@gmail.com>
47204
47205 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47206 as 128-bit value.
47207 * crypt/sha512.c (sha512_process_block): Perform total addition using
47208 128-bit if possible.
47209 (__sha512_finish_ctx): Likewise.
47210 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47211 as 64-bit value.
47212 * crypt/sha256.c (SWAP64): Define.
47213 (sha256_process_block): Perform total addition using 64-bit if
47214 possible.
47215 (__sha256_finish_ctx): Likewise.
47216
99231d9a
UD
472172011-07-01 Ulrich Drepper <drepper@gmail.com>
47218
47219 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47220 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47221 * nscd/hstcache.c (cache_addhst): Likewise.
47222 * nscd/grpcache.c (cache_addgr): Likewise.
47223 * nscd/aicache.c (addhstaiX): Likewise
47224 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47225
445b4a53
TK
472262011-07-01 Thorsten Kukuk <kukuk@suse.de>
47227
47228 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47229 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47230 * nscd/hstcache.c (cache_addhst): Likewise.
47231 * nscd/grpcache.c (cache_addgr): Likewise.
47232 * nscd/aicache.c (addhstaiX): Likewise
47233
6d4d8e8e
AS
472342011-07-01 Andreas Schwab <schwab@redhat.com>
47235
47236 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47237 domain only when needed.
47238
89f654c5
AS
472392011-06-30 Andreas Schwab <schwab@redhat.com>
47240
47241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47242 is always restored.
47243
cf3b23ff
UD
472442011-06-29 Ulrich Drepper <drepper@gmail.com>
47245
47246 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47247 are re-adding the entry.
47248 * nscd/servicescache.c (cache_addserv): Likewise.
47249
751626f9
AJ
472502011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47251
47252 * sysdeps/generic/dl-irel.h: fix protection against multiple
47253 inclusions.
47254 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47255
9113ea1f
UD
472562011-06-28 Ulrich Drepper <drepper@gmail.com>
47257
5c0b8d90
UD
47258 [BZ #12935]
47259 * malloc/memusage.sh: Fix quoting in message.
47260 * debug/xtrace.sh: Likewise.
47261
9113ea1f
UD
47262 * configure.in: Remove support for --experimental-malloc option, make
47263 it the default.
47264 * config.make.in: Likewise.
47265 * malloc/Makefile: Likewise.
47266
a4172181
AS
472672011-06-27 Andreas Schwab <schwab@redhat.com>
47268
47269 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47270 two-byte characters.
47271
78a7eee7
RM
472722011-06-27 Roland McGrath <roland@hack.frob.com>
47273
62bede13
RM
47274 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47275 AC_CACHE_CHECK invocation.
47276 * configure: Regenerated.
47277
78a7eee7
RM
47278 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47279
5ce33a62
UD
472802011-06-27 Ulrich Drepper <drepper@gmail.com>
47281
034807a9
UD
47282 [BZ #12350]
47283 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47284 bit from old_res_options.
47285
4902da17
UD
47286 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47287
5ce33a62
UD
47288 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47289 value type for setfct.
47290
c2344f56
L
472912011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47292
47293 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47294 __gettimeofday instead of gettimeofday.
47295
68468076
UD
472962011-06-26 Ulrich Drepper <drepper@gmail.com>
47297
47298 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47299
acb0d739
L
473002011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47301
47302 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47303
47304 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47305 info.
47306
8912479f
L
473072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47308
47309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47310 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47311 strcpy-sse2-unaligned strncpy-sse2-unaligned
47312 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47313 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47314 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47315 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47316 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47317 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47318 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47319 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47320 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47321 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47322 (STRCPY): Support SSE2 and SSSE3 versions.
47323
d5495a11
UD
473242011-06-24 Ulrich Drepper <drepper@gmail.com>
47325
47326 [BZ #12874]
47327 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47328 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47329 kernels which artificially limit size of requests.
47330
0b1cbaae
L
473312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47332
47333 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47334 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47335 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47336 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47337 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47338 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47339 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47340 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47341 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47342 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47343 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47344 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47345 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47346 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47347 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47349 Enable unaligned load optimization for Intel Core i3, i5 and i7
47350 processors.
47351 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47352 Define.
47353 (index_Fast_Unaligned_Load): Define.
47354 (HAS_FAST_UNALIGNED_LOAD): Define.
47355
07f494a0
MP
473562011-06-23 Marek Polacek <mpolacek@redhat.com>
47357
47358 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47359
fa3fc0fe
UD
473602011-06-22 Ulrich Drepper <drepper@gmail.com>
47361
47362 [BZ #12907]
47363 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47364 until it is clear that the information is realy needed.
47365 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47366
e12df166
AS
473672011-06-22 Andreas Schwab <schwab@redhat.com>
47368
47369 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47370
852eb34d
UD
473712011-06-22 Ulrich Drepper <drepper@gmail.com>
47372
84e2a551
UD
47373 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47374 /sys/devices/system/cpu/online if it is usable.
47375
852eb34d
UD
47376 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47377 reading the information from the /proc filesystem to once a second.
47378
6e502e19
UD
473792011-06-21 Andreas Jaeger <aj@suse.de>
47380
47381 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47382 NULL after inclusion of kernel headers.
47383
75d39ff2
UD
473842011-06-21 Ulrich Drepper <drepper@gmail.com>
47385
51f9aa6a
UD
47386 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47387 calls to internal_setent.
47388
c0244a9d
UD
47389 [BZ #12885]
47390 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47391 addresses using gethostbyname4_r ignore IPv4 addresses.
47392
c5e3c2ae
UD
47393 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47394 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47395
75d39ff2
UD
47396 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47397
42675c6f
DM
473982011-06-20 David S. Miller <davem@davemloft.net>
47399
47400 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47401 inclusions.
47402 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47403
47404 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47405 (elf_irel): Use it.
47406 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47407 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47408 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47409 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47410 * sysdeps/x86_64/dl-irel.h: Likewise.
47411
47412 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47413 * elf/dl-sym.c: Likewise.
47414
57912a71
UD
474152011-06-15 Ulrich Drepper <drepper@gmail.com>
47416
47417 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47418 need to dereference resplen2.
47419
ee22793d
AS
474202011-06-14 Andreas Schwab <schwab@redhat.com>
47421
47422 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47423
a9e836b0
UD
474242011-06-15 Ulrich Drepper <drepper@gmail.com>
47425
77fb9117
UD
47426 * Makeconfig: Define vardbdir and inst_vardbdir.
47427 * nss/Makefile: Add rules to install db-Makefile.
47428
40c1b22c
UD
47429 * nss/nss_db/db-XXX.c: Cleanup.
47430
9f2da732
UD
47431 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47432 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47433 GLIBC_PRIVATE.
47434 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47435 * nss/makedb.c: Implement -g option to specify that value strings
47436 are generated and should not be added to table iterated over for
47437 get*ent calls.
47438 * nss/nss_db/db-initgroups.c: New file.
47439
82e9a1f7
UD
47440 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47441 interface.
47442
c41af17e
UD
47443 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47444 (internal_getgrouplist): Adjust to name change.
47445 Update use_initgroups_entry if this is not the first call.
47446 * nss/databases.def: Add initgroups entry.
47447
a9e836b0
UD
47448 * nss/makedb.c (compute_tables): Check result of multiple hash table
47449 sizes to minimize maximum chain length.
47450
2666d441
UD
474512011-06-14 Ulrich Drepper <drepper@gmail.com>
47452
47453 * Versions.def: Add entry for libnss_db.
47454 * shlib-versions: Likewise.
47455 * nss/Makefile: Add rules to build libnss_db.
47456 * nss/Versions: Add libnss_db information. Organize libnss_files
47457 entries better.
47458 * nss/db-Makefile: Add gshadow support. Change rules for the new
47459 makedb progra. Some minor improvements to generate smaller files.
47460 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47461 here from...
47462 * nss/makedb.c: ...here.
47463 Improve database format to be smaller and require less memory at
47464 runtime.
47465 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47466 db anymore.
47467 * nss/nss_db/db-netgrp.c: Likewise.
47468 * nss/nss_db/db-open.c: Likewise.
47469 * nss/nss_files/flies-XXX.x: Adjust comments.
47470 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47471 * nss/nss_files/files-grp.c: Likewise.
47472 * nss/nss_files/files-hosts.c: Likewise.
47473 * nss/nss_files/files-network.c: Likewise.
47474 * nss/nss_files/files-proto.c: Likewise.
47475 * nss/nss_files/files-pwd.c: Likewise.
47476 * nss/nss_files/files-rpc.c: Likewise.
47477 * nss/nss_files/files-service.c: Likewise.
47478 * nss/nss_files/files-sgrp.c: Likewise.
47479 * nss/nss_files/files-spwd.c: Likewise.
47480 * nss/nss_db/db-alias.c: Removed.
47481 * nss/nss_db/dummy-db.h: Removed.
47482
9ee76b5a
UD
474832011-06-02 Ulrich Drepper <drepper@gmail.com>
47484
47485 * nss/makedb.c: Rewritten to not use database library.
47486 * nss/Makefile: Update to build new makedb program.
47487
c71ca1f8
AJ
474882011-06-14 Andreas Jaeger <aj@suse.de>
47489
47490 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47491 memset declaration.
47492
3154bfb8
UD
474932011-06-10 Andreas Schwab <schwab@redhat.com>
47494
47495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47496 tmpbuf.
47497
b350afab
RM
474982011-06-10 Roland McGrath <roland@hack.frob.com>
47499
decd4e50
RM
47500 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47501 * elf/Makefile ($(objpfx)ld.so): Likewise.
47502
5615eaf2
RM
47503 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47504 Don't list ld.so twice in dependencies.
47505
47506 * posix/bug-regex31.c: Include <stdlib.h>.
47507
47508 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47509
47510 * nis/nss_compat/compat-spwd.c
47511 (getspent_next_nss_netgr): Remove unused variable.
47512 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47513
47514 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47515 nonmembers" output to use the right array.
47516
47517 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47518
47519 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47520
47521 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47522 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47523 * catgets/gencat.c (read_input_file): Likewise.
47524 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47525
47526 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47527 variable definition inside #if's controlling its use.
47528
47529 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47530
47531 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47532
47533 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47534
47535 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47536 unreachable code.
47537
47538 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47539
b68e08db
RM
47540 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47541 * configure: Regenerated.
47542
b350afab
RM
47543 * Makerules: Revert last change.
47544 * elf/Makefile: Likewise.
47545
28368601
RM
475462011-06-09 Roland McGrath <roland@hack.frob.com>
47547
47548 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47549 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47550 (reloc-link): Likewise.
47551
11988f8f
UD
475522011-06-09 Ulrich Drepper <drepper@gmail.com>
47553
47554 * elf/Makefile: Add rules to build pldd.
47555 * elf/pldd.c: New file.
47556 * elf/pldd-xx.c: New file.
47557
e80fab37
UD
475582011-06-07 Ulrich Drepper <drepper@gmail.com>
47559
47560 * version.h: Update for 2.15 development version.
47561
9b849836
DM
475622011-06-07 David S. Miller <davem@davemloft.net>
47563
47564 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47565 ifuncs.
47566 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47567 elf_machine_lazy_rel): Likewise.
47568 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47570 elf_machine_lazy_rel): Likewise.
47571 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47572 dl_hwcap via passed in argument.
47573 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47574 Likewise.
47575
5a31b283
AK
475762011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47577
47578 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47579
069e52f8
RM
475802011-06-06 Roland McGrath <roland@hack.frob.com>
47581
47582 [BZ #12849]
47583 * manual/fdl-1.1.texi: New file, verbatim from:
47584 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47585 * manual/lgpl-2.1.texi: New file, verbatim from:
47586 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47587 * manual/Makefile (licenses): New variable, list those new file names.
47588 (texis): Use it.
47589 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47590
47591 * manual/fdl.texi: File removed.
47592 * manual/lesser.texi: File removed.
47593 * manual/libc.texinfo (Copying, Documentation License):
47594 Use new @include file names, put @appendix directive before @include.
47595
f16846a5
JJ
475962011-06-04 Jakub Jelinek <jakub@redhat.com>
47597
47598 [BZ #12841]
47599 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47600 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47601 (mq_open): Add __NTH.
47602
3d29045b
L
476032011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47604
47605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47606 Assume Intel Core i3/i5/i7 processor if AVX is available.
47607
8c297311
UD
476082011-05-31 Ulrich Drepper <drepper@gmail.com>
47609
47610 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47611 typo.
47612
c8fc0c91
UD
476132011-05-31 Andreas Schwab <schwab@redhat.com>
47614
47615 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47616 memory. Use alloca_account. Fix memory leak when retrying.
47617
5b27a807
UD
476182011-05-31 Ulrich Drepper <drepper@gmail.com>
47619
356f8bc6
UD
47620 * version.h (RELEASE): Bump for 2.14 release.
47621 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47622
5b27a807
UD
47623 * config.make.in (RANLIB): Remove entry.
47624
01f16ab0
UD
476252011-05-30 Ulrich Drepper <drepper@gmail.com>
47626
41fce8bd
UD
47627 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47628 (libc.pot): Work around missing support for .ksh extension in xgettext.
47629
4769ae77
UD
47630 [BZ #12684]
47631 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47632 if both request failed.
47633 (send_dg): In case of server errors clear resplen or *resplen2.
47634
6b1e7d19
UD
47635 [BZ #12454]
47636 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47637 when there are multiple maps.
47638 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47639 (_dl_fini): Remove test here.
47640
01f16ab0
UD
47641 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47642
b1ebd700
UD
476432011-05-29 Ulrich Drepper <drepper@gmail.com>
47644
7ae22829
UD
47645 [BZ #12350]
47646 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47647 bit from old_res_options.
47648 (gaih_inet): Likewise.
47649
553149f6 47650 [BZ #11099]
18a84741 47651 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
47652 as signed.
47653
652ffab1
UD
47654 * resolv/res_init.c (res_setoptions): Make the code more compact.
47655
16985fd0
UD
47656 [BZ #11558]
47657 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47658 set RES_USEVC.
47659
0464f746
UD
47660 [BZ #11634]
47661 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47662
7d17596c
UD
47663 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47664
cf6bbbd7
UD
47665 [BZ #11781]
47666 * malloc/malloc.h: Declare malloc hook variables as volatile.
47667
13f1ab36
UD
47668 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47669 in last patch.
47670
b1ebd700
UD
47671 [BZ #11799]
47672 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 47673 raise in the comment.
80e2212d
UD
47674 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47675 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47676 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 47677
ce67228d
UD
476782011-05-28 Ulrich Drepper <drepper@gmail.com>
47679
8887a920
UD
47680 [BZ #12811]
47681 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47682 grow the buffers more if it already has to be sufficient.
47683 (build_wcs_upper_buffer): Likewise.
47684 * posix/regexec.c (check_matching): Likewise.
47685 (clean_state_log_if_needed): Likewise.
47686 (extend_buffers): Don't enlarge buffers beyond size of the input
47687 buffer.
47688 Patches mostly by Emil Wojak <emil@wojak.eu>.
47689 * posix/bug-regex32.c: New file.
47690 * posix/Makefile (tests): Add bug-regex32.
47691
4f031072
UD
47692 * locale/findlocale.c (_nl_find_locale): Return right away if
47693 _nl_explode_name failed.
47694 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47695
d0478f0c
UD
47696 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47697
de81b246
UD
47698 * debug/xtrace.sh: Unify messages.
47699 * malloc/memusage.sh: Likewise.
47700
c738465a
UD
47701 [BZ #12813]
47702 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47703 time symbol from vDSO. Substitute with vsyscall if not available.
47704 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47705 __vdso_time.
47706
f1f929d7
UD
47707 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47708 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47709 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47710 Add sendmmsg and internal_sendmmsg.
47711 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47712 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47713 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47714
ce67228d
UD
47715 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47716 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47717 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47718
e57420c6
UD
477192011-05-27 Ulrich Drepper <drepper@gmail.com>
47720
a8509ca5
UD
47721 [BZ #12813]
47722 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47723 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47724 available.
47725 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47726 __vdso_getcpu.
47727
e57420c6
UD
47728 [BZ #12814]
47729 * iconvdata/Makefile (tests): Add bug-iconv9.
47730 * iconvdata/bug-iconv9.c: New file.
47731
4d07db15
AS
477322011-05-27 Andreas Schwab <schwab@redhat.com>
47733
47734 [BZ #12814]
47735 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47736
ea486f69
JJ
477372011-05-25 Jakub Jelinek <jakub@redhat.com>
47738
47739 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47740 (struct user_regs_struct): Change intcs field back to cs.
47741
6f038433
UD
477422011-05-25 Ulrich Drepper <drepper@gmail.com>
47743
47744 * po/ja.po: Update from translation team.
47745
67f86a25
UD
477462011-05-23 Ulrich Drepper <drepper@gmail.com>
47747
47748 [BZ #12795]
47749 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47750 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47751
def7fbd6
AS
477522011-05-20 Andreas Schwab <schwab@redhat.com>
47753
47754 * stdlib/longlong.h: Update from GCC.
47755
f50ef8f1
AS
477562011-05-23 Andreas Schwab <schwab@redhat.com>
47757
47758 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47759 parameter name.
47760 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47761 Add parameter name.
47762 (__sysconf): Pass it down.
47763
de7ce8f1
UD
477642011-05-22 Ulrich Drepper <drepper@gmail.com>
47765
f2962a71
UD
47766 [BZ #12671]
47767 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47768 some situations.
47769 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47770 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47771 add in in __libc_use_alloca calls. Adjust callers.
47772 (glob): Use malloc in some situations.
47773
de7ce8f1
UD
47774 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47775 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47776 pltexit.
47777
aec84f53
UD
477782011-05-21 Ulrich Drepper <drepper@gmail.com>
47779
05bb4a68
UD
47780 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47781 and CLOCK_BOOTTIME_ALARM.
47782
7ea72f99
UD
47783 [BZ #12782]
47784 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47785 is returned.
47786
7e4afad5
UD
47787 * string/_strerror.c (__strerror_r): Print negative errors as signed
47788 numbers.
47789
8e211fec
UD
47790 [BZ #12777]
47791 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47792 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47793 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47794
f7d82dc9
UD
47795 * configure.in: Fix typo in redirection and correct removal of test
47796 files in two cases.
47797
cc9e536d
UD
47798 [BZ #12788]
47799 * locale/setlocale.c (new_composite_name): Fix test to check for
47800 identical name of all categories.
47801
aec84f53
UD
47802 [BZ #12792]
47803 * libio/filedoalloc.c (local_isatty): New function.
47804 (_IO_file_doallocate): Use local_isatty.
47805 * stdio-common/perror.c (perror): In case a new stream is used
47806 forward the stream error.
47807 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47808 error flag.
47809
78e64fdc
RT
478102011-05-20 Ulrich Drepper <drepper@gmail.com>
47811
34a9094f
UD
47812 [BZ #11869]
47813 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47814 alloca.
47815 * include/alloca.h (extend_alloca_account): Define.
47816
78e64fdc
RT
47817 [BZ #11857]
47818 * posix/regex.h: Fix comments with documentation of user-accessible
47819 fields after compilation and describe correct free'ing of pattern
47820 after re_compile_pattern.
47821 Patch by Reuben Thomas <rrt@sc3d.org>.
47822
457bddfc
RA
478232011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47824
47825 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47826 and -mno-altivec to prevent the compiler from using Altivec and/or
47827 VSX instructions when the corresponding registers are not available.
47828
a4527b51
AS
478292011-05-19 Andreas Schwab <schwab@redhat.com>
47830
47831 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47832
ed690b2f
UD
478332011-05-19 Ulrich Drepper <drepper@gmail.com>
47834
47835 * libio/freopen.c (freopen): Use __dup2, not dup2.
47836 * libio/freopen64.c (freopen64): Likewise.
47837
8db73634
L
478382011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47839
47840 [BZ #12775]
47841 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47842 * math/Makefile (tests): Add test-powl.
47843 (CFLAGS-test-powl.c): Define.
47844 * math/test-powl.c: New file.
47845
0a197a9d
L
478462011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47847
47848 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47849
ee30c380
UD
478502011-05-17 Ulrich Drepper <drepper@gmail.com>
47851
47852 [BZ #11837]
47853 * iconvdata/gb18030.c: Update to GB18020-2005.
47854
6ce75379
UD
478552011-05-16 Ulrich Drepper <drepper@gmail.com>
47856
a4b89fd8
AR
47857 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47858 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47859 Patch by Aharon Robbins <arnold@skeeve.com>.
47860
ea389b12
UD
47861 [BZ #11892]
47862 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47863 on the stack.
47864
68a3f91f
UD
47865 [BZ #11895]
47866 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47867 through underflows.
47868
15cc7dd1
UD
47869 [BZ #12766]
47870 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47871 point to strings before performing equality test for error_one_per_line
47872 mode.
47873
f3799213
UD
47874 [BZ #11697]
47875 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47876
d79a9c94
UD
47877 [BZ #11820]
47878 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47879 (struct user_fpregs_struct): Avoid __uint*_t types.
47880
56e5eb46
UD
47881 [BZ #6420]
47882 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47883 symbol info. Use it instead of calling _dl_addr locally.
47884 (lock_and_info): New function.
47885 (tr_freehook): Call lock_and_info and pass symbol info as additional
47886 parameter to tr_where.
47887 (tr_mallochook): Likewise.
47888 (tr_reallochook): Likewise.
47889 (tr_memalignhook): Likewise.
47890
6ce75379
UD
47891 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47892 used and couldn't be at all thread-safe.
47893
f8a3b5bf
UD
478942011-05-15 Ulrich Drepper <drepper@gmail.com>
47895
94b7cc37
UD
47896 * libio/freopen.c (freopen): Don't close old file descriptor
47897 before the new one is opened. Instead dup the new file descriptor
47898 to the old one after the new stream is created.
47899 * libio/freopen64.c (freopen64): Likewise.
47900 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47901 * libio/fileops.c (_IO_new_file_close_it): Handle new
47902 _IO_FLAGS2_NOCLOSE flag.
47903 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47904 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47905 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47906 _IO_FLAGS2_NOCLOSE flag.
47907 * include/unistd.h: Add hidden_proto for dup3.
47908 Define __have_dup3.
47909 * io/dup3.c: Define hidden symbol.
47910 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47911
bd25564e
UD
47912 [BZ #7101]
47913 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47914 when an incomplete long option is used.
47915 * posix/tst-getopt_long1.c: New file.
47916 * posix/Makefile (tests): Add tst-getopt_long1.
47917
c84cfef4
UD
47918 [BZ #10138]
47919 * scripts/config.guess: Update from autoconf-2.68.
47920 * scripts/config.sub: Likewise.
47921
3b85df27
UD
47922 [BZ #10157]
47923 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47924 tests into ...
47925 (has_cpuclock): ...this. New function.
47926 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47927 macro here based on has_cpuclock code.
47928
15a856b1
UD
47929 [BZ #10149]
47930 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47931 First byte (not low byte) is now always NUL.
47932 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47933
05f399e6
UD
47934 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47935 Use non-cancelable interfaces.
47936
10a52685 47937 [BZ #9809]
94ecc67d
UD
47938 * locale/iso-639.def: Add entry for Sorani.
47939
f8a3b5bf
UD
47940 [BZ #11901]
47941 * include/stdlib.h: Move include protection to the right place.
47942 Define abort_msg_s. Declare __abort_msg with it.
47943 * stdlib/abort.c (__abort_msg): Adjust type.
47944 * assert/assert.c (__assert_fail_base): New function. Majority
47945 of code from __assert_fail. Allocate memory for __abort_msg with
47946 mmap.
47947 (__assert_fail): Now call __assert_fail_base.
47948 * assert/assert-perr.c: Remove bulk of implementation. Use
47949 __assert_fail_base.
47950 * include/assert.hL Declare __assert_fail_base.
47951 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47952 mmap.
47953 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47954
1af4e298
UD
479552011-05-14 Ulrich Drepper <drepper@gmail.com>
47956
f8a3b5bf 47957 [BZ #11952]
d26dfc60
MG
47958 [BZ #12453]
47959 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47960 until all modules are registered in the DTV.
47961 * elf/Makefile: Add rules to build and run tst-tls19.
47962 * elf/tst-tls19.c: New file.
47963 * elf/tst-tls19mod1.c: New file.
47964 * elf/tst-tls19mod2.c: New file.
47965 * elf/tst-tls19mod3.c: New file.
47966 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47967
2fc54d6f
UD
47968 [BZ #12083]
47969 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47970 correctly.
47971
98d76b46
UD
47972 [BZ #12601]
47973 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47974 two-byte sequence errors.
47975 * iconvdata/Makefile (tests): Add bug-iconv8.
47976 * iconvdata/bug-iconv8.c: New file.
47977
da3c19ef
UD
47978 [BZ #12626]
47979 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47980 buf2 definition.
47981
ca408c15
UD
47982 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47983
d6f67f7d
UD
47984 [BZ #12432]
47985 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47986 (dummy_getcfa): New function.
47987 (init): Get _Unwind_GetCFA address, use dummy if not found.
47988 (backtrace_helper): In recursion check, also check whether CFA changes.
47989 (__backtrace): Completely initialize arg.
47990
1af4e298 47991 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
47992 storing incomplete byte sequence in state object. Avoid testing for
47993 guaranteed too small input if we know there is enough data available.
1af4e298 47994
da62f81b
AS
479952011-05-11 Andreas Schwab <schwab@redhat.com>
47996
47997 * Makeconfig (+link-pie): Indent.
47998 * Rules (binaries-pie): Define if $(have-fpie) and
47999 $(build-shared).
48000 (binaries-shared): Also filter out $(binaries-pie).
48001 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48002 * nscd/Makefile (others-pie): Add nscd.
48003 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48004 ($(objpfx)nscd): Remove command override.
48005 * login/Makefile (others-pie): Add pt_chown.
48006 ($(objpfx)pt_chown): Remove command override.
48007 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48008 remove command overrides.
48009
fcabc0f8
UD
480102011-05-13 Ulrich Drepper <drepper@gmail.com>
48011
20030ae6
UD
48012 * libio/tst_putwc.c: Fix error messages.
48013
fcabc0f8
UD
48014 [BZ #12724]
48015 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48016 currently writing and seek to current position when not.
48017 * libio/Makefile (tests): Add bug-fclose1.
48018 * libio/bug-fclose1.c: New file.
48019
320a5dc0
PB
480202011-05-12 Ulrich Drepper <drepper@gmail.com>
48021
48022 [BZ #12511]
48023 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48024 don't set DF_1_NODELETE here.
48025 (do_lookup_x): When entering new entry test for copy relocation
48026 and if necessary set DF_1_NODELETE flag.
48027 * elf/tst-unique4.cc: New file.
48028 * elf/tst-unique4.h: New file.
48029 * elf/tst-unique4lib.cc: New file.
48030 * elf/Makefile: Add rules to build and run tst-unique4.
48031 Patch by Piotr Bury <pbury@goahead.com>.
48032
22836f52
UD
480332011-05-11 Ulrich Drepper <drepper@gmail.com>
48034
f574184a
UD
48035 [BZ #12052]
48036 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48037
e1fb097f
UD
48038 [BZ #12625]
48039 * misc/mntent_r.c (addmntent): Flush the stream after the output
48040
22836f52
UD
48041 [BZ #12393]
48042 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48043 (is_trusted_path_normalize): Skip initial colon. Append slash
48044 to empty buffer. Duplicate is_trusted_path code but allow
48045 constructed patch to be prefix.
48046 (is_dst): Allow $ORIGIN followed by /.
48047 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48048 Correct testing of result of is_trusted_path_normalize
48049 (decompose_rpath): Fix warning.
48050
7b3b0b2a
UD
480512011-05-10 Ulrich Drepper <drepper@gmail.com>
48052
48053 [BZ #11257]
48054 * grp/initgroups.c (internal_getgrouplist): When we found the service
48055 list through the initgroups entry in nsswitch.conf do not always
48056 continue on a successful lookup. Don't always use the
eac80ce2 48057 __nss_group_database value if it is set.
7b3b0b2a
UD
48058 * nss/nsswitch.conf (initgroups): Change action for successful db
48059 lookup to continue for compatibility.
48060
2a81eaa5
UD
480612011-05-09 Ulrich Drepper <drepper@gmail.com>
48062
be97a69e
UD
48063 [BZ #11532]
48064 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48065 and CP774 modules.
48066 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48067 and CP774 modules.
48068 * iconvdata/tst-tables.sh: Likewise.
48069 * iconvdata/cp770.c: New file.
48070 * iconvdata/cp771.c: New file.
48071 * iconvdata/cp772.c: New file.
48072 * iconvdata/cp773.c: New file.
48073 * iconvdata/cp774.c: New file.
48074 * iconvdata/testdata/CP770: New file.
48075 * iconvdata/testdata/CP770..UTF8: New file.
48076 * iconvdata/testdata/CP771: New file.
48077 * iconvdata/testdata/CP771..UTF8: New file.
48078 * iconvdata/testdata/CP772: New file.
48079 * iconvdata/testdata/CP772..UTF8: New file.
48080 * iconvdata/testdata/CP773: New file.
48081 * iconvdata/testdata/CP773..UTF8: New file.
48082 * iconvdata/testdata/CP774: New file.
48083 * iconvdata/testdata/CP774..UTF8: New file.
48084
48085 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48086 END CHARMAP line.
48087 * iconvdata/gen-8bit-gap.sh: Likewise.
48088 * iconvdata/gen-8bit.sh: Likewise.
48089
c1e9e399
UD
48090 * locale/iso-639.def: Add ary entry.
48091
24c55fb3 48092 [BZ #11258]
96b4b1b0
UD
48093 * locale/C-translit.h.in: Add U20A1 transliteration.
48094
bdc2f971
KB
48095 [BZ #12178]
48096 * locale/iso-639.def: Add wae entry.
48097 Patch by Kevin Bortis <bortis@translate-wae.ch>.
48098
2952b117
UD
48099 [BZ #12545]
48100 * locale/programs/localedef.c (construct_output_path): Use ssize_t
48101 for n.
48102
2a81eaa5
UD
48103 [BZ #12711]
48104 * locale/C-translit.h.in: Add entry for U20B9.
48105 Patch by pravin.d.s@gmail.com.
48106
28377d1b
UD
481072011-05-08 Ulrich Drepper <drepper@gmail.com>
48108
7fb90fb8
UD
48109 [BZ #12713]
48110 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48111 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
48112 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48113 in rtld. Use *stat64.
7fb90fb8 48114 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 48115 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 48116 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
48117 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48118 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48119 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48120 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48121 __fstatat64 macros.
7fb90fb8
UD
48122 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48123 * dirent/rewinddir.c: Add libc_hidden_def.
48124 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 48125 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 48126
28377d1b
UD
48127 * include/dirent.h (__alloc_dir): Add flags parameter.
48128 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48129 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48130 __alloc_dir.
48131 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48132 from fdopendir if O_CLOEXEC is already set.
48133
66bdbaa4
AM
481342011-03-15 Alan Modra <amodra@gmail.com>
48135
48136 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48137 l_tls_firstbyte_offset non-zero. Save padding offset in
48138 l_tls_firstbyte_offset for later use.
48139 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48140 freeing static tls block.
48141
95721191
JN
481422011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48143
48144 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48145 where #ifdef was intended. The intent is to prevent ARG_MAX from
48146 being defined by the kernel headers.
48147
f87dfb1f
UD
481482011-05-07 Ulrich Drepper <drepper@gmail.com>
48149
48150 [BZ #12734]
48151 * resolv/resolv.h: Define RES_NOTLDQUERY.
48152 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48153 no-tld-query and set RES_NOTLDQUERY.
48154 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48155 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48156 modern BIND to search name as TLD unless forbidden.
48157
47c3cd7a
UD
481582011-05-07 Petr Baudis <pasky@suse.cz>
48159 Ulrich Drepper <drepper@gmail.com>
48160
48161 [BZ #12393]
48162 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48163 (is_trusted_path): ...to here.
c1e9ea35 48164 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 48165 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 48166 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 48167
8a35c912
PP
481682011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48169
48170 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48171 __BEGIN/__END_DECLS.
48172
acd41f47
UD
481732011-05-06 Ulrich Drepper <drepper@gmail.com>
48174
48175 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48176 NSS_STATUS_NOTFOUND if no record was found.
48177
597df647
AS
481782011-05-05 Andreas Schwab <schwab@redhat.com>
48179
48180 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48181 (headers-not-in-tirpc): Remove rpc/netdb.h
48182 * resolv/netdb.h: Revert last change.
48183
b9af1301
PP
481842011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48185
48186 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48187 circular dependency between libgcc.a and libc.a.
48188
4e34d5f5
AS
481892011-05-05 Andreas Schwab <schwab@redhat.com>
48190
48191 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48192 * nis/Makefile: Don't install rpcsvc/*.
48193 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48194 instead of <rpc/types.h>.
48195 (MAXHOSTNAMELEN): Define.
48196
00ee369c
AS
481972011-05-03 Andreas Schwab <schwab@redhat.com>
48198
48199 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48200
0b592a30
MB
482012011-04-28 Maciej Babinski <mbabinski@google.com>
48202
48203 [BZ #12714]
48204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48205 gethostbyname4_r when IPv6 results are possible.
48206
6e04cbbe
UD
482072011-05-02 Ulrich Drepper <drepper@gmail.com>
48208
48209 [BZ #12723]
48210 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48211 _PC_PIPE_BUF handling.
48212
e4ecafe0
BH
482132011-04-30 Bruno Haible <bruno@clisp.org>
48214
48215 [BZ #12717]
48216 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48217 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48218 to 'int'.
48219 * inet/getnameinfo.c (getnameinfo): Likewise.
48220
125ee683
UD
482212011-04-29 Ulrich Drepper <drepper@gmail.com>
48222
48223 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48224 to groups setting in database lookup.
48225 * nss/nsswitch.conf: Add initgroups entry.
48226
b722481a
EB
482272011-04-22 Ulrich Drepper <drepper@gmail.com>
48228
48229 [BZ #12685]
48230 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48231 mode string.
48232 Patch by Eric Blake <eblake@redhat.com>.
48233
4df46dbd
L
482342011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48235
48236 * sunrpc/Makefile (need-export-routines): Add svc_run.
48237 (routines): Remove svc_run.
48238 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48239 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48240 * sunrpc/svc_run.c (svc_run): Likewise.
48241 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48242
e84142d2
UD
482432011-04-21 Ulrich Drepper <drepper@gmail.com>
48244
48245 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48246 problem in reallocation in last patch.
48247
877175d8
UD
482482011-04-20 Ulrich Drepper <drepper@gmail.com>
48249
48250 * sunrpc/Makefile: Move inclusion of Rules.
48251
ab8eed78
UD
482522011-04-19 Ulrich Drepper <drepper@gmail.com>
48253
48254 * nss/nss_files/files-initgroups.c: New file.
48255 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48256 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48257 _nss_files_initgroups_dyn.
48258
e3d8f584
RS
482592011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48260
48261 * elf/elf.h (R_ARM_IRELATIVE): Define.
48262
af190f45
UD
482632011-04-19 Ulrich Drepper <drepper@gmail.com>
48264
48265 * po/ru.po: Update from translation team.
48266
53cf59ef
UD
482672011-04-17 Ulrich Drepper <drepper@gmail.com>
48268
48269 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48270 dependencies.
48271
4c559bcd
MF
482722011-02-06 Mike Frysinger <vapier@gentoo.org>
48273
48274 [BZ #12653]
48275 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48276 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48277 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48278 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48279 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48280
4420675c
AS
482812011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48282
48283 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48284 differing bytes.
48285 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48286 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48287 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48288
75ea32ab
UD
482892011-04-17 Ulrich Drepper <drepper@gmail.com>
48290
48291 [BZ #12420]
48292 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48293 storing it.
48294 * stdlib/bug-getcontext.c: New file.
48295 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48296
27390476
AK
482972011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48298
48299 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48300 instructions into .machine "z9-109".
48301 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48302 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48303
10442705
AK
483042011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48305
48306 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48307 between environment variables and auxiliary vector.
48308
7b57bfe5
UD
483092011-04-16 Ulrich Drepper <drepper@gmail.com>
48310
48311 * Makefile: Add rules to build linkobj/libc.so.
48312 * include/libc-symbols.h: Define libc_hidden_nolink.
48313 * include/rpc/auth.h: Mark functions which are to be hidden.
48314 * include/rpc/auth_des.h: Likewise.
48315 * include/rpc/auth_unix.h: Likewise.
48316 * include/rpc/clnt.h: Likewise.
48317 * include/rpc/des_crypt.h: Likewise.
48318 * include/rpc/key_prot.h: Likewise.
48319 * include/rpc/pmap_clnt.h: Likewise.
48320 * include/rpc/pmap_prot.h: Likewise.
48321 * include/rpc/pmap_rmt.h: Likewise.
48322 * include/rpc/rpc_msg.h: Likewise.
48323 * include/rpc/svc.h: Likewise.
48324 * include/rpc/svc_auth.h: Likewise.
48325 * include/rpc/xdr.h: Likewise.
48326 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48327 * nss/Makefile: Likewise.
48328 * sunrpc/Makefile: Don't install headers. Build library with normal
48329 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48330 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48331 for the compat linking library. Remove use of INTDEF/INTUSE.
48332 * sunrpc/auth_none.c: Likewise.
48333 * sunrpc/auth_unix.c: Likewise.
48334 * sunrpc/authdes_prot.c: Likewise.
48335 * sunrpc/authuxprot.c: Likewise.
48336 * sunrpc/clnt_gen.c: Likewise.
48337 * sunrpc/clnt_perr.c: Likewise.
48338 * sunrpc/clnt_raw.c: Likewise.
48339 * sunrpc/clnt_simp.c: Likewise.
48340 * sunrpc/clnt_tcp.c: Likewise.
48341 * sunrpc/clnt_udp.c: Likewise.
48342 * sunrpc/clnt_unix.c: Likewise.
48343 * sunrpc/des_crypt.c: Likewise.
48344 * sunrpc/des_soft.c: Likewise.
48345 * sunrpc/get_myaddr.c: Likewise.
48346 * sunrpc/key_call.c: Likewise.
48347 * sunrpc/key_prot.c: Likewise.
48348 * sunrpc/netname.c: Likewise.
48349 * sunrpc/pm_getmaps.c: Likewise.
48350 * sunrpc/pm_getport.c: Likewise.
48351 * sunrpc/pmap_clnt.c: Likewise.
48352 * sunrpc/pmap_prot.c: Likewise.
48353 * sunrpc/pmap_prot2.c: Likewise.
48354 * sunrpc/pmap_rmt.c: Likewise.
48355 * sunrpc/publickey.c: Likewise.
48356 * sunrpc/rpc_cmsg.c: Likewise.
48357 * sunrpc/rpc_common.c: Likewise.
48358 * sunrpc/rpc_dtable.c: Likewise.
48359 * sunrpc/rpc_prot.c: Likewise.
48360 * sunrpc/rpc_thread.c: Likewise.
48361 * sunrpc/rtime.c: Likewise.
48362 * sunrpc/svc.c: Likewise.
48363 * sunrpc/svc_auth.c: Likewise.
48364 * sunrpc/svc_authux.c: Likewise.
48365 * sunrpc/svc_raw.c: Likewise.
48366 * sunrpc/svc_run.c: Likewise.
48367 * sunrpc/svc_simple.c: Likewise.
48368 * sunrpc/svc_tcp.c: Likewise.
48369 * sunrpc/svc_udp.c: Likewise.
48370 * sunrpc/svc_unix.c: Likewise.
48371 * sunrpc/svcauth_des.c: Likewise.
48372 * sunrpc/xcrypt.c: Likewise.
48373 * sunrpc/xdr.c: Likewise.
48374 * sunrpc/xdr_array.c: Likewise.
48375 * sunrpc/xdr_float.c: Likewise.
48376 * sunrpc/xdr_intXX_t.c: Likewise.
48377 * sunrpc/xdr_mem.c: Likewise.
48378 * sunrpc/xdr_rec.c: Likewise.
48379 * sunrpc/xdr_ref.c: Likewise.
48380 * sunrpc/xdr_sizeof.c: Likewise.
48381 * sunrpc/xdr_stdio.c: Likewise.
48382
e6c61494
UD
483832011-04-10 Ulrich Drepper <drepper@gmail.com>
48384
48385 [BZ #12650]
48386 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48387 * sysdeps/ia64/dl-tls.h: Likewise.
48388 * sysdeps/powerpc/dl-tls.h: Likewise.
48389 * sysdeps/s390/dl-tls.h: Likewise.
48390 * sysdeps/sh/dl-tls.h: Likewise.
48391 * sysdeps/sparc/dl-tls.h: Likewise.
48392 * sysdeps/x86_64/dl-tls.h: Likewise.
48393 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48394
34fe483e
AS
483952011-03-14 Andreas Schwab <schwab@redhat.com>
48396
48397 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48398 rpath element also skip the following colon.
48399 (expand_dynamic_string_token): Add is_path parameter and pass
48400 down to DL_DST_REQUIRED and _dl_dst_substitute.
48401 (decompose_rpath): Call expand_dynamic_string_token with
48402 non-zero is_path. Ignore empty rpaths.
48403 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48404 with zero is_path.
48405
f12a32e6
AS
484062011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48407
48408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48409 Make cancelable.
48410
38a7d692
UD
484112011-04-09 Ulrich Drepper <drepper@gmail.com>
48412
48413 [BZ #12655]
48414 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48415 Patch by Filipe David Manana <fdmanana@apache.org>.
48416
e451d22b
AS
484172011-04-07 Andreas Schwab <schwab@redhat.com>
48418
48419 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48420 Maintain aligned stack.
48421 (CHECK_RSP): Remove unused macro.
48422
dedc7c7b
UD
484232011-04-03 Ulrich Drepper <drepper@gmail.com>
48424
48425 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48426 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48427
94521213
UD
484282011-04-02 Ulrich Drepper <drepper@gmail.com>
48429
48430 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48431
8cb700c0 48432 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 48433
0354e355
L
484342011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48435
48436 [BZ #12518]
48437 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48438 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48439 * sysdeps/x86_64/memmove.c: New file.
48440 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48441 (memcpy): Renamed to ...
48442 (__new_memcpy): This.
48443 (memcpy): Provide GLIBC_2_14 memcpy.
48444 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48445 (memcpy): Provide GLIBC_2_2_5 memcpy.
48446
8593482f
UD
484472011-04-01 Ulrich Drepper <drepper@gmail.com>
48448
48449 [BZ #12631]
48450 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48451
81a5726b
AS
484522011-03-30 Andreas Schwab <schwab@redhat.com>
48453
48454 * misc/syncfs.c: New file.
48455 * misc/Makefile (routines): Add syncfs.
48456 * posix/unistd.h: Declare syncfs.
48457 * sysdeps/unix/syscalls.list: Add syncfs.
48458
00e5419f
AS
484592011-04-01 Andreas Schwab <schwab@redhat.com>
48460
48461 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48462 open_by_handle_at.
48463 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48464 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48465 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48466 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48467 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48468 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48469 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48470
748876bf
UD
484712011-04-01 Ulrich Drepper <drepper@gmail.com>
48472
658e451d
UD
48473 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48474 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48475 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48476 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48477 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48478 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48479 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48480
748876bf
UD
48481 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48482 sync_file_range.c with -fexceptions.
48483 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48484 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48485 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48486 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48487 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48488 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48489 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
48490 sync_file_range as cancellation point
48491 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48492 now a wrapper around __call_sync_file_range with cancellation handling.
48493 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48494 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48495 function name to __call_sync_file_range.
48496 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48497 Add call_sync_file_range.
748876bf 48498
6e63d5e1
AS
484992011-04-01 Andreas Schwab <schwab@redhat.com>
48500
48501 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 48502 bits/timex.h.
6e63d5e1 48503
46998f74
UD
485042011-04-01 Ulrich Drepper <drepper@gmail.com>
48505
4c1423ed
UD
48506 * iconv/iconv.h: Fix typo in comment.
48507 * io/fcntl.h: Likewise.
48508 * libio/stdio.h: Likewise.
48509 * posix/spawn.h: Likewise.
48510 * posix/unistd.h: Likewise.
48511 * stdlib/stdlib.h: Likewise.
48512 * time/time.h: Likewise.
48513 * wcsmbs/wchar.h: Likewise.
48514
158648c0
UD
48515 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48516 open_by_handle): Add.
48517 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48518 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48519 Augment a few comments.
48520 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48521 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48522 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48523 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48524 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48525 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48526 open_by_handle.
48527
46998f74
UD
48528 * io/fcntl.h (AT_EMPTY_PATH): Define.
48529
83fe108b
UD
485302011-03-30 Ulrich Drepper <drepper@gmail.com>
48531
48532 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48533 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48534 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48535 to...
48536 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
48537 * Versions.def: Add GLIBC_2.14.
48538 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48539 Export.
83fe108b 48540
bb242059
UD
485412011-03-22 Ulrich Drepper <drepper@gmail.com>
48542
48543 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48544 round counter.
48545 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48546
c97a1282
L
485472011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48548
48549 [BZ #12597]
48550 * string/test-strncmp.c (do_page_test): New function.
48551 (check2): Likewise.
48552 (test_main): Call check2.
48553 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48554
2a115601
UD
485552011-03-20 Ulrich Drepper <drepper@gmail.com>
48556
48557 [BZ #12587]
48558 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48559 Handle cache information in CPU leaf 4.
48560 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48561
8126d904
UD
485622011-03-18 Ulrich Drepper <drepper@gmail.com>
48563
042c49c6 48564 [BZ #12583]
8126d904
UD
48565 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48566 character representation.
48567 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48568
ccfe366e
RA
485692011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48570
48571 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48572 END(__isnan) to END(__isnanf) to match function entry point/label
48573 EALIGN(__isnanf,...).
48574
c6e13027
JJ
485752011-03-10 Jakub Jelinek <jakub@redhat.com>
48576
48577 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48578
33f85a3f
UD
485792011-03-10 Ulrich Drepper <drepper@gmail.com>
48580
028478fa
UD
48581 [BZ #12510]
48582 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48583 copy from the symbol referenced in the relocation to initialize the
48584 used variable.
48585 Patch by Piotr Bury <pbury@goahead.com>.
48586 * elf/Makefile: Add rules to build and tst-unique3.
48587 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48588 * elf/tst-unique3.cc: New file.
48589 * elf/tst-unique3.h: New file.
48590 * elf/tst-unique3lib.cc: New file.
48591 * elf/tst-unique3lib2.cc: New file.
48592
33f85a3f
UD
48593 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48594
03592fc7
MF
485952011-03-10 Mike Frysinger <vapier@gentoo.org>
48596
48597 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48598 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48599 to _start.
03592fc7 48600
6a5ee102
UD
486012011-03-06 Ulrich Drepper <drepper@gmail.com>
48602
48603 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48604 to-be-loaded object along a path to loader is ld.so.
48605
7e4ba49c
HJ
486062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48607 Ulrich Drepper <drepper@gmail.com>
48608
48609 * sysdeps/x86_64/memset.S: After aligning destination, code
48610 branches to different locations depending on the value of
48611 misalignment, when multiarch is enabled. Fix this.
48612
486132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48614
48615 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48616 Set _x86_64_preferred_memory_instruction for AMD processsors.
48617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48618 Set bit_Prefer_SSE_for_memop for AMD processors.
48619
13a804de
UD
486202011-03-04 Ulrich Drepper <drepper@gmail.com>
48621
48622 * libio/fmemopen.c (fmemopen): Optimize a bit.
48623
9d25c392
AS
486242011-03-03 Andreas Schwab <schwab@redhat.com>
48625
48626 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48627
a5543c6a
RM
486282011-03-03 Roland McGrath <roland@redhat.com>
48629
48630 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48631
012d35f7
DM
486322011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48633
7e4ba49c 48634 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
48635 __bzero_ultra1 instead of __memset_ultra1.
48636
4bff6e01
AS
486372011-02-23 Andreas Schwab <schwab@redhat.com>
48638 Ulrich Drepper <drepper@gmail.com>
48639
48640 [BZ #12509]
48641 * include/link.h (struct link_map): Add l_orig_initfini.
48642 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48643 returning unsuccessfully.
48644 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48645 close of a file loaded at startup, restore the original l_initfini
48646 list.
48647 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48648 list, store the pointer.
48649 * elf/Makefile ($(objpfx)noload-mem): New rule.
48650 (noload-ENV): Define.
48651 (tests): Add $(objpfx)noload-mem.
48652 * elf/noload.c: Include <memcheck.h>.
48653 (main): Call mtrace. Close all opened handles.
48654
f2092faf
AS
486552011-02-17 Andreas Schwab <schwab@redhat.com>
48656
48657 [BZ #12454]
48658 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48659 dependencies are missing.
48660
6c8a2e88
ST
486612011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48662
f2092faf 48663 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
48664 Hurd needs munmap.
48665 * sysdeps/mach/hurd/ifreq.h: New file.
48666
84a42118
PB
486672011-01-27 Petr Baudis <pasky@suse.cz>
48668 Ulrich Drepper <drepper@gmail.com>
48669
071f805e 48670 [BZ 12445]#
84a42118
PB
48671 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48672 to extend_alloca().
48673 * stdio-common/bug23.c: New file.
48674 * stdio-common/Makefile (tests): Add bug23.
48675
e23fe25b
AS
486762010-09-28 Andreas Schwab <schwab@redhat.com>
48677 Ulrich Drepper <drepper@gmail.com>
48678
48679 [BZ #12489]
48680 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48681 before performing relro protection. At old place add assertion
48682 to make sure nothing changed.
48683
d3f02e10
NS
486842011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48685 Glauber de Oliveira Costa <glommer@gmail.com>
48686
48687 * elf/elf.h: Add new ARM TLS relocs.
48688
d55fd7a5
RA
486892011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48690
48691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48692 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48693 cast from r3.
48694 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48695 'tests' variable.
48696 * sysdeps/wordsize-64/tst-writev.c: New file.
48697
2206397e
RA
486982011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48699
48700 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48701 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48702 insns in _dl_start to prevent a TOC reference before relocs are
48703 resolved.
48704
e9433893
UD
487052011-02-15 Ulrich Drepper <drepper@gmail.com>
48706
48707 [BZ #12469]
48708 * Makeconfig: Remove RANLIB definition.
48709 * Makerules: Don't use RANLIB.
48710 * aclocal.m4: Remove ranlib test.
48711 * configure.in: No need to check for ranlib.
48712 * elf/rtld-Rules: Don't use RANLIB.
48713
f75286c6
ST
487142011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48715
8e31c82d
ST
48716 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48717 protection macro.
48718 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48719 inclusion protection macro.
48720
f75286c6
ST
48721 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48722 SIGRTMIN and SIGRTMAX and print information in that case only when
48723 SIGRTMIN is defined.
48724
c1d0e639
JJ
487252011-02-11 Jakub Jelinek <jakub@redhat.com>
48726
48727 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48728 arginfo fn returning -1.
48729
48730 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48731 and thousands string is zero terminated.
48732
edf9294e
AS
487332011-02-03 Andreas Schwab <schwab@redhat.com>
48734
48735 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48736 sysdeps/unix/sysv/linux/bits/socket.h.
48737
2b7e92df
ST
487382011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48739
edf9294e
AS
48740 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48741 (__CPU_COUNT): Remove old macros.
48742 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48743 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48744 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
48745 (__sched_cpualloc, __sched_cpufree): Add declarations.
48746
a4c7ea7b
UD
487472011-02-05 Ulrich Drepper <drepper@gmail.com>
48748
48749 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48750 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48751 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48752 (readdhstai): Return value of addhstaiX call.
48753 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48754 (addgrbyX): Return value returned by cache_addgr.
48755 (readdgrbyname): Return value returned by addgrbyX.
48756 (readdgrbygid): Likewise.
48757 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48758 (addpwbyX): Return value returned by cache_addpw.
48759 (readdpwbyname): Return value returned by addhstbyX.
48760 (readdpwbyuid): Likewise.
48761 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48762 (addservbyX): Return value returned by cache_addserv.
48763 (readdservbyname): Return value returned by addservbyX:
48764 (readdservbyport): Likewise.
48765 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48766 (addhstbyX): Return value returned by cache_addhst.
48767 (readdhstbyname): Return value returned by addhstbyX.
48768 (readdhstbyaddr): Likewise.
48769 (readdhstbynamev6): Likewise.
48770 (readdhstbyaddrv6): Likewise.
48771 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48772 (readdinitgroups): Return value returned by addinitgroupsX.
48773 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48774 (prune_cache): Keep track of timeout value of re-added entries.
48775 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48776 * nscd/nscd.h: Adjust prototypes of readd* functions.
48777
a0bf67cc
RM
487782011-02-04 Roland McGrath <roland@redhat.com>
48779
48780 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48781 (nis_stats): Likewise.
48782 * nis/nis_modify.c (nis_modify): Likewise.
48783 * nis/nis_remove.c (nis_remove): Likewise.
48784 * nis/nis_add.c (nis_add): Likewise.
48785
48786 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48787
48788 * posix/fnmatch_loop.c: Add some consts.
48789
48790 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48791
435b95eb
L
487922011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48793
48794 [BZ #12460]
48795 * config.make.in (config-cflags-novzeroupper): Define.
48796 * configure.in: Substitute libc_cv_cc_novzeroupper.
48797 * elf/Makefile (AVX-CFLAGS): Define.
48798 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48799 (CFLAGS-tst-auditmod4a.c): Likewise.
48800 (CFLAGS-tst-auditmod4b.c): Likewise.
48801 (CFLAGS-tst-auditmod6b.c): Likewise.
48802 (CFLAGS-tst-auditmod6c.c): Likewise.
48803 (CFLAGS-tst-auditmod7b.c): Likewise.
48804 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48805
8517b15e
UD
488062011-02-02 Ulrich Drepper <drepper@gmail.com>
48807
48808 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48809 function to the callback.
48810 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48811
10a656fe
AS
488122011-02-02 Andreas Schwab <schwab@redhat.com>
48813
48814 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48815 of errno.
48816
968dad0a
UD
488172011-01-19 Ulrich Drepper <drepper@gmail.com>
48818
9f94d2ea 48819 [BZ #11724]
968dad0a
UD
48820 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48821 of constructors.
48822 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48823 of destructors.
48824 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48825
48826 [BZ #11724]
48827 * elf/Makefile: Add rules to build and run new test.
48828 * elf/tst-initorder.c: New file.
48829 * elf/tst-initorder.exp: New file.
48830 * elf/tst-initordera1.c: New file.
48831 * elf/tst-initordera2.c: New file.
48832 * elf/tst-initordera3.c: New file.
48833 * elf/tst-initordera4.c: New file.
48834 * elf/tst-initorderb1.c: New file.
48835 * elf/tst-initorderb2.c: New file.
48836 * elf/tst-order-a1.c: New file.
48837 * elf/tst-order-a2.c: New file.
48838 * elf/tst-order-a3.c: New file.
48839 * elf/tst-order-a4.c: New file.
48840 * elf/tst-order-b1.c: New file.
48841 * elf/tst-order-b2.c: New file.
48842 * elf/tst-order-main.c: New file.
48843 New test case by George Gensure <werkt0@gmail.com>.
48844
86e92359
UD
488452010-10-01 Andreas Schwab <schwab@redhat.com>
48846
48847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48848 decoding ACE if AI_CANONIDN.
48849
5d5732b0
UD
488502011-01-18 Ulrich Drepper <drepper@gmail.com>
48851
48852 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48853
a77e8cbc
UD
488542011-01-17 Ulrich Drepper <drepper@gmail.com>
48855
6392473f
UD
48856 * version.h (RELEASE): Bump for 2.13 release.
48857 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48858
620a0529
UD
48859 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48860
18ba70a5
UD
48861 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48862 MADV_NOHUGEPAGE.
32465c3e
UD
48863 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48864 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48865 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48866 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48867 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48868 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48869
c0dafcf1
UD
48870 * posix/getconf.c: Update copyright year.
48871 * catgets/gencat.c: Likewise.
48872 * csu/version.c: Likewise.
48873 * debug/catchsegv.sh: Likewise.
48874 * debug/xtrace.sh: Likewise.
48875 * elf/ldconfig.c: Likewise.
48876 * elf/ldd.bash.in: Likewise.
48877 * elf/sprof.c (print_version): Likewise.
48878 * iconv/iconv_prog.c: Likewise.
48879 * iconv/iconvconfig.c: Likewise.
48880 * locale/programs/locale.c: Likewise.
48881 * locale/programs/localedef.c: Likewise.
48882 * malloc/memusage.sh: Likewise.
48883 * malloc/mtrace.pl: Likewise.
48884 * nscd/nscd.c (print_version): Likewise.
48885 * nss/getent.c: Likewise.
48886
a77e8cbc
UD
48887 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48888 PF_CAIF, and PF_ALG.
48889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48890
77e8bddf
AS
488912011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48892
1f20b93a
AS
48893 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48894 (modules-names): Use them.
48895 (ifunc-test-modules, ifunc-pie-tests): Define.
48896 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48897 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48898 (test-extras): Likewise.
48899 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48900 $(compile-command.c).
48901 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48902 (all-built-dso): Define.
48903 (check-textrel.out, check-execstack.out): Depend on it.
48904
77e8bddf
AS
48905 * configure.in: Don't override --enable-multi-arch.
48906
bc425b33
UD
489072011-01-15 Ulrich Drepper <drepper@gmail.com>
48908
48909 [BZ #6812]
48910 * nscd/hstcache.c (tryagain): Define.
48911 (cache_addhst): Return tryagain not notfound for temporary errors.
48912 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48913 failed.
48914
794c3ad3
UD
489152011-01-14 Ulrich Drepper <drepper@gmail.com>
48916
70181fdd
UD
48917 [BZ #10563]
48918 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48919 to make the syscall.
48920 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48921
794c3ad3
UD
48922 [BZ #12378]
48923 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48924 and fall back to matching as normal character if the string ends before
48925 the matching ']' is found. This is what POSIX requires.
48926 * posix/testfnm.c: Adjust test result.
48927 * posix/globtest.sh: Adjust test result. Add new test.
48928 * posix/tst-fnmatch.input: Likewise.
48929 * posix/tst-fnmatch2.c: Add new test.
48930
68dc9497
AS
489312010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48932
48933 * elf/Makefile (check-execstack): Revert last change. Depend on
48934 check-execstack.h.
48935 (check-execstack.h): New target.
48936 (generated): Add check-execstack.h.
48937 * elf/check-execstack.c: Include "check-execstack.h".
48938 (main): Revert last change.
48939 (handle_file): Return zero if GNU_STACK is absent and
48940 DEFAULT_STACK_PERMS doesn't include PF_X.
48941
451f001b
UD
489422011-01-13 Ulrich Drepper <drepper@gmail.com>
48943
cfa28e56
UD
48944 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48945 in child fails because the descriptor is already closed.
8cf8ce17
UD
48946 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48947 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48948 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 48949
1086d70d
UD
48950 [BZ #12397]
48951 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48952 syscall.
48953
451f001b
UD
48954 [BZ #10484]
48955 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48956 temporary buffer used to handle multi lookups locally.
a85b5cb4 48957 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 48958
08769175
UD
489592011-01-12 Ulrich Drepper <drepper@gmail.com>
48960
48961 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48962 loader is ld.so.
48963
5e49c52e
UD
489642011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48965
48966 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48967 alignment for SSE2.
48968
60522a5f
UD
489692011-01-12 Ulrich Drepper <drepper@gmail.com>
48970
48971 [BZ #12394]
48972 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48973 characters. When rounding increased number of integer digits recompute
48974 number of groups.
48975 * stdio-common/tst-grouping.c: New file.
48976 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48977
f257bbd7
UD
489782011-01-09 Ulrich Drepper <drepper@gmail.com>
48979
48980 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48981 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48982
48983 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48984 void.
48985 * bits/select.h: Likewise.
48986
fa9c15cb
UD
489872011-01-08 Ulrich Drepper <drepper@gmail.com>
48988
48989 * po/ja.po: Update from translation team.
48990
16c2895f
DM
489912011-01-04 David S. Miller <davem@sunset.davemloft.net>
48992
48993 [BZ #11155]
48994 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48995 implementation just like for lxstat, fxstatat, et al.
48996
2543fef2
JM
489972010-12-27 Jim Meyering <meyering@redhat.com>
48998
48999 [BZ #12348]
49000 * posix/regexec.c (build_trtable): Return failure indication upon
49001 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49002
98727dbe
UD
490032010-12-25 Ulrich Drepper <drepper@gmail.com>
49004
5bd6dc5c
UD
49005 [BZ #12201]
49006 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49007 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49008 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49009 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49010
97983464
UD
49011 [BZ #12207]
49012 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49013
98727dbe
UD
49014 [BZ #12204]
49015 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49016 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49017
4a531bb0
L
490182010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49019
49020 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49021 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49022 script has SORT_BY_INIT_PRIORITY.
49023 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49024 NO_CTORS_DTORS_SECTIONS is defined.
49025 * elf/soinit.c: Likewise.
49026 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49027 NO_CTORS_DTORS_SECTIONS is defined.
49028 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49029 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49030 * sysdeps/sh/init-first.c: Likewise.
49031 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49032
07eb4b71
UD
490332010-12-24 Ulrich Drepper <drepper@gmail.com>
49034
49035 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49036 always use the slow path.
49037
30950a5f
RA
490382010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49039
49040 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49041 similar rule which adds the sysdep directories to the header search in
49042 order to pick up the correct platform stackinfo.h.
49043 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49044 perform test if it is, otherwise return successfully without testing.
49045 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49046 DEFAULT_STACK_PERMS define in stackinfo.h.
49047 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49048 defined in stackinfo.h.
49049 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49050 DEFAULT_STACK_PERMS defined in stackinfo.h.
49051 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49052 * sysdeps/ia64/stackinfo.h: Likewise.
49053 * sysdeps/s390/stackinfo.h: Likewise.
49054 * sysdeps/sh/stackinfo.h: Likewise.
49055 * sysdeps/sparc/stackinfo.h: Likewise.
49056 * sysdeps/x86_64/stackinfo.h: Likewise.
49057 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49058 PF_X for powerpc64. Retain PF_X for powerpc32.
49059
db753e2c
UD
490602010-12-19 Ulrich Drepper <drepper@gmail.com>
49061
14b697f7
UD
49062 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49063 accurately.
db753e2c
UD
49064 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49065 GETDENTS_64BIT_ALIGNED.
49066
28300719
UD
490672010-12-14 Ulrich Drepper <dreper@gmail.com>
49068
14b697f7 49069 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 49070
4f197237
AS
490712010-12-10 Andreas Schwab <schwab@redhat.com>
49072
dbb0472f
AS
49073 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49074 _GNU_SOURCE.
49075
4f197237
AS
49076 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49077 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49078 Remove __restrict.
49079 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49080 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49081
fb88ac72
UD
490822010-12-09 Ulrich Drepper <drepper@gmail.com>
49083
49084 [BZ #11655]
49085 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49086 are initialized.
49087
42acbb92
JJ
490882010-12-09 Jakub Jelinek <jakub@redhat.com>
49089
49090 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49091
c038d98d
UD
490922010-12-03 Ulrich Drepper <drepper@gmail.com>
49093
49094 * po/it.po: Update from translation team.
49095
3a4a2499
L
490962010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49097
49098 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49099 unused codes.
49100
1e24cf6e
UD
491012010-11-30 Ulrich Drepper <drepper@gmail.com>
49102
49103 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49104
a7690819
AS
491052010-11-24 Andreas Schwab <schwab@redhat.com>
49106
49107 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49108 specially.
49109 (gaih_getanswer_slice): Likewise.
49110
3bf8d1b1
JJ
491112010-10-20 Jakub Jelinek <jakub@redhat.com>
49112
49113 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49114
6db52fbb
PB
491152010-05-31 Petr Baudis <pasky@suse.cz>
49116
49117 [BZ #11149]
49118 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49119 silently even in the chroot mode.
49120
eaca7569
UD
491212010-11-22 Ulrich Drepper <drepper@gmail.com>
49122
49123 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49124 last patch a bit. Pretty printing
49125
3056dcdb
UD
491262010-05-31 Petr Baudis <pasky@suse.cz>
49127
49128 [BZ #10085]
49129 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49130 initialization of skip_initgroups_dyn.
49131
cf7c9078
UD
491322010-11-19 Ulrich Drepper <drepper@gmail.com>
49133
49134 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49135 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49136
a1fb5e3e
UD
491372010-11-16 Ulrich Drepper <drepper@gmail.com>
49138
49139 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49140
3540d66b
AS
491412010-11-11 Andreas Schwab <schwab@redhat.com>
49142
49143 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49144 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49145 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49146 ($(objpfx)tst-fnmatch-mem): New rule.
49147 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49148 * posix/tst-fnmatch.c (main): Call mtrace.
49149
13b69574
L
491502010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49151
49152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49153 Support Intel processor model 6 and model 0x2c.
49154
da93d214
LM
491552010-11-10 Luis Machado <luisgpm@br.ibm.com>
49156
49157 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49158 signed comparison.
49159
8ca52c6e
L
491602010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49161
49162 [BZ #12205]
49163 * string/test-strncasecmp.c (check_result): New function.
49164 (do_one_test): Use it.
49165 (check1): New function.
49166 (test_main): Use it.
49167 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49168 Support strcasecmp and strncasecmp.
49169
69da074d
UD
491702010-11-08 Ulrich Drepper <drepper@gmail.com>
49171
49172 [BZ #12194]
49173 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49174 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49175
ff02d528
L
491762010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49177
49178 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49179 IFUNC support.
49180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49181 memset-x86-64.
49182 * sysdeps/x86_64/multiarch/bzero.S: New file.
49183 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49184 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49185 * sysdeps/x86_64/multiarch/memset.S: New file.
49186 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49188 Set bit_Prefer_SSE_for_memop for Intel processors.
49189 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49190 Define.
49191 (index_Prefer_SSE_for_memop): Define.
49192 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49193
344d0b54
LM
491942010-11-04 Luis Machado <luisgpm@br.ibm.com>
49195
49196 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49197 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49198
c0dde15b
UD
491992010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49200
49201 [BZ #12191]
49202 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49203 (__x86_64_raw_data_cache_size_half): Likewise.
49204 (__x86_64_raw_shared_cache_size): Likewise.
49205 (__x86_64_raw_shared_cache_size_half): Likewise.
49206
49207 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49208 (__x86_64_raw_data_cache_size_half): Likewise.
49209 (__x86_64_raw_shared_cache_size): Likewise.
49210 (__x86_64_raw_shared_cache_size_half): Likewise.
49211 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49212 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49213 and __x86_64_raw_shared_cache_size_half. Round
49214 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49215 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49216 to multiple of 256 bytes.
49217
0e516e0e
MS
492182010-11-03 Ulrich Drepper <drepper@gmail.com>
49219
49220 [BZ #12167]
49221 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49222 of inacessible symlinks. Verify result of symlink before returning it.
49223 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49224 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49225
0e012e87
ER
492262010-10-28 Erich Ritz <erichritz@gmail.com>
49227
49228 * math/math.h (isinf): Fix typo in comment.
49229
de0ff7bc
UD
492302010-11-01 Ulrich Drepper <drepper@gmail.com>
49231
49232 * po/da.po: Update from translation team.
49233
fa41c84d
UD
492342010-10-26 Ulrich Drepper <drepper@gmail.com>
49235
49236 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49237 is added to the list.
49238
f0967738
AK
492392010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49240 Ulrich Drepper <drepper@gmail.com>
49241
49242 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49243 the global list here. Move code to...
49244 (_dl_add_to_namespace_list): ...here. New function.
49245 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49246 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49247 * elf/dl-load.c (lose): Don't remove the element from the list.
49248 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49249 (_dl_map_object): Likewise.
49250
492512010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
49252
49253 [BZ #12159]
49254 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49255 into all bytes of SSE register.
49256 Patch by Richard Li <richardpku@gmail.com>.
49257
f0967738 492582010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
49259
49260 [BZ #12140]
49261 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49262 perturbing.
49263
d0b9e94f
MB
492642010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49265
49266 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49267 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49268 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49269 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49271 submachine.
49272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49273
8e9f92e9
AS
492742010-10-22 Andreas Schwab <schwab@redhat.com>
49275
49276 * include/dlfcn.h (__RTLD_SECURE): Define.
49277 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49278 mode & __RTLD_SECURE instead.
49279 (open_path): Rename preloaded parameter to secure.
49280 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49281 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49282 * elf/dl-deps.c (openaux): Likewise.
49283 * elf/rtld.c (struct map_args): Remove is_preloaded.
49284 (map_doit): Don't use it.
49285 (dl_main): Likewise.
49286 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49287 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49288
bc96fbda
AS
492892010-09-09 Andreas Schwab <schwab@redhat.com>
49290
49291 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49292 (sysd-rules-targets): Remove duplicates.
49293 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49294 rtld-%.$o dependency.
49295
22cd1c9b
AS
492962010-10-18 Andreas Schwab <schwab@redhat.com>
49297
49298 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49299 _dl_map_object do it.
49300
18edac48
UD
493012010-10-19 Ulrich Drepper <drepper@gmail.com>
49302
49303 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49304 fast fma builtins, define the macros in the C99 standard.
49305 (FP_FAST_FMAF): Likewise.
49306 (FP_FAST_FMAL): Likewise.
49307 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49308
49309 * bits/mathdef.h: Update copyright year.
49310 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49311
d2050124
MM
493122010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49313
49314 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49315 builtins, define the macros in the C99 standard.
49316 (FP_FAST_FMAF): Likewise.
49317 (FP_FAST_FMAL): Likewise.
49318 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49319 multiply/add.
49320 (FP_FAST_FMAF): Likewise.
49321
475facd1
JJ
493222010-10-15 Jakub Jelinek <jakub@redhat.com>
49323
49324 [BZ #3268]
49325 * math/libm-test.inc (fma_test): Some new testcases.
49326 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49327 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49328 y and infinite z. Do multiplication by C already in long double.
49329 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49330 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49331 y and infinite z. Do bitwise or of inexact bit into u.d.
49332 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49333 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49334 * sysdeps/i386/fpu/s_fma.S: Removed.
49335 * sysdeps/i386/fpu/s_fmal.S: Removed.
49336
7c08a05c
JJ
493372010-10-16 Jakub Jelinek <jakub@redhat.com>
49338
49339 [BZ #3268]
49340 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49341 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49342 computation is not scheduled after fetestexcept. Fix value
49343 of minimum denormal long double.
49344
f3f7372d
JJ
493452010-10-14 Jakub Jelinek <jakub@redhat.com>
49346
49347 [BZ #3268]
49348 * math/libm-test.inc (fma_test): Add some more tests.
49349 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49350 correctly.
49351
14d43591
AS
493522010-10-15 Andreas Schwab <schwab@redhat.com>
49353
49354 * scripts/data/localplt-s390-linux-gnu.data: New file.
49355 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49356
5e908464
JJ
493572010-10-13 Jakub Jelinek <jakub@redhat.com>
49358
49359 [BZ #3268]
49360 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49361 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49362 instead of dbl-64.
49363 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49364 inlines.
49365 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49366 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49367 if one of x and y is very large and the other is subnormal.
49368 * sysdeps/s390/fpu/s_fmaf.c: New file.
49369 * sysdeps/s390/fpu/s_fma.c: New file.
49370 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49371 * sysdeps/powerpc/fpu/s_fma.S: New file.
49372 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49373 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49374 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49375
493762010-10-12 Jakub Jelinek <jakub@redhat.com>
49377
49378 [BZ #3268]
49379 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49380 fma tests.
49381 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49382 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49383 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49384 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49385 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49386 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49387 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49388
b833d51f
UD
493892010-10-12 Ulrich Drepper <drepper@redhat.com>
49390
49391 [BZ #12078]
49392 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49393 * posix/bug-regex31.input: Add test case.
49394
1751705d
UD
493952010-10-11 Ulrich Drepper <drepper@gmail.com>
49396
e9b9cbf5
UD
49397 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49398 * posix/bug-regex31.input: New file.
49399
49400 [BZ #12078]
49401 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49402 (parse_sub_exp): Fix last change, use postorder.
49403
ef06edbe
UD
49404 * posix/bug-regex31.c: New file.
49405 * posix/Makefile: Add rules to build and run bug-regex31.
49406
a129c80d
UD
49407 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49408
49409 [BZ #12078]
49410 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49411
b76b818e
UD
49412 [BZ #12108]
49413 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49414 to have entries in sys_siglist.
49415
1751705d
UD
49416 [BZ #12093]
49417 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49418 be NULL.
49419
9ff8d36f
JJ
494202010-10-07 Jakub Jelinek <jakub@redhat.com>
49421
49422 [BZ #3268]
49423 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49424 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49425 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49426 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49427 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49428 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49429 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49430 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49431 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49432 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49433 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49434 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49435 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49436 * math/ftestexcept.c (fetestexcept): Likewise.
49437 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49438 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49439 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49440 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49441 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49442 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49443 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49444
af325969
UD
494452010-10-11 Ulrich Drepper <drepper@gmail.com>
49446
c579b202 49447 [BZ #12107]
af325969
UD
49448 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49449 newline.
49450
67a67b95
UD
494512010-10-06 Ulrich Drepper <drepper@gmail.com>
49452
49453 * string/bug-strstr1.c: New file.
49454 * string/Makefile: Add rules to build and run bug-strstr1.
49455
5fb308bc
EB
494562010-10-05 Eric Blake <eblake@redhat.com>
49457
49458 [BZ #12092]
49459 * string/str-two-way.h (two_way_long_needle): Always clear memory
49460 when skipping input due to the shift table.
49461
45db99c7
UD
494622010-10-03 Ulrich Drepper <drepper@gmail.com>
49463
3b111893
UD
49464 [BZ #12005]
49465 * malloc/mcheck.c: Handle large requests.
49466
45db99c7
UD
49467 [BZ #12077]
49468 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49469 for strncmp and strncasecmp.
49470 * string/stratcliff.c: Add tests for strcmp and strncmp.
49471 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49472
cf7a1eb8
NI
494732010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49474
49475 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49476 __set_fpscr.
49477
6484ba5e
AJ
494782010-09-30 Andreas Jaeger <aj@suse.de>
49479
49480 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49481 (CGROUP_SUPER_MAGIC): Define.
49482 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49483 Handle btrfs and cgroup file systems.
49484 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49485 Likewise.
49486
91c42559
LM
494872010-09-27 Luis Machado <luisgpm@br.ibm.com>
49488
49489 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49490 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49491
87a97932
AK
494922010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49493
49494 [BZ #12067]
49495 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49496 trying to locate the ELF header.
49497
c21cc9bc
AS
494982010-09-27 Andreas Schwab <schwab@redhat.com>
49499
49500 [BZ #11611]
49501 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49502 Mask out sign-bit copies when constructing f_fsid.
49503
315970f6
PB
495042010-09-24 Petr Baudis <pasky@suse.cz>
49505
49506 * debug/stack_chk_fail_local.c: Add missing licence exception.
49507 * debug/warning-nop.c: Likewise.
49508
1ac7a2c7
JM
495092010-09-15 Joseph Myers <joseph@codesourcery.com>
49510
49511 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49512 implementing getdents64 using getdents syscall, set d_type if
49513 __ASSUME_GETDENTS32_D_TYPE.
49514
56801c50
AS
495152010-09-16 Andreas Schwab <schwab@redhat.com>
49516
49517 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49518 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49519
dda51327
UD
495202010-09-21 Ulrich Drepper <drepper@redhat.com>
49521
49522 [BZ #12037]
49523 * posix/unistd.h: Undo change of feature selection for ftruncate from
49524 2010-01-11.
49525
8ffcee4a
UD
495262010-09-20 Ulrich Drepper <drepper@redhat.com>
49527
a545ecd9 49528 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
49529 detection.
49530
e24f0a8b
AS
495312010-09-20 Andreas Schwab <schwab@redhat.com>
49532
49533 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49534 fanotify_mark.
49535 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49536
7291c56f
AS
495372010-09-14 Andreas Schwab <schwab@redhat.com>
49538
49539 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49540 variables after CHECK_SP call.
49541 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49542
bc5fb037
AS
495432010-09-13 Andreas Schwab <schwab@redhat.com>
49544 Ulrich Drepper <drepper@redhat.com>
49545
49546 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49547 re-relocationg ld.so.
49548 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49549 _dl_init_paths call.
49550 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49551 here anymore.
49552
e66e7419
UD
495532010-09-14 Ulrich Drepper <drepper@redhat.com>
49554
49555 * resolv/res_init.c (__res_vinit): Count the default server we added.
49556
c044aa75
CLT
495572010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49558 Ulrich Drepper <drepper@redhat.com>
49559
49560 [BZ #11968]
49561 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49562 (____longjmp_chk): Use %ebx for saving value across system call.
49563 Add unwind info.
49564
32cf4069
AS
495652010-09-06 Andreas Schwab <schwab@redhat.com>
49566
49567 * manual/Makefile: Don't mix pattern rules with normal rules.
49568
817328ee
AS
495692010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49570
49571 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49572 operation.
49573 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49574 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49575 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49576 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49577 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49578 Likewise.
49579
29fddf61
UD
495802010-09-04 Ulrich Drepper <drepper@redhat.com>
49581
49582 [BZ #11979]
49583 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49584 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49585
0959ffc9
UD
495862010-09-02 Ulrich Drepper <drepper@redhat.com>
49587
49588 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49589 * sysdeps/x86_64/addmul_1.S: Likewise.
49590 * sysdeps/x86_64/lshift.S: Likewise.
49591 * sysdeps/x86_64/mul_1.S: Likewise.
49592 * sysdeps/x86_64/rshift.S: Likewise.
49593 * sysdeps/x86_64/sub_n.S: Likewise.
49594 * sysdeps/x86_64/submul_1.S: Likewise.
49595
ece29840
ST
495962010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49597
0959ffc9
UD
49598 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49599 Define __sched_param instead of SCHED_* and sched_param when
ece29840 49600 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 49601 * bits/sched.h [__need_schedparam]
ece29840 49602 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
49603 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49604 (__defined_schedparam): Define to 1.
ece29840
ST
49605 (__sched_param): New structure, identical to sched_param.
49606 (__need_schedparam): Undefine.
49607
e53a31fe
MF
496082010-08-31 Mike Frysinger <vapier@gentoo.org>
49609
fdc0c10d
MF
49610 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49611 (epoll_create1): Declare.
49612
e53a31fe
MF
49613 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49614
a726d796
AS
496152010-08-31 Andreas Schwab <schwab@redhat.com>
49616
49617 [BZ #7066]
49618 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49619 shifting retval into place.
49620
2f3e3dc7
UD
496212010-09-01 Ulrich Drepper <drepper@redhat.com>
49622
f2933da9
UD
49623 * nis/rpcsvc/nis.h: Update copyright notice.
49624 * nis/rpcsvc/nis.x: Likewise.
49625 * nis/rpcsvc/nis_callback.h: Likewise.
49626 * nis/rpcsvc/nis_callback.x: Likewise.
49627 * nis/rpcsvc/nis_object.x: Likewise.
49628 * nis/rpcsvc/nis_tags.h: Likewise.
49629 * nis/rpcsvc/yp.h: Likewise.
49630 * nis/rpcsvc/yp.x: Likewise.
49631 * nis/rpcsvc/ypupd.h: Likewise.
49632 * nis/yp_xdr.c: Likewise.
49633 * nis/ypupdate_xdr.c: Likewise.
49634
2f3e3dc7
UD
49635 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49636 mainly the body of pmap_getport. Add parameters to specify timeouts.
49637 (pmap_getport): Use __libc_rpc_getport.
49638 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49639 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49640 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49641
f3dcc2f9
AS
496422010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49643
49644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49645 fanotify_mark.
49646
6d34eb5b
RM
496472010-08-27 Roland McGrath <roland@redhat.com>
49648
49649 * sysdeps/i386/i686/multiarch/Makefile
49650 (CFLAGS-varshift.c): New variable.
49651
9ea3de11
UD
496522010-08-27 Ulrich Drepper <drepper@redhat.com>
49653
c96d23fc
UD
49654 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49655 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49656
9ea3de11
UD
49657 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49658
49659 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49660
623aac7f
L
496612010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49662
49663 * sysdeps/x86_64/strlen.S: Unroll the loop.
49664 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49665 strlen-sse2 strlen-sse2-bsf.
49666 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49667 __strlen_no_bsf if bit_Slow_BSF is set.
49668 (__strlen_sse42): Removed.
49669 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49670 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49671
8b2b7715
RM
496722010-08-25 Roland McGrath <roland@redhat.com>
49673
49674 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49675 * sysdeps/x86_64/multiarch/varshift.c: New file.
49676 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49677 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49678 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49679 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49680
e73015f2
L
496812010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49682
49683 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49684 strlen-sse2 strlen-sse2-bsf.
49685 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49686 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49687 (__strlen_sse2): Removed.
49688 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49689 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49691 bit_Slow_BSF for Atom.
49692 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49693 (index_Slow_BSF): Define.
49694 (HAS_SLOW_BSF): Define.
49695
df24a73e
UD
496962010-08-25 Ulrich Drepper <drepper@redhat.com>
49697
49698 [BZ #10851]
49699 * resolv/res_init.c (__res_vinit): When no server address at all
49700 is given default to loopback.
49701
f2ac4868
RM
497022010-08-24 Roland McGrath <roland@redhat.com>
49703
09055553
RM
49704 * configure.in: Remove config-name.h generation.
49705 * configure: Regenerated.
49706 * config-name.in: File removed.
49707 * scripts/config-uname.sh: New file.
49708 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49709 ($(objdir)config-name.h): New target.
49710
f2ac4868
RM
49711 * sunrpc/rpc_parse.h: Avoid nested comment.
49712
73f27d5e
RH
497132010-08-24 Richard Henderson <rth@redhat.com>
49714 Ulrich Drepper <drepper@redhat.com>
49715 H.J. Lu <hongjiu.lu@intel.com>
49716
49717 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49719 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49720 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49721 _mm_alignr_epi8 with _mm_loadu_si128.
49722 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49723 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49724 (__m128i_shift_right): Removed.
49725 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49726 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49727 * sysdeps/x86_64/multiarch/varshift.h: New file.
49728 * sysdeps/x86_64/multiarch/varshift.S: New file.
49729
84b9230c
MF
497302010-08-21 Mike Frysinger <vapier@gentoo.org>
49731
49732 * configure.in: Move assembler checks to before sysdep dir checking.
49733
9bbd0ddc
PB
497342010-08-20 Petr Baudis <pasky@suse.cz>
49735
49736 * LICENSES: Sync the sunrpc license.
49737
9da4bb31
UD
497382010-08-19 Ulrich Drepper <drepper@redhat.com>
49739
a7ab6ec8
UD
49740 * sunrpc/auth_des.c: Update copyright notice once again.
49741 * sunrpc/auth_none.c: Likewise.
49742 * sunrpc/auth_unix.c: Likewise.
49743 * sunrpc/authdes_prot.c: Likewise.
49744 * sunrpc/authuxprot.c: Likewise.
49745 * sunrpc/bindrsvprt.c: Likewise.
49746 * sunrpc/clnt_gen.c: Likewise.
49747 * sunrpc/clnt_perr.c: Likewise.
49748 * sunrpc/clnt_raw.c: Likewise.
49749 * sunrpc/clnt_simp.c: Likewise.
49750 * sunrpc/clnt_tcp.c: Likewise.
49751 * sunrpc/clnt_udp.c: Likewise.
49752 * sunrpc/clnt_unix.c: Likewise.
49753 * sunrpc/des_crypt.c: Likewise.
49754 * sunrpc/des_soft.c: Likewise.
49755 * sunrpc/get_myaddr.c: Likewise.
49756 * sunrpc/getrpcport.c: Likewise.
49757 * sunrpc/key_call.c: Likewise.
49758 * sunrpc/key_prot.c: Likewise.
49759 * sunrpc/openchild.c: Likewise.
49760 * sunrpc/pm_getmaps.c: Likewise.
49761 * sunrpc/pm_getport.c: Likewise.
49762 * sunrpc/pmap_clnt.c: Likewise.
49763 * sunrpc/pmap_prot.c: Likewise.
49764 * sunrpc/pmap_prot2.c: Likewise.
49765 * sunrpc/pmap_rmt.c: Likewise.
49766 * sunrpc/rpc/auth.h: Likewise.
49767 * sunrpc/rpc/auth_unix.h: Likewise.
49768 * sunrpc/rpc/clnt.h: Likewise.
49769 * sunrpc/rpc/des_crypt.h: Likewise.
49770 * sunrpc/rpc/key_prot.h: Likewise.
49771 * sunrpc/rpc/netdb.h: Likewise.
49772 * sunrpc/rpc/pmap_clnt.h: Likewise.
49773 * sunrpc/rpc/pmap_prot.h: Likewise.
49774 * sunrpc/rpc/pmap_rmt.h: Likewise.
49775 * sunrpc/rpc/rpc.h: Likewise.
49776 * sunrpc/rpc/rpc_des.h: Likewise.
49777 * sunrpc/rpc/rpc_msg.h: Likewise.
49778 * sunrpc/rpc/svc.h: Likewise.
49779 * sunrpc/rpc/svc_auth.h: Likewise.
49780 * sunrpc/rpc/types.h: Likewise.
49781 * sunrpc/rpc/xdr.h: Likewise.
49782 * sunrpc/rpc_clntout.c: Likewise.
49783 * sunrpc/rpc_cmsg.c: Likewise.
49784 * sunrpc/rpc_common.c: Likewise.
49785 * sunrpc/rpc_cout.c: Likewise.
49786 * sunrpc/rpc_dtable.c: Likewise.
49787 * sunrpc/rpc_hout.c: Likewise.
49788 * sunrpc/rpc_main.c: Likewise.
49789 * sunrpc/rpc_parse.c: Likewise.
49790 * sunrpc/rpc_parse.h: Likewise.
49791 * sunrpc/rpc_prot.c: Likewise.
49792 * sunrpc/rpc_sample.c: Likewise.
49793 * sunrpc/rpc_scan.c: Likewise.
49794 * sunrpc/rpc_scan.h: Likewise.
49795 * sunrpc/rpc_svcout.c: Likewise.
49796 * sunrpc/rpc_tblout.c: Likewise.
49797 * sunrpc/rpc_util.c: Likewise.
49798 * sunrpc/rpc_util.h: Likewise.
49799 * sunrpc/rpcinfo.c: Likewise.
49800 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49801 * sunrpc/rpcsvc/key_prot.x: Likewise.
49802 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49803 * sunrpc/rpcsvc/mount.x: Likewise.
49804 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49805 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49806 * sunrpc/rpcsvc/rex.x: Likewise.
49807 * sunrpc/rpcsvc/rstat.x: Likewise.
49808 * sunrpc/rpcsvc/rusers.x: Likewise.
49809 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49810 * sunrpc/rpcsvc/spray.x: Likewise.
49811 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49812 * sunrpc/rtime.c: Likewise.
49813 * sunrpc/svc.c: Likewise.
49814 * sunrpc/svc_auth.c: Likewise.
49815 * sunrpc/svc_authux.c: Likewise.
49816 * sunrpc/svc_raw.c: Likewise.
49817 * sunrpc/svc_run.c: Likewise.
49818 * sunrpc/svc_simple.c: Likewise.
49819 * sunrpc/svc_tcp.c: Likewise.
49820 * sunrpc/svc_udp.c: Likewise.
49821 * sunrpc/svc_unix.c: Likewise.
49822 * sunrpc/svcauth_des.c: Likewise.
49823 * sunrpc/xcrypt.c: Likewise.
49824 * sunrpc/xdr.c: Likewise.
49825 * sunrpc/xdr_array.c: Likewise.
49826 * sunrpc/xdr_float.c: Likewise.
49827 * sunrpc/xdr_mem.c: Likewise.
49828 * sunrpc/xdr_rec.c: Likewise.
49829 * sunrpc/xdr_ref.c: Likewise.
49830 * sunrpc/xdr_sizeof.c: Likewise.
49831 * sunrpc/xdr_stdio.c: Likewise.
49832
9da4bb31
UD
49833 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49834 handling.
49835
bdaa77bc
AS
498362010-08-19 Andreas Schwab <schwab@redhat.com>
49837
49838 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49839
fe2f79db
LM
498402010-08-19 Luis Machado <luisgpm@br.ibm.com>
49841
49842 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49843 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49844 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49845 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49846 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49847 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49848 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49849 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49850 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49851 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49852 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49853 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49854 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49855 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49856
b9b42ee0
AB
498572010-07-26 Anton Blanchard <anton@samba.org>
49858
49859 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49860 * malloc/arena.c (heap_trim): Likewise.
49861
1c06ba31
UD
498622010-08-16 Ulrich Drepper <drepper@redhat.com>
49863
49864 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49865 here. Not...
49866 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49867 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49868
f8392f40
L
498692010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49870
49871 * sysdeps/i386/elf/Makefile: New file.
49872
3162f12e
AS
498732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49874
49875 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49876 from fanotify_init.
49877 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49878 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49879
28c90b2c
UD
498802010-08-15 Ulrich Drepper <drepper@redhat.com>
49881
49882 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49883 of strncasecmp_l.
1feccb6c 49884 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 49885
ca6bb004
UD
498862010-08-14 Ulrich Drepper <drepper@redhat.com>
49887
e9f82e0d
UD
49888 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49889 strncase_l-nonascii.
49890 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49891 Add strncase_l-ssse3.
49892 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49893 * sysdeps/x86_64/strcmp.S: Likewise.
49894 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49895 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49896 * sysdeps/x86_64/strncase.S: New file.
49897 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49898 * sysdeps/x86_64/strncase_l.S: New file.
49899 * string/Makefile (strop-tests): Add strncasecmp.
49900 * string/test-strncasecmp.c: New file.
49901
49902 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49903 warning.
49904
ca6bb004
UD
49905 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49906 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49907
052fa7b3
AS
499082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49909
49910 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49911
962dba78
UD
499122010-08-12 Ulrich Drepper <drepper@redhat.com>
49913
49914 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49915 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49916 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49917
bebff237
AM
499182010-05-01 Alan Modra <amodra@gmail.com>
49919
49920 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49921 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49922 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49923 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49924 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49925 tidying. Don't tail-call __sigjmp_save for static lib.
49926 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49927 save location.
49928 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49929 (CALL_MCOUNT): Add eh info, and nop after bl.
49930 (TAIL_CALL_SYSCALL_ERROR): New macro.
49931 (PSEUDO_RET): Use it.
49932 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49933 Correct save location of integer regs and cr.
49934 (_dl_profile_resolve): Correct cr save location. Delete nops
49935 after bl when SHARED. Reduce cfi size a little by better
49936 placement of cfi directives.
49937 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49938 make a stack frame. Instead use parm save area as a temp.
49939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49940 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49942 Don't make a stack frame for parent, use parm save area.
49943 Increase child stack frame to 112 bytes. Don't save unused reg,
49944 and adjust reg usage. Set up cfi on error recovery and
49945 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49947 (__makecontext): Add dummy nop after jump to exit.
49948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49949 Use correct parm save area and cr save, reduce stack frame.
49950 Correct cfi for possible PSEUDO_RET frame setup.
49951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49952 Branch to local label emitted by PSEUDO_RET rather than
49953 __syscall_error.
49954
02637374
AS
499552010-08-12 Andreas Schwab <schwab@redhat.com>
49956
49957 [BZ #11904]
49958 * locale/programs/locale.c (print_assignment): New function.
49959 (show_locale_vars): Use it.
49960
c3e2f19b
UD
499612010-08-11 Ulrich Drepper <drepper@redhat.com>
49962
3cdaa6ad
UD
49963 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49964 field.
49965 (struct statfs64): Likewise.
49966 (_STATFS_F_FLAGS): Define.
49967 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49968 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49969 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49970 (ST_VALID): Define locally.
49971 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49972 __statvfs_getflags, use the provided value.
49973 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49974 __ASSUME_STATFS_F_FLAGS.
49975
754f7da3
UD
49976 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49977
10b3bedc
UD
49978 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49979 Add sys/fanotify.h.
49980 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49981 fanotify_mask for GLIBC_2.13.
49982 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49983 fanotify_init and fanotify_mark.
49984 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49985 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49986
c08fb0d7
UD
49987 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49988 Add prlimit.
49989 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49990 prlimit64 for GLIBC_2.13.
49991 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49992 prlimit64.
49993 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49994 syscall.
49995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49996 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49997 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49998 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49999 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50000 add prlimit alias.
50001 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50002
15bac72b
UD
50003 [BZ #11903]
50004 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50005 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50006
c3e2f19b
UD
50007 * nss/Makefile: Add rules to build and run tst-nss-test1.
50008 * shlib-versions: Add entry for libnss_test1.
50009 * nss/nss_test1.c: New file.
50010 * nss/tst-nss-test1.c: New file.
50011
50012 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50013 (__nss_configure_lookup): Set appropriate entry in
50014 __nss_configure_lookup to true.
50015 * nss/nsswitch.h: Define enum with indeces of databases in
50016 databases and __nss_database_custom arrays. Declare
50017 __nss_database_custom.
50018 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50019 to avoid using nscd when custom rules are installed.
50020 * nss/getXXbyYY_r.c: Likewise.
50021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50022
50023 * nss/nss_files/files-parse.c: Whitespace fixes.
50024
f15ce4d8
UD
500252010-08-09 Ulrich Drepper <drepper@redhat.com>
50026
50027 [BZ #11883]
50028 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50029 * posix/fnmatch_loop.c: Likewise.
50030
d22e4cc9
AK
500312010-07-17 Andi Kleen <ak@linux.intel.com>
50032
50033 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50034 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50035 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50036 * Versions.def [GLIBC_2.13]: Add.
50037
805bc17d
UD
500382010-08-06 Ulrich Drepper <drepper@redhat.com>
50039
50040 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50041 Also fail if tpwd after pwuid call is NULL.
50042
5a42321d
ST
500432010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50044
50045 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50046 when converting to ms.
50047
fd3ebeda
ST
500482010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50049
50050 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50051 EOPNOTSUPP errors with ENOTTY.
50052 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50053 EOPNOTSUPP errors with ENOTTY.
50054
73507d3a
UD
500552010-07-31 Ulrich Drepper <drepper@redhat.com>
50056
50057 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50058 Add strcasecmp_l-ssse3.
50059 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50060 strcasecmp.
50061 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50062 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50063 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50064
fe36dd02
UD
500652010-07-30 Ulrich Drepper <drepper@redhat.com>
50066
66f6765a
UD
50067 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50068
42e08a54
UD
50069 * string/Makefile (strop-tests): Add strcasecmp.
50070 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50071 strcasecmp_l-nonascii.
50072 (gen-as-const-headers): Add locale-defines.sym.
50073 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50074 * sysdeps/x86_64/strcasecmp.S: New file.
50075 * sysdeps/x86_64/strcasecmp_l.S: New file.
50076 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50077 * sysdeps/x86_64/locale-defines.sym: New file.
50078 * string/test-strcasecmp.c: New file.
50079
fe36dd02
UD
50080 * string/test-strcasestr.c: Test both ends of the range of characters.
50081 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50082
48cbc0d6
RM
500832010-07-29 Roland McGrath <roland@redhat.com>
50084
76e6d6bc 50085 [BZ #11856]
48cbc0d6
RM
50086 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50087
880113d9
UD
500882010-07-27 Ulrich Drepper <drepper@redhat.com>
50089
50090 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50091 for ld.so.
50092
deb9cabb
AS
500932010-07-27 Andreas Schwab <schwab@redhat.com>
50094
50095 * manual/memory.texi (Malloc Tunable Parameters): Document
50096 M_PERTURB.
50097
1c7570ff
RM
500982010-07-26 Roland McGrath <roland@redhat.com>
50099
50100 [BZ #11840]
50101 * configure.in (-fgnu89-inline check): Set and substitute
50102 gnu89_inline, not libc_cv_gnu89_inline.
50103 * configure: Regenerated.
50104 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50105
24fb0f88
UD
501062010-07-26 Ulrich Drepper <drepper@redhat.com>
50107
50108 * string/test-strnlen.c: New file.
50109 * string/Makefile (strop-tests): Add strnlen.
50110 * string/tester.c (test_strnlen): Add a few more test cases.
50111 * string/tst-strlen.c: Better error reporting.
50112
50113 * sysdeps/x86_64/strnlen.S: New file.
50114
8e96b93a
UD
501152010-07-24 Ulrich Drepper <drepper@redhat.com>
50116
50117 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50118 lower-latency instructions.
50119
dbc676d4
UD
501202010-07-23 Ulrich Drepper <drepper@redhat.com>
50121
50122 * string/test-strcasestr.c: New file.
50123 * string/test-strstr.c: New file.
50124 * string/Makefile (strop-tests): Add strstr and strcasestr.
50125 * string/str-two-way.h: Don't undefine MAX.
50126 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50127
f6a31e0e
AS
501282010-07-21 Andreas Schwab <schwab@redhat.com>
50129
50130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50131 strcasestr-nonascii.
50132 (CFLAGS-strcasestr-nonascii.c): Define.
50133 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50134 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50135 Remove unused attribute.
50136
5dbc3b6c
RM
501372010-07-20 Roland McGrath <roland@redhat.com>
50138
50139 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50140 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50141 ld.so.cache was broken. With it, there is no way to disable dsocaps
50142 like LD_HWCAP_MASK can disable hwcaps.
50143
23d101d8
EPM
501442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50145
50146 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50147
cc9f2e47
UD
501482010-07-16 Ulrich Drepper <drepper@redhat.com>
50149
50150 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50151 call in strcasestr.
50152 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50153 __strcasestr_sse42_nonascii.
50154 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50155 strcasestr-nonascii.c.
50156 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50157
77c1b069
LM
501582010-06-15 Luis Machado <luisgpm@br.ibm.com>
50159
50160 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50161 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50162 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50163 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50164
440566c3
UD
501652010-07-09 Ulrich Drepper <drepper@redhat.com>
50166
50167 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50168 fcntl.
50169
5be9d05d
AS
501702010-07-06 Andreas Schwab <schwab@redhat.com>
50171
c30b7ee2 50172 [BZ #11577]
5be9d05d
AS
50173 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50174 dl_signal_cerror.
50175
8a492a67
UD
501762010-07-06 Ulrich Drepper <drepper@redhat.com>
50177
50178 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50179 _PC_PIPE_BUF using F_GETPIPE_SZ.
50180
713df3d5
RM
501812010-07-05 Roland McGrath <roland@redhat.com>
50182
50183 * manual/arith.texi (Rounding Functions): Fix rint description
50184 implicit in round description.
50185
702e8f14
UD
501862010-07-02 Ulrich Drepper <drepper@redhat.com>
50187
50188 * elf/Makefile: Fix linking for a few tests to make recent linker
50189 happy.
50190
52ed8be9
AS
501912010-06-30 Andreas Schwab <schwab@redhat.com>
50192
50193 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50194 $(common-objpfx)libc_nonshared.a.
50195
f47c9a11
LM
501962010-06-21 Luis Machado <luisgpm@br.ibm.com>
50197
50198 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50199 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50200 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50201 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50202 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50203 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50204 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50205 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50220 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50221 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50222 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50223 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50224 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50225 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50226 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50227 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50228 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50229 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50230 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50231 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50246
6fb8cbcb
L
502472010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50248
50249 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50250 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50251 * string/memmove.c (memmove): Renamed to ...
50252 (MEMMOVE): ...this. Default to memmove.
50253 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50254 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50255 (END_CHK): Define.
50256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50257 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50258 mempcpy-ssse3-back memmove-ssse3-back.
50259 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50260 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50261 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50262 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50263 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50264 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50265 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50266 * sysdeps/x86_64/multiarch/memmove.c: New file.
50267 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50268 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50269 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50270 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50271 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50272 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50273 Define.
50274 (index_Fast_Copy_Backward): Define.
50275 (HAS_ARCH_FEATURE): Define.
50276 (HAS_FAST_REP_STRING): Define.
50277 (HAS_FAST_COPY_BACKWARD): Define.
50278
4e733bac 502792010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
50280
50281 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50282 Restore proper fallback handling.
50283
63c4ed22
UD
502842010-06-19 Ulrich Drepper <drepper@redhat.com>
50285
ac2b484c
UD
50286 [BZ #11701]
50287 * posix/group_member.c (__group_member): Correct checking loop.
50288
63c4ed22
UD
50289 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50290 OOM in getpwuid_r correctly. Return error number when the caller
50291 should return, otherwise -1.
50292 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50293 call returning > 0 value.
50294 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50295
765ade4b
AS
502962010-06-07 Andreas Schwab <schwab@redhat.com>
50297
50298 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50299 libc_nonshared.a from targets in modules-names.
50300
80da2e09
KS
503012010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50302
50303 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50304 requires it.
50305
158db122
LM
503062010-06-10 Luis Machado <luisgpm@br.ibm.com>
50307
50308 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50309 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50310 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50311 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50312
caa78cf8
AS
503132010-06-02 Andreas Schwab <schwab@redhat.com>
50314
50315 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50316
b2ef2c01
UD
503172010-06-14 Ulrich Drepper <drepper@redhat.com>
50318
50319 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50320 and F_GETPIPE_SZ.
50321 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50322 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50323 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50324 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50325 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50326 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50327
fbd643b6
RM
503282010-06-14 Roland McGrath <roland@redhat.com>
50329
50330 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50331
f32f2869
JJ
503322010-06-07 Jakub Jelinek <jakub@redhat.com>
50333
50334 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50335 __REDIRECT followed by __THROW.
50336 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50337 * posix/getopt.h (getopt): Likewise.
50338
2a50c078
EPM
503392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50340
50341 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50342 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50343 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50344 in AT_FLAGS.
50345 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50346 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50347
eb5ad2eb
LM
503482010-05-28 Luis Machado <luisgpm@br.ibm.com>
50349
50350 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50351
3c88fe1e
L
503522010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50353
50354 [BZ #11640]
50355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50356 Properly check family and model.
50357
d2f73151
TY
503582010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50359
50360 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50361
ebd2e13d
LM
503622010-05-24 Luis Machado <luisgpm@br.ibm.com>
50363
50364 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50365
b32b8b45
UD
503662010-05-21 Ulrich Drepper <drepper@redhat.com>
50367
50368 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50369 symbol reference.
50370
9acbe24d
AS
503712010-05-19 Andreas Schwab <schwab@redhat.com>
50372
50373 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50374 symbol reference.
50375
f0ccf6ea
AS
503762010-05-21 Andreas Schwab <schwab@redhat.com>
50377
3d04ff3a
AS
50378 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50379 and internal_recvmmsg.
50380 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50381 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50382 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50383 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50384
f0ccf6ea
AS
50385 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50386 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50387 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50388
5b08ac57
AS
503892010-05-20 Andreas Schwab <schwab@redhat.com>
50390
50391 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50392
4828935d
LM
503932010-05-17 Luis Machado <luisgpm@br.ibm.com>
50394
50395 POWER7 optimizations.
50396 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50397 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50398
373d545e
UD
503992010-05-19 Ulrich Drepper <drepper@redhat.com>
50400
50401 * version.h: Update for 2.13 development version.
50402
21a2b1ae
AS
504032010-05-12 Andrew Stubbs <ams@codesourcery.com>
50404
50405 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50406 exceptions. Return 0.
50407
3f7dcb2b
RM
504082010-05-07 Roland McGrath <roland@redhat.com>
50409
50410 * elf/ldconfig.c (main): Add a const.
50411
5f24d53a 504122010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 50413
a160f8d8
UD
50414 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50415 (args_options): Add no-idn option.
50416 (ahosts_keys_int): Add idn_flags to ai_flags.
50417 (parse_option): Handle 'i' option to clear idn_flags.
50418
5f24d53a
UD
50419 * malloc/malloc.c (_int_free): Possible race in the most recently
50420 added check. Only act on the data if no current modification
50421 happened.
265bb1ce
UD
50422
50423See ChangeLog.17 for earlier changes.