]> sourceware.org Git - glibc.git/blame - ChangeLog
Correctly size profiling reloc table (bug 17411)
[glibc.git] / ChangeLog
CommitLineData
62058ce6
CD
12014-09-29 Carlos O'Donell <carlos@redhat.com>
2 Matthew LeGendre <legendre1@llnl.gov>
3
4 [BZ #17411]
5 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6 l_reloc_result.
7
8e257a29
KS
82014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9
10 * stdio-common/printf_fp.c
11 (hack_digit): New function, broken out of ...
12 (__printf_fp): ... local function here. Update call sites.
13 hack_digit now takes an additional parameter that is a pointer
14 to a struct of the referenced locals. Those locals moved inside
15 the struct and references updated.
16
f4a58f0d
L
172014-09-29 H.J. Lu <hongjiu.lu@intel.com>
18
19 * aclocal.m4: Require autoconf 2.69.
20 * configure: Regenerated.
21 * sysdeps/aarch64/configure: Likewise.
22 * sysdeps/alpha/configure: Likewise.
23 * sysdeps/arm/armv7/configure: Likewise.
24 * sysdeps/arm/configure: Likewise.
25 * sysdeps/ia64/configure: Likewise.
26 * sysdeps/mach/configure: Likewise.
27 * sysdeps/mips/configure: Likewise.
28 * sysdeps/s390/configure: Likewise.
29 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
31
32 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
33 file.
34 * sysdeps/ia64/configure.ac: Likewise.
35
93ae1eba
JM
362014-09-26 Joseph Myers <joseph@codesourcery.com>
37
1810d3ab
JM
38 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
39 specify symbol version for ld.so. Do not include entry for
40 libpthread.
41 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
43 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44
93ae1eba
JM
45 [BZ #14171]
46 * Makeconfig [$(build-shared) = yes]
47 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
48 makefiles.
49 [$(build-shared) = yes && $(soversions.mk-done) = t]
50 ($(common-objpfx)gnu/lib-names.h): Remove rule.
51 [$(build-shared) = yes && $(soversions.mk-done) = t]
52 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
53 to Makerules.
54 [$(build-shared) = yes && $(soversions.mk-done) = t]
55 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
56 here.
57 [$(build-shared) = yes && $(soversions.mk-done) = t]
58 (common-generated): Don't append gnu/lib-names.h and
59 gnu/lib-names.stmp here.
60 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
61 (lib-names-h-abi): New variable.
62 [$(build-shared) = yes && $(soversions.mk-done) = t]
63 (lib-names-stmp-abi): Likewise.
64 [$(build-shared) = yes && $(soversions.mk-done) = t &&
65 abi-variants] (before-compile): Append
66 $(common-objpfx)$(lib-names-h-abi).
67 [$(build-shared) = yes && $(soversions.mk-done) = t &&
68 abi-variants] (common-generated): Append gnu/lib-names.h.
69 [$(build-shared) = yes && $(soversions.mk-done) = t &&
70 abi-variants] (install-others-nosubdir): Depend on
71 $(inst_includedir)/$(lib-names-h-abi).
72 [$(build-shared) = yes && $(soversions.mk-done) = t &&
73 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
74 [$(build-shared) = yes && $(soversions.mk-done) = t]
75 ($(common-objpfx)$(lib-names-h-abi)): New rule.
76 [$(build-shared) = yes && $(soversions.mk-done) = t]
77 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
78 [$(build-shared) = yes && $(soversions.mk-done) = t]
79 (common-generated): Append $(lib-names-h-abi) and
80 $(lib-names-stmp-abi).
81 * scripts/lib-names.awk: Do not handle multi being set.
82 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
83 Remove variable.
84 (abi-lp64_be-ld-soname): Likewise.
85 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
86 Likewise.
87 (abi-hard-ld-soname): Likewise.
88 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
89 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
90 Remove variable.
91 (abi-o32_hard-ld-soname): Likewise.
92 (abi-o32_soft_2008-ld-soname): Likewise.
93 (abi-o32_hard_2008-ld-soname): Likewise.
94 (abi-n32_soft-ld-soname): Likewise.
95 (abi-n32_hard-ld-soname): Likewise.
96 (abi-n32_soft_2008-ld-soname): Likewise.
97 (abi-n32_hard_2008-ld-soname): Likewise.
98 (abi-n64_soft-ld-soname): Likewise.
99 (abi-n64_hard-ld-soname): Likewise.
100 (abi-n64_soft_2008-ld-soname): Likewise.
101 (abi-n64_hard_2008-ld-soname): Likewise.
102 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
103 Likewise.
104 (abi-64-v2-ld-soname): Likewise.
105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
106 ld.so entries.
107 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
108 variable.
109 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
110 entry.
111 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
112 variable.
113 (abi-64-ld-soname): Likewise.
114 (abi-x32-ld-soname): Likewise.
115 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
116 entry.
117 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
118
68870f12
JM
1192014-09-23 Joseph Myers <joseph@codesourcery.com>
120
121 [BZ #14138]
122 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
123 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
124 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
125 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
126 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
127 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
128 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
129 syscall entry for GLIBC_2.2 symbol version.
130 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
131 Likewise.
132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
133 (setrlimit): Likewise.
134 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
135 Likewise.
136
ea58f202
WN
1372014-09-23 Will Newton <will.newton@linaro.org>
138
139 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
140 _LINUX_ARM_SYSDEP_H include guard too.
141 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
142 define.
143
69eb9a18
RV
1442014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
145
146 * sysdeps/unix/sysv/linux/eventfd.c:
147 Make first argument unsigned.
148 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
149 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
150
20e5a5f7
OB
1512014-09-20 Ondřej Bílka <neleai@seznam.cz>
152
153 * socket/recvmmsg.c (recvmmsg): Drop const argument.
154 * socket/sys/socket.h: Likewise
155 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
156
d3c827e7
AK
1572014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
158
159 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
160
fe1cc35a
AS
1612014-09-17 Arjun Shankar <arjun.is@lostca.se>
162
163 * time/tst-ftime.c: New test.
164 * time/Makefile (tests): Add tst-ftime.
165
4e8afe69
JM
1662014-09-17 Joseph Myers <joseph@codesourcery.com>
167
c4fe3ea7
JM
168 * soft-fp/extended.h: Fix comment formatting.
169 * soft-fp/op-1.h: Likewise.
170 * soft-fp/op-2.h: Likewise.
171 * soft-fp/op-4.h: Likewise.
172 * soft-fp/op-8.h: Likewise.
173 * soft-fp/op-common.h: Likewise.
174 * soft-fp/soft-fp.h: Likewise.
175
4e8afe69
JM
176 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
177
af296fcd
JM
1782014-09-16 Joseph Myers <joseph@codesourcery.com>
179
180 [BZ #6652]
181 * Makeconfig (soversions-default-setname): Remove variable.
182 ($(common-objpfx)soversions.i): Don't pass default_setname to
183 soversions.awk.
184 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
185 oldest_abi to abi-versions.awk.
186 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
187 * config.make.in (oldest-abi): Remove variable.
188 * configure.ac (--enable-oldest-abi): Remove configure option.
189 * configure: Regenerated.
190 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
191 text.
192 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
193 * scripts/soversions.awk: Do not handle default_setname variable.
194 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
195 variable.
196 * sysdeps/mach/hurd/configure: Regenerated.
197 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
198 variable.
199 * sysdeps/unix/sysv/linux/configure: Regenerated.
200
545583d6
SP
2012014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
202
d330b980
SP
203 * elf/Makefile (CFLAGS-interp.c): Remove.
204 ($(elf-objpfx)runtime-linker.h): Generate header with linker
205 path string.
206 * elf/interp.c: Include generated runtime-linker.h
207
02657da2
SP
208 * Makerules (lib%.so): Don't include $(+interp) in
209 prerequisites.
210 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
211 * dlfcn/eval.c: Remove file.
212
653b1080
SP
213 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
214 macros.
215
602f80ec
SP
216 [BZ #17266]
217 * misc/sys/cdefs.h: Define __extern_always_inline for clang
218 4.2 and newer.
219
545583d6
SP
220 [BZ #17370]
221 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
222
884ddc50
SP
2232014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
224 Jakub Jelinek <jakub@redhat.com>
225
226 [BZ #17266]
227 * libio/stdio.h: Check definition of __fortify_function
228 instead of __extern_always_inline to include bits/stdio2.h.
229 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
230 check if __extern_always_inline is defined.
231 [__USE_MISC || __USE_XOPEN]: Likewise.
232 [__USE_ISOC99] Likewise.
233 * misc/sys/cdefs.h (__fortify_function): Define only if
234 __extern_always_inline is defined.
235 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
236 __extern_always_inline and __extern_inline only for g++-4.3
237 and newer or a compatible gcc.
238
a7b87268
AS
2392014-09-15 Andreas Schwab <schwab@linux-m68k.org>
240
241 [BZ #17371]
242 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
243 last change to handle zero prefix length.
244
3f41521d
SP
2452014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
246
61fe374a
SP
247 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
248 _SC_REGEX_VERSION.
249
3f41521d
SP
250 * posix/getconf.c (vars): Add _POSIX_IPV6 and
251 _POSIX_RAW_SOCKETS.
252
d8f879ee
AM
2532014-09-13 Allan McRae <allan@archlinux.org>
254
255 * po/ru.po: Update Russian translation from translation project.
256
c079afb7
RM
2572014-09-12 Roland McGrath <roland@hack.frob.com>
258
a62b3c15
RM
259 * locale/programs/locale.c (show_locale_vars): Inline local function
260 into its sole call site. Clean up some style nits.
261 (print_item): New function, broken out of ...
262 (show_info): ... local function here. Clean up style nits.
263
d7e49b19
RM
264 * locale/programs/ld-ctype.c (set_one_default): New function, broken
265 out of ...
266 (set_class_defaults): ... local function set_default here.
267 Define set_default as a macro locally to pass constant parameters.
268 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
269 rather than a shared local.
270
c079afb7
RM
271 * stdlib/rpmatch.c (try): New function, broken out of ...
272 (rpmatch): ... local function here. Also, prototypify definition.
273
0bd72468
JM
2742014-09-12 Joseph Myers <joseph@codesourcery.com>
275
ba90e050
JM
276 * scripts/soversions.awk: Do not handle configuration names.
277 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
278 vendor and os variables to soversions.awk.
279 * configure.ac: Do not modify gnu-* host_os.
280 * configure: Regenerated
281 * shlib-versions: Remove first column with configuration names.
282 * nptl/shlib-versions: Likewise.
283 * nptl_db/shlib-versions: Likewise.
284 * sysdeps/hppa/shlib-versions: Likewise.
285 * sysdeps/m68k/shlib-versions: Likewise.
286 * sysdeps/mach/hurd/shlib-versions: Likewise.
287 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
288 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
289 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
290 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
291 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
292 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
293 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
294 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
296 Likewise.
297 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
298 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
299 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
300 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
301 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
302 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
303 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
304 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
305
73a39112
JM
306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
307 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
309 Regenerated.
310 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
312 Condition symbol version definitions on [HAVE_ELFV2_ABI].
313
c729e7c1
JM
314 * shlib-versions: Remove OS-specific entries. Moved to files in
315 sysdeps.
316 * sysdeps/mach/hurd/shlib-versions: New file.
317 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
318
dc932a24
JM
319 * nptl/shlib-versions: Remove architecture-specific entries.
320 Moved to files in sysdeps.
321 * shlib-versions: Likewise.
322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
323 file.
324 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
325 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
326 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
327 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
328
0bd72468
JM
329 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
330 (UDP_NO_CHECK6_RX): Likewise.
331
920238e0
SP
3322014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
333
334 * sysdeps/posix/sysconf.c (__sysconf): Spell
335 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
336
ba7b4d29
FW
3372014-08-12 Florian Weimer <fweimer@redhat.com>
338
339 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
340 loading.
341 * iconv/Versions (__gconv_transliterate): Export for use from
342 gconv modules.
343 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
344 (struct __gconv_trans_data, __gconv_trans_fct,
345 __gconv_trans_context_fct, __gconv_trans_query_fct,
346 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
347 definitions.
348 (struct __gconv_step_data): Remove __trans member.
349 (__gconv_transliterate): Declaration moved from gconv_int.h. No
350 longer hidden. Remove unused trans_data argument.
351 * iconv/gconv_int.h (struct trans_struct): Remove definition.
352 (__gconv_translit_find): Remove declaration.
353 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
354 prototype.
355 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
356 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
357 trans_data argument. Add hidden definition.
358 (__gconv_translit_find): Remove.
359 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
360 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
361 * iconv/skeleton.c: Remove transliteration initialization.
362 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
363 __gconv_step_data initialization.
364 * libio/iofwide.c (__libio_translit_): Remove.
365 (_IO_fwide): Adjust struct __gconv_step_data initialization.
366 * wcsmbs/btowc.c (__btowc): Likewise.
367 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
368 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
369 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
370 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
371 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
372 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
373 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
374 * wcsmbs/wctob.c (wctob): Likewise.
375
5379aebd
SP
3762014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
377
378 [BZ #16194]
379 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
380 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
381 register usage.
382 * sysdeps/x86/Makefile: Adjust.
383
8c0ab919
RM
3842014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
385 Roland McGrath <roland@hack.frob.com>
386
387 * locale/weight.h: Add include guard.
388 (findidx): Make static rather than auto; take new parameters
389 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
390 * locale/weightwc.h: Likewise.
391 * posix/fnmatch_loop.c
392 (FCT): Change type of EXTRA from int32_t to wint_t.
393 Don't include either header inside the function.
394 Call FINDIDX rather than findidx, and pass new arguments.
395 #undef FINDIDX at the end of the file.
396 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
397 FINDIDX before including fnmatch_loop.c for the non-wide version.
398 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
399 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
400 for the wide version.
401 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
402 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
403 Pass new arguments to findidx.
404 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
405 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
406 Don't #include it inside the function. Pass new arguments to findidx.
407 * posix/regex_internal.h
408 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
409 (re_string_elem_size_at): Don't #include it inside the function.
410 Pass new arguments to findidx.
411 * string/strcoll_l.c: #include WEIGHT_H at top level.
412 (get_next_seq): Don't #include it inside the function.
413 Pass new arguments to findidx.
414 (get_next_seq_nocache): Likewise.
415 * string/strxfrm_l.c: #include WEIGHT_H at top level.
416 (STRXFRM): Don't #include it inside the function.
417 Pass new arguments to findidx.
418
52ffbdf2
FW
4192014-09-11 Florian Weimer <fweimer@redhat.com>
420
421 [BZ #17344]
422 * malloc/malloc.c (unlink): Turn asserts into a call to
423 malloc_printerr.
424
984c0ea9
TL
4252014-09-11 Tim Lammens <tim.lammens@gmail.com>
426
427 [BZ #17370]
428 * libio/wfileops (do_ftell_wide): Free OUT.
429
3daee107
CM
4302014-09-10 Chris Metcalf <cmetcalf@tilera.com>
431
432 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
433
58b930ae
SP
4342014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
435
436 [BZ #17363]
437 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
438 group if the current group is empty.
439
3b473fec
AZ
4402014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
441
71ae8647
AZ
442 * benchtests/bench-memset.c (test_main): Add more test from size
443 from 32 to 512 bytes.
444 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
445 Add POWER8 memset object.
446 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
447 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
448 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
449 implementation.
450 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
451 Likewise.
452 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
453 multiarch POWER8 memset optimization.
454 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
455 POWER8 memset optimization.
456
3b473fec
AZ
457 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
458 Remove bzero multiarch objects.
459 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
460 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
461 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
462 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
463 Remove define.
464 [__bzero]: Redefine to specific name.
465 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
466 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
467 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
468 define.
469 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
470 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
471
e6fb9587
FW
4722014-09-10 Florian Weimer <fweimer@redhat.com>
473
474 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
475 warnings into errors.
476
477 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
478 __cxa_thread_atexit_impl prototype.
479
9d3a350b
SE
4802014-09-09 Steve Ellcey <sellcey@mips.com>
481
482 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
483 Fix capitalization of error message.
484
0febba23
SE
4852014-09-09 Steve Ellcey <sellcey@mips.com>
486
487 * sysdeps/mips/preconfigure: Modify ABI tests.
488
645a0e9c
CD
4892014-09-07 Carlos O'Donell <carlos@systemhalted.org>
490
491 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
492
d83f0734
CD
4932014-09-07 Roland McGrath <roland@hack.frob.com>
494 Carlos O'Donell <carlos@systemhalted.org>
495
496 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
497 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
498 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
499 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
500 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
501 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
502 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
503 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
504 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
505 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
506 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
507 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
508 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
509 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
510 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
511 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
512 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
513 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
514 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
515 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
516 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
517 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
518 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
519 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
520 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
521 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
522 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
523 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
524 Deconditionalize the code that was previously under [RESET_PID].
525 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
526 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
527 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
528 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
529 include sysdep.h.
530
21c83793
AM
5312014-09-08 Allan McRae <allan@archlinux.org>
532
533 * version.h (RELEASE): Set to "development".
534 (VERSION): Set to "2.20.90"
535
1cd9b65c
AM
5362014-09-07 Allan McRae <allan@archlinux.org
537
b8079dd0
AM
538 * version.h (RELEASE): Set to "stable".
539 (VERSION): Set to "2.20"
540 * include/features.h (__GLIBC_MINOR__): Set to 20.
541
c46303ef
AM
542 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
543 Liebler.
544
1cd9b65c
AM
545 * po/ko.po: Update Korean translation from translation project.
546
8622092d
CM
5472014-09-06 Chris Metcalf <cmetcalf@tilera.com>
548
549 [BZ #17354]
550 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
551 macro for handling signed relocations.
552
41488498
FW
5532014-09-03 Florian Weimer <fweimer@redhat.com>
554
555 [BZ #17325]
556 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
557 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
558 assert.
559 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
560 * iconvdata/ibm935.c (BODY): Likewise.
561 * iconvdata/ibm937.c (BODY): Likewise.
562 * iconvdata/ibm939.c (BODY): Likewise.
563 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
564 assert.
565 * iconvdata/Makefile (iconv-test.out): Pass module list to test
566 script.
567 * iconvdata/run-iconv-test.sh: New test loop for checking for
568 decoder crashers.
569
a78b712d
KR
5702014-09-02 Khem Raj <raj.khem@gmail.com>
571
572 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
573 libm_hidden_ver.
574
cb08abc6
AM
5752014-09-01 Allan McRae <allan@archlinux.org>
576
2c31e102
AM
577 * po/eo.po: Update Esperanto translation from translation project.
578
cb08abc6
AM
579 * po/ca.po: Update Catalan translation from translation project.
580
17a62de1
ST
5812014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
582
583 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
584 __proc_dostop call.
585
9570bc53
MW
5862014-08-27 Mark Wielaard <mjw@redhat.com>
587
588 [BZ #17319]
589 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
590 to call set_thread_area instead of hand written asm.
591 (__NR_set_thread_area): Removed define.
592 (TLS_FLAG_WRITABLE): Likewise.
593 (__ASSUME_SET_THREAD_AREA): Remove check.
594 (TLS_EBX_ARG): Remove define.
595 (TLS_LOAD_EBX): Likewise.
596
b0f955c9
ST
5972014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
598
599 Simplify atomicity of socket creation in bind.
600
601 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
602 looking up the name after linking the file.
603
529bf515
AM
6042014-08-27 Allan McRae <allan@archlinux.org>
605
606 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
607
a1a6a401
FW
6082014-08-26 Florian Weimer <fweimer@redhat.com>
609
610 [BZ #17187]
611 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
612 trans_compare, open_translit, __gconv_translit_find):
613 Remove module loading code.
614
686ab290
AM
6152014-08-26 Allan McRae <allan@archlinux.org>
616
e4e7cfd2
AM
617 * po/vi.po: Update Vietnamese translation from translation project.
618
6aa09f71
AM
619 * po/uk.po: Update Ukrainian translation from translation project.
620
edc0660e
AM
621 * po/fr.po: Update French translation from translation project.
622
7eea72ac
AM
623 * po/ru.po: Update Russian translation from translation project.
624
93c49eff
AM
625 * po/pl.po: Update Polish translation from translation project.
626
46acaf63
AM
627 * po/cs.po: Update Czech translation from translation project.
628
a9f5ce98
AM
629 * po/de.po: Update German translation from translation project.
630
373f2b78
AM
631 * po/bg.po: Update Bulgarian translation from translation project.
632
e7548bd8
AM
633 * po/sv.po: Update Sweedish translation from translation project.
634
c526bf4d
AM
635 * po/nl.po: Update Dutch translation from translation project.
636
686ab290
AM
637 * po/es.po: Update Spanish translation from translation project.
638
eb72478a
SP
6392014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
640
dd763fdb
SP
641 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
642
318c7a58
SP
643 * catgets/Makefile (CPPFLAGS-gencat): Remove.
644 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
645 (CPPFLAGS-iconvconfig): Likewise.
646 * timezone/Makefile (CPPFLAGS-zic): Likewise.
647
eb72478a
SP
648 * include/libc-symbols.h: Remove unnecessary check for
649 NOT_IN_libc.
650 * nptl/pthreadP.h: Likewise.
651 * sysdeps/aarch64/setjmp.S: Likewise.
652 * sysdeps/alpha/setjmp.S: Likewise.
653 * sysdeps/arm/sysdep.h: Likewise.
654 * sysdeps/i386/setjmp.S: Likewise.
655 * sysdeps/m68k/setjmp.c: Likewise.
656 * sysdeps/posix/getcwd.c: Likewise.
657 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
658 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
659 * sysdeps/s390/s390-32/setjmp.S: Likewise.
660 * sysdeps/s390/s390-64/setjmp.S: Likewise.
661 * sysdeps/sh/sh3/setjmp.S: Likewise.
662 * sysdeps/sh/sh4/setjmp.S: Likewise.
663 * sysdeps/unix/alpha/sysdep.h: Likewise.
664 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
665 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
666 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
667 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
670 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
671 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
672 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
673 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
674 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
675 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
676 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
677 * sysdeps/x86_64/setjmp.S: Likewise.
678
d44a052c
JM
6792014-08-13 Joseph Myers <joseph@codesourcery.com>
680
681 [BZ #17263]
682 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
683 <stdint.h>.
684 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
685 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
686
508ce3ac
SP
6872014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
688
e44c8b0e
SP
689 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
690
508ce3ac
SP
691 [BZ #17262]
692 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
693 and __x86_64__ when disabling x87 inline functions.
694
b4acef1f
L
6952014-08-12 H.J. Lu <hongjiu.lu@intel.com>
696
697 [BZ #17259]
698 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
699 asm statement with __cpuid_count.
700
61b1ef6e
MF
7012014-08-12 Mike Frysinger <vapier@gentoo.org>
702
703 * configure.ac: Change __ehdr_start code to dereference the struct.
704 Run readelf on the output to look for relocations.
705 * configure: Regenerated.
706
898c62f4
JM
7072014-08-12 Joseph Myers <joseph@codesourcery.com>
708
709 [BZ #17261]
710 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
711 value to 0.
712 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
713
9a8a5720
RM
7142014-08-12 Roland McGrath <roland@hack.frob.com>
715
716 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
717
4e75751c
BO
7182014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
719
720 [BZ #16892]
721 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
722 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
723
bb2ce416
SA
7242014-08-12 Sean Anderson <seanga2@gmail.com>
725
726 * malloc/malloc.c: Fix typo in comment.
727
7950a4ee
AM
7282014-08-09 Allan McRae <allan@archlinux.org>
729
730 * Regenerate libc.po.
731
f469c49f
MF
7322014-08-08 Mike Frysinger <vapier@gentoo.org>
733
734 * intl/tst-gettext2.sh: Check every lang file for creation.
735
656b84c2
WD
7362014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
737
738 * sysdeps/aarch64/fpu/math_private.h
739 (libc_feholdsetround_noex_aarch64_ctx): New function.
740
538e9e45
W
7412014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
742
743 * sysdeps/arm/armv6/strcpy.S (strcpy):
744 Fix performance issue in misaligned cases.
745
d4795e4a
AZ
7462014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
747
748 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
749 Move definition from termios.h.
750 (struct termio): Likewise.
751 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
752 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
753 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
754 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
755 Likewise.
756 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
757 Move definition to ioctl-types.h
758 (struct termio): Likewise.
759 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
760 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
761 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
762 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
763 Likewise.
764
64accb62
RH
7652014-08-05 Richard Henderson <rth@redhat.com>
766
27bb6dc0
RH
767 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
768 exceptions.
769 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
770 Add fraiseexcpt.
771 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
772 Use __feraiseexcept.
773 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
774 Protect libm symbols with IS_IN_libm.
775
64accb62
RH
776 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
777
e5292691
BO
7782014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
779
780 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
781
5b4bd2d4
WN
7822014-08-04 Will Newton <will.newton@linaro.org>
783
784 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
785 file.
786
fcadaeef
MF
7872014-08-04 Mike Frysinger <vapier@gentoo.org>
788
789 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
790 variants for each function.
791
43a94c64
RM
7922014-08-04 Roland McGrath <roland@hack.frob.com>
793
794 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
795 appended ...
796 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
797 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
798 appended ...
799 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
800 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
801 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
802 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
803 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
804 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
805 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
806 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
807 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
808 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
809 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
810 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
811 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
812 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
813 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
814 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
815 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
816 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
817 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
818 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
819 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
820 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
821 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
822 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
823 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
824 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
825 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
826 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
827 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
828 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
829 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
830 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
831 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
832 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
833 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
834 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
835 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
836 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
837 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
838 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
839 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
840 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
841 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
842 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
843 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
844 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
845 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
846 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
847 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
848 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
849 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
850 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
851 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
852 Update #include.
853 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
854 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
855
8f3c1fa4
RM
8562014-08-04 Roland McGrath <roland@hack.frob.com>
857
858 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
859 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
860 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
861 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
862 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
863 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
864
ca08746f
RM
8652014-08-04 Roland McGrath <roland@hack.frob.com>
866
867 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
868 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
869 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
870 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
871
9c925ff9
RM
8722014-08-04 Roland McGrath <roland@hack.frob.com>
873
874 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
875 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
876 (__libc_vfork): Define function under this name.
877 (__vfork): Define as an alias.
878 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
879 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
880
e641054c
RM
8812014-08-04 Roland McGrath <roland@hack.frob.com>
882
883 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
884 that was previously under [RESET_PID].
885 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
886
dacdc867
AS
8872014-08-04 Andreas Schwab <schwab@suse.de>
888
889 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
890
41f725ff
MF
8912014-08-03 Mike Frysinger <vapier@gentoo.org>
892
893 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
894 (main): Likewise.
895
277cfb31
RM
8962014-08-01 Roland McGrath <roland@hack.frob.com>
897
898 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
899
4896f049
RH
9002014-08-01 Richard Henderon <rth@redhat.com>
901
902 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
903 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
904 typo in exact zero test.
905 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
906 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
907 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
908
6f64e7d7
RM
9092014-08-01 Roland McGrath <roland@hack.frob.com>
910
911 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
912 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
913 * sysdeps/arm/sysdep.h: ... here.
914 [!__ASSEMBLER__]: Include <stdint.h>.
915
3f3dd810
SP
9162014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
917
a476ac4b
SP
918 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
919 (HAVE_WCTYPE_H): Likewise.
920 (HAVE_ISWCTYPE): Likewise.
921 (ENABLE_NLS): Likewise.
922 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
923 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
924
78dd658a
SP
925 * posix/regex_internal.c: Check if DEBUG is defined and is
926 set.
927
3f3dd810
SP
928 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
929 (HAVE_MBSRTOWCS): Likewise.
930 * posix/fnmatch.c: Include string.h unconditionally.
931
95ee7fb1
SL
9322014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
933
934 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
935 reversal.
936
23fe486b
RM
9372014-07-31 Roland McGrath <roland@hack.frob.com>
938
f61a113f
RM
939 * sysdeps/generic/safe-fatal.h: New file.
940 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
941 * nptl/forward.c: Include it.
942 (__pthread_unwind): Use __safe_fatal as default action, rather
943 than a bogus use of INTERNAL_SYSCALL that could never work.
944
9fe7e787
RM
945 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
946 * configure.ac (libc_cv_builtin_trap): New test.
947 * configure: Regenerated.
948 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
949 (ABORT_INSTRUCTION): Define using __builtin_trap.
950
23fe486b
RM
951 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
952 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
953 * sysdeps/nptl/nptl-signals.h: New file.
954 * nptl/pthreadP.h: Include <nptl-signals.h>.
955
f349489e
SL
9562014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
957
958 * sysdeps/s390/s390-64/utf16-utf32-z9.c
959 (ONE_DIRECTION): Define.
960 * sysdeps/s390/s390-64/utf8-utf16-z9.c
961 (ONE_DIRECTION): Define.
962 * sysdeps/s390/s390-64/utf8-utf32-z9.c
963 (ONE_DIRECTION): Define.
964
2f438e20
SL
9652014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
966
967 * sysdeps/s390/Makefile: Delete file.
968 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
969 * sysdeps/s390/__longjmp.c: Delete file.
970 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
971 Remove fields __flags and __reserved.
972 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
973 and add versioning.
974 * sysdeps/s390/rtld-__longjmp.c: Delete file.
975 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
976 * sysdeps/s390/rtld-setjmp.S: Likewise.
977 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
978 * sysdeps/s390/s390-32/__longjmp.c: ... here.
979 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
980 * sysdeps/s390/s390-32/setjmp.S: ... here.
981 Add versioning.
982 (__sigsetjmp): Remove setting __flags field.
983 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
984 * sysdeps/s390/s390-64/__longjmp.c: ... here.
985 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
986 * sysdeps/s390/s390-64/setjmp.S: ... here.
987 Add versioning.
988 (__sigsetjmp): Remove setting __flags field.
989 * sysdeps/s390/setjmp.S: Delete file.
990 * sysdeps/s390/sigjmp.c: Likewise.
991 * sysdeps/s390/v1-longjmp.c: Likewise.
992 * sysdeps/s390/v1-setjmp.h: Likewise.
993 * sysdeps/s390/v1-sigjmp.c: Likewise.
994 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
995 Remove v1-longjmp_chk.
996 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
997 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
998 Include debug/longjmp_chk.c and add versioning.
999 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1000 Include nptl/pt-longjmp.c and add versioning.
1001 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1002 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1003 Include __longjmp.c.
1004 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1005 Move to ...
1006 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1007 (__getcontext): Remove setting __flags field.
1008 Add versioning.
1009 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1010 Don't restore upper high grps.
1011 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1012 Likewise.
1013 (__swapcontext): Remove setting uc_flags field.
1014 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1015 Delete file.
1016 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1017 Include __longjmp.c.
1018 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1019 Move to ...
1020 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1021 (__getcontext): Remove setting __flags field.
1022 Add versioning.
1023 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1024 (__swapcontext): Remove setting uc_flags field.
1025 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1026 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1027 Remove fields uc_high_gprs and __reserved.
1028 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1029 New file with reverted content.
1030 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1031 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1032 Regenerated.
1033 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1034 Regenerated.
1035
6c9578a2
AS
10362014-07-31 Andreas Schwab <schwab@suse.de>
1037
1038 * config.h.in (HAVE_IFUNC): Define to 0.
1039 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1040 definedness.
1041
05f3633d
LM
10422014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1043
1044 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1045 memmove-avx-unaligned, memcpy-avx-unaligned and
1046 mempcpy-avx-unaligned.
1047 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1048 Add tests for AVX memcpy functions.
1049 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1050 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1051 memcpy_chk.
1052 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1053 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1054 memmove_chk.
1055 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1056 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1057 mempcpy_chk.
1058 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1059 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1060 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1061
a53fbd8e
AZ
10622013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1063
1064 [BZ #17213]
1065 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1066 powerpc64le.
1067
0961f7e1
JL
10682014-07-29 Jeff Layton <jlayton@poochiereds.net>
1069
1070 [BZ #16839]
1071 * manual/llio.texi: Add section about open file description locks.
1072 * manual/examples/ofdlocks.c: Example of open file description
1073 lock usage.
1074 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1075 F_OFD_SETLK, and F_OFD_SETLKW.
1076
cc5fb300
AM
10772014-07-23 Allan McRae <allan@archlinux.org>
1078
1079 * po/es.po: Update Spanish translation from translation project.
1080
23329dca
AS
10812014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1082
1083 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1084
9c82da17
MR
10852014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1086
1087 [BZ #17078]
1088 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1089 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1090 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1091
29c4f53e
JM
10922014-07-17 Joseph Myers <joseph@codesourcery.com>
1093
831b9896
JM
1094 [BZ #17088]
1095 * math/fesetenv.c (__fesetenv)
1096 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1097 * math/feupdateenv.c (__feupdateenv)
1098 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1099
b21c2d50
JM
1100 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1101 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1102 (__ASSUME_SOCKETCALL): Do not define.
1103
067764ef
JM
1104 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1105 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1106 (__ASSUME_SOCKETCALL): Do not define.
1107 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1108 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1109 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1110 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1111 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1112 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1113 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1114 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1115
642530c1
JM
1116 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1117 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1118 (__ASSUME_SOCKETCALL): Do not define.
1119 (__ASSUME_IPC64): Define unconditionally.
1120 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1121 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1122 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1123 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1124 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1125 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1126 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1127 Likewise.
1128
03f77315
JM
1129 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1130 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1131 (__ASSUME_SOCKETCALL): Do not define.
1132 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1133 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1134 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1135 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1136 (__ASSUME_REQUEUE_PI): Define unconditionally.
1137 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1138 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1139 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1140 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1141 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1142 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1143
083b1f7c
JM
1144 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1145 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1146 (__ASSUME_SOCKETCALL): Do not define.
1147 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1148 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1149 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1150 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1151 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1152 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1153
5be44ea6
JM
1154 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1155 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1156 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1157 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1158 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1159 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1160 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1161 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1162 (__ASSUME_GETCPU_SYSCALL): Likewise.
1163
d95ffd4c
JM
1164 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1165 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1166 cases for individual architectures.
1167 * sysdeps/gnu/configure: Regenerated.
1168 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1169 LIBC_SLIBDIR_RTLDDIR.
1170 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1171 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1172 LIBC_SLIBDIR_RTLDDIR.
1173 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1175 LIBC_SLIBDIR_RTLDDIR.
1176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1177 Regenerated.
1178 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1179 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1180 file.
1181 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1182 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1183 file.
1184 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1185 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1186 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1187 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1188
29c4f53e
JM
1189 * sysdeps/aarch64/shlib-versions: Move to ...
1190 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1191 * sysdeps/alpha/shlib-versions: Move to ...
1192 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1193 * sysdeps/arm/shlib-versions: Move to ...
1194 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1195 * sysdeps/hppa/shlib-versions: Move all contents except for
1196 libgcc_s entry to ...
1197 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1198 entry from ...
1199 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1200 * sysdeps/ia64/shlib-versions: Move to ...
1201 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1202 entry from ...
1203 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1204 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1205 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1206 * sysdeps/microblaze/shlib-versions: Move to ...
1207 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1208 * sysdeps/mips/shlib-versions: Move to ...
1209 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1210 entry from ...
1211 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1212 * sysdeps/tile/shlib-versions: Move to ...
1213 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1214 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1215 from ...
1216 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1217 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1218 entry from ...
1219 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1220
32bead5b
WN
12212014-07-17 Will Newton <will.newton@linaro.org>
1222
57977c4b
WN
1223 * sysdeps/arm/bits/atomic.h
1224 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1225 (__arch_compare_and_exchange_bool_16_int): Likewise.
1226 (__arch_compare_and_exchange_bool_64_int): Likewise.
1227
32bead5b
WN
1228 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1229 into an #else block.
1230
37fccd41
RM
12312014-07-16 Roland McGrath <roland@hack.frob.com>
1232
1233 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1234 just Linux configurations. Test empirically that the compiler sets
1235 __ARM_EABI__, rather than using the tuple to decide.
1236 * sysdeps/arm/preconfigure: Regenerated.
1237 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1238 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1239 contents appended ...
1240 * sysdeps/arm/configure.ac: ... here.
1241 * sysdeps/arm/configure: Regenerated.
1242
b365f3ec
RM
12432014-07-15 Roland McGrath <roland@hack.frob.com>
1244
8badf496
RM
1245 * nptl/pthread_kill.c: New file.
1246 * nptl/pthread_sigmask.c: New file.
1247 * nptl/pthread_sigqueue.c: New file.
1248
3df6f22e
RM
1249 * sysdeps/nptl/lowlevellock.h: New file.
1250 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1251 * sysdeps/nptl/lowlevellock-futex.h: New file.
1252
b365f3ec
RM
1253 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1254 Remove dead declarations.
1255
f2fef657
L
12562014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1257
1258 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1259 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1260 config-cflags-avx2.
1261 * sysdeps/x86_64/configure.ac: Likewise.
1262 * sysdeps/i386/configure: Regenerated.
1263 * sysdeps/x86_64/configure: Likewise.
1264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1265 memset-avx2 only if config-cflags-avx2 is yes.
1266 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1267 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1268 defined.
1269 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1270 only if HAVE_AVX2_SUPPORT is defined.
1271 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1272
f6c44d47
AM
12732014-07-14 Alan Modra <amodra@gmail.com>
1274
1275 [BZ #17153]
1276 * elf/elf.h (DT_PPC64_NUM): Correct value.
1277 * NEWS: Add to fixed bug list.
1278
7ee03f00
JM
12792014-07-13 Jim Meyering <meyering@fb.com>
1280
1281 [BZ 17150]
1282 regex: don't deref NULL upon heap allocation failure
1283 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1284 failure in one more place.
1285 To trigger the segfault, configure grep -with-included-regex,
1286 build it, and run these commands:
1287 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1288
9d39d517
AS
12892014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1290
1291 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1292
a75b89b7
RH
12932014-07-11 Richard Henderson <rth@redhat.com>
1294
1295 * sysdeps/aarch64/libm-test-ulps: Update.
1296
771eb141
FW
12972014-07-10 Florian Weimer <fweimer@redhat.com>
1298
1299 [BZ #17135]
1300 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1301 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1302 (__nptl_setxid): Initialize error member. Call
1303 __nptl_setxid_error.
1304 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1305 * nptl/descr.h (struct xid_command): Add error member.
1306 * nptl/tst-setuid3.c: New file.
1307 * nptl/Makefile (tests): Add it.
1308
bc1da176
AZ
13092014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1310
1311 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1312 New define.
1313 (__lll_trylock): Use __lll_base_trylock.
1314 (__lll_cond_trylock): Likewise.
1315
887865fc
RM
13162014-07-10 Roland McGrath <roland@hack.frob.com>
1317
c0c6bac9
RM
1318 * nptl/pthread_create.c (start_thread): Use atomic_or and
1319 lll_futex_wake directly rather than lll_robust_dead.
1320 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1321 (lll_robust_dead): Macro removed.
6a42be57 1322 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
1323 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1324 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1325 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1326 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1327 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1328 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1329 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1330 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1331 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1332 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1333 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1334 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1335 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1336 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1337
887865fc
RM
1338 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1339 Use atomic_compare_and_exchange_val_acq directly rather than
1340 lll_robust_trylock.
1341 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1342 (__lll_robust_trylock, lll_robust_trylock): Removed.
1343 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1344 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1345 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1346 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1347 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1348 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1349 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1350 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1351 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1352 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1353 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1354 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1355 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1356 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1357
58536726
FW
13582014-07-02 Florian Weimer <fweimer@redhat.com>
1359
1360 * manual/locale.texi (Locale Names): New section documenting
1361 locale name syntax. Adjust menu and node chaining accordingly.
1362 (Choosing Locale): Reference Locale Names, Locale Categories.
1363 Mention setting LC_ALL=C. Reflect that name syntax is now
1364 documented.
1365 (Locale Categories): New section title. Reference Locale Names.
1366 LC_ALL is an environment variable, but not a category.
1367 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1368 description, now in Locale Name. Reference that section. Locale
1369 name syntax is now documented.
1370
4e8f95a0
FW
13712014-07-02 Florian Weimer <fweimer@redhat.com>
1372
1373 [BZ #17137]
1374 * locale/findlocale.c (name_present, valid_locale_name): New
1375 functions.
1376 (_nl_find_locale): Use the loc_name variable to store name
1377 candidates. Call name_present and valid_locale_name to check and
1378 validate locale names. Return an error if the locale is invalid.
1379
d1836456
FW
13802014-07-02 Florian Weimer <fweimer@redhat.com>
1381
1382 * locale/setlocale.c (setlocale): Use strdup for allocating
1383 composite name copy.
1384
d69b7f5a
SP
13852014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1386
888c679b
SP
1387 Sync up with gnulib.
1388 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1389 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1390 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1391 and _GL_ARG_NONNULL.
1392 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1393 [!_LIBC]: Include code for Windows and Cygwin.
1394 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1395 Include prototype for int strerror_r.
1396 [!_LIBC] (is_open): New function.
1397 (flush_stdout): New function.
1398 (print_errno_message): Use it.
1399 (error): Likewise.
1400 (error_at_line): Likewise.
1401 (error_tail) Add function attribute macros. Use
1402 __builtin_expect.
1403
180e0e4b
SP
1404 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1405
d22f1fe2
SP
1406 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1407
12f2254b
SP
1408 * io/ftw.c: Include sys/param.h unconditionally.
1409
c3c7c360
SP
1410 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1411
d62aa75a
SP
1412 [BZ #17125]
1413 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1414 libc_freeres_ptr.
1415 (freecache): New function to free CACHE on exit.
1416
d69b7f5a
SP
1417 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1418 initialization.
1419
5efe06a1
DM
14202014-07-09 David S. Miller <davem@davemloft.net>
1421
1422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1423
7000d82e
DM
1424 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1425 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1426 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1427 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1428 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1429 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1430 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1431 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1432 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1433 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1434 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1435 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1436 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1437
c213442d
AS
14382014-07-09 Andreas Schwab <schwab@suse.de>
1439
4a2552c3
AS
1440 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1441 output.
1442 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1443 (do_test): Likewise.
1444
c213442d
AS
1445 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1446
82374e65
WN
14472014-07-09 Will Newton <will.newton@linaro.org>
1448
1449 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1450 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1451 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1452 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1453 * sysdeps/hppa/start.S (_start): Likewise.
1454
6680738a
SP
14552014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1456
6ee3eab4
SP
1457 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1458
6680738a
SP
1459 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1460 defined.
1461
80b5c505
SP
14622014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1463
e35c53e3
SP
1464 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1465 after checking that it is non-NULL.
1466
80b5c505
SP
1467 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1468
91f4b564
AZ
14692014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1470
27b75f56
AZ
1471 * sysdeps/powerpc/memmove.c: Remove file.
1472 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1473 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1474 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1475 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1476 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1477 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1478 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1479 string memmove instead of removed powerpc one.
1480
e7f95bb5
AZ
1481 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1482 [weak_alias]: Fix compiler warning due trailing data.
1483 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1484 [weak_alias]: Likewise.
1485 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1486 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1487
91f4b564
AZ
1488 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1489 (__libc_ifunc_impl_list): Add memmove functions.
1490
7c33f1e5
SP
14912014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1492
1493 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1494 Remove code.
1495 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1496 Likewise
1497 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1498 Likewise
1499 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1500 Likewise
1501 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1502 Likewise
1503 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1504 Likewise
1505 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1506 Likewise
1507 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1508 Likewise
1509 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1510 Likewise
1511 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1512 Likewise
1513 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1514 Likewise
1515 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1516 Likewise
1517 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1518 Likewise
1519 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1520 Likewise
1521 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1522 Likewise
1523 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1524 Likewise
1525 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1526 Likewise
1527
3f17b03b
AZ
15282014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1529
87868c24
AZ
1530 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1531 to avoid alignment traps in non-cacheable memory.
1532 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1533
07aedd78
AZ
1534 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1535 multiarch objects.
1536 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1537 file: multiarch power7 memmove.
1538 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1539 multiarch default memmove.
1540 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1541 multiarch memove for powerpc32/power4.
1542
17762f66
AZ
1543 * string/bcopy.c: Use full path to include memmove.c.
1544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1545 multiarch objects.
1546 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1547 bcopy for powerpc64.
1548 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1549 bcopy for powerpc64.
1550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1551 and memmove implementations.
1552 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1553 optimized multiarch memmove for POWER7/powerpc64.
1554 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1555 default multiarch memmove for powerpc64.
1556 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1557 multiarch for powerpc64.
1558 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1559 for POWER7/powerpc64.
1560 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1561 memmove for POWER7/powerpc64.
1562
d6f68bbe
AZ
1563 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1564 glibc default one.
1565
3f17b03b
AZ
1566 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1567 __ELF_NATIVE_CLASS equal to 64.
1568
08192659
RM
15692014-07-07 Roland McGrath <roland@hack.frob.com>
1570
f4c4021b
RM
1571 * sysdeps/nptl/lowlevellock.h: File removed.
1572
f083450f
RM
1573 * NEWS: NPTL is no longer an add-on!
1574 * nptl/internaltypes.h: Moved ...
1575 * sysdeps/nptl/internaltypes.h: ... here.
1576 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1577 * sysdeps/nptl/fork.c: Likewise.
1578 * sysdeps/nptl/gai_misc.h: Likewise.
1579 * sysdeps/nptl/librt-cancellation.c: Likewise.
1580 * sysdeps/nptl/jmp-unwind.c: Likewise.
1581 * sysdeps/nptl/setxid.h: Likewise.
1582 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1583 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1584 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1585 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1586 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1587 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1588 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1589 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1590 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1591 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1592 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1593 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1594 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1595 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1596 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1597 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1598 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1599 * nptl/Makeconfig: Moved ...
1600 * sysdeps/nptl/Makeconfig: ... here.
1601 * nptl/configure: File removed.
1602 * nptl/ANNOUNCE: File removed.
1603 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1604 * sysdeps/unix/sysv/linux/configure: Regenerated.
1605
08192659
RM
1606 * nptl/Makefile (routines): Add libc_pthread_init,
1607 libc_multiple_threads, register-atfork and unregister-atfork.
1608 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1609 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1610 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1611 pthread-pi-defines.sym, structsem.sym.
1612 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1613 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1614 [$(subdir) = nptl] (tests): Add tst-setgetname.
1615 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1616 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1617 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1618 [!LIBC_SIGACTION]: Remove aliases.
1619 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1620 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1621 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1622 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1623 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1624 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1625 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1626 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1627 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1628 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1629 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1630 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1631 __libc_allocate_rtsig_private.
1632 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1633 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1634 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1635 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1636 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1637 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1638 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1639 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1640 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1641 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1642 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1643 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1644 * nptl/internaltypes.h: ... here.
1645 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1646 * sysdeps/nptl/jmp-unwind.c: ... here.
1647 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1648 * nptl/libc-lowlevellock.c: ... here.
1649 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1650 * nptl/libc_multiple_threads.c: ... here.
1651 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1652 * nptl/libc_pthread_init.c: ... here.
1653 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1654 * nptl/lowlevelbarrier.sym: ... here.
1655 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1656 * nptl/lowlevelcond.sym: ... here.
1657 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1658 * nptl/lowlevellock.c: ... here.
1659 * nptl/lowlevellock.h: Moved ...
1660 * sysdeps/nptl/lowlevellock.h: ... here.
1661 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1662 * nptl/lowlevelrobustlock.c: ... here.
1663 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1664 * nptl/lowlevelrobustlock.sym: ... here.
1665 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1666 * nptl/lowlevelrwlock.sym: ... here.
1667 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1668 * nptl/pt-fork.c: ... here.
1669 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1670 * nptl/pthread-pi-defines.sym: ... here.
1671 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1672 * nptl/pthread_attr_getaffinity.c: ... here.
1673 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1674 * nptl/pthread_attr_setaffinity.c: ... here.
1675 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1676 * nptl/pthread_mutex_cond_lock.c: ... here.
1677 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1678 Update #include.
1679 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1680 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1681 * nptl/pthread_once.c: ... here, replacing old file.
1682 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1683 * nptl/pthread_yield.c: ... here.
1684 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1685 * nptl/register-atfork.c: ... here.
1686 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1687 * nptl/sem_post.c: ... here.
1688 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1689 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1690 * nptl/sem_timedwait.c: ... here.
1691 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1692 * nptl/sem_trywait.c: ... here.
1693 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1694 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1695 * nptl/sem_wait.c: ... here.
1696 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1697 * nptl/structsem.sym: ... here.
1698 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1699 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1700 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1701 * nptl/unregister-atfork.c: ... here.
1702 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1703 * nptl/unwindbuf.sym: ... here.
1704 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1705 * sysdeps/nptl/fork.c: ... here.
1706 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1707 * sysdeps/nptl/fork.h: ... here.
1708 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1709 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1710 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1711 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1712 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1713 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1714 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1715 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1716 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1717 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1718 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1719 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1720 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1721 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1722 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1723 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1724 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1725 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1726 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1727 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1728 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1729 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1730 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1731 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1732 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1733 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1734 * sysdeps/unix/sysv/linux/raise.c: ... here.
1735 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1736 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1737 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1738 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1739 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1740 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1741 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1742 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1743 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1744 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1745 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1746 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1747 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1748 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1749 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1750
96baf6ff
SP
17512014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1752
1753 * sysdeps/generic/memcopy.h: Add comment for
1754 MEMCPY_OK_FOR_FWD_MEMMOVE.
1755
6b7b14b2
WN
17562014-07-04 Will Newton <will.newton@linaro.org>
1757
1570a72b
WN
1758 * string/memchr.c: Merge from gnulib.
1759 [_LIBC]: Remove conditionals.
1760 (__ptr_t): Remove define.
1761 (LONG_MAX_32_BITS): Likewise.
1762 (LONG_MAX): Likewise.
1763 (MEMCHR): Use ANSI prototype and optimize algorithm.
1764
6b7b14b2
WN
1765 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1766
38851324
SP
17672014-07-03 Roland McGrath <roland@hack.frob.com>
1768
3d9eb57c
RM
1769 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1770 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1771
78b984ae
RM
1772 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1773 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1774 in a bare environment with no <stdlib.h> installed.
1775 * sysdeps/nptl/configure: Regenerated.
1776
2d5976a5
RM
1777 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1778
c1f5acd4
RM
1779 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1780 AC_EGREP_CPP for kernel header checks, so they only succeed if
1781 including <linux/version.h> actually works right.
1782 * sysdeps/unix/sysv/linux/configure: Regenerated.
1783
4d614fe5
RM
1784 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1785 value so it's not diagnosed as unused.
1786
38851324
SP
1787 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1788 thing) with "ifeq ($(subdir),rt)".
1789
b3ec00e5
RH
17902014-07-03 Richard Henderson <rth@redhat.com>
1791
69862e25
RH
1792 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1793 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1794 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1795
d5e16ade
RH
1796 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1797 (math_force_eval): New.
1798
ca7b945c
RH
1799 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1800 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1801
cd1175a3
RH
1802 * sysdeps/alpha/fpu/s_round.c: Remove file.
1803 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1804
b3ec00e5
RH
1805 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1806 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1807 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1808 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1809 (_dl_start, print_statistics): Likewise.
1810 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1811 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1812
1813 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1814 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1815 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1816 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1817 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1818 (HP_SMALL_TIMING_AVAIL): Define.
1819 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1820 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1821 (HP_SMALL_TIMING_AVAIL): Define.
1822 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1823 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1824
1825 * sysdeps/aarch64/hp-timing.h: New file.
1826
1827 * sysdeps/generic/hp-timing.h: Remove dead comment.
1828 * sysdeps/generic/hp-timing-common.h: New file.
1829 * sysdeps/alpha/hp-timing.h: Include it.
1830 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1831 * sysdeps/i386/i686/hp-timing.h: Likewise.
1832 * sysdeps/ia64/hp-timing.h: Likewise.
1833 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1834 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1835 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1836 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1837 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1838 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1839 (hp_timing_t): New.
1840
1841 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1842 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1843 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1844 * elf/rtld.c (_dl_start_final): Likewise.
1845 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1846 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1847 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1848 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1849 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1850 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1851 (HP_TIMING_DIFF_INIT): Remove.
1852 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1853 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1854 (HP_TIMING_DIFF_INIT): Remove.
1855 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1856 * sysdeps/i386/i686/hp-timing.c: Remove file.
1857 * sysdeps/x86_64/hp-timing.c: Remove file.
1858 * sysdeps/ia64/hp-timing.c: Remove file.
1859 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1860 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1861 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1862 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1863
1864 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1865 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1866 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1867 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1868 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1869 (HP_TIMING_ACCUM): Remove.
1870 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1871 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1872 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1873
1874 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1875 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1876 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1877 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1878 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1879 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1880 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1881 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1882
1883 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1884
225f410f
MR
18852014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1886
1887 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1888
3247f285
SP
18892014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1890
1891 Sync up with gettext.
1892 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1893 [_MSC_VER]: Include malloc.h
1894 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1895 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1896 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1897 TEMP_FAILURE_RETRY. Cast return of alloca.
1898 [!_LIBC] Call gl_rwlock_init.
1899 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1900
d12704c7
SP
19012014-07-02 Roland McGrath <roland@hack.frob.com>
1902
1903 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1904 before checking its value.
1905
99f8dc92
SP
19062014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1907
05fdac77
SP
1908 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1909
99f8dc92
SP
1910 * debug/memcpy_chk.c: Don't include pagecopy.h.
1911 * debug/mempcpy_chk.c: Likewise.
1912 * string/memcpy.c: Likewise.
1913 * string/memmove.c: Likewise.
1914 * sysdeps/powerpc/memmove.c: Likewise.
1915 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1916 definition of PAGE_COPY_FWD_MAYBE here...
1917 * sysdeps/generic/pagecopy.h: ... from here.
1918 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1919
bc8ea385
VR
19202014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1921 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1922
1923 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1924 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1925 optimizations.
1926 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1927 (__libc_ifunc_impl_list): Likewise.
1928 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1929 multiarch strcat for PPC64.
1930 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1931 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1932
fe5f34e4
RM
19332014-07-02 Roland McGrath <roland@hack.frob.com>
1934
1935 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1936
256aa665
SP
19372014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1938
d4eb8195
SP
1939 * intl/loadmsgcat.c: Remove declaration of
1940 get_sysdep_segment_value.
1941 (get_sysdep_segment_value): Use ISO C style.
1942 (_nl_load_domain): Use ISO C style. Get rid of redundant
1943 semicolon. Fix typo and formatting in comment.
1944 (_nl_unload_domain): Use ISO C style.
1945
256aa665
SP
1946 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1947
b100f9aa
WN
19482014-07-02 Will Newton <will.newton@linaro.org>
1949
1950 * malloc/obstack.c: Merge from gnulib master.
1951 [HAVE_CONFIG_H]: Remove conditional code.
1952 [!_LIBC]: Include config.h.
1953 [!ELIDE_CODE]: Don't include inttypes.h, include
1954 stdint.h unconditionally.
1955 (print_and_abort): Mark as _Noreturn.
1956 (_obstack_allocated_p): Mark as __attribute_pure__.
1957 (obstack_free): Rename to __obstack_free.
1958 [!__attribute__]: Remove conditional code.
1959 * malloc/obstack.h: Merge from gnulib master.
1960 [__cplusplus]: Move conditional down.
1961 [!__attribute_pure__]: Define __attribute_pure__ here
1962 if it is not already defined.
1963 (_obstack_memory_used): Mark as __attribute_pure__.
1964 [!__obstack_free]: Define as obstack_free.
1965 [__GNUC__]: Remove check for ancient NeXT gcc.
1966
c4c41244
PE
19672014-07-02 Will Newton <will.newton@linaro.org>
1968 Paul Eggert <eggert@cs.ucla.edu>
1969
1970 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1971
e1e041c4
SP
19722014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1973
1974 * resolv/gethnamaddr.c: Add comment warning that the file is
1975 not maintained.
1976
ccf431ff
CD
19772014-07-01 Carlos O'Donell <carlos@redhat.com>
1978
d34570a6
CD
1979 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1980 entries.
1981
ccf431ff
CD
1982 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1983 entry for aio_cancel and aio_cancel64.
1984 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1985 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1986 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1987 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1988 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1989 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1990 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1991 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1992 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1993 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1994 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1995 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1996 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1997
ca06321d
RM
19982014-07-01 Roland McGrath <roland@hack.frob.com>
1999
2000 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2001 * nptl/pthread_mutex_lock.c: Likewise.
2002 * nptl/pthread_mutex_timedlock.c: Likewise.
2003 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2004
a1ac3184
RH
20052014-07-01 Richard henderson <rth@redhat.com>
2006
631021e0
RH
2007 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2008 (__isnan, __isnanl): Remove.
2009 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2010
a1ac3184
RH
2011 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2012
0c1d731f
SL
20132014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2014
2015 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2016
76985d3e
SP
20172014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2018
2019 * resolv/nss_dns/dns-host.c (getanswer_r)
2020 [MULTI_PTRS_ARE_ALIASES]: Remove code.
2021
b0cb3096
JM
20222014-07-01 Joseph Myers <joseph@codesourcery.com>
2023
2024 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2025 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2026 undefine.
2027 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2028 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2029
4d76cb39
RM
20302014-07-01 Roland McGrath <roland@hack.frob.com>
2031
2032 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2033 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2034
2035 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2036 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2037
2038 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2039 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2040 ... here.
2041 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2042 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2043
2044 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2045 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2046 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2047 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2048
2049 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2050 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2051 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2052 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2053 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2054 Moved ...
2055 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2056 ... here.
2057 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2058 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2059 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2060 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2061 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2062 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2063 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2064 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2065 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2066 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2067 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2068 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2069 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2070 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2071 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2072 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2073 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2074 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2075 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2076 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2077 ... here.
2078 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2079 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2080 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2081 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2082 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2083 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2084 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2085 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2086
0cdcad17
DH
20872014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2088
2089 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2090 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2091 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2092 Add sysdep.
2093
9b71d0e3
AZ
20942014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2095
2096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2097
665390c2
JM
20982014-06-30 Joseph Myers <joseph@codesourcery.com>
2099
ae05a9d7
JM
2100 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2101 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2102
a7672a2f
JM
2103 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2104
665390c2
JM
2105 * sysdeps/arm/libm-test-ulps: Regenerated.
2106
d7a05d07
MR
21072014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2108 Roland McGrath <roland@hack.frob.com>
2109
2110 * test-skeleton.c (signal_handler): Kill the whole process group
2111 before killing the child individually.
2112 (main): Report any failure on `setpgid'.
2113
46f1d8a6
RM
21142014-06-30 Roland McGrath <roland@hack.frob.com>
2115
2116 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2117 from _TLS_H to _ARM_NPTL_TLS_H.
2118 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2119 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2120
9c37ec0b
JM
21212014-06-30 Joseph Myers <joseph@codesourcery.com>
2122
ce9c5b3e
JM
2123 [BZ #16539]
2124 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2125 (__expm1l): Return argument unchanged when small but not
2126 subnormal.
2127
3a6e9887
JM
2128 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2129 include macro name.
2130 (_FP_UNPACK_RAW_1_P): Likewise.
2131 (_FP_PACK_RAW_1): Likewise.
2132 (_FP_PACK_RAW_1_P): Likewise.
2133 (_FP_MUL_MEAT_1_wide): Likewise.
2134 (_FP_MUL_MEAT_DW_1_hard): Likewise.
2135 (_FP_MUL_MEAT_1_hard): Likewise.
2136 (_FP_DIV_MEAT_1_imm): Likewise.
2137 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2138 (_FP_DIV_MEAT_1_udiv): Likewise.
2139 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2140 (_FP_UNPACK_RAW_2): Likewise.
2141 (_FP_UNPACK_RAW_2_P): Likewise.
2142 (_FP_PACK_RAW_2): Likewise.
2143 (_FP_PACK_RAW_2_P): Likewise.
2144 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2145 (_FP_MUL_MEAT_2_wide): Likewise.
2146 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2147 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2148 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2149 (_FP_MUL_MEAT_2_gmp): Likewise.
2150 (_FP_DIV_MEAT_2_udiv): Likewise.
2151 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2152 (_FP_FRAC_SRL_4): Likewise.
2153 (_FP_FRAC_SRST_4): Likewise.
2154 (_FP_FRAC_SRS_4): Likewise.
2155 (_FP_UNPACK_RAW_4): Likewise.
2156 (_FP_UNPACK_RAW_4_P): Likewise.
2157 (_FP_PACK_RAW_4): Likewise.
2158 (_FP_PACK_RAW_4_P): Likewise.
2159 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2160 (_FP_MUL_MEAT_4_wide): Likewise.
2161 (_FP_MUL_MEAT_4_gmp): Likewise.
2162 (umul_ppppmnnn): Likewise.
2163 (_FP_DIV_MEAT_4_udiv): Likewise.
2164 (__FP_FRAC_ADD_4): Likewise.
2165 (__FP_FRAC_SUB_3): Likewise.
2166 (__FP_FRAC_SUB_4): Likewise.
2167 (__FP_FRAC_DEC_3): Likewise.
2168 (__FP_FRAC_DEC_4): Likewise.
2169 (__FP_FRAC_ADDI_4): Likewise.
2170 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2171 (_FP_FRAC_SRL_8): Likewise.
2172 (_FP_FRAC_SRS_8): Likewise.
2173
9c37ec0b
JM
2174 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2175 include macro name.
2176 (FP_UNPACK_RAW_EP): Likewise.
2177 (FP_PACK_RAW_E): Likewise.
2178 (FP_PACK_RAW_EP): Likewise.
2179 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2180 (_FP_ISSIGNAN): Likewise.
2181 (_FP_ADD_INTERNAL): Likewise.
2182 (_FP_FMA): Likewise.
2183 (_FP_CMP): Likewise.
2184 (_FP_SQRT): Likewise.
2185 (_FP_TO_INT): Likewise.
2186 (_FP_FROM_INT): Likewise.
2187 (FP_EXTEND): Likewise.
2188 (_FP_DIV_MEAT_N_loop): Likewise.
2189
2125f674
MR
21902014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2191
2192 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2193 throughout.
2194
edea4028
JM
21952014-06-29 Joseph Myers <joseph@codesourcery.com>
2196
2197 [BZ #17097]
2198 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2199 result with correct sign in case of exponents that produce
2200 overflow except for X very close to 1.
2201
dd0ba018
PE
22022014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2203
2204 mktime: merge #if/#ifdef usage from glibc
2205 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2206 as that works with both Glibc's and Gnulib's style.
2207 See thread starting at Siddhesh Poyarekar's bug report at:
2208 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2209
64df73c2
SP
22102014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2211
2212 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2213 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2214 * sysdeps/tile/tilegx/memmove.c: Remove file.
2215
f1eafb41
JM
22162014-06-27 Joseph Myers <joseph@codesourcery.com>
2217
2218 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2219 abi-name definition.
2220 * scripts/soversions.awk: Do not handle or generate ABI lines.
2221 * shlib-versions: Remove ABI entries.
2222 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2223 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2224
58eb0862
RM
22252014-06-27 Roland McGrath <roland@hack.frob.com>
2226
37caf178
RM
2227 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2228 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2229 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2230 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2231 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2232 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2233 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2234 Moved ...
2235 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2236 ... here.
2237 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2238 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2239 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2240 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2241 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2242 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2243 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2244 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2245 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2246 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2247 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2248 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2249 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2250 Moved ...
2251 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2252 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2253 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2254 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2255 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2256 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2257 Moved ...
2258 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2259 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2260 Moved ...
2261 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2262 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2263 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2264 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2265 Moved ...
2266 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2267 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2268 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2269 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2270 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2271 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2272 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2273 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2274 Moved ...
2275 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2276 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2277 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2278 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2279 Moved ...
2280 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2281 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2282 Moved ...
2283 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2284 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2285 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2286 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2287 Moved ...
2288 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2289 ... here.
2290 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2291 Identical file removed.
2292 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2293 Moved ...
2294 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2295 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2296 Identical file removed.
2297 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2298 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2299 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2300 Moved ...
2301 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2302 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2303 Identical file removed.
2304 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2305 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2306 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2307 Identical file removed.
2308 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2309 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2310 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2311 Identical file removed.
2312 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2313 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2314 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2315 Identical file removed.
2316 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2317 Moved ...
2318 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2319 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2320 Identical file removed.
2321 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2322 Moved ...
2323 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2324 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2325 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2327 Identical file removed.
2328 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2329 Moved ...
2330 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2331 ... here.
2332 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2333 Identical file removed.
2334 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2335 Moved ...
2336 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2337 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2338 Identical file removed.
2339 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2340 Moved ...
2341 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2342 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2343 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2344 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2345 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2346 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2347 Moved ...
2348 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2349 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2350 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2351
58eb0862
RM
2352 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2353 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2354 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2355 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2356 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2357
6f12d062
AS
23582014-06-27 Arjun Shankar <arjun.is@lostca.se>
2359
2360 [BZ #17092]
2361 * nscd/nscd.c (monitor_child): Return exit status of child
2362 instead of return value from wait syscall.
2363
be254932
JM
23642014-06-27 Joseph Myers <joseph@codesourcery.com>
2365
cb403c34
JM
2366 * configure.ac (libc_commonpagesize): Remove variable.
2367 (libc_relro_required): Likewise.
2368 (libc_cv_z_relro): Remove configure test.
2369 * configure: Regenerated.
2370 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2371 variable.
2372 (libc_relro_required): Likewise.
2373 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2374 (libc_relro_required): Likewise.
2375 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2376 (libc_relro_required): Likewise.
2377 * sysdeps/arm/preconfigure: Regenerated.
2378 * sysdeps/ia64/preconfigure: Remove file.
2379 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2380 variable.
2381 (libc_relro_required): Likewise.
2382
be254932
JM
2383 [BZ #16561]
2384 [BZ #16562]
2385 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2386 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2387 recompute overflowing results in original rounding mode.
2388 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2389 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2390 recompute overflowing results in original rounding mode.
2391 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2392 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2393 recompute overflowing results in original rounding mode.
2394 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2395 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2396 recompute overflowing results in original rounding mode.
2397 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2398 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2399 recompute overflowing results in original rounding mode.
2400 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2401 (libc_feholdsetround_ctx): New macro.
2402 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2403 * sysdeps/i386/fpu/libm-test-ulps: Update.
2404 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2405
b351d85a
JM
24062014-06-26 Joseph Myers <joseph@codesourcery.com>
2407
2408 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2409 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2410 corresponding .cpsetup call.
2411
3cb4de47
RM
24122014-06-26 Roland McGrath <roland@hack.frob.com>
2413
2414 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2415 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2416 * sysdeps/arm/Makefile [$(subdir) = csu]
2417 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2418 (static-only-routines): Add aeabi_read_tp here.
2419 (shared-only-routines): Add libc-aeabi_read_tp here.
2420 (CFLAGS-libc-start.c): Add -fexceptions here.
2421 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2422 (sysdep_routines, static-only-routines, shared-only-routines):
2423 Don't add to these here.
2424 (CFLAGS-libc-start.c): Likewise.
2425
2426 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2427 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2428 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2429 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2430 * sysdeps/arm/Makefile [$(subdir) = rt]
2431 (librt-sysdep_routines, librt-shared-only-routines):
2432 Append rt-aeabi_unwind_cpp_pr1 here.
2433 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2434 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2435 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2436 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2437 Append nptl-aeabi_unwind_cpp_pr1 here.
2438 (tests): Filter out tst-cleanupx4 here.
2439 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2440 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2441 Don't do those here.
2442
354426bb
JM
24432014-06-26 Joseph Myers <joseph@codesourcery.com>
2444
2445 * scripts/list-sources.sh: Do not handle ports specially.
2446
28b0a8c9
RM
24472014-06-26 Roland McGrath <roland@hack.frob.com>
2448
a3dd035d
RM
2449 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2450 * sysdeps/arm/feupdateenv.c: Likewise.
2451
28b0a8c9
RM
2452 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2453
e66a8203
JM
24542014-06-26 Joseph Myers <joseph@codesourcery.com>
2455
2456 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2457 trailing whitespace removed.
2458 * scripts/config.guess: Update to version 2014-03-23.
2459 * scripts/config.sub: Update to version 2014-05-01
2460 * scripts/install-sh: Update to version 2013-12-25.23.
2461 * scripts/move-if-change: Update from gnulib.
2462
74171115
SP
24632014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2464
b97c9ce5
SP
2465 * debug/memmove_chk.c: Remove pagecopy.h include.
2466
4000f892
SP
24672014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2468
74171115
SP
2469 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2470 identical to gnulib mktime.
2471
a8779c28
JM
24722014-06-26 Joseph Myers <joseph@codesourcery.com>
2473
e64708de
JM
2474 * configure.ac: Do not test for machine being rs6000. Do not test
2475 for powerpc*-*soft.
2476 * configure: Regenerated.
2477
a8779c28
JM
2478 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2479 test.
2480 * configure: Regenerated.
2481 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2482 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2483 Remove configure test.
2484 * sysdeps/arm/configure: Regenerated.
2485 * sysdeps/nptl/configure.ac: Do not check
2486 libc_cv_asm_cfi_directives.
2487 * sysdeps/nptl/configure: Regenerated.
2488 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2489 * sysdeps/x86_64/nptl/configure: Remove generated file.
2490 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2491 unconditional.
2492 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2493
2aac0a86
SP
24942014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2495
059bf913
SP
2496 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2497 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2498 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2499 it is defined.
2500
4cf5b6d0
SP
2501 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2502 instead of whether it is defined.
2503 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2504 * sysdeps/hppa/dl-machine.h: Likewise.
2505 * sysdeps/ia64/dl-machine.h: Likewise.
2506 * sysdeps/m68k/dl-machine.h: Likewise.
2507 * sysdeps/microblaze/dl-machine.h: Likewise.
2508 * sysdeps/mips/dl-machine.: Likewise.
2509 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2510 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2511 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2512 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2513 * sysdeps/sh/dl-machine.h: Likewise.
2514 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2515 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2516 * sysdeps/tile/dl-machine.h: Likewise.
2517 * sysdeps/x86_64/dl-machine.h: Likewise.
2518
2aac0a86
SP
2519 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2520 code.
2521 (verify_persistent_db): Likewise.
2522
6ad2df0b
RM
25232014-06-26 Roland McGrath <roland@hack.frob.com>
2524
d8a483f3
RM
2525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2526 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2528 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2530 Moved ...
2531 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2532 ... here.
2533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2534 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2536 Identical file removed.
2537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2538 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2540 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2542 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2544 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2546 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2548 Moved ...
2549 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2551 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2553 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2555 Moved ...
2556 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2558 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2560 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2562 Identical file removed.
2563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2564 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2566 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2568 Moved ...
2569 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2570 ... here.
2571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2572 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2574 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2576 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2578 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2580 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2582 Moved ...
2583 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2585 Moved ...
2586 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2588 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2590 Moved ...
2591 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2593 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2594
52ae23b4
RM
2595 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2596 folded into ...
2597 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2598 * sysdeps/unix/sysv/linux/s390/Versions
2599 (libpthread: GLIBC_2.19): New version set.
2600 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2601 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2602 (librt: GLIBC_2.3.3): New version set.
2603 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2604 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2605 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2606 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2607 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2608 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2609 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2610 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2611 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2612 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2613 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2614 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2615 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2616 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2617 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2618 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2619 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2620 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2621 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2622 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2623 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2624 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2625 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2626 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2627 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2628 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2629 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2630 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2631 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2632 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2633 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2634 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2635 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2636 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2637 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2638 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2639 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2640 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2641 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2642 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2643 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2644 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2645 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2646 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2647 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2648
39507e4a
RM
2649 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2650 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2651 (__libc_vfork): Define the function under this name.
2652 [!NOT_IN_libc] (__vfork): Make this an alias.
2653 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2654 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2655 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2656 (__libc_vfork): Define the function under this name.
2657 [!NOT_IN_libc] (__vfork): Make this an alias.
2658 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2659 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2660 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2661 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2662 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2663 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2664
e549ee56
RM
2665 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2666 code that was previously under [RESET_PID].
2667 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2668 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2669 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2670
6ad2df0b
RM
2671 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2672 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2673 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2674 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2675 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2676 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2677 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2678 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2679 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2680 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2681 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2682 Moved ...
2683 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2684 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2685 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2686 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2687 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2688 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2689 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2690 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2691 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2692 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2693 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2694 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2695 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2696 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2697 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2698 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2699 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2700 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2701 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2702 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2703 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2704 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2705 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2706 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2707 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2708 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2709 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2710 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2711 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2712
7c1c1d8e
RM
27132014-06-25 Roland McGrath <roland@hack.frob.com>
2714
2715 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2716 that was previously under [RESET_PID].
2717 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2718
3e239be6
JM
27192014-06-25 Joseph Myers <joseph@codesourcery.com>
2720
74385da5
JM
2721 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2722 not undefine and redefine.
2723 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2724 [O_CLOEXEC]: Make code unconditional.
2725 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2726 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2727 <kernel-features.h>.
2728 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2729 conditional variable definition.
2730 (shm_open) [O_CLOEXEC]: Make code unconditional.
2731 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2732 code.
2733
c2570a0b
JM
2734 * configure.ac (USE_REGPARMS): Don't define here.
2735 * configure: Regenerated.
2736 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2737 * sysdeps/i386/configure: Regenerated.
2738
11b076bb
JM
2739 * nptl/createthread.c: Don't include kernel-features.h.
2740 * nptl/pthread_cancel.c: Likewise.
2741 * nptl/pthread_condattr_setclock.c: Likewise.
2742 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2743 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2744 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2745 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2746 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2747 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2748 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2749 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2750 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2751 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2752 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2753 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2754 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2755 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2756 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2757 * nscd/gai.c: Likewise.
2758 * nss/nss_db/db-open.c: Likewise.
2759 * sysdeps/generic/ldsodefs.h: Likewise.
2760 * sysdeps/sh/nptl/tls.h: Likewise.
2761 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2762 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2763 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2764 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2765 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2766 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2767 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2768 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2769 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2770 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2771 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2772 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2773 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2774 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2775 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2776 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2777 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2778 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2779 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2780 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2781 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2782 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2783 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2784 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2785 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2786 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2787 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2788 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2789 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2790 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2791 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2792 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2793 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2794 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2795 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2796 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2797 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2798 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2799 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2800 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2801 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2802 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2803 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2804 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2805 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2806 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2807 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2808 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2809 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2810 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2811 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2812 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2813 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2814 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2815 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2816 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2817 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2818 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2841 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2842 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2843 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2844 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2845 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2846 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2847 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2848 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2849 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2850 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2851 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2852 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2853 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2854 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2855 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2856 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2857 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2858 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2859 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2860 * sysdeps/unix/sysv/linux/system.c: Likewise.
2861 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2862 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2863 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2864 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2865 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2866 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2867 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2868
92072d57
JM
2869 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2870 * configure: Regenerated.
2871 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2872
3e239be6
JM
2873 * configure.ac (base_machine): Do not set specially for particular
2874 machines here.
2875 * configure: Regenerated.
2876 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2877 settings from configure.ac.
2878 * sysdeps/i386/preconfigure: New file.
2879 * sysdeps/s390/preconfigure: Likewise.
2880 * sysdeps/sh/preconfigure: Likewise.
2881 * sysdeps/sparc/preconfigure: Likewise.
2882
06d50baa
RM
28832014-06-25 Roland McGrath <roland@hack.frob.com>
2884
74836003
RM
2885 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2886 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2887 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2888 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2889 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2890 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2891 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2892 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2893 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2894 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2895 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2896 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2897 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2898 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2899 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2900 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2901 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2902 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2903 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2904
2905 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2906 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2907 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2908 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2909 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2910 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2911 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2912 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2913 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2914 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2915 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2916 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2917 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2918 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2919 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2920 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2921 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2922 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2923 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2924 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2925 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2926 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2927 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2928 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2929 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2930 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2931 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2932 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2933 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2934 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2935 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2936 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2937 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2938 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2939 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2940 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2941 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2942 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2943
06d50baa
RM
2944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2945 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2947 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2949 Moved ...
2950 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2951 ... here.
2952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2953 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2955 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2957 Moved ...
2958 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2960 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2962 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2964 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2966 Moved ...
2967 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2969 Moved ...
2970 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2972 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2974 Moved ...
2975 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2977 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2979 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2981 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2983 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2985 Moved ...
2986 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2987 ... here.
2988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2989 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2991 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2993 Moved ...
2994 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2996 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2998 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3000 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3002 Moved ...
3003 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3005 Moved ...
3006 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3008 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3010 Moved ...
3011 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3013 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3015 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3016
a4ccbc9b
JM
30172014-06-25 Joseph Myers <joseph@codesourcery.com>
3018
0828edbf
JM
3019 * timezone/checktab.awk: Update from tzcode 2014e.
3020 * timezone/private.h: Likewise.
3021 * timezone/tzfile.h: Likewise.
3022 * timezone/zdump.c: Likewise.
3023 * timezone/zic.c: Likewise.
3024
a4ccbc9b
JM
3025 * sysdeps/unix/sysv/linux/kernel-features.h
3026 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3027 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3028 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3029 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3030 Remove conditional code.
3031
9aea0cb8
WN
30322014-06-25 Will Newton <will.newton@linaro.org>
3033
3034 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3035 (_dl_arm_cap_flags): Add HWCAP2 values.
3036 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3037 (_DL_HWCAP_COUNT): Increase to 37.
3038 (_DL_HWCAP_LAST): New define.
3039 (_DL_HWCAP2_LAST): New define.
3040 (_dl_procinfo): Add support for printing
3041 AT_HWCAP2 entries.
3042 (_dl_string_hwcap): Use _dl_hwcap_string.
3043
6eaa65ce
AZ
30442014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3045
3046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3047
0f5b7185
JM
30482014-06-25 Joseph Myers <joseph@codesourcery.com>
3049
cfd2ea50
JM
3050 * README: Do not mention ports directory.
3051
cecf2ed4
JM
3052 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3053 Remove macro.
3054 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3055 <kernel-features.h>.
3056 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3057 conditional variable definition.
3058 (__futimes): Update comment.
3059 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3060 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3061
a638de82
JM
3062 [BZ #16560]
3063 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3064 arguments close to 0.
3065 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3066 Likewise.
3067 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3068 Likewise.
3069 * math/auto-libm-test-in: Add more tests of exp10.
3070 * math/auto-libm-test-out: Regenerated.
3071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3072
0f5b7185
JM
3073 * sysdeps/unix/sysv/linux/kernel-features.h
3074 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3075 * sysdeps/unix/sysv/linux/readv.c: Do not include
3076 <kernel-features.h>.
3077 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3078 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3079 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3080 unconditional.
3081 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3082 conditional code.
3083 * sysdeps/unix/sysv/linux/writev.c: Do not include
3084 <kernel-features.h>.
3085 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3086 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3087 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3088 unconditional.
3089 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3090 conditional code.
3091
c7aec4be
WN
30922014-06-25 Will Newton <will.newton@linaro.org>
3093
3094 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3095 comment changes throughout the file. Remove checks
3096 for HAVE_*_H definitions that are not required.
3097 (__gen_tempname): Call abort if an unknown kind value is
3098 passed.
3099
c5241f95
AS
31002014-06-25 Andreas Schwab <schwab@suse.de>
3101
3102 [BZ #17086]
3103 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3104 scalbln, scalblnf, scalblnl in libc.
3105
911422da
SP
31062014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3107
3108 [BZ #17086]
3109 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3110 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3111 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3112
0d749bbe
RM
31132014-06-24 Roland McGrath <roland@hack.frob.com>
3114
3115 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3116 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3117 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3118 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3119 Update #include.
3120 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3121 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3122 Update #include.
3123 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3124 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3125 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3126 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3127 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3128 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3129 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3130 * sysdeps/x86/bits/semaphore.h: ... here.
3131 * sysdeps/x86/nptl/elide.h: Moved ...
3132 * sysdeps/x86/elide.h: ... here.
3133 * sysdeps/x86_64/nptl/Implies: File removed.
3134 * sysdeps/i386/nptl/Implies: File removed.
3135
0ea5d373
JM
31362014-06-24 Joseph Myers <joseph@codesourcery.com>
3137
4060283d
JM
3138 [BZ #16539]
3139 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3140 return the argument for normal arguments with exponent below -64.
3141 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3142 Likewise.
3143 * math/auto-libm-test-in: Add another test of expm1.
3144 * math/auto-libm-test-out: Regenerated.
3145
e7dd3c8c
JM
3146 [BZ #16287]
3147 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3148 calling __erfcl for arguments at least 16.
3149 * math/auto-libm-test-in: Add more tests of erf.
3150 * math/auto-libm-test-out: Regenerated.
3151
0ea5d373
JM
3152 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3153 individual architectures.
3154 * sysdeps/unix/sysv/linux/configure: Regenerated.
3155 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3156 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3157 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3158 (ldd_rewrite_script): Define variable.
3159 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3161 file.
3162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3163 generated file.
3164 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3165 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3166 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3167 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3168 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3169 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3170 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3171 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3172
2307e126
SP
31732014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3174
3175 [BZ #17084]
3176 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3177 Rename member __data.d to __data.__elision_data.
3178
c0a4ed77
W
31792014-06-24 Wilco <wdijkstr@arm.com>
3180
3181 * NEWS: Add 16918 to fixed bug list.
3182
b8c00573
W
31832014-06-24 Wilco <wdijkstr@arm.com>
3184
3185 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3186
b5570d92
W
31872014-06-24 Wilco <wdijkstr@arm.com>
3188
3189 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3190 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3191 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3192 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3193 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3194 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3195 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3196 Use _FPU_MASK_RM.
3197
947bdca2
W
31982014-06-24 Wilco <wdijkstr@arm.com>
3199
3200 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3201
00f669ed
W
32022014-06-24 Wilco <wdijkstr@arm.com>
3203
3204 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3205 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3206 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3207 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3208
db59bad3
W
32092014-06-24 Wilco <wdijkstr@arm.com>
3210
3211 [BZ #16918]
3212 * sysdeps/arm/feupdateenv.c (feupdateenv):
3213 Rewrite to reduce FPSCR accesses and fix return value.
3214
001f7b77
W
32152014-06-24 Wilco <wdijkstr@arm.com>
3216
3217 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3218 Optimize to avoid unnecessary FPSCR writes.
3219 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3220 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3221 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3222 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3223
4841e6a6
W
32242014-06-24 Wilco <wdijkstr@arm.com>
3225
3226 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3227 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3228 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3229 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3230 Call libc_fetestexcept_vfp.
3231 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3232 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3233 __SOFTFP__ ifdef so that they can be built for softfp.
3234
0813022c
SP
32352014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3236
08e5862f
SP
3237 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3238 argument type signed char.
3239
0813022c
SP
3240 * Makerules (check-abi): Dump diff of symlist if the test
3241 fails.
3242
3fc7236a
RM
32432014-06-23 Roland McGrath <roland@hack.frob.com>
3244
aba8ef95
RM
3245 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3246 using abort.
3247
3fc7236a
RM
3248 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3249 Remove unused variable ST.
3250
4da6db51
JM
32512014-06-23 Joseph Myers <joseph@codesourcery.com>
3252
4648909d
JM
3253 [BZ #16354]
3254 [BZ #17061]
3255 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3256 small arguments before calling __expm1.
3257 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3258 small arguments before calling __expm1f.
3259 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3260 small arguments before calling __expm1l.
3261 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3262 Likewise.
3263 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3264 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3265 spurious underflow for some cosh tests.
3266 * math/auto-libm-test-out: Regenerated.
3267 * sysdeps/i386/fpu/libm-test-ulps: Update.
3268
46a3d3c7
JM
3269 [BZ #17050]
3270 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3271 (__ieee754_y1): Set errno if return value overflows.
3272 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3273 (__ieee754_y1f): Set errno if return value overflows.
3274 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3275 (__ieee754_y1l): Set errno if return value overflows.
3276 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3277 (__ieee754_y1l): Set errno if return value overflows.
3278 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3279 * math/auto-libm-test-out: Regenerated.
3280
863893ec
JM
3281 * math/gen-auto-libm-tests.c: Document use of
3282 ignore-zero-inf-sign.
3283 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3284 (input_flags): Add ignore-zero-inf-sign.
3285 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3286 * math/gen-libm-test.pl (generate_testfile): Handle
3287 ignore-zero-inf-sign.
3288 * math/auto-libm-test-in: Mark some cpow tests with
3289 ignore-zero-inf-sign and some with xfail-rounding.
3290 * math/auto-libm-test-out: Regenerated.
3291 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3292 * sysdeps/i386/fpu/libm-test-ulps: Update.
3293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3294
4da6db51
JM
3295 [BZ #16315]
3296 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3297 overflowing or underflowing operations take place with sign of
3298 result.
3299 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3300 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3301 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3302 (__ieee754_pow): Recompute overflowing and underflowing results in
3303 original rounding mode.
3304 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3305 (__powl_helper): Allow negative argument X and scale negated value
3306 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3307 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3308 overflowing or underflowing operations take place with sign of
3309 result.
3310 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3311 Include <math.h>.
3312 * math/auto-libm-test-in: Add more tests of pow.
3313 * math/auto-libm-test-out: Regenerated.
3314 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3315 (pow_tonearest_test_data): Remove.
3316 (pow_test_tonearest): Likewise.
3317 (pow_towardzero_test_data): Likewise.
3318 (pow_test_towardzero): Likewise.
3319 (pow_downward_test_data): Likewise.
3320 (pow_test_downward): Likewise.
3321 (pow_upward_test_data): Likewise.
3322 (pow_test_upward): Likewise.
3323 (main): Don't call removed functions.
3324 * sysdeps/i386/fpu/libm-test-ulps: Update.
3325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3326
5686b236
RM
33272014-06-23 Roland McGrath <roland@hack.frob.com>
3328
3329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3330 Moved ...
3331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3333 Moved ...
3334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3336 Moved ...
3337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3339 Moved ...
3340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3342 File removed.
3343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3344 File removed.
3345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3346 File removed.
3347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3348 File removed.
3349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3350 File removed.
3351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3352 File removed.
3353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3354 File removed.
3355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3356 File removed.
3357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3358 File removed.
3359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3360 File removed.
3361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3362 File removed.
3363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3364 File removed.
3365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3366 Moved ...
3367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3369 Moved ...
3370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3371 ... here.
3372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3373 Moved ...
3374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3376 Moved ...
3377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3379 Moved ...
3380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3382 Moved ...
3383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3385 Moved ...
3386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3388 Moved ...
3389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3391 Moved ...
3392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3395 ... here.
3396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3397 Moved ...
3398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3400 Moved ...
3401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3402 ... here.
3403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3404 Moved ...
3405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3406 ... here.
3407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3408 Moved ...
3409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3410 ... here.
3411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3412 Moved ...
3413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3415 Moved ...
3416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3420 Moved ...
3421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3422 ... here.
3423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3424 Moved ...
3425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3426 ... here.
3427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3428 Moved ...
3429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3431 Moved ...
3432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3434 Moved ...
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3437 Moved ...
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3440 Moved ...
3441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3442 ... here.
3443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3444 Moved ...
3445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3447 Moved ...
3448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3450 Moved ...
3451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3453 Moved ...
3454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3458 Moved ...
3459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3461 Moved ...
3462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3464 Moved ...
3465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3466 ... here.
3467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3468 Moved ...
3469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3470 ... here.
3471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3472 Moved ...
3473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3474 ... here.
3475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3476 Moved ...
3477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3479 Moved ...
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3482 Moved ...
3483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3485 Moved ...
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3487 ... here.
3488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3489 Moved ...
3490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3491 ... here.
3492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3493 Moved ...
3494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3495 ... here.
3496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3497 Moved ...
3498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3500 Moved ...
3501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3502
e6d90d67
WD
35032014-06-23 Will Newton <will.newton@linaro.org>
3504 Wilco <wdijkstr@arm.com>
3505
3506 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3507 implementation. Include get-rounding-mode.h.
3508 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3509 [!libc_feholdsetround_noex_ctx]: Define
3510 libc_feholdsetround_noex_ctx.
3511 [!libc_feholdsetround_noexf_ctx]: Define
3512 libc_feholdsetround_noexf_ctx.
3513 [!libc_feholdsetround_noexl_ctx]: Define
3514 libc_feholdsetround_noexl_ctx.
3515 (libc_feholdsetround_ctx): New function.
3516 (libc_feresetround_ctx): New function.
3517 (libc_feholdsetround_noex_ctx): New function.
3518 (libc_feresetround_noex_ctx): New function.
3519
d42df555
RM
35202014-06-23 Roland McGrath <roland@hack.frob.com>
3521
88a46474
RM
3522 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3523 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3524 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3525 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3526 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3527 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3528
15bed472
RM
3529 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3530 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3531 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3532 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3533 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3534 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3535 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3536 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3537 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3538 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3539 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3540 Moved ...
3541 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3542 ... here.
3543 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3544 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3545 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3546 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3547 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3548 Moved ...
3549 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3550 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3551 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3552 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3553 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3554 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3555 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3556 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3557 Moved ...
3558 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3559 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3560 Moved ...
3561 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3562 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3563 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3564 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3565 Moved ...
3566 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3567 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3568 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3569 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3570 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3571 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3572 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3573 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3574 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3575 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3576 Moved ...
3577 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3578 ... here.
3579 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3580 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3581 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3582 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3583 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3584 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3585 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3586 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3587 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3588 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3589 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3590 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3591 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3592 Moved ...
3593 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3594 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3595 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3596 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3597 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3598 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3599 Moved ...
3600 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3601 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3602 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3603 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3604 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3605
d42df555
RM
3606 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3607 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3608 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3609 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3610 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3611 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3612 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3613 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3614 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3615 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3616 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3617 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3618 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3619 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3620 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3621 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3622 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3623 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3624 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3625 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3626 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3627 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3628 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3629 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3630 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3631 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3632 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3633 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3634
76e5216e
JM
36352014-06-23 Joseph Myers <joseph@codesourcery.com>
3636
3637 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3638 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3639 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3640 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3641 (IPV6_PMTUDISC_INTERFACE): Likewise.
3642 (IPV6_PMTUDISC_OMIT): Likewise.
3643
7a81cbcc
AS
36442014-06-23 Andreas Schwab <schwab@suse.de>
3645
3646 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3647 Remove unused errout label.
3648
db224009
AZ
36492014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3650
3651 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3652 macro: hardware supports Vector Crypto instructions.
3653
f393b4aa
WN
36542014-06-23 Will Newton <will.newton@linaro.org>
3655
cc7d0447
WN
3656 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3657 rather than __builtin_expect.
3658
d6d06225
WN
3659 * elf/dl-lookup.c (undefined_msg): Remove variable.
3660 (_dl_lookup_symbol_x): Replace undefined_msg with string
3661 literal.
3662
f393b4aa
WN
3663 * elf/dl-lookup.c (do_lookup_unique): New function.
3664 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3665 to a separate function.
3666
ac60763e
AS
36672014-06-23 Andreas Schwab <schwab@suse.de>
3668
3669 [BZ #17079]
3670 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3671 before reading the next line.
3672
c5c13355
WN
36732014-06-23 Will Newton <will.newton@linaro.org>
3674
3675 * test-skeleton.c (signal_handler): Use printf and %m
3676 rather than perror. Use printf rather than fprintf to
3677 stderr. Use puts rather than fputs to stderr.
3678 (main): Likewise.
3679
bd3675f9
LC
36802014-06-22 Ludovic Courtès <ludo@gnu.org>
3681
3682 * nscd/nscd.c (thread_info_t): Remove typedef.
3683 (thread_info): Remove variable.
3684
d03efb2f
AM
36852014-06-21 Allan McRae <allan@archlinux.org>
3686
3687 * NEWS: Mention CVE-2014-4043.
3688
bc4a86fa
RM
36892014-06-20 Roland McGrath <roland@hack.frob.com>
3690
dc9a54f8
RM
3691 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3692 * nptl/smp.h: ... here.
3693
bd7022c4
RM
3694 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3695
26ffd5e6
RM
3696 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3697 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3698 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3699 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3700
93a6d082
RM
3701 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3702 * nptl/stack-aliasing.h: New file.
3703 * sysdeps/i386/i686/stack-aliasing.h: New file.
3704 * sysdeps/i386/i686/nptl/Makefile: File removed.
3705 * sysdeps/x86_64/stack-aliasing.h: New file.
3706 * sysdeps/x86_64/nptl/Makefile
3707 (CFLAGS-pthread_create.c): Variable removed.
3708
bc4a86fa
RM
3709 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3710 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3711 old file.
3712 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3713 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3714 old file.
3715
2272ffc1
JM
37162014-06-21 Joseph Myers <joseph@codesourcery.com>
3717
3718 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3719 (__ASSUME_SIGFRAME_V2): Remove macro.
3720 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3721 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3722 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3723 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3724 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3725 Declare as function. Remove conditional macro definitions.
3726 (__default_rt_sa_restorer): Likewise.
3727 (__default_sa_restorer_v1): Remove declaration.
3728 (__default_sa_restorer_v2): Likewise.
3729 (__default_rt_sa_restorer_v1): Likewise.
3730 (__default_rt_sa_restorer_v2): Likewise.
3731 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3732 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3733 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3734
4b88139b
RM
37352014-06-20 Roland McGrath <roland@hack.frob.com>
3736
3737 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3738 (libpthread-routines): Add sysdep.
3739 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3740 * sysdeps/unix/sysv/linux/sparc/Versions
3741 (libpthread: GLIBC_2.3.3): New version set.
3742 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3743 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3744 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3745 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3746 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3747 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3748 Moved ...
3749 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3750 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3751 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3752 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3753 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3754 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3755 * sysdeps/sparc/nptl/sem_init.c: ... here.
3756 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3757 * sysdeps/sparc/nptl/sem_post.c: ... here.
3758 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3759 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3760 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3761 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3762 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3763 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3764 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3765 (libpthread-routines): Add cpu_relax.
3766 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3767 File removed.
3768 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3769 (librt: GLIBC_2.3.3): New version set.
3770 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3771 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3772 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3773 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3774 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3775 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3776 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3777 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3778 Moved ...
3779 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3780 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3781 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3782 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3783 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3784 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3785 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3786 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3787 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3788 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3789 Moved ...
3790 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3791 Update #include.
3792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3793 Moved ...
3794 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3795 Update #include.
3796 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3797 Moved ...
3798 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3799 Update #include.
3800 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3801 Moved ...
3802 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3803 Update #include.
3804 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3805 Moved ...
3806 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3807 Update #include.
3808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3809 Moved ...
3810 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3811 Update #include.
3812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3813 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3815 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3817 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3818 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3819 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3821 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3822 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3823 Moved ...
3824 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3825 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3826 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3827 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3828 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3829
d7109027
JM
38302014-06-20 Joseph Myers <joseph@codesourcery.com>
3831
9bc6103d
JM
3832 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3833 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3834 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3835 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3836 * nscd/nscd.c: Likewise.
3837 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3838 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3839 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3840 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3841
d7109027
JM
3842 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3843 <kernel-features.h>.
3844 (init_mq_netlink): Remove conditional have_sock_cloexec
3845 definitions. Remove code conditional on have_sock_cloexec < 0.
3846 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3847 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3848 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3849 <kernel-features.h>.
3850 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3851 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3852
d92d8f8a
L
38532014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3854
3855 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3856 Add tests for memset_chk and memset.
3857
3858 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3859 with AVX2_Usable.
3860
4e6d2347
MR
38612014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3862
257ce712
MR
3863 [BZ #16046]
3864 * elf/tst-dl-iter-static.c: New file.
3865 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3866
4e6d2347
MR
3867 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3868 error.
3869
a2a76afe
JM
38702014-06-20 Joseph Myers <joseph@codesourcery.com>
3871
7fd00f99
JM
3872 * sysdeps/unix/sysv/linux/kernel-features.h
3873 (__ASSUME_F_GETOWN_EX): Remove macro.
3874 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3875 <kernel-features.h>.
3876 (miss_F_GETOWN_EX): Remove variable or macro.
3877 (do_fcntl): Do not check miss_F_GETOWN_EX.
3878 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3879
4a103975
JM
3880 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3881 Remove macro.
3882 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3883 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3884 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3885
a2a76afe
JM
3886 * sysdeps/unix/sysv/linux/kernel-features.h
3887 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3888 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3889 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3890 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3891
90e5dd48
MR
38922014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3893
3894 [BZ #17075]
3895 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3896 Fix calculation of the symbol's value.
3897 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3898 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3899 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3900 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3901 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3902 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3903 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3904 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3905 (modules-names): Add `tst-armtlsdescmod',
3906 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3907 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3908 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3909 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3910 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3911 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3912 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3913 ($(objpfx)tst-armtlsdescloc): New dependency.
3914 ($(objpfx)tst-armtlsdescextnow): Likewise.
3915 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3916 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3917 TLS scheme support.
3918 * sysdeps/arm/configure: Regenerate.
3919
809fdf0d
JM
39202014-06-20 Joseph Myers <joseph@codesourcery.com>
3921
3922 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3923 (__atfct_seterrno_2): Likewise.
3924 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3925 <kernel-features.h>.
3926 (__ASSUME_ATFCTS): Do not undefine and redefine.
3927 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3928 (__have_atfcts): Remove conditional definition.
3929 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3930 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3931 unreachable if [__ASSUME_ATFCTS].
3932 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3933 not undefine and redefine.
3934 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3935 <kernel-features.h>.
3936 (faccessat) [__NR_faccessat]: Make code unconditional.
3937 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3938 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3939 <kernel-features.h>.
3940 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3941 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3942 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3943 <kernel-features.h>.
3944 (fchownat) [__NR_fchownat]: Make code unconditional.
3945 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3946 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3947 <kernel-features.h>.
3948 (futimesat) [__NR_futimesat]: Make code unconditional.
3949 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3950 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3951 <kernel-features.h>.
3952 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3953 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3954 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3955 <kernel-features.h>.
3956 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3957 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3958 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3959 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3960 <kernel-features.h>.
3961 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3962 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3963 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3964 <kernel-features.h>.
3965 (linkat) [__NR_linkat]: Make code unconditional.
3966 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3967 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3968 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3969 <kernel-features.h>.
3970 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3971 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3972 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3973 <kernel-features.h>.
3974 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3975 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3976 * sysdeps/unix/sysv/linux/openat.c: Do not include
3977 <kernel-features.h>.
3978 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3979 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3980 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3981 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3982 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3983 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3984 <kernel-features.h>.
3985 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3986 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3987 result of INLINE_SYSCALL directly, not via int variable.
3988 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3989 <kernel-features.h>.
3990 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3991 (renameat) [__NR_renameat]: Make code unconditional.
3992 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3993 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3994 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3995 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3996 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3997 (__ASSUME_ATFCTS): Do not undefine and redefine.
3998 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3999 <kernel-features.h>.
4000 (symlinkat) [__NR_symlinkat]: Make code unconditional.
4001 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4002 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4003 <kernel-features.h>.
4004 (unlinkat) [__NR_unlinkat]: Make code unconditional.
4005 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4006 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4007 (__ASSUME_ATFCTS): Do not undefine and redefine.
4008 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4009 <kernel-features.h>.
4010 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4011 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4012 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4013 <kernel-features.h>.
4014 (__xmknodat) [__NR_mknodat]: Make code unconditional.
4015 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4016
224c6c51
L
40172014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4018
4019 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4020
aa6ec754
AS
40212014-06-20 Andreas Schwab <schwab@linux-m68k.org>
4022
4023 [BZ #17069]
4024 * posix/regcomp.c (parse_reg_exp): Deallocate partially
4025 constructed tree before returning error.
4026 * posix/bug-regexp36.c: Expand test case.
4027
d8c2869d
SL
40282014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4029
3ef6b850
SL
4030 [BZ #6803]
4031 * math/libm-test.inc (scalbln_test_date):
4032 Add errno expectations.
4033 * math/w_scalblnf.c: New File.
4034 Add wrapper which checks for setting errno to ERANGE.
4035 Add weak_alias for corresponding scalbln function.
4036 * math/w_scalbln.c: Likewise.
4037 * math/w_scalblnl.c: Likewise.
4038 * math/Makefile (libm-calls): Add w_scalbln.
4039 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4040 Remove weak_alias for corresponding scalbln function.
4041 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4042 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4043 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4044 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4045 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4046 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4047 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4048 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4049 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4050 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4051 Remove long_double_symbol for scalblnl function in libm, libc.
4052 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4053 Add wrapper which checks for setting errno to ERANGE.
4054 Add long_double_symbol for scalblnl function in libm, libc.
4055 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4056 Remove long_double_symbol for scalblnl in libm.
4057 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4058 Add wrapper which checks for setting errno to ERANGE.
4059 Add long_double_symbol for scalblnl function in libm.
4060 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4061 Do not use wrapper because of own implementation.
4062
c8daec5c
L
40632014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4064
4065 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4066 3 bytes for __pad1 for x32.
4067 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4068
5c74e47c
LM
40692014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4070 H.J. Lu <hongjiu.lu@intel.com>
4071
4072 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4073 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4074 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4075 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4076 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4077
4d43ef1e
AS
40782014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4079
4080 [BZ #17069]
4081 * posix/regcomp.c (parse_expression): Deallocate partially
4082 constructed tree before returning error.
4083 * posix/Makefile.c (tests): Add bug-regex36.
4084 (generated): Add bug-regex36.mtrace.
4085 (tests-special): Add $(objpfx)bug-regex36-mem.out
4086 (bug-regex36-ENV): New variable.
4087 ($(objpfx)bug-regex36-mem.out): New rule.
4088 * posix/bug-regex36.c: New file.
4089
51a7380b
WN
40902014-06-19 Will Newton <will.newton@linaro.org>
4091
4092 * malloc/malloc.c (systrim): If extra is zero then return
4093 early.
4094
91b84fe5
SP
40952014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4096
4097 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4098
f940b965
RE
40992014-06-19 Richard Earnshaw <rearnsha@arm.com>
4100
4101 * sysdeps/aarch64/strchr.S: New file.
4102
4ba7a00f
JM
41032014-06-18 Joseph Myers <joseph@codesourcery.com>
4104
4105 [BZ #17022]
4106 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4107 from arguments -2 or below.
4108 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4109 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4110
b3a9f56b
AS
41112014-06-18 Andreas Schwab <schwab@suse.de>
4112
4113 [BZ #17062]
4114 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4115 of a bracket expr not to run off the end of the string.
4116 * posix/Makefile (tests): Add tst-fnmatch3.
4117 * posix/tst-fnmatch3.c: New file.
4118
85d89278
JM
41192014-06-18 Joseph Myers <joseph@codesourcery.com>
4120
4121 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4122 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4123 [$(cross-compiling) = no]: Likewise.
4124 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4125 [$(cross-compiling) = no]: Likewise.
4126
754c5a08
RS
41272014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4128
4129 [BZ #17031]
4130 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4131 double, adjusted for any remainder from the high double.
4132 * math/libm-test.inc (nearbyint): Add tests.
4133 (rint): Likewise.
4134
556f529d
AZ
41352014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4136
4137 * nptl/sysdeps/powerpc/Makefile: Moved ...
4138 * sysdeps/powerpc/nptl/Makefile: ... here.
4139 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4140 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4141 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4142 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4143 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4144 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4145 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4146 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4147 * nptl/sysdeps/powerpc/tls.h: Moved ...
4148 * sysdeps/powerpc/nptl/tls.h: ... here.
4149
91c03c53
JM
41502014-06-16 Joseph Myers <joseph@codesourcery.com>
4151
4152 [BZ #16681]
4153 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4154 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4155 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4156 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4157 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4158 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4159 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4160 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4161 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4162
a76e63c5
AS
41632014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4164
4165 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4166
f2f6d82f
AS
41672014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4168
ea8a15f6
AS
4169 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4170 defined operator.
4171
f2f6d82f
AS
4172 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4173 $TIMEOUTFACTOR.
4174
a7291117
FW
41752014-06-16 Florian Weimer <fweimer@redhat.com>
4176
4177 [BZ #17058]
4178 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4179 non-executed part of the test.
4180
3d7c00e3
AS
41812014-06-16 Andreas Schwab <schwab@suse.de>
4182
4183 * string/bits/string2.h (strdup, strndup): Update feature guard.
4184
6957fb31
DM
41852014-06-14 David S. Miller <davem@davemloft.net>
4186
4187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4188
11b9e55b
AS
41892014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4190
1d2a0492
AS
4191 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4192 that was previously under [RESET_PID].
4193 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4194
11b9e55b
AS
4195 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4196 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4197 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4198 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4199 (__libc_vfork): New strong alias.
4200 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4201
0f6901d0
AK
42022014-06-14 Andi Kleen <ak@linux.intel.com>
4203
4204 * sysdeps/generic/elide.h: New file.
4205
38bbbb9f
SL
42062014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4207
4208 * Makefile (installed-headers): Adjust path of pthread.h header.
4209
45193bb8
RM
42102014-06-13 Roland McGrath <roland@hack.frob.com>
4211
9a25fd1e
RM
4212 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4213 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4214 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4215 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4216
4004f7e4
RM
4217 * nptl/sysdeps/s390/Makefile: Moved ...
4218 * sysdeps/s390/nptl/Makefile: ... here.
4219 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4220 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4221 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4222 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4223 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4224 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4225 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4226 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4227 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4228 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4229 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4230 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4231 * nptl/sysdeps/s390/tls.h: Moved ...
4232 * sysdeps/s390/nptl/tls.h: ... here.
4233
45193bb8
RM
4234 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4235 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4236
f6fdf533
DM
42372014-06-13 David S. Miller <davem@davemloft.net>
4238
4239 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4240 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4241 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4242 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4243 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4244 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4245 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4246 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4247 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4248 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4249 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4250 Remove RESET_PID cpp guards.
4251 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4252 Remove RESET_PID cpp guards.
4253 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4254
f5d71e14
AS
42552014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4256
4257 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4258 __sp to uintptr_t.
4259
b7aa8caa
AK
42602014-06-13 Andi Kleen <ak@linux.intel.com>
4261
4b266200
AZ
4262 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4263 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4264 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4265 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4266 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4267 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4268 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4269 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4270 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4271 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4272 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4273 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4274 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4275 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4276 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4277 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4278 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4279 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4280 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4281 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
4282
4283 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
4284 (pthread_rwlock_rdlock): Add elision.
4285 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4286 (pthread_rwlock_wrlock): Add elision.
4287 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4288 (pthread_rwlock_trywrlock): Add elision.
4289 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4290 (pthread_rwlock_tryrdlock): Add elision.
4291 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4292 (pthread_rwlock_tryrdlock): Add elision unlock.
4293 * nptl/sysdeps/pthread/pthread.h:
4294 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4295 (PTHREAD_RWLOCK_INITIALIZER,
4296 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4297 Handle new elision field.
4298 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4299 * sysdeps/arm/nptl/bits/pthreadtypes.h
4300 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4301 * sysdeps/sh/nptl/bits/pthreadtypes.h
4302 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4303 * sysdeps/tile/nptl/bits/pthreadtypes.h
4304 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4305 * sysdeps/a/nptl/bits/pthreadtypes.h
4306 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4307 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4308 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4309 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4310 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4311 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4312 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4313 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4314 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4315 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4316 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4317 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4318 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4319 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4320 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4321 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4322 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4323 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4324 (elision_init): Set try_xbegin to zero when no RTM.
4325 * sysdeps/x86/nptl/bits/pthreadtypes.h
4326 (pthread_rwlock_t): Change __pad1 to __rwelision.
4327 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 4328
a832bdd3
AK
43292014-06-13 Andi Kleen <ak@linux.intel.com>
4330
4331 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4332 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4333 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4334 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4335
995a46bb
MI
43362014-06-13 Meador Inge <meadori@codesourcery.com>
4337
4338 [BZ #16996]
03ed7738 4339 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
4340 that the cached result has been set before returning it.
4341
45262aee
RM
43422014-06-12 Roland McGrath <roland@hack.frob.com>
4343
febf6cc5
RM
4344 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4345 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4346 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4347 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4348 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4349 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4350
e2682246
RM
4351 * nptl/sysdeps/sparc/Makefile: Moved ...
4352 * sysdeps/sparc/nptl/Makefile: ... here.
4353 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4354 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4355 * nptl/sysdeps/sparc/tls.h: Moved ...
4356 * sysdeps/sparc/nptl/tls.h: ... here.
4357 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4358 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4359 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4360 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4361 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4362 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4363 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4364 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4365 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4366 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4367 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4368 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4369 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4370 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4371 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4372 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4373 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4374 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4375 Update #include.
4376 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4377 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4378 Update #include.
4379 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4380 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4381 Update #include.
4382 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4383 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4384 Update #include.
4385
b0725f43
RM
4386 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4387
b14368b8
RM
4388 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4389 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4390
c5620eb3
RM
4391 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4392 (struct list_links): Type removed.
4393 (struct thread_node, struct timer_node): Replace struct list_links
4394 with struct list_head.
4395 (list_unlink_ip): Likewise.
4396 * sysdeps/pthread/timer_routines.c
4397 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4398 (list_append, list_insbefore): Likewise.
4399 (list_init): Function removed.
4400 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
4401 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4402 * sysdeps/pthread/Makefile: ... here, new file.
4403
4404 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4405 * sysdeps/nptl/Implies: ... here.
4406 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4407 * nptl/sysdeps/pthread/list.h: Moved ...
4408 * include/list.h: ... here.
4409 * nptl/sysdeps/pthread/createthread.c: Moved ...
4410 * nptl/createthread.c: ... here.
4411 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4412 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4413 * nptl/pt-longjmp.c: ... here.
4414 * nptl/sysdeps/pthread/Makefile: Moved ...
4415 * sysdeps/nptl/Makefile: ... here.
4416 * nptl/sysdeps/pthread/Subdirs: Moved ...
4417 * sysdeps/nptl/Subdirs: ... here.
4418 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4419 * sysdeps/nptl/aio_misc.h: ... here.
4420 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4421 * sysdeps/nptl/bits/libc-lock.h: ... here.
4422 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4423 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4424 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4425 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4426 * nptl/sysdeps/pthread/configure: Moved ...
4427 * sysdeps/nptl/configure: ... here.
4428 * nptl/sysdeps/pthread/configure.ac: Moved ...
4429 * sysdeps/nptl/configure.ac: ... here.
4430 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4431 * sysdeps/nptl/gai_misc.h: ... here.
4432 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4433 * sysdeps/nptl/librt-cancellation.c: ... here.
4434 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4435 * sysdeps/nptl/malloc-machine.h: ... here.
4436 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4437 * sysdeps/nptl/pthread-functions.h: ... here.
4438 * nptl/sysdeps/pthread/pthread.h: Moved ...
4439 * sysdeps/nptl/pthread.h: ... here.
4440 * nptl/sysdeps/pthread/setxid.h: Moved ...
4441 * sysdeps/nptl/setxid.h: ... here.
4442 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4443 * sysdeps/nptl/sigfillset.c: ... here.
4444 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4445 * sysdeps/nptl/tcb-offsets.h: ... here.
4446 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4447 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4448 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4449 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4450 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4451 * sysdeps/pthread/allocalim.h: ... here.
4452 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4453 * sysdeps/pthread/bits/sigthread.h: ... here.
4454 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4455 * sysdeps/pthread/flockfile.c: ... here.
4456 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4457 * sysdeps/pthread/ftrylockfile.c: ... here.
4458 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4459 * sysdeps/pthread/funlockfile.c: ... here.
4460 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4461 * sysdeps/pthread/posix-timer.h: ... here.
4462 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4463 * sysdeps/pthread/timer_create.c: ... here.
4464 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4465 * sysdeps/pthread/timer_delete.c: ... here.
4466 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4467 * sysdeps/pthread/timer_getoverr.c: ... here.
4468 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4469 * sysdeps/pthread/timer_gettime.c: ... here.
4470 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4471 * sysdeps/pthread/timer_routines.c: ... here.
4472 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4473 * sysdeps/pthread/timer_settime.c: ... here.
4474 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4475 * sysdeps/pthread/tst-timer.c: ... here.
4476 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4477 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4478
e876b090
RM
4479 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4480 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4481
f6b07b3d
RM
4482 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4483 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4484 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4485 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4486 Update #include target.
4487 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4488 * sysdeps/i386/i686/nptl/Makefile: ... here.
4489 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4490 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4491 Update #include target.
4492 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4493 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4494 * nptl/sysdeps/i386/Makefile: Moved ...
4495 * sysdeps/i386/nptl/Makefile: ... here.
4496 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4497 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4498 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4499 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4500 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4501 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4502 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4503 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4504 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4505 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4506 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4507 * nptl/sysdeps/i386/tls.h: Moved ...
4508 * sysdeps/i386/nptl/tls.h: ... here.
4509
45262aee
RM
4510 * sysdeps/sh/Makefile [$(subdir) = csu]
4511 (gen-as-const-headers): Add tcb-offsets.sym.
4512 * nptl/sysdeps/sh/Makefile: File removed.
4513 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4514 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4515 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4516 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4517 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4518 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4519 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4520 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4521 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4522 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4523 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4524 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4525 * nptl/sysdeps/sh/tls.h: Moved ...
4526 * sysdeps/sh/nptl/tls.h: ... here.
4527 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4528 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4529 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4530 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4531 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4532 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4533 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4534 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4535 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4536 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4537 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4538 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4539 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4540 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4541 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4542 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4543 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4544 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4545 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4546 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4547 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4548 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4549 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4550 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4551 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4552 Moved ...
4553 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4554 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4555 Moved ...
4556 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4557 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4558 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4559 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4560 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4561 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4562 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4563 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4564 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4565 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4566 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4567 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4568 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4569 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4570 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4571 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4572 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4573 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4574 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4575
35a5e3e3
SL
45762014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4577
4578 * posix/spawn_faction_addopen.c: Include string.h.
4579
14642b85
RM
45802014-06-11 Roland McGrath <roland@hack.frob.com>
4581
4582 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4583 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4584 * nptl/sysdeps/x86_64/Makefile: Moved ...
4585 * sysdeps/x86_64/nptl/Makefile: ... here.
4586 * nptl/sysdeps/x86_64/configure: Moved ...
4587 * sysdeps/x86_64/nptl/configure: ... here.
4588 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4589 * sysdeps/x86_64/nptl/configure.ac: ... here.
4590 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4591 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4592 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4593 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4594 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4595 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4596 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4597 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4598 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4599 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4600 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4601 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4602 * nptl/sysdeps/x86_64/tls.h: Moved ...
4603 * sysdeps/x86_64/nptl/tls.h: ... here.
4604 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4605 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4606 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4607 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4608
4609 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4610
31c44fea
AZ
46112014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4612
4613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4614
e81a4f9a
JM
46152014-06-11 Joseph Myers <joseph@codesourcery.com>
4616
4617 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4618 type.
4619 [POSIX] (off_t): Likewise.
4620 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4621 [POSIX] (S_ISBLK): Require macro.
4622 [POSIX] (S_ISCHR): Likewise.
4623 [POSIX] (S_ISDIR): Likewise.
4624 [POSIX] (S_ISFIFO): Likewise.
4625 [POSIX] (S_ISREG): Likewise.
4626 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4627 optional-macro.
4628 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4629 type.
4630 [POSIX] (time_t): Likewise.
4631 [POSIX] (timer_t): Likewise.
4632
89e435f3
FW
46332014-06-11 Florian Weimer <fweimer@redhat.com>
4634
4635 [BZ #17048]
4636 * posix/spawn_int.h (struct __spawn_action): Make the path string
4637 non-const to support deallocation.
4638 * posix/spawn_faction_addopen.c
4639 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4640 * posix/spawn_faction_destroy.c
4641 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4642 path in all spawn_do_open actions.
4643 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4644 posix_spawn_file_actions_addopen.
4645
c3a2ebe1
CM
46462014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4647
4648 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4649 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4650 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4651 conditional code always true.
4652 (__libc_vfork): New alias.
4653
9503784a
RM
46542014-06-11 Roland McGrath <roland@hack.frob.com>
4655
c9cab3d2
RM
4656 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4657 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4658
d3996c79
RM
4659 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4660
ba5ec611
RM
4661 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4662 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4663
f12b4814
RM
4664 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4665 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4666
9503784a
RM
4667 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4668 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4669
e23d3d26
VR
46702014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4671
4672 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4673 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4674 multiarch strcmp for PPC64.
4675 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4676 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4678 multiarch optimizations.
4679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4680 (__libc_ifunc_impl_list): Likewise.
4681
42b1161e
SP
46822014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4683
4684 * benchtests/scripts/validate_benchout.py: New script.
4685 * benchtests/Makefile (bench-func): Call it.
4686 * benchtests/scripts/benchout.schema.json: New file.
4687
2d0fc4dc
CM
46882014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4689
4a594c34
AZ
4690 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4691 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4692 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4693 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4694 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4695 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4696 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4697 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4698 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4699 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4700 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4701 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4702 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4703 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4704 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4705 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 4707 Moved ...
4a594c34 4708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 4709 ... here.
4a594c34 4710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 4711 Moved ...
4a594c34
AZ
4712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 4714 Moved ...
4a594c34 4715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 4716 ... here.
4a594c34 4717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 4718 Moved ...
4a594c34 4719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 4720 ... here.
4a594c34 4721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 4722 Moved ...
4a594c34
AZ
4723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 4725 Moved ...
4a594c34 4726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 4727 ... here.
4a594c34 4728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 4729 Moved ...
4a594c34 4730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 4731 ... here.
4a594c34 4732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 4733 Moved ...
4a594c34
AZ
4734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 4736 Moved ...
4a594c34 4737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 4738 ... here.
4a594c34 4739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 4740 Moved ...
4a594c34 4741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 4742 ... here.
4a594c34 4743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 4744 Moved ...
4a594c34 4745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 4746 ... here.
4a594c34 4747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 4748 Moved ...
4a594c34
AZ
4749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 4751 Moved ...
4a594c34 4752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 4753 ... here.
4a594c34 4754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 4755 Moved ...
4a594c34 4756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 4757 ... here.
4a594c34 4758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 4759 Moved ...
4a594c34 4760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 4761 ... here.
4a594c34 4762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 4763 Moved ...
4a594c34
AZ
4764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 4766 Moved ...
4a594c34 4767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 4768 ... here.
4a594c34 4769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 4770 Moved ...
4a594c34 4771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 4772 ... here.
4a594c34 4773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 4774 Moved ...
4a594c34
AZ
4775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 4777 Moved ...
4a594c34 4778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 4779 ... here.
4a594c34 4780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 4781 Moved ...
4a594c34
AZ
4782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 4784 Moved ...
4a594c34
AZ
4785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 4787 Moved ...
4a594c34 4788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 4789 ... here.
4a594c34 4790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 4791 Moved ...
4a594c34 4792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 4793 ... here.
4a594c34 4794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 4795 Moved ...
4a594c34 4796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 4797 ... here.
4a594c34 4798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 4799 Moved ...
4a594c34
AZ
4800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 4802 Moved ...
4a594c34 4803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 4804 ... here.
4a594c34 4805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 4806 Moved ...
4a594c34 4807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 4808 ... here.
4a594c34
AZ
4809 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4810 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4811 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4812 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4813 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 4814 Moved ...
4a594c34 4815 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 4816 ... here.
4a594c34
AZ
4817 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4818 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4819 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4820 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4821 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4822 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4823 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4824 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4825 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4826 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4827 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4828 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4829 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 4830 Moved ...
4a594c34
AZ
4831 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4832 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 4833 Moved ...
4a594c34
AZ
4834 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4835 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4836 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4837 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 4838 Moved ...
4a594c34
AZ
4839 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4840 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4841 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4842 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4843 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4844 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4845 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 4846
0570cfed
W
48472014-06-10 Wilco <wdijkstr@arm.com>
4848
4849 * math/test-fenv-return.c: New file.
4850 * math/Makefile: Add new test test-fenv-return.
4851
f8ba1b56
JM
48522014-06-10 Joseph Myers <joseph@codesourcery.com>
4853
4854 [BZ #17042]
4855 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4856 when x - 1 is zero.
4857 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4858 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4859 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4860 0.0L for an argument of 1.0L.
4861 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4862 Likewise.
4863 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4864 value when x - 1 is zero.
4865 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4866 * sysdeps/i386/fpu/libm-test-ulps: Update.
4867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4868
2c3520d9
BO
48692014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4870
4871 [BZ #15119]
4872 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4873
acaa4d24
RM
48742014-06-09 Roland McGrath <roland@hack.frob.com>
4875
4876 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4877 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4878
962b744d
RM
48792014-06-09 Roland McGrath <roland@hack.frob.com>
4880
d752f0cc
RM
4881 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4882 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4883
34eda6d1
RM
4884 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4885 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4886
50f0a637
RM
4887 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4888 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4889
08f41f04
RM
4890 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4891 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4892
962b744d
RM
4893 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4894 if not already defined.
4895 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4896 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4897 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4898 (TLS_INIT_TP): Use it.
4899 (TLS_DEFINE_INIT_TP): New macro.
4900 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4901
09f19b05
JM
49022014-06-09 Joseph Myers <joseph@codesourcery.com>
4903
4904 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4905 constant.
4906 [POSIX] (IXANY): Likewise.
4907 [POSIX] (OLCUC): Likewise.
4908 [POSIX || POSIX2008] (CBAUD): Do not allow.
4909 [POSIX || POSIX2008] (DEFECHO): Likewise.
4910 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4911 [POSIX || POSIX2008] (ECHOKE): Likewise.
4912 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4913 [POSIX || POSIX2008] (EXTA): Likewise.
4914 [POSIX || POSIX2008] (EXTB): Likewise.
4915 [POSIX || POSIX2008] (FLUSHO): Likewise.
4916 [POSIX || POSIX2008] (LOBLK): Likewise.
4917 [POSIX || POSIX2008] (PENDIN): Likewise.
4918 [POSIX || POSIX2008] (SWTCH): Likewise.
4919 [POSIX || POSIX2008] (VDISCARD): Likewise.
4920 [POSIX || POSIX2008] (VDSUSP): Likewise.
4921 [POSIX || POSIX2008] (VLNEXT): Likewise.
4922 [POSIX || POSIX2008] (VREPRINT): Likewise.
4923 [POSIX || POSIX2008] (VSTATUS): Likewise.
4924 [POSIX || POSIX2008] (VWERASE): Likewise.
4925 (B*): Change to B[0123456789]*.
4926 * conform/data/time.h-data [POSIX || UNIX98]
4927 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4928 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4929 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4930 [POSIX] (tm_*): Do not allow.
4931
686554bf
JM
49322014-06-07 Joseph Myers <joseph@codesourcery.com>
4933
4934 * Makefile (install): Don't set LANGUAGE.
4935 * Makefile.in (install): Likewise.
4936 * assert/Makefile (test-assert-ENV): Remove variable.
4937 (test-assert-perr-ENV): Likewise.
4938 * elf/Makefile (neededtest4-ENV): Likewise.
4939 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4940 [$(cross-compiling) = no]: Don't set LANGUAGE.
4941 * io/ftwtest-sh (LANG): Remove variable.
4942 * libio/Makefile (tst-widetext-ENV): Likewise.
4943 * manual/install.texi (Running make install): Don't refer to
4944 environment settings for make install.
4945 * INSTALL: Regenerated.
4946 * nptl/tst-tls6.sh: Don't set LANG.
4947 * posix/globtest.sh (LANG): Remove variable.
4948 * string/Makefile (tester-ENV): Likewise.
4949 (inl-tester-ENV): Likewise.
4950 (noinl-tester-ENV): Likewise.
4951 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4952 [$(cross-compiling) = no]: Don't set LANGUAGE.
4953 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4954 without explicit environment settings.
4955
68e6b6b1
RM
49562014-06-06 Roland McGrath <roland@hack.frob.com>
4957
4958 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4959 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4960 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4961 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4962
4d3ae034
CM
49632014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4964
4965 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4966 other files in the crypt directory.
4967 * crypt/crypt.c: Remove duplicate includes.
4968 * crypt/crypt-entry.c: Likewise.
4969 * crypt/crypt_util.c: Likewise.
4970
8540f6d2
JM
49712014-06-06 Joseph Myers <joseph@codesourcery.com>
4972
4973 * Makeconfig (run-program-env): New variable.
4974 (run-program-prefix-before-env): Likewise.
4975 (run-program-prefix-after-env): Likewise.
4976 (run-program-prefix): Define in terms of new variables.
4977 (built-program-cmd-before-env): New variable.
4978 (built-program-cmd-after-env): Likewise.
4979 (built-program-cmd): Define in terms of new variables.
4980 (test-program-prefix-before-env): New variable.
4981 (test-program-prefix-after-env): Likewise.
4982 (test-program-prefix): Define in terms of new variables.
4983 (test-program-cmd-before-env): New variable.
4984 (test-program-cmd-after-env): Likewise.
4985 (test-program-cmd): Define in terms of new variables.
4986 * Rules (make-test-out): Use $(run-program-env).
4987 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4988 (help): Do not mention environment variables. Mention
4989 --timeoutfactor option.
4990 (timeoutfactor): New variable.
4991 (blacklist_exports): Remove function.
4992 (exports): Remove variable.
4993 (command): Do not include ${exports}.
4994 * manual/install.texi (Configuring and compiling): Do not mention
4995 test wrappers preserving environment variables. Mention that last
4996 assignment to a variable must take precedence.
4997 * INSTALL: Regenerated.
4998 * benchtests/Makefile (run-bench): Use $(run-program-env).
4999 * catgets/Makefile ($(objpfx)test1.cat): Use
5000 $(built-program-cmd-before-env), $(run-program-env) and
5001 $(built-program-cmd-after-env).
5002 ($(objpfx)test2.cat): Do not specify environment variables
5003 explicitly.
5004 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5005 $(run-program-env) and $(built-program-cmd-after-env).
5006 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5007 $(run-program-env) and $(test-program-cmd-after-env).
5008 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5009 explicitly.
5010 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5011 run_program_env and test_program_cmd_after_env arguments.
5012 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5013 * elf/tst-pathopt.sh: Use run_program_env argument.
5014 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5015 $(test-wrapper-env) and $(run-program-env).
5016 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5017 run_program_env arguments.
5018 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5019 * intl/Makefile ($(objpfx)tst-gettext.out): Use
5020 $(test-program-prefix-before-env), $(run-program-env) and
5021 $(test-program-prefix-after-env).
5022 ($(objpfx)tst-gettext2.out): Likewise.
5023 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5024 run_program_env and test_program_prefix_after_env arguments.
5025 * intl/tst-gettext2.sh: Likewise.
5026 * intl/tst-gettext4.sh: Do not set environment variables
5027 explicitly.
5028 * intl/tst-gettext6.sh: Likewise.
5029 * intl/tst-translit.sh: Likewise.
5030 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5031 $(test-program-prefix-before-env), $(run-program-env) and
5032 $(test-program-prefix-after-env).
5033 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5034 run_program_env and test_program_prefix_after_env arguments.
5035 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5036 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5037 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5038 explicitly with each use of ${test_wrapper_env}.
5039 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5040 $(test-program-prefix-before-env), $(run-program-env) and
5041 $(test-program-prefix-after-env).
5042 * posix/tst-getconf.sh: Do not set environment variables
5043 explicitly.
5044 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5045 run_program_env and test_program_prefix_after_env arguments.
5046 * stdio-common/tst-printf.sh: Do not set environment variables
5047 explicitly.
5048 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5049 $(test-program-prefix-before-env), $(run-program-env) and
5050 $(test-program-prefix-after-env).
5051 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5052 run_program_env and test_program_prefix_after_env arguments.
5053 Split $test calls into $test_pre and $test.
5054 * timezone/Makefile (build-testdata): Use
5055 $(built-program-cmd-before-env), $(run-program-env) and
5056 $(built-program-cmd-after-env).
5057
ed36bfa1
AZ
50582014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5059
5060 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5061 strlen for non SHARED builds.
5062
fc75bf46
SP
50632014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5064
5065 * nptl/allocatestack.c (check_list): Inlined function...
5066 (__reclaim_stacks): ... here.
5067
d89b3d80
OB
50682014-06-05 Ondřej Bílka <neleai@seznam.cz>
5069
5070 [BZ #15698]
5071 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5072 memory overrun.
5073
2bf18041
JM
50742014-06-05 Joseph Myers <joseph@codesourcery.com>
5075
5076 * Rules (make-test-out): Include
5077 LOCPATH=$(common-objpfx)localedata in default environment.
5078 * debug/Makefile (tst-chk1-ENV): Remove variable.
5079 (tst-chk2-ENV): Likewise.
5080 (tst-chk3-ENV): Likewise.
5081 (tst-chk4-ENV): Likewise.
5082 (tst-chk5-ENV): Likewise.
5083 (tst-chk6-ENV): Likewise.
5084 (tst-lfschk1-ENV): Likewise.
5085 (tst-lfschk2-ENV): Likewise.
5086 (tst-lfschk3-ENV): Likewise.
5087 (tst-lfschk4-ENV): Likewise.
5088 (tst-lfschk5-ENV): Likewise.
5089 (tst-lfschk6-ENV): Likewise.
5090 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5091 (tst-iconv7-ENV): Likewise.
5092 * intl/Makefile (LOCPATH-ENV): Likewise.
5093 (tst-codeset-ENV): Likewise.
5094 (tst-gettext3-ENV): Likewise.
5095 (tst-gettext5-ENV): Likewise.
5096 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5097 (tst-fopenloc-ENV): Likewise.
5098 (tst-fgetws-ENV): Remove variable.
5099 (tst-ungetwc1-ENV): Likewise.
5100 (tst-ungetwc2-ENV): Likewise.
5101 (bug-ungetwc2-ENV): Likewise.
5102 (tst-swscanf-ENV): Likewise.
5103 (bug-ftell-ENV): Likewise.
5104 (tst-fgetwc-ENV): Likewise.
5105 (tst-fseek-ENV): Likewise.
5106 (tst-ftell-partial-wide-ENV): Likewise.
5107 (tst-ftell-active-handler-ENV): Likewise.
5108 (tst-ftell-append-ENV): Likewise.
5109 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5110 (tst-regexloc-ENV): Likewise.
5111 (bug-regex1-ENV): Likewise.
5112 (tst-regex-ENV): Likewise.
5113 (tst-regex2-ENV): Likewise.
5114 (bug-regex5-ENV): Likewise.
5115 (bug-regex6-ENV): Likewise.
5116 (bug-regex17-ENV): Likewise.
5117 (bug-regex18-ENV): Likewise.
5118 (bug-regex19-ENV): Likewise.
5119 (bug-regex20-ENV): Likewise.
5120 (bug-regex22-ENV): Likewise.
5121 (bug-regex23-ENV): Likewise.
5122 (bug-regex25-ENV): Likewise.
5123 (bug-regex26-ENV): Likewise.
5124 (bug-regex30-ENV): Likewise.
5125 (bug-regex32-ENV): Likewise.
5126 (bug-regex33-ENV): Likewise.
5127 (bug-regex34-ENV): Likewise.
5128 (bug-regex35-ENV): Likewise.
5129 (tst-rxspencer-ENV): Likewise.
5130 (tst-rxspencer-no-utf8-ENV): Likewise.
5131 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5132 (tst-sscanf-ENV): Likewise.
5133 (tst-swprintf-ENV): Likewise.
5134 (tst-swscanf-ENV): Likewise.
5135 (test-vfprintf-ENV): Likewise.
5136 (scanf13-ENV): Likewise.
5137 (bug14-ENV): Likewise.
5138 (tst-grouping-ENV): Likewise.
5139 * stdlib/Makefile (tst-strtod-ENV): Likewise.
5140 (tst-strtod3-ENV): Likewise.
5141 (tst-strtod4-ENV): Likewise.
5142 (tst-strtod5-ENV): Likewise.
5143 (testmb2-ENV): Likewise./
5144 * string/Makefile (tst-strxfrm-ENV): Likewise.
5145 (tst-strxfrm2-ENV): Likewise.
5146 (bug-strcoll1-ENV): Likewise.
5147 (test-strcasecmp-ENV): Likewise.
5148 (test-strncasecmp-ENV): Likewise.
5149 * time/Makefile (tst-strptime-ENV): Likewise.
5150 (tst-ftime_l-ENV): Likewise.
5151 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5152 (tst-mbrtowc-ENV): Likewise.
5153 (tst-wcrtomb-ENV): Likewise.
5154 (tst-mbrtowc2-ENV): Likewise.
5155 (tst-c16c32-1-ENV): Likewise.
5156 (tst-mbsnrtowcs-ENV): Likewise.
5157
cd1fb604
OB
51582014-06-05 Ondřej Bílka <neleai@seznam.cz>
5159
5160 * manual/resource.texi (How to get information about the memory
5161 subsystem?): Fix typo.
5162 Reported by Peon de la Parra Ivan <peon@keba.com>
5163
b42eca7d
GY
51642014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5165
5166 [BZ #16882]
5167 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5168 (pthread_spin_lock): Branch out of spin loop to proper location.
5169 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5170 (pthread_spin_lock): Likewise.
5171
902b71f9
DM
5172 * nptl/tst-spin4.c: New test.
5173 * nptl/Makefile (tests): Add tst-spin4.
5174
f9d2d032
AS
51752014-06-03 Andreas Schwab <schwab@suse.de>
5176
5177 [BZ #15946]
5178 * resolv/res_send.c (send_dg): Reload file descriptor after
5179 calling reopen.
5180
cf7bfd28
SL
51812014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5182
5183 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5184
111cc714
RH
51852014-06-03 Richard Henderson <rth@redhat.com>
5186
89b4bd6b
RH
5187 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5188 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5189 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5190 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5191 in the SAVE_PID block.
5192 (__libc_vfork): New alias.
71840409 5193 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 5194
111cc714
RH
5195 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5196 child in registers, not on the stack. Remove RESET_PID conditionals.
5197 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5198
ccc39911
MS
51992014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5200
5201 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5202
693096cc
W
52032014-06-03 Wilco <wdijkstr@arm.com>
5204
5205 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5206 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5207 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5208 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5209 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5210 Likewise.
5211
0b4366bc
W
52122014-06-03 Wilco <wdijkstr@arm.com>
5213
5214 * sysdeps/aarch64/fpu/math_private.h
5215 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5216 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5217 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5218 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5219 Fix declarations.
5220
8747cd03
KS
52212014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5222
5223 * crypt/crypt-private.h: Include ufc-crypt.h.
5224 (__b64_from_24bit): Declare extern.
5225 * crypt/crypt_util.c(__b64_from_24bit): New function.
5226 (b64t): New static const variable.
5227 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5228 (b64t): Remove variable.
5229 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5230 * crypt/sha256-crypt.c: Include crypt-private.h.
5231 (b64t): Remove variable.
5232 (__sha256_crypt_r): Remove b64_from_24bit and replace
5233 with __b64_from_24bit.
5234 * crypt/sha512-crypt.c: Likewise.
5235
d936d379
RM
52362014-06-02 Roland McGrath <roland@hack.frob.com>
5237
5238 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5239 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5240 Label the code __libc_vfork rather than __vfork.
5241 [!NOT_IN_libc] (vfork): Define as weak alias.
5242 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5243 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5244 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5245
9fa76613
SP
52462014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5247
5248 * malloc/malloc.c (malloc_info): Fix format specifier for
5249 n_mmaps.
5250
a88dadbe
W
52512014-06-02 Wilco <wdijkstr@arm.com>
5252
5253 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5254 FPCR write.
5255
c95b3011
W
52562014-06-02 Wilco <wdijkstr@arm.com>
5257
5258 [BZ #17009]
5259 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5260 Rewrite to reduce FPCR/FPSR accesses.
5261
6b4d7a90
DM
52622014-06-01 David S. Miller <davem@davemloft.net>
5263
5264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5265
30f3d07c
DM
52662014-05-31 David S. Miller <davem@davemloft.net>
5267
5268 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5269 to occur in round to nearest mode when |x| >= 2.0
5270
74f31c18
RH
52712014-05-30 Richard Henderson <rth@twiddle.net>
5272
f0712b54
RH
5273 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5274 (PSEUDO_RET_NOERRNO): Remove.
5275 (ret): Don't redefine.
5276 (ret_NOERRNO): Define in terms of ret.
5277 (ret_ERRVAL): Likewise.
5278
74f31c18
RH
5279 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5280 use of PSEUDO_RET; perform the error check directly.
5281
30477995
MM
52822014-05-30 Marko Myllynen <myllynen@redhat.com>
5283
5284 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5285 with __int128_t.
5286
62a58816
SP
52872014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5288
5289 * malloc/malloc (malloc_info): Fix formatting.
5290
4d653a59
SP
52912014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5292 Roland McGrath <roland@hack.frob.com>
5293
5294 * malloc/malloc (malloc_info): Also print mmapped statistics.
5295
5190c17f
RM
52962014-05-30 Roland McGrath <roland@hack.frob.com>
5297
5298 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5299 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5300
987c0269
OB
53012014-05-30 Ondřej Bílka <neleai@seznam.cz>
5302
5303 * malloc/malloc.c (malloc_info): Inline mi_arena.
5304
af4e8ef9
RH
53052014-05-29 Richard Henderson <rth@twiddle.net>
5306
1670e207
RH
5307 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5308 Remove comma before expanding ASM_ARGS_##nr.
5309 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5310 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5311 of ASM_ARGS_##nr.
5312 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5313 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5314 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5315 (ASM_ARGS_1): Add leading comma.
5316
11a28aee
RH
5317 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5318 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5319 to __errno_location.
5320 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5321 Remove the expected plt for __errno_location.
5322
a17e5ffb 5323 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 5324 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
5325 call to __read_tp.
5326
b5be4597
RH
5327 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5328 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5329 it and break it down.
5330 (DOCARGS_0, DOCARGS_1): Do nothing.
5331 (DOCARGS_2): Update to store into the new stack frame.
5332 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5333 (UNDOCARGS_1): Update to restore from the new stack frame.
5334 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5335 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5336
645d44ab
RH
5337 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5338 (SINGLE_THREAD_P): New parameter for result regno.
5339 (PSEUDO): Update to match; use cbz instead of beq.
5340
a8b4f04a
RH
5341 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5342 Use ENTRY to define the _nocancel entry point. Share the syscall
5343 and syscall error check paths with the cancel path.
5344 (PSEUDO_END): New.
5345
af4e8ef9
RH
5346 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5347 whitespace; tabs before and after asm mnemonics.
5348
26b0d2e1
EW
53492014-05-29 Eric Wong <normalperson@yhbt.net>
5350
5351 [BZ #15132]
5352 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5353 Call fstat64 or stat64 internally, depending on arguments passed.
5354 Replace stat buffer argument with file descriptor argument.
5355 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5356 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5357 Pass fd to __internal_statvfs instead of calling fstat64.
5358 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5359 Pass fd to __internal_statvfs64 instead of calling fstat64.
5360 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5361 Pass -1 to __internal_statvfs instead of calling stat64.
5362 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5363 Pass -1 to __internal_statvfs64 instead of calling stat64.
5364
1efe2bd9
RM
53652014-05-28 Roland McGrath <roland@hack.frob.com>
5366
0d3b7a19
RM
5367 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5368 that was previously under [RESET_PID].
5369 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5370
1efe2bd9
RM
5371 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5372 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5373
a6bea3ca
RM
53742014-05-27 Roland McGrath <roland@hack.frob.com>
5375
30b6629e
RM
5376 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5377
a6bea3ca
RM
5378 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5379 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5380
3dfb9a5c
OB
53812014-05-27 Ondřej Bílka <neleai@seznam.cz>
5382
5383 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5384
774f9285
AS
53852014-05-27 Andreas Schwab <schwab@suse.de>
5386
5387 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5388 TLS_INIT_TP macro.
5389 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5390 * elf/rtld.c (init_tls, dl_main): Likewise.
5391 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5392 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5393 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5394 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5395 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5396 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5397 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5398 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5399 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5400 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5401 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5402 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5403 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5404 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5405 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5406 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5407 * sysdeps/generic/tls.h: Update description.
5408
36ffe739
WN
54092014-05-27 Will Newton <will.newton@linaro.org>
5410
5411 [BZ #16990]
5412 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5413 and restore r2 rather than just restoring.
5414
2482ae43
SP
54152014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5416
5417 [BZ #16724]
5418 * libio/tst-ftell-append.c: New test case.
5419 * libio/Makefile (tests): Add test case.
5420 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5421 append mode.
5422 * libio/wfileops.c (do_ftell_wide): Likewise.
5423
3d1024e8
AZ
54242014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5425
bab90016
AZ
5426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5427
c7a8d667
AZ
5428 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5429 ...
5430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5432 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5433 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5434 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5435 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5436 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5437 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5438 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5439 Moved ...
5440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5441 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5442 Moved ...
5443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5444 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5445 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5446 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5447 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5448 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5449 ...
5450 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5451 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5452 Moved ...
5453 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5454 here.
5455 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5456 ...
5457 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5458 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5459 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5460
daee7851
AZ
5461 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5462 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5463 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5464 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5465
50a40819
AZ
5466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5467 merge into ...
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5469 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5470 ...
5471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5472 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5473 ...
5474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5475 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5476 Moved ...
5477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5478 here.
5479 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5480 Moved ...
5481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5482 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5483 Moved ...
5484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5485
8464c2a1
AZ
5486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5487 conditional [RESET_PID].
5488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5489 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5490 removed.
5491 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5492 removed.
5493
3d1024e8
AZ
5494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5495 <tcb-offsets.h>.
5496 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5497 (__libc_vfork): New strong alias.
5498 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5499 removed.
5500 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5501 Removed.
5502
5503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5504 <tcb-offsets.h>.
5505 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5506 (__libc_vfork): New strong alias.
5507 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5508 removed.
5509 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5510 removed.
5511
fdfd175d
CD
55122014-05-26 Carlos O'Donell <carlos@redhat.com>
5513
5514 * malloc/malloc.c (mi_arena): New function.
5515 (malloc_info): Remove nested function mi_arena. Call non-nosted
5516 function mi_arena.
5517
d298c416
AZ
55182014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5519
5520 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5521 by insrwi.
5522 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5523 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5524 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5525 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5526 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5527 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5528 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5529
b60ea6ff
AS
55302014-05-26 Andreas Schwab <schwab@suse.de>
5531
5532 [BZ #16984]
5533 * locale/programs/repertoire.c (repertoire_read): Add slash
5534 between I18NPATH element and file name.
5535 * locale/programs/locfile.c (locfile_read): Likewise.
5536
67365926
SL
55372014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5538
5539 * nptl/pthread_mutexattr_settype.c
5540 (__pthread_mutexattr_settype):
5541 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5542
f8bdf1f0
SL
55432014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5544
5545 * nptl/tst-mutex5 (do_test):
5546 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5547
15eaf6ff
SP
55482014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5549
5550 * benchtests/README: Document 'init' directive.
5551 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5552 BENCH_INIT.
5553 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5554 (parse_file): Recognize 'init' directive.
5555
75f11331
KM
55562014-05-26 Kyle McMartin <kyle@redhat.com>
5557
5558 [BZ #16796]
5559 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5560 alignment of struct pthread.
5561
c3ec475c
SP
55622014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5563
5564 [BZ #16878]
5565 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5566 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5567 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5568 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5569
82aab97c
RH
55702014-05-25 Richard Henderson <rth@twiddle.net>
5571
aa2f176d
RH
5572 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5573 (SINGLE_THREAD_P_PIC): Remove.
5574 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5575 (SINGLE_THREAD_P_PIC): Remove.
5576
ca3cfa40
RH
5577 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5578 branch to syscall error ...
5579 (PSEUDO): ... here.
5580 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5581 from __local_syscall_error to .Lsyscall_error.
5582 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5583 (SYSCALL_ERROR): Update label name.
5584
6e6c2d01
RH
5585 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5586 Do not use DOARGS/UNDOARGS.
5587 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5588 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5589 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5590 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5591 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5592
c69abcee
RH
5593 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5594 block comment.
5595
82aab97c
RH
5596 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5597 define if !NOT_IN_libc.
5598 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5599 define with non-default symbol versions.
5600
8820e3ac
RH
56012014-05-23 Richard Henderson <rth@twiddle.net>
5602
900e445f
RH
5603 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5604 (vfork, __vfork): Define via compat_symbol.
5605
8820e3ac
RH
5606 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5607 [!HAVE_IFUNC] (vfork_compat): Remove.
5608 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5609
e59252a5
JM
56102014-05-23 Joseph Myers <joseph@codesourcery.com>
5611
5612 [BZ #16978]
5613 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5614 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5615 variable.
5616
132c7f5f
RH
56172014-05-23 Richard Henderson <rth@twiddle.net>
5618
bc89e962
RH
5619 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5620 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5621 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5622 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5623
5624 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5625 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5626 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5627 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5628 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5629 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5630 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5631 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5632 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5633 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5634 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5635 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5636 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5637 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5638 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5639 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5640 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5641 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5642 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5643 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5644 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5645 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5646 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5647 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5648 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5649 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5650 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5651 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5652 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5653 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5654 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5655 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5656 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5657 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5658 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5659 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5660 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5661 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5662 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5663 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5664 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5665 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5666 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5667 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5668 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5669 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5670 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5671 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5672 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5673 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5674 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5675 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5676 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5677 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5678 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5679 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5680
e2fa4bc2
RH
5681 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5682 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5683 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5684 before exiting on error.
5685 (__libc_vfork): New strong alias.
5686 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5687 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5688
279b24e2
RH
5689 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5690 that was previously under [RESET_PID].
5691 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5692
132c7f5f
RH
5693 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5694
b72592e7
JM
56952014-05-23 Joseph Myers <joseph@codesourcery.com>
5696
5697 [BZ #16977]
5698 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5699 value when x - 1 is zero.
5700 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5701 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5702 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5703 0.0L for an argument of 1.0L.
5704 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5705 Likewise.
5706 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5707 value when x - 1 is zero.
5708 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5709 * sysdeps/i386/fpu/libm-test-ulps: Update.
5710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5711
2302d679
RV
57122014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5713
5714 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5715 alphasort and versionsort.
5716
32999d63
AZ
57172014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5718
5719 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5720 macro.
5721 [copysignf]: Likewise.
5722
019324d0
SP
57232014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5724
5725 * crypt/md5-crypt.c: Fix formatting.
5726
34fff5c2
KS
57272014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5728
5729 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5730 (b64_from_24bit): New function.
5731
3d2badac
AZ
57322014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5733
5734 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5735 libc_hidden_builtin_def to ifunc.
5736 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5737 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5738
f7bb179f 57392014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
5740
5741 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5742 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5743
4134b50d
JM
57442014-05-21 Joseph Myers <joseph@codesourcery.com>
5745
bb7d0337
JM
5746 * nscd/Depend (linuxthreads): Remove.
5747 (nptl): Add.
5748 * resolv/Depend (linuxthreads): Remove.
5749 * rt/Depend (linuxthreads): Remove.
5750
4134b50d
JM
5751 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5752 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5753 $(common-objpfx)elf/.
5754 (link-libc-before-gnulib): Likewise.
5755 (elfobjdir): Remove variable.
5756 * Makefile (install): Use $(elf-objpfx) instead of
5757 $(common-objpfx)elf/.
5758 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5759 $(elfobjdir)/.
5760 (link-libc-deps): Likewise.
5761 ($(common-objpfx)libc.so): Likewise.
5762 ($(common-objpfx)linkobj/libc.so): Likewise.
5763 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5764 instead of $(common-objpfx)elf/.
5765 (symbolic-link-list): Likewise.
5766 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5767 [$(cross-compiling) = no]: Likewise.
5768 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5769 $(elfobjdir)/.
5770 (static-gnulib-arch): Likewise.
5771 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5772 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5773 $(common-objpfx)elf/.
5774
3612eb8f
RH
57752014-05-21 Richard Henderson <rth@redhat.com>
5776
a6b3657b
RH
5777 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5778 (SINGLE_THREAD_P): Use the correct width load. Fold
5779 into the ldr offset.
5780
3612eb8f
RH
5781 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5782 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5783
175cef41
JM
57842014-05-20 Joseph Myers <joseph@codesourcery.com>
5785
5786 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5787 (libgcc_s_resume): Use __attribute_used__.
5788 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5789 Likewise.
5790
e13bccd3
AZ
57912014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5792
5793 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5794 optimization when used with float constants.
5795
7c112a38
AZ
5796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5797
ae75a883
AJ
57982014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5799
5800 [BZ #16915]
5801 * locale/nl_langinfo_l.c: Make direct reference to every
5802 _nl_current_CATEGORY symbol.
5803 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5804 (tests-static): Add tst-langinfo-static.
5805 (tests-special): Add tst-langinfo-static.out.
5806 ($(objpfx)tst-langinfo.out): Redirect output.
5807 ($(objpfx)tst-langinfo-static.out): New.
5808 * localedata/tst-langinfo.sh: Send output to stdout.
5809 * localedata/tst-langinfo-static.c: New file.
5810
4406c41c
AJ
5811 [BZ #16965]
5812 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5813 when the shift amount is modulo the limb size.
5814
4c0a1e63
RH
58152014-05-20 Richard Henderson <rth@redhat.com>
5816
de9d8f20
RH
5817 [BZ #16967]
5818 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5819 Change type of sa_flags from unsigned int to int.
5820
4c0a1e63
RH
5821 [BZ #16966]
5822 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
5823
5824 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5825
a60339aa
WN
58262014-05-20 Will Newton <will.newton@linaro.org>
5827
5828 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5829 Test the return value of the system call in the nocancel case.
5830
7d05a816
YR
58312014-05-20 Will Newton <will.newton@linaro.org>
5832 Yvan Roux <yvan.roux@linaro.org>
5833
5834 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5835 #include of asm/ptrace.h.
5836 (PTRACE_GET_THREAD_AREA): Remove #undef.
5837 (PTRACE_GETHBPREGS): Likewise.
5838 (PTRACE_SETHBPREGS): Likewise.
5839 (struct user_regs_struct): New structure.
5840 (struct user_fpsimd_struct): New structure.
5841 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5842 #include of asm/ptrace.h and second #include of sys/user.h.
5843 (PTRACE_GET_THREAD_AREA): Remove #undef.
5844 (PTRACE_GETHBPREGS): Likewise.
5845 (PTRACE_SETHBPREGS): Likewise.
5846 (ELF_NGREG): Use new struct user_regs_struct.
5847 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5848
af121e37
AZ
58492014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5850
5851 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5852 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5853
834caf06
JM
58542014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5855
5856 [BZ #16958]
5857 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5858 membar to avoid block loads/stores to overlap previous stores.
5859
e184a918
RH
58602014-05-17 Richard Henderson <rth@redhat.com>
5861
5862 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5863 Create the __##syscall_name##_nocancel entry point.
5864 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5865 Remove; let the sysdep-cancel.h code create it.
5866
f56c7a6a
DM
58672014-05-17 David S. Miller <davem@davemloft.net>
5868
5869 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5870 Protect with __USE_GNU.
5871 (TIOCSET_TEMPT): Likewise.
5872 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5873 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5874 these are already provided in bits/ioctl-types.h
5875
f75616b2
RM
58762014-05-16 Roland McGrath <roland@hack.frob.com>
5877
3edeca86
RM
5878 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5879 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5880
f75616b2
RM
5881 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5882 Use wait4 regardless of [__NR_waitpid].
5883
deb0f7f6
MR
58842014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5885
5886 PR libgcc/60166
5887 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5888 (_FP_NANSIGN_Q): Set the quiet bit.
5889
79520f4b
JM
58902014-05-16 Joseph Myers <joseph@codesourcery.com>
5891
5892 * benchtests/Makefile
5893 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5894 not $(common-objpfx)math/libm.so.
5895 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5896 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5897 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5898 $(common-objpfx)dlfcn/libdl.so.
5899 ($(objpfx)tst-audit8): Depend on $(libm), not
5900 $(common-objpfx)math/libm.so.
5901 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5902 not $(common-objpfx)dlfcn/libdl.so.
5903 * math/Makefile
5904 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5905 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5906 [$(build-shared) = yes].
5907 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5908 $(common-objpfx)nptl/libpthread.so.
5909 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5910 $(common-objpfx)math/libm.so$(libm.so-version) or
5911 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5912 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5913 $(common-objpfx)dlfcn/libdl.so.
5914 * setjmp/Makefile (link-libm): Remove variable.
5915 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5916 * stdio-common/Makefile (link-libm): Remove variable.
5917 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5918 * stdlib/Makefile (link-libm): Remove variable.
5919 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5920 ($(objpfx)tst-strtod-round): Likewise.
5921 ($(objpfx)tst-tininess): Likewise.
5922 ($(objpfx)tst-strtod-underflow): Likewise.
5923 ($(objpfx)tst-strtod6): Likewise.
5924 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5925 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5926 $(common-objpfx)dlfcn/libdl.so.
5927
026b0fe4
AZ
59282014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5929
5930 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5931 BSD terminal modes definitions.
5932
def4bcb2
RM
59332014-05-16 Roland McGrath <roland@hack.frob.com>
5934
fe39b021
RM
5935 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5936 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5937
1d1fc46e 5938 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
5939 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5940 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5941 Don't do #include_next.
5942 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5943 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5944 Don't do #include_next.
5945 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5946 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5947 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5948 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5949
c72399fb
AM
59502014-05-16 Allan McRae <allan@archlinux.org>
5951
d51d659d
AM
5952 * po/sv.po: Update Swedish translation from translation project.
5953
c72399fb
AM
5954 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5955 in sed expression.
5956
d0583c40
AJ
59572014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5958
5959 [BZ #16917]
5960 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5961 errno if the TIOCGPTN ioctl fails with an error different than
5962 EINVAL.
5963 * login/tst-ptsname.c: New file.
5964 * login/Makefile (tests): Add tst-ptsname.
5965
d16e6ec7
AJ
5966 [BZ #16943]
5967 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5968 and prlimit64.
5969
cf26a0cb
SP
59702014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5971
5972 [BZ #16849]
5973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5974 herrno to return EAI_AGAIN.
5975
5675da1e
RM
59762014-05-14 Roland McGrath <roland@hack.frob.com>
5977
a5d87b3d
RM
5978 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5979 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5980 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5981 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5982 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5983 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5984 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5985 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5986 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5987 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5988 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5989 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5990 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5991 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5992 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5993 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5994 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5995 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5996 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5997 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5998 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5999 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6000 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6001 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6002 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6003 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6004 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6005 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6006 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6007 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6009 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6011 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6013 Moved ...
6014 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6016 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6018 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6020 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6022 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6024 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6026 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6028 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6030 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6032 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6034 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6036 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6038 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6040 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6042 Moved ...
6043 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6045 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6047 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6049 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6051 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6053 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6055 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6057 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6059 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6061 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6063 Moved ...
6064 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6066 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6067
039890a6
RM
6068 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6069 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6070 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6071 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6072 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6073 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6074 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6075 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6076 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6077 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6078 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6079 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6080 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6081 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6082 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6083 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6084 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6085 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6086 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6087 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6088 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6089 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6090 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6091 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6092 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6093 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6094 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6095 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6096 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6097 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6098 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6099
65c89320
RM
6100 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6101 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6102
348f8e8c
RM
6103 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6104 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6105 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6106 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6107 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6108 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6109 Moved ...
6110 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6111 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6112 Moved ...
6113 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6114 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6115 Moved ...
6116 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6117 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6118 Moved ...
6119 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6120 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6121 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6122 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6123 Moved ...
6124 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6125 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6126 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6127 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6128 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6129 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6130 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6131 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6132 Moved ...
6133 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6134 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6135 Moved ...
6136 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6137 ... here.
6138 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6139 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6140 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6141 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6142 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6143 Moved ...
6144 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6145 ... here.
6146 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6147 Moved ...
6148 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6149 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6150 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6151 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6152 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6153 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6154 Moved ...
6155 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6156 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6157 Moved ...
6158 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6159 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6160 Moved ...
6161 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6162 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6163 Moved ...
6164 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6165 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6166 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6167 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6168 Moved ...
6169 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6170 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6171 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6172 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6173 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6174 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6175 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6176 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6177 Moved ...
6178 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6179 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6180 Moved ...
6181 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6182 ... here.
6183 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6184 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6185 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6186 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6187 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6188 Moved ...
6189 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6190 ... here.
6191 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6192 Moved ...
6193 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6194 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6195 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6196 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6197 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6198 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6199 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6200 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6201 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6202 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6203 Moved ...
6204 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6205 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6206 Moved ...
6207 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6208 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6209 Moved ...
6210 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6211 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6212 Moved ...
6213 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6214 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6215 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6216 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6217 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6218 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6219 Moved ...
6220 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6221 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6222 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6223 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6224 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6225 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6226 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6227 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6228 Moved ...
6229 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6230 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6231 Moved ...
6232 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6233 ... here.
6234 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6235 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6236 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6237 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6238 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6239 Moved ...
6240 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6241 ... here.
6242 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6243 Moved ...
6244 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6245 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6246 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6247 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6248 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6249 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6250 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6251 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6252 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6253 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6254 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6255
5085af05
RM
6256 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6257 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6258
708f0813
RM
6259 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6260 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6261
c96067bc
RM
6262 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6263 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6264 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6265 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6266 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6267 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6268 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6269 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6270 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6271 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6272 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6273 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6274 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6275 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6276 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6277 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6278 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6279 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6280 Moved ...
6281 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6282 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6283 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6284 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6285 Moved ...
6286 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6287 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6288 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6289 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6290 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6291 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6292 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6293 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6294 Moved ...
6295 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6296 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6297 Moved ...
6298 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6299 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6300 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6301 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6302 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6303 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6304 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6305 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6306 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6307 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6308 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6309 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6310 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6311 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6312 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6313 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6314 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6315
ec136444
RM
6316 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6317 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6318 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6319 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6320 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6321
2fbdf533
RM
6322 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6323 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6324 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6325 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6326 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6327 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6328 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6329 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6330 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6331 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6332
4c68138b
RM
6333 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6334 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6335
4eaae765
RM
6336 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6337 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
6338 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6339 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6340 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6341 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6342 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6343 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6344 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6345 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6346 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6347 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6348 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6349 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6350 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6351 Update #include.
6352 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6353 Likewise.
6354 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6355 Likewise.
6356 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6357 Likewise.
6358 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6359 Likewise.
6360 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6361 Likewise.
6362 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6363 Likewise.
6364 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6365 Likewise.
6366 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6367 Likewise.
6368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6369 Likewise.
4ef6befa
RM
6370 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6371 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6372 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6373 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6374 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
6375 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6376 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6377 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6378 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6379 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6380 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6381 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6382 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6383 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6384 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 6385
941d7dfd
RM
6386 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6387 that was previously under [RESET_PID].
6388 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6389 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6390 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6391
1b731c35
RM
6392 * sysdeps/i386/nptl/Implies: New file.
6393 * sysdeps/x86_64/nptl/Implies: New file.
6394 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6395 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6396 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6397 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6398
e2787137
RM
6399 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6400 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6401 (__libc_vfork): New strong alias.
6402 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6403 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6404
6405 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6406 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6407 (__libc_vfork): New strong alias.
6408 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6409 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6410
5675da1e
RM
6411 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6412 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6413 (__libc_vfork): New strong alias.
6414 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6415 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6416 * nptl/pt-vfork.c: New file.
6417 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6418 (libpthread: GLIBC_2.20): New version set (empty).
6419
4f02e2b8
WN
64202014-05-14 Will Newton <will.newton@linaro.org>
6421
6422 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6423 rather than #if.
6424
0bf061d3
JM
64252014-05-14 Joseph Myers <joseph@codesourcery.com>
6426
1a84c3d6
JM
6427 [BZ #16564]
6428 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6429 arguments with exponent 65 or above.
6430 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6431 arguments 0x1p113L or above.
6432 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6433 to arguments 0x1p107L or above.
6434 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6435 positive arguments with exponent 65 or above.
6436 * math/auto-libm-test-in: Add more tests of log1p.
6437 * math/auto-libm-test-out: Regenerated.
6438
01dbacd2
JM
6439 [BZ #16928]
6440 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6441 non-finite arguments is +0.
6442 * math/s_cacosf.c (__cacosf): Likewise.
6443 * math/s_cacosl.c (__cacosl): Likewise.
6444 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6445 * sysdeps/i386/fpu/libm-test-ulps: Update.
6446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6447
913d03c8
JM
6448 [BZ #16927]
6449 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6450 value.
6451 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6452 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6453 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6454 for explicit high bit of mantissa when testing for argument equal
6455 to 1.
6456 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6457 * sysdeps/i386/fpu/libm-test-ulps: Update.
6458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6459
0bf061d3
JM
6460 [BZ #16516]
6461 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6462 (__erf): Scale by 16 instead of 8 in potentially underflowing
6463 case. Ensure exception if result actually underflows.
6464 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6465 (__erff): Scale by 16 instead of 8 in potentially underflowing
6466 case. Ensure exception if result actually underflows.
6467 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6468 (efx8): Remove variable.
6469 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6470 case. Ensure exception if result actually underflows.
6471 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6472 (efx8): Remove variable.
6473 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6474 case. Ensure exception if result actually underflows.
6475 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6476 (efx8): Remove variable.
6477 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6478 case. Ensure exception if result actually underflows.
6479 * math/auto-libm-test-in: Add more tests of erf.
6480 * math/auto-libm-test-out: Regenerated.
6481
73ba67cb
AS
64822014-05-14 Andreas Schwab <schwab@suse.de>
6483
3d8c8bff
AS
6484 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6485 Remove code conditionalized on USE___THREAD.
6486
73ba67cb
AS
6487 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6488 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6489 not definedness.
6490
5c521ecd
JM
64912014-05-14 Joseph Myers <joseph@codesourcery.com>
6492
5e7698c6
JM
6493 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6494 Define unconditionally.
6495 (__ASSUME_O_CLOEXEC): Likewise.
6496 (__ASSUME_SOCK_CLOEXEC): Likewise.
6497 (__ASSUME_IN_NONBLOCK): Likewise.
6498 (__ASSUME_PIPE2): Likewise.
6499 (__ASSUME_EVENTFD2): Likewise.
6500 (__ASSUME_SIGNALFD4): Likewise.
6501 (__ASSUME_DUP3): Likewise.
6502 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6503 (__ASSUME_DUP3): Do not define.
6504 (__ASSUME_EVENTFD2): Likewise.
6505 (__ASSUME_IN_NONBLOCK): Likewise.
6506 (__ASSUME_O_CLOEXEC): Likewise.
6507 (__ASSUME_PIPE2): Likewise.
6508 (__ASSUME_SIGNALFD4): Likewise.
6509 (__ASSUME_SOCK_CLOEXEC): Likewise.
6510 (__ASSUME_UTIMES): Undefine.
6511 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6512 (__ASSUME_UTIMES): Do not define.
6513 (__ASSUME_O_CLOEXEC): Likewise.
6514 (__ASSUME_SOCK_CLOEXEC): Likewise.
6515 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6516 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6517 0x020621].
6518 (__ASSUME_PIPE2): Likewise.
6519 (__ASSUME_EVENTFD2): Likewise.
6520 (__ASSUME_SIGNALFD4): Likewise.
6521 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6522 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6523 Do not define.
6524 (__ASSUME_EVENTFD2): Likewise.
6525 (__ASSUME_SIGNALFD4): Likewise.
6526 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6527 (__ASSUME_32BITUIDS): Likewise.
6528 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6529 (__ASSUME_IPC64): Likewise.
6530 (__ASSUME_ST_INO_64_BIT): Likewise.
6531 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6532 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6533 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6534 (__ASSUME_UTIMES): Do not define.
6535 (__ASSUME_PSELECT): Likewise.
6536 (__ASSUME_PPOLL): Likewise.
6537 (__ASSUME_O_CLOEXEC): Likewise.
6538 (__ASSUME_SOCK_CLOEXEC): Likewise.
6539 (__ASSUME_IN_NONBLOCK): Likewise.
6540 (__ASSUME_PIPE2): Likewise.
6541 (__ASSUME_EVENTFD2): Likewise.
6542 (__ASSUME_SIGNALFD4): Likewise.
6543 (__ASSUME_DUP3): Likewise.
6544 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6545 (__ASSUME_UTIMES): Likewise.
6546 (__ASSUME_O_CLOEXEC): Likewise.
6547 (__ASSUME_SOCK_CLOEXEC): Likewise.
6548 (__ASSUME_IN_NONBLOCK): Likewise.
6549 (__ASSUME_PIPE2): Likewise.
6550 (__ASSUME_EVENTFD2): Likewise.
6551 (__ASSUME_SIGNALFD4): Likewise.
6552 (__ASSUME_DUP3): Likewise.
6553 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6554 (__ASSUME_UTIMES): Likewise.
6555 (__ASSUME_O_CLOEXEC): Likewise.
6556 (__ASSUME_SOCK_CLOEXEC): Likewise.
6557 (__ASSUME_IN_NONBLOCK): Likewise.
6558 (__ASSUME_PIPE2): Likewise.
6559 (__ASSUME_EVENTFD2): Likewise.
6560 (__ASSUME_SIGNALFD4): Likewise.
6561 (__ASSUME_DUP3): Likewise.
6562 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6563 Likewise.
6564 (__ASSUME_UTIMES): Likewise.
6565 (__ASSUME_EVENTFD2): Likewise.
6566 (__ASSUME_SIGNALFD4): Likewise.
6567 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6568 (__ASSUME_O_CLOEXEC): Likewise.
6569 (__ASSUME_SOCK_CLOEXEC): Likewise.
6570 (__ASSUME_IN_NONBLOCK): Likewise.
6571 (__ASSUME_PIPE2): Likewise.
6572 (__ASSUME_EVENTFD2): Likewise.
6573 (__ASSUME_SIGNALFD4): Likewise.
6574 (__ASSUME_DUP3): Likewise.
6575 (__ASSUME_UTIMES): Undefine.
6576
5c521ecd
JM
6577 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6578 feclearexcept. Remove symbol versioning code.
6579 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6580 symbol versioning code.
6581 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6582 symbol versioning code.
6583 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6584 feupdateenv. Remove symbol versioning code.
6585 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6586 fegetexceptflag. Remove symbol versioning code.
6587 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6588 fesetexceptflag. Remove symbol versioning code.
6589 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6590 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6591 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6592 (__posix_fadvise64_l32): Remove prototype.
6593 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6594 code.
6595
5da9dfad
RM
65962014-05-13 Roland McGrath <roland@hack.frob.com>
6597
6598 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6599 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6600 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6601 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6602
893b4f37
SK
66032014-05-13 Sami Kerola <kerolasa@iki.fi>
6604
6605 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6606 current working directory
6607
e0db6517
RM
66082014-05-13 Roland McGrath <roland@hack.frob.com>
6609
58aa195d
RM
6610 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6611 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6612 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6613 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6614 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6615 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6616 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6617 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6618 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6619 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6620 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6621 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6622 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6623 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6624 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6625 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6626 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6627 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6628 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6629 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6630 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6631 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6632 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6633 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6634 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6635 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6636 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6637 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6638 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6639 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6640 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6641 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6642 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6643 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6644 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6645 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6646 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6647 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6648 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6649 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6650 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6651 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6652
8c6d01f0
RM
6653 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6654 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6655
6656 * sysdeps/unix/sysv/linux/arm/Makefile
6657 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6658 Add rt-aeabi_unwind_cpp_pr1.
6659 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6660 Add nptl-aeabi_unwind_cpp_pr1.
6661 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6662 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6663 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6664 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6665 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6666 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6667
6668 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6669 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6670 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6671 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6672
bba6da4e
RM
6673 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6674 Deconditionalize the code that was previously under [RESET_PID].
6675 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6676
e0db6517
RM
6677 * sysdeps/generic/exit-thread.h: New file.
6678 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6679 * include/unistd.h (__exit_thread): Remove declaration.
6680 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6681 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6682 * csu/libc-start.c: Include <exit-thread.h>.
6683 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6684 * nptl/pthread_create.c: Include <exit-thread.h>.
6685 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6686 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6687 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6688 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6689 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6690 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6691 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6692 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6693 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6694 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6695 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6696 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6697 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6698 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6699 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6700 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6701 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6702
01eb16fd
AS
67032014-05-13 Andreas Schwab <schwab@suse.de>
6704
6705 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6706
637461d9
JM
67072014-05-12 Joseph Myers <joseph@codesourcery.com>
6708
6709 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6710 (__ASSUME_UTIMES): Do not condition on kernel version.
6711 (__ASSUME_PSELECT): Define unconditionally.
6712 (__ASSUME_PPOLL): Likewise.
6713 (__ASSUME_ATFCTS): Likewise.
6714 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6715 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6716 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6717 (__ASSUME_UTIMENSAT): Define unconditionally.
6718 (__ASSUME_PRIVATE_FUTEX): Likewise.
6719 (__ASSUME_FALLOCATE): Likewise.
6720 (__ASSUME_O_CLOEXEC): Likewise.
6721 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6722 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6723 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6724 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6725 (__ASSUME_IN_NONBLOCK): Likewise.
6726 (__ASSUME_PIPE2): Likewise.
6727 (__ASSUME_EVENTFD2): Likewise.
6728 (__ASSUME_SIGNALFD4): Likewise.
6729 (__ASSUME_DUP3): Likewise.
6730 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6731 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6732 (__ASSUME_AT_RANDOM): Likewise.
6733 (__ASSUME_PREADV): Likewise.
6734 (__ASSUME_PWRITEV): Likewise.
6735 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6736 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6737 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6738 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6739 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6740 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6741 (__ASSUME_O_CLOEXEC): Define unconditionally.
6742 (__ASSUME_PSELECT): Do not undefine conditionally.
6743 (__ASSUME_PPOLL): Likewise.
6744 (__ASSUME_ATFCTS): Likewise.
6745 (__ASSUME_SET_ROBUST_LIST): Likewise.
6746 (__ASSUME_UTIMENSAT): Likewise.
6747 (__ASSUME_FDATASYNC): Define unconditionally.
6748 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6749 (__ASSUME_SIGFRAME_V2): Likewise.
6750 )__ASSUME_EVENTFD2): Likewise.
6751 (__ASSUME_SIGNALFD4): Likewise.
6752 (__ASSUME_PSELECT): Do not undefine conditionally.
6753 (__ASSUME_PPOLL): Likewise.
6754 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6755 (__ASSUME_PSELECT): Define unconditionally.
6756 (__ASSUME_PPOLL): Likewise.
6757 (__ASSUME_O_CLOEXEC): Likewise.
6758 (__ASSUME_SOCK_CLOEXEC): Likewise.
6759 (__ASSUME_IN_NONBLOCK): Likewise.
6760 (__ASSUME_PIPE2): Likewise.
6761 (__ASSUME_EVENTFD2): Likewise.
6762 (__ASSUME_SIGNALFD4): Likewise.
6763 (__ASSUME_DUP3): Likewise.
6764 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6765 (__ASSUME_O_CLOEXEC): Likewise.
6766 (__ASSUME_SOCK_CLOEXEC): Likewise.
6767 (__ASSUME_IN_NONBLOCK): Likewise.
6768 (__ASSUME_PIPE2): Likewise.
6769 (__ASSUME_EVENTFD2): Likewise.
6770 (__ASSUME_SIGNALFD4): Likewise.
6771 (__ASSUME_DUP3): Likewise.
6772 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6773 (__ASSUME_EVENTFD2): Likewise.
6774 (__ASSUME_SIGNALFD4): Likewise.
6775 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6776
315eb1d8
AS
67772014-05-12 Andreas Schwab <schwab@suse.de>
6778
6779 [BZ #16932]
6780 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6781 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6782 than maximum RPC packet size.
6783 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6784 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6785 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6786 (_nss_nis_getservbyport_r): Likewise.
6787
91df99f7
WN
67882014-05-12 Will Newton <will.newton@linaro.org>
6789
6790 * malloc/Makefile (tests): Add tst-mallopt.
6791 * malloc/tst-mallopt.c: New file.
6792
0a982a29
RM
67932014-05-09 Roland McGrath <roland@hack.frob.com>
6794
6795 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6796 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6797
0ded08a5
AZ
67982014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6799
6800 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6801 (tst-tlsmod6.so): Likewise.
6802
55d4d550
RM
68032014-05-09 Roland McGrath <roland@hack.frob.com>
6804
6805 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6806
77d08aca
JM
68072014-05-09 Joseph Myers <joseph@codesourcery.com>
6808
6809 [BZ #16064]
6810 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6811 and <dl-procinfo.h>.
6812 (__fegetenv): Save SSE state in envp->__eip if supported.
6813 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6814 envp->__eip if supported.
6815 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6816 and <dl-procinfo.h>.
6817 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6818 __data_offset and __data_selector in environment to 0. Set SSE
6819 state if supported.
6820 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6821 test-fenv-sse.
6822 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6823 -mfpmath=sse.
6824 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6825
28162f4d
WN
68262014-05-09 Will Newton <will.newton@linaro.org>
6827
6828 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6829 and libc_relro_required for ARM.
6830 * sysdeps/arm/preconfigure: Regenerate.
6831
5a414ff7
DV
68322014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6833 Stefan Liebler <stli@linux.vnet.ibm.com>
6834
6835 * config.make.in (enable-lock-elision): New Makefile variable.
6836 * configure.ac: Likewise.
6837 * configure: Regenerate.
6838 * sysdeps/s390/configure.ac:
6839 Add check for gcc transactions support.
6840 * sysdeps/s390/configure: Regenerate.
6841 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6842 Build elision files if enabled.
6843 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6844 Add lock elision support for s390.
6845 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6846 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6847 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6848 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6849 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6850 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6851 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6852 Likewise.
6853 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6854 Likewise.
6855 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6856 Likewise.
6857 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6858 Likewise.
6859 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6860 (__lll_timedlock_elision, __lll_lock_elision)
6861 (__lll_unlock_elision, __lll_trylock_elision)
6862 (lll_timedlock_elision, lll_lock_elision)
6863 (lll_unlock_elision, lll_trylock_elision): Add.
6864 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6865 (pthread_mutex_t): Add lock elision support for s390.
6866
1a2f40e5
W
68672014-05-14 Wilco <wdijkstr@arm.com>
6868
6869 * sysdeps/arm/fclrexcpt.c: Cleanup.
6870 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6871 * sysdeps/arm/feenablxcpt.c: Cleanup.
6872 * sysdeps/arm/fegetenv.c: Cleanup.
6873 * sysdeps/arm/fegetexcept.c: Cleanup.
6874 * sysdeps/arm/fegetround.c: Cleanup.
6875 * sysdeps/arm/feholdexcpt.c: Cleanup.
6876 * sysdeps/arm/fesetenv.c: Cleanup.
6877 * sysdeps/arm/fesetround.c: Cleanup.
6878 * sysdeps/arm/feupdateenv.c: Cleanup.
6879 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6880 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6881 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6882 * sysdeps/arm/ftestexcept.c: Cleanup.
6883 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6884 * sysdeps/arm/setfpucw.c: Cleanup.
6885
f63c86fe
WN
68862014-05-09 Will Newton <will.newton@linaro.org>
6887
6888 * sysdeps/arm/armv7/strcmp.S: New file.
6889 * NEWS: Mention addition of ARMv7 optimized strcmp.
6890
7a1a51b5
RM
68912014-05-08 Roland McGrath <roland@hack.frob.com>
6892
95afbbe5
RM
6893 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6894 look for %.ac rather than %.in.
6895
6896 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6897 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6898 * sysdeps/mach/hurd/configure: Regenerated.
6899 * sysdeps/unix/sysv/linux/configure: Regenerated.
6900
7a1a51b5
RM
6901 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6902
5057ad3b
SE
69032014-05-07 Steve Ellcey <sellcey@mips.com>
6904
6905 [BZ# 16922]
6906 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6907 (LONG_SUB): Ditto.
6908 (PTR_SUB): Ditto.
6909
8dc97517
AS
69102014-05-07 Andreas Schwab <schwab@suse.de>
6911
6912 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6913 when skipping over non-matching result from nscd.
6914
ce0c5b8f
OB
69152014-05-07 Ondřej Bílka <neleai@seznam.cz>
6916
6917 [BZ #16876]
6918 * nptl/sockperf.c (client): Check socket return value.
8dc97517 6919
a1189263
OB
6920 [BZ #16877]
6921 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6922 nscd security class.
ce0c5b8f 6923
0f58d252
RM
69242014-05-06 Roland McGrath <roland@hack.frob.com>
6925
6926 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6927 * sysdeps/arm/unwind.h: ... here.
6928
83df9ad0
AJ
69292014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6930
ce0c5b8f
OB
6931 [BZ# 16916]
6932 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6933 Define.
83df9ad0 6934
f360f94a
VR
69352014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6936
6937 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6938 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6939 multiarch strncpy for PPC64.
6940 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6941 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6942 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6943 multiarch optimizations.
6944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6945 (__libc_ifunc_impl_list): Likewise.
6946 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6947 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6948 multiarch stpncpy for PPC64.
6949 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6950 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6951
978a41c3
AS
69522014-05-06 Andreas Schwab <schwab@suse.de>
6953
6954 [BZ #16912]
6955 * gmon/mcount.c (_MCOUNT_DECL): Use
6956 atomic_compare_and_exchange_bool_acq instead of
6957 catomic_compare_and_exchange_bool_acq.
6958
eb1ed03d
RM
69592014-05-05 Roland McGrath <roland@hack.frob.com>
6960
fe658845
RM
6961 * elf/Makefile (others, install-bin): Remove pldd.
6962 (pldd-modules): Variable removed.
6963 ($(objpfx)pldd): Target removed.
6964 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6965 (others, install-bin): Append pldd here.
6966 ($(objpfx)pldd): New target.
6967
eb1ed03d
RM
6968 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6969 to 0, so the first #if test emitted later doesn't see it undefined.
6970 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6971 * sysdeps/gnu/errlist.c: Regenerated.
6972
19c4bec0
AZ
69732014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6974
6975 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6976 [libc_hidden_builtin_def]: Define to empty value.
6977 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6978 [libc_hidden_builtin_def]: Likewise.
6979 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6980 [libc_hidden_builtin_def]: Likewise.
6981 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6982 [libc_hidden_builtin_def]: Likewise.
6983 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6984 __redirect_memcpy and define ifunc as default hidden symbol.
6985 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6986 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6987
7776e669
AC
69882014-05-04 Adam Conrad <adconrad@0c3.net>
6989
6990 * locale/iso-4217.def: Reintroduce XDR currency.
6991
d69aeb12
AM
69922014-05-04 Allan McRae <allan@archlinux.org>
6993
6994 * po/eo.po: Update Esperanto translation from translation project.
6995
8f1df5cf
CD
69962014-05-02 Carlos O'Donell <carlos@redhat.com>
6997
6998 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6999 and FEATURE_INDEX_MAX to 1.
7000 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7001
13e402e7
SE
70022014-05-01 Steve Ellcey <sellcey@mips.com>
7003
7004 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7005 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7006 * iconvdata/big5.c (ONE_DIRECTION): Define.
7007 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7008 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7009 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7010 * iconvdata/cp932.c (ONE_DIRECTION): Define.
7011 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7012 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7013 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7014 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7015 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7016 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7017 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7018 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7019 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7020 * iconvdata/gbk.c (ONE_DIRECTION): Define.
7021 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7022 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7023 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7024 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7025 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7026 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7027 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7028 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7029 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7030 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7031 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7032 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7033 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7034 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7035 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7036 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7037 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7038 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7039 * iconvdata/johab.c (ONE_DIRECTION): Define.
7040 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7041 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7042 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7043 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7044 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7045 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7046 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7047 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7048 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7049 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7050
c727f032
RM
70512014-05-01 Roland McGrath <roland@hack.frob.com>
7052
8f2f08d0
RM
7053 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7054 (_IO_JUMPS_OFFSET): Define to 0.
7055
c727f032
RM
7056 * nptl/sysdeps/pthread/bits/libc-lock.h
7057 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7058 (__libc_lock_define_initialized_recursive): Always define using
7059 initializer. Modern compilers treat uninitialized (implicit zero) and
7060 explicit zero initializers the same (i.e. put the datum in bss).
7061
a849e800
AS
70622014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7063
7064 * nscd/nscd-client.h: Include <string.h>.
7065
5331255b
DM
70662014-05-01 David S. Miller <davem@davemloft.net>
7067
7068 [BZ #16885]
7069 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7070 multiple zero bytes exist at the end of a string.
7071 Reported by Aurelien Jarno <aurelien@aurel32.net>
7072
7073 * string/test-strcmp.c (check): Add explicit test for situations where
7074 there are multiple zero bytes after the first.
7075
4fdfe821
AS
70762014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7077
7078 [BZ #16890]
7079 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7080 when compiling wprintf.
7081 * stdio-common/tstdiomisc.c (t3): New function.
7082 (main): Call it.
7083
0cdddc25
SE
70842014-05-01 Steve Ellcey <sellcey@mips.com>
7085
7086 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7087 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7088 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7089 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7090
6426d77e
SE
70912014-05-01 Steve Ellcey <sellcey@mips.com>
7092
7093 * stdlib/longlong.h: Updated from GCC.
7094
6d96f5e4
WN
70952014-05-01 Will Newton <will.newton@linaro.org>
7096 Bernard Ogden <bernie.ogden@linaro.org>
7097
7470db0c
WN
7098 * NEWS: Update fixed bug list.
7099
6d96f5e4
WN
7100 [BZ #15119]
7101 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7102
211d653c
DM
71032014-04-30 David S. Miller <davem@davemloft.net>
7104
4fa262fa
DM
7105 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7106 (libc_feholdexcept_setround_sparc_ctx): New function.
7107 (libc_fesetenv_sparc_ctx): Likewise.
7108 (libc_feupdateenv_sparc_ctx): Likewise.
7109 (libc_feholdsetround_sparc_ctx): Likewise.
7110 (libc_feholdexcept_setround_ctx): Define.
7111 (libc_feholdexcept_setroundf_ctx): Likewise.
7112 (libc_feholdexcept_setroundl_ctx): Likewise.
7113 (libc_fesetenv_ctx): Likewise.
7114 (libc_fesetenvf_ctx): Likewise.
7115 (libc_fesetenvl_ctx): Likewise.
7116 (libc_feupdateenv_ctx): Likewise.
7117 (libc_feupdateenvf_ctx): Likewise.
7118 (libc_feupdateenvl_ctx): Likewise.
7119 (libc_feresetround_ctx): Likewise.
7120 (libc_feresetroundf_ctx): Likewise.
7121 (libc_feresetroundl_ctx): Likewise.
7122 (libc_feholdsetround_ctx): Likewise.
7123 (libc_feholdsetroundf_ctx): Likewise.
7124 (libc_feholdsetroundl_ctx): Likewise.
7125
1d3d93ef
DM
7126 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7127 with __USE_GNU instead of XOPEN cpp guards.
7128
8aa583c3
DM
7129 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7130 0.
7131
211d653c
DM
7132 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7133 with XOPEN cpp guards.
7134
60c8f1f6
JB
71352014-04-30 Julian Brown <julian@codesourcery.com>
7136
7137 [BZ #16888]
7138 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7139 handling.
7140
9a461d46
JM
71412014-04-30 Joseph Myers <joseph@codesourcery.com>
7142
d0f5b3f8
JM
7143 [BZ #9894]
7144 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7145 Change to 2.6.32.
7146 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7147 * sysdeps/unix/sysv/linux/configure: Regenerated.
7148 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7149 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7150 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7151 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7152 * README: Update reference to required Linux kernel version.
7153 * manual/install.texi (Linux): Update reference to required Linux
7154 kernel headers version.
7155 * INSTALL: Regenerated.
7156
9a461d46
JM
7157 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7158 header inclusion.
7159 [POSIX] (limits.h): Likewise.
7160 [POSIX] (math.h): Likewise.
7161 [POSIX] (sys/wait.h): Likewise.
7162 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7163 function.
7164 [POSIX] (stddef.h): Do not allow header inclusion.
7165
1775babf
AZ
71662014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7167
57f41c40 7168 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 7169
8f630cca
YY
71702014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7171
7172 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7173 Return immediately after lll_futex_wake.
7174
1cdeb237
SP
71752014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7176
bc8f194c
SP
7177 [BZ #16791]
7178 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7179 structure.
7180 (datahead_init_pos): Call datahead_init_common early.
7181 (datahead_init_neg): Likewise.
7182
1cdeb237
SP
7183 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7184 datahead_init_neg): New functions.
7185 * nscd/aicache.c (addhstaiX): Use them.
7186 * nscd/grpcache.c (cache_addgr): Likewise.
7187 * nscd/hstcache.c (cache_addhst): Likewise.
7188 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7189 * nscd/netgroupcache.c (do_notfound): Likewise.
7190 (addgetnetgrentX): Likewise.
7191 (addinnetgrX): Likewise.
7192 * nscd/pwdcache.c (cache_addpw): Likewise.
7193 * nscd/servicescache.c (cache_addserv): Likewise.
7194
16b293a7
SP
71952014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7196 Atsushi Onoe <atsushi@onoe.org>
7197
7198 [BZ #14308]
7199 [BZ #12994]
7200 [BZ #13651]
7201 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7202 one response is valid.
7203 * resolv/res_send.c (send_dg): Check for validity of other
7204 response if the current response is a referral.
7205
a28a9b94
SE
72062014-04-29 Steve Ellcey <sellcey@mips.com>
7207
7208 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7209
2ca180e9
SL
72102014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7211
7212 [BZ #16823]
7213 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7214 Always divide by positive zero when computing -Inf result.
7215 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7216 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7217
18f2945a
AZ
72182014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7219
7220 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7221 FPSCR if value do not change.
7222 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7223 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7224 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7225 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7226 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7227 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7228 function.
7229
5abebba4
CD
72302014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7231
7232 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7233 * sysdeps/unix/sysv/linux/hppa: Move directory from
7234 ports/systeps/unix/sysv/linux/hppa.
7235 * README: Update listing for hppa-*-linux-gnu.
7236
f7ed60c2
OB
72372014-04-28 Ondřej Bílka <neleai@seznam.cz>
7238
fff763a5
OB
7239 [BZ #16754]
7240 * manual/stdio.texi (Hook functions): Fix types of stream hook
7241 functions.
f7ed60c2
OB
7242 [BZ #16854]
7243 * socket/sys/socket.h: Fix typo in comment.
7244
df639d73
WD
72452014-04-28 Wilco <wdijkstr@arm.com>
7246
f7ed60c2 7247 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
7248 * sysdeps/arm/math_private.h: New file.
7249 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7250
48332d82
L
72512014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7252
7253 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7254 with __int128_t.
7255 (La_x86_64_retval): Likewise.
7256
e5e0d9a4
IB
72572014-04-24 Ian Bolton <ian.bolton@arm.com>
7258
7259 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7260 fpsr if value didn't change.
7261 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7262 to fpcr if value didn't change.
7263 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7264 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7265 fpsr or fpcr if value didn't change.
7266 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7267 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7268 fpcr if value didn't change.
7269 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7270 to fpsr if value didn't change.
7271
bacc75f7
SP
72722014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7273
7274 * nptl/tst-sem3.c: Use test-skeleton.c
7275 (main): Rename to do_test. Use return instead of
7276 exit.
7277 * nptl/tst-sem4.c: Use test-skeleton.c
7278 (main): Rename to do_test.
7279
a059d359
DM
72802014-04-22 David S. Miller <davem@davemloft.net>
7281
7282 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7283 (struct sigaction): New struct member __glibc_reserved0, change
7284 type of sa_flags to int.
7285
ea6c92f3
YZ
72862014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7287
7288 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7289 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7290
766c4a36
SP
72912014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7292
7293 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7294 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7295
140cc7ab
VK
72962014-04-22 Will Newton <will.newton@linaro.org>
7297 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7298
7299 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7300 (__longjmp): Add longjmp and longjmp_target SystemTap
7301 probes.
7302 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7303 (__sigsetjmp): Add setjmp SystemTap probe.
7304
c54e5cf7
CD
73052014-04-17 Carlos O'Donell <carlos@redhat.com>
7306
7307 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7308 match manual order.
7309
75ffb047
AZ
73102014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7311
7312 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7313
2cd925f7
AZ
7314 * sysdeps/powerpc/fpu/fenv_private.h
7315 (libc_feholdexcept_setroundl_ctx): Define to
7316 libc_feholdexcept_setround_ppc_ctx.
7317 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7318 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7319 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7320 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7321
39e6cd8d
IB
73222014-04-17 Ian Bolton <ian.bolton@arm.com>
7323
7324 * sysdeps/aarch64/math-tests.h: New file.
7325
f9281df9
SY
73262014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7327
7328 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7329 New.
7330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7331 Check and set bit_AVX2_Usable.
7332 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7333 macro.
7334 (bit_AVX2): Likewise.
7335 (index_AVX2_Usable): Likewise.
7336 (CPUID_AVX2): Likewise.
7337 (HAS_AVX2): Likewise.
7338
37d35007
WN
73392014-04-17 Will Newton <will.newton@linaro.org>
7340
7c677662
WN
7341 * manual/setjmp.texi (System V contexts): Add note that
7342 calling setcontext on a context created by a call to a
7343 signal handler is undefined. Update text to note that
7344 setcontext from a signal handler is possible but not
7345 recommended.
7346
37d35007 7347 [BZ #16629]
e04a4e9d
WN
7348 * stdlib/tst-setcontext.c: Include signal.h.
7349 (main): Check that the signal stack before and
7350 after swapcontext is the same.
7351
37d35007
WN
7352 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7353 Re-implement to restore registers in user code and avoid
7354 rt_sigreturn system call.
7355
423a7160
W
73562014-04-17 Wilco <wdijkstr@arm.com>
7357
7358 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7359 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7360 * math/test-fenv.c: Skip exception trap tests on targets which only
7361 support non-stop mode.
7362
bc93ab29
IB
73632014-04-17 Ian Bolton <ian.bolton@arm.com>
7364 Wilco Dijkstra <wilco.dijkstra@arm.com>
7365
7366 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7367 (libc_feholdsetround_aarch64_ctx)
7368 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7369 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7370 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7371 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7372 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7373 (libc_feresetround_noexl_ctx): Define.
7374
95fc5fa3
RH
73752014-04-16 Richard Henderson <rth@redhat.com>
7376
ddb04724
RH
7377 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7378
d77c0899
RH
7379 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7380 unwind tables.
7381
a3df56fc
RH
7382 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7383 const from the non-libc, non-ldso copy.
7384
95fc5fa3
RH
7385 * sysdeps/alpha/libm-test-ulps: Regenerate.
7386
7e0b6763
IB
73872014-04-16 Ian Bolton <ian.bolton@arm.com>
7388 Wilco Dijkstra <wilco.dijkstra@arm.com>
7389
7390 * sysdeps/aarch64/fpu/math_private.h: New file.
7391
a9ea2e0c
MS
73922014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7393
7394 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7395
ea8ba7cd
IZ
73962014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7397
7e54fd04 7398 [BZ #16275]
ea8ba7cd
IZ
7399 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7400 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7401 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7402 Intel MPX bound registers before _dl_profile_fixup.
7403 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7404 registers after _dl_profile_fixup. Save and restore bound
7405 registers bnd0/bnd1 when calling _dl_call_pltexit.
7406 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7407 (LR_BND_OFFSET): Likewise.
7408 (LRV_BND0_OFFSET): Likewise.
7409 (LRV_BND1_OFFSET): Likewise.
7410
9f2a4fbc
ST
74112014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7412
7413 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7414 to...
7415 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
7416 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7417 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7418 fields.
9f2a4fbc 7419
fd15a59b
ST
74202014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7421
7422 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7423
f19dfa0a
SL
74242014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7425
7426 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7427
4fa8bc3b
SL
74282014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7429
7430 [BZ #14770]
7431 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7432 * sysdeps/s390/configure: Regenerate.
7433
8ea587db
SL
7434 [BZ #16824]
7435 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7436 Set round-to-nearest internally to reduce error accumulation.
7437
aa5f0ff1
AM
74382014-04-16 Alan Modra <amodra@gmail.com>
7439
7440 [BZ #16740]
7441 [BZ #16619]
7442 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7443 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 7444 * NEWS: Update fixed bug list.
aa5f0ff1 7445
bb9c256f
SP
74462014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7447
7448 * benchtests/Makefile: Depend on libraries in build directory.
7449 (bench-math): Separate out math tests.
7450 (bench-pthread): Separate out pthread tests.
7451 (bench): Include math and pthread tests.
7452
f737dfd0
CD
74532014-04-14 Carlos O'Donell <carlos@redhat.com>
7454
7455 [BZ #16831]
7456 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7457 _dl_debug_initialize.
7458
0699f766
CD
7459 * configure.ac: Remove SELinux header check.
7460 * configure: Regenerate.
7461 * nscd/selinux.c (perms): Array of const char* to permission names.
7462 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7463 default policy. Call string_to_security_class and string_to_av_perm to
7464 translate strings. Enforce default policy and call avs_has_perm with
7465 results of translated strings.
7466
809bd45f
DM
74672014-04-13 David S. Miller <davem@davemloft.net>
7468
7469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7470
89e691f2
AM
74712014-04-12 Allan McRae <allan@archlinux.org>
7472
7473 [BZ #16838]
7474 * manual/string.texi (Collation Functions): Fix qsort argument
7475 order in example.
7476 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7477
9c9daaeb
CM
74782014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7479
7480 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7481 Make the test a no-op if there are no exceptions defined.
7482
95561fb9
PP
74832014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7484
fe8d072c 7485 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
7486 enable-hardcoded-path-in-tests
7487
970c602a
WN
74882014-04-11 Will Newton <will.newton@linaro.org>
7489
7490 * benchtests/Makefile (extra-objs): Add json-lib.o.
7491 (bench-func): Tidy up JSON output.
7492 * benchtests/bench-skeleton.c: Include json-lib.h.
7493 (main): Use JSON library functions to do output of
7494 benchmark results.
7495 * benchtests/bench-timing-type.c (main): Output the
7496 timing type simply, leaving formatting to the user.
7497 * benchtests/json-lib.c: New file.
7498 * benchtests/json-lib.h: Likewise.
7499
36875b06
TR
75002014-04-11 Torvald Riegel <triegel@redhat.com>
7501
7502 [BZ #15215]
7503 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7504 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7505 memory barriers. Add comments.
7506 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7507 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7508 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7509 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7510 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7511 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7512
579db35a
SL
75132014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7514
7515 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7516 * sysdeps/s390/s390-64/configure.ac: ... this ...
7517 * sysdeps/s390/configure.ac: ... to here.
7518 * sysdeps/s390/s390-32/configure: Delete file.
7519 * sysdeps/s390/s390-64/configure: Delete file.
7520 * sysdeps/s390/configure: Regenerate.
7521
c12e9f37
JAPH
75222014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7523
7524 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7525
439bda32
WN
75262014-04-11 Will Newton <will.newton@linaro.org>
7527
7528 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7529 to zero if it is not defined elsewhere. (mtrim): Test
7530 the value of MALLOC_DEBUG with #if rather than #ifdef.
7531
6a5d6ea1
TR
75322014-04-10 Torvald Riegel <triegel@redhat.com>
7533
7534 * benchtests/pthread_once-inputs: New file.
7535 * benchtests/pthread_once-source.c: New file.
7536 * benchtests/README: Update documentation.
7537
a4c75cfd
IZ
75382014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7539 H.J. Lu <hongjiu.lu@intel.com>
7540
7e54fd04 7541 [BZ #16275]
a4c75cfd
IZ
7542 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7543 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7544 * sysdeps/x86_64/configure: Regenerated.
7545 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7546 macro.
7547 (REGISTER_SAVE_RAX): Likewise.
7548 (REGISTER_SAVE_RCX): Likewise.
7549 (REGISTER_SAVE_RDX): Likewise.
7550 (REGISTER_SAVE_RSI): Likewise.
7551 (REGISTER_SAVE_RDI): Likewise.
7552 (REGISTER_SAVE_R8): Likewise.
7553 (REGISTER_SAVE_R9): Likewise.
7554 (REGISTER_SAVE_BND0): Likewise.
7555 (REGISTER_SAVE_BND1): Likewise.
7556 (REGISTER_SAVE_BND2): Likewise.
7557 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7558 bound registers when calling _dl_fixup.
7559
27822ce6
AZ
75602014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7561
7562 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
7563 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7564 of its definition.
27822ce6
AZ
7565 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7566 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7567 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7568 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7569 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7570 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7571 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7572
a88ddc90
PTB
75732014-04-09 Peter Brett <peter@peter-b.co.uk>
7574
7575 [BZ #15514]
7576 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7577 pathconf(_PC_NAME_MAX).
7578
01f8eac2
AZ
75792014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7580
7581 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7582 Remove macro usage.
7583 (__PTHREAD_SPINS): Move definition to ...
7584 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7585 (__PTHREAD_SPINS): ... here.
7586 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7587 (__PTHREAD_SPIN): Likewise.
7588 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7589 (__PTHREAD_SPIN): Likewise.
7590 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7591 (__PTHREAD_SPIN): Likewise.
7592 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7593 (__PTHREAD_SPIN): Likewise.
7594 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7595 (__PTHREAD_SPIN): Likewise.
7596 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7597 (__PTHREAD_SPIN): Likewise.
7598 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7599 (__PTHREAD_SPIN): Likewise.
7600 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7601 (__PTHREAD_SPIN): Likewise.
7602 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7603 (__PTHREAD_SPIN): Likewise.
7604 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7605 (__PTHREAD_SPIN): Likewise.
7606 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7607 (__PTHREAD_SPIN): Likewise.
7608 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7609 (__PTHREAD_SPIN): Likewise.
7610
de21c33c
AZ
7611 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7612 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7613 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7614 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7615 imply folder.
7616 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7617 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7618 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7619 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7620 correct imply path.
7621 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7622 strlen symbol for non multi-arch builds.
7623 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7624 missing hidden_def and weak_alias.
7625
862c472e
CD
76262014-04-08 Carlos O'Donell <carlos@redhat.com>
7627
7628 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7629
8667f90e
WN
76302014-04-07 Will Newton <will.newton@linaro.org>
7631
7632 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7633 and contents. [!_LIBC] Remove #ifndef and contents.
7634 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7635 * string/memccpy.c (__memccpy): Use ANSI prototype.
7636 * string/memfrob.c (memfrob): Likewise.
7637 * string/strcoll.c (STRCOLL): Likewise.
7638 * string/strlen.c (strlen): Likewise.
7639 * string/strtok.c (STRTOK): Likewise.
7640 * string/strcat.c: Remove unused #include of memcopy.h.
7641 (strcat): Use ANSI prototype.
7642 * string/strchr.c: Remove unused #include of memcopy.h.
7643 (strchr): Use ANSI prototype.
7644 * string/strcmp.c: Remove unused #include of memcopy.h.
7645 (strcmp): Use ANSI prototype.
7646 * string/strcpy.c: Remove unused #include of memcopy.h.
7647 (strcpy): Use ANSI prototype.
7648
7ffa9423
AZ
76492014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7650
7651 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7652 * config.make.in (config-extra-cppflags): Set it from
7653 libc_extra_cppflags.
7654 * configure.ac (libc_extra_cflags): Make it accumulate over
7655 configure fragments.
7656 (libc_extra_cppflags): New flag.
7657 * configure. Regenerate.
7658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
7659 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7660 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
7661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7662
8bd70862
AZ
7663 [BZ #16815]
7664 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7665 result for FE_DOWNWARD rounding mode.
7666 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7667 Likewise.
7668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7669
d42f3448
CM
76702014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7671
7672 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7673 in function argument name.
7674
1c21d115
DS
76752014-04-03 David Svoboda <svoboda@cert.org>
7676
7677 [BZ #5666]
7678 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7679 explicitly.
7680
fcccd512
RM
76812014-04-03 Roland McGrath <roland@hack.frob.com>
7682
7683 * elf/dl-unmap-segments.h: New file.
7684 * sysdeps/generic/ldsodefs.h
7685 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7686 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7687 * elf/dl-fptr.c: Likewise.
7688 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7689 * sysdeps/aarch64/tlsdesc.c: Likewise.
7690 * sysdeps/arm/tlsdesc.c: Likewise.
7691 * sysdeps/i386/tlsdesc.c: Likewise.
7692 * sysdeps/tile/dl-runtime.c: Likewise.
7693 * sysdeps/x86_64/tlsdesc.c: Likewise.
7694 * elf/dl-load.h: New file.
7695 * elf/dl-load.c: Include it.
7696 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7697 Macros moved to dl-load.h.
7698 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7699 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7700 Use _dl_unmap_segments in place of __munmap.
7701 Break out segment-mapping loop into ...
7702 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7703
f6488e2b
WN
77042014-04-03 Will Newton <will.newton@linaro.org>
7705
7706 * elf/dl-lookup.c (do_lookup_x): Remove comment
7707 referring to nested function and move variable
7708 declarations down to before first use.
7709
6f05bafe
JM
77102014-04-02 Joseph Myers <joseph@codesourcery.com>
7711
a84e78c8
JM
7712 [BZ #16799]
7713 [BZ #16800]
7714 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7715 with 0 numerator.
7716 * math/s_catanf.c (__catanf): Likewise.
7717 * math/s_catanh.c (__catanh): Likewise.
7718 * math/s_catanhf.c (__catanhf): Likewise.
7719 * math/s_catanhl.c (__catanhl): Likewise.
7720 * math/s_catanl.c (__catanl): Likewise.
7721 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7722 by positive zero when computing -Inf result.
7723 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7724 (catanh_test): Likewise.
7725 * sysdeps/i386/fpu/libm-test-ulps: Update.
7726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7727
6f05bafe
JM
7728 [BZ #16789]
7729 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7730 instead of using underflowing value in computing result.
7731 * math/s_clog10.c (__clog10): Likewise.
7732 * math/s_clog10f.c (__clog10f): Likewise.
7733 * math/s_clog10l.c (__clog10l): Likewise.
7734 * math/s_clogf.c (__clogf): Likewise.
7735 * math/s_clogl.c (__clogl): Likewise.
7736 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7737 (clog10_test): Likewise.
7738 * sysdeps/i386/fpu/libm-test-ulps: Update.
7739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7740
b0abbc21
AM
77412014-04-02 Alan Modra <amodra@gmail.com>
7742
7743 [BZ #16739]
7744 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7745 output when value is near a power of two. Use int64_t for lx and
7746 remove casts. Use decimal rather than hex exponent constants.
7747 Don't use long double multiplication when double will suffice.
7748 * math/libm-test.inc (nextafter_test_data): Add tests.
7749 * NEWS: Add 16739 and 16786 to bug list.
7750
af6b1797
AM
7751 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7752
483818d7
AM
7753 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7754
f6c55796
WN
77552014-04-01 Will Newton <will.newton@linaro.org>
7756
7757 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7758 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7759
13f7fe35
FW
77602014-04-01 Florian Weimer <fweimer@redhat.com>
7761
7762 [BZ #13347]
7763 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7764 * nptl/tst-setuid2.c: New file.
7765 * nptl/Makefile (xtests): Add tst-setuid2.
7766
c859b32e
AM
77672014-04-01 Alan Modra <amodra@gmail.com>
7768
7769 [BZ #16786]
7770 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7771
54fa2475
JM
77722014-03-31 Joseph Myers <joseph@codesourcery.com>
7773
8795b4a4
JM
7774 [BZ #6803]
7775 [BZ #6804]
7776 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7777 set errno as appropriate.
7778 * math/w_scalbf.c (__scalbf): Likewise.
7779 * math/w_scalbl.c (__scalbl): Likewise.
7780 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7781 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7782 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7783 Add more NaN tests.
7784
54fa2475
JM
7785 [BZ #16349]
7786 * math/w_atan2.c: Include <errno.h>.
7787 (__atan2): Set errno for result underflowing to zero.
7788 * math/w_atan2f.c: Include <errno.h>.
7789 (__atan2f): Set errno for result underflowing to zero.
7790 * math/w_atan2l.c: Include <errno.h>.
7791 (__atan2l): Set errno for result underflowing to zero.
7792 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7793 tests.
7794 * math/auto-libm-test-out: Regenerated.
7795
757d9dd5
AZ
77962014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7797
7798 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7799 Encode instruction correctly in little endian.
7800 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7801 Likewise.
7802 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7803 Likewise.
7804 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7805 Likewise.
7806 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7807 Likewise.
7808
d7a68734
JM
78092014-03-31 Joseph Myers <joseph@codesourcery.com>
7810
47c5adeb
JM
7811 [BZ #9894]
7812 * sysdeps/unix/sysv/linux/kernel-features.h
7813 [__sparc__ && !__arch64__ && !__sparc_v9__]
7814 (__ASSUME_SET_ROBUST_LIST): Do not define.
7815 [__sparc__ && !__arch64__ && !__sparc_v9__]
7816 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7817 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7818 Likewise.
7819 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7820 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7821 (__ASSUME_REQUEUE_PI): Likewise.
7822 (__ASSUME_SET_ROBUST_LIST): Likewise.
7823 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7824 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7825 Undefine.
7826 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7827 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7828 Likewise.
7829 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7830 Likewise.
7831 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7832 Likewise.
7833 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7834 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7835 Undefine.
7836 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7837 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7838 Likewise.
7839
d7a68734
JM
7840 [BZ #16648]
7841 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7842 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7843 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7844
c760f5c2
WN
78452014-03-31 Will Newton <will.newton@linaro.org>
7846
7847 * benchtests/Makefile (bench): Add ffs and ffsll to list
7848 of tests.
7849 * benchtests/ffs-inputs: New file.
7850 * benchtests/ffsll-inputs: Likewise.
7851
ea6029b1
JM
78522014-03-29 Joseph Myers <joseph@codesourcery.com>
7853
7854 [BZ #16770]
7855 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7856 too large before casting to int.
7857 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7858 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7859 * math/libm-test.inc (scalb_test_data): Add more tests.
7860
cf806aff
SP
78612014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7862
56737508
SP
7863 * benchtests/Makefile (DETAILED_OPT): New make option.
7864 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7865 set.
7866 * benchtests/bench-skeleton.c: Include stdbool.h.
7867 (main): Store and print timings per input.
7868 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7869 member to each argument value.
7870 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7871 (_print_arg_data): Initialize per-input timing to 0.
7872
cb5e4aad
SP
7873 * benchtests/Makefile (timing-type): New binary.
7874 (bench-clean): Also remove bench-timing-type.
7875 (bench): New target for timing-type.
7876 (bench-func): Print output in JSON format.
7877 * benchtests/bench-skeleton.c (main): Print output in JSON
7878 format.
7879 * benchtests/bench-timing-type.c: New file.
7880 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7881 (TIMING_PRINT_STATS): Remove.
7882 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7883 name separately.
7884
cf806aff
SP
7885 * benchtests/bench-modf.c: Remove.
7886 * benchtests/modf-inputs: New inputs file.
7887
289e0779
JM
78882014-03-28 Joseph Myers <joseph@codesourcery.com>
7889
7890 [BZ #16362]
7891 * math/s_clog10.c (M_PI_LOG10E): New macro.
7892 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7893 imaginary parts are 0.
7894 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7895 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7896 imaginary parts are 0.
7897 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7898 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7899 imaginary parts are 0.
7900 * math/libm-test.inc (clog10_test_data): Update expected results
7901 for when real and imaginary parts are 0.
7902
277ae3f1
PP
79032014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7904
7905 * elf/dl-load.c: Finish conversion of __builtin_expect into
7906 __glibc_{un}likely.
7907
03a7091f
JM
79082014-03-27 Joseph Myers <joseph@codesourcery.com>
7909
7910 [BZ #16348]
7911 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7912 1+x for argument with exponent below -67.
7913 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7914 Likewise.
7915 * math/auto-libm-test-in: Add more tests of exp.
7916 * math/auto-libm-test-out: Regenerated.
7917
ea7d8b95
SP
79182014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7919
dd3022d7
SP
7920 [BZ #16759]
7921 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7922 (nscd_getnetgrent): Use it.
7923
ea7d8b95
SP
7924 [BZ #16760]
7925 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7926 of stpcpy.
7927
df5b85da
AK
79282014-03-27 Andi Kleen <ak@linux.intel.com>
7929
57f41c40
AS
7930 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7931 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7932 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7933 (lll_robust_unlock): Remove out of line section. Use cfi
7934 intrinsics.
df5b85da 7935 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
7936 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7937 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7938 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7939 (lll_robust_unlock): Remove out of line section. Use cfi
7940 intrinsics.
df5b85da
AK
7941 (LLL_STUB_UNWIND_INFO*): Remove.
7942
fbd6b5a4
SP
79432014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7944
7945 [BZ #16758]
7946 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7947 blank values.
7948
1b26b855
PP
79492014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7950
7951 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7952
9be36fb8
JM
79532014-03-26 Joseph Myers <joseph@codesourcery.com>
7954
7955 [BZ #16198]
7956 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7957 fnstenv.
7958 * math/test-fenv-preserve.c: New file.
7959 * math/Makefile (tests): Add test-fenv-preserve.
7960
60a2f3c1
WN
79612014-03-26 Will Newton <will.newton@linaro.org>
7962
7963 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7964
a5e5f1e2
RM
79652014-03-25 Roland McGrath <roland@hack.frob.com>
7966
7967 * scripts/versionlist.awk: Partition the version sets and emit all
7968 GLIBC_* (sorted) before all others (sorted).
7969
00f4012a
JM
79702014-03-25 Joseph Myers <joseph@codesourcery.com>
7971
7972 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7973 GLIBC_2.2.5 version.
7974
7bc5a741
AZ
79752014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7976
7977 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7978 calls.
7979
7578473b
AZ
7980 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7981 previous change.
7982
f3f1dab3
AZ
7983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7984
6da36183
AS
79852014-03-25 Andreas Schwab <schwab@suse.de>
7986
7987 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7988 label to be used after in6ailist is initialized.
7989
f3f1dab3 79902014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 7991
7578473b 7992 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
7993 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7994
046651c1
JM
79952014-03-25 Joseph Myers <joseph@codesourcery.com>
7996
7997 [BZ #16357]
7998 [BZ #16599]
7999 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8000 min_plus_half.
8001 (fp_formats): Update initializers.
8002 (init_fp_formats): Initialize new field.
8003 (output_for_one_input_case): Allow underflow for results up to
8004 min_plus_half.
8005 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8006 * math/auto-libm-test-in: Don't mark some underflows from asin and
8007 atanh as spurious.
8008 * math/auto-libm-test-out: Regenerated.
8009 * sysdeps/i386/fpu/libm-test-ulps: Update.
8010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8011
003e49ed
AS
80122014-03-25 Andreas Schwab <schwab@suse.de>
8013
8014 * libio/Makefile (tst-ftell-partial-wide-ENV)
8015 (tst-ftell-active-handler-ENV): Define.
8016
de031874
SL
80172014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8018
8019 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8020
55a81e3b
PP
80212014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8022
8023 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8024
f3426898
JM
80252014-03-24 Joseph Myers <joseph@codesourcery.com>
8026
8027 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8028 * sysdeps/x86_64/fpu/multiarch/e_exp.c
8029 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8030
a42faf59
PP
80312014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8032
8033 [BZ #16634]
a42faf59 8034 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
8035 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8036 (open_path): Change from boolean 'secure' to complete flag 'mode'
8037 (_dl_map_object): Adjust.
a42faf59
PP
8038 * elf/Makefile (tests): Add tst-dlopen-aout.
8039 * elf/tst-dlopen-aout.c: New test.
8040
50936127
SL
80412014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8042
8043 [BZ #16714]
8044 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8045 (struct stat): Rename member pad0 to __glibc_reserved0.
8046
26011b5c
SL
8047 [BZ #16712]
8048 * sysdeps/s390/s390-32/bits/wordsize.h
8049 (__WORDSIZE32_SIZE_ULONG): New define.
8050 * sysdeps/s390/s390-64/bits/wordsize.h
8051 (__WORDSIZE32_SIZE_ULONG): Likewise.
8052 * sysdeps/generic/stdint.h (SIZE_MAX):
8053 Define as UL if __WORDSIZE32_SIZE_ULONG.
8054
a2d86bf1
SL
8055 [BZ #16713]
8056 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8057 (__glibc_reserved0): New variable.
8058 (sa_flags): Change type to int.
8059
78b6eebc
SL
8060 * posix/Makefile (before-compile): Use += before-compile instead
8061 of a :=.
8062
f1399b5a
SL
8063 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8064 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8065
a071766e
AS
80662014-03-20 Andreas Schwab <schwab@suse.de>
8067
8068 [BZ #16743]
8069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8070 non-matching result from nscd.
8071
27c673b8
SP
80722014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8073
8074 * scripts/bench.py: Moved to ...
8075 * benchtests/scripts/bench.py: ... here.
8076 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8077
44152e4b
AS
80782014-03-24 Andreas Schwab <schwab@suse.de>
8079
8080 [BZ #16002]
8081 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8082 alloca_account and account alloca use for struct in6ailist.
8083
b376a11a
JM
80842014-03-24 Joseph Myers <joseph@codesourcery.com>
8085
8086 [BZ #16284]
8087 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8088 rounding mode to recompute results that overflow to infinity or
8089 underflow to zero.
8090 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8091 bug 16284.
8092 * math/auto-libm-test-out: Regenerated.
8093 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8094 (ccosh_test): Likewise.
8095 (csin_test_data): Use plus_oflow.
8096 (csin_test): Use ALL_RM_TEST.
8097 (csinh_test_data): Use plus_oflow.
8098 (csinh_test): Use ALL_RM_TEST.
8099 * sysdeps/i386/fpu/libm-test-ulps: Update.
8100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8101
f7be7376
JM
81022014-03-21 Joseph Myers <joseph@codesourcery.com>
8103
1ca2d03e
JM
8104 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8105 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8106 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8107
f7be7376
JM
8108 [BZ #16731]
8109 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8110 when x - 1 is zero.
8111 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8112 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8113 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8114 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8115 argument is 1.
8116 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8117 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8118 zero.
8119 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8120 * sysdeps/i386/fpu/libm-test-ulps: Update.
8121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8122
fdf4534d
SP
81232014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8124
df26ea53
SP
8125 * scripts/bench.pl: Remove file.
8126 * scripts/bench.py: New benchmark script.
8127 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8128 * benchtests/README: Mention python dependency.
8129 * scripts/pylintrc: New file.
8130 * scripts/pylint: New file.
8131
fdf4534d
SP
8132 * bits/mathdef.h: Use #ifdef instead of #if.
8133 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8134 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8135 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8136 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8137 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8138 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8139
6f23d093
AZ
81402014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8141 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8142
8143 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8144 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8145 and strpbrk-ppc64 objects.
8146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8147 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8148 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8149 multiarch strpbrk for POWER7.
8150 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8151 multiarch strpbrk for PPC64.
8152 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8153 ifunc selector.
8154 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8155 strpbrk for POWER7.
8156
8c92dfff
JM
81572014-03-20 Joseph Myers <joseph@codesourcery.com>
8158
8159 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8160 (atan_test): Likewise.
8161 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8162 (atanh_test): Use ALL_RM_TEST.
8163 (atan2_test_data): Likewise.
8164 (cabs_test): Likewise.
8165 (cacosh_test): Likewise.
8166 (carg_test): Likewise.
8167 (casin_test): Likewise.
8168 (casinh_test): Likewise.
8169 (cbrt_test): Likewise.
8170 (csqrt_test): Likewise.
8171 (erf_test): Likewise.
8172 (erfc_test): Likewise.
8173 (pow10_test): Likewise.
8174 (exp2_test): Likewise.
8175 (hypot_test): Likewise.
8176 (j0_test): Likewise.
8177 (j1_test): Likewise.
8178 (lgamma_test): Likewise.
8179 (gamma_test): Likewise.
8180 (sincos_test): Likewise.
8181 (tanh_test): Likewise.
8182 (y0_test): Likewise.
8183 (y1_test): Likewise.
8184 * sysdeps/i386/fpu/libm-test-ulps: Update.
8185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8186
6eaf95cb
AZ
81872014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8188
a387428c
SP
8189 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
8191 and strcspn-ppc64 objects.
8192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8193 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8194 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8195 multiarch strcspn for POWER7.
8196 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8197 multiarch strcspn for PPC64.
8198 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8199 ifunc selector.
8200 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8201 strcspn for POWER7.
8202
ae3a5dff
JM
82032014-03-20 Joseph Myers <joseph@codesourcery.com>
8204
8205 * math/gen-libm-test.pl (generate_testfile): Expect only function
8206 name as argument to AUTO_TESTS_* and pass results for all rounding
8207 modes to parse_args.
8208 (parse_auto_input): Separate inputs of automatic tests from
8209 outputs before storing in %auto_tests.
8210 * math/libm-test.inc (acos_test_data): Update call to
8211 AUTO_TESTS_f_f.
8212 (acos_test): Use ALL_RM_TEST.
8213 (acos_tonearest_test_data): Remove.
8214 (acos_test_tonearest): Likewise.
8215 (acos_towardzero_test_data): Likewise.
8216 (acos_test_towardzero): Likewise.
8217 (acos_downward_test_data): Likewise.
8218 (acos_test_downward): Likewise.
8219 (acos_upward_test_data): Likewise.
8220 (acos_test_upward): Likewise.
8221 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8222 (asin_test_data): Likewise.
8223 (asin_test): Use ALL_RM_TEST.
8224 (asin_tonearest_test_data): Remove.
8225 (asin_test_tonearest): Likewise.
8226 (asin_towardzero_test_data): Likewise.
8227 (asin_test_towardzero): Likewise.
8228 (asin_downward_test_data): Likewise.
8229 (asin_test_downward): Likewise.
8230 (asin_upward_test_data): Likewise.
8231 (asin_test_upward): Likewise.
8232 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8233 (atan_test_data): Likewise.
8234 (atanh_test_data): Likewise.
8235 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8236 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8237 (carg_test_data): Likewise.
8238 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8239 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8240 (ccosh_test_data): Likewise.
8241 (cexp_test_data): Likewise.
8242 (clog_test_data): Likewise.
8243 (clog10_test_data): Likewise.
8244 (cos_test_data): Update call to AUTO_TESTS_f_f.
8245 (cos_test): Use ALL_RM_TEST.
8246 (cos_tonearest_test_data): Remove.
8247 (cos_test_tonearest): Likewise.
8248 (cos_towardzero_test_data): Likewise.
8249 (cos_test_towardzero): Likewise.
8250 (cos_downward_test_data): Likewise.
8251 (cos_test_downward): Likewise.
8252 (cos_upward_test_data): Likewise.
8253 (cos_test_upward): Likewise.
8254 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8255 (cosh_test): Use ALL_RM_TEST.
8256 (cosh_tonearest_test_data): Remove.
8257 (cosh_test_tonearest): Likewise.
8258 (cosh_towardzero_test_data): Likewise.
8259 (cosh_test_towardzero): Likewise.
8260 (cosh_downward_test_data): Likewise.
8261 (cosh_test_downward): Likewise.
8262 (cosh_upward_test_data): Likewise.
8263 (cosh_test_upward): Likewise.
8264 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8265 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8266 (ctan_test_data): Likewise.
8267 (ctan_test): Use ALL_RM_TEST.
8268 (ctan_tonearest_test_data): Remove.
8269 (ctan_test_tonearest): Likewise.
8270 (ctan_towardzero_test_data): Likewise.
8271 (ctan_test_towardzero): Likewise.
8272 (ctan_downward_test_data): Likewise.
8273 (ctan_test_downward): Likewise.
8274 (ctan_upward_test_data): Likewise.
8275 (ctan_test_upward): Likewise.
8276 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8277 (ctanh_test): Use ALL_RM_TEST.
8278 (ctanh_tonearest_test_data): Remove.
8279 (ctanh_test_tonearest): Likewise.
8280 (ctanh_towardzero_test_data): Likewise.
8281 (ctanh_test_towardzero): Likewise.
8282 (ctanh_downward_test_data): Likewise.
8283 (ctanh_test_downward): Likewise.
8284 (ctanh_upward_test_data): Likewise.
8285 (ctanh_test_upward): Likewise.
8286 (erf_test_data): Update call to AUTO_TESTS_f_f.
8287 (erfc_test_data): Likewise.
8288 (exp_test_data): Likewise.
8289 (exp_test): Use ALL_RM_TEST.
8290 (exp_tonearest_test_data): Remove.
8291 (exp_test_tonearest): Likewise.
8292 (exp_towardzero_test_data): Likewise.
8293 (exp_test_towardzero): Likewise.
8294 (exp_downward_test_data): Likewise.
8295 (exp_test_downward): Likewise.
8296 (exp_upward_test_data): Likewise.
8297 (exp_test_upward): Likewise.
8298 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8299 (exp10_test): Use ALL_RM_TEST.
8300 (exp10_tonearest_test_data): Remove.
8301 (exp10_test_tonearest): Likewise.
8302 (exp10_towardzero_test_data): Likewise.
8303 (exp10_test_towardzero): Likewise.
8304 (exp10_downward_test_data): Likewise.
8305 (exp10_test_downward): Likewise.
8306 (exp10_upward_test_data): Likewise.
8307 (exp10_test_upward): Likewise.
8308 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8309 (expm1_test_data): Likewise.
8310 (expm1_test): Use ALL_RM_TEST.
8311 (expm1_tonearest_test_data): Remove.
8312 (expm1_test_tonearest): Likewise.
8313 (expm1_towardzero_test_data): Likewise.
8314 (expm1_test_towardzero): Likewise.
8315 (expm1_downward_test_data): Likewise.
8316 (expm1_test_downward): Likewise.
8317 (expm1_upward_test_data): Likewise.
8318 (expm1_test_upward): Likewise.
8319 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8320 (fma_test): Use ALL_RM_TEST.
8321 (fma_towardzero_test_data): Remove.
8322 (fma_test_towardzero): Likewise.
8323 (fma_downward_test_data): Likewise.
8324 (fma_test_downward): Likewise.
8325 (fma_upward_test_data): Likewise.
8326 (fma_test_upward): Likewise.
8327 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8328 (j0_test_data): Update call to AUTO_TESTS_f_f.
8329 (j1_test_data): Likewise.
8330 (jn_test_data): Update call to AUTO_TESTS_if_f.
8331 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8332 (log_test_data): Update call to AUTO_TESTS_f_f.
8333 (log10_test_data): Likewise.
8334 (log1p_test_data): Likewise.
8335 (log2_test_data): Likewise.
8336 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8337 (pow_tonearest_test_data): Likewise.
8338 (sin_test_data): Update call to AUTO_TESTS_f_f.
8339 (sin_test): Use ALL_RM_TEST.
8340 (sin_tonearest_test_data): Remove.
8341 (sin_test_tonearest): Likewise.
8342 (sin_towardzero_test_data): Likewise.
8343 (sin_test_towardzero): Likewise.
8344 (sin_downward_test_data): Likewise.
8345 (sin_test_downward): Likewise.
8346 (sin_upward_test_data): Likewise.
8347 (sin_test_upward): Likewise.
8348 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8349 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8350 (sinh_test): Use ALL_RM_TEST.
8351 (sinh_tonearest_test_data): Remove.
8352 (sinh_test_tonearest): Likewise.
8353 (sinh_towardzero_test_data): Likewise.
8354 (sinh_test_towardzero): Likewise.
8355 (sinh_downward_test_data): Likewise.
8356 (sinh_test_downward): Likewise.
8357 (sinh_upward_test_data): Likewise.
8358 (sinh_test_upward): Likewise.
8359 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8360 (sqrt_test): Use ALL_RM_TEST.
8361 (sqrt_tonearest_test_data): Remove.
8362 (sqrt_test_tonearest): Likewise.
8363 (sqrt_towardzero_test_data): Likewise.
8364 (sqrt_test_towardzero): Likewise.
8365 (sqrt_downward_test_data): Likewise.
8366 (sqrt_test_downward): Likewise.
8367 (sqrt_upward_test_data): Likewise.
8368 (sqrt_test_upward): Likewise.
8369 (tan_test_data): Update call to AUTO_TESTS_f_f.
8370 (tan_test): Use ALL_RM_TEST.
8371 (tan_tonearest_test_data): Remove.
8372 (tan_test_tonearest): Likewise.
8373 (tan_towardzero_test_data): Likewise.
8374 (tan_test_towardzero): Likewise.
8375 (tan_downward_test_data): Likewise.
8376 (tan_test_downward): Likewise.
8377 (tan_upward_test_data): Likewise.
8378 (tan_test_upward): Likewise.
8379 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8380 (tgamma_test_data): Likewise.
8381 (y0_test_data): Likewise.
8382 (y1_test_data): Likewise.
8383 (yn_test_data): Update call to AUTO_TESTS_if_f.
8384 (main): Do not call removed functions.
8385
d71aeee8
JM
83862014-03-19 Joseph Myers <joseph@codesourcery.com>
8387
8388 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8389 (ldexp_test_data): Remove.
8390 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8391 scalbn_test_data.
8392 (scalb_test): Use ALL_RM_TEST.
8393
baaf1ded
AS
83942014-03-19 Andreas Schwab <schwab@suse.de>
8395
8396 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8397
b1115e91
JM
83982014-03-19 Joseph Myers <joseph@codesourcery.com>
8399
8400 [BZ #16649]
8401 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8402 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8403 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8404 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8405 (__ASSUME_PREADV): Undefine.
8406 (__ASSUME_PWRITEV): Likewise.
8407
0283ecca
RM
84082014-03-18 Roland McGrath <roland@hack.frob.com>
8409
7d375303
RM
8410 * bits/mman-linux.h: Add comment about non-Linux use.
8411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8412 bits/mman-linux.h resting place.
8413
0283ecca
RM
8414 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8415 * bits/mman-linux.h: ... here.
8416
aebe1003
AZ
84172014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8418
8419 * conform/conformtest.pl: Add standard definition when calling C
8420 preprocessor on data files.
8421 (checknamespace): Remove unused variable.
8422
b29b6bb8
JM
84232014-03-18 Joseph Myers <joseph@codesourcery.com>
8424
8425 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8426 minus_oflow, plus_uflow and minus_uflow in expected results.
8427 * math/libm-test.inc (scalbn_test_data): Add more tests of
8428 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8429 minus_uflow.
8430 (scalbn_test): Use ALL_RM_TEST.
8431 (scalbln_test_data): Add more tests of negative arguments. Use
8432 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8433 (scalbln_test): Use ALL_RM_TEST.
8434
c8f8fa15
RM
84352014-03-18 Roland McGrath <roland@hack.frob.com>
8436
8437 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8438
fede7a5f
WN
84392014-03-18 Will Newton <will.newton@linaro.org>
8440
8441 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8442 inaccurate comment.
8443
80cf0a58
JM
84442014-03-18 Joseph Myers <joseph@codesourcery.com>
8445
8446 * Makerules [!subdir] (check-abi): Exit with error status if a
8447 test failed.
8448
b3620862
JM
84492014-03-17 Joseph Myers <joseph@codesourcery.com>
8450
8451 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8452 for rint. Include results for all rounding modes.
8453 (nearbyint_test): Use ALL_RM_TEST.
8454 (rint_test_data): Include all tests used for nearbyint.
8455
788bba36
WN
84562014-03-17 Will Newton <will.newton@linaro.org>
8457
04ec140a
WN
8458 * nptl/sysdeps/pthread/pthread.h: Revert previous
8459 change.
8460
7579d8d5
WN
8461 * sysdeps/generic/ldsodefs.h: Revert previous
8462 change.
8463
c15cf13a
WN
8464 * libio/genops.c: Revert previous change.
8465 * libio/libioP.h: Likewise.
8466 * stdio-common/vfprintf.c: Likewise.
8467
d0ac1324
WN
8468 * sysdeps/generic/math_private.h: Revert previous
8469 change.
8470
9290130a
WN
8471 * sysdeps/generic/math_private.h: Check whether
8472 HAVE_RM_CTX is defined with #ifdef rather
8473 than #if.
8474
afb466fc
WN
8475 * argp/argp-fmtstream.h: Check whether
8476 __STRICT_ANSI__ is defined with #ifdef rather
8477 than #if.
8478 * argp/argp.h: Likewise.
8479
f7efd7c3
WN
8480 * libio/genops.c: Check whether
8481 _IO_JUMPS_OFFSET is defined with #ifdef rather
8482 than #if.
8483 * libio/libioP.h: Likewise.
8484 * stdio-common/vfprintf.c: Likewise.
8485
53f1bed3
WN
8486 * sysdeps/generic/ldsodefs.h: Check whether
8487 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8488 than #if.
8489
788bba36
WN
8490 * nptl/sysdeps/pthread/pthread.h: Check
8491 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8492 its value.
8493
fcd89ebe
SP
84942014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8495
ae42bbc5
SP
8496 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8497 setting O_APPEND.
8498 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8499 test case.
8500
ea33158c
SP
8501 [BZ #16680]
8502 * libio/fileops.c (_IO_file_open): Seek to end of file but
8503 don't cache the offset.
8504 (get_file_offset): Remove function.
8505 (do_ftell): Use cached offset when available.
8506 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8507 don't cache the offset.
8508 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8509 case.
8510 (do_one_test): Call it.
8511 (do_ftell_test): Fix up expected old offset for a+ mode.
8512 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8513 available.
8514
b1dbb426
SP
8515 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8516 up test status with function return status.
8517 (do_write_test): Likewise.
8518 (do_append_test): Likewise.
8519
fcd89ebe
SP
8520 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8521 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8522 Remove.
8523
9962a2d3
JM
85242014-03-17 Joseph Myers <joseph@codesourcery.com>
8525
8526 * math/gen-libm-test.pl (parse_args): Handle results specified for
8527 each rounding mode separately.
8528 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8529 tests and results from lrint_tonearest_test_data,
8530 lrint_towardzero_test_data, lrint_downward_test_data and
8531 lrint_upward_test_data.
8532 (lrint_test): Use ALL_RM_TEST.
8533 (lrint_tonearest_test_data): Remove.
8534 (lrint_test_tonearest): Likewise.
8535 (lrint_towardzero_test_data): Likewise.
8536 (lrint_test_towardzero): Likewise.
8537 (lrint_downward_test_data): Likewise.
8538 (lrint_test_downward): Likewise.
8539 (lrint_upward_test_data): Likewise.
8540 (lrint_test_upward): Likewise.
8541 (llrint_test_data): Merge in per-rounding-mode tests and results
8542 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8543 llrint_downward_test_data and llrint_upward_test_data.
8544 (llrint_test): Use ALL_RM_TEST.
8545 (llrint_tonearest_test_data): Remove.
8546 (llrint_test_tonearest): Likewise.
8547 (llrint_towardzero_test_data): Likewise.
8548 (llrint_test_towardzero): Likewise.
8549 (llrint_downward_test_data): Likewise.
8550 (llrint_test_downward): Likewise.
8551 (llrint_upward_test_data): Likewise.
8552 (llrint_test_upward): Likewise.
8553 (rint_test_data): Merge in per-rounding-mode tests and results
8554 from rint_tonearest_test_data, rint_towardzero_test_data,
8555 rint_downward_test_data and rint_upward_test_data. Add
8556 per-rounding-mode results for tests not in those arrays.
8557 (rint_test): Use ALL_RM_TEST.
8558 (rint_tonearest_test_data): Remove.
8559 (rint_test_tonearest): Likewise.
8560 (rint_towardzero_test_data): Likewise.
8561 (rint_test_towardzero): Likewise.
8562 (rint_downward_test_data): Likewise.
8563 (rint_test_downward): Likewise.
8564 (rint_upward_test_data): Likewise.
8565 (rint_test_upward): Likewise.
8566 (main): Don't call removed functions.
8567
5006148e
RM
85682014-03-14 Roland McGrath <roland@hack.frob.com>
8569
8570 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8571 "Compiled on ..." crapola. It is anti-useful.
8572
d6fe5e58
JM
85732014-03-14 Joseph Myers <joseph@codesourcery.com>
8574
8575 * scripts/evaluate-test.sh: Handle fourth argument to determine
8576 whether test run should stop on failure.
8577 * Makeconfig (stop-on-test-failure): New variable.
8578 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8579 $(stop-on-test-failure).
8580 * Makefile (tests): Give a summary of results from testing and
8581 exit with failure status if they include an ERROR or FAIL.
8582 (xtests): Likewise.
8583 * manual/install.texi (Configuring and compiling): Mention
8584 stop-on-test-failure=y.
8585 * INSTALL: Regenerated.
8586
498a2233
RM
85872014-03-14 Roland McGrath <roland@hack.frob.com>
8588
22dbc19d
RM
8589 * scripts/versionlist.awk: New file.
8590 * Makerules [$(build-shared) = yes]
8591 (postclean-generated): Add Versions.def, not Versions.def.v and
8592 Versions.def.v.i.
8593 ($(common-objpfx)Versions.def.v.i): Target removed.
8594 ($(common-objpfx)Versions.def): New target.
8595 ($(common-objpfx)Versions.all): Depend on that rather that
8596 $(common-objpfx)Versions.def.v.
8597 * Versions.def: File removed.
8598
498a2233
RM
8599 * Makeconfig (+gccwarn): Add -Wundef.
8600 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8601 a dl-sysdep.h breaking its contract.
8602 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8603 * include/stackinfo.h: New file.
8604 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8605 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8606 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8607 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8608 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8609 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8610 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8611 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8612 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8613 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8614 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8615 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8616 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8617 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8618 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8619
c7de5025
AZ
86202014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8621
8622 [BZ #16707]
8623 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8624 implementation.
8625 * math/libm-test.inc (round_test_data): Add more tests.
8626
98fb27a3
AZ
8627 [BZ #16706]
8628 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8629 implementation.
8630 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8631
374f7f61
AZ
8632 [BZ #16701]
8633 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8634 implementation.
8635 * math/libm-test.inc (ceil_test_data): Add more tests.
8636
4655c291
AZ
8637 * math/libm-test.inc (trunc_test_data): Add more tests related to
8638 BZ#16414.
8639
d7329d4b
RM
86402014-03-14 Roland McGrath <roland@hack.frob.com>
8641
8642 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8643 with #if rather than #ifdef.
8644 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8645
aa4de9ce
L
86462014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8647
8648 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8649 first. Disable AVX-512 GCC support if assembler doesn't support
8650 it.
8651 * sysdeps/x86_64/configure: Regenerated.
8652
2e03fae7
CD
86532014-03-13 Carlos O'Donell <carlos@redhat.com>
8654
8655 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8656 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8657 (__old_pthread_attr_setstack): Likewise.
8658 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8659 [!_STACK_GROWS_DOWN]: Likewise.
8660
43ca83ec
MF
86612014-03-13 Mike Frysinger <vapier@gentoo.org>
8662
8663 * config.make.in (have-bash2): Delete.
8664 * configure.ac (libc_cv_have_bash2): Delete.
8665 * configure: Regenerate.
8666 * elf/Makefile (common-ldd-rewrite): Rename to ...
8667 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8668 (sh-ldd-rewrite): Delete.
8669 (bash-ldd-rewrite): Delete.
8670 (have-bash2): Delete checks.
57f41c40
AS
8671 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8672 ldd-rewrite.
c66e48b4
MF
8673
8674 * config.make.in (have-ksh): Delete.
8675 (KSH): Delete.
8676 * configure.ac (libc_cv_have_ksh): Delete.
8677 * configure: Regenerate.
8678
b93834ef
MF
8679 * elf/Makefile: Delete $(have-ksh) check.
8680 ($(objpfx)sotruss): Change KSH to BASH.
8681 * elf/sotruss.ksh: Rename to ...
8682 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8683 function style to match POSIX. Drop ksh vim mode setting.
8684
f3a4632a
MF
8685 * manual/time.texi (Specifying the Time Zone with TZ): Change
8686 Tuesday to Thursday.
8687
5896c8bd
MF
8688 * debug/tst-longjmp_chk2.c: Update header comment.
8689 (stackoverflow_handler): Add comment. Call assert on pass value.
8690
2d63a517
IZ
86912014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8692
7e54fd04 8693 [BZ #16194]
2d63a517
IZ
8694 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8695 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8696 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8697 (La_x86_64_vector): Add zmm.
8698 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8699 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8700 ($(objpfx)tst-audit10): New target.
8701 ($(objpfx)tst-audit10.out): Likewise.
8702 (tst-audit10-ENV): New.
8703 (AVX512-CFLAGS): Likewise.
8704 (CFLAGS-tst-audit10.c): Likewise.
8705 (CFLAGS-tst-auditmod10a.c): Likewise.
8706 (CFLAGS-tst-auditmod10b.c): Likewise.
8707 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8708 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8709 * sysdeps/x86_64/configure: Regenerated.
8710 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8711 AVX-512 zmm register support.
8712 (_dl_x86_64_save_sse): Likewise.
8713 (_dl_x86_64_restore_sse): Likewise.
8714 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8715 size vector registers.
8716 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8717 (ZMM_SIZE): Likewise.
8718 * sysdeps/x86_64/tst-audit10.c: New file.
8719 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8720 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8721
44c4e5d5
RM
87222014-03-13 Roland McGrath <roland@hack.frob.com>
8723
8724 * configure.ac (HAVE_EHDR_START): New check.
8725 * configure: Regenerated.
8726 * config.h.in (HAVE_EHDR_START): New #undef.
8727 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8728 assuming the lowest-addressed segment maps the start of the file.
8729
acd6e389
JM
87302014-03-13 Joseph Myers <joseph@codesourcery.com>
8731
8732 * INSTALL: Regenerated.
8733
6f918f36
WN
87342014-03-13 Will Newton <will.newton@linaro.org>
8735
8736 * manual/setjmp.texi (System V contexts): Improve
8737 clarity and grammar of documentation.
8738
798212a0
PP
87392014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8740
8741 [BZ #16381]
798212a0 8742 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 8743 (tests-pie): Add tst-pie2.
798212a0
PP
8744 * elf/tst-pie2.c: New file.
8745 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8746 for ET_EXEC.
8747 * elf/rtld.c (map_doit): Load executable as lt_executable.
8748 (dl_main): Likewise.
8749
abe6d90c
JM
87502014-03-12 Joseph Myers <joseph@codesourcery.com>
8751
8752 [BZ #16642]
8753 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8754 (__ASSUME_PSELECT): Undefine.
8755
dd3946c6
AZ
87562014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8757
8758 [BZ #16689]
8759 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8760 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8761 static build.
8762 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8763 selector for static builds.
8764
c44496df
SP
87652014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8766
8767 [BZ #16695]
8768 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8769 key in the buffer.
8770
27c7220a
AZ
87712014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8772
57f41c40
AS
8773 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8774 IFUNC selector for static builds.
27c7220a 8775
600fa361
JM
87762014-03-11 Joseph Myers <joseph@codesourcery.com>
8777
76c96cf7
JM
8778 * sysdeps/mips/math_private.h [__mips_hard_float]
8779 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8780 libc_feresetround_mips_ctx.
8781 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8782 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8783 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8784
600fa361
JM
8785 [BZ #16677]
8786 * math/s_nextafter.c (__nextafter): Do not return value from
8787 overflowing computation.
8788 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8789 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8790 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8791 Likewise.
8792 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8793 Likewise.
8794 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8795 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8796
d7706c32
RM
87972014-03-11 Roland McGrath <roland@hack.frob.com>
8798
8799 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8800 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8801 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8802 the new mov targetting sp.
8803
4facea47
AZ
88042014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8805
8806 [BZ #16683]
8807 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8808 Define it for static builds as well.
8809 (NO_BZERO_IMPL): Likewise.
8810
e65caf1f
VR
88112014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8812
8813 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8814 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8815 multiarch strspn for PPC64.
8816 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8817 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8819 (__libc_ifunc_impl_list): Likewise.
8820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8821 multiarch optimizations
8822 * string/strspn.c (strspn): Using macro to redefine symbol name.
8823
ba9cc071
AZ
88242014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8825 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8826
8827 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8828 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8829 multiarch strncat for PPC64.
8830 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8831 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8832 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8833 (__libc_ifunc_impl_list): Likewise.
8834 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8835 multiarch optimizations
8836
8b4ff974
SP
88372014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8838
8839 [BZ #16639]
8840 * nscd/nscd.service: Make service type forking.
8841
54b46a4b
AZ
88422014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8843
8844 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8845 sign in non default rounding modes.
8846 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8847
e9996ef7
JM
88482014-03-08 Joseph Myers <joseph@codesourcery.com>
8849
8850 * math/libm-test.inc (ALL_RM_TEST): New macro.
8851 (ceil_test): Use ALL_RM_TEST.
8852 (cimag_test): Likewise.
8853 (conj_test): Likewise.
8854 (copysign_test): Likewise.
8855 (cproj_test): Likewise.
8856 (creal_test): Likewise.
8857 (fabs_test): Likewise.
8858 (floor_test): Likewise.
8859 (fmax_test): Likewise.
8860 (fmin_test): Likewise.
8861 (fmod_test): Likewise.
8862 (fpclassify_test): Likewise.
8863 (frexp_test): Likewise.
8864 (ilogb_test): Likewise.
8865 (isfinite_test): Likewise.
8866 (finite_test): Likewise.
8867 (isgreater_test): Likewise.
8868 (isgreaterequal_test): Likewise.
8869 (isinf_test): Likewise.
8870 (isless_test): Likewise.
8871 (islessequal_test): Likewise.
8872 (islessgreater_test): Likewise.
8873 (isnan_test): Likewise.
8874 (isnormal_test): Likewise.
8875 (issignaling_test): Likewise.
8876 (isunordered_test): Likewise.
8877 (logb_test): Likewise.
8878 (logb_downward_test_data): Remove.
8879 (logb_test_downward): Likewise.
8880 (lround_test): Use ALL_RM_TEST.
8881 (llround_test): Likewise.
8882 (modf_test): Likewise.
8883 (nexttoward_test): Likewise.
8884 (remainder_test): Likewise.
8885 (drem_test): Likewise.
8886 (remainder_tonearest_test_data): Likewise.
8887 (remainder_test_tonearest): Likewise.
8888 (drem_test_tonearest): Likewise.
8889 (remainder_towardzero_test_data): Likewise.
8890 (remainder_test_towardzero): Likewise.
8891 (drem_test_towardzero): Likewise.
8892 (remainder_downward_test_data): Likewise.
8893 (remainder_test_downward): Likewise.
8894 (drem_test_downward): Likewise.
8895 (remainder_upward_test_data): Likewise.
8896 (remainder_test_upward): Likewise.
8897 (drem_test_upward): Likewise.
8898 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8899 (round_test): Use ALL_RM_TEST.
8900 (signbit_test): Likewise.
8901 (trunc_test): Likewise.
8902 (significand_test): Likewise.
8903 (main): Don't call removed functions.
8904
bc61d27c
JM
89052014-03-07 Joseph Myers <joseph@codesourcery.com>
8906
5c780849
JM
8907 [BZ #16674]
8908 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8909 || __USE_XOPEN2K8].
8910 (ILL_ILLOPN): Likewise.
8911 (ILL_ILLADR): Likewise.
8912 (ILL_ILLTRP): Likewise.
8913 (ILL_PRVOPC): Likewise.
8914 (ILL_PRVREG): Likewise.
8915 (ILL_COPROC): Likewise.
8916 (ILL_BADSTK): Likewise.
8917 (FPE_INTDIV): Likewise.
8918 (FPE_INTOVF): Likewise.
8919 (FPE_FLTDIV): Likewise.
8920 (FPE_FLTOVF): Likewise.
8921 (FPE_FLTUND): Likewise.
8922 (FPE_FLTRES): Likewise.
8923 (FPE_FLTINV): Likewise.
8924 (FPE_FLTSUB): Likewise.
8925 (SEGV_MAPERR): Likewise.
8926 (SEGV_ACCERR): Likewise.
8927 (BUS_ADRALN): Likewise.
8928 (BUS_ADRERR): Likewise.
8929 (BUS_OBJERR): Likewise.
8930 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8931 (TRAP_TRACE): Likewise.
8932 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8933 __USE_XOPEN2K8].
8934 (CLD_KILLED): Likewise.
8935 (CLD_DUMPED): Likewise.
8936 (CLD_TRAPPED): Likewise.
8937 (CLD_STOPPED): Likewise.
8938 (CLD_CONTINUED): Likewise.
8939 (POLL_IN): Likewise.
8940 (POLL_OUT): Likewise.
8941 (POLL_MSG): Likewise.
8942 (POLL_ERR): Likewise.
8943 (POLL_PRI): Likewise.
8944 (POLL_HUP): Likewise.
8945 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8946 Likewise.
8947 (ILL_ILLOPN): Likewise.
8948 (ILL_ILLADR): Likewise.
8949 (ILL_ILLTRP): Likewise.
8950 (ILL_PRVOPC): Likewise.
8951 (ILL_PRVREG): Likewise.
8952 (ILL_COPROC): Likewise.
8953 (ILL_BADSTK): Likewise.
8954 (FPE_INTDIV): Likewise.
8955 (FPE_INTOVF): Likewise.
8956 (FPE_FLTDIV): Likewise.
8957 (FPE_FLTOVF): Likewise.
8958 (FPE_FLTUND): Likewise.
8959 (FPE_FLTRES): Likewise.
8960 (FPE_FLTINV): Likewise.
8961 (FPE_FLTSUB): Likewise.
8962 (SEGV_MAPERR): Likewise.
8963 (SEGV_ACCERR): Likewise.
8964 (BUS_ADRALN): Likewise.
8965 (BUS_ADRERR): Likewise.
8966 (BUS_OBJERR): Likewise.
8967 (BUS_MCEERR_AR): Likewise.
8968 (BUS_MCEERR_AO): Likewise.
8969 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8970 (TRAP_TRACE): Likewise.
8971 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8972 __USE_XOPEN2K8].
8973 (CLD_KILLED): Likewise.
8974 (CLD_DUMPED): Likewise.
8975 (CLD_TRAPPED): Likewise.
8976 (CLD_STOPPED): Likewise.
8977 (CLD_CONTINUED): Likewise.
8978 (POLL_IN): Likewise.
8979 (POLL_OUT): Likewise.
8980 (POLL_MSG): Likewise.
8981 (POLL_ERR): Likewise.
8982 (POLL_PRI): Likewise.
8983 (POLL_HUP): Likewise.
8984 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8985 (ILL_ILLOPN): Likewise.
8986 (ILL_ILLADR): Likewise.
8987 (ILL_ILLTRP): Likewise.
8988 (ILL_PRVOPC): Likewise.
8989 (ILL_PRVREG): Likewise.
8990 (ILL_COPROC): Likewise.
8991 (ILL_BADSTK): Likewise.
8992 (FPE_INTDIV): Likewise.
8993 (FPE_INTOVF): Likewise.
8994 (FPE_FLTDIV): Likewise.
8995 (FPE_FLTOVF): Likewise.
8996 (FPE_FLTUND): Likewise.
8997 (FPE_FLTRES): Likewise.
8998 (FPE_FLTINV): Likewise.
8999 (FPE_FLTSUB): Likewise.
9000 (SEGV_MAPERR): Likewise.
9001 (SEGV_ACCERR): Likewise.
9002 (BUS_ADRALN): Likewise.
9003 (BUS_ADRERR): Likewise.
9004 (BUS_OBJERR): Likewise.
9005 (BUS_MCEERR_AR): Likewise.
9006 (BUS_MCEERR_AO): Likewise.
9007 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9008 (TRAP_TRACE): Likewise.
9009 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9010 __USE_XOPEN2K8].
9011 (CLD_KILLED): Likewise.
9012 (CLD_DUMPED): Likewise.
9013 (CLD_TRAPPED): Likewise.
9014 (CLD_STOPPED): Likewise.
9015 (CLD_CONTINUED): Likewise.
9016 (POLL_IN): Likewise.
9017 (POLL_OUT): Likewise.
9018 (POLL_MSG): Likewise.
9019 (POLL_ERR): Likewise.
9020 (POLL_PRI): Likewise.
9021 (POLL_HUP): Likewise.
9022 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9023 Likewise.
9024 (ILL_ILLOPN): Likewise.
9025 (ILL_ILLADR): Likewise.
9026 (ILL_ILLTRP): Likewise.
9027 (ILL_PRVOPC): Likewise.
9028 (ILL_PRVREG): Likewise.
9029 (ILL_COPROC): Likewise.
9030 (ILL_BADSTK): Likewise.
9031 (ILL_BADIADDR): Likewise.
9032 (ILL_BREAK): Likewise.
9033 (FPE_INTDIV): Likewise.
9034 (FPE_INTOVF): Likewise.
9035 (FPE_FLTDIV): Likewise.
9036 (FPE_FLTOVF): Likewise.
9037 (FPE_FLTUND): Likewise.
9038 (FPE_FLTRES): Likewise.
9039 (FPE_FLTINV): Likewise.
9040 (FPE_FLTSUB): Likewise.
9041 (FPE_DECOVF): Likewise.
9042 (FPE_DECDIV): Likewise.
9043 (FPE_DECERR): Likewise.
9044 (FPE_INVASC): Likewise.
9045 (FPE_INVDEC): Likewise.
9046 (SEGV_MAPERR): Likewise.
9047 (SEGV_ACCERR): Likewise.
9048 (SEGV_PSTKOVF): Likewise.
9049 (BUS_ADRALN): Likewise.
9050 (BUS_ADRERR): Likewise.
9051 (BUS_OBJERR): Likewise.
9052 (BUS_MCEERR_AR): Likewise.
9053 (BUS_MCEERR_AO): Likewise.
9054 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9055 (TRAP_TRACE): Likewise.
9056 (TRAP_BRANCH): Likewise.
9057 (TRAP_HWBKPT): Likewise.
9058 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9059 __USE_XOPEN2K8].
9060 (CLD_KILLED): Likewise.
9061 (CLD_DUMPED): Likewise.
9062 (CLD_TRAPPED): Likewise.
9063 (CLD_STOPPED): Likewise.
9064 (CLD_CONTINUED): Likewise.
9065 (POLL_IN): Likewise.
9066 (POLL_OUT): Likewise.
9067 (POLL_MSG): Likewise.
9068 (POLL_ERR): Likewise.
9069 (POLL_PRI): Likewise.
9070 (POLL_HUP): Likewise.
9071 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9072 (ILL_ILLOPN): Likewise.
9073 (ILL_ILLADR): Likewise.
9074 (ILL_ILLTRP): Likewise.
9075 (ILL_PRVOPC): Likewise.
9076 (ILL_PRVREG): Likewise.
9077 (ILL_COPROC): Likewise.
9078 (ILL_BADSTK): Likewise.
9079 (FPE_INTDIV): Likewise.
9080 (FPE_INTOVF): Likewise.
9081 (FPE_FLTDIV): Likewise.
9082 (FPE_FLTOVF): Likewise.
9083 (FPE_FLTUND): Likewise.
9084 (FPE_FLTRES): Likewise.
9085 (FPE_FLTINV): Likewise.
9086 (FPE_FLTSUB): Likewise.
9087 (SEGV_MAPERR): Likewise.
9088 (SEGV_ACCERR): Likewise.
9089 (BUS_ADRALN): Likewise.
9090 (BUS_ADRERR): Likewise.
9091 (BUS_OBJERR): Likewise.
9092 (BUS_MCEERR_AR): Likewise.
9093 (BUS_MCEERR_AO): Likewise.
9094 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9095 (TRAP_TRACE): Likewise.
9096 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9097 __USE_XOPEN2K8].
9098 (CLD_KILLED): Likewise.
9099 (CLD_DUMPED): Likewise.
9100 (CLD_TRAPPED): Likewise.
9101 (CLD_STOPPED): Likewise.
9102 (CLD_CONTINUED): Likewise.
9103 (POLL_IN): Likewise.
9104 (POLL_OUT): Likewise.
9105 (POLL_MSG): Likewise.
9106 (POLL_ERR): Likewise.
9107 (POLL_PRI): Likewise.
9108 (POLL_HUP): Likewise.
9109 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9110 (ILL_ILLOPN): Likewise.
9111 (ILL_ILLADR): Likewise.
9112 (ILL_ILLTRP): Likewise.
9113 (ILL_PRVOPC): Likewise.
9114 (ILL_PRVREG): Likewise.
9115 (ILL_COPROC): Likewise.
9116 (ILL_BADSTK): Likewise.
9117 (FPE_INTDIV): Likewise.
9118 (FPE_INTOVF): Likewise.
9119 (FPE_FLTDIV): Likewise.
9120 (FPE_FLTOVF): Likewise.
9121 (FPE_FLTUND): Likewise.
9122 (FPE_FLTRES): Likewise.
9123 (FPE_FLTINV): Likewise.
9124 (FPE_FLTSUB): Likewise.
9125 (SEGV_MAPERR): Likewise.
9126 (SEGV_ACCERR): Likewise.
9127 (BUS_ADRALN): Likewise.
9128 (BUS_ADRERR): Likewise.
9129 (BUS_OBJERR): Likewise.
9130 (BUS_MCEERR_AR): Likewise.
9131 (BUS_MCEERR_AO): Likewise.
9132 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9133 (TRAP_TRACE): Likewise.
9134 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9135 __USE_XOPEN2K8].
9136 (CLD_KILLED): Likewise.
9137 (CLD_DUMPED): Likewise.
9138 (CLD_TRAPPED): Likewise.
9139 (CLD_STOPPED): Likewise.
9140 (CLD_CONTINUED): Likewise.
9141 (POLL_IN): Likewise.
9142 (POLL_OUT): Likewise.
9143 (POLL_MSG): Likewise.
9144 (POLL_ERR): Likewise.
9145 (POLL_PRI): Likewise.
9146 (POLL_HUP): Likewise.
9147 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9148 (ILL_ILLOPN): Likewise.
9149 (ILL_ILLADR): Likewise.
9150 (ILL_ILLTRP): Likewise.
9151 (ILL_PRVOPC): Likewise.
9152 (ILL_PRVREG): Likewise.
9153 (ILL_COPROC): Likewise.
9154 (ILL_BADSTK): Likewise.
9155 (FPE_INTDIV): Likewise.
9156 (FPE_INTOVF): Likewise.
9157 (FPE_FLTDIV): Likewise.
9158 (FPE_FLTOVF): Likewise.
9159 (FPE_FLTUND): Likewise.
9160 (FPE_FLTRES): Likewise.
9161 (FPE_FLTINV): Likewise.
9162 (FPE_FLTSUB): Likewise.
9163 (SEGV_MAPERR): Likewise.
9164 (SEGV_ACCERR): Likewise.
9165 (BUS_ADRALN): Likewise.
9166 (BUS_ADRERR): Likewise.
9167 (BUS_OBJERR): Likewise.
9168 (BUS_MCEERR_AR): Likewise.
9169 (BUS_MCEERR_AO): Likewise.
9170 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9171 (TRAP_TRACE): Likewise.
9172 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9173 __USE_XOPEN2K8].
9174 (CLD_KILLED): Likewise.
9175 (CLD_DUMPED): Likewise.
9176 (CLD_TRAPPED): Likewise.
9177 (CLD_STOPPED): Likewise.
9178 (CLD_CONTINUED): Likewise.
9179 (POLL_IN): Likewise.
9180 (POLL_OUT): Likewise.
9181 (POLL_MSG): Likewise.
9182 (POLL_ERR): Likewise.
9183 (POLL_PRI): Likewise.
9184 (POLL_HUP): Likewise.
9185 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9186 (ILL_ILLOPN): Likewise.
9187 (ILL_ILLADR): Likewise.
9188 (ILL_ILLTRP): Likewise.
9189 (ILL_PRVOPC): Likewise.
9190 (ILL_PRVREG): Likewise.
9191 (ILL_COPROC): Likewise.
9192 (ILL_BADSTK): Likewise.
9193 (ILL_DBLFLT): Likewise.
9194 (ILL_HARDWALL): Likewise.
9195 (FPE_INTDIV): Likewise.
9196 (FPE_INTOVF): Likewise.
9197 (FPE_FLTDIV): Likewise.
9198 (FPE_FLTOVF): Likewise.
9199 (FPE_FLTUND): Likewise.
9200 (FPE_FLTRES): Likewise.
9201 (FPE_FLTINV): Likewise.
9202 (FPE_FLTSUB): Likewise.
9203 (SEGV_MAPERR): Likewise.
9204 (SEGV_ACCERR): Likewise.
9205 (BUS_ADRALN): Likewise.
9206 (BUS_ADRERR): Likewise.
9207 (BUS_OBJERR): Likewise.
9208 (BUS_MCEERR_AR): Likewise.
9209 (BUS_MCEERR_AO): Likewise.
9210 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9211 (TRAP_TRACE): Likewise.
9212 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9213 __USE_XOPEN2K8].
9214 (CLD_KILLED): Likewise.
9215 (CLD_DUMPED): Likewise.
9216 (CLD_TRAPPED): Likewise.
9217 (CLD_STOPPED): Likewise.
9218 (CLD_CONTINUED): Likewise.
9219 (POLL_IN): Likewise.
9220 (POLL_OUT): Likewise.
9221 (POLL_MSG): Likewise.
9222 (POLL_ERR): Likewise.
9223 (POLL_PRI): Likewise.
9224 (POLL_HUP): Likewise.
9225 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9226 (ILL_ILLOPN): Likewise.
9227 (ILL_ILLADR): Likewise.
9228 (ILL_ILLTRP): Likewise.
9229 (ILL_PRVOPC): Likewise.
9230 (ILL_PRVREG): Likewise.
9231 (ILL_COPROC): Likewise.
9232 (ILL_BADSTK): Likewise.
9233 (FPE_INTDIV): Likewise.
9234 (FPE_INTOVF): Likewise.
9235 (FPE_FLTDIV): Likewise.
9236 (FPE_FLTOVF): Likewise.
9237 (FPE_FLTUND): Likewise.
9238 (FPE_FLTRES): Likewise.
9239 (FPE_FLTINV): Likewise.
9240 (FPE_FLTSUB): Likewise.
9241 (SEGV_MAPERR): Likewise.
9242 (SEGV_ACCERR): Likewise.
9243 (BUS_ADRALN): Likewise.
9244 (BUS_ADRERR): Likewise.
9245 (BUS_OBJERR): Likewise.
9246 (BUS_MCEERR_AR): Likewise.
9247 (BUS_MCEERR_AO): Likewise.
9248 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9249 (TRAP_TRACE): Likewise.
9250 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9251 __USE_XOPEN2K8].
9252 (CLD_KILLED): Likewise.
9253 (CLD_DUMPED): Likewise.
9254 (CLD_TRAPPED): Likewise.
9255 (CLD_STOPPED): Likewise.
9256 (CLD_CONTINUED): Likewise.
9257 (POLL_IN): Likewise.
9258 (POLL_OUT): Likewise.
9259 (POLL_MSG): Likewise.
9260 (POLL_ERR): Likewise.
9261 (POLL_PRI): Likewise.
9262 (POLL_HUP): Likewise.
9263 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9264 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9265
bc61d27c
JM
9266 [BZ #16670]
9267 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9268 before #include of <time.h>.
9269 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9270 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9271 (test-xfail-UNIX98/sched.h/conform): Likewise.
9272
302949e2
MS
92732014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9274
9275 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9276 error absence of trapping exception support.
9277 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9278
a00f522a
JM
92792014-03-07 Joseph Myers <joseph@codesourcery.com>
9280
6f99f280
JM
9281 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9282 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9283 * timezone/Makefile (testdata): Move definition above include of
9284 Rules.
9285 (test-zones): New variable.
9286 (tests-special): Add zone files.
9287 (build-testdata): Use $(evaluate-test).
9288
0b20a9e8
JM
9289 * elf/Makefile (tests-special): Rename tests to end with .out.
9290 ($(objpfx)noload-mem): Likewise.
9291 ($(objpfx)tst-leaks1-mem): Likewise.
9292 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9293 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9294 $(objpfx)test-iconvconfig.out.
9295 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9296 set -e inside subshell and redirect output to file.
9297 * iconvdata/Makefile (generated): Rename tests to end with .out.
9298 Correct type.
9299 (tests-special): Rename tests to end with .out.
9300 ($(objpfx)mtrace-tst-loading): Likewise.
9301 * intl/Makefile (generated): Likewise.
9302 (tests-special): Likewise.
9303 ($(objpfx)mtrace-tst-gettext): Likewise.
9304 * misc/Makefile (generated): Likewise.
9305 (tests-special): Likewise.
9306 ($(objpfx)tst-error1-mem): Likewise.
9307 * nptl/Makefile (tests-special): Likewise.
9308 ($(objpfx)tst-stack3-mem): Likewise.
9309 (generated): Likewise.
9310 * posix/Makefile (generated): Likewise.
9311 (tests-special): Likewise.
9312 (xtests-special): Likewise.
9313 ($(objpfx)tst-fnmatch-mem): Likewise.
9314 ($(objpfx)bug-regex2-mem): Likewise.
9315 ($(objpfx)bug-regex14-mem): Likewise.
9316 ($(objpfx)bug-regex21-mem): Likewise.
9317 ($(objpfx)bug-regex31-mem): Likewise.
9318 ($(objpfx)tst-vfork3-mem): Likewise.
9319 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9320 ($(objpfx)tst-pcre-mem): Likewise.
9321 ($(objpfx)tst-boost-mem): Likewise.
9322 ($(objpfx)bug-ga2-mem): Likewise.
9323 ($(objpfx)bug-glob2-mem): Likewise.
9324 * resolv/Makefile (generate): Likewise.
9325 (tests-special): Likewise.
9326 (xtests-special): Likewise.
9327 (generated): Likewise.
9328 ($(objpfx)mtrace-tst-leaks): Likewise.
9329 ($(objpfx)mtrace-tst-leaks2): Likewise.
9330
265d52ab
JM
9331 * scripts/merge-test-results.sh: New file.
9332 * Makefile (tests-special-notdir): New variable.
9333 (tests): Run merge-test-results.sh.
9334 (xtests): Likewise.
9335 * Rules (tests-special-notdir): New variable.
9336 (xtests-special-notdir): Likewise.
9337 (tests): Run merge-test-results.sh
9338 (xtests): Likewise.
9339
54ee292d
JM
9340 * Makeconfig (test-xfail-name): New variable.
9341 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9342 compute variable name for expected failures.
9343 * conform/Makefile (conformtest-headers-data): New variable.
9344 (conformtest-standards): Likewise.
9345 (conformtest-headers-ISO): Likewise.
9346 (conformtest-headers-ISO99): Likewise.
9347 (conformtest-headers-ISO11): Likewise.
9348 (conformtest-headers-POSIX): Likewise.
9349 (conformtest-headers-XPG3): Likewise.
9350 (conformtest-headers-XPG4): Likewise.
9351 (conformtest-headers-UNIX98): Likewise.
9352 (conformtest-headers-XOPEN2K): Likewise.
9353 (conformtest-headers-POSIX2008): Likewise.
9354 (conformtest-headers-XOPEN2K8): Likewise.
9355 (conformtest-header-list-base): Likewise.
9356 (conformtest-header-list-tests): Likewise.
9357 (conformtest-header-base): Likewise.
9358 (conformtest-header-tests): Likewise.
9359 (tests-special): Add $(conformtest-header-list-tests). If
9360 [$(fast-check) && !$(cross-compiling)], add
9361 $(conformtest-header-tests) instead of
9362 $(objpfx)run-conformtest.out.
9363 (generated): Add $(conformtest-header-list-base). If
9364 [$(fast-check) && !$(cross-compiling)], add
9365 $(conformtest-header-base). Remove previous setting.
9366 ($(conformtest-header-list-tests)): New target.
9367 (test-xfail-run-conformtest): Remove variable.
9368 ($(objpfx)run-conformtest.out): Remove target.
9369 (test-xfail-ISO11/complex.h/conform): New variable.
9370 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9371 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9372 (test-xfail-XPG3/varargs.h/conform): Likewise.
9373 (test-xfail-XPG4/varargs.h/conform): Likewise.
9374 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9375 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9376 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9377 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9378 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9379 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9380 (test-xfail-XPG3/ftw.h/conform): Likewise.
9381 (test-xfail-XPG3/grp.h/conform): Likewise.
9382 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9383 (test-xfail-XPG3/limits.h/conform): Likewise.
9384 (test-xfail-XPG3/pwd.h/conform): Likewise.
9385 (test-xfail-XPG3/search.h/conform): Likewise.
9386 (test-xfail-XPG3/signal.h/conform): Likewise.
9387 (test-xfail-XPG3/stdio.h/conform): Likewise.
9388 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9389 (test-xfail-XPG3/string.h/conform): Likewise.
9390 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9391 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9392 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9393 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9394 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9395 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9396 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9397 (test-xfail-XPG3/termios.h/conform): Likewise.
9398 (test-xfail-XPG3/time.h/conform): Likewise.
9399 (test-xfail-XPG3/unistd.h/conform): Likewise.
9400 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9401 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9402 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9403 (test-xfail-XPG4/netdb.h/conform): Likewise.
9404 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9405 (test-xfail-XPG4/signal.h/conform): Likewise.
9406 (test-xfail-XPG4/stdio.h/conform): Likewise.
9407 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9408 (test-xfail-XPG4/stropts.h/conform): Likewise.
9409 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9410 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9411 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9412 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9413 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9414 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9415 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9416 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9417 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9418 (test-xfail-XPG4/termios.h/conform): Likewise.
9419 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9420 (test-xfail-XPG4/unistd.h/conform): Likewise.
9421 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9422 (test-xfail-POSIX/sched.h/conform): Likewise.
9423 (test-xfail-POSIX/signal.h/conform): Likewise.
9424 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9425 (test-xfail-POSIX/tar.h/conform): Likewise.
9426 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9427 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9428 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9429 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9430 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9431 (test-xfail-UNIX98/sched.h/conform): Likewise.
9432 (test-xfail-UNIX98/signal.h/conform): Likewise.
9433 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9434 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9435 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9436 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9437 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9438 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9439 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9440 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9441 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9442 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9443 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9444 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9445 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9446 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9447 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9448 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9449 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9450 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9451 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9452 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9453 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9454 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9455 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9456 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9457 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9458 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9459 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9460 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9461 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9462 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9463 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9464 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9465 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9466 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9467 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9468 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9469 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9470 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9471 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9472 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9473 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9474 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9475 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9476 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9477 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9478 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9479 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9480 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9481 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9482 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9483 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9484 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9485 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9486 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9487 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9488 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9489 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9490 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9491 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9492 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9493 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9494 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9495 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9496 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9497 (conformtest-cc-flags): Likewise.
9498 ($(conformtest-header-tests): New target.
9499 * conform/check-header-lists.sh: New file.
9500 * conform/run-conformtest.sh: Remove.
9501
a00f522a
JM
9502 * conform/conformtest.pl: Allow ' and \ in values given for
9503 constants.
9504 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9505 inclusion.
9506 [POSIX] (sys/types.h): Likewise.
9507 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9508 inclusion.
9509 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9510 inclusion.
9511 * conform/data/signal.h-data (SIGIO): Remove expectation.
9512 [XPG3] (SIGBUS): Do not expect.
9513 [POSIX || XPG3] (SIGPOLL): Likewise.
9514 [POSIX || XPG3] (SIGPROF): Likewise.
9515 [POSIX || XPG3] (SIGSYS): Likewise.
9516 [XPG3] (SIGTRAP): Likewise.
9517 [POSIX || XPG3] (SIGURG): Likewise.
9518 [POSIX || XPG3] (SIGVTALRM): Likewise.
9519 [POSIX || XPG3] (SIGXCPU): Likewise.
9520 [POSIX || XPG3] (SIGXFSZ): Likewise.
9521 [POSIX] (SA_SIGINFO): Expect.
9522 [XPG3] (siginfo_t): Do not expect type or contents.
9523 [POSIX] (si_pid): Do not expect element.
9524 [POSIX] (si_uid): Likewise.
9525 [POSIX] (si_addr): Likewise.
9526 [POSIX] (si_status): Likewise.
9527 [POSIX] (si_band): Likewise.
9528 [XPG4] (si_value): Likewise.
9529 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9530 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9531 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9532 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9533 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9534 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9535 [POSIX || XPG3] (ILL_COPROC): Likewise.
9536 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9537 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9538 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9539 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9540 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9541 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9542 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9543 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9544 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9545 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9546 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9547 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9548 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9549 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9550 [POSIX || XPG3] (CLD_EXITED): Likewise.
9551 [POSIX || XPG3] (CLD_KILLED): Likewise.
9552 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9553 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9554 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9555 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9556 [POSIX || XPG3] (POLL_IN): Likewise.
9557 [POSIX || XPG3] (POLL_OUT): Likewise.
9558 [POSIX || XPG3] (POLL_MSG): Likewise.
9559 [POSIX || XPG3] (POLL_ERR): Likewise.
9560 [POSIX || XPG3] (POLL_PRI): Likewise.
9561 [POSIX || XPG3] (POLL_HUP): Likewise.
9562 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9563 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9564 (SIG*): Do not allow.
9565 [XPG3] (si_*): Likewise.
9566 [XPG3] (SI_*): Likewise.
9567 [XPG3 || XPG4] (sigev_*): Likewise.
9568 [XPG3 || XPG4] (SIGEV_*): Likewise.
9569 [XPG3 || XPG4] (sival_*): Likewise.
9570 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9571 [POSIX || XPG3] (BUS_*): Likewise.
9572 [POSIX || XPG3] (CLD_*): Likewise.
9573 [POSIX || XPG3] (FPE_*): Likewise.
9574 [POSIX || XPG3] (ILL_*): Likewise.
9575 [POSIX || XPG3] (POLL_*): Likewise.
9576 [POSIX || XPG3] (SEGV_*): Likewise.
9577 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9578 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9579 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9580 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9581 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9582 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9583 Specify type and value.
9584 (TVERSLEN): Likewise.
9585 (REGTYPE): Likewise.
9586 (AREGTYPE): Likewise.
9587 (LNKTYPE): Likewise.
9588 (SYMTYPE): Likewise.
9589 (CHRTYPE): Likewise.
9590 (BLKTYPE): Likewise.
9591 (DIRTYPE): Likewise.
9592 (FIFOTYPE): Likewise.
9593 (CONTTYPE): Likewise.
9594 (TSUID): Likewise.
9595 (TSGID): Likewise.
9596 (TSVTX): Likewise.
9597 (TUREAD): Likewise.
9598 (TUWRITE): Likewise.
9599 (TUEXEC): Likewise.
9600 (TGREAD): Likewise.
9601 (TGWRITE): Likewise.
9602 (TGEXEC): Likewise.
9603 (TOREAD): Likewise.
9604 (TOWRITE): Likewise.
9605 (TOEXEC): Likewise.
9606 [POSIX] (TSVTX): Expect constant.
9607
aa97dee1
JM
96082014-03-06 Joseph Myers <joseph@codesourcery.com>
9609
f214606a
JM
9610 * Makefile (tests): Change dependencies to ....
9611 (tests-special): ... additions to this variable.
9612 (tests): Depend on $(tests-special).
9613 * Makerules (check-abi-list): New variable.
9614 (check-abi): Depend on $(check-abi-list).
9615 [$(subdir) = elf] (tests-special): Add
9616 $(objpfx)check-abi-libc.out.
9617 [$(build-shared) = yes && subdir] (tests-special): Add
9618 $(check-abi-list).
9619 [$(build-shared) = yes && subdir] (tests): Do not depend on
9620 check-abi.
9621 * Rules (tests): Depend on $(tests-special).
9622 (xtests): Depend on $(xtests-special).
9623 * catgets/Makefile (tests): Change dependencies to ....
9624 (tests-special): ... additions to this variable.
9625 * conform/Makefile (tests): Change dependencies to ....
9626 (tests-special): ... additions to this variable.
9627 * elf/Makefile (tests): Change dependencies to ....
9628 (tests-special): ... additions to this variable.
9629 * grp/Makefile (tests): Change dependencies to ....
9630 (tests-special): ... additions to this variable.
9631 * iconv/Makefile (xtests): Change dependencies to ....
9632 (xtests-special): ... additions to this variable.
9633 * iconvdata/Makefile (tests): Change dependencies to ....
9634 (tests-special): ... additions to this variable.
9635 * intl/Makefile (tests): Change dependencies to ....
9636 (tests-special): ... additions to this variable. Also add
9637 $(objpfx)tst-gettext.out.
9638 * io/Makefile (tests): Change dependencies to ....
9639 (tests-special): ... additions to this variable.
9640 * libio/Makefile (tests): Change dependencies to ....
9641 (tests-special): ... additions to this variable.
9642 * malloc/Makefile (tests): Change dependencies to ....
9643 (tests-special): ... additions to this variable.
9644 * misc/Makefile (tests): Change dependencies to ....
9645 (tests-special): ... additions to this variable.
9646 * nptl/Makefile (tests): Change dependencies to ....
9647 (tests-special): ... additions to this variable.
9648 * nptl_db/Makefile (tests): Change dependencies to ....
9649 (tests-special): ... additions to this variable.
9650 * posix/Makefile (tests): Change dependencies to ....
9651 (tests-special): ... additions to this variable.
9652 (xtests): Change dependencies to ....
9653 (xtests-special): ... additions to this variable.
9654 * resolv/Makefile (tests): Change dependencies to ....
9655 (tests-special): ... additions to this variable.
9656 (xtests): Change dependencies to ....
9657 (xtests-special): ... additions to this variable.
9658 * stdio-common/Makefile (tests): Change dependencies to ....
9659 (tests-special): ... additions to this variable.
9660 (do-tst-unbputc): Remove target.
9661 (do-tst-printf): Likewise.
9662 * stdlib/Makefile (tests): Change dependencies to ....
9663 (tests-special): ... additions to this variable.
9664 * string/Makefile (tests): Change dependencies to ....
9665 (tests-special): ... additions to this variable.
9666 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9667 (tests-special): ... additions to this variable.
9668
81700b53
JM
9669 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9670 whole file.
9671 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9672 whole file.
9673 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9674 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9675
2ea18461
JM
9676 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9677 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9678 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9679 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9680 * conform/data/libgen.h-data [XPG3]: Likewise.
9681 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9682 * conform/data/ndbm.h-data [XPG3]: Likewise.
9683 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9684 * conform/data/netdb.h-data [XPG3]: Likewise.
9685 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9686 * conform/data/poll.h-data [XPG3]: Likewise.
9687 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9688 * conform/data/strings.h-data [XPG3]: Likewise.
9689 * conform/data/stropts.h-data [XPG3]: Likewise.
9690 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9691 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9692 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9693 Likewise.
9694 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9695 * conform/data/sys/time.h-data [XPG3]: Likewise.
9696 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9697 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9698 * conform/data/sys/un.h-data [XPG3]: Likewise.
9699 * conform/data/syslog.h-data [XPG3]: Likewise.
9700 * conform/data/ucontext.h-data [XPG3]: Likewise.
9701 * conform/data/utmpx.h-data [XPG3]: Likewise.
9702 * conform/data/varargs.h-data [UNIX98]: Enable file.
9703
355bc986
JM
9704 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9705
215db402
JM
9706 * math/libm-test.inc (struct test_f_f_data): Move expected results
9707 into structure for each rounding mode.
9708 (struct test_ff_f_data): Likewise.
9709 (struct test_ff_f_data_nexttoward): Likewise.
9710 (struct test_fi_f_data): Likewise.
9711 (struct test_fl_f_data): Likewise.
9712 (struct test_if_f_data): Likewise.
9713 (struct test_fff_f_data): Likewise.
9714 (struct test_c_f_data): Likewise.
9715 (struct test_f_f1_data): Likewise.
9716 (struct test_fF_f1_data): Likewise.
9717 (struct test_ffI_f1_data): Likewise.
9718 (struct test_c_c_data): Likewise.
9719 (struct test_cc_c_data): Likewise.
9720 (struct test_f_i_data): Likewise.
9721 (struct test_ff_i_data): Likewise.
9722 (struct test_f_l_data): Likewise.
9723 (struct test_f_L_data): Likewise.
9724 (struct test_fFF_11_data): Likewise.
9725 (RM_): New macro.
9726 (RM_FE_DOWNWARD): Likewise.
9727 (RM_FE_TONEAREST): Likewise.
9728 (RM_FE_TOWARDZERO): Likewise.
9729 (RM_FE_UPWARD): Likewise.
9730 (RUN_TEST_LOOP_f_f): Update references to expected results.
9731 (RUN_TEST_LOOP_2_f): Likewise.
9732 (RUN_TEST_LOOP_fff_f): Likewise.
9733 (RUN_TEST_LOOP_c_f): Likewise.
9734 (RUN_TEST_LOOP_f_f1): Likewise.
9735 (RUN_TEST_LOOP_fF_f1): Likewise.
9736 (RUN_TEST_LOOP_fI_f1): Likewise.
9737 (RUN_TEST_LOOP_ffI_f1): Likewise.
9738 (RUN_TEST_LOOP_c_c): Likewise.
9739 (RUN_TEST_LOOP_cc_c): Likewise.
9740 (RUN_TEST_LOOP_f_i): Likewise.
9741 (RUN_TEST_LOOP_f_i_tg): Likewise.
9742 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9743 (RUN_TEST_LOOP_f_b): Likewise.
9744 (RUN_TEST_LOOP_f_b_tg): Likewise.
9745 (RUN_TEST_LOOP_f_l): Likewise.
9746 (RUN_TEST_LOOP_f_L): Likewise.
9747 (RUN_TEST_LOOP_fFF_11): Likewise.
9748 * math/gen-libm-test.pl (parse_args): Output four copies of
9749 expected results for each test.
9750
67737b8f
JM
9751 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9752 (__ASSUME_UTIMES): Remove.
9753 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9754 (__ASSUME_UTIMES): Likewise.
9755
aa97dee1
JM
9756 * math/gen-auto-libm-tests.c: Update comment on output format.
9757 (output_for_one_input_case): Generate before-rounding and
9758 after-rounding information as conditions on output flags not
9759 floating-point format.
9760 * math/auto-libm-test-out: Regenerated.
9761 * math/gen-libm-test.pl (cond_value): New function.
9762 (or_cond_value): Use cond_value.
9763 (generate_testfile): Handle conditional exceptions.
9764
e6b6a857
JM
97652014-03-05 Joseph Myers <joseph@codesourcery.com>
9766
2f0a0f44
JM
9767 * math/libm-test.inc (max_valid_error): New variable.
9768 (init_max_error): Take new argument specifying whether function
9769 results are exactly determined. Set max_valid_error and bound
9770 other variables for errors based on this argument.
9771 (set_max_error): Do not record results above max_valid_error.
9772 (check_float_internal): Only accept errors of up to 0.5ulps if
9773 also at most max_valid_error.
9774 (START): Take new argument EXACT and pass it to init_max_error.
9775 (acos_test): Update call to START.
9776 (acos_test_tonearest): Likewise.
9777 (acos_test_towardzero): Likewise.
9778 (acos_test_downward): Likewise.
9779 (acos_test_upward): Likewise.
9780 (acosh_test): Likewise.
9781 (asin_test): Likewise.
9782 (asin_test_tonearest): Likewise.
9783 (asin_test_towardzero): Likewise.
9784 (asin_test_downward): Likewise.
9785 (asin_test_upward): Likewise.
9786 (asinh_test): Likewise.
9787 (atan_test): Likewise.
9788 (atanh_test): Likewise.
9789 (atan2_test): Likewise.
9790 (cabs_test): Likewise.
9791 (cacos_test): Likewise.
9792 (cacosh_test): Likewise.
9793 (carg_test): Likewise.
9794 (casin_test): Likewise.
9795 (casinh_test): Likewise.
9796 (catan_test): Likewise.
9797 (catanh_test): Likewise.
9798 (cbrt_test): Likewise.
9799 (ccos_test): Likewise.
9800 (ccosh_test): Likewise.
9801 (ceil_test): Likewise.
9802 (cexp_test): Likewise.
9803 (cimag_test): Likewise.
9804 (clog_test): Likewise.
9805 (clog10_test): Likewise.
9806 (conj_test): Likewise.
9807 (copysign_test): Likewise.
9808 (cos_test): Likewise.
9809 (cos_test_tonearest): Likewise.
9810 (cos_test_towardzero): Likewise.
9811 (cos_test_downward): Likewise.
9812 (cos_test_upward): Likewise.
9813 (cosh_test): Likewise.
9814 (cosh_test_tonearest): Likewise.
9815 (cosh_test_towardzero): Likewise.
9816 (cosh_test_downward): Likewise.
9817 (cosh_test_upward): Likewise.
9818 (cpow_test): Likewise.
9819 (cproj_test): Likewise.
9820 (creal_test): Likewise.
9821 (csin_test): Likewise.
9822 (csinh_test): Likewise.
9823 (csqrt_test): Likewise.
9824 (ctan_test): Likewise.
9825 (ctan_test_tonearest): Likewise.
9826 (ctan_test_towardzero): Likewise.
9827 (ctan_test_downward): Likewise.
9828 (ctan_test_upward): Likewise.
9829 (ctanh_test): Likewise.
9830 (ctanh_test_tonearest): Likewise.
9831 (ctanh_test_towardzero): Likewise.
9832 (ctanh_test_downward): Likewise.
9833 (ctanh_test_upward): Likewise.
9834 (erf_test): Likewise.
9835 (erfc_test): Likewise.
9836 (exp_test): Likewise.
9837 (exp_test_tonearest): Likewise.
9838 (exp_test_towardzero): Likewise.
9839 (exp_test_downward): Likewise.
9840 (exp_test_upward): Likewise.
9841 (exp10_test): Likewise.
9842 (exp10_test_tonearest): Likewise.
9843 (exp10_test_towardzero): Likewise.
9844 (exp10_test_downward): Likewise.
9845 (exp10_test_upward): Likewise.
9846 (pow10_test): Likewise.
9847 (exp2_test): Likewise.
9848 (expm1_test): Likewise.
9849 (expm1_test_tonearest): Likewise.
9850 (expm1_test_towardzero): Likewise.
9851 (expm1_test_downward): Likewise.
9852 (expm1_test_upward): Likewise.
9853 (fabs_test): Likewise.
9854 (fdim_test): Likewise.
9855 (floor_test): Likewise.
9856 (fma_test): Likewise.
9857 (fma_test_towardzero): Likewise.
9858 (fma_test_downward): Likewise.
9859 (fma_test_upward): Likewise.
9860 (fmax_test): Likewise.
9861 (fmin_test): Likewise.
9862 (fmod_test): Likewise.
9863 (fpclassify_test): Likewise.
9864 (frexp_test): Likewise.
9865 (hypot_test): Likewise.
9866 (ilogb_test): Likewise.
9867 (isfinite_test): Likewise.
9868 (finite_test): Likewise.
9869 (isgreater_test): Likewise.
9870 (isgreaterequal_test): Likewise.
9871 (isinf_test): Likewise.
9872 (isless_test): Likewise.
9873 (islessequal_test): Likewise.
9874 (islessgreater_test): Likewise.
9875 (isnan_test): Likewise.
9876 (isnormal_test): Likewise.
9877 (issignaling_test): Likewise.
9878 (isunordered_test): Likewise.
9879 (j0_test): Likewise.
9880 (j1_test): Likewise.
9881 (jn_test): Likewise.
9882 (ldexp_test): Likewise.
9883 (lgamma_test): Likewise.
9884 (gamma_test): Likewise.
9885 (lrint_test): Likewise.
9886 (lrint_test_tonearest): Likewise.
9887 (lrint_test_towardzero): Likewise.
9888 (lrint_test_downward): Likewise.
9889 (lrint_test_upward): Likewise.
9890 (llrint_test): Likewise.
9891 (llrint_test_tonearest): Likewise.
9892 (llrint_test_towardzero): Likewise.
9893 (llrint_test_downward): Likewise.
9894 (llrint_test_upward): Likewise.
9895 (log_test): Likewise.
9896 (log10_test): Likewise.
9897 (log1p_test): Likewise.
9898 (log2_test): Likewise.
9899 (logb_test): Likewise.
9900 (logb_test_downward): Likewise.
9901 (lround_test): Likewise.
9902 (llround_test): Likewise.
9903 (modf_test): Likewise.
9904 (nearbyint_test): Likewise.
9905 (nextafter_test): Likewise.
9906 (nexttoward_test): Likewise.
9907 (pow_test): Likewise.
9908 (pow_test_tonearest): Likewise.
9909 (pow_test_towardzero): Likewise.
9910 (pow_test_downward): Likewise.
9911 (pow_test_upward): Likewise.
9912 (remainder_test): Likewise.
9913 (drem_test): Likewise.
9914 (remainder_test_tonearest): Likewise.
9915 (drem_test_tonearest): Likewise.
9916 (remainder_test_towardzero): Likewise.
9917 (drem_test_towardzero): Likewise.
9918 (remainder_test_downward): Likewise.
9919 (drem_test_downward): Likewise.
9920 (remainder_test_upward): Likewise.
9921 (drem_test_upward): Likewise.
9922 (remquo_test): Likewise.
9923 (rint_test): Likewise.
9924 (rint_test_tonearest): Likewise.
9925 (rint_test_towardzero): Likewise.
9926 (rint_test_downward): Likewise.
9927 (rint_test_upward): Likewise.
9928 (round_test): Likewise.
9929 (scalb_test): Likewise.
9930 (scalbn_test): Likewise.
9931 (scalbln_test): Likewise.
9932 (signbit_test): Likewise.
9933 (sin_test): Likewise.
9934 (sin_test_tonearest): Likewise.
9935 (sin_test_towardzero): Likewise.
9936 (sin_test_downward): Likewise.
9937 (sin_test_upward): Likewise.
9938 (sincos_test): Likewise.
9939 (sinh_test): Likewise.
9940 (sinh_test_tonearest): Likewise.
9941 (sinh_test_towardzero): Likewise.
9942 (sinh_test_downward): Likewise.
9943 (sinh_test_upward): Likewise.
9944 (sqrt_test): Likewise.
9945 (sqrt_test_tonearest): Likewise.
9946 (sqrt_test_towardzero): Likewise.
9947 (sqrt_test_downward): Likewise.
9948 (sqrt_test_upward): Likewise.
9949 (tan_test): Likewise.
9950 (tan_test_tonearest): Likewise.
9951 (tan_test_towardzero): Likewise.
9952 (tan_test_downward): Likewise.
9953 (tan_test_upward): Likewise.
9954 (tanh_test): Likewise.
9955 (tgamma_test): Likewise.
9956 (trunc_test): Likewise.
9957 (y0_test): Likewise.
9958 (y1_test): Likewise.
9959 (yn_test): Likewise.
9960 (significand_test): Likewise.
9961
e6b6a857
JM
9962 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9963 individual tests in comment.
9964 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9965 (prev_max_error): New variable.
9966 (prev_real_max_error): Likewise.
9967 (prev_imag_max_error): Likewise.
9968 (compare_ulp_data): Don't refer to test names in comment.
9969 (find_test_ulps): Remove function.
9970 (find_function_ulps): Likewise.
9971 (find_complex_function_ulps): Likewise.
9972 (init_max_error): Take function name as argument. Look up ulps
9973 for that function.
9974 (print_ulps): Remove function.
9975 (print_max_error): Use prev_max_error instead of calling
9976 find_function_ulps.
9977 (print_complex_max_error): Use prev_real_max_error and
9978 prev_imag_max_error instead of calling find_complex_function_ulps.
9979 (check_float_internal): Take max_ulp parameter instead of calling
9980 find_test_ulps. Don't call print_ulps.
9981 (check_float): Update call to check_float_internal.
9982 (check_complex): Update calls to check_float_internal.
9983 (START): Pass argument to init_max_error.
9984 * math/gen-libm-test.pl (%results): Don't include "kind"
9985 information.
9986 (parse_ulps): Don't handle ulps of individual tests.
9987 (print_ulps_file): Likewise.
9988 (output_ulps): Likewise.
9989 * math/README.libm-test: Update.
9990 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9991 individual tests.
9992 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9993 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9994 * sysdeps/arm/libm-test-ulps: Likewise.
9995 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9996 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9997 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9998 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9999 * sysdeps/microblaze/libm-test-ulps: Likewise.
10000 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10001 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10002 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10003 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10004 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10005 * sysdeps/sh/libm-test-ulps: Likewise.
10006 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10007 * sysdeps/tile/libm-test-ulps: Likewise.
10008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10009
45adef3c
JM
100102014-03-04 Joseph Myers <joseph@codesourcery.com>
10011
10012 * math/libm-test.inc (print_complex_max_error): Check separately
10013 whether real and imaginary errors are within allowed range and
10014 pass 0 to print_complex_function_ulps instead of value within
10015 allowed range.
10016
000232b9
SP
100172014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10018
d4b17258
SP
10019 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10020 formatting.
10021 (get_handles_fopen): Likewise.
10022 (do_write_test): Likewise.
10023
091eff71
SP
10024 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10025
fa3cd248
SP
10026 * libio/fileops.c (do_ftell): Use cached offset when
10027 available.
10028 * libio/iofwide.c (do_ftell_wide): Likewise.
10029 * libio/iofdopen.c (_IO_new_fdopen): Don't use
10030 _IO_file_attach.
10031 * libio/wfileops.c (_IO_fwide): Don't cache offset.
10032
000232b9
SP
10033 [BZ #16532]
10034 * libio/libioP.h (get_file_offset): New function.
10035 * libio/fileops.c (get_file_offset): Likewise.
10036 (do_ftell): Likewise.
10037 (_IO_new_file_seekoff): Split out ftell logic.
10038 * libio/wfileops.c (do_ftell_wide): Likewise.
10039 (_IO_wfile_seekoff): Split out ftell logic.
10040 * libio/tst-ftell-active-handler.c: New test case.
10041 * libio/Makefile (tests): Add it.
10042
116f4d1a
RM
100432014-03-03 Roland McGrath <roland@hack.frob.com>
10044
10045 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10046 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10047
532a6035
SP
100482014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10049
10050 [BZ #16639]
10051 * nscd/connections.c (nscd_init): Call do_exit.
10052 (start_threads): Call do_exit and notify_parent.
10053 (begin_drop_privileges): Call do_exit.
10054 (finish_drop_privileges): Likewise.
10055 * nscd/selinux.c (preserve_capabilities): Likewise.
10056 (install_real_capabilities): Likewise.
10057 (nscd_selinux_enabled): Likewise.
10058 (avc_create_thread): Likewise.
10059 (avc_alloc_lock): Likewise.
10060 (nscd_avc_init): Likewise.
10061 * nscd/nscd.c (parent_fd): New static variable.
10062 (main): Create a pipe between parent and child processes.
10063 Skip closing parent_fd.
10064 (monitor_child): New function.
10065 (do_exit): Likewise.
10066 (notify_parent): Likewise.
10067 * nscd/nscd.h (notify_parent): Likewise.
10068 (do_exit): Likewise.
10069
d6285c9f
CD
100702014-03-03 Carlos O'Donell <carlos@redhat.com>
10071
10072 * malloc/malloc.c (__libc_calloc): Revert last change.
10073
2b85d2a0
AZ
100742014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10075
10076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10077
c7debbdf
RS
100782014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10079
10080 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10081 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10082 implementation.
10083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10084 (__libc_ifunc_impl_list): Likewise.
10085 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10086 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10087 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10088 * string/strrchr.c: Define STRRCHR.
10089
235eed86
OB
100902014-02-28 Ondřej Bílka <neleai@seznam.cz>
10091
10092 * benchtest/bench-strtok.c (simple_strtok): Delete.
10093 (strtok_string): Use as benchmark.
10094 * string/strtok (STRTOK): New macro.
10095
8e25d1e7
CD
100962014-02-28 Carlos O'Donell <carlos@redhat.com>
10097
ef563f92
CD
10098 * manual/threads.texi: Add header and standard comments to all
10099 functions.
10100
8e25d1e7
CD
10101 * elf/dl-lookup.c (check_match): New function.
10102 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10103 (do_lookup_x): Remove nested function check_match. Use non-nested
10104 function check_match.
10105
ff71cc37
RM
101062014-02-28 Roland McGrath <roland@hack.frob.com>
10107
f08e9a26
RM
10108 * csu/Makefile (generated, before-compile): Use += rather than =.
10109 * catgets/Makefile (generated, generated-dirs): Likewise.
10110 * debug/Makefile (generated): Likewise.
10111 * dlfcn/Makefile (generated): Likewise.
10112 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10113 * iconvdata/Makefile (before-compile, generated): Likewise.
10114 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10115 * libio/Makefile (generated): Likewise.
10116 * malloc/Makefile (generated): Likewise.
10117 * manual/Makefile (generated, generated-dirs): Likewise.
10118 * misc/Makefile (generated): Likewise.
10119 * posix/Makefile (generated): Likewise.
10120 * resolv/Makefile (generated): Likewise.
10121 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10122 * timezone/Makefile (generated, generated-dirs): Likewise.
10123
ff71cc37
RM
10124 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10125
fe13a20c
AZ
101262014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10127
57f41c40
AS
10128 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10129 power8 implementation.
10130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10131 file: POWER8 llround ifunc implementation.
10132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10133 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
10134 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10135 POWER8 llround implementation.
10136
57f41c40
AS
10137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10138 power8 implementation.
10139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10140 file: POWER8 llrint ifunc implementation.
10141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10142 Add POWER8 implementation.
1ad8950a
AZ
10143 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10144 POWER8 llrint implementation.
10145
57f41c40
AS
10146 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10147 power8 implementation.
10148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10149 file: POWER8 finite ifunc implementation.
10150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10151 Add POWER8 implementation.
cac626d6
AZ
10152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10153 Likewise.
10154 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10155 POWER8 finite implementation.
10156 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10157
57f41c40
AS
10158 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10159 power8 implementation.
10160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10161 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
10162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10163 POWER8 implementation.
10164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10165 Likewise.
57f41c40
AS
10166 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10167 isinf implementation.
4393fc11
AZ
10168 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10169
57f41c40
AS
10170 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10171 (INIT_ARCH): Add hwcap2 initialization.
10172 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10173 power8 implementation.
10174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10175 file: POWER8 isnan ifunc implementation.
487972ae
AZ
10176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10177 POWER8 implementation.
10178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10179 Likewise.
57f41c40
AS
10180 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10181 isnan implementation.
487972ae
AZ
10182 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10183
7d92b787
JY
101842014-02-27 Joey Ye <joey.ye@arm.com>
10185
10186 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10187 (_FP_NANFRAC_Q): Set to zero.
10188
1cadc858
SP
101892014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10190
10191 [BZ #16623]
10192 * math/auto-libm-test-in: New test inputs.
10193 * math/auto-libm-test-out: Regenerate.
10194 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10195 and DA.
10196 (__cos): Likewise.
10197 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10198
f8c17e79
JM
101992014-02-27 Joseph Myers <joseph@codesourcery.com>
10200
10201 * scripts/evaluate-test.sh: Take new argument indicating whether
10202 failure is expected.
10203 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10204 indicating whether failure is expected.
10205 * conform/Makefile (test-xfail-run-conformtest): New variable.
10206 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10207 level.
10208 * posix/Makefile (test-xfail-annexc): New variable.
10209 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10210
a5f891ac
JM
102112014-02-26 Joseph Myers <joseph@codesourcery.com>
10212
10213 * argp/Makefile: Include Makeconfig immediately after defining
10214 subdir.
10215 * assert/Makefile: Likewise.
10216 * benchtests/Makefile: Likewise.
10217 * catgets/Makefile: Likewise.
10218 * conform/Makefile: Likewise.
10219 * crypt/Makefile: Likewise.
10220 * csu/Makefile: Likewise.
10221 (all): Remove target.
10222 * ctype/Makefile: Include Makeconfig immediately after defining
10223 subdir.
10224 * debug/Makefile: Likewise.
10225 * dirent/Makefile: Likewise.
10226 * dlfcn/Makefile: Likewise.
10227 * gmon/Makefile: Likewise.
10228 * gnulib/Makefile: Likewise.
10229 * grp/Makefile: Likewise.
10230 * gshadow/Makefile: Likewise.
10231 * hesiod/Makefile: Likewise.
10232 * hurd/Makefile: Likewise.
10233 (all): Remove target.
10234 * iconvdata/Makefile: Include Makeconfig immediately after
10235 defining subdir.
10236 * inet/Makefile: Likewise.
10237 * intl/Makefile: Likewise.
10238 * io/Makefile: Likewise.
10239 * libio/Makefile: Likewise.
10240 (all): Remove target.
10241 * locale/Makefile: Include Makeconfig immediately after defining
10242 subdir.
10243 * login/Makefile: Likewise.
10244 * mach/Makefile: Likewise.
10245 (all): Remove target.
10246 * malloc/Makefile: Include Makeconfig immediately after defining
10247 subdir.
10248 (all): Remove target.
10249 * manual/Makefile: Include Makeconfig immediately after defining
10250 subdir.
10251 * math/Makefile: Likewise.
10252 * misc/Makefile: Likewise.
10253 * nis/Makefile: Likewise.
10254 * nss/Makefile: Likewise.
10255 * po/Makefile: Likewise.
10256 (all): Remove target.
10257 * posix/Makefile: Include Makeconfig immediately after defining
10258 subdir.
10259 * pwd/Makefile: Likewise.
10260 * resolv/Makefile: Likewise.
10261 * resource/Makefile: Likewise.
10262 * rt/Makefile: Likewise.
10263 * setjmp/Makefile: Likewise.
10264 * shadow/Makefile: Likewise.
10265 * signal/Makefile: Likewise.
10266 * socket/Makefile: Likewise.
10267 * soft-fp/Makefile: Likewise.
10268 * stdio-common/Makefile: Likewise.
10269 * stdlib/Makefile: Likewise.
10270 * streams/Makefile: Likewise.
10271 * string/Makefile: Likewise.
10272 * sunrpc/Makefile: Likewise.
10273 (all): Remove target.
10274 * sysvipc/Makefile: Include Makeconfig immediately after defining
10275 subdir.
10276 * termios/Makefile: Likewise.
10277 * time/Makefile: Likewise.
10278 * timezone/Makefile: Likewise.
10279 (all): Remove target.
10280 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10281 subdir.
10282 * wctype/Makefile: Likewise.
10283
5b456e9d
SE
102842014-02-26 Steve Ellcey <sellcey@mips.com>
10285
10286 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10287 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10288 (libc_feholdexcept_setround_mips): Ditto.
10289 (libc_feholdsetround): New.
10290 (libc_feholdsetroundf): New.
10291 (libc_feholdsetroundl): New.
10292 (libc_feupdateenv_test_mips): New.
10293 (libc_feupdateenv_test): New.
10294 (libc_feupdateenv_testf): New.
10295 (libc_feupdateenv_testl): New.
10296 (libc_feresetround): New.
10297 (libc_feresetroundf): New.
10298 (libc_feresetroundl): New.
10299 (libc_fetestexcept_mips): New.
10300 (libc_fetestexcept): New.
10301 (libc_fetestexceptf): New.
10302 (libc_fetestexceptl): New.
10303 (HAVE_RM_CTX): New.
10304 (libc_feholdexcept_setround_mips_ctx): New.
10305 (libc_feholdexcept_setround_ctx): New.
10306 (libc_feholdexcept_setroundf_ctx): New.
10307 (libc_feholdexcept_setroundl_ctx): New.
10308 (libc_fesetenv_mips_ctx): New.
10309 (libc_fesetenv_ctx): New.
10310 (libc_fesetenv_ctxf): New.
10311 (libc_fesetenv_ctxl): New.
10312 (libc_feupdateenv_mips_ctx): New.
10313 (libc_feupdateenv_ctx): New.
10314 (libc_feupdateenvf_ctx): New.
10315 (libc_feupdateenvl_ctx): New.
10316 (libc_feholdsetround_mips_ctx): New.
10317 (libc_feholdsetround_ctx): New.
10318 (libc_feholdsetroundf_ctx): New.
10319 (libc_feholdsetroundl_ctx): New.
10320 (libc_feresetround_mips_ctx): New.
10321 (libc_feresetround_ctx): New.
10322 (libc_feresetroundf_ctx): New.
10323 (libc_feresetroundl_ctx): New.
10324
085d0e35
CD
103252014-02-26 Carlos O'Donell <carlos@redhat.com>
10326
f067bf1f
CD
10327 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10328
085d0e35
CD
10329 * manual/ipc.texi: New file.
10330 * manual/Makefile (chapters): Add ipc.
10331 * manual/job.texi: Add "Inter-Process Communication" to next.
10332 * manual/process.texi: Add "Inter-Process Communication" to prev.
10333
86e58c08
AZ
103342014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10335
10336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10337
4248f0da
OB
103382014-02-26 Ondřej Bílka <neleai@seznam.cz>
10339
10340 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10341
cf822e3c
OB
10342 * manual/arith.texi: Fix spaces after sentences.
10343 * manual/charset.texi: Likewise.
10344 * manual/errno.texi: Likewise.
10345 * manual/install.texi: Likewise.
10346 * manual/llio.texi: Likewise.
10347 * manual/locale.texi: Likewise.
10348 * manual/maint.texi: Likewise.
10349 * manual/math.texi: Likewise.
10350 * manual/memory.texi: Likewise.
10351 * manual/message.texi: Likewise.
10352 * manual/probes.texi: Likewise.
10353 * manual/resource.texi: Likewise.
10354 * manual/signal.texi: Likewise.
10355 * manual/socket.texi: Likewise.
10356 * manual/stdio.texi: Likewise.
10357 * manual/string.texi: Likewise.
10358 * manual/time.texi: Likewise.
10359 * manual/users.texi: Likewise.
10360
ade40b10
CD
103612014-02-25 Carlos O'Donell <carlos@redhat.com>
10362
10363 [BZ #16632]
10364 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10365 _DEFAULT_SOURCE is defined.
10366
d0503676
CD
103672014-02-25 Ulrich Drepper <drepper@gmail.com>
10368 Carlos O'Donell <carlos@redhat.com>
10369
10370 [BZ #16613]
10371 * elf/dl-tls.c (_dl_count_modids): New function.
10372 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10373 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10374 audit library and increment generation counter.
10375 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10376 * elf/tst-audit9.c: New file.
10377 * elf/tst-auditmod9a.c: New file.
10378 * elf/tst-auditmod9b.c: New file.
10379 * elf/Makefile: Add rules to build and run tst-audit9.
10380
4cbf380c
FW
103812014-02-25 Florian Weimer <fweimer@redhat.com>
10382
10383 [BZ #15347]
10384 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10385
80a56cc3
WN
103862014-02-25 Will Newton <will.newton@linaro.org>
10387
10388 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10389 (__longjmp): Restore sp and lr before restoring callee
10390 saved registers. Add longjmp and longjmp_target
10391 SystemTap probe point.
10392 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10393 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10394 Define to zero to match jmpbuf layout.
10395 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10396 (__sigsetjmp): Save sp and lr before saving callee
10397 saved registers. Add setjmp SystemTap probe point.
10398
3ea0f74e
SL
103992014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10400
10401 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10402
b04acb26
AS
104032014-02-24 Andreas Schwab <schwab@suse.de>
10404
10405 [BZ #15804]
10406 * elf/pldd.c (wait_for_ptrace_stop): New function.
10407 (main): Call it after attaching.
10408
098ad55c
RM
104092014-02-22 Roland McGrath <roland@hack.frob.com>
10410
d4ec6ae1
RM
10411 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10412 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10413 Versions files is now verboten.
10414 * hurd/Versions (libc: GLIBC_2.0):
10415 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10416 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10417 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10418 * mach/Versions: Likewise.
10419
098ad55c
RM
10420 * csu/Versions: Remove unused %include.
10421 * resolv/Versions: Likewise.
10422
acd7f096
JM
104232014-02-21 Joseph Myers <joseph@codesourcery.com>
10424
f0881698
JM
10425 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10426 ($(objpfx)check-local-headers.out): Likewise.
10427 ($(objpfx)begin-end-check.out): Likewise.
10428 * Makerules (check-abi-%.out): Likewise.
10429 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10430 ($(objpfx)test2.cat): Likewise.
10431 ($(objpfx)de/libc.cat): Likewise.
10432 ($(objpfx)test-gencat.out): Likewise.
10433 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10434 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10435 ($(objpfx)noload-mem): Likewise.
10436 ($(objpfx)tst-pathopt.out): Likewise.
10437 ($(objpfx)tst-rtld-load-self.out): Likewise.
10438 ($(objpfx)tst-array1-cmp.out): Likewise.
10439 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10440 ($(objpfx)tst-array2-cmp.out): Likewise.
10441 ($(objpfx)tst-array3-cmp.out): Likewise.
10442 ($(objpfx)tst-array4-cmp.out): Likewise.
10443 ($(objpfx)tst-array5-cmp.out): Likewise.
10444 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10445 ($(objpfx)check-textrel.out): Likewise.
10446 ($(objpfx)check-execstack.out): Likewise.
10447 ($(objpfx)check-localplt.out): Likewise.
10448 ($(objpfx)order2-cmp.out): Likewise.
10449 ($(objpfx)tst-leaks1-mem): Likewise.
10450 ($(objpfx)tst-leaks1-static-mem): Likewise.
10451 ($(objpfx)tst-initorder-cmp.out): Likewise.
10452 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10453 ($(objpfx)tst-unused-dep.out): Likewise.
10454 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10455 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10456 * iconv/Makefile (test-iconvconfig): Likewise.
10457 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10458 ($(objpfx)iconv-test.out): Likewise.
10459 ($(objpfx)tst-tables.out): Likewise.
10460 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10461 ($(objpfx)tst-gettext.out): Likewise.
10462 ($(objpfx)tst-translit.out): Likewise.
10463 ($(objpfx)tst-gettext2.out): Likewise.
10464 ($(objpfx)tst-gettext4.out): Likewise.
10465 ($(objpfx)tst-gettext6.out): Likewise.
10466 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10467 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10468 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10469 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10470 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10471 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10472 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10473 ($(objpfx)wordexp-tst.out): Likewise.
10474 ($(objpfx)annexc.out): Likewise.
10475 ($(objpfx)tst-fnmatch-mem): Likewise.
10476 ($(objpfx)bug-regex2-mem): Likewise.
10477 ($(objpfx)bug-regex14-mem): Likewise.
10478 ($(objpfx)bug-regex21-mem): Likewise.
10479 ($(objpfx)bug-regex31-mem): Likewise.
10480 ($(objpfx)tst-vfork3-mem): Likewise.
10481 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10482 ($(objpfx)tst-pcre-mem): Likewise.
10483 ($(objpfx)tst-boost-mem): Likewise.
10484 ($(objpfx)tst-getconf.out): Likewise.
10485 ($(objpfx)bug-ga2-mem): Likewise.
10486 ($(objpfx)bug-glob2-mem): Likewise.
10487 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10488 ($(objpfx)mtrace-tst-leaks2): Likewise.
10489 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10490 ($(objpfx)tst-printf.out): Likewise.
10491 ($(objpfx)tst-setvbuf1.out): Likewise.
10492 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10493 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10494 ($(objpfx)tst-fmtmsg.out): Likewise.
10495 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10496 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10497
acd7f096
JM
10498 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10499 * bits/sigaction.h [__USE_MISC]: Likewise.
10500 * bits/waitstatus.h: Update #endif comments.
10501 * ctype/ctype.h: Likewise.
10502 * dirent/dirent.h: Likewise.
10503 [__USE_MISC]: Remove redundant conditionals.
10504 * grp/grp.h: Update #endif comments.
10505 [__USE_GNU]: Remove redundant conditionals.
10506 [__USE_MISC]: Likewise.
10507 * inet/netinet/in.h [__USE_GNU]: Likewise.
10508 * io/sys/stat.h [__USE_MISC]: Likewise.
10509 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10510 * libio/bits/stdio.h: Update #endif comments.
10511 [__USE_MISC]: Remove redundant conditionals.
10512 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10513 * libio/stdio.h: Update #endif comments.
10514 [__USE_MISC]: Remove redundant conditionals.
10515 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10516 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10517 * math/math.h: Update #else and #endif comments.
10518 [__USE_MISC]: Remove redundant conditionals.
10519 * misc/sys/uio.h: Update #endif comments.
10520 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10521 * posix/glob.h [__USE_MISC]: Likewise.
10522 * posix/sys/types.h: Update #endif comments.
10523 [__USE_MISC]: Remove redundant conditionals.
10524 * posix/sys/wait.h: Update #endif comments.
10525 [__USE_MISC]: Remove redundant conditionals.
10526 * posix/unistd.h: Update #endif comments.
10527 [__USE_MISC]: Remove redundant conditionals.
10528 * pwd/pwd.h [__USE_GNU]: Likewise.
10529 [__USE_MISC]: Likewise.
10530 * resolv/netdb.h [__USE_GNU]: Likewise.
10531 * signal/signal.h: Update #endif comments.
10532 [__USE_MISC]: Remove redundant conditionals.
10533 * stdlib/stdlib.h: Update #else and #endif comments.
10534 [__USE_MISC]: Remove redundant conditionals.
10535 [__USE_GNU]: Likewise.
10536 * string/bits/string2.h [__USE_MISC]: Likewise.
10537 * string/string.h: Update #endif comments.
10538 [__USE_MISC]: Remove redundant conditionals.
10539 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10540 Likewise.
10541 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10542 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10543 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10544 Likewise.
10545 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10546 Likewise.
10547 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10548 comments.
10549 [__USE_MISC]: Remove redundant conditionals.
10550 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10551 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10552 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10553 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10554 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10555 Likewise.
10556 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10557 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10558 Likewise.
10559 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10560 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10561 Likewise.
10562 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10563 Likewise.
10564 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10565 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10566 Likewise.
10567 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10568 Likewise.
10569 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10570 * sysdeps/x86/bits/string.h: Update #endif comments.
10571 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10572 conditionals.
10573 * time/sys/time.h: Update #endif comments.
10574 * time/time.h: Likewise.
10575 [__USE_MISC]: Remove redundant conditionals.
10576
a5d82e4e
YG
105772014-02-21 Yury Gribov <y.gribov@samsung.com>
10578
10579 [BZ #16600]
10580 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10581
9a80491d
AS
105822014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10583
10584 * Versions.def (librt): Add GLIBC_2.17.
10585
105fa381
AC
105862014-02-21 Adam Conrad <adconrad@0c3.net>
10587
10588 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10589 synonym for _SYS_AUXV_H to allow direct inclusion.
10590 * sysdeps/sparc/bits/hwcap.h: Likewise.
10591 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10592 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10593 * sysdeps/sparc/sysdep.h: Likewise.
10594
b8cd1c4e
SP
105952014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10596
10597 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10598
bd939d23
RS
105992014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10600
10601 * benchtests/bench-strrchr.c: Print length instead of position.
10602
5d7b57ca
JM
106032014-02-20 Joseph Myers <joseph@codesourcery.com>
10604
bc688c10
JM
10605 [BZ #16611]
10606 * sysdeps/unix/sysv/linux/kernel-features.h
10607 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10608 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10609 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10610 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10611 Likewise.
10612 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10613 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10614 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10615 (__ASSUME_SENDMMSG): Define instead of using previous
10616 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10617 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10618 (__ASSUME_SENDMMSG_SYSCALL): Define.
10619 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10620 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10621 Likewise.
10622 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10623 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10624 Likewise.
10625 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10626 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10627 Likewise.
10628 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10629 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10630 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10631 [__ASSUME_SENDMMSG]: Change conditionals to
10632 [__ASSUME_SENDMMSG_SOCKETCALL].
10633 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10634 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10635 Define.
10636 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10637 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10638 Likewise.
10639 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10640 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10641 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10642 [!__ASSUME_SENDMMSG]: Change conditional to
10643 [!__ASSUME_SENDMMSG_SOCKETCALL].
10644 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10645 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10646 Define.
10647
0e31b18c
JM
10648 [BZ #16610]
10649 * sysdeps/unix/sysv/linux/kernel-features.h
10650 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10651 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10652 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10653 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10654 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10655 [__i386__ || __sparc__]
10656 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10657 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10658 (__ASSUME_RECVMMSG): Define instead of using previous
10659 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10660 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10661 (__ASSUME_RECVMMSG_SYSCALL): Define.
10662 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10663 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10664 Likewise.
10665 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10666 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10667 Likewise.
10668 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10669 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10670 Likewise.
10671 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10672 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10673 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10674 [__ASSUME_RECVMMSG]: Change condition to
10675 [__ASSUME_RECVMMSG_SOCKETCALL].
10676 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10677 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10678 Define.
10679 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10680 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10681 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10682 Likewise.
10683 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10684 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10685 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10686 [!__ASSUME_RECVMMSG]: Change condition to
10687 [!__ASSUME_RECVMMSG_SOCKETCALL].
10688 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10689 (__ASSUME_RECVMMSG_SYSCALL): Define.
10690
dd481ccf
JM
10691 [BZ #16609]
10692 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10693 __powerpc__ || __s390__ || __sh__ || __sparc__]
10694 (__ASSUME_SOCKETCALL): Define.
10695 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10696 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10697 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10698 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10699 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10700 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10701 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10702 (__ASSUME_ACCEPT4): Define instead of using previous
10703 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10704 __powerpc__ || __sparc__ || __s390__)] condition.
10705 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10706 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10707 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10708 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10709 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10710 [!__ASSUME_ACCEPT4]: Change condition to
10711 [!__ASSUME_ACCEPT4_SOCKETCALL].
10712 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10713 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10714 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10715 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10716 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10717 __ASSUME_ACCEPT4_SYSCALL.
10718 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10719 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10720 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10721 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10722 __ASSUME_ACCEPT4_SYSCALL.
10723 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10724 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10725 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10726 [__ASSUME_ACCEPT4]: Change condition to
10727 [__ASSUME_ACCEPT4_SOCKETCALL].
10728 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10729 (__ASSUME_SOCKETCALL): Define.
10730 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10731 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10732 (__ASSUME_SOCKETCALL): Define.
10733 (__ASSUME_ACCEPT4): Remove.
10734 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10735 Define.
10736 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10737 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10738 Likewise.
10739 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10740 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10741
5d7b57ca
JM
10742 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10743 macro.
10744 (HWCAP_ARM_LPAE): Likewise.
10745 (HWCAP_ARM_EVTSTRM): Likewise.
10746 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10747 Add vpfd32, lpae and evtstrm.
10748 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10749 Increase to 22.
10750
63689d61
JM
107512014-02-19 Joseph Myers <joseph@codesourcery.com>
10752
10753 * math/auto-libm-test-in: Add tests of clog10.
10754 * math/auto-libm-test-out: Regenerated.
10755 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10756 * sysdeps/i386/fpu/libm-test-ulps: Update.
10757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10758
ab09bf61
AS
107592014-02-18 Andreas Schwab <schwab@suse.de>
10760
10761 [BZ #16574]
10762 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10763 Store non-zero if the second buffer was newly allocated.
10764 (send_dg): Likewise.
10765 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10766 to send_vc and send_dg.
10767 (res_nsend): Pass NULL for ansp2_malloced.
10768 * resolv/res_query.c (__libc_res_nquery): Add parameter
10769 answerp2_malloced and pass it down to __libc_res_nsend.
10770 (res_nquery): Pass additional NULL to __libc_res_nquery.
10771 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10772 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10773 second answer buffer if answerp2_malloced was set.
10774 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10775 (__libc_res_nquerydomain): Add parameter
10776 answerp2_malloced and pass it down to __libc_res_nquery.
10777 (res_nquerydomain): Pass additional NULL to
10778 __libc_res_nquerydomain.
10779 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10780 additional NULL to __libc_res_nsend and __libc_res_nquery.
10781 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10782 additional NULL to __libc_res_nsearch.
10783 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10784 parameter of __libc_res_nsearch to check for separately allocated
10785 second buffer.
10786 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10787 __libc_res_nquery.
10788 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10789 additional NULL to __libc_res_nquery.
10790 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10791 __libc_res_nsearch.
10792 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10793 * include/resolv.h: Update prototypes of __libc_res_nquery,
10794 __libc_res_nsearch, __libc_res_nsend.
10795
a4fb7861
JM
107962014-02-18 Joseph Myers <joseph@codesourcery.com>
10797
c6af2d89
JM
10798 * math/auto-libm-test-in: Add tests of fma.
10799 * math/auto-libm-test-out: Regenerated.
10800 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10801 (fma_towardzero_test_data): Likewise.
10802 (fma_downward_test_data): Likewise.
10803 (fma_upward_test_data): Likewise.
10804 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10805 mpc_mode.
10806 (rounding_modes): Add values for new field.
10807 (func_calc_method): Add value mpfr_fff_f.
10808 (func_calc_desc): Add mpfr_fff_f union field.
10809 (test_function): Add field exact_args.
10810 (FUNC): Add macro argument EXACT_ARGS.
10811 (FUNC_mpfr_f_f): Update call to FUNC.
10812 (FUNC_mpfr_f_f): Likewise.
10813 (FUNC_mpfr_ff_f): Likewise.
10814 (FUNC_mpfr_if_f): Likewise.
10815 (FUNC_mpc_c_f): Likewise.
10816 (FUNC_mpc_c_c): Likewise.
10817 (test_functions): Add fma. Update calls to FUNC.
10818 (handle_input_arg): Add argument exact_args.
10819 (add_test): Update call to handle_input_arg.
10820 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10821 (output_for_one_input_case): Update call to calc_generic_results.
10822 Recalculate exact zero results in each rounding mode.
10823
a4fb7861
JM
10824 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10825 non-negative before setting low bit.
10826 * math/auto-libm-test-in: Mark one asin test possibly having
10827 spurious underflow.
10828 * math/auto-libm-test-out: Regenerated.
10829 * sysdeps/i386/fpu/libm-test-ulps: Update.
10830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10831
ef114eaf
DH
108322014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10833
2b7f4f2c
SP
10834 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10835 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10836 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
10837 * README: Add missing listing for microblaze*-*-linux-gnu.
10838
8125aedc
AM
108392014-02-16 Ondřej Bílka <neleai@seznam.cz>
10840
10841 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10842 duplicate code
10843
c70a4b1d
MF
108442014-02-16 Mike Frysinger <vapier@gentoo.org>
10845
10846 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10847 * sysdeps/unix/sysv/linux/ia64: Move directory from
10848 ports/sysdeps/unix/sysv/linux/ia64.
10849 * README: Update listing for ia64-*-linux-gnu.
10850
591aeaf7
TD
108512014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10852 Joseph Myers <joseph@codesourcery.com>
10853
10854 * Makeconfig (test-name): New variable.
10855 (evaluate-test): Likewise.
10856 * Makerules (do-test-clean): Remove .test-result files.
10857 (common-mostlyclean): Likewise.
10858 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10859 * scripts/evaluate-test.sh: New file.
10860
6e89caf1
JM
108612014-02-14 Joseph Myers <joseph@codesourcery.com>
10862
7f98f180
JM
10863 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10864 separate $(objpfx)tst-fopenloc-cmp.out and
10865 $(objpfx)tst-fopenloc-mem.out targets.
10866 (tests): Update dependencies.
10867 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10868 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10869 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10870 (tst-rxspencer-no-utf8-ARGS): New variable.
10871 (tst-rxspencer-no-utf8-ENV): Likewise.
10872 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10873 instead of $(objpfx)tst-rxspencer-mem.
10874 ($(objpfx)tst-rxspencer-mem): Change target to
10875 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10876 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10877 * posix/tst-rxspencer-no-utf8.c: New file.
10878
6e89caf1
JM
10879 * elf/Makefile ($(objpfx)order.out): Remove rule.
10880 [$(run-built-tests) = yes] (tests): Depend on
10881 $(objpfx)order-cmp.out.
10882 ($(objpfx)order-cmp.out): New rule.
10883 [$(run-built-tests) = yes] (tests): Depend on
10884 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10885 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10886 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10887 $(objpfx)tst-array5-static-cmp.out.
10888 ($(objpfx)tst-array1.out): Remove rule.
10889 ($(objpfx)tst-array1-cmp.out): New rule.
10890 ($(objpfx)tst-array1-static.out): Remove rule.
10891 ($(objpfx)tst-array1-static-cmp.out): New rule.
10892 ($(objpfx)tst-array2.out): Remove rule.
10893 ($(objpfx)tst-array2-cmp.out): New rule.
10894 ($(objpfx)tst-array3.out): Remove rule.
10895 ($(objpfx)tst-array3-cmp.out): New rule.
10896 ($(objpfx)tst-array4.out): Remove rule.
10897 ($(objpfx)tst-array4-cmp.out): New rule.
10898 ($(objpfx)tst-array5.out): Remove rule.
10899 ($(objpfx)tst-array5-cmp.out): New rule.
10900 ($(objpfx)tst-array5-static.out): Remove rule.
10901 ($(objpfx)tst-array5-static-cmp.out): New rule.
10902 [$(run-built-tests) = yes] (tests): Depend on
10903 $(objpfx)order2-cmp.out.
10904 ($(objpfx)order2.out): Remove rule.
10905 ($(objpfx)order2-cmp.out): New rule.
10906 ($(objpfx)tst-initorder.out): Remove rule.
10907 [$(run-built-tests) = yes] (tests): Depend on
10908 $(objpfx)tst-initorder-cmp.out.
10909 ($(objpfx)tst-initorder-cmp.out): New rule.
10910 ($(objpfx)tst-initorder2.out): Remove rule.
10911 [$(run-built-tests) = yes] (tests): Depend on
10912 $(objpfx)tst-initorder2-cmp.out.
10913 ($(objpfx)tst-initorder2-cmp.out): New rule.
10914 [$(run-built-tests) = yes] (tests): Depend on
10915 $(objpfx)tst-unused-dep-cmp.out.
10916 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10917 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10918 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10919 on $(objpfx)tst-setvbuf1-cmp.out.
10920 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10921 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10922 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10923 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10924 ($(objpfx)tst-svc.out): Remove rule.
10925 ($(objpfx)tst-svc-cmp.out): New rule.
10926
ed9a38e2
JM
109272014-02-13 Joseph Myers <joseph@codesourcery.com>
10928
10929 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10930 * ctype/ctype.h [__USE_MISC]: Likewise.
10931 * dirent/dirent.h [__USE_MISC]: Likewise.
10932 * grp/grp.h [__USE_MISC]: Likewise.
10933 * io/fcntl.h [__USE_MISC]: Likewise.
10934 * io/sys/stat.h [__USE_MISC]: Likewise.
10935 * libio/stdio.h [__USE_MISC]: Likewise.
10936 * posix/unistd.h [__USE_MISC]: Likewise.
10937 * pwd/pwd.h [__USE_MISC]: Likewise.
10938 * stdlib.h [__USE_MISC]: Likewise.
10939 * string/bits/string2.h [__USE_MISC]: Likewise.
10940 * string/string.h [__USE_MISC]: Likewise.
10941 * time/time.h [__USE_MISC]: Likewise.
10942
d6680619
AS
109432014-02-13 Andreas Schwab <schwab@suse.de>
10944
10945 [BZ #16574]
10946 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10947 second answer buffer if it was separately allocated.
10948
ace614b8
JM
109492014-02-12 Joseph Myers <joseph@codesourcery.com>
10950
743151ae
JM
10951 * sysdeps/mips/math-tests.h: Include <features.h>.
10952 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10953 (ROUNDING_TESTS_long_double): Do not define.
10954 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10955 (EXCEPTION_TESTS_long_double): Likewise.
10956 * sysdeps/mips/mips64/libm-test-ulps: Update.
10957
498afc54
JM
10958 * include/features.h (__USE_BSD): Remove macro definitions.
10959 (__USE_SVID): Likewise.
10960 (_BSD_SOURCE): Likewise.
10961 (_SVID_SOURCE): Likewise.
10962 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10963 from definition of _DEFAULT_SOURCE.
10964 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10965 [_DEFAULT_SOURCE].
10966 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10967 * bits/mman.h [__USE_BSD]: Likewise.
10968 * bits/termios.h [__USE_BSD]: Likewise.
10969 * bits/waitstatus.h [__USE_BSD]: Likewise.
10970 * ctype/ctype.h [__USE_SVID]: Likewise.
10971 * dirent/dirent.h [__USE_BSD]: Likewise.
10972 * grp/grp.h [__USE_SVID]: Likewise.
10973 [__USE_BSD]: Likewise.
10974 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10975 * io/fcntl.h [__USE_BSD]: Likewise.
10976 * io/ftw.h [__USE_BSD]: Likewise.
10977 * io/sys/stat.h [__USE_BSD]: Likewise.
10978 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10979 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10980 * libio/stdio.h [__USE_SVID]: Likewise.
10981 [__USE_BSD]: Likewise.
10982 * math/math.h [__USE_SVID]: Likewise.
10983 [__USE_BSD]: Likewise.
10984 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10985 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10986 * misc/search.h [__USE_SVID]: Likewise.
10987 * misc/sys/mman.h [__USE_BSD]: Likewise.
10988 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10989 * misc/sys/uio.h [__USE_BSD]: Likewise.
10990 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10991 * posix/glob.h [__USE_BSD]: Likewise.
10992 * posix/regex.h [__USE_BSD]: Likewise.
10993 * posix/sys/types.h [__USE_BSD]: Likewise.
10994 [__USE_SVID]: Likewise.
10995 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10996 * posix/sys/wait.h [__USE_BSD]: Likewise.
10997 [__USE_SVID]: Likewise.
10998 * posix/unistd.h [__USE_BSD]: Likewise.
10999 [__USE_SVID]: Likewise.
11000 * pwd/pwd.h [__USE_SVID]: Likewise.
11001 * resolv/netdb.h [__USE_BSD]: Likewise.
11002 * setjmp/setjmp.h [__USE_BSD]: Likewise.
11003 * signal/signal.h [__USE_BSD]: Likewise.
11004 [__USE_SVID]: Likewise.
11005 * socket/sys/socket.h [__USE_BSD]: Likewise.
11006 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11007 * stdlib/stdlib.h [__USE_BSD]: Likewise.
11008 [__USE_SVID]: Likewise.
11009 * string/bits/string2.h [__USE_BSD]: Likewise.
11010 [__USE_SVID]: Likewise.
11011 * string/bits/string3.h [__USE_BSD]: Likewise.
11012 * string/endian.h [__USE_BSD]: Likewise.
11013 * string/string.h [__USE_SVID]: Likewise.
11014 [__USE_BSD]: Likewise.
11015 * string/strings.h [__USE_BSD]: Likewise.
11016 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11017 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11018 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11019 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11020 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11021 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11022 Likewise.
11023 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11024 Likewise.
11025 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11026 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11027 Likewise.
11028 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11029 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11030 Likewise.
11031 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11032 Likewise.
11033 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11034 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11035 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11036 Likewise.
11037 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11038 Likewise.
11039 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11040 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11041 * termios/termios.h [__USE_BSD]: Likewise.
11042 * time/sys/time.h [__USE_BSD]: Likewise.
11043 * time/time.h [__USE_BSD]: Likewise.
11044 [__USE_SVID]: Likewise.
11045
dd7b064c
JM
11046 * Makefile (subdir_targets): Remove subdir_lint.out.
11047
a2c4c199
JM
11048 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11049 (do-tst-printf): Likewise.
11050 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11051 $(objpfx)tst-printf.out.
11052
8756f740
JM
11053 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11054
1b6dd3f1
JM
11055 * Makerules (check-abi-%): Change target to
11056 $(objpfx)check-abi-%.out.
11057 (check-abi target): Update dependencies.
11058 (check-abi-pattern variable): Redirect output of diff to $@.
11059 (check-abi variable): Likewise.
11060 * elf/Makefile (check-abi): Update dependencies.
11061
ace614b8
JM
11062 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11063 unused.
11064 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11065 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11066 subnormal range.
11067 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11068 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11069 value has largest subnormal exponent.
11070 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11071 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11072 * sysdeps/aarch64/soft-fp/sfp-machine.h
11073 (_FP_TININESS_AFTER_ROUNDING): New macro.
11074 * sysdeps/alpha/soft-fp/sfp-machine.h
11075 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11076 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11077 Likewise.
11078 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11079 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11080 * sysdeps/mips/soft-fp/sfp-machine.h
11081 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11082 * sysdeps/powerpc/soft-fp/sfp-machine.h
11083 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11084 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11085 Likewise.
11086 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11087 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11088 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11089 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11090 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11091 Likewise.
11092
fbfdf9cb
DAS
110932014-02-12 Dylan Alex Simon <dylan@dylex.net>
11094
11095 [BZ #16545]
11096 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11097 model 1.
11098
68b7efaa
RH
110992014-02-12 Richard Henderson <rth@redhat.com>
11100
c70a4b1d 11101 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
11102 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11103 * sysdeps/unix/sysv/linux/alpha: Move directory from
11104 ports/sysdeps/unix/sysv/linux/alpha.
11105 * README: Update listing for alpha-*-linux-gnu.
11106
cb4a2928
JM
111072014-02-11 Joseph Myers <joseph@codesourcery.com>
11108
c941736c
JM
11109 * include/features.h: Update comment documenting feature test
11110 macros.
11111 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11112 _DEFAULT_SOURCE.
11113 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11114 (_SVID_SOURCE): Likewise.
11115 (_DEFAULT_SOURCE): Update description of default features.
11116 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11117 with _GNU_SOURCE.
11118 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11119 (S_ISVTX): Likewise.
11120 * manual/math.texi (Mathematical Constants): Likewise.
11121 * manual/signal.texi (Interrupted Primitives): Likewise.
11122 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11123 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11124 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11125 Don't refer to _SVID_SOURCE in warning text.
11126
e8d8d7ec
JM
11127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11128
cb4a2928
JM
11129 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11130 already defined.
11131 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11132 * sysdeps/mips/dl-lookup.c: Remove.
11133 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11134
7e6424e3
AK
111352014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11136
11137 [BZ #16447]
11138 * math/auto-libm-test-in: Add testcase for expl.
11139 * math/auto-libm-test-out: Regenerate.
11140 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11141 calculation of unsafe.
11142 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11143
75eff3fe
MS
111442014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11145
11146 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11147 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11148 ports/sysdeps/unix/sysv/linux/aarch64.
11149 * README: Update listing for aarch64*-*-linux-gnu.
11150
d35f1e80
WN
111512014-02-11 Will Newton <will.newton@linaro.org>
11152
11153 * manual/probes.texi (Mathematical Function Probes): Use
11154 "triggered" instead of "hit".
11155
7b3436d4
WN
11156 * manual/probes.texi (Internal Probes): Add documentation
11157 of setjmp, longjmp and longjmp_target probes.
11158
b4f12ca3
WN
11159 * include/stap-probe.h: Add comment about probe argument
11160 format.
11161
c13a72b7
WN
11162 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11163 definition. (tr_where, tr_freehook, tr_mallochook,
11164 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11165
195b8165
DM
111662014-02-11 David S. Miller <davem@davemloft.net>
11167
11168 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11169 processing int_tests.
11170
2ad7600b
JM
111712014-02-10 Joseph Myers <joseph@codesourcery.com>
11172
11173 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11174 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11175 * sysdeps/unix/sysv/linux/mips: Move directory from
11176 ports/sysdeps/unix/sysv/linux/mips.
11177 * README: Update listing for mips-*-linux-gnu and
11178 mips64-*-linux-gnu.
11179
73588a72
AS
111802014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11181
11182 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11183 * sysdeps/unix/sysv/linux/m68k: Move directory from
11184 ports/sysdeps/unix/sysv/linux/m68k.
11185 * README: Update listing for m68k-*-linux-gnu.
11186
4372980f
CM
111872014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11188
11189 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11190 * sysdeps/unix/sysv/linux/generic: Move directory from
11191 ports/sysdeps/unix/sysv/linux/generic.
11192 * sysdeps/unix/sysv/linux/tile: Move directory from
11193 ports/sysdeps/unix/sysv/linux/tile.
11194 * README: Update listing for tile*-*-linux-gnu.
11195
a1ffb40e
OB
111962014-02-10 Ondřej Bílka <neleai@seznam.cz>
11197
57f41c40
AS
11198 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11199 __builtin_expect.
a1ffb40e
OB
11200 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11201 * catgets/open_catalog.c (__open_catalog): Likewise.
11202 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11203 * debug/confstr_chk.c: Likewise.
11204 * debug/fread_chk.c (__fread_chk): Likewise.
11205 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11206 * debug/getgroups_chk.c: Likewise.
11207 * debug/mbsnrtowcs_chk.c: Likewise.
11208 * debug/mbsrtowcs_chk.c: Likewise.
11209 * debug/mbstowcs_chk.c: Likewise.
11210 * debug/memcpy_chk.c: Likewise.
11211 * debug/memmove_chk.c: Likewise.
11212 * debug/mempcpy_chk.c: Likewise.
11213 * debug/memset_chk.c: Likewise.
11214 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11215 * debug/strcat_chk.c (__strcat_chk): Likewise.
11216 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11217 * debug/strncat_chk.c (__strncat_chk): Likewise.
11218 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11219 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11220 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11221 * debug/wcpncpy_chk.c: Likewise.
11222 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11223 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11224 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11225 * debug/wcsncpy_chk.c: Likewise.
11226 * debug/wcsnrtombs_chk.c: Likewise.
11227 * debug/wcsrtombs_chk.c: Likewise.
11228 * debug/wcstombs_chk.c: Likewise.
11229 * debug/wmemcpy_chk.c: Likewise.
11230 * debug/wmemmove_chk.c: Likewise.
11231 * debug/wmempcpy_chk.c: Likewise.
11232 * debug/wmemset_chk.c: Likewise.
11233 * dirent/scandirat.c (SCANDIRAT): Likewise.
11234 * dlfcn/dladdr1.c (dladdr1): Likewise.
11235 * dlfcn/dladdr.c (dladdr): Likewise.
11236 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11237 * dlfcn/dlerror.c (__dlerror): Likewise.
11238 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11239 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11240 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11241 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11242 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11243 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11244 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11245 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11246 Likewise.
11247 * elf/dl-conflict.c: Likewise.
11248 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11249 * elf/dl-dst.h: Likewise.
11250 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11251 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11252 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11253 * elf/dl-init.c (call_init, _dl_init): Likewise.
11254 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
11255 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11256 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11257 Likewise.
a1ffb40e
OB
11258 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11259 Likewise.
11260 * elf/dl-minimal.c (__libc_memalign): Likewise.
11261 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11262 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11263 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11264 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
11265 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11266 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
11267 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11268 * elf/dl-writev.h (_dl_writev): Likewise.
11269 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
11270 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11271 (dl_main): Likewise.
a1ffb40e
OB
11272 * elf/setup-vdso.h (setup_vdso): Likewise.
11273 * grp/compat-initgroups.c (compat_call): Likewise.
11274 * grp/fgetgrent.c (fgetgrent): Likewise.
11275 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11276 * grp/putgrent.c (putgrent): Likewise.
11277 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11278 Likewise.
11279 * hurd/hurdinit.c: Likewise.
11280 * iconvdata/8bit-gap.c (struct): Likewise.
11281 * iconvdata/ansi_x3.110.c : Likewise.
11282 * iconvdata/big5.c : Likewise.
11283 * iconvdata/big5hkscs.c : Likewise.
11284 * iconvdata/cp1255.c: Likewise.
11285 * iconvdata/cp1258.c : Likewise.
11286 * iconvdata/cp932.c : Likewise.
11287 * iconvdata/euc-cn.c: Likewise.
11288 * iconvdata/euc-jisx0213.c : Likewise.
11289 * iconvdata/euc-jp.c: Likewise.
11290 * iconvdata/euc-jp-ms.c : Likewise.
11291 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11292 * iconvdata/gb18030.c : Likewise.
11293 * iconvdata/gbbig5.c (const): Likewise.
11294 * iconvdata/gbgbk.c: Likewise.
11295 * iconvdata/gbk.c : Likewise.
11296 * iconvdata/ibm1364.c : Likewise.
11297 * iconvdata/ibm930.c : Likewise.
11298 * iconvdata/ibm932.c: Likewise.
11299 * iconvdata/ibm933.c : Likewise.
11300 * iconvdata/ibm935.c : Likewise.
11301 * iconvdata/ibm937.c : Likewise.
11302 * iconvdata/ibm939.c : Likewise.
11303 * iconvdata/ibm943.c: Likewise.
11304 * iconvdata/iso_11548-1.c: Likewise.
11305 * iconvdata/iso-2022-cn.c : Likewise.
11306 * iconvdata/iso-2022-cn-ext.c : Likewise.
11307 * iconvdata/iso-2022-jp-3.c: Likewise.
11308 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11309 * iconvdata/iso-2022-kr.c : Likewise.
11310 * iconvdata/iso646.c (gconv_end): Likewise.
11311 * iconvdata/iso_6937-2.c : Likewise.
11312 * iconvdata/iso_6937.c : Likewise.
11313 * iconvdata/iso8859-1.c: Likewise.
11314 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11315 * iconvdata/shift_jisx0213.c : Likewise.
11316 * iconvdata/sjis.c : Likewise.
11317 * iconvdata/t.61.c : Likewise.
11318 * iconvdata/tcvn5712-1.c : Likewise.
11319 * iconvdata/tscii.c: Likewise.
11320 * iconvdata/uhc.c : Likewise.
11321 * iconvdata/unicode.c (gconv_end): Likewise.
11322 * iconvdata/utf-16.c (gconv_end): Likewise.
11323 * iconvdata/utf-32.c (gconv_end): Likewise.
11324 * iconvdata/utf-7.c (base64): Likewise.
11325 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11326 * iconv/gconv_close.c (__gconv_close): Likewise.
11327 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
11328 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11329 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11330 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11331 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11332 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
11333 * iconv/iconv.c (iconv): Likewise.
11334 * iconv/iconv_close.c: Likewise.
11335 * iconv/loop.c (SINGLE): Likewise.
11336 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11337 * include/atomic.h: Likewise.
11338 * inet/inet6_option.c (option_alloc): Likewise.
11339 * intl/bindtextdom.c (set_binding_values): Likewise.
11340 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11341 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11342 * intl/localealias.c (read_alias_file): Likewise.
11343 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
11344 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11345 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
11346 * libio/fmemopen.c (fmemopen): Likewise.
11347 * libio/iofgets.c (_IO_fgets): Likewise.
11348 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11349 * libio/iofgetws.c (fgetws): Likewise.
11350 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11351 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
11352 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11353 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
11354 * locale/findlocale.c (_nl_find_locale): Likewise.
11355 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11356 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11357 Likewise.
11358 * locale/setlocale.c (setlocale): Likewise.
11359 * login/programs/pt_chown.c (main): Likewise.
11360 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11361 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
11362 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11363 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
11364 * math/e_exp2l.c: Likewise.
11365 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11366 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11367 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11368 * math/s_catan.c (__catan): Likewise.
11369 * math/s_catanf.c (__catanf): Likewise.
11370 * math/s_catanh.c (__catanh): Likewise.
11371 * math/s_catanhf.c (__catanhf): Likewise.
11372 * math/s_catanhl.c (__catanhl): Likewise.
11373 * math/s_catanl.c (__catanl): Likewise.
11374 * math/s_ccosh.c (__ccosh): Likewise.
11375 * math/s_ccoshf.c (__ccoshf): Likewise.
11376 * math/s_ccoshl.c (__ccoshl): Likewise.
11377 * math/s_cexp.c (__cexp): Likewise.
11378 * math/s_cexpf.c (__cexpf): Likewise.
11379 * math/s_cexpl.c (__cexpl): Likewise.
11380 * math/s_clog10.c (__clog10): Likewise.
11381 * math/s_clog10f.c (__clog10f): Likewise.
11382 * math/s_clog10l.c (__clog10l): Likewise.
11383 * math/s_clog.c (__clog): Likewise.
11384 * math/s_clogf.c (__clogf): Likewise.
11385 * math/s_clogl.c (__clogl): Likewise.
11386 * math/s_csin.c (__csin): Likewise.
11387 * math/s_csinf.c (__csinf): Likewise.
11388 * math/s_csinh.c (__csinh): Likewise.
11389 * math/s_csinhf.c (__csinhf): Likewise.
11390 * math/s_csinhl.c (__csinhl): Likewise.
11391 * math/s_csinl.c (__csinl): Likewise.
11392 * math/s_csqrt.c (__csqrt): Likewise.
11393 * math/s_csqrtf.c (__csqrtf): Likewise.
11394 * math/s_csqrtl.c (__csqrtl): Likewise.
11395 * math/s_ctan.c (__ctan): Likewise.
11396 * math/s_ctanf.c (__ctanf): Likewise.
11397 * math/s_ctanh.c (__ctanh): Likewise.
11398 * math/s_ctanhf.c (__ctanhf): Likewise.
11399 * math/s_ctanhl.c (__ctanhl): Likewise.
11400 * math/s_ctanl.c (__ctanl): Likewise.
11401 * math/w_pow.c: Likewise.
11402 * math/w_powf.c: Likewise.
11403 * math/w_powl.c: Likewise.
11404 * math/w_scalb.c (sysv_scalb): Likewise.
11405 * math/w_scalbf.c (sysv_scalbf): Likewise.
11406 * math/w_scalbl.c (sysv_scalbl): Likewise.
11407 * misc/error.c (error_tail): Likewise.
11408 * misc/pselect.c (__pselect): Likewise.
11409 * nis/nis_callback.c (__nis_create_callback): Likewise.
11410 * nis/nis_call.c (__nisfind_server): Likewise.
11411 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11412 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11413 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11414 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11415 * nis/nis_lookup.c (nis_lookup): Likewise.
11416 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
11417 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11418 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 11419 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
11420 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11421 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11422 * nis/nss_compat/compat-initgroups.c (add_group)
11423 (internal_getgrent_r): Likewise.
11424 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11425 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11426 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11427 (internal_getspnam_r): Likewise.
11428 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11429 (_nss_nis_getaliasbyname_r): Likewise.
11430 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11431 (_nss_nis_getntohost_r): Likewise.
11432 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11433 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11434 (_nss_nis_getgrgid_r): Likewise.
11435 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11436 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11437 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11438 (_nss_nis_gethostbyname4_r): Likewise.
11439 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11440 (initgroups_netid): Likewise.
a1ffb40e 11441 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
11442 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11443 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11444 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11445 (_nss_nis_getprotobynumber_r): Likewise.
11446 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11447 (_nss_nis_getsecretkey): Likewise.
11448 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11449 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11450 (_nss_nis_getpwuid_r): Likewise.
11451 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11452 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11453 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11454 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11455 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11456 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
11457 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11458 Likewise.
57f41c40
AS
11459 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11460 (_nss_nisplus_getntohost_r): Likewise.
11461 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11462 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11463 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11464 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 11465 Likewise.
57f41c40
AS
11466 * nis/nss_nisplus/nisplus-initgroups.c
11467 (_nss_nisplus_initgroups_dyn): Likewise.
11468 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11469 (_nss_nisplus_getnetbyaddr_r): Likewise.
11470 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11471 (_nss_nisplus_getprotobynumber_r): Likewise.
11472 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11473 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
11474 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11475 Likewise.
57f41c40
AS
11476 * nis/nss_nisplus/nisplus-service.c
11477 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11478 (_nss_nisplus_getservbyport_r): Likewise.
11479 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11480 (_nss_nisplus_getspnam_r): Likewise.
11481 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11482 Likewise.
a1ffb40e
OB
11483 * nscd/aicache.c (addhstaiX): Likewise.
11484 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
11485 * nscd/connections.c (register_traced_file, send_ro_fd)
11486 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11487 (main_loop_epoll): Likewise.
a1ffb40e
OB
11488 * nscd/grpcache.c (addgrbyX): Likewise.
11489 * nscd/hstcache.c (addhstbyX): Likewise.
11490 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11491 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
11492 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11493 (addinnetgrX): Likewise.
11494 * nscd/nscd-client.h (__nscd_acquire_maplock)
11495 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
11496 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11497 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11498 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11499 Likewise.
11500 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11501 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
11502 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11503 (__nscd_get_map_ref): Likewise.
a1ffb40e 11504 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
11505 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11506 Likewise.
a1ffb40e
OB
11507 * nscd/pwdcache.c (addpwbyX): Likewise.
11508 * nscd/selinux.c (preserve_capabilities): Likewise.
11509 * nscd/servicescache.c (addservbyX): Likewise.
11510 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11511 * posix/fnmatch.c (fnmatch): Likewise.
11512 * posix/getopt.c (_getopt_internal_r): Likewise.
11513 * posix/glob.c (glob, glob_in_dir): Likewise.
11514 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
11515 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11516 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
11517 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11518 * resolv/res_init.c: Likewise.
11519 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11520 * resolv/res_query.c (__libc_res_nquery): Likewise.
11521 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11522 Likewise.
11523 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11524 * stdio-common/perror.c (perror): Likewise.
11525 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11526 * stdio-common/tmpnam.c (tmpnam): Likewise.
11527 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11528 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
11529 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11530 Likewise.
a1ffb40e
OB
11531 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11532 * stdlib/putenv.c (putenv): Likewise.
11533 * stdlib/setenv.c (__add_to_environ): Likewise.
11534 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11535 * stdlib/strtol_l.c (INTERNAL): Likewise.
11536 * string/memmem.c (memmem): Likewise.
11537 * string/strerror.c (strerror): Likewise.
11538 * string/strnlen.c (__strnlen): Likewise.
11539 * string/test-memmem.c (simple_memmem): Likewise.
11540 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11541 * sunrpc/pm_getport.c (__get_socket): Likewise.
11542 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11543 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
11544 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11545 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
11546 Likewise.
11547 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11548 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11549 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11550 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11551 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
11552 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11553 Likewise.
11554 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11555 Likewise.
a1ffb40e
OB
11556 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11557 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11558 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11559 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11560 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11561 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11562 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11563 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11564 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11565 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11566 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11567 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11568 Likewise.
11569 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11570 Likewise.
11571 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11572 Likewise.
11573 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11574 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11575 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11576 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11577 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11578 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11579 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11580 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11581 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11582 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11583 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11584 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11585 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11586 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11587 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
11588 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11589 Likewise.
a1ffb40e
OB
11590 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11591 Likewise.
11592 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11593 Likewise.
11594 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11595 Likewise.
11596 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11597 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11598 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11599 Likewise.
11600 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11601 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11602 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11603 * sysdeps/posix/sleep.c: Likewise.
11604 * sysdeps/posix/tempname.c: Likewise.
11605 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11606 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11607 Likewise.
57f41c40
AS
11608 * sysdeps/powerpc/powerpc32/dl-machine.h
11609 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
11610 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11611 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11612 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11613 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11614 Likewise.
11615 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11616 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11617 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11618 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11619 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11620 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11621 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11622 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11623 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11624 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11625 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11626 (elf_machine_lazy_rel): Likewise.
a1ffb40e 11627 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11628 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11629 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11630 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11631 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11632 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11633 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11634 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11635 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11636 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11637 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11638 Likewise.
11639 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11640 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11641 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11642 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11643 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11644 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11645 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11646 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11647 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11648 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11649 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11650 Likewise.
11651 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11652 (__posix_fallocate64_l64): Likewise.
11653 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11654 (posix_fallocate): Likewise.
57f41c40
AS
11655 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11656 Likewise.
a1ffb40e 11657 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
11658 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11659 (getifaddrs_internal): Likewise.
a1ffb40e
OB
11660 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11661 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11662 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11663 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11664 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11665 (__posix_fallocate64_l64): Likewise.
11666 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11667 Likewise.
11668 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
11669 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11670 (__get_clockfreq): Likewise.
a1ffb40e
OB
11671 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11672 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11673 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11674 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11675 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11676 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11677 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11678 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11679 Likewise.
11680 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11681 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11682 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11683 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11684 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11685 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11686 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11687 Likewise.
11688 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11689 (posix_fallocate): Likewise.
11690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11691 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11692 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11693 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11694 (elf_machine_rela, elf_machine_rela_relative)
11695 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11696 * time/asctime.c (asctime_internal): Likewise.
11697 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11698 * time/tzset.c (__tzset_parse_tz): Likewise.
11699 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11700 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11701 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11702 * wcsmbs/wcsmbsload.h: Likewise.
11703
f3d338c9
OB
11704 [BZ #15894]
11705 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11706
57f41c40
AS
11707 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11708 (arena_get2): Remove THREAD_STATS conditionals.
11709 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11710 (__malloc_stats, int): Likewise.
bdfe308a 11711
d674667c
MF
117122014-02-08 Mike Frysinger <vapier@gentoo.org>
11713
11714 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11715 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11716
6349768c
MF
11717 * manual/setjmp.texi: Fix typos/grammar errors.
11718
0b7c7473
MF
11719 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11720 Only return early when n is <= 0. Delete unused return statement.
11721
ac8cc9e3
MF
11722 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11723 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11724 * debug/tst-longjmp_chk3.c: New file.
11725
c5bb8e23
MF
11726 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11727 (test_main): Replace code with set_fortify_handler call.
11728 * debug/test-strcpy_chk.c: Likewise.
11729 * debug/tst-chk1.c: Likewise.
11730 * debug/tst-longjmp_chk.c: Likewise.
11731 * test-skeleton.c: Include fcntl.h & paths.h
11732 (set_fortify_handler): Define.
11733
10444e42
MF
11734 * debug/tst-longjmp_chk.c: Add header comment and include
11735 ../test-skeleton.c.
11736 (do_test): Mark static.
11737 (TEST_FUNCTION): Define.
11738
1e805e8d
MF
11739 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11740 (IP_PMTUDISC_INTERFACE): Likewise.
11741 (IP_MULTICAST_IF): Likewise.
11742 (IP_MULTICAST_TTL): Likewise.
11743 (IP_MULTICAST_LOOP): Likewise.
11744 (IP_ADD_MEMBERSHIP): Likewise.
11745 (IP_DROP_MEMBERSHIP): Likewise.
11746 (IP_UNBLOCK_SOURCE): Likewise.
11747 (IP_BLOCK_SOURCE): Likewise.
11748 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11749 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11750 (IP_MSFILTER): Likewise.
11751 (MCAST_JOIN_GROUP): Likewise.
11752 (MCAST_BLOCK_SOURCE): Likewise.
11753 (MCAST_UNBLOCK_SOURCE): Likewise.
11754 (MCAST_LEAVE_GROUP): Likewise.
11755 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11756 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11757 (MCAST_MSFILTER): Likewise.
11758 (IP_MULTICAST_ALL): Likewise.
11759 (IP_UNICAST_IF): Likewise.
11760
73f79bb7
MF
11761 * timezone/Makefile: Delete $(have-ksh) check.
11762 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11763 * timezone/tzselect.ksh: Add +x mode bits.
11764
8da79b60
MF
11765 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11766 (ANON_INODE_FS_MAGIC): Likewise.
11767 (BDEVFS_MAGIC): Likewise.
11768 (BINFMTFS_MAGIC): Likewise.
11769 (BTRFS_TEST_MAGIC): Likewise.
11770 (CRAMFS_MAGIC_WEND): Likewise.
11771 (DEBUGFS_MAGIC): Likewise.
11772 (ECRYPTFS_SUPER_MAGIC): Likewise.
11773 (EXT3_SUPER_MAGIC): Likewise.
11774 (EXT4_SUPER_MAGIC): Likewise.
11775 (FUTEXFS_SUPER_MAGIC): Likewise.
11776 (HOSTFS_SUPER_MAGIC): Likewise.
11777 (HUGETLBFS_MAGIC): Likewise.
11778 (MINIX3_SUPER_MAGIC): Likewise.
11779 (MTD_INODE_FS_MAGIC): Likewise.
11780 (NILFS_SUPER_MAGIC): Likewise.
11781 (OPENPROM_SUPER_MAGIC): Likewise.
11782 (PIPEFS_MAGIC): Likewise.
11783 (PSTOREFS_MAGIC): Likewise.
11784 (QNX6_SUPER_MAGIC): Likewise.
11785 (RAMFS_MAGIC): Likewise.
11786 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11787 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11788 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11789 (SECURITYFS_MAGIC): Likewise.
11790 (SELINUX_MAGIC): Likewise.
11791 (SMACK_MAGIC): Likewise.
11792 (SOCKFS_MAGIC): Likewise.
11793 (SQUASHFS_MAGIC): Likewise.
11794 (STACK_END_MAGIC): Likewise.
11795 (TMPFS_MAGIC): Likewise.
11796 (USBDEVICE_SUPER_MAGIC): Likewise.
11797 (V9FS_MAGIC): Likewise.
11798 (XENFS_SUPER_MAGIC): Likewise.
11799 (CRAMFS_MAGIC): Fix typo in comment.
11800 (EXT2_SUPER_MAGIC): Update comment.
11801 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11802
464263cc
JM
118032014-02-08 Joseph Myers <joseph@codesourcery.com>
11804
c6bfe5c4
JM
11805 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11806 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11807 * sysdeps/unix/sysv/linux/arm: Move directory from
11808 ports/sysdeps/unix/sysv/linux/arm.
11809 * README: Update listing for arm-*-linux-gnueabi.
11810
464263cc
JM
11811 * README: Remove mention of am33.
11812
32749f6c
RM
118132014-02-07 Roland McGrath <roland@hack.frob.com>
11814
11815 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11816 than the comma operator, to avoid "rhs of comma has no effect"
11817 compiler warnings.
11818 (__sigfillset, __sigandset, __sigorset): Likewise.
11819 * include/signal.h (__sigemptyset): Likewise.
11820 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11821
d5b396c1
AM
118222014-02-07 Allan McRae <allan@archlinux.org>
11823
11824 * version.h (RELEASE): Set to "development".
11825 (VERSION): Set to "2.19.90"
11826 * NEWS: Add 2.20 section.
11827
3bfff2ed
CD
118282014-02-06 Carlos O'Donell <carlos@redhat.com>
11829
11830 [BZ #16529]
11831 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11832
ee7cc385
SP
118332014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11834
11835 * manual/contrib.texi: Update entry for Carlos O'Donell,
11836 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11837
f877c4f2
CD
118382014-02-05 Carlos O'Donell <carlos@rehdat.com>
11839
27e839f6
CD
11840 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11841
f877c4f2
CD
11842 * sysdeps/unix/sysv/linux/kernel-features.h
11843 [__LINUX_KERNEL_VERSION >= 0x020621]
11844 (__ASSUME_PROC_PID_TASK_COMM): Define.
11845
68159946
SP
118462014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11847
ba17cdbd
SP
11848 [BZ #16398]
11849 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11850 conversion when destination buffer does not have enough space.
11851 * libio/tst-ftell-partial-wide.c: New test case.
11852 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11853
68159946
SP
11854 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11855 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11856 Leonard and Allan McRae.
11857
2b528732
DM
118582014-02-04 David S. Miller <davem@davemloft.net>
11859
11860 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11861 32-bit.
11862
0ff82463
AZ
118632014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11864
57f41c40
AS
11865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11866 New file
c01603f7
AZ
11867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11868 New file
57f41c40
AS
11869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11870 New file.
11871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11872 New file.
c01603f7
AZ
11873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11874 New file.
57f41c40
AS
11875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11876 New file.
11877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11878 New file.
c01603f7
AZ
11879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11880 New file.
11881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11882 New file.
11883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11884 New file.
11885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11886 New file.
11887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11888 New file.
11889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11890 New file.
11891
118922014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11893
0ff82463
AZ
11894 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11895 * shlib-versions: Likewise.
11896
1695c773
AZ
118972014-02-04 Roland McGrath <roland@hack.frob.com>
11898 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11899
11900 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11901 (abilist-pattern): New variable, set to %-le.abilist.
11902
11903 * Makerules (abilist-pattern): New variable.
11904 (vpath): Use $(abilist-pattern) in place of %.abilist.
11905 (check-abi-% pattern rule): Likewise.
11906 (check-abi, update-abi): Likewise.
11907
6c0ce4b4
EW
119082014-02-04 Eric Wong <normalperson@yhbt.net>
11909
11910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11911
481e3524
CD
119122014-02-03 Carlos O'Donell <carlos@redhat.com>
11913
11914 * manual/startup.texi: Add next, previous, and top entries for
11915 the `Program Arguments' and `Environment Variables' nodes.
11916
375592d3
AO
119172014-02-03 Alexandre Oliva <aoliva@redhat.com>
11918
11919 * manual/macros.texi: Add comments before MTASC-safety macros.
11920
f54838ba
AO
11921 * manual/users.texi: Document MTASC-safety properties.
11922
57f41c40
AS
11923 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11924 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
11925 @deftypefun, and add @safety note.
11926 * manual/signal.texi: Move comments that analyze the above
11927 functions to their home place.
11928
fd3daba4
AM
119292014-02-03 Allan McRae <allan@archlinux.org>
11930
11931 * po/sl.po: Update Slovenian translation from translation project.
11932
597636d7
AO
119332014-02-02 Alexandre Oliva <aoliva@redhat.com>
11934
11935 * manual/time.texi (timegm): Add missing blank after @c.
11936 Reported by Joseph Myers <joseph@codesourcery.com>.
11937
ee196e3c
AO
119382014-02-01 Alexandre Oliva <aoliva@redhat.com>
11939
11940 * manual/check-safety.sh: New.
11941 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11942
f8d529d5
AO
11943 * manual/terminal.texi: Document MTASC-safety properties.
11944
de55fdf4
AO
11945 * manual/filesys.texi: Document MTASC-safety properties.
11946
c3299c08
AO
11947 * manual/errno.texi: Document MTASC-safety properties.
11948
06e90b14
AO
11949 * manual/intro.texi: Document safety identifiers and
11950 conditionals.
11951
1acd4371
AO
11952 * manual/string.texi (wcstok): Fix prototype.
11953 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11954
23e5b8cb
AO
11955 * manual/time.texi: Document MTASC-safety properties.
11956
11087373
AO
11957 * manual/string.texi: Document MTASC-safety properties.
11958
5da2c93d
AO
11959 * manual/threads.texi: Document MTASC-safety properties.
11960
171e9210
AO
11961 * manual/stdio.texi: Document MTASC-safety properties.
11962
d9e02532
AO
11963 * manual/syslog.texi: Document MTASC-safety properties.
11964
6af8bab7
AO
11965 * manual/sysinfo.texi: Document MTASC-safety properties.
11966
663b02d7
AO
11967 * manual/startup.texi: Document MTASC-safety properties.
11968
973f180b
AO
11969 * manual/socket.texi: Document MTASC-safety properties.
11970
8f3c25c8
AO
11971 * manual/signal.texi: Document MTASC-safety properties.
11972
542210fb
AO
119732014-01-31 Alexandre Oliva <aoliva@redhat.com>
11974
11975 * manual/setjmp.texi: Document MTASC-safety properties.
11976
433c45a2
AO
11977 * manual/search.texi: Document MTASC-safety properties.
11978
c8ce789c
AO
11979 * manual/resource.texi: Document MTASC-safety properties.
11980
19f5d29c
AO
11981 * manual/process.texi: Document MTASC-safety properties.
11982
e2dfb7f4
AO
11983 * manual/platform.texi: Document MTASC-safety properties.
11984
8c1413f5
AO
11985 * manual/pipe.texi: Document MTASC-safety properties.
11986
03483ada
AO
11987 * manual/pattern.texi: Document MTASC-safety properties.
11988
29e7e2df
AO
11989 * manual/message.texi: Document MTASC-safety properties.
11990
9f529d7c
AO
11991 [BZ #12751]
11992 * manual/memory.texi: Document MTASC-safety properties.
11993
27aaa791
AO
11994 * manual/math.texi: Document MTASC-safety properties.
11995
f2d58726
AO
11996 * manual/locale.texi: Document MTASC-safety properties.
11997
2cc3615c
AO
11998 * manual/llio.texi: Document MTASC-safety properties.
11999
d9f0ec97
AO
12000 * manual/libdl.texi: New.
12001
e7c4409a
AO
12002 * manual/lang.texi: Document MTASC-safety properties.
12003
27bdc63c
AO
12004 * manual/job.texi: Document MTASC-safety properties.
12005
a7b90ea9
AO
12006 * manual/getopt.texi: Document MTASC-safety properties.
12007
c49130e3
AO
12008 * manual/ctype.texi: Document MTASC-safety properties.
12009
0d23a5c1
MR
120102014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
12011
12012 [BZ #16046]
12013 * csu/libc-tls.c (static_map): Remove variable.
12014 (__libc_setup_tls): Use main executable's link map for TLS data.
12015 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12016 casing for LM_ID_BASE and GL(dl_nns).
12017 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12018 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
12019 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12020 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12021 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12022 member.
12023 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12024 l_phnum members.
12025
0037bb60
AO
120262014-01-30 Alexandre Oliva <aoliva@redhat.com>
12027
12028 * manual/debug.texi: Document MTASC-safety properties.
12029
409e00bd
L
120302014-01-29 H.J. Lu <hongjiu.lu@intel.com>
12031
12032 [BZ #16510]
12033 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12034 of __x86_64__ when disabling x87 inline functions.
12035
86e60666
AO
120362014-01-29 Alexandre Oliva <aoliva@redhat.com>
12037
12038 * manual/charset.texi: Document MTASC-safety properties.
12039
76167637
AO
12040 * manual/crypt.texi: Document MTASC-safety properties.
12041
e567f2a0
AO
12042 * manual/conf.texi: Document MTASC-safety properties.
12043
b719dafd
AO
12044 * manual/arith.texi: Document MTASC-safety properties.
12045
4a16c662
AO
12046 * manual/argp.texi: Document MTASC-safety properties.
12047
0a57b83e
AO
12048 * manual/macros.texi: Introduce macros to document multi
12049 thread, asynchronous signal and asynchronous cancellation
12050 safety properties.
12051 * manual/intro.texi: Introduce the properties themselves.
12052
feab2397
KK
120532014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12054
12055 * sysdeps/sh/sh4/Makefile: New file.
12056
1c0d11bc
AS
120572014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12058
12059 * math/gen-libm-test.pl ($srcdir): New variable.
12060 ($auto_input): Use it.
12061
af37a8a3
SP
120622014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12063
d7b00f98
SP
12064 [BZ #16506]
12065 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12066 access beyond array bounds when parsing netgroups file.
12067
af37a8a3
SP
12068 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12069 the old buffer before realloc.
12070
0c00f062
AM
120712014-01-27 Allan McRae <allan@archlinux.org>
12072
12073 * po/fr.po: Update French translation from translation project.
12074
7d69a1b0
KK
120752014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12076
12077 * sysdeps/sh/libm-test-ulps: Regenerate.
12078
6e697ff7
DM
120792014-01-24 David S. Miller <davem@davemloft.net>
12080
12081 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12082
9cadb35c
KK
120832014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12084
12085 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12086 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12087
5d41dadf
SP
120882013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12089
12090 [BZ #16474]
12091 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12092 string pointers after reallocation.
12093
0bad441c
KK
120942014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12095
12096 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12097 __SH4A__ instead of __SH_FPU_ANY__.
12098
7007c661
KK
120992014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12100
12101 * sysdeps/sh/fpu_control.h: New file.
12102 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12103 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12104 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12105 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12106 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12107 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12108 * sysdeps/sh/sys/ucontext.h: Remove.
12109 * sysdeps/sh/sys: Remove directory.
12110
0f0c35e4
AK
121112014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12112
12113 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12114 s390/sys/ucontext.h.
12115 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12116 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12117
4959e284
L
121182014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12119
12120 [BZ #15605]
12121 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12122
d98720e0
AZ
121232014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12124
12125 [BZ#16431]
12126 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12127 Adjust the vDSO correctly for internal calls.
12128 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12129
91cbd0bc
AM
121302014-01-20 Allan McRae <allan@archlinux.org>
12131
12132 * po/ca.po: Update Catalan translation from translation project.
12133
7a02cfad
MF
121342014-01-16 Mike Frysinger <vapier@gentoo.org>
12135
12136 * sysdeps/s390/sotruss-lib.c: New file.
12137
736c304a
AZ
121382014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12139
12140 [BZ#16430]
6e077ee5 12141 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
12142 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12143 local calls issues by not having a PLT stub required for IFUNC calls.
12144 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12145
94d0cea0
JM
121462014-01-16 Joseph Myers <joseph@codesourcery.com>
12147
12148 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12149 * math/test-fpucw-static.c: Likewise.
12150
980cb518
SP
121512013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12152
12153 [BZ #16453]
12154 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12155
2393fc01
AZ
121562014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12157
12158 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12159 implementation for powerpc.
12160
d359bcc2
OB
121612014-01-15 Ondřej Bílka <neleai@seznam.cz>
12162
12163 [BZ #14782]
12164 * sysdeps/posix/system.c (__libc_system): Do not enable
12165 asynchronous cancellation.
12166
7beb48cb
AK
121672014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12168
12169 [BZ #16427]
12170 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12171 handling only for numbers special also in the IEEE case.
12172
c20d5bf5
AK
121732014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12174
12175 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12176
e83bd4ee
AM
121772014-01-11 Allan McRae <allan@archlinux.org>
12178
76d0ea69
AM
12179 * po/bg.po: Update Bulgarian translation from translation project.
12180
e83bd4ee
AM
12181 * po/de.po: Update German translation from translation project.
12182
bc2ba20a
RM
121832014-01-10 Roland McGrath <roland@hack.frob.com>
12184
12185 * sysdeps/generic/gcc-compat.h: New file.
12186
649ecea2
SP
121872014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12188
12189 * benchtests/asin-inputs: Correct slow inputs.
12190 * benchtests/acos-inputs: Likewise.
12191
1b19c006
AM
121922014-01-10 Allan McRae <allan@archlinux.org>
12193
a46dab08
AM
12194 * po:sv.po: Update Swedish translation from translation project.
12195
421df74a
AM
12196 * po/vi.po: Update Vietnamese translation from translation project.
12197
d61c51a7
AM
12198 * po/eo.po: Update Esperanto translation from translation project.
12199
0339a319
AM
12200 * po/cs.po: Update Czech translation from translation project.
12201
94ad3e99
AM
12202 * po/nl.po: Update Dutch translation from translation project.
12203
e349ca71
AM
12204 * po/pl.po: Update Polish translation from translation project.
12205
ddf930c1
AM
12206 * po/ru.po: Update Russian translation from translation project.
12207
1b19c006
AM
12208 * po/uk.po: Update Ukrainian translation from translation project.
12209
9f236c49
BM
122102014-01-08 Brooks Moses <bmoses@google.com>
12211
12212 * elf/dl-load.c: Fix comment typo.
12213
cd6701cf
CD
122142014-01-08 Carlos O'Donell <carlos@redhat.com>
12215
12216 * po/header.pot: Rename to...
12217 * po/pot.header: ... this.
12218 * po/Makefile: Use pot.header.
12219
66671c84
YK
122202014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12221 Maxim Kuvyrkov <maxim@kugelworks.com>
12222
12223 [BZ #16394]
cd6701cf
CD
12224 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12225 SRC and DEST against LEN.
66671c84 12226
38f34581
AZ
122272014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12228
12229 [BZ #16414]
12230 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12231 implementation.
12232 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12233
122342014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
12235
12236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12237
4c327f2a
JM
122382014-01-08 Joseph Myers <joseph@codesourcery.com>
12239
12240 [BZ #16408]
12241 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12242 for large positive arguments.
12243
b821f414
JM
122442014-01-07 Joseph Myers <joseph@codesourcery.com>
12245
1f0f2067
JM
12246 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12247
a5a326f6
JM
12248 * math/auto-libm-test-in: Mark various tests with
12249 xfail-rounding:ldbl-128ibm.
12250 * math/auto-libm-test-out: Regenerated.
12251
b821f414
JM
12252 [BZ #16407]
12253 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12254 Increase overflow threshold.
12255
94c8a4bc
OB
122562014-01-07 Ondřej Bílka <neleai@seznam.cz>
12257
12258 [BZ #14286]
12259 * stdio-common/vfprintf.c: Check for integer overflow.
12260
87ded0c3
AK
122612014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12262
12263 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12264 the first argument and return value of __tls_get_addr_internal.
12265
c5eebdd0
AK
122662014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12267
12268 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12269 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12270
05d138ef
AK
122712014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12272
12273 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12274 * sysdeps/s390/rtld-global-offsets.sym: New file.
12275 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12276 GLIBC_2.19 symbol.
12277 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12278 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12279 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12280 ... this.
12281 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12282 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12283 ... this.
12284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12285 Regenerate.
12286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12287 Regenerate.
12288 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12289 halfs of GPRs for high_gprs contexts.
12290 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12291 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12292 field.
12293 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12294 uc_flags field.
12295 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12296 64 bit versions:
12297 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12298 for high GPRs (uc_high_gprs) and for future extensions
12299 (__reserved).
12300 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12301 for future extensions (__reserved).
12302 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12303 64 bit versions:
12304 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12305 SC_HIGHGPRS offset definition.
12306 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12307 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12308
93a45ff1
AK
12309 * Versions.def: Add GLIBC_2.19 for libpthread.
12310 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12311 siglongjmp for libpthread with GLIBC_2.19 symver.
12312 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12313 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12314 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12315 * sysdeps/s390/__longjmp.c: New file.
12316 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12317 * sysdeps/s390/longjmp.c: New file.
12318 * sysdeps/s390/setjmp.S: New file.
12319 * sysdeps/s390/sigjmp.S: New file.
12320 * sysdeps/s390/v1-longjmp.c: New file.
12321 * sysdeps/s390/v1-setjmp.h: New file.
12322 * sysdeps/s390/v1-sigjmp.c: New file.
12323 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12324 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12325 GLIBC_2.19 version.
12326 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12327 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12328 versioned symbols for ____longjmp_chk.
12329 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12330 Likewise.
12331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12332 Regenerate.
12333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12334 Regenerate.
12335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12336 Regenerate.
12337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12338 Regenerate.
12339 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12340 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12341 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12342 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12343 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12344 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12345 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12346 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12347 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12348 * sysdeps/s390/rtld-__longjmp.c: New file.
12349 * sysdeps/s390/rtld-setjmp.S: New file.
12350
eb3fc44b
JM
123512014-01-06 Joseph Myers <joseph@codesourcery.com>
12352
12353 [BZ #16400]
12354 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12355 Return -__logl (x) for small positive arguments without evaluating
12356 a polynomial.
12357
9341dde4
MF
123582014-01-06 Mike Frysinger <vapier@gentoo.org>
12359
12360 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12361 Rename to ...
12362 (__ptrace_peeksiginfo_args): ... this.
12363 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12364 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12365 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12366
4cff0293
AM
123672014-01-06 Allan McRae <allan@archlinux.org>
12368
12369 * inet/netinet/in.h: Fix typo in comment.
12370
75595dcf
AJ
123712014-01-05 Andreas Jaeger <aj@suse.de>
12372
12373 * sysdeps/i386/fpu/libm-test-ulps: Update.
12374
79c1e109
AM
123752014-01-05 Allan McRae <allan@archlinux.org>
12376
dd804818
AM
12377 * po/libc.pot: Regenerated.
12378
79c1e109
AM
12379 * malloc/memusagestat.c: Fix gettext call formatting.
12380
0c813d1f
SK
123812014-01-04 Sami Kerola <kerolasa@iki.fi>
12382
12383 * nscd/nscd.c: Improve usage() output.
12384
20f4a8d9
MF
123852014-01-04 Mike Frysinger <vapier@gentoo.org>
12386
12387 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12388 * sysdeps/unix/sysv/linux/configure: Regenerated.
12389 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12390 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12391
22562bb2
JM
123922014-01-03 Joseph Myers <joseph@codesourcery.com>
12393
12394 [BZ #16390]
12395 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12396 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12397
d7ad2d9b
AZ
123982014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12399
12400 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12401 extra tokens at end of #undef directive.
12402 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12403 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12404 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12405
7dd009d8
JM
124062014-01-03 Joseph Myers <joseph@codesourcery.com>
12407
24db925a
JM
12408 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12409
7dd009d8
JM
12410 * math/auto-libm-test-in: Mark various tests with
12411 xfail-rounding:ldbl-128ibm.
12412 * math/auto-libm-test-out: Regenerated.
12413
396e3ecf
JM
124142014-01-02 Joseph Myers <joseph@codesourcery.com>
12415
819e5d50
JM
12416 [BZ #16386]
12417 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12418 numbers with subnormal high part when calculating exponent.
12419
90b6a1e5
JM
12420 [BZ #16385]
12421 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12422 fabs.
12423
396e3ecf
JM
12424 [BZ #16384]
12425 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12426 M_LN2l.
12427 (__ieee754_acoshl): Use __log1pl not __log1p.
12428
6c8dbf00
OB
124292013-01-02 Ondřej Bílka <neleai@seznam.cz>
12430
57f41c40
AS
12431 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12432 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12433 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12434 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12435 (reused_arena, arena_get2): Convert to GNU style.
12436 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12437 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12438 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 12439 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
12440 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12441 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12442 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12443 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12444 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12445 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 12446 * malloc/malloc.h: Likewise.
57f41c40
AS
12447 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12448 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 12449 * malloc/mcheck.h: Likewise.
57f41c40
AS
12450 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12451 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
12452 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12453 * malloc/morecore.c (__default_morecore): Likewise.
12454 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
12455 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12456 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12457 (print_and_abort): Likewise.
6c8dbf00
OB
12458 * malloc/obstack.h: Likewise.
12459 * malloc/set-freeres.c (__libc_freeres): Likewise.
12460 * malloc/tst-mallocstate.c (main): Likewise.
12461 * malloc/tst-mtrace.c (main): Likewise.
12462 * malloc/tst-realloc.c (do_test): Likewise.
12463
d4124212
SP
124642013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12465
9a3c6a6f
SP
12466 [BZ #16366]
12467 * nscd/netgroupcache.c (do_notfound): New function.
12468 (addgetnetgrentX): Use it.
12469
d4124212
SP
12470 [BZ # 16365]
12471 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12472 NSS_STATUS_NOTFOUND.
12473
97b9a009
JM
124742014-01-01 Joseph Myers <joseph@codesourcery.com>
12475
12476 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12478
d4697bc9
AM
124792014-01-01 Allan McRae <allan@archlinux.org>
12480
ddb3687f
AM
12481 * scripts/update-copyrights: Update configure input file suffix.
12482
88726d48
AM
12483 * NEWS: Update copyright year.
12484 * catgets/gencat.c: Likewise.
12485 * csu/version.c: Likewise.
12486 * debug/catchsegv.sh: Likewise.
12487 * debug/pcprofiledump.c: Likewise.
12488 * debug/xtrace.sh: Likewise.
12489 * elf/ldconfig.c: Likewise.
12490 * elf/ldd.bash.in: Likewise.
12491 * elf/pldd.c: Likewise.
12492 * elf/sotruss.ksh: Likewise.
12493 * elf/sprof.c: Likewise.
12494 * iconv/iconv_prog.c: Likewise.
12495 * iconv/iconvconfig.c: Likewise.
12496 * locale/programs/locale.c: Likewise.
12497 * locale/programs/localedef.c: Likewise.
12498 * login/programs/pt_chown.c: Likewise.
12499 * malloc/memusage.sh: Likewise.
12500 * malloc/memusagestat.c: Likewise.
12501 * malloc/mtrace.pl: Likewise.
12502 * manual/libc.texinfo: Likewise.
12503 * nscd/nscd.c: Likewise.
12504 * nss/getent.c: Likewise.
12505 * nss/makedb.c: Likewise.
12506 * posix/getconf.c: Likewise.
12507 * scripts/test-installation.pl: Likewise.
12508
d4697bc9
AM
12509 * All files with FSF copyright notices: Update copyright dates
12510 using scripts/update-copyrights.
12511 * intl/plural.c: Regenerated.
12512 * locale/programs/charmap-kw.h: Likewise.
12513 * locale/programs/locfile-kw.h: Likewise.
12514
c8590f9d
MF
125152013-12-31 Mike Frysinger <vapier@gentoo.org>
12516
12517 * sysdeps/unix/sysv/linux/configure: Regenerated.
12518 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12519 the linux/fanotify.h header.
12520 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12521 HAVE_LINUX_FANOTIFY_H is defined.
12522
b19221b9
SP
125232013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12524
dd1d85e5
SP
12525 * benchtests/cos-inputs: New inputs.
12526 * benchtests/sin-inputs: Likewise.
12527
1acbb90f
SP
12528 * benchtests/atan-inputs: New inputs. Fix name of multiple
12529 precision fallback inputs.
12530
4c012ed3
SP
12531 * benchtests/atanh-inputs: New inputs.
12532 * benchtests/tanh-inputs: Likewise.
12533
eff98324
SP
12534 * benchtests/acosh-inputs: New inputs.
12535 * benchtests/asinh-inputs: Likewise.
12536
ce641152
SP
12537 * benchtests/cosh-inputs: New inputs.
12538 * benchtests/sinh-inputs: Likewise.
12539
b19221b9
SP
12540 * benchtests/acos-inputs: Add more inputs.
12541 * benchtests/asin-inputs: Likewise.
12542
030a4976 125432013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 12544
030a4976 12545 [BZ #16375]
9dcc8f11
VS
12546 * manual/arith.texi: Fix spelling.
12547 * manual/charset.texi: Likewise.
12548 * manual/errno.texi: Likewise.
12549 * manual/filesys.texi: Likewise.
12550 * manual/lang.texi: Likewise.
12551 * manual/llio.texi: Likewise.
12552 * manual/locale.texi: Likewise.
12553 * manual/message.texi: Likewise.
12554 * manual/resource.texi: Likewise.
12555 * manual/search.texi: Likewise.
12556 * manual/setjmp.texi: Likewise.
12557 * manual/stdio.texi: Likewise.
12558 * manual/string.texi: Likewise.
12559 * manual/sysinfo.texi: Likewise.
12560 * manual/time.texi: Likewise.
12561
11520a57
CD
125622013-12-27 Carlos O'Donell <carlos@redhat.com>
12563
12564 * po/sl.po: New file.
12565
471103ae
MF
125662013-12-27 Mike Frysinger <vapier@gentoo.org>
12567
12568 * .gitignore: Add core/.gdbinit/.gdb_history.
12569
6c9642ed
AM
125702013-12-27 Allan McRae <allan@archlinux.org>
12571
12572 [BZ #16369]
12573 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12574 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12575
3f637079
BM
125762013-12-24 Brooks Moses <bmoses@google.com>
12577
12578 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12579 all compilers that claim C++98 compliance, not just GCC.
12580 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12581 Likewise.
12582
abc26e99
MK
125832013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12584
12585 * NEWS: Restore accidentally deleted bug-fix entries.
12586
362b47fe
MK
125872013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12588 Ondřej Bílka <neleai@seznam.cz>
12589
12590 [BZ #15073]
12591 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 12592 have_lock.
362b47fe 12593
b9bcbbcb
OB
125942013-12-23 Ondřej Bílka <neleai@seznam.cz>
12595
12596 [BZ #12986]
12597 * manual/stdio.texi (String Input Conversions): Clarify that character
12598 classes are not supported.
12599
fb55fcd2
AZ
126002013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12601
12602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12603
ef7344f0
JM
126042013-12-22 Joseph Myers <joseph@codesourcery.com>
12605
4f40e4b3
JM
12606 [BZ #16337]
12607 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12608 Calculate results for small negative arguments directly rather
12609 than using reflection formula with special underflow handling.
12610
ef7344f0
JM
12611 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12612 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12613 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12614 (fchflags): Likewise.
12615 (revoke): Likewise.
12616 (setlogin): Likewise.
12617 (sigaltstack): Likewise.
12618 (wait4): Likewise.
12619 (sigblock): Remove.
12620 (sigsetmask): Likewise.
12621 (wait3): Likewise.
12622 (waitpid): Likewise.
12623 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12624 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12625 file.
12626 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12627 * sysdeps/unix/bsd/Makefile: ... here.
12628 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12629 * sysdeps/unix/bsd/Versions: ... here.
12630 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12631 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12632 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12633 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12634 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12635 * sysdeps/unix/bsd/sigblock.c: ... here.
12636 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12637 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12638 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12639 * sysdeps/unix/bsd/sigvec.c: ... here.
12640 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12641 * sysdeps/unix/bsd/tcdrain.c: ... here.
12642 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12643 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12644 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12645 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12646 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12647 * sysdeps/unix/bsd/wait.c: ... here.
12648 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12649 * sysdeps/unix/bsd/wait3.c: ... here.
12650 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12651 * sysdeps/unix/bsd/waitpid.c: ... here.
12652
5b0626b9
JM
126532013-12-21 Joseph Myers <joseph@codesourcery.com>
12654
12655 [BZ #16356]
12656 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12657 round-to-nearest for [!USE_AS_EXPM1L].
12658 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12659 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12660 more tests of exp and exp10. Expect some exp10 tests to miss
12661 exceptions or fail in directed rounding modes.
12662 * math/auto-libm-test-out: Regenerated.
12663 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12664 (exp10_test_tonearest): New function.
12665 (exp10_towardzero_test_data): New array.
12666 (exp10_test_towardzero): New function.
12667 (exp10_downward_test_data): New array.
12668 (exp10_test_downward): New function.
12669 (exp10_upward_test_data): New array.
12670 (exp10_test_upward): New function.
12671 (main): Call the new functions.
12672 * sysdeps/i386/fpu/libm-test-ulps: Update.
12673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12674
7fda5682
JM
126752013-12-20 Joseph Myers <joseph@codesourcery.com>
12676
31e3a405
JM
12677 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12678 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12679 * math/auto-libm-test-out: Regenerated.
12680 * math/libm-test.inc (acosh_test_data): Add more tests.
12681 (atanh_test_data): Likewise.
12682 (ceil_test_data): Likewise.
12683 (copysign_test_data): Likewise.
12684 * sysdeps/i386/fpu/libm-test-ulps: Update.
12685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12686
85bff96a
JM
12687 * timezone/checktab.awk: Update from tzcode 2013i.
12688 * timezone/private.h: Likewise.
12689 * timezone/scheck.c: Likewise.
12690 * timezone/tzfile.h: Likewise.
12691 * timezone/tzselect.ksh: Likewise.
12692 * timezone/zdump.c: Likewise.
12693 * timezone/zic.c: Likewise.
12694
b7867a3b
JM
12695 * math/auto-libm-test-in: Add tests of cpow.
12696 * math/auto-libm-test-out: Regenerated.
12697 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 12698 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
12699 mpc_cc_c.
12700 (func_calc_desc): Add mpc_cc_c union field.
12701 (test_functions): Add cpow.
12702 (special_fill_2pi): New function.
12703 (special_real_inputs): Add 2pi.
12704 (calc_generic_results): Handle mpc_cc_c.
12705 * sysdeps/i386/fpu/libm-test-ulps: Update.
12706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12707
7fda5682
JM
12708 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12709 csqrt, ctan and ctanh.
12710 * math/auto-libm-test-out: Regenerated.
12711 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12712 (TEST_COND_x86): Likewise.
12713 (ccos_test_data): Use AUTO_TESTS_c_c.
12714 (ccosh_test_data): Likewise.
12715 (cexp_test_data): Likewise.
12716 (clog_test_data): Likewise.
12717 (csqrt_test_data): Likewise.
12718 (ctan_test_data): Likewise.
12719 (ctan_tonearest_test_data): Likewise.
12720 (ctan_towardzero_test_data): Likewise.
12721 (ctan_downward_test_data): Likewise.
12722 (ctan_upward_test_data): Likewise.
12723 (ctanh_test_data): Likewise.
12724 (ctanh_tonearest_test_data): Likewise.
12725 (ctanh_towardzero_test_data): Likewise.
12726 (ctanh_downward_test_data): Likewise.
12727 (ctanh_upward_test_data): Likewise.
12728 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12729 mpc_c_c.
12730 (func_calc_desc): Add mpc_c_c union field.
12731 (FUNC_mpc_c_c): New macro.
12732 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12733 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12734 ctanh.
12735 (special_fill_min_subnorm_p120): New function.
12736 (special_real_inputs): Add min_subnorm_p120.
12737 (calc_generic_results): Handle mpc_c_c.
12738 * sysdeps/i386/fpu/libm-test-ulps: Update.
12739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12740
5ff8d60e
SP
127412013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12742
57f41c40
AS
12743 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12744 (do_sin_slow): New functions.
12745 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12746 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 12747
84ba214c
SP
12748 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12749 Use M to change sign of result instead of X. Assume X is
12750 positive.
12751 (csloww1): Likewise.
12752 (__sin): Adjust.
12753 (__cos): Adjust.
12754
975195e4
SP
12755 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12756 arguments A and DA.
12757 (__sin): Adjust.
12758 (__cos): Likewise.
12759
5ff8d60e
SP
12760 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12761 (__cos): Likewise.
12762 (sloww1): Don't adjust sign of DX.
12763 (csloww1): Likewise.
12764 (sloww2): Use X directly and don't adjust sign of DX.
12765 (csloww2): Likewise.
12766
eb983568
JM
127672013-12-19 Joseph Myers <joseph@codesourcery.com>
12768
64a17f1a
JM
12769 * math/auto-libm-test-in: Add tests of cabs and carg.
12770 * math/auto-libm-test-out: Regenerated.
12771 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12772 (carg_test_data): Likewise.
12773 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12774 mpc_c_f.
12775 (func_calc_desc): Add mpc_c_f union field.
12776 (test_functions): Add cabs and carg.
12777 (calc_generic_results): Handle mpc_c_f.
12778
eb983568
JM
12779 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12780 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12781 as a macro and a compat symbol.
12782 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12783 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12784 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12785 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12786 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12787 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12788 not use .hidden.
12789 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12790 Likewise.
12791 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12792 Likewise.
12793 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12794 Likewise.
12795 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12796 Likewise.
12797 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12798 Likewise.
12799 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12800 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12801 from GLIBC_2.3.2.
12802
6eeb678a
AZ
128032013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12804
12805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12806
6f6fc482
JM
128072013-12-19 Joseph Myers <joseph@codesourcery.com>
12808
21fea2e2
JM
12809 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12810 trailing whitespace removed.
12811 * scripts/config.guess: Update to version 2013-11-29.
12812 * scripts/config.sub: Update to version 2013-10-01.
12813
6f6fc482
JM
12814 * math/auto-libm-test-in: Add tests of sincos.
12815 * math/auto-libm-test-out: Regenerated.
12816 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12817 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12818 mpfr_f_11.
12819 (func_calc_desc): Add mpfr_f_11 union field.
12820 (test_functions): Add sincos.
12821 (calc_generic_results): Handle mpfr_f_11.
12822 * sysdeps/i386/fpu/libm-test-ulps: Update.
12823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12824
83f5c32d
AS
128252013-12-19 Andreas Schwab <schwab@suse.de>
12826
12827 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12828 CALL_MCOUNT.
12829 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12830 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12831 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12832
c688b419
JM
128332013-12-19 Joseph Myers <joseph@codesourcery.com>
12834
335ee092
JM
12835 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12836 * sysdeps/i386/fpu/libm-test-ulps: Update.
12837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12838
f88acd39
JM
12839 [BZ #16293]
12840 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12841 round-to-nearest mode when using frndint.
12842 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12843 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12844 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12845 Likewise.
12846 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12847 sinh test to fail.
12848 * math/auto-libm-test-out: Regenerated.
12849 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12850 (TEST_COND_x86): Likewise.
12851 (expm1_tonearest_test_data): New array.
12852 (expm1_test_tonearest): New function.
12853 (expm1_towardzero_test_data): New array.
12854 (expm1_test_towardzero): New function.
12855 (expm1_downward_test_data): New array.
12856 (expm1_test_downward): New function.
12857 (expm1_upward_test_data): New array.
12858 (expm1_test_upward): New function.
12859 (main): Run the new test functions.
12860 * sysdeps/i386/fpu/libm-test-ulps: Update.
12861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12862
c688b419
JM
12863 * include/features.h: Update comment documenting feature test
12864 macros. Mention _DEFAULT_SOURCE in comment.
12865 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12866 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12867 _BSD_SOURCE and _SVID_SOURCE.
12868 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12869 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12870 !_SVID_SOURCE]: Likewise.
12871 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12872 (__USE_POSIX_IMPLICITLY): Define.
12873 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12874 (_POSIX_SOURCE): Undefine and redefine.
12875 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12876 (_POSIX_C_SOURCE): Likewise.
12877 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12878 (Feature Test Macros): Update documentation of default features.
12879
9f6e964c
RS
128802013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12881
12882 * benchtests/Makefile: Add bench-strtok.
12883 * benchtests/bench-strtok.c: New file: strtok benchtest.
12884
ee0a148a
AM
128852013-12-19 Allan McRae <allan@archlinux.org>
12886
12887 * manual/install.texi: Suppress menu for plain text output.
12888 * INSTALL: Regenerated.
12889
b9ab448f
BM
128902013-12-18 Brooks Moses <bmoses@google.com>
12891
12892 [BZ #15846]
12893 * misc/getauxval.c: Include errno.h.
12894 (__getauxval): Set errno to ENOENT if the requested type is not
12895 found.
12896 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12897 don't declare with __attribute_const__.
12898 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12899 * manual/startup.texi: Document that getauxval sets errno.
12900
23776487
JM
129012013-12-18 Joseph Myers <joseph@codesourcery.com>
12902
f889953b
JM
12903 * math/auto-libm-test-in: Add tests of jn and yn.
12904 * math/auto-libm-test-out: Regenerated.
12905 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12906 (yn_test_data): Likewise.
12907 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12908 mpfr_if_f.
12909 (func_calc_desc): Add mpfr_if_f union field.
12910 (FUNC_mpfr_if_f): New macro.
12911 (test_functions): Add jn and yn.
12912 (calc_generic_results): Assert type of second input for
12913 mpfr_ff_f. Handle mpfr_if_f.
12914 (output_for_one_input_case): Disable all checking for arguments
12915 fitting floating-point types in case of an integer argument.
12916 * sysdeps/i386/fpu/libm-test-ulps: Update.
12917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12918
23776487
JM
12919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12920 Don't expect fegetround reference in libm.so.
12921
cb756c6d
MS
129222013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12923
12924 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12925 $(config-cflags-nofma).
12926
2dec468f
JM
129272013-12-18 Joseph Myers <joseph@codesourcery.com>
12928
5953eb3a
JM
12929 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12930 * math/auto-libm-test-out: Regenerated.
12931
2dec468f
JM
12932 [BZ #16338]
12933 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12934 to determine exponent and adjust argument to have exponent of -1.
12935 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12936 log2.
12937 * math/auto-libm-test-out: Regenerated.
12938 * sysdeps/i386/fpu/libm-test-ulps: Update.
12939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12940
4d84e6ad
OB
129412013-12-18 Ondřej Bílka <neleai@seznam.cz>
12942
12943 * manual/probes.texi: Remove cases when per-thread arenas are
12944 disabled.
12945
1818483b
AS
129462013-12-18 Andreas Schwab <schwab@suse.de>
12947
12948 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12949 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12950 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12951 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12952 * sysdeps/i386/i686/multiarch/Makefile: Update.
12953 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12954
25de95bf
JM
129552013-12-17 Joseph Myers <joseph@codesourcery.com>
12956
12957 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12958 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12959
674762d9
PE
129602013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12961
ed27ed83 12962 [BZ #15968]
0748546f
PE
12963 Support TZ transition times < 00:00:00.
12964 This is needed for version-3 tz-format files; it supports time
12965 stamps past 2037 for America/Godthab (the only entry in the tz
12966 database for which this change is relevant).
12967 * manual/time.texi (TZ Variable): Document transition times
12968 from -167:59:59 through -00:00:01.
12969 * time/tzset.c (tz_rule): Time of day is now signed.
12970 (__tzset_parse_tz): Parse negative time of day.
12971
4480e934
PE
12972 Document TZ transition times >= 25:00:00.
12973 * manual/time.texi (TZ Variable): Document transition times from
12974 25:00:00 through 167:59:59. These are already supported, and this
12975 support will help with version-3 tz-format files.
12976
69947401
PE
12977 * manual/time.texi (TZ Variable): Modernize North America example
12978 to reflect current (i.e., 2007-and-later) daylight saving rules.
12979
674762d9
PE
12980 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12981
7011c262
JM
129822013-12-17 Joseph Myers <joseph@codesourcery.com>
12983
2fc6557e
JM
12984 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12985 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12987 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12988 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12989 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12990 * sysdeps/unix/bsd/clock.c: Likewise.
12991 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12992 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12993 * sysdeps/unix/bsd/init-posix.c: Likewise.
12994 * sysdeps/unix/bsd/poll.c: Likewise.
12995 * sysdeps/unix/bsd/ptsname.c: Likewise.
12996 * sysdeps/unix/bsd/seekdir.c: Likewise.
12997 * sysdeps/unix/bsd/setegid.c: Likewise.
12998 * sysdeps/unix/bsd/seteuid.c: Likewise.
12999 * sysdeps/unix/bsd/setgid.c: Likewise.
13000 * sysdeps/unix/bsd/setrgid.c: Likewise.
13001 * sysdeps/unix/bsd/setruid.c: Likewise.
13002 * sysdeps/unix/bsd/setsid.c: Likewise.
13003 * sysdeps/unix/bsd/setuid.c: Likewise.
13004 * sysdeps/unix/bsd/sigaction.c: Likewise.
13005 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13006 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13007 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13008 * sysdeps/unix/bsd/telldir.c: Likewise.
13009 * sysdeps/unix/bsd/times.c: Likewise.
13010 * sysdeps/unix/bsd/usleep.c: Likewise.
13011
029c7b25
JM
13012 * misc/Makefile (install-lib): Remove libbsd-compat.a.
13013 ($(objpfx)libbsd-compat.a): Remove rule.
13014
7011c262
JM
13015 * include/features.h (__FAVOR_BSD): Do not define.
13016 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13017 features conflicting with POSIX.
13018 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13019 (_BSD_SOURCE): Remove description of not being a subset of other
13020 feature test macros.
13021 * manual/job.texi (getpgrp): Do not document BSD version.
13022 (getpgid): Do not document by reference to BSD getpgrp.
13023 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13024 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13025 * signal/signal.h [__FAVOR_BSD]: Likewise.
13026 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13027 instead of making contents conditional on [__FAVOR_BSD].
13028 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13029
affb6f78
AZ
130302013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13031
13032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13033
c88769dd
JM
130342013-12-17 Joseph Myers <joseph@codesourcery.com>
13035
6432a540
JM
13036 [BZ #16314]
13037 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13038 values below 2**-450, not 2**-500.
13039 * math/auto-libm-test-in: Don't allow spurious underflow from
13040 hypot.
13041 * math/auto-libm-test-out: Regenerated.
13042
c88769dd
JM
13043 [BZ #16316]
13044 [BZ #16330]
13045 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13046 values of ha and hb and sort them after adjusting subnormal
13047 arguments.
13048 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13049 Likewise.
13050 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13051 values of ea and eb and sort them after adjusting subnormal
13052 arguments.
13053 * math/auto-libm-test-in: Do not expect some hypot tests of
13054 subnormals to fail. Add more hypot tests.
13055 * math/auto-libm-test-out: Regenerated.
13056
29618f6b
KK
130572013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13058
13059 [BZ #13304]
13060 * sysdeps/sh/s_fma.c: New file.
13061 * sysdeps/sh/s_fmaf.c: New file.
13062 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13063 version.
13064 * sysdeps/sh/Implies: Add sh/soft-fp.
13065
eacfdfbf
RM
130662013-12-16 Roland McGrath <roland@hack.frob.com>
13067
13068 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13069 level of indirection to members `objname', `errstring', `malloced'.
13070 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13071 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13072 it as the __longjmp argument (just pass 1 instead).
13073 (_dl_catch_error): Initialize C with argument pointers and address of
13074 volatile local ERRCODE rather than copying values out of C at return.
13075
ff362e5b
JM
130762013-12-16 Joseph Myers <joseph@codesourcery.com>
13077
13078 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13079 * math/auto-libm-test-out: Regenerated.
13080 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13081 (hypot_test_data): Likewise.
13082 (pow_test_data): Likewise.
13083 (pow_tonearest_test_data): Likewise.
13084 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13085 mpfr_ff_f.
13086 (func_calc_desc): Add mpfr_ff_f union field.
13087 (FUNC_mpfr_ff_f): New macro.
13088 (test_functions): Add atan2, hypot and pow.
13089 (special_fill_min): New function.
13090 (special_fill_minus_min): Likewise.
13091 (special_fill_min_subnorm): Likewise.
13092 (special_fill_minus_min_subnorm): Likewise.
13093 (special_real_inputs): Add min, -min, min_subnorm and
13094 -min_subnorm.
13095 (calc_generic_results): Handle mpfr_ff_f.
13096 * sysdeps/i386/fpu/libm-test-ulps: Update.
13097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13098
5764c27f
WN
130992013-12-16 Will Newton <will.newton@linaro.org>
13100
13101 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13102 (Aligned Memory Blocks): Add documentation for aligned_alloc
13103 and suggest it as an alternative to posix_memalign.
13104 (Hooks for Malloc): Document __memalign_hook is also called
13105 for aligned_alloc. (Summary of Malloc): Add summary for
13106 aligned alloc. Document __memalign_hook is also called
13107 for aligned_alloc.
13108
0a096e44
WN
131092013-12-16 Will Newton <will.newton@linaro.org>
13110
13111 * manual/memory.texi (Malloc Examples): Clarify default
13112 alignment documentation. Suggest posix_memalign rather
13113 than memalign or valloc.
13114 (Aligned Memory Blocks): Remove suggestion to use memalign
13115 or valloc. Remove obsolete comment about BSD.
13116 Document memalign errno values and mark the function obsolete.
13117 Document posix_memalign returned error codes. Mark valloc
13118 as obsolete. (Hooks for Malloc): __memalign_hook is also
13119 called for posix_memalign and valloc.
13120 (Summary of Malloc): Add posix_memalign to function summary.
13121 __memalign_hook is also called for posix_memalign and valloc.
13122
8d561986
SP
131232013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13124
13125 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13126 TAYLOR_SIN.
13127 (__sin): Adjust.
13128 (__cos): Likewise.
13129 (sloww): Use mynumber union. Expand ternary operator into
13130 if-else statements.
13131 (cslow): use mynumber union.
13132
73616a74
AM
131332013-12-16 Allan McRae <allan@archlinux.org>
13134
9e8ac24b
AM
13135 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13136 * configure: Regenerated.
13137
6f8e37eb
AM
13138 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13139
8894bad3
AM
13140 [BZ #14120]
13141 * configure.ac: Added --enable-maintainer-mode. Check for
13142 autoconf when enabled.
13143 * configure: Regenerated.
13144
73616a74
AM
13145 * nscd/nscd.service: New file.
13146 * nscd/nscd.tmpfiles: New file.
13147
584b18eb
OB
131482013-12-14 Ondřej Bílka <neleai@seznam.cz>
13149
13150 [BZ #12100]
13151 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13152 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13153 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13154 (strstr): Add __strstr_sse2_unaligned ifunc.
13155 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13156 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13157 (strcasestr): Remove __strcasestr_sse42 ifunc.
13158 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13159 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13161
8a5c7897
KK
131622013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13163
13164 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13165 * sysdeps/sh/bits/fenv.h: ... here.
13166 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13167
fd712ef3
AZ
131682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13169
13170 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13171
42fcb46c
AZ
13172 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13173 hypotf multiarch implementations.
13174 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13175 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13176 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13177 multiarch hypot for PPC64.
13178 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13179 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13180 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13181 multiarch hypotf for PPC64.
13182
83efded4
AZ
13183 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13184 modff multiarch implementations.
13185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13188 multiarch modf for PPC64.
13189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13192 multiarch modff for PPC64.
13193
43e246d2
AZ
13194 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13195 and logl multiarch implementations.
13196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13199 multiarch logb for PPC64.
13200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13203 multiarch logb for PPC64.
13204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13207 multiarch logb for PPC64.
13208
8fdad123
AZ
13209 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13210 isinff multiarch implementation.
13211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13212 file.
13213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13215 multiarch isinf for PPC64.
13216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13217 file.
13218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13219 multiarch isinff for PPC64.
13220
1481d706
AZ
13221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13222 finitef multiarch implementation.
13223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13224 file.
13225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13227 multiarch finite for PPC64.
13228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13229 file.
13230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13231 multiarch finitef for PPC64.
13232
5ccd5fc8
AZ
13233 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13234 lrint multiarch implementation.
13235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13236 file.
13237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13239 multiarch llrint for PPC64.
13240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13241 multiarch lrint for PPC64.
13242
2568f3fa
AZ
13243 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13244 copysignf multiarch implementation.
13245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13246 file.
13247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13248 file.
13249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13250 multiarch copysign for PPC64.
13251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13252 multiarch copysignf for PPC64.
13253
1cb341fd
AZ
13254 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13255 multiarch implementation.
13256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13257 file.
13258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13259 file.
13260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13261 file.
13262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13263 file.
13264 multiarch llround for PPC64.
13265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13266 multiarch trunc for PPC64.
13267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13268 multiarch truncf for PPC64.
13269
59a3e194
AZ
13270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13271 multiarch implementation.
13272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13273 file.
13274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13275 file.
13276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13277 file.
13278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13279 file.
13280 multiarch llround for PPC64.
13281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13282 multiarch round for PPC64.
13283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13284 multiarch roundf for PPC64.
13285
357fd3b4
AZ
13286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13287 multiarch implementation.
13288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13289 file.
13290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13291 file.
13292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13293 file.
13294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13295 file.
13296 multiarch llround for PPC64.
13297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13298 multiarch floor for PPC64.
13299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13300 multiarch floorf for PPC64.
13301
96770f12
AZ
13302 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13303 multiarch implementation.
13304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13305 file.
13306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13307 file.
13308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13309 file.
13310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13311 file.
13312 multiarch llround for PPC64.
13313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13314 multiarch ceil for PPC64.
13315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13316 multiarch ceilf for PPC64.
13317
c3627f6e
AZ
13318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13319 multiarch implementation.
13320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13321 file.
13322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13323 file.
13324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13325 file.
13326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13327 multiarch llround for PPC64.
13328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13329 multiarch lround for PPC64.
13330
b2284ad7
AZ
13331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13332 multiarch implementation.
13333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13336 file.
13337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13340 multiarch isnan for PPC64.
13341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13342 multiarch isnanf for PPC64.
13343
69bbc63d
AZ
13344 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13345 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13346 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13347 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13348 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13350
c24517c9
AZ
13351 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13352 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13353 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13354 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13355
a52374e8
AZ
13356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13357 multiarch implementations.
13358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13359 (__libc_ifunc_impl_list): Likewise.
13360 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13361 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13362 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13363 multiarch stpcpy for PPC64.
13364
7f5ec113
AZ
13365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13366 multiarch implementations.
13367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13368 (__libc_ifunc_impl_list): Likewise.
13369 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13370 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13371 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13372 multiarch strcpy for PPC64.
13373
e28bcd42
AZ
13374 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13375 redefine function name.
13376 (_wordcopy_fwd_dest_aligned): Likewise.
13377 (_wordcopy_bwd_aligned): Likewise.
13378 (_wordcopy_bwd_dest_aligned): Likewise.
13379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13380 multiarch implementations.
13381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13382 (__libc_ifunc_impl_list): Likewise.
13383 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13384 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13385 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13386 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13387 multiarch wcscpy for PPC64.
13388
92cacfce
AZ
13389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13390 multiarch implementations.
13391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13392 (__libc_ifunc_impl_list): Likewise.
13393 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13394 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13395 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13396 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13397 multiarch wcscpy for PPC64.
13398
7b714620
AZ
13399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13400 multiarch implementations.
13401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13402 (__libc_ifunc_impl_list): Likewise.
13403 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13404 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13405 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13406 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13407 multiarch wcsrchr for PPC64.
13408
16fd2ae3
AZ
13409 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13410 multiarch implementations.
13411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13412 (__libc_ifunc_impl_list): Likewise.
13413 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13414 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13415 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13416 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13417 multiarch wcschr for PPC64.
13418
9ee2969b
AZ
13419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13420 multiarch implementations.
13421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13422 (__libc_ifunc_impl_list): Likewise.
13423 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13424 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13425 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13426 multiarch strchrnul for PPC64.
13427
372dc060
AZ
13428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13429 implementations.
13430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13431 (__libc_ifunc_impl_list): Likewise.
13432 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13433 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13434 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13435 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13436 strchr for PPC64.
13437
24c2c3b9
AZ
13438 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13439 implementations.
13440 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13441 (__libc_ifunc_impl_list): Likewise.
13442 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13443 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13444 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13445 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13446 strncmp for PPC64.
13447
1c92d9a0
AZ
13448 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13449 multiarch implementations.
13450 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13451 (__libc_ifunc_impl_list): Likewise.
13452 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13453 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13454 strncasecmp for PPC64.
13455 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13456 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13457 multiarch strncasecmp_l for PPC64.
13458
17de3ee3
AZ
13459 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13460 multiarch implementations.
13461 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13462 (__libc_ifunc_impl_list): Likewise.
13463 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13464 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13465 multiarch strcasecmp for PPC64.
13466 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13467 file.
13468 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13469 multiarch strcasecmp_l for PPC64.
13470
62982bf9
AZ
13471 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13472 implementations.
13473 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13474 (__libc_ifunc_impl_list): Likewise.
13475 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13476 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13477 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13478 strnlen for PPC64.
13479
a65f4904
AZ
13480 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13481 implementations.
13482 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13483 (__libc_ifunc_impl_list): Likewise.
13484 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13485 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13486 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13487 strlen for PPC64.
13488
1fd005ad
AZ
13489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13490 implementations.
13491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13492 (__libc_ifunc_impl_list): Likewise.
13493 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13494 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13495 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13496 rawmemrchr for PPC64.
13497
cd05ba91
AZ
13498 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13499 implementation.
13500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13501 (__libc_ifunc_impl_list): Likewise.
13502 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13503 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13504 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13505 memrchr for PPC64.
13506
870f8676
AZ
13507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13508 implementation.
13509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13510 (__libc_ifunc_impl_list): Likewise.
13511 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13512 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13513 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13514 memchr for PPC64.
13515
f00be62b
AZ
13516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13517 implementation.
13518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13519 (__libc_ifunc_impl_list): Likewise.
13520 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13521 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13522 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13523 mempcpy for PPC64.
13524
8a29a3d0
AZ
13525 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13526 avoid cretion of __bzero symbol.
13527 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13528 Likewise.
13529 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13530 Likewise.
13531 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13532 Likewise.
13533 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13534 multiarch implementations.
13535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13536 (__libc_ifunc_impl_list): Likewise.
13537 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13538 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13539 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13540 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13541 bzero for PPC32.
13542 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13543 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13544 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13545 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13546 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13547 memset for PPC64.
13548 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13549
07253fcf
AZ
13550 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13552 implementations.
13553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13554 (__libc_ifunc_impl_list): Likewise.
13555 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13556 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13557 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13558 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13559 memcmp for PPC64.
13560
b5beafbc
AZ
13561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13562 multiarch for POWER/PPC64.
13563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13564 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13565 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13566 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13567 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13568 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13569 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13570 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13571 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13572 memcpy for PPC64.
13573
5e6a4d4b
AZ
13574 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13575 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13576 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13577 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13578 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13579 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13580 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13581 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13582 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13583 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13584 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13585 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13586 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13587 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13588 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13596
ddfab6dc
KK
135972013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13598
13599 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13600
19b5525e
SP
136012013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13602
13603 * benchtests/Makefile (bench): Add exp2 and log2.
13604 (LDLIBS-bench-exp2): Add -lm.
13605 (LDLIBS-bench-log2): Likewise.
13606 * benchtests/exp2-inputs: New inputs file.
13607 * benchtests/log2-inputs: New inputs file.
13608 * benchtests/log-inputs: Add new inputs.
13609 * benchtests/tan-inputs: Likewise.
13610
196f7f5d
SP
136112013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13612
7a74607f
SP
13613 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13614 definition...
57f41c40
AS
13615 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13616 (csloww2): ... from here.
7a74607f 13617
196f7f5d
SP
13618 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13619 instead of structures.
13620 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13621 (POLYNOMIAL): Likewise.
13622 (TAYLOR_SLOW): Likewise.
13623 (__sin): Likewise.
13624 (__cos): Likewise.
13625 (slow1): Likewise.
13626 (slow2): Likewise.
13627 (sloww): Likewise.
13628 (sloww1); Likewise.
13629 (sloww2): Likewise.
13630 (bsloww1): Likewise.
13631 (bsloww2): Likewise.
13632 (cslow2): Likewise.
13633 (csloww): Likewise.
13634 (csloww1): Likewise.
13635 (csloww2): Likewise.
13636
0dfa665c
OB
136372013-12-10 Ondřej Bílka <neleai@seznam.cz>
13638
13639 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
13640 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13641 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
13642 * malloc/hooks.c (realloc_check): Likewise.
13643
5782a80f
OB
13644 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13645 * malloc/arena.c: Remove PER_THREAD conditional.
13646 [!PER_THREAD]: Remove code.
13647 (ptmalloc_unlock_all2): Likewise.
13648 (ptmalloc_init): Likewise.
13649 (_int_new_arena): Likewise.
13650 (arena_get2): Likewise.
13651 * malloc/hooks.c (__malloc_get_state): Likewise.
13652 (__malloc_set_state): Likewise.
13653 * malloc/malloc.c: Likewise.
13654 (struct malloc_state): Likewise.
13655 (struct malloc_par): Likewise.
13656 (__libc_realloc): Likewise.
13657 (__libc_mallopt): Likewise.
13658
aeb95445
AZ
136592013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13660
13661 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13662
e8349efd
OB
136632013-12-09 Ondřej Bílka <neleai@seznam.cz>
13664
13665 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13666 macro to a function. Check for zero perturb_byte.
13667 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13668
f3eeb3fc 13669 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
13670 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13671 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
13672 force_reg by atomic_forced_read.
13673 * malloc/arena.c (ptmalloc_init): Likewise.
13674 * malloc/hooks.c (top_check): Likewise.
13675
be2f9009
AZ
136762013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13677
13678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13679
e7b914bd
MT
136802013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13681
13682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13683
9f0be4f8
JM
136842013-12-08 Joseph Myers <joseph@codesourcery.com>
13685
13686 * math/auto-libm-test-in: Add tests of lgamma.
13687 * math/auto-libm-test-out: Regenerated.
13688 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13689 (M_LOG_2_SQRT_PIl): Likewise.
13690 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13691 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13692 mpfr_f_f1.
13693 (func_calc_desc): Add mpfr_f_f1 union field.
13694 (ARGS1): New macro.
13695 (ARGS2): Likewise.
13696 (ARGS3): Likewise.
13697 (ARGS4): Likewise.
13698 (RET1): Likewise.
13699 (RET2): Likewise.
13700 (CALC): Likewise.
13701 (FUNC): Likewise.
13702 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13703 (test_functions): Add lgamma.
13704 (calc_generic_results): Handle mpfr_f_f1.
13705 * sysdeps/i386/fpu/libm-test-ulps: Update.
13706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13707
24eeafdb
AZ
137082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13709
13710 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13711 __mpn_add_n for PowerPC64/POWER7.
13712 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13713 __mpn_sub_n for PowerPC64/POWER7.
13714
4a2c0fd4
AZ
13715 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13716 __mpn_addmul_1 for PowerPC64.
13717 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13718 __mpn_submul_1 for PowerPC64.
13719 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13720 for PowerPC64.
13721 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13722 for PowerPC64.
13723
4b5b548c
FS
137242013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13725
13726 [BZ #15089]
13727 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13728
0a3ac0aa
AZ
137292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13730
13731 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13732
ccdc8438
AZ
13733 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13734 add multiarch folders.
13735 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13736 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13737 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13738 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13739 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13740 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13741 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13742 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13743 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13744 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13745 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13752
2e973d99
AZ
13753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13754 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13756 New file.
13757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13758 New file.
13759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13760 multiarch __ieee754_hypot for PowerPC32.
13761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13762 New file.
13763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13764 New file.
13765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13766 multiarch __ieee754_hypotf for PowerPC32.
13767
2d9470b2
AZ
13768 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13769 long_double_symbol only if __logbl is defined.
13770 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13771 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13772 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13773 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13774 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13775 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13776 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13777 path for implementation.
13778 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13779 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13781 logb, and logbl multiarch implementations for PowerPC32.
13782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13783 file.
13784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13785 file.
13786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13787 multiarch logb for PowerPC32.
13788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13789 file.
13790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13791 file.
13792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13793 multiarch logbf for PowerPC32.
13794 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13796 file.
13797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13798 multiarch logbl implementation for PowerPC32.
13799
5212ffce
AZ
13800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13801 and modff multiarch implementations.
13802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13803 New file.
13804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13805 New file.
13806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13807 multiarch modf for PowerPC32.
13808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13809 New file.
13810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13811 New file.
13812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13813 multiarch modff for PowerPC32.
13814
79dccf31
AZ
13815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13816 and lrintf multiarch implementations.
13817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13818 New file.
13819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13820 New file.
13821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13822 multiarch lrint for PowerPC32.
13823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13824 file: multiarch lrintf for PowerPC32.
13825
deb66480
AZ
13826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13827 and lroundf multiarch implementations.
13828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13829 New file.
13830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13831 New file.
13832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13833 New file.
13834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13835 multiarch lround for PowerPC32.
13836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13837 file: multiarch lroundf for PowerPC32.
13838
264b036b
AZ
13839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13840 copysign and copysignf multiarch implementations.
13841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13842 New file.
13843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13844 New file.
13845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13846 file: multiarch copysign for PowerPC32.
13847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13848 file: multiarch copysignf for PowerPC32.
13849
d47db6c9
AZ
13850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13851 and truncf multiarch implementations.
13852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13853 New file.
13854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13855 file.
13856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13857 multiarch trunc for PowerPC32.
13858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13859 New file.
13860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13861 New file.
13862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13863 multiarch truncf for PowerPC32.
13864
ddb60b5a
AZ
13865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13866 and roundf multiarch implementations.
13867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13868 New file.
13869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13870 file.
13871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13872 multiarch round for PowerPC32.
13873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13874 New file.
13875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13876 New file.
13877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13878 multiarch roundf for PowerPC32.
13879
bedcf49b
AZ
13880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13881 and floorf multiarch implementations.
13882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13883 New file.
13884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13885 file.
13886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13887 multiarch floor for PowerPC32.
13888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13889 New file.
13890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13891 New file.
13892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13893 multiarch floorf for PowerPC32.
13894
35ae5b40
AZ
13895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13896 and ceilf multiarch implementations.
13897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13898 New file.
13899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13900 file.
13901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13902 multiarch ceil for PowerPC32.
13903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13904 New file.
13905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13906 file.
13907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13908 multiarch ceilf for PowerPC32.
13909
ae1a4cd9
AZ
13910 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13911 is defined.
13912 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13913 FINITEF is defined.
13914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13915 and finitef multiarch implementations.
13916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13917 New file.
13918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13919 file.
13920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13921 multiarch finite for PowerPC32.
13922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13923 New file.
13924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13925 file: multiarch finitef for PowerPC32.
13926
64fffd65
AZ
13927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13928 and isinff multiarch implementations.
13929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13930 file.
13931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13932 file.
13933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13934 multiarch isinf for PowerPC32.
13935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13936 New file.
13937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13938 multiarch isinff for PowerPC32.
13939
8e4e7ba2
AZ
13940 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13941 alias when __isnan is defined.
13942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13943 and isnanf multiarch implementations.
13944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13945 file.
13946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13947 file.
13948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13949 file.
13950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13951 file.
13952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13953 multiarch isnan for PowerPC32.
13954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13955 New file.
13956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13957 New file.
13958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13959 multiarch isnanf for PowerPC32.
13960
ddba588e
AZ
13961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13962 and sqrtf multiarch implementations.
13963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13964 file.
13965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13966 file.
13967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13968 multiarch sqrt for PowerPC32.
13969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13970 file.
13971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13972 file.
13973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13974 multiarch sqrtf for PowerPC32.
13975
0f96a2f0
AZ
13976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13977 and llroundf multiarch implementations.
13978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13979 New file.
13980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13981 New file.
13982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13983 New file.
13984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13985 file: multiarch llround for PowerPC32.
13986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13987 file: multiarch llroundf for PowerPC32.
13988
c9b5d79e
AZ
13989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13990 multiarch PowerPC32 fpu implementations.
13991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13992 New file.
13993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13994 New file.
13995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13996 multiarch llrint for PowerPC32.
13997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13998 New file.
13999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14000 New file.
14001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14002 file.
14003
9cbb3aab
AZ
14004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14005
ea5a72f8
AZ
14006 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14007 file.
14008 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14009 file.
14010 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14011 file.
14012 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14013 multiarch wordcopy for PPC32.
14014 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14015 wordcopy objects.
14016 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14017 (__libc_ifunc_impl_list): Likewise.
14018 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14019 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14020 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14021 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14022 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14023 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14024
93be09e7
AZ
14025 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14026 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14027 file.
14028 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14029 file.
14030 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14031 file.
14032 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14033 multiarch wcscpy for PPC32.
14034 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14035 multiarch objects.
14036 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14037 (__libc_ifunc_impl_list): Likewise.
14038 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14039 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14040 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14041 sysdeps/powerpc/power6/wcscpy.c.
14042
bb04e529
AZ
14043 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14044 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14045 file.
14046 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14047 file.
14048 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14049 file.
14050 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14051 multiarch wcsrchr for PPC32.
14052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14053 multiarch objects.
14054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14055 (__libc_ifunc_impl_list): Likewise.
14056 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14057 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14058 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14059 sysdeps/powerpc/power6/wcsrchr.c.
14060
05b5cd1c
AZ
14061 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14062 file.
14063 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14064 file.
14065 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14067 multiarch wcschr for PPc32.
14068 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14069 multiarch objects.
14070 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14071 (__libc_ifunc_impl_list): Likewise.
14072 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14073 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14074 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14075 sysdeps/powerpc/power6/wcschr.c.
14076
ba964147
AZ
14077 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14078 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14079 file.
14080 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14081 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14082 file: multiarch strchr for PPC32.
14083 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14084 multiarch objects.
14085 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14086 (__libc_ifunc_impl_list): Likewise.
14087
31c81aaa
AZ
14088 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14089 name.
14090 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14091 file.
14092 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14093 file.
14094 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14095 multiarch strchrnul for PPC32.
14096 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14097 multiarch objects.
14098 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14099 (__libc_ifunc_impl_list): Likewise.
14100
0d0607d9
AZ
14101 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14102 file.
14103 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14104 multiarch strncasecmp for PPC32.
14105 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14106 file.
14107 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14108 multiarch strncasecmp_l for PPC32.
14109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14110 strncasecmp multiarch objects.
14111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14112 (__libc_ifunc_impl_list): Likewise.
14113
4dfd5c86
AZ
14114 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14115 file.
14116 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14117 multiarch strncasecmp for PPC32.
14118 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14119 New file.
14120 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14121 multiarch strcasecmp_l for PPC32.
14122 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14123 multiarch objects.
14124 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14125 (__libc_ifunc_impl_list): Likewise.
14126
a19e01a3
AZ
14127 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14128 file.
14129 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14130 file.
14131 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14132 multiarch strncmp for PPC32.
14133 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14134 multiarch objects.
14135 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14136 (__libc_ifunc_impl_list): Likewise.
14137
ae9cf7a2
AZ
14138 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14139 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14140 file.
14141 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14142 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14144 multiarch objects.
14145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14146 (__libc_ifunc_impl_list): Likewise.
14147
3148bb7d
AZ
14148 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14149 file.
14150 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14151 file.
14152 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14153 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14154 multiarch objects.
14155 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14156 (__libc_ifunc_impl_list): Likewise.
14157
7af8b946
AZ
14158 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14159 file.
14160 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14161 file.
14162 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14163 multiarch rawmemchr for PPC32.
14164 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14165 multiarch objects.
14166 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14167 (__libc_ifunc_impl_list): Likewise.
14168
03a6aa6a
AZ
14169 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14170 file.
14171 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14172 file.
14173 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14174 file: memrchr multiarch for PPC32.
14175 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14176 multiarch objects.
14177 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14178 (__libc_ifunc_impl_list): Likewise.
14179
1c62e6d9
AZ
14180 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14181 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14182 file.
14183 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14184 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14185 multiarch memchr for PPC32.
14186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14187 multiarch objects.
14188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14189 (__libc_ifunc_impl_list): Likewise.
14190
87da8bdb
AZ
14191 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14192 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14193 file.
14194 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14195 file.
14196 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14197 file: multiarch mempcpy for PPC32.
14198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14199 multiarch objects.
14200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14201 (__libc_ifunc_impl_list): Likewise.
14202
20ed4714
AZ
14203 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14204 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14205 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14206 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14207 multiarch bzero for PPC32.
14208 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14209 file.
14210 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14211 file.
14212 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14213 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14214 file: multiarch memset for PPC32.
14215 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14216 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14217 memset multiarch objects.
14218 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14219 (__libc_ifunc_impl_list): Likewise.
14220
ab3e3a46
AZ
14221 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14222 file.
14223 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14224 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14225 memcmp for PPC32.
14226 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14227 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14228 multiarch objects.
14229 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14230 (__libc_ifunc_impl_list): Likewise.
14231
930de6f0
AZ
14232 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14233 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14234 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14235 file.
14236 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14237 file.
14238 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14239 file.
14240 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14241 multiarch memcpy for PPC32.
14242 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14243 multiarch objects.
14244 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14245 (__libc_ifunc_impl_list): Likewise.
14246
4c628e00
AZ
14247 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14248 support multiarch for POWER/PPC32.
14249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14250 Likewise.
14251 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14253 Implies file to make multiarch folder appers before the fpu and
14254 default folder for power4 configuration.
14255
f4479220
SP
142562013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14257
14258 * scripts/bench.pl: Append volatile keyword to type.
14259
8517800f
KK
142602013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14261
14262 * sysdeps/sh/sotruss-lib.c: New file.
14263 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14264
180138f1
AZ
142652013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14266
14267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14268
bbf37bdc
JM
142692013-12-05 Joseph Myers <joseph@codesourcery.com>
14270
e47cc4e0
JM
14271 [BZ #6810]
14272 * math/w_tgamma.c: Include <errno.h>.
14273 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14274 * math/w_tgammaf.c: Include <errno.h>.
14275 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14276 * math/w_tgammal.c: Include <errno.h>.
14277 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14278 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14279 underflow. Add more tgamma tests.
14280 * math/auto-libm-test-out: Regenerated.
14281 * sysdeps/i386/fpu/libm-test-ulps: Update.
14282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14283
bbf37bdc
JM
14284 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14285 sin, sinh, tan, tanh, tgamma, y0 and y1.
14286 * math/auto-libm-test-out: Regenerated.
14287 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14288 (TEST_COND_x86): Likewise.
14289 (M_E2l): Remove macro.
14290 (M_E3l): Likewise.
14291 (M_2_SQRT_PIl): Likewise.
14292 (M_SQRT_PIl): Likewise.
14293 (M_1_DIV_El): Likewise.
14294 (log_test_data): Use AUTO_TESTS_f_f.
14295 (log10_test_data): Likewise.
14296 (log1p_test_data): Likewise.
14297 (log2_test_data): Likewise.
14298 (sin_test_data): Likewise.
14299 (sin_tonearest_test_data): Likewise.
14300 (sin_towardzero_test_data): Likewise.
14301 (sin_downward_test_data): Likewise.
14302 (sin_upward_test_data): Likewise.
14303 (sinh_test_data): Likewise.
14304 (sinh_tonearest_test_data): Likewise.
14305 (sinh_towardzero_test_data): Likewise.
14306 (sinh_downward_test_data): Likewise.
14307 (sinh_upward_test_data): Likewise.
14308 (tan_test_data): Likewise.
14309 (tan_tonearest_test_data): Likewise.
14310 (tan_towardzero_test_data): Likewise.
14311 (tan_downward_test_data): Likewise.
14312 (tan_upward_test_data): Likewise.
14313 (tanh_test_data): Likewise.
14314 (tgamma_test_data): Likewise.
14315 (y0_test_data): Likewise.
14316 (y1_test_data): Likewise.
14317 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14318 (special_real_inputs): Add pi/4.
14319 * sysdeps/i386/fpu/libm-test-ulps: Update.
14320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14321
eb5ad6b9
AZ
143222013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14323
14324 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14325 "longjmp_target" static probes.
14326 (__longjmp): Rename to __longjmp_symbol.
14327 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14328 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14329 on which longjmp to generate.
14330 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14331 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14332 probe.
14333 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14334 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14335 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14336 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14337 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14338 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14340 __longjmp_symbol based on which __longjmp to generate.
14341 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14342 probe.
14343 (setjmp): Rename to setjmp_symbol.
14344 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14345 (_setjmp): Rename to _setjmp_symbol.
14346 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14347 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14348 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14349 which setjmp to generate.
14350 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14351 "longjmp_target" static probes.
14352
d136c6dc
SP
143532013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14354
9298ecba
SP
14355 * benchtests/README: Add note about output arguments.
14356 * benchtests/bench-sincos.c: Remove file.
14357 * benchtests/sincos-inputs: New file.
14358 * scripts/bench.pl: Identify output arguments and define
14359 static variables for them.
14360
232983e9
SP
14361 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14362
d136c6dc
SP
14363 [BZ #15941]
14364 * Makefile (INSTALL): Add install-plain.texi as the primary
14365 dependency.
14366 * manual/install-plain.texi: New file.
14367 * manual/install.texi: Include node directive only for
14368 non-plaintext output.
14369
699ff837
JM
143702013-12-04 Joseph Myers <joseph@codesourcery.com>
14371
ab07cea8
JM
14372 * stdlib/longlong.h: Update from GCC.
14373
699ff837
JM
14374 [BZ #6807]
14375 [BZ #15901]
14376 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14377 * math/w_j0f.c (y0f): Likewise.
14378 * math/w_j0l.c (__y0l): Likewise.
14379 * math/w_j1.c (y1): Likewise.
14380 * math/w_j1f.c (y1f): Likewise.
14381 * math/w_j1l.c (__y1l): Likewise
14382 * math/w_jn.c (yn): Likewise.
14383 * math/w_jnf.c (ynf): Likewise.
14384 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14385 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14386 value for Bessel function domain errors outside _SVID_ mode.
14387 Adjust sign of return value for yn (negative integer, 0).
14388 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14389 by zero in return for negative x and set sign appropriately for
14390 negative n.
14391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14392 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14393 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14394 expectations in error cases.
14395 (y1_test_data): Likewise.
14396 (yn_test_data): Likewise.
14397 * sysdeps/i386/fpu/libm-test-ulps: Update.
14398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14399
5b118558
UW
144002013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14401
14402 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14403 "64" to "64-v1". Add "64-v2".
14404 (abi-64-options): Rename to ...
14405 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14406 (abi-64-condition): Rename to ...
14407 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14408 (abi-64-ld-soname): Rename to ...
14409 (abi-64-v1-ld-soname): ... this.
14410 (abi-64-v2-options): Define.
14411 (abi-64-v2-condition): Likewise.
14412 (abi-64-v2-ld-soname): Likewise.
14413 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14414 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14418
61cd8fe4
UW
144192013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14420 Alan Modra <amodra@gmail.com>
14421
14422 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14423 New versions for use with the ELFv2 ABI.
14424 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14425 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14426 declaration.
14427 (struct La_ppc64v2_retval): Likewise.
14428 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14429 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14430 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14431 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14432 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14433 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14434 Do not save or restore CR.
14435 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14436 (_dl_profile_resolve): Do no save or restore CR. Support extended
14437 return values for ELFv2 ABI. Fix location of FPR return registers.
14438 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14439 updated values for _CALL_ELF == 2.
14440 (La_regs, La_retval, int_retval): Likewise.
14441
8b8a692c
UW
144422013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14443
14444 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14445 (FRAME_MIN_SIZE_PARM): Likewise.
14446 (FRAME_BACKCHAIN): Likewise.
14447 (FRAME_CR_SAVE): Likewise.
14448 (FRAME_LR_SAVE): Likewise.
14449 (FRAME_TOC_SAVE): Likewise.
14450 (FRAME_PARM_SAVE): Likewise.
14451 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14452 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14453 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14454 (call_mcount_parm_offset): New macro.
14455 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14456 (PROF): Use symbolic stack frame offsets.
14457 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14458 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14459 Redefine in terms of FRAME_MIN_SIZE.
14460 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14461 (_dl_profile_resolve): Likewise. Update comment.
14462 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14463 symbols stack frame offsets.
14464 (__sigsetjmp): Likewise.
14465 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14466 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14467 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14468 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14469
14470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14471 (FRAME_BACKCHAIN): Remove.
14472 (FRAME_CR_SAVE): Likewise.
14473 (FRAME_LR_SAVE): Likewise.
14474 (FRAME_COMPILER_DW): Likewise.
14475 (FRAME_LINKER_DW): Likewise.
14476 (FRAME_TOC_SAVE): Likewise.
14477 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
14478 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14479 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14480 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
14481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14482 (CHECK_SP): Use symbolic stack frame offsets.
14483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14484 zone" instead of caller's parameter save area for temp storage.
14485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14486 Likewise. Also, use symbolic stack frame offsets.
14487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14488 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14489 our own stack frame instead of the caller's.
14490 (__socket): Use symbolic stack frame offsets.
14491
122b66de
UW
144922013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14493 Alan Modra <amodra@gmail.com>
14494
14495 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14496 Define.
57f41c40
AS
14497 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14498 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
14499 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14500 New function.
14501 (elf_machine_fixup_plt): Call it.
14502 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14503 reloc arguments.
14504 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
14505 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14506 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
14507 r2 before calling target.
14508
696caf1d
UW
145092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14510 Alan Modra <amodra@gmail.com>
14511
14512 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14513 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14514 versions of macros to support ELFv2 ABI.
14515 (LOCALENTRY): New macro.
14516 (ENTRY, EALIGN): Use it.
14517 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14518 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14519 fall through into ENTRY entry point.
14520 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14521 Only define if _CALL_ELF != 2.
14522
14523 (elf_machine_matches_host): Verify ABI version matches.
14524 (RTLD_START): Use LOCALENTRY.
14525 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14526 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14527 (PLT_ENTRY_WORDS): New macro.
14528 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14529 (elf_machine_runtime_setup): Support ELFv2 ABI.
14530 (elf_machine_fixup_plt): Likewise.
14531 (elf_machine_plt_conflict): Likewise.
14532 (resolve_ifunc): Likewise.
14533 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14534 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14535 Likewise.
14536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14537 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14539 (makecontext): Support ELFv2 ABI.
14540 * elf/elf.h (EF_PPC64_ABI): Define.
14541
d31beafa
UW
145422013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14543
57f41c40
AS
14544 * sysdeps/powerpc/powerpc64/sysdep.h
14545 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14546 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14547 (ENTRY) [ASSEMBLER]: ... but instead here ...
14548 (EALIGN) [ASSEMBLER]: ... and here.
14549 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14550 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14551 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
14552 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14553 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
14554 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14555 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
14556 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14558 Use PPC64_LOAD_FUNCPTR.
14559
b525166b
UW
14560 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14561
7ec07d9a
AM
145622013-12-04 Alan Modra <amodra@gmail.com>
14563
14564 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14565 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14566 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14567 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14568
14569 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14570 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14571 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14572 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14573 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14574 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14575
5162e7dd
UW
145762013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14577
14578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14579 (__makecontext): Fix incorrect CFI when backtracing out of
14580 context created via makecontext.
14581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14582 (__setcontext): Fix incorrect CFI during switch to new context.
14583 (__novec_setcontext): Likewise.
14584
19e3372b
OB
145852013-12-04 Ondřej Bílka <neleai@seznam.cz>
14586
14587 [BZ #4772]
14588 * time/strptime_l.c (__strptime_internal): Allow modifiers
14589 in strptime.
14590 * time/tst-strptime.c (day_tests): Add testcase.
14591
ecaf142d
SP
145922013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14593
14594 * scripts/bench.pl: Skip over blank lines.
14595
fbf964ae
PE
145962013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14597
14598 [BZ #926]
14599 * manual/time.texi (Calendar Time): Clarify what timezone functions
14600 use.
14601
fa60a674
AZ
146022013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14603
14604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14605
d674f0ef
OB
146062013-12-04 Ondřej Bílka <neleai@seznam.cz>
14607
14608 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14609 implementation.
14610 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14611 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14612 * debug/memset_chk.c (__memset_chk): Likewise.
14613 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14614 * debug/strncpy_chk.c: Likewise.
14615
17dea188
JM
146162013-12-03 Joseph Myers <joseph@codesourcery.com>
14617
749008ff
JM
14618 [BZ #15268]
14619 [BZ #15425]
14620 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14621 (__ieee754_exp): For possibly underflowing results, check size of
14622 result and force underflow exception if required.
14623 * math/auto-libm-test-in: Add more tests of exp.
14624 * math/auto-libm-test-out: Regenerated.
14625 * sysdeps/i386/fpu/libm-test-ulps: Update.
14626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14627
17dea188
JM
14628 [BZ #16283]
14629 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14630 * math/w_exp2f.c (__exp2f): Likewise.
14631 * math/w_exp2l.c (__exp2l): Likewise.
14632 * math/auto-libm-test-in: Do not allow missing errno on exp2
14633 underflow.
14634 * math/auto-libm-test-out: Regenerated.
14635
b20de2c3
OB
146362013-12-03 Ondřej Bílka <neleai@seznam.cz>
14637
14638 [BZ #16274]
14639 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14640 handle filename validation.
14641 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14642 (do_open): Delete.
14643
d8e2dbe3
JM
146442013-12-03 Joseph Myers <joseph@codesourcery.com>
14645
34e16df5
JM
14646 [BZ #6786]
14647 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14648 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14649 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14650 <float.h>.
14651 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14652 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14653 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14654 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14655 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14656 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14657 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14658 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14659 Add more erfc tests.
14660 * math/auto-libm-test-out: Regenerated.
14661 * sysdeps/i386/fpu/libm-test-ulps: Update.
14662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14663
d8e2dbe3
JM
14664 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14665 exp2, expm1, j0 and j1.
14666 * math/auto-libm-test-out: Regenerated.
14667 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14668 (erfc_test_data): Likewise.
14669 (exp_test_data): Likewise.
14670 (exp_tonearest_test_data): Likewise.
14671 (exp_towardzero_test_data): Likewise.
14672 (exp_downward_test_data): Likewise.
14673 (exp_upward_test_data): Likewise.
14674 (exp10_test_data): Likewise.
14675 (exp2_test_data): Likewise.
14676 (expm1_test_data): Likewise.
14677 (j0_test_data): Likewise.
14678 (j1_test_data): Likewise.
14679 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14680 (input_flag_type): Add flag_xfail_rounding.
14681 (input_flags): Add xfail-rounding.
14682 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14683 (output_for_one_input_case): Handle flag_xfail_rounding.
14684 * sysdeps/i386/fpu/libm-test-ulps: Update.
14685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14686
18d14251
AJ
146872013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14688
3d2e6075 14689 [BZ #16289]
18d14251
AJ
14690 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14691 division by 0.
14692
520d437b
SP
146932013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14694
14695 [BZ #16195]
14696 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14697 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14698 (STAP_PROBE0): New macro.
14699 (STAP_PROBE1): Likewise.
14700 (STAP_PROBE2): Likewise.
14701 (STAP_PROBE3): Likewise.
14702 (STAP_PROBE4): Likewise.
14703
416e0145
OB
147042013-12-02 Ondřej Bílka <neleai@seznam.cz>
14705
14706 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14707
9d17796a
SE
147082013-12-02 Steve Ellcey <sellcey@mips.com>
14709
14710 * benchtests/Makefile (bench): Add sqrt.
14711 (LDLIBS-bench-sqrt): New.
14712 * benchtests/sqrt-input: New.
14713
f524d6a8
PS
147142013-12-02 Pavel Simerda <psimerda@redhat.com>
14715
639a0ef8
PS
14716 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14717 (GAIH_EAI): Likewise.
14718 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14719 (gaih_inet): Likewise.
14720 (getaddrinfo): Don't use GAIH_EAI.
14721
f524d6a8
PS
14722 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14723 (struct gaih): Remove definition.
14724
df3aedaf
SP
147252013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14726
14727 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14728 Use HERRNOP directly.
14729
1ab19dec
AZ
147302013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14731
b42ad38d 14732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 14733
176b0c79
JM
147342013-11-30 Joseph Myers <joseph@codesourcery.com>
14735
14736 * math/gen-auto-libm-tests.c (test_functions): Add more
14737 single-argument functions.
14738 (special_fill_pi_2): New function.
14739 (special_fill_minus_pi_2): Likewise.
14740 (special_fill_pi_6): Likewise.
14741 (special_fill_minus_pi_6): Likewise.
14742 (special_fill_pi_3): Likewise.
14743 (special_fill_2pi_3): Likewise.
14744 (special_fill_e): Likewise.
14745 (special_fill_1_e): Likewise.
14746 (special_fill_e_minus_1): Likewise.
14747 (special_real_inputs): Add more special inputs.
14748 (output_for_one_input_case): Do not require ERANGE on underflow to
14749 zero if round-to-nearest result does not underflow to zero, unless
14750 exact results required.
14751 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14752 atan, atanh, cbrt, cos and cosh.
14753 * math/auto-libm-test-out: Regenerated.
14754 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14755 (acos_tonearest_test_data): Likewise.
14756 (acos_towardzero_test_data): Likewise.
14757 (acos_downward_test_data): Likewise.
14758 (acos_upward_test_data): Likewise.
14759 (acosh_test_data): Likewise.
14760 (asin_test_data): Likewise.
14761 (asin_tonearest_test_data): Likewise.
14762 (asin_towardzero_test_data): Likewise.
14763 (asin_upward_test_data): Likewise.
14764 (asinh_test_data): Likewise.
14765 (atan_test_data): Likewise.
14766 (atanh_test_data): Likewise.
14767 (cbrt_test_data): Likewise.
14768 (cos_test_data): Likewise.
14769 (cos_tonearest_test_data): Likewise.
14770 (cos_towardzero_test_data): Likewise.
14771 (cos_downward_test_data): Likewise.
14772 (cos_upward_test_data): Likewise.
14773 (cosh_test_data): Likewise.
14774 (cosh_tonearest_test_data): Likewise.
14775 (cosh_towardzero_test_data): Likewise.
14776 (cosh_downward_test_data): Likewise.
14777 (cosh_upward_test_data): Likewise.
14778 * sysdeps/i386/fpu/libm-test-ulps: Update.
14779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14780
ffb536d0
JM
147812013-11-29 Joseph Myers <joseph@codesourcery.com>
14782
2a77a467
JM
14783 [BZ #6787]
14784 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14785 * math/w_exp10f.c (__exp10f): Likewise.
14786 * math/w_exp10l.c (__exp10l): Likewise.
14787 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14788 errno settings in existing tests.
14789
ea3bc4e8
JM
14790 [BZ #14032]
14791 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14792 precision control set to double precision.
14793 * sysdeps/i386/fpu/w_sqrt.c: New file.
14794 * math/auto-libm-test-in: Add more tests.
14795 * math/auto-libm-test-out: Update.
14796
0712c9d8
JM
14797 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14798 (sqrt_test_tonearest): New function.
14799 (sqrt_towardzero_test_data): New variable.
14800 (sqrt_test_towardzero): New function.
14801 (sqrt_downward_test_data): New variable.
14802 (sqrt_test_downward): New function.
14803 (sqrt_upward_test_data): New variable.
14804 (sqrt_test_upward): New function.
14805 (main): Call the new functions.
14806
ffb536d0
JM
14807 * math/gen-auto-libm-tests.c: New file.
14808 * math/auto-libm-test-in: Likewise.
14809 * math/auto-libm-test-out: New generated file.
14810 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14811 variables.
14812 (%beautify): Add generated representations of zero.
14813 (top level): Set $auto_input and call parse_auto_input.
14814 (beautify): Remove trailing "f" from hex float constants.
14815 (parse_args): Handle XFAIL_TEST.
14816 (convert_condition): New function.
14817 (or_value): Likewise.
14818 (or_cond_value): Likewise.
14819 (generate_testfile): Handle AUTO_TESTS_* lines.
14820 (parse_auto_input): New function.
14821 * math/libm-test.inc (XFAIL_TEST): New macro.
14822 (ERRNO_UNCHANGED): Update value.
14823 (ERRNO_EDOM): Likewise.
14824 (ERRNO_ERANGE): Likewise.
14825 (IGNORE_RESULT): Likewise.
14826 (TEST_COND_flt_32): New macro.
14827 (TEST_COND_dbl_64): Likewise.
14828 (TEST_COND_ldbl_96_intel): Likewise.
14829 (TEST_COND_ldbl_96_m68k): Likewise.
14830 (TEST_COND_ldbl_128): Likewise.
14831 (TEST_COND_ldbl_128ibm): Likewise.
14832 (TEST_COND_long32): Likewise.
14833 (TEST_COND_long64): Likewise.
14834 (TEST_COND_before_rounding): Likewise.
14835 (TEST_COND_after_rounding): Likewise.
14836 (enable_test): Handle XFAIL_TEST flag.
14837 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14838 with finite results.
14839 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14840 auto-libm-test-out.
14841
acd98a8e
AK
148422013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14843 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14844
14845 [BZ #16214]
14846 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14847 __tls_get_addr_internal instead of __tls_get_offset in order to
14848 avoid GOT pointer dependency. Make rtld export
14849 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14850 __tls_get_addr since we are a __tls_get_offset platform.
14851 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14852 GOT pointer being set up before.
14853 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14854
3c1c46a6
JM
148552013-11-28 Joseph Myers <joseph@codesourcery.com>
14856
7475aef5
JM
14857 * manual/math.texi (Errors in Math Functions): Document accuracy
14858 goals.
14859
8bca7cd8
JM
14860 [BZ #15004]
14861 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14862 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14863 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14864 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14865 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14866 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14867 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14868 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14869 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14870 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14871 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14872 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14873 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14874 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14875 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14876 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14877
91a1f3fe
JM
14878 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14879 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14880 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14881 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14882 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14883 Likewise.
14884 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14885 Likewise.
14886 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14887 Likewise.
14888 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14889 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14890 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14891 atomic-feupdateenv and flt-rounds.
14892 * sysdeps/powerpc/nofpu/Versions (libc): Add
14893 __atomic_feholdexcept, __atomic_feclearexcept,
14894 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14895 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14896 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14897 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14898 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14899 here.
14900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14901 Update.
14902
c5df7609
JM
14903 * manual/arith.texi (FP Exceptions): Document that exceptions may
14904 not be raised when matherr is used.
14905 (Math Error Reporting): Document overflow in directed rounding
14906 modes. Document that errno may not be set when finite values are
14907 returned on overflow. Document intent to set errno on underflow
14908 only for underflow to zero.
14909
3c1c46a6
JM
14910 [BZ #16271]
14911 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14912 round-to-nearest then adjust result for other rounding modes.
14913 * include/fenv.h (fegetround): Use libm_hidden_proto.
14914 * math/fegetround.c (fegetround): Use libm_hidden_def.
14915 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14916 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14917 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14918 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14919 Likewise.
14920 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14921 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14922 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14923 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14924
5a4c6d53
SP
149252013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14926
14927 [BZ #16077]
14928 * nss/Versions (libnss_files): Add
14929 _nss_files_gethostbyname3_r.
14930 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14931 New function.
14932 (HOST_DB_LOOKUP): Remove macro.
14933 (_nss_files_gethostbyname_r): Implement function without the
14934 HOST_DB_LOOKUP macro.
14935 (_nss_files_gethostbyname2_r): Likewise.
14936
897b98ba
OB
149372013-11-28 Ondřej Bílka <neleai@seznam.cz>
14938
14939 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14940
6f476861
UB
149412013-11-26 Uros Bizjak <ubizjak@gmail.com>
14942
14943 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14944 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14945 warning.
14946
bd12ab55
AZ
149472013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14948
14949 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14950 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14951 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14952 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14953 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14954 __fe_nomask_env_priv and attribute_hidden.
14955 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14956 (libc_feupdateenv_test_ppc): Likewise.
14957 (libc_feresetround_ppc): Likewise.
14958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14959 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14960 compat_symbol macro.
14961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14962 (__fe_nomask_env): Likewise.
14963 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14964
52bb6543
OB
149652013-11-26 Ondřej Bílka <neleai@seznam.cz>
14966
14967 * string/Makefile: Remove ifunc tests.
14968 * string/test-string.h: Define TEST_IFUNC.
14969 * string/test-bcopy-ifunc.c: Remove.
14970 * string/test-bzero-ifunc.c: Likewise.
14971 * string/test-memccpy-ifunc.c: Likewise.
14972 * string/test-memchr-ifunc.c: Likewise.
14973 * string/test-memcmp-ifunc.c: Likewise.
14974 * string/test-memcpy-ifunc.c: Likewise.
14975 * string/test-memmem-ifunc.c: Likewise.
14976 * string/test-memmove-ifunc.c: Likewise.
14977 * string/test-mempcpy-ifunc.c: Likewise.
14978 * string/test-memrchr-ifunc.c: Likewise.
14979 * string/test-memset-ifunc.c: Likewise.
14980 * string/test-rawmemchr-ifunc.c: Likewise.
14981 * string/test-stpcpy-ifunc.c: Likewise.
14982 * string/test-stpncpy-ifunc.c: Likewise.
14983 * string/test-strcasecmp-ifunc.c: Likewise.
14984 * string/test-strcasestr-ifunc.c: Likewise.
14985 * string/test-strcat-ifunc.c: Likewise.
14986 * string/test-strchr-ifunc.c: Likewise.
14987 * string/test-strchrnul-ifunc.c: Likewise.
14988 * string/test-strcmp-ifunc.c: Likewise.
14989 * string/test-strcpy-ifunc.c: Likewise.
14990 * string/test-strcspn-ifunc.c: Likewise.
14991 * string/test-strlen-ifunc.c: Likewise.
14992 * string/test-strncasecmp-ifunc.c: Likewise.
14993 * string/test-strncat-ifunc.c: Likewise.
14994 * string/test-strncmp-ifunc.c: Likewise.
14995 * string/test-strncpy-ifunc.c: Likewise.
14996 * string/test-strnlen-ifunc.c: Likewise.
14997 * string/test-strpbrk-ifunc.c: Likewise.
14998 * string/test-strrchr-ifunc.c: Likewise.
14999 * string/test-strspn-ifunc.c: Likewise.
15000 * string/test-strstr-ifunc.c: Likewise.
15001
ab260039 150022013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
15003
15004 * benchtests/Makefile: Remove ifunc tests.
15005 * benchtests/bench-string.h: Define TEST_IFUNC.
15006 * benchtests/bench-bcopy-ifunc.c: Remove.
15007 * benchtests/bench-bzero-ifunc.c: Likewise.
15008 * benchtests/bench-memccpy-ifunc.c: Likewise.
15009 * benchtests/bench-memchr-ifunc.c: Likewise.
15010 * benchtests/bench-memcmp-ifunc.c: Likewise.
15011 * benchtests/bench-memcpy-ifunc.c: Likewise.
15012 * benchtests/bench-memmem-ifunc.c: Likewise.
15013 * benchtests/bench-memmove-ifunc.c: Likewise.
15014 * benchtests/bench-mempcpy-ifunc.c: Likewise.
15015 * benchtests/bench-memrchr-ifunc.c: Likewise.
15016 * benchtests/bench-memset-ifunc.c: Likewise.
15017 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15018 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15019 * benchtests/bench-stpcpy-ifunc.c: Likewise.
15020 * benchtests/bench-stpncpy-ifunc.c: Likewise.
15021 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15022 * benchtests/bench-strcasestr-ifunc.c: Likewise.
15023 * benchtests/bench-strcat-ifunc.c: Likewise.
15024 * benchtests/bench-strchr-ifunc.c: Likewise.
15025 * benchtests/bench-strchrnul-ifunc.c: Likewise.
15026 * benchtests/bench-strcmp-ifunc.c: Likewise.
15027 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15028 * benchtests/bench-strcpy-ifunc.c: Likewise.
15029 * benchtests/bench-strcspn-ifunc.c: Likewise.
15030 * benchtests/bench-strlen-ifunc.c: Likewise.
15031 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15032 * benchtests/bench-strncat-ifunc.c: Likewise.
15033 * benchtests/bench-strncmp-ifunc.c: Likewise.
15034 * benchtests/bench-strncpy-ifunc.c: Likewise.
15035 * benchtests/bench-strnlen-ifunc.c: Likewise.
15036 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15037 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 15038 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
15039 * benchtests/bench-strspn-ifunc.c: Likewise.
15040 * benchtests/bench-strstr-ifunc.c: Likewise.
15041
150422013-11-26 Ondřej Bílka <neleai@seznam.cz>
15043
ab260039
OB
15044 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15045
d1d9eaf4 150462013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 15047
d1d9eaf4
OB
15048 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15049 * rt/aio.h: Likewise.
15050 * sysdeps/gnu/bits/utmp.h: Likewise.
15051 * sysdeps/gnu/bits/utmpx.h: Likewise.
15052 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15053 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15054 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15055 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15056 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15057 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15058 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15059 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15060 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15061 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15062 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15063 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15064 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15066 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15067 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15068 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15069 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15070 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15071 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15072 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15073 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15074 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15075 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15076 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15078 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15079 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15080 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15081 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15082 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15083 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15084 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15085 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15086 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15087 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15088 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15089 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15090 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15091 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15092 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15093 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15094
a7624ed9
CD
150952013-11-25 Carlos O'Donell <carlos@redhat.com>
15096
15097 [BZ #16245]
15098 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15099 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15100
63cfe52b
JM
151012013-11-25 Joseph Myers <joseph@codesourcery.com>
15102
15103 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15104 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15105 Likewise.
15106
41e8926a
AZ
151072013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15108
15109 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15110 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15111 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15112 (__fesetround): Remove define.
15113 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15114 rounding and exceptions handling.
15115 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15116 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15117 (__fe_nomask_env): Likewise.
15118 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15119 __fegetround instead of fegetround.
15120 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15121 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15122
6851bd4d
RM
151232013-11-21 Roland McGrath <roland@hack.frob.com>
15124
070906ff
RM
15125 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15126 it's there.
15127
6851bd4d
RM
15128 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15129
84ae135d
MI
151302013-11-21 Meador Inge <meadori@codesourcery.com>
15131
15132 [BZ #11157]
15133 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15134 (encrypt_r): Likewise.
15135 * malloc/obstack.h (obstack_free): Likewise.
15136 * posix/unistd.h (encrypt): Likewise.
15137
daf75146
GM
151382013-11-21 Guy Martin <gmsoft@tuxicoman.be>
15139
15140 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15141 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15142 DL_CALL_DT_FINI() that call the functions directly.
15143 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15144 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15145 * elf/dl-fini.c: Likewise.
15146
10ad46bc
OB
151472013-11-20 Ondřej Bílka <neleai@seznam.cz>
15148
15149 * malloc/hooks.c (memalign_check): Add alignment rounding.
15150 * malloc/malloc.c (_mid_memalign): New function.
15151 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15152 Implement by calling _mid_memalign.
15153 * manual/probes.texi (Memory Allocation Probes): Remove
15154 memory_valloc_retry and memory_pvalloc_retry.
15155
f3fd2628
SP
151562013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15157
4712799f
SP
15158 * locale/programs/locarchive.c (open_archive): Add const
15159 qualifier to ARCHIVEFNAME and copy default fname to
15160 DEFAULT_FNAME.
15161
0417b20f
SP
15162 [BZ #15601]
15163 * libio/tst-widetext.input: Rename Oriya to Odia.
15164 * locale/iso-639.def: Likewise.
15165
f3fd2628
SP
15166 * manual/probes.texi (Mathematical Function Probes): Add
15167 documentation for sin, cos, asin and acos probes.
15168 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15169 (__sin32): Add slowasin probe.
15170 (__cos32): Add slowacos probe.
15171 (__mpsin): Add slowsin probe.
15172 (__mpcos): Add slowcos probe.
15173
73c1ce4f
JM
151742013-11-19 Joseph Myers <joseph@codesourcery.com>
15175
15176 [BZ #15483]
15177 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15178 thread-local __sim_exceptions_thread and global
15179 __sim_exceptions_global.
15180 (__sim_disabled_exceptions): Change to thread-local
15181 __sim_disabled_exceptions_thread and global
15182 __sim_disabled_exceptions_global.
15183 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15184 and global __sim_round_mode_global.
15185 (__simulate_exceptions): Use thread-local floating-point state and
15186 set global state from it as needed.
15187 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15188 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15189 __sim_round_mode_thread.
15190 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15191 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15192 and global __sim_exceptions_global.
15193 (__sim_disabled_exceptions): Change to thread-local
15194 __sim_disabled_exceptions_thread and global
15195 __sim_disabled_exceptions_global.
15196 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15197 and global __sim_round_mode_global.
15198 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15199 (SIM_SET_GLOBAL): Likewise.
15200 * sysdeps/powerpc/soft-fp/sfp-machine.h
15201 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15202 __sim_round_mode_thread.
15203 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15204 __sim_disabled_exceptions_thread.
15205 (__sim_exceptions): Change to __sim_exceptions_thread.
15206 (__sim_disabled_exceptions): Change to
15207 __sim_disabled_exceptions_thread.
15208 (__sim_round_mode): Change to __sim_round_mode_thread.
15209 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15210 thread-local floating-point state and set global state from it as
15211 needed.
15212 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15213 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15214 (__sim_disabled_exceptions): Remove extern declaration.
15215 (feenableexcept): Use thread-local floating-point state and set
15216 global state from it as needed.
15217 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15218 extern declaration.
15219 (__sim_disabled_exceptions): Likewise.
15220 (__sim_round_mode): Likewise.
15221 (__fegetenv): Use thread-local floating-point state.
15222 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15223 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15224 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15225 floating-point state and set global state from it as needed.
15226 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15227 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15228 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15229 Likewise.
15230 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15231 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15232 Likewise.
15233 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15234 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15235 Use __sim_round_mode_thread.
15236 * math/test-fenv-tls.c: New file.
15237 * math/Makefile (tests): Add test-fenv-tls.
15238 ($(objpfx)test-fenv-tls): Depend on
15239 $(common-objpfx)nptl/libpthread.so.
15240
b5449b12
AS
152412013-11-19 Andreas Schwab <schwab@suse.de>
15242
15243 * locale/programs/locale.c (show_info): Decode wordarray elements.
15244 * locale/categories.def (LC_MONETARY): Add element for
15245 _NL_MONETARY_CRNCYSTR.
15246 * locale/C-monetary.c (conversion_rate): New variable.
15247 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15248 element.
15249
e186536b
CM
152502013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15251
15252 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15253 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15254
5c349950
PP
152552013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15256
15257 * elf/Makefile (tst-auxv): New test.
15258 * elf/tst-auxv.c: New
15259 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15260
699df45b
JM
152612013-11-18 Joseph Myers <joseph@codesourcery.com>
15262
15263 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15264 (hidden_proto): Caller changed.
15265 (hidden_tls_proto): New macro.
15266 (libc_hidden_tls_proto): Likewise.
15267 (rtld_hidden_tls_proto): Likewise.
15268 (libm_hidden_tls_proto): Likewise.
15269 (libresolv_hidden_tls_proto): Likewise.
15270 (librt_hidden_tls_proto): Likewise.
15271 (libdl_hidden_tls_proto): Likewise.
15272 (libnss_files_hidden_tls_proto): Likewise.
15273 (libnsl_hidden_tls_proto): Likewise.
15274 (libnss_nisplus_hidden_tls_proto): Likewise.
15275 (libutil_hidden_tls_proto): Likewise.
15276
b7589107
OB
152772013-11-18 Ondřej Bílka <neleai@seznam.cz>
15278
15279 [BZ #10253]
15280 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15281 (decompose_rpath): Defer expansion to fillin_rpath.
15282 (_dl_init_paths): Pass linkmap to fillin_rpath.
15283
250c23bd
RS
152842013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15285
15286 * benchtests/Makefile: Add strsep.
15287 * benchtests/bench-strsep.c: New file: strsep benchtest.
15288 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15289
a7931fcf
AS
152902013-11-18 Andreas Schwab <schwab@suse.de>
15291
15292 * locale/programs/locale.c (show_info) [case byte]: Check for
15293 '\377' instead of '\177'.
15294 * locale/C-monetary.c (not_available): Always use "\377".
15295 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15296 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15297 detect unavailable sign_posn locale elements.
15298 * locale/localeconv.c (__localeconv): For grouping and
15299 mon_grouping handle "\177" and "\377" like no grouping.
15300 (INT_ELEM): New macro. Use it to set all numeric members.
15301 * locale/programs/ld-monetary.c (monetary_read)
15302 <tok_mon_grouping>: Normalize single -1 to the empty string.
15303 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15304 Likewise.
15305
728dab0e
OB
153062013-11-07 Ondřej Bílka <neleai@seznam.cz>
15307
15308 [BZ #16055]
15309 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15310 when we match (nil).
15311 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15312
66294491
JM
153132013-11-16 Joseph Myers <joseph@codesourcery.com>
15314
ce665817
JM
15315 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15316 (NO_TEST_INLINE): Update value.
15317 (ERRNO_UNCHANGED): Likewise.
15318 (ERRNO_EDOM): Likewise.
15319 (ERRNO_ERANGE): Likewise.
15320 (IGNORE_RESULT): Likewise.
15321 (check_float_internal): Check signs of NaN results if
15322 TEST_NAN_SIGN used.
15323 (check_complex): Pass TEST_NAN_SIGN flag through to second
15324 check_float_internal call.
15325 (copysign_test_data): Add tests with quiet NaNs as second
15326 argument. Use TEST_NAN_SIGN.
15327 (fabs_test_data): Add test of negative quiet NaN argument. Use
15328 TEST_NAN_SIGN.
15329 (signbit_test_data): Add tests of quiet NaN argument.
15330 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15331
ee1466a9
JM
15332 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15333 $ignore_result.
15334 (parse_args): Handle function results specified as IGNORE.
15335 * math/libm-test.inc (IGNORE_RESULT): New macro.
15336 (check_float_internal): Do not check numerical result if flag
15337 IGNORE_RESULT set.
15338 (check_complex): Pass through IGNORE_RESULT to second
15339 check_float_internal call.
15340 (check_int): Do not check numerical result if flag IGNORE_RESULT
15341 set.
15342 (check_long): Likewise.
15343 (check_bool): Likewise.
15344 (check_longlong): Likewise.
15345 (lrint_test_data): Add tests of infinite and NaN arguments.
15346 (lrint_tonearest_test_data): Likewise.
15347 (lrint_towardzero_test_data): Likewise.
15348 (lrint_downward_test_data): Likewise.
15349 (lrint_upward_test_data): Likewise.
15350 (llrint_test_data): Likewise.
15351 (llrint_tonearest_test_data): Likewise.
15352 (llrint_towardzero_test_data): Likewise.
15353 (llrint_downward_test_data): Likewise.
15354 (llrint_upward_test_data): Likewise.
15355 (lround_test_data): Likewise.
15356 (llround_test_data): Likewise.
15357
14407b7e
JM
15358 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15359 (ERRNO_UNCHANGED): Update value.
15360 (ERRNO_EDOM): Likewise.
15361 (ERRNO_ERANGE): Likewise.
15362 (NO_TEST_INLINE_FLOAT): New macro.
15363 (NO_TEST_INLINE_DOUBLE): Likewise.
15364 (enable_test): New function.
15365 (RUN_TEST_f_f): Check enable_test before running test.
15366 (RUN_TEST_2_f): Likewise.
15367 (RUN_TEST_fff_f): Likewise.
15368 (RUN_TEST_c_f): Likewise.
15369 (RUN_TEST_f_f1): Likewise.
15370 (RUN_TEST_fF_f1): Likewise.
15371 (RUN_TEST_fI_f1): Likewise.
15372 (RUN_TEST_ffI_f1): Likewise.
15373 (RUN_TEST_c_c): Likewise.
15374 (RUN_TEST_cc_c): Likewise.
15375 (RUN_TEST_f_i): Likewise.
15376 (RUN_TEST_f_i_tg): Likewise.
15377 (RUN_TEST_ff_i_tg): Likewise.
15378 (RUN_TEST_f_b): Likewise.
15379 (RUN_TEST_f_b_tg): Likewise.
15380 (RUN_TEST_f_l): Likewise.
15381 (RUN_TEST_f_L): Likewise.
15382 (RUN_TEST_fFF_11): Likewise.
15383 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15384 conditionals.
15385 (cosh_test_data): Likewise.
15386 (exp_test_data): Likewise.
15387 (expm1_test_data): Likewise.
15388 (hypot_test_data): Likewise.
15389 (pow_test_data): Likewise.
15390 (sinh_test_data): Likewise.
15391 (tanh_test_data): Likewise.
15392 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15393 flags argument.
15394
ca07f197
JM
15395 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15396 tests with quiet NaN input and output.
15397 (acosh_test_data): Likewise.
15398 (asin_test_data): Likewise.
15399 (asinh_test_data): Likewise.
15400 (atan_test_data): Likewise.
15401 (atanh_test_data): Likewise.
15402 (atan2_test_data): Likewise.
15403 (cbrt_test_data): Likewise.
15404 (cos_test_data): Likewise.
15405 (cosh_test_data): Likewise.
15406 (erf_test_data): Likewise.
15407 (erfc_test_data): Likewise.
15408 (exp_test_data): Likewise.
15409 (exp10_test_data): Likewise.
15410 (exp2_test_data): Likewise.
15411 (expm1_test_data): Likewise.
15412 (hypot_test_data): Likewise.
15413 (j0_test_data): Likewise.
15414 (j1_test_data): Likewise.
15415 (jn_test_data): Likewise.
15416 (lgamma_test_data): Likewise.
15417 (log_test_data): Likewise.
15418 (log10_test_data): Likewise.
15419 (log1p_test_data): Likewise.
15420 (log2_test_data): Likewise.
15421 (pow_test_data): Likewise.
15422 (scalb_test_data): Likewise.
15423 (sin_test_data): Likewise.
15424 (sincos_test_data): Likewise.
15425 (sinh_test_data): Likewise.
15426 (tan_test_data): Likewise.
15427 (tanh_test_data): Likewise.
15428 (tgamma_test_data): Likewise.
15429 (y0_test_data): Likewise.
15430 (y1_test_data): Likewise.
15431 (yn_test_data): Likewise.
15432
66294491
JM
15433 [BZ #16167]
15434 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15435 argument being NaN and avoid computations with second argument in
15436 that case.
15437 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15438 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15439 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15440
1820b143
CL
154412013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15442
15443 * locale/iso-639.def: Add Chitwani Tharu (the).
15444
714bd261
AS
154452013-11-14 Andreas Schwab <schwab@suse.de>
15446
15447 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15448 word instead of empty string.
15449
7ab44563
AZ
154502013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15451
15452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15453 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15455 (__fe_nomask_env): Likewise.
15456
e8470ea2
SE
154572013-11-13 Steve Ellcey <sellcey@mips.com>
15458
15459 * benchtests/bench-timing.h: Include time.h.
15460
17c1d9f0
L
154612013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15462
15463 [BZ #15997]
15464 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15465 to 3.4.0 for x32.
15466 * sysdeps/unix/sysv/linux/configure: Regenerated.
15467
9310c284
JM
154682013-11-13 Joseph Myers <joseph@codesourcery.com>
15469
15470 [BZ #16151]
15471 * stdlib/strtod_l.c (round_and_return): Do not consider
15472 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15473 exponent one less than half the least subnormal exponent.
15474 * stdlib/test-strtod-round-data: Add more tests.
15475 * stdlib/tst-strtod-round.c (tests): Regenerated.
15476
7a2ad8cf
AZ
154772013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15478
15479 [BZ #14143]
15480 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15481 (__fe_mask_env): Likewise.
15482 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15483 libm_hidden_proto and add function prototype.
15484 (__fe_mask_env): Add function prototype.
15485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15486 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15488 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15490 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15491
50727aa7
MS
154922013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15493
b2f386c1 15494 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
15495 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15496
a615be46
MS
154972013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15498
15499 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15500 of htab_find_slot().
15501
7ddace62
DM
155022013-11-11 David S. Miller <davem@davemloft.net>
15503
15504 [BZ #16150]
15505 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15506 symbol in the non-vis3 case in static builds.
15507 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15508 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15509 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15510 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15511
9182aa67
JK
155122013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15513
15514 [BZ #387]
15515 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15516 it is empty.
15517
450a2e2d
AZ
155182013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15519
b2f386c1
SP
15520 * benchtests/Makefile: Add bench-strtod.
15521 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 15522
8ec3f656
AS
155232013-11-11 Andreas Schwab <schwab@suse.de>
15524
15525 [BZ #16153]
15526 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15527 terminating NUL in key length.
15528
76a9b998
AZ
155292013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15530
15531 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15532 Add artificial ODP entry for vDSO symbol for PPC64.
15533 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15534 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15535
e4368156
OB
155362013-11-07 Ondřej Bílka <neleai@seznam.cz>
15537
15538 [BZ #15374]
15539 * nss/getent.c (services_keys): Recognize services starting with digit.
15540
8d6bb57c
DM
155412013-11-06 David S. Miller <davem@davemloft.net>
15542
15543 [BZ #15985]
15544 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15545 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15546
e256c421
WN
155472013-11-06 Will Newton <will.newton@linaro.org>
15548
15549 * manual/memory.texi (Malloc Examples): Remove register
15550 keyword from examples.
15551
f6e12daa 155522013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 15553
f6e12daa 15554 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 15555
9d880655
AS
155562013-11-04 Joseph Myers <joseph@codesourcery.com>
15557
fd2f9486 15558 [BZ #6981]
9d880655
AS
15559 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15560 depending on [__GCC_IEC_559 > 0].
15561 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15562 depending on [__GCC_IEC_559_COMPLEX > 0].
15563
ae129d3c
CL
155642013-11-03 Chris Leonard <cjl@sugarlabs.org>
15565
15566 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15567 to iso-639.def.
15568
4a15c2a4 155692013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
15570
15571 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15572
8b35e35d
OB
155732013-11-01 Ondřej Bílka <neleai@seznam.cz>
15574
15575 [BZ #16112]
15576 * malloc/malloc (malloc_info): Do not handle first bin as
15577 special case.
15578
1d70fd6c
CL
155792013-11-01 Chris Leonard <cjl@sugarlabs.org>
15580
15581 * locale/iso-639.def: Add Central Nahuatl (nhn).
15582
8c5c2600
BH
155832013-11-01 Bruno Haible <bruno@clisp.org>
15584
15585 [BZ #7003]
15586 * manual/math.texi (BSD Random): Specify range upper bound as
15587 in POSIX.
15588
da5579c2
CL
155892013-10-31 Chris Leonard <cjl@sugarlabs.org>
15590
15591 * locale/iso-639.def: Add Meadow Mari (mhr).
15592
5d30d853
OB
155932013-10-31 Ondřej Bílka <neleai@seznam.cz>
15594
15595 [BZ #14752], [BZ #15763]
15596 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15597 Validate name.
15598 * rt/tst_shm.c: Add test for escaping directory.
15599
a4966c61
AS
156002013-10-31 Andreas Schwab <schwab@suse.de>
15601
8a43e768 15602 [BZ #15917]
a4966c61
AS
15603 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15604 followed by 'x' as part of digit sequence.
15605 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15606
28d708c4
MAP
156072013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15608
15609 [BZ #16037]
15610 * configure.ac: allow GNU Make 4.0 and greater.
15611 * configure: Regenerated.
15612
a56ee40b
WN
156132013-10-30 Will Newton <will.newton@linaro.org>
15614
15615 [BZ #16038]
15616 * malloc/hooks.c (memalign_check): Limit alignment to the
15617 maximum representable power of two.
15618 * malloc/malloc.c (__libc_memalign): Likewise.
15619 * malloc/tst-memalign.c (do_test): Add test for very
15620 large alignment values.
15621 * malloc/tst-posix_memalign.c (do_test): Likewise.
15622
c6e4925d
OB
156232013-10-30 Ondřej Bílka <neleai@seznam.cz>
15624
15625 [BZ #11087]
15626 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15627 (munmap_chunk): Likewise.
15628 (mremap_chunk): Likewise.
15629
156302013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 15631
8a43e768 15632 [BZ #15799]
bbea82f7
OB
15633 * stdlib/div.c (div): Remove obsolete code.
15634 * stdlib/ldiv.c (ldiv): Likewise.
15635 * stdlib/lldiv.c (lldiv): Likewise.
15636
977f4b31
SP
156372013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15638
15639 [BZ #16071]
15640 * nss/nss_files/files-XXX.c (get_contents_ret): New
15641 enumerator.
15642 (get_contents): New function.
15643 (internal_getent): Use it. Expand size of LINEBUFLEN.
15644
cb8a6dbd
MF
156452013-10-30 Mike Frysinger <vapier@gentoo.org>
15646
15647 * configure.in: Moved to ...
15648 * configure.ac: ... here. Change reference to configure.in
15649 to configure.ac.
15650 * sysdeps/arm/preconfigure.ac: ... here.
15651 configure.in to configure.ac.
15652 * sysdeps/gnu/configure.in: Moved to ...
15653 * sysdeps/gnu/configure.ac: ... here.
15654 * sysdeps/i386/configure.in: Moved to ...
15655 * sysdeps/i386/configure.ac: ... here.
15656 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15657 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15658 * sysdeps/mach/configure.in: Moved to ...
15659 * sysdeps/mach/configure.ac: ... here.
15660 * sysdeps/mach/hurd/configure.in: Moved to ...
15661 * sysdeps/mach/hurd/configure.ac: ... here.
15662 * sysdeps/powerpc/configure.in: Moved to ...
15663 * sysdeps/powerpc/configure.ac: ... here.
15664 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15665 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15666 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15667 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15668 * sysdeps/s390/s390-32/configure.in: Moved to ...
15669 * sysdeps/s390/s390-32/configure.ac: ... here.
15670 * sysdeps/s390/s390-64/configure.in: Moved to ...
15671 * sysdeps/s390/s390-64/configure.ac: ... here.
15672 * sysdeps/sh/configure.in: Moved to ...
15673 * sysdeps/sh/configure.ac: ... here.
15674 * sysdeps/sparc/configure.in: Moved to ...
15675 * sysdeps/sparc/configure.ac: ... here.
15676 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15677 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15678 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15679 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15680 * sysdeps/x86_64/configure.in: Moved to ...
15681 * sysdeps/x86_64/configure.ac: ... here.
15682 * sysdeps/x86_64/preconfigure.in: Moved to ...
15683 * sysdeps/x86_64/preconfigure.ac: ... here.
15684 * aclocal.m4: Change reference to configure.in to configure.ac.
15685 * config.h.in: Likewise.
15686 * manual/install.texi: Likewise.
15687 * manual/maint.texi: Likewise.
15688 * Makefile: Likewise.
15689 * malloc/Makefile: Likewise.
15690 * nscd/Makefile: Likewise.
15691 * Makeconfig: Change reference to configure.in and
15692 preconfigure.in to configure.ac and preconfigure.ac
15693 respectively.
15694 * INSTALL: Regenerated.
15695 * configure: Likewise.
15696 * sysdeps/gnu/configure: Likewise.
15697 * sysdeps/i386/configure: Likewise.
15698 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15699 * sysdeps/mach/configure: Likewise.
15700 * sysdeps/mach/hurd/configure: Likewise.
15701 * sysdeps/powerpc/configure: Likewise.
15702 * sysdeps/powerpc/powerpc32/configure: Likewise.
15703 * sysdeps/powerpc/powerpc64/configure: Likewise.
15704 * sysdeps/s390/s390-32/configure: Likewise.
15705 * sysdeps/s390/s390-64/configure: Likewise.
15706 * sysdeps/sh/configure: Likewise.
15707 * sysdeps/sparc/configure: Likewise.
15708 * sysdeps/unix/sysv/linux/configure: Likewise.
15709 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15710 * sysdeps/x86_64/configure: Likewise.
15711 * sysdeps/x86_64/preconfigure: Likewise.
15712
36a4953a
AS
157132013-10-29 Andreas Schwab <schwab@suse.de>
15714
15715 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15716
c79a1204
SP
157172013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15718
dfa1b402
SP
15719 * benchtests/pow-inputs: Add new inputs.
15720
54f73d9c
SP
15721 * benchtests/exp-inputs: Add new inputs.
15722
c79a1204
SP
15723 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15724 conditional check for return value.
15725 (__cos32): Likewise.
15726
67beb545 157272013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
15728
15729 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15730 to provide a boost for large inputs with word alignment.
15731 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15732 implementation based on optimized PPC64 strcpy.
15733 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15734 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15735 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15736 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15737
151659f6
OB
157382013-10-25 Ondřej Bílka <neleai@seznam.cz>
15739
482a077e 15740 [BZ #2801]
151659f6
OB
15741 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15742
10b0f26b
OB
157432013-10-25 Ondřej Bílka <neleai@seznam.cz>
15744
15745 [BZ #14876]
15746 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15747 * time/tst-strptime.c (day_tests): Add testcase.
15748
ca42d35e
OB
157492013-10-25 Ondřej Bílka <neleai@seznam.cz>
15750
482a077e 15751 [BZ #14029]
ca42d35e
OB
15752 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15753
52e6d801
FB
157542013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15755
15756 [BZ #16074]
15757 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15758 MAP_FAILED on error.
15759
7cbcdb36
SP
157602013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15761
15762 [BZ #16072]
15763 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15764 heap for large requests.
15765
894f3f10
AM
157662013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15767
15768 [BZ #9954]
15769 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15770 result if the result has no associated interface.
15771 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15772 interface for all 127.X.Y.Z addresses.
15773
b85545a6
CL
157742013-10-24 Chris Leonard <cjl@sugarlabs.org>
15775
15776 * locale/iso-639.def: Add Ligurian (lij)
15777
d1f23d46
OB
157782013-10-21 Ondřej Bílka <neleai@seznam.cz>
15779
15780 [BZ #15825]
15781 * sunrpc/rpc_main.c: Document rpcgen -5.
15782
4db5b08f
MS
157832013-10-19 Michael Stahl <mstahl@redhat.com>
15784
15785 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15786
a471e96a
OB
157872013-10-19 Ondřej Bílka <neleai@seznam.cz>
15788
d1f23d46 15789 [BZ #10278]
a471e96a
OB
15790 * posix/glob.c: Match only directories when trailing slash is present.
15791 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15792 (main): Add testcase.
15793
45c30c61
OB
157942013-10-19 Ondřej Bílka <neleai@seznam.cz>
15795
15796 [BZ #15670]
15797 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15798
484c12fb
CD
157992013-10-18 Carlos O'Donell <carlos@redhat.com>
15800
3d7dc513
CD
15801 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15802 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15803 AUTH_DES and cindex for FIPS 140-2.
15804 (DES Encryption): Add cindex FIPS 46-3.
15805
484c12fb
CD
15806 * locale/locarchive.h (struct locarhandle): Add fname.
15807 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15808 if an optional argument was specified to --list-archive,
15809 otherwise NULL.
15810 * locale/programs/locarchive.c (show_archive_content): Take new
15811 argument fname and pass it via ah.fname to open_archive.
15812 * locale/programs/localedef.h: Update decl.
15813 (open_archive): If AH->fname is non-null, open that file
15814 rather than the default file name, and don't ignore ENOENT.
15815 (create_archive): Set AH.fname to NULL.
15816 (delete_locales_from_archive): Likewise.
15817 (add_locales_to_archive): Likewise.
15818 * locale/programs/locfile.c (write_all_categories): Likewise.
15819
3c8325fb
JM
158202013-10-18 Joseph Myers <joseph@codesourcery.com>
15821 Aldy Hernandez <aldyh@redhat.com>
15822
15823 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15824 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15825 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15826 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15827 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15828 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15829 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15830 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15831 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15832 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15833 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15834 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15835 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15836 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15837 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15838 Likewise.
15839 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15840 Likewise.
15841 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15842 Likewise.
15843 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15844 Likewise.
15845 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15846 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15847 Likewise.
15848 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15849 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15850 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15851 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15852 Likewise.
15853 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15854 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15855 * sysdeps/powerpc/preconfigure: Likewise.
15856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15857 Likewise.
15858 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15859 Replace contents of file by #include of <fenv_libc.h>.
15860 * sysdeps/powerpc/soft-fp/sfp-machine.h
15861 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15862 and <sys/prctl.h>.
15863 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15864 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15865 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15866 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15867 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15868 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15870 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15871 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15872 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15873 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15874 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15876 Allow copysignl PLT reference to be missing.
15877
5abe0682
RS
158782013-10-18 Richard Sandiford <richard@codesourcery.com>
15879 Joseph Myers <joseph@codesourcery.com
15880
15881 [BZ #15948]
15882 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15883 single character.
15884 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15885
c7738d08
SP
158862013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15887
15888 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15889 * elf/tst-tls1.c: Likewise.
15890 * elf/tst-tls10.h: Likewise.
15891 * elf/tst-tls14.c: Likewise.
15892 * elf/tst-tls2.c: Likewise.
15893 * elf/tst-tls3.c: Likewise.
15894 * elf/tst-tls4.c: Likewise.
15895 * elf/tst-tls5.c: Likewise.
15896 * elf/tst-tls6.c: Likewise.
15897 * elf/tst-tls7.c: Likewise.
15898 * elf/tst-tls8.c: Likewise.
15899 * elf/tst-tls9.c: Likewise.
15900 * elf/tst-tlsmod1.c: Likewise.
15901 * elf/tst-tlsmod13.c: Likewise.
15902 * elf/tst-tlsmod13a.c: Likewise.
15903 * elf/tst-tlsmod14a.c: Likewise.
15904 * elf/tst-tlsmod16a.c: Likewise.
15905 * elf/tst-tlsmod16b.c: Likewise.
15906 * elf/tst-tlsmod2.c: Likewise.
15907 * elf/tst-tlsmod3.c: Likewise.
15908 * elf/tst-tlsmod4.c: Likewise.
15909 * elf/tst-tlsmod5.c: Likewise.
15910 * elf/tst-tlsmod6.c: Likewise.
15911
0bfcf2c7
OB
159122013-10-18 Ondřej Bílka <neleai@seznam.cz>
15913
15914 [BZ #12486]
15915 * malloc/malloc.c: remove checks for statistics.
15916
264aad1e
OB
159172013-10-17 Ondřej Bílka <neleai@seznam.cz>
15918
15919 [BZ #15277]
15920 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15921 * inet/tst-network.c: Add testcase.
15922
b957ced8
AS
159232013-10-17 Andreas Schwab <schwab@suse.de>
15924
15925 [BZ #15218]
15926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15927 to determine canonical name.
15928
c5d5d574
OB
159292013-10-17 Ondřej Bílka <neleai@seznam.cz>
15930
15931 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15932 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15933 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15934 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15935 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15936 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15937 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15938 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15939 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15940 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15941 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15942 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15943 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15944 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15945 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15946 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15947 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15948 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15949 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15950 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15951 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15952 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15953 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15954 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15955 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15956 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15957 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15958 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15959 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15960 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15961 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15962 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15963 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15964 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15965 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15966 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15967 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15968 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15969 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15970 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15971 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15972 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15973 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15974 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15975 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15976 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15977 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15978 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15979 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15980 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15981 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15982 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15983 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15984 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15985 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15986 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15987 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15988 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15989
e5c2c2d0
JM
159902013-10-17 Joseph Myers <joseph@codesourcery.com>
15991
15992 [BZ #16041]
15993 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15994 make result into a quiet NaN.
15995
51ca9e29
JM
159962013-10-16 Joseph Myers <joseph@codesourcery.com>
15997
15998 * soft-fp/adddf3.c: Fix horizontal whitespace.
15999 * soft-fp/addsf3.c: Likewise.
16000 * soft-fp/addtf3.c: Likewise.
16001 * soft-fp/divdf3.c: Likewise.
16002 * soft-fp/divsf3.c: Likewise.
16003 * soft-fp/divtf3.c: Likewise.
16004 * soft-fp/double.h: Likewise.
16005 * soft-fp/eqdf2.c: Likewise.
16006 * soft-fp/eqsf2.c: Likewise.
16007 * soft-fp/eqtf2.c: Likewise.
16008 * soft-fp/extenddftf2.c: Likewise.
16009 * soft-fp/extended.h: Likewise.
16010 * soft-fp/extendsfdf2.c: Likewise.
16011 * soft-fp/extendsftf2.c: Likewise.
16012 * soft-fp/extendxftf2.c: Likewise.
16013 * soft-fp/fixdfdi.c: Likewise.
16014 * soft-fp/fixdfsi.c: Likewise.
16015 * soft-fp/fixdfti.c: Likewise.
16016 * soft-fp/fixsfdi.c: Likewise.
16017 * soft-fp/fixsfsi.c: Likewise.
16018 * soft-fp/fixsfti.c: Likewise.
16019 * soft-fp/fixtfdi.c: Likewise.
16020 * soft-fp/fixtfsi.c: Likewise.
16021 * soft-fp/fixtfti.c: Likewise.
16022 * soft-fp/fixunsdfdi.c: Likewise.
16023 * soft-fp/fixunsdfsi.c: Likewise.
16024 * soft-fp/fixunsdfti.c: Likewise.
16025 * soft-fp/fixunssfdi.c: Likewise.
16026 * soft-fp/fixunssfsi.c: Likewise.
16027 * soft-fp/fixunssfti.c: Likewise.
16028 * soft-fp/fixunstfdi.c: Likewise.
16029 * soft-fp/fixunstfsi.c: Likewise.
16030 * soft-fp/fixunstfti.c: Likewise.
16031 * soft-fp/floatdidf.c: Likewise.
16032 * soft-fp/floatdisf.c: Likewise.
16033 * soft-fp/floatditf.c: Likewise.
16034 * soft-fp/floatsidf.c: Likewise.
16035 * soft-fp/floatsisf.c: Likewise.
16036 * soft-fp/floatsitf.c: Likewise.
16037 * soft-fp/floattidf.c: Likewise.
16038 * soft-fp/floattisf.c: Likewise.
16039 * soft-fp/floattitf.c: Likewise.
16040 * soft-fp/floatundidf.c: Likewise.
16041 * soft-fp/floatundisf.c: Likewise.
16042 * soft-fp/floatunditf.c: Likewise.
16043 * soft-fp/floatunsidf.c: Likewise.
16044 * soft-fp/floatunsisf.c: Likewise.
16045 * soft-fp/floatunsitf.c: Likewise.
16046 * soft-fp/floatuntidf.c: Likewise.
16047 * soft-fp/floatuntisf.c: Likewise.
16048 * soft-fp/floatuntitf.c: Likewise.
16049 * soft-fp/fmadf4.c: Likewise.
16050 * soft-fp/fmasf4.c: Likewise.
16051 * soft-fp/fmatf4.c: Likewise.
16052 * soft-fp/gedf2.c: Likewise.
16053 * soft-fp/gesf2.c: Likewise.
16054 * soft-fp/getf2.c: Likewise.
16055 * soft-fp/ledf2.c: Likewise.
16056 * soft-fp/lesf2.c: Likewise.
16057 * soft-fp/letf2.c: Likewise.
16058 * soft-fp/muldf3.c: Likewise.
16059 * soft-fp/mulsf3.c: Likewise.
16060 * soft-fp/multf3.c: Likewise.
16061 * soft-fp/negdf2.c: Likewise.
16062 * soft-fp/negsf2.c: Likewise.
16063 * soft-fp/negtf2.c: Likewise.
16064 * soft-fp/op-1.h: Likewise.
16065 * soft-fp/op-2.h: Likewise.
16066 * soft-fp/op-4.h: Likewise.
16067 * soft-fp/op-8.h: Likewise.
16068 * soft-fp/op-common.h: Likewise.
16069 * soft-fp/quad.h: Likewise.
16070 * soft-fp/single.h: Likewise.
16071 * soft-fp/soft-fp.h: Likewise.
16072 * soft-fp/sqrtdf2.c: Likewise.
16073 * soft-fp/sqrtsf2.c: Likewise.
16074 * soft-fp/sqrttf2.c: Likewise.
16075 * soft-fp/subdf3.c: Likewise.
16076 * soft-fp/subsf3.c: Likewise.
16077 * soft-fp/subtf3.c: Likewise.
16078 * soft-fp/truncdfsf2.c: Likewise.
16079 * soft-fp/trunctfdf2.c: Likewise.
16080 * soft-fp/trunctfsf2.c: Likewise.
16081 * soft-fp/trunctfxf2.c: Likewise.
16082 * soft-fp/unorddf2.c: Likewise.
16083 * soft-fp/unordsf2.c: Likewise.
16084 * soft-fp/unordtf2.c: Likewise.
16085
9ebb0332
JM
160862013-10-15 Joseph Myers <joseph@codesourcery.com>
16087
16088 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16089 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16090
4b1a6d8b
OB
160912013-10-15 Ondřej Bílka <neleai@seznam.cz>
16092
16093 * elf/dl-libc.c: Clear initfini list after freeing.
16094
1e145589
JM
160952013-10-14 Joseph Myers <joseph@codesourcery.com>
16096
16097 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16098 * soft-fp/addsf3.c: Likewise.
16099 * soft-fp/addtf3.c: Likewise.
16100 * soft-fp/divdf3.c: Likewise.
16101 * soft-fp/divsf3.c: Likewise.
16102 * soft-fp/divtf3.c: Likewise.
16103 * soft-fp/double.h: Likewise.
16104 * soft-fp/eqdf2.c: Likewise.
16105 * soft-fp/eqsf2.c: Likewise.
16106 * soft-fp/eqtf2.c: Likewise.
16107 * soft-fp/extenddftf2.c: Likewise.
16108 * soft-fp/extended.h: Likewise.
16109 * soft-fp/extendsfdf2.c: Likewise.
16110 * soft-fp/extendsftf2.c: Likewise.
16111 * soft-fp/extendxftf2.c: Likewise.
16112 * soft-fp/fixdfdi.c: Likewise.
16113 * soft-fp/fixdfsi.c: Likewise.
16114 * soft-fp/fixdfti.c: Likewise.
16115 * soft-fp/fixsfdi.c: Likewise.
16116 * soft-fp/fixsfsi.c: Likewise.
16117 * soft-fp/fixsfti.c: Likewise.
16118 * soft-fp/fixtfdi.c: Likewise.
16119 * soft-fp/fixtfsi.c: Likewise.
16120 * soft-fp/fixtfti.c: Likewise.
16121 * soft-fp/fixunsdfdi.c: Likewise.
16122 * soft-fp/fixunsdfsi.c: Likewise.
16123 * soft-fp/fixunsdfti.c: Likewise.
16124 * soft-fp/fixunssfdi.c: Likewise.
16125 * soft-fp/fixunssfsi.c: Likewise.
16126 * soft-fp/fixunssfti.c: Likewise.
16127 * soft-fp/fixunstfdi.c: Likewise.
16128 * soft-fp/fixunstfsi.c: Likewise.
16129 * soft-fp/fixunstfti.c: Likewise.
16130 * soft-fp/floatdidf.c: Likewise.
16131 * soft-fp/floatdisf.c: Likewise.
16132 * soft-fp/floatditf.c: Likewise.
16133 * soft-fp/floatsidf.c: Likewise.
16134 * soft-fp/floatsisf.c: Likewise.
16135 * soft-fp/floatsitf.c: Likewise.
16136 * soft-fp/floattidf.c: Likewise.
16137 * soft-fp/floattisf.c: Likewise.
16138 * soft-fp/floattitf.c: Likewise.
16139 * soft-fp/floatundidf.c: Likewise.
16140 * soft-fp/floatundisf.c: Likewise.
16141 * soft-fp/floatunsidf.c: Likewise.
16142 * soft-fp/floatunsisf.c: Likewise.
16143 * soft-fp/floatuntidf.c: Likewise.
16144 * soft-fp/floatuntisf.c: Likewise.
16145 * soft-fp/floatuntitf.c: Likewise.
16146 * soft-fp/fmadf4.c: Likewise.
16147 * soft-fp/fmasf4.c: Likewise.
16148 * soft-fp/fmatf4.c: Likewise.
16149 * soft-fp/gedf2.c: Likewise.
16150 * soft-fp/gesf2.c: Likewise.
16151 * soft-fp/getf2.c: Likewise.
16152 * soft-fp/ledf2.c: Likewise.
16153 * soft-fp/lesf2.c: Likewise.
16154 * soft-fp/letf2.c: Likewise.
16155 * soft-fp/muldf3.c: Likewise.
16156 * soft-fp/mulsf3.c: Likewise.
16157 * soft-fp/multf3.c: Likewise.
16158 * soft-fp/negdf2.c: Likewise.
16159 * soft-fp/negsf2.c: Likewise.
16160 * soft-fp/negtf2.c: Likewise.
16161 * soft-fp/op-1.h: Likewise.
16162 * soft-fp/op-2.h: Likewise.
16163 * soft-fp/op-4.h: Likewise.
16164 * soft-fp/op-8.h: Likewise.
16165 * soft-fp/op-common.h: Likewise.
16166 * soft-fp/quad.h: Likewise.
16167 * soft-fp/single.h: Likewise.
16168 * soft-fp/soft-fp.h: Likewise.
16169 * soft-fp/sqrtdf2.c: Likewise.
16170 * soft-fp/sqrtsf2.c: Likewise.
16171 * soft-fp/sqrttf2.c: Likewise.
16172 * soft-fp/subdf3.c: Likewise.
16173 * soft-fp/subsf3.c: Likewise.
16174 * soft-fp/subtf3.c: Likewise.
16175 * soft-fp/truncdfsf2.c: Likewise.
16176 * soft-fp/trunctfdf2.c: Likewise.
16177 * soft-fp/trunctfsf2.c: Likewise.
16178 * soft-fp/trunctfxf2.c: Likewise.
16179 * soft-fp/unorddf2.c: Likewise.
16180 * soft-fp/unordsf2.c: Likewise.
16181 * soft-fp/unordtf2.c: Likewise.
16182
17c48a60
OB
161832013-10-14 Ondřej Bílka <neleai@seznam.cz>
16184
16185 [BZ #15672]
16186 * misc/error.c (error_tail): Fix possible buffer overflow.
16187
cabba934
OB
161882013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16189
16190 [BZ #13028]
16191 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16192 address.
16193
94bf958a
PM
161942013-10-14 P. J. McDermott <pj@pehjota.net>
16195
16196 [BZ #832]
16197 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16198 testing pipefail option.
16199
71b4dea7
JM
162002013-10-12 Joseph Myers <joseph@codesourcery.com>
16201
16202 * soft-fp/double.h: Indent preprocessor directives inside #if.
16203 * soft-fp/extended.h: Likewise.
16204 * soft-fp/op-2.h: Likewise.
16205 * soft-fp/op-4.h: Likewise.
16206 * soft-fp/op-common.h: Likewise.
16207 * soft-fp/quad.h: Likewise.
16208 * soft-fp/single.h: Likewise.
16209 * soft-fp/soft-fp.h: Likewise.
16210
55602758
YC
162112013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16212
16213 * iconv/iconv_prog.c: Fix typos.
16214 * stdio-common/psiginfo-data.h: Likewise.
16215
9cd83302
RT
162162013-10-12 Reuben Thomas <rrt@sc3d.org>
16217
16218 [BZ #15764]
16219 * locale/setlocale.c: Fix typo.
16220
99fd9f47
JM
162212013-10-12 Joseph Myers <joseph@codesourcery.com>
16222
b7ea74f0
JM
16223 [BZ #16036]
16224 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16225 signaling NaN arguments.
16226 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16227 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16228
8a509447
JM
16229 [BZ #14910]
16230 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16231 unordered operands.
16232 * soft-fp/gesf2.c (__gesf2): Likewise.
16233 * soft-fp/getf2.c (__getf2): Likewise.
16234 * soft-fp/ledf2.c (__ledf2): Likewise.
16235 * soft-fp/lesf2.c (__lesf2): Likewise.
16236 * soft-fp/letf2.c (__letf2): Likewise.
16237
98998e9f
JM
16238 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16239 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16240 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16241 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16242 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16243 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16244 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16245 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16246 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16247 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16248 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16249 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16250 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16251 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16252 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16253 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16254 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16255 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16256 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16257 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16258 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16259 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16260 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16261 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16262 * soft-fp/floattidf.c (__floattidf): Likewise.
16263 * soft-fp/floattisf.c (__floattisf): Likewise.
16264 * soft-fp/floattitf.c (__floattitf): Likewise.
16265 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16266 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16267 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16268 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16269 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16270 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16271 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16272 * soft-fp/gesf2.c (__gesf2): Likewise.
16273 * soft-fp/getf2.c (__getf2): Likewise.
16274 * soft-fp/ledf2.c (__ledf2): Likewise.
16275 * soft-fp/lesf2.c (__lesf2): Likewise.
16276 * soft-fp/letf2.c (__letf2): Likewise.
16277
8edc4a11
JM
16278 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16279 Undefine and redefine.
16280 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16281 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16282 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16283 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16284 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16285 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16286 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16287 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16288 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16289 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16290 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16291 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16292 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16293 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16294 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16295
8399acaf
JM
16296 [BZ #16032]
16297 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16298 without decrementing exponent if mantissa >= that for the
16299 denominator, not >.
16300 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16301 denominator, not >. Decrement exponent in < case instead of
16302 incrementing in >= case.
16303 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16304 without decrementing exponent if mantissa >= that for the
16305 denominator, not >.
16306
99fd9f47
JM
16307 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16308 computing saturated result for unsigned overflow.
16309
10e1cf6b
SP
163102013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16311 Jeff Law <law@redhat.com>
16312
16313 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16314 (atan2Mp): Add systemtap probe marker.
16315 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16316 (__ieee754_log): Add systemtap probe marker.
16317 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16318 (atanMp): Add systemtap probe marker.
16319 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16320 (tanMp): Add systemtap probe marker.
16321 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16322 (__slowexp): Add systemtap probe marker.
16323 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16324 (__slowpow): Add systemtap probe marker.
16325 * manual/probes.texi: Document probes.
16326
3d110c7c
EB
163272013-10-11 Eric Biggers <ebiggers3@gmail.com>
16328
16329 [BZ #15362]
16330 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16331 written.
16332 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16333 written.
16334 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16335 written to buffer but not flushed.
16336 * libio/iofwrite_u.c: Likewise.
16337 * libio/iopadn.c: Return bytes returned even if EOF was
16338 encountered.
16339 * libio/iowpadn.c: Likewise.
16340 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16341 if _IO_padn does not write the whole buffer.
16342 [!COMPILE_WPRINTF] (PAD): Likewise.
16343
75b4202a
DM
163442013-10-10 David S. Miller <davem@davemloft.net>
16345
16346 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16347 directory block.
16348
6c6352e6
JM
163492013-10-10 Joseph Myers <joseph@codesourcery.com>
16350
33b853c3
JM
16351 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16352 instead of FSF address.
16353 * soft-fp/fixdfti.c: Likewise.
16354 * soft-fp/fixsfti.c: Likewise.
16355 * soft-fp/fixtfti.c: Likewise.
16356 * soft-fp/fixunsdfti.c: Likewise.
16357 * soft-fp/fixunssfti.c: Likewise.
16358 * soft-fp/fixunstfti.c: Likewise.
16359 * soft-fp/floattidf.c: Likewise.
16360 * soft-fp/floattisf.c: Likewise.
16361 * soft-fp/floattitf.c: Likewise.
16362 * soft-fp/floatuntidf.c: Likewise.
16363 * soft-fp/floatuntisf.c: Likewise.
16364 * soft-fp/floatuntitf.c: Likewise.
16365 * soft-fp/trunctfxf2.c: Likewise.
16366
6c6352e6
JM
16367 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16368 * soft-fp/fixdfti.c: Likewise.
16369 * soft-fp/fixsfti.c: Likewise.
16370 * soft-fp/fixtfti.c: Likewise.
16371 * soft-fp/fixunsdfti.c: Likewise.
16372 * soft-fp/fixunssfti.c: Likewise.
16373 * soft-fp/fixunstfti.c: Likewise.
16374 * soft-fp/floattidf.c: Likewise.
16375 * soft-fp/floattisf.c: Likewise.
16376 * soft-fp/floattitf.c: Likewise.
16377 * soft-fp/floatuntidf.c: Likewise.
16378 * soft-fp/floatuntisf.c: Likewise.
16379 * soft-fp/floatuntitf.c: Likewise.
16380 * soft-fp/trunctfxf2.c: Likewise.
16381
3bf78b71
DM
163822013-10-10 David S. Miller <davem@davemloft.net>
16383
16384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16385
6f10289e
JM
163862013-10-10 Joseph Myers <joseph@codsourcery.com>
16387
bd878fc0
JM
16388 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16389 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16390 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16391 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16392 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16393 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16394 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16395
6f10289e
JM
16396 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16397 for NaNs before doing comparisons on argument.
16398 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16399 Likewise.
16400
321e2684
WN
164012013-10-10 Will Newton <will.newton@linaro.org>
16402
16403 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16404 passed to _int_memalign does not overflow.
16405
40fefba1
TR
164062013-10-10 Torvald Riegel <triegel@redhat.com>
16407
16408 * scripts/bench.pl: Add include-sources directive.
16409 * benchtests/README: Update documentation.
16410
2ae21ed2
JM
164112013-10-10 Joseph Myers <joseph@codesourcery.com>
16412
dcc2dd3f
JM
16413 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16414 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16415 instead of FP_INIT_ROUNDMODE.
16416 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16417 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16418
2ae21ed2
JM
16419 [BZ #16034]
16420 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16421 copy class of input value.
16422 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16423 not handle exceptions.
16424 * soft-fp/negsf2.c (__negsf2): Likewise.
16425 * soft-fp/negtf2.c (__negtf2): Likewise.
16426 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16427
cb8f9562
JM
164282013-10-09 Joseph Myers <joseph@codesourcery.com>
16429
16430 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16431 semicolon. From Linux kernel.
16432
5b60c59d
AB
164332013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16434
16435 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16436
b86835ca
YC
164372013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16438
16439 [BZ #156]
16440 * manual/socket.texi: Added statement about buffer
16441 for gethostbyname2_r.
16442
e7044ea7
OB
164432013-10-08 Ondřej Bílka <neleai@seznam.cz>
16444
16445 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16446 Use .p2align directive instead, throughout.
16447 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16448 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16449 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16450 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16451 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16452 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16453 * sysdeps/x86_64/strchr.S: Likewise.
16454 * sysdeps/x86_64/strrchr.S: Likewise.
16455
09544cbc
SP
164562013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16457
88576635
SP
16458 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16459
e7b2d1dd
SP
16460 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16461
09544cbc
SP
16462 * sysdeps/generic/math_private.h (__mpsin1): Remove
16463 declaration.
16464 (__mpcos1): Likewise.
16465 (__mpsin): New argument __range_reduce.
16466 (__mpcos): Likewise.
16467 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16468 (slow): Use __mpsin and __mpcos.
16469 (slow1): Likewise.
16470 (slow2): Likewise.
16471 (sloww): Likewise.
16472 (sloww1): Likewise.
16473 (sloww2): Likewise.
16474 (bsloww): Likewise.
16475 (bsloww1): Likewise.
16476 (bsloww2): Likewise.
16477 (cslow2): Likewise.
16478 (csloww): Likewise.
16479 (csloww1): Likewise.
16480 (csloww2): Likewise.
16481 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16482 range_reduce. Merge in __mpsin1.
16483 (__mpcos): Likewise.
16484 (__mpsin1): Remove.
16485 (__mpcos1): Likewise.
16486
7602d070
JM
164872013-10-07 Joseph Myers <joseph@codesourcery.com>
16488
16489 * locale/loadlocale.c (_nl_intern_locale_data): Use
16490 LOCFILE_ALIGNED_P.
16491 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16492 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16493 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16494 obstack data is appropriately aligned.
16495 (obstack_int32_grow_fast): Likewise.
16496 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16497 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16498 (add_locale_uint32_array): Likewise.
16499
a357259b
SP
165002013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16501
16502 * benchtests/Makefile: Remove ARGLIST and RET variables.
16503 ($(objpfx)bench-%.c): Pass only function name to the script.
16504 * benchtests/README: Update documentation.
16505 * benchtests/acos-inputs: Add new directives.
16506 * benchtests/acosh-inputs: Likewise.
16507 * benchtests/asin-inputs: Likewise.
16508 * benchtests/asinh-inputs: Likewise.
16509 * benchtests/atan-inputs: Likewise.
16510 * benchtests/atanh-inputs: Likewise.
16511 * benchtests/cos-inputs: Likewise.
16512 * benchtests/cosh-inputs: Likewise.
16513 * benchtests/exp-inputs: Likewise.
16514 * benchtests/log-inputs: Likewise.
16515 * benchtests/pow-inputs: Likewise.
16516 * benchtests/rint-inputs: Likewise.
16517 * benchtests/sin-inputs: Likewise.
16518 * benchtests/sinh-inputs: Likewise.
16519 * benchtests/tan-inputs: Likewise.
16520 * benchtests/tanh-inputs: Likewise.
16521 * scripts/bench.pl: Add support for new directives.
16522
9ec1b13d
AM
165232013-10-07 Alan Modra <amodra@gmail.com>
16524
16525 * README: Fix careless merge.
16526
8b7d57cd
AM
165272013-10-05 Alan Modra <amodra@gmail.com>
16528
16529 * NEWS: Mention powerpc64le support and bugs fixed.
16530 * README: Both big-endian and little-endian powerpc64 supported.
16531
7b7bab13
ST
165322013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16533
57f41c40
AS
16534 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16535 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
16536 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16537 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16538
d39baad1
RA
165392013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16540
16541 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16542 match prototype.
16543
cd78f7e7
JM
165442013-10-04 Joseph Myers <joseph@codesourcery.com>
16545
29d73d86
JM
16546 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16547 Move -mhard-float appending from
16548 ports/sysdeps/powerpc/powerpc32/Makefile.
16549 [$(with-fp) = yes] (ASFLAGS): Likewise.
16550 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16551 * sysdeps/powerpc/nofpu: Move directory from
16552 ports/sysdeps/powerpc/nofpu.
16553 * sysdeps/powerpc/soft-fp: Move directory from
16554 ports/sysdeps/powerpc/soft-fp.
16555 * sysdeps/powerpc/powerpc32/405: Move directory from
16556 ports/sysdeps/powerpc/powerpc32/405.
16557 * sysdeps/powerpc/powerpc32/440: Move directory from
16558 ports/sysdeps/powerpc/powerpc32/440.
16559 * sysdeps/powerpc/powerpc32/464: Move directory from
16560 ports/sysdeps/powerpc/powerpc32/464.
16561 * sysdeps/powerpc/powerpc32/476: Move directory from
16562 ports/sysdeps/powerpc/powerpc32/476.
16563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16564 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16566 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16568 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16570 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16572 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16573 * README: Update for powerpc-*-linux-gnu software floating point
16574 support in libc.
16575
e246b347
JM
16576 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16577 case to powerpc/powerpc32*.
16578 * sysdeps/unix/sysv/linux/configure: Regenerated.
16579
89c2003e
JM
16580 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16581 (_FPU_MASK_OM): Define as 0x04.
16582 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16583 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16584 0x00c10080.
16585 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16586 0x0000003c.
16587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16588
cd78f7e7
JM
16589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16590 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16591 getcontext_e500.
16592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16593 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16594 setcontext_e500.
16595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16596 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16597 and setcontext_e500.
16598
c755294d
CL
165992013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16600
16601 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16602
e16d221c
SP
166032013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16604
16605 * manual/threads.texi (Default Thread Attributes): Fix typo.
16606
215c7d43
WN
166072013-10-04 Will Newton <will.newton@linaro.org>
16608
16609 * malloc/Makefile: Add tst-memalign.
16610 * malloc/tst-memalign.c: New file.
16611
27d0461b
WN
16612 * malloc/tst-posix_memalign.c: Add comments.
16613 (do_test): Add comments and call free on all potentially
16614 allocated pointers. Add space after cast.
16615
1bc92709
WN
16616 * malloc/tst-pvalloc.c: Add comments.
16617 (do_test): Add comments and call free on all potentially
16618 allocated pointers. Remove duplicate check for NULL pointer.
16619 Add space after cast.
16620
66a9be9d
WN
16621 * malloc/tst-valloc.c: Add comments.
16622 (do_test): Add comments and call free on all potentially
16623 allocated pointers. Remove duplicate check for NULL pointer.
16624 Add space after cast.
16625
4cb81307
AM
166262013-10-04 Alan Modra <amodra@gmail.com>
16627
16628 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16629 Use stdint types in rather than __attribute__((mode())).
16630 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16631
f8e3e9f3
AM
166322013-10-04 Alan Modra <amodra@gmail.com>
16633
16634 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16635 Correct handling of unaligned relocs for little-endian.
16636 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16637
8f9ebb08
AM
166382013-10-04 Alan Modra <amodra@gmail.com>
16639
16640 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16641 * configure: Regenerate.
16642 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16643 * shlib-versions: Likewise.
16644
0edf96c2
AM
166452013-10-04 Alan Modra <amodra@gmail.com>
16646
16647 * string/tester.c (test_memrchr): Increment reported test cycle.
16648
e0f7a380
AM
166492013-10-04 Alan Modra <amodra@gmail.com>
16650
16651 * string/test-memcpy.c (do_one_test): When reporting errors, print
16652 string address and don't overrun end of string.
16653
466b0393
AM
166542013-10-04 Alan Modra <amodra@gmail.com>
16655
16656 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16657 insrdi. Make better use of reg selection to speed exit slightly.
16658 Schedule entry path a little better. Remove useless "are we done"
16659 checks on entry to main loop. Handle wrapping around zero address.
16660 Correct main loop count. Handle single left-over word from main
16661 loop inline rather than by using loop_small. Remove extra word
16662 case in loop_small caused by wrong loop count. Add little-endian
16663 support.
16664 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16665 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16666 cache hint.
16667 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16668 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16669 support. Avoid rlwimi.
16670 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16671
3be87c77
AM
166722013-10-04 Alan Modra <amodra@gmail.com>
16673
16674 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 16675 insrdi. Formatting.
3be87c77
AM
16676 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16677 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16678 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16679 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16680 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16681 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16682
759cfef3
AM
166832013-10-04 Alan Modra <amodra@gmail.com>
16684
16685 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16686 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16687 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16688 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16689 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16690 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16691 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16692 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16693 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16694 use of regs. Use power7 mtocrf. Tidy function tails.
16695
fe6e95d7
AM
166962013-10-04 Alan Modra <amodra@gmail.com>
16697
16698 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16699 Formatting. Consistently use rXXX register defines or rN defines.
16700 Use early exit labels that avoid restoring unused non-volatile regs.
16701 Make cr field use more consistent with rWORDn compares. Rename
16702 regs used as shift registers for unaligned loop, using rN defines
16703 for short lifetime/multiple use regs.
16704 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16705 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16706 addi 1,1,64 to pop stack frame. Simplify return value code.
16707 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16708
664318c3
AM
167092013-10-04 Alan Modra <amodra@gmail.com>
16710
16711 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16712 support. Correct typos, formatting. Optimize tail. Use insrdi
16713 rather than rlwimi.
16714 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16715 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16716 little-endian support. Correct typos.
16717 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16718 rather than rlwimi.
16719 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16720 in loop and entry code to keep "and." results.
16721 (strchr): Add little-endian support. Comment. Move cntlzd
16722 earlier in tail.
16723 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16724
43b84013
AM
167252013-10-04 Alan Modra <amodra@gmail.com>
16726
16727 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16728 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16729 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16730 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16731
8a7413f9
AM
167322013-10-04 Alan Modra <amodra@gmail.com>
16733
16734 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16735 (rTMP): Define as r11.
16736 (strcmp): Add little-endian support. Optimise tail.
16737 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16738 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16739 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16740 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16741 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16742 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16743 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16744
33ee81de
AM
167452013-10-04 Alan Modra <amodra@gmail.com>
16746
16747 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16748 little-endian support. Remove unnecessary "are we done" tests.
16749 Handle "s" wrapping around zero and extremely large "size".
16750 Correct main loop count. Handle single left-over word from main
16751 loop inline rather than by using small_loop. Correct comments.
16752 Delete "zero" tail, use "end_max" instead.
16753 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16754
db9b4570
AM
167552013-10-04 Alan Modra <amodra@gmail.com>
16756
16757 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16758 support. Don't branch over align.
16759 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16760 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16761 support. Rearrange tmp reg use to suit. Comment.
16762 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16763
f7c399cf
AM
167642013-10-04 Alan Modra <amodra@gmail.com>
16765
16766 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16767
0b2c2ace
AM
167682013-10-04 Alan Modra <amodra@gmail.com>
16769
16770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16771 conditional form of branch and link when obtaining pc.
16772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16773
02f04a6c
AM
167742013-10-04 Alan Modra <amodra@gmail.com>
16775
16776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16777 HIWORD/LOWORD.
16778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16780
9b874b2f
AM
167812013-10-04 Alan Modra <amodra@gmail.com>
16782
16783 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16784 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16785 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16786 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16787 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16788 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16789 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16790 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16791 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16792 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16793
be1e5d31
AB
167942013-10-04 Anton Blanchard <anton@au1.ibm.com>
16795 Alistair Popple <alistair@ozlabs.au.ibm.com>
16796 Alan Modra <amodra@gmail.com>
16797
16798 [BZ #15723]
16799 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16800 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16801 _dl_hwcap access for little-endian.
16802 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16803 destroy vmx regs when saving unaligned.
16804 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16805 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16806 destroy vmx regs when saving unaligned.
16807
fef13a78
AM
168082013-10-04 Alan Modra <amodra@gmail.com>
16809
16810 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16811 Don't use a union to pack hi/low value.
16812
76a66d51
AB
168132013-10-04 Anton Blanchard <anton@au1.ibm.com>
16814
16815 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16816 for little-endian.
16817 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16818 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16819 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16820 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16821 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16822
6a31fe7f
AM
168232013-10-04 Alan Modra <amodra@gmail.com>
16824
16825 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16826 constants to usual value for .cst8 section, and remove redundant
16827 high address load.
16828 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16829 constant for 0x1p52. Load little-endian words of double from
16830 correct stack offsets.
16831
7b88401f
AM
168322013-10-04 Alan Modra <amodra@gmail.com>
16833
16834 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16835 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16836 words of double from correct stack offsets.
16837 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16838 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16839 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16840 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16841 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16842 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16843 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16844 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16845 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16846 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16847 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16848 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16849 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16850 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16851 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16852 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16853 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16854
9c008155
AM
168552013-10-04 Alan Modra <amodra@gmail.com>
16856
16857 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16858 64-bit int/double union.
16859 (_FPU_SETCW): Likewise.
16860 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16861 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16862
da13146d
AM
168632013-10-04 Alan Modra <amodra@gmail.com>
16864
16865 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16866 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16867
603e8410
AM
168682013-10-04 Alan Modra <amodra@gmail.com>
16869
16870 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16871 use vector int constants.
16872 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16873
4a28b3ca
AB
168742013-10-04 Anton Blanchard <anton@au1.ibm.com>
16875
16876 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16877 array with long long.
16878 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16879 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16880 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16881 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16882 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16883 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16884 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16885 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16886 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16887 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16888 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16889 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16890 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16891
2ca85d2b
AB
168922013-10-04 Anton Blanchard <anton@au1.ibm.com>
16893
16894 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16895 (__signbit): Likewise. Correct for little-endian.
16896 (__signbitl): Call __signbit.
16897 (lrint): Correct for little-endian.
16898 (lrintf): Call lrint.
16899
62a728ae
AM
169002013-10-04 Alan Modra <amodra@gmail.com>
16901
16902 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16903 union 32-bit int array member with 64-bit int array.
16904 (t515, tm256): Double rather than long double.
16905 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16906
32c301df
AM
169072013-10-04 Alan Modra <amodra@gmail.com>
16908
16909 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16910 Delete.
16911 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16912 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16913 version of math_ldbl.h.
16914
650ef4bd
AM
169152013-10-04 Alan Modra <amodra@gmail.com>
16916
16917 [BZ #15734], [BZ #15735]
16918 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16919 all uses of ieee875 long double macros and unions. Simplify test
16920 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16921 ldbl_extract_mantissa value for ix,iy exponents. Properly
16922 normalize after ldbl_extract_mantissa, and don't add hidden bit
16923 already handled. Don't treat low word of ieee854 mantissa like
16924 low word of IBM long double and mask off bit when testing for
16925 zero.
16926 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16927 all uses of ieee875 long double macros and unions. Simplify tests
16928 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16929 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16930 two1022, instead use their values. Recognise that tests for large
16931 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16932 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16933 Rewrite all uses of ieee875 long double macros and unions. Simplify
16934 test for 0.0L and nan. Correct negation.
16935 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16936 ieee875 long double macros and unions. Correct output for large
16937 magnitude x. Correct absolute value calculation.
16938 (__erfcl): Likewise.
16939 * math/libm-test.inc: Add tests for errors discovered in IBM long
16940 double versions of fmodl, remainderl, erfl and erfcl.
16941
765714ca
AM
169422013-10-04 Alan Modra <amodra@gmail.com>
16943
16944 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16945 all uses of ieee854 long double macros and unions. Simplify tests
16946 for long doubles that are fully specified by the high double.
16947 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16948 Likewise.
16949 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16950 Remove dead code too.
16951 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16952 (__ieee754_ynl): Likewise.
16953 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16954 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16955 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16956 Remove dead code too.
16957 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16958 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16959 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16960 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16961 Simplify.
16962 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16963 Simplify.
16964 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16965 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16966 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16967 Comment on variable precision.
16968 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16969 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16970 Likewise.
16971 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16972 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16973 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16974 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16975 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16976
4ebd120c
AM
169772013-10-04 Alan Modra <amodra@gmail.com>
16978
16979 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16980 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16981 all uses of ieee854 long double macros and unions.
16982 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16983 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16984 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16985 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16986 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16987 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16988 Likewise.
16989 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16990 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16991 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16992 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16993 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16994 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16995 Simplify sign and nan test too.
16996 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16997 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16998 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16999 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17000 Likewise.
17001 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17002 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17003 Likewise.
17004 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17005 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17006 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17007 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17008 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17009 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17010
1b6adf88
AM
170112013-10-04 Alan Modra <amodra@gmail.com>
17012
17013 * stdio-common/printf_size.c (__printf_size): Don't use
17014 union ieee854_long_double in fpnum union.
17015 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
17016 signbit macro to retrieve sign from long double.
17017 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17018 retrieve sign from long double.
17019 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17020 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17021 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17022 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17023 * math/test-misc.c (main): Don't use union ieee854_long_double.
17024
4cf69995
AM
170252013-10-04 Alan Modra <amodra@gmail.com>
17026
17027 [BZ #15680]
17028 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17029 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17030 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17031 calculation. Remove unnecessary test for denormal exponent.
17032 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17033 Correct handling of denormals. Avoid undefined shift behaviour.
17034 Correct normalisation of low mantissa when low double is denormal.
17035 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17036 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17037 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17038 Correct normalisation of low mantissa. Test for overflow of high
17039 mantissa and normalise.
17040 (ldbl_nearbyint): Use more readable constant for two52.
17041 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17042 (__mpn_construct_long_double): Fix test for overflow of high
17043 mantissa and correct normalisation. Avoid undefined shift.
17044
9605ca6c
AM
170452013-10-04 Alan Modra <amodra@gmail.com>
17046
17047 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17048 (union ibm_extended_long_double): Define as an array of ieee754_double.
17049 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17050 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17051 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17052 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17053 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17054 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17055 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17056 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17057 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17058 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17059 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17060
975569d0
JM
170612013-10-03 Joseph Myers <joseph@codesourcery.com>
17062
d3d23756
JM
17063 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17064 page size instead of calling getpagesize.
17065
975569d0
JM
17066 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17067 (LOCFILE_ALIGN_MASK): Likewise.
17068 (LOCFILE_ALIGN_UP): Likewise.
17069 (LOCFILE_ALIGNED_P): Likewise.
17070 * locale/programs/ld-collate.c (collate_output): Use the new
17071 macros instead of __alignof__ (int32_t).
17072 * locale/weight.h (findidx): Likewise.
17073
b1fe1f2b
OB
170742013-10-03 Ondřej Bílka <neleai@seznam.cz>
17075
17076 [BZ #431]
17077 * manual/string.texi: Fix strncat and wcsncat.
17078
5f855e35
BM
170792013-10-03 Brooks Moses <bmoses@google.com>
17080
17081 [BZ #15915]
17082 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17083 * Makerules: ...here, and adjust associated comments.
17084
3cef6009
WN
170852013-10-02 Will Newton <will.newton@linaro.org>
17086
17087 * malloc/Makefile: Add tst-pvalloc.
17088 * malloc/tst-pvalloc.c: New file.
17089
7815420b
WN
170902013-10-02 Will Newton <will.newton@linaro.org>
17091
17092 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17093 improve test coverage.
17094
4868b204
WN
170952013-10-02 Will Newton <will.newton@linaro.org>
17096
17097 * malloc/Makefile: Add tst-posix_memalign.
17098 * malloc/tst-posix_memalign.c: New file.
17099
29c793b3
EB
171002013-10-01 Eric Blake <eblake@redhat.com>
17101
17102 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17103 Use __THROWNL rather than __THROW on static functions.
17104
fd967522
PM
171052013-09-30 Petr Machata <pmachata@redhat.com>
17106
17107 * elf/elf.h (R_AARCH64_ABS16): New macro.
17108 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17109 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17110 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17111 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17112 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17113 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17114 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17115 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17116 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17117 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17118 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17119 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17120 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17121 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17122 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17123 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17124 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17125 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17126 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17127 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17128 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17129 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17130 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17131 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17132 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17133 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17134 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17135 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17136 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17137 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17138 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17139 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17140 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17141 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17142 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17143 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17144 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17145 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17146 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17147 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17148 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17149 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17150 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17151 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17152 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17153 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17154 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17155 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17156 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17157 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17158 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17159 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17160 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17161 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17162 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17163 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17164 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17165 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17166 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17167 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17168 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17169 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17170 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17171 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17172 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17173 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17174 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17175 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17176 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17177 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17178 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17179 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17180 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17181 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17182 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17183 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17184 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17185 (R_AARCH64_TLSDESC_LDR): Likewise.
17186 (R_AARCH64_TLSDESC_ADD): Likewise.
17187 (R_AARCH64_TLSDESC_CALL): Likewise.
17188
b2179107
AS
171892013-09-30 Andreas Schwab <schwab@suse.de>
17190
17191 [BZ #15048]
17192 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17193 the nss database lookup.
17194 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17196
47f28d0a
MF
171972013-09-28 Mike Frysinger <vapier@gentoo.org>
17198
17199 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17200
172012013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
17202
17203 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17204 ${Bash-specific parameter/pattern/string} parameter expansion.
17205 * sysdeps/unix/make-syscalls.sh: Likewise.
17206
f4518a17
KK
172072013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17208
17209 * sysdeps/sh/stackguard-macros.h: New file.
17210
dc1a95c7
OB
172112013-09-26 Ondřej Bílka <neleai@seznam.cz>
17212
17213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17215 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17216 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17217 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17218 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17219
5ebbff8f
AZ
172202013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17221
17222 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17223 Fix thread ID register.
17224
4fd2cf9f
JM
172252013-09-25 Joseph Myers <joseph@codesourcery.com>
17226
17227 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17228 [POSIX || UNIX98]: Require rather than permitting all symbols from
17229 <time.h>.
17230 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17231 element of struct sched_param.
17232 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17233 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17234 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17235 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17236 constant.
17237
12c22bc4
OL
172382013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17239
17240 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17241 argument calculation.
17242
a03d8ea7
JM
172432013-09-24 Joseph Myers <joseph@codesourcery.com>
17244
17245 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17246 Expect macro.
17247 [POSIX] (pthread_attr_t): Do not require type.
17248 [POSIX] (pthread_cond_t): Likewise.
17249 [POSIX] (pthread_condattr_t): Likewise.
17250 [POSIX] (pthread_key_t): Likewise.
17251 [POSIX] (pthread_mutex_t): Likewise.
17252 [POSIX] (pthread_mutexattr_t): Likewise.
17253 [POSIX] (pthread_once_t): Likewise.
17254 [POSIX] (pthread_t): Likewise.
17255 [POSIX-based standards] (pthread_atfork): Expect function.
17256
6055173a
JM
172572013-09-24 Joseph Myers <joseph@codesourcery.com>
17258 Richard Sandiford <richard@codesourcery.com>
17259
17260 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17261 (swap_endianness_p): New extern variable.
17262 (set_big_endian): New inline function.
17263 (maybe_swap_uint32): Likewise.
17264 (maybe_swap_uint32_array): Likewise.
17265 (maybe_swap_uint32_obstack): Likewise.
17266 * locale/programs/locfile.c: Include <stdbool.h>.
17267 (swap_endianness_p): New variable.
17268 (add_locale_uint32): Call maybe_swap_uint32.
17269 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17270 (write_locale_data): Call maybe_swap_uint32_array.
17271 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17272 maybe_swap_uint32.
17273 (obstack_int32_grow_fast): Likewise.
17274 (output_weightwc): Call maybe_swap_uint32_obstack.
17275 (collate_output): Likewise.
17276 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17277 (OPT_LITTLE_ENDIAN): Likewise.
17278 (options): Add --little-endian and --big-endian options.
17279 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17280 * locale/programs/locarchive.c: Include "locfile.h".
17281 (GET): New macro.
17282 (SET): Likewise.
17283 (INC): Likewise.
17284 (create_archive): Use the new macros to access fields of
17285 structures directly mapped from or written to locale archives.
17286 (oldlocrecentcmp): Likewise.
17287 (enlarge_archive): Likewise.
17288 (insert_name): Likewise.
17289 (add_alias): Likewise.
17290 (add_locale): Likewise.
17291 (delete_locales_from_archive): Likewise.
17292 (show_archive_content): Likewise.
17293 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17294 locale data.
17295
39bf0bb4
RM
172962013-09-24 Roland McGrath <roland@hack.frob.com>
17297
17298 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17299 http://www.gnu.org/doc/freemanuals.texi.
17300 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17301
f02eed10
WN
173022013-09-24 Will Newton <will.newton@linaro.org>
17303
17304 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17305 macro.
17306
a3a6c312
JM
173072013-09-23 Joseph Myers <joseph@codesourcery.com>
17308
17309 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17310 unsigned char.
17311
107375ac
MR
173122013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17313
17314 * manual/threads.texi (POSIX Threads): Fix a typo.
17315
141f3a77
SP
173162013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17317
303e567a
SP
17318 [BZ #14547]
17319 * string/tst-strcoll-overflow.c: New test case.
17320 * string/Makefile (xtests): Add tst-strcoll-overflow.
17321 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17322 cache if string sizes may cause integer overflow.
17323
141f3a77
SP
17324 [BZ #14547]
17325 * string/strcoll_l.c (coll_seq): New members rule, idx,
17326 save_idx and back_us.
17327 (get_next_seq_nocache): New function.
17328 (do_compare_nocache): New function.
17329 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17330 when malloc fails.
17331
c61b4d41
CD
173322013-09-23 Carlos O'Donell <carlos@redhat.com>
17333
0b1f8e35
CD
17334 [BZ #15754]
17335 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17336 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17337 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17338
c61b4d41
CD
17339 [BZ #15754]
17340 * elf/Makefile (tests): Add tst-ptrguard1.
17341 (tests-static): Add tst-ptrguard1-static.
17342 (tst-ptrguard1-ARGS): Define.
17343 (tst-ptrguard1-static-ARGS): Define.
17344 * elf/tst-ptrguard1.c: New file.
17345 * elf/tst-ptrguard1-static.c: New file.
17346 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17347 * sysdeps/i386/stackguard-macros.h: Likewise.
17348 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17349 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17350 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17351 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17352 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17353 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17354
173552013-09-23 Hector Marco <hecmargi@upv.es>
17356 Ismael Ripoll <iripoll@disca.upv.es>
17357 Carlos O'Donell <carlos@redhat.com>
17358
17359 [BZ #15754]
17360 * sysdeps/generic/stackguard-macros.h: Define
17361 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17362 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17363 Define __pointer_chk_guard_local.
17364 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17365 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17366
f5f4e7b4
VV
173672013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17368
17369 [BZ #15859]
17370 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17371
5bb43a43
AS
173722013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17373
17374 * include/string.h (__ffs): Declare as hidden.
17375 * string/ffs.c (__ffs): Define as hidden.
17376 * sysdeps/i386/ffs.c (__ffs): Likewise.
17377 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17378 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17379 * sysdeps/s390/ffs.c (__ffs): Likewise.
17380 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17381
3ea5be54
AO
173822013-09-20 Alexandre Oliva <aoliva@redhat.com>
17383
ffb89e53
AO
17384 * NEWS: Mention malloc probes.
17385
322dea08
AO
17386 * malloc/arena.c (new_heap): New memory_heap_new probe.
17387 (grow_heap): New memory_heap_more probe.
17388 (shrink_heap): New memory_heap_less probe.
17389 (heap_trim): New memory_heap_free probe.
17390 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17391 (systrim): New memory_sbrk_less probe.
17392 * manual/probes.texi: Document them.
17393
655673f3
AO
17394 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17395 * manual/probes.texi: Document it.
17396
35fed6f1
AO
17397 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17398 (__libc_realloc): Add memory_realloc_retry probe.
17399 (__libc_memalign): Add memory_memalign_retry probe.
17400 (__libc_valloc): Add memory_valloc_retry probe.
17401 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17402 (__libc_calloc): Add memory_calloc_retry probe.
17403 * manual/probes.texi: Document them.
17404
6999d38c
AO
17405 * malloc/arena.c (get_free_list): Add probe
17406 memory_arena_reuse_free_list.
17407 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17408 and memory_arena_reuse.
17409 (arena_get2) [!PER_THREAD]: Likewise.
17410 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17411 memory_arena_reuse_realloc.
17412 * manual/probes.texi: Document them.
17413
0653427f
AO
17414 * malloc/malloc.c (__libc_free): Add
17415 memory_mallopt_free_dyn_thresholds probe.
17416 (__libc_mallopt): Add multiple memory_mallopt probes.
17417 * manual/probes.texi: Document them.
17418
3ea5be54
AO
17419 * malloc/malloc.c: Include stap-probe.h.
17420 (__libc_mallopt): Add memory_mallopt probe.
17421 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17422 * manual/probes.texi: New.
17423 * manual/Makefile (chapters): Add probes.
17424 * manual/threads.texi: Set next node.
17425
e35696c3 174262013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 17427
e35696c3
CL
17428 [BZ #15963, #13985]
17429 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17430 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17431 Add `Chinese' to `nan' entry name.
17432
4aafb73c
SP
174332013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17434
17435 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17436 (POLYNOMIAL): Likewise.
17437 (TAYLOR_SINCOS): Likewise.
17438 (TAYLOR_SLOW): Likewise.
17439 (__sin): Use TAYLOR_SINCOS.
17440 (__cos): Likewise.
17441 (slow): Use TAYLOR_SLOW.
17442 (sloww): Likewise.
17443 (bsloww): Likewise.
17444 (csloww): Likewise.
17445
d84f25c7
LD
174462013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17447
17448 * stdlib/strtod_l.c: Fix buffer overrun.
17449
5eea0404
SP
174502013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17451
7849ff93
SP
17452 * benchtests/Makefile (bench): Add sincos.
17453 * benchtests/bench-sincos.c: New file.
17454
cfa3c886
SP
17455 * math/libm-test.inc (cos_test_data): New test inputs.
17456 (sin_test_data): Likewise.
17457
b348e1e3
SP
17458 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17459 macro.
17460 (__sin): Use it.
17461 (__cos): Likewise.
17462 (slow1): Likewise.
17463 (slow2): Likewise.
17464 (sloww1): Likewise.
17465 (sloww2): Likewise.
17466 (bsloww1): Likewise.
17467 (bsloww2): Likewise.
17468 (cslow2): Likewise.
17469 (csloww1): Likewise.
17470 (csloww2): Likewise.
17471
6cce25f8
SP
17472 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17473 function.
17474 (__sin): Use it.
17475 (__cos): Likewise.
17476
5eea0404
SP
17477 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17478 gotos.
17479 (__cos): Likewise.
17480
9c21573c
MR
174812013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17482
17483 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17484 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17485 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17486 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17487 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17488 * elf/cache.c (print_entry): Handle the new cache flags.
17489
24d22e65
JM
174902013-09-18 Joseph Myers <joseph@codesourcery.com>
17491 Aldy Hernandez <aldyh@redhat.com>
17492
17493 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17494 Change condition to [_SOFT_FLOAT].
17495 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17496 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17497 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17498 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17499 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17500 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17501 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17502 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17503 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17504 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17505 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17506 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17507 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17508 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17509 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17510 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17511 declaration.
17512
d13ef066
JM
175132013-09-18 Joseph Myers <joseph@codesourcery.com>
17514
2e071de0
JM
17515 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17516 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17517 (__longjmp): Use LOAD_GP to load saved GPRs.
17518 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17519 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17520 (__sigsetjmp): Use SAVE_GP to save GPRs.
17521
d13ef066
JM
17522 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17523 Do not append -msoft-float.
17524 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17525
97a0650b
SP
175262013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17527
17528 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17529
11ca09e9
JM
175302013-09-17 Joseph Myers <joseph@codesourcery.com>
17531
17532 [BZ #15966]
17533 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17534 (_FPU_GETCW): Use initial "__" on variable and field names but not
17535 on macro parameter name.
17536 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17537 parentheses around reference to macro parameter.
17538
08ffcf34
RS
175392013-09-13 Richard Sandiford <richard@codesourcery.com>
17540
17541 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17542 prototype.
17543 (ctype_startup): Use uint32_t in cast and sizeof for
17544 ctype->charnames.
17545
ae7080d3
JL
175462013-09-11 Jia Liu <proljc@gmail.com>
17547
17548 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17549 __daddr_t_defined.
17550 [__FreeBSD__]: Likewise.
17551
5905e7b3
OB
175522013-09-11 Ondřej Bílka <neleai@seznam.cz>
17553
17554 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17555 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17556 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17557 (strchr): Remove __strchr_sse42 ifunc selection.
17558 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17559 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17560
b987c776
WN
175612013-09-11 Will Newton <will.newton@linaro.org>
17562
17563 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17564 parameter to RES. Remove hardcoded 1000 value.
17565 * benchtests/bench-skeleton.c (main): Pass RES parameter
17566 to TIMING_INIT and multiply result by 1000.
17567
ddf985af
AZ
175682013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17569
17570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17571
ffdd3181
AS
175722013-09-11 Andreas Schwab <schwab@suse.de>
17573
17574 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17575 if not defined.
17576 (O_TMPFILE) [__USE_GNU]: Define.
17577 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17578 Define.
17579
b73ed247
WN
175802013-09-11 Will Newton <will.newton@linaro.org>
17581
17582 [BZ #15857]
17583 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17584 does not overflow.
17585
55e17aad
WN
175862013-09-11 Will Newton <will.newton@linaro.org>
17587
17588 [BZ #15856]
17589 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17590 does not overflow.
17591
1159a193
WN
175922013-09-11 Will Newton <will.newton@linaro.org>
17593
17594 [BZ #15855]
17595 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17596 does not overflow.
17597
5905e7b3 175982013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
17599
17600 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17601 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17602 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17603 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17604 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17605
cdfc721b
AM
176062013-09-10 Allan McRae <allan@archlinux.org>
17607
aa04af00
AM
17608 [BZ #15748]
17609 * manual/arith.texi (Parsing of Floats): Clarify
17610 cross-reference.
17611
cdfc721b
AM
17612 [BZ #15849]
17613 * manual/install.texi (Running make install): Mention
17614 --enable-pt-chown.
17615 * INSTALL: Regenerated.
17616
95e7cf29
MR
176172013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17618
17619 * csu/init-first.c (_init): Remove the !SHARED condition around
17620 FPU control word initialization.
17621 * elf/dl-support.c (_dl_fpu_control): New variable.
17622 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17623 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17624 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17625 * math/test-fpucw-static.c: New file.
17626 * math/test-fpucw-ieee.c: New file.
17627 * math/test-fpucw-ieee-static.c: New file.
17628 * math/Makefile (tests): Add `test-fpucw-ieee' and
17629 `$(tests-static)'.
17630 (tests-static): New variable.
17631 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17632 dependency to...
17633 [($(build-shared),yes)]
17634 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17635 ... this.
17636 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17637 New dependency.
17638
83e43bf0
AM
176392013-09-09 Allan McRae <allan@archlinux.org>
17640
a9f5ce09
AM
17641 [BZ #15939]
17642 * manual/string.texi (Collation Functions): Fix typo in
17643 strcoll example.
17644 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17645
34829bc2
AM
17646 [BZ #15893]
17647 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17648
3932737d
AM
17649 [BZ #15892]
17650 * libio/memstream.c (open_memstream): Fix memory leak.
17651 * libio/wmemstream.c (open_wmemstream): Likewise.
17652
83e43bf0
AM
17653 [BZ #15895]
17654 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17655
0c66b8e9
WN
176562013-09-09 Will Newton <will.newton@linaro.org>
17657
17658 * malloc/Makefile: Add tst-realloc to tests.
17659 * malloc/tst-realloc.c: New file.
17660
f6b00fd1
AM
176612013-09-09 Allan McRae <allan@archlinux.org>
17662
17663 [BZ #15844]
17664 * COPYING: Update from GNU website to fix FSF address.
17665 * COPYING.LIB: Likewise.
17666
eec55e16
DM
176672013-09-06 David S. Miller <davem@davemloft.net>
17668
17669 * po/zh_TW.po: Update Chinese (traditional) translation from
17670 translation project.
17671
1ecbb381
RS
176722013-09-06 Richard Sandiford <richard@codesourcery.com>
17673 Joseph Myers <joseph@codesourcery.com>
17674
17675 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17676 "localeinfo.h".
17677 (obstack_chunk_alloc): New macro.
17678 (obstack_chunk_free): Likewise.
17679 (record_offset): New function.
17680 (init_locale_data): Likewise.
17681 (align_locale_data): Likewise.
17682 (add_locale_empty): Likewise.
17683 (add_locale_raw_data): Likewise.
17684 (add_locale_raw_obstack): Likewise.
17685 (add_locale_string): Likewise.
17686 (add_locale_wstring): Likewise.
17687 (add_locale_uint32): Likewise.
17688 (add_locale_uint32_array): Likewise.
17689 (add_locale_char): Likewise.
17690 (start_locale_structure): Likewise.
17691 (end_locale_structure): Likewise.
17692 (start_locale_prelude): Likewise.
17693 (end_locale_prelude): Likewise.
17694 (write_locale_data): Take locale_file structure rather than an
17695 iovec.
17696 * locale/programs/locfile.h: Include "obstack.h".
17697 (struct locale_file): Change to store locale file contents instead
17698 of header.
17699 (init_locale_data): New prototype.
17700 (align_locale_data): Likewise.
17701 (add_locale_empty): Likewise.
17702 (add_locale_raw_data): Likewise.
17703 (add_locale_raw_obstack): Likewise.
17704 (add_locale_string): Likewise.
17705 (add_locale_wstring): Likewise.
17706 (add_locale_uint32): Likewise.
17707 (add_locale_uint32_array): Likewise.
17708 (add_locale_char): Likewise.
17709 (start_locale_structure): Likewise.
17710 (end_locale_structure): Likewise.
17711 (start_locale_prelude): Likewise.
17712 (end_locale_prelude): Likewise.
17713 (write_locale_data): Update prototype.
17714 * locale/programs/3level.h (struct TABLE): Remove result field.
17715 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17716 Use new locale_file interface.
17717 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17718 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17719 * locale/programs/ld-address.c (address_output): Use new
17720 locale_file interface.
17721 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17722 NO_ADD_LOCALE.
17723 (collate_finish): Don't call collseq_table_finalize.
17724 (collate_output): Use new locale_file interface.
17725 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17726 in file.
17727 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17728 (TABLE): Move defines earlier in file.
17729 (ELEMENT): Likewise.
17730 (DEFAULT): Likewise.
17731 (wctrans_table_add): Move macro and inline function earlier in
17732 file.
17733 (struct wctype_table): Move type earlier in file.
17734 (add_locale_wctype_table): New static prototype.
17735 (struct locale_ctype_t): Use logical types instead of struct iovec
17736 pointers for members.
17737 (ctype_output): Use new locale_file interface.
17738 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17739 new locale_file interface.
17740 (allocate_arrays): Update for use of new locale_file interface.
17741 * locale/programs/ld-identification.c (identification_output): Use
17742 new locale_file interface.
17743 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17744 * locale/programs/ld-messages.c (messages_output): Likewise.
17745 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17746 * locale/programs/ld-name.c (name_output): Likewise.
17747 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17748 * locale/programs/ld-paper.c (paper_output): Likewise.
17749 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17750 * locale/programs/ld-time.c (time_output): Likewise.
17751
e029e2e5
AZ
177522013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17753
17754 * benchtests/Makefile: Add memrchr benchmark.
17755 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17756 benchmark as memrchr.
17757 * benchtests/bench-memrchr-ifunc.c: New file.
17758 * benchtests/bench-memrchr.c: New file.
17759
bbf6e8e4
WN
177602013-09-06 Will Newton <will.newton@linaro.org>
17761
17762 * benchtests/Makefile (string-bench): Add memcpy.
17763
6c82a2f8
CD
177642013-09-05 Carlos O'Donell <carlos@redhat.com>
17765 Cong Wang <amwang@redhat.com>
17766
e732c5f0 17767 [BZ #15850]
6c82a2f8
CD
17768 * sysdeps/unix/sysv/linux/bits/in.h
17769 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17770 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17771 before __USE_KERNEL_IPV6_DEFS uses.
17772 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17773 IPPROTO_BEETPH.
17774 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17775 sockaddr_in6, or ipv6_mreq.
17776
5430fc65
AZ
177772013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17778
17779 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17780 memory access for final bytes in some large inputs.
17781 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17782
4660856c
AZ
177832013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17784
17785 * string/test-memrchr.c: New file.
17786 * string/test-memrchr-ifunc.c: New file.
17787 * string/Makefile: Add new memrchr testcase.
17788
bb8ea713
MF
177892013-09-05 Mike Frysinger <vapier@gentoo.org>
17790
17791 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17792 fanotify_init returns EPERM.
17793
b92a20b5
JM
177942013-09-04 Joseph Myers <joseph@codesourcery.com>
17795
17796 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17797 errors.
17798 (top level): Treat second token from macro or constant entries for
17799 allowed headers as allowed.
17800 * include/complex.h: Condition internal declarations on
17801 [!_ISOMAC].
17802 * include/fenv.h: Condition include of <stdbool.h> and internal
17803 declarations on [!_ISOMAC].
7447ccd9
CL
17804
178052013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17806
3e181dda 17807 [BZ #15923]
7447ccd9
CL
17808 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17809
3f2e46a4
JM
178102013-09-04 Joseph Myers <joseph@codesourcery.com>
17811
17812 * configure.in (--enable-versioning): Remove configure option.
17813 (libc_cv_asm_symver_directive): Remove configure test.
17814 (libc_cv_ld_version_script_option): Likewise.
17815 (VERSIONING): Remove variable and AC_SUBST.
17816 (DO_VERSIONING): Remove AC_DEFINE.
17817 * configure: Regenerated.
17818 * config.h.in (DO_VERSIONING): Remove macro.
17819 * Makerules [$(versioning) = yes]: Change conditionals to
17820 [$(build-shared) = yes].
17821 * config.make.in (versioning): Remove variable.
17822 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17823 [$(build-shared) = yes].
17824 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17825 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17826 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17827 [$(build-shared) = yes].
17828 * extra-lib.mk [$(versioning) = yes]: Likewise.
17829 * hurd/Makefile [$(versioning) = yes]: Likewise.
17830 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17831 [SHARED].
17832 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17833 [SHARED].
17834 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17835 [SHARED && !NO_HIDDEN].
17836 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17837 [SHARED].
17838 [SHARED && DO_VERSIONING]: Likewise..
17839 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17840 [$(build-shared) = yes].
17841 * manual/install.texi (--disable-versioning): Remove
17842 documentation.
17843 * INSTALL: Regenerated.
17844 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17845 to [SHARED].
17846 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17847 [$(build-shared) = yes].
17848 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17849 * sysdeps/i386/i686/multiarch/strstr-c.c
17850 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17851 [SHARED && !NO_HIDDEN].
17852 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17853 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17854 * sysdeps/powerpc/powerpc32/dl-machine.c
17855 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17856 * sysdeps/powerpc/powerpc32/sysdep.h
17857 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17858 to [SHARED && PIC && !NO_HIDDEN].
17859 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17860 conditional to [SHARED].
17861
44558701
WN
178622013-09-04 Will Newton <will.newton@linaro.org>
17863
17864 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17865 * benchtests/bench-string.h: Include bench-timing.h instead
17866 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17867 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17868 call to HP_TIMING_DIFF_INIT.
17869 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17870 instead of hp-timing.h macros.
17871 * benchtests/bench-memchr.c: Likewise.
17872 * benchtests/bench-memcmp.c: Likewise.
17873 * benchtests/bench-memcpy.c: Likewise.
17874 * benchtests/bench-memmem.c: Likewise.
17875 * benchtests/bench-memmove.c: Likewise.
17876 * benchtests/bench-memset.c: Likewise.
17877 * benchtests/bench-rawmemchr.c: Likewise.
17878 * benchtests/bench-strcasecmp.c: Likewise.
17879 * benchtests/bench-strcasestr.c: Likewise.
17880 * benchtests/bench-strcat.c: Likewise.
17881 * benchtests/bench-strchr.c: Likewise.
17882 * benchtests/bench-strcmp.c: Likewise.
17883 * benchtests/bench-strcpy.c: Likewise.
17884 * benchtests/bench-strcpy_chk.c: Likewise.
17885 * benchtests/bench-strlen.c: Likewise.
17886 * benchtests/bench-strncasecmp.c: Likewise.
17887 * benchtests/bench-strncat.c: Likewise.
17888 * benchtests/bench-strncmp.c: Likewise.
17889 * benchtests/bench-strncpy.c: Likewise.
17890 * benchtests/bench-strnlen.c: Likewise.
17891 * benchtests/bench-strpbrk.c: Likewise.
17892 * benchtests/bench-strrchr.c: Likewise.
17893 * benchtests/bench-strspn.c: Likewise.
17894 * benchtests/bench-strstr.c: Likewise.
17895
cae16d66
WN
178962013-09-04 Will Newton <will.newton@linaro.org>
17897
17898 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17899
ffa3cd7f
JM
179002013-09-03 Joseph Myers <joseph@codesourcery.com>
17901
17902 [BZ #15427]
17903 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17904 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17905 * math/libm-test.inc (lgamma_test_data): Add more tests.
17906 * sysdeps/i386/fpu/libm-test-ulps: Update.
17907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17908
8f02859f
OB
179092013-09-03 Ondřej Bílka <neleai@seznam.cz>
17910
17911 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17912 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17913 Add ifunc.
17914 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17915 Add strcmp-sse2-unaligned
17916 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17917
18d43716
MF
179182013-09-02 Mike Frysinger <vapier@gentoo.org>
17919
17920 * Versions.def (libc): Add GLIBC_2.19.
17921
ac444012
MF
179222013-09-02 Mike Frysinger <vapier@gentoo.org>
17923
17924 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17925 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17926
b7835e32
JM
179272013-09-02 Joseph Myers <joseph@codesourcery.com>
17928
17929 [BZ #14155]
17930 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17931 intermediate calculations in recurrence.
17932 (__ieee754_ynf): Likewise.
17933 * math/libm-test.inc (jn_test_data): Do not allow spurious
17934 underflow exception. Add more tests.
17935 (yn_test_data): Add more tests.
17936 * sysdeps/i386/fpu/libm-test-ulps: Update.
17937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17938
8220f4f0
OB
179392013-09-02 Ondřej Bílka <neleai@seznam.cz>
17940
17941 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17942
f24a6d08
OB
179432013-08-30 Ondřej Bílka <neleai@seznam.cz>
17944
17945 * csu/init-first.c: Fix then/than typos.
17946 * locale/programs/ld-collate.c: Likewise.
17947 * locale/programs/linereader.h: Likewise.
17948 * manual/charset.texi: Likewise.
17949 * manual/filesys.texi: Likewise.
17950 * manual/stdio.texi: Likewise.
17951 * manual/string.texi: Likewise.
17952 * stdlib/fmtmsg.c: Likewise.
17953 * sysdeps/i386/stpncpy.S: Likewise.
17954 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17955 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17956 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17957 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17958
382466e0
OB
179592013-08-30 Ondřej Bílka <neleai@seznam.cz>
17960
17961 * elf/dl-open.c: Fix typos.
17962 * iconvdata/gbbig5.c: Likewise.
17963 * iconvdata/iso-2022-jp.c: Likewise.
17964 * iconv/gconv_int.h: Likewise.
17965 * iconv/loop.c: Likewise.
17966 * nis/rpcsvc/nis.h: Likewise.
17967 * resolv/ns_name.c: Likewise.
17968 * stdio-common/vfscanf.c: Likewise.
17969 * streams/stropts.h: Likewise.
17970 * sunrpc/rpc_thread.c: Likewise.
17971 * sysdeps/i386/strpbrk.S: Likewise.
17972 * sysdeps/ieee754/k_standard.c: Likewise.
17973 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17974 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17975 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17976 * sysdeps/mach/hurd/profil.c: Likewise.
17977 * sysdeps/s390/dl-procinfo.h: Likewise.
17978 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17979 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17980 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17981 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17982 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17983
0186c6e9
OB
179842013-08-30 Ondřej Bílka <neleai@seznam.cz>
17985
17986 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17987 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17988
d4e16af1
OB
179892013-08-29 Ondřej Bílka <neleai@seznam.cz>
17990
17991 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17992 aix specific files.
17993 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17994 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17995 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17996 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17997 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17998 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17999 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18000 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18001
88335980
TS
180022013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18003 Roland McGrath <roland@hack.frob.com>
18004
18005 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18006 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18007
ed479b02
ST
180082013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18009
18010 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18011 __executable_start symbol instead of _start.
18012
f1cc4c86
TS
180132013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18014
d821f07c
TS
18015 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18016 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18017 Move macros to...
18018 * sysdeps/gnu/ldsodefs.h: ... this new file.
18019
c54290cf
TS
18020 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18021 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18022 instead of ELFOSABI_LINUX.
18023
0007fc9b 18024 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
18025 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18026 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18027 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18028 Likewise.
18029 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18030 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18031 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18032 Likewise.
18033 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18034 (ibm_extended_long_double): Add ieee_nan member.
18035 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18036 (do_test): New function.
18037
f1cc4c86
TS
18038 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18039 TEST_TRUNC.
18040 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18041 functions, renamed from truncdfsf_test, trunctfsf_test,
18042 trunctfdf_test.
18043 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18044 functions.
18045 (do_test): Run all these.
18046
6f65e668
OB
180472013-08-29 Ondřej Bílka <neleai@seznam.cz>
18048
18049 * argp/argp-help.c: Fix typos.
18050 * argp/argp-parse.c: Likewise.
18051 * debug/backtracesyms.c: Likewise.
18052 * elf/elf.h: Likewise.
18053 * malloc/malloc.c: Likewise.
18054 * nis/nis_print.c: Likewise.
18055 * resolv/res_comp.c: Likewise.
18056 * stdlib/stdlib.h: Likewise.
18057 * sunrpc/clnt_tcp.c: Likewise.
18058 * sunrpc/clnt_udp.c: Likewise.
18059 * sunrpc/clnt_unix.c: Likewise.
18060 * sysdeps/unix/bsd/ptsname.c: Likewise.
18061 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18062 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
18063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18064 Likewise.
18065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18066 Likewise.
18067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18068 Likewise.
6f65e668
OB
18069 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18070
3a309239
SP
180712013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18072
18073 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18075
3b813b29
MF
180762013-08-27 Mike Frysinger <vapier@gentoo.org>
18077
18078 [BZ #15897]
18079 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18080 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18081 ($(objpfx)bug-dl-leaf): New rule.
18082 ($(objpfx)bug-dl-leaf.so): Likewise.
18083 ($(objpfx)bug-dl-leaf.out): Likewise.
18084 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18085 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18086 * dlfcn/bug-dl-leaf.c: New test.
18087 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18088 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18089 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18090 (dlclose): Likewise.
18091 (dlmopen): Likewise.
18092
8cc3269f
RM
180932013-08-27 Roland McGrath <roland@hack.frob.com>
18094
7f9d0034
RM
18095 * include/netdb.h [!_ISOMAC]:
18096 Don't include <tls.h>.
18097 (h_errno, __libc_h_errno): Move declaration and macros out of
18098 [_LIBC_REENTRANT].
18099
fb431262
RM
18100 * include/resolv.h [_RESOLV_H_]:
18101 Don't include <tls.h>.
18102 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18103 * resolv/res_libc.c: Don't include <tls.h>.
18104 (_res): Use __attribute__ ((nocommon)) in place of
18105 __attribute__ ((section (".bss"))).
18106
bd81123a
RM
18107 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18108 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18109
c4e42566
RM
18110 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18111
f890a59b
RM
18112 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18113 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18114
18115 * resolv/res_mkquery.c: Include <sys/time.h>.
18116
5d1f0a09
RM
18117 * inet/ifreq.c: Moved to ...
18118 * sysdeps/unix/ifreq.c: ... here.
18119 * inet/ifreq.c: New file, true stub version.
18120
6fcf28b3
RM
18121 * socket/sa_len.c: New file.
18122 * socket/Makefile (aux): Add it.
18123 * sysdeps/unix/sysv/linux/Makefile
18124 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18125 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18126 and #include <socket/sa_len.c>.
18127 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18128 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18129
e041fb8b
RM
18130 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18131 * bits/socket.h: ... here.
18132
8cc3269f
RM
18133 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18134 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18135 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18136
5d228a43
AS
181372013-08-27 Andreas Schwab <schwab@suse.de>
18138
45b8accc
AS
18139 [BZ #15736]
18140 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18141 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18142 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18143 * string/test-strcasecmp.c (test_main): Run tests in several
18144 locales.
18145 * string/test-strncasecmp.c (test_main): Likewise.
18146
5d228a43
AS
18147 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18148 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18149 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18150 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18151 (__strncasecmp_ssse3) [PIC]: Likewise.
18152
59d112a4
RM
181532013-08-26 Roland McGrath <roland@hack.frob.com>
18154
53234cc3
RM
18155 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18156
59d112a4
RM
18157 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18158 instead of explicitly declaring xdecrypt.
18159 * nis/nss_nis/nis-publickey.c: Likewise.
18160
595aba70
SP
181612013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18162
18163 [BZ #15890]
18164 * nscd/aicache.c: Include res_hconf.h.
18165 (addhstaiX): Initialize res_hconf.
18166
ffabd393
AS
181672013-08-26 Andreas Schwab <schwab@suse.de>
18168
18169 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18170 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18171
e0a69f5c
SP
181722013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18173
18174 * nscd/aicache.c (addhstaiX): Fix indentation.
18175
8c12f01d
MF
181762013-08-25 Mike Frysinger <vapier@gentoo.org>
18177
18178 * configure.ac: Quote $build_pt_chown test.
18179 * configure: Regenerated.
18180
8fe89494
JM
181812013-08-23 Joseph Myers <joseph@codesourcery.com>
18182
18183 [BZ #15532]
18184 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18185 * math/s_cexpf.c (__cexpf): Likewise.
18186 * math/s_cexpl.c (__cexpl): Likewise.
18187 * math/libm-test.inc (cexp_test_data): Correct expected return
18188 value for NaN + i0. Add another test.
18189
75b181d6
DM
181902013-08-22 David S. Miller <davem@davemloft.net>
18191
18192 * po/ca.po: Update Catalan translation from translation project.
936241e4 18193 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 18194
acd06bb1
JM
181952013-08-21 Joseph Myers <joseph@codesourcery.com>
18196
18197 [BZ #15797]
18198 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18199 is infinite, not alongside NaN test.
18200 * math/s_fdimf.c (__fdimf): Likewise.
18201 * math/s_fdiml.c (__fdiml): Likewise.
18202 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18203 errno is unchanged.
18204
c0c3f78a
OB
182052013-08-21 Ondřej Bílka <neleai@seznam.cz>
18206
18207 * argp/argp-help.c: Fix typos.
18208 * crypt/speeds.c: Likewise.
18209 * csu/check_fds.c: Likewise.
18210 * elf/dl-load.c: Likewise.
18211 * elf/dl-open.c: Likewise.
18212 * elf/reldep3.c: Likewise.
18213 * elf/reldep.c: Likewise.
18214 * elf/sprof.c: Likewise.
18215 * iconv/iconv_charmap.c: Likewise.
18216 * iconv/skeleton.c: Likewise.
18217 * iconv/strtab.c: Likewise.
18218 * io/lockf64.c: Likewise.
18219 * libio/libioP.h: Likewise.
18220 * resolv/gai_notify.c: Likewise.
18221 * resolv/ns_name.c: Likewise.
18222 * resolv/ns_samedomain.c: Likewise.
18223 * resolv/res_send.c: Likewise.
18224 * stdlib/random.c: Likewise.
18225 * sunrpc/rpc/xdr.h: Likewise.
18226 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18227 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18228 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18229 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18230 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18231 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18232 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18233 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18234 * sysdeps/mach/hurd/check_fds.c: Likewise.
18235 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18236 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18237 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18238 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18239 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18240 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18241 * sysdeps/pthread/aio_notify.c: Likewise.
18242 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18243 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18244 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18245 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18246 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18247
46ed1038
LD
182482013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18249
18250 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18251 version if bit_Slow_SSE4_2 is set.
18252 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18253 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18254
d400dcac
AZ
182552013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18256
18257 [BZ #15867]
18258 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18259 trampoline stack frame information.
18260 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18261 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18262 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18263 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18264 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18265 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18266 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18267 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18268 sa_flags value.
18269 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18270 interrupting a syscall and set with option SA_SIGINFO.
18271
42c8fdd8
JM
182722013-08-20 Joseph Myers <joseph@codesourcery.com>
18273
c980f2f4
JM
18274 [BZ #15531]
18275 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18276 argument is infinite.
18277 * math/s_cprojf.c (__cprojf): Likewise.
18278 * math/s_cprojl.c (__cprojl): Likewise.
18279 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18280 * math/libm-test.inc (cproj_test_data): Add more tests.
18281
0716c4fc
JM
18282 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18283
42c8fdd8
JM
18284 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18285 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18286 size. Use __ffs to determine corresponding shift.
18287
b31469d0
JM
182882013-08-20 Joseph Myers <joseph@codesourcery.com>
18289 Roland McGrath <roland@hack.frob.com>
18290
18291 * Makefile (INSTALL): Remove trailing blank lines from output of
18292 makeinfo.
18293
4e39af6e
AK
182942013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18295
18296 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18297 Align 32 bit compat elf_greg to 8 bytes.
18298
f315524e
AA
182992013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18300
18301 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18302
1326ba1a
SP
183032013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18304
18305 * string/strcoll_l.c (coll_seq): New structure.
18306 (get_next_seq_cached): New function.
18307 (get_next_seq): New function.
18308 (do_compare): New function.
18309 (STRCOLL): Use GNU style definition. Simplify implementation
18310 by using get_next_seq, get_next_seq_cached and do_compare.
18311
91ce4085
FW
183122013-08-16 Florian Weimer <fweimer@redhat.com>
18313
18314 [BZ #14699]
18315 CVE-2013-4237
18316 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18317 member.
18318 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18319 member.
18320 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18321 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18322 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18323 conditional.
18324 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18325 GETDENTS_64BIT_ALIGNED.
18326 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18327 * manual/filesys.texi (Reading/Closing Directory): Document
18328 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18329 strongly.
18330 * manual/conf.texi (Limits for Files): Add portability note to
18331 NAME_MAX, PATH_MAX.
18332 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18333
ca0a6bc4
AS
183342013-08-13 Andreas Schwab <schwab@suse.de>
18335
18336 [BZ #15749]
18337 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18338 of fabs.
18339 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18340 LDBL_MAX_EXP >= 16384]: Add tests for it.
18341
6c1fd795
DM
183422013-08-12 David S. Miller <davem@davemloft.net>
18343
18344 * version.h (RELEASE): Set to "development".
18345 (VERSION): Set to "2.18.90".
18346 * NEWS: Add 2.19 section.
18347
31ad488d
DM
183482013-08-03 David S. Miller <davem@davemloft.net>
18349
18350 * po/ko.po: Update Korean translation from translation project.
18351
db24e684
DM
183522013-08-01 David S. Miller <davem@davemloft.net>
18353
18354 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18355 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18356 Bilka.
18357
f723285b
DM
183582013-07-30 David S. Miller <davem@davemloft.net>
18359
18360 * po/fr.po: Update French translation from translation project.
18361
3cbc52db
DM
183622013-07-28 David S. Miller <davem@davemloft.net>
18363
30bbc0cc
DM
18364 * po/cs.po: Update Czech translation from translation project.
18365
3cbc52db
DM
18366 * po/sv.po: Update Swedish translation from translation project.
18367
d492e6d0
DM
183682013-07-27 David S. Miller <davem@davemloft.net>
18369
f1a7f492
DM
18370 * po/eo.po: Update Esperanto translation from translation project.
18371
90e62a4a
DM
18372 * po/vi.po: Update Vietnamese translation from translation project.
18373
d492e6d0
DM
18374 * po/de.po: Update German translation from translation project.
18375
d4baa62d
DM
183762013-07-26 David S. Miller <davem@davemloft.net>
18377
641aa7b4
DM
18378 * po/bg.po: Update Bulgarian translation from translation project.
18379
d4baa62d
DM
18380 * po/nl.po: Update Dutch translation from translation project.
18381 * po/pl.po: Update Polish translation from translation project.
18382 * po/ru.po: Update Russian translation from translation project.
18383
61a9dcb9
DM
183842013-07-24 David S. Miller <davem@davemloft.net>
18385
18386 * po/libc.pot: Update.
18387
7b1f8b58
AZ
183882013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18389
18390 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18391 variable page size.
18392 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18393 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18394 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18395
a8fc7a03
AK
183962013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18397
18398 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18399
e4608715
CD
184002013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18401 Andreas Schwab <schwab@suse.de>
18402 Roland McGrath <roland@hack.frob.com>
18403 Joseph Myers <joseph@codesourcery.com>
18404 Carlos O'Donell <carlos@redhat.com>
18405
18406 [BZ #15755]
18407 * config.h.in: Define HAVE_PT_CHOWN.
18408 * config.make.in (build-pt-chown): New variable.
18409 * configure.in (--enable-pt_chown): New configure option.
18410 * configure: Regenerate.
18411 * login/Makefile: Include Makeconfig. Build pt_chown only if
18412 build-pt-chown is enabled.
18413 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18414 pt_chown to fix pty ownership.
18415 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18416 CLOSE_ALL_FDS.
18417 * manual/install.texi (Configuring and compiling): Mention
18418 --enable-pt_chown. Add @findex for grantpt.
18419 * INSTALL: Regenerate.
18420
da2d62df
DM
184212013-07-20 David S. Miller <davem@davemloft.net>
18422
18423 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18424 difference between 32-bit and 64-bit.
18425
d7e06450
CD
184262013-07-15 Carlos O'Donell <carlos@redhat.com>
18427
18428 [BZ #15711]
18429 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18430 Avoid system header dependency with -ffreestanding.
18431 ($(objpfx)bits/syscall%d): Likewise.
18432
f959cfd7
DM
184332013-07-13 David S. Miller <davem@davemloft.net>
18434
18435 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18436 underflows from atanl/atan2l due to bug 15319.
18437 (casinh_test_data): Likewise.
18438
c61f8513
DM
184392013-07-07 David S. Miller <davem@davemloft.net>
18440
18441 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18442
72c90ed0
JA
184432013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18444
18445 * sysdeps/i386/fpu/libm-test-ulps: Update.
18446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18447
52dfbe13
SP
184482013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18449
18450 * configure.in (--enable-lock-elision): Fix message text.
18451 * INSTALL: Regenerate.
18452 * configure: Regenerate.
18453
3f169543
AZ
184542013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18455
18456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18457
521c6785
AJ
184582013-07-03 Andreas Jaeger <aj@suse.de>
18459
18460 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18461 define.
18462 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18463 (ptrace_peeksiginfo_args): Add.
18464 (__ptrace_peeksiginfo_flags): Add.
18465 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18466 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18467 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18468
d2cc15cb
AM
184692013-07-03 Allan McRae <allan@archlinux.org>
18470
18471 * sysdeps/i386/fpu/libm-test-ulps: Update.
18472
3aaeeca7
DM
184732013-07-02 David S. Miller <davem@davemloft.net>
18474
18475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18476
5314ed1a
MT
184772013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18478
18479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18480
67338156
JM
184812013-07-02 Joseph Myers <joseph@codesourcery.com>
18482
18483 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18485
1717da59
AK
184862013-07-02 Andi Kleen <ak@linux.intel.com>
18487
18488 * config.h.in (ENABLE_LOCK_ELISION): Add.
18489 * configure.in (--enable-lock-elision): Add option.
18490 * manual/install.texi: Document --enable lock elision.
18491 * configure: Regenerate
18492 * INSTALL: Regenerate.
18493
1c81621c
L
184942013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18495
18496 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18497 SSE4.2 strcasecmp for libc.a.
18498 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18499
77f01ab5
JM
185002013-07-02 Joseph Myers <joseph@codesourcery.com>
18501
18502 [BZ #13304]
18503 * soft-fp/op-common.h (_FP_FMA): New macro.
18504 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18505 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18506 (_FP_MUL_MEAT_1_imm): ... here.
18507 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18508 (_FP_MUL_MEAT_1_wide): ... here.
18509 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18510 (_FP_MUL_MEAT_1_hard): ... here.
18511 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18512 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18513 (_FP_MUL_MEAT_2_wide): ... here.
18514 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18515 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18516 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18517 (_FP_MUL_MEAT_2_gmp): ... here.
18518 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18519 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18520 (_FP_MUL_MEAT_4_wide): ... here.
18521 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18522 (_FP_MUL_MEAT_4_gmp): ... here.
18523 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18524 (_FP_WFRACBITS_DW_S): Likewise.
18525 (_FP_WFRACXBITS_DW_S): Likewise.
18526 (_FP_HIGHBIT_DW_S): Likewise.
18527 (FP_FMA_S): Likewise.
18528 (_FP_FRAC_HIGH_DW_S): Likewise.
18529 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18530 (_FP_WFRACBITS_DW_D): Likewise.
18531 (_FP_WFRACXBITS_DW_D): Likewise.
18532 (_FP_HIGHBIT_DW_D): Likewise.
18533 (FP_FMA_D): Likewise.
18534 (_FP_FRAC_HIGH_DW_D): Likewise.
18535 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18536 (_FP_WFRACBITS_DW_E): Likewise.
18537 (_FP_WFRACXBITS_DW_E): Likewise.
18538 (_FP_HIGHBIT_DW_E): Likewise.
18539 (FP_FMA_E): Likewise.
18540 (_FP_FRAC_HIGH_DW_E): Likewise.
18541 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18542 (_FP_WFRACBITS_DW_Q): Likewise.
18543 (_FP_WFRACXBITS_DW_Q): Likewise.
18544 (_FP_HIGHBIT_DW_Q): Likewise.
18545 (FP_FMA_Q): Likewise.
18546 (_FP_FRAC_HIGH_DW_Q): Likewise.
18547 * soft-fp/fmasf4.c: New file.
18548 * soft-fp/fmadf4.c: Likewise.
18549 * soft-fp/fmatf4.c: Likewise.
18550
6308fd9a
LD
185512013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18552
18553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18554 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18555 Silvermont.
18556 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18557 macro.
18558 (index_Slow_SSE4_2): Likewise.
18559 (index_Prefer_PMINUB_for_stringop): Likewise.
18560 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18561 bit_Slow_SSE4_2 is set.
18562 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18563 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18564
89cd9569
RA
185652013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18566
18567 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18568 rtld_global._dl_hwcap2.
18569 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18570 POWER8.
18571 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18572 POWER8 feature descriptions defined in _dl_hwcap2.
18573 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18574 string handling for POWER8 feature bits.
18575 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18576 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18577 _dl_powerpc_cap_flags.
18578 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18579 * sysdeps/powerpc/rtld-global-offsets.sym
18580 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18581 _dl_hwcap2 in the rtld_global_ro structure.
18582
1ae8bfe0
RA
185832013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18584
18585 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18586 hardware capabilities in support of AT_HWCAP2.
18587 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18588 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18589 GLRO(dl_hwcap2).
18590 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18591 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18592 explicitly the unknown a_type display mechanism is used.
18593 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18594 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18595 struct member.
18596 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18597 to macro prototype for AT_HWCAP2 support.
18598 * sysdeps/i386/dl-procinfo.h: Likewise.
18599 * sysdeps/s390/dl-procinfo.h: Likewise.
18600 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18601 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18602 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18603 return -1 for unknown a_type display fallback.
18604 * sysdeps/sparc/dl-procinfo.h: Likewise.
18605 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18606 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18607
8fbec010
JM
186082013-06-28 Joseph Myers <joseph@codesourcery.com>
18609
18610 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18611 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18612
0432680e
PY
186132013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18614
18615 [BZ #12492]
18616 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18617 mprotect making __stack_prot writable.
18618
ce61a2ad
NF
186192013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18620 Joseph Myers <joseph@codesourcery.com>
18621
18622 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18623 as being properly aligned.
18624
f91f1c0f
MR
186252013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18626
3d0f5d0c
MR
18627 * dlfcn/modstatic5.c: New file.
18628 * dlfcn/tststatic5.c: New file.
18629 * dlfcn/Makefile (tests): Add tststatic5.
18630 (tests-static): Likewise.
18631 (modules-names): Add modstatic5.
18632 (tststatic5-ENV): New variable.
18633 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18634
f91f1c0f
MR
18635 [BZ #15022]
18636 * elf/dl-support.c (_dl_main_map): New variable.
18637 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18638 (_dl_nns, _dl_load_adds): Set to 1.
18639 (_dl_initial_searchlist): Refer to _dl_main_map.
18640 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18641 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18642 call to _dl_get_origin.
18643 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18644 around call_map.
18645 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18646 * dlfcn/modstatic3.c: New file.
18647 * dlfcn/tststatic3.c: New file.
18648 * dlfcn/tststatic4.c: New file.
18649 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18650 (tests-static): Likewise.
18651 (modules-names): Add modstatic3.
18652 (tststatic3-ENV, tststatic4-ENV): New variables.
18653 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18654 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18655
cbe7d24b
JM
186562013-06-26 Joseph Myers <joseph@codesourcery.com>
18657
18658 * configure.in (CC): Require GCC version 4.4 or later.
18659 * configure: Regenerated.
18660 * manual/install.texi (Tools for Compilation): Update GCC version
18661 requirement.
18662 * INSTALL: Regenerated.
18663
11b8a0e1
LD
186642013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18665
18666 [BZ #15674]
bb5bb87c
L
18667 * string/test-memcmp.c (check2): New.
18668 (main): Call check2.
18669
11b8a0e1
LD
18670 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18671
b0037103
MR
186722013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18673
18674 [BZ #15022]
18675 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18676 over to...
18677 (dl_open_worker) [!SHARED]: ... here.
18678
c18c701d
RA
186792013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18680
18681 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18682
1d17fa5f
RH
186832013-06-25 Richard Henderson <rth@redhat.com>
18684
18685 * locale/programs/locarchive.c: Include <libc-internal.h>
18686
8fcb833a
JM
186872013-06-25 Joseph Myers <joseph@codesourcery.com>
18688
18689 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18690 trailing whitespace removed.
18691
17db6e8d
MF
186922013-06-24 Mike Frysinger <vapier@gentoo.org>
18693
18694 [BZ #10283]
17db6e8d
MF
18695 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18696 * locale/programs/locarchive.c: Include libc-mmap.h.
18697 (prepare_address_space): Take two new outputs (the mmap base and len).
18698 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18699 values.
18700 (create_archive): Declare new mmap base and len values for
18701 prepare_address_space, and store the result in ah.
18702 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18703 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18704 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18705 Declare new mmap base and len values for
18706 prepare_address_space, and store the result in new_ah.
18707 (open_archive): Declare new mmap base and len values for
18708 prepare_address_space, and store the result in ah.
18709 (close_archive): If ah->mmap_base is not NULL, use that and
18710 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18711 * sysdeps/generic/libc-mmap.h: New file.
18712
d605071e
MF
187132013-06-24 Mike Frysinger <vapier@gentoo.org>
18714
18715 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18716 (ALIGN_UP): Likewise.
18717 (PTR_ALIGN_DOWN): Likewise.
18718 (PTR_ALIGN_UP): Likewise.
18719
2f063a6e
RA
187202013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18721
18722 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18723 entry mapped to PPC_PLATFORM_POWER8.
18724 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18725 POWER8.
18726 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18727 (_dl_string_platform): Add case for exporting platform position for
18728 POWER8.
18729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18730 search path to sysdeps/powerpc/powerpc32/power8 directory.
18731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18732 search path to sysdeps/powerpc/powerpc64/power8 directory.
18733 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18734 power7 directories.
18735 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18736 power7 directories.
18737
a31ee4b3
SP
187382013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18739
a74ca98f
SP
18740 * INSTALL: Regenerate.
18741
a31ee4b3
SP
18742 * nscd/connections.c (nscd_init): Fix comment.
18743
695c378f
JM
187442013-06-22 Joseph Myers <joseph@codesourcery.com>
18745
d8412221
JM
18746 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18747
695c378f
JM
18748 [BZ #15667]
18749 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18750 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18751
d1d54715
MR
187522013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18753
18754 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18755 DL_DST_REQ_STATIC.
18756 (DL_DST_REQ_STATIC): Remove macro.
18757
8fdda7af
JM
187582013-06-21 Joseph Myers <joseph@codesourcery.com>
18759
18760 [BZ #7006]
18761 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18762 with a shift of 0 bits.
18763
f3bc5e5a
MR
187642013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18765
18766 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18767 $(tststatic-ENV).
18768
be09e8c9
KK
187692013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18770
18771 [BZ #15655]
18772 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18773
85c2e611
AZ
187742013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18775
18776 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18777 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18778 accepts -fno-tree-loop-distribute-patterns.
18779 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18780 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18781 recursive call.
18782 * string/memset.c (memset): Likewise.
18783 * string/test-memmove.c (simple_memmove): Disable loop transformation
18784 to library calls.
18785 * string/test-memset.c (simple_memset): Likewise.
18786 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18787 * benchtests/bench-memset.c (simple_memset): Likewise.
18788 * configure: Regenerated.
18789
c91e0825
JM
187902013-06-20 Joseph Myers <joseph@codesourcery.com>
18791
b8c792af
JM
18792 * math/test-misc.c (main): Ignore fesetround failure when failures
18793 of subsequent rounding tests would be ignored.
18794
c91e0825
JM
18795 [BZ #15654]
18796 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18797 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18798 * math/fegetenv.c (__fegetenv): Return 0.
18799 * math/fegetexcept.c (fegetexcept): Return 0.
18800 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18801 FE_TONEAREST.
18802 * math/feholdexcpt.c (feholdexcept): Return 0.
18803 * math/fesetenv.c (__fesetenv): Return 0.
18804 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18805 argument FE_TONEAREST.
18806 * math/feupdateenv.c (__feupdateenv): Return 0.
18807 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18808
bfcacbde
RM
188092013-06-18 Roland McGrath <roland@hack.frob.com>
18810
18811 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18812 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18813 ($(objpfx)rtld-%.os rules): Use them.
18814
e55a9b25
AZ
188152013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18816
18817 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18818 fields.
18819
346d65b3
RM
188202013-06-17 Roland McGrath <roland@hack.frob.com>
18821
12086fb4
RM
18822 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18823 length of target pattern, then descending length of dependency pattern.
18824 * configure.in (AWK): Require gawk 3.1.2 or newer.
18825 * manual/install.texi (Tools for Compilation): Say that we do.
18826 * configure: Regenerated.
18827
346d65b3
RM
18828 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18829 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18830 * scripts/sysd-rules.awk: ... this new script.
18831 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18832 than a glob-style pattern.
18833
1a846317
JM
188342013-06-17 Joseph Myers <joseph@codesourcery.com>
18835
18836 * math/test-misc.c (main): Do not treat incorrectly rounded
18837 conversions as failure unless ROUNDING_TESTS passes.
18838
8fc75e6f
JM
188392013-06-15 Joseph Myers <joseph@codesourcery.com>
18840
3711a167
JM
18841 [BZ #15631]
18842 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18843 restore exception state around main square root computation, then
18844 check for inexactness explicitly.
18845
8fc75e6f
JM
18846 * math/libm-test.inc (fma_test_data): Add another test.
18847
61dd6208
SP
188482013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18849
adf23d2c
SP
18850 * manual/threads.texi (Non-POSIX Extensions): New document
18851 node. Document pthread_getattr_default_np and
18852 pthread_setattr_default_np.
18853
61dd6208
SP
18854 * Versions.def (libpthread): Add GLIBC_2.18.
18855 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18857 Likewise.
18858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18859 Likewise.
18860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18861 Likewise.
18862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18863 Likewise.
18864 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18865 Likewise.
18866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18867 Likewise.
18868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18869 Likewise.
18870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18871 Likewise.
18872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18873 Likewise.
18874
d086fc7b
LD
188752013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18876
18877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18878 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18879
747ef469
SP
188802013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18881 H.J. Lu <hjl.tools@gmail.com>
18882
18883 [BZ #15627]
18884 * sysdeps/x86_64/rtld-memset.c: Remove file.
18885 * sysdeps/x86_64/rtld-memset.S: New file.
18886
1b2feed2
JM
188872013-06-14 Joseph Myers <joseph@codesourcery.com>
18888
18889 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18890 (test_in_one_mode): Take arguments for whether the rounding mode
18891 is supported for each floating-point type.
18892 (do_test): Pass new arguments to test_in_one_mode using
18893 ROUNDING_TESTS.
18894
a58ad3f8
RM
188952013-06-13 Roland McGrath <roland@hack.frob.com>
18896
18897 * posix/tst-waitid.c (do_test): Distinguish different instances of
18898 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18899 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18900 before entering the kernel for waitpid.
18901
c204ab28
SP
189022013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18903
18904 * NEWS: Fix note on clock function precision. Text by Roland
18905 McGrath.
18906
f4a29fba
RM
189072013-06-13 Roland McGrath <roland@hack.frob.com>
18908
18909 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18910 it into place only when and if the sanity check passes.
18911
1f24b9ad
JM
189122013-06-13 Joseph Myers <joseph@codesourcery.com>
18913
18914 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18915 output for whether conversion result is exact. Take argument
18916 indicating whether type is IBM long double.
18917 (round_for_all): Change need_exact field to ibm_ld.
18918 * stdlib/tst-strtod-round.c (struct exactness): New type.
18919 (struct test): Change bool ld_ok field to struct exactness exact.
18920 (TEST): Update all definitions for change to field.
18921 (tests): Regenerate array contents.
18922 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18923 field value. Check for IBM long double here.
18924 (do_test): Update calls to test_in_one_mode.
18925
58206c68
SP
189262013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18927
18928 [BZ #12515]
18929 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18930 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18931
2d6f4c5b 189322013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
18933
18934 [BZ #15605]
18935 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18936 generated by the compiler on loop optimizations.
18937 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18938 general definitions.
18939
94f2c076
JM
189402013-06-12 Joseph Myers <joseph@codesourcery.com>
18941
18942 * math/bug-nextafter.c: Include <math-tests.h>.
18943 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18944 the relevant type.
18945 * math/bug-nexttoward.c: Include <math-tests.h>.
18946 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18947 the relevant type.
18948 * math/test-misc.c: Include <math-tests.h>.
18949 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18950 the relevant type.
18951
e0e50a0a
AJ
189522013-06-12 Andreas Jaeger <aj@suse.de>
18953
18954 * po/ia.po: Update Interlingua translation from translation
18955 project.
18956
25061094
SP
189572013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18958
18959 * include/fenv.h: Include stdbool.h.
18960 (struct rm_ctx): New structure.
18961 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18962 Define macro.
18963 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18964 (SET_RESTORE_ROUNDF): Likewise.
18965 (SET_RESTORE_ROUNDL): Likewise.
18966 (SET_RESTORE_ROUND_NOEX): Likewise.
18967 (SET_RESTORE_ROUND_NOEXF): Likewise.
18968 (SET_RESTORE_ROUND_NOEXL): Likewise.
18969 (SET_RESTORE_ROUND_53BIT): Likewise.
18970 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18971 (libc_feresetround_noexf_ctx): Likewise.
18972 (libc_feresetround_noexl_ctx): Likewise.
18973 (libc_feholdsetround_53bit_ctx): Likewise.
18974 (libc_feresetround_53bit_ctx): Likewise.
18975 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18976 (libc_feholdexcept_setround_sse_ctx): New function.
18977 (libc_fesetenv_sse_ctx): Likewise.
18978 (libc_feupdateenv_sse_ctx): Likewise.
18979 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18980 (libc_feholdexcept_setround_387_ctx): Likewise.
18981 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18982 (libc_feholdsetround_387_prec_ctx): Likewise.
18983 (libc_feholdsetround_387_ctx): Likewise.
18984 (libc_feholdsetround_387_53bit_ctx): Likewise.
18985 (libc_feholdsetround_sse_ctx): Likewise.
18986 (libc_feresetround_sse_ctx): Likewise.
18987 (libc_feresetround_387_ctx): Likewise.
18988 (libc_feupdateenv_387_ctx): Likewise.
18989 (libc_feholdexcept_setroundf_ctx): Define macro.
18990 (libc_fesetenvf_ctx): Likewise.
18991 (libc_feupdateenvf_ctx): Likewise.
18992 (libc_feholdsetroundf_ctx): Likewise.
18993 (libc_feresetroundf_ctx): Likewise.
18994 (libc_feholdexcept_setround_ctx): Likewise.
18995 (libc_fesetenv_ctx): Likewise.
18996 (libc_feupdateenv_ctx): Likewise.
18997 (libc_feholdsetround_ctx): Likewise.
18998 (libc_feresetround_ctx): Likewise.
18999 (libc_feholdexcept_setroundl_ctx): Likewise.
19000 (libc_feupdateenvl_ctx): Likewise.
19001 (libc_feholdsetroundl_ctx): Likewise.
19002 (libc_feresetroundl_ctx): Likewise.
19003 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19004 (libc_feresetround_53bit_ctx): Likewise.
19005
59b30555
SP
190062013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19007
19008 * locale/iso-639.def: Convert to UTF-8.
19009
f1d73d30
JM
190102013-06-11 Joseph Myers <joseph@codesourcery.com>
19011
19012 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19013 (EXCEPTION_TESTS_double): Likewise.
19014 (EXCEPTION_TESTS_long_double): Likewise.
19015 (EXCEPTION_TESTS): Likewise.
19016 * math/libm-test.inc (test_exceptions): Only test exceptions if
19017 EXCEPTION_TESTS (FLOAT).
19018
94aca5e7
SP
190192013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19020
19021 * benchtests/Makefile (string-bench): Add strcpy_chk and
19022 stpcpy_chk.
19023 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19024 * benchtests/bench-stpcpy_chk.c: New file.
19025 * benchtests/bench-strcpy_chk-ifunc.c: New file.
19026 * benchtests/bench-strcpy_chk.c: New file.
19027 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19028 code.
19029 (do_test): Likewise.
19030
fac0c5f2
RA
190312013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19032
19033 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19034 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19035 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19036 with tabs where appropriate.
19037 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19038 dl-procinfo.h.
19039 [PPC_PLATFORM_PPC440]: Likewise.
19040 [PPC_PLATFORM_PPC464]: Likewise.
19041 [PPC_PLATFORM_PPC476]: Likewise.
19042 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19043 ppc464, and ppc476 platform strings merging from ports/
19044 dl-procinfo.h.
19045
f22bc486
AS
190462013-06-11 Andreas Schwab <schwab@suse.de>
19047
19048 [BZ #14991]
19049 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19050 (from_ucs4_idx): Regenerate.
19051 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19052 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19053 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19054 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19055 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19056 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19057 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19058 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19059 from FROM_LOOP and TO_LOOP specific macros.
19060 (BODY): Handle combining characters.
19061 * iconvdata/BIG5HKSCS.irreversible: Update.
19062 * iconvdata/BIG5HKSCS.precomposed: New file.
19063 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19064 characters.
19065 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19066
c1f75dc3
SP
190672013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19068
4eacded2
SP
19069 * include/sys/time.h: Fix indentation and add copyright header.
19070
fec799f8
SP
19071 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19072 (do_test): Likewise.
19073 * string/test-memchr.c (do_one_test): Likewise.
19074 (do_test): Likewise.
19075 * string/test-memcmp.c (do_one_test): Likewise.
19076 (do_test): Likewise.
19077 * string/test-memcpy.c (do_one_test): Likewise.
19078 (do_test): Likewise.
19079 * string/test-memmem.c (do_one_test): Likewise.
19080 (do_test): Likewise.
19081 (do_random_tests): Likewise.
19082 * string/test-memmove.c (do_one_test): Likewise.
19083 (do_test): Likewise.
19084 * string/test-memset.c (do_one_test): Likewise.
19085 (do_test): Likewise.
19086 * string/test-rawmemchr.c (do_one_test): Likewise.
19087 (do_test): Likewise.
19088 * string/test-strcasecmp.c (do_one_test): Likewise.
19089 (do_test): Likewise.
19090 * string/test-strcasestr.c (do_one_test): Likewise.
19091 (do_test): Likewise.
19092 * string/test-strcat.c (do_one_test): Likewise.
19093 (do_test): Likewise.
19094 * string/test-strchr.c (do_one_test): Likewise.
19095 (do_test): Likewise.
19096 * string/test-strcmp.c (do_one_test): Likewise.
19097 (do_test): Likewise.
19098 * string/test-strcpy.c (do_one_test): Likewise.
19099 (do_test): Likewise.
19100 * string/test-string.h: Likewise.
19101 (test_init): Likewise.
19102 * string/test-strlen.c (do_one_test): Likewise.
19103 (do_test): Likewise.
19104 * string/test-strncasecmp.c (do_one_test): Likewise.
19105 (do_test): Likewise.
19106 * string/test-strncat.c (do_one_test): Likewise.
19107 (do_test): Likewise.
19108 * string/test-strncmp.c (do_one_test): Likewise.
19109 (do_test_limit): Likewise.
19110 (do_test): Likewise.
19111 * string/test-strncpy.c (do_one_test): Likewise.
19112 (do_test): Likewise.
19113 * string/test-strnlen.c (do_one_test): Likewise.
19114 (do_test): Likewise.
19115 * string/test-strpbrk.c (do_one_test): Likewise.
19116 (do_test): Likewise.
19117 * string/test-strrchr.c (do_one_test): Likewise.
19118 (do_test): Likewise.
19119 * string/test-strspn.c (do_one_test): Likewise.
19120 (do_test): Likewise.
19121 * string/test-strstr.c (do_one_test): Likewise.
19122 (do_test): Likewise.
19123
97020474
SP
19124 * benchtests/Makefile (string-bench): Add string benchmarks.
19125 * benchtests/bench-bcopy-ifunc.c: New file.
19126 * benchtests/bench-bcopy.c: New file.
19127 * benchtests/bench-bzero-ifunc.c: New file.
19128 * benchtests/bench-bzero.c: New file.
19129 * benchtests/bench-memccpy-ifunc.c: New file.
19130 * benchtests/bench-memccpy.c: New file.
19131 * benchtests/bench-memchr-ifunc.c: New file.
19132 * benchtests/bench-memchr.c: New file.
19133 * benchtests/bench-memcmp-ifunc.c: New file.
19134 * benchtests/bench-memcmp.c: New file.
19135 * benchtests/bench-memmem-ifunc.c: New file.
19136 * benchtests/bench-memmem.c: New file.
19137 * benchtests/bench-memmove-ifunc.c: New file.
19138 * benchtests/bench-memmove.c: New file.
19139 * benchtests/bench-mempcpy-ifunc.c: New file.
19140 * benchtests/bench-mempcpy.c: New file.
19141 * benchtests/bench-memset-ifunc.c: New file.
19142 * benchtests/bench-memset.c: New file.
19143 * benchtests/bench-rawmemchr-ifunc.c: New file.
19144 * benchtests/bench-rawmemchr.c: New file.
19145 * benchtests/bench-stpcpy-ifunc.c: New file.
19146 * benchtests/bench-stpcpy.c: New file.
19147 * benchtests/bench-stpncpy-ifunc.c: New file.
19148 * benchtests/bench-stpncpy.c: New file.
19149 * benchtests/bench-strcasecmp-ifunc.c: New file.
19150 * benchtests/bench-strcasecmp.c: New file.
19151 * benchtests/bench-strcasestr-ifunc.c: New file.
19152 * benchtests/bench-strcasestr.c: New file.
19153 * benchtests/bench-strcat-ifunc.c: New file.
19154 * benchtests/bench-strcat.c: New file.
19155 * benchtests/bench-strchr-ifunc.c: New file.
19156 * benchtests/bench-strchr.c: New file.
19157 * benchtests/bench-strchrnul-ifunc.c: New file.
19158 * benchtests/bench-strchrnul.c: New file.
19159 * benchtests/bench-strcmp-ifunc.c: New file.
19160 * benchtests/bench-strcmp.c: New file.
19161 * benchtests/bench-strcpy-ifunc.c: New file.
19162 * benchtests/bench-strcpy.c: New file.
19163 * benchtests/bench-strcspn-ifunc.c: New file.
19164 * benchtests/bench-strcspn.c: New file.
19165 * benchtests/bench-strlen-ifunc.c: New file.
19166 * benchtests/bench-strlen.c: New file.
19167 * benchtests/bench-strncasecmp-ifunc.c: New file.
19168 * benchtests/bench-strncasecmp.c: New file.
19169 * benchtests/bench-strncat-ifunc.c: New file.
19170 * benchtests/bench-strncat.c: New file.
19171 * benchtests/bench-strncmp-ifunc.c: New file.
19172 * benchtests/bench-strncmp.c: New file.
19173 * benchtests/bench-strncpy-ifunc.c: New file.
19174 * benchtests/bench-strncpy.c: New file.
19175 * benchtests/bench-strnlen-ifunc.c: New file.
19176 * benchtests/bench-strnlen.c: New file.
19177 * benchtests/bench-strpbrk-ifunc.c: New file.
19178 * benchtests/bench-strpbrk.c: New file.
19179 * benchtests/bench-strrchr-ifunc.c: New file.
19180 * benchtests/bench-strrchr.c: New file.
19181 * benchtests/bench-strspn-ifunc.c: New file.
19182 * benchtests/bench-strspn.c: New file.
19183 * benchtests/bench-strstr-ifunc.c: New file.
19184 * benchtests/bench-strstr.c: New file.
19185
c1f75dc3
SP
19186 * benchtests/Makefile: Disable parallel execution of targets.
19187 (string-bench): Add memcpy.
19188 (benchset): New variable to store a list of benchmark sets.
19189 (bench-func): Renamed from bench.
19190 (bench-set): New target.
19191 (bench): Depend on bench-func and bench-set.
19192 * benchtests/README: Add section on benchmark sets.
19193 * benchtests/bench-memcpy-ifunc.c: New file.
19194 * benchtests/bench-memcpy.c: New file.
19195 * benchtests/bench-string.h: New file.
19196
50fd745b
AS
191972013-06-11 Andreas Schwab <schwab@suse.de>
19198
19199 [BZ #15577]
19200 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19201 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19202 values in the triple.
19203 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19204 terminator in the group key.
19205
3ee7e9fe
AJ
192062013-06-11 Andreas Jaeger <aj@suse.de>
19207
19208 * po/zh_TW.po: Update Chinese (traditional) translation from
19209 translation project.
19210
89fb6835
SP
192112013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19212
19213 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19214 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19215 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19216 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19217 (clock_getcpuclockid): Likewise.
19218 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19219 Add weak_alias and libc_hidden_def.
19220 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19221 * rt/clock_gettime.c (clock_gettime): Rename to
19222 __clock_gettime. Add weak_alias and libc_hidden_def.
19223 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19224 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19225 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19226 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19227 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19228 Likewise.
19229 * rt/clock_settime.c (clock_settime): Rename to
19230 __clock_settime. Add weak_alias and libc_hidden_def.
19231 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19232
0efa6f8b
JM
192332013-06-10 Joseph Myers <joseph@codesourcery.com>
19234
b8c61b4b
JM
19235 * mach/err_boot.sub: Remove trailing whitespace.
19236 * mach/err_ipc.sub: Likewise.
19237 * mach/err_mach.sub: Likewise.
19238
0efa6f8b
JM
19239 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19240 (ROUNDING_TESTS_double): Likewise.
19241 (ROUNDING_TESTS_long_double): Likewise.
19242 (ROUNDING_TESTS): Likewise.
19243 * math/libm-test.inc: Include <math-tests.h>.
19244 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19245 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19246 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19247 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19248
50b818bf
SP
192492013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19250
19251 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19252 of assigning.
19253
60d2f8f3
JM
192542013-06-08 Joseph Myers <joseph@codesourcery.com>
19255
4902d2c3
JM
19256 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19257 otherwise empty TRANS lines.
19258 * sysdeps/gnu/errlist.c: Regenerated.
19259
60d2f8f3
JM
19260 * catgets/gencat.c (error_print): Use (void) in function
19261 definition.
19262 * crypt/crypt_util.c (__init_des): Likewise.
19263 * crypt/speeds.c (Stop): Likewise.
19264 (main): Likewise.
19265 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19266 * inet/ruserpass.c (token): Likewise.
19267 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19268 * intl/localealias.c (extend_alias_table): Likewise.
19269 * intl/plural-exp.c (init_germanic_plural): Likewise.
19270 * libio/fcloseall.c (__fcloseall): Likewise.
19271 * libio/genops.c (_IO_flush_all): Likewise.
19272 (_IO_flush_all_linebuffered): Likewise.
19273 (_IO_cleanup): Likewise.
19274 (_IO_iter_begin): Likewise.
19275 (_IO_iter_end): Likewise.
19276 (_IO_list_lock): Likewise.
19277 (_IO_list_unlock): Likewise.
19278 (_IO_list_resetlock): Likewise.
19279 * libio/getchar.c (getchar): Likewise.
19280 * libio/getchar_u.c (getchar_unlocked): Likewise.
19281 * libio/getwchar.c (getwchar): Likewise.
19282 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19283 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19284 * login/getpt.c (__getpt): Likewise.
19285 * login/tst-utmp.c (main): Likewise.
19286 * malloc/hooks.c (__malloc_check_init): Likewise.
19287 * malloc/malloc.c (__malloc_stats): Likewise.
19288 * malloc/mtrace.c (tr_break): Likewise.
19289 (mtrace): Likewise.
19290 (muntrace): Likewise.
19291 * misc/fstab.c (endfsent): Likewise.
19292 * misc/getclktck.c (__getclktck): Likewise.
19293 * misc/getdtsz.c (__getdtablesize): Likewise.
19294 * misc/gethostid.c (gethostid): Likewise.
19295 * misc/getpagesize.c (__getpagesize): Likewise.
19296 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19297 (__get_nprocs): Likewise.
19298 (__get_phys_pages): Likewise.
19299 (__get_avphys_pages): Likewise.
19300 * misc/getttyent.c (getttyent): Likewise.
19301 (setttyent): Likewise.
19302 (endttyent): Likewise.
19303 * misc/getusershell.c (getusershell): Likewise.
19304 (endusershell): Likewise.
19305 (setusershell): Likewise.
19306 (initshells): Likewise.
19307 * misc/hsearch.c (__hdestroy): Likewise.
19308 * misc/sync.c (sync): Likewise.
19309 * misc/syslog.c (closelog_internal): Likewise.
19310 (closelog): Likewise.
19311 * misc/ttyslot.c (ttyslot): Likewise.
19312 * misc/vhangup.c (vhangup): Likewise.
19313 * posix/fork.c (__fork): Likewise.
19314 * posix/getegid.c (__getegid): Likewise.
19315 * posix/geteuid.c (__geteuid): Likewise.
19316 * posix/getgid.c (__getgid): Likewise.
19317 * posix/getpid.c (__getpid): Likewise.
19318 * posix/getppid.c (__getppid): Likewise.
19319 * posix/getuid.c (__getuid): Likewise.
19320 * posix/pause.c (pause): Likewise.
19321 * posix/setpgrp.c (setpgrp): Likewise.
19322 * posix/setsid.c (__setsid): Likewise.
19323 * posix/test-vfork.c (noop): Likewise.
19324 * resolv/gethnamaddr.c (_endhtent): Likewise.
19325 (_gethtent): Likewise.
19326 (ht_endhostent): Likewise.
19327 (gethostent): Likewise.
19328 (dns_service): Likewise.
19329 * stdlib/drand48.c (drand48): Likewise.
19330 * stdlib/lrand48.c (lrand48): Likewise.
19331 * stdlib/mrand48.c (mrand48): Likewise.
19332 * stdlib/rand.c (rand): Likewise.
19333 * stdlib/random.c (__random): Likewise.
19334 * stdlib/setenv.c (clearenv): Likewise.
19335 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19336 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19337 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19338 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19339 (__get_nprocs): Likewise.
19340 (__get_phys_pages): Likewise.
19341 (__get_avphys_pages): Likewise.
19342 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19343 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19344 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19345 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19346 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19347 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19348 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19349 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19350 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19351 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19352 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19353 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19354 * sysdeps/posix/clock.c (clock): Likewise.
19355 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19356 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19357 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19358 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19359 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19360 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19361 (__get_nprocs_conf): Likewise.
19362 (__get_phys_pages): Likewise.
19363 (__get_avphys_pages): Likewise.
19364 * time/clock.c (clock): Likewise.
19365 * time/tzset.c (__tzname_max): Likewise.
19366
2e09a79a
JM
193672013-06-07 Joseph Myers <joseph@codesourcery.com>
19368
19369 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19370 (__bswap_32): Do not use "register".
19371 * crypt/crypt.c (_ufc_doit_r): Likewise.
19372 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19373 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19374 * gmon/gmon.c (__monstartup): Likewise.
19375 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19376 * hurd/hurdmalloc.c (more_memory): Likewise.
19377 (malloc): Likewise.
19378 (free): Likewise.
19379 (realloc): Likewise.
19380 (malloc_fork_prepare): Likewise.
19381 (malloc_fork_parent): Likewise.
19382 (malloc_fork_child): Likewise.
19383 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19384 (_svcauth_des): Likewise.
19385 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19386 * inet/inet_net.c (inet_network): Likewise.
19387 * inet/inet_netof.c (inet_netof): Likewise.
19388 * inet/rcmd.c (__validuser2_sa): Likewise.
19389 * io/fts.c (fts_open): Likewise.
19390 (fts_load): Likewise.
19391 (fts_close): Likewise.
19392 (fts_read): Likewise.
19393 (fts_children): Likewise.
19394 (fts_build): Likewise.
19395 (fts_stat): Likewise.
19396 (fts_sort): Likewise.
19397 (fts_alloc): Likewise.
19398 (fts_lfree): Likewise.
19399 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19400 (_IO_file_xsgetn): Likewise.
19401 (_IO_file_xsgetn_mmap): Likewise.
19402 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19403 (_IO_cookie_write): Likewise.
19404 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19405 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19406 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19407 * malloc/obstack.c (_obstack_begin): Likewise.
19408 (_obstack_begin_1): Likewise.
19409 (_obstack_newchunk): Likewise.
19410 (_obstack_allocated_p): Likewise.
19411 (obstack_free): Likewise.
19412 (_obstack_memory_used): Likewise.
19413 * misc/getttyent.c (getttynam): Likewise.
19414 (getttyent): Likewise.
19415 (skip): Likewise.
19416 (value): Likewise.
19417 * misc/getusershell.c (initshells): Likewise.
19418 * misc/syslog.c (__vsyslog_chk): Likewise.
19419 * misc/ttyslot.c (ttyslot): Likewise.
19420 * nis/nis_hash.c (__nis_hash): Likewise.
19421 * posix/fnmatch_loop.c (FCT): Likewise.
19422 * posix/getconf.c (print_all): Likewise.
19423 (main): Likewise.
19424 * posix/getopt.c (exchange): Likewise.
19425 * posix/glob.c (globfree): Likewise.
19426 (prefix_array): Likewise.
19427 (__glob_pattern_type): Likewise.
19428 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19429 (NS_GET32): Likewise.
19430 (NS_PUT16): Likewise.
19431 (NS_PUT32): Likewise.
19432 * resolv/gethnamaddr.c (getanswer): Likewise.
19433 (gethostbyname2): Likewise.
19434 (gethostbyaddr): Likewise.
19435 (_gethtent): Likewise.
19436 (_gethtbyname2): Likewise.
19437 (_gethtbyaddr): Likewise.
19438 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19439 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19440 * resolv/res_init.c (__res_vinit): Likewise.
19441 (net_mask): Likewise.
19442 * resolv/res_mkquery.c (outchar): Likewise.
19443 (PRINT): Likewise.
19444 * stdio-common/printf_fp.c (outchar): Likewise.
19445 (PRINT): Likewise.
19446 * stdio-common/printf_fphex.c (outchar): Likewise.
19447 (PRINT): Likewise.
19448 * stdio-common/printf_size.c (outchar): Likewise.
19449 (PRINT): Likewise.
19450 * stdio-common/test_rdwr.c (main): Likewise.
19451 * stdio-common/tfformat.c (matches): Likewise.
19452 * stdio-common/vfprintf.c (outchar): Likewise.
19453 (printf_unknown): Likewise.
19454 (buffered_vfprintf): Likewise.
19455 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19456 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19457 (ReadFile): Likewise.
19458 * stdlib/qsort.c (SWAP): Likewise.
19459 (_quicksort): Likewise.
19460 * stdlib/setenv.c (__add_to_environ): Likewise.
19461 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19462 * stdlib/strtol_l.c (__strtol_l): Likewise.
19463 * stdlib/tst-strtod.c (main): Likewise.
19464 * stdlib/tst-strtol.c (main): Likewise.
19465 * stdlib/tst-strtoll.c (main): Likewise.
19466 * string/bits/string2.h (__strcmp_cc): Likewise.
19467 (__strcmp_cg): Likewise.
19468 (__strcspn_c1): Likewise.
19469 (__strcspn_c2): Likewise.
19470 (__strcspn_c3): Likewise.
19471 (__strspn_c1): Likewise.
19472 (__strspn_c2): Likewise.
19473 (__strspn_c3): Likewise.
19474 (__strsep_1c): Likewise.
19475 (__strsep_2c): Likewise.
19476 (__strsep_3c): Likewise.
19477 * string/memccpy.c (__memccpy): Likewise.
19478 * string/stpcpy.c (__stpcpy): Likewise.
19479 * string/strcmp.c (strcmp): Likewise.
19480 * string/strrchr.c (strrchr): Likewise.
19481 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19482 Likewise.
19483 * sysdeps/mach/hurd/getcwd.c
19484 (_hurd_canonicalize_directory_name_internal): Likewise.
19485 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19486 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19487 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19488 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19489 Likewise, in both definitions.
19490 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19491 definitions.
19492 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19493 64] (__bswap_64): Likewise.
19494 * time/test_time.c (main): Likewise.
19495 * time/tzfile.c (__tzfile_read): Likewise.
19496 (__tzfile_compute): Likewise.
19497 * time/tzset.c (__tzset_parse_tz): Likewise.
19498 (tzset_internal): Likewise.
19499 (compute_change): Likewise.
19500 * wcsmbs/wcscat.c (__wcscat): Likewise.
19501 * wcsmbs/wcschr.c (wcschr): Likewise.
19502 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19503 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19504 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19505 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19506 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19507 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19508 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19509 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19510 * wcsmbs/wmemset.c (wmemset): Likewise.
19511
9e54314b
JM
195122013-06-06 Joseph Myers <joseph@codesourcery.com>
19513
19514 * scripts/config.guess: Update to version 2013-05-16.
19515 * scripts/config.sub: Update to version 2013-04-24.
19516 * scripts/install-sh: Update to version 2011-11-20.07.
19517 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19518 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19519
350635a5
OB
195202013-06-06 Ondřej Bílka <neleai@seznam.cz>
19521
19522 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19523 * elf/sln.c: Likewise.
19524 * hurd/hurd/ioctl.h: Likewise.
19525 * hurd/hurdmalloc.c: Likewise.
19526 * hurd/xattr.c: Likewise.
19527 * include/shlib-compat.h: Likewise.
19528 * inet/ruserpass.c: Likewise.
19529 * libio/iofgets_u.c: Likewise.
19530 * libio/iofgetws_u.c: Likewise.
19531 * locale/programs/ld-identification.c: Likewise.
19532 * locale/programs/ld-time.c: Likewise.
19533 * mach/msg-destroy.c: Likewise.
19534 * nss/nss_files/files-netgrp.c: Likewise.
19535 * resolv/res_data.c: Likewise.
19536 * soft-fp/op-1.h: Likewise.
19537 * soft-fp/op-2.h: Likewise.
19538 * soft-fp/op-4.h: Likewise.
19539 * soft-fp/op-common.h: Likewise.
19540 * stdio-common/printf_fphex.c: Likewise.
19541 * stdlib/strtod_l.c: Likewise.
19542 * sunrpc/rpc/clnt.h: Likewise.
19543 * sysdeps/generic/framestate.c: Likewise.
19544 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19545 * sysdeps/i386/bsd-setjmp.S: Likewise.
19546 * sysdeps/i386/__longjmp.S: Likewise.
19547 * sysdeps/i386/setjmp.S: Likewise.
19548 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19549 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19550 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19551 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19552 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19553 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19554 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19555 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19558 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19559 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19560 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19561 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19562 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19563 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19564 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19565 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19566 * sysdeps/ieee754/support.c: Likewise.
19567 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19568 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19569 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19570 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19571 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19572 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19573 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19574 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19575 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19576 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19577 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19578 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19579 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19580 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19581 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19582 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19583 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19585
44a988af
OB
195862013-06-05 Ondřej Bílka <neleai@seznam.cz>
19587
25506f09 19588 * posix/transbug.c: Remove executable mode.
44a988af 19589
9c84384c
JM
195902013-06-05 Joseph Myers <joseph@codesourcery.com>
19591
19592 * crypt/speeds.c: Remove trailing whitespace.
19593 * dlfcn/default.c: Likewise.
19594 * elf/ifuncdep2.c: Likewise.
19595 * elf/ifuncmain1.c: Likewise.
19596 * elf/ifuncmain1vis.c: Likewise.
19597 * elf/testobj.h: Likewise.
19598 * elf/tst-stackguard1.c: Likewise.
19599 * gmon/sys/gmon.h: Likewise.
19600 * hurd/hurdmsg.c: Likewise.
19601 * hurd/new-fd.c: Likewise.
19602 * hurd/ports-get.c: Likewise.
19603 * iconvdata/ibm1008_420.c: Likewise.
19604 * inet/tst-getni1.c: Likewise.
19605 * inet/tst-getni2.c: Likewise.
19606 * libio/ioungetc.c: Likewise.
19607 * libio/wfiledoalloc.c: Likewise.
19608 * manual/libm-err-tab.pl: Likewise.
19609 * math/w_dremf.c: Likewise.
19610 * misc/ftruncate.c: Likewise.
19611 * posix/bug-glob2.c: Likewise.
19612 * posix/tst-pcre.c: Likewise.
19613 * posix/wait4.c: Likewise.
19614 * resolv/README: Likewise.
19615 * resolv/res_debug.h: Likewise.
19616 * resolv/tst-inet_ntop.c: Likewise.
19617 * setjmp/bug269-setjmp.c: Likewise.
19618 * soft-fp/extended.h: Likewise.
19619 * soft-fp/op-1.h: Likewise.
19620 * soft-fp/op-2.h: Likewise.
19621 * soft-fp/op-4.h: Likewise.
19622 * soft-fp/op-8.h: Likewise.
19623 * soft-fp/testit.c: Likewise.
19624 * stdio-common/bug16.c: Likewise.
19625 * stdlib/random.c: Likewise.
19626 * sunrpc/rpcsvc/rquota.x: Likewise.
19627 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19628 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19629 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19630 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19631 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19632 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19633 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19634 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19635 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19636 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19637 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19638 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19639 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19640 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19641 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19642 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19643 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19644 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19645 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19646 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19647 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19648 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19649 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19650 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19651 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19652 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19653 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19654 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19655 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19656 * sysdeps/ieee754/s_lib_version.c: Likewise.
19657 * sysdeps/mach/hurd/check_fds.c: Likewise.
19658 * sysdeps/mach/hurd/getsockname.c: Likewise.
19659 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19660 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19661 * sysdeps/powerpc/bits/link.h: Likewise.
19662 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19663 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19664 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19665 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19666 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19667 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19668 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19669 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19670 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19671 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19672 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19673 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19674 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19675 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19676 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19677 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19678 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19679 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19680 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19681 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19682 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19683 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19684 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19685 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19686 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19687 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19688 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19689 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19690 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19691 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19692 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19693 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19694 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19695 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19696 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19697 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19698 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19699 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19700 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19701 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19702 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19703 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19704 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19705 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19706 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19707 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19708 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19709 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19710 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19711 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19712 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19713 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19714 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19715 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19716 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19717 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19718 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19719 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19720 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19721 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19722 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19723 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19724 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19725 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19726 * sysdeps/powerpc/sysdep.h: Likewise.
19727 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19728 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19729 * sysdeps/sh/dl-trampoline.S: Likewise.
19730 * sysdeps/sh/memset.S: Likewise.
19731 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19732 * sysdeps/sh/strlen.S: Likewise.
19733 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19734 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19735 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19736 * sysdeps/sparc/sparc32/rem.S: Likewise.
19737 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19738 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19739 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19740 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19741 * sysdeps/sparc/sparc32/urem.S: Likewise.
19742 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19743 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19744 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19745 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19746 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19747 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19748 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19749 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19750 * sysdeps/unix/bsd/times.c: Likewise.
19751 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19752 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19756 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19757 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19758 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19759 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19760 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19761 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19762 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19763 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19764 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19765 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19766 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19767 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19768 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19769 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19770 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19771 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19772 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19773 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19774 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19775 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19776 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19777 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19778 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19779 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19780 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19781 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19782 * sysdeps/x86_64/strcspn.S: Likewise.
19783
869378a5
RA
197842013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19785
19786 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19787 generated file. Regenerate properly from gen-translit.pl.
19788 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19789 locale/C-translit.h.
19790
840e2943
AS
197912013-06-05 Andreas Schwab <schwab@suse.de>
19792
19793 [BZ #15100]
19794 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19795 week as 6 instead of -1.
19796 * time/tst-strptime.c (day_tests): Add test case.
19797
4c60cb0c
SP
197982013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19799
19800 * sysdeps/generic/math_private.h
19801 (libc_feholdexcept_setround_53bit): Replace with
19802 libc_feholdsetround_53bit.
19803 (libc_feupdateenv_53bit): Replace with
19804 libc_feresetround_53bit.
19805 (SET_RESTORE_ROUND_53BIT): Adjust.
19806
d180203e
SP
198072013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19808
96df079a
SP
19809 * string/test-strchrnul.c: Add copyright header.
19810
d180203e
SP
19811 * posix/tst-getaddrinfo4.c: Increase test timeout.
19812
8b0ccb2d
CD
198132013-06-03 Carlos O'Donell <carlos@redhat.com>
19814
19815 [BZ #15536]
19816 * math/libm-test.inc (MAX_EXP): Remove
19817 (MIN_EXP): Define.
19818 (ulp): Use MIN_EXP - MANT_DIG.
19819 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19820
3b3c4d40
CD
198212013-05-31 Carlos O'Donell <carlos@redhat.com>
19822
19823 * po/be.po: Revert last change.
19824 * po/zh_CN.po: Likewise.
19825 * po/header.pot: Likewise.
19826
fab7ce3f
JM
198272013-05-31 Joseph Myers <joseph@codesourcery.com>
19828
19829 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19830 link-libc-deps to empty as target-specific variable.
19831 * Makerules (link-libc-args): New variable.
19832 (libc-for-link): Likewise.
19833 (link-libc-deps): Likewise.
19834 (lib%.so): Depend on $(link-libc-deps). Link with
19835 $(link-libc-args).
19836 (build-module): Link with $(link-libc-args).
19837 (build-module-asneeded): Likewise.
19838 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19839 list of objects.
19840 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19841 target-specific variable.
19842 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19843 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19844 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19845 libc.
19846 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19847 libc and ld.so.
19848 ($(objpfx)libpcprofile.so): Likewise.
19849 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19850 libc_nonshared.a.
19851 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19852 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19853 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19854 $(link-libc-deps).
19855 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19856 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19857 * login/Makefile ($(objpfx)libutil.so): Likewise.
19858 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19859 * math/Makefile ($(objpfx)libm.so): Likewise.
19860 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19861 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19862 variable instead of depending directly on libc.
19863 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19864 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19865 $(link-libc-deps).
19866 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19867 libc.
19868 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19869 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19870 ($(objpfx)libanl.so): Likewise.
19871 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19872 ld.so.
19873 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19874 $(link-libc-deps).
19875 * sysdeps/i386/fpu/Makefile: Remove file.
19876 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19877 ($(objpfx)libm.so): Remove dependency on ld.so.
19878
eca5920c
PF
198792013-05-30 Patsy Franklin <pfrankli@redhat.com>
19880
19881 [BZ # 15553]
19882 * nis/yp_xdr.c (XDRMAXNAME): Define.
19883 (XDRMAXRECORD): Define.
19884 (xdr_domainname): Use XDRMAXNAME.
19885 (xdr_mapname): Likewise.
19886 (xdr_peername): Likewise.
19887 (xdr_keydat): Use XDRMAXRECORD.
19888 (xdr_valdat): Likewise.
19889
198902013-05-30 Jeff Law <law@redhat.com>
96945714
JL
19891
19892 [BZ #14256]
19893 * manual/errno.texi (ESTALE): Update to account for more than
19894 just NFS file systems.
19895 * sysdeps/gnu/errlist.c: Regenerated.
19896
b9375348
SP
198972013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19898
19899 [BZ #15465]
19900 * elf/Makefile (tests): Add tst-null-argv.
19901 (modules-names): Add tst-null-argv-lib.
19902 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19903 (tst-null-argv-ENV): Set environment for tst-null-argv.
19904 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19905 (RTLD_PROGNAME): New macro.
19906 * elf/tst-null-argv.c: New test case.
19907 * elf/tst-null-argv-lib.c: Library for test case.
19908 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19909 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19910 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19911 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19912 * elf/dl-init.c (call_init): Likewise.
19913 (_dl_init): Likewise.
19914 * elf/dl-load.c (print_search_path): Likewise.
19915 (_dl_map_object): Likewise.
19916 * elf/dl-lookup.c (do_lookup_x): Likewise.
19917 (add_dependency): Likewise.
19918 (_dl_lookup_symbol_x): Likewise.
19919 (_dl_debug_bindings): Likewise.
19920 * elf/dl-open.c (_dl_show_scope): Likewise.
19921 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19922 * elf/dl-version.c (match_symbol): Likewise.
19923 (_dl_check_map_versions): Likewise.
19924 * elf/rtld.c (dl_main): Likewise.
19925 (print_unresolved): Use RTLD_PROGNAME.
19926 (print_missing_version): Likewise.
19927 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19928 (elf_machine_rela): Likewise.
19929 * sysdeps/powerpc/powerpc32/dl-machine.c
19930 (__process_machine_rela): Likewise.
19931 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19932 Likewise.
19933 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19934 Likewise.
19935 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19936 Likewise.
19937 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19938 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19939 Likewise.
19940 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19941 Likewise.
19942 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19943
8a9f20c8
CD
199442013-05-28 Carlos O'Donell <carlos@redhat.com>
19945
19946 * po/be.po: Add descriptive title.
19947 * po/zh_CN.po: Likewise.
19948 * po/header.pot: Likewise.
19949
0e60d68e
MF
199502013-05-28 Mike Frysinger <vapier@gentoo.org>
19951
19952 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19953 error message.
19954 (enlarge_archive): Likewise.
19955
56b672e9
BN
199562013-05-28 Ben North <ben@redfrontdoor.org>
19957
19958 * manual/arith.texi (frexp): It is the magnitude of the return
19959 value which lies in [0.5, 1), not the return value itself.
19960
5e056687
AZ
199612013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19962
19963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19964
2b66ef5d
TS
199652013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19966
528c2405
TS
19967 * stdio-common/bug26.c (main): Correct fscanf template.
19968
07b4c13d
TS
19969 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19970 declare _dl_skip_args.
19971
ec9dd97c
TS
19972 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19973 Don't declare.
19974
2b66ef5d
TS
19975 * manual/platform.texi: Add missing @end deftypefun.
19976
4f8dfe27
JM
199772013-05-24 Joseph Myers <joseph@codesourcery.com>
19978
0323d086
JM
19979 [BZ #15529]
19980 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19981 bit of mantissa of 2^16382.
19982 * math/libm-test.inc (hypot_test_data): Add more tests.
19983
dd4259b9
JM
19984 * math/libm-test.inc: Add drem and pow10 to list of tested
19985 functions.
19986 (pow10_test): New function.
19987 (drem_test): Likewise.
19988 (drem_test_tonearest): Likewise.
19989 (drem_test_towardzero): Likewise.
19990 (drem_test_downward): Likewise.
19991 (drem_test_upward): Likewise.
19992 (main): Call the new functions.
19993
4f8dfe27
JM
19994 * math/libm-test.inc (finite_test_data): Remove.
19995 (finite_test): Run tests from isfinite_test_data.
19996 (gamma_test_data): Remove.
19997 (gamma_test): Run tests from lgamma_test_data.
19998 * sysdeps/i386/fpu/libm-test-ulps: Update.
19999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20000
d116b7c4
AZ
200012013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20002
20003 * manual/platform.texi: Add PowerPC PPR function set documentation.
20004 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20005 implementation.
20006
e96e3767
CD
200072013-05-24 Carlos O'Donell <carlos@redhat.com>
20008
20009 * math/libm-test.inc (MAX_EXP): Define.
20010 (ULPDIFF): Define.
20011 (ulp): New function.
20012 (check_float_internal): Use ULPDIFF.
20013 (cpow_test): Disable failing test.
20014 (check_ulp): Test ulp() implemetnation.
20015 (main): Call check_ulp before starting tests.
20016
b679a606
JM
200172013-05-24 Joseph Myers <joseph@codesourcery.com>
20018
e8bdba36
JM
20019 * math/gen-libm-test.pl (generate_testfile): Do not handle
20020 START_DATA and END_DATA.
20021 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20022 END_DATA.
20023 (acos_tonearest_test_data): Likewise.
20024 (acos_towardzero_test_data): Likewise.
20025 (acos_downward_test_data): Likewise.
20026 (acos_upward_test_data): Likewise.
20027 (acosh_test_data): Likewise.
20028 (asin_test_data): Likewise.
20029 (asin_tonearest_test_data): Likewise.
20030 (asin_towardzero_test_data): Likewise.
20031 (asin_downward_test_data): Likewise.
20032 (asin_upward_test_data): Likewise.
20033 (asinh_test_data): Likewise.
20034 (atan_test_data): Likewise.
20035 (atanh_test_data): Likewise.
20036 (atan2_test_data): Likewise.
20037 (cabs_test_data): Likewise.
20038 (cacos_test_data): Likewise.
20039 (cacosh_test_data): Likewise.
20040 (carg_test_data): Likewise.
20041 (casin_test_data): Likewise.
20042 (casinh_test_data): Likewise.
20043 (catan_test_data): Likewise.
20044 (catanh_test_data): Likewise.
20045 (cbrt_test_data): Likewise.
20046 (ccos_test_data): Likewise.
20047 (ccosh_test_data): Likewise.
20048 (ceil_test_data): Likewise.
20049 (cexp_test_data): Likewise.
20050 (cimag_test_data): Likewise.
20051 (clog_test_data): Likewise.
20052 (clog10_test_data): Likewise.
20053 (conj_test_data): Likewise.
20054 (copysign_test_data): Likewise.
20055 (cos_test_data): Likewise.
20056 (cos_tonearest_test_data): Likewise.
20057 (cos_towardzero_test_data): Likewise.
20058 (cos_downward_test_data): Likewise.
20059 (cos_upward_test_data): Likewise.
20060 (cosh_test_data): Likewise.
20061 (cosh_tonearest_test_data): Likewise.
20062 (cosh_towardzero_test_data): Likewise.
20063 (cosh_downward_test_data): Likewise.
20064 (cosh_upward_test_data): Likewise.
20065 (cpow_test_data): Likewise.
20066 (cproj_test_data): Likewise.
20067 (creal_test_data): Likewise.
20068 (csin_test_data): Likewise.
20069 (csinh_test_data): Likewise.
20070 (csqrt_test_data): Likewise.
20071 (ctan_test_data): Likewise.
20072 (ctan_tonearest_test_data): Likewise.
20073 (ctan_towardzero_test_data): Likewise.
20074 (ctan_downward_test_data): Likewise.
20075 (ctan_upward_test_data): Likewise.
20076 (ctanh_test_data): Likewise.
20077 (ctanh_tonearest_test_data): Likewise.
20078 (ctanh_towardzero_test_data): Likewise.
20079 (ctanh_downward_test_data): Likewise.
20080 (ctanh_upward_test_data): Likewise.
20081 (erf_test_data): Likewise.
20082 (erfc_test_data): Likewise.
20083 (exp_test_data): Likewise.
20084 (exp_tonearest_test_data): Likewise.
20085 (exp_towardzero_test_data): Likewise.
20086 (exp_downward_test_data): Likewise.
20087 (exp_upward_test_data): Likewise.
20088 (exp10_test_data): Likewise.
20089 (exp2_test_data): Likewise.
20090 (expm1_test_data): Likewise.
20091 (fabs_test_data): Likewise.
20092 (fdim_test_data): Likewise.
20093 (finite_test_data): Likewise.
20094 (floor_test_data): Likewise.
20095 (fma_test_data): Likewise.
20096 (fma_towardzero_test_data): Likewise.
20097 (fma_downward_test_data): Likewise.
20098 (fma_upward_test_data): Likewise.
20099 (fmax_test_data): Likewise.
20100 (fmin_test_data): Likewise.
20101 (fmod_test_data): Likewise.
20102 (fpclassify_test_data): Likewise.
20103 (frexp_test_data): Likewise.
20104 (gamma_test_data): Likewise.
20105 (hypot_test_data): Likewise.
20106 (ilogb_test_data): Likewise.
20107 (isfinite_test_data): Likewise.
20108 (isgreater_test_data): Likewise.
20109 (isgreaterequal_test_data): Likewise.
20110 (isinf_test_data): Likewise.
20111 (isless_test_data): Likewise.
20112 (islessequal_test_data): Likewise.
20113 (islessgreater_test_data): Likewise.
20114 (isnan_test_data): Likewise.
20115 (isnormal_test_data): Likewise.
20116 (issignaling_test_data): Likewise.
20117 (isunordered_test_data): Likewise.
20118 (j0_test_data): Likewise.
20119 (j1_test_data): Likewise.
20120 (jn_test_data): Likewise.
20121 (ldexp_test_data): Likewise.
20122 (lgamma_test_data): Likewise.
20123 (lrint_test_data): Likewise.
20124 (lrint_tonearest_test_data): Likewise.
20125 (lrint_towardzero_test_data): Likewise.
20126 (lrint_downward_test_data): Likewise.
20127 (lrint_upward_test_data): Likewise.
20128 (llrint_test_data): Likewise.
20129 (llrint_tonearest_test_data): Likewise.
20130 (llrint_towardzero_test_data): Likewise.
20131 (llrint_downward_test_data): Likewise.
20132 (llrint_upward_test_data): Likewise.
20133 (log_test_data): Likewise.
20134 (log10_test_data): Likewise.
20135 (log1p_test_data): Likewise.
20136 (log2_test_data): Likewise.
20137 (logb_test_data): Likewise.
20138 (logb_downward_test_data): Likewise.
20139 (lround_test_data): Likewise.
20140 (llround_test_data): Likewise.
20141 (modf_test_data): Likewise.
20142 (nearbyint_test_data): Likewise.
20143 (nextafter_test_data): Likewise.
20144 (nexttoward_test_data): Likewise.
20145 (pow_test_data): Likewise.
20146 (pow_tonearest_test_data): Likewise.
20147 (pow_towardzero_test_data): Likewise.
20148 (pow_downward_test_data): Likewise.
20149 (pow_upward_test_data): Likewise.
20150 (remainder_test_data): Likewise.
20151 (remainder_tonearest_test_data): Likewise.
20152 (remainder_towardzero_test_data): Likewise.
20153 (remainder_downward_test_data): Likewise.
20154 (remainder_upward_test_data): Likewise.
20155 (remquo_test_data): Likewise.
20156 (rint_test_data): Likewise.
20157 (rint_tonearest_test_data): Likewise.
20158 (rint_towardzero_test_data): Likewise.
20159 (rint_downward_test_data): Likewise.
20160 (rint_upward_test_data): Likewise.
20161 (round_test_data): Likewise.
20162 (scalb_test_data): Likewise.
20163 (scalbn_test_data): Likewise.
20164 (scalbln_test_data): Likewise.
20165 (signbit_test_data): Likewise.
20166 (sin_test_data): Likewise.
20167 (sin_tonearest_test_data): Likewise.
20168 (sin_towardzero_test_data): Likewise.
20169 (sin_downward_test_data): Likewise.
20170 (sin_upward_test_data): Likewise.
20171 (sincos_test_data): Likewise.
20172 (sinh_test_data): Likewise.
20173 (sinh_tonearest_test_data): Likewise.
20174 (sinh_towardzero_test_data): Likewise.
20175 (sinh_downward_test_data): Likewise.
20176 (sinh_upward_test_data): Likewise.
20177 (sqrt_test_data): Likewise.
20178 (tan_test_data): Likewise.
20179 (tan_tonearest_test_data): Likewise.
20180 (tan_towardzero_test_data): Likewise.
20181 (tan_downward_test_data): Likewise.
20182 (tan_upward_test_data): Likewise.
20183 (tanh_test_data): Likewise.
20184 (tgamma_test_data): Likewise.
20185 (trunc_test_data): Likewise.
20186 (y0_test_data): Likewise.
20187 (y1_test_data): Likewise.
20188 (yn_test_data): Likewise.
20189 (significand_test_data): Likewise.
20190
b679a606
JM
20191 * math/gen-libm-test.pl (@functions): Remove variable.
20192 (generate_testfile): Don't handle START and END lines.
20193 * math/libm-test.inc (START): New macro.
20194 (END): Likewise.
20195 (END_COMPLEX): Likewise.
20196 (acos_test): Use END macro without arguments.
20197 (acos_test_tonearest): Likewise.
20198 (acos_test_towardzero): Likewise.
20199 (acos_test_downward): Likewise.
20200 (acos_test_upward): Likewise.
20201 (acosh_test): Likewise.
20202 (asin_test): Likewise.
20203 (asin_test_tonearest): Likewise.
20204 (asin_test_towardzero): Likewise.
20205 (asin_test_downward): Likewise.
20206 (asin_test_upward): Likewise.
20207 (asinh_test): Likewise.
20208 (atan_test): Likewise.
20209 (atanh_test): Likewise.
20210 (atan2_test): Likewise.
20211 (cabs_test): Likewise.
20212 (cacos_test): Use END_COMPLEX macro without arguments.
20213 (cacosh_test): Likewise.
20214 (carg_test): Use END macro without arguments.
20215 (casin_test): Use END_COMPLEX macro without arguments.
20216 (casinh_test): Likewise.
20217 (catan_test): Likewise.
20218 (catanh_test): Likewise.
20219 (cbrt_test): Use END macro without arguments.
20220 (ccos_test): Use END_COMPLEX macro without arguments.
20221 (ccosh_test): Likewise.
20222 (ceil_test): Use END macro without arguments.
20223 (cexp_test): Use END_COMPLEX macro without arguments.
20224 (cimag_test): Use END macro without arguments.
20225 (clog_test): Use END_COMPLEX macro without arguments.
20226 (clog10_test): Likewise.
20227 (conj_test): Likewise.
20228 (copysign_test): Use END macro without arguments.
20229 (cos_test): Likewise.
20230 (cos_test_tonearest): Likewise.
20231 (cos_test_towardzero): Likewise.
20232 (cos_test_downward): Likewise.
20233 (cos_test_upward): Likewise.
20234 (cosh_test): Likewise.
20235 (cosh_test_tonearest): Likewise.
20236 (cosh_test_towardzero): Likewise.
20237 (cosh_test_downward): Likewise.
20238 (cosh_test_upward): Likewise.
20239 (cpow_test): Use END_COMPLEX macro without arguments.
20240 (cproj_test): Likewise.
20241 (creal_test): Use END macro without arguments.
20242 (csin_test): Use END_COMPLEX macro without arguments.
20243 (csinh_test): Likewise.
20244 (csqrt_test): Likewise.
20245 (ctan_test): Likewise.
20246 (ctan_test_tonearest): Likewise.
20247 (ctan_test_towardzero): Likewise.
20248 (ctan_test_downward): Likewise.
20249 (ctan_test_upward): Likewise.
20250 (ctanh_test): Likewise.
20251 (ctanh_test_tonearest): Likewise.
20252 (ctanh_test_towardzero): Likewise.
20253 (ctanh_test_downward): Likewise.
20254 (ctanh_test_upward): Likewise.
20255 (erf_test): Use END macro without arguments.
20256 (erfc_test): Likewise.
20257 (exp_test): Likewise.
20258 (exp_test_tonearest): Likewise.
20259 (exp_test_towardzero): Likewise.
20260 (exp_test_downward): Likewise.
20261 (exp_test_upward): Likewise.
20262 (exp10_test): Likewise.
20263 (exp2_test): Likewise.
20264 (expm1_test): Likewise.
20265 (fabs_test): Likewise.
20266 (fdim_test): Likewise.
20267 (finite_test): Likewise.
20268 (floor_test): Likewise.
20269 (fma_test): Likewise.
20270 (fma_test_towardzero): Likewise.
20271 (fma_test_downward): Likewise.
20272 (fma_test_upward): Likewise.
20273 (fmax_test): Likewise.
20274 (fmin_test): Likewise.
20275 (fmod_test): Likewise.
20276 (fpclassify_test): Likewise.
20277 (frexp_test): Likewise.
20278 (gamma_test): Likewise.
20279 (hypot_test): Likewise.
20280 (ilogb_test): Likewise.
20281 (isfinite_test): Likewise.
20282 (isgreater_test): Likewise.
20283 (isgreaterequal_test): Likewise.
20284 (isinf_test): Likewise.
20285 (isless_test): Likewise.
20286 (islessequal_test): Likewise.
20287 (islessgreater_test): Likewise.
20288 (isnan_test): Likewise.
20289 (isnormal_test): Likewise.
20290 (issignaling_test): Likewise.
20291 (isunordered_test): Likewise.
20292 (j0_test): Likewise.
20293 (j1_test): Likewise.
20294 (jn_test): Likewise.
20295 (ldexp_test): Likewise.
20296 (lgamma_test): Likewise.
20297 (lrint_test): Likewise.
20298 (lrint_test_tonearest): Likewise.
20299 (lrint_test_towardzero): Likewise.
20300 (lrint_test_downward): Likewise.
20301 (lrint_test_upward): Likewise.
20302 (llrint_test): Likewise.
20303 (llrint_test_tonearest): Likewise.
20304 (llrint_test_towardzero): Likewise.
20305 (llrint_test_downward): Likewise.
20306 (llrint_test_upward): Likewise.
20307 (log_test): Likewise.
20308 (log10_test): Likewise.
20309 (log1p_test): Likewise.
20310 (log2_test): Likewise.
20311 (logb_test): Likewise.
20312 (logb_test_downward): Likewise.
20313 (lround_test): Likewise.
20314 (llround_test): Likewise.
20315 (modf_test): Likewise.
20316 (nearbyint_test): Likewise.
20317 (nextafter_test): Likewise.
20318 (nexttoward_test): Likewise.
20319 (pow_test): Likewise.
20320 (pow_test_tonearest): Likewise.
20321 (pow_test_towardzero): Likewise.
20322 (pow_test_downward): Likewise.
20323 (pow_test_upward): Likewise.
20324 (remainder_test): Likewise.
20325 (remainder_test_tonearest): Likewise.
20326 (remainder_test_towardzero): Likewise.
20327 (remainder_test_downward): Likewise.
20328 (remainder_test_upward): Likewise.
20329 (remquo_test): Likewise.
20330 (rint_test): Likewise.
20331 (rint_test_tonearest): Likewise.
20332 (rint_test_towardzero): Likewise.
20333 (rint_test_downward): Likewise.
20334 (rint_test_upward): Likewise.
20335 (round_test): Likewise.
20336 (scalb_test): Likewise.
20337 (scalbn_test): Likewise.
20338 (scalbln_test): Likewise.
20339 (signbit_test): Likewise.
20340 (sin_test): Likewise.
20341 (sin_test_tonearest): Likewise.
20342 (sin_test_towardzero): Likewise.
20343 (sin_test_downward): Likewise.
20344 (sin_test_upward): Likewise.
20345 (sincos_test): Likewise.
20346 (sinh_test): Likewise.
20347 (sinh_test_tonearest): Likewise.
20348 (sinh_test_towardzero): Likewise.
20349 (sinh_test_downward): Likewise.
20350 (sinh_test_upward): Likewise.
20351 (sqrt_test): Likewise.
20352 (tan_test): Likewise.
20353 (tan_test_tonearest): Likewise.
20354 (tan_test_towardzero): Likewise.
20355 (tan_test_downward): Likewise.
20356 (tan_test_upward): Likewise.
20357 (tanh_test): Likewise.
20358 (tgamma_test): Likewise.
20359 (trunc_test): Likewise.
20360 (y0_test): Likewise.
20361 (y1_test): Likewise.
20362 (yn_test): Likewise.
20363 (significand_test): Likewise.
20364
bae143d2
OB
203652013-05-24 Ondřej Bílka <neleai@seznam.cz>
20366
20367 [BZ #15381]
20368 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20369
9323d39b
EM
203702013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20371
d4ea44a0 20372 [BZ #14894]
9323d39b
EM
20373 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20374 __ppc_mdoio and __ppc_mdoom.
20375 * manual/platform.texi: Document new functions __ppc_yield,
20376 __ppc_mdoio and __ppc_mdoom.
20377
13e23af7
CD
203782013-05-22 Carlos O'Donell <carlos@redhat.com>
20379
20380 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20381 (main): Mention "tls" pseudo-hwcap is legacy.
20382 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20383
351fe550
JM
203842013-05-22 Joseph Myers <joseph@codesourcery.com>
20385
20386 * math/gen-libm-test.pl (parse_args): Output only string of
20387 arguments as text for test name, not full call or descriptions of
20388 tests for extra outputs.
20389 (generate_testfile): Do not pass function name to parse_args.
20390 Generate this_func variable from START.
20391 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20392 field to arg_str.
20393 (struct test_ff_f_data): Likewise.
20394 (test_ff_f_data_nexttoward): Likewise.
20395 (struct test_fi_f_data): Likewise.
20396 (struct test_fl_f_data): Likewise.
20397 (struct test_if_f_data): Likewise.
20398 (struct test_fff_f_data): Likewise.
20399 (struct test_c_f_data): Likewise.
20400 (struct test_f_f1_data): Likewise. Remove field extra_name.
20401 (struct test_fF_f1_data): Likewise.
20402 (struct test_ffI_f1_data): Likewise.
20403 (struct test_c_c_data): Rename test_name field to arg_str.
20404 (struct test_cc_c_data): Likewise.
20405 (struct test_f_i_data): Likewise.
20406 (struct test_ff_i_data): Likewise.
20407 (struct test_f_l_data): Likewise.
20408 (struct test_f_L_data): Likewise.
20409 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20410 and extra2_name.
20411 (COMMON_TEST_SETUP): New macro.
20412 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20413 (COMMON_TEST_CLEANUP): Likewise.
20414 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20415 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20416 macros.
20417 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20418 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20419 macros.
20420 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20421 (RUN_TEST_fff_f): Take argument string. Call new setup and
20422 cleanup macros.
20423 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20424 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20425 macros.
20426 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20427 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20428 macros.
20429 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20430 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20431 cleanup macros.
20432 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20433 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20434 cleanup macros.
20435 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20436 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20437 cleanup macros.
20438 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20439 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20440 macros.
20441 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20442 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20443 macros.
20444 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20445 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20446 macros.
20447 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20448 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20449 cleanup macros.
20450 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20451 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20452 cleanup macros.
20453 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20454 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20455 macros.
20456 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20457 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20458 cleanup macros.
20459 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20460 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20461 macros.
20462 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20463 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20464 macros.
20465 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20466 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20467 cleanup macros.
20468 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20469
85118d4d
EBM
204702013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20471
20472 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20473 to _sifields.sigfault.
20474 (si_addr_lsb): Define new macro.
20475 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20476 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20477 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20478
7a44c18f
CD
204792013-05-03 Carlos O'Donell <carlos at redhat.com>
20480
20481 [BZ #15441]
20482 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20483 returns -1.
20484 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20485 null return -1.
20486 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20487 loading the domain.
20488
b50a7181
JM
204892013-05-22 Joseph Myers <joseph@codesourcery.com>
20490
20491 * math/gen-libm-test.pl (parse_args): Do not include expected
20492 result in test name.
20493 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20494 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20495 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20496 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20497 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20499
051063c8
SP
205002013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20501
3ce9e010
SP
20502 * benchtests/Makefile: Sort function entries.
20503
051063c8
SP
20504 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20505 tanh, asinh, acosh, atanh.
20506 * benchtests/acos-inputs: New file.
20507 * benchtests/acosh-inputs: New file.
20508 * benchtests/asin-inputs: New file.
20509 * benchtests/asinh-inputs: New file.
20510 * benchtests/atanh-inputs: New file.
20511 * benchtests/cosh-inputs: New file.
20512 * benchtests/log-inputs: New file.
20513 * benchtests/sinh-inputs: New file.
20514 * benchtests/tanh-inputs: New file.
20515
47c22455
DL
205162013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20517
20518 [BZ #15339]
20519 * posix/tst-getaddrinfo4.c: New test.
20520 * posix/Makefile (tests): Add it.
20521
3d04f5db
SP
205222013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20523
20524 [BZ #15339]
20525 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20526 when no services were used.
20527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20528 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20529
d5dd6189
AS
205302013-05-21 Andreas Schwab <schwab@suse.de>
20531
20532 [BZ #15014]
20533 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20534 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20535 successful.
20536 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20537 redundant variable declarations and reallocation of buffer when
20538 parsing as IPv6 address. Always set NSS status when called from
20539 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20540 buffer too small. Correct computation of needed size.
20541 * nss/Makefile (tests): Add test-digits-dots.
20542 * nss/test-digits-dots.c: New test.
20543
fef94eab
SP
205442013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20545
20546 * benchtests/Makefile: Remove instructions for adding
20547 benchmark tests.
20548 * benchtests/README: New file to explain how to execute and
20549 enhance the benchmark tests.
20550
e39adf43
AS
205512013-05-21 Andreas Schwab <schwab@suse.de>
20552
20553 [BZ #15493]
20554 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20555 * setjmp/tst-sigsetjmp.c: New test.
20556
b2b671b6
OB
205572013-05-20 Ondřej Bílka <neleai@seznam.cz>
20558
20559 * sysdeps/x86_64/memset.S (memset): New implementation.
20560 (__bzero): Likewise.
20561 (__memset_tail): New function.
20562
2d48b41c
OB
205632013-05-20 Ondřej Bílka <neleai@seznam.cz>
20564
20565 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20566 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20567 __memcpy_sse2_unaligned ifunc selection.
20568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20569 Add memcpy-sse2-unaligned.S.
20570 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20571 Add: __memcpy_sse2_unaligned.
20572
f16cc3eb
JM
205732013-05-19 Joseph Myers <joseph@codesourcery.com>
20574
3e694268
JM
20575 [BZ #15490]
20576 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20577 math_force_eval before restoring floating-point envrionment.
20578 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20579 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20580 Likewise.
20581 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20582 <math_private.h>.
20583 (__nearbyintl): Use math_force_eval before restoring
20584 floating-point environment.
20585 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20586
db62a907
JM
20587 * math/gen-libm-test.pl (special_functions): Remove.
20588 (parse_args): Don't handle TEST_extra. Handle functions with no
20589 return value.
20590 * math/libm-test.inc (struct test_sincos_data): Replace with
20591 struct test_fFF_11_data.
20592 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20593 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20594 (sincos_test_data): Change element type to struct
20595 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20596 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20597 RUN_TEST_LOOP_sincos.
20598 * math/README.libm-test: Don't mention special handling of
20599 individual functions.
20600 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20601 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20602 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20603 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20604 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20606
f16cc3eb
JM
20607 * math/gen-libm-test.pl (get_variable): Remove function.
20608 (parse_args): Don't show pointer parameters to call in test
20609 names. Use "extra output N" in test names for extra outputs
20610 rather than naming variables.
20611
3779b5b6
JM
206122013-05-18 Joseph Myers <joseph@codesourcery.com>
20613
2ee094ff
JM
20614 [BZ #15488]
20615 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20616 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20617 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20618 double tests.
20619 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20620 disable.
20621 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20622 check_long_double.
20623
3779b5b6
JM
20624 * math/gen-libm-test.pl (@tests): Remove variable.
20625 ($count): Likewise.
20626 (new_test): Remove function.
20627 (show_exceptions): New function.
20628 (special_functions): Use show_exceptions instead of new_test.
20629 (parse_args): Likewise.
20630 (generate_testfile): Pass only function name in generated call to
20631 print_max_error or print_complex_max_error.
20632 (get_ulps): Do not handle complex tests specially.
20633 (output_test): Rename to ...
20634 (get_all_ulps_for_test): ... this. Return a string rather than
20635 printing to a file. Require ulps to be present.
20636 (output_ulps): Generate arrays rather than #defines.
20637 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20638 (struct ulp_data): New type.
20639 (BUILD_COMPLEX_ULP): Remove macro.
20640 (compare_ulp_data): New function.
20641 (find_ulps): Likewise.
20642 (find_test_ulps): Likewise.
20643 (find_function_ulps): Likewise.
20644 (find_complex_function_ulps): Likewise.
20645 (print_max_error): Determine allowed ulps using
20646 find_function_ulps.
20647 (print_complex_max_error): Determine allowed ulps using
20648 find_complex_function_ulps.
20649 (check_float_internal): Determine max ulps using find_test_ulps.
20650 (check_float): Do not take max_ulp parameter. Update call to
20651 check_float_internal.
20652 (check_complex): Likewise.
20653 (check_int): Do not take max_ulp parameter.
20654 (check_long): Likewise.
20655 (check_bool): Likewise.
20656 (check_longlong): Likewise.
20657 (struct test_f_f_data): Remove max_ulp field.
20658 (struct test_ff_f_data): Likewise.
20659 (struct test_ff_f_data_nexttoward): Likewise.
20660 (struct test_fi_f_data): Likewise.
20661 (struct test_fl_f_data): Likewise.
20662 (struct test_if_f_data): Likewise.
20663 (struct test_fff_f_data): Likewise.
20664 (struct test_c_f_data): Likewise.
20665 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20666 (struct test_fF_f1_data): Likewise.
20667 (struct test_ffI_f1_data): Likewise.
20668 (struct test_c_c_data): Remove max_ulp field.
20669 (struct test_cc_c_data): Likewise.
20670 (struct test_f_i_data): Likewise.
20671 (struct test_ff_i_data): Likewise.
20672 (struct test_f_l_data): Likewise.
20673 (struct test_f_L_data): Likewise.
20674 (struct test_sincos_data): Likewise.
20675 (RUN_TEST_f_f): Do not handle ulps.
20676 (RUN_TEST_LOOP_f_f): Likewise.
20677 (RUN_TEST_2_f): Likewise.
20678 (RUN_TEST_LOOP_2_f): Likewise.
20679 (RUN_TEST_fff_f): Likewise.
20680 (RUN_TEST_LOOP_fff_f): Likewise.
20681 (RUN_TEST_c_f): Likewise.
20682 (RUN_TEST_LOOP_c_f): Likewise.
20683 (RUN_TEST_f_f1): Likewise.
20684 (RUN_TEST_LOOP_f_f1): Likewise.
20685 (RUN_TEST_fF_f1): Likewise.
20686 (RUN_TEST_LOOP_fF_f1): Likewise.
20687 (RUN_TEST_fI_f1): Likewise.
20688 (RUN_TEST_LOOP_fI_f1): Likewise.
20689 (RUN_TEST_ffI_f1): Likewise.
20690 (RUN_TEST_LOOP_ffI_f1): Likewise.
20691 (RUN_TEST_c_c): Likewise.
20692 (RUN_TEST_LOOP_c_c): Likewise.
20693 (RUN_TEST_cc_c): Likewise.
20694 (RUN_TEST_LOOP_cc_c): Likewise.
20695 (RUN_TEST_f_i): Likewise.
20696 (RUN_TEST_LOOP_f_i): Likewise.
20697 (RUN_TEST_f_i_tg): Likewise.
20698 (RUN_TEST_LOOP_f_i_tg): Likewise.
20699 (RUN_TEST_ff_i_tg): Likewise.
20700 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20701 (RUN_TEST_f_b): Likewise.
20702 (RUN_TEST_LOOP_f_b): Likewise.
20703 (RUN_TEST_f_b_tg): Likewise.
20704 (RUN_TEST_LOOP_f_b_tg): Likewise.
20705 (RUN_TEST_f_l): Likewise.
20706 (RUN_TEST_LOOP_f_l): Likewise.
20707 (RUN_TEST_f_L): Likewise.
20708 (RUN_TEST_LOOP_f_L): Likewise.
20709 (RUN_TEST_sincos): Likewise.
20710 (RUN_TEST_LOOP_sincos): Likewise.
20711
8269107f
JM
207122013-05-17 Joseph Myers <joseph@codesourcery.com>
20713
bb38759d
JM
20714 [BZ #15480]
20715 [BZ #15485]
20716 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20717 main case of finite arguments, set rounding mode to FE_TONEAREST
20718 and discard exceptions.
20719 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20720 exceptions.
20721 (remainder_tonearest_test_data): New variable.
20722 (remainder_test_tonearest): New function.
20723 (remainder_towardzero_test_data): New variable.
20724 (remainder_test_towardzero): New function.
20725 (remainder_downward_test_data): New variable.
20726 (remainder_test_downward): New function.
20727 (remainder_upward_test_data): New variable.
20728 (remainder_test_upward): New function.
20729 (main): Call the new test functions.
20730
a00bdcf0
JM
20731 * math/libm-test.inc (struct test_f_f1_data): Remove field
20732 extra_init.
20733 (struct test_fF_f1_data): Likewise.
20734 (struct test_ffI_f1_data): Likewise.
20735 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20736 based on value of EXTRA_EXPECTED.
20737 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20738 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20739 EXTRA_VAR based on value of EXTRA_EXPECTED.
20740 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20741 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20742 EXTRA_VAR based on value of EXTRA_EXPECTED.
20743 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20744 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20745 EXTRA_VAR based on value of EXTRA_EXPECTED.
20746 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20747 * math/gen-libm-test.pl (parse_args): Don't output initializers
20748 for extra output values.
20749
de407f79
JM
20750 * math/libm-test.inc (check_int): Expect result to be exactly
20751 equal to expected value and do not handle ulps.
20752 (check_long): Likewise.
20753 (check_longlong): Likewise.
20754
8269107f
JM
20755 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20756 exceptions.
20757 (cimag_test_data): Likewise.
20758 (conj_test_data): Likewise.
20759 (copysign_test_data): Likewise.
20760 (cproj_test_data): Likewise.
20761 (creal_test_data): Likewise.
20762 (fabs_test_data): Likewise.
20763 (fdim_test_data): Likewise.
20764 (finite_test_data): Likewise.
20765 (floor_test_data): Likewise.
20766 (fmax_test_data): Likewise.
20767 (fmin_test_data): Likewise.
20768 (fmod_test_data): Likewise.
20769 (fpclassify_test_data): Likewise.
20770 (frexp_test_data): Likewise.
20771 (ilogb_test_data): Likewise.
20772 (isfinite_test_data): Likewise.
20773 (isgreater_test_data): Likewise.
20774 (isgreaterequal_test_data): Likewise.
20775 (isinf_test_data): Likewise.
20776 (isless_test_data): Likewise.
20777 (islessequal_test_data): Likewise.
20778 (islessgreater_test_data): Likewise.
20779 (isnan_test_data): Likewise.
20780 (isnormal_test_data): Likewise.
20781 (issignaling_test_data): Likewise.
20782 (isunordered_test_data): Likewise.
20783 (ldexp_test_data): Likewise.
20784 (lrint_test_data): Likewise.
20785 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20786 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20787 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20788 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20789 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20790 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20791 test input.
20792 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20793 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20794 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20795 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20796 that test input.
20797 (lrint_downward_test_data): Test for "inexact" exceptions.
20798 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20799 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20800 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20801 test input.
20802 (lrint_upward_test_data): Test for "inexact" exceptions.
20803 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20804 test input.
20805 (llrint_test_data): Test for "inexact" exceptions.
20806 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20807 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20808 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20809 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20810 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20811 (llrint_downward_test_data): Test for "inexact" exceptions.
20812 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20813 (llrint_upward_test_data): Test for "inexact" exceptions.
20814 (logb_test_data): Likewise.
20815 (logb_downward_test_data): Likewise.
20816 (nextafter_test_data): Likewise.
20817 (nexttoward_test_data): Likewise.
20818 (remainder_test_data): Likewise.
20819 (remquo_test_data): Likewise.
20820 (scalbn_test_data): Likewise.
20821 (scalbln_test_data): Likewise.
20822 (signbit_test_data): Likewise.
20823 (sqrt_test_data): Likewise.
20824 (significand_test_data): Likewise.
20825
48a18de1
SP
208262013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20827
20828 [BZ #15424]
20829 * benchtests/bench-modf.c (struct args): Mark arg0 as
20830 volatile.
20831 * scripts/bench.pl: Mark members of struct args as volatile.
20832
13d3b41a
AZ
208332013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20834
68191c1d 20835 [BZ # 15497]
13d3b41a
AZ
20836 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20837 negative infinity on POWER6 or lower.
20838 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20839
2848b105
MR
208402013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20841
20842 [BZ #15442]
20843 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20844 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20845 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20846 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20847 (_FP_SETQNAN): New macro.
20848 (_FP_SETQNAN_SEMIRAW): Likewise.
20849 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20850 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20851 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20852 (FP_EXTEND): Use _FP_FRAC_SNANP.
20853 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20854 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20855 into account.
20856 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20857 New macro.
20858 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20859 Likewise.
20860
323e5cb7
JM
208612013-05-16 Joseph Myers <joseph@codesourcery.com>
20862
c58b274f
JM
20863 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20864 with DIVIDE_BY_ZERO_EXCEPTION.
20865 (gamma_test_data): Likewise.
20866 (lgamma_test_data): Likewise.
20867 (log_test_data): Likewise.
20868 (log10_test_data): Likewise.
20869 (log2_test_data): Likewise.
20870 (tgamma_test_data): Likewise.
20871
0ab34904
JM
20872 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20873 (acos_test_tonearest): Likewise.
20874 (acos_test_towardzero): Likewise.
20875 (acos_test_downward): Likewise.
20876 (acos_test_upward): Likewise.
20877 (acosh_test): Likewise.
20878 (asin_test): Likewise.
20879 (asin_test_tonearest): Likewise.
20880 (asin_test_towardzero): Likewise.
20881 (asin_test_downward): Likewise.
20882 (asin_test_upward): Likewise.
20883 (asinh_test): Likewise.
20884 (atan_test): Likewise.
20885 (atanh_test): Likewise.
20886 (atan2_test): Likewise.
20887 (cabs_test): Likewise.
20888 (cacos_test): Likewise.
20889 (cacosh_test): Likewise.
20890 (casin_test): Likewise.
20891 (casinh_test): Likewise.
20892 (catan_test): Likewise.
20893 (catanh_test): Likewise.
20894 (cbrt_test): Likewise.
20895 (ccos_test): Likewise.
20896 (ccosh_test): Likewise.
20897 (cexp_test): Likewise.
20898 (clog_test): Likewise.
20899 (clog10_test): Likewise.
20900 (cos_test): Likewise.
20901 (cos_test_tonearest): Likewise.
20902 (cos_test_towardzero): Likewise.
20903 (cos_test_downward): Likewise.
20904 (cos_test_upward): Likewise.
20905 (cosh_test): Likewise.
20906 (cosh_test_tonearest): Likewise.
20907 (cosh_test_towardzero): Likewise.
20908 (cosh_test_downward): Likewise.
20909 (cosh_test_upward): Likewise.
20910 (cpow_test): Likewise.
20911 (csin_test): Likewise.
20912 (csinh_test): Likewise.
20913 (csqrt_test): Likewise.
20914 (ctan_test): Likewise.
20915 (ctan_test_tonearest): Likewise.
20916 (ctan_test_towardzero): Likewise.
20917 (ctan_test_downward): Likewise.
20918 (ctan_test_upward): Likewise.
20919 (ctanh_test): Likewise.
20920 (ctanh_test_tonearest): Likewise.
20921 (ctanh_test_towardzero): Likewise.
20922 (ctanh_test_downward): Likewise.
20923 (ctanh_test_upward): Likewise.
20924 (erf_test): Likewise.
20925 (erfc_test): Likewise.
20926 (exp_test): Likewise.
20927 (exp_test_tonearest): Likewise.
20928 (exp_test_towardzero): Likewise.
20929 (exp_test_downward): Likewise.
20930 (exp_test_upward): Likewise.
20931 (exp10_test): Likewise.
20932 (exp2_test): Likewise.
20933 (expm1_test): Likewise.
20934 (fmod_test): Likewise.
20935 (gamma_test): Likewise.
20936 (hypot_test): Likewise.
20937 (j0_test): Likewise.
20938 (j1_test): Likewise.
20939 (jn_test): Likewise.
20940 (lgamma_test): Likewise.
20941 (log_test): Likewise.
20942 (log10_test): Likewise.
20943 (log1p_test): Likewise.
20944 (log2_test): Likewise.
20945 (logb_test_downward): Likewise.
20946 (pow_test): Likewise.
20947 (pow_test_tonearest): Likewise.
20948 (pow_test_towardzero): Likewise.
20949 (pow_test_downward): Likewise.
20950 (pow_test_upward): Likewise.
20951 (remainder_test): Likewise.
20952 (remquo_test): Likewise.
20953 (sin_test): Likewise.
20954 (sin_test_tonearest): Likewise.
20955 (sin_test_towardzero): Likewise.
20956 (sin_test_downward): Likewise.
20957 (sin_test_upward): Likewise.
20958 (sincos_test): Likewise.
20959 (sinh_test): Likewise.
20960 (sinh_test_tonearest): Likewise.
20961 (sinh_test_towardzero): Likewise.
20962 (sinh_test_downward): Likewise.
20963 (sinh_test_upward): Likewise.
20964 (sqrt_test): Likewise.
20965 (tan_test): Likewise.
20966 (tan_test_tonearest): Likewise.
20967 (tan_test_towardzero): Likewise.
20968 (tan_test_downward): Likewise.
20969 (tan_test_upward): Likewise.
20970 (tanh_test): Likewise.
20971 (tgamma_test): Likewise.
20972 (y0_test): Likewise.
20973 (y1_test): Likewise.
20974 (yn_test): Likewise.
20975
323e5cb7
JM
20976 * math/gen-libm-test.pl (adjust_arg): Remove function.
20977 (special_function): Remove argument $in_func. Only handle
20978 generating output for tables of tests, not inside functions.
20979 (parse_args): Likewise.
20980 (generate_testfile): Remove variable $in_func. Update call to
20981 parse_args.
20982 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20983 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20984 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20985 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20986 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20987 (MAX_VALUE_INIT): Rename macro to max_value.
20988 (MIN_VALUE_INIT): Rename macro to min_value.
20989 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20990 (plus_zero): Remove variable.
20991 (minus_zero): Likewise.
20992 (plus_infty): Likewise.
20993 (minus_infty): Likewise.
20994 (qnan_value): Likewise.
20995 (max_value): Likewise.
20996 (min_value): Likewise.
20997 (min_subnorm_value): Likewise.
20998
e054f494
RA
209992013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21000
21001 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21002 uint64_t or uint32_t usage.
21003 * crypt/sha256-block.c: Likewise.
21004 * crypt/sha256-crypt.c: Likewise.
21005 * crypt/sha256.c: Likewise.
21006 * crypt/sha512-block.c: Likewise.
21007 * crypt/sha512-crypt.c: Likewise.
21008 * crypt/sha512.c: Likewise.
21009 * debug/backtrace-tst.c: Likewise.
21010 * debug/pcprofiledump.c: Likewise.
21011 * elf/cache.c: Likewise.
21012 * elf/dl-cache.c: Likewise.
21013 * elf/dl-misc.c: Likewise.
21014 * elf/dl-profile.c: Likewise.
21015 * elf/dl-support.c: Likewise.
21016 * elf/ldconfig.c: Likewise.
21017 * elf/sprof.c: Likewise.
21018 * iconv/dummy-repertoire.c: Likewise.
21019 * iconv/iconv_charmap.c: Likewise.
21020 * iconv/skeleton.c: Likewise.
21021 * iconvdata/8bit-generic.c: Likewise.
21022 * iconvdata/cp737.h: Likewise.
21023 * iconvdata/cp775.h: Likewise.
21024 * iconvdata/ibm1008.h: Likewise.
21025 * iconvdata/ibm1025.h: Likewise.
21026 * iconvdata/ibm1046.h: Likewise.
21027 * iconvdata/ibm1097.h: Likewise.
21028 * iconvdata/ibm1112.h: Likewise.
21029 * iconvdata/ibm1122.h: Likewise.
21030 * iconvdata/ibm1123.h: Likewise.
21031 * iconvdata/ibm1124.h: Likewise.
21032 * iconvdata/ibm1129.h: Likewise.
21033 * iconvdata/ibm1130.h: Likewise.
21034 * iconvdata/ibm1132.h: Likewise.
21035 * iconvdata/ibm1133.h: Likewise.
21036 * iconvdata/ibm1137.h: Likewise.
21037 * iconvdata/ibm1140.h: Likewise.
21038 * iconvdata/ibm1141.h: Likewise.
21039 * iconvdata/ibm1142.h: Likewise.
21040 * iconvdata/ibm1143.h: Likewise.
21041 * iconvdata/ibm1144.h: Likewise.
21042 * iconvdata/ibm1145.h: Likewise.
21043 * iconvdata/ibm1146.h: Likewise.
21044 * iconvdata/ibm1147.h: Likewise.
21045 * iconvdata/ibm1148.h: Likewise.
21046 * iconvdata/ibm1149.h: Likewise.
21047 * iconvdata/ibm1153.h: Likewise.
21048 * iconvdata/ibm1154.h: Likewise.
21049 * iconvdata/ibm1155.h: Likewise.
21050 * iconvdata/ibm1156.h: Likewise.
21051 * iconvdata/ibm1157.h: Likewise.
21052 * iconvdata/ibm1158.h: Likewise.
21053 * iconvdata/ibm1160.h: Likewise.
21054 * iconvdata/ibm1161.h: Likewise.
21055 * iconvdata/ibm1162.h: Likewise.
21056 * iconvdata/ibm1163.h: Likewise.
21057 * iconvdata/ibm1164.h: Likewise.
21058 * iconvdata/ibm1166.h: Likewise.
21059 * iconvdata/ibm1167.h: Likewise.
21060 * iconvdata/ibm12712.h: Likewise.
21061 * iconvdata/ibm1390.h: Likewise.
21062 * iconvdata/ibm1399.h: Likewise.
21063 * iconvdata/ibm16804.h: Likewise.
21064 * iconvdata/ibm4517.h: Likewise.
21065 * iconvdata/ibm4899.h: Likewise.
21066 * iconvdata/ibm4909.h: Likewise.
21067 * iconvdata/ibm4971.h: Likewise.
21068 * iconvdata/ibm5347.h: Likewise.
21069 * iconvdata/ibm803.h: Likewise.
21070 * iconvdata/ibm856.h: Likewise.
21071 * iconvdata/ibm901.h: Likewise.
21072 * iconvdata/ibm902.h: Likewise.
21073 * iconvdata/ibm9030.h: Likewise.
21074 * iconvdata/ibm9066.h: Likewise.
21075 * iconvdata/ibm921.h: Likewise.
21076 * iconvdata/ibm922.h: Likewise.
21077 * iconvdata/ibm9448.h: Likewise.
21078 * iconvdata/isiri-3342.h: Likewise.
21079 * iconvdata/jis0201.h: Likewise.
21080 * include/link.h: Likewise.
21081 * include/netdb.h: Likewise.
21082 * inet/check_native.c: Likewise.
21083 * inet/check_pf.c: Likewise.
21084 * inet/getipv4sourcefilter.c: Likewise.
21085 * inet/getnameinfo.c: Likewise.
21086 * inet/getsourcefilter.c: Likewise.
21087 * inet/htonl.c: Likewise.
21088 * inet/setipv4sourcefilter.c: Likewise.
21089 * inet/setsourcefilter.c: Likewise.
21090 * inet/test-inet6_opt.c: Likewise.
21091 * inet/tst-network.c: Likewise.
21092 * locale/C-collate.c: Likewise.
21093 * locale/C-ctype.c: Likewise.
21094 * locale/C-time.c: Likewise.
21095 * locale/C-translit.h: Likewise.
21096 * locale/loadarchive.c: Likewise.
21097 * locale/programs/3level.h: Likewise.
21098 * locale/programs/charmap.c: Likewise.
21099 * locale/programs/charmap.h: Likewise.
21100 * locale/programs/ld-address.c: Likewise.
21101 * locale/programs/ld-collate.c: Likewise.
21102 * locale/programs/ld-ctype.c: Likewise.
21103 * locale/programs/ld-identification.c: Likewise.
21104 * locale/programs/ld-measurement.c: Likewise.
21105 * locale/programs/ld-messages.c: Likewise.
21106 * locale/programs/ld-monetary.c: Likewise.
21107 * locale/programs/ld-name.c: Likewise.
21108 * locale/programs/ld-numeric.c: Likewise.
21109 * locale/programs/ld-paper.c: Likewise.
21110 * locale/programs/ld-telephone.c: Likewise.
21111 * locale/programs/ld-time.c: Likewise.
21112 * locale/programs/linereader.c: Likewise.
21113 * locale/programs/locale.c: Likewise.
21114 * locale/programs/locarchive.c: Likewise.
21115 * locale/programs/locfile.h: Likewise.
21116 * locale/programs/repertoire.c: Likewise.
21117 * locale/programs/simple-hash.c: Likewise.
21118 * locale/programs/simple-hash.h: Likewise.
21119 * malloc/memusage.c: Likewise.
21120 * malloc/memusagestat.c: Likewise.
21121 * nis/nis_defaults.c: Likewise.
21122 * nis/nis_hash.c: Likewise.
21123 * nis/nis_print.c: Likewise.
21124 * nis/nis_xdr.c: Likewise.
21125 * nscd/connections.c: Likewise.
21126 * nscd/hstcache.c: Likewise.
21127 * nscd/nscd_gethst_r.c: Likewise.
21128 * nscd/nscd_getserv_r.c: Likewise.
21129 * nscd/nscd_helper.c: Likewise.
21130 * nscd/servicescache.c: Likewise.
21131 * nss/makedb.c: Likewise.
21132 * nss/nss_db/db-XXX.c: Likewise.
21133 * nss/nss_db/db-initgroups.c: Likewise.
21134 * nss/nss_db/db-netgrp.c: Likewise.
21135 * nss/nss_files/files-network.c: Likewise.
21136 * nss/nss_files/files-parse.c: Likewise.
21137 * posix/bug-regex5.c: Likewise.
21138 * posix/fnmatch_loop.c: Likewise.
21139 * posix/regcomp.c: Likewise.
21140 * posix/regexec.c: Likewise.
21141 * posix/tst-rfc3484-2.c: Likewise.
21142 * posix/tst-rfc3484-3.c: Likewise.
21143 * posix/tst-rfc3484.c: Likewise.
21144 * resolv/nss_dns/dns-canon.c: Likewise.
21145 * resolv/nss_dns/dns-network.c: Likewise.
21146 * resolv/res_init.c: Likewise.
21147 * resolv/res_mkquery.c: Likewise.
21148 * resolv/tst-aton.c: Likewise.
21149 * stdlib/cxa_atexit.c: Likewise.
21150 * stdlib/cxa_finalize.c: Likewise.
21151 * stdlib/gen-fpioconst.c: Likewise.
21152 * stdlib/strtol_l.c: Likewise.
21153 * string/tst-endian.c: Likewise.
21154 * sunrpc/auth_des.c: Likewise.
21155 * sunrpc/clnt_udp.c: Likewise.
21156 * sunrpc/rtime.c: Likewise.
21157 * sunrpc/svcauth_des.c: Likewise.
21158 * sunrpc/xdr.c: Likewise.
21159 * sunrpc/xdr_intXX_t.c: Likewise.
21160 * sunrpc/xdr_rec.c: Likewise.
21161 * sysdeps/generic/ldconfig.h: Likewise.
21162 * sysdeps/generic/ldsodefs.h: Likewise.
21163 * sysdeps/generic/memusage.h: Likewise.
21164 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21165 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21166 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21167 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21168 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21169 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21170 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21172 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21173 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21174 * sysdeps/posix/getaddrinfo.c: Likewise.
21175 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21176 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21177 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21178 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21179 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21180 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21181 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21182 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21183 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21184 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21185 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21186 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21187 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21188 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21189 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21190 * sysdeps/x86_64/dl-tls.h: Likewise.
21191 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21192 * time/alt_digit.c: Likewise.
21193 * time/era.c: Likewise.
21194 * wcsmbs/tst-c16c32-1.c: Likewise.
21195
8c75f674
JM
211962013-05-16 Joseph Myers <joseph@codesourcery.com>
21197
21198 * math/libm-test.inc (struct test_sincos_data): New type.
21199 (RUN_TEST_LOOP_sincos): New macro.
21200 (sincos_test_data): New variable.
21201 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21202
e6e49e59
RH
212032013-05-16 Richard Henderson <rth@redhat.com>
21204
21205 * math/atest-exp2.c (LIMB64): New macro.
21206 (CONSTSZ): New macro.
21207 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21208 (hexdig): Move ...
21209 (print_mpn_fp): ... to function scope.
21210 (read_mpn_hex): Remove.
21211 (get_log2): Remove.
21212 (exp2_mpn): Use mp_log2.
21213 (main): Use mp_exp1.
21214
15c7c18d
JM
212152013-05-16 Joseph Myers <joseph@codesourcery.com>
21216
105a07df
JM
21217 * math/libm-test.inc: Remove comment about not testing "inexact"
21218 exceptions.
21219 (INEXACT_EXCEPTION): New macro.
21220 (NO_INEXACT_EXCEPTION): Likewise.
21221 (INVALID_EXCEPTION_OK): Update value.
21222 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21223 (OVERFLOW_EXCEPTION_OK): Likewise.
21224 (UNDERFLOW_EXCEPTION_OK): Likewise.
21225 (IGNORE_ZERO_INF_SIGN): Likewise.
21226 (ERRNO_UNCHANGED): Likewise.
21227 (ERRNO_EDOM): Likewise.
21228 (ERRNO_ERANGE): Likewise.
21229 (test_exceptions): Handle testing "inexact" exceptions.
21230 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21231 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21232 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21233 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21234 INEXACT_EXCEPTION.
21235 (rint_towardzero_test_data): Likewise.
21236 (rint_downward_test_data): Likewise.
21237 (rint_upward_test_data): Likewise.
21238
e9eee333
JM
21239 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21240 with OVERFLOW_EXCEPTION.
21241 (exp10_test_data): Likewise.
21242 (exp2_test_data): Likewise.
21243 (expm1_test_data): Likewise.
21244 (lgamma_test_data): Likewise.
21245 (pow_test_data): Likewise.
21246 (tgamma_test_data): Likewise.
21247 (yn_test_data): Remove duplicate test of overflow.
21248
1c38ff73
JM
21249 * math/libm-test.inc (struct test_cc_c_data): New type.
21250 (RUN_TEST_LOOP_cc_c): New macro.
21251 (cpow_test_data): New variable.
21252 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21253
15c7c18d
JM
21254 * math/libm-test.inc (struct test_f_L_data): New type.
21255 (RUN_TEST_LOOP_f_L): New macro.
21256 (llrint_test_data): New variable.
21257 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21258 (llrint_tonearest_test_data): New variable.
21259 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21260 (llrint_towardzero_test_data): New variable.
21261 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21262 (llrint_downward_test_data): New variable.
21263 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21264 (llrint_upward_test_data): New variable.
21265 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21266 (llround_test_data): New variable.
21267 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21268
f137ff13
PC
212692013-05-13 Peter Collingbourne <pcc@google.com>
21270
21271 * math/atest-exp2.c (get_log2): Remove const attribute.
21272
3608cb24
JM
212732013-05-15 Joseph Myers <joseph@codesourcery.com>
21274
21275 * math/libm-test.inc (struct test_f_l_data): New type.
21276 (RUN_TEST_LOOP_f_l): New macro.
21277 (lrint_test_data): New variable.
21278 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21279 (lrint_tonearest_test_data): New variable.
21280 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21281 (lrint_towardzero_test_data): New variable.
21282 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21283 (lrint_downward_test_data): New variable.
21284 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21285 (lrint_upward_test_data): New variable.
21286 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21287 (lround_test_data): New variable.
21288 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21289
39b1f617
PC
212902013-05-15 Peter Collingbourne <pcc@google.com>
21291
1deff3dc
PC
21292 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21293 (EXTRACT_WORDS64) Use where appropriate.
21294 (INSERT_WORDS64) Likewise.
21295
791f3ba0
PC
21296 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21297 constraints with x constraints.
21298 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21299
39b1f617
PC
21300 * malloc/obstack.c (_obstack_compat): Add initializer.
21301
12fba011
EM
213022013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21303
21304 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21305 si_trapno and add si_addr_lsb to _sifields.sigfault.
21306 (si_trapno): Remove macro.
21307 (si_addr_lsb): Define new macro.
21308 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21309
d369f531
JM
213102013-05-15 Joseph Myers <joseph@codesourcery.com>
21311
b861c6c4
JM
21312 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21313 instead of TEST_f_l.
21314 (llrint_test_tonearest): Likewise.
21315 (llrint_test_towardzero): Likewise.
21316 (llrint_test_downward): Likewise.
21317 (llrint_test_upward): Likewise.
21318 (llround_test): Likewise.
21319
7abeee12
JM
21320 * math/libm-test.inc (struct test_f_i_data): Add comment.
21321 (RUN_TEST_LOOP_f_b): New macro.
21322 (RUN_TEST_LOOP_f_b_tg): Likewise.
21323 (finite_test_data): New variable.
21324 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21325 (isfinite_test_data): New variable.
21326 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21327 (isinf_test_data): New variable.
21328 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21329 (isnan_test_data): New variable.
21330 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21331 (isnormal_test_data): New variable.
21332 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21333 (issignaling_test_data): New variable.
21334 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21335 (signbit_test_data): New variable.
21336 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21337
cbe8c4d3
JM
21338 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21339 with INVALID_EXCEPTION.
21340 (acosh_test_data): Likewise.
21341 (asin_test_data): Likewise.
21342 (atanh_test_data): Likewise.
21343 (fmod_test_data): Likewise.
21344 (log_test_data): Likewise.
21345 (log10_test_data): Likewise.
21346 (log2_test_data): Likewise.
21347 (pow_test_data): Likewise.
21348 (sqrt_test_data): Likewise.
21349 (y0_test_data): Likewise.
21350 (y1_test_data): Likewise.
21351 (yn_test_data): Likewise.
21352
5575c0e5
JM
21353 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21354 function contents.
21355
d369f531
JM
21356 * math/libm-test.inc (struct test_ff_i_data): New type.
21357 (RUN_TEST_LOOP_ff_i_tg): New macro.
21358 (isgreater_test_data): New variable.
21359 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21360 (isgreaterequal_test_data): New variable.
21361 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21362 (isless_test_data): New variable.
21363 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21364 (islessequal_test_data): New variable.
21365 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21366 (islessgreater_test_data): New variable.
21367 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21368 (isunordered_test_data): New variable.
21369 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21370
781fd748
DM
213712013-05-14 David S. Miller <davem@davemloft.net>
21372
21373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21374
87aa21df
JM
213752013-05-14 Joseph Myers <joseph@codesourcery.com>
21376
5e908270
JM
21377 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21378
f71172e5
JM
21379 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21380 extra_test to int.
21381 (struct test_f_i_data): Change type of max_ulp to int.
21382
8cfa635a
JM
21383 * math/libm-test.inc (test_ffI_f1_data): New type.
21384 (RUN_TEST_LOOP_ffI_f1): New macro.
21385 (remquo_test_data): New variable.
21386 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21387
2bcb36b2
JM
21388 * setjmp/tst-setjmp-fp.c: New file.
21389 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21390 (link-libm): New variable.
21391 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21392
acbd839a
JM
21393 * math/libm-test.inc (struct test_f_i_data): New type.
21394 (RUN_TEST_LOOP_f_i): New macro.
21395 (RUN_TEST_LOOP_f_i_tg): Likewise.
21396 (fpclassify_test_data): New variable.
21397 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21398 (ilogb_test_data): New variable.
21399 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21400
e414d745
JM
21401 * math/libm-test.inc (scalbln_test): Correct function name in END
21402 call.
21403
d9c2a0fd
JM
21404 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21405 (RUN_TEST_LOOP_fI_f1): New macro.
21406 (frexp_test_data): New variable.
21407 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21408
9dc9095d
JM
21409 * math/libm-test.inc (struct test_fF_f1_data): New type.
21410 (RUN_TEST_LOOP_fF_f1): New macro.
21411 (modf_test_data): New variable.
21412 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21413
87aa21df
JM
21414 * math/libm-test.inc (struct test_f_f1_data): New type.
21415 (RUN_TEST_LOOP_f_f1): New macro.
21416 (gamma_test_data): New variable.
21417 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21418 (lgamma_test_data): New variable.
21419 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21420
141af660
CD
214212013-05-13 Carlos O'Donell <carlos@redhat.com>
21422
21423 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21424 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21425 (main): Comment "tls" pseudo-hwcap.
21426
6d33265c
JM
214272013-05-13 Joseph Myers <joseph@codesourcery.com>
21428
68fc074c
JM
21429 * math/libm-test.inc (struct test_fl_f_data): New type.
21430 (RUN_TEST_LOOP_fl_f): New variable.
21431 (scalbln_test_data): New variable.
21432 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21433
243216e1
JM
21434 * math/libm-test.inc (struct test_fi_f_data): New type.
21435 (RUN_TEST_LOOP_fi_f): New macro.
21436 (ldexp_test_data): New variable.
21437 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21438 (scalbn_test_data): New variable.
21439 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21440
6a1992e2
JM
21441 * math/libm-test.inc (struct test_c_f_data): New type.
21442 (RUN_TEST_LOOP_c_f): New macro.
21443 (cabs_test_data): New variable.
21444 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21445 (carg_test_data): New variable.
21446 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21447 (cimag_test_data): New variable.
21448 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21449 (creal_test_data): New variable.
21450 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21451
0e400df5
JM
21452 * math/libm-test.inc (struct test_if_f_data): New type.
21453 (RUN_TEST_LOOP_if_f): New macro.
21454 (jn_test_data): New variable.
21455 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21456 (yn_test_data): New variable.
21457 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21458
6d33265c
JM
21459 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21460
f98ece5f
AZ
214612013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21462
21463 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21464 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21465
0f7d347b
SP
214662013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21467
43fe811b
SP
21468 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21469 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21470 (bench-deps): Add bench-timing.h.
21471 * benchtests-bench-skeleton.c: Include bench-timing.h.
21472 (main): Use TIMING_* macros instead of clock_gettime.
21473 * benchtests/bench-timing.h: New file.
21474
0f7d347b
SP
21475 [BZ #14582]
21476 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21477 Renamed from _LIB_VERSION.
21478 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21479
601a3a5f
JM
214802013-05-12 Joseph Myers <joseph@codesourcery.com>
21481
4f184d30
JM
21482 * math/libm-test.inc (struct test_fff_f_data): New type.
21483 (RUN_TEST_LOOP_fff_f): New macro.
21484 (fma_test_data): New variable.
21485 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21486 (fma_towardzero_test_data): New variable.
21487 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21488 (fma_downward_test_data): New variable.
21489 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21490 (fma_upward_test_data): New variable.
21491 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21492
08198877
JM
21493 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21494 (struct test_c_c_data): New type.
21495 (RUN_TEST_LOOP_c_c): New macro.
21496 (cacos_test_data): New variable.
21497 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21498 (cacosh_test_data): New variable.
21499 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21500 (casin_test_data): New variable.
21501 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21502 (casinh_test_data): New variable.
21503 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21504 (catan_test_data): New variable.
21505 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21506 (catanh_test_data): New variable.
21507 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21508 (ccos_test_data): New variable.
21509 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21510 (ccosh_test_data): New variable.
21511 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21512 (cexp_test_data): New variable.
21513 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21514 (clog_test_data): New variable.
21515 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21516 (clog10_test_data): New variable.
21517 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21518 (conj_test_data): New variable.
21519 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21520 (cproj_test_data): New variable.
21521 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21522 (csin_test_data): New variable.
21523 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21524 (csinh_test_data): New variable.
21525 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21526 (csqrt_test_data): New variable.
21527 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21528 (ctan_test_data): New variable.
21529 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21530 (ctan_tonearest_test_data): New variable.
21531 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21532 (ctan_towardzero_test_data): New variable.
21533 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21534 (ctan_downward_test_data): New variable.
21535 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21536 (ctan_upward_test_data): New variable.
21537 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21538 (ctanh_test_data): New variable.
21539 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21540 (ctanh_tonearest_test_data): New variable.
21541 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21542 (ctanh_towardzero_test_data): New variable.
21543 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21544 (ctanh_downward_test_data): New variable.
21545 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21546 (ctanh_upward_test_data): New variable.
21547 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21548 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21549 of BUILD_COMPLEX.
21550
601a3a5f
JM
21551 * math/libm-test.inc (struct test_ff_f_data): New type.
21552 (struct test_ff_f_data_nexttoward): Likewise.
21553 (RUN_TEST_LOOP_2_f): New macro.
21554 (RUN_TEST_LOOP_ff_f): Likewise.
21555 (atan2_test_data): New variable.
21556 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21557 (copysign_test_data): New variable.
21558 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21559 (fdim_test_data): New variable.
21560 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21561 (fmax_test_data): New variable.
21562 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21563 (fmin_test_data): New variable.
21564 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21565 (fmod_test_data): New variable.
21566 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21567 (hypot_test_data): New variable.
21568 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21569 (nextafter_test_data): New variable.
21570 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21571 (nexttoward_test_data): New variable.
21572 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21573 (pow_test_data): New variable.
21574 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21575 (pow_tonearest_test_data): New variable.
21576 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21577 (pow_towardzero_test_data): New variable.
21578 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21579 (pow_downward_test_data): New variable.
21580 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21581 (pow_upward_test_data): New variable.
21582 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21583 (remainder_test_data): New variable.
21584 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21585 (scalb_test_data): New variable.
21586 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21587 * sysdeps/i386/fpu/libm-test-ulps: Update.
21588
74c57478
JM
215892013-05-11 Joseph Myers <joseph@codesourcery.com>
21590
8329e4da
JM
21591 * math/libm-test.inc (fma_test): Use max_value instead of local
21592 variable fltmax.
21593 (nextafter_test): Likewise.
21594
74c57478
JM
21595 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21596 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21597 (acos_downward_test_data): New variable.
21598 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21599 (acos_upward_test_data): New variable.
21600 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21601 (acosh_test_data): New variable.
21602 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21603 (asin_test_data): New variable.
21604 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21605 (asin_tonearest_test_data): New variable.
21606 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21607 (asin_towardzero_test_data): New variable.
21608 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21609 (asin_downward_test_data): New variable.
21610 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21611 (asin_upward_test_data): New variable.
21612 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21613 (asinh_test_data): New variable.
21614 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21615 (atan_test_data): New variable.
21616 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21617 (atanh_test_data): New variable.
21618 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21619 (cbrt_test_data): New variable.
21620 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21621 (ceil_test_data): New variable.
21622 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21623 (cos_test_data): New variable.
21624 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21625 (cos_tonearest_test_data): New variable.
21626 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21627 (cos_towardzero_test_data): New variable.
21628 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21629 (cos_downward_test_data): New variable.
21630 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21631 (cos_upward_test_data): New variable.
21632 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21633 (cosh_test_data): New variable.
21634 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21635 (cosh_tonearest_test_data): New variable.
21636 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21637 (cosh_towardzero_test_data): New variable.
21638 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21639 (cosh_downward_test_data): New variable.
21640 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21641 (cosh_upward_test_data): New variable.
21642 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21643 (erf_test_data): New variable.
21644 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21645 (erfc_test_data): New variable.
21646 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21647 (exp_test_data): New variable.
21648 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21649 (exp_tonearest_test_data): New variable.
21650 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21651 (exp_towardzero_test_data): New variable.
21652 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21653 (exp_downward_test_data): New variable.
21654 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21655 (exp_upward_test_data): New variable.
21656 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21657 (exp10_test_data): New variable.
21658 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21659 (exp2_test_data): New variable.
21660 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21661 (expm1_test_data): New variable.
21662 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21663 (fabs_test_data): New variable.
21664 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21665 (floor_test_data): New variable.
21666 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21667 (j0_test_data): New variable.
21668 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21669 (j1_test_data): New variable.
21670 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21671 (log_test_data): New variable.
21672 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21673 (log10_test_data): New variable.
21674 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21675 (log1p_test_data): New variable.
21676 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21677 (log2_test_data): New variable.
21678 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21679 (logb_test_data): New variable.
21680 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21681 (logb_downward_test_data): New variable.
21682 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21683 (nearbyint_test_data): New variable.
21684 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21685 (rint_test_data): New variable.
21686 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21687 (rint_tonearest_test_data): New variable.
21688 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21689 (rint_towardzero_test_data): New variable.
21690 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21691 (rint_downward_test_data): New variable.
21692 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21693 (rint_upward_test_data): New variable.
21694 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21695 (round_test_data): New variable.
21696 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21697 (sin_test_data): New variable.
21698 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21699 (sin_tonearest_test_data): New variable.
21700 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21701 (sin_towardzero_test_data): New variable.
21702 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21703 (sin_downward_test_data): New variable.
21704 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21705 (sin_upward_test_data): New variable.
21706 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21707 (sinh_test_data): New variable.
21708 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21709 (sinh_tonearest_test_data): New variable.
21710 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21711 (sinh_towardzero_test_data): New variable.
21712 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21713 (sinh_downward_test_data): New variable.
21714 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21715 (sinh_upward_test_data): New variable.
21716 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21717 (sqrt_test_data): New variable.
21718 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21719 (tan_test_data): New variable.
21720 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21721 (tan_tonearest_test_data): New variable.
21722 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21723 (tan_towardzero_test_data): New variable.
21724 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21725 (tan_downward_test_data): New variable.
21726 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21727 (tan_upward_test_data): New variable.
21728 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21729 (tanh_test_data): New variable.
21730 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21731 (tgamma_test_data): New variable.
21732 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21733 (trunc_test_data): New variable.
21734 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21735 (y0_test_data): New variable.
21736 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21737 (y1_test_data): New variable.
21738 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21739 (significand_test_data): New variable.
21740 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21741
7187d844
CG
217422013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21743
21744 [BZ #12387]
21745 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21746
f63fae73
PT
217472013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21748
21749 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21750
8a67a4b3
AJ
217512013-05-10 Andreas Jaeger <aj@suse.de>
21752
21753 [BZ #15448]
21754 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21755 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21756
51df539d
JM
217572013-05-10 Joseph Myers <joseph@codesourcery.com>
21758
21759 * math/gen-libm-test.pl (adjust_arg): New function.
21760 (special_functions): Handle generating output in both functions
21761 and arrays.
21762 (parse_args): Likewise.
21763 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21764 $in_func argument to parse_args.
21765 * math/libm-test.inc (struct test_f_f_data): New type.
21766 (IF_ROUND_INIT_): New macro.
21767 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21768 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21769 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21770 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21771 (ROUND_RESTORE_): Likewise.
21772 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21773 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21774 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21775 (ROUND_RESTORE_FE_UPWARD): Likewise.
21776 (RUN_TEST_LOOP_f_f): New macro.
21777 (acos_test_data): New variable.
21778 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21779 (acos_tonearest_test_data): New variable.
21780 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21781
5c637fe5
SP
217822013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21783
21784 * benchtests/bench-skeleton.c (startup): Fix coding style.
21785
ab2b9461
JM
217862013-05-10 Joseph Myers <joseph@codesourcery.com>
21787
21788 [BZ #6809]
21789 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21790 negative infinity argument.
21791 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21792 negative infinity argument.
21793 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21794 negative infinity argument.
21795 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21796 domain errors.
21797
4c0fe6fe
FW
217982013-05-10 Florian Weimer <fweimer@redhat.com>
21799
21800 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21801 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21802 * iconv/iconv_prog.c (main): Likewise.
21803 * locale/programs/charmap-dir.c (charmap_readdir)
21804 (fopen_uncompressed): Likewise.
21805 * locale/programs/locfile.c (siblings_uncached)
21806 (write_locale_data): Use lstat64 instead of lstat.
21807 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21808 stat.
21809
a3375d29
AJ
218102013-05-10 Andreas Jaeger <aj@suse.de>
21811
21812 [BZ #15395]
21813 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21814 localization.
21815 Include <locale.h>.
21816
36129722
CD
218172013-05-09 Carlos O'Donell <carlos@redhat.com>
21818
21819 * elf/dl-close.c (_dl_close_worker): Add comments.
21820
faa7f811
JM
218212013-05-09 Joseph Myers <joseph@codesourcery.com>
21822
ed41ffef
JM
21823 [BZ #15359]
21824 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21825 high part of pi/2.
21826 (__ieee754_rem_pio2l): Update comments.
21827
d0213cd0
JM
21828 [BZ #15429]
21829 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21830 high part of pi/2.
21831 (__ieee754_rem_pio2l): Update comments.
21832
0d3e777a
JM
21833 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21834 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21835
24f56066
JM
21836 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21837 M_PI_4l.
21838
faa7f811
JM
21839 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21840 (M_PI_34_LOG10El): Likewise.
21841 (M_PI2_LOG10El): Likewise.
21842 (M_PI4_LOG10El): Likewise.
21843 (M_PI_LOG10El): Likewise.
21844
e9a5e0fd
AZ
218452013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21846
21847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21848
d8cd06db
JM
218492013-05-08 Joseph Myers <joseph@codesourcery.com>
21850
a0d9f9d7
JM
21851 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21852 (MINUS_ZERO_INIT): Likewise.
21853 (PLUS_INFTY_INIT): Likewise.
21854 (MINUS_INFTY_INIT): Likewise.
21855 (QNAN_VALUE_INIT): Likewise.
21856 (MAX_VALUE_INIT): Likewise.
21857 (MIN_VALUE_INIT): Likewise.
21858 (MIN_SUBNORM_VALUE_INIT): Likewise.
21859 (plus_zero): Initialize with PLUS_ZERO_INIT.
21860 (minus_zero): Initialize with MINUS_ZERO_INIT.
21861 (plus_infty): Initialize with PLUS_INFTY_INIT.
21862 (minus_infty): Initialize with MINUS_INFTY_INIT.
21863 (qnan_value): Initialize with QNAN_VALUE_INIT.
21864 (max_value): Initialize with MAX_VALUE_INIT.
21865 (min_value): Initialize with MIN_VALUE_INIT.
21866 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21867
ae08db3b
JM
21868 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21869 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21870 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21871 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21872
f44bf14a
JM
21873 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21874 (RUN_TEST_2_f): Likewise.
21875 (RUN_TEST_ff_f): Likewise.
21876 (RUN_TEST_fi_f): Likewise.
21877 (RUN_TEST_fl_f): Likewise.
21878 (RUN_TEST_fff_f): Likewise.
21879 (RUN_TEST_c_f): Likewise.
21880 (RUN_TEST_f_f1): Likewise.
21881 (RUN_TEST_fF_f1): Likewise.
21882 (RUN_TEST_fI_f1): Likewise.
21883 (RUN_TEST_ffI_f1): Likewise.
21884 (RUN_TEST_c_c): Likewise.
21885 (RUN_TEST_cc_c): Likewise.
21886 (RUN_TEST_f_i): Likewise.
21887 (RUN_TEST_f_i_tg): Likewise.
21888 (RUN_TEST_ff_i_tg): Likewise.
21889 (RUN_TEST_f_b): Likewise.
21890 (RUN_TEST_f_b_tg): Likewise.
21891 (RUN_TEST_f_l): Likewise.
21892 (RUN_TEST_f_L): Likewise.
21893 (RUN_TEST_sincos): Likewise.
21894 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21895 whether to show exceptions. Do not include ");\n" in return
21896 value.
21897 (special_functions): Output call to RUN_TEST_sincos instead of
21898 check_float calls. Update calls to new_test.
21899 (parse_args): Output call to single RUN_TEST_* macro instead of
21900 check_* calls and other assignments. Update calls to new_test.
21901
d8cd06db
JM
21902 [BZ #2546]
21903 [BZ #2560]
21904 [BZ #5159]
21905 [BZ #15426]
21906 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21907 input to result for tgamma overflow.
21908 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21909 (gamma_coeff): New variable.
21910 (NCOEFF): New macro.
21911 (gamma_positive): New function.
21912 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21913 underflow here. Use gamma_positive instead of exp (lgamma) for
21914 other arguments.
21915 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21916 (gamma_coeff): New variable.
21917 (NCOEFF): New macro.
21918 (gammaf_positive): New function.
21919 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21920 underflow here. Use gamma_positive instead of exp (lgamma) for
21921 other arguments.
21922 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21923 (gamma_coeff): New variable.
21924 (NCOEFF): New macro.
21925 (gammal_positive): New function.
21926 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21927 underflow here. Use gamma_positive instead of exp (lgamma) for
21928 other arguments.
21929 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21930 (gamma_coeff): New variable.
21931 (NCOEFF): New macro.
21932 (gammal_positive): New function.
21933 (__ieee754_gammal_r): Handle positive infinity, overflow and
21934 underflow here. Handle NaN the same as positive infinity. Remove
21935 check x < 0xffffffff for negative integers. Use gamma_positive
21936 instead of exp (lgamma) for other arguments.
21937 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21938 (gamma_coeff): New variable.
21939 (NCOEFF): New macro.
21940 (gammal_positive): New function.
21941 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21942 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21943 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21944 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21945 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21946 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21947 * sysdeps/generic/math_private.h (__gamma_productf): New
21948 prototype.
21949 (__gamma_product): Likewise.
21950 (__gamma_productl): Likewise.
21951 * math/Makefile (libm-calls): Add gamma_product.
21952 * math/libm-test.inc (tgamma_test): Add more tests.
21953 * sysdeps/i386/fpu/libm-test-ulps: Update.
21954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21955
bb7cf681
OB
219562013-05-08 Ondřej Bílka <neleai@seznam.cz>
21957
21958 * benchtests/bench-skeleton.c (main): Preheat CPU.
21959
ba853947
AJ
219602013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21961
21962 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21963
8347c74c
RM
219642013-05-07 Roland McGrath <roland@hack.frob.com>
21965
21966 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21967 and _dl_skip_args_internal.
21968
e8dd4791
CD
219692013-05-07 Carlos O'Donell <carlos@redhat.com>
21970
21971 * manual/message.texi (Message Translation): Talk about users.
21972 Message to key mapping impacts design.
21973
c7405830
RM
219742013-05-06 Roland McGrath <roland@hack.frob.com>
21975
a9173057
RM
21976 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21977
976e2f03
RM
21978 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21979
9723ffc5
RM
21980 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21981 * sysdeps/wordsize-64/glob64.c: ... here.
21982
962e6658
RM
21983 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21984 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21985 New macros.
21986
ee586a6d
RM
21987 * debug/getlogin_r_chk.c: Moved to ...
21988 * login/getlogin_r_chk.c: ... here.
21989 * debug/Makefile (routines): Move getlogin_r_chk to ...
21990 * login/Makefile (routines): ... here.
21991 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21992 * login/Versions (libc: GLIBC_2.4): ... here.
21993
355f9165
RM
21994 * io/poll.c (__poll): Renamed from poll.
21995 Add libc_hidden_def.
21996 (poll): Define as weak alias.
21997
bd9ffde6
RM
21998 * debug/ptsname_r_chk.c: Moved to ...
21999 * login/ptsname_r_chk.c: ... here.
22000 * debug/Makefile (routines): Move ptsname_r_chk to ...
22001 * login/Makefile (routines): ... here.
22002 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22003 * login/Versions (libc: GLIBC_2.4): ... here.
22004
8fb16a04
RM
22005 * posix/getlogin.c: Moved to ...
22006 * login/getlogin.c: ... here.
22007 * posix/getlogin_r.c: Moved to ...
22008 * login/getlogin_r.c: ... here.
22009 * posix/getlogin_r.c: Moved to ...
22010 * login/getlogin_r.c: ... here.
22011 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22012 * login/Makefile (routines): ... here.
22013 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22014 * login/Versions (libc: GLIBC_2.0): ... here.
22015
b99b892f
RM
22016 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22017 (setrlimit): Define as weak alias.
22018
c7405830
RM
22019 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22020 Call __ names for open, ftruncate, and close.
22021 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22022 (truncate): Define as weak alias.
22023
5bf96de5
JM
220242013-05-06 Joseph Myers <joseph@codesourcery.com>
22025
9ea3513c
JM
22026 * math/gen-libm-test.pl (parse_args): Initialize x before each
22027 test of frexp, modf and remquo.
22028
5bf96de5
JM
22029 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22030 test signgam value.
22031
16e616a7
AZ
220322013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22033
22034 [BZ #15418]
22035 [BZ #15419]
22036 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22037 internal tests.
22038 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22039
d5e82754
RM
220402013-05-06 Roland McGrath <roland@hack.frob.com>
22041
22042 * elf/dl-writev.h: New file.
22043 * elf/dl-misc.c: Include it.
22044 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22045 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22046
a7548d41
JM
220472013-05-04 Joseph Myers <joseph@codesourcery.com>
22048
b7dab1e4
JM
22049 * math/libm-test.inc (noXFails): Remove variable.
22050 (noXPasses): Likewise.
22051 (BUILD_COMPLEX_INT): Remove macro.
22052 (print_screen): Remove xfail argument.
22053 (print_screen_max_error): Likewise.
22054 (update_stats): Likewise.
22055 (print_max_error): Likewise. Update calls to other affected
22056 functions.
22057 (print_complex_max_error): Likewise.
22058 (test_single_exception): Update calls to print_screen.
22059 (test_single_errno): Likewise.
22060 (check_float_internal): Remove xfail argument. Update calls to
22061 other affected functions.
22062 (check_float): Likewise.
22063 (check_complex): Likewise.
22064 (check_int): Likewise.
22065 (check_long): Likewise.
22066 (check_bool): Likewise.
22067 (check_longlong): Likewise.
22068 (main): Don't print noXFails and noXPasses.
22069 * math/gen-libm-test.pl (top level): Don't mention expected
22070 failure handling in comment.
22071 (new_test): Don't handle expected failures.
22072 (parse_args): Don't mention expected failure handling in comment.
22073 (generate_testfile): Don't handle expected failures.
22074 (parse_ulps): Likewise.
22075 (print_ulps_file): Likewise.
22076 (get_failure): Remove function.
22077 (output_test): Don't handle expected failures.
22078 * make/README.libm-test: Don't mention expected failure handling.
22079
a7548d41
JM
22080 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22081 (minus_zero): Likewise.
22082 (plus_infty): Likewise.
22083 (minus_infty): Likewise.
22084 (qnan_value): Likewise.
22085 (max_value): Likewise.
22086 (min_value): Likewise.
22087 (min_subnorm_value): Likewise.
22088 (initialize): Do not initialize those variables dynamically.
22089
60bfd54c
RM
220902013-05-03 Roland McGrath <roland@hack.frob.com>
22091
cc0e6ed8
RM
22092 * io/open.c (__open_2): Moved to ...
22093 * io/open_2.c: ... this new file.
22094 * io/open64.c (__open64_2): Moved to ...
22095 * io/open64_2.c: ... this new file.
22096 * io/openat.c (__openat_2): Moved to ...
22097 * io/openat_2.c: ... this new file.
22098 * io/openat64.c (__openat64_2): Moved to ...
22099 * io/openat64_2.c: ... this new file.
22100 * io/Makefile (routines): Add them.
22101 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22102 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22103 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22104 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22105 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22106 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22107 (__openat64): Add hidden_ver.
22108 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22109 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22110
60bfd54c
RM
22111 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22112 Separately conditionalize setting of GLRO(dl_sysinfo) so
22113 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22114 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22115
83e7640f
AZ
221162013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22117
22118 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22119 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22120 definition.
22121 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22122 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22123 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22124 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22125 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22126
d5dc2af3
JM
221272013-05-03 Joseph Myers <joseph@codesourcery.com>
22128
c31a5b1e
JM
22129 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22130 test signgam value.
22131
d5dc2af3
JM
22132 * math/libm-test.inc (hypot_test): Do not use
22133 IGNORE_ZERO_INF_SIGN.
22134
164fd39d
AJ
221352013-05-03 Andreas Jaeger <aj@suse.de>
22136
22137 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22138 Linux 3.9.
22139 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22140 (PF_MAX): Adjust for VSOCK change.
22141
8237f48c
AZ
221422013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22143
22144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22145
9df02941
CD
221462013-05-02 Carlos O'Donell <carlos@redhat.com>
22147
22148 [BZ #15264]
22149 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22150 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22151 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22152
d422395e
DM
221532013-05-02 David S. Miller <davem@davemloft.net>
22154
22155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22156
a07c5731
OB
221572013-05-01 Ondřej Bílka <neleai@seznam.cz>
22158
22159 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22160
1324e37f
RM
221612013-05-01 Roland McGrath <roland@hack.frob.com>
22162
22163 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22164
0695940b
RS
221652013-05-01 Richard Smith <richard@metafoo.co.uk>
22166
bb5f27ad 22167 [BZ #14952]
0695940b
RS
22168 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22169 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22170 Use __attribute__ ((__gnu_inline__)).
22171 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22172 Don't use __attribute__ ((__gnu_inline__)).
22173
10de07f5
JM
221742013-05-01 Joseph Myers <joseph@codesourcery.com>
22175
22176 [BZ #15423]
22177 * math/s_catan.c (__catan): Handle small real or imaginary part of
22178 input specially to avoid spurious underflow.
22179 * math/s_catanf.c (__catanf): Likewise.
22180 * math/s_catanh.c (__catanh): Likewise.
22181 * math/s_catanhf.c (__catanhf): Likewise.
22182 * math/s_catanhl.c (__catanhl): Likewise.
22183 * math/s_catanl.c (__catanl): Likewise.
22184 * math/libm-test.inc (catan_test): Add more tests.
22185 (catanh_test): Likewise.
22186 * sysdeps/i386/fpu/libm-test-ulps: Update.
22187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22188
cb4d5414
AZ
221892013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22190
22191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22192
caf84319
JM
221932013-04-30 Joseph Myers <joseph@codesourcery.com>
22194
22195 [BZ #15416]
22196 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22197 accurately for denominator in atan2.
22198 * math/s_catanf.c (__catanf): Likewise.
22199 * math/s_catanh.c (__catanh): Likewise.
22200 * math/s_catanhf.c (__catanhf): Likewise.
22201 * math/s_catanhl.c (__catanhl): Likewise.
22202 * math/s_catanl.c (__catanl): Likewise.
22203 * math/libm-test.inc (catan_test): Add more tests.
22204 (catanh_test): Likewise.
22205 * sysdeps/i386/fpu/libm-test-ulps: Update.
22206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22207
d569c6ee
SP
222082013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22209
6dbe713d
SP
22210 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22211
f0ee064b
SP
22212 * benchtests/Makefile (bench): Remove slow benchmarks.
22213 * benchtests/atan-inputs: Add slow benchmark inputs.
22214 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22215 (BENCH_FUNC): Accept variant offset.
22216 (VARIANT): Define.
22217 * benchtests/bench-skeleton.c (main): Run benchmark for each
22218 variant.
22219 * benchtests/cos-inputs: Add slow benchmark inputs.
22220 * benchtests/exp-inputs: Likewise.
22221 * benchtests/pow-inputs: Likewise.
22222 * benchtests/sin-inputs: Likewise.
22223 * benchtests/slowatan-inputs: Remove.
22224 * benchtests/slowatan.c: Remove.
22225 * benchtests/slowcos-inputs: Remove.
22226 * benchtests/slowcos.c: Remove.
22227 * benchtests/slowexp-inputs: Remove.
22228 * benchtests/slowexp.c: Remove.
22229 * benchtests/slowpow-inputs: Remove.
22230 * benchtests/slowpow.c: Remove.
22231 * benchtests/slowsin-inputs: Remove.
22232 * benchtests/slowsin.c: Remove.
22233 * benchtests/slowtan-inputs: Remove.
22234 * benchtests/slowtan.c: Remove.
22235 * benchtests/tan-inputs: Add slow benchmark inputs.
22236 * scripts/bench.pl: Parse comments and directives.
22237
d569c6ee
SP
22238 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22239 in CPPFLAGS.
22240 ($(objpfx)bench-%.c): Remove *-ITER.
22241 * benchtests/bench-modf.c: Remove definition of ITER.
22242 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22243 (main): Loop for DURATION seconds instead of fixed number of
22244 iterations.
22245 * scripts/bench.pl: Don't expect iterations in parameters.
22246
a6a242fe
RM
222472013-04-29 Roland McGrath <roland@hack.frob.com>
22248
22249 * io/fchdir.c (__fchdir): Renamed from fchdir.
22250 (fchdir): Define as weak alias.
22251
f2da7793
JM
222522013-04-29 Joseph Myers <joseph@codesourcery.com>
22253
22254 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22255 (ERRNO_EDOM): Likewise.
22256 (ERRNO_ERANGE): Likewise.
22257 (noErrnoTests): New variable.
22258 (init_max_error): Set errno to 0.
22259 (test_single_errno): New function.
22260 (test_errno): Likewise.
22261 (check_float_internal): Call test_errno. Set errno to 0.
22262 (check_complex): Refer to errno tests in comment.
22263 (check_int): Call test_errno. Set errno to 0.
22264 (check_long): Likewise.
22265 (check_bool): Likewise.
22266 (check_longlong): Likewise.
22267 (cos_test): Use ERRNO_* flags for errno tests instead of
22268 check_int.
22269 (expm1_test): Likewise.
22270 (fmod_test): Likewise.
22271 (ilogb_test): Likewise.
22272 (lgamma_test): Likewise.
22273 (pow_test): Likewise.
22274 (remainder_test): Likewise.
22275 (sin_test): Likewise.
22276 (tan_test): Likewise.
22277 (yn_test): Likewise.
22278 (initialize): Set errno to 0.
22279 (main): Print number of errno tests.
22280 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22281
b1a36ceb
AJ
222822013-04-29 Andreas Jaeger <aj@suse.de>
22283
c3ed8088
AJ
22284 [BZ #15084]
22285 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22286 and RES_USEVC.
22287
f1a24198
AJ
22288 [BZ #15085]
22289 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22290 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22291 unimplemented.
22292
9ce3b2cb
AJ
22293 [BZ #15380]
22294 * stdlib/random.c (__initstate): Return NULL if
22295 __initstate fails.
22296
f1a24198 22297 [BZ #15086]
b1a36ceb
AJ
22298 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22299 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22300 RES_SNGLKUPREOP.
22301
7e7b6f36
AZ
223022013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22303
22304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22305
4d14f449
JM
223062013-04-29 Joseph Myers <joseph@codesourcery.com>
22307
22308 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22309 of individual tests.
22310 (casin_test): Likewise.
22311 (casinh_test): Likewise.
22312
5b4217d7
JM
223132013-04-27 Joseph Myers <joseph@codesourcery.com>
22314
22315 [BZ #15409]
22316 * math/s_catan.c (__catan): Handle arguments with large real or
22317 imaginary part separately without squaring.
22318 * math/s_catanf.c (__catanf): Likewise.
22319 * math/s_catanh.c (__catanh): Likewise.
22320 * math/s_catanhf.c (__catanhf): Likewise.
22321 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22322 and redefine.
22323 (__catanhl): Handle arguments with large real or imaginary part
22324 separately without squaring.
22325 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22326 and redefine.
22327 (__catanl): Handle arguments with large real or imaginary part
22328 separately without squaring.
22329 * math/libm-test.inc (catan_test): Add more tests.
22330 (catanh_test): Likewise.
22331 * sysdeps/i386/fpu/libm-test-ulps: Update.
22332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22333
4220c3ef
AJ
223342013-04-27 Andreas Jaeger <aj@suse.de>
22335
22336 [BZ #15007]
22337 * stdlib/stdlib.h: Update guards for qecvt.
22338 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22339 <stdlib.h>.
22340
4721b2d1
AM
223412013-04-27 Allan McRae <allan@archlinux.org>
22342
22343 * sysdeps/i386/fpu/libm-test-ulps: Update.
22344
f0302940
JM
223452013-04-26 Joseph Myers <joseph@codesourcery.com>
22346
9457fd95
JM
22347 [BZ #15406]
22348 * math/s_catan.c: Include <float.h>.
22349 (__catan): Ensure underflow exception occurs for underflowed
22350 result.
22351 * math/s_catanf.c: Include <float.h>.
22352 (__catanf): Ensure underflow exception occurs for underflowed
22353 result.
22354 * math/s_catanh.c: Include <float.h>.
22355 (__catanh): Ensure underflow exception occurs for underflowed
22356 result.
22357 * math/s_catanhf.c: Include <float.h>.
22358 (__catanhf): Ensure underflow exception occurs for underflowed
22359 result.
22360 * math/s_catanhl.c: Include <float.h>.
22361 (__catanhl): Ensure underflow exception occurs for underflowed
22362 result.
22363 * math/s_catanl.c: Include <float.h>.
22364 (__catanl): Ensure underflow exception occurs for underflowed
22365 result.
22366 * math/libm-test.inc (catan_test): Add more tests.
22367 (catanh_test): Likewise.
22368
f0302940
JM
22369 [BZ #15405]
22370 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22371 underflowed result.
22372 * math/s_ccoshf.c (__ccoshf): Likewise.
22373 * math/s_ccoshl.c (__ccoshl): Likewise.
22374 * math/s_csin.c (__csin): Likewise.
22375 * math/s_csinf.c (__csinf): Likewise.
22376 * math/s_csinh.c (__csinh): Likewise.
22377 * math/s_csinhf.c (__csinhf): Likewise.
22378 * math/s_csinhl.c (__csinhl): Likewise.
22379 * math/s_csinl.c (__csinl): Likewise.
22380 * math/libm-test.inc (ccos_test): Add more tests.
22381 (ccosh_test): Likewise.
22382 (csin_test): Likewise.
22383 (csinh_test): Likewise.
22384
aa630f59
AZ
223852013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22386
22387 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22388 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22389 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22390 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22391 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22392 powerpc/power5+/fpu folders.
22393 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22394
22395
1b835983
MT
223962013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22397
22398 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22399
73709b26
JM
224002013-04-25 Joseph Myers <joseph@codesourcery.com>
22401
22402 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22403 additions to variable.
22404 [$(config-machine) = x86_64] (modules-names): Likewise.
22405 ($(objpfx)tst-audit3): Remove dependency.
22406 ($(objpfx)tst-audit3.out): Likewise.
22407 ($(objpfx)tst-audit4): Likewise.
22408 ($(objpfx)tst-audit4.out): Likewise.
22409 ($(objpfx)tst-audit5): Likewise.
22410 ($(objpfx)tst-audit5.out): Likewise.
22411 ($(objpfx)tst-audit6): Likewise.
22412 ($(objpfx)tst-audit6.out): Likewise.
22413 ($(objpfx)tst-audit7): Likewise.
22414 ($(objpfx)tst-audit7.out): Likewise.
22415 (tst-audit3-ENV): Remove variable.
22416 (tst-audit4-ENV): Likewise.
22417 (tst-audit5-ENV): Likewise.
22418 (tst-audit6-ENV): Likewise.
22419 (tst-audit7-ENV): Likewise.
22420 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22421 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22422 addition to variable.
22423 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22424 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22425 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22426 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22427 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22428 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22429 tst-audit3, tst-audit4 and tst-audit5.
22430 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22431 tst-audit6 and tst-audit7.
22432 [$(subdir) = elf] (modules-names): Add audit modules for those
22433 tests.
22434 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22435 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22436 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22437 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22438 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22439 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22440 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22441 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22442 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22443 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22444 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22445 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22446 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22447 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22448 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22449 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22450 Likewise.
22451 [$(subdir) = elf && $(config-cflags-avx) = yes]
22452 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22453 [$(subdir) = elf && $(config-cflags-avx) = yes]
22454 (CFLAGS-tst-auditmod4a.c): Likewise.
22455 [$(subdir) = elf && $(config-cflags-avx) = yes]
22456 (CFLAGS-tst-auditmod4b.c): Likewise.
22457 [$(subdir) = elf && $(config-cflags-avx) = yes]
22458 (CFLAGS-tst-auditmod6b.c): Likewise.
22459 [$(subdir) = elf && $(config-cflags-avx) = yes]
22460 (CFLAGS-tst-auditmod6c.c): Likewise.
22461 [$(subdir) = elf && $(config-cflags-avx) = yes]
22462 (CFLAGS-tst-auditmod7b.c): Likewise.
22463 * elf/tst-audit3.c: Move to ...
22464 * sysdeps/x86_64/tst-audit3.c: ... here.
22465 * elf/tst-audit4.c: Move to ...
22466 * sysdeps/x86_64/tst-audit4.c: ... here.
22467 * elf/tst-audit5.c: Move to ...
22468 * sysdeps/x86_64/tst-audit5.c: ... here.
22469 * elf/tst-audit6.c: Move to ...
22470 * sysdeps/x86_64/tst-audit6.c: ... here.
22471 * elf/tst-audit7.c: Move to ...
22472 * sysdeps/x86_64/tst-audit7.c: ... here.
22473 * elf/tst-auditmod3a.c: Move to ...
22474 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22475 * elf/tst-auditmod3b.c: Move to ...
22476 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22477 * elf/tst-auditmod4a.c: Move to ...
22478 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22479 * elf/tst-auditmod4b.c: Move to ...
22480 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22481 * elf/tst-auditmod5a.c: Move to ...
22482 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22483 * elf/tst-auditmod5b.c: Move to ...
22484 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22485 * elf/tst-auditmod6a.c: Move to ...
22486 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22487 * elf/tst-auditmod6b.c: Move to ...
22488 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22489 * elf/tst-auditmod6c.c: Move to ...
22490 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22491 * elf/tst-auditmod7a.c: Move to ...
22492 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22493 * elf/tst-auditmod7b.c: Move to ...
22494 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22495
1ef74943
PP
224962013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22497
22498 [BZ #15366]
22499 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22500 define unconditionally.
22501 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22502 define unconditionally.
22503 (INT8_C, INT16_C, etc.): Likewise.
22504
93fd48c5
MR
225052013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22506
ae9552cf
MR
22507 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22508 __ehdr_start with hidden visibility.
22509
93fd48c5
MR
22510 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22511
418601aa
CD
225122013-04-24 Carlos O'Donell <carlos@redhat.com>
22513
22514 * math/libm-test.inc (cos_test): Use accurate hex constants.
22515 (sincost_test): Likewise.
22516
2f38fbfe
JM
225172013-04-24 Joseph Myers <joseph@codesourcery.com>
22518
5e221800
JM
22519 * math/libm-test.inc (catan_test): Add more tests.
22520 (catanh_test): Likewise.
22521
77f143fd
JM
22522 * math/s_catanf.c (__catanf): Use suffixed floating-point
22523 constants.
22524 * math/s_catanhf.c (__catanhf): Likewise.
22525 * math/s_catanhl.c (__catanhl): Likewise.
22526 * math/s_catanl.c (__catanl): Likewise.
22527
2f38fbfe
JM
22528 [BZ #15394]
22529 * math/s_catan.c (__catan): Calculate imaginary part of result
22530 with log1p not log unless computing log of number close to 0.
22531 * math/s_catanf.c (__catanf): Likewise.
22532 * math/s_catanl.c (__catanl): Likewise.
22533 * math/s_catanh.c (__catanh): Calculate real part of result with
22534 log1p not log unless computing log of number close to 0.
22535 * math/s_catanhf.c (__catanhf): Likewise.
22536 * math/s_catanhl.c (__catanhl): Likewise.
22537 * math/libm-test.inc (catan_test): Add more tests.
22538 (catanh_test): Likewise.
22539 * sysdeps/i386/fpu/libm-test-ulps: Update.
22540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22541
45d69176
SP
225422013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22543
22544 * benchtests/Makefile: Mention files in which fast and slow
22545 paths of math functions are implemented.
22546
87f51853
RM
225472013-04-23 Roland McGrath <roland@hack.frob.com>
22548
22549 * sysdeps/posix/timespec_get.c: New file.
22550
3c026539
AZ
225512013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22552
22553 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22554 POWER.
22555 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22556 for POWER.
22557 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22558 powerpc/power5/fpu folders.
22559 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22560 * benchtests/Makefile: Add modf testcase.
22561 * benchtests/bench-modf.c: New file: Benchmark test for mo
22562
ff491d14
SP
225632013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22564
22565 [BZ #14888]
22566 * time/Makefile (tests): Add tst-strptime-whitespace.
22567 * time/strptime_l.c (get_number): Use ISSPACE.
22568 (__strptime_internal): Likewise.
22569 * time/tst-strptime-whitespace.c: New test case.
22570
7ed3f4e8
AS
225712013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22572
22573 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22574 member.
22575 (_nss_files_init): Set it here.
22576
5c95f7b6
HC
225772013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22578
22579 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22580 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22581 unsigned.
22582
d34c9158
JBG
225832013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22584
22585 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22586
2169712d
SP
225872013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22588
22589 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22590 size just once.
22591
29c5de99
DM
225922013-04-21 David S. Miller <davem@davemloft.net>
22593
22594 * po/ru.po: Update Russion translation from translation project.
22595
ccdad15d
AC
225962013-04-17 Adam Conrad <adconrad@0c3.net>
22597
22598 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22599 and setfsgid.
22600
0f122b8d
CD
226012013-04-17 Carlos O'Donell <carlos@redhat.com>
22602
5c5b07da 22603 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 22604 * configure: Regenerate.
5c5b07da 22605 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
22606 Add example to error message.
22607 * sysdeps/i386/configure: Regenerate.
22608
037714dd
SP
226092013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22610
22611 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22612 slowtan.
22613 * benchtests/cos-inputs: New file.
22614 * benchtests/slowcos-inputs: New file.
22615 * benchtests/slowcos.c: New file.
22616 * benchtests/slowtan-inputs: New file.
22617 * benchtests/slowtan.c: New file.
22618 * benchtests/tan-inputs: New file.
22619
e913141d
RM
226202013-04-16 Roland McGrath <roland@hack.frob.com>
22621
22622 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22623 considered kosher.
22624
a2964074
SP
226252013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22626
4856bcd2
SP
22627 * benchtests/Makefile: Include cppflags-iterator.mk to add
22628 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22629
a2964074
SP
22630 * Makefile.in (bench-clean): New target.
22631 * benchtests/Makefile (bench-clean): Likewise.
22632
9fbf9aca
DH
226332013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22634
22635 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22636
207d1e2a
TS
226372013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22638
22639 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22640
306dfba9
AS
226412013-04-15 Andreas Schwab <schwab@suse.de>
22642
22643 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22644 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22645 * nscd/pwdcache.c (cache_addpw): Likewise.
22646 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22647 more than recsize.
22648
206a6699
SP
226492013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22650
22651 * benchtests/Makefile (bench): Write all output to
22652 bench-out.tmp together.
22653
0582f6b3
AS
226542013-04-15 Andreas Schwab <schwab@suse.de>
22655
22656 * nscd/nscd.c (main): Don't fork again after closing files.
22657
acb4325f
SP
226582013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22659
5cb26d0a
SP
22660 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22661
acb4325f
SP
22662 * benchtests/Rules (bench-deps): Collect dependencies into a
22663 single variable. Add Makefile to dependencies.
22664 ($(objpfx)bench-%.c): Depend on bench-deps.
22665
47792506
RM
226662013-04-12 Roland McGrath <roland@hack.frob.com>
22667 Xavier Roche <roche+kml2@exalead.com>
22668
22669 [BZ #15361]
22670 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22671 just that it's a file descriptor.
22672 * manual/llio.texi (Synchronizing AIO Operations): Update description
22673 for EBADF error from aio_fsync.
22674
8fc1bee5
SP
226752013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22676
22677 * Rules (bench): Move target definition...
22678 * benchtests/Makefile: ... here.
22679
aba5e333
CD
226802013-04-11 Carlos O'Donell <carlos@redhat.com>
22681
22682 * math/libm-test.inc (cos_test): Fix PI/2 test.
22683 (sincos_test): Likewise.
22684 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22685 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22686
273cdee8
AS
226872013-04-11 Andreas Schwab <schwab@suse.de>
22688
6ecec3b6
AS
22689 [BZ #13988]
22690 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22691 accept exponent character only when digits were seen.
22692 * stdio-common/Makefile (tests): Add bug26.
22693 * stdio-common/bug26.c: New file.
22694
273cdee8
AS
22695 [BZ #14293]
22696 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22697 non-freeable.
22698
8da491f5
SP
226992013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22700
01dc6df9
SP
22701 * Makeconfig (rtld-prefix): Define built linker prefix.
22702 * Rules (run-bench): Use it.
22703 * math/Makefile (run-regen-ulps): Likewise.
22704
8da491f5
SP
22705 * Rules (bench): Remove eval.
22706
abe7f530
SP
227072013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22708 Roland McGrath <roland@hack.frob.com>
22709 Ondrej Bilka <neleai@seznam.cz>
22710
22711 [BZ #15346]
22712 * time/getdate.c: Include ctype.h and alloca.h.
22713 (__getdate_r): Trim leading and trailing spaces of input.
22714 * time/tst-getdate.c (tests): Add tests with leading and
22715 trailing spaces.
22716
61c23e62
RM
227172013-04-08 Roland McGrath <roland@hack.frob.com>
22718
22719 [BZ #14280]
22720 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22721 when computing value.
22722
7208a313
CD
227232013-04-06 Carlos O'Donell <carlos@redhat.com>
22724
085b2d41
CD
22725 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22726 Use testrun.sh to run libm tests.
22727
7208a313
CD
22728 [BZ #15309]
22729 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22730
872c0acd
MM
227312013-04-06 Marko Myllynen <myllynen@redhat.com>
22732
22733 [BZ #15264]
22734 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22735
26510bdd
CD
227362013-04-06 Carlos O'Donell <carlos@redhat.com>
22737
22738 * Makefile.in (regen-ulps): New target.
22739 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22740 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22741 [ifneq (no,$(PERL)] (regen-ulps): New target.
22742 [ifeq (no,$(PERL)] (regen-ulps): New target.
22743 * math/libm-test.inc (ulps_file_name): Define.
22744 (output_dir): New variable.
22745 (options): Add "output-dir" option.
22746 (parse_opt): Handle 'o' case.
22747 (main): If output_dir is non-NULL use it as a prefix
22748 otherwise use "".
22749 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22750
a01f19c8
CD
227512013-04-06 Carlos O'Donell <carlos@redhat.com>
22752
22753 [BZ #10060, #10062]
22754 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22755 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22756 fail configure if __sync_val_compare_and_swap is not inlined.
22757 * sysdeps/i386/configure: Regenerate.
22758 * configure.in: Build for i686 when configured for i386.
22759 * configure: Regenerate.
22760 * README: Remove i386 reference.
22761
b7a329a5
CD
227622013-04-06 Carlos O'Donell <carlos@redhat.com>
22763
22764 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22765 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22766
bf0f50df
TS
227672013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22768
ee091edf
TS
22769 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22770 (lmsnanval): New variables.
22771 (F): Add conversion tests.
22772 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22773 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22774
a8b792d6
TS
22775 * stdio-common/tstdiomisc.c (F): Properly collect individual
22776 tests' results.
22777
a1cbf437
TS
22778 [BZ #14686, #15336]
22779 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22780 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22781 Instead, use input NaN values or generate a qNaN by arithmetic
22782 operation. Also fix bugs to comply with the standard.
22783 * math/libm-test.inc (remainder_test): Add more tests.
22784
8b43a0c9
TS
22785 [BZ #15335, #15342]
22786 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22787 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22788 input NaN values or generate a qNaN by arithmetic operation.
22789
d91da4ce
TS
22790 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22791 unreachable code.
22792
bf0f50df
TS
22793 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22794 definitions.
22795
05e166c8
JM
227962013-04-03 Joseph Myers <joseph@codesourcery.com>
22797
22798 [BZ #14478]
22799 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22800 underflowed result.
22801 * math/s_cexpf.c (__cexpf): Likewise.
22802 * math/s_cexpl.c (__cexpl): Likewise.
22803 * math/libm-test.inc (cexp_test): Add more tests.
22804
1cef1b19
AS
228052013-04-03 Andreas Schwab <schwab@suse.de>
22806
22807 [BZ #15330]
22808 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22809 order arrays from heap if bigger than alloca cutoff.
22810
74d87055
TS
228112013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22812
22813 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22814 (SNAN_TESTS_double): Refer to GCC PR56831.
22815 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22816 GCC PR56828.
22817
d755bba4
SP
228182013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22819
90d5d5bb
SP
22820 * Rules (bench): Move bench.out after the run is complete.
22821
73e0cd5d
SP
22822 * Rules (bench): Echo currently running benchmark.
22823
64aabd4b
SP
22824 * benchtests/Makefile (bench): Add atan and slowatan.
22825 * benchtests/atan-inputs: New file.
22826 * benchtests/slowatan-inputs: New file.
22827 * benchtests/slowatan.c: New file.
22828
c871eccd
SP
22829 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22830 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22831 its value.
22832
d755bba4
SP
22833 [BZ #15305]
22834 * sysdeps/unix/sysv/linux/kernel-features.h
22835 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22836 __ASSUME_XFS_RESTRICTED_CHOWN.
22837 * sysdeps/unix/sysv/linux/pathconf.c
22838 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22839 Save and restore errno.
22840
52ce4860
JM
228412013-04-02 Joseph Myers <joseph@codesourcery.com>
22842
22843 [BZ #15327]
22844 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22845 arguments using __kernel_casinh.
22846 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22847 arguments using __kernel_casinhf.
22848 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22849 arguments using __kernel_casinhl.
22850 * math/libm-test.inc (cacosh_test): Add more tests.
22851 * sysdeps/i386/fpu/libm-test-ulps: Update.
22852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22853
81f311c2
SP
228542013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22855
e7906a47
SP
22856 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22857 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22858
92e3664b
SP
22859 * bench/Makefile (bench): Add sin and slowsin.
22860 * benchtests/sin-inputs: New file.
22861 * benchtests/slowsin-inputs: New file.
22862 * benchtests/slowsin.c: New file.
22863
81f311c2
SP
22864 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22865 (bench): Add slowexp and slowpow.
22866 (exp-ITER): Increase iterations.
22867 (pow-ITER): Likewise.
22868 * benchtests/exp-inputs: Change input.
22869 * benchtests/pow-inputs: Likewise.
22870 * benchtests/slowexp-inputs: New file.
22871 * benchtests/slowexp.c: New file.
22872 * benchtests/slowpow-inputs: New file.
22873 * benchtests/slowpow.c: New file.
22874
ab0f1aa9
AZ
228752013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22876
22877 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22878 instructions.
22879 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22880 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22881 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22882 * benchtests/Makefile: Add rint benchtest.
22883 * benchtests/rint-inputs: Input for rint benchtest.
22884
57267616
TS
228852013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22886
22887 * Versions.def (libm): Add GLIBC_2.18.
22888 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22889 hidden libm prototypes.
22890 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22891 * math/Makefile (libm-calls): Add s_issignaling.
22892 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22893 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22894 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22895 declaration.
22896 * math/math.h [__USE_GNU] (issignaling): New macro.
22897 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22898 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22899 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22900 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22901 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22902 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22903 * manual/arith.texi (issignaling): New section.
22904 * manual/libm-err-tab.pl (@all_functions): Update comment.
22905 * math/gen-libm-test.pl (parse_args): Apply special handling for
22906 issignaling.
22907 * math/libm-test.inc (print_float, issignaling_test): New
22908 functions.
22909 (check_float_internal): Add issignaling checks.
22910 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22911 default definition.
22912 * sysdeps/powerpc/math-tests.h: New file.
22913 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22914 tests.
22915 * math/test-snan.c (TEST_FUNC): Likewise.
22916
6142896d
DM
229172013-03-30 David S. Miller <davem@davemloft.net>
22918
22919 * po/de.po: Update from translation team.
22920
ccc8cadf
JM
229212013-03-30 Joseph Myers <joseph@codesourcery.com>
22922
22923 [BZ #10357]
22924 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22925 imaginary part less than 1.0 and real part less than 0.5
22926 specially.
22927 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22928 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22929 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22930 (cacos_test): Add more tests.
22931 (casin_test): Likewise.
22932 (casinh_test): Likewise.
22933 * sysdeps/i386/fpu/libm-test-ulps: Update.
22934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22935
0f6a8d4b
SP
229362013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22937
0d1029de
SP
22938 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22939 ONE with its value.
22940
c2d94018
SP
22941 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22942 (__pow_mp): Replace ONE and MONE with their values.
22943 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22944 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22945 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22946 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22947 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22948 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22949
27ec37f1
SP
22950 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22951
a64d7e0e
SP
22952 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22953 (__pow_mp): Replace ZERO and MZERO with their values.
22954 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22955 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22956 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22957 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22958 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22959 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22960 (__sqr): Likewise.
22961
d26dd3eb
SP
22962 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22963
0f6a8d4b
SP
22964 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22965
e57b0c61
RM
229662013-03-28 Roland McGrath <roland@hack.frob.com>
22967
22968 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22969 Declare with __attribute__ ((weak)).
22970 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22971 Call __call_tls_dtors only if it's not NULL.
22972
356b3480
RM
229732013-03-28 Roland McGrath <roland@hack.frob.com>
22974
288f7d79
RM
22975 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22976 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22977 magic __ehdr_start linker symbol if it's defined.
22978 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22979 them up here if it was already done.
22980
dc0a0263
RM
22981 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22982 (_dl_aux_init): Use const in cast when setting it.
22983 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22984 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22985 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22986
3d3436ae
RM
22987 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22988 Declare them here.
22989 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22990 * csu/libc-tls.c: Nor here.
22991 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22992
356b3480
RM
22993 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22994 (__libc_message): Never call vsyslog.
22995
b0f1246a
AM
229962013-03-28 Alan Modra <amodra@gmail.com>
22997
22998 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22999 Define as empty.
23000 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23001 Likewise.
23002
fbbe2b9a
AZ
230032013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23004
23005 [BZ #15214]
23006 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23007 underflow.
23008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23009
1728ab37
SP
230102013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23011
7a86be6e
SP
23012 [BZ #15304]
23013 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23014 Don't add gid passed as argument.
23015
1728ab37
SP
23016 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23017
3a7182a1
JM
230182013-03-27 Joseph Myers <joseph@codesourcery.com>
23019
23020 [BZ #15307]
23021 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23022 imaginary part between 1.0 and 1.5 and real part less than 0.5
23023 specially.
23024 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23025 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23026 * math/libm-test.inc (cacos_test): Add more tests.
23027 (casin_test): Likewise.
23028 (casinh_test): Likewise.
23029 * sysdeps/i386/fpu/libm-test-ulps: Update.
23030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23031
6f2e90e7
SP
230322013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23033
5739f705
SP
23034 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23035 constants.
23036 (norm): Likewise.
23037 (denorm): Likewise.
23038 (__dbl_mp): Likewise.
23039 (add_magnitudes): Likewise.
23040 (sub_magnitudes): Likewise.
23041 (__add): Likewise.
23042 (__sub): Likewise.
23043 (__mul): Likewise.
23044 (__sqr): Likewise.
23045 (__inv): Likewise.
23046 (__dvd): Likewise.
23047
e375e83d
SP
23048 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23049 commented code.
23050 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23051 (__dubcos): Likewise.
23052 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23053 (__ieee754_acos): Likewise.
23054 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23055 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23056 (__exp1): Likewise.
23057 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23058 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23059 (log1): Likewise.
23060 (my_log2): Likewise.
23061 (checkint): Likewise.
23062 * sysdeps/ieee754/dbl-64/e_remainder.c
23063 (__ieee754_remainder): Likewise.
23064 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23065 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23066 (bsloww): Likewise.
23067 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23068
6f2e90e7
SP
23069 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23070 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23071 MANTISSA_STORE_T to store computations on mantissa. Use
23072 macros for rounding and division.
23073 (denorm): Likewise.
23074 (__dbl_mp): Likewise.
23075 (add_magnitudes): Likewise.
23076 (sub_magnitudes): Likewise.
23077 (__mul): Likewise.
23078 (__sqr): Likewise.
23079 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23080 powers of two in terms of TWOPOW macro.
23081 (mp_no): Make type of mantissa as MANTISSA_T.
23082 [!RADIXI]: Define RADIXI.
23083 [!TWO52]: Define TWO52.
23084 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23085
fce14d4e
AZ
230862013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23087
23088 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23089 llroundl symbol when building for PPC32.
23090
9ad027fb
MW
230912013-03-24 Mark H Weaver <mhw@netris.org>
23092
23093 * manual/arith.texi (Normalization Functions): Fix prototypes for
23094 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23095
e42a38dd
AZ
230962013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23097
23098 [BZ #13889]
23099 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23100 high value to check if expl overflow.
23101 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23102 to check for underflow and overflow.
23103 * math/libm-test.inc: Add exp test.
23104
2e0fb521
DL
231052013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23106
23107 [BZ #11120]
23108 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23109 with NOT_IN_libc.
23110
b5784d95
AZ
231112013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23112
23113 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23114 symbol.
23115
5aa4a1a1
TS
231162013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23117
bdef0be7
TS
23118 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23119 wrap blocks consisting of several statements.
23120
5aa4a1a1
TS
23121 * sysdeps/generic/math-tests.h: New file.
23122 * sysdeps/i386/fpu/math-tests.h: Likewise.
23123 * math/test-snan.c: Include it.
23124 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23125
98c48fe5
JM
231262013-03-21 Joseph Myers <joseph@codesourcery.com>
23127
23128 [BZ #15285]
23129 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23130 (__ieee754_j0l): Do not improve calculations using cos of twice
23131 input for inputs above LDBL_MAX / 2.0L.
23132 (__ieee754_y0l): Likewise.
23133 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23134 (__ieee754_j1l): Do not improve calculations using cos of twice
23135 input for inputs above LDBL_MAX / 2.0L.
23136 (__ieee754_y1l): Likewise.
23137 * math/libm-test.inc (j0_test): Add another test.
23138 (j1_test): Likewise.
23139 (y0_test): Likewise.
23140 (y1_test): Likewise.
23141 * sysdeps/i386/fpu/libm-test-ulps: Update.
23142
3775a8bc
SP
231432013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23144
23145 * Rules ($(objpfx)bench-%.c): Include code from a C source
23146 file.
23147
0a1b2ae6
JM
231482013-03-21 Joseph Myers <joseph@codesourcery.com>
23149
23150 [BZ #15287]
23151 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23152 imaginary part 1.0 and real part less than 0.5 specially.
23153 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23154 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23155 * math/libm-test.inc (cacos_test): Add more tests.
23156 (casin_test): Likewise.
23157 (casinh_test): Likewise.
23158 * sysdeps/i386/fpu/libm-test-ulps: Update.
23159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23160
b33d4ce4
SP
231612013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23162
23163 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23164 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23165
bef0b507
JM
231662013-03-20 Joseph Myers <joseph@codesourcery.com>
23167
23168 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23169 * config.make.in (config-cflags-sse4): Remove variable.
23170 (config-cflags-avx): Likewise.
23171 (config-cflags-sse2avx): Likewise.
23172 (config-cflags-novzeroupper): Likewise.
23173 (config-asflags-i686): Likewise.
23174 (have-mfma4): Likewise.
23175 (have-as-vis3): Likewise.
23176 (MIG): Likewise.
23177 * configure.in (MIG): Do not AC_SUBST.
23178 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23179 (libc_cv_cc_sse4): Do not AC_SUBST.
23180 (libc_cv_cc_avx): Likewise.
23181 (libc_cv_cc_sse2avx): Likewise.
23182 (libc_cv_cc_novzeroupper): Likewise.
23183 (libc_cv_cc_fma4): Likewise.
23184 (libc_cv_as_i686): Likewise.
23185 (libc_cv_sparc_as_vis3): Likewise.
23186 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23187 LIBC_CONFIG_VAR.
23188 (config-asflags-i686): Likewise.
23189 (config-cflags-avx): Likewise.
23190 (config-cflags-sse2avx): Likewise.
23191 (have-mfma4): Likewise.
23192 (config-cflags-novzeroupper): Likewise.
23193 * sysdeps/mach/configure.in (MIG): Likewise.
23194 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23195 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23196 LIBC_CONFIG_VAR.
23197 (config-cflags-avx): Likewise.
23198 (config-cflags-sse2avx): Likewise.
23199 (have-mfma4): Likewise.
23200 (config-cflags-novzeroupper): Likewise.
23201 * configure: Regenerated.
23202 * sysdeps/i386/configure: Likewise.
23203 * sysdeps/mach/configure: Likewise.
23204 * sysdeps/sparc/configure: Likewise.
23205 * sysdeps/x86_64/configure: Likewise.
23206
912cc4b3
RM
232072013-03-20 Roland McGrath <roland@hack.frob.com>
23208
23209 [BZ #14812]
23210 * locale/programs/localedef.c (options): Put N_ translation marker
23211 on argument names, not just descriptions.
23212
04eed2b0
MS
232132013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23214
23215 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23216
a065ceff
OB
232172013-03-20 Ondřej Bílka <neleai@seznam.cz>
23218
9bb2a810 23219 [BZ #14176]
a065ceff
OB
23220 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23221
a600e5ce
RM
232222013-03-19 Roland McGrath <roland@hack.frob.com>
23223
23224 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23225 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23226 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23227 [!BEFORE_ABORT] (before_abort): New function.
23228 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23229 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23230 (writev_for_fatal): New function.
23231 (WRITEV_FOR_FATAL): New macro; call that.
23232 (backtrace_and_maps): New function.
23233 (BEFORE_ABORT): New macro; call that.
23234 (struct str_list): Type removed.
23235 (__libc_message, __libc_fatal): Functions removed.
23236 Include <sysdeps/posix/libc_fatal.c> instead.
23237
6b18bea6
JM
232382013-03-19 Joseph Myers <joseph@codesourcery.com>
23239
23240 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23241 constants.
23242 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23243 double constants.
23244
aaa8cb4b
AS
232452013-03-19 Andreas Schwab <schwab@suse.de>
23246
44673770
AS
23247 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23248 * sysdeps/gnu/configure: Regenerate.
23249
aaa8cb4b
AS
23250 * configure.in: Substitute libc_cv_rtlddir.
23251 * configure: Regenerate.
23252 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23253 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23254 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23255 * elf/Makefile (install-others, CFLAGS-interp.c)
23256 (ldso_install, common-ldd-rewrite): Likewise.
23257 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23258 $(inst_slibdir)/$(rtld-installed-name).
23259 * scripts/rellns-sh: Add -p option.
23260 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23261 for source.
23262
d3cfc668
SP
232632013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23264
23265 * manual/nptl.texi: Renamed to ...
23266 * manual/threads.texi: ... this.
23267 * manual/Makefile (chapters): Update.
23268
0e2b9cdd
RM
232692013-03-18 Roland McGrath <roland@hack.frob.com>
23270
23271 [BZ #14812]
23272 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23273 on argument names, not just descriptions.
0e2b9cdd
RM
23274 * malloc/memusagestat.c (options): Likewise.
23275 * nss/getent.c (options): Likewise.
63270c24
RM
23276
232772013-03-18 Benno Schulenberg <bensberg@justemail.net>
23278
23279 [BZ #14812]
23280 * iconv/iconv_prog.c (options): Put N_ translation marker
23281 on argument names, not just descriptions.
23282 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 23283
b2e1393c
OB
232842013-03-18 Ondrej Bilka <neleai@seznam.cz>
23285
23286 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23287 implementation which is faster on all x86_64 architectures.
23288 Tested on AMD, Intel Nehalem, SNB, IVB.
23289 * sysdeps/x86_64/strnlen.S: Likewise.
23290
23291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23292 Remove all multiarch strlen and strnlen versions.
23293 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23294 Remove strlen and strnlen related parts.
23295
23296 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23297 Inline strlen part.
23298 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23299
23300 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23301 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23302 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23303 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23304 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23305 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23306
ec4ff04d
CD
233072013-03-17 Carlos O'Donell <carlos@redhat.com>
23308
23309 * manual/memory.texi (Malloc Tunable Parameters):
23310 Sort parameters alphabetically. Add comments for missing entries.
23311
cd18e90a
DM
233122013-03-17 David S. Miller <davem@davemloft.net>
23313
23314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23315
2a185d32
JM
233162013-03-16 Joseph Myers <joseph@codesourcery.com>
23317
d2f9799e
JM
23318 [BZ #15283]
23319 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23320 for arguments at most half maximum finite value.
23321 * math/libm-test.inc (j0_test): Add more tests.
23322 (j1_test): Likewise.
23323 (y0_test): Likewise.
23324 (y1_test): Likewise.
23325 * sysdeps/i386/fpu/libm-test-ulps: Update.
23326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23327
2a185d32
JM
23328 [BZ #14155]
23329 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23330 1 / x and functions P and Q for arguments above 0x1p256L.
23331 (__ieee754_y0l): Likewise.
23332 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23333 (__ieee754_y1l): Likewise.
23334 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23335 (j1_test): Likewise.
23336 (y0_test): Likewise.
23337 (y1_test): Likewise.
23338
6cbec759
TS
233392013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23340
23341 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23342 variable.
23343
bc16e260
RM
233442013-03-15 Roland McGrath <roland@hack.frob.com>
23345
aefc9b8c
RM
23346 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23347 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23348 zero since it's initialized to EXEC_PAGESIZE.
23349
bc16e260
RM
23350 * sysdeps/unix/sysv/linux/ldsodefs.h
23351 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23352 * sysdeps/generic/ldsodefs.h: ... here.
23353
a57da955
TS
233542013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23355
af00a34d
TS
23356 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23357
495ded2c
TS
23358 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23359 math/test-snan.c.
23360 * math/test-snan.c: Renamed from
23361 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23362 * math/Makefile (tests): Add test-snan.
23363 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23364 test-powerpc-snan.
23365
777b0332
TS
23366 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23367 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23368 functions.
23369 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23370 __builtin_nan family of functions.
23371 * math/libm-test.inc (initialize): Initialize qnan_value with
23372 __builtin_nan family of functions.
23373 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23374 Remove variables.
23375 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23376 Remove functions.
23377 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23378 storage class. Initialize qNaN_var and sNaN_var with
23379 __builtin_nan and __builtin_nans families of functions,
23380 respectively.
23381
64d063b8
TS
23382 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23383 (sqrt_test): Remove duplicate test with qNaN input.
23384 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23385 (round_test, signbit_test, significand_test): Note missing +/-Inf
23386 as well as qNaN tests.
23387
67e971f1
TS
23388 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23389 qNaN_var. Fix a few strings, too.
23390 * math/libm-test.inc (nan_value): Rename to qnan_value.
23391 * math/gen-libm-test.pl (%beautify): Adjust to that.
23392 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23393 * math/test-misc.c (main): Likewise.
23394 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23395 to __qnan_bytes, and __qnan_union, respectively.
23396 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23397 Likewise.
23398 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23399 and lqnanval, respectively.
23400 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23401 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23402 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23403 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23404
64487e12
TS
23405 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23406 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23407 doubles.
23408
e015e27b
TS
23409 * math/test-misc.c (main): Fix copy'n'pastos.
23410 * misc/tst-efgcvt.c (special): Likewise.
23411
a57da955
TS
23412 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23413 Remove declarations.
23414
1e380345
SP
234152013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23416
23417 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23418 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23419 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23420 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23421
ef26eece
AZ
234222013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23423
23424 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23425 macro to return vdso values correctly in IFUNC implementations.
23426 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23427 Optimization by using IFUNC.
23428
8cfdb7e0
SP
234292013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23430 Richard Henderson <rth@redhat.com>
23431 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23432
23433 * Makefile.in (bench): New target.
23434 * NEWS: Mention the benchmark framework.
23435 * Rules (bench): Likewise.
23436 (binaries-bench): Generate binaries for functions to
23437 benchmark.
23438 * benchtests/Makefile: New makefile for benchmark tests.
23439 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23440 programs.
23441 * benchtests/exp-inputs: New input file for EXP function.
23442 * benchtests/pow-inputs: New input file for POW function.
23443 * scripts/bench.pl: New script to generate source files for
23444 benchmark programs.
23445
bcda9880
SP
234462013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23447
d22ca8cd
SP
23448 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23449 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23450 computations on mantissa. Use macros for rounding and
23451 division.
23452 (denorm): Likewise.
23453 (__dbl_mp): Likewise.
23454 (add_magnitudes): Likewise.
23455 (sub_magnitudes): Likewise.
23456 (__mul): Likewise.
23457 (__sqr): Likewise.
23458 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23459 powers of two in terms of TWOPOW macro.
23460 (mp_no): Make type of mantissa as MANTISSA_T.
23461 [!RADIXI]: Define RADIXI.
23462 [!TWO52]: Define TWO52.
23463 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23464
bcda9880
SP
23465 * manual/nptl.texi (cindex): Modify threads to pthreads.
23466
06d5adfb
JM
234672013-03-15 Joseph Myers <joseph@codesourcery.com>
23468
23469 * sysdeps/x86_64/preconfigure: Regenerated.
23470
41c7328e
JM
234712013-03-14 Joseph Myers <joseph@codesourcery.com>
23472
23473 [BZ #14155]
23474 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23475 0x1p28 and above.
23476 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23477 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23478 0x1p28 and above.
23479 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23480 * math/libm-test.inc (j0_test): Do not allow one spurious
23481 underflow exception.
23482 (y1_test): Likewise.
23483
e25cfa60
SP
234842013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23485
0409959c
SP
23486 * manual/Makefile (chapters): Add nptl.
23487 * manual/debug.texi (Debugging Support): Add link to Threads
23488 chapter.
23489 * manual/nptl.texi: New file.
23490
e25cfa60
SP
23491 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23492
58a1335e
PB
234932013-03-14 Petr Baudis <pasky@ucw.cz>
23494
23495 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23496 for non-NULL pointer before the memory validity test. Pointed
23497 out by Holger Brunck <holger.brunck@keymile.com>.
23498
9dc7c64f
AS
234992013-03-13 Andreas Schwab <schwab@suse.de>
23500
23501 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23502 instead of .os.
23503
54206aa6
JM
235042013-03-13 Joseph Myers <joseph@codesourcery.com>
23505
23506 * timezone/zic.c: Update from tzcode 2013b.
23507
e98cdb38
CD
235082013-03-12 Carlos O'Donell <carlos@redhat.com>
23509
23510 * manual/install.texi (Configuring and compiling):
23511 Mention i686 and i586.
23512 * INSTALL: Regenerate.
23513
9967e003
RM
235142013-03-12 Roland McGrath <roland@hack.frob.com>
23515
23516 * sysdeps/init_array/elf-init.c: New file.
23517 * csu/elf-init.c
23518 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23519 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23520
23521 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23522 __gmon_start__ as global, but as static with a .preinit_array pointer.
23523 * sysdeps/init_array/gmon-start.c: New file. Use that.
23524 * sysdeps/init_array/crti.S: New file, empty except for comments.
23525 * sysdeps/init_array/crtn.S: Likewise.
23526
e6b5a293 235272013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
23528
23529 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23530 definining bcopy.
80f844c9
OB
23531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23532 Remove Prefer_SSE_for_memop.
23533 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23534 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23535 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
23536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23537 memset-x86-64.
80f844c9 23538 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 23539 Remove bzero, memset ifunc support.
80f844c9
OB
23540 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23541 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23542 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23543 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23544
fb6b0fcb
AS
235452013-03-11 Andreas Schwab <schwab@suse.de>
23546
23547 [BZ #15234]
23548 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23549 by SHLIB_COMPAT.
23550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23551 (GLIBC_2.16): Remove pthread_atfork.
23552
3e6bd4b1
PP
235532013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23554
23555 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23556 (ptestcases.h): Likewise.
23557
222d7f00
RM
235582013-03-08 Roland McGrath <roland@hack.frob.com>
23559
23560 * Makeconfig ($(common-objpfx)config.status): Depend on
23561 sysdeps/*/preconfigure{,.in} too.
23562
1ba4f030
JM
235632013-03-08 Joseph Myers <joseph@codesourcery.com>
23564
a222d91a
JM
23565 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23566 (__free_hook): Use void * instead of __malloc_ptr_t.
23567 (__malloc_hook): Likewise.
23568 (__realloc_hook): Likewise.
23569 (__memalign_hook): Likewise.
23570 (__after_morecore_hook): Likewise.
23571 * malloc/arena.c (save_malloc_hook): Likewise.
23572 (save_free_hook): Likewise.
23573 * malloc/hooks.c (malloc_hook_ini): Likewise.
23574 (realloc_hook_ini): Likewise.
23575 (memalign_hook_ini): Likewise.
23576 * malloc/malloc.c (malloc_hook_ini): Likewise.
23577 (realloc_hook_ini): Likewise.
23578 (memalign_hook_ini): Likewise.
23579 (__free_hook): Likewise.
23580 (__malloc_hook): Likewise.
23581 (__realloc_hook): Likewise.
23582 (__memalign_hook): Likewise.
23583 (__libc_malloc): Likewise.
23584 (__libc_free): Likewise.
23585 (__libc_realloc): Likewise.
23586 (__libc_memalign): Likewise.
23587 (__libc_valloc): Likewise.
23588 (__libc_pvalloc): Likewise.
23589 (__libc_calloc): Likewise.
23590 (__posix_memalign): Likewise.
23591 * malloc/morecore.c (__sbrk): Likewise.
23592 (__default_morecore): Likewise.
23593
5cc45e10
JM
23594 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23595
dd54b864
JM
23596 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23597 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23598 __malloc_ptrdiff_t.
23599
1ba4f030
JM
23600 * malloc/malloc.h (__malloc_size_t): Remove macro.
23601 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23602 __malloc_size_t.
23603 (old_memalign_hook): Likewise.
23604 (old_realloc_hook): Likewise.
23605 (struct hdr): Likewise.
23606 (flood): Likewise.
23607 (mallochook): Likewise.
23608 (memalignhook): Likewise.
23609 (reallochook): Likewise.
23610 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23611 (tr_old_realloc_hook): Likewise.
23612 (tr_old_memalign_hook): Likewise.
23613 (tr_mallochook): Likewise.
23614 (tr_reallochook): Likewise.
23615 (tr_memalignhook): Likewise.
23616
edf66e57
AZ
236172013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23618
23619 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23620 default_ldbl_pack and using as default implementation.
23621 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23622 implementation.
23623 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23624 redundant definition.
23625 (ldbl_insert_mantissa): Likewise.
23626 (ldbl_canonicalize): Likewise.
23627 (ldbl_nearbyint): Likewise.
23628 (ldbl_pack): Rename to ldbl_pack_ppc.
23629 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23630 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23631 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23632
6d9145d8
SP
236332013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23634
23635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23636 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23637 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23638 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23639 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23640 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23641 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23642 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23643
4dd4e157
AJ
236442013-03-07 Andreas Jaeger <aj@suse.de>
23645
23646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23647 bits/mman-linux.h.
23648
adbb8027
SP
236492013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23650
ce544b5b
SP
23651 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23652 Include mpa.h and declare __MPEXP.
23653 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23654 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23655 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23656 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23657 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23658 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23659 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23660
4cc149fd
SP
23661 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23662 (__slowpow): Use long double EXPL and LOGL functions to
23663 compute POW.
23664 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23665 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23666 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23667 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23668 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23669 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23670
e6ebd4a7
SP
23671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23672 intermediate variable to calculate exponent.
23673 (__sqr): Likewise.
23674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23675 Likewise.
23676 (__sqr): Likewise.
23677
82a9811d
SP
23678 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23679 [!NO__SQR]: Define __sqr.
23680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23681 and NO__SQR. Remove all code except __mul and __sqr. Include
23682 sysdeps/ieee754/dbl-64/mpa.c.
23683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23684
adbb8027
SP
23685 [BZ #12723]
23686 * posix/Makefile (tests): Add tst-pathconf.
23687 * posix/tst-pathconf.c: New test case.
23688 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23689 _PC_PIPE_BUF.
23690 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23691
39120df9
PF
236922013-03-06 Patsy Franklin <pfrankli@redhat.com>
23693
23694 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23695
67525cb8
AJ
236962013-03-06 Andreas Jaeger <aj@suse.de>
23697
664a9ce4
AJ
23698 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23699 definition via __MAP_ANONYMOUS.
23700
8e39047d
AJ
23701 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23702 it's not part of Linux headers.
23703
67525cb8
AJ
23704 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23705 (MAP_HUGE_MASK): Define.
23706
23707 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23708 Define.
23709 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23710 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23711 Define.
23712 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23713 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23714 Define.
23715 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23716 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23717 Define.
23718 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23719
23720 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23721 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23722 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23723 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23724 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23725 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23726
23727 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23728 Handle f2fs.
23729
23730 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23731 Handle f2fs and efivarfs.
23732
23733 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23734 f2fs.
23735
23736 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23737 (EFIVARFS_MAGIC): Add.
23738 (F2FS_LINK_MAX): Add.
23739
e1b42695
PP
237402013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23741
23742 * stdio-common/vfprintf.c: Replace __builtin_expect with
23743 __glibc_unlikely.
23744
2d67d91a
JM
237452013-03-06 Joseph Myers <joseph@codesourcery.com>
23746
23747 [BZ #13550]
23748 * sysdeps/generic/bp-sym.h: Remove file.
23749 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23750 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23751 <bp-sym.h> and <bp-asm.h>.
23752 (__longjmp): Don't use BP_SYM.
23753 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23754 and <bp-asm.h>.
23755 (memcpy): Don't use BP_SYM.
23756 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23757 <bp-sym.h> and <bp-asm.h>.
23758 (memcpy): Don't use BP_SYM.
23759 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23760 <bp-asm.h>.
23761 (memcpy): Don't use BP_SYM.
23762 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23763 <bp-asm.h>.
23764 (memset): Don't use BP_SYM.
23765 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23766 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23767 (__bzero): Don't use BP_SYM.
23768 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23769 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23770 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23771 <bp-sym.h> and <bp-asm.h>.
23772 (memcmp): Don't use BP_SYM. Remove comment about bounded
23773 pointers.
23774 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23775 <bp-sym.h> and <bp-asm.h>.
23776 (memcpy): Don't use BP_SYM.
23777 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23778 <bp-sym.h> and <bp-asm.h>.
23779 (memset): Don't use BP_SYM.
23780 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23781 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23782 (__bzero): Don't use BP_SYM.
23783 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23784 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23785 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23786 <bp-sym.h> and <bp-asm.h>.
23787 (strncmp): Don't use BP_SYM. Remove comment about bounded
23788 pointers.
23789 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23790 <bp-sym.h> and <bp-asm.h>.
23791 (memcpy): Don't use BP_SYM.
23792 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23793 <bp-sym.h> and <bp-asm.h>.
23794 (memset): Don't use BP_SYM.
23795 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23796 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23797 (__bzero): Don't use BP_SYM.
23798 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23799 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23800 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23801 <bp-sym.h> and <bp-asm.h>.
23802 (__memchr): Don't use BP_SYM.
23803 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23804 <bp-sym.h> and <bp-asm.h>.
23805 (memcmp): Don't use BP_SYM. Remove comment about bounded
23806 pointers.
23807 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23808 <bp-sym.h> and <bp-asm.h>.
23809 (memcpy): Don't use BP_SYM.
23810 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23811 <bp-sym.h> and <bp-asm.h>.
23812 (__mempcpy): Don't use BP_SYM.
23813 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23814 <bp-sym.h> and <bp-asm.h>.
23815 (__memrchr): Don't use BP_SYM.
23816 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23817 <bp-sym.h> and <bp-asm.h>.
23818 (memset): Don't use BP_SYM.
23819 (__bzero): Likewise.
23820 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23821 <bp-sym.h> and <bp-asm.h>.
23822 (__rawmemchr): Don't use BP_SYM.
23823 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23824 <bp-sym.h> and <bp-asm.h>.
23825 (__STRCMP): Don't use BP_SYM.
23826 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23827 <bp-sym.h> and <bp-asm.h>.
23828 (strchr): Don't use BP_SYM.
23829 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23830 <bp-sym.h> and <bp-asm.h>.
23831 (__strchrnul): Don't use BP_SYM.
23832 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23833 <bp-sym.h> and <bp-asm.h>.
23834 (strlen): Don't use BP_SYM.
23835 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23836 <bp-sym.h> and <bp-asm.h>.
23837 (strncmp): Don't use BP_SYM. Remove comment about bounded
23838 pointers.
23839 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23840 <bp-sym.h> and <bp-asm.h>.
23841 (__strnlen): Don't use BP_SYM.
23842 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23843 <bp-sym.h> and <bp-asm.h>.
23844 (__GI__setjmp): Don't use BP_SYM.
23845 (_setjmp): Likewise.
23846 (__sigsetjmp): Likewise.
23847 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23848 (L(start_addresses)): Don't use BP_SYM.
23849 (_start): Likewise.
23850 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23851 <bp-asm.h>.
23852 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23853 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23854 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23855 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23856 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23857 <bp-asm.h>.
23858 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23859 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23860 about bounded pointers.
23861 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23862 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23863 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23864 <bp-asm.h>.
23865 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23866 about bounded pointers. Remove GKM FIXME comments.
23867 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23868 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23869 <bp-asm.h>.
23870 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23871 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23872 Remove GKM FIXME comments.
23873 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23874 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23875 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23876 <bp-asm.h>.
23877 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23878 about bounded pointers. Remove GKM FIXME comment.
23879 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23880 and <bp-asm.h>.
23881 (strncmp): Don't use BP_SYM. Remove comment about bounded
23882 pointers.
23883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23884 <bp-sym.h> and <bp-asm.h>.
23885 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23887 <bp-sym.h> and <bp-asm.h>.
23888 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23889 comment.
23890
cdcf361f
PP
238912013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23892
23893 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23894 call free(NULL).
23895
3c4a2b15
DM
238962013-03-05 David S. Miller <davem@davemloft.net>
23897
23898 * po/es.po: Update from translation team.
23899
cdcf361f 239002013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
23901
23902 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23903 <bits/mman-linux.h>.
23904 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23905 is fine.
23906 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23907 <bits/mman-linux.h> to end of file.
23908 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23909 is fine.
23910 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23911 <bits/mman-linux.h> to end of file.
23912 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23913 is fine.
23914 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23915 <bits/mman-linux.h> to end of file.
23916
23917 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23918 (MCL_CURRENT, MCL_FUTURE): Define here.
23919
5f67c04f
AK
239202013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23921
8a4473cc 23922 [BZ #15232]
5f67c04f
AK
23923 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23924 attribute_hidden.
23925 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23926
c3e94a95
AK
239272013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23928
23929 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23930 fourth parameter needed for rt_sigprocmask syscall.
23931 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23932 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23933 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23934 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23935 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23936 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23937
cfb6382a
JM
239382013-03-04 Joseph Myers <joseph@codesourcery.com>
23939
23940 [BZ #13550]
23941 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23942 comment about bounded pointers.
23943 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23944 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23945
539d8e01
AJ
239462013-03-04 Andreas Jaeger <aj@suse.de>
23947
23948 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23949 common definitions.
23950
23951 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23952 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23953 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23954 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23955 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
23956 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23957
2e167a70 239582013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
23959
23960 [BZ #15055]
23961 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23962 __ieee754_sqrl instead of __sqrl.
23963
68508633
JM
239642013-03-01 Joseph Myers <joseph@codesourcery.com>
23965
23966 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23967 * sysdeps/powerpc/fpu_control.h: ... here.
23968 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23969 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23970 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23971 * sysdeps/powerpc/bits/mathinline.h: ... here.
23972
7775448e
RM
239732013-03-01 Roland McGrath <roland@hack.frob.com>
23974
23975 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23976 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23977 to just [NEED_DL_SYSINFO_DSO].
23978 * elf/dl-support.c: Likewise.
23979 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23980 * elf/rtld.c (dl_main): Likewise.
23981 * elf/setup-vdso.h (setup_vdso): Likewise.
23982 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23983 * sysdeps/unix/sysv/linux/dl-sysdep.c
23984 (_dl_discover_osversion): Likewise.
23985
4e9b5995
CD
239862013-03-01 Carlos O'Donell <carlos@redhat.com>
23987
23988 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23989 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23990
e23872c8
SP
239912013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23992
e5c74c63
SP
23993 * NEWS: Mention libm performance improvements and non-x86 PI
23994 futex support.
23995
e23872c8
SP
23996 * csu/libc-start.c (__pthread_initialize_minimal): Change
23997 function arguments.
23998 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23999
b5510883
JM
240002013-02-28 Joseph Myers <joseph@codesourcery.com>
24001
24002 [BZ #13550]
24003 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24004 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24005 <bp-sym.h> and <bp-asm.h>.
24006 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24007 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24008 and <bp-asm.h>.
24009 (memcpy): Don't use BP_SYM.
24010 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24011 <bp-asm.h>.
24012 (__mpn_add_n): Don't use BP_SYM.
24013 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24014 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24015 and <bp-asm.h>.
24016 (__mpn_addmul_1): Don't use BP_SYM.
24017 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24018 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24019 <bp-sym.h>.
24020 (_setjmp): Don't use BP_SYM.
24021 (__novmx_setjmp): Likewise.
24022 (__GI__setjmp): Likewise.
24023 (__vmx_setjmp): Likewise.
24024 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24025 <bp-sym.h>.
24026 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24027 (__bzero): Don't use BP_SYM.
24028 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24029 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24030 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24031 <bp-sym.h> and <bp-asm.h>.
24032 (memcpy): Don't use BP_SYM.
24033 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24034 <bp-sym.h> and <bp-asm.h>.
24035 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24036 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24037 <bp-sym.h> and <bp-asm.h>.
24038 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24039 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24040 <bp-asm.h>.
24041 (__mpn_lshift): Don't use BP_SYM.
24042 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24043 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24044 <bp-asm.h>.
24045 (memset): Don't use BP_SYM.
24046 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24047 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24048 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24049 <bp-asm.h>.
24050 (__mpn_mul_1): Don't use BP_SYM.
24051 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24052 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24053 <bp-sym.h> and <bp-asm.h>.
24054 (memcmp): Don't use BP_SYM.
24055 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24056 <bp-sym.h> and <bp-asm.h>.
24057 (memcpy): Don't use BP_SYM.
24058 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24059 <bp-sym.h> and <bp-asm.h>.
24060 (memset): Don't use BP_SYM.
24061 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24062 <bp-sym.h> and <bp-asm.h>.
24063 (strncmp): Don't use BP_SYM.
24064 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24065 <bp-sym.h> and <bp-asm.h>.
24066 (memcpy): Don't use BP_SYM.
24067 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24068 <bp-sym.h> and <bp-asm.h>.
24069 (memset): Don't use BP_SYM.
24070 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24071 <bp-sym.h> and <bp-asm.h>.
24072 (__memchr): Don't use BP_SYM.
24073 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24074 <bp-sym.h> and <bp-asm.h>.
24075 (memcmp): Don't use BP_SYM.
24076 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24077 <bp-sym.h> and <bp-asm.h>.
24078 (memcpy): Don't use BP_SYM.
24079 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24080 <bp-sym.h> and <bp-asm.h>.
24081 (__mempcpy): Don't use BP_SYM.
24082 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24083 <bp-sym.h> and <bp-asm.h>.
24084 (__memrchr): Don't use BP_SYM.
24085 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24086 <bp-sym.h> and <bp-asm.h>.
24087 (memset): Don't use BP_SYM.
24088 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24089 <bp-sym.h> and <bp-asm.h>.
24090 (__rawmemchr): Don't use BP_SYM.
24091 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24092 <bp-sym.h> and <bp-asm.h>.
24093 (__STRCMP): Don't use BP_SYM.
24094 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24095 <bp-sym.h> and <bp-asm.h>.
24096 (strchr): Don't use BP_SYM.
24097 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24098 <bp-sym.h> and <bp-asm.h>.
24099 (__strchrnul): Don't use BP_SYM.
24100 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24101 <bp-sym.h> and <bp-asm.h>.
24102 (strlen): Don't use BP_SYM.
24103 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24104 <bp-sym.h> and <bp-asm.h>.
24105 (strncmp): Don't use BP_SYM.
24106 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24107 <bp-sym.h> and <bp-asm.h>.
24108 (__strnlen): Don't use BP_SYM.
24109 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24110 <bp-asm.h>.
24111 (__mpn_rshift): Don't use BP_SYM.
24112 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24113 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24114 <bp-sym.h> and <bp-asm.h>.
24115 (__sigsetjmp): Don't use BP_SYM.
24116 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24117 (L(start_addresses)): Don't use BP_SYM.
24118 (_start): Likewise.
24119 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24120 <bp-asm.h>.
24121 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24122 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24123 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24124 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24125 <bp-asm.h>.
24126 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24127 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24128 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24129 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24130 <bp-asm.h>.
24131 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24132 comments.
24133 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24134 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24135 <bp-asm.h>.
24136 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
24137 FIXME comments.
24138 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24139 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24140 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24141 <bp-asm.h>.
24142 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24143 comment.
24144 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24145 and <bp-asm.h>.
24146 (strncmp): Don't use BP_SYM,
24147 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24148 <bp-asm.h>.
24149 (__mpn_sub_n): Don't use BP_SYM.
24150 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24151 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24152 and <bp-asm.h>.
24153 (__mpn_submul_1): Don't use BP_SYM.
24154 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24156 <bp-sym.h> and <bp-asm.h>.
24157 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24159 <bp-sym.h> and <bp-asm.h>.
24160 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24161 comment.
24162
8d19fe64
SP
241632013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24164
24165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24166 Use ZK to minimize writes to Z.
24167 (sub_magnitudes): Simplify code a bit.
24168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24169 Use ZK to minimize writes to Z.
24170 (sub_magnitudes): Simplify code a bit.
24171
85bd816a
RM
241722013-02-27 Roland McGrath <roland@hack.frob.com>
24173
24174 * csu/gmon-start.c: Add special exception to license text.
24175
b5977bf2
RH
241762013-02-27 Richard Henderson <rth@redhat.com>
24177
24178 * scripts/config.guess: Update from config.git.
24179 * scripts/config.sub: Likewise.
24180
11d6e2f2
SP
241812013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24182
09c14ed2
SP
24183 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24184
a688864e
SP
24185 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24186
6295157a
SP
24187 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24188
b8de2202
SP
24189 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24190
11d6e2f2
SP
24191 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24192
7e80ddb8
RM
241932013-02-26 Roland McGrath <roland@hack.frob.com>
24194
24195 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24196 [$(build-shared = yes].
7e80ddb8 24197
7da6d9ed
SP
241982013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24199
45f05884
SP
24200 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24201 (__mul): Reduce iterations for calculating mantissa.
24202
2236d359
SP
24203 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24204 MPTWO.
24205 (__mpranred): Likewise.
24206
7da6d9ed
SP
24207 [BZ #15160]
24208 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24209 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24210
b7688c42
PE
242112013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24212
24213 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24214 Define __attribute__.
24215
53a5c423
SP
242162013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24217
24218 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24219 unused.
24220 * posix/regex_internal.h (__attribute): Remove.
24221 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24222 (re_string_context_at): Likewise.
24223 (bitset_not): Use __attribute__ and mark function as possibly
24224 unused.
24225 (bitset_merge): Likewise.
24226 (bitset_mask): Likewise.
24227 (re_string_char_size_at): Likewise.
24228 (re_string_wchar_at): Likewise.
24229 (re_string_elem_size_at): Likewise.
24230
60f5a8b5
SP
242312013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24232
2a983a2e
SP
24233 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24234 code.
24235 (cc32): Likewise.
24236
e69804d1
SP
24237 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24238 (__acr): Likewise.
24239 (__cpy): Likewise.
24240 (norm): Likewise.
24241 (denorm): Likewise.
24242 (__dbl_mp): Likewise.
24243 (add_magnitudes): Likewise.
24244 (sub_magnitudes): Likewise.
24245 (__mul): Likewise.
24246 (__inv): Likewise.
24247
2f22a1e8
SP
24248 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24249 style.
24250
8930ddc7
SP
24251 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24252 style.
24253
dc60cb11
SP
24254 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24255 code.
24256
60f5a8b5
SP
24257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24258 up changes with default code.
24259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24260 Likewise.
24261
b4d1fd33
AM
242622013-02-24 Allan McRae <allan@archlinux.org>
24263
faf6f8bc
AM
24264 * manual/socket.texi (The Internet Namespace): Order menu items
24265 to match that in the file.
24266
b4d1fd33
AM
24267 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24268 node listing of the info page menu.
24269
2366713d
JM
242702013-02-21 Joseph Myers <joseph@codesourcery.com>
24271
24272 [BZ #13550]
24273 * sysdeps/i386/bp-asm.h: Remove file.
24274 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24275 (PARMS): Do not use macros from bp-asm.h.
24276 (S1): Likewise.
24277 (S2): Likewise.
24278 (SIZE): Likewise.
24279 (__mpn_add_n): Do not use BP_SYM
24280 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24281 "bp-asm.h".
24282 (PARMS): Do not use macros from bp-asm.h.
24283 (S1): Likewise.
24284 (SIZE): Likewise.
24285 (__mpn_addmul_1): Do not use BP_SYM
24286 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24287 "bp-asm.h".
24288 (PARMS): Do not use macros from bp-asm.h.
24289 (SIGMSK): Likewise.
24290 (_setjmp): Likewise. Do not use BP_SYM.
24291 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24292 "bp-asm.h".
24293 (PARMS): Do not use macros from bp-asm.h.
24294 (SIGMSK): Likewise.
24295 (setjmp): Likewise. Do not use BP_SYM.
24296 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24297 "bp-asm.h".
24298 (PARMS): Do not use macros from bp-asm.h.
24299 (__frexp): Do not use BP_SYM.
24300 (frexp): Likewise.
24301 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24302 "bp-asm.h".
24303 (PARMS): Do not use macros from bp-asm.h.
24304 (__frexpf): Do not use BP_SYM.
24305 (frexpf): Likewise.
24306 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24307 "bp-asm.h".
24308 (PARMS): Do not use macros from bp-asm.h.
24309 (__frexpl): Do not use BP_SYM.
24310 (frexpl): Likewise.
24311 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24312 "bp-asm.h".
24313 (PARMS): Do not use macros from bp-asm.h.
24314 (__remquo): Do not use BP_SYM.
24315 (remquo): Likewise.
24316 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24317 "bp-asm.h".
24318 (PARMS): Do not use macros from bp-asm.h.
24319 (__remquof): Do not use BP_SYM.
24320 (remquof): Likewise.
24321 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24322 "bp-asm.h".
24323 (PARMS): Do not use macros from bp-asm.h.
24324 (__remquol): Do not use BP_SYM.
24325 (remquol): Likewise.
24326 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24327 "bp-asm.h".
24328 (PARMS): Do not use macros from bp-asm.h.
24329 (DEST): Likewise.
24330 (SRC): Likewise.
24331 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24332 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24333 "bp-asm.h".
24334 (PARMS): Do not use macros from bp-asm.h.
24335 (strlen): Do not use BP_SYM.
24336 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24337 "bp-asm.h".
24338 (PARMS): Do not use macros from bp-asm.h.
24339 (S1): Likewise.
24340 (S2): Likewise.
24341 (SIZE): Likewise.
24342 (__mpn_add_n): Do not use BP_SYM.
24343 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24344 "bp-asm.h".
24345 (PARMS): Do not use macros from bp-asm.h.
24346 (S1): Likewise.
24347 (SIZE): Likewise.
24348 (__mpn_addmul_1): Do not use BP_SYM.
24349 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24350 weak_alias.
24351 (bzero): Likewise.
24352 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24353 "bp-asm.h".
24354 (PARMS): Do not use macros from bp-asm.h.
24355 (S): Likewise.
24356 (SIZE): Likewise.
24357 (__mpn_lshift): Do not use BP_SYM.
24358 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24359 "bp-asm.h".
24360 (PARMS): Do not use macros from bp-asm.h.
24361 (DEST): Likewise.
24362 (SRC): Likewise.
24363 (LEN): Likewise.
24364 (memcpy): Likewise. Do not use BP_SYM.
24365 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24366 libc_hidden_def and weak_alias.
24367 (mempcpy): Do not use BP_SYM in weak_alias.
24368 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24369 "bp-asm.h".
24370 (PARMS): Do not use macros from bp-asm.h.
24371 (DEST): Likewise.
24372 (LEN): Likewise.
24373 [!BZERO_P] (CHR): Likewise.
24374 (memset): Likewise. Do not use BP_SYM.
24375 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24376 "bp-asm.h".
24377 (PARMS): Do not use macros from bp-asm.h.
24378 (S1): Likewise.
24379 (SIZE): Likewise.
24380 (__mpn_mul_1): Do not use BP_SYM.
24381 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24382 "bp-asm.h".
24383 (PARMS): Do not use macros from bp-asm.h.
24384 (S): Likewise.
24385 (SIZE): Likewise.
24386 (__mpn_rshift): Do not use BP_SYM.
24387 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24388 "bp-asm.h".
24389 (PARMS): Do not use macros from bp-asm.h.
24390 (STR): Likewise.
24391 (CHR): Likewise.
24392 (strchr): Likewise. Do not use BP_SYM.
24393 (index): Do not use BP_SYM in weak_alias.
24394 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24395 "bp-asm.h".
24396 (PARMS): Do not use macros from bp-asm.h.
24397 (DEST): Likewise.
24398 (SRC): Likewise.
24399 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24400 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24401 "bp-asm.h".
24402 (PARMS): Do not use macros from bp-asm.h.
24403 (strlen): Do not use BP_SYM.
24404 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24405 "bp-asm.h".
24406 (PARMS): Do not use macros from bp-asm.h.
24407 (S1): Likewise.
24408 (S2): Likewise.
24409 (SIZE): Likewise.
24410 (__mpn_sub_n): Do not use BP_SYM.
24411 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24412 "bp-asm.h".
24413 (PARMS): Do not use macros from bp-asm.h.
24414 (S1): Likewise.
24415 (SIZE): Likewise.
24416 (__mpn_submul_1): Do not use BP_SYM.
24417 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24418 "bp-asm.h".
24419 (PARMS): Do not use macros from bp-asm.h.
24420 (S1): Likewise.
24421 (S2): Likewise.
24422 (SIZE): Likewise.
24423 (__mpn_add_n): Do not use BP_SYM.
24424 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24425 weak_alias.
24426 (bzero): Likewise.
24427 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24428 "bp-asm.h".
24429 (PARMS): Do not use macros from bp-asm.h.
24430 (BLK2): Likewise.
24431 (LEN): Likewise.
24432 (memcmp): Do not use BP_SYM.
24433 (bcmp): Do not use BP_SYM in weak_alias.
24434 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24435 "bp-asm.h".
24436 (PARMS): Do not use macros from bp-asm.h.
24437 (DEST): Likewise.
24438 (SRC): Likewise.
24439 (LEN): Likewise.
24440 (memcpy): Likewise. Do not use BP_SYM.
24441 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24442 "bp-asm.h".
24443 (PARMS): Do not use macros from bp-asm.h.
24444 (DEST): Likewise.
24445 (SRC): Likewise.
24446 (LEN): Likewise.
24447 (memmove): Likewise. Do not use BP_SYM.
24448 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24449 "bp-asm.h".
24450 (PARMS): Do not use macros from bp-asm.h.
24451 (DEST): Likewise.
24452 (SRC): Likewise.
24453 (LEN): Likewise.
24454 (__mempcpy): Likewise. Do not use BP_SYM.
24455 (mempcpy): Do not use BP_SYM in weak_alias.
24456 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24457 "bp-asm.h".
24458 (PARMS): Do not use macros from bp-asm.h.
24459 (DEST): Likewise.
24460 (LEN): Likewise.
24461 [!BZERO_P] (CHR): Likewise.
24462 (memset): Likewise. Do not use BP_SYM.
24463 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24464 "bp-asm.h".
24465 (PARMS): Do not use macros from bp-asm.h.
24466 (STR2): Likewise.
24467 (strcmp): Do not use BP_SYM.
24468 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24469 "bp-asm.h".
24470 (PARMS): Do not use macros from bp-asm.h.
24471 (STR): Likewise.
24472 (DELIM): Likewise.
24473 [USE_AS_STRTOK_R] (SAVE): Likewise.
24474 (FUNCTION): Likewise. Do not use BP_SYM.
24475 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24476 aliases.
24477 (strtok_r): Likewise.
24478 (__GI___strtok_r): Likewise.
24479 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24480 (PARMS): Do not use macros from bp-asm.h.
24481 (S): Likewise.
24482 (SIZE): Likewise.
24483 (__mpn_lshift): Do not use BP_SYM.
24484 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24485 (PARMS): Do not use macros from bp-asm.h.
24486 (STR): Likewise.
24487 (CHR): Likewise.
24488 (__memchr): Do not use BP_SYM.
24489 (memchr): Do not use BP_SYM in weak_alias.
24490 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24491 (PARMS): Do not use macros from bp-asm.h.
24492 (BLK2): Likewise.
24493 (LEN): Likewise.
24494 (memcmp): Do not use BP_SYM.
24495 (bcmp): Do not use BP_SYM in weak_alias.
24496 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24497 (PARMS): Do not use macros from bp-asm.h.
24498 (S1): Likewise.
24499 (SIZE): Likewise.
24500 (__mpn_mul_1): Do not use BP_SYM.
24501 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24502 "bp-asm.h".
24503 (PARMS): Do not use macros from bp-asm.h.
24504 (STR): Likewise.
24505 (CHR): Likewise.
24506 (__rawmemchr): Do not use BP_SYM.
24507 (rawmemchr): Do not use BP_SYM in weak_alias.
24508 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24509 (PARMS): Do not use macros from bp-asm.h.
24510 (S): Likewise.
24511 (SIZE): Likewise.
24512 (__mpn_rshift): Do not use BP_SYM.
24513 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24514 (PARMS): Do not use macros from bp-asm.h.
24515 (SIGMSK): Likewise.
24516 (__sigsetjmp): Likewise. Do not use BP_SYM.
24517 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24518 (_start): Do not use BP_SYM.
24519 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24520 (PARMS): Do not use macros from bp-asm.h.
24521 (DEST): Likewise.
24522 (SRC): Likewise.
24523 (__stpcpy): Likewise. Do not use BP_SYM.
24524 (stpcpy): Do not use BP_SYM in weak_alias.
24525 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24526 "bp-asm.h".
24527 (PARMS): Do not use macros from bp-asm.h.
24528 (DEST): Likewise.
24529 (SRC): Likewise.
24530 (LEN): Likewise.
24531 (__stpncpy): Likewise. Do not use BP_SYM.
24532 (stpncpy): Do not use BP_SYM in weak_alias.
24533 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24534 (PARMS): Do not use macros from bp-asm.h.
24535 (STR): Likewise.
24536 (CHR): Likewise.
24537 (strchr): Likewise. Do not use BP_SYM.
24538 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24539 "bp-asm.h".
24540 (PARMS): Do not use macros from bp-asm.h.
24541 (STR): Likewise.
24542 (CHR): Likewise.
24543 (__strchrnul): Likewise. Do not use BP_SYM.
24544 (strchrnul): Do not use BP_SYM in weak_alias.
24545 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24546 "bp-asm.h".
24547 (PARMS): Do not use macros from bp-asm.h.
24548 (STOP): Likewise.
24549 (strcspn): Do not use BP_SYM.
24550 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24551 "bp-asm.h".
24552 (PARMS): Do not use macros from bp-asm.h.
24553 (STR): Likewise.
24554 (STOP): Likewise.
24555 (strpbrk): Likewise. Do not use BP_SYM.
24556 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24557 "bp-asm.h".
24558 (PARMS): Do not use macros from bp-asm.h.
24559 (STR): Likewise.
24560 (CHR): Likewise.
24561 (strrchr): Likewise. Do not use BP_SYM.
24562 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24563 (PARMS): Do not use macros from bp-asm.h.
24564 (SKIP): Likewise.
24565 (strspn): Do not use BP_SYM.
24566 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24567 (PARMS): Do not use macros from bp-asm.h.
24568 (STR): Likewise.
24569 (DELIM): Likewise.
24570 (SAVE): Likewise.
24571 (FUNCTION): Likewise. Do not use BP_SYM.
24572 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24573 aliases.
24574 (strtok_r): Likewise.
24575 (__GI___strtok_r): Likewise.
24576 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24577 (PARMS): Do not use macros from bp-asm.h.
24578 (S1): Likewise.
24579 (S2): Likewise.
24580 (SIZE): Likewise.
24581 (__mpn_sub_n): Do not use BP_SYM.
24582 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24583 "bp-asm.h".
24584 (PARMS): Do not use macros from bp-asm.h.
24585 (S1): Likewise.
24586 (SIZE): Likewise.
24587 (__mpn_submul_1): Do not use BP_SYM.
24588 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24589 <bp-sym.h>.
24590 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24591 and <bp-asm.h>.
24592 (PARMS): Do not use macros from bp-asm.h.
24593 (FLAGS): Likewise.
24594 (PTID): Likewise.
24595 (TLS): Likewise.
24596 (CTID): Likewise.
24597 (__clone): Do not use BP_SYM.
24598 (clone): Do not use BP_SYM in weak_alias.
24599 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24600 and <bp-asm.h>.
24601 (PARMS): Do not use macros from bp-asm.h.
24602 (LEN): Likewise.
24603 (__mmap64): Do not use BP_SYM.
24604 (mmap64): Do not use BP_SYM in weak_alias.
24605 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24606 <bp-sym.h> and <bp-asm.h>.
24607 (PARMS): Do not use macros from bp-asm.h.
24608 (__posix_fadvise64_l64): Do not use BP_SYM.
24609 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24610 (PARMS): Do not use macros from bp-asm.h.
24611 (NSOPS): Likewise.
24612 (semtimedop): Do not use BP_SYM.
24613 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24614 and <bp-asm.h>.
24615
582a3cff
AM
246162013-02-21 Allan McRae <allan@archlinux.org>
24617
24618 * manual/message.texi (Charset conversion in gettext):
24619 Move @end statement to beginning of line.
24620
bab8a695
SP
246212013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24622
80945231
SP
24623 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24624 static.
24625 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24626 Likewise.
24627
bab8a695
SP
24628 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24629 (denorm): Likewise.
24630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24631 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24632
e21d7aa7
AK
246332013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24634
24635 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24636 tail-call to the resolved function if pltexit isn't needed.
24637
4c7a4263
SP
246382013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24639
24640 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24641 or Y being zero as being unlikely.
24642 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24643 Likewise.
24644
41f49342
CD
246452013-02-20 Carlos O'Donell <carlos@redhat.com>
24646
24647 * manual/nss.texi (System Databases and Name Service Switch):
24648 Remove frobnicate @pxref.
24649
50022a93
TS
246502013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24651
24652 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24653 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24654
08cbd996
PM
246552013-02-20 Petr Machata <pmachata@redhat.com>
24656
24657 * elf/elf.h (R_ARM_TARGET1): New macro.
24658 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24659 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24660 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24661 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24662 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24663 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24664 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24665 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24666 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24667 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24668 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24669 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24670 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24671 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24672 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24673 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24674 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24675 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24676 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24677 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24678 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24679 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24680 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24681 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24682 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24683 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24684 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24685 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24686 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24687 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24688 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24689 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24690 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24691 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24692 (R_ARM_THM_GOT_BREL12): Likewise.
24693 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24694 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24695 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24696 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24697 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24698 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24699 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24700 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24701 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24702
c7b275d6
TS
247032013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24704
24705 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24706 __attribute_used__ to __attribute__ ((unused)).
24707
20cd7fb3
SP
247082013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24709
24710 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24711 powerpc mpa.c.
24712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24713 comment formatting.
24714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24715
92945b52
JM
247162013-02-19 Joseph Myers <joseph@codesourcery.com>
24717
24718 [BZ #13550]
24719 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24720 Remove macro.
24721 (ENTER): Remove both macro definitions.
24722 (LEAVE): Likewise.
24723 (CHECK_BOUNDS_LOW): Likewise.
24724 (CHECK_BOUNDS_HIGH): Likewise.
24725 (CHECK_BOUNDS_BOTH): Likewise.
24726 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24727 (RETURN_BOUNDED_POINTER): Likewise.
24728 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24729 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24730 (POP_ERRNO_LOCATION_RETURN): Likewise.
24731 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24732 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24733 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24734 macros.
24735 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24736 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24737 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24738 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24739 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24740 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24741 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24742 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24743 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24744 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24745 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24746 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24747 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24748 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24749 removed macros.
24750 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24751 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24752 macros.
24753 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24754 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24755 * sysdeps/i386/i586/memset.S (memset): Likewise.
24756 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24757 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24758 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24759 macros.
24760 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24761 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24762 Change uses of L(2) to L(out).
24763 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24764 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24765 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24766 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24767 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24768 removed macros.
24769 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24770 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24771 macros.
24772 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24773 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24774 (RETURN): Do not use macro LEAVE.
24775 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24776 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24777 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24778 * sysdeps/i386/i686/memset.S (memset): Likewise.
24779 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24780 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24781 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24782 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24783 Likewise.
24784 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24785 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24786 L(1_2) and L(1_3) into L(1).
24787 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24788 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24789 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24790 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24791 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24792 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24793 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24794 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24795 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24796 macros.
24797 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24798 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24799 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24800 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24801 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24802 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24803 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24804 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24805 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24806 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24807 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24808 * sysdeps/i386/strspn.S (strspn): Likewise.
24809 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24810 conditional code.
24811 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24812 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24813 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24814 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24815 L(1_3) into L(1_1).
24816 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24817 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24818 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24819 macros.
24820 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24821
2389741a
JJ
248222013-02-19 Jakub Jelinek <jakub@redhat.com>
24823
24824 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24825 macro.
24826
2016b3cd
SP
248272013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24828
e4f22324
SP
24829 * math/atest-exp.c (exp_mpn): Remove ROUND.
24830 * math/atest-exp2.c (exp_mpn): Likewise.
24831 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24832
2016b3cd
SP
24833 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24834 * stdlib/tst-tls-atexit-lib.c: Likewise.
24835 * stdlib/tst-tls-atexit.c: Likewise.
24836
4be9b544
MF
248372013-02-18 Mike Frysinger <vapier@gentoo.org>
24838
24839 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24840 and __attribute_alloc_size__.
24841
2f62b9ee
MF
248422013-02-18 Mike Frysinger <vapier@gentoo.org>
24843
24844 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24845 __attribute_alloc_size__.
24846 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24847 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24848
6ff444c4
MF
248492013-02-18 Mike Frysinger <vapier@gentoo.org>
24850
24851 * include/programs/xmalloc.h: New file.
24852 * catgets/gencat.c: Include it.
24853 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24854 * elf/pldd.c: Likewise.
24855 * iconv/iconv_charmap.c: Likewise.
24856 * iconv/iconvconfig.c: Likewise.
24857 * iconv/strtab.c: Likewise.
24858 * locale/programs/locale.c: Likewise.
24859 * locale/programs/localedef.h: Likewise.
24860 * locale/programs/simple-hash.c: Likewise.
24861 * nscd/nscd.h: Likewise.
24862 * nss/makedb.c: Likewise.
24863 * sysdeps/generic/ldconfig.h: Likewise.
24864
be179c8a
SP
248652013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24866
ba384f6e
SP
24867 * Versions.def: Add GLIBC_2.18.
24868 * include/link.h (struct link_map): New member l_tls_dtor_count.
24869 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24870 (__call_tls_dtors): Likewise.
24871 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24872 __cxa_thread_atexit_impl.
24873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24874 Likewise.
24875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24876 Likewise.
24877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24878 Likewise.
24879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24880 Likewise.
24881 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24883 Likewise.
24884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24885 Likewise.
24886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24888 Likewise.
24889 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24890 (tests): Add test case tst-tls-atexit.
24891 (modules-names): Add shared library for tst-tls-atexit.
85891aca 24892 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
24893 (GLIBC_PRIVATE): Add __call_tls_dtors.
24894 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24895 for libstdc++.
24896 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24897 * stdlib/tst-tls-atexit.c: New test case.
24898 * stdlib/tst-tls-atexit-lib.c: New test case.
24899
ffaa74cf 24900 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 24901
be179c8a
SP
24902 * elf/Versions (ld): Add _dl_find_dso_for_object.
24903 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24904 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24905 (dl_open_worker): Use _dl_find_dso_for_object.
24906 * elf/dl-sym.c (do_sym): Likewise.
24907 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24908
f78b5caa
AK
249092013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24910
24911 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24912 Syntactic changes only.
24913 (_dl_runtime_profile): Do a tail-call to the resolved function.
24914
29691210
JM
249152013-02-17 Joseph Myers <joseph@codesourcery.com>
24916
24917 [BZ #13550]
24918 * sysdeps/x86_64/bp-asm.h: Remove file.
24919 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24920 <bp-sym.h> and <bp-asm.h>.
24921 (__clone): Do not use BP_SYM.
24922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24923 <bp-sym.h> and <bp-asm.h>.
24924 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24925 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24926 "bp-asm.h".
24927 (_setjmp): Do not use BP_SYM.
24928 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24929 "bp-asm.h".
24930 (setjmp): Do not use BP_SYM.
24931 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24932 libc_hidden_def.
24933 (mempcpy): Do not use BP_SYM in weak_alias.
24934 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24935 "bp-asm.h".
24936 (strchr): Do not use BP_SYM.
24937 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24938 "bp-asm.h".
24939 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24940 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24941 (_start): Do not use BP_SYM.
24942 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24943 "bp-asm.h".
24944 (strcat): Do not use BP_SYM.
24945 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24946 "bp-asm.h".
24947 (STRCMP): Do not use BP_SYM.
24948 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24949 "bp-asm.h".
24950 (STRCPY): Do not use BP_SYM.
24951 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24952 "bp-asm.h".
24953 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24954 "bp-asm.h".
24955 (FUNCTION): Do not use BP_SYM.
24956 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24957 weak_alias.
24958 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24959
f238fd19
AJ
249602013-02-17 Andreas Jaeger <aj@suse.de>
24961
24962 * time/Versions: Sort entries.
24963 * string/Versions: Likewise.
24964 * resolv/Versions: Likewise.
24965 * posix/Versions: Likewise.
24966 * iconv/Versions: Likewise.
24967 * elf/Versions: Likewise.
24968 * wcsmbs/Versions: Likewise.
24969
bd07f23c 249702013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 24971
22af19f9
SP
24972 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24973 loop termination condition.
24974
4709fe76
SP
24975 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24976 variable to calculate EZ.
24977 (__sqr): Likewise.
2d0e0f29
SP
24978
24979 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24980 the lower precision input.
24981
daaa7713
JM
249822013-02-15 Joseph Myers <joseph@codesourcery.com>
24983
24984 [BZ #13550]
24985 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24986 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24987 (run-via-rtld-prefix): Do not handle %-bp tests.
24988 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24989 (all-object-suffixes): Remove .ob.
24990 (bppfx): Remove variable.
24991 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24992 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24993 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24994 [$(build-bounded) = yes] (libtype.ob): Likewise.
24995 * Makerules (elide-routines.ob): Remove variable.
24996 (do-tests-clean): Do not handle *-bp.out.
24997 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24998 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24999 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25000 (tests): Do not include $(tests-bp.out).
25001 (xtests): Do not include $(xtests-bp.out).
25002 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25003 [$(build-bounded) = yes] ($(addprefix
25004 $(objpfx),$(binaries-bounded))): Remove rule.
25005 ($(objpfx)%-bp.out): Remove rule.
25006 * config.make.in (build-bounded): Remove variable.
25007 * crypt/Makefile [$(build-bounded) = yes]
25008 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25009 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25010 append to variable.
25011 [$(build-bounded) = yes] (install-lib): Likewise.
25012 [$(build-bounded) = yes] (generated): Likewise.
25013 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25014 Remove rule.
25015 * intl/Makefile [$(build-bounded) = yes]
25016 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25017 * math/Makefile [$(build-bounded) = yes]
25018 ($(tests:%=$(objpfx)%-bp): Likewise.
25019 * misc/Makefile [$(build-bounded) = yes]
25020 ($(objpfx)tst-tsearch-bp): Likewise.
25021 * nptl/Makeconfig (bounded-thread-library): Remove variable.
25022 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25023 Remove dependency.
25024 * string/Makefile (o-objects.ob): Remove variable.
25025 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25026 (CFLAGS-.ob): Remove variable.
25027 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25028 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25029 both definitions of variable.
25030 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25031 (ASFLAGS-.ob): Remove variable.
25032
e97ed6dd
JM
250332013-02-14 Joseph Myers <joseph@codesourcery.com>
25034
2bdd4ca6
JM
25035 [BZ #13550]
25036 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25037 Remove __BOUNDED_POINTERS__ from condition.
25038 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25039 * string/bits/string2.h [!__NO_STRING_INLINES &&
25040 !__BOUNDED_POINTERS__]: Likewise.
25041 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25042 Likewise.
25043 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25044 Remove conditional code.
25045 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25046 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25047 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25048 condition.
25049
e97ed6dd
JM
25050 [BZ #13550]
25051 * csu/libc-start.c: Do not include <bp-sym.h>.
25052 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25053 * elf/dl-open.c: Do not include <bp-sym.h>.
25054 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25055 * math/fegetenv.c: Do not include <bp-sym.h>.
25056 (fegetenv): Do not use BP_SYM in versioned symbols.
25057 * nptl/sysdeps/pthread/bits/libc-lockP.h
25058 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25059 <bp-sym.h>.
25060 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25061 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25062 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25063 (__pthread_mutex_destroy): Likewise.
25064 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25065 (__pthread_mutex_lock): Likewise.
25066 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25067 (__pthread_mutex_trylock): Likewise.
25068 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25069 (__pthread_mutex_unlock): Likewise.
25070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25071 (__pthread_mutexattr_init): Likewise.
25072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25073 (__pthread_mutexattr_destroy): Likewise.
25074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25075 (__pthread_mutexattr_settype): Likewise.
25076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25077 (__pthread_rwlock_init): Likewise.
25078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25079 (__pthread_rwlock_destroy): Likewise.
25080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25081 (__pthread_rwlock_rdlock): Likewise.
25082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25083 (__pthread_rwlock_tryrdlock): Likewise.
25084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25085 (__pthread_rwlock_wrlock): Likewise.
25086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25087 (__pthread_rwlock_trywrlock): Likewise.
25088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25089 (__pthread_rwlock_unlock): Likewise.
25090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25091 (__pthread_key_create): Likewise.
25092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25093 (__pthread_setspecific): Likewise.
25094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25095 (__pthread_getspecific): Likewise.
25096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25097 Likewise.
25098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25099 (_pthread_cleanup_push_defer): Likewise.
25100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25101 (_pthread_cleanup_pop_restore): Likewise.
25102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25103 (pthread_setcancelstate): Likewise.
25104 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25105 <bp-sym.h>.
25106 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25107 (memchr): Do not use BP_SYM in weak_alias.
25108 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25109 (fegetenv): Do not use BP_SYM in versioned symbols.
25110 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25111 (fesetenv): Do not use BP_SYM in versioned symbols.
25112 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25113 (feupdateenv): Do not use BP_SYM in versioned symbols.
25114 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25115 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25116 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25117 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25118 (open64): Do not use BP_SYM in weak_alias.
25119 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25120 (fegetenv): Do not use BP_SYM in versioned symbols.
25121 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25122 (fesetenv): Do not use BP_SYM in versioned symbols.
25123 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25124 (feupdateenv): Do not use BP_SYM in versioned symbols.
25125 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25126 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25127 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25128 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25129 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25130 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25131 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25132 <bp-sym.h>.
25133 (__libc_start_main): Do not use BP_SYM.
25134
d6752ccd
SP
251352013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25136
cb57ce60
SP
25137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25138 redundant return line.
25139 (norm): Likewise.
25140 (denorm): Likewise.
25141 (dbl_mp): Likewise.
25142 (sub_magnitudes): Likewise.
25143 (__add): Likewise.
25144 (__sub): Likewise.
25145 (__mul): Likewise.
25146 (__inv): Likewise.
25147 (__dvd): Likewise.
25148 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25149 (norm): Likewise.
25150 (denorm): Likewise.
25151 (dbl_mp): Likewise.
25152 (sub_magnitudes): Likewise.
25153 (__add): Likewise.
25154 (__sub): Likewise.
25155 (__mul): Likewise.
25156 (__inv): Likewise.
25157 (__dvd): Likewise.
25158
f414520d
SP
25159 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25160 instead of __mul.
25161 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25162 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25163 (cc32): Likewise.
25164
d6752ccd
SP
25165 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25166 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25167 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25168 of __mul for squares.
25169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25170 function
25171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25172 Likewise.
25173 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25174 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25175
70d9946a
JM
251762013-02-13 Joseph Myers <joseph@codesourcery.com>
25177
25178 [BZ #13550]
25179 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25180 code.
25181 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25182 prototype or function definition. Rename ubp_* variables and
25183 parameters. Remove argv definitions conditional on
25184 [__BOUNDED_POINTERS__].
25185 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25186 * elf/dl-runtime.c (_dl_fixup): Likewise.
25187 * include/set-hooks.h (RUN_HOOK): Likewise.
25188 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25189 definition.
25190 * string/strcpy.c (strcpy): Do not use __unbounded.
25191 * sysdeps/generic/frame.h (struct layout): Likewise.
25192 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25193 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25194 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25195 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25196 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25197 (__backtrace): Likewise.
25198 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25199 use __ptrvalue.
25200 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25201 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25202 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25203 Likewise.
25204 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25205 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25206 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25207 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25208 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25209 Do not use __unbounded.
25210 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25211 Rename __unboundedrlimits parameter to rlimits in prototype.
25212 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25213 Do not use __unbounded.
25214 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25215 not use __ptrvalue.
25216 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25217 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25218 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25219 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25220 __ptrvalue or __unbounded.
25221 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25222 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25223 use __unbounded.
25224 (__new_msgctl): Do not use __ptrvalue.
25225 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25226 __unbounded.
25227 (__libc_msgrcv): Do not use __ptrvalue.
25228 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25229 startup_info): Do not use __unbounded.
25230 (__libc_start_main): Likewise. Rename ubp_* variables and
25231 parameters. Remove argv definitions conditional on
25232 [__BOUNDED_POINTERS__].
25233 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25234 __ptrvalue.
25235 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25236 use __unbounded.
25237 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25238 or __ptrvalue.
25239 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25240 use __unbounded.
25241 (__new_shmctl): Do not use __ptrvalue.
25242 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25243 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25244 Likewise.
25245 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25246 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25247 (__libc_sigaction): Likewise.
25248 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25249 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25250 Likewise.
25251 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25252
cc7834d6
OB
252532013-02-13 Ondřej Bílka <neleai@seznam.cz>
25254
ffb1ec7b 25255 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
25256
25257 * string/mempcpy.c: Implement by calling memcpy.
25258
bdf02814
SP
252592013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25260
c2af38aa
SP
25261 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25262
4e92d59e
SP
25263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25264 evaluation.
25265
909279a5
SP
25266 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25267 values in the mantissa.
25268
bdf02814
SP
25269 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25270 minimize writes to Z.
25271 (sub_magnitudes): Simplify code a bit.
25272
cd525923
RM
252732013-02-12 Roland McGrath <roland@hack.frob.com>
25274
25275 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25276 from the message. The linker prefixes all warnings with that already.
25277
7e2f0d2d
AS
252782013-02-12 Andreas Schwab <schwab@suse.de>
25279
a445af0b
AS
25280 [BZ #15078]
25281 * posix/regexec.c (extend_buffers): Add parameter min_len.
25282 (check_matching): Pass minimum needed length.
25283 (clean_state_log_if_needed): Likewise.
25284 (get_subexp): Likewise.
25285 * posix/Makefile (tests): Add bug-regex34.
25286 (bug-regex34-ENV): Define.
25287 * posix/bug-regex34.c: New file.
25288
7e2f0d2d
AS
25289 [BZ #11561]
25290 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25291 elements compare against the byte sequence of it, not its name.
25292 * posix/Makefile (tests): Add bug-regex35.
25293 (bug-regex35-ENV): Define.
25294 * posix/bug-regex35.c: New file.
25295
a175b684
TV
252962013-02-11 Tom de Vries <tom@codesourcery.com>
25297
25298 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25299 comment.
25300 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25301 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25302 (CHECK_EOL): Add undef.
25303
310998fe 253042013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
25305
25306 * bits/stdlib-bsearch.h: New file.
25307 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 25308 * stdlib/stdlib.h: Likewise.
41eda41d 25309
8ded91fb
RM
253102013-02-11 Roland McGrath <roland@hack.frob.com>
25311
25312 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25313 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25314 declaration.
25315 * manual/search.texi (Array Search Function): Add missing const in
25316 lfind prototype.
25317 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25318 declaration to use rlim_t.
25319 (Basic Scheduling Functions): Remove erroneous const from
25320 sched_getparam prototype. Remove erroneous * from
25321 sched_get_priority_max and sched_get_priority_min prototypes.
25322 (Resource Usage): Fix summary @comment on vtimes to refer to
25323 sys/vtimes.h rather than vtimes.h.
25324 Add missing *s in vtimes prototype.
25325 (Limits on Resources): Fix ulimit prototype to return long int.
25326 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25327 prototypes to use long int rather than double.
25328 (BSD Random): Fix initstate and setstate to use char *, not void *.
25329 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25330 prototype to make second argument 'struct aiocb64 *const[]'.
25331 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25332 (Status of AIO Operations): Remove erroneous const in aio_return and
25333 aio_return64 prototypes.
25334 (Synchronizing I/O): Fix sync prototype to return void.
25335 * manual/startup.texi (Suboptions): Remove an erroneous const in
25336 getsubopt prototype.
25337 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25338 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25339 use size_t rather than int.
25340 (Scanning All Users): Likewise for getpwent_r.
25341 (Setting Groups): Add missing const to setgroups prototype.
25342 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25343 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25344 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25345 'const void *' rather than 'const char *'.
25346 (Host Address Functions): Likewise for inet_ntop.
25347 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25348 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25349 ssize_t for return value.
25350 (Sending Data): Likewise for send, sendto, sendmsg.
25351 (Socket Option Functions): Add a missing const in setsockopt prototype.
25352 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25353 use wchar_t for the argument.
25354 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25355 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25356 take no arguments.
25357 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25358 double/float/long double for second argument.
25359 Fix return types of significand, significandf, significandl.
25360 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25361 argument in fchmod prototype.
25362 (File Owner): Use uid_t and gid_t in fchown prototype.
25363 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25364 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25365 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25366 use 'const struct dirent **' as argument types to CMP function pointer
25367 argument.
25368 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25369 (File Times): Fix summary magic @comment for struct utimbuf and utime
25370 to refer to utime.h, not time.h.
25371 * manual/string.texi (Argz Functions): Add missing const in
25372 argz_extract and argz_next prototypes.
25373 (Finding Tokens in a String): Likewise for basename.
25374 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25375 (Copying and Concatenation): Fix typo in wmemmove prototype.
25376 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25377 (Signal Stack): Remove erroneous const in sigstack prototype.
25378 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25379 prototype.
25380 (Simple Calendar Time): Likewise for stime.
25381 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25382 prototype.
25383 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25384 say sys/sysctl.h instead.
25385 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25386 and vsyslog prototypes.
25387
fe77fe6d
TV
253882013-02-11 Tom de Vries <tom@codesourcery.com>
25389
25390 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25391 Remove.
25392
3a09b620
RM
253932013-02-11 Roland McGrath <roland@hack.frob.com>
25394
25395 * misc/sys/mman.h: Fix typo in mremap comment.
25396
550a0b89
RM
253972013-02-08 Roland McGrath <roland@hack.frob.com>
25398
25399 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25400 the '\0' terminator.
25401
a2da1673
JM
254022013-02-08 Joseph Myers <joseph@codesourcery.com>
25403
25404 [BZ #13550]
25405 * debug/segfault.c: Don't include <bp-checks.h>.
25406 * sysdeps/generic/bp-checks.h: Remove file.
25407 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25408 (__GETDENTS): Don't use CHECK_N.
25409 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25410 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25411 (__getgroups): Don't use CHECK_N.
25412 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25413 (setgroups): Don't use CHECK_N.
25414 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25415 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25416 (__libc_msgrcv): Don't use CHECK_N.
25417 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25418 (__libc_msgsnd): Don't use CHECK_N.
25419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25420 <bp-checks.h>.
25421 (__libc_pread): Don't use CHECK_N.
25422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25423 include <bp-checks.h>.
25424 (__libc_pread64): Don't use CHECK_N.
25425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25426 include <bp-checks.h>.
25427 (__libc_pwrite): Don't use CHECK_N.
25428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25429 include <bp-checks.h>.
25430 (__libc_pwrite64): Don't use CHECK_N.
25431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25432 <bp-checks.h>.
25433 (__libc_pread): Don't use CHECK_N.
25434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25435 include <bp-checks.h>.
25436 (__libc_pread64): Don't use CHECK_N.
25437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25438 include <bp-checks.h>.
25439 (__libc_pwrite): Don't use CHECK_N.
25440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25441 include <bp-checks.h>.
25442 (__libc_pwrite64): Don't use CHECK_N.
25443 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25444 (do_pread): Don't use CHECK_N.
25445 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25446 (do_pread64): Don't use CHECK_N.
25447 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25448 (do_pwrite): Don't use CHECK_N.
25449 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25450 (do_pwrite64): Don't use CHECK_N.
25451 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25452 (__libc_readv): Don't use CHECK_N.
25453 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25454 (semop): Don't use CHECK_N.
25455 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25456 <bp-checks.h>.
25457 (semtimedop): Don't use CHECK_N.
25458 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25459 (__libc_pread): Don't use CHECK_N.
25460 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25461 <bp-checks.h>.
25462 (__libc_pread64): Don't use CHECK_N.
25463 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25464 <bp-checks.h>.
25465 (__libc_pwrite): Don't use CHECK_N.
25466 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25467 <bp-checks.h>.
25468 (__libc_pwrite64): Don't use CHECK_N.
25469 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25470 <bp-checks.h>.
25471 (__libc_msgrcv): Don't use CHECK_N.
25472 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25473 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25474 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25475 (__libc_writev): Don't use CHECK_N.
25476
b84660a8
RM
254772013-02-08 Roland McGrath <roland@hack.frob.com>
25478
7f3e75f8
RM
25479 * string/strcpy.c: Removed unused variable.
25480
b84660a8
RM
25481 * Makeconfig (+sysdep-includes): Define with := rather than =.
25482 Use an existing include/ subdir of each sysdeps dir before it.
25483
471514d3
CD
254842013-02-08 Carlos O'Donell <carlos@redhat.com>
25485
25486 * nscd/connection.c (register_traced_file): Comment function.
25487 [HAVE_INOTIFY] (union __inev): Define.
25488 [HAVE_INOTIFY] (inotify_check_files): New function.
25489 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25490 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25491 clear_db_cache.
25492 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25493
b2d3c3be
CD
254942013-02-08 Carlos O'Donell <carlos@redhat.com>
25495
25496 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25497 loaded if not already and that a failure is permanent.
25498
b39949d2
CD
254992013-02-08 Carlos O'Donell <carlos@redhat.com>
25500
ddacd1db 25501 [BZ #15006]
b39949d2
CD
25502 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25503 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25504
b2c9eff4
JM
255052013-02-08 Joseph Myers <joseph@codesourcery.com>
25506
f3aae3f3
JM
25507 [BZ #13550]
25508 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25509 (CHECK_1_NULL_OK): Likewise.
25510 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25511 (__fxstat): Do not use CHECK_1.
25512 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25513 <bp-checks.h>.
25514 (___fxstat64): Do not use CHECK_1.
25515 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25516 <bp-checks.h>.
25517 (__fxstatat): Do not use CHECK_1.
25518 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25519 <bp-checks.h>.
25520 (__fxstatat64): Do not use CHECK_1.
25521 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25522 <bp-checks.h>.
25523 (__fxstat): Do not use CHECK_1.
25524 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25525 <bp-checks.h>.
25526 (__fxstatat): Do not use CHECK_1.
25527 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25528 <bp-checks.h>.
25529 (__getresgid): Do not use CHECK_1.
25530 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25531 <bp-checks.h>.
25532 (__getresuid): Do not use CHECK_1.
25533 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25534 <bp-checks.h>.
25535 (__lxstat): Do not use CHECK_1.
25536 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25537 <bp-checks.h>.
25538 (__old_msgctl): Do not use CHECK_1.
25539 (__new_msgctl): Likewise.
25540 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25541 <bp-checks.h>.
25542 (__new_setrlimit): Do not use CHECK_1.
25543 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25544 <bp-checks.h>.
25545 (__old_shmctl): Do not use CHECK_1.
25546 (__new_shmctl): Likewise.
25547 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25548 <bp-checks.h>.
25549 (__xstat): Do not use CHECK_1.
25550 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25551 (__lxstat): Do not use CHECK_1.
25552 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25553 <bp-checks.h>.
25554 (___lxstat64): Do not use CHECK_1.
25555 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25556 (__old_msgctl): Do not use CHECK_1.
25557 (__new_msgctl): Likewise.
25558 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25559 <bp-checks.h>.
25560 (__gettimeofday): Do not use CHECK_1.
25561 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25562 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25563 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25564 <bp-checks.h>.
25565 (__gettimeofday): Do not use CHECK_1.
25566 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25567 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25568 (__new_shmctl): Do not use CHECK_1.
25569 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25570 <bp-checks.h>.
25571 (do_sigtimedwait): Do not use CHECK_1.
25572 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25573 <bp-checks.h>.
25574 (do_sigwaitinfo): Do not use CHECK_1.
25575 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25576 <bp-checks.h>.
25577 (msgctl): Do not use CHECK_1.
25578 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25579 <bp-checks.h>.
25580 (shmctl): Do not use CHECK_1.
25581 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25582 (ustat): Do not use CHECK_1.
25583 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25584 <bp-checks.h>.
25585 (__fxstat): Do not use CHECK_1.
25586 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25587 <bp-checks.h>.
25588 (__fxstatat): Do not use CHECK_1.
25589 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25590 <bp-checks.h>.
25591 (__lxstat): Do not use CHECK_1.
25592 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25593 <bp-checks.h>.
25594 (__xstat): Do not use CHECK_1.
25595 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25596 (__xstat): Do not use CHECK_1.
25597 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25598 (___xstat64): Do not use CHECK_1.
25599
b2c9eff4
JM
25600 [BZ #13550]
25601 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25602 definitions.
25603 (CHECK_BOUNDS_HIGH): Likewise.
25604 * string/strcpy.c: Do not include <bp-checks.h>.
25605 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25606
f1d70dad
RM
256072013-02-07 Roland McGrath <roland@hack.frob.com>
25608
25609 * nscd/nscd-client.h (__nscd_drop_map_ref):
25610 Add __attribute__ ((unused)).
25611 * nis/nss-nisplus.h (niserr2nss): Likewise.
25612
25613 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25614 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25615
25616 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25617 Remove inline keyword.
25618 * include/rounding-mode.h (round_away): Likewise.
25619 * libio/wfileops.c (adjust_wide_data): Likewise.
25620 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25621 (__m128i_strloadu_tolower): Likewise.
25622 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25623 (__m128i_strloadu_tolower): Likewise.
25624 * time/mktime.c (ydhms_diff): Likewise.
25625 * locale/elem-hash.h (elem_hash): Likewise.
25626 * locale/setlocale.c (setdata): Likewise.
25627 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25628 (re_string_wchar_at): Likewise.
25629 (bitset_not, bitset_merge, bitset_mask): Likewise.
25630 [!(__GNUC__ > 3)] (inline): Remove macro.
25631 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25632 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25633 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25634 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25635 * string/memcmp.c (memcmp_bytes): Likewise.
25636 * locale/programs/locarchive.c (compute_hashval): Likewise.
25637 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25638 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25639 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25640 * nss/getent.c (print_rpc, print_protocols): Likewise.
25641 (print_passwd, print_group, print_aliases): Likewise.
25642 * nis/nss-nisplus.h (niserr2nss): Likewise.
25643 * nscd/connections.c (restart_p): Likewise.
25644 Change return type to bool.
25645
eab55bfb
RM
256462013-02-05 Roland McGrath <roland@hack.frob.com>
25647
7bd642f5
RM
25648 * Makeconfig (all-Depend-files): Add existing
25649 $(sorted-subdirs:=/Depend) files.
25650 (all-subdirs): Remove nss.
25651 * sysdeps/unix/inet/Subdirs: Add it here instead.
25652 * hesiod/Depend: New file.
25653
573c29b2
RM
25654 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25655 instead of calling alloca.
25656
b2e25af0
RM
25657 * io/lseek.c (__lseek): Rename to __libc_lseek.
25658 Define __lseek as an alias.
25659
eab55bfb
RM
25660 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25661
9a0d1941
CD
256622013-02-04 Carlos O'Donell <carlos@redhat.com>
25663
25664 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25665 else clause and remove check for non-standard endianness.
25666
b83bbec4
DM
256672013-02-04 David S. Miller <davem@davemloft.net>
25668
25669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25670
6277fdab
JM
256712013-02-04 Joseph Myers <joseph@codesourcery.com>
25672
25673 [BZ #13550]
25674 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25675 (__ubp_memchr): Remove prototype.
25676 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25677 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25678 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25679 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25680 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25681 Remove alias.
25682 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25683 (__ubp_memchr): Likewise.
25684 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25685 (__ubp_memchr): Likewise.
25686 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25687 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25688 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25689 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25690 CHECK_STRING.
25691 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25692 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25693 (__getcwd): Do not use CHECK_STRING.
25694 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25695 <bp-checks.h>.
25696 (__real_chown): Do not use CHECK_STRING.
25697 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25698 <bp-checks.h>.
25699 (fchownat): Do not use CHECK_STRING.
25700 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25701 CHECK_STRING.
25702 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25703 <bp-checks.h>.
25704 (__lchown): Do not use CHECK_STRING.
25705 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25706 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25707 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25708 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25710 include <bp-checks.h>.
25711 (truncate64): Do not use CHECK_STRING.
25712 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25713 <bp-checks.h>.
25714 (__real_chown): Do not use CHECK_STRING.
25715 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25716 <bp-checks.h>.
25717 (__lchown): Do not use CHECK_STRING.
25718 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25719 <bp-checks.h>.
25720 (__chown): Do not use CHECK_STRING.
25721 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25722 <bp-checks.h>.
25723 (truncate64): Do not use CHECK_STRING.
25724 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25725 Likewise.
25726 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25727 (__xmknod): Do not use CHECK_STRING.
25728 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25729 <bp-checks.h>.
25730 (__xmknodat): Do not use CHECK_STRING.
25731 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25732 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25733
903ae060
AS
257342013-02-04 Andreas Schwab <schwab@suse.de>
25735
25736 [BZ #14142]
25737 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25738 * include/netdb.h: Likewise for h_errno.
25739 * elf/tst-stackguard1.c: Include <tls.h>.
25740
542f9466
JK
257412013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25742
25743 * elf/link.h (struct link_map): Extend the l_addr comment.
25744 * include/link.h (struct link_map): Likewise.
25745
e782a927
JM
257462013-02-01 Joseph Myers <joseph@codesourcery.com>
25747
25748 [BZ #13550]
25749 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25750 (BOUNDED_1): Remove macro.
25751 * debug/backtrace.c: Don't include <bp-checks.h>.
25752 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25753 (__backtrace): Likewise.
25754 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25755 <bp-checks.h>.
25756 (__backtrace): Don't use BOUNDED_1.
25757 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25758 <bp-checks.h>.
25759 (__backtrace): Don't use BOUNDED_1.
25760 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25761 (__backtrace): Don't use BOUNDED_1.
25762 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25763 (shmat): Don't use BOUNDED_N.
25764
8cf28c5e
JM
257652013-01-31 Joseph Myers <joseph@codesourcery.com>
25766
3a7ac8a0
JM
25767 [BZ #13550]
25768 * sysdeps/generic/bp-start.h: Remove file.
25769 * csu/libc-start.c: Don't include <bp-start.h>.
25770 (LIBC_START_MAIN): Set up __environ directly instead of using
25771 INIT_ARGV_and_ENVIRON.
25772 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25773 <bp-start.h>.
25774
f3499f95
JM
25775 [BZ #13550]
25776 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25777 definitions.
25778 (CHECK_FCNTL): Likewise.
25779 (CHECK_N_PAGES): Likewise.
25780
32a45bea
JM
25781 [BZ #13550]
25782 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25783 definitions.
25784 (CHECK_SIGSET_NULL_OK): Likewise.
25785 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25786 <bp-checks.h>.
25787 (sigpending): Don't use CHECK_SIGSET.
25788 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25789 <bp-checks.h>.
25790 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25791 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25792 <bp-checks.h>.
25793 (do_sigsuspend): Don't use CHECK_SIGSET.
25794 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25795 use CHECK_SIGSET.
25796 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25797 (do_sigwait): Don't use CHECK_SIGSET.
25798 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25799 use CHECK_SIGSET.
25800 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25801 include <bp-checks.h>.
25802 (sigpending): Don't use CHECK_SIGSET.
25803 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25804 include <bp-checks.h>.
25805 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25806 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25807 <bp-checks.h>.
25808 (sigpending): Don't use CHECK_SIGSET.
25809 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25810 <bp-checks.h>.
25811 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25812
2e8a5c8c
JM
25813 [BZ #13550]
25814 * sysdeps/generic/bp-semctl.h: Remove file.
25815 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25816 <bp-checks.h> and <bp-semctl.h>.
25817 (__old_semctl): Don't use CHECK_SEMCTL.
25818 (__new_semctl): Likewise.
25819 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25820 and <bp-semctl.h>.
25821 (__old_semctl): Don't use CHECK_SEMCTL.
25822 (__new_semctl): Likewise.
25823 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25824 <bp-checks.h> and <bp-semctl.h>.
25825 (__old_semctl): Don't use CHECK_SEMCTL.
25826 (__new_semctl): Likewise.
25827 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25828 <bp-checks.h> and <bp-semctl.h>.
25829 (semctl): Don't use CHECK_SEMCTL.
25830
c2d54929
JM
25831 [BZ #13550]
25832 * Makerules (elide-bp-thunks): Remove variable.
25833 (elide-routines.oS): Don't use $(elide-bp-thunks).
25834 (elide-routines.os): Likewise.
25835 (elide-routines.o): Likewise.
25836 (elide-routines.op): Likewise.
25837 (elide-routines.og): Likewise.
25838 (objects): Don't use $(bp-thunks).
25839 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25840 include.
25841 (common-generated): Do not add s-proto-bp.d.
25842 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25843 (int): Likewise.
25844 (typ): Likewise.
25845 Do not generate makefile rules for bounded-pointer thunks.
25846 * sysdeps/generic/bp-thunks.h: Remove file.
25847 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25848 * sysdeps/unix/s-proto-bp.S: Likewise.
25849
8cf28c5e
JM
25850 [BZ #15062]
25851 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25852 parts of result separately when argument is not close to line from
25853 -i to i and one part of argument is small.
25854 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25855 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25856 * math/libm-test.inc (cacos_test): Add more tests.
25857 (casin_test): Likewise.
25858 (casinh_test): Likewise.
25859 * sysdeps/i386/fpu/libm-test-ulps: Update.
25860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25861
c4e33b8d
DM
258622013-01-31 David S. Miller <davem@davemloft.net>
25863
25864 * po/de.po: Update from translation team.
25865
3b60b421
MK
258662013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25867
25868 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25869
bb931195
TS
258702013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25871
b5a5da23
TS
25872 * configure.in (_AC_PROG_CC_C89): New definition.
25873 * configure: Regenerate.
25874
bb931195
TS
25875 * configure.in (AC_PROG_CPP): New definition.
25876 * configure: Regenerate.
25877
8c53a12c
JM
258782013-01-23 Joseph Myers <joseph@codesourcery.com>
25879
25880 * debug/tst-backtrace.h: New file.
25881 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25882 (ret): Remove variable.
25883 (x): Likewise.
25884 (FAIL): Remove macro.
25885 (NO_INLINE): Likewise.
25886 (fn1): Use match function instead of strstr.
25887 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25888 (ret): Remove variable.
25889 (x): Likewise.
25890 (FAIL): Remove macro.
25891 (NO_INLINE): Likewise.
25892 (fn): Use match function instead of strstr.
25893 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25894 (ret): Remove variable.
25895 (x): Likewise.
25896 (FAIL): Remove macro.
25897 (NO_INLINE): Likewise.
25898 (handle_signal): Use match function instead of strstr.
25899 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25900 (ret): Remove variable.
25901 (x): Likewise.
25902 (FAIL): Remove macro.
25903 (NO_INLINE): Likewise.
25904 (handle_signal): Use match function instead of strstr.
25905
4858fa2a
RM
259062013-01-23 Roland McGrath <roland@hack.frob.com>
25907
25908 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25909
bae8e7f5
DM
259102013-01-23 David S. Miller <davem@davemloft.net>
25911
25912 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25913 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25914 argument of CAS if possible.
25915 * sysdeps/sparc/sparc64/bits/atomic.h
25916 (__arch_compare_and_exchange_val_32_acq): Likewise.
25917 (__arch_compare_and_exchange_val_64_acq): Likewise.
25918
9cbbc4ae
PT
259192013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25920
25921 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25922 * sysdeps/posix/ulimit.c: ... this.
92a601b8 25923 Include <limits.h>.
67b3f58c 25924 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 25925
5655a0b5
AC
259262013-01-23 Adam Conrad <adconrad@0c3.net>
25927
25928 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25929 (LDFLAGS-tst-array5): Likewise.
25930
052aff95
JM
259312013-01-23 Joseph Myers <joseph@codesourcery.com>
25932
25933 [BZ #15036]
25934 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25935 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25936 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25937 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25938
7c1e01aa
DM
259392013-01-21 David S. Miller <davem@davemloft.net>
25940
25941 * sysdeps/sparc/backtrace.c: New file.
25942 * sysdeps/sparc/sparc32/backtrace.h: New file.
25943 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25944 * sysdeps/sparc/sparc64/backtrace.h: New file.
25945 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25946 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25947 -funwind-tables.
25948
ab087e0a
AS
259492013-01-21 Andreas Schwab <schwab@suse.de>
25950
25951 [BZ #15020]
25952 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25953 closed its stdout.
25954
ed689c2f
AS
259552013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25956
25957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25958 "mpa2.h".
25959 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25960
31d470ac
JM
259612013-01-18 Joseph Myers <joseph@codesourcery.com>
25962 Mark Mitchell <mark@codesourcery.com>
25963 Tom de Vries <tom@codesourcery.com>
25964 Paul Pluzhnikov <ppluzhnikov@google.com>
25965
25966 * debug/tst-backtrace2.c: New file.
25967 * debug/tst-backtrace3.c: Likewise.
25968 * debug/tst-backtrace4.c: Likewise.
25969 * debug/tst-backtrace5.c: Likewise.
25970 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25971 (CFLAGS-tst-backtrace3.c): Likewise.
25972 (CFLAGS-tst-backtrace4.c): Likewise.
25973 (CFLAGS-tst-backtrace5.c): Likewise.
25974 (LDFLAGS-tst-backtrace2): Likewise.
25975 (LDFLAGS-tst-backtrace3): Likewise.
25976 (LDFLAGS-tst-backtrace4): Likewise.
25977 (LDFLAGS-tst-backtrace5): Likewise.
25978 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25979 tst-backtrace4 and tst-backtrace5.
25980
90567f30 259812013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
25982 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25983
25984 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25985 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25986 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25987 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25989 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25990 "+r" and remove output regs list as redundant. Add explicit inline
25991 asm to specify register of return val to work around compiler codegen
25992 bug. Remove (int) cast on return value. Add return type parameter to
25993 use in macro so that this macro does not truncate return value for
25994 64-bit values.
25995 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25996 pass to INTERNAL_VSYSCALL_NCS.
25997 (INLINE_VSYSCALL): Add 'long int' as return type to
25998 INTERNAL_VSYSCALL_NCS macro invocation.
25999 (INTERNAL_VSYSCALL): Add 'long int' as return type to
26000 INTERNAL_VSYSCALL_NCS macro invocation.
26001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26002
d3b9ea61
SP
260032013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26004
0b57daeb
SP
26005 [BZ #14496]
26006 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26007 Fix application of SIMD FP exception mask.
26008
caa99d06
SP
26009 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26010 mp_no from a power of two.
26011 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26012 __mpexp_twomm1. Use __pow_mp.
26013
d3b9ea61
SP
26014 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26015 multiplication.
26016
1dbaee3c
DM
260172013-01-17 David S. Miller <davem@davemloft.net>
26018
26019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26020
728d7b43
JM
260212013-01-17 Joseph Myers <joseph@codesourcery.com>
26022
26023 [BZ #15023]
26024 * include/complex.h: Condition contents on [!_COMPLEX_H].
26025 (__kernel_casinhf): New prototype.
26026 (__kernel_casinh): Likewise.
26027 (__kernel_casinhl): Likewise.
26028 * math/Makefile (libm_calls): Add k_casinh.
26029 * math/k_casinh.c: New file.
26030 * math/k_casinhf.c: Likewise.
26031 * math/k_casinhl.c: Likewise.
26032 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26033 finite nonzero arguments.
26034 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26035 finite nonzero arguments.
26036 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26037 finite nonzero arguments.
26038 * math/s_casinh.c: Do not include <float.h>.
26039 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26040 * math/s_casinhf.c: Do not include <float.h>.
26041 (__casinhf): Move code for finite nonzero arguments to
26042 k_casinhf.c.
26043 * math/s_casinhl.c: Do not include <float.h>.
26044 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26045 redefine.
26046 (__casinhl): Move code for finite nonzero arguments to
26047 k_casinhl.c.
26048 * math/libm-test.inc (cacos_test): Add more tests.
26049 * sysdeps/i386/fpu/libm-test-ulps: Update.
26050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26051
2a26ef3a
PT
260522013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26053
26054 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26055 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26056 [!HAVE_MREMAP]: Remove [defined linux] case.
26057 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26058
a897655d
SP
260592013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26060
26061 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26062
881ebe89 260632013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
26064
26065 * elf/elf.h (R_386_SIZE32): New relocation.
26066 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26067 R_386_SIZE32.
26068 (elf_machine_rela): Likewise.
26069 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26070 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26071
59981e9b
JM
260722013-01-17 Joseph Myers <joseph@codesourcery.com>
26073
26074 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26075 (FP_FAST_FMA): Do not define.
26076 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26077 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26078 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26079 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26080 !_SOFT_FLOAT]: Likewise.
26081 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26082 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26083 value.
26084 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26085 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26086 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26087 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26088 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26089 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26090 file.
26091
cfa8054f
AS
260922013-01-16 Andreas Schwab <schwab@suse.de>
26093
26094 [BZ #14327]
26095 * include/stdlib.h (__mktemp): Add declaration.
26096 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26097 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26098
dd930cc5
SP
260992013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26100
881ebe89
SP
26101 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26102 definitions.
26103 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26104 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26105 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26106 definitions here.
26107 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26108 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26109 definitions.
26110 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26111 and ONE.
26112 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26113 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26114 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26115 definitions.
26116 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26117 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26118 definitions.
26119 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 26120
dd930cc5
SP
26121 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26122
c19a9f89
DM
261232013-01-15 David S. Miller <davem@davemloft.net>
26124
1aa61767
DM
26125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26126 trunc{,f} to libm-sysdep_routes.
26127 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26129 file.
26130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26132 file.
26133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26134 file.
26135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26137 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26138 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26139 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26140 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26141 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26142 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26143
c42d5e98
DM
26144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26145 nearbyint{,f} to libm-sysdep_routes.
26146 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26148 New file.
26149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26150 file.
26151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26152 New file.
26153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26154 file.
26155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26157 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26158 file.
26159 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26160 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26161 file.
26162 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26163 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26164 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26165
c19a9f89
DM
26166 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26167 libc_feholdexcept and libc_fesetenv.
26168
357679d2
MF
261692013-01-15 Mike Frysinger <vapier@gentoo.org>
26170
26171 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26172
65a82e3d
DM
261732013-01-14 David S. Miller <davem@davemloft.net>
26174
8b954ab9
DM
26175 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26176 (SPARC_ASM_VIS2_IFUNC): Likewise.
26177 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26179 use of 'siam' instruction.
26180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26181 Likewise.
26182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26183 Likewise.
26184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26185 Likewise.
26186 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26187 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26189 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26191 file.
26192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26193 file.
26194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26195 file.
26196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26197 file.
26198 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26199 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26200 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26201 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26203 new VIS2 routines.
26204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26207 Likewise.
26208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26210 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26213 routines to libm-sysdep_routines.
26214 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26215
65a82e3d
DM
26216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26217 fdim/fdimf to libm-sysdep_routines.
26218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26219 file.
26220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26222 file.
26223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26226 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26227 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26228 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26229 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26230
e34ab705
SP
262312013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26232
2a91b573
SP
26233 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26234 to optimize copies.
26235
1066a534
SP
26236 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26238 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26239
e34ab705
SP
26240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26241 local variable MPTWO.
26242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26243 Likewise.
26244
aba5e596
MF
262452013-01-13 Mike Frysinger <vapier@gentoo.org>
26246
26247 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26248 GLOB_NOESCAPE.
26249
e557e9e5
MF
262502013-01-13 Mike Frysinger <vapier@gentoo.org>
26251
26252 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26253
0428cec9
MF
262542013-01-13 Mike Frysinger <vapier@gentoo.org>
26255
26256 * manual/pattern.texi (glob_t): Document gl_flags.
26257 (glob64_t): Likewise.
26258
8794a964
DM
262592013-01-11 David S. Miller <davem@davemloft.net>
26260
66438c3f
RM
26261 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26262 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26263 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
26264 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26265 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26266 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26267 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26268 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26269 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26270 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26271 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26272 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26273 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26274
4ae4244d
DM
26275 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26276 sparc V9 rather than using V8 code.
26277 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26278 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26279
8794a964
DM
26280 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26281 Move to...
26282 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26283 Here.
26284
6270516e
RM
262852013-01-11 Roland McGrath <roland@hack.frob.com>
26286
26287 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26288 not in the main loop.
26289 * configure: Regenerated.
26290
6a57d931
JM
262912013-01-11 Joseph Myers <joseph@codesourcery.com>
26292
26293 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26294 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26295 to just #else.
26296 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26297 [!__GLIBC_HAVE_LONG_LONG] case.
26298 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26299 condition to just #else.
26300 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26301 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26302 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26303 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26304 unconditional.
26305 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26306 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26307 #elif condition to just #else.
26308 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26309 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26310 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26311 #elif condition to just #else.
26312
0e8529e9
SE
263132013-01-11 Steve Ellcey <sellcey@mips.com>
26314
26315 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26316 (EF_MIPS_ARCH_64): Fix value.
26317 (EF_MIPS_ARCH_32R2): New.
26318 (EF_MIPS_ARCH_64R2): New.
26319
740b3dbe
L
263202013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26321
26322 * Makeconfig (+link-pie-before-libc): New.
26323 (+link-pie-after-libc): Likewise.
26324 (+link-pie-tests): Likewise.
26325 (+link-pie): Rewritten.
26326 (link-before-libc): Remove $(config-LDFLAGS).
26327 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26328 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26329 (config-LDFLAGS): Renamed to ...
26330 (rtld-LDFLAGS): This.
26331 (rtld-tests-LDFLAGS): New macro.
26332 (link-libc-rpath-link): Likewise.
26333 (link-libc-tests-rpath-link): Likewise.
26334 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26335 (link-libc): Prepand $(link-libc-rpath-link).
26336 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26337 (test-program-prefix): New macro.
26338 (test-via-rtld-prefix): Likewise.
26339 (test-program-cmd): Likewise.
26340 (host-test-program-cmd): Likewise.
26341 * Makefile ($(common-objpfx)testrun.sh): Replace
26342 $(run-program-prefix) with $(test-program-prefix).
26343 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26344 $(rtld-LDFLAGS).
26345 ($(common-objpfx)shlib.lds): Likewise.
26346 (build-module-helper): Likewise.
26347 ($(common-objpfx)format.lds): Likewise.
26348 * Rules (binaries-pie-tests): New.
26349 (binaries-pie-notests): Likewise.
26350 (binaries-pie): Rewritten.
26351 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26352 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26353 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26354 (make-test-out): Replace $(host-built-program-cmd) with
26355 $(host-test-program-cmd).
26356 * config.make.in (build-hardcoded-path-in-tests): New variable.
26357 * configure.in (--enable-hardcoded-path-in-tests): New configure
26358 option.
26359 (hardcoded_path_in_tests): New AC_SUBST.
26360 * configure: Regenerated.
26361 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26362 $(built-program-cmd) with $(test-program-cmd).
26363 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26364 (test_program_cmd): This.
26365 * elf/Makefile ($(objpfx)order.out): Run test with
26366 $(test-program-prefix).
26367 ($(objpfx)order2.out): Likewise.
26368 ($(objpfx)tst-initorder.out): Likewise.
26369 ($(objpfx)tst-initorder2.out): Likewise.
26370 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26371 $(test-program-cmd).
26372 ($(objpfx)tst-array1-static.out): Likewise.
26373 ($(objpfx)tst-array2.out): Likewise.
26374 ($(objpfx)tst-array3.out): Likewise.
26375 ($(objpfx)tst-array4.out): Likewise.
26376 ($(objpfx)tst-array5.out): Likewise.
26377 ($(objpfx)tst-array5-static.out): Likewise.
26378 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26379 $(test-program-cmd).
26380 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26381 $(run-program-prefix) with $(test-program-prefix).
26382 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26383 (test_program_prefix): This.
26384 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26385 $(run-program-prefix) with $(test-program-prefix).
26386 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26387 (test_program_prefix): This.
26388 * iconvdata/tst-tables.sh: Likewise.
26389 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26390 $(run-program-prefix) with $(test-program-prefix).
26391 ($(objpfx)tst-translit.out): Likewise.
26392 ($(objpfx)tst-gettext2.out): Likewise.
26393 ($(objpfx)tst-gettext4.out): Likewise.
26394 ($(objpfx)tst-gettext6.out): Likewise.
26395 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26396 (test_program_prefix): This.
26397 * intl/tst-gettext2.sh: Likewise.
26398 * intl/tst-gettext4.sh Likewise.
26399 * intl/tst-gettext6.sh: Likewise.
26400 * intl/tst-translit.sh: Likewise.
26401 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26402 with $(test-program-cmd).
26403 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26404 $(run-program-prefix) with $(test-program-prefix).
26405 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26406 (test_program_prefix): This.
26407 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26408 $(run-program-prefix) with $(test-program-prefix).
26409 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26410 (test_program_prefix): This.
26411 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26412 * posix/Makefile ($(objpfx)globtest.out): Replace
26413 $(run-via-rtld-prefix) and $(test-wrapper) with
26414 $(test-program-prefix) and $(test-via-rtld-prefix).
26415 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26416 $(test-program-prefix).
26417 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26418 $(host-test-program-cmd).
26419 (tst-spawn-ARGS): Likewise.
26420 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26421 $(test-program-prefix).
26422 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26423 (test_via_rtld_prefix): This.
26424 (test_wrapper): Renamed to ...
26425 (test_program_prefix): This.
26426 (run_program_prefix): Replaced by test_program_prefix.
26427 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26428 (test_program_prefix): This.
26429 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26430 with $(host-test-program-cmd).
26431 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26432 $(run-program-prefix) with $(test-program-prefix).
26433 ($(objpfx)tst-printf.out): Likewise.
26434 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26435 $(test-program-cmd).
26436 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26437 (test_program_prefix): This.
26438 * stdio-common/tst-unbputc.sh: Likewise.
26439 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26440 $(run-program-prefix) with $(test-program-prefix).
26441 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26442 (test_program_prefix): This.
26443 * string/Makefile ($(objpfx)tst-svc.out): Replace
26444 $(built-program-cmd) with $(test-program-cmd).
26445
c6fe55cf
AJ
264462013-01-11 Andreas Jaeger <aj@suse.de>
26447
26448 [BZ #15003]
26449 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26450 value. Sync with Linux 3.7.
26451
9e6919c8
DM
264522013-01-10 David S. Miller <davem@davemloft.net>
26453
26454 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26455 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26456 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26457
1c9f1a02
RM
264582013-01-10 Roland McGrath <roland@hack.frob.com>
26459
26460 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26461 never set.
26462 * configure: Regenerated.
26463
b9de2dde
DM
264642013-01-10 David S. Miller <davem@davemloft.net>
26465
26466 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26467 sparc V9 rather than using V8 code.
26468 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26469 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26470
e7f68ef4
RM
264712013-01-10 Roland McGrath <roland@hack.frob.com>
26472
26473 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26474 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26475 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26476 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26477 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26478 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26479 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26480 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26481 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26482 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26483 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26484 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26485 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26486 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26487 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26488 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26489 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26490 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26491 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26492 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26493 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26494 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26495 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26496 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26497 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26498 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26499 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26500
5a47cc9c
DM
265012013-01-10 David S. Miller <davem@davemloft.net>
26502
26503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26504
4cf8f209
L
265052013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26506
26507 * posix/Makefile (tests-static): New variable.
26508 (tests): Add $(tests-static).
26509 (tst-exec-static-ARGS): New variable.
26510 (tst-spawn-static-ARGS): Likewise.
26511 * posix/tst-exec-static.c: New file.
26512 * posix/tst-spawn-static.c: Likewise.
26513 * posix/tst-exec.c: Support run directly.
26514 * posix/tst-spawn.c: Likewise.
26515
fed0faa1
JM
265162013-01-10 Joseph Myers <joseph@codesourcery.com>
26517
828beb13
JM
26518 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26519 long.
26520 * math/bits/mathcalls.h (llrint): Likewise.
26521 (llround): Likewise.
26522 * stdlib/stdlib.h (struct drand48_data): Likewise.
26523 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26524 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26525 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26526 Likewise.
26527 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26528 Likewise.
26529 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26530 (elf_greg_t): Likewise.
26531 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26532 (__jmp_buf): Likewise.
26533 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26534 definitions.
26535 (llrint): Likewise, for all definitions.
26536 (llrintl): Likewise.
26537
fed0faa1
JM
26538 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26539 Remove [__GNUC__] condition.
26540 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26541 condition to just [__USE_ISOC99].
26542 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26543
1a20cb20
L
265442013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26545
26546 [BZ #14200]
26547 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26548 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26549 defined.
26550 (_POSIX_V6_ILP32_OFF32): Likewise.
26551 (_XBS5_ILP32_OFF32): Likewise.
26552 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26553 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26554
751b85f7
SP
265552013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26556
7490eb81
SP
26557 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26558
751b85f7
SP
26559 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26560 doubles __mpexp_twomm1. Adjust usage.
26561 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26562 Remove.
26563
988197f0
AS
265642013-01-10 Andreas Schwab <schwab@suse.de>
26565
26566 [BZ #14964]
26567 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26568 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26569
e83d7298
DM
265702013-01-09 David S. Miller <davem@davemloft.net>
26571
034ed64b 26572 [BZ #15003]
57f41c40
AS
26573 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26574 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26575 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26576 (TCP_FASTOPEN): Define.
e83d7298
DM
26577 (tcp_repair_opt): New structure.
26578 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26579 enum values.
57f41c40
AS
26580 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26581 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26582 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
26583 (tcp_cookie_transactions): New structure.
26584
d5e0b9bd
AB
265852013-01-09 Anton Blanchard <anton@samba.org>
26586
26587 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26588 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26589 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26590 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26591
0c07e3ea
JM
265922013-01-09 Joseph Myers <joseph@codesourcery.com>
26593
26594 * include/features.h (__USE_ANSI): Remove.
26595
232f7002
RM
265962013-01-09 Roland McGrath <roland@hack.frob.com>
26597
ad98e30c
RM
26598 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26599
232f7002
RM
26600 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26601
950c99ca
SP
266022013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26603
b5792741
SP
26604 * sysdeps/s390/fpu/libm-test-ulps: Update.
26605
47cf2278
SP
26606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26607
950c99ca
SP
26608 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26609 (__acr): Likewise.
26610 (__cpy): Likewise.
26611 (norm): Likewise.
26612 (denorm): Likewise.
26613 (__mp_dbl): Likewise.
26614 (__dbl_mp): Likewise.
26615 (add_magnitudes): Likewise.
26616 (sub_magnitudes): Likewise.
26617 (__add): Likewise.
26618 (__sub): Likewise.
26619 (__mul): Likewise.
26620 (__inv): Likewise.
26621 (__dvd): Likewise.
26622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26623 (__acr): Likewise.
26624 (__cpy): Likewise.
26625 (norm): Likewise.
26626 (denorm): Likewise.
26627 (__mp_dbl): Likewise.
26628 (__dbl_mp): Likewise.
26629 (add_magnitudes): Likewise.
26630 (sub_magnitudes): Likewise.
26631 (__add): Likewise.
26632 (__sub): Likewise.
26633 (__mul): Likewise.
26634 (__inv): Likewise.
26635 (__dvd): Likewise.
26636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26637 (__acr): Likewise.
26638 (__cpy): Likewise.
26639 (norm): Likewise.
26640 (denorm): Likewise.
26641 (__mp_dbl): Likewise.
26642 (__dbl_mp): Likewise.
26643 (add_magnitudes): Likewise.
26644 (sub_magnitudes): Likewise.
26645 (__add): Likewise.
26646 (__sub): Likewise.
26647 (__mul): Likewise.
26648 (__inv): Likewise.
26649 (__dvd): Likewise.
26650
eede9df9
JM
266512013-01-08 Joseph Myers <joseph@codesourcery.com>
26652
26653 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26654 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26655 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26656 2 && __USE_EXTERN_INLINES]: Likewise.
26657
c40ea3d9
AJ
266582013-01-08 Andreas Jaeger <aj@suse.de>
26659
26660 [BZ# 14985]
26661 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26662 Remove.
26663 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26664 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26665
2ccdea26
AB
266662013-01-07 Anton Blanchard <anton@samba.org>
26667
26668 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26669 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26670 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26671 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26672 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26673 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26674 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26675 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26677 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26678 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26679 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26680 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26681 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26682 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26683 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26684 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26685 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26686 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26687 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26688 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26689 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26690 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26691 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26692 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26693 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26694 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26695 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26696 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26697 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26698 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26700 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26701 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26702 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26703 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26704 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26705 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26706 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26707 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26708 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26709 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26710 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26711
a9708fed
JM
267122013-01-07 Joseph Myers <joseph@codesourcery.com>
26713
375607b9
JM
26714 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26715 (__MALLOC_PMT): Likewise.
26716 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26717 [__GNUC__], only on [_LIBC].
26718 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26719 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26720 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26721 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26722 forward declaration.
26723 (realloc_hook_ini): Likewise.
26724 (memalign_hook_ini): Likewise.
26725 (__libc_memalign): Do not use __MALLOC_PMT in variable
26726 declaration.
26727 (__libc_valloc): Likewise.
26728 (__libc_pvalloc): Likewise.
26729 (__libc_calloc): Likewise.
26730 (__posix_memalign): Likewise.
26731
a9708fed
JM
26732 [BZ #14996]
26733 * math/s_casinh.c: Include <float.h>.
26734 (__casinh): Do not do computation with squaring and square root
26735 for large arguments.
26736 * math/s_casinhf.c: Include <float.h>.
26737 (__casinhf): Do not do computation with squaring and square root
26738 for large arguments.
26739 * math/s_casinhl.c: Include <float.h>.
26740 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26741 (__casinhl): Do not do computation with squaring and square root
26742 for large arguments.
26743 * math/libm-test.inc (casin_test): Add more tests.
26744 (casinh_test): Likewise.
26745 * sysdeps/i386/fpu/libm-test-ulps: Update.
26746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26747
afec409a
L
267482013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26749
26750 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26751 (__x86_64_raw_data_cache_size): Likewise.
26752 (__x86_64_data_cache_size_half): Likewise.
26753 (__x86_64_raw_data_cache_size_half): Likewise.
26754 (__x86_64_shared_cache_size): Likewise.
26755 (__x86_64_raw_shared_cache_size): Likewise.
26756 (__x86_64_shared_cache_size_half): Likewise.
26757 (__x86_64_raw_shared_cache_size_half): Likewise.
26758 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26759 to ...
26760 (__x86_data_cache_size): This.
26761 (__x86_64_raw_data_cache_size): Renamed to ...
26762 (__x86_raw_data_cache_size): This.
26763 (__x86_64_data_cache_size_half): Renamed to ...
26764 (__x86_data_cache_size_half): This.
26765 (__x86_64_raw_data_cache_size_half): Renamed to ...
26766 (__x86_raw_data_cache_size_half): This.
26767 (__x86_64_shared_cache_size): Renamed to ...
26768 (__x86_shared_cache_size): This.
26769 (__x86_64_raw_shared_cache_size): Renamed to ...
26770 (__x86_raw_shared_cache_size): This.
26771 (__x86_64_shared_cache_size_half): Renamed to ...
26772 (__x86_shared_cache_size_half): This.
26773 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26774 (__x86_raw_shared_cache_size_half): This.
26775 * sysdeps/x86_64/memcpy.S: Updated.
26776 * sysdeps/x86_64/memset.S: Likewise.
26777 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26778 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26779 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26780
0b3986d0
DM
267812013-01-04 David S. Miller <davem@davemloft.net>
26782
26783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26784
e47686e9
AS
267852013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26786
d643bac1
AS
26787 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26788 1 to avoid redefinition warning.
26789 (__USE_GNU): Don't define.
26790 (init_signaling_nan): Protoize.
26791
e47686e9
AS
26792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26793
b18decba
SP
267942013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26795
fffb407f
SP
26796 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26798 (__cpymn): Likewise.
26799 (norm): Remove commented code.
26800 (denorm): Likewise.
26801 (__mp_dbl): Likewise.
26802 (__inv): Likewise.
26803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26804 (__cpymn): Likewise.
26805 (norm): Remove commented code.
26806 (denorm): Likewise.
26807 (__mp_dbl): Likewise.
26808 (__inv): Likewise.
26809
b18decba
SP
26810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26811 mp_no value for 1.0 and 2.0.
26812 (norm): Use RADIXI instead of radixi.d.
26813 (denorm): Likewise.
26814 (__mul): Use 0.0 instead of zero.d.
26815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26816 mp_no value for 1.0 and 2.0.
26817 (norm): Use RADIXI instead of radixi.d.
26818 (denorm): Likewise.
26819 (__mul): Use 0.0 instead of zero.d.
26820
cdc1c96f
JM
268212013-01-04 Joseph Myers <joseph@codesourcery.com>
26822
26823 [BZ #14994]
26824 * math/s_casinh.c (__casinh): Reduce finite argument to first
26825 quadrant then set signs of results at the end.
26826 * math/s_casinhf.c (__casinhf): Likewise.
26827 * math/s_casinhl.c (__casinhl): Likewise.
26828 * math/libm-test.inc (casin_test): Add more tests.
26829 (casinh_test): Likewise.
26830 * sysdeps/i386/fpu/libm-test-ulps: Update.
26831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26832
302913e1
SP
268332013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26834
6420d207
SP
26835 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26836
a9e48ab4
SP
26837 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26838
b7837264
SP
26839 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26840 declarations.
26841 (denorm): Likewise.
26842 (__mp_dbl): Likewise.
26843 (__inv): Likewise.
26844
f8af25d2
SP
26845 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26846 and adjust the header comment.
26847
302913e1
SP
26848 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26849 variable name from declaration.
26850
5d7dd1ca
L
268512013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26852
26853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26854 Initialize COMMON_CPUID_INDEX_7 element.
26855 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26856 (CPUID_RTM): Likewise.
26857 (HAS_RTM): Likewise.
26858 (COMMON_CPUID_INDEX_7): New enum.
26859
2f5f40f4
AS
268602013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26861
26862 [BZ #14981]
26863 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26864 size is zero, record memory as freed.
26865
4056f4a0
AJ
268662013-01-03 Andreas Jaeger <aj@suse.de>
26867
26868 * po/ia.po: Add new Interlingua translation.
26869
ab15736f 268702012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
26871
26872 * locale/programs/localedef.c: Fix description of '--posix' flag.
26873
568035b7
JM
268742013-01-02 Joseph Myers <joseph@codesourcery.com>
26875
e6898b8d
JM
26876 * NEWS: Update dates in second copyright notice.
26877 * README: Update copyright dates in example.
26878 * manual/libc.texinfo: Update copyright dates.
26879 * scripts/test-installation.pl: Update copyright date in --version
26880 output.
26881
0e2f9562
JM
26882 * hurd/ctty-input.c: Fix copyright notice formatting.
26883 * hurd/ctty-output.c: Likewise.
26884 * hurd/dtable.c: Likewise.
26885 * hurd/hurd-raise.c: Likewise.
26886 * hurd/hurdprio.c: Likewise.
26887 * hurd/msgportdemux.c: Likewise.
26888 * misc/sys/file.h: Likewise.
26889 * misc/sys/ioctl.h: Likewise.
26890 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26891 * sysdeps/mach/hurd/chdir.c: Likewise.
26892 * sysdeps/mach/hurd/fchdir.c: Likewise.
26893 * sysdeps/mach/hurd/rename.c: Likewise.
26894 * sysdeps/mach/hurd/rmdir.c: Likewise.
26895 * sysdeps/mach/hurd/seekdir.c: Likewise.
26896 * sysdeps/mach/hurd/setsid.c: Likewise.
26897 * sysdeps/posix/wait3.c: Likewise.
26898
568035b7
JM
26899 * All files with FSF copyright notices: Update copyright dates
26900 using scripts/update-copyrights.
26901 * intl/plural.c: Regenerated.
26902 * locale/programs/charmap-kw.h: Likewise.
26903 * locale/programs/locfile-kw.h: Likewise.
26904
da08f647
SP
269052013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26906
0f5477af
SP
26907 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26908 four values.
26909
44e0d4c2
SP
26910 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26911 calculation loop and add branch prediction.
26912
4d55b4e5
SP
26913 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26914 check access beyond bounds of m1np.
26915
da08f647
SP
26916 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26917 MPTWO.
26918 (__inv): Remove local variable MPTWO to use the global
26919 constant.
26920 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26921 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26922 variable MPTWO.
26923 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26924 MP3HALFS static const.
26925
8e051029
DM
269262013-01-01 David S. Miller <davem@davemloft.net>
26927
26928 * po/ca.po: Update from translation team.
26929
f4cf5f2d
JM
269302013-01-01 Joseph Myers <joseph@codesourcery.com>
26931
26932 * scripts/update-copyrights: New file.
26933 * Makeconfig: Reformat copyright notice.
26934 * ctype/ctype.h: Likewise.
26935 * debug/swprintf_chk.c: Likewise.
26936 * elf/dl-cache.c: Likewise.
26937 * elf/dl-debug.c: Likewise.
26938 * elf/dl-object.c: Likewise.
26939 * grp/initgroups.c: Likewise.
26940 * hurd/Makefile: Likewise.
26941 * hurd/hurd/signal.h: Likewise.
26942 * hurd/hurdfault.c: Likewise.
26943 * hurd/hurdioctl.c: Likewise.
26944 * hurd/hurdlookup.c: Likewise.
26945 * hurd/intr-msg.c: Likewise.
26946 * iconv/gconv_open.c: Likewise.
26947 * libio/swprintf.c: Likewise.
26948 * locale/lc-ctype.c: Likewise.
26949 * locale/nl_langinfo.c: Likewise.
26950 * mach/Machrules: Likewise.
26951 * mach/Makefile: Likewise.
26952 * malloc/obstack.h: Likewise.
26953 * manual/Makefile: Likewise.
26954 * manual/tsort.awk: Likewise.
26955 * misc/bits/stab.def: Likewise.
26956 * nis/nis_print_group_entry.c: Likewise.
26957 * nis/nis_table.c: Likewise.
26958 * nis/nss_compat/compat-pwd.c: Likewise.
26959 * nis/nss_compat/compat-spwd.c: Likewise.
26960 * po/Makefile: Likewise.
26961 * posix/fnmatch.c: Likewise.
26962 * posix/regex.h: Likewise.
26963 * resolv/Makefile: Likewise.
26964 * resolv/nss_dns/dns-network.c: Likewise.
26965 * resolv/res_hconf.c: Likewise.
26966 * scripts/gen-sorted.awk: Likewise.
26967 * soft-fp/soft-fp.h: Likewise.
26968 * stdio-common/printf.h: Likewise.
26969 * stdlib/monetary.h: Likewise.
26970 * stdlib/random.c: Likewise.
26971 * stdlib/random_r.c: Likewise.
26972 * sysdeps/generic/Makefile: Likewise.
26973 * sysdeps/gnu/Makefile: Likewise.
26974 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26975 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26976 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26977 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26978 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26979 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26980 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26981 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26982 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26983 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26984 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26985 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26986 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26987 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26988 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26989 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26990 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26991 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26992 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26993 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26994 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26995 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26996 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26997 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26998 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26999 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27000 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27001 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27002 * sysdeps/mach/hurd/errnos.awk: Likewise.
27003 * sysdeps/mach/hurd/fork.c: Likewise.
27004 * sysdeps/mach/hurd/getcwd.c: Likewise.
27005 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27006 * sysdeps/mach/hurd/mmap.c: Likewise.
27007 * sysdeps/mach/hurd/utimes.c: Likewise.
27008 * sysdeps/mach/hurd/xmknod.c: Likewise.
27009 * sysdeps/posix/profil.c: Likewise.
27010 * sysdeps/posix/readdir_r.c: Likewise.
27011 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27012 * sysdeps/powerpc/bits/setjmp.h: Likewise.
27013 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27014 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27016 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27017 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27018 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27019 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27020 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27021 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27022 * sysdeps/pthread/lio_listio.c: Likewise.
27023 * sysdeps/sparc/dl-procinfo.h: Likewise.
27024 * sysdeps/unix/i386/sysdep.S: Likewise.
27025 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27026 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27027 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27028 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27030 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27031 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27032 * sysdeps/unix/sysv/linux/speed.c: Likewise.
27033 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27034 * sysdeps/wordsize-32/divdi3.c: Likewise.
27035 * time/sys/time.h: Likewise.
27036 * wcsmbs/Makefile: Likewise.
27037
0549fbba
DM
270382013-01-01 David S. Miller <davem@davemloft.net>
27039
a141f1a7
DM
27040 * po/fr.po: Update from translation team.
27041
0549fbba
DM
27042 * catgets/gencat.c: Update copyright year.
27043 * csu/version.c: Likewise.
27044 * debug/catchsegv.sh: Likewise.
27045 * debug/pcprofiledump.c: Likewise.
27046 * debug/xtrace.sh: Likewise.
27047 * elf/ldconfig.c: Likewise.
27048 * elf/ldd.bash.in: Likewise.
27049 * elf/pldd.c: Likewise.
27050 * elf/sotruss.ksh: Likewise.
27051 * elf/sprof.c: Likewise.
27052 * iconv/iconv_prog.c: Likewise.
27053 * iconv/iconvconfig.c: Likewise.
27054 * locale/programs/locale.c: Likewise.
27055 * locale/programs/localedef.c: Likewise.
27056 * login/programs/pt_chown.c: Likewise.
27057 * malloc/memusage.sh: Likewise.
27058 * malloc/memusagestat.c: Likewise.
27059 * malloc/mtrace.pl: Likewise.
27060 * nscd/nscd.c: Likewise.
27061 * nss/getent.c: Likewise.
27062 * nss/makedb.c: Likewise.
27063 * posix/getconf.c: Likewise.
27064
18ea052c
SP
270652012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27066
27067 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27068 numbers.
27069
9c89fca6
MF
270702012-12-30 Mike Frysinger <vapier@gentoo.org>
27071
27072 * math/bits/mathcalls.h (modf): Use __nonnull.
27073
085ec079
SP
270742012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27075
27076 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27077 (split): Use macro CN instead of the bare value.
27078 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27079 could be used.
27080 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27081 instead of the bare value.
27082 (power1): Likewise.
27083
6d9f97e1
SP
270842012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27085
d63f73be
SP
27086 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27087 __ATAN_TWOM.
27088 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27089
6d9f97e1
SP
27090 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27091 their values.
27092 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27093 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27094 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27095 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27096
4c4febf5
AJ
270972012-12-28 Andreas Jaeger <aj@suse.de>
27098
af5843ef
AJ
27099 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27100 values are from Linux 3.7.
27101
4c4febf5
AJ
27102 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27103 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27104
99136f82
SP
271052012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27106
2f216c3c 27107 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
27108 TRUE case.
27109
99136f82
SP
27110 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27111 (norm): Likewise.
27112 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27113 variables with preprocessor constants.
27114 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27115 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27116 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27117
7fffbdff
BH
271182012-12-27 Bruno Haible <bruno@clisp.org>
27119
27120 [BZ #14317]
27121 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27122 only if needed.
27123
b76eb5f0
SP
271242012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27125
31a7fe5c
SP
27126 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27127 and use variable directly.
27128 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27129
b76eb5f0
SP
27130 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27131 MPONE.
27132 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27133 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27134 variable MPONE.
27135 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27136 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27137 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27138 include directive. Remove local variable MPONE.
27139 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27140 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27141 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27142
2c8bfe7d
DM
271432012-12-25 David S. Miller <davem@davemloft.net>
27144
27145 * version.h (RELEASE): Set to "development".
27146 (VERSION): Set to "2.17.90".
27147 * NEWS: Add 2.18 section.
27148
147d03b0
DM
271492012-12-21 David S. Miller <davem@davemloft.net>
27150
27151 * po/hr.po: Update from translation team.
27152
a8ebb2b9
AK
271532012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27154
27155 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27156
95b4f1b6
SE
271572012-12-19 Steve Ellcey <sellcey@mips.com>
27158
b2d94007 27159 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 27160
cedb2a90
MS
271612012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27162
27163 * manual/contrib.texi (Contributors): Spelling correction.
27164
bbf527d6
DM
271652012-12-15 David S. Miller <davem@davemloft.net>
27166
27167 * po/ru.po: Update from translation team.
27168
bc38c906
DM
271692012-12-13 David S. Miller <davem@davemloft.net>
27170
85429b1a
DM
27171 * NEWS: Mention IFUNC testsuite enhancements.
27172
d283e353
DM
27173 * po/pl.po: Update from translation team.
27174 * po/bg.po: Likewise.
27175
bc38c906
DM
27176 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27177 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27178
a181b0d7
DM
271792012-12-11 David S. Miller <davem@davemloft.net>
27180
4641d57e
DM
27181 * po/sv.po: Update from translation team.
27182
f7bc6495
DM
27183 * po/vi.po: Update from translation team.
27184
6fc9048f
DM
27185 * po/cs.po: Update from translation team.
27186
a181b0d7
DM
27187 * po/de.po: Update from translation team.
27188 * po/eo.po: Likewise.
27189 * po/nl.po: Likewise.
27190
f70bfe80
SP
271912012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27192
3c8b4190
SP
27193 [BZ #14246]
27194 * manual/argp.texi (Argp Helper Functions): Move node to follow
27195 Argp Parsing State.
27196
f70bfe80
SP
27197 [BZ #14872]
27198 * manual/conf.texi (Limits on File System Capacity): Mention if
27199 terminating null is included in the max size.
27200
188f0adf
AJ
272012012-12-10 Andreas Jaeger <aj@suse.de>
27202
27203 * po/cs.po: Update from translation team.
27204
56e7d3ad
SP
272052012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27206
27207 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27208 void pointer and cast to uintptr_t.
27209 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27210 path.
27211 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27212 * sysdeps/s390/s390-64/memset.S: Likewise.
27213
76f2d2ea 272142012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
27215
27216 [BZ #14833]
27217 * menual/message.texi (Message Translation): Fix typos.
27218 (Helper programs for gettext): Likewise.
27219
67cbf9a2
AS
272202012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27221
27222 [BZ #14898]
27223 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27224 Change to -1.
27225
682d0e9a
DM
272262012-12-07 David S. Miller <davem@davemloft.net>
27227
27228 * po/libc.pot: Update.
27229
573cd484
RH
272302012-12-07 Richard Henderson <rth@redhat.com>
27231
7e9da188 27232 [BZ #10114]
573cd484
RH
27233 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27234 normal/normal case to before the switch.
27235 (_FP_DIV): Likewise.
27236
e933a943
MF
272372012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27238 Mike Frysinger <vapier@gentoo.org>
27239
27240 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27241 check for __NR_fadvise64_64.
27242
82123268
CM
272432012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27244
27245 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27246 0, not just to plain "0" as a statement.
27247 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27248 with cw.
27249
d9814526
JM
272502012-12-06 Joseph Myers <joseph@codesourcery.com>
27251
27252 * NEWS: Use sourceware.org in Bugzilla URL.
27253
7728c574
SP
272542012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27255
f16946dd
SP
27256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27257 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27258
5704bbcb
SP
27259 * stdio-common/tst-put-error.c (do_test): Add newline to the
27260 padded test to ensure flush.
27261
17aa0516
JL
272622012-12-05 Jeff Law <law@redhat.com>
27263
27264 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27265
363313b5
JM
272662012-12-05 Joseph Myers <joseph@codesourcery.com>
27267
effbd42a
JM
27268 * README: Don't refer to ports add-on as distributed separately.
27269 Mention AArch64 in list of systems supported in the ports add-on.
27270
87600365
JM
27271 * LICENSES: Add more non-FSF copyright and license notices.
27272
a0d7066a
JM
27273 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27274 ((unused)).
27275
66ca5a5b
JM
27276 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27277
363313b5
JM
27278 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27279 10000 as width of padded output.
27280
b37984ad
JM
272812012-12-04 Joseph Myers <joseph@codesourcery.com>
27282
9003570a
JM
27283 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27284
b37984ad
JM
27285 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27286 variable LX with __attribute__ ((unused)).
27287 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27288 Likewise.
27289 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27290 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27291 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27292 with __attribute__ ((unused)).
27293
c8df52ec
DM
272942012-12-04 David S. Miller <davem@abraco.davemloft.net>
27295
27296 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27297
b3b099af
JM
272982012-12-04 Joseph Myers <joseph@codesourcery.com>
27299
c33aa6e3
JM
27300 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27301 (CFLAGS-nldbl-acos.c): New variable.
27302 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27303 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27304 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27305 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27306 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27307 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27308 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27309 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27310 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27311 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27312 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27313 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27314 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27315 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27316 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27317 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27318 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27319 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27320 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27321 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27322 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27323 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27324 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27325 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27326 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27327 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27328 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27329 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27330 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27331 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27332 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27333 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27334 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27335 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27336 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27337 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27338 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27339 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27340 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27341 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27342 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27343 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27344 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27345 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27346 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27347 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27348 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27349 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27350 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27351 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27352 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27353 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27354 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27355 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27356 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27357 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27358 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27359 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27360 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27361 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27362 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27363 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27364 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27365 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27366 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27367 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27368 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27369 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27370 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27371 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27372 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27373 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27374 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27375 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27376 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27377 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27378 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27379 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27380 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27381 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27382 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27383 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27384 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27385 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27386 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27387 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27388 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27389 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27390 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27391 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27392 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27393 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27394 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27395 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27396 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27397 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27398 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27399
20f0018d
JM
27400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27401 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27402
b3b099af
JM
27403 [BZ #14914]
27404 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27405 whole low double instead of just low 47 bits when splitting values
27406 into two parts.
27407
029264d1
AM
274082012-12-03 Allan McRae <allan@archlinux.org>
27409
27410 * manual/stdio.texi (Predefined Printf Handlers): Remove
27411 @hsep and @vsep usage.
27412
c9d6789e
MF
274132012-12-03 Mike Frysinger <vapier@gentoo.org>
27414
27415 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27416 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27417
4b7634a5
JL
274182012-12-03 Jeff Law <law@redhat.com>
27419
27420 * time/sys/time.h (settimeofday): Do not mark TV argument
27421 as __nonnull.
27422
eb6cbd24
MF
274232012-12-01 Mike Frysinger <vapier@gentoo.org>
27424
27425 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27426 when currently writing and seek to current position when not.
27427 * libio/Makefile (tests): Remove bug-fclose1.
27428 * libio/bug-fclose1.c: Delete.
27429
f638872a
JM
274302012-12-01 Joseph Myers <joseph@codesourcery.com>
27431
27432 * manual/arith.texi (feenableexcept): Fix typo.
27433 (fedisableexcept): Likewise.
27434
48085d14
RM
274352012-11-30 Roland McGrath <roland@hack.frob.com>
27436
27437 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27438 second, differently-typed declaration, rather than a cast.
27439
1a538b9f
SP
274402012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27441
27442 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27443 * include/rpc/svc.h: ... here.
27444
d07f2ff1 274452012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
27446
27447 [BZ #13013]
27448 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27449 depending n and resplen2 to catch cases where answer
27450 equals answerp2.
27451
c93ec1f0
CD
274522012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27453
27454 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27455 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27456
37db69de
MF
274572012-11-29 Mike Frysinger <vapier@gentoo.org>
27458
27459 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27460
e10c4e4f
RM
274612012-11-29 Roland McGrath <roland@hack.frob.com>
27462
27463 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27464
2af1b328
JL
274652012-11-28 Jeff Law <law@redhat.com>
27466
27467 [BZ #13761]
27468 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27469 dataset_temporary. Track alloca usage into alloca_used.
27470 If dataset is large allocate and release it via malloc/free.
27471
111db5b1
FW
274722012-06-04 Florian Weimer <fweimer@redhat.com>
27473
f06cc227 27474 [BZ #14197]
111db5b1
FW
27475 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27476
dd694abd
DM
274772012-11-28 David S. Miller <davem@davemloft.net>
27478
27479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27480
9984dd01
JM
274812012-11-28 Joseph Myers <joseph@codesourcery.com>
27482
27483 [BZ #14803]
27484 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27485 of pi/2 rounded to nearest to 64 bits.
27486 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27487 nearest to 64 bits.
27488 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27489 bits.
27490
14bc93a9
JL
274912012-11-28 Jeff Law <law@redhat.com>
27492 Martin Osvald <mosvald@redhat.com>
27493
27494 [BZ #14889]
27495 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27496 * sunrpc/svc.c: Include time.h.
27497 (__svc_accept_failed): New function.
27498 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27499 any reason other than EINTR, call __svc_accept_failed.
27500 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27501 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27502
e3c6aa3a
AS
275032012-11-28 Andreas Schwab <schwab@suse.de>
27504
27505 * scripts/abilist.awk: Also handle indirect functions in .opd
27506 section.
27507
1bead169
JM
275082012-11-28 Joseph Myers <joseph@codesourcery.com>
27509
27510 [BZ #13881]
27511 * sysdeps/x86/fpu/powl_helper.c: New file.
27512 * sysdeps/x86/fpu/Makefile: Likewise.
27513 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27514 (p3): New object.
27515 (__ieee754_powl): Use __powl_helper for finite arguments except
27516 integer exponents below 8.
27517 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27518 (p3): New object.
27519 (__ieee754_powl): Use __powl_helper for finite arguments except
27520 integer exponents below 8.
27521 * math/libm-test.inc (pow_test): Add more tests and enable some
27522 previously disabled tests.
27523 * sysdeps/i386/fpu/libm-test-ulps: Update.
27524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27525
0817d63d
SP
275262012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27527 Carlos O'Donell <carlos_odonell@mentor.com>
27528
27529 * nss/makedb.c (is_prime): Assert that input is odd and greater
27530 than 4. Note that fact in a comment too.
27531 (next_prime): Add 4 to input.
27532
de2fd463
SP
275332012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27534
27535 [BZ #11741]
27536 * libio/Makefile (tests): Add test case tst-fwrite-error.
27537 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27538 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27539 * libio/tst-fwrite-error.c: New test case.
27540
c515fb51
L
275412012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27542
27543 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27544 before casting to void *.
27545 * include/libc-internal.h (__pointer_type): New macro.
27546 (__integer_if_pointer_type_sub): Likewise.
27547 (__integer_if_pointer_type): Likewise.
27548 (cast_to_integer): Likewise.
27549 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27550 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27551 before casting to atomic64_t.
27552 (atomic_exchange_acq): Likewise.
27553 (__arch_exchange_and_add_body): Likewise.
27554 (__arch_add_body): Likewise.
27555 (atomic_add_negative): Likewise.
27556 (atomic_add_zero): Likewise.
27557
4cf77aa9
JM
275582012-11-26 Joseph Myers <joseph@codesourcery.com>
27559
27560 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27561 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27562 (add_fdes): Likewise.
27563 (linear_search_fdes): Likewise.
27564 (binary_search_unencoded_fdes): Likewise.
27565
d260b3b4
AS
275662012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27567
27568 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27569
67060746
AC
275702012-11-24 Adam Conrad <adconrad@0c3.net>
27571
27572 * configure.in: Autodetect C++ header directories.
27573 * configure: Regenerated.
27574
800938a1
MF
275752012-11-23 Mike Frysinger <vapier@gentoo.org>
27576
27577 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27578
4e6e34e6
AS
275792012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27580
27581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27582
7c7feb47
JM
275832012-11-22 Joseph Myers <joseph@codesourcery.com>
27584
7184dcdf
JM
27585 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27586 LDBL_MANT_DIG == 106]: Disable some tests.
27587 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27588 Likewise.
27589 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27590 Likewise.
27591
0a42601f
JM
27592 [BZ #14871]
27593 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27594 input for small inputs. Return +/- pi/2 for large inputs.
27595 * math/libm-test.inc (atan_test): Add more tests.
27596
79c9b9fe
JM
27597 * sysdeps/generic/unwind-dw2-fde-glibc.c
27598 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27599 __attribute__ ((unused)).
27600
c60d3bf2
JM
27601 [BZ #14645]
27602 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27603 x * y if x and y are nonzero and z is zero.
27604
ef1e0867
JM
27605 [BZ #14811]
27606 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27607 nonzero exponents with absolute value below 0x1p-117 to +/-
27608 0x1p-117.
27609
1468ded3
JM
27610 [BZ #14869]
27611 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27612 up arguments below 2**-450, not just those below 2**-500.
27613 * math/libm-test.inc (hypot_test): Add another test.
27614
8e27e3cc
JM
27615 [BZ #14868]
27616 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27617 Return a+b for ratio over 2**120, not 2**60.
27618 * math/libm-test.inc (hypot_test): Add another test.
27619
c9c0279b
JM
27620 * math/libm-test.inc (clog_test): Use
27621 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27622 (clog10_test): Likewise.
27623
7c7feb47
JM
27624 [BZ #6778]
27625 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27626
fff1530e
AS
276272012-11-22 Andreas Schwab <schwab@suse.de>
27628
27629 * sysdeps/i386/fpu/libm-test-ulps: Update.
27630
94558d30
PT
276312012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27632
27633 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27634 printf output with newline.
27635
7e1be741
L
276362012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27637
6bfea974
L
27638 [BZ #14865]
27639 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27640 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27641 -z nodlopen, -z initfirst and -z execstack support.
27642 * configure: Regenerated.
27643
7e1be741
L
27644 * elf/elf.h (DF_1_NODIRECT): New macro.
27645 (DF_1_IGNMULDEF): Likewise.
27646 (DF_1_NOKSYMS): Likewise.
27647 (DF_1_NOHDR): Likewise.
27648 (DF_1_EDITED): Likewise.
27649 (DF_1_NORELOC): Likewise.
27650 (DF_1_SYMINTPOSE): Likewise.
27651 (DF_1_GLOBAUDIT): Likewise.
27652 (DF_1_SINGLETON): Likewise.
27653 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27654 DT_1_SUPPORTED_MASK bits.
27655 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27656
105ce2ce
CD
276572012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27658
27659 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27660
123be9de
TS
276612012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27662
d072f3f7
TS
27663 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27664 macro.
27665
123be9de
TS
27666 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27667 (sendmmsg): Move declarations...
27668 * socket/sys/socket.h: ... here.
27669 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27670 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27671 include it from...
27672 * socket/recvmmsg.c: ... this new file.
27673 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27674 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27675 definition of __sendmmsg hidden.
27676 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27677 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27678 Move ENOSYS stub into and include it from...
27679 * socket/sendmmsg.c: ... this new file.
27680 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27681 (sysdep_routines): Move recvmmsg and sendmmsg...
27682 * socket/Makefile (routines): ... here.
27683 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27684 (GLIBC_PRIVATE): Add __sendmmsg.
27685 * include/sys/socket.h (__sendmmsg): Add declarations.
27686 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27687 sendmmsg.
27688
cf9a5d18
JM
276892012-11-20 Joseph Myers <joseph@codesourcery.com>
27690
27691 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27692 variable I1 with __attribute__ ((unused)).
27693 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27694
ecd4caf9
JM
276952012-11-19 Joseph Myers <joseph@codesourcery.com>
27696
be14d48f
JM
27697 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27698 DUMMY variables with __attribute__ ((unused)).
27699
ecd4caf9
JM
27700 * bits/byteswap.h: Include <bits/types.h>.
27701 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27702
986cab95
PT
277032012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27704
27705 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27706 string_t. Do not manually set errno.
27707 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27708 length with __strnlen. Make sure to both set errno and return it on
27709 failure.
27710
6d33cc9d
DM
277112012-11-19 David S. Miller <davem@davemloft.net>
27712
27713 With help from Joseph Myers.
27714 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27715 very large arguments properly.
27716 * math/libm-test.inc (atan_test): New tests.
27717 (atan2_test): New tests.
27718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27720
ee663277
JM
277212012-11-19 Joseph Myers <joseph@codesourcery.com>
27722
877f2d8e
JM
27723 [BZ #14856]
27724 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27725 Define to 3.
27726
116fc08a
JM
27727 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27728 [POSIX] (EADDRNOTAVAIL): Likewise.
27729 [POSIX] (EAFNOSUPPORT): Likewise.
27730 [POSIX] (EALREADY): Likewise.
27731 [POSIX] (ECONNABORTED): Likewise.
27732 [POSIX] (ECONNREFUSED): Likewise.
27733 [POSIX] (ECONNRESET): Likewise.
27734 [POSIX] (EDESTADDRREQ): Likewise.
27735 [POSIX] (EDQUOT): Likewise.
27736 [POSIX] (EHOSTUNREACH): Likewise.
27737 [POSIX] (EIDRM): Likewise.
27738 [POSIX] (EISCONN): Likewise.
27739 [POSIX] (ELOOP): Likewise.
27740 [POSIX] (EMULTIHOP): Likewise.
27741 [POSIX] (ENETDOWN): Likewise.
27742 [POSIX] (ENETUNREACH): Likewise.
27743 [POSIX] (ENOBUFS): Likewise.
27744 [POSIX] (ENODATA): Likewise.
27745 [POSIX] (ENOLINK): Likewise.
27746 [POSIX] (ENOMSG): Likewise.
27747 [POSIX] (ENOPROTOOPT): Likewise.
27748 [POSIX] (ENOSR): Likewise.
27749 [POSIX] (ENOSTR): Likewise.
27750 [POSIX] (ENOTCONN): Likewise.
27751 [POSIX] (ENOTSOCK): Likewise.
27752 [POSIX] (EOPNOTSUPP): Likewise.
27753 [POSIX] (EOVERFLOW): Likewise.
27754 [POSIX] (EPROTO): Likewise.
27755 [POSIX] (EPROTONOSUPPORT): Likewise.
27756 [POSIX] (EPROTOTYPE): Likewise.
27757 [POSIX] (ESTALE): Likewise.
27758 [POSIX] (ETIME): Likewise.
27759 [POSIX] (ETXTBSY): Likewise.
27760 [POSIX] (EWOULDBLOCK): Likewise.
27761 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27762 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27763 [POSIX] (SEEK_CUR): Likewise.
27764 [POSIX] (SEEK_END): Likewise.
27765 [POSIX || UNIX98] (mode_t): Do not require.
27766 [POSIX] (off_t): Likewise.
27767 [POSIX] (pid_t): Likewise.
27768 [POSIX] (sys/stat.h): Do not allow header.
27769 [POSIX] (unistd.h): Likewise.
27770 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27771 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27772 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27773 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27774 require.
27775 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27776 sigevent): Specify elements.
27777 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27778 entry.
27779 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27780 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27781
a483863f
JM
27782 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27783 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27784 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27785 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27786 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27787 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27788 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27789 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27790 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27791 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27792 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27793 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27794 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27795 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27796 Likewise.
27797 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27798 Likewise.
27799 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27800 Likewise.
27801 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27802 Likewise.
27803 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27804 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27805 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27806 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27807 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27808 Specify lower bound on value.
27809 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27810 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27811 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27812 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27813 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27814 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27815 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27816 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27817 value.
27818 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27819 as optional.
27820 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27821 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27822 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27823 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27824 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27825 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27826 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27827 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27828 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27829 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27830 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27831 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27832 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27833 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27834 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27835 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27836 entry.
27837 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27838 optional.
27839 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27840 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27841 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27842 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27843 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27844 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27845 Likewise.
27846 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27847 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27848 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27849 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27850 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27851 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27852 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27853 as optional.
27854 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27855 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27856 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27857 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27858 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27859 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27860 specify as optional.
27861 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27862 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27863 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27864 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27865 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27866 [XPG3] (NL_LANGMAX): Likewise.
27867 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27868 [POSIX || XPG3] (NL_NMAX): Likewise.
27869 [POSIX || XPG3] (NL_SETMAX): Likewise.
27870 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27871 [XPG3] (NZERO): Likewise.
27872 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27873 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27874 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27875 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27876 (REG_ERANGE): Expect.
27877 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27878 optional-constant.
27879 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27880 Use (void) in prototype.
27881 [POSIX] (*_t): Allow.
27882 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27883 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27884 (WRDE_BADVAL): Expect.
27885
5ba924e3
JM
27886 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27887 expect.
27888 [XPG3 || XPG4] (O_RSYNC): Likewise.
27889 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27890 Likewise.
27891 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27892 [XPG3 || XPG4] (sigqueue): Likewise.
27893 [XPG3 || XPG4] (sigtimedwait): Likewise.
27894 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27895 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27896 [XPG3 || XPG4] (vsnprintf): Likewise.
27897 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27898 Likewise.
27899 [XPG3 || XPG4] (blksize_t): Likewise.
27900 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27901 Likewise.
27902 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27903 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27904 [XPG3 || XPG4] (struct itimerspec): Likewise.
27905 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27906 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27907 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27908 [XPG3 || XPG4] (clockid_t): Likewise.
27909 [XPG3 || XPG4] (timer_t): Likewise.
27910 [XPG3 || XPG4] (clock_getres): Likewise.
27911 [XPG3 || XPG4] (clock_gettime): Likewise.
27912 [XPG3 || XPG4] (clock_settime): Likewise.
27913 [XPG3 || XPG4] (nanosleep): Likewise.
27914 [XPG3 || XPG4] (timer_create): Likewise.
27915 [XPG3 || XPG4] (timer_delete): Likewise.
27916 [XPG3 || XPG4] (timer_gettime): Likewise.
27917 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27918 [XPG3 || XPG4] (timer_settime): Likewise.
27919 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27920 [XPG3 || XPG4] (getlogin_r): Likewise.
27921 [XPG3 || XPG4] (pread): Likewise.
27922 [XPG3 || XPG4] (pthread_atfork): Likewise.
27923 [XPG3 || XPG4] (pwrite): Likewise.
27924
ee663277
JM
27925 [BZ #14835]
27926 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27927 <bits/siginfo.h>.
27928
942caa16
PT
279292012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27930
e19af380
PT
27931 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27932 finalizing MALLSTREAM.
27933
942caa16
PT
27934 * sysdeps/mach/hurd/syncfs.c: New file.
27935
cfde9b46
SP
279362012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27937
27938 [BZ #14719]
27939 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27940 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27941 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27942 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27943 (_nss_dns_gethostbyname4_r): Likewise.
27944 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27945 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27946
f6da27e5
PH
279472012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27948
27949 [BZ #13763]
27950 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27951
6665d4a2
SM
279522012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27953
1f51ee92
SM
27954 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27955 * elf/cache.c (print_entry): Print ",AArch64" for
27956 FLAG_AARCH64_LIB64
27957
6665d4a2
SM
27958 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27959 * elf/cache.c (print_entry): Print ",hard-float" for
27960 FLAG_ARM_LIBHF.
27961
05b227bd
DM
279622012-11-18 David S. Miller <davem@davemloft.net>
27963
27964 With help from Joseph Myers.
27965 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27966 cutoff to 2**-13.
27967 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27968 cutoff to 2**-25.
27969 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27970 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27971 small.
27972 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27973 * math/libm-test.inc (y0_test): New tests.
27974 (y1_test): New tests.
27975 * sysdeps/i386/fpu/libm-test-ulps: Update.
27976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27978
786b0b67
AS
279792012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27980
27981 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27982 64-bit targets.
27983 * configure: Regenerated.
27984
8e18b86d
DM
279852012-11-17 David S. Miller <davem@davemloft.net>
27986
27987 [BZ #14811]
27988 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27989 nonzero exponents with absolute value below 0x1p-128 to +/-
27990 0x1p-128.
27991
531f1ae0
JM
279922012-11-17 Joseph Myers <joseph@codesourcery.com>
27993
12df29e2
JM
27994 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27995
150dc1a0
JM
27996 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27997
531f1ae0
JM
27998 * posix/getconf-speclist.c: New file.
27999 * posix/posix-envs.def: Likewise.
28000 * posix/confstr.c (START_ENV_GROUP): New macro.
28001 (END_ENV_GROUP): Likewise.
28002 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28003 (KNOWN_PRESENT_ENV_STRING): Likewise.
28004 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28005 (UNKNOWN_ENVIRONMENT): Likewise.
28006 (confstr): Include posix-envs.def instead of handling
28007 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28008 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28009 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28010 (END_ENV_GROUP): Likewise.
28011 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28012 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28013 (UNKNOWN_ENVIRONMENT): Likewise.
28014 (__sysconf): Include posix-envs.def instead of handling associated
28015 cases directly here.
28016 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28017 preprocessing getconf-speclist.c rather than running getconf or
28018 generating empty file.
28019
a93f9cbc
PT
280202012-11-16 Pino Toscano <toscano.pino@tiscali.it>
28021
28022 * scripts/check-local-headers.sh: Ignore 'mach' headers.
28023
d64d9f87
AL
280242012-11-16 Andrej Lajovic <natrij@gmail.com>
28025
28026 [BZ #14672]
28027 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28028
447885eb
DM
280292012-11-16 David S. Miller <davem@davemloft.net>
28030
28031 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28032 smaller than LDBL_EPSILON/2.0L, just return xm1.
28033
bcbf9830
L
280342012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28035
28036 * elf/tst-array1.c (init): Set constructor priority to 1000.
28037 (fini): Set destructor priority to 1000.
28038 * elf/tst-array2dep.c: Likewise.
28039
2b766585
SP
280402012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28041
28042 [BZ #11741]
28043 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28044 (_IO_new_file_xsputn): Also return EOF if none of the input
28045 data was written when overflow failed.
28046 * libio/iopadn.c (_IO_padn): Likewise.
28047 * libio/iowpadn.c (_IO_wpadn): Likewise.
28048 * stdio-common/tst-put-error.c: Add copyright notice.
28049 (do_test): Add case for printing padded string.
28050 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28051 _IO_padn returned error.
28052 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28053 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28054 return EOF.
28055
b1848fde
SP
280562012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28057
28058 * libio/libioP.h: Add comment note that the references to C++
28059 bits are now obsolete.
28060
2fd89785
MS
280612012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28062
28063 * math/libm-test.inc (check_complex): Use asprintf.
28064
e3ea5409
JM
280652012-11-14 Joseph Myers <joseph@codesourcery.com>
28066
28067 * debug/pcprofiledump.c (print_version): Update copyright year.
28068 * malloc/memusagestat.c (print_version): Likewise.
28069
2e64d265
L
280702012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28071
28072 [BZ #14831]
28073 * elf/Makefile (tests): Add tst-audit8.
28074 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28075 ($(objpfx)tst-audit8.out): New target.
28076 (tst-audit8-ENV): New variable.
28077 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28078 audit if l_reloc_result is NULL.
28079 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28080 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28081 * elf/tst-audit8.c: New file.
28082
c485e4d2
MS
280832012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28084
28085 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28086 * misc/Makefile (CFLAGS-select.c): Define.
28087 * posix/Makefile (CFLAGS-pause.c): Define.
28088
3a0d900a
DM
280892012-11-13 David S. Miller <davem@davemloft.net>
28090
28091 * crypt/Makefile: Move test targets after toplevel Rules
28092 inclusion. Grab any necessary sysdep routines when linking.
28093 * crypt/md5.c (md5_process_block): Remove define, we will always
28094 name it __md5_process_block.
28095 (md5_finish_ctx): Update md5_process_block call.
28096 (md5_stream): Likewise.
28097 (md5_process_bytes): Likewise.
28098 (md5_process_block): Rename to __md5_process_block and move to ...
28099 * crypt/md5-block.c: ... here.
28100 * crypt/sha256.c (sha256_process_block): Move to ...
28101 * crypt/sha256-block.c: ... here.
28102 * crypt/sha512.c (sha512_process_block): Move to ...
28103 * crypt/sha512-block.c: ... here.
28104 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28105 path.
28106 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28107 * sysdeps/sparc/sparc64/multiarch/Makefile
28108 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28109 crypt subdir.
28110 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28111 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28112 multiarch changes.
28113 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28114 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28115 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28116 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28117 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28118 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28119 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28120 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28121 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28122 file.
28123 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28124 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28125 file.
28126 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28127
8ca89318
JM
281282012-11-13 Joseph Myers <joseph@codesourcery.com>
28129
e27d476a
JM
28130 * timezone/tzselect.ksh: Update from tzcode git revision
28131 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28132 * timezone/zdump.c: Likewise.
28133 * timezone/zic.c: Likewise.
28134 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28135 in TZVERSION setting, not $(PKGVERSION).
28136 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
28137 REPORT_BUGS_TO settings.
28138
8ca89318
JM
28139 [BZ #14838]
28140 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28141 macro.
28142
47594329
MS
281432012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28144
28145 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28146 detection to immediately after _FP_ROUND().
28147 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28148 bits are 0.
28149
640ac3f1
DM
281502012-11-11 David S. Miller <davem@davemloft.net>
28151
28152 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28153 inttypes.h
28154 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28155 __close rather than their public counterparts.
28156
3d2577bb
JM
281572012-11-10 Joseph Myers <joseph@codesourcery.com>
28158
28159 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28160 file.
28161 [UNIX98] (sem_timedwait): Do not expect.
28162 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28163 [XPG4 || UNIX98] (sockatmark): Do not expect.
28164 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28165 (clock_getcpuclockid): Do not expect.
28166 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28167 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28168 Do not expect.
28169 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28170 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28171 [UNIX98] (vwscanf): Likewise.
28172 [UNIX98] (vswscanf): Likewise.
28173
fb1ae1ee
JM
281742012-11-09 Joseph Myers <joseph@codesourcery.com>
28175
9ec6f8bd
JM
28176 * timezone/version.h: Remove file.
28177 * timezone/README: Do not refer to version.h.
28178 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28179 $(objpfx)version.h.
28180 ($(objpfx)zdump.o): Likewise.
c3f81911 28181 ($(objpfx)version.h): New target.
9ec6f8bd 28182
0aa8f8a1
JM
28183 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28184 2012i.
28185 * timezone/README: Don't mention modification to tzselect.ksh.
28186 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28187 work on unmodified tzselect.ksh. Substitute version numbers in
28188 tzselect.ksh.
28189
4e87147f
JM
28190 * Makefile (format-me): Remove.
28191 (INSTALL): Adjust indentation. Use commands directly instead of
28192 using $(format-me).
28193
8b748aed
JM
28194 * aclocal.m4 (ACX_PKGVERSION): New macro.
28195 (ACX_BUGURL): Likewise.
28196 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28197 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28198 (REPORT_BUGS_TO): Likewise.
28199 * configure: Regenerated.
28200 * config.h.in (PKGVERSION): New macro.
28201 (REPORT_BUGS_TO): Likewise.
28202 * config.make.in (PKGVERSION): New variable.
28203 (PKGVERSION_TEXI): Likewise.
28204 (REPORT_BUGS_TO): Likewise.
28205 (REPORT_BUGS_TEXI): Likewise.
28206 * Makefile (format-me): Use -I$(common-objpfx)manual.
28207 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28208 ($(common-objpfx)manual/%): New target.
28209 (manual/%): Remove target.
28210 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28211 (print_version): Use PKGVERSION.
28212 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28213 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28214 and REPORT_BUGS_TO.
28215 ($(objpfx)xtrace): Likewise.
28216 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28217 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28218 (print_version): Use PKGVERSION.
28219 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28220 (do_version): Use PKGVERSION.
28221 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28222 REPORT_BUGS_TO.
28223 (common-ldd-rewrite): Likewise.
28224 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28225 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28226 (print_version): Use PKGVERSION.
28227 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28228 * elf/pldd.c (argp_program_bug_address): Remove variable.
28229 (more_help): New function.
28230 (argp): Use more_help.
28231 (print_version): Use PKGVERSION.
28232 * elf/sln.c (main): Use PKGVERSION.
28233 (usage): Use REPORT_BUGS_TO.
28234 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28235 (top level): Use PKGVERSION.
28236 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28237 (print_version): Use PKGVERSION.
28238 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28239 (print_version): Use PKGVERSION.
28240 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28241 (print_version): Use PKGVERSION.
28242 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28243 (print_version): Use PKGVERSION.
28244 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28245 (print_version): Use PKGVERSION.
28246 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28247 (print_version): Use PKGVERSION.
28248 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28249 and BUGURL.
28250 ($(objpfx)memusage): Likewise.
28251 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28252 (do_version): Use PKGVERSION.
28253 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28254 (print_version): Use PKGVERSION.
28255 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28256 ($PKGVERSION): New variable.
28257 ($REPORT_BUGS_TO): Likewise.
28258 (usage): Use $REPORT_BUGS_TO.
28259 (top level): Use $PKGVERSION.
28260 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28261 ($(objpfx)pkgvers.texi): New rule.
28262 ($(objpfx)stamp-pkgvers): Likewise.
28263 * manual/install.texi: Include pkgvers.texi.
28264 (--with-pkgversion): Document new configure option.
28265 (--with-bugurl): Likewise.
28266 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28267 than necessarily for this particular distribution. Use
28268 REPORT_BUGS_TO for where to report bugs.
28269 * INSTALL: Regenerated.
28270 * manual/libc.texinfo: Include pkgvers.texi.
28271 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28272 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28273 (print_version): Use PKGVERSION.
28274 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28275 (print_version): Use PKGVERSION.
28276 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28277 (print_version): Use PKGVERSION.
28278 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28279 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28280 macro.
28281 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28282 (print_version): Use PKGVERSION.
28283 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28284 (print_version): Use PKGVERSION.
28285 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28286 and PKGVERSION.
28287
92e4b6a9
JM
28288 * timezone/checktab.awk: Update from tzcode 2012i.
28289 * timezone/ialloc.c: Likewise.
28290 * timezone/private.h: Likewise.
28291 * timezone/scheck.c: Likewise.
28292 * timezone/tzfile.h: Likewise.
28293 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28294 (TZVERSION): Hardcode tzcode version number.
28295 * timezone/zdump.c: Update from tzcode 2012i.
28296 * timezone/zic.c: Likewise.
28297 * timezone/version.h: New file.
28298 * timezone/README: Describe version.h. Update upstream location.
28299
9bde902c
JM
28300 [BZ #14824]
28301 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28302 (mktemp): Enable declaration.
28303 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28304 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28305 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28306 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28307 Likewise.
28308 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28309 Likewise.
28310 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28311 Likewise.
28312 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28313 Likewise.
28314 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28315 Likewise.
28316 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28317 Likewise.
28318
fb1ae1ee
JM
28319 [BZ #14821]
28320 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28321 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28322 for copies of such integer values.
28323 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28324 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28325
2c1adbcb
AJ
283262012-11-09 Andreas Jaeger <aj@suse.de>
28327
28328 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28329 definitions and declarations that are provided by
28330 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28331
d0f8457e
AK
283322012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28333
3a235abb 28334 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
28335 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28336 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28337 definition.
28338
57241e26
MS
283392012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28340
28341 * elf/elf.h: Update comment before AArch64 relocations.
28342
60e8270d
DM
283432012-11-07 David S. Miller <davem@davemloft.net>
28344
28345 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28346 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28347 (__start_context): Declare.
28348 (__makecontext_ret): Delete.
28349 (__makecontext): Hook up __start_context instead of
28350 __makecontext_ret.
28351 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28352 (sysdep_routines): Add __start_context when in stdlib.
28353
0fbb0fbc
JM
283542012-11-07 Joseph Myers <joseph@codesourcery.com>
28355
28356 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28357 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28358 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28359 hardcoded "nm".
28360 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28361 (READELF): New variable. Use it instead of hardcoded "readelf".
28362
eb48db7e
L
283632012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28364
28365 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28366 * sysdeps/x86/Makefile: Here.
28367 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28368 * sysdeps/x86/tst-xmmymm.sh: This.
28369
05bcf62a
JM
283702012-11-07 Joseph Myers <joseph@codesourcery.com>
28371
c4b6cf53
JM
28372 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28373 expectations.
28374 [UNIX98] (pthread_barrier_t): Do not expect.
28375 [UNIX98] (pthread_barrierattr_t): Likewise.
28376 [UNIX98] (pthread_spinlock_t): Likewise.
28377 [UNIX98] (pthread_barrier_destroy): Likewise.
28378 [UNIX98] (pthread_barrier_init): Likewise.
28379 [UNIX98] (pthread_barrier_wait): Likewise.
28380 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28381 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28382 [UNIX98] (pthread_barrierattr_init): Likewise.
28383 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28384 [UNIX98] (pthread_getcpuclockid): Likewise.
28385 [UNIX98] (pthread_mutex_timedlock): Likewise.
28386 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28387 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28388 [UNIX98] (pthread_sigmask): Likewise.
28389 [UNIX98] (pthread_spin_destroy): Likewise.
28390 [UNIX98] (pthread_spin_init): Likewise.
28391 [UNIX98] (pthread_spin_lock): Likewise.
28392 [UNIX98] (pthread_spin_trylock): Likewise.
28393 [UNIX98] (pthread_spin_unlock): Likewise.
28394 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28395 Do not expect.
28396 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28397 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28398 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28399 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28400 [XPG3 || XPG4] (pthread_key_t): Likewise.
28401 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28402 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28403 [XPG3 || XPG4] (pthread_once_t): Likewise.
28404 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28405 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28406 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28407 [XPG3 || XPG4] (pthread_t): Likewise.
28408
cbe6e120
JM
28409 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28410 not expect.
28411 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28412
1b126443
JM
28413 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28414 Change function return type to int.
28415
b961a573
JM
28416 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28417 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28418 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28419 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28420 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28421 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28422 [!POSIX] (posix_madvise): Likewise.
28423 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28424 && !UNIX98].
28425 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28426 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28427 (mode_t): Likewise.
28428 (posix_mem_offset): Likewise.
28429 (posix_typed_mem_get_info): Likewise.
28430 (posix_typed_mem_open): Likewise.
28431
9e188909
JM
28432 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28433 Change condition to [XOPEN2K8].
28434
05bcf62a
JM
28435 * conform/conformtest.pl: Preprocess allow-header data with -x c
28436 instead of from stdin.
28437 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28438 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28439 [C99-based standards] (cerfc): Likewise.
28440 [C99-based standards] (cexp2): Likewise.
28441 [C99-based standards] (cexpm1): Likewise.
28442 [C99-based standards] (clog10): Likewise.
28443 [C99-based standards] (clog1p): Likewise.
28444 [C99-based standards] (clog2): Likewise.
28445 [C99-based standards] (clgamma): Likewise.
28446 [C99-based standards] (ctgamma): Likewise.
28447 [C99-based standards] (cerff): Likewise.
28448 [C99-based standards] (cerfcf): Likewise.
28449 [C99-based standards] (cexp2f): Likewise.
28450 [C99-based standards] (cexpm1f): Likewise.
28451 [C99-based standards] (clog10f): Likewise.
28452 [C99-based standards] (clog1pf): Likewise.
28453 [C99-based standards] (clog2f): Likewise.
28454 [C99-based standards] (clgammaf): Likewise.
28455 [C99-based standards] (ctgammaf): Likewise.
28456 [C99-based standards] (cerfl): Likewise.
28457 [C99-based standards] (cerfcl): Likewise.
28458 [C99-based standards] (cexp2l): Likewise.
28459 [C99-based standards] (cexpm1l): Likewise.
28460 [C99-based standards] (clog10l): Likewise.
28461 [C99-based standards] (clog1pl): Likewise.
28462 [C99-based standards] (clog2l): Likewise.
28463 [C99-based standards] (clgammal): Likewise.
28464 [C99-based standards] (ctgammal): Likewise.
28465 * conform/data/inttypes.h-data [C99-based standards]: Include
28466 stdint.h-data. Remove all expectations for stdint.h contents.
28467 [C99-based standards] (PRI*): Do not allow.
28468 [C99-based standards] (SCN*): Likewise.
28469 [C99-based standards] (*_t): Likewise.
28470 [C99-based-standards] (PRId8): Expect macro.
28471 [C99-based-standards] (PRIi8): Likewise.
28472 [C99-based-standards] (PRIo8): Likewise.
28473 [C99-based-standards] (PRIu8): Likewise.
28474 [C99-based-standards] (PRIx8): Likewise.
28475 [C99-based-standards] (PRIX8): Likewise.
28476 [C99-based-standards] (SCNd8): Likewise.
28477 [C99-based-standards] (SCNi8): Likewise.
28478 [C99-based-standards] (SCNo8): Likewise.
28479 [C99-based-standards] (SCNu8): Likewise.
28480 [C99-based-standards] (SCNx8): Likewise.
28481 [C99-based-standards] (PRIdLEAST8): Likewise.
28482 [C99-based-standards] (PRIiLEAST8): Likewise.
28483 [C99-based-standards] (PRIoLEAST8): Likewise.
28484 [C99-based-standards] (PRIuLEAST8): Likewise.
28485 [C99-based-standards] (PRIxLEAST8): Likewise.
28486 [C99-based-standards] (PRIXLEAST8): Likewise.
28487 [C99-based-standards] (SCNdLEAST8): Likewise.
28488 [C99-based-standards] (SCNiLEAST8): Likewise.
28489 [C99-based-standards] (SCNoLEAST8): Likewise.
28490 [C99-based-standards] (SCNuLEAST8): Likewise.
28491 [C99-based-standards] (SCNxLEAST8): Likewise.
28492 [C99-based-standards] (PRIdFAST8): Likewise.
28493 [C99-based-standards] (PRIiFAST8): Likewise.
28494 [C99-based-standards] (PRIoFAST8): Likewise.
28495 [C99-based-standards] (PRIuFAST8): Likewise.
28496 [C99-based-standards] (PRIxFAST8): Likewise.
28497 [C99-based-standards] (PRIXFAST8): Likewise.
28498 [C99-based-standards] (SCNdFAST8): Likewise.
28499 [C99-based-standards] (SCNiFAST8): Likewise.
28500 [C99-based-standards] (SCNoFAST8): Likewise.
28501 [C99-based-standards] (SCNuFAST8): Likewise.
28502 [C99-based-standards] (SCNxFAST8): Likewise.
28503 [C99-based-standards] (PRId16): Likewise.
28504 [C99-based-standards] (PRIi16): Likewise.
28505 [C99-based-standards] (PRIo16): Likewise.
28506 [C99-based-standards] (PRIu16): Likewise.
28507 [C99-based-standards] (PRIx16): Likewise.
28508 [C99-based-standards] (PRIX16): Likewise.
28509 [C99-based-standards] (SCNd16): Likewise.
28510 [C99-based-standards] (SCNi16): Likewise.
28511 [C99-based-standards] (SCNo16): Likewise.
28512 [C99-based-standards] (SCNu16): Likewise.
28513 [C99-based-standards] (SCNx16): Likewise.
28514 [C99-based-standards] (PRIdLEAST16): Likewise.
28515 [C99-based-standards] (PRIiLEAST16): Likewise.
28516 [C99-based-standards] (PRIoLEAST16): Likewise.
28517 [C99-based-standards] (PRIuLEAST16): Likewise.
28518 [C99-based-standards] (PRIxLEAST16): Likewise.
28519 [C99-based-standards] (PRIXLEAST16): Likewise.
28520 [C99-based-standards] (SCNdLEAST16): Likewise.
28521 [C99-based-standards] (SCNiLEAST16): Likewise.
28522 [C99-based-standards] (SCNoLEAST16): Likewise.
28523 [C99-based-standards] (SCNuLEAST16): Likewise.
28524 [C99-based-standards] (SCNxLEAST16): Likewise.
28525 [C99-based-standards] (PRIdFAST16): Likewise.
28526 [C99-based-standards] (PRIiFAST16): Likewise.
28527 [C99-based-standards] (PRIoFAST16): Likewise.
28528 [C99-based-standards] (PRIuFAST16): Likewise.
28529 [C99-based-standards] (PRIxFAST16): Likewise.
28530 [C99-based-standards] (PRIXFAST16): Likewise.
28531 [C99-based-standards] (SCNdFAST16): Likewise.
28532 [C99-based-standards] (SCNiFAST16): Likewise.
28533 [C99-based-standards] (SCNoFAST16): Likewise.
28534 [C99-based-standards] (SCNuFAST16): Likewise.
28535 [C99-based-standards] (SCNxFAST16): Likewise.
28536 [C99-based-standards] (PRId32): Likewise.
28537 [C99-based-standards] (PRIi32): Likewise.
28538 [C99-based-standards] (PRIo32): Likewise.
28539 [C99-based-standards] (PRIu32): Likewise.
28540 [C99-based-standards] (PRIx32): Likewise.
28541 [C99-based-standards] (PRIX32): Likewise.
28542 [C99-based-standards] (SCNd32): Likewise.
28543 [C99-based-standards] (SCNi32): Likewise.
28544 [C99-based-standards] (SCNo32): Likewise.
28545 [C99-based-standards] (SCNu32): Likewise.
28546 [C99-based-standards] (SCNx32): Likewise.
28547 [C99-based-standards] (PRIdLEAST32): Likewise.
28548 [C99-based-standards] (PRIiLEAST32): Likewise.
28549 [C99-based-standards] (PRIoLEAST32): Likewise.
28550 [C99-based-standards] (PRIuLEAST32): Likewise.
28551 [C99-based-standards] (PRIxLEAST32): Likewise.
28552 [C99-based-standards] (PRIXLEAST32): Likewise.
28553 [C99-based-standards] (SCNdLEAST32): Likewise.
28554 [C99-based-standards] (SCNiLEAST32): Likewise.
28555 [C99-based-standards] (SCNoLEAST32): Likewise.
28556 [C99-based-standards] (SCNuLEAST32): Likewise.
28557 [C99-based-standards] (SCNxLEAST32): Likewise.
28558 [C99-based-standards] (PRIdFAST32): Likewise.
28559 [C99-based-standards] (PRIiFAST32): Likewise.
28560 [C99-based-standards] (PRIoFAST32): Likewise.
28561 [C99-based-standards] (PRIuFAST32): Likewise.
28562 [C99-based-standards] (PRIxFAST32): Likewise.
28563 [C99-based-standards] (PRIXFAST32): Likewise.
28564 [C99-based-standards] (SCNdFAST32): Likewise.
28565 [C99-based-standards] (SCNiFAST32): Likewise.
28566 [C99-based-standards] (SCNoFAST32): Likewise.
28567 [C99-based-standards] (SCNuFAST32): Likewise.
28568 [C99-based-standards] (SCNxFAST32): Likewise.
28569 [C99-based-standards] (PRId64): Likewise.
28570 [C99-based-standards] (PRIi64): Likewise.
28571 [C99-based-standards] (PRIo64): Likewise.
28572 [C99-based-standards] (PRIu64): Likewise.
28573 [C99-based-standards] (PRIx64): Likewise.
28574 [C99-based-standards] (PRIX64): Likewise.
28575 [C99-based-standards] (SCNd64): Likewise.
28576 [C99-based-standards] (SCNi64): Likewise.
28577 [C99-based-standards] (SCNo64): Likewise.
28578 [C99-based-standards] (SCNu64): Likewise.
28579 [C99-based-standards] (SCNx64): Likewise.
28580 [C99-based-standards] (PRIdLEAST64): Likewise.
28581 [C99-based-standards] (PRIiLEAST64): Likewise.
28582 [C99-based-standards] (PRIoLEAST64): Likewise.
28583 [C99-based-standards] (PRIuLEAST64): Likewise.
28584 [C99-based-standards] (PRIxLEAST64): Likewise.
28585 [C99-based-standards] (PRIXLEAST64): Likewise.
28586 [C99-based-standards] (SCNdLEAST64): Likewise.
28587 [C99-based-standards] (SCNiLEAST64): Likewise.
28588 [C99-based-standards] (SCNoLEAST64): Likewise.
28589 [C99-based-standards] (SCNuLEAST64): Likewise.
28590 [C99-based-standards] (SCNxLEAST64): Likewise.
28591 [C99-based-standards] (PRIdFAST64): Likewise.
28592 [C99-based-standards] (PRIiFAST64): Likewise.
28593 [C99-based-standards] (PRIoFAST64): Likewise.
28594 [C99-based-standards] (PRIuFAST64): Likewise.
28595 [C99-based-standards] (PRIxFAST64): Likewise.
28596 [C99-based-standards] (PRIXFAST64): Likewise.
28597 [C99-based-standards] (SCNdFAST64): Likewise.
28598 [C99-based-standards] (SCNiFAST64): Likewise.
28599 [C99-based-standards] (SCNoFAST64): Likewise.
28600 [C99-based-standards] (SCNuFAST64): Likewise.
28601 [C99-based-standards] (SCNxFAST64): Likewise.
28602 [C99-based-standards] (PRIdMAX): Likewise.
28603 [C99-based-standards] (PRIiMAX): Likewise.
28604 [C99-based-standards] (PRIoMAX): Likewise.
28605 [C99-based-standards] (PRIuMAX): Likewise.
28606 [C99-based-standards] (PRIxMAX): Likewise.
28607 [C99-based-standards] (PRIXMAX): Likewise.
28608 [C99-based-standards] (SCNdMAX): Likewise.
28609 [C99-based-standards] (SCNiMAX): Likewise.
28610 [C99-based-standards] (SCNoMAX): Likewise.
28611 [C99-based-standards] (SCNuMAX): Likewise.
28612 [C99-based-standards] (SCNxMAX): Likewise.
28613 [C99-based-standards] (PRIdPTR): Likewise.
28614 [C99-based-standards] (PRIiPTR): Likewise.
28615 [C99-based-standards] (PRIoPTR): Likewise.
28616 [C99-based-standards] (PRIuPTR): Likewise.
28617 [C99-based-standards] (PRIxPTR): Likewise.
28618 [C99-based-standards] (PRIXPTR): Likewise.
28619 [C99-based-standards] (SCNdPTR): Likewise.
28620 [C99-based-standards] (SCNiPTR): Likewise.
28621 [C99-based-standards] (SCNoPTR): Likewise.
28622 [C99-based-standards] (SCNuPTR): Likewise.
28623 [C99-based-standards] (SCNxPTR): Likewise.
28624 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28625 allow.
28626 * conform/data/stdint.h-data: Update comments to clarify
28627 requirements.
28628 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28629 type.
28630 [C99-based standards] (INT8_MAX): Likewise.
28631 [C99-based standards] (INT16_MIN): Likewise.
28632 [C99-based standards] (INT16_MAX): Likewise.
28633 [C99-based standards] (INT32_MIN): Likewise.
28634 [C99-based standards] (INT32_MAX): Likewise.
28635 [C99-based standards] (INT64_MIN): Likewise.
28636 [C99-based standards] (INT64_MAX): Likewise.
28637 [C99-based standards] (UINT8_MAX): Likewise.
28638 [C99-based standards] (UINT16_MAX): Likewise.
28639 [C99-based standards] (UINT32_MAX): Likewise.
28640 [C99-based standards] (UINT64_MAX): Likewise.
28641 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28642 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28643 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28644 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28645 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28646 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28647 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28648 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28649 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28650 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28651 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28652 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28653 [C99-based standards] (INT_FAST8_MIN): Likewise.
28654 [C99-based standards] (INT_FAST8_MAX): Likewise.
28655 [C99-based standards] (INT_FAST16_MIN): Likewise.
28656 [C99-based standards] (INT_FAST16_MAX): Likewise.
28657 [C99-based standards] (INT_FAST32_MIN): Likewise.
28658 [C99-based standards] (INT_FAST32_MAX): Likewise.
28659 [C99-based standards] (INT_FAST64_MIN): Likewise.
28660 [C99-based standards] (INT_FAST64_MAX): Likewise.
28661 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28662 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28663 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28664 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28665 [C99-based standards] (INTPTR_MIN): Likewise.
28666 [C99-based standards] (INTPTR_MAX): Likewise.
28667 [C99-based standards] (UINTPTR_MAX): Likewise.
28668 [C99-based standards] (INTMAX_MIN): Likewise.
28669 [C99-based standards] (INTMAX_MAX): Likewise.
28670 [C99-based standards] (UINTMAX_MAX): Likewise.
28671 [C99-based standards] (PTRDIFF_MIN): Likewise.
28672 [C99-based standards] (PTRDIFF_MAX): Likewise.
28673 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28674 [C99-based standards] (SIZE_MAX): Likewise.
28675 [C99-based standards] (WCHAR_MAX): Likewise.
28676 [C99-based standards] (WINT_MAX): Likewise.
28677 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28678 constraint on value.
28679 [C99-based standards] (WCHAR_MIN): Likewise.
28680 [C99-based standards] (WINT_MIN): Likewise.
28681 [C99-based standards] (*_t): Allow.
28682 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28683 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28684 Include math.h-data and complex.h-data. Remove all expectations
28685 of math.h and complex.h contents.
28686 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28687 at end of line.
28688 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28689 (struct tm): Expect tag.
28690 [C99-based-standards] (wcstof): Expect function.
28691 [C99-based-standards] (wcstold): Likewise.
28692 [C99-based-standards] (wcstoll): Likewise.
28693 [C99-based-standards] (wcstoull): Likewise.
28694 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28695 macro-int-constant. Specify type.
28696 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28697 constraint on value.
28698 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28699 Specify type.
28700 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28701 Specify value.
28702 [ISO C standards]: Do not allow headers.
28703 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28704 wcs[abcdefghijklmnopqrstuvwxyz]*.
28705 [ISO C standards] (*_t): Do not allow.
28706 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28707 Expect function.
28708 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28709 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28710 Specify type.
28711 [ISO C standards]: Do not allow headers.
28712 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28713 is[abcdefghijklmnopqrstuvwxyz]*.
28714 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28715 to[abcdefghijklmnopqrstuvwxyz]*.
28716 [ISO C standards] (*_t): Do not allow.
28717 * conform/data/stdalign.h-data: New file.
28718 * conform/data/stdbool.h-data: Likewise.
28719 * conform/data/stdnoreturn.h-data: Likewise.
28720
7514feb8
RM
287212012-11-07 Roland McGrath <roland@hack.frob.com>
28722
28723 [BZ #14815]
28724 * manual/filesys.texi (Directory Entries): Typo fix.
28725 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28726
19b2ecfc
MS
287272012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28728
28729 * elf/elf.h (EM_AARCH64): New macro.
28730 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28731 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28732 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28733 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28734 (R_AARCH64_TLSDESC): Likewise.
28735 (NT_ARM_TLS): Likewise.
28736 (NT_ARM_HW_BREAK): Likewise.
28737 (NT_ARM_HW_WATCH): Likewise.
28738
60e235ee
JM
287392012-11-07 Joseph Myers <joseph@codesourcery.com>
28740
28741 [BZ #14811]
28742 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28743 (__ieee754_powl): Saturate nonzero exponents with absolute value
28744 below 0x1p-79 to +/- 0x1p-79.
28745 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28746 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28747 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28748 nonzero exponents with absolute value below 0x1p-32 to +/-
28749 0x1p-32.
28750 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28751 (__ieee754_powl): Saturate nonzero exponents with absolute value
28752 below 0x1p-79 to +/- 0x1p-79.
28753 * math/libm-test.inc (pow_test): Add more tests.
28754
0ab234b7
AK
287552012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28756
28757 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28758 _dl_s390_cap_flags with kernel. Increase string length.
28759 (_dl_s390_platforms): Add z196 and zEC12.
28760
45832f74
JM
287612012-11-07 Joseph Myers <joseph@codesourcery.com>
28762
28763 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28764 Change XOPEN21K to XOPEN2K.
28765
19218757
MK
287662012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28767
28768 * string/memmove.c: Use memcpy when possible.
28769
c5f45721
AJ
287702012-11-06 Andreas Jaeger <aj@suse.de>
28771
28772 * po/eo.po: Update from translation team.
28773
82477c28
JM
287742012-11-06 Joseph Myers <joseph@codesourcery.com>
28775
28776 [BZ #14793]
28777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28778 exponent and small x and y exponents, scale x or y up. Increase
28779 by 2 the exponent used in scaling up.
28780 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28781 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28782 * math/libm-test.inc (fma_test): Add more tests.
28783 (fma_test_towardzero): Likewise.
28784 (fma_test_downward): Likewise.
28785 (fma_test_upward): Likewise.
28786
99252c8c
JM
287872012-11-05 Joseph Myers <joseph@codesourcery.com>
28788
acfa885f
JM
28789 [BZ #14805]
28790 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28791 fenv_t *.
28792
99252c8c
JM
28793 [BZ #14801]
28794 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28795 namespace for names of struct fields.
28796 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28797 fenv_t fields.
28798 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28799 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28800
d6d98dea
ST
288012012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28802
28803 [BZ #3665]
28804 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28805
e10bb107
TS
288062012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28807
28808 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28809 PTR_DEMANGLE.
28810
28811 [BZ #5246]
28812 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28813 PTR_DEMANGLE.
28814
a0c2940d
JM
288152012-11-04 Joseph Myers <joseph@codesourcery.com>
28816
28817 [BZ #14797]
28818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28819 definitely overflow as x * y not x * y + z.
28820 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28821 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28822 * math/libm-test.inc (fma_test): Add more tests.
28823 (fma_test_towardzero): Likewise.
28824 (fma_test_downward): Likewise.
28825 (fma_test_upward): Likewise.
28826
b830319d
TS
288272012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28828
28829 [BZ #157]
28830
28831 * include/stub-tag.h: Remove file.
28832 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28833 '#include' of it.
28834 * manual/maint.texi (Porting): Don't reference it.
28835 * Makerules ($(objpfx)stubs): Likewise.
28836 * dirent/closedir.c: Don't include <stub-tag.h>.
28837 * dirent/dirfd.c: Likewise.
28838 * dirent/fdopendir.c: Likewise.
28839 * dirent/getdents.c: Likewise.
28840 * dirent/getdents64.c: Likewise.
28841 * dirent/opendir.c: Likewise.
28842 * dirent/readdir.c: Likewise.
28843 * dirent/readdir64.c: Likewise.
28844 * dirent/readdir64_r.c: Likewise.
28845 * dirent/readdir_r.c: Likewise.
28846 * dirent/rewinddir.c: Likewise.
28847 * dirent/seekdir.c: Likewise.
28848 * dirent/telldir.c: Likewise.
28849 * gmon/profil.c: Likewise.
28850 * grp/setgroups.c: Likewise.
28851 * inet/if_index.c: Likewise.
28852 * io/access.c: Likewise.
28853 * io/chdir.c: Likewise.
28854 * io/chmod.c: Likewise.
28855 * io/chown.c: Likewise.
28856 * io/close.c: Likewise.
28857 * io/dup.c: Likewise.
28858 * io/dup2.c: Likewise.
28859 * io/dup3.c: Likewise.
28860 * io/euidaccess.c: Likewise.
28861 * io/faccessat.c: Likewise.
28862 * io/fchdir.c: Likewise.
28863 * io/fchmod.c: Likewise.
28864 * io/fchmodat.c: Likewise.
28865 * io/fchown.c: Likewise.
28866 * io/fchownat.c: Likewise.
28867 * io/fcntl.c: Likewise.
28868 * io/flock.c: Likewise.
28869 * io/fstatfs.c: Likewise.
28870 * io/fstatfs64.c: Likewise.
28871 * io/fstatvfs.c: Likewise.
28872 * io/fstatvfs64.c: Likewise.
28873 * io/futimens.c: Likewise.
28874 * io/fxstat.c: Likewise.
28875 * io/fxstat64.c: Likewise.
28876 * io/fxstatat.c: Likewise.
28877 * io/fxstatat64.c: Likewise.
28878 * io/getcwd.c: Likewise.
28879 * io/isatty.c: Likewise.
28880 * io/lchmod.c: Likewise.
28881 * io/lchown.c: Likewise.
28882 * io/link.c: Likewise.
28883 * io/linkat.c: Likewise.
28884 * io/lseek.c: Likewise.
28885 * io/lseek64.c: Likewise.
28886 * io/lxstat64.c: Likewise.
28887 * io/mkdir.c: Likewise.
28888 * io/mkdirat.c: Likewise.
28889 * io/mkfifo.c: Likewise.
28890 * io/mkfifoat.c: Likewise.
28891 * io/open.c: Likewise.
28892 * io/open64.c: Likewise.
28893 * io/openat.c: Likewise.
28894 * io/openat64.c: Likewise.
28895 * io/pipe.c: Likewise.
28896 * io/pipe2.c: Likewise.
28897 * io/poll.c: Likewise.
28898 * io/posix_fadvise.c: Likewise.
28899 * io/posix_fadvise64.c: Likewise.
28900 * io/posix_fallocate.c: Likewise.
28901 * io/posix_fallocate64.c: Likewise.
28902 * io/read.c: Likewise.
28903 * io/readlink.c: Likewise.
28904 * io/readlinkat.c: Likewise.
28905 * io/rmdir.c: Likewise.
28906 * io/sendfile.c: Likewise.
28907 * io/sendfile64.c: Likewise.
28908 * io/statfs.c: Likewise.
28909 * io/statfs64.c: Likewise.
28910 * io/statvfs.c: Likewise.
28911 * io/statvfs64.c: Likewise.
28912 * io/symlink.c: Likewise.
28913 * io/symlinkat.c: Likewise.
28914 * io/ttyname.c: Likewise.
28915 * io/ttyname_r.c: Likewise.
28916 * io/umask.c: Likewise.
28917 * io/unlink.c: Likewise.
28918 * io/unlinkat.c: Likewise.
28919 * io/utime.c: Likewise.
28920 * io/utimensat.c: Likewise.
28921 * io/write.c: Likewise.
28922 * io/xmknod.c: Likewise.
28923 * io/xmknodat.c: Likewise.
28924 * io/xstat.c: Likewise.
28925 * io/xstat64.c: Likewise.
28926 * login/getpt.c: Likewise.
28927 * login/grantpt.c: Likewise.
28928 * login/unlockpt.c: Likewise.
28929 * math/e_acoshl.c: Likewise.
28930 * math/e_acosl.c: Likewise.
28931 * math/e_asinl.c: Likewise.
28932 * math/e_atan2l.c: Likewise.
28933 * math/e_atanhl.c: Likewise.
28934 * math/e_coshl.c: Likewise.
28935 * math/e_expl.c: Likewise.
28936 * math/e_fmodl.c: Likewise.
28937 * math/e_gammal_r.c: Likewise.
28938 * math/e_hypotl.c: Likewise.
28939 * math/e_j0l.c: Likewise.
28940 * math/e_j1l.c: Likewise.
28941 * math/e_jnl.c: Likewise.
28942 * math/e_lgammal_r.c: Likewise.
28943 * math/e_log10l.c: Likewise.
28944 * math/e_log2l.c: Likewise.
28945 * math/e_logl.c: Likewise.
28946 * math/e_powl.c: Likewise.
28947 * math/e_rem_pio2l.c: Likewise.
28948 * math/e_sinhl.c: Likewise.
28949 * math/e_sqrtl.c: Likewise.
28950 * math/fclrexcpt.c: Likewise.
28951 * math/fedisblxcpt.c: Likewise.
28952 * math/feenablxcpt.c: Likewise.
28953 * math/fegetenv.c: Likewise.
28954 * math/fegetexcept.c: Likewise.
28955 * math/fegetround.c: Likewise.
28956 * math/feholdexcpt.c: Likewise.
28957 * math/fesetenv.c: Likewise.
28958 * math/fesetround.c: Likewise.
28959 * math/feupdateenv.c: Likewise.
28960 * math/fgetexcptflg.c: Likewise.
28961 * math/fraiseexcpt.c: Likewise.
28962 * math/fsetexcptflg.c: Likewise.
28963 * math/ftestexcept.c: Likewise.
28964 * math/k_cosl.c: Likewise.
28965 * math/k_rem_pio2l.c: Likewise.
28966 * math/k_sinl.c: Likewise.
28967 * math/k_tanl.c: Likewise.
28968 * math/s_asinhl.c: Likewise.
28969 * math/s_atanl.c: Likewise.
28970 * math/s_cbrtl.c: Likewise.
28971 * math/s_erfl.c: Likewise.
28972 * math/s_expm1l.c: Likewise.
28973 * math/s_log1pl.c: Likewise.
28974 * math/s_tanhl.c: Likewise.
28975 * misc/acct.c: Likewise.
28976 * misc/brk.c: Likewise.
28977 * misc/chflags.c: Likewise.
28978 * misc/chroot.c: Likewise.
28979 * misc/fchflags.c: Likewise.
28980 * misc/fgetxattr.c: Likewise.
28981 * misc/flistxattr.c: Likewise.
28982 * misc/fremovexattr.c: Likewise.
28983 * misc/fsetxattr.c: Likewise.
28984 * misc/fsync.c: Likewise.
28985 * misc/ftruncate.c: Likewise.
28986 * misc/futimes.c: Likewise.
28987 * misc/futimesat.c: Likewise.
28988 * misc/getdomain.c: Likewise.
28989 * misc/getdtsz.c: Likewise.
28990 * misc/gethostid.c: Likewise.
28991 * misc/gethostname.c: Likewise.
28992 * misc/getloadavg.c: Likewise.
28993 * misc/getpagesize.c: Likewise.
28994 * misc/getsysstats.c: Likewise.
28995 * misc/getxattr.c: Likewise.
28996 * misc/gtty.c: Likewise.
28997 * misc/ioctl.c: Likewise.
28998 * misc/lgetxattr.c: Likewise.
28999 * misc/listxattr.c: Likewise.
29000 * misc/llistxattr.c: Likewise.
29001 * misc/lremovexattr.c: Likewise.
29002 * misc/lsetxattr.c: Likewise.
29003 * misc/lutimes.c: Likewise.
29004 * misc/madvise.c: Likewise.
29005 * misc/mincore.c: Likewise.
29006 * misc/mlock.c: Likewise.
29007 * misc/mlockall.c: Likewise.
29008 * misc/mmap.c: Likewise.
29009 * misc/mprotect.c: Likewise.
29010 * misc/msync.c: Likewise.
29011 * misc/munlock.c: Likewise.
29012 * misc/munlockall.c: Likewise.
29013 * misc/munmap.c: Likewise.
29014 * misc/preadv.c: Likewise.
29015 * misc/preadv64.c: Likewise.
29016 * misc/ptrace.c: Likewise.
29017 * misc/pwritev.c: Likewise.
29018 * misc/pwritev64.c: Likewise.
29019 * misc/readv.c: Likewise.
29020 * misc/reboot.c: Likewise.
29021 * misc/remap_file_pages.c: Likewise.
29022 * misc/removexattr.c: Likewise.
29023 * misc/revoke.c: Likewise.
29024 * misc/select.c: Likewise.
29025 * misc/setdomain.c: Likewise.
29026 * misc/setegid.c: Likewise.
29027 * misc/seteuid.c: Likewise.
29028 * misc/sethostid.c: Likewise.
29029 * misc/sethostname.c: Likewise.
29030 * misc/setregid.c: Likewise.
29031 * misc/setreuid.c: Likewise.
29032 * misc/setxattr.c: Likewise.
29033 * misc/sstk.c: Likewise.
29034 * misc/stty.c: Likewise.
29035 * misc/swapoff.c: Likewise.
29036 * misc/swapon.c: Likewise.
29037 * misc/sync.c: Likewise.
29038 * misc/syncfs.c: Likewise.
29039 * misc/syscall.c: Likewise.
29040 * misc/truncate.c: Likewise.
29041 * misc/ualarm.c: Likewise.
29042 * misc/usleep.c: Likewise.
29043 * misc/ustat.c: Likewise.
29044 * misc/utimes.c: Likewise.
29045 * misc/vhangup.c: Likewise.
29046 * misc/writev.c: Likewise.
29047 * posix/_exit.c: Likewise.
29048 * posix/alarm.c: Likewise.
29049 * posix/execve.c: Likewise.
29050 * posix/fexecve.c: Likewise.
29051 * posix/fork.c: Likewise.
29052 * posix/fpathconf.c: Likewise.
29053 * posix/getaddrinfo.c: Likewise.
29054 * posix/getegid.c: Likewise.
29055 * posix/geteuid.c: Likewise.
29056 * posix/getgid.c: Likewise.
29057 * posix/getgroups.c: Likewise.
29058 * posix/getlogin.c: Likewise.
29059 * posix/getlogin_r.c: Likewise.
29060 * posix/getpgid.c: Likewise.
29061 * posix/getpid.c: Likewise.
29062 * posix/getppid.c: Likewise.
29063 * posix/getresgid.c: Likewise.
29064 * posix/getresuid.c: Likewise.
29065 * posix/getsid.c: Likewise.
29066 * posix/getuid.c: Likewise.
29067 * posix/glob64.c: Likewise.
29068 * posix/nanosleep.c: Likewise.
29069 * posix/pathconf.c: Likewise.
29070 * posix/pause.c: Likewise.
29071 * posix/posix_madvise.c: Likewise.
29072 * posix/pread.c: Likewise.
29073 * posix/pread64.c: Likewise.
29074 * posix/pwrite.c: Likewise.
29075 * posix/pwrite64.c: Likewise.
29076 * posix/sched_getaffinity.c: Likewise.
29077 * posix/sched_getp.c: Likewise.
29078 * posix/sched_gets.c: Likewise.
29079 * posix/sched_primax.c: Likewise.
29080 * posix/sched_primin.c: Likewise.
29081 * posix/sched_rr_gi.c: Likewise.
29082 * posix/sched_setaffinity.c: Likewise.
29083 * posix/sched_setp.c: Likewise.
29084 * posix/sched_sets.c: Likewise.
29085 * posix/sched_yield.c: Likewise.
29086 * posix/setgid.c: Likewise.
29087 * posix/setlogin.c: Likewise.
29088 * posix/setpgid.c: Likewise.
29089 * posix/setresgid.c: Likewise.
29090 * posix/setresuid.c: Likewise.
29091 * posix/setsid.c: Likewise.
29092 * posix/setuid.c: Likewise.
29093 * posix/sleep.c: Likewise.
29094 * posix/spawni.c: Likewise.
29095 * posix/sysconf.c: Likewise.
29096 * posix/times.c: Likewise.
29097 * posix/wait.c: Likewise.
29098 * posix/wait3.c: Likewise.
29099 * posix/wait4.c: Likewise.
29100 * posix/waitpid.c: Likewise.
29101 * resolv/gai_sigqueue.c: Likewise.
29102 * resource/getpriority.c: Likewise.
29103 * resource/getrlimit.c: Likewise.
29104 * resource/getrusage.c: Likewise.
29105 * resource/nice.c: Likewise.
29106 * resource/setpriority.c: Likewise.
29107 * resource/setrlimit.c: Likewise.
29108 * resource/ulimit.c: Likewise.
29109 * rt/aio_cancel.c: Likewise.
29110 * rt/aio_fsync.c: Likewise.
29111 * rt/aio_read.c: Likewise.
29112 * rt/aio_sigqueue.c: Likewise.
29113 * rt/aio_suspend.c: Likewise.
29114 * rt/aio_write.c: Likewise.
29115 * rt/clock_getres.c: Likewise.
29116 * rt/clock_gettime.c: Likewise.
29117 * rt/clock_nanosleep.c: Likewise.
29118 * rt/clock_settime.c: Likewise.
29119 * rt/lio_listio.c: Likewise.
29120 * rt/mq_close.c: Likewise.
29121 * rt/mq_getattr.c: Likewise.
29122 * rt/mq_notify.c: Likewise.
29123 * rt/mq_open.c: Likewise.
29124 * rt/mq_receive.c: Likewise.
29125 * rt/mq_send.c: Likewise.
29126 * rt/mq_setattr.c: Likewise.
29127 * rt/mq_timedreceive.c: Likewise.
29128 * rt/mq_timedsend.c: Likewise.
29129 * rt/mq_unlink.c: Likewise.
29130 * rt/shm_open.c: Likewise.
29131 * rt/shm_unlink.c: Likewise.
29132 * rt/timer_create.c: Likewise.
29133 * rt/timer_delete.c: Likewise.
29134 * rt/timer_getoverr.c: Likewise.
29135 * rt/timer_gettime.c: Likewise.
29136 * rt/timer_settime.c: Likewise.
29137 * setjmp/__longjmp.c: Likewise.
29138 * setjmp/setjmp.c: Likewise.
29139 * signal/kill.c: Likewise.
29140 * signal/killpg.c: Likewise.
29141 * signal/raise.c: Likewise.
29142 * signal/sigaction.c: Likewise.
29143 * signal/sigaltstack.c: Likewise.
29144 * signal/sigblock.c: Likewise.
29145 * signal/sigignore.c: Likewise.
29146 * signal/sigintr.c: Likewise.
29147 * signal/signal.c: Likewise.
29148 * signal/sigpause.c: Likewise.
29149 * signal/sigpending.c: Likewise.
29150 * signal/sigqueue.c: Likewise.
29151 * signal/sigreturn.c: Likewise.
29152 * signal/sigset.c: Likewise.
29153 * signal/sigsetmask.c: Likewise.
29154 * signal/sigstack.c: Likewise.
29155 * signal/sigsuspend.c: Likewise.
29156 * signal/sigtimedwait.c: Likewise.
29157 * signal/sigvec.c: Likewise.
29158 * signal/sigwait.c: Likewise.
29159 * signal/sigwaitinfo.c: Likewise.
29160 * signal/sysv_signal.c: Likewise.
29161 * socket/accept.c: Likewise.
29162 * socket/accept4.c: Likewise.
29163 * socket/bind.c: Likewise.
29164 * socket/connect.c: Likewise.
29165 * socket/getpeername.c: Likewise.
29166 * socket/getsockname.c: Likewise.
29167 * socket/getsockopt.c: Likewise.
29168 * socket/isfdtype.c: Likewise.
29169 * socket/listen.c: Likewise.
29170 * socket/recv.c: Likewise.
29171 * socket/recvfrom.c: Likewise.
29172 * socket/recvmsg.c: Likewise.
29173 * socket/send.c: Likewise.
29174 * socket/sendmsg.c: Likewise.
29175 * socket/sendto.c: Likewise.
29176 * socket/setsockopt.c: Likewise.
29177 * socket/shutdown.c: Likewise.
29178 * socket/sockatmark.c: Likewise.
29179 * socket/socket.c: Likewise.
29180 * socket/socketpair.c: Likewise.
29181 * stdio-common/ctermid.c: Likewise.
29182 * stdio-common/cuserid.c: Likewise.
29183 * stdio-common/remove.c: Likewise.
29184 * stdio-common/rename.c: Likewise.
29185 * stdio-common/renameat.c: Likewise.
29186 * stdio-common/tempname.c: Likewise.
29187 * stdlib/getcontext.c: Likewise.
29188 * stdlib/makecontext.c: Likewise.
29189 * stdlib/setcontext.c: Likewise.
29190 * stdlib/swapcontext.c: Likewise.
29191 * stdlib/system.c: Likewise.
29192 * streams/fattach.c: Likewise.
29193 * streams/fdetach.c: Likewise.
29194 * streams/getmsg.c: Likewise.
29195 * streams/getpmsg.c: Likewise.
29196 * streams/putmsg.c: Likewise.
29197 * streams/putpmsg.c: Likewise.
29198 * sysdeps/unix/bsd/getpt.c: Likewise.
29199 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29200 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29201 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29203 Likewise.
29204 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29205 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29206 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29207 * sysvipc/msgctl.c: Likewise.
29208 * sysvipc/msgget.c: Likewise.
29209 * sysvipc/msgrcv.c: Likewise.
29210 * sysvipc/msgsnd.c: Likewise.
29211 * sysvipc/semctl.c: Likewise.
29212 * sysvipc/semget.c: Likewise.
29213 * sysvipc/semop.c: Likewise.
29214 * sysvipc/semtimedop.c: Likewise.
29215 * sysvipc/shmat.c: Likewise.
29216 * sysvipc/shmctl.c: Likewise.
29217 * sysvipc/shmdt.c: Likewise.
29218 * sysvipc/shmget.c: Likewise.
29219 * termios/tcdrain.c: Likewise.
29220 * termios/tcflow.c: Likewise.
29221 * termios/tcflush.c: Likewise.
29222 * termios/tcgetattr.c: Likewise.
29223 * termios/tcgetpgrp.c: Likewise.
29224 * termios/tcsendbrk.c: Likewise.
29225 * termios/tcsetattr.c: Likewise.
29226 * termios/tcsetpgrp.c: Likewise.
29227 * time/adjtime.c: Likewise.
29228 * time/clock.c: Likewise.
29229 * time/getitimer.c: Likewise.
29230 * time/gettimeofday.c: Likewise.
29231 * time/setitimer.c: Likewise.
29232 * time/settimeofday.c: Likewise.
29233 * time/stime.c: Likewise.
29234 * time/time.c: Likewise.
29235
292362012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 29237
a20492cf
PT
29238 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29239 /usr/old/bin.
29240
72e182e3
PT
29241 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29242 instead of spaces.
29243 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29244
fbeafede
JM
292452012-11-03 Joseph Myers <joseph@codesourcery.com>
29246
5b5b04d6
JM
29247 [BZ #14796]
29248 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29249 FE_TONEAREST before applying Dekker multiplication and Knuth
29250 addition. Clear inexact exceptions and check for exact zero
29251 results afterwards.
29252 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29253 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29254 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29255 * math/libm-test.inc (fma_test): Add more tests.
29256 (fma_test_towardzero): Likewise.
29257 (fma_test_downward): Likewise.
29258 (fma_test_upward): Likewise.
29259 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29260 function.
29261 (libc_fesetround): New macro.
29262 (libc_fesetroundf): Likewise.
29263 (libc_fesetroundl): Likewise.
29264 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29265 function.
29266 (libc_fesetround_387): Likewise.
29267 (libc_fesetroundf): New macro.
29268 (libc_fesetround): Likewise.
29269 (libc_fesetroundl): Likewise.
29270 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29271 function.
29272 (libc_fesetroundf): New macro.
29273 (libc_fesetround): Likewise.
29274 (libc_fesetroundl): Likewise.
29275 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29276 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29277 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29278 libm_hidden_ver.
29279 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29280 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29281 libm_hidden_def.
29282 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29283 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29284 libm_hidden_ver.
29285 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29286 libm_hidden_def.
29287
fbeafede
JM
29288 [BZ #3439]
29289 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29290 integer constant usable in #if and use that to give value to enum
29291 constant.
29292 (FE_DIVBYZERO): Likewise.
29293 (FE_UNDERFLOW): Likewise.
29294 (FE_OVERFLOW): Likewise.
29295 (FE_INVALID): Likewise.
29296 (FE_INVALID_SNAN): Likewise.
29297 (FE_INVALID_ISI): Likewise.
29298 (FE_INVALID_IDI): Likewise.
29299 (FE_INVALID_ZDZ): Likewise.
29300 (FE_INVALID_IMZ): Likewise.
29301 (FE_INVALID_COMPARE): Likewise.
29302 (FE_INVALID_SOFTWARE): Likewise.
29303 (FE_INVALID_SQRT): Likewise.
29304 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29305 (FE_TONEAREST): Likewise.
29306 (FE_TOWARDZERO): Likewise.
29307 (FE_UPWARD): Likewise.
29308 (FE_DOWNWARD): Likewise.
29309 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29310 (FE_DIVBYZERO): Likewise.
29311 (FE_OVERFLOW): Likewise.
29312 (FE_UNDERFLOW): Likewise.
29313 (FE_INEXACT): Likewise.
29314 (FE_TONEAREST): Likewise.
29315 (FE_DOWNWARD): Likewise.
29316 (FE_UPWARD): Likewise.
29317 (FE_TOWARDZERO): Likewise.
29318 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29319 (FE_UNDERFLOW): Likewise.
29320 (FE_OVERFLOW): Likewise.
29321 (FE_DIVBYZERO): Likewise.
29322 (FE_INVALID): Likewise.
29323 (FE_TONEAREST): Likewise.
29324 (FE_TOWARDZERO): Likewise.
29325 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29326 (FE_OVERFLOW): Likewise.
29327 (FE_UNDERFLOW): Likewise.
29328 (FE_DIVBYZERO): Likewise.
29329 (FE_INEXACT): Likewise.
29330 (FE_TONEAREST): Likewise.
29331 (FE_TOWARDZERO): Likewise.
29332 (FE_UPWARD): Likewise.
29333 (FE_DOWNWARD): Likewise.
29334 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29335 (FE_DIVBYZERO): Likewise.
29336 (FE_OVERFLOW): Likewise.
29337 (FE_UNDERFLOW): Likewise.
29338 (FE_INEXACT): Likewise.
29339 (FE_TONEAREST): Likewise.
29340 (FE_DOWNWARD): Likewise.
29341 (FE_UPWARD): Likewise.
29342 (FE_TOWARDZERO): Likewise.
29343
105ca950
CM
293442012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29345
29346 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29347
a542b389
AS
293482012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29349
29350 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29351 commands. Quote $PWD.
29352 (blacklist_exports): Don't use remove_newlines. Replace "declare
29353 -x" by "export".
29354 (remove_newlines): Remove.
29355
f62c8abc
L
293562012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29357
29358 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29359 * stdlib/stdlib.h (atof): Moved to ...
29360 * include/bits/stdlib-float.h: Here. New file.
29361 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29362 * stdlib/bits/stdlib-float.h: New file.
29363 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29364 -mno-sse -mno-mmx.
29365 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29366 <xmmintrin.h>.
29367
0155d5b2
JM
293682012-11-02 Joseph Myers <joseph@codesourcery.com>
29369
a68d0680
JM
29370 * conform/conformtest.pl (@headers): Add fenv.h.
29371 * conform/data/fenv.h-data: New file.
29372 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29373 include of <math/fenv.h>.
29374
caf7f573
JM
29375 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29376 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29377 && !UNIX98]. Enables tests for XOPEN2K8.
29378 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29379 POSIX2008]: Likewise.
29380
6c073ad6
JM
29381 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29382 (struct rusage): Do not expect type or its members.
29383
0155d5b2
JM
29384 [BZ #3439]
29385 * math/math.h (FP_NAN): Define macro to integer constant usable in
29386 #if and use that to give value to enum constant.
29387 (FP_INFINITE): Likewise.
29388 (FP_ZERO): Likewise.
29389 (FP_SUBNORMAL): Likewise.
29390 (FP_NORMAL): Likewise.
29391
b5dcacb4
AS
293922012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29393
29394 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29395 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29396 arguments.
29397
f7934be8
RM
293982012-11-02 Roland McGrath <roland@hack.frob.com>
29399
29400 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29401 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29402 autoconf-time if not.
29403 * configure.in: Remove AC_PREREQ.
29404
d7d08bde
TMQMF
294052012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29406
29407 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29408 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29409 of the internal implementation.
29410
dcdae19a
JM
294112012-11-02 Joseph Myers <joseph@codesourcery.com>
29412
29413 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29414 except include of <misc/sys/syslog.h>.
29415
d6cffd3e
AS
294162012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29417
29418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29419 function returns with a NULL context exit with zero.
29420
b3563932
TMQMF
294212012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29422
29423 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29424
b288a93d
L
294252012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29426
29427 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29428 (run_program_cmd): This.
29429 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29430 (tst_langinfo): New variable. Use it.
29431
a2421a68
SAS
294322012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29433
29434 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29435 floating point opcodes.
29436
6f796e1b
TS
294372012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29438
7402596b
TS
29439 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29440 variable.
29441
d0d4f868
TS
29442 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29443
6f796e1b
TS
29444 * sysdeps/mach/hurd/powerpc: Remove directory.
29445 * sysdeps/mach/powerpc: Likewise.
29446
4da224a2
AS
294472012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29448
29449 * scripts/check-local-headers.sh: Ignore c++ headers.
29450
341dd673
TS
294512012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29452
29453 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29454 __libc_cleanup_region_start argument.
29455
473611b2
JM
294562012-11-01 Joseph Myers <joseph@codesourcery.com>
29457
29458 [BZ #14784]
29459 [BZ #14785]
29460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29461 x * y using scaling, not as x * y + z.
29462 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29463 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29464 * math/libm-test.inc (fma_test): Add more tests.
29465 (fma_test_towardzero): Likewise.
29466 (fma_test_downward): Likewise.
29467 (fma_test_upward): Likewise.
29468
4078da3d
TS
294692012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29470
29471 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29472
903252aa
JM
294732012-10-31 Joseph Myers <joseph@codesourcery.com>
29474
29475 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29476 New variable.
29477
cbc818d0
TS
294782012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29479
29480 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29481
5a03cb1e
AS
294822012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29483
29484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29485 Fix sort order.
29486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29487 Likewise.
29488
90aff2ff
TMQMF
294892012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29490
29491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29492 Fix the order of the list for glibc 2.17.
29493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29494 Likewise.
29495
1818fcb7
AS
294962012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29497
29498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29499
ef82f4da
JM
295002012-10-31 Joseph Myers <joseph@codesourcery.com>
29501
16a0e2ec
JM
29502 [BZ #14610]
29503 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29504 for low part of x being zero before using __atanl (y).
29505 * math/libm-test.inc (atan2_test): Add another test.
29506
0eb69512
JM
29507 * manual/install.texi (Configuring and compiling): Document
29508 general use of test-wrapper and test-wrapper-env.
29509 * INSTALL: Regenerated.
29510
ef82f4da
JM
29511 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29512 (__fma): Do not extract and scale down low bits on after-rounding
29513 systems when result rounded to normal precision would have normal
29514 exponent.
29515 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29516 (__fmal): Do not extract and scale down low bits on after-rounding
29517 systems when result rounded to normal precision would have normal
29518 exponent.
29519 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29520 (__fmal): Do not extract and scale down low bits on after-rounding
29521 systems when result rounded to normal precision would have normal
29522 exponent.
29523 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29524 macro.
29525 (fma_test): Add more tests.
29526 (fma_test_towardzero): Likewise.
29527 (fma_test_downward): Likewise.
29528 (fma_test_upward): Likewise.
29529
954ef0d9
L
295302012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29531
29532 * sysdeps/i386/tininess.h: Renamed to ...
29533 * sysdeps/x86/tininess.h: This.
29534 * sysdeps/x86_64/tininess.h: Removed.
29535
df61ffb2
JM
295362012-10-30 Joseph Myers <joseph@codesourcery.com>
29537
29538 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29539 input. Use $(build-program-cmd).
29540 ($(objpfx)tst-array1-static.out): Likewise.
29541 ($(objpfx)tst-array2.out): Likewise.
29542 ($(objpfx)tst-array3.out): Likewise.
29543 ($(objpfx)tst-array4.out): Likewise.
29544 ($(objpfx)tst-array5.out): Likewise.
29545 ($(objpfx)tst-array5-static.out): Likewise.
29546
01767843
CM
295472012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29548
47cc1490
CM
29549 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29550 if defined.
29551
01767843
CM
29552 * nss/nsswitch.h (nss_interface_function): Provide new
29553 macro for use with NSS functions.
29554 * grp/initgroups.c: Use new macro.
29555 * nss/getXXbyYY.c: Likewise.
29556 * nss/getXXbyYY_r.c: Likewise.
29557 * nss/getXXent.c: Likewise.
29558 * nss/getXXent_r.c: Likewise.
29559 * sysdeps/posix/getaddrinfo.c: Likewise.
29560
8321aa97
AJ
295612012-10-30 Andreas Jaeger <aj@suse.de>
29562
29563 * po/ru.po: Update Russion translation from translation project.
29564
2a27fd6d
JM
295652012-10-30 Joseph Myers <joseph@codesourcery.com>
29566
8627a232
JM
29567 [BZ #14152]
29568 [BZ #14783]
29569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29570 result and shift together with sticky bit instead of replicating
29571 round-to-nearest rounding.
29572 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29573 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29574 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29575 missing underflow exceptions.
29576 (fma_test_towardzero): Add more tests.
29577 (fma_test_downward): Likewise.
29578 (fma_test_upward): Likewise.
29579
2a27fd6d
JM
29580 [BZ #14047]
29581 * sysdeps/generic/tininess.h: New file.
29582 * sysdeps/i386/tininess.h: Likewise.
29583 * sysdeps/sh/tininess.h: Likewise.
29584 * sysdeps/x86_64/tininess.h: Likewise.
29585 * stdlib/tst-strtod-underflow.c: Likewise.
29586 * stdlib/tst-tininess.c: Likewise.
29587 * stdlib/strtod_l.c: Include <tininess.h>.
29588 (round_and_return): Do not set errno for exact underflow cases.
29589 Force an underflow exception when setting errno for underflow.
29590 Determine underflow based on rounding to normal precision if
29591 TININESS_AFTER_ROUNDING.
29592 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29593 ERANGE for exact underflow cases.
29594 * stdlib/Makefile (tests): Add tst-tininess and
29595 tst-strtod-underflow.
29596 ($(objpfx)tst-tininess): Use $(link-libm).
29597 ($(objpfx)tst-strtod-underflow): Likewise.
29598
e7170363
AJ
295992012-10-30 Andreas Jaeger <aj@suse.de>
29600
e5088dc6
AJ
29601 [BZ#14767]
29602 * elf/Makefile (tests): Remove conditional for have-initfini-array
29603 since this is now always required and the variable does not exist
29604 anymore.
29605 (tests-static): Likewise.
29606 (modules-names): Likewise.
29607
e7170363 29608 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
29609
29610 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29611 merged with constructor/destructor.
29612 (init_array): Likewise.
29613 * elf/tst-array2dep.c (fini_array): Likewise.
29614 (init_array): Likewise.
29615
60457d8a
MF
296162012-10-29 Mike Frysinger <vapier@gentoo.org>
29617
29618 * manual/message.texi: Delete @cartouche tags.
29619
8bece752
PT
296202012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29621
94ce799f
PT
29622 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29623 EOPNOTSUPP.
29624 * sysdeps/mach/hurd/fsync.c: Likewise.
29625
8bece752
PT
29626 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29627 [_POSIX_REALTIME_SIGNALS]: Change condition to
29628 [_POSIX_REALTIME_SIGNALS > 0].
29629
86ebe6b1
AJ
296302012-10-27 Andreas Jaeger <aj@suse.de>
29631
29632 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29633 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29634 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29635 [__WORDSIZE != 64]: Likewise.
29636
54399c08
L
296372012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29638
29639 * iconvdata/tst-table.sh: Remove ${SHELL}.
29640 * iconvdata/tst-tables.sh: Likewise.
29641
e2211bed
DM
296422012-10-25 David S. Miller <davem@davemloft.net>
29643
29644 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29645 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29646 of strtoull.
29647
f303f97c
DM
29648 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29649 ifunc-impl-list.c
29650 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29651 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29652 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29653 file.
29654
1e9d84cd
RM
296552012-10-25 Roland McGrath <roland@hack.frob.com>
29656
29657 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29658 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29659 __getdirentries.
29660
df381762
JM
296612012-10-25 Joseph Myers <joseph@codesourcery.com>
29662 Jim Blandy <jimb@codesourcery.com>
29663
29664 * scripts/cross-test-ssh.sh: New file.
29665 * manual/install.texi (Configuring and compiling): Document use of
29666 cross-test-ssh.sh.
29667 * INSTALL: Regenerated.
29668
bff64913
PT
296692012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29670
29671 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29672 EOPNOTSUPP.
29673
25fe8932
JM
296742012-10-25 Joseph Myers <joseph@codesourcery.com>
29675
29676 * Makeconfig (run-program-prefix): Fix comment.
29677
cc1290d0
JM
296782012-10-24 Joseph Myers <joseph@codesourcery.com>
29679 Jim Blandy <jimb@codesourcery.com>
29680
29681 * Makeconfig (test-wrapper): New variable,
29682 (test-wrapper-env): Likewise.
29683 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29684 (run-built-tests): Define to yes.
29685 (run-program-prefix): Use $(test-wrapper).
29686 (built-program-cmd): Likewise.
29687 * Rules (make-test-out): Use $(test-wrapper-env) and
29688 $(host-built-program-cmd).
29689 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29690 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29691 tst-pathopt.sh.
29692 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29693 $(test-wrapper-env) to tst-rtld-load-self.sh.
29694 ($(objpfx)order2.out): Use $(test-wrapper).
29695 ($(objpfx)tst-initorder.out): Likewise.
29696 ($(objpfx)tst-initorder2.out): Likewise.
29697 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29698 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29699 (test_wrapper_env): New variable. Use it to run ld.so.
29700 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29701 Use it to run ld.so.
29702 (test_wrapper_env): Likewise.
29703 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29704 $(test-wrapper) to run-iconv-test.sh.
29705 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29706 (ICONV): Use $test_wrapper.
29707 * posix/Makefile ($(objpfx)globtest.out): Pass
29708 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29709 globtest.sh, not $(run-program-prefix).
29710 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29711 (test_wrapper): Likewise.
29712 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29713 set together with run_via_rtld_prefix.
29714 (run_program_prefix): Define in terms of test_wrapper and
29715 run_via_rtld_prefix.
29716
6e6249d0
RM
297172012-10-24 Roland McGrath <roland@hack.frob.com>
29718
29719 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29720 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29721 Targets removed.
29722
29723 [BZ #14743]
29724 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29725 Declare __clock_getres, __clock_gettime, __clock_settime,
29726 __clock_nanosleep, and __clock_getcpuclockid.
29727 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29728 Remove librt_hidden_def (clock_gettime).
29729 * sysdeps/unix/clock_gettime.c: Likewise.
29730 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29731 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29732 * rt/clock_getres.c: Define __clock_getres as an alias.
29733 * sysdeps/posix/clock_getres.c: Likewise.
29734 * rt/clock_settime.c: Define __clock_settime as an alias.
29735 * sysdeps/unix/clock_settime.c: Likewise.
29736 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29737 * sysdeps/unix/clock_nanosleep.c: Likewise.
29738 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29739 * rt/clock-compat.c: New file.
29740 * rt/Makefile (librt-routines): Add clock-compat and move
29741 $(clock-routines) to ...
29742 (routines): ... here, new variable.
29743 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29744 Don't add get_clockfreq here.
29745 * rt/Versions (libc: GLIBC_2.17): New version set.
29746 Add clock_* symbols here.
29747 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29748 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29749 (GLIBC_2.17): Add clock_* symbols.
29750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29752 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29754 Likewise.
29755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29756 Likewise.
29757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29761 * NEWS: Mention the move.
29762
29763 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29764 Use __open, __read, __close rather than their public counterparts.
29765 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29766 (__get_clockfreq_via_cpuinfo): Likewise.
29767 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29768 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29769
29770 * config.h.in (HAVE_IFUNC): New #undef.
29771 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29772 was successful.
29773 * configure: Regenerated.
29774
0cae3f4b
MF
297752012-10-24 Mike Frysinger <vapier@gentoo.org>
29776
29777 * configure.in: Move READELF check to start of file.
29778 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29779 libc_cv_asm_gnu_indirect_function in the process.
29780 * configure: Regenerated.
29781
8175a253
MF
297822012-10-24 Mike Frysinger <vapier@gentoo.org>
29783
29784 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29785 send the output to /dev/null.
29786 (libc_cv_cc_with_libunwind): Likewise.
29787 (libc_cv_as_noexecstack): Likewise.
29788 * configure: Regenerate.
29789
0708a7d1
JM
297902012-10-24 Joseph Myers <joseph@codesourcery.com>
29791
10b40d85
JM
29792 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29793
0708a7d1
JM
29794 * posix/globtest.sh (TMPDIR): Do not set.
29795 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29796 (testout): Likewise.
29797
9fddec1a
AJ
297982012-10-24 Andreas Jaeger <aj@suse.de>
29799
3a8db22f
AJ
29800 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29801 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29802 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29803 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29804 posix_fadvise64, posix_fallocate64.
29805
9fddec1a
AJ
29806 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29807 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29808 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29809 Likewise.
29810 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29811 Likewise.
29812 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29813
29814 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29815 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29816 <bits/fcntl-linux.h>.
29817 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29818
29819 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29820 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29821 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29822 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29823 [__WORDSIZE != 64]: Likewise.
29824
ebfd1bbd
JM
298252012-10-23 Joseph Myers <joseph@codesourcery.com>
29826
03ac099f
JM
29827 * Makeconfig (run-built-tests): New variable.
29828 * Rules [$(cross-compiling) = yes]: Change condition to
29829 [$(run-built-tests) = no].
29830 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29831 to [$(run-built-tests) = yes].
29832 * elf/Makefile [$(cross-compiling) = no]: Likewise
29833 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29834 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29835 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29836 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29837 * io/Makefile [$(cross-compiling) = no]: Likewise.
29838 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29839 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29840 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29841 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29842 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29843 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29844 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29845 * string/Makefile [$(cross-compiling) = no]: Likewise.
29846
ebfd1bbd
JM
29847 * posix/Makefile ($(objpfx)globtest.out): Pass
29848 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29849 $(rtld-installed-name).
29850 * posix/globtest.sh (elf_objpfx): Remove variable.
29851 (rtld_installed_name): Likewise.
29852 (library_path): Likewise.
29853 (run_program_prefix): New variable. Use for running globtest
29854 binary.
29855
166bca24
JB
298562012-10-23 Jim Blandy <jimb@codesourcery.com>
29857 Joseph Myers <joseph@codesourcery.com>
29858
29859 * Makeconfig (host-built-program-cmd): New variable.
29860 * elf/Makefile (tst-stackguard1-ARGS): Use
29861 $(host-built-program-cmd).
29862 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29863 (tst-spawn-ARGS): Likewise.
29864 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29865
88866099
JM
298662012-10-23 Joseph Myers <joseph@codesourcery.com>
29867 Jim Blandy <jimb@codesourcery.com>
29868
29869 * Makeconfig (run-via-rtld-prefix): New variable.
29870 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29871 (built-program-cmd): Likewise.
29872
b4b4c296
AJ
298732012-10-22 Andreas Jaeger <aj@suse.de>
29874
29875 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29876 __O_RSYNC if it exists, otherwise to O_SYNC.
29877
6fb54a22
JB
298782012-10-22 Jim Blandy <jimb@codesourcery.com>
29879 Joseph Myers <joseph@codesourcery.com>
29880
29881 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29882 /dev/null.
29883 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29884 from /dev/null
29885 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29886 /dev/null.
29887
481b90b9
AJ
298882012-10-22 Andreas Jaeger <aj@suse.de>
29889
2a0e2669
AJ
29890 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29891 Define always.
29892 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29893
76e38f9a
AJ
29894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29895 bits/fcntl-linux.h.
29896
7cd37b43
AJ
29897 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29898 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29899
481b90b9
AJ
29900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29901 to __O_LARGEFILE.
29902 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29903 to __O_LARGEFILE.
29904
aba75984
JB
299052012-10-21 Jim Blandy <jimb@codesourcery.com>
29906 Joseph Myers <joseph@codesourcery.com>
29907
29908 * config.make.in (NM): New variable.
29909
88d4247f
AJ
299102012-10-21 Andreas Jaeger <aj@suse.de>
29911
29912 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29913 definitions and declarations that are provided by
29914 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29915
f2eed205
L
299162012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29917
29918 [BZ #14683]
29919 * elf/Makefile (tests-static): Add tst-leaks1-static.
29920 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29921 ($(objpfx)tst-leaks1-static): New rule.
29922 ($(objpfx)tst-leaks1-static-mem): Likewise.
29923 (tst-leaks1-static-ENV): New macro.
29924 * elf/dl-open.c (dl_open_worker): Check the main application
29925 only if SHARED is defined.
29926 * elf/tst-leaks1-static.c: New file.
29927
335e6931
AJ
299282012-10-20 Andreas Jaeger <aj@suse.de>
29929
29930 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29931 generic values for Linux.
29932 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29933 and declarations that are provided by <bits/fcntl-linux.h> and
29934 include <bits/fcntl-linux.h>.
29935 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29936 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29937
ac5c94d3
RM
299382012-10-20 Roland McGrath <roland@hack.frob.com>
29939
29940 * io/fcntl.h: Move include of <bits/types.h> to the top and
29941 include it unconditionally.
29942
de54b33a
L
299432012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29944
228cfb01
L
29945 * wcsmbs/Makefile (tests-ifunc): New variable.
29946 (tests): Add $(tests-ifunc).
29947 * wcsmbs/test-wcschr-ifunc.c: New file.
29948 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29949 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29950 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29951 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29952 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29953
69f07e5f
L
29954 * string/Makefile (tests-ifunc): New variable.
29955 (tests): Add $(tests-ifunc).
29956 * string/test-memccpy.c (TEST_NAME): New macro.
29957 * string/test-memchr.c (TEST_NAME): Likewise.
29958 * string/test-memcmp.c (TEST_NAME): Likewise.
29959 * string/test-memcpy.c (TEST_NAME): Likewise.
29960 * string/test-memmem.c (TEST_NAME): Likewise.
29961 * string/test-memmove.c (TEST_NAME): Likewise.
29962 * string/test-memset.c (TEST_NAME): Likewise.
29963 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29964 * string/test-stpcpy.c (TEST_NAME): Likewise.
29965 * string/test-stpncpy.c (TEST_NAME): Likewise.
29966 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29967 * string/test-strcasestr.c (TEST_NAME): Likewise.
29968 * string/test-strcat.c (TEST_NAME): Likewise.
29969 * string/test-strchr.c (TEST_NAME): Likewise.
29970 * string/test-strcmp.c(TEST_NAME): Likewise.
29971 * string/test-strcpy.c (TEST_NAME): Likewise.
29972 * string/test-strcspn.c (TEST_NAME): Likewise.
29973 * string/test-strlen.c (TEST_NAME): Likewise.
29974 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29975 * string/test-strncmp.c (TEST_NAME): Likewise.
29976 * string/test-strncpy.c (TEST_NAME): Likewise.
29977 * string/test-strnlen.c (TEST_NAME): Likewise.
29978 * string/test-strpbrk.c (TEST_NAME): Likewise.
29979 * string/test-strrchr.c (TEST_NAME): Likewise.
29980 * string/test-strspn.c (TEST_NAME): Likewise.
29981 * string/test-strstr.c (TEST_NAME): Likewise.
29982 * string/test-bcopy-ifunc.c: New file.
29983 * string/test-bzero-ifunc.c: Likewise.
29984 * string/test-memccpy-ifunc.c: Likewise.
29985 * string/test-memchr-ifunc.c: Likewise.
29986 * string/test-memcmp-ifunc.c: Likewise.
29987 * string/test-memcpy-ifunc.c: Likewise.
29988 * string/test-memmem-ifunc.c: Likewise.
29989 * string/test-memmove-ifunc.c: Likewise.
29990 * string/test-mempcpy-ifunc.c: Likewise.
29991 * string/test-memset-ifunc.c: Likewise.
29992 * string/test-rawmemchr-ifunc.c: Likewise.
29993 * string/test-stpcpy-ifunc.c: Likewise.
29994 * string/test-stpncpy-ifunc.c: Likewise.
29995 * string/test-strcasecmp-ifunc.c: Likewise.
29996 * string/test-strcasestr-ifunc.c: Likewise.
29997 * string/test-strcat-ifunc.c: Likewise.
29998 * string/test-strchr-ifunc.c: Likewise.
29999 * string/test-strchrnul-ifunc.c: Likewise.
30000 * string/test-strcmp-ifunc.c: Likewise.
30001 * string/test-strcpy-ifunc.c: Likewise.
30002 * string/test-strcspn-ifunc.c: Likewise.
30003 * string/test-strlen-ifunc.c: Likewise.
30004 * string/test-strncasecmp-ifunc.c: Likewise.
30005 * string/test-strncat-ifunc.c: Likewise.
30006 * string/test-strncmp-ifunc.c: Likewise.
30007 * string/test-strncpy-ifunc.c: Likewise.
30008 * string/test-strnlen-ifunc.c: Likewise.
30009 * string/test-strpbrk-ifunc.c: Likewise.
30010 * string/test-strrchr-ifunc.c: Likewise.
30011 * string/test-strspn-ifunc.c: Likewise.
30012 * string/test-strstr-ifunc.c: Likewise.
30013
de54b33a
L
30014 * debug/Makefile (tests-ifunc): New variable.
30015 (tests): Add $(tests-ifunc).
30016 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30017 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30018 * debug/test-stpcpy_chk-ifunc.c: New file.
30019 * debug/test-strcpy_chk-ifunc.c: Likewise.
30020
88481c16
SP
300212012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30022
30023 [BZ #13601]
30024 * elf/dl-load.c (open_verify): Retry read if the entire ELF
30025 header is not read in.
30026
135948bd
JM
300272012-10-19 Joseph Myers <joseph@codesourcery.com>
30028
89f1c388
JM
30029 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
30030 script to $(SHELL) as $<. Pass $(common-objpfx) to script
30031 directly. Pass built executable to script as
30032 $(built-program-cmd).
30033 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
30034 $testprogram without using LD_LIBRARY_PATH and $ldso.
30035
e40a0d21
JM
30036 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30037 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30038 $(rtld-installed-name).
30039 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30040 (rtld_installed_name): Likewise.
30041 (library_path): Likewise.
30042 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30043 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30044 $(run-program-prefix) to tst-tables.sh.
30045 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30046 it to run tst-table-from and tst-table-to.
30047 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30048 Pass it to tst-table.sh.
30049 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30050 $(run-program-prefix) to tst-gettext.sh.
30051 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30052 tst-translit.sh.
30053 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30054 tst-gettext2.sh.
30055 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30056 to run tst-gettext.
30057 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30058 to run tst-gettext2.
30059 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30060 to run tst-translit.
30061 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30062 $(run-program-prefix) to tst-mtrace.sh.
30063 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30064 to run tst-mtrace.
30065 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30066 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30067 $(rtld-installed-name).
30068 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30069 (rtld_installed_name): Likewise.
30070 (run_program_prefix): New variable. Use it to run wordexp-test.
30071
728e272a
JM
30072 * Makeconfig (ARCH): Remove all definitions.
30073 (machine): Likewise.
30074 [ARCH]: Remove conditional code.
30075 [!objdir]: Give error.
30076 [!objdir] (objpfx): Remove.
30077 [!objdir] (common-objpfx): Likewise.
30078 [!objdir] (common-objdir): Likewise.
30079 * configure.in (config_makefile): Remove. Hardcode Makefile in
30080 AC_CONFIG_FILES call.
30081 * configure: Regenerated.
30082
d528cdcf
JM
30083 [BZ #13888]
30084 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30085 or TMPDIR.
30086 (testout): Likewise.
30087
135948bd
JM
30088 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30089 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30090 $(rtld-installed-name).
30091 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30092 (rtld_installed_name): Likwise.
30093 (runit): Remove function.
30094 (run_getconf): New variable, Use it for running getconf binary.
30095
38c78296
L
300962012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30097
30098 [BZ #14716]
30099 * string/test-memmem.c (check_result): New function.
30100 (do_one_test): Use it.
30101 (check1): New function.
30102 (test_main): Use it.
30103
d077f65f
MT
301042012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30105
30106 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30107
ced52c71
JM
301082012-10-18 Joseph Myers <joseph@codesourcery.com>
30109
30110 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30111 (_G_LSEEK64): Likewise.
30112 (_G_MMAP64): Likewise.
30113 (_G_FSTAT64): Likewise.
30114 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30115 (_G_LSEEK64): Likewise.
30116 (_G_MMAP64): Likewise.
30117 (_G_FSTAT64): Likewise.
30118 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30119 unconditional. Call __mmap64 directly.
30120 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30121 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30122 __lseek64 directly.
30123 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30124 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30125 __mmap64 directly.
30126 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30127 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30128 __lseek64 directly.
30129 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30130 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30131 __lseek64 directly.
30132 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30133 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
30134 __lseek64 directly.
30135 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30136 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
30137 __fxstat64 directly.
30138 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30139 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30140 unconditional.
30141 (freopen64) [!_G_OPEN64]: Remove conditional code.
30142 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30143 unconditional.
30144 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30145 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30146 unconditional.
30147 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30148 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30149 unconditional.
30150 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30151 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30152 unconditional.
30153 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30154 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30155 unconditional.
30156 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30157 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30158 unconditional.
30159 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30160 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30161 unconditional.
30162 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30163
b741de23
SP
301642012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30165
30166 [BZ #12140]
30167 * manual/memory.texi (Malloc Tunable Parameters): Add note
30168 about free list pointers overwriting some perturb bytes.
30169 Wording suggested by Roland McGrath.
30170
f9b9d9c9
JM
301712012-10-17 Joseph Myers <joseph@codesourcery.com>
30172
30173 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30174 (lgamma_test): Likewise.
30175 (tgamma_test): Likewise.
30176
172a631a
FW
301772012-10-16 Florian Weimer <fweimer@redhat.com>
30178
30179 [BZ #14700]
30180 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30181 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30182
e9f37252
MK
301832012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30184
30185 * NEWS: Mention BZ #14716.
30186 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30187 when removing AVAILABLE1_USES_J macro.
30188
d394eb74
L
301892012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30190
30191 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30192 (__bswap_64): __uint64_t for unsigned 64-bit int.
30193
ca38dc17
AS
301942012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30195
30196 * include/string.h (memmem): Declare libc hidden alias.
30197 * string/memmem.c (memmem): Define libc hidden alias.
30198 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30199 __read, __close instead of open, read, close.
30200
9a387d1f
L
302012012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30202
ac49ecaf
L
30203 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30204 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30205 global and hidden.
30206 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30207 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30208 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30209 Likewise.
30210 (__rawmemchr_sse2): Likewise.
30211 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30212 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30213 (__strchr_sse2): Likewise.
30214 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30215 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30216 (__strcasecmp_sse2): Likewise.
30217 (__strncasecmp_sse2): Likewise.
30218 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30219 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30220 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30221 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30222 (__strrchr_sse2): Likewise.
30223 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30224 ifunc-impl-list.c.
30225 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30226 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30227 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30228 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30229 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30230 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30231 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30232 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30233 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30234 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30235 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30236 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30237 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30238 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30239 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30240 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30241 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30242 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30243 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30244 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30245 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30246 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30247 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30248 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30249 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30250 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30251 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30252 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30253 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30254 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30255
b090e8ea
L
30256 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30257 global and hidden.
30258 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30259 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30260 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30261 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30262 Likewise.
30263 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30264 Likewise.
30265 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30266 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30267 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30268 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30269 ifunc-impl-list.c.
30270 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30271 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30272 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30273 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30274 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30275 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30276 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30277 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30278 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30279 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30280 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30281 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30282 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30283 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30284 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30285 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30286 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30287 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30288 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30289 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30290 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30291 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30292 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30293 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30294 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30295 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30296 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30297 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30298 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30299 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30300 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30301 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30302 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30303 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30304 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30305 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30306 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30307 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30308 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30309 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30310 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30311
11dd4af6
L
30312 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30313 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30314 * include/ifunc-impl-list.h: New file.
30315 * misc/ifunc-impl-list.c: Likewise.
30316 * misc/Makefile (routines): Add ifunc-impl-list.
30317 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30318 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
30319 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30320 TEST_NAME]: New variables.
11dd4af6
L
30321 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30322 are defined.
30323 (test_init): Call __libc_ifunc_impl_list to initialize
30324 func_list if TEST_IFUNC and TEST_NAME are defined.
30325
9a387d1f
L
30326 * string/Makefile (strop-tests): Add bcopy and bzero.
30327 * string/test-bcopy.c: New file.
30328 * string/test-bzero.c: Likewise.
30329 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30330 defined.
30331 * string/test-memset.c: Support bzero test if TEST_BZERO is
30332 defined.
30333 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30334 __libc_memmove.
30335 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30336 __libc_memset.
30337 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30338 of memset.
30339
472371b9
JM
303402012-10-10 Joseph Myers <joseph@codesourcery.com>
30341
1e4a9536
JM
30342 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30343 * configure: Regenerated.
30344
d173d12e
JM
30345 * Makeconfig (+link-static-before-libc): Don't include
30346 $(link-static-libc).
30347
472371b9
JM
30348 * libio/libio.h (_IO_pos_t): Remove.
30349
89a3ad0b
AO
303502012-10-10 Alexandre Oliva <aoliva@redhat.com>
30351
30352 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30353 McGrath.
30354
e7451425
AO
303552012-10-10 Alexandre Oliva <aoliva@redhat.com>
30356
30357 * crypt/crypt-entry.c: Include fips-private.h.
30358 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30359 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30360 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30361 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30362
4ba74a35
AO
303632012-10-10 Alexandre Oliva <aoliva@redhat.com>
30364
30365 * crypt/crypt-private.h: Include stdbool.h.
30366 (_ufc_setup_salt_r): Return bool.
30367 * crypt/crypt-entry.c: Include errno.h.
30368 (__crypt_r): Return NULL with EINVAL for bad salt.
30369 * crypt/crypt_util.c (bad_for_salt): New.
30370 (_ufc_setup_salt_r): Check that salt is long enough and within
30371 the specified alphabet.
30372 * crypt/badsalttest.c: New file.
30373 * crypt/Makefile (tests): Add it.
30374 ($(objpfx)badsalttest): New.
30375
f96f1242
MK
303762012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30377
30378 * NEWS: Add entry for BZ #14602.
30379
0e8e0c1c
JM
303802012-10-09 Joseph Myers <joseph@codesourcery.com>
30381
30382 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30383 type-generic.
30384 * math/libm-test.inc: Update comment listing what functions and
30385 macros are tested.
30386 (isgreater_test): New function.
30387 (isgreaterequal_test): Likewise.
30388 (isless_test): Likewise.
30389 (islessequal_test): Likewise.
30390 (islessgreater_test): Likewise.
30391 (isunordered_test): Likewise.
30392 (main): Call the new functions.
30393
273edc5e
RM
303942012-10-09 Roland McGrath <roland@hack.frob.com>
30395
b8493de0
RM
30396 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30397 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30398 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30399 * sysdeps/i386/configure: Regenerated.
30400 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30401 * sysdeps/mach/configure: Regenerated.
30402 * sysdeps/mach/hurd/configure: Regenerated.
30403 * sysdeps/powerpc/configure: Regenerated.
30404 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30405 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30406 * sysdeps/s390/s390-32/configure: Regenerated.
30407 * sysdeps/s390/s390-64/configure: Regenerated.
30408 * sysdeps/sh/configure: Regenerated.
30409 * sysdeps/sparc/configure: Regenerated.
30410 * sysdeps/unix/sysv/linux/configure: Regenerated.
30411 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30412 * sysdeps/x86_64/configure: Regenerated.
30413
273edc5e
RM
30414 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30415 defined. Don't check if MAP is NULL.
30416
c8450f70
JM
304172012-10-09 Joseph Myers <joseph@codesourcery.com>
30418
30419 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30420 (_G_stat64): Likewise.
30421 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30422 (_G_stat64): Likewise.
30423 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30424 instead of struct _G_stat64.
30425 * libio/fileops.c (mmap_remap_check): Likewise.
30426 (decide_maybe_mmap): Likewise.
30427 (_IO_new_file_seekoff): Likewise.
30428 (_IO_file_stat): Likewise.
30429 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30430 _G_off64_t.
30431 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30432 instead of struct _G_stat64.
30433 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30434
57e605ba
MK
304352012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30436
30437 [BZ #14602]
30438 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30439 Replace with ...
30440 (CHECK_EOL): New macro.
30441 (two_way_short_needle): Check beginning of haystack for EOL. Use
30442 CHECK_EOL.
30443 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30444 Replace with CHECK_EOL.
30445 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30446 Replace with CHECK_EOL.
30447
ef1bb361
JM
304482012-10-08 Joseph Myers <joseph@codesourcery.com>
30449
30450 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30451 type-generic.
30452 * math/libm-test.inc: Update comment listing what functions and
30453 macros are tested.
30454 (finite_test): New function.
30455 (isinf_test): Likewise.
30456 (isnan_test): Likewise.
30457 (fpclassify_test): Test subnormal input.
30458 (isfinite_test): Likewise.
30459 (isnormal_test): Likewise.
30460 (main): Call the new functions.
30461
55f11534
JN
304622012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30463
30464 [BZ #14660]
30465 * Makerules (%.dynsym): Force C locale when running
30466 $(OBJDUMP) --dynamic-syms.
30467
1ab29350
AS
304682012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30469
30470 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30471 <stdint.h>.
30472
f1ecb7ef
DM
304732012-10-06 David S. Miller <davem@davemloft.net>
30474
30475 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30476 upper 32-bits of the length value in %o2 since we use branch-on-register
30477 tests which consider the entire 64-bit register.
30478
5d41d91a
L
304792012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30480
30481 * string/test-strstr.c (check2): Add a test for page boundary.
30482
3baddb72
DM
304832012-10-05 David S. Miller <davem@davemloft.net>
30484
30485 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30486 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30487 file.
30488 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30489 sysdep_routines.
30490 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30491 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30492 and bzero when HWCAP_SPARC_CRYPTO is present.
30493
9cee5585
L
304942012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30495
d7e0dab9
L
30496 [BZ #14602]
30497 * string/test-strstr.c (check2): New function.
30498 (test_main): Call check2.
30499
03759f47
L
30500 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30501 and bug-strchr1.
30502 * string/bug-strcasestr1.c (do_test): Moved to ...
30503 * string/test-strcasestr.c (check1): Here. New function.
30504 (do_one_test): Break out result checking code into ...
30505 (check_result): This. New function.
30506 (do_one_test): Call check_result.
30507 (test_main): Call check1.
30508 * string/bug-strchr1.c (do_test): Moved to ...
30509 * string/test-strchr.c (check1): Here. New function.
30510 (do_one_test): Break out result checking code into ...
30511 (check_result): This. New function.
30512 (do_one_test): Call check_result.
30513 (test_main): Call check1.
30514 * string/bug-strstr1.c (main): Moved to ...
046f153e 30515 * string/test-strstr.c (check1): Here. New function.
03759f47
L
30516 (do_one_test): Break out result checking code into ...
30517 (check_result): This. New function.
30518 (do_one_test): Call check_result.
30519 (test_main): Call check1.
30520 * string/bug-strcasestr1.c: Removed.
30521 * string/bug-strchr1.c: Likewise.
30522 * string/bug-strstr1.c: Likewise.
30523
53cea63e
L
30524 * elf/Makefile (dl-routines): Add hwcaps.
30525 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30526 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30527 (_dl_important_hwcaps): Moved to ...
30528 * elf/dl-hwcaps.c: Here. New file.
30529 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30530
9cee5585 30531 [BZ #14557]
bb859b06
L
30532 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30533 if IS_IN_rtld isn't defined.
30534
9cee5585
L
30535 * elf/dl-support.c (_dl_sysinfo_map): New.
30536 Include "get-dynamic-info.h" and "setup-vdso.h".
30537 (_dl_non_dynamic_init): Call setup_vdso.
30538 * elf/dynamic-link.h: Don't include <assert.h>.
30539 (elf_get_dynamic_info): Moved to ...
30540 * elf/get-dynamic-info.h: Here. New file.
30541 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30542 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30543 * elf/setup-vdso.h: Here. New file.
30544 * elf/rtld.c: Include "setup-vdso.h".
30545 (dl_main): Call setup_vdso.
30546
23c31b76
JM
305472012-10-05 Joseph Myers <joseph@codesourcery.com>
30548
28234b07
JM
30549 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30550 creal in comment listing functions tested. List finite, isinf,
30551 isnan, isless, islessequal, isgreater, isgreaterequal,
30552 islessgreater, isunordered, lgamma_r and pow10 as functions and
30553 macros not tested. Mention which functions not tested are aliases
30554 for other functions. Fix typo. Note that signs of NaNs are not
30555 tested.
30556
23c31b76
JM
30557 * scripts/config.guess: Update from config.git.
30558 * scripts/config.sub: Likewise.
30559
9043e228
RM
305602012-10-04 Roland McGrath <roland@hack.frob.com>
30561
30562 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30563 * misc/madvise.c (madvise): Renamed to __madvise.
30564 Make madvise a weak alias.
30565 * include/sys/mman.h: Declare __madvise.
30566 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30567 * sysdeps/unix/syscalls.list
30568 (madvise): Make __madvise the strong name, and madvise a weak alias.
30569 * sysdeps/unix/sysv/linux/syscalls.list
30570 (madvise, mmap): Remove redundant entries.
30571 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30572 * malloc/malloc.c (mtrim): Likewise.
30573 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30574
f57f8055
RM
305752012-10-03 Roland McGrath <roland@hack.frob.com>
30576
30577 * sysdeps/mach/hurd/dl-cache.c: File removed.
30578 * config.h.in (USE_LDCONFIG): New #undef.
30579 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30580 * configure: Regenerated.
30581 * elf/Makefile (dl-routines): Add dl-cache only under
30582 [$(use-ldconfig) = yes].
30583 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30584 cache on [USE_LDCONFIG].
30585 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30586 [USE_LDCONFIG].
30587 * elf/rtld.c (dl_main): Likewise.
30588
5bb0c10a
PT
305892012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30590
30591 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30592 _SC_LEVEL4_CACHE_LINESIZE.
30593
010188c6
RM
305942012-10-03 Roland McGrath <roland@hack.frob.com>
30595
30596 * sysdeps/unix/bsd/confstr.h: File removed.
30597
b6c5ec07
AO
305982012-10-02 Alexandre Oliva <aoliva@redhat.com>
30599
30600 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30601 sys/sdt-config.h.
30602
408223d4
RM
306032012-10-02 Roland McGrath <roland@hack.frob.com>
30604
30605 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30606 Make 'mapoff' field ElfW(Off) rather than off_t.
30607
bb9510dc
DL
306082012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30609
fc997c6e
DL
30610 * nscd/Makefile: Remove nscd-cflags and all its users.
30611 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30612 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30613
bb9510dc
DL
30614 [BZ #10631]
30615 * malloc.c (malloc_printerr): Clarify error message.
30616
05699367
L
306172012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30618
30619 [BZ #14648]
30620 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30621 Set bit_FMA_Usable if FMA is supported.
30622 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30623 macro.
30624 (bit_FMA4_Usable): Updated.
30625 (index_FMA_Usable): New macro.
30626 (CPUID_FMA): Likewise
30627 (HAS_FMA): Defined with bit_FMA_Usable.
30628
51367701
RM
306292012-10-01 Roland McGrath <roland@hack.frob.com>
30630
30631 * bits/types.h (__swblk_t): Type removed.
30632 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30633 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30634 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30635 (__SWBLK_T_TYPE): Likewise.
30636 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30637 (__SWBLK_T_TYPE): Likewise.
30638 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30639 (__SWBLK_T_TYPE): Likewise.
30640 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30641 (__SWBLK_T_TYPE): Likewise.
30642
4d57bf63 306432012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 30644 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
30645
30646 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30647 (xdr_mapname): Use YPMAXMAP as maxsize.
30648 (xdr_peername): Use YPMAXPEER as maxsize.
30649 (xdr_keydat): Use YPAXRECORD as maxsize.
30650 (xdr_valdat): Use YPMAXRECORD as maxsize.
30651
93c65d43
RM
306522012-10-01 Roland McGrath <roland@hack.frob.com>
30653
497a03d6
RM
30654 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30655
93c65d43
RM
30656 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30657 * csu/init-first.c: ... here.
30658 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30659 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30660 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30661 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30662 * sysdeps/i386/init-first.c: File removed.
30663 * sysdeps/sh/init-first.c: File removed.
30664
bec749fd
JM
306652012-10-01 Joseph Myers <joseph@codesourcery.com>
30666
30667 [BZ #14645]
30668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30669 if x * y might underflow to zero and z is zero.
30670 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30671 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30672 * math/libm-test.inc (min_subnorm_value): New variable.
30673 (fma_test): Add more tests.
30674 (fma_test_towardzero): Likewise.
30675 (fma_test_downward): Likewise
30676 (fma_test_upward): Likewise.
30677 (initialize): Set min_subnorm_value.
30678
8ec5b013
JM
306792012-09-29 Joseph Myers <joseph@codesourcery.com>
30680
30681 [BZ #14638]
30682 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30683 0 + 0.
30684 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30685 mode for addition resulting in exact zero.
30686 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30687 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30688 exact 0 + 0.
30689 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30690 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30691 * math/libm-test.inc (fma_test): Add more tests.
30692 (fma_test_towardzero): New function.
30693 (fma_test_downward): Likewise.
30694 (fma_test_upward): Likewise.
30695 (main): Call the new functions.
30696
b1fa802e
DM
306972012-09-28 David S. Miller <davem@davemloft.net>
30698
30699 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30700
d3b9fd9e
RM
307012012-09-28 Roland McGrath <roland@hack.frob.com>
30702
ea4d37b3
RM
30703 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30704 instead of SIGALRM.
30705
ac51c949
RM
30706 * sysdeps/gnu/_G_config.h: Moved to ...
30707 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30708 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30709 * sysdeps/generic/_G_config.h: ... here.
30710
28c195f7
RM
30711 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30712
848917f9
RM
30713 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30714
6bacf05b
RM
30715 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30716 Conditionalize target on [libnss_test1.so-version].
30717
91363dbb
RM
30718 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30719
cc87f7d8
RM
30720 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30721 (elfobjdir): Move out of conditionals.
30722
b1c608fe
RM
30723 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30724 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30725 (__nss_lookup_function): Conditionalize label remove_from_tree on
30726 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 30727
1d9a6d96
DM
307282012-09-28 David S. Miller <davem@davemloft.net>
30729
30730 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30731 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30732 file.
30733 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30734 sysdep_routines.
30735 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30736 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30737 when HWCAP_SPARC_CRYPTO is present.
30738
72581615
PT
307392012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30740
30741 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30742
715a900c
JL
307432012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30744
30745 [BZ #6530]
30746 * stdio-common/vfprintf.c (process_string_arg): Revert
30747 2000-07-22 change.
30748
307492011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30750
30751 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30752 for testcase.
30753 * stdio-common/tst-sprintf.c: Include <locale.h>
30754 (main): Test sprintf's handling of incomplete multibyte
30755 characters.
30756
9bac1d86
L
307572012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30758
30759 * elf/dl-runtime.c (VERSYMIDX): Removed.
30760 * elf/dl-version.c (VERSYMIDX): Likewise.
30761 * elf/do-rel.h (VERSYMIDX): Likewise.
30762 (VALIDX): Likewise.
30763 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30764 * elf/rtld.c (VALIDX): Likewise.
30765 (ADDRIDX): Likewise.
9bac1d86
L
30766 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30767 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30768 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
30769 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30770 (VALIDX): Likewise.
30771 (ADDRIDX): Likewise.
9bac1d86 30772
b31606c0
PT
307732012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30774
30775 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30776
11541177
JL
307772012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30778
30779 [BZ #11438]
30780 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30781 to global scope.
30782 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30783 addresses are in the same scope as 192.0.2/24.
30784 * posix/gai.conf: Document new scope table defaults.
30785
adb26fae
SP
307862012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30787
30788 [BZ #5298]
30789 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30790 for ftell. Compute offsets from write pointers instead.
30791 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30792
4573c6b0
SP
307932012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30794
30795 [BZ #14543]
30796 * libio/Makefile (tests): New test case tst-fseek.
30797 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30798 combination works in wide mode.
30799 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30800 state when the external buffer state changes.
30801
aa9bbfe6
DM
308022012-09-27 David S. Miller <davem@davemloft.net>
30803
30804 [BZ #14376]
30805 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30806 pass reloc->r_addend in as the 'high' argument to
30807 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30808
784421e7
DM
30809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30810
c39bc8b8
PT
308112012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30812
30813 * rt/tst-aio2.c: Include <pthread.h>.
30814 * rt/tst-aio3.c: Likewise.
30815
1ccc2399
SE
308162012-09-27 Steve Ellcey <sellcey@mips.com>
30817
30818 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30819
31ed4153
L
308202012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30821
25f5f885
L
30822 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30823 contents on [SHARED].
31ed4153 30824
b7bfe116
MP
308252012-09-26 Marek Polacek <polacek@redhat.com>
30826
30827 [BZ #14530]
30828 [BZ #13741]
30829 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30830 for C++ and GCC <4.3 as well as for non GCC compilers.
30831
43c4edba
MT
308322012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30833
30834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30835
6a1bf82f
RM
308362012-09-25 Roland McGrath <roland@hack.frob.com>
30837
30838 * Makefile.in (all, install): Declare with .PHONY.
30839 Reported by Michael Hope <michael.hope@linaro.org>.
30840
8ad11b9a
TMQMF
308412012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30842
30843 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30844 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30845 system header.
30846 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30847 Likewise.
30848 (sydep_routines): Add the new and the internal functions.
30849 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30850 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30852 (GLIBC_2.17): Add the new function.
30853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30854 (GLIBC_2.17): Likewise.
30855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30856 (GLIBC_2.17): Likewise.
30857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30858 (GLIBC_2.17): Likewise.
30859 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30860
7e2fca8d
AM
308612012-09-25 Alan Modra <amodra@gmail.com>
30862
30863 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30864 Add release barrier before setting once_control to say
30865 initialisation is done. Add hints on lwarx. Use macro in
30866 place of isync.
30867 (clear_once_control): Add release barrier.
30868
b87c4b24
JM
308692012-09-25 Joseph Myers <joseph@codesourcery.com>
30870
d032e0d2
JM
30871 [BZ #13629]
30872 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30873 specially.
30874 * math/s_clog10.c (__clog10): Likewise.
30875 * math/s_clog10f.c (__clog10f): Likewise.
30876 * math/s_clog10l.c (__clog10l): Likewise.
30877 * math/s_clogf.c (__clogf): Likewise.
30878 * math/s_clogl.c (__clogl): Likewise.
30879 * math/Makefile (libm-calls): Add x2y2m1.
30880 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30881 (__x2y2m1): Likewise.
30882 (__x2y2m1l): Likewise.
30883 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30884 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30885 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30886 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30887 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30888 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30889 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30890 * sysdeps/i386/fpu/libm-test-ulps: Update.
30891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30892
b87c4b24
JM
30893 [BZ #14621]
30894 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30895 int as type of variable DEPTH.
30896 (glob): Use size_t instead of int as type of variables NEWCOUNT
30897 and OLD_PATHC.
30898
6d3bf199
LD
308992012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30900
22bf5c17
LD
30901 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30902 Add s_sincosf-sse2.
30903 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30904 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30905 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30906 macros for using routine as __sincosf_ia32.
30907 Use macro for function declaration and weak_alias.
30908 * sysdeps/i386/fpu/libm-test-ulps: Update.
30909
30910 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30912
30913 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
30914 subnormal argument.
30915 * math/s_cexpf.c (__cexpf): Likewise.
30916 * math/s_csinf.c (__csinf): Likewise.
30917 * math/s_csinhf.c (__csinhf): Likewise.
30918 * math/s_ctanf.c (__ctanf): Likewise.
30919 * math/s_ctanhf.c (__ctanhf): Likewise.
30920 * math/s_ccosh.c (__ccoshf): Likewise.
30921 * math/s_cexp.c (__cexpl): Likewise.
30922 * math/s_csin.c (__csin): Likewise.
30923 * math/s_csinh.c (__csinh): Likewise.
30924 * math/s_ctan.c (__ctan): Likewise.
30925 * math/s_ctanh.c (ctanh): Likewise.
30926 * math/s_ccoshl.c (__ccoshl): Likewise.
30927 * math/s_cexpl.c (__cexpl): Likewise.
30928 * math/s_csinl.c (__csinl): Likewise.
30929 * math/s_csinhl.c (__csinhl): Likewise.
30930 * math/s_ctanl.c (__ctanl): Likewise.
30931 * math/s_ctanhl.c (__ctanhl): Likewise.
30932
203e5603
JM
309332012-09-25 Joseph Myers <joseph@codesourcery.com>
30934
30935 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30936 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30937 (_IO_off_t): Define to __off_t, not _G_off_t.
30938 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30939 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30940 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30941 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30942 type of __dummy and __dummy2 fields.
30943 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30944 (_G_ssize_t): Likewise.
30945 (_G_off_t): Likewise.
30946 (_G_pid_t): Likewise.
30947 (_G_uid_t): Likewise.
30948 (_G_wchar_t): Likewise.
30949 (_G_wint_t): Likewise.
30950 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30951 (_G_ssize_t): Likewise.
30952 (_G_off_t): Likewise.
30953 (_G_pid_t): Likewise.
30954 (_G_uid_t): Likewise.
30955 (_G_wchar_t): Likewise.
30956 (_G_wint_t): Likewise.
30957 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30958 (_G_ssize_t): Likewise.
30959 (_G_off_t): Likewise.
30960 (_G_pid_t): Likewise.
30961 (_G_uid_t): Likewise.
30962 (_G_wchar_t): Likewise.
30963 (_G_wint_t): Likewise.
30964
9fab36eb
SP
309652012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30966
30967 * malloc/arena.c: Include malloc-sysdep.h.
30968 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30969 is sufficient to shrink the heap or an unmap is needed.
30970 * sysdeps/generic/malloc-sysdep.h: New file. Define
30971 new function check_may_shrink_heap.
30972 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30973 new function check_may_shrink_heap.
30974
2b4f00d1
SP
309752012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30976
30977 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30978 comments.
30979
9a9028b1
DL
309802012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30981
57c69bef
DL
30982 * catgets/test-gencat.sh: Add "set -e".
30983 * elf/tst-pathopt.sh: Likewise.
30984 * grp/tst_fgetgrent.sh: Likewise.
30985 * iconvdata/run-iconv-test.sh: Likewise.
30986 * intl/tst-gettext.sh: Likewise.
30987 * intl/tst-gettext2.sh: Likewise.
30988 * intl/tst-gettext4.sh: Likewise.
30989 * intl/tst-gettext6.sh: Likewise.
30990 * intl/tst-translit.sh: Likewise.
30991 * io/ftwtest-sh: Likewise.
30992 * libio/test-freopen.sh: Likewise.
30993 * malloc/tst-mtrace.sh: Likewise.
30994 * posix/globtest.sh: Likewise.
30995 * posix/tst-getconf.sh: Likewise.
30996 * posix/wordexp-tst.sh: Likewise.
30997 * stdio-common/tst-printf.sh: Likewise.
30998 * stdio-common/tst-unbputc.sh: Likewise.
30999 * stdlib/tst-fmtmsg.sh: Likewise.
31000 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31001 * catgets/Makefile: Do not specify -e option when running
31002 testsuite shell scripts.
31003 * elf/Makefile: Likewise.
31004 * grp/Makefile: Likewise.
31005 * iconvdata/Makefile: Likewise.
31006 * intl/Makefile: Likewise.
31007 * io/Makefile: Likewise.
31008 * libio/Makefile: Likewise.
31009 * malloc/Makefile: Likewise.
31010 * posix/Makefile: Likewise.
31011 * stdio-common/Makefile: Likewise.
31012 * stdlib/Makefile: Likewise.
31013 * sysdeps/x86_64/Makefile: Likewise.
31014
9a9028b1
DL
31015 * io/ftwtest-sh: Add copyright header.
31016 * posix/globtest.sh: Likewise.
31017 * posix/tst-getconf.sh: Likewise.
31018 * posix/wordexp-tst.sh: Likewise.
31019 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31020
ced6f16e
L
310212012-09-24 H.J. Lu <hongjiu.lu@intel.com>
31022
94b32c39
L
31023 [BZ #13679]
31024 * Makeconfig (+link): Defined as $(+link-static) if
31025 $(build-shared) isn't yes.
31026 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31027 isn't yes.
31028 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31029
189e935b
L
31030 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31031
ced6f16e
L
31032 [BZ #14562]
31033 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31034 new chunk size with MALLOC_ALIGN_MASK.
31035
a9f8e53a
JM
310362012-09-24 Joseph Myers <joseph@codesourcery.com>
31037
31038 [BZ #5044]
31039 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31040 <rounding-mode.h>.
31041 (__printf_fphex): Determine rounding using get_rounding_mode and
31042 round_away.
31043 * stdio-common/tst-printf-round.c (struct hex_test): New
31044 structure.
31045 (hex_tests): New variable.
31046 (test_hex_in_one_mode): New function.
31047 (do_test): Also run tests for hex float output.
31048
43153109
JM
310492012-09-21 Joseph Myers <joseph@codesourcery.com>
31050
31051 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31052 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31053 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31054 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31055 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31056 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31057 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31058 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31059
8a26625d
JM
310602012-09-20 Joseph Myers <joseph@codesourcery.com>
31061
31062 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31063 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31064 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31065 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31066
f3fd569c
DL
310672012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31068
31069 [BZ #14579]
31070 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31071 mode only.
31072 * elf/tst-rtld-load-self.sh: New test.
31073 * elf/Makefile: Run it.
31074
63bbedd4
JM
310752012-09-18 Joseph Myers <joseph@codesourcery.com>
31076
31077 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31078 (tst-writev-ENV): Remove.
31079 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31080
626f8b6a
CM
310812012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31082
31083 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31084
b7aaa4d6
JM
310852012-09-17 Joseph Myers <joseph@codesourcery.com>
31086
31087 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31088 unconditional.
31089 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31090 Likewise.
31091 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31092 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31093 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31094 Likewise.
31095
65513990
L
310962012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31097
31098 [BZ #14587]
31099 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31100 * config.make.in (have-cpp-asm-debuginfo): Removed.
31101 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31102 * configure: Regenerated.
31103
784761be
JM
311042012-09-14 Joseph Myers <joseph@codesourcery.com>
31105
31106 [BZ #5044]
31107 * stdio-common/printf_fp.c: Include <stdbool.h> and
31108 <rounding-mode.h>.
31109 (___printf_fp): Determine rounding using get_rounding_mode and
31110 round_away.
31111 * stdio-common/tst-printf-round.c: New file.
31112 * stdio-common/Makefile (tests): Add tst-printf-round.
31113 (link-libm): New variable.
31114 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31115
9503345f
L
311162012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31117
31118 [BZ #14576]
31119 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31120 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31121 Likewise.
31122 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31123 Likewise.
31124
ad35fc00
JM
311252012-09-13 Joseph Myers <joseph@codesourcery.com>
31126
31127 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31128 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31129 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31130 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31131
6c9b0f68
JM
311322012-09-12 Joseph Myers <joseph@codesourcery.com>
31133
31134 [BZ #14518]
31135 * include/rounding-mode.h: New file.
31136 * sysdeps/generic/get-rounding-mode.h: Likewise.
31137 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31138 * stdlib/strtod_l.c: Include <rounding-mode.h>.
31139 (MAX_VALUE): New macro.
31140 (MIN_VALUE): Likewise.
31141 (overflow_value): New function.
31142 (underflow_value): Likewise.
31143 (round_and_return): Use overflow_value and underflow_value to
31144 determine return values in overflow and underflow cases. Use
31145 round_away to determine rounding depending on rounding mode.
31146 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31147 determine return values in overflow and underflow cases.
31148 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31149 (struct test_results): New structure.
31150 (struct test): Use struct test_results to store expected results
31151 for all rounding modes.
31152 (TEST): Include expected results for all rounding modes.
31153 (test_in_one_mode): New function.
31154 (do_test): Use test_in_one_mode to compute and check results.
31155 Check results for all rounding modes.
31156 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31157 $(link-libm).
31158
19fcedd5
AM
311592012-12-09 Allan McRae <allan@archlinux.org>
31160
1e9d84cd 31161 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 31162
8bbfd2f1
JM
311632012-09-11 Joseph Myers <joseph@codesourcery.com>
31164
31165 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31166 (_G_int32_t): Likewise.
31167 (_G_uint16_t): Likewise.
31168 (_G_uint32_t): Likewise.
31169 (_G_HAVE_BOOL): Likewise.
31170 (_G_HAVE_ATEXIT): Likewise.
31171 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31172 (_G_HAVE_IO_FILE_OPEN): Likewise.
31173 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31174 (_G_int32_t): Likewise.
31175 (_G_uint16_t): Likewise.
31176 (_G_uint32_t): Likewise.
31177 (_G_HAVE_BOOL): Likewise.
31178 (_G_HAVE_ATEXIT): Likewise.
31179 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31180 (_G_HAVE_IO_FILE_OPEN): Likewise.
31181 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31182 (_G_int32_t): Likewise.
31183 (_G_uint16_t): Likewise.
31184 (_G_uint32_t): Likewise.
31185 (_G_HAVE_BOOL): Likewise.
31186 (_G_HAVE_ATEXIT): Likewise.
31187 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31188 (_G_HAVE_IO_FILE_OPEN): Likewise.
31189
b1dc5912
L
311902012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31191
31192 * csu/libc-tls.c: Update copyright years.
31193
0e886ef9
JM
311942012-09-10 Joseph Myers <joseph@codesourcery.com>
31195
28361c5e
JM
31196 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31197 [!_G_USING_THUNKS]: Remove conditional code.
31198 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31199 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31200
0e886ef9
JM
31201 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31202 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31203 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31204 (_G_VTABLE_LABEL_PREFIX): Likewise.
31205 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31206 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31207 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31208 (_G_VTABLE_LABEL_PREFIX): Likewise.
31209 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31210 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31211 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31212 (_G_VTABLE_LABEL_PREFIX): Likewise.
31213 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31214
bcba7aa2
L
312152012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31216
31217 * libio/Makefile: Include ../Makeconfig before tests.
31218 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31219 only if $(build-shared) is yes.
31220
06585ee8
L
31221 * iconv/gconv_db.c: Update copyright years.
31222
80ccd52c
LD
312232012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31224
31225 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31226 unwind info if defined PIC. Fix special cases description.
31227 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31228
31229 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31230 DP_HI_MASK entry.
31231 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31232
691bc9c1
L
312332012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31234
3d9b46b3
L
31235 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31236
de2139a9
L
31237 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31238 is NULL.
31239
5ca78dd0
L
31240 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31241 (LDLIBS-tst-chk4): This.
31242 (LDFLAGS-tst-chk5): Renamed to ...
31243 (LDLIBS-tst-chk5): This.
31244 (LDFLAGS-tst-chk6): Renamed to ...
31245 (LDLIBS-tst-chk6): This.
31246 (LDFLAGS-tst-lfschk4): Renamed to ...
31247 (LDLIBS-tst-lfschk4): This.
31248 (LDFLAGS-tst-lfschk5): Renamed to ...
31249 (LDLIBS-tst-lfschk5): This.
31250 (LDFLAGS-tst-lfschk6): Renamed to ...
31251 (LDLIBS-tst-lfschk6): This.
31252
691bc9c1
L
31253 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31254 on $(common-objpfx)soversions.mk.
31255
65cafb1c
JM
312562012-09-07 Joseph Myers <joseph@codesourcery.com>
31257
31258 [BZ #10014]
31259 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31260 example host name.
31261
c78ab094
SP
312622012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31263
31264 * malloc/arena.c (arena_get_retry): New function that gets
31265 another arena for the caller to try its request on.
31266 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31267 current arena cannot fulfill the request.
31268 (__libc_memalign): Likewise.
31269 (__libc_memalign): Likewise.
31270 (__libc_pvalloc): Likewise.
31271 (__libc_calloc): Likewise.
31272
01f49f59
JT
312732012-09-05 John Tobey <john.tobey@gmail.com>
31274
31275 [BZ #13542]
31276 * manual/arith.texi (Operations on Complex): Fix description
31277 of carg branch cut.
31278
4c23fed5
JM
312792012-09-06 Joseph Myers <joseph@codesourcery.com>
31280
1d3c8572
JM
31281 [BZ #10014]
31282 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31283 host name.
31284
4c23fed5
JM
31285 [BZ #10038]
31286 * manual/memory.texi (Memory): Make order of menu items match
31287 order of sections.
31288
04570aaa
L
312892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31290
31291 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31292 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31293 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31294
b80af2f4
L
312952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31296
31297 * csu/libc-tls.c (static_dtv): Renamed to ...
31298 (_dl_static_dtv): This. Make it global.
31299 (_dl_initial_dtv): Removed.
31300 (__libc_setup_tls): Updated.
31301 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31302 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31303 DL_INITIAL_DTV.
31304
2abe9f15
PM
313052012-09-06 Petr Machata <pmachata@redhat.com>
31306
31307 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31308 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31309 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31310 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31311
0948c3af
L
313122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31313
31314 [BZ #14545]
31315 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31316 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31317 freeing dtv[-1].
31318
a5055ad1
L
313192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31320
31321 [BZ #14544]
31322 * Makeconfig (link-static-before-libc): Replace $(+prector)
31323 with $(+prectorT).
31324 (link-static-after-libc): Replace $(+postctor) with
31325 $(+postctorT).
31326 (link-bounded): Replace $(+prector)/$(+postctor) with
31327 $(+prectorT)/$(+postctorT).
31328 (+prectorT): New macro.
31329 (+postctorT): Likewise.
31330
ed8c2ecd
JM
313312012-09-06 Joseph Myers <joseph@codesourcery.com>
31332
31333 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31334 (round_str): Handle values above the maximum for IBM long double
31335 as inexact.
31336 * stdlib/tst-strtod-round.c (tests): Regenerated.
31337
14c996c8
AK
313382012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31339
31340 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31341 assembler flag.
31342 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31343 zarch_nohighgprs around the zarch optimized routines.
31344 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31345 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31346 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31347 for zarch.
31348
430d6ce6
DM
313492012-09-05 David S. Miller <davem@davemloft.net>
31350
31351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31352
57f41c40
AS
31353 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31354 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
31355 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31356 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31357 entries.
31358
24d4e01b
AO
313592012-09-05 Alexandre Oliva <aoliva@redhat.com>
31360
31361 * malloc/arena.c: Fold copyright years.
31362 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31363
61d58174
AO
313642012-09-05 Alexandre Oliva <aoliva@redhat.com>
31365
31366 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31367
20196a5e
AO
313682012-09-05 Alexandre Oliva <aoliva@redhat.com>
31369
31370 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31371
5c447383
AO
313722012-09-05 Alexandre Oliva <aoliva@redhat.com>
31373
31374 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31375 change internal state upon failure.
31376
fad64255
AO
313772012-09-05 Alexandre Oliva <aoliva@redhat.com>
31378
31379 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31380 * malloc/memusage.c (mmap): Likewise.
31381 (mmap64, mremap): Likewise. Adjust name in comment.
31382
1ffb8c90
SP
313832012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31384
31385 * libio/fileops.c: Fix typos in comments.
31386 * libio/oldfileops.c: Likewise.
31387 * libio/wfileops.c: Likewise.
31388
6ef9cc37
SP
313892012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31390
31391 [BZ #1349]
31392 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31393 (tst-malloc-usable-ENV): Set environment for test case.
31394 * malloc/hooks.c (malloc_check_get_size): New function to get
31395 requested size.
31396 * malloc/malloc.c (musable): Use malloc_check_get_size.
31397 * malloc/tst-malloc-usable.c: New test case.
31398
4d038ae3
AS
313992012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31400
31401 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31402
c4e85184
AM
314032012-09-05 Allan McRae <allan@archlinux.org>
31404
b9dafc56 31405 [BZ #13966]
c4e85184
AM
31406 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31407 determine header location.
31408 * configure: Regenerated.
31409
e1343020
AS
314102012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31411
31412 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31413 float format.
31414 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
31415 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31416 format.
e1343020
AS
31417 (test): Regenerate.
31418
0a9f1987
DM
314192012-09-04 David S. Miller <davem@davemloft.net>
31420
31421 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31422 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31423 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31424
29237804
FW
314252012-09-04 Florian Weimer <fweimer@redhat.com>
31426
31427 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31428 failures.
31429
edb3cb88
FW
31430 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31431
60160d83
JM
314322012-09-04 Joseph Myers <joseph@codesourcery.com>
31433
31434 [BZ #9914]
31435 * libio/iogetdelim.c: Include <limits.h>.
31436 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31437 + len + 1 would overflow.
31438
bcd6c8dc
AJ
314392012-09-03 Andreas Jaeger <aj@suse.de>
31440
31441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31442 * sysdeps/i386/fpu/libm-test-ulps: Update.
31443
4ffffbd2
LD
314442012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31445
31446 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31447 Add s_sinf-sse2, s_conf-sse2.
31448
31449 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31450 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31451 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31452 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31453
31454 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31455 for using routine as __sinf_ia32.
31456 Use macro for function declaration and weak_alias.
31457 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31458 for using routine as __cosf_ia32.
31459 Use macro for function declaration and weak_alias.
31460
31461 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31462 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31463
31464 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31465 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31467
31468 * math/libm-test.inc (cos_test): Add more test cases.
31469 (sin_test): Likewise.
31470 (sincos_test): Likewise.
31471
511fa286
AK
314722012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31473
31474 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31475 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31476 hidden.
31477 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31478
5f30cfec
L
314792012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31480
31481 [BZ #14538]
31482 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31483 first element of the GOT.
31484 (elf_machine_load_address): Return the difference between
31485 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31486
0786794f
AM
314872012-09-01 Allan McRae <allan@archlinux.org>
31488
5f30cfec
L
31489 [BZ #13412]
31490 * configure.in (AWK): Require gawk version 3.0 or later.
31491 * configure: Regenerated.
0786794f 31492
26889eac
JM
314932012-09-01 Joseph Myers <joseph@codesourcery.com>
31494
31495 * sysdeps/unix/sysv/linux/kernel-features.h
31496 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31497 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31498 [__NR_clock_getres]: Make code unconditional.
31499 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31500 (clock_getcpuclockid): Remove code left unreachable by removal of
31501 conditionals.
31502 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31503 code unconditional.
31504 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31505 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31506 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31507 Make code unconditional.
31508 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31509 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31510 * sysdeps/unix/sysv/linux/clock_settime.c
31511 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31512 conditional code.
31513 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31514 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31515
d22e28b0
L
315162012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31517
31518 [BZ #14476]
31519 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31520 scripts/test-installation.pl.
31521
31522 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31523 and $ld_so_version if it is set.
31524
050af9c4
SP
315252012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31526
31527 [BZ #14516]
31528 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31529 failure if reading from procfs failed.
31530 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31531
ad845c0b
JM
315322012-08-27 Joseph Myers <joseph@codesourcery.com>
31533
31534 * sysdeps/unix/sysv/linux/kernel-features.h
31535 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31536 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31537 Remove conditional code.
31538 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31539 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31540 Remove conditional code.
31541 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31542 * sysdeps/unix/sysv/linux/i386/fxstat.c
31543 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31544 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31545 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31546 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31547 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31548 * sysdeps/unix/sysv/linux/i386/lxstat.c
31549 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31550 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31551 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31552 Remove conditional code.
31553 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31554 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31555 Remove conditional code.
31556 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31557 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31558 <kernel-features.h>.
31559 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31560 Remove.
31561 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31562 Remove conditional code.
31563 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31564 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31565 Remove conditional.
31566
5dbf56af
MF
315672012-08-27 Mike Frysinger <vapier@gentoo.org>
31568
31569 [BZ #5400]
31570 * NEWS: Add fixed bug number.
31571
d6e70f43
JM
315722012-08-27 Joseph Myers <joseph@codesourcery.com>
31573
7efb4737
JM
31574 [BZ #14519]
31575 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31576 underflowing exponent in case of negative sign.
31577 * stdlib/tst-strtod-round-data: Add more tests.
31578 * stdlib/tst-strtod-round.c (tests): Regenerated.
31579
af92131a
JM
31580 [BZ #3479]
31581 * stdlib/strtod_l.c (NDIG): Remove.
31582 (HEXNDIG): Likewise.
31583 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31584 smallest representable value.
31585 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31586 lie within an exact representation of 1/2 ulp of the result.
31587 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31588 unconditionally.
31589 (TENS_P9_IDX): Define unconditionally.
31590 (TENS_P9_SIZE): Likewise.
31591 (TENS_P10_IDX): Likewise.
31592 (TENS_P10_SIZE): Likewise.
31593 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31594 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31595 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31596 entries for 10^2^13 and 10^2^14.
31597 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31598 (TENS_P13_IDX): Define.
31599 (TENS_P13_SIZE): Likewise.
31600 (TENS_P14_IDX): Likewise.
31601 (TENS_P14_SIZE): Likewise.
31602 (_fpioconst_pow10): Change array size to
31603 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31604 unconditional.
31605 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31606 1024]: Add entries for 10^2^13 and 10^2^14.
31607 [LAST_POW10 > _LAST_POW10]: Remove #error.
31608 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31609 (_fpioconst_pow10): Change array size to
31610 FPIOCONST_POW10_ARRAY_SIZE.
31611 * stdlib/gen-fpioconst.c: New file.
31612 * stdlib/gen-tst-strtod-round.c: Likewise.
31613 * stdlib/tst-strtod-round-data: Likewise.
31614 * stdlib/tst-strtod-round.c: Likewise.
31615 * stdlib/Makefile (tests): Add tst-strtod-round.
31616
d6e70f43
JM
31617 [BZ #14459]
31618 * stdlib/strtod_l.c: Include <stdint.h>.
31619 (NDEBUG): Do not define.
31620 (round_and_return): Change EXPONENT parameter to type intmax_t.
31621 Rearrange calculations to avoid internal overflow possibilities.
31622 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31623 Rearrange calculations to avoid internal overflow possibilities.
31624 Assert that number fits inside MPNSIZE limbs.
31625 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31626 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31627 calculations and add assertions to avoid internal overflow
31628 possibilities. Add casts to avoid signed/unsigned operations.
31629 * stdlib/tst-strtod-overflow.c: New file.
31630 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31631
1f529f7d
MP
316322012-08-25 Marek Polacek <polacek@redhat.com>
31633
31634 * time/time.h: Fix some typos in comments.
31635
59a629f1
RM
316362012-08-23 Roland McGrath <roland@hack.frob.com>
31637
31638 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31639 * posix/tst-rfc3484-2.c: Likewise.
31640 * posix/tst-rfc3484-3.c: Likewise.
31641
d3bafbc9
SM
316422012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31643
31644 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31645 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31646
4efcc022
JM
316472012-08-23 Joseph Myers <joseph@codesourcery.com>
31648
31649 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31650 #include of fxstatat64.c.
31651
3cc3ef96
RM
316522012-08-22 Roland McGrath <roland@hack.frob.com>
31653
f04e2132
RM
31654 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31655 * shadow/getspent_r.c: Likewise.
31656 * shadow/getspnam.c: Likewise.
31657 * shadow/getspnam_r.c: Likewise.
31658 * gshadow/getsgent.c: Likewise.
31659 * gshadow/getsgent_r.c: Likewise.
31660 * gshadow/getsgnam.c: Likewise.
31661 * gshadow/getsgnam_r.c: Likewise.
31662 * inet/getnetbyad.c: Likewise.
31663 * inet/getnetbyad_r.c: Likewise.
31664 * inet/getnetbynm.c: Likewise.
31665 * inet/getnetbynm_r.c: Likewise.
31666 * inet/getnetent.c: Likewise.
31667 * inet/getnetent_r.c: Likewise.
31668 * inet/getproto.c: Likewise.
31669 * inet/getproto_r.c: Likewise.
31670 * inet/getprtent.c: Likewise.
31671 * inet/getprtent_r.c: Likewise.
31672 * inet/getprtname.c: Likewise.
31673 * inet/getprtname_r.c: Likewise.
31674 * inet/getrpcbyname.c: Likewise.
31675 * inet/getrpcbyname_r.c: Likewise.
31676 * inet/getrpcbynumber.c: Likewise.
31677 * inet/getrpcbynumber_r.c: Likewise.
31678 * inet/getrpcent.c: Likewise.
31679 * inet/getrpcent_r.c: Likewise.
31680 * inet/getaliasent.c: Likewise.
31681 * inet/getaliasent_r.c: Likewise.
31682 * inet/getaliasname.c: Likewise.
31683 * inet/getaliasname_r.c: Likewise.
31684 * nscd/getgrgid_r.c: Likewise.
31685 * nscd/getgrnam_r.c: Likewise.
31686 * nscd/gethstbyad_r.c: Likewise.
31687 * nscd/gethstbynm3_r.c: Likewise.
31688 * nscd/getpwnam_r.c: Likewise.
31689 * nscd/getpwuid_r.c: Likewise.
31690 * nscd/getsrvbynm_r.c: Likewise.
31691 * nscd/getsrvbypt_r.c: Likewise.
31692 * nscd/gai.c: Likewise.
31693
c53d909c
RM
31694 * configure.in (build_nscd): New substituted variable, set
31695 by --disable-build-nscd and defaults to $use_nscd.
31696 * configure: Regenerated.
31697 * config.make.in (build-nscd): New substituted variable.
31698 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31699 Change conditional to require [$(build-nscd) = yes] as well.
31700 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31701
3cc3ef96
RM
31702 [BZ# 13696]
31703 * configure.in (use_nscd): New substituted variable, set by
31704 --disable-nscd. If enabled, define USE_NSCD.
31705 * configure: Regenerated.
31706 * config.h.in: Add USE_NSCD.
31707 * config.make.in (use-nscd): New substituted variable.
31708 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31709 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31710 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31711 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31712 (CFLAGS-getgrnam_r.c): Likewise.
31713 (CFLAGS-initgroups.c): Likewise.
31714 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31715 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31716 Variables removed.
31717 * inet/getnetgrent_r.c
31718 (nscd_setnetgrent): New function, broken out of ...
31719 (setnetgrent): ... here. Call it.
31720 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31721 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31722 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31723 * nscd/Makefile (routines, aux): Move definitions after include of
31724 Makeconfig. Conditionalize on [$(use-nscd) != no].
31725 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31726 Conditionalize on [USE_NSCD].
31727 (is_nscd, nscd_init_cb): Likewise.
31728 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31729 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31730 * nss/nss_db/db-init.c: Likewise.
31731 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31732 [USE_NSCD].
31733 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31734 (make_request): Use it.
31735 (cache_valid_p): New function.
31736 (__check_pf): Use it.
31737 * NEWS: Add item for --disable-nscd.
31738
07e51550
DL
317392012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31740
31741 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31742 to support sed >= 4.2.1-20-ga9bf076.
31743 * configure: Regenerated.
31744
35a5b08b
RM
317452012-08-22 Roland McGrath <roland@hack.frob.com>
31746
31747 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31748 Conditionalize whole body on [IREL].
31749
8479f23a
JL
317502012-08-22 Jeff Law <law@redhat.com>
31751
31752 [BZ #14505]
31753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31754 if the family is PF_UNSPEC.
31755
48da0b21
MF
317562012-08-22 Mike Frysinger <vapier@gentoo.org>
31757
31758 * Makerules (lib-version): Rename from V.
31759 (install-lib-nosubdir): Change V to lib-version.
31760
15d0da8c
WS
317612012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31762
31763 [BZ #14252]
31764 * powerpc32/power6/wcschr.c: New file.
31765 * powerpc32/power6/wcscpy.c: New file.
31766 * powerpc32/power6/wcsrchr.c: New file.
31767 * powerpc64/power6/wcschr.c: New file.
31768 * powerpc64/power6/wcscpy.c: New file.
31769 * powerpc64/power6/wcsrchr.c: New file.
31770
bcca0895
MK
317712012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31772
31773 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31774 (two_way_short_needle): Use it.
5a4aaa33
RM
31775 * string/strstr.c (AVAILABLE1_USES_J): Define.
31776 * string/strcasestr.c: Likewise.
99677e57
MK
31777
31778 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31779 array references.
31780 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31781
400726de
MK
31782 [BZ #11607]
31783 * NEWS: Add an entry.
31784 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31785 define their defaults.
31786 (two_way_short_needle): Detect end-of-string on-the-fly.
31787 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31788 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31789 * string/bug-strcasestr1.c: New test.
31790 * string/Makefile: Run it.
31791
20a71f2c
MK
317922012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31793
31794 [BZ #11607]
31795 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31796 the first character.
31797
21ad0558
RM
317982012-08-21 Roland McGrath <roland@hack.frob.com>
31799
31800 * csu/elf-init.c (__libc_csu_irel): Function removed.
31801 * csu/libc-start.c (apply_irel): New function.
31802 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31803
0e1d9911
JM
318042012-08-21 Joseph Myers <joseph@codesourcery.com>
31805
31806 * sysdeps/unix/sysv/linux/kernel-features.h
31807 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31808 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31809 <kernel-features.h>.
31810 [__NR_fadvise64_64]: Make code unconditional.
31811 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31812 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31813 !__NR_fadvise64_64)]: Likewise.
31814 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31815 !__NR_fadvise64_64))]: Likewise.
31816 [__NR_fadvise64]: Make code unconditional.
31817 [!__NR_fadvise64]: Remove conditional code.
31818 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31819 <kernel-features.h>.
31820 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31821 unconditional.
31822 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31823 conditional code.
31824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31825 not include <kernel-features.h>.
31826 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31827 unconditional.
31828 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31829 conditional code.
31830 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31831 include <kernel-features.h>.
31832 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31833 unconditional.
31834 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31835 conditional code.
31836
14a50c9d
WS
318372012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31838
31839 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31840 slight instruction rearrangements per scrollpipe analysis.
31841 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31842
c0f4faf0
RM
318432012-08-20 Roland McGrath <roland@hack.frob.com>
31844
696da859
RM
31845 * manual/syslog.texi (syslog; vsyslog, closelog):
31846 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31847 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31848
c0f4faf0
RM
31849 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31850 DSOCAPS to match condition on defining it.
31851
348363b2
JM
318522012-08-20 Joseph Myers <joseph@codesourcery.com>
31853
a35cbf28
JM
31854 * sysdeps/unix/sysv/linux/kernel-features.h
31855 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31857 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31858 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31860 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31861 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31863 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31864 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31865
445f7ecd
JM
31866 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31867 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31868
348363b2
JM
31869 * sysdeps/unix/sysv/linux/kernel-features.h
31870 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31871 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31872 unconditional.
31873 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31874 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31875 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31876 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31877 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31878 Make code unconditional.
31879 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31880 (__mmap64) [!__NR_mmap2]: Likewise.
31881 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31882 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31883 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31884 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31885 [__NR_mmap2]: Make code unconditional.
31886 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31887 (__mmap64) [!__NR_mmap2]: Likewise.
31888
bc5bc0e5
AK
318892012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31890
31891 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31892
88d506de
AJ
318932012-08-18 Andreas Jaeger <aj@suse.de>
31894
31895 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31896
493387d2
MF
318972012-08-18 Mike Frysinger <vapier@gentoo.org>
31898
31899 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31900 * include/unistd.h (__have_sock_cloexec): Likewise.
31901 (__have_pipe2): Likewise.
31902 (__have_dup3): Likewise.
31903
a277af22
MF
319042012-08-18 Mike Frysinger <vapier@gentoo.org>
31905
31906 [BZ #9685]
31907 * include/unistd.h (__have_pipe2): Change define into an extern int.
31908 (__have_dup3): Likewise.
31909 * socket/have_sock_cloexec.c: Include fcntl.h.
31910 (__have_pipe2): New variable.
31911 (__have_dup3): Likewise.
31912
fdab8fd3
MF
319132012-08-17 Mike Frysinger <vapier@gentoo.org>
31914
31915 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31916
31035e80
MP
319172012-08-17 Marek Polacek <polacek@redhat.com>
31918
31919 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31920 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31921
3bd9e993
RM
319222012-08-17 Roland McGrath <roland@hack.frob.com>
31923
c91c505f
RM
31924 * configure.in: Add AC_SUBST for sysheaders.
31925 * configure: Regenerated.
31926 * config.make.in (sysheaders): New substituted variable.
31927
7c6f9d53
RM
31928 * sysdeps/unix/mkfifo.c: Moved ...
31929 * sysdeps/posix/mkfifo.c: ... here.
31930 * sysdeps/unix/mkfifoat.c: Moved ...
31931 * sysdeps/posix/mkfifoat.c: ... here.
31932
31933 * sysdeps/unix/utime.c: Moved ...
31934 * sysdeps/posix/utime.c: ... here.
31935
31936 * sysdeps/unix/time.c: Moved ...
31937 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
31938 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31939 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
31940
31941 * sysdeps/unix/nice.c: Moved ...
31942 * sysdeps/posix/nice.c: ... here.
31943
31944 * sysdeps/unix/alarm.c: Moved ...
31945 * sysdeps/posix/alarm.c: ... here.
31946
3bd9e993
RM
31947 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31948
d1f09384
JL
319492012-08-17 Jeff Law <law@redhat.com>
31950
31951 * intl/Makefile (codeset_mo): New variable.
31952 ($(codeset_mo)): New target.
31953 (tst-codeset.out): Depend on that. Remove explicit rule.
31954 (tst-gettext3.out, tst-gettext5.out): Likewise.
31955 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31956 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31957 * intl/tst-codeset.sh: Remove.
31958 * intl/tst-gettext3.sh: Likewise.
31959 * intl/tst-gettext5.sh: Likewise.
31960
2ae1ae5c
RM
319612012-08-17 Roland McGrath <roland@hack.frob.com>
31962
c31fdb83
RM
31963 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31964 * sysdeps/unix/syscalls.list: ... here.
31965
a0844057
RM
31966 * sysdeps/posix/getaddrinfo.c
31967 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31968 (gaiconf_init, gaiconf_reload): Use them.
31969 [!_STATBUF_ST_NSEC]
31970 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31971 Define using time_t rather than struct timespec.
31972
750c1f2a
RM
31973 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31974 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31975 Macros removed.
31976 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31977 [!NO_THREADS].
31978 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31979 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31980 Likewise.
31981
2ae1ae5c
RM
31982 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31983 __libc_cleanup_push argument.
31984
e66a42f5
RM
31985 * bits/param.h: New file.
31986 * misc/sys/param.h: New file.
31987 * include/sys/param.h: New file.
31988 * misc/Makefile (headers): Add bits/param.h.
31989 * sysdeps/generic/sys/param.h: File removed.
31990 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31991 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31992 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 31993 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 31994
b7c08a66
RM
31995 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31996 last change.
31997
b2e1c562
RM
31998 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31999 [_IO_MTSAFE_IO].
32000 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32001 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32002 New macros.
32003
c75ccd4c
RM
32004 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32005 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32006 rather than -D_IO_MTSAFE_IO conditionally.
32007 * stdio-common/Makefile (CPPFLAGS): Likewise.
32008 * wcsmbs/Makefile (CPPFLAGS): Likewise.
32009 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32010 Use $(libio-mtsafe).
32011 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32012 of -D_IO_MTSAFE_IO.
32013 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32014 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32015 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32016 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32017 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32018 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32019 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32020 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32021 (CFLAGS-fread_u_chk.c): Likewise.
32022 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32023 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32024 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32025 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32026 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32027 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32028 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32029 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32030 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32031
32032 * libio/Makefile: Test [$(libc-reentrant) = yes]
32033 instead of [$(filter %REENTRANT, $(defines)) nonempty].
32034
32035 * Makeconfig
32036 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32037 * sysdeps/pthread/configure: File removed.
32038 * sysdeps/pthread/Makeconfig: New file.
32039 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32040 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32041
d9195db8
GB
320422012-08-16 Gary Benson <gbenson@redhat.com>
32043
32044 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32045 unmapping the first object in a namespace.
32046
86466cd9
RM
320472012-08-16 Roland McGrath <roland@hack.frob.com>
32048
32049 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32050 (__internal_setnetgrent): ... this. Add internal_function to
32051 definition. Add libc_hidden_def.
32052 (setnetgrent): Update caller.
32053 (internal_endnetgrent): Renamed to ...
32054 (__internal_endnetgrent): ... this. Add internal_function to
32055 definition. Add libc_hidden_def.
32056 (endnetgrent): Update caller.
32057 (internal_getnetgrent_r): Renamed to ...
32058 (__internal_getnetgrent_r): ... this. Add internal_function to
32059 definition. Add libc_hidden_def.
32060 (__getnetgrent_r): Update caller.
32061 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32062
c3c8283c
JM
320632012-08-16 Joseph Myers <joseph@codesourcery.com>
32064
32065 * stdlib/longlong.h: Update from GCC.
32066
db1ee0a8
RM
320672012-08-16 Roland McGrath <roland@hack.frob.com>
32068
32069 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32070 on _QL, which is set by umul_ppmm but never used.
32071 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32072 variables, which are set by GMP macros but never used.
32073 * stdio-common/_itowa.c (_itowa): Likewise.
32074 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32075 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32076
30f69637
CD
320772012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32078
32079 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32080 struct La_sh_regs is not constant.
32081 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32082 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32083 and struct La_sparc64_regs are not constant.
32084
93a78ac4
JM
320852012-08-16 Joseph Myers <joseph@codesourcery.com>
32086
32087 * sysdeps/unix/sysv/linux/kernel-features.h
32088 (__ASSUME_POSIX_TIMERS): Remove.
32089 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32090 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32091 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32092 Make code unconditional.
32093 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32094 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32095 Make code unconditional.
32096 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32097 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32098 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32099 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32100 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32101 Make code unconditional.
32102 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32103 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32104 (__libc_missing_posix_timers): Remove.
32105
dd924cd7
RM
321062012-08-15 Roland McGrath <roland@hack.frob.com>
32107
4b4f2771
RM
32108 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32109 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32110
601c888b
RM
32111 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32112
176790a7
RM
32113 * elf/dl-sym.c: Include <stdlib.h>.
32114
329bc018
RM
32115 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32116 constants, which avoids warnings in 32-bit builds.
32117
e04e272d
RM
32118 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32119 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32120
952bf94a
RM
32121 * misc/lseek.c: File moved to ...
32122 * io/lseek.c: ... here.
32123
7c99b50a
RM
32124 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32125
dd924cd7
RM
32126 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32127 shifting LEN more than 31 bits at once.
32128
b3f479a8
LD
321292012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32130
32131 [BZ #14195]
8c4ae0d4
RM
32132 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32133 segmentation fault for a case of two empty input strings.
b3f479a8
LD
32134 * string/test-strncasecmp.c (check1): Renamed to...
32135 (bz12205): ...this.
32136 (bz14195): Add new testcase for two empty input strings and N > 0.
32137 (test_main): Call new testcase, adapt for renamed function.
32138
9c55864e
AJ
321392012-08-15 Andreas Jaeger <aj@suse.de>
32140
32141 [BZ #14090]
32142 * crypt/md5test2.c: New test, based on test supplied by Serge
32143 Belyshev <belyshev@depni.sinp.msu.ru>.
32144 * crypt/Makefile (xtests): Add md5test-giant..
32145 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32146
02dcb6c5
PE
321472012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32148
32149 [BZ #14090]
32150 * crypt/md5.c (md5_process_block): Don't assume the buffer
32151 length is less than 2**32.
32152 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32153 length is less than 2**64.
32154
a3f95dcc
RM
321552012-08-15 Roland McGrath <roland@hack.frob.com>
32156
be75d758
RM
32157 * string/str-two-way.h: Include <sys/param.h>.
32158 (MAX): Macro removed.
32159
7312ca90
RM
32160 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32161 Move #define and #undef of memmove to just before and after
32162 including <string.h>.
32163
9a0a5486
RM
32164 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32165 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32166 and after including <string.h>. Move declarations of
32167 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32168 to before #include "string/memmove.c".
32169
67cc348d
RM
32170 * include/dirent.h: Declare __getdirentries.
32171
a3f95dcc
RM
32172 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32173 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32174
ca98e171
MF
321752012-08-14 Mike Frysinger <vapier@gentoo.org>
32176
32177 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32178 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32179 * sysdeps/i386/configure: Regenerated.
32180 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32181 STABS_CURRENT_FILE, and STABS_FUN.
32182 (END): Remove call to STABS_FUN_END.
32183 (STABS_CURRENT_FILE1): Delete.
32184 (STABS_CURRENT_FILE): Likewise.
32185 (STABS_FUN): Likewise.
32186 (STABS_FUN_END): Likewise.
32187 (STABS_FUN2): Likewise.
32188 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32189 * sysdeps/x86_64/configure: Regenerated.
32190
5908bf46
RM
321912012-08-14 Roland McGrath <roland@hack.frob.com>
32192
32193 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 32194 * elf/dl-lookup.c: Likewise.
5908bf46 32195
f2c05b9e
JM
321962012-08-14 Joseph Myers <joseph@codesourcery.com>
32197
32198 * sysdeps/unix/sysv/linux/kernel-features.h
32199 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32200 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32201 unconditionally.
32202 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32203 unconditionally.
32204 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32205 condition on __ASSUME_CLONE_THREAD_FLAGS.
32206
e11f5155
AJ
322072012-08-14 Andreas Jaeger <aj@suse.de>
32208
32209 * sysdeps/i386/fpu/libm-test-ulps: Update.
32210
51a9ba86
MK
322112012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32212
2fdd4f78
AJ
32213 * include/atomic.h (atomic_exchange_and_add): Split into ...
32214 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32215 New atomic macros.
51a9ba86 32216
ba6cba9e
MT
322172012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32218
32219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32220
42443a47
JL
322212012-08-13 Jeff Law <law@redhat.com>
32222
32223 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32224 null byte in the output string.
32225
121dce05
JM
322262012-08-10 Joseph Myers <joseph@codesourcery.com>
32227
32228 * sysdeps/unix/sysv/linux/kernel-features.h
32229 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32230 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32231 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32232 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32233 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32234 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32235 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32236
bf51f568
JL
322372012-08-09 Jeff Law <law@redhat.com>
32238
32239 [BZ #13939]
32240 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32241 When avoid_arena is set, don't retry in the that arena. Pick the
32242 next one, whatever it might be.
32243 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32244 (arena_lock): Pass in new parameter to arena_get2.
32245 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32246 arena_get2.
32247 (__libc_malloc): Unify retrying after main arena failure with
32248 __libc_memalign version.
32249 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32250
f85fa270
L
322512012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32252
32253 [BZ #14166]
32254 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32255 to __redirect_strstr.
32256 (__strstr_sse42): Use typeof __redirect_strstr.
32257 (__strstr_ia32): Likewise.
32258 (__libc_strstr): New prototype.
32259 (strstr): Renamed to ...
32260 (__libc_strstr): This.
32261 (strstr): New strong alias of __libc_strstr.
32262 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32263 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32264 __redirect_time.
32265 Include <time.h>.
32266 (__libc_time): New prototype.
32267 (time_ifunc): Replace time with __libc_time.
32268 (time): New strong alias and hidden definition of __libc_time.
32269 (__GI_time): Remove strong alias.
32270 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32271 Include <stddef.h>.
32272 (memmove): Redefined to __redirect_memmove.
32273 (__memmove_sse2): Use typeof __redirect_memmove.
32274 (__memmove_ssse3): Likewise.
32275 (__memmove_ssse3_back): Likewise.
32276 (__libc_memmove): New prototype.
32277 (memmove): Renamed to ...
32278 (__libc_memmove): This.
32279 (memmove): New strong alias of __libc_memmove.
32280
33b4a91e
MS
322812012-08-08 Mark Salter <msalter@redhat.com>
32282
32283 * elf/elf.h
32284 (R_MN10300_TLS_GD): Define.
32285 (R_MN10300_TLS_LD): Likewise.
32286 (R_MN10300_TLS_LDO): Likewise.
32287 (R_MN10300_TLS_GOTIE): Likewise.
32288 (R_MN10300_TLS_IE): Likewise.
32289 (R_MN10300_TLS_LE): Likewise.
32290 (R_MN10300_TLS_DTPMOD): Likewise.
32291 (R_MN10300_TLS_DTPOFF): Likewise.
32292 (R_MN10300_TLS_TPOFF): Likewise.
32293 (R_MN10300_SYM_DIFF): Likewise.
32294 (R_MN10300_ALIGN): Likewise.
32295 (R_MN10300_NUM): Update.
32296
b36137f1
JM
322972012-08-08 Joseph Myers <joseph@codesourcery.com>
32298
32299 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32300 Remove.
32301
cdd915fd
RM
323022012-08-08 Roland McGrath <roland@hack.frob.com>
32303
a2433aac
RM
32304 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32305
cdd915fd
RM
32306 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32307 sysdeps/unix -> sysdeps/posix move.
32308 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32309
bf9b740a
AM
323102012-08-07 Allan McRae <allan@archlinux.org>
32311
32312 [BZ #14303]
32313 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32314 (SUNOS_CPP): Likewise.
32315 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32316 not found.
32317 (open_input): Call CPP using execvp.
32318
93df14ee
JM
323192012-08-07 Joseph Myers <joseph@codesourcery.com>
32320
32321 * sysdeps/unix/sysv/linux/kernel-features.h
32322 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32323 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32324 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32325 (__ASSUME_WAITID_SYSCALL): Likewise.
32326 * sysdeps/unix/sysv/linux/dl-execstack.c
32327 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32328 code unconditional.
32329 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32330 conditional code.
32331 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32332 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32333 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32334 code.
32335 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32336 unconditional.
32337 [__ASSUME_WAITID_SYSCALL]: Likewise.
32338 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32339
d34689de
RM
323402012-08-07 Roland McGrath <roland@hack.frob.com>
32341
a281decc
RM
32342 * sysdeps/unix/closedir.c: Renamed to ...
32343 * sysdeps/posix/closedir.c: ... here.
32344 * sysdeps/unix/dirfd.c: Renamed to ...
32345 * sysdeps/posix/dirfd.c: ... here.
32346 * sysdeps/unix/dirstream.h: Renamed to ...
32347 * sysdeps/posix/dirstream.h: ... here.
32348 * sysdeps/unix/fdopendir.c: Renamed to ...
32349 * sysdeps/posix/fdopendir.c: ... here.
32350 * sysdeps/unix/opendir.c: Renamed to ...
32351 * sysdeps/posix/opendir.c: ... here.
32352 * sysdeps/unix/readdir.c: Renamed to ...
32353 * sysdeps/posix/readdir.c: ... here.
32354 * sysdeps/unix/readdir_r.c: Renamed to ...
32355 * sysdeps/posix/readdir_r.c: ... here.
32356 * sysdeps/unix/rewinddir.c: Renamed to ...
32357 * sysdeps/posix/rewinddir.c: ... here.
32358 * sysdeps/unix/seekdir.c: Renamed to ...
32359 * sysdeps/posix/seekdir.c: ... here.
32360 * sysdeps/unix/telldir.c: Renamed to ...
32361 * sysdeps/posix/telldir.c: ... here.
32362 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32363 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32364 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32365 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32366
22895b47
RM
32367 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32368 * bits/fcntl.h: ... here.
32369
707a53b6
RM
32370 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32371 not 0.
32372 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32373 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32374 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32375 (struct flock): Move l_start, l_len to the beginning.
32376 Use __pid_t for l_pid.
32377 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32378 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32379 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32380 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32381 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32382 [__USE_LARGEFILE64] (struct flock64): New type.
32383 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32384
f0bd3e25
RM
32385 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32386 * bits/dirent.h: ... here.
32387
d34689de
RM
32388 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32389 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32390
6dad2c06
JM
323912012-08-07 Joseph Myers <joseph@codesourcery.com>
32392
32393 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32394 Change from 2.6.0 to 2.6.16.
32395 * sysdeps/unix/sysv/linux/configure: Regenerated.
32396 * sysdeps/unix/sysv/linux/kernel-features.h
32397 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32398 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32399 version.
32400 (__ASSUME_UTIMES): Likewise.
32401 (__ASSUME_CLONE_STOPPED): Remove.
32402 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32403 architectures, not kernel version.
32404 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32405 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32406 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32407 (__ASSUME_WAITID_SYSCALL): Likewise.
32408 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32409 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32410 * README: State 2.6.16 as minimum Linux kernel version. Do not
32411 refer to older versions.
32412
03af9520
RM
324132012-08-06 Roland McGrath <roland@hack.frob.com>
32414
8e49df1d
RM
32415 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32416 Define alphasort64 as an alias.
32417 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32418 Define versionsort64 as an alias.
32419 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32420 Define scandir64 as an alias.
32421 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32422 Define scandirat64 as an alias.
32423 * dirent/alphasort64.c (alphasort64):
32424 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32425 * dirent/versionsort64.c: Likewise.
32426 * dirent/scandir64.c: Likewise.
32427 * dirent/scandirat64.c: Likewise.
32428 * sysdeps/wordsize-64/alphasort.c: File removed.
32429 * sysdeps/wordsize-64/alphasort64.c: File removed.
32430 * sysdeps/wordsize-64/scandir.c: File removed.
32431 * sysdeps/wordsize-64/scandir64.c: File removed.
32432 * sysdeps/wordsize-64/scandirat.c: File removed.
32433 * sysdeps/wordsize-64/scandirat64.c: File removed.
32434 * sysdeps/wordsize-64/versionsort.c: File removed.
32435 * sysdeps/wordsize-64/versionsort64.c: File removed.
32436 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32437 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32438 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32439 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32440 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32441 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32442 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32443 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32444
32445 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32446 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32447 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32448 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32449 [defined __arch64__ || defined __sparcv9]
32450 (__INO_T_MATCHES_INO64_T): New macro.
32451 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32452 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32453 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32454 * sysdeps/unix/sysv/linux/bits/dirent.h
32455 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32456 (_DIRENT_MATCHES_DIRENT64): New macro.
32457
03af9520
RM
32458 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32459 Define lockf64 as an alias.
32460 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32461 Define fseeko64 as an alias.
32462 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32463 Define ftello64 as an alias.
32464 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32465 Define _IO_fgetpos64 and fgetpos64 as aliases.
32466 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32467 Define _IO_fsetpos64 and fsetpos64 as aliases.
32468 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32469 Conditionalize body on this.
32470 * libio/fseeko64.c: Likewise.
32471 * libio/ftello64.c: Likewise.
32472 * libio/iofgetpos64.c: Likewise.
32473 * libio/iofsetpos64.c: Likewise.
32474 * sysdeps/wordsize-64/lockf.c: File removed.
32475 * sysdeps/wordsize-64/lockf64.c: File removed.
32476 * sysdeps/wordsize-64/fseeko.c: File removed.
32477 * sysdeps/wordsize-64/fseeko64.c: File removed.
32478 * sysdeps/wordsize-64/ftello.c: File removed.
32479 * sysdeps/wordsize-64/ftello64.c: File removed.
32480 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32481 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32482 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32483 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32484 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32485 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32486 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32487 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32488 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32489 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32490 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32491 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32492 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32493 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32494
32495 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32496 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32497 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32498 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32499 [defined __arch64__ || defined __sparcv9]
32500 (__OFF_T_MATCHES_OFF64_T): New macro.
32501 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32502 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32503 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32504 (__OFF_T_MATCHES_OFF64_T): New macro.
32505
c5757acd
L
325062012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32507
32508 * stdlib/secure-getenv.c (__secure_getenv): Replace
32509 GLIBC_2_16 with GLIBC_2_17.
32510
3a31811e
L
325112012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32512
32513 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32514 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32515
faa2bccb
DM
325162012-08-03 David S. Miller <davem@davemloft.net>
32517
32518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32519
85fe1997
JM
325202012-08-03 Joseph Myers <joseph@codesourcery.com>
32521
32522 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32523 Remove.
32524 (__ASSUME_CORRECT_SI_PID): Likewise.
32525 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32526 (__ASSUME_TMPFS_NAME): Likewise.
32527 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32528 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32529 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32530 (HAVE_AUX_SECURE): Make definition unconditional.
32531 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32532 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32533
4f75b7a0
RM
325342012-08-03 Roland McGrath <roland@hack.frob.com>
32535
32536 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32537 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32538 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32539 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32540 __eloop_threshold instead of SYMLOOP_MAX.
32541
32542 * sysdeps/generic/eloop-threshold.h: New file.
32543 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32544 of MAXSYMLINKS.
32545 * elf/chroot_canon.c (chroot_canon): Likewise.
32546
7aab07e4
JM
325472012-08-03 Joseph Myers <joseph@codesourcery.com>
32548
32549 [BZ #13717]
32550 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32551 Change to 2.6.0 everywhere.
32552 * sysdeps/unix/sysv/linux/configure: Regenerated.
32553 * sysdeps/unix/sysv/linux/kernel-features.h
32554 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32555 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32556 kernel versions.
32557 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32558 (__ASSUME_FUTEX_REQUEUE): Remove.
32559 (__ASSUME_STATFS64): Define unconditionally.
32560 (__ASSUME_AT_SECURE): Likewise.
32561 (__ASSUME_CORRECT_SI_PID): Likewise.
32562 (__ASSUME_TGKILL): Define without depending on kernel version for
32563 i386.
32564 (__ASSUME_UTIMES): Likewise.
32565 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32566 kernel version.
32567 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32568 (__ASSUME_TMPFS_NAME): Likewise.
32569 * README: Update reference to Linux kernel versions.
32570
b67e9372
MP
325712012-08-02 Marek Polacek <polacek@redhat.com>
32572
1f529f7d 32573 [BZ# 14150]
b67e9372
MP
32574 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32575 libc_cv_asm_type_prefix with %.
32576 * configure: Regenerated.
d2441631
RM
32577 * include/libc-symbols.h: Remove comment about
32578 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
32579 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32580 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32581 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32582 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32583 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32584 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32585 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32586 * elf/tst-unique2mod1.c: Likewise.
32587 * elf/tst-unique1mod2.c: Likewise.
32588 * elf/tst-unique1mod1.c: Likewise.
32589 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32590 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32591 Replace ASM_TYPE_DIRECTIVE with .type.
32592 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32593 * sysdeps/i386/sysdep.h: Likewise.
32594 * sysdeps/x86_64/sysdep.h: Likewise.
32595 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
32596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32597 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 32598 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
32599 * sysdeps/powerpc/powerpc32/sysdep.h:
32600 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
32601 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32602 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32603 * sysdeps/i386/fpu/e_powf.S: Likewise.
32604 * sysdeps/i386/fpu/e_expl.S: Likewise.
32605 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32606 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32607 * sysdeps/i386/fpu/e_pow.S: Likewise.
32608 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32609 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32610 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32611 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32612 * sysdeps/i386/fpu/e_log2.S: Likewise.
32613 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32614 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32615 * sysdeps/i386/fpu/e_powl.S: Likewise.
32616 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32617 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32618 * sysdeps/i386/fpu/e_logl.S: Likewise.
32619 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32620 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32621 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32622 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32623 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32624 * sysdeps/i386/fpu/e_log.S: Likewise.
32625 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32626 * sysdeps/i386/fpu/e_logf.S: Likewise.
32627 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32628 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32629 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32630 * sysdeps/i386/fpu/e_log10.S: Likewise.
32631 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32632 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32633 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32634 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32635 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32636 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32637 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32638 * sysdeps/i386/i686/strtok.S: Likewise.
32639 * sysdeps/i386/i386-mcount.S: Likewise.
32640 * sysdeps/i386/strtok.S: Likewise.
32641 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32642 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32643 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32644 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32645 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32646 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32647 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32648 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32649 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32650 * sysdeps/x86_64/_mcount.S: Likewise.
32651 * sysdeps/x86_64/strtok.S: Likewise.
32652 * sysdeps/sh/_mcount.S: Likewise.
32653
2747bf9a
RM
326542012-08-01 Roland McGrath <roland@hack.frob.com>
32655
32656 * libio/iofopen.c: Include <fcntl.h>.
32657 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32658 (_IO_fopen64, fopen64): Define as aliases.
32659 * libio/iofopen64.c: Include <fcntl.h>.
32660 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32661 Conditionalize body on this.
32662 * sysdeps/wordsize-64/iofopen.c: File removed.
32663 * sysdeps/wordsize-64/iofopen64.c: File removed.
32664
3fb791b8
MP
326652012-08-01 Marek Polacek <polacek@redhat.com>
32666
32667 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32668 Use dlfcn directly instead of a variable.
32669 (binfmt-subdir): Do not define.
32670 (dlfcn): Likewise.
32671
a9f1039f
JM
326722012-08-01 Joseph Myers <joseph@codesourcery.com>
32673
23bddc06
JM
32674 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32675 Remove all definitions.
32676 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32677 <kernel-features.h>.
32678 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32679 (miss_F_GETOWN_EX): Remove all definitions.
32680 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32681 macro definition.
32682 [!__ASSUME_FCNTL64]: Remove conditional code.
32683 [__ASSUME_FCNTL64]: Make code unconditional.
32684 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32685 <kernel-features.h>.
32686 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32687 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32688 (lockf64) [__NR_fcntl64]: Make code unconditional.
32689 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32690
a9f1039f
JM
32691 * sysdeps/unix/sysv/linux/kernel-features.h
32692 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32693 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32694 Make code unconditional.
32695 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32696 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32698 [__NR_vfork]: Make code unconditional.
32699 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32700 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32702 [__NR_vfork]: Make code unconditional.
32703 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32704 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32705
09c0ee5f
RM
327062012-08-01 Roland McGrath <roland@hack.frob.com>
32707
48aec5b9
RM
32708 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32709 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32710
cd97c966
RM
32711 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32712 Define mkstemp64 as an alias.
3f55550c
RM
32713 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32714 Define mkstemps64 as an alias.
cd97c966
RM
32715 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32716 Define mkostemp64 as an alias.
b8625cfc
RM
32717 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32718 Define mkostemps64 as an alias.
cd97c966
RM
32719 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32720 Conditionalize body on this.
32721 * misc/mkostemp64.c: Likewise.
b8625cfc 32722 * misc/mkostemps64.c: Likewise.
3f55550c 32723 * misc/mkstemps64.c: Likewise.
cd97c966
RM
32724 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32725 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32726 * sysdeps/wordsize-64/mkostemp.c: File removed.
32727 * sysdeps/wordsize-64/mkstemp.c: File removed.
32728 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32729 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32730 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32731 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32732
09c0ee5f
RM
32733 [BZ #14138]
32734 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32735 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32736 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32737 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32738
32739 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32740 compat_symbol macros from <shlib-compat.h> rather than the underlying
32741 default_symbol_version and symbol_version macros, so that DEFAULT
32742 lines in shlib-versions are respected.
32743 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32744
7e66ee51
FW
327452012-08-01 Florian Weimer <fweimer@redhat.com>
32746
32747 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32748 Declare with warn_unused_result.
32749 (setgid, setregid, setegid, setresgid): Likewise.
32750 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32751 Likewise.
32752 * WUR-REPORT: Remove set*id functions.
32753
d2a54255
PT
327542012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32755
32756 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32757
7ecdb005
RM
327582012-07-31 Roland McGrath <roland@hack.frob.com>
32759
b4180a5e 32760 [BZ #10191]
789bd351
RM
32761 * include/sys/socket.h (__libc_accept, __libc_accept4):
32762 Add attribute_hidden.
32763 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32764
40ce302d
RM
32765 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32766 use of PTR_MANGLE.
32767 * inet/getnetgrent_r.c (setup): Likewise.
32768
7ecdb005
RM
32769 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32770
e2eabb2c
DM
327712012-07-31 David S. Miller <davem@davemloft.net>
32772
32773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32774
d0419dbf
JM
327752012-07-31 Joseph Myers <joseph@codesourcery.com>
32776
32777 [BZ #13629]
32778 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32779 value between 1.0 and 2.0 and smaller part has absolute value less
32780 than 1.0.
32781 * math/s_clog10.c (__clog10): Likewise.
32782 * math/s_clog10f.c (__clog10f): Likewise.
32783 * math/s_clog10l.c (__clog10l): Likewise.
32784 * math/s_clogf.c (__clogf): Likewise.
32785 * math/s_clogl.c (__clogl): Likewise.
32786 * math/libm-test.inc (clog_test): Add more tests.
32787 (clog10_test): Likewise.
32788 * sysdeps/i386/fpu/libm-test-ulps: Update.
32789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32790
2bc13872
FW
327912012-07-31 Florian Weimer <fweimer@redhat.com>
32792
32793 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32794 Exit with zero in case no suitable GID is found, and write a
32795 message to standard error.
32796
bea9b193
RM
327972012-07-30 Roland McGrath <roland@hack.frob.com>
32798
32799 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32800 rather than to 1.
32801 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32802 (MAXPATHLEN): Removed.
32803 (NOGROUP, NODEV): New macros.
32804 (setbit, clrbit, isset, isclr): New macros.
32805 (howmany, roundup, powerof2): New macros.
32806 (DEV_BSIZE): New macro.
32807
32808 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32809 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32810
32811 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32812 definition on [!__NO_LONG_DOUBLE_MATH].
32813
32814 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32815 PTR_MANGLE and PTR_DEMANGLE.
32816
32817 * socket/accept4.c (accept4): Rename to __libc_accept4.
32818 Define accept4 as a weak alias.
32819
32820 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32821 on [_DIRENT_HAVE_D_TYPE].
32822 * io/ftw.c (ftw_dir): Likewise.
32823
32824 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32825
32826 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32827
32828 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32829 Use the BSD numbers rather than the arbitrary ones we had.
32830 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32831 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32832 (SIGXCPU, SIGXFSZ): New macros.
32833 (_NSIG): Now 32.
32834
32835 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32836 initializer on [_LIBC_REENTRANT].
32837
32838 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32839 definitions inside [_POSIX_MAPPED_FILES].
32840
32841 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32842
32843 * dirent/opendir.c: Include <fcntl.h>.
32844
32845 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32846 (__libc_getspecific): Likewise.
32847 (__libc_key_create): Likewise.
32848
32849 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32850 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32851 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32852 (tmpfile64): Define as alias.
32853 * sysdeps/wordsize-64/tmpfile.c: File removed.
32854 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32855 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32856 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32857
32858 * stdio-common/vfscanf.c: Include <stdbool.h>.
32859 * nss/makedb.c: Likewise.
32860 * stdio-common/_i18n_number.h: Likewise.
32861 * argp/argp-help.c: Likewise.
32862 * posix/wordexp.c: Likewise.
32863 * sysdeps/posix/spawni.c: Likewise.
32864 * nss/nss_files/files-initgroups.c: Likewise.
32865 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32866 * nss/nss_files/files-initgroups.c: Likewise.
32867 * nss/nss_db/db-netgrp.c: Likewise.
32868 * nss/nss_db/db-initgroups.c: Likewise.
32869 * io/fchmodat.c: Include <sys/stat.h>.
32870
32871 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32872 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32873
32874 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32875 [HAVE_MMAP].
32876
32877 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32878 Add multiple inclusion protection.
32879
e5abc686
DM
328802012-07-27 David S. Miller <davem@davemloft.net>
32881
32882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32883
815e6fa3
GB
328842012-07-27 Gary Benson <gbenson@redhat.com>
32885
32886 [BZ #14298]
32887 * elf/rtld.c: Include <stap-probe.h>.
32888 (dl_main): Added static probes "init_start" and "init_complete".
32889 * elf/dl-load.c: Include <stap-probe.h>.
32890 (lose): Take new parameter "nsid".
32891 Added static probe "map_failed".
32892 (_dl_map_object_from_fd): Pass namespace id to lose.
32893 Added static probe "map_start".
32894 (open_verify): Pass namespace id to lose.
32895 * elf/dl-open.c: Include <stap-probe.h>.
32896 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32897 and "reloc_complete".
32898 * elf/dl-close.c: Include <stap-probe.h>.
32899 (_dl_close_worker): Added static probes "unmap_start" and
32900 "unmap_complete".
32901 * elf/rtld-debugger-interface.txt: New file documenting the above.
32902
9f98c16c
RM
329032012-07-26 Roland McGrath <roland@hack.frob.com>
32904
32905 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32906 rather than a string variable.
32907 * sunrpc/rpc_main.c (h_output): Likewise.
32908 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32909
f3c22df3
PT
329102012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32911
32912 * inet/check_native.c: New file.
32913
3129cfc6
JM
329142012-07-26 Joseph Myers <joseph@codesourcery.com>
32915
da865e95
JM
32916 [BZ #13629]
32917 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32918 if larger part has absolute value 1.0.
32919 * math/s_clog10.c (__clog10): Likewise.
32920 * math/s_clog10f.c (__clog10f): Likewise.
32921 * math/s_clog10l.c (__clog10l): Likewise.
32922 * math/s_clogf.c (__clogf): Likewise.
32923 * math/s_clogl.c (__clogl): Likewise.
32924 * math/libm-test.inc (clog_test): Add more tests.
32925 (clog10_test): Likewise.
32926 * sysdeps/i386/fpu/libm-test-ulps: Update.
32927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32928
3129cfc6
JM
32929 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32930 (pltexit): Likewise.
32931 (La_regs): Likewise.
32932 (La_retval): Likewise.
32933 (int_retval): Likewise.
32934 Update #error for removed macros to refer only to definitions in
32935 tst-audit.h.
32936 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32937 macro.
32938 (pltexit): Likewise.
32939 (La_regs): Likewise.
32940 (La_retval): Likewise.
32941 (int_retval): Likewise.
32942 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32943 macro.
32944 (pltexit): Likewise.
32945 (La_regs): Likewise.
32946 (La_retval): Likewise.
32947 (int_retval): Likewise.
32948 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32949 macro.
32950 (pltexit): Likewise.
32951 (La_regs): Likewise.
32952 (La_retval): Likewise.
32953 (int_retval): Likewise.
32954 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32955 macro.
32956 (pltexit): Likewise.
32957 (La_regs): Likewise.
32958 (La_retval): Likewise.
32959 (int_retval): Likewise.
32960 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32961 macro.
32962 (pltexit): Likewise.
32963 (La_regs): Likewise.
32964 (La_retval): Likewise.
32965 (int_retval): Likewise.
32966 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32967 macro.
32968 (pltexit): Likewise.
32969 (La_regs): Likewise.
32970 (La_retval): Likewise.
32971 (int_retval): Likewise.
32972 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32973 macro definitions in tst-audit.h.
32974 * sysdeps/i386/tst-audit.h: New file.
32975 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32976 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32977 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32978 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32979 * sysdeps/sh/tst-audit.h: Likewise.
32980 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32981 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32982 * sysdeps/x86_64/tst-audit.h: Likewise.
32983
bfc07087
AJ
329842012-07-26 Andreas Jaeger <aj@suse.de>
32985
b1b2aaf8
AJ
32986 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32987 ptrace.
32988
32989 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32990 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32991 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32992 PTRACE_O_MASK.
32993 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32994 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32995 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32996
bfc07087
AJ
32997 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32998 value.
32999
33000 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33001 _sigsys.
33002 (si_call_addr, si_syscall, si_arch): Define new macro.
33003 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33004 _sigsys.
33005 (si_call_addr, si_syscall, si_arch): Define new marcro.
33006 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33007 _sigsys.
33008 (si_call_addr, si_syscall, si_arch): Define new macro.
33009 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33010 _sigsys.
33011 (si_call_addr, si_syscall, si_arch): Define new macro.
33012
89b4b02f
JM
330132012-07-25 Joseph Myers <joseph@codesourcery.com>
33014
33015 [BZ #13717]
33016 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33017 Change to 2.4.21 where previously 2.4.1.
33018 * sysdeps/unix/sysv/linux/configure: Regenerated.
33019 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33020 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33021 Linux kernel version.
33022 (__ASSUME_STD_AUXV): Remove.
33023 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33024 kernel version.
33025 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33026 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33027 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33028 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33029 (__ASSUME_NETLINK_SUPPORT): Likewise.
33030 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33031 (__no_netlink_support): Remove conditional definition.
33032 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33033 Remove.
33034 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33035 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33036 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33037 (if_nameindex_ioctl): Remove.
33038 (if_nameindex_netlink): Do not handle __no_netlink_support.
33039 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33040 code.
33041 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33042 Remove conditional code.
33043 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33044 code.
33045 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33046 unconditional.
33047 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33048 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33049 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33050 Remove.
33051 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33052 [!__ASSUME_STD_AUXV]: Remove conditional code.
33053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33054 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33055 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33057 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33058 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33059 code.
33060 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33062 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33063 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33064 conditional code.
33065 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33067 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33068 code.
33069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33070 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33071 conditional code.
33072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33073 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33074 code unconditional.
33075 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33076 conditional code.
33077 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33078 unconditional.
33079 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33080 conditional code.
33081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33082 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33083 unconditional.
33084 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33085 conditional code.
33086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33087 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33088 code unconditional.
33089 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33090 conditional code.
33091 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33092 unconditional.
33093 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33094 conditional code.
33095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33096 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33097 code unconditional.
33098 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33099 conditional code.
33100 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33101 unconditional.
33102 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33103 conditional code.
33104
842a39cd
AS
331052012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33106
33107 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33108 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33109 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33110 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33111 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33112 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33113 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33114 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33115 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33116 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33117 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33118 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33119 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33120 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33121 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33122 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33123 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33124 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33125 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33126 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33127 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33128 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33129 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33130
84b3fd84
FW
331312012-07-25 Florian Weimer <fweimer@redhat.com>
33132
33133 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
33134 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33135 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33136 Introduce __libc_secure_getenv.
0c7936d5
FW
33137 * stdlib/Versions (2.17): Add secure_getenv
33138 (GLIBC_PRIVATE): Add __libc_secure_getenv.
33139 * stdlib/secure-getenv.c: Rename __secure_getenv to
33140 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
33141 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
33142 * stdlib/tst-secure-getenv.c: New.
33143 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
33144 * manual/startup.texi (Environment Access): Document
33145 secure_getenv.
84b3fd84
FW
33146 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33147 __libc_secure_getenv.
33148 * inet/ruserpass.c (ruserpass): Likewise.
33149 * malloc/mtrace.c (mtrace): Likewise.
33150 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 33151 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
33152 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33153 * sysdeps/posix/tempname.c: Likewise. Evaluate
33154 HAVE_SECURE_GETENV.
33155 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 33156 __secure_getenv to __libc_secure_getenv.
84b3fd84 33157 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
33158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33159 Likewise.
33160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33161 Likewise.
33162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33164 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 33169
56e49b71
JM
331702012-07-25 Joseph Myers <joseph@codesourcery.com>
33171
33172 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33173 (struct La_i86_retval): Likewise.
33174 (struct La_x86_64_regs): Likewise.
33175 (struct La_x86_64_retval): Likewise.
33176 (struct La_x32_regs): Likewise.
33177 (struct La_x32_retval): Likewise.
33178 (struct La_ppc32_regs): Likewise.
33179 (struct La_ppc32_retval): Likewise.
33180 (struct La_ppc64_regs): Likewise.
33181 (struct La_ppc64_retval): Likewise.
33182 (struct La_sh_regs): Likewise.
33183 (struct La_sh_retval): Likewise.
33184 (struct La_s390_32_regs): Likewise.
33185 (struct La_s390_32_retval): Likewise.
33186 (struct La_s390_64_regs): Likewise.
33187 (struct La_s390_64_retval): Likewise.
33188 (struct La_sparc32_regs): Likewise.
33189 (struct La_sparc32_retval): Likewise.
33190 (struct La_sparc64_regs): Likewise.
33191 (struct La_sparc64_retval): Likewise.
33192 (struct audit_ifaces): Remove architecture-specific pltenter and
33193 pltexit members.
33194 * sysdeps/i386/ldsodefs.h: New file.
33195 * sysdeps/powerpc/ldsodefs.h: Likewise.
33196 * sysdeps/s390/ldsodefs.h: Likewise.
33197 * sysdeps/sh/ldsodefs.h: Likewise.
33198 * sysdeps/sparc/ldsodefs.h: Likewise.
33199 * sysdeps/x86_64/ldsodefs.h: Likewise.
33200
354691b7
MP
332012012-07-25 Marek Polacek <polacek@redhat.com>
33202
33203 [BZ #6808]
33204 * math/libm-test.inc (yn_test): Add another test.
33205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33206 to ERANGE when the result is +-Inf.
33207 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33208 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33209 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33210 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33211
bf9e2071
JM
332122012-07-24 Joseph Myers <joseph@codesourcery.com>
33213
33214 * conform/data/time.h-data (NULL): Use macro-constant. Require
33215 equal to 0.
33216 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33217 clock_t.
33218 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33219
57633811
TS
332202012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33221
33222 * configure.in <sysdeps resolving>: Correct printing
33223 Implies_before.
33224 * configure: Regenerate.
33225
c23c33b0
TS
332262012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33227
33228 * math/w_ilogb.c: Include <limits.h>.
33229 * math/w_ilogbl.c: Likewise.
33230
b5982523
JM
332312012-07-20 Joseph Myers <joseph@codesourcery.com>
33232
33233 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33234 va_copy. Document allowing for unavailable va_copy only as
33235 pre-C99 compatibility.
33236 * manual/string.texi (Copying and Concatenation): Use va_copy
33237 instead of __va_copy in concat example.
33238
ac4ea442
PT
332392012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33240
33241 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33242 (__sendto): Use create_address_port. Initialize APORT and deallocate
33243 it if not null.
33244
f98eafbd
PT
33245 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33246 with O_NOLINK passed to __file_name_lookup.
33247
898c7aab
PT
33248 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33249 with O_NOLINK passed to __file_name_lookup.
33250
0ced335a
PT
33251 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33252 negative N or less than NGIDS.
33253
b3404dbd
PT
33254 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33255 type to string_t. Set ERANGE as errno and return it if NAME is not big
33256 enough. Use memcpy instead of strncpy.
33257
0f48659e
JM
332582012-07-20 Joseph Myers <joseph@codesourcery.com>
33259
33260 * elf/Makefile (check-data): Remove.
33261 (localplt.data): New vpath directive.
33262 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33263 instead of $(check-data).
33264 * scripts/data/localplt-generic.data: Move to ...
33265 * sysdeps/generic/localplt.data: ... here.
33266 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33267 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33268 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33270 ... here.
33271 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33273 ... here.
33274 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33276 ... here.
33277 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33279 ... here.
33280 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33282 ... here.
33283 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33285 ... here.
33286
d37cbdaa
AZ
332872012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33288
33289 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33290 PPC32 and PPC64 files.
33291 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33292 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33293
46f85fc2
AK
332942012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33295
33296 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33297 __makecontext_ret to ...
33298 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33299 ... here and call exit if uc_link is NULL. New file.
33300 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33301 __makecontext_ret.S.
33302 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33303 __makecontext_ret to ...
33304 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33305 ... here and call exit if uc_link is NULL. New file.
33306 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33307 __makecontext_ret.S.
33308
08f43f9b
AK
333092012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33310
33311 * elf/elf.h (R_390_IRELATIVE): New definition.
33312 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33313 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33314 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33315 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33316 (elf_machine_lazy_rel): Likewise.
33317 * sysdeps/s390/dl-irel.h: New file.
33318 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33319 * sysdeps/s390/s390-64/memset.S: New asm code.
33320 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33321 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33322 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33323 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33324 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33325 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33326 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33327 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33328 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33329 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33330 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33331 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33332 * sysdeps/s390/s390-32/memset.S: New asm code.
33333 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33334
3b05db33
MP
333352012-07-17 Marek Polacek <polacek@redhat.com>
33336
33337 [BZ #14349]
33338 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33339 * sysdeps/s390/s390-64/configure.in: Likewise.
33340 * sysdeps/sparc/configure.in: Likewise.
33341 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33342 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33343 * sysdeps/i386/configure.in: Likewise.
33344 * sysdeps/x86_64/configure.in: Likewise.
33345 * sysdeps/sh/configure.in: Likewise.
33346 * sysdeps/s390/s390-32/configure: Regenerated.
33347 * sysdeps/s390/s390-64/configure: Likewise.
33348 * sysdeps/x86_64/configure: Likewise.
33349 * sysdeps/sh/configure: Likewise.
33350 * sysdeps/powerpc/powerpc64/configure: Likewise.
33351 * sysdeps/powerpc/powerpc32/configure: Likewise.
33352 * sysdeps/sparc/configure: Likwise.
33353 * sysdeps/i386/configure: Likewise.
33354
a66877c6
MP
33355 * elf/dl-open.c: Comment fixes.
33356
cfc82fd8
JM
333572012-07-17 Joseph Myers <joseph@codesourcery.com>
33358
bd29910a
JM
33359 * Makefile [CXX] (check-data): Remove.
33360 [CXX] (c++-types.data): New vpath directive.
33361 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33362 vpath. Do not allow for C++ type data being missing.
33363 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33364 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33365 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33366 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33367 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33368 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33369 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33371 ... here.
33372 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33374 ... here.
33375 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33377 ... here.
33378 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33380 ... here.
33381 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33383 ... here.
33384 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33386 ... here.
33387 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33389 ... here.
33390 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33392
cfc82fd8
JM
33393 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33394 definitions to architecture-specific files.
33395 (TLS_IE): Likewise.
33396 (TLS_LD): Likewise.
33397 (TLS_GD): Likewise.
33398 * sysdeps/i386/tls-macros.h: New file.
33399 * sysdeps/powerpc/tls-macros.h: Likewise.
33400 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33401 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33402 * sysdeps/sh/tls-macros.h: Likewise.
33403 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33404 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33405 * sysdeps/x86_64/tls-macros.h: Likewise.
33406
f7db3170
TS
334072012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33408
07cbfc23
TS
33409 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33410 zero value for regular exit case.
33411
f7db3170
TS
33412 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33413 (__start_context): Preserve zero value for regular exit case.
33414
dc97c227
TS
334152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33416 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33417
33418 * manual/setjmp.texi (setcontext): Clarify normal process
33419 termination when uc_link is the null pointer.
33420 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33421 exit call.
33422
d0cd7d02
AS
334232012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33424
33425 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33426 preprocessor. Test for each exception mask separately.
33427
dd318934
AJ
334282012-07-16 Andreas Jaeger <aj@suse.de>
33429
33430 * po/ru.po: Update from translation team.
33431
8048311a
JM
334322012-07-15 Joseph Myers <joseph@codesourcery.com>
33433
33434 * conform/data/string.h-data (NULL): Use macro-constant. Require
33435 equal to 0.
33436 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33437 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33438 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33439 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33440 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33441
b637d46e
AJ
334422012-07-13 Andreas Jaeger <aj@suse.de>
33443
33444 * po/fr.po: Update from translation team.
33445
541428fe
MP
334462012-07-12 Marek Polacek <polacek@redhat.com>
33447
33448 [BZ #14173]
33449 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33450 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33451 loop condition.
33452
ec332e94
JM
334532012-07-12 Joseph Myers <joseph@codesourcery.com>
33454
33455 [BZ #13717]
33456 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33457 Change to 2.4.1 where previously 2.4.0.
33458 * sysdeps/unix/sysv/linux/configure: Regenerated.
33459 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33460 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33461 version.
33462 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33463 (__ASSUME_AT_CLKTCK): Remove.
33464 (__ASSUME_AT_PAGESIZE): Likewise.
33465 (__ASSUME_AT_XID): Likewise.
33466 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33467 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33468 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33469 unconditionally.
33470 (HAVE_AUX_PAGESIZE): Likewise.
33471 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33472 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33473 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33474
7b6e99be
JB
334752012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33476
33477 [BZ #14307]
33478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33479 the temporary buffer used to invoke __gethostbyname2_r,
33480 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33481 host_data / struct gaih_addrtuple.
33482 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33483 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33484 header file nss/nsswitch.h.
33485 * nss/nsswitch.h (global scope): Add definition of implementation
33486 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33487 resolv/nss_dns/dns-host.c).
33488
608404eb
AJ
334892012-07-11 Andreas Jaeger <aj@suse.de>
33490
33491 * po/fr.po: Update from translation team.
33492
71220aca
AJ
33493 * po/sv.po: Update from translation team
33494 * po/fr.po: Another update from translation team.
33495
28cfe843
AZ
334962012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33497
33498 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33499 for subnormals or multiply small sinh result by itself.
33500 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33502
6b90f981
DM
335032012-07-11 David S. Miller <davem@davemloft.net>
33504
33505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33506
c6825772
AS
335072012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33508
33509 [BZ #14347]
33510 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33511 (INTERNAL_MARK): Shift it here.
33512
7b8e0d49
MP
335132012-07-10 Marek Polacek <polacek@redhat.com>
33514
33515 [BZ #14151]
33516 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33517 libc_cv_asm_global_directive with .globl.
33518 * configure: Regenerated.
33519 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33520 with .globl.
33521 * sysdeps/i386/configure: Regenerated.
33522 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33523 with .globl.
33524 * sysdeps/x86_64/configure: Regenerated.
33525 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33526 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33527 * elf/tst-unique2mod2.c: Likewise.
33528 * elf/tst-unique2mod1.c: Likewise.
33529 * elf/tst-unique1mod2.c: Likewise.
33530 * elf/tst-unique1mod1.c: Likewise.
33531 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33532 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33533 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33534 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33535 * sysdeps/mach/sysdep.h: Likewise.
33536 * sysdeps/i386/sysdep.h: Likewise.
33537 * sysdeps/i386/i386-mcount.S: Likewise.
33538 * sysdeps/x86_64/_mcount.S: Likewise.
33539 * sysdeps/x86_64/sysdep.h: Likewise.
33540 * sysdeps/sh/_mcount.S: Likewise.
33541 * sysdeps/sh/sysdep.h: Likewise.
33542 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33543 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33544 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33545 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33546 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33547 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33548 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33549 * locale/localeinfo.h: Likewise.
33550 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33551 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33552
6c55cda3
RM
335532012-07-09 Roland McGrath <roland@hack.frob.com>
33554
33555 [BZ #14336]
33556 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33557 system".
33558 * manual/message.texi (The Uniforum approach): Likewise.
33559 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33560 (glibc iconv Implementation): Likewise.
33561
638a572e
JM
335622012-07-09 Joseph Myers <joseph@codesourcery.com>
33563
33564 [BZ #14337]
33565 * math/s_clog.c (__clog): Avoid scaling a value down where that
33566 could result in underflow.
33567 * math/s_clog10.c (__clog10): Likewise.
33568 * math/s_clog10f.c (__clog10f): Likewise.
33569 * math/s_clog10l.c (__clog10l): Likewise.
33570 * math/s_clogf.c (__clogf): Likewise.
33571 * math/s_clogl.c (__clogl): Likewise.
33572 * math/libm-test.inc (clog_test): Add more tests.
33573 (clog10_test): Likewise.
33574 * sysdeps/i386/fpu/libm-test-ulps: Update.
33575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33576
261f4859
AS
335772012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33578
0abaf3e4
AS
33579 [BZ #14283]
33580 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33581 by 7 not 8 to examine high bit of fractional part.
33582
261f4859
AS
33583 [BZ #14042]
33584 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33585 for call to __mcount_internal.
33586 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33587 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33588 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33589
f17ac40d
JM
335902012-07-06 Joseph Myers <joseph@codesourcery.com>
33591
9ad63c23
JM
33592 [BZ #14154]
33593 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33594 approximation for values within 0x1p-13f of an odd multiple of
33595 pi/4.
33596 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33597 exception. Add more tests.
33598 * sysdeps/i386/fpu/libm-test-ulps: Update.
33599
f17ac40d
JM
33600 [BZ #6778]
33601 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33602 inputs and return -1 for them. Do not check for +Inf in case not
33603 reachable for +Inf.
33604 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33605 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33606 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33607 and return -1 for them. Do not check for +Inf in case not
33608 reachable for +Inf.
33609 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33610 define.
33611 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33612 and return -1 for them. Do not check for +Inf in case not
33613 reachable for +Inf.
33614 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33615 spurious underflow.
33616 * sysdeps/i386/fpu/libm-test-ulps: Update.
33617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33618
fb21f89b
MF
336192012-07-06 Mike Frysinger <vapier@gentoo.org>
33620
33621 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33622
cdfe2c5e
JM
336232012-07-05 Joseph Myers <joseph@codesourcery.com>
33624
33625 [BZ #14157]
33626 [BZ #14331]
33627 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33628 could result in spurious underflow. Scale down values above
33629 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33630 * math/s_csqrtf.c (__csqrtf): Likewise.
33631 * math/s_csqrtl.c (__csqrtl): Likewise.
33632 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33633 spurious underflow.
33634 * sysdeps/i386/fpu/libm-test-ulps: Update.
33635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33636
70d35b67
AS
336372012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33638
704bc459
AS
33639 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33640 xopen-msg.sed.
33641 * catgets/xopen-msg.awk: New file.
33642 * catgets/xopen-msg.sed: Removed.
33643
70d35b67
AS
33644 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33645 po2text.sed.
33646 * intl/po2test.awk: New file.
33647 * intl/po2test.sed: Removed.
33648
ca61cf32
JM
336492012-07-04 Joseph Myers <joseph@codesourcery.com>
33650
33651 [BZ #14328]
33652 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33653 or multiply small sinh result by itself.
33654 * math/s_ctanf.c (__ctanf): Likewise.
33655 * math/s_ctanh.c (__ctanh): Likewise.
33656 * math/s_ctanhf.c (__ctanhf): Likewise.
33657 * math/s_ctanhl.c (__ctanhl): Likewise.
33658 * math/s_ctanl.c (__ctanl): Likewise.
33659 * math/libm-test.inc (ctan_test_tonearest): New function.
33660 (ctan_test_towardzero): Likewise.
33661 (ctan_test_downward): Likewise.
33662 (ctan_test_upward): Likewise.
33663 (ctanh_test_tonearest): Likewise.
33664 (ctanh_test_towardzero): Likewise.
33665 (ctanh_test_downward): Likewise.
33666 (ctanh_test_upward): Likewise.
33667 (main): Call these new functions.
33668 * sysdeps/i386/fpu/libm-test-ulps: Update.
33669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33670
ca48a46a
MF
336712012-07-03 Mike Frysinger <vapier@gentoo.org>
33672
33673 * .gitignore: Delete /ports entry.
33674
9d63d37d
AJ
336752012-07-03 Andreas Jaeger <aj@suse.de>
33676
33677 * po/bg.po: Update from translation team.
33678 * po/cs.po: Likewise.
33679 * po/de.po: Likewise.
33680 * po/hr.po: Likewise.
33681 * po/nl.pl: Likewise.
33682 * po/pl.po: Likewise.
33683 * po/vi.po: Likewise.
33684
370ca3d2
JM
336852012-07-03 Joseph Myers <joseph@codesourcery.com>
33686
95f5a9a8
JM
33687 * Makeconfig [!+link] (+link-before-libc): New variable.
33688 [!+link] (+link-after-libc): Likewise.
33689 [!+link] (+link-tests): Likewise.
33690 [!+link] (+link): Define in terms of $(+link-before-libc) and
33691 $(+link-after-libc).
33692 [!+link-static] (+link-static-before-libc): New variable.
33693 [!+link-static] (+link-static-after-libc): Likewise.
33694 [!+link-static] (+link-static-tests): Likewise.
33695 [!+link-static] (+link-static): Define in terms of
33696 $(+link-static-before-libc) and $(+link-static-after-libc).
33697 [build-shared] (link-libc-before-gnulib): New variable.
33698 [build-shared] (link-libc-tests): Likewise.
33699 [build-shared] (link-libc): Define in terms of
33700 $(link-libc-before-gnulib).
33701 [!build-shared] (link-libc-tests): New variable.
33702 (link-libc-static-tests): New variable.
33703 [!gnulib] (gnulib-arch): New variable.
33704 [!gnulib] (gnulib-tests): Likewise.
33705 [!gnulib] (static-gnulib-arch): Likewise.
33706 [!gnulib] (static-gnulib-tests): Likewise.
33707 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33708 Define with "=" instead of ":=".
33709 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33710 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33711 * Rules (binaries-all-notests): New variable.
33712 (binaries-all-tests): Likewise.
33713 (binaries-static-notests): Likewise.
33714 (binaries-static-tests): Likewise.
33715 (binaries-all): Define using $(binaries-all-notests) and
33716 $(binaries-all-tests).
33717 (binaries-static): Define using $(binaries-static-notests) and
33718 $(binaries-static-tests).
33719 (binaries-shared-tests): New variable.
33720 (binaries-shared-notests): Likewise.
33721 (binaries-shared): Remove variable.
33722 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33723 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33724 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33725 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33726 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33727 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33728 * elf/Makefile (sln-modules): New variable.
33729 (extra-objs): Add $(sln-modules:=.o).
33730 (ldconfig-modules): Add static-stubs.
33731 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33732 * elf/static-stubs.c: New file.
33733
7a845b2c
JM
33734 [BZ #14283]
33735 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33736 by 7 not 8 to examine high bit of fractional part. Use volatile
33737 variables when splitting into final array of floats if
33738 __FLT_EVAL_METHOD__ != 0.
33739 * math/libm-test.inc (cos_test): Add another test.
33740 (sin_test): Likewise.
33741 * sysdeps/i386/fpu/libm-test-ulps: Update.
33742
e2283f38
JM
33743 [BZ #14273]
33744 * math/libm-test.inc (cosh_test): Add more tests.
33745
370ca3d2
JM
33746 * version.h (RELEASE): Set to "development".
33747 (VERSION): Set to "2.16.90".
33748
ee9247c3
CD
337492012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33750
33751 * NEWS: Update copyright. Remove last-updated date.
33752 Mention math library bug fixes and timezone data changes.
33753 * README: Mention GNU/Hurd, x32, and HPPA support status.
33754
4648c381
TS
337552012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33756
33757 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33758
aac78a43
AJ
337592012-06-27 Andreas Jaeger <aj@suse.de>
33760
33761 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33762
ed3dbfad
AJ
337632012-06-25 Andreas Jaeger <aj@suse.de>
33764
33765 * sysdeps/s390/fpu/libm-test-ulps: Update.
33766
4d0ee855
AS
337672012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33768 Thomas Schwinge <thomas@codesourcery.com>
33769
33770 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33771 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33772 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33773 fanotify_mark.
33774
af1bce34
TS
337752012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33776
a9fa33ba
TS
33777 * sysdeps/mach/start.c: Remove file.
33778 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33779 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33780 * sysdeps/sh/init-first.c: Likewise.
33781
58f902b8
TS
33782 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33783 registers for frame unwinding purposes, add CFI directives.
33784 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33785 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33786 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33787 Likewise.
33788
1518f58b
TS
33789 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33790 __fortify_fail returning.
33791 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33792
db9b5059
TS
33793 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33794 sysdeps/sh/____longjmp_chk.S.
33795 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33796 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33797 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33798 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33799
967705fe
TS
33800 * sysdeps/sh/abort-instr.h: New file.
33801 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33802 process in case exit returns.
33803
a9def8c4
TS
33804 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33805 initialize the GOT register before use.
33806
2a649725
TS
33807 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33808 calculation of ARGC > 4.
33809
af1bce34
TS
33810 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33811 meaningful names to some local labels.
33812
d230f50a
KK
338132012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33814 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33815
33816 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33817 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33818 (__arch_compare_and_exchange_val_16_acq): Likewise.
33819 (__arch_compare_and_exchange_val_32_acq): Likewise.
33820 (atomic_exchange_and_add): Fix gUSA sequence.
33821 (atomic_add): Likewise.
33822 (atomic_add_negative): Likewise.
33823 (atomic_add_zero): Likewise.
33824 (atomic_bit_test_set): Likewise.
33825
0479b305
AS
338262012-06-22 Andreas Schwab <schwab@redhat.com>
33827
33828 [BZ #13579]
33829 * include/link.h (struct link_map): Add l_free_initfini.
33830 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33831 l_initfini.
33832 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33833 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33834 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33835 set.
33836
0e3933b9
CD
338372012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33838
33839 * configure.in: Use AC_LANG_SOURCE.
33840 * configure: Regenerate.
33841
4248b1b1
RM
338422012-06-22 Roland McGrath <roland@hack.frob.com>
33843
33844 * configure.in (libc_cv_localstatedir): New substituted variable.
33845 * configure: Regenerated.
33846 * config.make.in (localstatedir): New variable, substituted from
33847 libc_cv_localstatedir.
33848 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33849 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33850 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33851 * sysdeps/gnu/configure: Regenerated.
33852
006dd861
JL
338532012-06-21 Jeff Law <law@redhat.com>
33854
33855 [BZ #14277]
33856 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33857 free. Simplify list management for _LIBC case.
33858
79662d42
JM
338592012-06-21 Joseph Myers <joseph@codesourcery.com>
33860
b7abb4bf
JM
33861 [BZ #14273]
33862 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33863 Clear sign bit of 64-bit integer value before comparing against
33864 overflow value.
33865
79662d42
JM
33866 * sysdeps/mach/configure: Regenerated.
33867
1f150908
L
338682012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33869
33870 [BZ #14278]
33871 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33872
28363bbf
JL
338732012-06-21 Jeff Law <law@redhat.com>
33874
33875 [BZ #13882]
33876 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33877 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 33878 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
33879 * elf/dl-open.c (dl_open_worker): Likewise.
33880
09615db4
CD
338812012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33882
33883 * scripts/list-sources.sh: Scan PORTS for translations.
33884 * po/libc.pot: Regenerated.
33885
2174c6dd
AJ
338862012-06-21 Andreas Jaeger <aj@suse.de>
33887
33888 [BZ #12194]
33889 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33890 warning.
33891 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33892 * bits/byteswap-16.h (__bswap_16): Likewise.
33893 * bits/byteswap.h (__bswap_constant_16): Likewise.
33894
3ee947b1
L
338952012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33896
33897 [BZ #14117]
a2f34833
L
33898 * sysdeps/i386/fpu_control.h: Removed.
33899 * sysdeps/x86_64/fpu_control.h: Moved to ...
33900 * sysdeps/x86/fpu_control.h: Here.
33901
3ee947b1
L
33902 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33903 (_FPU_SETCW): Likewise.
33904
ed1825f8
L
339052012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33906
25f1282a
L
33907 [BZ #14117]
33908 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33909 * sysdeps/x86/fpu/bits/mathinline.h: This.
33910 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33911
ed1825f8
L
33912 [BZ #14050]
33913 [BZ #14117]
33914 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33915 functions if __x86_64__ is defined.
33916
36d54b74
CLT
339172012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33918
33919 * string/endian.h: Add !__ASSEMBLER__ condition for including
33920 conversion interfaces.
33921
10285c21
JM
339222012-06-15 Joseph Myers <joseph@codesourcery.com>
33923
33924 [BZ #14241]
33925 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33926 of ABS(x) in calculating zero to negative powers other than odd
33927 integers.
33928 * math/libm-test.inc (pow_test): Add more tests.
33929
06c5abbd
AJ
339302012-06-15 Andreas Jaeger <aj@suse.de>
33931
33932 * manual/contrib.texi (Contributors): Update entry of Liubov
33933 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33934 Machado Filho.
33935
a3aeac40
CH
339362012-06-15 Cyril Hrubis <metan@ucw.cz>
33937
33938 * string/string.h: Add __wur to GNU version of strerror_r.
33939
49bdf4c1
L
339402012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33941
33942 [BZ #14229]
33943 * string/Makefile (tests): Add tst-strtok_r.
33944 * string/tst-strtok_r.c: New file.
33945 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33946 RAX_LP/RDX_LP on SAVE_PTR.
33947
834f9b8d
RM
339482012-06-14 Roland McGrath <roland@hack.frob.com>
33949
33950 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33951
75fa1921
JM
339522012-06-14 Joseph Myers <joseph@codesourcery.com>
33953
33954 * libm_test.inc (csqrt_test): Allow more spurious underflow
33955 exceptions.
33956 (j0_test): Likewise.
33957 (j1_test): Likewise.
33958 (y0_test): Likewise.
33959 (y1_test): Likewise.
33960
771766df
CD
339612012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33962
33963 * po/Makefile (libc.pot): Use UTF-8 charset.
33964
ceb9e56b
PP
339652012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33966
33967 [BZ #14210]
33968 Suppress sign-conversion warning from FD_SET.
33969 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33970 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33971 not unsigned long int.
33972 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33973
ddb28975
L
339742012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33975
33976 [BZ #14050]
33977 [BZ #14117]
33978 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33979 __extern_always_inline instead of __extern_inline.
33980 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33981 (__signbit): Likewise.
33982 (__signbitl): Support C++ namespace.
33983 (lrintf): New inline function.
33984 (lrint): Likewise.
33985 (llrintf): Likewise.
33986 (llrint): Likewise.
33987 (fmaxf): Likewise.
33988 (fmax): Likewise.
33989 (fminf): Likewise.
33990 (fmin): Likewise.
33991 (rint): Likewise.
33992 (rintf): Likewise.
33993 (ceil): Likewise.
33994 (ceilf): Likewise.
33995 (floor): Likewise.
33996 (floorf): Likewise.
33997 (nearbyint): Likewise.
33998 (nearbyintf): Likewise.
33999
d7b4fb26
TS
340002012-06-12 Thomas Schwinge <thomas@codesourcery.com>
34001
34002 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34003 non-default versions.
34004
eb55f5c2
RM
340052012-06-11 Roland McGrath <roland@hack.frob.com>
34006
34007 [BZ #14218]
34008 * manual/argp.texi (Argp): Reword argp_parse description slightly.
34009
366af02c
TS
340102012-06-09 Thomas Schwinge <thomas@codesourcery.com>
34011
99ff6e5c
TS
34012 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34013 (FE_UPWARD, FE_DOWNWARD): Don't define.
34014 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34015 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34016
366af02c
TS
34017 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34018 reading it.
34019 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34020 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34021
793ea851
KK
340222012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34023
34024 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34025 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34026 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34027 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34028
a728a38f
L
340292012-06-06 H.J. Lu <hongjiu.lu@intel.com>
34030
34031 [BZ #14117]
c08010c7
L
34032 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34033 * sysdeps/i386/fpu/Implies: New file.
34034 * sysdeps/x86_64/fpu/Implies: Likewise.
34035 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34036 * sysdeps/x86/fpu/bits/fenv.h: This.
34037
a728a38f
L
34038 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34039 __SSE_MATH__.
34040
6e230d11
SP
340412012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34042
34043 [BZ #14134]
34044 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34045 character 0xffff that matches the last element of the
34046 conversion table.
34047
1b671feb
AZ
340482012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34049
34050 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34051 fmodl commit.
34052
6043738b
AZ
340532012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34054
34055 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34056 values higher than 25.6283.
34057
34ae0b32
AZ
340582012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34059
34060 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34061 subnormal exponent extraction and add some __builtin_expect.
34062 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34063 Fix for subnormal mantissa calculation.
34064
1214ec8f
MF
340652012-06-04 Mike Frysinger <vapier@gentoo.org>
34066
34067 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34068 cpu2 is -1 and errno is not ENOSYS.
34069
f3d1f93c
L
340702012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34071
34072 [BZ #14117]
0e4a3cd7
L
34073 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34074 * sysdeps/x86/bits/string.h: This.
34075 * sysdeps/x86_64/bits/string.h: Removed.
34076
6704c645
L
34077 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34078 if not compiling for x86-64, but compiling for >= i486.
34079
48495318
L
34080 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34081 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34082
14adcbfc
L
34083 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34084 New macro from Linux kernel 3.4.0.
34085 (FP_XSTATE_MAGIC2): Likewise.
34086 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34087 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34088 (struct _fpx_sw_bytes): New struct.
34089 (struct _xsave_hdr): Likewise.
34090 (struct _ymmh_state): Likewise.
34091 (struct _xstate): Likewise.
34092
68e408ab
L
34093 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34094 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34095 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34096 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34097 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34098 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34099
f3d1f93c
L
34100 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34101 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34102 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34103 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34104 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34105 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34106
d9dc34cd
TMQMF
341072012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34108
34109 [BZ #13743]
34110 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34111 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34112 (sysdep_headers): Include sys/platform/ppc.h.
34113 * sysdeps/powerpc/test-gettimebase.c: Test for
34114 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34115 * manual/Makefile (appendices): Include platform.texi.
34116 * manual/contrib.texi (Contributors): Update @node pointers.
34117 * manual/maint.texi (Maintenance): Likewise.
34118 (Platform): New node.
34119 * manual/platform.texi: New file. Document the new features.
34120
4af3879c
SP
341212012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34122 Jakub Jelinek <jakub@redhat.com>
34123
34124 [BZ #14188]
34125 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34126 where __builtin_expect is unavailable.
34127
2fd6ff13
DM
341282012-06-03 David S. Miller <davem@davemloft.net>
34129
34130 * stdlib/longlong.h: Updated from GCC.
34131
173f7220
AS
341322012-06-02 Andreas Schwab <schwab@linux-m68k.org>
34133
34134 [BZ #14042]
34135 * sysdeps/powerpc/powerpc32/mcount.c: New file.
34136 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34137 __mcount_internal.
34138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34139 (GLIBC_2.16): Likewise.
34140
f34a1c6f
L
341412012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34142
34143 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34144
88a4576f
JM
341452012-06-01 Joseph Myers <joseph@codesourcery.com>
34146
ea32bcdd
JM
34147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34148 (default-abi): New variable.
34149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34150 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34151 variable.
34152 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34153 Likewise.
34154 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34155 Likewise.
34156 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34157 Likewise.
34158
88a4576f
JM
34159 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34160 definition. Document in comment.
34161
402fe938
DM
341622012-06-01 David S. Miller <davem@davemloft.net>
34163
34164 * stdlib/longlong.h: Updated from GCC.
34165
3553723f
L
341662012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34167
34168 [BZ #14117]
3bd872c4
L
34169 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34170 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34171 sys/debugreg.h sys/io.h here.
34172 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34173 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34174 sys/io.h.
34175 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34176 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34177 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34178 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34179 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34180 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34181
3553723f
L
34182 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34183 Define only if __x86_64__ is defined.
34184
4842e4fe
JM
341852012-06-01 Joseph Myers <joseph@codesourcery.com>
34186
c5bfe3d5
JM
34187 [BZ #14048]
34188 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34189 Use int64_t for variable i.
34190 * math/libm-test.inc (fmod_test): Add more tests.
34191
4842e4fe
JM
34192 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34193 z computation is not scheduled after fetestexcept.
34194 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34195 Use math_force_eval instead of asm to ensure calculation scheduled
34196 before exception test.
34197 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34198 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34199
efb73488
AJ
342002012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34201
34202 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34203 computation is not scheduled after fetestexcept.
34204
29bcce7c
L
342052012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34206
34207 [BZ #14117]
34208 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34209 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34210
73a68f94
AZ
342112012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34212
34213 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34214 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34215
67b6df78
L
342162012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34217
edf2933a 34218 [BZ #14117]
ebc64a18
L
34219 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34220 <bits/wordsize.h>.
34221 (__WCHAR_MIN): Support __WORDSIZE == 64.
34222 (__WCHAR_MAX): Likewise.
34223
edf2933a
L
34224 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34225 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34226
57c6cf40
L
34227 [BZ #14183]
34228 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34229 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34230
67b6df78 34231 [BZ #14117]
8eb6281e
L
34232 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34233 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34234
aac639f4
L
34235 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34236 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34237
67b6df78
L
34238 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34239 Defined to 1 if __x86_64__ isn't defined.
34240 (_STAT_VER_LINUX_OLD): New.
34241 (st_atime): Remove duplicate.
34242 (st_mtime): Likewise.
34243 (st_ctime): Likewise.
34244
1c2cfe81
DM
342452012-05-31 David S. Miller <davem@davemloft.net>
34246
34247 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34248 entries.
34249
5be8418c
AS
342502012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34251
e7725326
AS
34252 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34253 gen-libm-test.pl.
34254
5be8418c
AS
34255 [BZ #14132]
34256 * elf/dl-reloc.c: Include <_itoa.h>.
34257 (_dl_reloc_bad_type): Remove use of INTUSE.
34258 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34259 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34260 * stdio-common/psiginfo.c (psiginfo): Likewise.
34261 * stdio-common/psignal.c (psignal): Likewise.
34262 * string/strsignal.c (strsignal): Likewise.
34263 * include/signal.h (_sys_siglist): Declare hidden proto.
34264 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34265 INTVARDEF with libc_hidden_data_def.
34266 * stdio-common/itoa-udigits.c: Likewise.
34267 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34268 (_itoa_lower_digits_internal): Remove declaration.
34269 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34270 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34271 (_sys_sigabbrev_internal): Remove aliases.
34272 (_sys_siglist): Define hidden alias.
34273
507352f1
MT
342742012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34275
34276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34277 bits/sysctl.h.
34278
42bbb1c3
L
342792012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34280
34281 [BZ #14117]
6bd784b6
L
34282 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34283 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34284
8bca20f0
L
34285 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34286 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34287 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34288 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34289 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34290 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34291
f9e890a9
L
34292 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34293 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34294 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34295
471101a1
L
34296 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34297 with __addr.
34298 (insw): Likewise.
34299 (insl): Likewise.
34300 (outsb): Likewise.
34301 (outsw): Likewise.
34302 (outsl): Likewise.
34303
6451c862
L
34304 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34305 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34306 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34307
a254b8c9
L
34308 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34309 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34310 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34311 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34312 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34313 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34314
b8dfdd92
L
34315 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34316 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34317
578cd270
L
34318 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34319 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34320
de662f5f
L
34321 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34322 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34323 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34324
25653439
L
34325 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34326 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34327 to ...
34328 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34329
6bad24a0
L
34330 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34331 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34332 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34333
42bbb1c3
L
34334 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34335 for x86-64.
34336 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34337
2d10d547
JM
343382012-05-31 Joseph Myers <joseph@codesourcery.com>
34339
34340 * math/math.h (M_El): Use two more decimal places.
34341 (M_LOG2El): Likewise.
34342 (M_LOG10El): Likewise.
34343 (M_LN2l): Likewise.
34344 (M_LN10l): Likewise.
34345 (M_PIl): Likewise.
34346 (M_PI_2l): Likewise.
34347 (M_PI_4l): Likewise.
34348 (M_1_PIl): Likewise.
34349 (M_2_PIl): Likewise.
34350 (M_2_SQRTPIl): Likewise.
34351 (M_SQRT2l): Likewise.
34352 (M_SQRT1_2l): Likewise.
34353
f230c29b
DM
343542012-05-31 David S. Miller <davem@davemloft.net>
34355
34356 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34357 values between float registers.
34358 * sysdeps/sparc/sparc64/memset.S: Likewise.
34359 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34360
fed806c3
MF
343612012-05-31 Mike Frysinger <vapier@gentoo.org>
34362
34363 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34364 -D_FORTIFY_SOURCE=1.
34365 (CPPFLAGS-tst-longjmp_chk.c): Define.
34366 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34367 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34368 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34369 CFLAGS-tst-wchar-h.c.
34370
30917259
MP
343712012-05-31 Marek Polacek <polacek@redhat.com>
34372
34373 [BZ #14132]
34374 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34375 __endmntent_internal): Remove declaration.
34376 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34377 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34378 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34379
1c58d5dc
DM
343802012-05-30 David S. Miller <davem@davemloft.net>
34381
34382 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34383 (___Q_simulate_exceptions): Use real FP ops rather than writing
34384 into the %fsr.
34385 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34386 Likewise.
34387
7dc00e0d
L
343882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34389
34390 [BZ #14117]
0bd53985
L
34391 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34392 * sysdeps/x86/bits/xtitypes.h: This.
34393
3a257e66
L
34394 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34395 * sysdeps/x86/bits/wordsize.h: This.
34396
62f62904
L
34397 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34398 * sysdeps/x86/bits/huge_vall.h: This.
34399
404fe9d9
L
34400 * sysdeps/i386/bits/select.h: Removed.
34401 * sysdeps/x86_64/bits/select.h: Renamed to ...
34402 * sysdeps/x86/bits/select.h: This.
34403
d48d0446
L
34404 * sysdeps/i386/bits/setjmp.h: Removed.
34405 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34406 * sysdeps/x86/bits/setjmp.h: This.
34407
7dc00e0d
L
34408 * sysdeps/i386/bits/mathdef.h: Removed.
34409 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34410 * sysdeps/x86/bits/mathdef.h: This.
34411
03277f8f
AS
344122012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34413
34414 [BZ #14132]
34415 * include/sys/socket.h (__connect_internal)
34416 (__libc_sa_len_internal): Remove declaration.
34417 (__connect, __libc_sa_len): Declare hidden_proto.
34418 (SA_LEN): Remove use of INTUSE.
34419 * socket/connect.c: Add libc_hidden_def.
34420 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34421 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34422 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34423 alias.
34424 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34425 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34426 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34427 of adding _internal alias.
34428
13764867
L
344292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34430
34431 [BZ #14117]
6bd97696
L
34432 * sysdeps/i386/bits/link.h: Removed.
34433 * sysdeps/i386/bits/linkmap.h: Likewise.
34434 * sysdeps/x86_64/bits/link.h: Renamed to ...
34435 * sysdeps/x86/bits/link.h: This.
34436 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34437 * sysdeps/x86/bits/linkmap.h: This.
34438
f726f0bb
L
34439 * sysdeps/i386/bits/endian.h: Removed.
34440 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34441 * sysdeps/x86/bits/endian.h: This.
34442
13764867
L
34443 * sysdeps/i386/bits/byteswap.h: Removed.
34444 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34445 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34446 * sysdeps/x86/bits/byteswap.h: This.
34447 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34448 * sysdeps/x86/bits/byteswap-16.h: This.
34449 * sysdeps/i386/Implies: Add x86.
34450 * sysdeps/x86_64/Implies: Likewise.
34451
ae251b0b
DM
344522012-05-30 David S. Miller <davem@davemloft.net>
34453
34454 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34455 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34456 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34457 (FP_TRAPPING_EXCEPTIONS): Define.
34458 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34459 (FP_TRAPPING_EXCEPTIONS): Define.
34460 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34461 subnormals only when inexact has been signalled or underflow
34462 exceptions are enabled.
34463 (_FP_PACK_CANONICAL): Likewise.
34464
d5c90867
L
344652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34466
34467 [BZ #14183]
34468 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34469 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34470
63f1549e
RH
344712012-05-30 Richard Henderson <rth@twiddle.net>
34472
8d8f2279
RH
34473 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34474 with #ifndef NOT_IN_libc.
34475
63f1549e
RH
34476 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34477 marked to avoid plt entry.
34478
0ab0291b
L
344792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34480
34481 [BZ #14112]
34482 * Makeconfig (default-abi): New macro.
34483 (abi-includes): Likewise.
34484 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34485 $(abi-$(default-abi)-lib-soname) for soname if defined.
34486 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34487 abi-variants.
34488 * Makefile (installed-stubs): Likewise.
34489 * include/stubs-biarch.h: Removed.
34490 * scripts/lib-names.awk: Only handle one library at a time.
34491 * scripts/soversions.awk: Remove WORDSIZE support.
34492 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34493 entries.
34494 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34495 Removed.
34496 (syscall-list-default-condition): Likewise.
34497 (syscall-list-default-condition): Likewise.
34498 (syscall-list-includes): Likewise.
34499 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34500 syscall-list-* with abi-*. Handle undefined abi-variants.
34501 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34502 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34503 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34504 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34505 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34506 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34507 Removed.
34508 (syscall-list-32-options): Likewise.
34509 (syscall-list-32-condition): Likewise.
34510 (syscall-list-64-options): Likewise.
34511 (syscall-list-64-condition): Likewise.
34512 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34513 macro.
34514 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34515 Renamed to ...
34516 (abi-*): This.
34517 (abi-64-ld-soname): New macro.
34518 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34519 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34520 Renamed to ...
34521 (abi-*): This.
34522 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34523 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34524
4da0431d
JM
345252012-05-30 Joseph Myers <joseph@codesourcery.com>
34526
3a85279c
JM
34527 * sysdeps/unix/sysv/linux/kernel-features.h
34528 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34529 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34530 include <kernel-features.h>.
34531 [!__NR_ftruncate64]: Remove conditional code.
34532 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34533 [__NR_ftruncate64]: Make code unconditional.
34534 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34535 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34536 include <kernel-features.h>.
34537 [!__NR_ftruncate64]: Remove conditional code.
34538 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34539 [__NR_ftruncate64]: Make code unconditional.
34540 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34542 include <kernel-features.h>.
34543 [!__NR_ftruncate64]: Remove conditional code.
34544 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34545 [__NR_ftruncate64]: Make code unconditional.
34546 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34548 include <kernel-features.h>.
34549 [!__NR_ftruncate64]: Remove conditional code.
34550 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34551 [__NR_ftruncate64]: Make code unconditional.
34552 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34553
4da0431d
JM
34554 * configure.in (libc_cv_fpie): Weaken to a compile test using
34555 LIBC_TRY_CC_OPTION.
34556 * configure: Regenerated.
34557
11ef492c
AK
345582012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34559
34560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34564 Refreshed.
34565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34571 Refreshed.
34572
d66ef399
DM
345732012-05-27 David S. Miller <davem@davemloft.net>
34574
34575 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34576 (___Q_zero): New.
34577 (__Q_simulate_exceptions): Return void. Change to simulate
34578 exceptions by writing into the %fsr.
34579 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34580 (__Qp_handle_exceptions): Likewise.
34581 (numbers): Delete.
34582 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34583 __Qp_handle_exceptions.
34584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34585 __Qp_handle_exceptions.
34586 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34587 as unused and give dummy FP_RND_NEAREST initializer.
34588 (FP_INHIBIT_RESULTS): Define.
34589 (___Q_simulate_exceptions): Update declaration.
34590 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34591 formatting.
34592 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34593 as unused and give dummy FP_RND_NEAREST initializer.
34594 (__Qp_handle_exceptions): Update declaration.
34595 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34596 formatting.
34597
04fb54b5
TS
345982012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34599
34600 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34601 the temporary FPU control word.
34602 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34603 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34604 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34605 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34606 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34607 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34608 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34609 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34610 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34611 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34612 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34613
3f99608f
KK
346142012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34615
34616 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34617 fields.
34618
65a4de4e
CLT
346192012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34620
34621 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34622 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34623 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34624 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34625 Likewise.
34626 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34627 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34628 Likewise.
34629
15749d40
UD
346302012-05-27 Ulrich Drepper <drepper@gmail.com>
34631
34632 * po/h.po: Update from translation team.
34633
25dbcb27
AS
346342012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34635
3d3f8e55
AS
34636 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34637
25dbcb27
AS
34638 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34639 handling of denormals.
34640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34641 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34642 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34643 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34644 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34645 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34646 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34647 Likewise.
34648
7ad47a80 346492012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
34650
34651 [BZ #14152]
34652 * math/libm-test.inc (fma_test): Don't always expect underflow
34653 exception.
34654
9c6ea9fa
SP
346552012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34656
34657 [BZ #12416]
34658 * elf/tst-execstack.c: Include stackinfo.h.
34659 (do_test): Adjust test case to ensure that pthread_getattr_np
34660 behaviour remains the same after marking stack executable.
34661
a8239222
JM
346622012-05-25 Joseph Myers <joseph@codesourcery.com>
34663
34664 * sysdeps/unix/sysv/linux/kernel-features.h
34665 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34666 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34667 kernel-features.h.
34668 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34669 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34670 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34671 kernel-features.h.
34672 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34673 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34674
918b5606
L
346752012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34676
34677 * configure.in: Define the default includes to being none.
34678 * configure: Regenerated.
34679
3a097cc7
RM
346802012-05-25 Roland McGrath <roland@hack.frob.com>
34681
8422c9a5
RM
34682 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34683 * sysdeps/x86_64/setjmp.S: Likewise.
34684 * sysdeps/i386/bsd-setjmp.S: Likewise.
34685 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34686 * sysdeps/i386/setjmp.S: Likewise.
34687 * sysdeps/i386/__longjmp.S: Likewise.
34688 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34689 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34690
3a097cc7
RM
34691 * include/stap-probe.h: New file.
34692 * configure.in: Handle --enable-systemtap.
34693 * configure: Regenerated.
34694 * config.h.in (USE_STAP_PROBE): New #undef.
34695 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34696 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34697 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34698
21708942
JM
346992012-05-25 Joseph Myers <joseph@codesourcery.com>
34700
34701 [BZ #13717]
34702 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34703 to 2.4.0 where earlier.
34704 * sysdeps/unix/sysv/linux/configure: Regenerated.
34705 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
34714 [__ASSUME_32BITUIDS]: Make code unconditional.
34715 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34716 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34717 <kernel-features.h>.
34718 [__ASSUME_32BITUIDS]: Make code unconditional.
34719 [!__ASSUME_32BITUIDS]: Remove conditional code.
34720 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34721 <kernel-features.h>.
34722 [__ASSUME_32BITUIDS]: Make code unconditional.
34723 [!__ASSUME_32BITUIDS]: Remove conditional code.
34724 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34725 <kernel-features.h>.
34726 [__ASSUME_32BITUIDS]: Make code unconditional.
34727 [!__ASSUME_32BITUIDS]: Remove conditional code.
34728 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34729 <kernel-features.h>.
34730 [__ASSUME_32BITUIDS]: Make code unconditional.
34731 [!__ASSUME_32BITUIDS]: Remove conditional code.
34732 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34733 <kernel-features.h>.
34734 [__ASSUME_32BITUIDS]: Make code unconditional.
34735 [!__ASSUME_32BITUIDS]: Remove conditional code.
34736 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34737 <kernel-features.h>.
34738 [__ASSUME_32BITUIDS]: Make code unconditional.
34739 [!__ASSUME_32BITUIDS]: Remove conditional code.
34740 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34741 <kernel-features.h>.
34742 [__ASSUME_32BITUIDS]: Make code unconditional.
34743 [!__ASSUME_32BITUIDS]: Remove conditional code.
34744 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34745 <kernel-features.h>.
34746 [__ASSUME_32BITUIDS]: Make code unconditional.
34747 [!__ASSUME_32BITUIDS]: Remove conditional code.
34748 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34749 <kernel-features.h>.
34750 [__ASSUME_32BITUIDS]: Make code unconditional.
34751 [!__ASSUME_32BITUIDS]: Remove conditional code.
34752 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34753 <kernel-features.h>.
34754 [__ASSUME_32BITUIDS]: Make code unconditional.
34755 [!__ASSUME_32BITUIDS]: Remove conditional code.
34756 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34757 <kernel-features.h>.
34758 [__NR_setresgid] (__setresgid): Do not declare.
34759 [__ASSUME_32BITUIDS]: Make code unconditional.
34760 [!__ASSUME_32BITUIDS]: Remove conditional code.
34761 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34762 <kernel-features.h>.
34763 [__NR_setresuid] (__setresuid): Do not declare.
34764 [__ASSUME_32BITUIDS]: Make code unconditional.
34765 [!__ASSUME_32BITUIDS]: Remove conditional code.
34766 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34767 <kernel-features.h>.
34768 [__ASSUME_32BITUIDS]: Make code unconditional.
34769 [!__ASSUME_32BITUIDS]: Remove conditional code.
34770 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34771 <kernel-features.h>.
34772 [__ASSUME_32BITUIDS]: Make code unconditional.
34773 [!__ASSUME_32BITUIDS]: Remove conditional code.
34774 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34775 <kernel-features.h>.
34776 [__ASSUME_32BITUIDS]: Make code unconditional.
34777 [!__ASSUME_32BITUIDS]: Remove conditional code.
34778 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34779 <kernel-features.h>.
34780 [__ASSUME_32BITUIDS]: Make code unconditional.
34781 [!__ASSUME_32BITUIDS]: Remove conditional code.
34782 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34783 <kernel-features.h>.
34784 [__ASSUME_32BITUIDS]: Make code unconditional.
34785 [!__ASSUME_32BITUIDS]: Remove conditional code.
34786 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34787 <kernel-features.h>.
34788 [__ASSUME_32BITUIDS]: Make code unconditional.
34789 [!__ASSUME_32BITUIDS]: Remove conditional code.
34790 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34791 <kernel-features.h>.
34792 [__ASSUME_32BITUIDS]: Make code unconditional.
34793 [!__ASSUME_32BITUIDS]: Remove conditional code.
34794 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34795 <kernel-features.h>.
34796 [__ASSUME_32BITUIDS]: Make code unconditional.
34797 [!__ASSUME_32BITUIDS]: Remove conditional code.
34798 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34799 <kernel-features.h>.
34800 [__ASSUME_32BITUIDS]: Make code unconditional.
34801 [!__ASSUME_32BITUIDS]: Remove conditional code.
34802 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34803 <kernel-features.h>.
34804 [__ASSUME_32BITUIDS]: Make code unconditional.
34805 [!__ASSUME_32BITUIDS]: Remove conditional code.
34806 * sysdeps/unix/sysv/linux/kernel-features.h
34807 (__ASSUME_SETRESUID_SYSCALL): Remove.
34808 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34809 (__ASSUME_32BITUIDS): Likewise.
34810 (__ASSUME_LDT_WORKS): Likewise.
34811 (__ASSUME_O_DIRECTORY): Likewise.
34812 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34813 architecture but not kernel version.
34814 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34815 (__ASSUME_MMAP2_SYSCALL): Likewise.
34816 (__ASSUME_STAT64_SYSCALL): Likewise.
34817 (__ASSUME_IPC64): Likewise.
34818 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34819 <kernel-features.h>.
34820 [__ASSUME_32BITUIDS]: Make code unconditional.
34821 [!__ASSUME_32BITUIDS]: Remove conditional code.
34822 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34823 <kernel-features.h>.
34824 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34825 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34826 132096]: Remove conditional code.
34827 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34828 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34829 <kernel-features.h>.
34830 [__ASSUME_32BITUIDS]: Make code unconditional.
34831 [!__ASSUME_32BITUIDS]: Remove conditional code.
34832 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34833 <kernel-features.h>.
34834 [__ASSUME_32BITUIDS]: Make code unconditional.
34835 [!__ASSUME_32BITUIDS]: Remove conditional code.
34836 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34837 <kernel-features.h>.
34838 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34839 unconditional.
34840 (__setresgid): Do not declare.
34841 [__ASSUME_32BITUIDS]: Make code unconditional.
34842 [!__ASSUME_32BITUIDS]: Remove conditional code.
34843 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34844 <kernel-features.h>.
34845 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34846 unconditional.
34847 (__setresuid): Do not declare.
34848 [__ASSUME_32BITUIDS]: Make code unconditional.
34849 [!__ASSUME_32BITUIDS]: Remove conditional code.
34850 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34851 <kernel-features.h>.
34852 [__ASSUME_32BITUIDS]: Make code unconditional.
34853 [!__ASSUME_32BITUIDS]: Remove conditional code.
34854 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34855 <kernel-features.h>.
34856 [__ASSUME_32BITUIDS]: Make code unconditional.
34857 [!__ASSUME_32BITUIDS]: Remove conditional code.
34858
a386f1cc
RH
348592012-05-25 Richard Henderson <rth@twiddle.net>
34860
34861 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34862 dl_hwcap to ifunc resolver.
34863 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34864 elf_ifunc_invoke.
34865 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34866 dl_hwcap to ifunc resolver.
34867 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34868
b6550497
JM
348692012-05-24 Joseph Myers <joseph@codesourcery.com>
34870
34871 [BZ #14153]
34872 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34873 for |x| <= 2**-26, not 2**-57.
34874 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34875 exception.
34876
b0bc23a1
JL
348772012-05-24 Jeff Law <law@redhat.com>
34878
34879 * stdio-common/Makefile (tests): Add bug25.
34880 * stdio-common/bug25.c: New test.
34881
347c92e9
L
348822012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34883
34884 [BZ #13576]
34885 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34886 multiple of MALLOC_ALIGNMENT in size.
34887 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34888
6bcc8b3f
JM
348892012-05-24 Joseph Myers <joseph@codesourcery.com>
34890
34891 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34892 Require >= 256.
34893 (FILENAME_MAX): Use macro-int-constant.
34894 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34895 (_IOFBF): Use macro-int-constant.
34896 (_IOLBF): Likewise.
34897 (_IONBF): Likewise.
34898 (SEEK_CUR): Likewise.
34899 (SEEK_END): Likewise.
34900 (SEEK_SET): Likewise.
34901 (TMP_MAX): Likewise.
34902 (EOF): Use macro-int-constant. Require < 0.
34903 (NULL): Use macro-constant. Require == 0.
34904 (stdin): Require type to be FILE *.
34905 (stdout): Likewise.
34906 (stderr): Likewise.
34907 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34908 macro-int-constant.
34909 (EXIT_SUCCESS): Likewise.
34910 (NULL): Use macro-constant. Require == 0.
34911 (RAND_MAX): Use macro-int-constant.
34912 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34913 [C99-based standards] (strtof): Require function.
34914 [C99-based standards] (strtold): Likewise.
34915 [C99-based standards] (strtoll): Likewise.
34916 [C99-based standards] (strtoull): Likewise.
34917 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34918 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34919 [ISO || ISO99 || ISO11] (math.h): Likewise.
34920 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34921 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34922 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34923
d18ea0c5
AS
349242012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34925
34926 [BZ #14132]
56d25bb8
AS
34927 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34928 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34929 * intl/dgettext.c (DCGETTEXT): Likewise.
34930 * intl/gettext.c (DCGETTEXT): Likewise.
34931 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34932 * posix/regex_internal.h (gettext): Likewise.
34933 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34934 Remove declaration.
34935 * include/argz.h (__argz_count_internal)
34936 (__argz_stringify_internal): Remove declaration.
34937 (__argz_count, __argz_stringify): Declare hidden proto.
34938 * intl/dcgettext.c: Remove use of INTDEF.
34939 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34940 * string/argz-stringify.c: Likewise.
34941 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34942 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34943 Declare hidden proto.
d18ea0c5
AS
34944 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34945 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34946 Declare hidden proto.
34947 * include/stdio.h (__asprintf_internal): Don't declare.
34948 (__asprintf): Don't define as macro. Declare hidden proto.
34949 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34950 (__fsetlocking): Declare hidden proto.
34951 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34952 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34953 hidden proto.
34954 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34955 (_IO_setlinebuf): Remove use of INTUSE.
34956 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34957 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34958 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34959 Remove declaration.
34960 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34961 (_IO_do_flush): Remove use of INTUSE.
34962 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34963 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34964 (_IO_adjust_column, _IO_least_wmarker)
34965 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34966 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34967 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34968 (_IO_default_doallocate, _IO_wdefault_doallocate)
34969 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34970 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34971 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34972 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34973 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34974 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34975 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34976 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34977 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34978 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34979 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34980 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34981 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34982 proto.
34983 (_IO_flush_all_internal, _IO_adjust_column_internal)
34984 (_IO_default_uflow_internal, _IO_default_finish_internal)
34985 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34986 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34987 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34988 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34989 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34990 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34991 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34992 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34993 (_IO_file_close_internal, _IO_file_close_it_internal)
34994 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34995 (_IO_file_init_internal, _IO_file_attach_internal)
34996 (_IO_file_fopen_internal, _IO_file_read_internal)
34997 (_IO_file_sync_internal, _IO_file_seek_internal)
34998 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34999 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35000 (_IO_str_underflow_internal, _IO_str_overflow_internal)
35001 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35002 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35003 (_IO_list_all_internal, _IO_link_in_internal)
35004 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35005 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35006 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35007 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35008 (_IO_do_write_internal, _IO_padn_internal)
35009 (_IO_getline_info_internal, _IO_getline_internal)
35010 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35011 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35012 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35013 (_IO_vfscanf_internal, _IO_vfprintf_internal)
35014 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35015 (_IO_init_internal, _IO_un_link_internal): Don't declare.
35016 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35017 with libc_hidden_ver, remove use of INTUSE.
35018 * libio/genops.c: Likewise.
35019 * libio/freopen.c: Likewise.
35020 * libio/freopen64.c: Likewise.
35021 * libio/iofclose.c: Likewise.
35022 * libio/iofdopen.c: Likewise.
35023 * libio/iofflush.c: Likewise.
35024 * libio/iofflush_u.c: Likewise.
35025 * libio/iofgets.c: Likewise.
35026 * libio/iofgets_u.c: Likewise.
35027 * libio/iofopen.c: Likewise.
35028 * libio/iofopncook.c: Likewise.
35029 * libio/iofread.c: Likewise.
35030 * libio/iofread_u.c: Likewise.
35031 * libio/ioftell.c: Likewise.
35032 * libio/iofwrite.c: Likewise.
35033 * libio/iogetline.c: Likewise.
35034 * libio/iogets.c: Likewise.
35035 * libio/iogetwline.c: Likewise.
35036 * libio/iopadn.c: Likewise.
35037 * libio/iopopen.c: Likewise.
35038 * libio/ioseekoff.c: Likewise.
35039 * libio/ioseekpos.c: Likewise.
35040 * libio/iosetbuffer.c: Likewise.
35041 * libio/iosetvbuf.c: Likewise.
35042 * libio/ioungetc.c: Likewise.
35043 * libio/ioungetwc.c: Likewise.
35044 * libio/iovdprintf.c: Likewise.
35045 * libio/iovsprintf.c: Likewise.
35046 * libio/iovsscanf.c: Likewise.
35047 * libio/memstream.c: Likewise.
35048 * libio/obprintf.c: Likewise.
35049 * libio/oldfileops.c: Likewise.
35050 * libio/oldiofclose.c: Likewise.
35051 * libio/oldiofdopen.c: Likewise.
35052 * libio/oldiofopen.c: Likewise.
35053 * libio/oldiopopen.c: Likewise.
35054 * libio/oldstdfiles.c: Likewise.
35055 * libio/putc.c: Likewise.
35056 * libio/setbuf.c: Likewise.
35057 * libio/setlinebuf.c: Likewise.
35058 * libio/stdfiles.c: Likewise.
35059 * libio/strops.c: Likewise.
35060 * libio/vasprintf.c: Likewise.
35061 * libio/vscanf.c: Likewise.
35062 * libio/vsnprintf.c: Likewise.
35063 * libio/vswprintf.c: Likewise.
35064 * libio/wfiledoalloc.c: Likewise.
35065 * libio/wfileops.c: Likewise.
35066 * libio/wgenops.c: Likewise.
35067 * libio/wmemstream.c: Likewise.
35068 * libio/wstrops.c: Likewise.
35069 * libio/__fpurge.c: Likewise.
35070 * libio/__fsetlocking.c: Likewise.
35071 * assert/assert.c: Likewise.
35072 * debug/fgets_chk.c: Likewise.
35073 * debug/fgets_u_chk.c: Likewise.
35074 * debug/fread_chk.c: Likewise.
35075 * debug/fread_u_chk.c: Likewise.
35076 * debug/gets_chk.c: Likewise.
35077 * debug/obprintf_chk.c: Likewise.
35078 * debug/vasprintf_chk.c: Likewise.
35079 * debug/vdprintf_chk.c: Likewise.
35080 * debug/vsnprintf_chk.c: Likewise.
35081 * debug/vsprintf_chk.c: Likewise.
35082 * malloc/mtrace.c: Likewise.
35083 * misc/error.c: Likewise.
35084 * misc/syslog.c: Likewise.
35085 * stdio-common/asprintf.c: Likewise.
35086 * stdio-common/fxprintf.c: Likewise.
35087 * stdio-common/getw.c: Likewise.
35088 * stdio-common/isoc99_fscanf.c: Likewise.
35089 * stdio-common/isoc99_scanf.c: Likewise.
35090 * stdio-common/isoc99_vfscanf.c: Likewise.
35091 * stdio-common/isoc99_vscanf.c: Likewise.
35092 * stdio-common/isoc99_vsscanf.c: Likewise.
35093 * stdio-common/printf-prs.c: Likewise.
35094 * stdio-common/printf_fp.c: Likewise.
35095 * stdio-common/printf_fphex.c: Likewise.
35096 * stdio-common/printf_size.c: Likewise.
35097 * stdio-common/putw.c: Likewise.
35098 * stdio-common/scanf.c: Likewise.
35099 * stdio-common/sprintf.c: Likewise.
35100 * stdio-common/tmpfile.c: Likewise.
35101 * stdio-common/vfprintf.c: Likewise.
35102 * stdio-common/vfscanf.c: Likewise.
35103 * stdlib/strfmon_l.c: Likewise.
35104 * sunrpc/openchild.c: Likewise.
35105 * sunrpc/xdr_stdio.c: Likewise.
35106 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35107 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35108
d6c33fda
RM
351092012-05-24 Roland McGrath <roland@hack.frob.com>
35110
c1487492
RM
35111 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35112
35113 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35114 in the third column, to generate for the shared library an IFUNC
35115 that uses _dl_vdso_vsym.
35116 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35117 * Makeconfig (object-suffixes-noshared): New variable.
35118
35119 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35120 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35121 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35122 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35123
d6c33fda
RM
35124 [BZ #14132]
35125 * include/sys/time.h (__gettimeofday): Remove macro.
35126 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35127 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35128 Remove INTDEF.
35129 (__gettimeofday): Add libc_hidden_def.
35130 (gettimeofday): Add libc_hidden_weak.
35131 * sysdeps/mach/gettimeofday.c: Likewise.
35132 * sysdeps/posix/gettimeofday.c: Likewise.
35133 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35134 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35135 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35136 (__gettimeofday_internal): Remove strong_alias.
35137 (__gettimeofday): Add libc_hidden_def.
35138 (gettimeofday): Add libc_hidden_weak.
35139 * sysdeps/unix/syscalls.list (gettimeofday):
35140 Remove __gettimeofday_internal alias.
35141
b5a2bbe6
L
351422012-05-24 Daniel Jacobowitz <drow@false.org>
35143 H.J. Lu <hongjiu.lu@intel.com>
35144
35145 [BZ #12495]
35146 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35147 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35148 (largebin_index_32_big): New.
35149 (largebin_index): Use it for 16-byte alignment.
35150 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35151 correction with front_misalign.
35152
cfba4fda
L
351532012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35154
7f907421
L
35155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35157 Likewise.
35158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35159 Likewise.
35160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35161 Likewise.
35162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35163 Likewise.
35164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35165 Likewise.
35166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35167 Likewise.
35168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35169 Likewise.
35170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35171 Likewise.
35172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35173 Likewise.
35174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35175 Likewise.
35176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35177 Likewise.
35178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35179 Likewise.
35180
cfba4fda
L
35181 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35182 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35183
80bad0cc
JM
351842012-05-24 Joseph Myers <joseph@codesourcery.com>
35185
7a25eb06
JM
35186 [BZ #10846]
35187 [BZ #14036]
35188 * math/libm-test.inc (exp_test): Add test from bug 14036.
35189 (pow_test): Add test from bug 10846.
35190
795405f9
JM
35191 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35192 and other flags.
35193 (special_function): Do not include flags in test name.
35194 (parse_args): Likewise.
35195 * sysdeps/i386/fpu/libm-test-ulps: Update.
35196 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35197 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35198 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35200
80bad0cc
JM
35201 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35202 exceptions.
35203 * math/libm-test.inc ("Philosophy"): Update comment about
35204 exception testing.
35205 (UNDERFLOW_EXCEPTION): New macro.
35206 (UNDERFLOW_EXCEPTION_OK): Likewise.
35207 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35208 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35209 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35210 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35211 (INVALID_EXCEPTION_OK): Update value.
35212 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35213 (OVERFLOW_EXCEPTION_OK): Likewise.
35214 (IGNORE_ZERO_INF_SIGN): Likewise.
35215 (test_exceptions): Handle underflow exceptions.
35216 (acos_test): Update for underflow exception expectations.
35217 (cexp_test): Likewise.
35218 (clog_test): Likewise.
35219 (clog10_test): Likewise.
35220 (csqrt_test): Likewise.
35221 (ctan_test): Likewise.
35222 (ctanh_test): Likewise.
35223 (exp_test): Likewise.
35224 (exp10_test): Likewise.
35225 (exp2_test): Likewise.
35226 (expm1_test): Likewise.
35227 (fma_test): Likewise.
35228 (j0_test): Likewise.
35229 (jn_test): Likewise.
35230 (nexttoward_test): Likewise.
35231 (pow_test): Likewise.
35232 (scalbn_test): Likewise.
35233 (scalbln_test): Likewise.
35234 (tan_test): Likewise.
35235 (y1_test): Likewise.
35236 * sysdeps/i386/fpu/libm-test-ulps: Update.
35237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35238
9e0e3d0b
DM
352392012-05-23 David S. Miller <davem@davemloft.net>
35240
35241 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35242 (__libc_sigaction): Remove unused local variables.
35243
ccd0a08f
L
352442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35245
35246 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35247
62bdf9a6
PE
352482012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35249
f8591f80
PE
35250 mktime: avoid signed integer overflow
35251 * time/mktime.c (__mktime_internal): Do not mishandle the case
35252 where diff == INT_MIN.
35253
94c7d826
PE
35254 mktime: simplify computation of average
35255 * time/mktime.c (ranged_convert): Use new time_t_avg function
35256 instead of rolling our own (probably-slower) code.
35257
ce73d683
PE
35258 mktime: do not assume signed right shift propagates sign bit
35259 * time/mktime.c (isdst_differ): New static function.
35260 (__mktime_internal): No need to normalize tm_isdst now.
35261 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35262 tm_isdst values.
35263
72a22e59
PE
35264 mktime: merge another wrapv change from gnulib
35265 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35266 from some compilers.
35267
68605433
PE
35268 mktime: remove incorrect attempt at unusual arithmetics
35269 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35270 The code didn't really work on such machines anyway.
35271 (TYPE_MINIMUM): Assume two's complement.
35272 (twos_complement_arithmetic): Verify that long_int and time_t
35273 are two's complement (or unsigned, in the latter case).
35274
03cf7fe3
PE
35275 mktime: check signed shifts on long_int and time_t, too
35276 * time/mktime.c (SHR): Check that shifts work as desired
35277 on the types long_int and time_t too, as SHR is used on
35278 such types.
35279
f04dfbc2
PE
35280 mktime: do not assume 'long' is wide enough
35281 * time/mktime.c (verify): Move decl up.
35282 (long_int): New type.
35283 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35284 to remove assumption in the code that 'long' is wide enough to
35285 store year values. This assumption is not true on x32 and on
35286 some non-glibc platforms.
35287
62bdf9a6
PE
35288 mktime: merge wrapv change from gnulib
35289 * time/mktime.c (WRAPV): New macro.
35290 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35291 (guess_time_tm, __mktime_internal): Do not assume that signed
35292 integer overflow wraps around; modern compilers generate code
35293 where this assumption is no longer valid.
35294
5e292e4f
L
352952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35296
35297 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35298 Replace "jmp L(pseudo_end)" with "ret".
35299 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35300 Likewise.
35301
8caf8c87
AJ
353022012-05-23 Andreas Jaeger <aj@suse.de>
35303
35304 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35305 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35306
1a09dc56
AJ
353072012-05-23 Andreas Jaeger <aj@suse.de>
35308 Maximilian Attems <max@stro.at>
35309
35310 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35311 New macros.
35312
1c87aba0
L
353132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35314
35315 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35316 code so that pseudo_end is just ret and the stack pointer is
35317 correct also for static library in error case.
35318
40e45bd5
JM
353192012-05-23 Joseph Myers <joseph@codesourcery.com>
35320
c2670533
JM
35321 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35322 move to syscalls.list.
35323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35327
40e45bd5
JM
35328 * manual/install.texi (Running make install): Do not mention Linux
35329 kernel version for which pt_chown is not needed.
35330 (Linux): Do not mention problems with nscd with 2.0 kernels.
35331 * INSTALL: Regenerated.
35332
be08eda5
AJ
353332012-05-23 Andreas Jaeger <aj@suse.de>
35334
35335 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35336 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35337 macro.
35338 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35339 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35340 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35341 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35342 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35343 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35344 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35345 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35346 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35347 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35348 * sysdeps/unix/sysv/linux/bits/in.h
35349 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35350
a6a056bb
RM
353512012-05-22 Roland McGrath <roland@hack.frob.com>
35352
35353 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35354 (PREPARE_VERSION): Just use assert instead, it will be elided
35355 under [NDEBUG] anyway.
35356
c9009328
L
353572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35358
35359 * sysdeps/unix/sysv/linux/Makefile: Include
35360 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 35361 (sysdep_routines): Remove sysctl.
c9009328
L
35362 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35363 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35364 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35365 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35366 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35367
73338355
AJ
353682012-05-22 Andreas Jaeger <aj@suse.de>
35369
35370 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35371 that pseudo_end is just ret and the stack pointer is correct also
35372 for static library in error case.
35373
d44638b0
PP
353742012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35375
35376 [BZ #14122]
35377 * nss/nsswitch.c (defconfig_entries): New variable.
35378 (__nss_database_lookup): Don't leak defconfig entries.
35379 (nss_parse_service_list): Don't leak on error paths.
35380 (free_database_entries): New function.
35381 (free_defconfig): New function.
35382 (free_mem): Move common code to free_database_entries.
35383
31a39bd8
L
353842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35385
da0331a8
L
35386 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35387 Add arch_prctl.
35388 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35389
31a39bd8
L
35390 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35391 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35392 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35393 New macro.
35394 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35395 (INTERNAL_SYSCALL_TYPES): Likewise.
35396 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35397 (LOAD_REGS_TYPES_[1-6]): Likewise.
35398 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35399 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35400
45470df3
AZ
354012012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35402
35403 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35404 copysignl for GLIBC_2_0.
35405 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35406 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35407 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35408 logbl for GLIBC_2_0.
35409 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35410 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35411
98a61bcb
L
354122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35413
a4f6e481
L
35414 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35415 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35416
f63d5db6
L
35417 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35418 Use "neg %eax".
35419
98a61bcb
L
35420 * time/mktime.c: Update copyright years.
35421
95770f14
PE
354222012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35423
6226efbd
PE
35424 mktime: merge comment-quoting-style change from gnulib
35425 * time/mktime.c: Quote 'like this' in comments.
35426 The GNU coding standards suggest that we no longer quote `like this',
35427 as "`" and "'" are typically rendered asymmetrically nowadays.
35428 The typical gnulib style is to quote 'like this' when quoting
35429 code, and "like this" when quoting English.
35430
b99e4f78
PE
35431 * time/mktime.c (compile-command): Add "-I.".
35432
643e01e6
PE
35433 mktime: merge mktime-internal.h change from gnulib
35434 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35435
2554247d
PE
35436 mktime: merge time_r change from gnulib
35437 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35438
826dd0ab
PE
35439 mktime: merge DEBUG change from gnulib
35440 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35441 case system <time.h> has a #define.
35442
bd83aabe
PE
35443 mktime: merge <sys/types.h> change from gnulib
35444 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35445 since <time.t> is now guaranteed to define time_t.
35446
95770f14
PE
35447 mktime: merge HAVE_CONFIG_H change from gnulib
35448 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35449
5e1a27a9
L
354502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35451
0e44a77e
L
35452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35453 Use "neg %eax".
35454
5e1a27a9
L
35455 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35456 __rlim_t cast.
35457 (struct rusage): Use anonymous union to pad each field to
35458 __syscall_slong_t.
35459
46259bec
DM
354602012-05-21 David S. Miller <davem@davemloft.net>
35461
35462 * Makefules (o-iterator): Remove .s cases.
35463 (compile-command.s): Delete.
35464 (COMPILE.s): Delete.
35465 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35466
59f0c22e
JM
354672012-05-21 Joseph Myers <joseph@codesourcery.com>
35468
35469 * configure.in (libc_cv_predef_stack_protector): Only consider
35470 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35471 * configure: Regenerated.
35472
20c07380
L
354732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35474
bbb3154b
L
35475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35476 New macro. Use R*LP on int and pointer.
35477 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
35478 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35479 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
35480 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35481
20c07380
L
35482 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35483 [__WORDSIZE_TIME64_COMPAT32] instead of
35484 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35485 (struct utmp): Likewise.
35486 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35487 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35488 Renamed to ...
35489 (__WORDSIZE_TIME64_COMPAT32): This.
35490 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35491 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35492 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35493 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35494 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35495 (__WORDSIZE_TIME64_COMPAT32): New macro.
35496
d8d1017e
AJ
354972012-05-21 Andreas Jaeger <aj@suse.de>
35498
35499 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35500 only if [SHARED]. Add prototype for __wcschr_ia32.
35501
6c7fb145
RM
355022012-05-21 Roland McGrath <roland@hack.frob.com>
35503
35504 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35505 of %rbp unmolested in the jmp_buf while mangling the low bits.
35506 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35507 unmolested high bits of %rbp while demangling the low bits.
35508 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35509
66274218
AJ
355102012-05-21 Andreas Jaeger <aj@suse.de>
35511
07c58f8f
AJ
35512 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35513 * sunrpc/svc_simple.c: Use it for registerrpc.
35514 * sunrpc/xcrypt.c: Use it for passwd2des.
35515
66274218
AJ
35516 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35517
61f65140
L
355182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35519
35520 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35521 Don't define if [__SYSCALL_WORDSIZE != 32].
35522 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35523 New macro.
35524
5fefb436
AJ
355252012-05-21 Bruno Haible <bruno@clisp.org>
35526 Andreas Jaeger <aj@suse.de>
35527
35528 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35529 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35530 inptr and inend for must_buffer_ch.
35531 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35532 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35533 * stdio-common/Makefile (tests): Remove bug15.
35534 (bug15-ENV): Remove macro.
35535 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35536 anymore.
35537
d8e272ab
AJ
355382012-05-19 Andreas Jaeger <aj@suse.de>
35539 Roland McGrath <roland@hack.frob.com>
35540
35541 * manual/contrib.texi: Completely rewritten. It contains now an
35542 alphabetical list of contributors and their contributions.
35543
4a56a162
RH
355442012-05-21 Richard Henderson <rth@twiddle.net>
35545
35546 * misc/getauxval.c (__getauxval): Use unsigned long int.
35547 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35548 (getauxval): Use unsigned long int.
35549
d024d23c
L
355502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35551
35552 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35553
cbc00a03
RM
355542012-05-21 Roland McGrath <roland@hack.frob.com>
35555
35556 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35557 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35558 __alignof__ (long double).
35559
478143fa
AZ
355602012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35561
35562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35563
c7683a6d
RH
355642012-05-20 Richard Henderson <rth@twiddle.net>
35565
35566 * misc/getauxval.c: New file.
35567 * misc/sys/auxv.h: New file.
35568 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35569 (routines): Add getauxval.
35570 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35571 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35572 * elf/dl-sysdep.c (_dl_auxv): Remove.
35573 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35574 * elf/dl-support.c (_dl_auxv): New variable.
35575 (_dl_aux_init): Initialize it.
35576 * manual/startup.texi (Auxiliary Vector): New node.
35577 * sysdeps/generic/bits/hwcap.h: New file.
35578 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35579 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35580 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35581 * sysdeps/sparc/sysdep.h: ... here. Include it.
35582 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35583 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
35584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35585 Update.
c7683a6d
RH
35586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35589 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35594
a6f1845d
AZ
355952012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35596
35597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35598
cbcbe830
DM
355992012-05-19 David S. Miller <davem@davemloft.net>
35600
35601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35602
e0b16cc2
JM
356032012-05-19 Joseph Myers <joseph@codesourcery.com>
35604
35605 [BZ #14123]
35606 * math/s_ccosh.c: Include <float.h>
35607 (__ccosh): Avoid internal overflow calculating sinh and cosh
35608 values before multiplying by sin and cos values.
35609 * math/s_ccoshf.c: Likewise.
35610 * math/s_ccoshl.c: Likewise.
35611 * math/s_csin.c: Likewise.
35612 * math/s_csinf.c: Likewise.
35613 * math/s_csinl.c: Likewise.
35614 * math/s_csinh.c: Likewise.
35615 * math/s_csinhf.c: Likewise.
35616 * math/s_csinhl.c: Likewise.
35617 * math/libm-test.inc (ccos_test): Add more tests.
35618 (ccosh_test): Likewise.
35619 (csin_test): Likewise.
35620 (csinh_test): Likewise.
35621 * sysdeps/i386/fpu/libm-test-ulps: Update.
35622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35623
6ad13e08
L
356242012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35625
f66f0ce8
L
35626 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35627 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35628
6ad13e08
L
35629 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35630
b1d072a7
JM
356312012-05-19 Joseph Myers <joseph@codesourcery.com>
35632
35633 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35634 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35635 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35636 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35637 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35638 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35639 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35640 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35641 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35642 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35643 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35644 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35645 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35646 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35647 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35648 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35649 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35650 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35651 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35652 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35653 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35654 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35655 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35656 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35657 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35658 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35659 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35660 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35661 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35662 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35663 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35664
9eae47cb
AJ
356652012-05-18 Andreas Jaeger <aj@suse.de>
35666
35667 * csu/.gitignore: Delete.
35668
bb07f69f
L
356692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35670
35671 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35672 (timex): Use __syscall_slong_t.
35673
e6bdb741
AJ
356742012-05-18 Andreas Jaeger <aj@suse.de>
35675 Carlos O'Donell <carlos_odonell@mentor.com>
35676
35677 * manual/install.texi (Configuring and compiling): Update
35678 description about files modified in the source directory.
d6c33fda 35679 * INSTALL: Regenerated.
e6bdb741 35680
1b74487e
L
356812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35682
35683 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35684 value. Use "or" to set return value to -1.
35685 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35686 negate return value.
35687
a88b64b9
TMQMF
356882012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35689
57f41c40
AS
35690 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35691 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
35692 failure if the compiler has Graphite support disabled.
35693 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35694 Likewise.
57f41c40
AS
35695 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35696 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
35697 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35698 Likewise.
35699
3707636e
L
357002012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35701
610b8622
L
35702 * sysdeps/x86_64/x32/_itoa.h: New file.
35703
7cd195df
L
35704 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35705 getdents system call only if kernel and user dirents have the
35706 same d_ino and d_off.
35707
94b07d20
L
35708 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35709 LLONG_MAX != LONG_MAX.
35710 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35711 (_fitoa_word): Likewise.
35712
18298070
L
35713 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35714 years.
35715 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35716 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35717 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35718
553c7ea4
L
35719 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35720 include <bits/wordsize.h>. Check __x86_64__ instead of
35721 __WORDSIZE.
35722 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35723 if __x86_64__ is defined. Use anonymous union on fpstate.
35724
3707636e
L
35725 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35726 anonymous union.
35727
b53ef01a
AS
357282012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35729
37fb1dc0
AS
35730 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35731 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35732 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35733 Refer to _rtld_local_ro instead of _rtld_global_ro.
35734 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35735 Likewise.
35736 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35737 Likewise.
35738 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35739 Likewise.
35740 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35741 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35742 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35743
b53ef01a
AS
35744 * sysdeps/powerpc/powerpc32/dl-machine.c
35745 (__elf_machine_runtime_setup) [PROF]: Don't reference
35746 _dl_prof_resolve.
35747
7a185db2
AJ
357482012-05-18 Andreas Jaeger <aj@suse.de>
35749
35750 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35751 function only available for GCCs before 3.4 since GCC 3.4
35752 introduced a builtin.
35753 (lrint): Likewise.
35754 (llrintf): Likewise.
35755 (llrint): Likewise.
35756 (fmaxf): Likewise.
35757 (fmax): Likewise.
35758 (fminf): Likewise.
35759 (fmin): Likewise.
35760 (rint): Likewise.
35761 (rintf): Likewise.
35762 (nearbyint): Likewise.
35763 (nearbyintf): Likewise.
35764 (ceil): Likewise.
35765 (ceilf): Likewise.
35766 (floor): Likewise.
35767 (floorf): Likewise.
35768
3e5aef87
L
357692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35770
428bd707
L
35771 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35772 on both fields and cast pointer to __syscall_ulong_t.
35773
3e5aef87
L
35774 * bits/types.h (__fsword_t): New type.
35775 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35776 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35777 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35778 (__FSWORD_T_TYPE): Likewise.
35779 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35780 (__FSWORD_T_TYPE): Likewise.
35781 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35782 (__FSWORD_T_TYPE): Likewise.
35783 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35784 (__FSWORD_T_TYPE): Likewise.
35785 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35786 __SWORD_TYPE with __fsword_t.
35787 (statfs64): Likewise.
35788
1ba7c3dc
DM
357892012-05-17 David S. Miller <davem@davemloft.net>
35790
35791 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35792
59910343
AJ
357932012-05-17 Andreas Jaeger <aj@suse.de>
35794
35795 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35796 warning.
35797
2e4c1e9e
L
357982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35799
35800 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35801
de7f5ce7
AJ
358022012-05-17 Andreas Jaeger <aj@suse.de>
35803
35804 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35805 when it is used.
35806
286abc3d
CM
358072012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35808
35809 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35810
477cc68e
L
358112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35812
35813 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35814 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35815
1a0994f5
CD
358162012-05-17 Andreas Jaeger <aj@suse.de>
35817 Carlos O'Donell <carlos_odonell@mentor.com>
35818
35819 [BZ #14059]
35820 * sysdeps/x86_64/multiarch/init-arch.h
35821 (bit_YMM_Usable): Rename to...
35822 (bit_AVX_Usable): ... this.
35823 (bit_FMA4_Usable): New macro.
35824 (bit_XMM_state): New macro.
35825 (bit_YMM_state): New macro.
35826 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35827 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35828 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35829 (CPUID_OSXSAVE): New macro.
35830 (CPUID_AVX): New macro.
35831 (CPUID_FMA4): New macro.
35832 (index_YMM_Usable): Rename to...
35833 (index_AVX_Usable): ... this.
35834 (HAS_AVX): Use HAS_ARCH_FEATURE.
35835 (HAS_FMA4): Likewise.
35836 (HAS_YMM_USABLE): Remove.
35837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35838 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35839 are present.
35840 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35841 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35842 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35843 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35844 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35845
0af797de
CM
358462012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35847
35848 * math/libm-test.c: Support platforms without multiple rounding modes.
35849 * math/bug-nextafter.c: Support platforms without FP exceptions.
35850 * math/bug-nexttoward.c: Likewise.
35851 * math/test-fenv.c: Likewise.
35852 * math/test-misc.c: Likewise.
35853 * stdlib/bug-getcontext.c: Likewise.
35854
e39745ff
AJ
358552012-05-17 Andreas Jaeger <aj@suse.de>
35856
35857 * manual/examples/search.c (critter_cmp): Change signature to
35858 avoid warnings.
35859 * manual/string.texi (Collation Functions): Likewise.
35860
48970aba
L
358612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35862
35863 * bits/types.h: Fold copyright years.
35864 * bits/typesizes.h: Likewise.
35865 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35866 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35867 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35868 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35869 * time/time.h: Likewise.
35870
bedee953
PP
358712012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35872
35873 [BZ #208]
35874 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35875 in instead of returning them. Return void.
35876 (__libc_mallinfo): Accumulate over all arenas.
35877 (__malloc_stats): Adjust for change in int_mallinfo interface.
35878
61653dfb
RM
358792012-05-16 Roland McGrath <roland@hack.frob.com>
35880
30b99d79
RM
35881 [BZ #10375]
35882 * configure.in (NM): Add AC_CHECK_TOOL for it.
35883 (libc_extra_cflags): New substituted variable.
35884 Check for -fstack-protector being used implicitly.
35885 * configure: Regenerated.
35886 * config.make.in (config-extra-cflags): New variable,
35887 gets @libc_extra_cflags@.
35888 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35889
61653dfb
RM
35890 [BZ #10375]
35891 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35892 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35893 * configure: Regenerated.
35894 * config.make.in (CPPUNDEFS): New substituted variable.
35895 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35896 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35897 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35898
661768bb
L
358992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35900
35901 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35902 (mq_attr): Use __syscall_slong_t.
35903
d4261567
L
359042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35905
35906 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35907 Check __x86_64__ instead of __WORDSIZE.
35908 (_STAT_VER_LINUX): Likewise.
35909 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35910 __syscall_ulong_t and __syscall_slong_t.
35911 (stat64): Likewise.
35912
cf3ff365
L
359132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35914
35915 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35916
76cf3e4d
L
359172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35918
35919 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35920
a637753a
L
359212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35922
35923 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35924 __syscall_ulong_t.
35925
d5e05119
L
35926 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35927 include <bits/wordsize.h>. Check __x86_64__ instead of
35928 __WORDSIZE.
35929 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35930 defined.
35931 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35932
f62ee380
L
35933 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35934 include <bits/wordsize.h>. Check __x86_64__ instead of
35935 __WORDSIZE.
35936 (user_regs_struct): Use "__extension__ unsigned long long"
35937 instead of "unsigned long" if __x86_64__ is defined.
35938 (user): Likewise. Pad after pointer field if __ILP32__ is
35939 defined.
35940
4e124ced
JM
359412012-05-16 Joseph Myers <joseph@codesourcery.com>
35942
6a3951a0
JM
35943 * configure.in (makeinfo): Require version 4.5 or later. Allow
35944 versions 5 to 9.
35945 * configure: Regenerated.
35946 * manual/install.texi (texinfo): Increase version requirement to
35947 4.5 or later.
35948 * INSTALL: Regenerated.
35949
4e124ced
JM
35950 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35951
953ca31a
L
359522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35953
35954 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35955
617aca05
L
35956 * sysdeps/x86_64/x32/ffs.c: New file.
35957
5762f7ae
L
35958 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35959 __syscall_ulong_t.
35960 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35961 defined. Use __syscall_ulong_t.
35962 (shminfo): Use __syscall_ulong_t.
35963 (shm_info): Likewise.
35964
a26b6856
L
35965 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35966 __syscall_ulong_t.
35967
cb2b9ef7
L
35968 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35969 <bits/wordsize.h>.
35970 (msgqnum_t): Use __syscall_ulong_t.
35971 (msglen_t): Likewise.
35972 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35973 __syscall_ulong_t.
35974
34683bb0
L
35975 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35976 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35977
84a68786
L
35978 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35979
48baa5f1
L
35980 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35981 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35982
180be88b
L
35983 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35984 __syscall_slong_t.
35985
5e90c8ad
L
35986 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35987 include <bits/wordsize.h>. Check __x86_64__ instead of
35988 __WORDSIZE.
35989
23dfb58b
L
35990 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35991 "unsigned long long int" if __x86_64__ is defined.
35992 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35993
ce5d54b0
L
35994 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35995 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35996 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35997
13dc9eac
L
35998 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35999 <stdint.h>.
36000 (GET_PC): Cast to uintptr_t first.
36001 (GET_FRAME): Likewise.
36002 (GET_STACK): Likewise.
36003
a7895d15
L
36004 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36005 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36006 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36007 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36008 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36009 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36010 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36011 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36012 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36013 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36014 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36015 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36016 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36017 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36018 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36019 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36020 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36021 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36022 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36023 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36024 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36025 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36026 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36027 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36028 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36029 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36030 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36031 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36032 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36033
656416c9
AS
360342012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36035
5bd66283
AS
36036 * Makerules (+depfiles): Also collect depfiles from .oS in
36037 $(extra-objs).
36038 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36039 .oS, $(libnldbl-routines)).
36040
656416c9
AS
36041 * Makerules (native-compile-mkdep-flags): Define.
36042 * sunrpc/Makefile (extra-objs): Add $(addprefix
36043 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36044 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36045 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36046 calling $(make-target-directory).
36047
a46f2169
L
360482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36049
36050 * bits/types.h (__snseconds_t): Removed.
36051 * time/time.h (struct timespec): Replace __snseconds_t with
36052 __syscall_slong_t.
36053 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36054 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36055 Likewise.
36056 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36057 (__SNSECONDS_T_TYPE): Likewise.
36058 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36059 (__SNSECONDS_T_TYPE): Likewise.
36060 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36061 (__SNSECONDS_T_TYPE): Likewise.
36062
6af6528b
L
360632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36064
36065 * sysdeps/mach/hurd/bits/typesizes.h
36066 (__SYSCALL_SLONG_TYPE): New macro.
36067 (__SYSCALL_ULONG_TYPE): Likewise.
36068
de986b56
L
360692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36070
36071 * bits/types.h (__syscall_slong_t): New type.
36072 (__syscall_ulong_t): Likewise.
36073
36074 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36075 (__SYSCALL_ULONG_TYPE): Likewise.
36076 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36077 (__SYSCALL_SLONG_TYPE): Likewise.
36078 (__SYSCALL_ULONG_TYPE): Likewise.
36079 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36080 (__SYSCALL_SLONG_TYPE): Likewise.
36081 (__SYSCALL_ULONG_TYPE): Likewise.
36082 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36083 (__SYSCALL_SLONG_TYPE): Likewise.
36084 (__SYSCALL_ULONG_TYPE): Likewise.
36085
85736dc7
L
360862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36087
36088 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36089 Add sigaltstack-offsets.sym.
36090 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36091 <sigaltstack-offsets.h>.
36092 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36093 longjmp_msg pointer.
36094 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36095 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36096 signal stack.
36097 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36098
cc03b296
JM
360992012-05-15 Joseph Myers <joseph@codesourcery.com>
36100
a9538892
JM
36101 * elf/stackguard-macros.h: Remove file.
36102 * sysdeps/generic/stackguard-macros.h: New file.
36103 * sysdeps/i386/stackguard-macros.h: Likewise.
36104 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36105 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36106 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36107 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36108 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36109 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36110 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36111 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36112 <elf/stackguard-macros.h>.
36113
cc03b296
JM
36114 [BZ #14109]
36115 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36116 __aligned__ in attribute.
36117 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36118 (gregset_t): Likewise.
36119
93171016
L
361202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36121
36122 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36123 * sysdeps/x86_64/64/Implies-after: Here. New file.
36124 * sysdeps/x86_64/x32/Implies-after: New file.
36125
d86813a0
L
361262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36127
36128 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36129 and access return value for _dl_profile_fixup. Use R10_LP to
36130 load frame size.
36131
2953ec75
L
361322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36133
36134 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36135
3b550e9e
L
361362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36137
36138 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36139 * sysdeps/x86_64/x32/sysdep.h: New file.
36140
eda41706
L
361412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36142
36143 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36144 * sysdeps/x86_64/setjmp.S: Likewise.
36145
9ea01d93
AZ
361462012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36147
36148 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36149 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36150 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36151 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36152 remove unused global constant.
36153
02a91938
CM
361542012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36155
36156 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36157 include of <not-cancel.h>.
36158
6540185f
RM
361592012-05-15 Roland McGrath <roland@hack.frob.com>
36160
36161 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36162
509072a0
AJ
361632012-05-15 Jeff Law <law@redhat.com>
36164 Andreas Jaeger <aj@suse.de>
36165
36166 [BZ #13594]
36167 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36168 out from...
36169 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36170 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36171 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36172 code changing __hst_map_handle.map.
36173
ba75122d
RM
361742012-05-15 Roland McGrath <roland@hack.frob.com>
36175
36176 * configure.in (sysnames): Look for Implies-before and Implies-after
36177 files.
36178 * configure: Regenerated.
36179
890d8bd8
L
361802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36181
36182 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36183 8-byte data alignment with LP_SIZE alignment.
36184
f6ee6623
L
361852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36186
36187 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36188 into R10_LP.
36189
ea2626f6
L
361902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36191
36192 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36193
085f715e
L
361942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36195
36196 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36197 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36198 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36199 Likewise.
36200 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36201
be8498fc
L
362022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36203
36204 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36205 (stackinfo_sub_sp): Likewise.
36206
70bc83b9
L
362072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36208
36209 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36210 RAX_LP.
36211
9bc0b730
L
362122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36213
36214 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36215 into R*_LP.
36216
6d2850e7
L
362172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36218
36219 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36220 sizes into R*_LP.
36221
3cb84561
L
362222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36223
36224 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36225
54e2ed81
L
362262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36227
36228 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36229 into R11_LP and load __x86_64_shared_cache_size_half into
36230 R8_LP.
36231
8a17f349
L
362322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36233
36234 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36235 R8_LP.
36236
777b1eea
AZ
362372012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36238
36239 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36240 logb for POWER7.
36241 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36242 logbf for POWER7.
36243 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36244 logbl for POWER7.
36245 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36246 powerpc32/power7/fpu/s_logb.c via #include.
36247 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36248 powerpc32/power7/fpu/s_logbf.c via #include.
36249 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36250 powerpc32/power7/fpu/s_logbl.c via #include.
36251
d20d4ac2
JM
362522012-05-15 Joseph Myers <joseph@codesourcery.com>
36253
36254 * README.libm: Remove file.
36255
6cdef1ab
L
362562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36257
36258 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36259 count for x32. Use R*_LP and omit operand-size suffix.
36260
0b254d8f
L
362612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36262
36263 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36264 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36265 * sysdeps/x86_64/x32/shlib-versions: New file.
36266
ceb809dc
RM
362672012-05-14 Roland McGrath <roland@hack.frob.com>
36268
36269 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36270 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36271 Use _dl_fatal_printf instead.
36272
37f1abd4
JM
362732012-05-14 Joseph Myers <joseph@codesourcery.com>
36274
36275 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36276 set if not set by the user. Do not allow for being unset.
36277 * sysdeps/unix/sysv/linux/configure: Regenerated.
36278
11de3a33
L
362792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36280
36281 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36282 the `q' suffix from lea and replace .quad with ASM_ADDR.
36283
e02f153a
L
362842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36285
36286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36287 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36288 instead of $17.
36289 (PTR_DEMANGLE): Likewise.
36290
520ae0fd
L
362912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36292
36293 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36294 (LP_OP): Likewise.
36295 (ASM_ADDR): Likewise.
36296 (RAX_LP): Likewise.
36297 (RBP_LP): Likewise.
36298 (RBX_LP): Likewise.
36299 (RCX_LP): Likewise.
36300 (RDI_LP): Likewise.
36301 (RSI_LP): Likewise.
36302 (RSP_LP): Likewise.
36303 (R8_LP): Likewise.
36304 (R9_LP): Likewise.
36305 (R10_LP): Likewise.
36306 (R10_LP): Likewise.
36307 (R11_LP): Likewise.
36308 (R12_LP): Likewise.
36309 (R13_LP): Likewise.
36310 (R14_LP): Likewise.
36311 (R15_LP): Likewise.
36312
b985be81
L
363132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36314
36315 * sysdeps/x86_64/x32/dl-machine.h: New file.
36316
6a4888ff
AJ
363172012-05-14 Andreas Jaeger <aj@suse.de>
36318
36319 * manual/Makefile (subdir): Remove export of subdir.
36320 (all): Remove target.
36321 (.PHONY): Remove all from list.
36322 (mkinstalldirs): Remove.
36323 (.PHONY): Remove installdirs from list.
36324 ($(inst_infodir)/libc.info): Use make-target-directory.
36325 (installdirs): Remove.
36326 (subdir_%): Remove.
36327 (glibc-targets): Remove.
36328 (lib): Remove.
36329 (stubs): Remove.
36330 ($(objpfx)stubs ../po/manual.pot): Remove.
36331 ($(objpfx)stamp%): Remove.
36332 (make-target-directory): Remove.
36333 (subdir_install): Remove.
36334 (routines): Remove.
36335 (aux): Remove.
36336 (sources): Remove.
36337 (objects): Remove.
36338 (headers): Remove.
36339
36340 [BZ #13750]
36341 * manual/.gitignore: Remove, it's not needed anymore.
36342 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36343 all files in it.
36344 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36345 directory.
36346 (texis): Renamed to $(objpfx)texis.
36347 (texis-path): New, contains path to generated files.
36348 (chapters.%): Use texis-path for complete path, add extra argument
36349 libc-texinfo.sh.
36350 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36351 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36352 (summary,texi, stamp-summary): Use complete path of
36353 files. Generate files in build dir.
36354 (dir-add.texi): Build in build dir.
36355 (libm-err.texi,stamp-libm-err): Likewise.
36356 (version.texi, stamp-version): Likewise.
36357 (.%c.texi): Likewise.
36358 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36359 (mostlyclean): Remove target.
36360 (realclean): Remove target.
36361 (generated): Add new variable with contents from mostlyclean and
36362 realclean, remove entries duplicated in common-mostlyclean, add
36363 stamp-libm-err and stamp-version.
36364 (generated-dirs): Add libc directory.
36365 ($(inst_infodir)/libc.info): Install files from build dir.
36366
36367 * manual/install.texi (Configuring and compiling): Adjust since
36368 the info files are not part of the tar ball anymore.
36369
7ac77294
AJ
363702012-05-14 Andreas Jaeger <aj@suse.de>
36371
36372 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36373 variable.
36374
ffb7875d
JM
363752012-05-14 Joseph Myers <joseph@codesourcery.com>
36376
36377 [BZ #13717]
36378 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36379 to 2.2.0 where earlier.
36380 * sysdeps/unix/sysv/linux/configure: Regenerated.
36381 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36382 Remove conditional code.
36383 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36384 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36385 Remove conditional code.
36386 [!__NR_lchown]: Likewise.
36387 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36388 [__NR_lchown]: Likewise.
36389 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36390 comment referencing __ASSUME_LCHOWN_SYSCALL.
36391 * sysdeps/unix/sysv/linux/i386/sigaction.c
36392 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36393 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36394 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36395 Remove conditional code.
36396 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36397 (__protocol_available): Remove #if 0 code.
36398 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36399 conditional code.
36400 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36401 * sysdeps/unix/sysv/linux/kernel-features.h
36402 (__ASSUME_GETCWD_SYSCALL): Don't define.
36403 (__ASSUME_REALTIME_SIGNALS): Likewise.
36404 (__ASSUME_PREAD_SYSCALL): Likewise.
36405 (__ASSUME_PWRITE_SYSCALL): Likewise.
36406 (__ASSUME_POLL_SYSCALL): Likewise.
36407 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36408 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36409 non-SPARC.
36410 (__ASSUME_SIOCGIFNAME): Don't define.
36411 (__ASSUME_MSG_NOSIGNAL): Likewise.
36412 (__ASSUME_SENDFILE): Define unconditionally.
36413 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36414 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36415 conditional code.
36416 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36417 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36418 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36419 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36420 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36421 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36422 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36424 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36425 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36427 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36428 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36430 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36431 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36433 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36434 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36436 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36437 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36439 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36440 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36442 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36443 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36445 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36446 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36447 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36448 Remove conditional code.
36449 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36450 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36451 Remove conditional code.
36452 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36453 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36454 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36455 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36456 Remove conditional code.
36457 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36458 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36459 Remove conditional code.
36460 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36461 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36462 Remove conditional code.
36463 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36464 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36465 Remove conditional code.
36466 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36467 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36468 Remove conditional code.
36469 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36470 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36471 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36472 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36473 * sysdeps/unix/sysv/linux/sigaction.c
36474 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36475 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36476 * sysdeps/unix/sysv/linux/sigpending.c
36477 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36478 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36479 * sysdeps/unix/sysv/linux/sigprocmask.c
36480 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36481 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36482 * sysdeps/unix/sysv/linux/sigsuspend.c
36483 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36484 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36485 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36486 (__libc_missing_rt_sigs): Remove.
36487 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36488 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36489 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36490 Remove conditional code.
36491 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36492 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36493 return 1.
36494 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36495 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36496 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36497 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36498
1bfb7291
AJ
364992012-05-14 Andreas Jaeger <aj@suse.de>
36500
caae5a81
AJ
36501 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36502 it's not used in glibc.
36503 (__coshm1): Likewise.
36504 (__acosh1p): Likewise.
36505 (__sgn): Likewise.
36506
1bfb7291
AJ
36507 * manual/string.texi (Copying and Concatenation): Add missing
36508 variable in concat example.
36509 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36510
c044d724
L
365112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36512
144c5467 36513 [BZ #14103]
c044d724
L
36514 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36515 __builtin_clzl with __builtin_clzll.
36516
2523c62b
L
365172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36518
36519 [BZ #14104]
36520 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36521 libc_freeres_ptr.
36522
d7bb4c42
LD
365232012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36524
36525 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36526 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36527 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36528 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36529
9dc4e1fb
MF
365302012-05-14 Mike Frysinger <vapier@gentoo.org>
36531
36532 * NEWS: Update ia64 info.
36533
c7df0112
AS
365342012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36535
36536 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36537 used as bcopy.
36538
dc70356c
TS
365392012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36540
36541 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36542 * sysdeps/unix/syscalls.list (dup3): Likewise.
36543 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36544 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36545
9fb1a21f
L
365462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36547
36548 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36549 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36550
4822a2a5
L
365512012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36552
36553 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36554 thread pointer.
36555 (TLS_IE): Use mov/add instead of movq/addq to load thread
36556 pointer.
36557 (TLS_GD_PREFIX): New.
36558 (TLS_GD): Use it.
36559
842b81d6
DM
365602012-05-11 David S. Miller <davem@davemloft.net>
36561
36562 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36563 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36564 (_FPU_SETCW): Likewise.
36565
1cf463cd
L
365662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36567
36568 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36569 is 32-byte aligned.
36570
60cc4a18
AS
365712012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36572
36573 [BZ #11837]
36574 * iconvdata/gb18030.c: Update tables.
36575 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36576 characters specially.
36577 (BODY for TO_LOOP): Add encoding of missing ranges.
36578
febb44a4
TS
365792012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36580
36581 [BZ #13673]
36582 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36583 * sysdeps/mach/hurd/dup3.c: Likewise.
36584 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36585 * sysdeps/powerpc/memmove.c:: Likewise.
36586
0a10fb9e
L
365872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36588
36589 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36590 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36591
df8a552f
L
365922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36593
36594 * elf/elf.h (R_X86_64_RELATIVE64): New.
36595 (R_X86_64_NUM): Updated.
36596 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36597 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36598 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36599 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36600 tst-quad1pie tst-quad2pie
36601 (modules-names): Add tst-quadmod1 tst-quadmod2.
36602 ($(objpfx)tst-quad1): New dependency.
36603 ($(objpfx)tst-quad2): Likewise.
36604 ($(objpfx)tst-quad1pie): Likewise.
36605 ($(objpfx)tst-quad2pie): Likewise.
36606 * sysdeps/x86_64/tst-quad1.c: New file.
36607 * sysdeps/x86_64/tst-quad1pie.c: New file.
36608 * sysdeps/x86_64/tst-quad2.c: Likewise.
36609 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36610 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36611 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36612 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36613 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36614
f34d6f84
ST
366152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36616
f42d41d1
ST
36617 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36618 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36619 * streams/stropts.h (t_scalar_t): Define type.
36620
3c3571fc
ST
36621 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36622 (_PATH_PRESERVE): Set to "/var/lib".
36623 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36624
61f06bd3
ST
36625 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36626 instead of int.
36627
918d4d71
ST
36628 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36629 if __dir_mkfile succeeded.
36630
f34d6f84
ST
36631 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36632 checking for _hurd_dtablesize. Unlock it right after having
36633 finished _hurd_dtable allocation.
36634
10589b4a
TS
366352012-05-10 Thomas Schwinge <thomas@schwinge.name>
36636
674cdbc7
TS
36637 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36638 * sysdeps/mach/hurd/configure: Regenerated.
36639 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36640 special-casing to...
36641 * sysdeps/gnu/configure.in: ... this new file.
36642 * sysdeps/unix/sysv/linux/configure: Regenerated.
36643 * sysdeps/gnu/configure: New generated file.
36644
8e41b99f
TS
36645 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36646 for Linux: use nsec instead of usec, as well as:
36647 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36648 members of type struct timespec.
36649 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36650 New macros.
36651 (struct stat64): Likewise.
36652 (_STATBUF_ST_NSEC): New macro.
36653 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36654
10589b4a
TS
36655 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36656 __strtoul_internal rather than strtoul.
36657
63643c85
PT
366582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36659
36660 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36661 and reject them.
36662
3faebe6a
ST
366632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36664
36665 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36666 which preserves existing values.
36667 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36668
c6474b07
PT
366692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36670
36671 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36672 TIMEOUT values. Return EINVAL for NFDS values either negative or
36673 greater than FD_SETSIZE.
36674
1043890b
ST
366752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36676
36677 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36678 allocated, call __vm_protect to finish enabling the existing space, and
36679 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36680 allocate the remainder.
36681
37ed8b9b
PT
366822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36683
36684 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36685 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36686
db653660
ST
366872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36688
37ed8b9b
PT
36689 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36690 sysdeps/mach/hurd/readlink.c.
b29d4053 36691
db653660
ST
36692 * posix/tst-sysconf.c (posix_options): Only use
36693 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36694 _POSIX_SYNCHRONIZED_IO when they are defined
36695 * sysdeps/mach/hurd/bits/posix_opt.h:
36696 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36697 (_XOPEN_REALTIME): Undefine macro.
36698 (_XOPEN_REALTIME_THREADS): Undefine macro.
36699 (_XOPEN_SHM): Undefine macro.
36700 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36701 macro to -1.
36702 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36703 macro to -1.
36704 (_POSIX_ASYNC_IO): Undefine macro.
36705 (_POSIX_PRIORITIZED_IO): Undefine macro.
36706 (_POSIX_SPIN_LOCKS): Define macro to -1.
36707
ee16e894
ST
36708 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36709 SA_NODEFER, SA_RESETHAND.
36710 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36711 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36712 F_DUPFD_CLOEXEC.
36713
6103ae3b
TS
367142012-05-10 Thomas Schwinge <thomas@schwinge.name>
36715
36716 * elf/Makefile (pldd-modules): Define unconditionally.
36717
80b4e5f3
TS
367182012-05-10 Thomas Schwinge <thomas@schwinge.name>
36719
36720 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36721
edadcbd6
ST
367222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36723
36724 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36725 Return ENOENT when name is empty.
36726 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36727
80694780
TS
367282012-05-10 Thomas Schwinge <thomas@schwinge.name>
36729
1792c087
TS
36730 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36731
80694780
TS
36732 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36733
6b645f0d
ST
367342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36735
80694780
TS
36736 Fix mlock in all cases except non-readable pages.
36737 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36738 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 36739
6b645f0d
ST
36740 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36741 (__mkdir): When path is `/', just fail with EEXIST.
36742 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36743
e468f8a3
TS
367442012-05-10 Thomas Schwinge <thomas@schwinge.name>
36745
36746 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36747 <sys/uio.h> (for writev).
36748 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36749 and <sys/param.h> (for MIN).
36750
a4186cff
PT
367512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36752
36753 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36754 REQUESTED_TIME. Properly set the remaining time and return EINTR
36755 if interrupted.
36756
510bbf14
TS
367572012-05-10 Thomas Schwinge <thomas@schwinge.name>
36758
36759 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36760 Depend on against $(link-rpcuserlibs).
36761
5d5722e8
ST
367622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36763
a4186cff
PT
36764 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36765 (__libc_stack_end): Do not use attribute_relro.
36766 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36767 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 36768 to libthread-provided value.
a4186cff
PT
36769 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36770 attribute_relro.
5d5722e8 36771
37233df9
TS
367722012-05-10 Thomas Schwinge <thomas@schwinge.name>
36773
be971a2b
TS
36774 [BZ #3748]
36775 * bits/libc-lock.h (__libc_once_get): New macro.
36776 * sysdeps/mach/bits/libc-lock.h: Likewise.
36777 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36778 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36779 instead of using implementation details.
36780
37233df9
TS
36781 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36782 * libio/freopen.c: Likewise.
36783 * libio/freopen64.c: Likewise.
36784 * misc/syslog.c: Likewise.
36785 * nscd/connections.c: Likewise.
36786 * nscd/netgroupcache.c: Likewise.
36787 * sysdeps/posix/getcwd.c: Likewise.
36788
38de94a5
RM
367892012-05-10 Roland McGrath <roland@hack.frob.com>
36790
36791 * math/w_ilogbf.c: Add #include <limits.h>.
36792
67530489
ST
367932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36794
a4186cff 36795 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
36796 path instead of returning without unlocking.
36797
67530489
ST
36798 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36799 immediate-write ioctls.
36800 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36801
5aa3a74a
TS
368022012-05-10 Thomas Schwinge <thomas@schwinge.name>
36803
18bad2ae
TS
36804 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36805 __builtin_frame_address instead of making assumptions about the
36806 location of the return address relative to DATA. Force early load of
36807 the return address.
36808 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36809 __builtin_frame_address.
36810
5aa3a74a
TS
36811 dup3 for GNU Hurd.
36812 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36813 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36814 implement dup3 and do some further code clean-ups.
36815 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36816 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36817
ecd0de9a
ST
368182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36819
cd9fa985
ST
36820 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36821
a4186cff
PT
36822 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36823 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36824 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36825 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36826 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36827 d->port.lock.
802ca5a5 36828
a4186cff
PT
36829 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36830 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36831 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 36832
bcf55240
TS
368332012-05-10 Thomas Schwinge <thomas@schwinge.name>
36834
6960eb42
TS
36835 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36836 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36837 definitions.
36838
eb43375f
TS
36839 accept4 for GNU Hurd.
36840 * include/sys/socket.h (__libc_accept4): New prototype.
36841 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36842 to implement __libc_accept4.
36843 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36844 __libc_accept4.
36845 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36846
bcf55240
TS
36847 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36848 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36849 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36850 signal-defines.sym.
36851
6178c55b
ST
368522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36853
a4186cff 36854 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 36855
6f080c2f
TS
368562012-05-10 Thomas Schwinge <thomas@schwinge.name>
36857
36858 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36859 assertion on O_CLOEXEC flag.
36860 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36861 * hurd/intern-fd.c: Likewise.
36862 * hurd/port2fd.c: Likewise.
36863
bcfe3a54
ST
368642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36865
36866 [BZ #3906]
36867 * bits/in.h (IPV6_PKTINFO): Define new macro.
36868 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36869
89c9aa49
AZ
368702012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36871
36872 [BZ #13954]
36873 [BZ #13955]
36874 [BZ #13956]
36875 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36876 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36877 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36878 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36879 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36880 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36881 * math/libm-test.inc (logb_test) : Additional logb tests.
36882
021db4be
AJ
368832012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36884 Andreas Jaeger <aj@suse.de>
36885
36886 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36887 * configure: Regenerated.
36888 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36889 * config.make.in (link-obsolete-rpc): New substituted variable.
36890 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36891 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36892 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36893 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36894 so that libc.a contains the symbols.
36895 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36896 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36897 * sunrpc/auth_none.c: Likewise.
36898 * sunrpc/auth_unix.c: Likewise.
36899 * sunrpc/authdes_prot.c: Likewise.
36900 * sunrpc/authuxprot.c: Likewise.
36901 * sunrpc/clnt_gen.c: Likewise.
36902 * sunrpc/clnt_perr.c: Likewise.
36903 * sunrpc/clnt_raw.c: Likewise.
36904 * sunrpc/clnt_simp.c: Likewise.
36905 * sunrpc/clnt_tcp.c: Likewise.
36906 * sunrpc/clnt_udp.c: Likewise.
36907 * sunrpc/clnt_unix.c: Likewise.
36908 * sunrpc/des_crypt.c: Likewise.
36909 * sunrpc/des_soft.c: Likewise.
36910 * sunrpc/get_myaddr.c: Likewise.
36911 * sunrpc/key_call.c: Likewise.
36912 * sunrpc/key_prot.c: Likewise.
36913 * sunrpc/netname.c: Likewise.
36914 * sunrpc/pm_getmaps.c: Likewise.
36915 * sunrpc/pm_getport.c: Likewise.
36916 * sunrpc/pmap_clnt.c: Likewise.
36917 * sunrpc/pmap_prot.c: Likewise.
36918 * sunrpc/pmap_prot2.c: Likewise.
36919 * sunrpc/pmap_rmt.c: Likewise.
36920 * sunrpc/publickey.c: Likewise.
36921 * sunrpc/rpc_cmsg.c: Likewise.
36922 * sunrpc/rpc_common.c: Likewise.
36923 * sunrpc/rpc_dtable.c: Likewise.
36924 * sunrpc/rpc_prot.c: Likewise.
36925 * sunrpc/rpc_thread.c: Likewise.
36926 * sunrpc/rtime.c: Likewise.
36927 * sunrpc/svc.c: Likewise.
36928 * sunrpc/svc_auth.c: Likewise.
36929 * sunrpc/svc_raw.c: Likewise.
36930 * sunrpc/svc_run.c: Likewise.
36931 * sunrpc/svc_tcp.c: Likewise.
36932 * sunrpc/svc_udp.c: Likewise.
36933 * sunrpc/svc_unix.c: Likewise.
36934 * sunrpc/svcauth_des.c: Likewise.
36935 * sunrpc/xcrypt.c: Likewise.
36936 * sunrpc/xdr.c: Likewise.
36937 * sunrpc/xdr_array.c: Likewise.
36938 * sunrpc/xdr_float.c: Likewise.
36939 * sunrpc/xdr_intXX_t.c: Likewise.
36940 * sunrpc/xdr_mem.c: Likewise.
36941 * sunrpc/xdr_rec.c: Likewise.
36942 * sunrpc/xdr_ref.c: Likewise.
36943 * sunrpc/xdr_sizeof.c: Likewise.
36944 * sunrpc/xdr_stdio.c: Likewise.
36945
b5c086a2
RM
369462012-05-10 Roland McGrath <roland@hack.frob.com>
36947
36948 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36949 change. Update copyright years.
36950
6d74dd09
JM
369512012-05-10 Joseph Myers <joseph@codesourcery.com>
36952
36953 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36954
28e72501
MK
369552012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36956 Joseph Myers <joseph@codesourcery.com>
36957 Paul Pluzhnikov <ppluzhnikov@google.com>
36958
36959 [BZ #14012]
36960 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36961 requiring rpcgen.
36962 [cross-compiling] (extra-libs): Likewise.
36963 [cross-compiling] (extra-libs-others): Likewise.
36964 [cross-compiling] (librpcsvc-routines): Likewise.
36965 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36966 [cross-compiling] (omit-deps): Likewise.
36967 (sunrpc-CPPFLAGS): New variable.
36968 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36969 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36970 (cross-rpcgen-objs): New variable.
36971 (extra-objs): Append $(cross-rpcgen-objs).
36972 ($(cross-rpcgen-objs)): New rule.
36973 ($(objpfx)cross-rpcgen): Likewise.
36974 (rpcgen-cmd): Define to use $(built-program-file). Expand
36975 comment.
36976 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36977 ($(objpfx)x%.stmp): Likewise.
36978 * sunrpc/proto.h [IS_IN_build] (_): Define.
36979 [IS_IN_build] (_libc_intl_domainname): Likewise.
36980
c8c59454
L
369812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36982
36983 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36984 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36985 and R_X86_64_TPOFF64.
36986
6f27cd16
JM
369872012-05-10 Joseph Myers <joseph@codesourcery.com>
36988
36989 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36990 sysdeps/unix/sysv/syscalls.list.
36991 (stime): Likewise.
36992 (utime): Likewise.
36993 * sysdeps/unix/sysv/syscalls.list: Remove file.
36994
02467e1c
PE
369952012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36996
36997 [BZ #3440]
36998 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36999 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37000 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37001 (__LC_IDENTIFICATION): Make these macros useful in #if
37002 expressions, as required by C99.
37003
da392631
AS
370042012-05-10 Andreas Schwab <schwab@linux-m68k.org>
37005
37006 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37007 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
37008 after this.
37009
8115f29b
L
370102012-05-09 H.J. Lu <hongjiu.lu@intel.com>
37011
37012 * stdlib/longlong.h: Updated from GCC.
37013
bdd74070
AJ
370142012-05-09 Andreas Jaeger <aj@suse.de>
37015
edfe0dbe
AJ
37016 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37017 default is first entry.
37018 (run_mode): Set type.
37019 (main): Remove informal message about syslog.
37020 (options): Fix typo.
37021
bcfe3a54
ST
37022 [BZ #14053]
37023 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 37024 to asm.
bcfe3a54
ST
37025 (lrint): Likewise.
37026 (llrintf): Likewise.
37027 (llrint): Likewise.
37028 (rint): Likewise.
37029 (rintf): Likewise.
37030 (nearbyint): Likewise.
37031 (nearbyintf): Likewise.
bdd74070 37032
91d8d69e
AJ
370332012-05-09 Andreas Jaeger <aj@suse.de>
37034 Pedro Alves <palves@redhat.com>
37035
37036 * nscd/nscd.c (run_mode): Use enum.
37037 (main): Cleanup coding style issue.
37038
bb90b80b
AJ
370392012-05-09 Alexandre Oliva <aoliva@redhat.com>
37040 Andreas Jaeger <aj@suse.de>
37041
bcfe3a54
ST
37042 * nscd/nscd.c (go_background): Replaced with...
37043 (run_mode): ... this.
bb90b80b 37044 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
37045 (options): Add -F --foreground.
37046 (main): Implement it.
37047 (parse_opt): Parse it.
bb90b80b 37048
1a4b75a1
AJ
370492012-05-09 Andreas Jaeger <aj@suse.de>
37050
37051 [BZ #14083]
37052 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37053 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37054 -Wconversion warning.
37055 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37056 Likewise.
37057
b1cc2472
JM
370582012-05-09 Joseph Myers <joseph@codesourcery.com>
37059
37060 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37061 == 0.
37062 (LC_ALL): Use macro-int-constant.
37063 (LC_COLLATE): Likewise.
37064 (LC_CTYPE): Likewise.
37065 (LC_MESSAGES): Likewise.
37066 (LC_MONETARY): Likewise.
37067 (LC_NUMERIC): Likewise.
37068 (LC_TIME): Likewise.
37069 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37070 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37071 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37072 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37073 Specify type.
37074 [C99-based standards] (float_t): Expect type.
37075 [C99-based standards] (double_t): Expect type.
37076 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37077 type.
37078 [C99-based standards] (HUGE_VALL): Likewise.
37079 [C99-based standards] (INFINITY): Likewise.
37080 [C99-based standards] (NAN): Likewise.
37081 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37082 [C99-based standards] (FP_NAN): Likewise.
37083 [C99-based standards] (FP_NORMAL): Likewise.
37084 [C99-based standards] (FP_SUBNORMAL): Likewise.
37085 [C99-based standards] (FP_ZERO): Likewise.
37086 [C99-based standards] (FP_FAST_FMA): Use
37087 optional-macro-int-constant. Specify type. Require == 1.
37088 [C99-based standards] (FP_FAST_FMAF): Likewise.
37089 [C99-based standards] (FP_FAST_FMAL): Likewise.
37090 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37091 [C99-based standards] (FP_ILOGBNAN): Likewise.
37092 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37093 Specify type.
37094 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37095 [C99-based standards] (math_errhandling): Specify type.
37096 [ISO99 || ISO11] (signgam): Do not allow.
37097 [non-C99-based standards] (copysignf): Do not allow.
37098 [non-C99-based standards] (exp2f): Likewise.
37099 [non-C99-based standards] (log2f): Likewise.
37100 [non-C99-based standards] (modff): Allow.
37101 [non-C99-based standards] (erff): Do not allow.
37102 [non-C99-based standards] (erfcf): Likewise.
37103 [non-C99-based standards] (gammaf): Likewise.
37104 [non-C99-based standards] (hypotf): Likewise.
37105 [non-C99-based standards] (j0f): Likewise.
37106 [non-C99-based standards] (j1f): Likewise.
37107 [non-C99-based standards] (jnf): Likewise.
37108 [non-C99-based standards] (lgammaf): Likewise.
37109 [non-C99-based standards] (tgammaf): Likewise.
37110 [non-C99-based standards] (y0f): Likewise.
37111 [non-C99-based standards] (y1f): Likewise.
37112 [non-C99-based standards] (ynf): Likewise.
37113 [non-C99-based standards] (isnanf): Likewise.
37114 [non-C99-based standards] (acoshf): Likewise.
37115 [non-C99-based standards] (asinhf): Likewise.
37116 [non-C99-based standards] (atanhf): Likewise.
37117 [non-C99-based standards] (cbrtf): Likewise.
37118 [non-C99-based standards] (expm1f): Likewise.
37119 [non-C99-based standards] (ilogbf): Likewise.
37120 [non-C99-based standards] (log1pf): Likewise.
37121 [non-C99-based standards] (logbf): Likewise.
37122 [non-C99-based standards] (nextafterf): Likewise.
37123 [non-C99-based standards] (remainderf): Likewise.
37124 [non-C99-based standards] (rintf): Likewise.
37125 [non-C99-based standards] (scalbf): Likewise.
37126 [non-C99-based standards] (copysignl): Likewise.
37127 [non-C99-based standards] (exp2l): Likewise.
37128 [non-C99-based standards] (log2l): Likewise.
37129 [non-C99-based standards] (modfl): Allow.
37130 [non-C99-based standards] (erfl): Do not allow.
37131 [non-C99-based standards] (erfcl): Likewise.
37132 [non-C99-based standards] (gammal): Likewise.
37133 [non-C99-based standards] (hypotl): Likewise.
37134 [non-C99-based standards] (j0l): Likewise.
37135 [non-C99-based standards] (j1l): Likewise.
37136 [non-C99-based standards] (jnl): Likewise.
37137 [non-C99-based standards] (lgammal): Likewise.
37138 [non-C99-based standards] (tgammal): Likewise.
37139 [non-C99-based standards] (y0l): Likewise.
37140 [non-C99-based standards] (y1l): Likewise.
37141 [non-C99-based standards] (ynl): Likewise.
37142 [non-C99-based standards] (isnanl): Likewise.
37143 [non-C99-based standards] (acoshl): Likewise.
37144 [non-C99-based standards] (asinhl): Likewise.
37145 [non-C99-based standards] (atanhl): Likewise.
37146 [non-C99-based standards] (cbrtl): Likewise.
37147 [non-C99-based standards] (expm1l): Likewise.
37148 [non-C99-based standards] (ilogbl): Likewise.
37149 [non-C99-based standards] (log1pl): Likewise.
37150 [non-C99-based standards] (logbl): Likewise.
37151 [non-C99-based standards] (nextafterl): Likewise.
37152 [non-C99-based standards] (remainderl): Likewise.
37153 [non-C99-based standards] (rintl): Likewise.
37154 [non-C99-based standards] (scalbl): Likewise.
37155 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37156 [non-C99-based standards] (FP_*): Do not allow.
37157 [C99-based standards] (FP_*): Change to
37158 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37159 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37160 allow.
37161 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37162 (SIG_ERR): Likewise.
37163 [X/Open-based standards] (SIG_HOLD): Likewise.
37164 (SIG_IGN): Likewise.
37165 (SIGABRT): Use macro-int-constant. Specify type. Require
37166 positive value.
37167 (SIGFPE): Likewise.
37168 (SIGILL): Likewise.
37169 (SIGINT): Likewise.
37170 (SIGSEGV): Likewise.
37171 (SIGTER): Likewise.
37172 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37173 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37174 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37175 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37176 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37177 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37178 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37179 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37180 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37181 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37182 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37183 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37184 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37185 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37186 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37187 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37188 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37189 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37190 [X/Open-based standards] (SIGTRAP): Likewise.
37191 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37192 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37193 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37194 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37195 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37196 allow.
37197
b9f1922d
IW
371982012-05-08 Ian Wienand <ianw@vmware.com>
37199
37200 [BZ #14080]
37201 * time/tzset.c (__tzset_parse_tz): Update default rules for
37202 daylight time changes in the Energy Policy Act of 2005.
37203
1db86e88
AJ
372042012-05-09 Andreas Jaeger <aj@suse.de>
37205
37206 [BZ #13983]
37207 * elf/ldconfig.c (parse_conf): Change string to make clear that
37208 ldconfig only issued a warning if ld.so.conf does not exist.
37209
dee4a4e3
DM
372102012-05-08 David S. Miller <davem@davemloft.net>
37211
ee0db190
DM
37212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37213 movxtod instead of popping the value on the stack.
37214
dee4a4e3
DM
37215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37216
6a43ec98
CD
372172012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37218
37219 * config.h.in: Add HAVE_ARM_PCS_VFP.
37220
05c2c961
RMG
372212012-05-08 Roland Mc Grath <roland@hack.frob.com>
37222
bcfe3a54
ST
37223 [BZ #13979]
37224 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37225 checking but the checks are disabled for any reason.
05c2c961 37226
4b30f61a
L
372272012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37228
37229 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37230 and ELF64_R_TYPE with ELFW(R_TYPE).
37231
eee2bc67
JM
372322012-05-08 Joseph Myers <joseph@codesourcery.com>
37233
7ea5391a
JM
37234 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37235 (ulimit): Likewise.
37236
eee2bc67
JM
37237 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37238 (settimeofday): Likewise.
37239
abb66a67
MF
372402012-05-08 Mike Frysinger <vapier@gentoo.org>
37241
37242 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37243 a struct th_u2 inside the union, and move tu_block/tu_code into
37244 a new th_u3 union of tu_block/tu_code inside of that. Move
37245 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37246 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37247 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37248 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37249 (th_stuff): Change to th_u1.tu_stuff.
37250 (th_data): Define.
37251 (th_msg): Change to th_u1.th_u2.tu_data.
37252
7f18b530
DM
372532012-05-07 David S. Miller <davem@davemloft.net>
37254
05760585
DM
37255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37256
7f18b530
DM
37257 [BZ #14074]
37258 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37259 (SETUP_PIC_REG): Use it.
37260 (SETUP_PIC_REG_LEAF): Use it.
37261
495fd99f
JM
372622012-05-07 Joseph Myers <joseph@codesourcery.com>
37263
37264 [BZ #13885]
37265 [BZ #13923]
37266 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37267 USE_AS_EXPM1L.
37268 (EXPL_FINITE): Likewise.
37269 (FLDLOG): Likewise.
37270 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37271 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37272 e_expl.S.
37273 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37274 USE_AS_EXPM1L.
37275 (EXPL_FINITE): Likewise.
37276 (FLDLOG): Likewise.
37277 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37278 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37279 e_expl.S.
37280 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37281 test of -max_value argument for long double.
37282 * sysdeps/i386/fpu/libm-test-ulps: Update.
37283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37284
6693d694
DM
372852012-05-06 David S. Miller <davem@davemloft.net>
37286
37287 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37288 quad soft-float symbols whose references which are compiler
37289 generated.
37290 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37291
6c23e11c
JM
372922012-05-06 Joseph Myers <joseph@codesourcery.com>
37293
d8b82cad
JM
37294 [BZ #13884]
37295 [BZ #13914]
37296 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37297 USE_AS_EXP10L.
37298 (EXPL_FINITE): Likewise.
37299 (FLDLOG): Likewise.
37300 (c0): Likewise.
37301 (c1): Likewise.
37302 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37303 Adjust comments for base varying.
37304 (__expl_finite): Change alias to EXPL_FINITE.
37305 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37306 e_expl.S.
37307 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37308 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37309 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37310 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37311 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37312 USE_AS_EXP10L.
37313 (EXPL_FINITE): Likewise.
37314 (FLDLOG): Likewise.
37315 (c0): Likewise.
37316 (c1): Likewise.
37317 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37318 Adjust comments for base varying.
37319 (__expl_finite): Change alias to EXPL_FINITE.
37320 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37321 tests for bugs.
37322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37323
6c23e11c
JM
37324 [BZ #14064]
37325 * math/libm-test.inc (check_float_internal): Correct ulp
37326 calculation for subnormal expected results.
37327
29ba805c
AJ
373282012-05-06 Andreas Jaeger <aj@suse.de>
37329
37330 * Makeconfig (+math-flags): New, set to -frounding-math.
37331 (+cflags): Add +math-flags so that all of glibc gets compiled with
37332 it.
37333
37334 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37335
7b17aeda
JM
373362012-05-05 Joseph Myers <joseph@codesourcery.com>
37337
5779f134
JM
37338 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37339 Disable one test.
37340
41498f4d
JM
37341 [BZ #13787]
37342 [BZ #13922]
37343 [BZ #14036]
37344 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37345 (__ieee754_expl): Allow for and saturate large arguments.
37346 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37347 (u_threshold): Likewise.
37348 (__exp): Call __ieee754_exp before checking for overflow and
37349 underflow.
37350 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37351 (u_threshold): Likewise.
37352 (__expf): Call __ieee754_expf before checking for overflow and
37353 underflow.
37354 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37355 (u_threshold): Likewise.
37356 (__expl): Call __ieee754_expl before checking for overflow and
37357 underflow.
37358 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37359 (__ieee754_expl): Allow for and saturate large arguments.
37360 * math/libm-test.inc (exp_test): Add another test. Do not allow
37361 missing overflow exception on overflow.
37362 (expm1_test): Do not allow missing overflow exception on overflow.
37363
6698b8bf
JM
37364 * sysdeps/i386/fpu/e_expl.c: Move to ...
37365 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37366 rather than using inline asm.
37367 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37368 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37369 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37370
7b17aeda
JM
37371 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37372 (nice): Likewise.
37373 (poll): Likewise.
37374 (signal): Likewise.
37375 (time): Likewise.
37376 (times): Likewise.
37377
f7c85819
JM
373782012-05-04 Joseph Myers <joseph@codesourcery.com>
37379
37380 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37381 sysdeps/unix/common/syscalls.list.
37382 (fchmod): Likewise.
37383 (fchown): Likewise.
37384 (ftruncate): Likewise.
37385 (getrusage): Likewise.
37386 (gettimeofday): Likewise.
37387 (setpgid): Likewise.
37388 (setregid): Likewise.
37389 (setreuid): Likewise.
37390 (sigaction): Likewise.
37391 (truncate): Likewise.
37392 (vhangup): Likewise.
37393 * sysdeps/unix/common/syscalls.list: Remove file.
37394 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37395 * sysdeps/unix/sysv/linux/Implies: Likewise.
37396
336270d0
L
373972012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37398
37399 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37401 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37402 Moved to ...
37403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37404 Here.
37405 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37406 to ...
37407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37408 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37409 to ...
37410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37411 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37412 to ...
37413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37414 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37415 to ...
37416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37417 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37418 to ...
37419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37420 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37421 to ...
37422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37423 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37424 to ...
37425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37426 Here.
37427 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37428 to ...
37429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37430 Here.
37431 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37432 to ...
37433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37434 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37435 Moved to ...
37436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37437 Here.
37438 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37439 to ...
37440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37441
d128e450
JM
374422012-05-04 Joseph Myers <joseph@codesourcery.com>
37443
fa8ee516
JM
37444 * sysdeps/unix/common/bits/dirent.h: Remove file.
37445 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37446
d128e450
JM
37447 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37448 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37449 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37450 * sysdeps/unix/bsd/isatty.c: Likewise.
37451 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37452 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37453 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37454
ff8faaf0 374552012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 37456
62881be4 37457 [BZ #13563]
31dc8730
AZ
37458 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37459 long double comparison inaccuracies.
37460 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37462
6fef930c
AS
374632012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37464
37465 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37466 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37467
8f203e6c
JM
374682012-05-04 Joseph Myers <joseph@codesourcery.com>
37469
37470 [BZ #14049]
37471 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37472 nonzero digits before rounding a hex value.
37473 * stdlib/tst-strtod.c (tests): Add another test.
37474
5197d9c2
AK
374752012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37476
37477 * sysdeps/s390/fpu/libm-test-ulps: Update.
37478
f0c1dedf
AJ
374792012-05-03 Andreas Jaeger <aj@suse.de>
37480
37481 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37482 does not get optimized out.
37483 (malloc_opt_barrier): New.
37484
a65ef2ae 374852012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 37486 Roland McGrath <roland@hack.frob.com>
a65ef2ae 37487
2b942cb7 37488 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 37489 intermediate file deletion.
2b942cb7 37490 (generated): Add .symlist files.
a65ef2ae 37491
54b71e02
JM
374922012-05-03 Joseph Myers <joseph@codesourcery.com>
37493
37494 [BZ #13775]
37495 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37496 Redirect under this condition.
37497 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37498 [__USE_GNU] (__dprintf_chk): Not under this condition.
37499 [__USE_GNU] (__vdprintf_chk): Likewise.
37500 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37501 under this condition.
37502 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37503 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37504 [__USE_XOPEN2K8] (vdprintf): Likewise.
37505 [__USE_GNU] (__dprintf_chk): Not under this condition.
37506 [__USE_GNU] (__vdprintf_chk): Likewise.
37507 [__USE_GNU] (dprintf): Likewise.
37508 [__USE_GNU] (vdprintf): Likewise.
37509
d3dfcc41
RM
375102012-05-03 Roland McGrath <roland@hack.frob.com>
37511
37512 * elf/Makefile (common-generated): Set this instead of generated for
37513 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37514 $(all-built-dso)-derived lists.
37515
7ac30cc5
AJ
375162012-05-03 Andreas Jaeger <aj@suse.de>
37517
0c51e550
AJ
37518 * sysdeps/i386/fpu/libm-test-ulps: Update.
37519
7ac30cc5
AJ
37520 * FAQ: Removed.
37521 * FAQ.in: Likewise.
37522 * scripts/gen-FAQ.pl: Likewise.
37523 * manual/install.texi (Installation): Point to online location of
37524 FAQ.
37525 * Makefile (files-for-dist): Remove FAQ.
37526 (FAQ): Remove.
37527
d4c2917f
AM
375282012-05-02 Allan McRae <allan@archlinux.org>
37529
37530 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37531 (LDFLAGS-reldepmod5.so): Likewise.
37532 (LDFLAGS-reldep6mod1.so): Likewise.
37533 (LDFLAGS-reldep6mod4.so): Likewise.
37534 (LDFLAGS-reldep8mod3.so): Likewise.
37535 (LDFLAGS-unload4mod1.so): Likewise.
37536 (LDFLAGS-unload4mod2.so): Likewise.
37537 (LDFLAGS-tst-initorder): Likewise.
37538 (LDFLAGS-tst-initordera2.so): Likewise.
37539 (LDFLAGS-tst-initordera3.so): Likewise.
37540 (LDFLAGS-tst-initordera4.so): Likewise.
37541 (LDFLAGS-tst-initorderb2.so): Likewise.
37542 (LDFLAGS-noload): Likewise.
37543 (LDFLAGS-next): Likewise.
37544 (LDFLAGS-order2mod1.so): Likewise.
37545 (LDFLAGS-order2mod2.so): Likewise.
37546 (LDFLAGS-tst-initorder2): Likewise.
37547 (LDFLAGS-tst-initorder2a.so): Likewise.
37548 (LDFLAGS-tst-initorder2b.so): Likewise.
37549 (LDFLAGS-tst-initorder2c.so): Likewise.
37550 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37551
d77f993f
DM
375522012-05-02 David S. Miller <davem@davemloft.net>
37553
37554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37555
171a70b4
PP
375562012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37557
37558 [BZ #14055]
37559 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37560
0be196ad
AJ
375612012-05-02 Andreas Jaeger <aj@suse.de>
37562
37563 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37564 since we manipulate rounding mode.
37565 (CPPFLAGS-test-idouble.c): Likewise.
37566 (CPPFLAGS-test-ifloat.c): Likewise.
37567 (CFLAGS-test-ldouble.c): Likewise.
37568 (CFLAGS-test-double.c): Likewise.
37569 (CFLAGS-test-float.c): Likewise.
37570 (CFLAGS-test-misc.c): Likewise.
37571 (CFLAGS-test-test-fenv.c): Likewise.
37572
4f9d04aa
AZ
375732012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37574
2b942cb7
RM
37575 [BZ #2550]
37576 [BZ #2570]
37577 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37578 comparisons to determine direction to adjust input.
4f9d04aa 37579
82a79e7d
RM
375802012-05-01 Roland McGrath <roland@hack.frob.com>
37581
f5a01ca9
RM
37582 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37583 output to the target.
37584
90fe4186
RM
37585 * scripts/localplt.awk: New file.
37586 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37587 (check-localplt-CFLAGS): Variable removed.
37588 ($(all-built-dso:=.jmprel)): New static pattern rule.
37589 (generated): Add those targets.
37590 (localplt-built-dso): New variable.
37591 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37592
37593 * elf/check-localplt.c: File removed.
37594
82397ed6
RM
37595 * scripts/check-execstack.awk: New file.
37596 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37597 (check-execstack-CFLAGS): Variable removed.
37598 ($(objpfx)check-execstack.h): Target removed.
37599 ($(objpfx)execstack-default): New target.
37600 (generated): Add that instead of check-execstack.h.
37601 ($(all-built-dso:=.phdr)): New static pattern rule.
37602 (generated): Add those targets.
37603 * elf/check-execstack.c: File removed.
37604
82a79e7d
RM
37605 * scripts/check-textrel.awk: New file.
37606 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37607 (check-textrel-CFLAGS): Variable removed.
37608 (all-built-dso): Use := to define.o
37609 ($(all-built-dso:=.dyn)): New static pattern rule.
37610 (generated): Add those targets.
37611 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37612 * config.make.in (READELF): New substituted variable.
37613 * elf/check-textrel.c: File removed.
37614
62fde54f 376152012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 37616
615605c9
JM
37617 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37618 allow.
37619 * conform/data/ctype.h-data [C99-based standards] (isblank):
37620 Expect function.
37621 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37622 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37623 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37624 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37625 Specify type. Require positive value.
37626 (EILSEQ): Likewise.
37627 (ERANGE): Likewise.
37628 [ISO || POSIX] (EILSEQ): Do not expect.
37629 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37630 Specify type. Require positive value.
37631 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37632 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37633 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37634 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37635 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37636 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37637 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37638 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37639 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37640 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37641 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37642 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37643 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37644 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37645 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37646 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37647 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37648 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37649 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37650 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37651 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37652 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37653 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37654 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37655 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37656 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37657 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37658 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37659 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37660 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37661 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37662 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37663 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37664 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37665 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37666 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37667 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37668 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37669 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37670 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37671 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37672 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37673 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37674 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37675 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37676 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37677 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37678 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37679 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37680 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37681 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37682 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37683 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37684 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37685 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37686 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37687 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37688 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37689 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37690 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37691 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37692 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37693 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37694 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37695 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37696 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37697 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37698 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37699 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37700 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37701 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37702 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37703 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37704 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37705 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37706 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37707 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37708 Require >= 2.
37709 (FLT_ROUNDS): Expect as macro, not constant.
37710 (FLT_MANT_DIG): Use macro-int-constant.
37711 (DBL_MANT_DIG): Likewise.
37712 (LDBL_MANT_DIG): Likewise.
37713 (FLT_DIG): Likewise.
37714 (DBL_DIG): Likewise.
37715 (LDBL_DIG): Likewise.
37716 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37717 (DBL_MIN_EXP): Likewise.
37718 (LDBL_MIN_EXP): Likewise.
37719 (FLT_MAX_EXP): Use macro-int-constant.
37720 (DBL_MAX_EXP): Likewise.
37721 (LDBL_MAX_EXP): Likewise.
37722 (FLT_MAX_10_EXP): Likewise.
37723 (DBL_MAX_10_EXP): Likewise.
37724 (LDBL_MAX_10_EXP): Likewise.
37725 (FLT_MAX): Use macro-constant.
37726 (DBL_MAX): Likewise.
37727 (LDBL_MAX): Likewise.
37728 (FLT_EPSILON): Use macro-constant. Give upper bound.
37729 (DBL_EPSILON): Likewise.
37730 (LDBL_EPSILON): Likewise.
37731 (FLT_MIN): Likewise.
37732 (DBL_MIN): Likewise.
37733 (LDBL_MIN): Likewise.
37734 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37735 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37736 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37737 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37738 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37739 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37740 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37741 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37742 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37743 [ISO11] (FLT_TRUE_MIN): Likewise.
37744 [ISO11] (LDBL_TRUE_MIN): Likewise.
37745 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37746 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37747 (SCHAR_MIN): Use macro-int-constant. Specify type.
37748 (SCHAR_MAX): Likewise.
37749 (UCHAR_MAX): Likewise.
37750 (CHAR_MIN): Likewise.
37751 (CHAR_MAX): Likewise.
37752 (MB_LEN_MAX): Use macro-int-constant.
37753 (SHRT_MIN): Use macro-int-constant. Specify type.
37754 (SHRT_MAX): Likewise.
37755 (USHRT_MAX): Likewise.
37756 (INT_MAX): Likewise.
37757 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37758 bound negative.
37759 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37760 bound with "U".
37761 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37762 bound with "L".
37763 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37764 bound negative. Suffix upper bound with "L".
37765 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37766 bound with "UL".
37767 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37768 Specify type.
37769 [C99-based standards] (LLONG_MAX): Likewise.
37770 [C99-based standards] (ULLONG_MAX): Likewise.
37771 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37772 == 0.
37773 [ISO11] (max_align_t): Require type.
37774 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37775
c9140a62
JM
37776 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37777 from $CFLAGS, without defining away __attribute__ calls.
37778 (checknamespace): Use $CFLAGS_namespace.
37779
9af0bf29
JM
37780 * conform/conformtest.pl (@keywords): Only include C99 keywords
37781 for standards based on C99 or C11.
37782
343222a2
JM
37783 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37784 Disable tests.
37785 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37786 UNIX98]: Likewise.
37787
661f8cf0
JM
37788 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37789 usability of symbols in #if.
37790
ee74b9cb
JM
37791 * conform/conformtest.pl: If macro or constant types start
37792 "promoted:", expect the symbol to be of the following type
37793 promoted by the integer promotions.
62fde54f 37794
aafc49b3
JM
37795 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37796 in one place. Also handle "macro-constant".
37797
fefdf574
JM
37798 * conform/conformtest.pl: Only accept expected macro values with
37799 "==". Parse all "macro" lines in one place.
37800 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37801
f2d922fe
JM
37802 * conform/conformtest.pl: Handle braced types on "constant" lines
37803 instead of handling "typed-constant".
37804 * conform/data/signal.h-data: Use "constant" instead of
37805 "typed-constant".
37806
d22956c9
JM
37807 * conform/conformtest.pl: Handle "optional-" at start of lines in
37808 one place rather than duplicating several cases. Handle each
37809 format of "macro" line with initial "optional-".
37810
028e2e38
JM
37811 * conform/conformtest.pl: Only accept expected constant or
37812 optional-constant values with "==". Parse all "constant" lines in
37813 one place. Parse all "optional-constant" lines in one place.
37814 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37815 * conform/data/fmtmsg.h-data: Likewise.
37816 * conform/data/netinet/in.h-data: Likewise.
37817 * conform/data/tar.h-data: Likewise.
37818 * conform/data/limits.h-data: Use "==" form on "constant" and
37819 "optional-constant" lines.
37820
1b8f2850
JM
37821 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37822 Use -std=c99 for XOPEN2K.
37823 (@knownproblems): Remove.
37824 (newtoken): Don't check %isknown.
37825
a05a144b
JM
37826 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37827 Do not expect macro.
37828 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37829 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37830 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37831 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37832 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37833 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37834 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37835 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37836 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37837 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37838 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37839 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37840 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37841 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37842 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37843 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37844 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37845 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37846 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37847 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37848 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37849 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37850 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37851 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37852 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37853 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37854 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37855 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37856 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37857 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37858 [XPG3] (acosh): Likewise.
37859 [XPG3] (asinh): Likewise.
37860 [XPG3] (atanh): Likewise.
37861 [XPG3] (cbrt): Likewise.
37862 [XPG3] (expm1): Likewise.
37863 [XPG3] (ilogb): Likewise.
37864 [XPG3] (log1p): Likewise.
37865 [XPG3] (logb): Likewise.
37866 [XPG3] (nextafter): Likewise.
37867 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37868 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37869 [XPG3] (remainder): Likewise.
37870 [XPG3] (rint): Likewise.
37871 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37872 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37873 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37874 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37875 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37876 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37877 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37878 [UNIX98 || XOPEN2K] (scalb): Expect.
37879 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37880 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37881 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37882 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37883 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37884 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37885 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37886 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37887 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37888 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37889 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37890 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37891 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37892 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37893 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37894 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37895 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37896 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37897 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37898 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37899 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37900 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37901 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37902 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37903 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37904 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37905 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37906 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37907 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37908 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37909 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37910 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37911 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37912 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37913 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37914 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37915 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37916 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37917 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37918 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37919 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37920 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37921 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37922 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37923 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37924 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37925 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37926 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37927 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37928 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37929 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37930 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37931 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37932 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37933 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37934 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37935 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37936 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37937 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37938 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37939 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37940 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37941 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37942 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37943 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37944 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37945 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37946 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37947 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37948 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37949 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37950 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37951 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37952 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37953 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37954 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37955 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37956 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37957 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37958 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37959 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37960 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37961 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37962 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37963 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37964 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37965 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37966 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37967 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37968 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37969 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37970 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37971 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37972 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37973 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37974 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37975 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37976 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37977 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37978 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37979 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37980 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37981 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37982 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37983 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37984 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37985 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37986 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37987 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37988 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37989 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37990 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37991 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37992 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37993 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37994 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37995 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37996 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37997 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37998 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37999 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38000 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38001 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38002 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38003 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38004 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38005 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38006 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38007 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38008 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38009 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38010 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38011 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38012 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38013 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38014 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38015 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38016
73c5ebe3
JM
38017 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38018 _XOPEN_SOURCE_EXTENDED for XPG4.
38019
39c33b6c
JM
38020 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38021
62fde54f
JM
38022 * Makeconfig (localtime): Remove variable.
38023 (inst_localtime-file): Likewise.
38024
0741d64c
AS
380252012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38026
38027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38028 Update.
38029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38030 Update.
38031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38032 Update.
38033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38034 Update.
38035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38036 Update.
38037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38038 Update.
38039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38040 Update.
38041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38042 Update.
38043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38044 Update.
38045
7cb029ee
JM
380462012-05-01 Joseph Myers <joseph@codesourcery.com>
38047
38048 [BZ #2550]
38049 [BZ #2570]
38050 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38051 comparisons to determine direction to adjust input.
38052 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38053 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38054 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38055 Likewise.
38056 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38057 Likewise.
38058 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38059 Likewise.
38060 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38061 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38062 Likewise.
38063 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38064 Likewise.
38065 * math/libm-test.inc (nexttoward_test): Add more tests.
38066
412bd966
AS
380672012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38068
38069 [BZ #14040]
38070 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38071 in version GLIBC_2.1, not GLIBC_2.0.
38072 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38073 Likewise.
38074
9568c0c2
JM
380752012-04-30 Joseph Myers <joseph@codesourcery.com>
38076
adfbc8ac
JM
38077 [BZ #13942]
38078 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38079 (1 - x) * (1 + x).
38080 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38081 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38082 * math/libm-test.inc (acos_test): Add more tests.
38083 (asin_test): Likewise.
38084 * sysdeps/i386/fpu/libm-test-ulps: Update.
38085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38086
5ba3cc69
JM
38087 [BZ #14034]
38088 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38089 of square root.
38090 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38091 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38092 * math/libm-test.inc (acos_test_tonearest): New function.
38093 (acos_test_towardzero): Likewise.
38094 (acos_test_downward): Likewise.
38095 (acos_test_upward): Likewise.
38096 (asin_test_tonearest): Likewise.
38097 (asin_test_towardzero): Likewise.
38098 (asin_test_downward): Likewise.
38099 (asin_test_upward): Likewise.
38100 (main): Call the new functions.
38101 * sysdeps/i386/fpu/libm-test-ulps: Update.
38102 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38103
9568c0c2
JM
38104 [BZ #13884]
38105 [BZ #13924]
38106 * math/e_exp10.c: Include <float.h>.
38107 (__ieee754_exp10): Handle underflow here rather than multiplying
38108 large negative argument by M_LN10.
38109 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38110 of __ieee754_expf.
38111 * math/e_exp10l.c: Include <float.h>.
38112 (__ieee754_exp10l): Handle underflow here rather than multiplying
38113 large negative argument by M_LN10l.
38114 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38115 spurious overflow exception on underflow.
38116
5ac3ea17
MP
381172012-04-29 Marek Polacek <polacek@redhat.com>
38118
38119 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38120 (__fortify_function): New macro.
38121 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38122 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38123 __extern_always_inline.
38124 * libio/bits/stdio2.h: Likewise.
38125 * libio/bits/stdio.h: Likewise.
38126 * string/string.h: Likewise.
38127 * string/bits/string3.h: Likewise.
38128 * include/stdio.h: Likewise.
38129 * stdlib/bits/stdlib.h: Likewise.
38130 * stdlib/stdlib.h: Likewise.
38131 * rt/bits/mqueue2.h: Likewise.
38132 * rt/mqueue.h: Likewise.
38133 * posix/bits/unistd.h: Likewise.
38134 * posix/unistd.h: Likewise.
38135 * io/bits/poll2.h: Likewise.
38136 * io/bits/fcntl2.h: Likewise.
38137 * io/fcntl.h: Likewise.
38138 * io/sys/poll.h: Likewise.
38139 * misc/bits/syslog.h: Likewise.
38140 * misc/bits/syslog-ldbl.h: Likewise.
38141 * misc/sys/syslog.h: Likewise.
38142 * socket/bits/socket2.h: Likewise.
38143 * socket/sys/socket.h: Likewise.
38144 * debug/tst-chk1.c: Likewise.
38145 * wcsmbs/bits/wchar2.h: Likewise.
38146 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38147 * wcsmbs/wchar.h: Likewise.
38148
ecf0ebfb
AJ
381492012-04-29 Andreas Jaeger <aj@suse.de>
38150
38151 * Makerules (tests): Remove enable-check-abi protection.
38152 (check-abi-warn): Remove.
38153 (check-abi-%): Remove check-abi-warn usage.
38154
38155 * configure.in: Remove check-abi configure option.
38156 * configure: Regenerated.
38157 * config.make.in (enable-check-abi): Remove.
38158
6d5c57fa
AS
381592012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38160
24c5d07e 38161 [BZ #14033]
ded5180a
AS
38162 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38163 double functions to double *_finite functions.
38164
7e0d315d
AS
38165 [BZ #13941]
38166 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38167 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38168 LDBL_MIN_EXP.
38169 * stdio-common/Makefile (tests): Add tst-sprintf3.
38170 * stdio-common/tst-sprintf3.c: New file.
38171
6d5c57fa
AS
38172 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38173 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38174
0749ff8b
JM
381752012-04-28 Joseph Myers <joseph@codesourcery.com>
38176
38177 * conform/conformtest.pl: Remove duplicate typed-constant
38178 handling.
38179
8dbd5d7b
DM
381802012-04-28 David S. Miller <davem@davemloft.net>
38181
38182 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38183 (check-abi-%): Remove AWK script prerequisite and explicit
38184 abilist directory.
38185 (check-abi): Rewrite to just diff the symlist with the abilist.
38186 (config-tls, config-abi-config): Delete, no longer used.
38187 (update-abi-%): Remove AWK script and explicit abilist directory.
38188 (update-abi): Rewrite to simply compare and conditionally copy the
38189 symlist and the sysdep abilist file. Remove update-abi-config
38190 checks.
38191 * abilist/ld.abilist: Remove.
38192 * abilist/libBrokenLocale.abilist: Remove.
38193 * abilist/libanl.abilist: Remove.
38194 * abilist/libcrypt.abilist: Remove.
38195 * abilist/libdl.abilist: Remove.
38196 * abilist/librt.abilist: Remove.
38197 * abilist/libthread_db.abilist: Remove.
38198 * abilist/libutil.abilist: Remove.
38199 * scripts/extract-abilist.awk: Remove.
38200 * scripts/merge-abilist.awk: Remove.
38201 * sysdeps/generic/libcidn.abilist: New file.
38202 * sysdeps/generic/libnss_compat.abilist: New file.
38203 * sysdeps/generic/libnss_db.abilist: New file.
38204 * sysdeps/generic/libnss_dns.abilist: New file.
38205 * sysdeps/generic/libnss_files.abilist: New file.
38206 * sysdeps/generic/libnss_hesiod.abilist: New file.
38207 * sysdeps/generic/libnss_nis.abilist: New file.
38208 * sysdeps/generic/libnss_nisplus.abilist: New file.
38209 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38210 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38211 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38212 file.
38213 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38214 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38215 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38216 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38217 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38218 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38219 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38220 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38221 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38222 file.
38223 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38224 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38225 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38226 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38227 file.
38228 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38229 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38230 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38231 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38232 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38233 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38234 file.
38235 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38236 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38237 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38238 file.
38239 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38240 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38241 New file.
38242 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38243 New file.
38244 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38245 New file.
38246 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38247 New file.
38248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38249 New file.
38250 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38251 New file.
38252 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38253 New file.
38254 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38255 New file.
38256 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38257 New file.
38258 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38259 New file.
38260 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38261 New file.
38262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38263 New file.
38264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38265 New file.
38266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38267 file.
38268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38269 New file.
38270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38271 New file.
38272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38273 file.
38274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38275 New file.
38276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38277 New file.
38278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38279 file.
38280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38281 New file.
38282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38283 New file.
38284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38285 New file.
38286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38287 New file.
38288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38289 New file.
38290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38291 New file.
38292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38294 file.
38295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38296 New file.
38297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38298 file.
38299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38300 file.
38301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38302 file.
38303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38304 file.
38305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38306 file.
38307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38308 New file.
38309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38310 file.
38311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38312 file.
38313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38314 New file.
38315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38316 file.
38317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38319 file.
38320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38321 New file.
38322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38323 file.
38324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38325 file.
38326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38327 file.
38328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38329 file.
38330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38331 file.
38332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38333 New file.
38334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38335 file.
38336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38337 file.
38338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38339 New file.
38340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38341 file.
38342 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38343 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38344 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38345 file.
38346 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38347 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38348 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38349 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38350 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38351 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38352 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38353 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38354 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38355 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38358 file.
38359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38360 New file.
38361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38362 file.
38363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38364 file.
38365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38366 file.
38367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38368 file.
38369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38370 file.
38371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38372 New file.
38373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38374 New file.
38375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38376 file.
38377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38378 New file.
38379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38380 file.
38381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38383 file.
38384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38385 New file.
38386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38387 file.
38388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38389 file.
38390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38391 file.
38392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38393 file.
38394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38395 file.
38396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38397 New file.
38398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38399 New file.
38400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38401 file.
38402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38403 New file.
38404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38405 file.
38406
41d73a1b
JM
384072012-04-28 Joseph Myers <joseph@codesourcery.com>
38408
38409 * conform/conformtest.pl: Fix typo in handling typed-constant from
38410 allow-header.
38411
28aeeda4
JM
384122012-04-27 Joseph Myers <joseph@codesourcery.com>
38413
adae8f5e
JM
38414 * README: Cut down references to pre-2.6 Linux kernels and
38415 Linuxthreads. Update lists of configurations in libc and ports
38416 and sort alphabetically. Say "or newer" with Linux kernel version
38417 requirements.
38418
28aeeda4
JM
38419 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38420
a462cb63
RA
384212012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38422
38423 [BZ #887]
38424 * math/libm-test.inc (logb_test_downward): New test to expose
38425 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38426 rounding mode.
38427
6ad3493e
JM
384282012-04-27 Joseph Myers <joseph@codesourcery.com>
38429
38430 [BZ #14027]
38431 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38432 to be done.
38433 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38434 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38435
2ce4f015
JM
384362012-04-26 Joseph Myers <joseph@codesourcery.com>
38437
5aeb141a
JM
38438 * sysdeps/unix/i386/brk.S: Remove file.
38439 * sysdeps/unix/i386/dl-brk.S: Likewise.
38440 * sysdeps/unix/i386/pipe.S: Likewise.
38441 * sysdeps/unix/i386/sigreturn.S: Likewise.
38442 * sysdeps/unix/i386/syscall.S: Likewise.
38443 * sysdeps/unix/i386/vfork.S: Likewise.
38444 * sysdeps/unix/i386/wait.S: Likewise.
38445
7143acae
JM
38446 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38447 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38448
2ce4f015
JM
38449 * configure.in (arm*-none*): Do not allow without
38450 --enable-hacker-mode.
38451 (netbsd*): Remove case setting base_os.
38452 (386bsd*): Likewise.
38453 (freebsd*): Likewise.
38454 (bsdi*): Likewise.
38455 (osf*): Likewise.
38456 (sunos*): Likewise.
38457 (ultrix*): Likewise.
38458 (newsos*): Likewise.
38459 (dynix*): Likewise.
38460 (*bsd*): Likewise.
38461 (sysv*): Likewise.
38462 (isc*): Likewise.
38463 (esix*): Likewise.
38464 (sco*): Likewise.
38465 (minix*): Likewise.
38466 (irix4*): Likewise.
38467 (irix6*): Likewise.
38468 (solaris[2-9]*): Likewise.
38469 (none): Likewise.
38470 * configure: Regenerated.
38471
0ac229c8
AZ
384722012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38473
38474 [BZ #11521]
38475 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38476 overflow or cancellation in calculating denominator.
38477 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38478 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38479 down expression to avoid unexpected rounding in newer GCCs.
38480 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38481
33f244f4
DM
384822012-04-26 David S. Miller <davem@davemloft.net>
38483
38484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38485 long-double compat symbols.
38486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38499
cfa1f3e8
DM
385002012-04-25 David S. Miller <davem@davemloft.net>
38501
38502 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38503 HWCAP_* values only after the memory barriers have been defined.
38504 (atomic_full_barrier): Define.
38505 (atomic_read_barrier): Define.
38506 (atomic_write_barrier): Define.
38507
6e236b92
SP
385082012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38509
38510 * shlib-versions: Add libgcc_s version information.
38511 * sysdeps/generic/libgcc_s.h: Remove.
38512 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38513 libgcc_s.h.
38514 * sysdeps/gnu/unwind-resume.c: Likewise.
38515 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38516
aab39a09
DM
385172012-04-25 David S. Miller <davem@davemloft.net>
38518
38519 * sysdeps/unix/sparc/brk.S: Delete.
38520 * sysdeps/unix/sparc/dl-brk.S: Delete.
38521 * sysdeps/unix/sparc/pipe.S: Delete.
38522 * sysdeps/unix/sparc/sysdep.S: Delete.
38523 * sysdeps/unix/sparc/sysdep.h: Delete.
38524 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
38525 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38526 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38527 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38528 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
38529 (JUMPTARGET): Remove.
38530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38531 sysdeps/unix/sparc/sysdep.h
38532 (ENTRY, END): Remove.
38533 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38534
a3cc4f48
JM
385352012-04-25 Joseph Myers <joseph@codesourcery.com>
38536
2ed8cda2
JM
38537 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38538 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38539 -DIS_IN_build.
38540
35d76d59
JM
38541 * timezone/README: Update upstream location and email address for
38542 tzcode and tzdata.
38543 * timezone/zdump.c: Update from tzcode 2012b.
38544 * timezone/zic.c: Likewise.
38545
a3cc4f48
JM
38546 * configure.in (libc_cv_as_needed): Remove test.
38547 * configure: Regenerated.
38548 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38549 conditional definition.
38550 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38551 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38552 * config.make.in (have-as-needed): Remove variable.
38553
ceab42c3
SP
385542012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38555 Paul Pluzhnikov <ppluzhnikov@google.com>
38556
38557 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38558 strings correctly.
38559
3ce2865f
CLT
385602012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38561
38562 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38563 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38564 * sysdeps/sh/strlen.S: Likewise.
38565
f37e0d68
JM
385662012-04-24 Joseph Myers <joseph@codesourcery.com>
38567
ae186e9a
JM
38568 * sysdeps/unix/fork.S: Remove file.
38569 * sysdeps/unix/i386/fork.S: Likewise.
38570 * sysdeps/unix/sparc/fork.S: Likewise.
38571
b96914af
JM
38572 * sysdeps/unix/system.c: Remove file.
38573 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38574
f37e0d68
JM
38575 * sysdeps/unix/getegid.S: Remove file.
38576 * sysdeps/unix/geteuid.S: Likewise.
38577
87ef29ca
RM
385782012-04-24 Roland McGrath <roland@hack.frob.com>
38579
83bcd236
RM
38580 * scripts/check-localplt.awk: New file.
38581 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38582 of diff.
38583 * scripts/data/localplt-generic.data: Add a comment.
38584
87ef29ca
RM
38585 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38586 NODE when __dir_mkfile failed.
38587 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38588 Reported by Ludovic Courtès <ludo@gnu.org>.
38589
e5a6e567
AJ
385902012-04-24 Andreas Jaeger <aj@suse.de>
38591
38592 * Makerules (common-clean): Also remove gen-as-const-headers
38593 files.
38594
c1820385
JM
385952012-04-24 Joseph Myers <joseph@codesourcery.com>
38596
38597 * Makerules (native-compile): Do not change working directory for
38598 build. Use $(OUTPUT_OPTION) in command.
38599 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38600
94e02fc4
AZ
386012012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38602
38603 [BZ #13886]
38604 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38605 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38606 * math/libm-test.inc (floor_test): Add more tests.
38607 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38608
3a533ca3
JM
386092012-04-24 Joseph Myers <joseph@codesourcery.com>
38610
940ab4b3
JM
38611 * sysdeps/unix/getdents.c: Remove file.
38612 * sysdeps/unix/sysv/getdents.c: Likewise.
38613 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38614
90e037bd
JM
38615 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38616 sysdeps/unix/mman/syscalls.list.
38617 (mmap): Likewise.
38618 (mprotect): Likewise.
38619 (msync): Likewise.
38620 (munmap): Likewise.
38621 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38622 * sysdeps/unix/mman/syscalls.list: Remove.
38623 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38624
3a533ca3
JM
38625 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38626 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38627 * configure: Regenerated.
38628 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38629 $(libgcc_s_suffix).
38630 * config.make.in (libgcc_s_suffix): Remove variable.
38631
1ad743de
JM
386322012-04-23 Joseph Myers <joseph@codesourcery.com>
38633
4ad451e2
JM
38634 * sysdeps/unix/sysv/gethostname.c: Move to ...
38635 * sysdeps/posix/gethostname.c: ... here.
38636
5e37ce39
JM
38637 * sysdeps/unix/execve.S: Remove file.
38638
1ad743de
JM
38639 * sysdeps/unix/_exit.S: Remove file.
38640
4e681b5b
AJ
386412012-04-23 Andreas Jaeger <aj@suse.de>
38642
38643 [BZ #13739]
38644 * manual/Makefile: Remove make dist support, there's no
38645 need for a stand-alone documentation tar ball.
38646 (TEXI2DVI): Define always, it's not in Makeconfig.
38647 (dist): Removed.
38648 (tar-it): Removed.
38649 (edition): Removed.
38650 (glibc-doc-$(edition).tar): Removed
38651 (%.Z): Removed.
38652 (%.gz): Removed.
38653 (%.uu): Removed.
38654 (ETAGS): Remove, it's in Makeconfig.
38655 (move-if-change): Remove, it's in Makeconfig.
38656
38686a03 386572012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
38658
38659 [BZ #13970]
38660 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38661 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38662 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38663 (strtod_l, strtof_l, strtold_l): Remove __wur.
38664 It is not necessarily an error to ignore strtol's return value.
38665 One can reliably look at the stored endptr to decide whether
38666 the number had valid syntax.
38667
7c0616fa
AJ
386682012-04-21 Andreas Jaeger <aj@suse.de>
38669
803cb6b7 38670 [BZ #13739]
7c0616fa
AJ
38671 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38672
b0fe253f
JM
386732012-04-21 Joseph Myers <joseph@codesourcery.com>
38674
38675 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38676 * sysdeps/unix/sysv/Versions: Remove file.
38677
8280f22d
MT
386782012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38679
38680 [BZ #13927]
38681 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38682
75ce411f 386832012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
38684
38685 [BZ #7064]
38686 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38687 version from __vm86.
38688
097d59fa
JM
386892012-04-20 Joseph Myers <joseph@codesourcery.com>
38690
a90f3bcb
JM
38691 * sysdeps/unix/common/lxstat.c: Remove file.
38692 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38693
edc7ea78
JM
38694 * sysdeps/unix/sysv/Makefile: Remove file.
38695
cb78c221
JM
38696 * sysdeps/unix/sysv/direct.h: Remove file.
38697
efa6a45f
JM
38698 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38699 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38700 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38701 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38702 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38703 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38704 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38705
9c9f2d0c
JM
38706 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38707
4541c83b
JM
38708 * sysdeps/unix/xmknod.c: Remove file.
38709 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38710
f5d153a0
JM
38711 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38712
aa746595
JM
38713 * sysdeps/unix/sysv/i386/time.S: Remove file.
38714
cce5905e
JM
38715 * sysdeps/unix/fxstat.c: Remove file.
38716 * sysdeps/unix/xstat.c: Likewise.
38717 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38718
37fa3841
JM
38719 * sysdeps/unix/sysv/sigaction.c: Remove file.
38720
ff1962a3
JM
38721 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38722 (sysdep_headers): Remove variable.
38723 [termio.h not in sysdep_headers] (generated): Likewise.
38724 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38725 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38726 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38727 * sysdeps/unix/sysv/tcflow.c: Likewise.
38728 * sysdeps/unix/sysv/tcflush.c: Likewise.
38729 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38730 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38731 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38732 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38733 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38734
e7740d31
JM
38735 * sysdeps/unix/siglist.c: Remove file.
38736
ee06f18b
JM
38737 * sysdeps/unix/getppid.S: Remove file.
38738
097d59fa
JM
38739 * sysdeps/unix/mkdir.c: Remove file.
38740 * sysdeps/unix/rmdir.c: Likewise.
38741
ff3d51ec
AS
387422012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38743
38744 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38745 ERR_MAX value.
38746 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38747 errlist-compat value.
38748
50f81fd7
DM
387492012-04-18 David S. Miller <davem@davemloft.net>
38750
38751 * sysdeps/generic/memcopy.h (reg_char): Delete.
38752 * debug/strcat_chk.c: Use char, not reg_char.
38753 * debug/strcpy_chk.c: Likewise.
38754 * debug/strncat_chk.c: Likewise.
38755 * debug/strncpy_chk.c: Likewise.
38756 * string/memchr.c: Likewise.
38757 * string/memrchr.c: Likewise.
38758 * string/rawmemchr.c: Likewise.
38759 * string/strcat.c: Likewise.
38760 * string/strchr.c: Likewise.
38761 * string/strchrnul.c: Likewise.
38762 * string/strcmp.c: Likewise.
38763 * string/strcpy.c: Likewise.
38764 * string/strncat.c: Likewise.
38765 * string/strncmp.c: Likewise.
38766 * string/strncpy.c: Likewise.
38767
8ff41c46
WS
387682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38769
38770 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38771 __builtin_memcopy is called when src and dest ranges are known to not
38772 overlap.
38773
6b652f46
WS
387742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38775
38776 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38777 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38778 fwd_align_merge macro call.
38779 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38780 bwd_align_merge macro call.
38781 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38782
b282631e
WS
387832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38784
38785 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38786 bwd_align_merge macros.
38787 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38788 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38789 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38790
95aa737c
DM
387912012-04-18 David S. Miller <davem@davemloft.net>
38792
38793 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38794
7a99a614
AJ
387952012-04-18 Andreas Jaeger <aj@suse.de>
38796
38797 [BZ# 6794]
38798 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38799 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38800 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38801
38802 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38803 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38804 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38805
38806 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38807 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38808 Adjust for changed ldbl-128 files.
38809
38810 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38811 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38812 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38813
e5270c23
DM
388142012-04-17 David S. Miller <davem@davemloft.net>
38815
38816 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38817
fb5e92c9
AS
388182012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38819
38820 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38821 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38822 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38823 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38824 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38825 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38826
76da7265
AZ
388272012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38828
38829 [BZ #6794]
38830 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38831 * math/libm-test.inc: Add ilogb errno and exception tests.
38832 * math/w_ilogb.c: New file: ilogb wrapper.
38833 * math/w_ilogbf.c: New file: ilogbf wrapper.
38834 * math/w_ilogbl.c: New file: ilogbl wrapper.
38835 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38836 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38837 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38838 exception being thrown with 0.0 as argument.
38839 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38840 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38841 exception being thrown with 0.0 as argument.
38842 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38843 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38844 exception being thrown with 0.0 as argument.
38845 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38846 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38847 exception being thrown with 0.0 as argument.
38848 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38849 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 38850 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
38851 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38852 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38853 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38854 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38855 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38856 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38857
0396e69d
PB
388582012-04-17 Petr Baudis <pasky@ucw.cz>
38859
38860 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38861 with altivec.
38862
750b5926
MP
388632012-04-16 Marek Polacek <polacek@redhat.com>
38864
38865 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38866
751728a1
MP
388672012-04-16 Marek Polacek <polacek@redhat.com>
38868
38869 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38870 operands of fdivp instruction.
38871
34a27407
L
388722012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38873
38874 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38875 * elf/tst-auditmod3b.c: Likewise.
38876 * elf/tst-auditmod4b.c: Likewise.
38877 * elf/tst-auditmod5b.c: Likewise.
38878 * elf/tst-auditmod6b.c: Likewise.
38879 * elf/tst-auditmod6c.c: Likewise.
38880 * elf/tst-auditmod7b.c: Likewise.
38881 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38882 * sysdeps/x86_64/preconfigure.in: Likewise.
38883 * sysdeps/x86_64/preconfigure: Regenerated.
38884
7e73e17d
L
388852012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38886
38887 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38888 __ILP32__.
38889
c7a6ab72
AB
388902012-04-13 Antoine Balestrat <merkil33@gmail.com>
38891
38892 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38893 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38894
a9e8e0e0
CL
388952012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38896
38897 [BZ #13973]
38898 * locale/iso-639.def: Fix gl language name. Spotted by
38899 Yaron Shahrabani.
38900
ec98af7d
RM
389012012-04-12 Roland McGrath <roland@hack.frob.com>
38902
38903 [BZ #2074]
38904 * libio/libio.h (__io_write_fn): Update comment.
38905
247c3ede
PB
389062012-04-12 Petr Baudis <pasky@ucw.cz>
38907
38908 [BZ #2074]
38909 * stdio.texi (Hook Functions): The user provided writer function
38910 is not allowed to return -1.
38911
55939d6d
DM
389122012-04-11 David S. Miller <davem@davemloft.net>
38913
38914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38915
90020f5a
MF
389162012-04-11 Mike Frysinger <vapier@gentoo.org>
38917
38918 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38919 Add a leading slash to rtkaio.
38920
288f9098
JM
389212012-04-11 Jim Meyering <meyering@redhat.com>
38922
90020f5a
MF
38923 [BZ #11959]
38924 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38925 It is not necessarily an error to ignore fwrite's return
38926 value. One can reliably use ferror to test for errors after
38927 the fact.
288f9098 38928
4be2b570
L
389292012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38930
38931 * bits/types.h (__snseconds_t): New type.
38932 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38933
38934 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38935 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38936 (__SNSECONDS_T_TYPE): Likewise.
38937 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38938 (__SNSECONDS_T_TYPE): Likewise.
38939 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38940 (__SNSECONDS_T_TYPE): Likewise.
38941
288f9098 389422012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
38943
38944 [BZ #2636]
38945 * manual/time.texi (Processor Time): Return type of times is
38946 elapsed real time since an arbitrary point in the past.
38947 (CPU Time): Move CLK_TCK from here...
38948 (Processor Time): ...to here. Correct description.
38949 * manual/conf.texi (Constants for Sysconf): Correct description of
38950 _SC_CLK_TCK.
38951
d7dd4413
DM
389522012-04-10 David S. Miller <davem@davemloft.net>
38953
38954 [BZ #13967]
38955 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38956 where the is a gap between DT_REL(A) and DT_JMPREL.
38957
b46068fc
L
389582012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38959
38960 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38961 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38962 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38963
73d65cc3
SP
389642012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38965
38966 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38967 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38968 (dl_main): Handle --inhibit-cache.
38969 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38970 _dl_inhibit_cache.
38971 * elf/dl-load.c (_dl_map_object): Use it.
38972 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38973
bcc8d661
JM
389742012-04-09 Joseph Myers <joseph@codesourcery.com>
38975
8f9a2fae
JM
38976 [BZ #13872]
38977 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38978 (__ieee754_powl): Saturate large exponents rather than testing for
38979 overflow of y*log2(x).
38980 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38981 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38982 exceptions.
38983
bcc8d661
JM
38984 [BZ #11521]
38985 * math/s_ctan.c: Include <float.h>.
38986 (__ctan): Avoid internal overflow or cancellation in calculating
38987 denominator.
38988 * math/s_ctanf.c: Likewise.
38989 * math/s_ctanl.c: Likewise.
38990 * math/s_ctanh.c: Likewise.
38991 * math/s_ctanhf.c: Likewise.
38992 * math/s_ctanhl.c: Likewise.
38993 * math/libm-test.inc (ctan_test): Add more tests.
38994 (ctanh_test): Likewise.
38995 * sysdeps/i386/fpu/libm-test-ulps: Update.
38996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38997
823fbbb4
AJ
389982012-04-09 Andreas Jaeger <aj@suse.de>
38999
03879793
AJ
39000 [BZ #6894]
39001 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39002 is an optional BSD extension.
39003
823fbbb4
AJ
39004 [BZ #10254]
39005 * manual/stdio.texi (Opening Streams): Document additional fopen
39006 parameters.
39007
8de131cb
RM
390082012-04-09 Roland McGrath <roland@hack.frob.com>
39009
39010 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39011 %eax without telling the compiler.
39012
c0ed9d7d
CD
390132012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
39014
39015 [BZ # 13963]
39016 * manual/install.texi: Use sourceware.org.
39017
c483f6b4
JM
390182012-04-09 Joseph Myers <joseph@codesourcery.com>
39019
d7dd9453
JM
39020 [BZ #13873]
39021 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39022 (__ieee754_pow): Generate overflow and underflow using huge*huge
39023 and tiny*tiny rather than just returning constant infinity or zero
39024 for large exponents.
39025 * math/libm-test.inc (pow_test): Require overflow exceptions for
39026 applicable cases of large exponents.
39027
c483f6b4
JM
39028 [BZ #706]
39029 * sysdeps/i386/fpu/e_pow.S (p10): New object.
39030 (__ieee754_pow): Use iterative multiplication algorithm only for
39031 integer exponents with absolute value below 1024. Check for odd
39032 integer exponents when using algorithm for real exponents.
39033 * math/libm-test.inc (pow_test): Add more tests.
39034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39035
d2de7579
JM
390362012-04-08 Joseph Myers <joseph@codesourcery.com>
39037
39038 [BZ #13705]
39039 * math/libm-test.inc (exp_test): Do not allow overflow exception
39040 on underflow test.
39041
f77f1232
AJ
390422012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39043
39044 [BZ #13705]
39045 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39046 instead of __kernel_standard_f.
39047
3884932b
MF
390482012-04-08 Mike Frysinger <vapier@gentoo.org>
39049
39050 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39051 * sysdeps/x86_64/memset_chk.S: Likewise.
39052
54472e9c
AJ
390532012-04-08 Andreas Jaeger <aj@suse.de>
39054
6ab0fbfc
AJ
39055 [BZ #10153]
39056 * manual/startup.texi (Environment Access): Describe return value
39057 for putenv and setenv.
39058
61efba8c
AJ
39059 [BZ #6895]
39060 * manual/filesys.texi (Directory Entries): Add description for
39061 DT_LNK.
39062
95c3f29a
AJ
39063 [BZ #6890]
39064 * manual/filesys.texi (Directory Entries): Clarify that it's file
39065 system not operating system in the description of DT_UNKNOWN.
39066
54472e9c
AJ
39067 [BZ #6578]
39068 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39069
624254b1
SC
390702012-04-08 Stephen Compall <s11@member.fsf.org>
39071
39072 [BZ #6649]
39073 * manual/llio.texi (Opening and Closing Files): Add cross
39074 reference to explain mode argument.
39075
1e4920e0
MF
390762012-04-07 Mike Frysinger <vapier@gentoo.org>
39077
39078 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39079 * sysdeps/x86_64/memset_chk.S: Likewise.
39080
5ed848f3
DM
390812012-04-07 David S. Miller <davem@davemloft.net>
39082
39083 * elf/elf.h (R_SPARC_WDISP10): Define.
39084 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39085 R_SPARC_SIZE32.
39086 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39087 R_SPARC_SIZE64 and R_SPARC_H34.
39088
96154cd8
CD
390892012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39090
39091 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39092 conditions and remove no longer applicable assertion.
39093
9904dc47
L
390942012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39095
39096 * bits/byteswap.h: Include <features.h>.
39097 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39098 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39099
f8887d0a
L
391002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39101
39102 * bits/byteswap.h (__bswap_16): Removed.
39103 Include <bits/byteswap-16.h> to get __bswap_16.
39104 * sysdeps/i386/bits/byteswap.h: Likewise.
39105 * sysdeps/s390/bits/byteswap.h: Likewise.
39106 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39107 * bits/byteswap-16.h: New file.
39108 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39109 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39110 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39111 * string/Makefile (headers): Add bits/byteswap-16.h.
39112
62470f60
PP
391132012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39114
39115 [BZ #13895]
39116 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39117 extra indirection.
39118 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39119 * nss/tst-nss-static.c: New.
39120
4dad7bab
RM
391212012-04-06 Robert Millan <rmh@gnu.org>
39122
39123 [BZ #6486]
39124 * manual/llio.texi (File Position Primitive): lseek
39125 refers to WHENCE when it really means OFFSET.
39126
e9142a17
AJ
391272012-04-06 Andreas Jaeger <aj@suse.de>
39128
2c040eff
AJ
39129 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39130 strncmp declarations.
39131
e9142a17
AJ
39132 * abilist/libc.abilist: Add __poll and __ppoll.
39133
ff9f1c5f
DM
391342012-04-05 David S. Miller <davem@davemloft.net>
39135
dcd2ae90
DM
39136 * scripts/check-local-headers.sh: Accept a host triplet in the
39137 path matched by the exclude regexp.
39138
993eb054
DM
39139 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39140 definition.
39141 * sysdeps/powerpc/powerpc32/dl-machine.h
39142 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39143 * sysdeps/s390/s390-32/dl-machine.h
39144 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39145 * sysdeps/sparc/sparc32/dl-machine.h
39146 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39147 * sysdeps/sparc/sparc64/dl-machine.h
39148 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39149
ff9f1c5f
DM
39150 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39151 lazy binding.
48e2e132 39152 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
39153 undefined symbol errors.
39154
48e2e132 39155 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
39156 DT_NEEDED entries.
39157
e80d6f94
MM
391582012-04-05 Michael Matz <matz@suse.de>
39159
39160 [BZ #13592]
39161 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39162
349fa79f
AJ
391632012-04-05 Andreas Jaeger <aj@suse.de>
39164
39165 [BZ #13908]
39166 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39167 comment.
39168
f402708f
KK
391692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39170
39171 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39172 which ROUND is no valid rounding mode.
39173
2ecccfc9
KK
391742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39175
39176 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39177 read again.
39178 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39179
8a53f50f
KK
391802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39181
39182 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39183 an exception using FPU order intentionally.
39184
391852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39186
39187 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39188 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39189 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39190 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39191
d653abb7
SJ
391922012-04-05 Simon Josefsson <simon@josefsson.org>
39193
39194 [BZ #12340]
39195 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39196 EINVAL when BUFLEN is too smal.
39197
c3b1bf7d
TS
391982012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39199
39200 [BZ #13553]
39201 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39202 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39203
b1aa60f3
AJ
392042012-04-03 Andreas Jaeger <aj@suse.de>
39205
c3b1bf7d 39206 [BZ #13938]
67f60a26
AJ
39207 * manual/setjmp.texi (System V contexts): Fix sentence.
39208
b1aa60f3
AJ
39209 [BZ #13926]
39210 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39211 New macro for this case.
39212 [!__GNUC__] (__bswap_64): New inline function for this case.
39213 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39214 * bits/byteswap.h: Likewise.
39215 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39216 ull, guard with __GLIBC_HAVE_LONG_LONG.
39217
39218 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39219 __GLIBC_HAVE_LONG_LONG.
39220
39221 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39222 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39223
39c59c35
TMQMF
392242012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39225
39226 [BZ #13691]
39227 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39228 inptr and inend, rather than using last_ch.
39229
135ffda8
DM
392302012-04-02 David S. Miller <davem@davemloft.net>
39231
39232 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39233 * stdio-common/printf-parse.h (read_int): Change return type to
39234 'int', return -1 on INT_MAX overflow.
39235 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39236 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39237 overflows INT_MAX. Check for overflow of in-format-string precision
39238 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39239 SIZE_MAX not INT_MAX for integer overflow test.
39240 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39241 skip the construct in the format string but do not record anything.
39242 * stdio-common/bug22.c: Adjust to test both width/prevision
39243 INT_MAX overflow as well as total length INT_MAX overflow. Check
39244 explicitly for proper errno values.
39245
228c019e
TS
392462012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39247
302cadd3
TS
39248 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39249 CHAR_MAX.
39250 * string/test-strcmp.c [! WIDE]: Likewise.
39251 * time/tst-mktime2.c: Likewise for INT_MAX.
39252 * string/test-string.h: #include <sys/param.h> for MIN.
39253
228c019e
TS
39254 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39255 * sysdeps/i386/init-first.c (init): Likewise.
39256 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39257 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39258 * sysdeps/sh/init-first.c (init): Likewise.
39259
cfa633f5
UD
392602012-04-01 Ulrich Drepper <drepper@gmail.com>
39261
39262 * po/ru.po: Update from translation team.
d1635ef8 39263 * po/vi.po: Likewise.
cfa633f5 39264
6cd0a5ea
SP
392652012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39266
39267 * resolv/nss_dns/dns-host.c: Merge copyright years.
39268
4b43400f
LD
392692012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39270
39271 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39272 Optimize memcpy with prefetch if
39273 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39274 src, dst pointers have unequal 16 byte alignments.
39275
48c41d04
SP
392762012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39277
39278 [BZ #13928]
39279 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39280 from a CNAME entry and return the minimum ttl for the query.
39281 (gaih_getanswer_slice): Likewise.
39282
b8dc394d
JL
392832012-03-30 Jeff Law <law@redhat.com>
39284
39285 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39286 due to long keys.
39287 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39288 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39289
2f5a5ed0
JL
39290 * resolv/nss_dns/dns-host.c: Update copyright year.
39291
1d39e359
UD
392922012-03-30 Ulrich Drepper <drepper@gmail.com>
39293
c030f70c 39294 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 39295 requests to save a system call. Fix check that all bytes are sent.
c030f70c 39296
1d39e359
UD
39297 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39298 comments for sendmmsg.
39299
393002012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
39301
39302 [BZ #13691]
39303 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39304 with only 1 character between 0x0041 and 0x01b0.
39305 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39306 * wcsmbs/tst-mbsnrtowcs.c: New file.
39307
20fde227
DM
393082012-03-29 David S. Miller <davem@davemloft.net>
39309
39310 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39311 small copies by hand.
39312
984a4237
JL
393132012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39314
39315 [BZ #13761]
57f41c40
AS
39316 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39317 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39318 group memberships.
984a4237 39319
18c9d62b
DM
393202012-03-28 David S. Miller <davem@davemloft.net>
39321
88d85d4f
DM
39322 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39323 that branches into memcpy.
39324 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39325 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39326 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39327 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39328 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39329 bits.
39330 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39331 implementation too.
39332 * sysdeps/sparc/mempcpy.S: New file.
39333
e5aa83e1
DM
39334 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39335 the IFUNC routine in the libc case.
39336 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39337
88570753
DM
39338 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39339 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39340 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39341 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39342 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39343 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39344 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39345 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39346
249d7567
DM
39347 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39348 loop to 256 bytes instead of 64 bytes and fix test signedness.
39349
18c9d62b
DM
39350 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39351 * sysdeps/sparc/sparc32/Makefile: rather than here...
39352 * sysdeps/sparc/sparc64/Makefile: and here.
39353
05f3d1f6
UD
393542012-03-28 Ulrich Drepper <drepper@gmail.com>
39355
39356 * malloc/mallocbug.c: Avoid warnings about unused variables.
39357
86ae07a8
JL
393582012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39359
39360 [BZ #13760]
39361 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39362 in the right place. Discard and retry query if response is
39363 larger than input buffer size.
39364
41bf21a1
JM
393652012-03-28 Joseph Myers <joseph@codesourcery.com>
39366
d6270972
JM
39367 [BZ #369]
39368 [BZ #2678]
39369 [BZ #3866]
39370 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39371 x for large integer exponent.
39372 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39373 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39374 sign of result as needed afterwards.
39375 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39376 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39377 result for underflowing pow the same as for overflow.
39378 (__kernel_standard_l): Handle powl overflow and underflow here
39379 rather than calling __kernel_standard.
39380 * math/libm-test.inc (pow_test): Add more tests.
39381
414fca03 39382 [BZ #3868]
41bf21a1
JM
39383 [BZ #13879]
39384 [BZ #13910]
39385 [BZ #13911]
39386 [BZ #13912]
39387 [BZ #13913]
39388 [BZ #13915]
39389 [BZ #13916]
39390 [BZ #13917]
39391 [BZ #13918]
39392 [BZ #13919]
39393 [BZ #13920]
39394 [BZ #13921]
39395 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39396 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39397 (__kernel_standard_l): New function.
39398 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39399 __kernel_standard.
39400 * math/w_acosl.c (__acosl): Likewise.
39401 * math/w_asinl.c (__asinl): Likewise.
39402 * math/w_atan2l.c (__atan2l): Likewise.
39403 * math/w_atanhl.c (__atanhl): Likewise.
39404 * math/w_coshl.c (__coshl): Likewise.
39405 * math/w_exp10l.c (__exp10l): Likewise.
39406 * math/w_exp2l.c (__exp2l): Likewise.
39407 * math/w_fmodl.c (__fmodl): Likewise.
39408 * math/w_hypotl.c (__hypotl): Likewise.
39409 * math/w_j0l.c (__j0l, __y0l): Likewise.
39410 * math/w_j1l.c (__j1l, __y1l): Likewise.
39411 * math/w_jnl.c (__jnl, __ynl): Likewise.
39412 * math/w_lgammal.c (__lgammal): Likewise.
39413 * math/w_log10l.c (__log10l): Likewise.
39414 * math/w_log2l.c (__log2l): Likewise.
39415 * math/w_logl.c (__logl): Likewise.
39416 * math/w_powl.c (__powl): Likewise.
39417 * math/w_remainderl.c (__remainderl): Likewise.
39418 * math/w_scalbl.c (sysv_scalbl): Likewise.
39419 * math/w_sinhl.c (__sinhl): Likewise.
39420 * math/w_sqrtl.c (__sqrtl): Likewise.
39421 * math/w_tgammal.c (__tgammal): Likewise.
39422 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39423 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39424 * math/libm-test.inc (acos_test): Add more tests.
39425 (acosh_test): Likewise.
39426 (asin_test): Likewise.
39427 (atanh_test): Likewise.
39428 (exp_test): Likewise.
39429 (exp10_test): Likewise.
39430 (exp2_test): Likewise.
39431 (expm1_test): Likewise.
39432 (lgamma_test): Likewise.
39433 (log_test): Likewise.
39434 (log10_test): Likewise.
39435 (log1p_test): Likewise.
39436 (log2_test): Likewise.
39437 (pow_test): Do not allow some spurious overflow exceptions.
39438 (sqrt_test): Add more tests.
39439 (tgamma_test): Likewise.
39440 (y0_test): Likewise.
39441 (y1_test): Likewise.
39442 (yn_test): Likewise.
39443
dd62fda6
AB
394442012-03-27 Anton Blanchard <anton@samba.org>
39445
39446 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39447 MAP_HUGETLB.
39448 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39449 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39450 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39451
1e3cdfda
AJ
394522012-03-27 David S. Miller <davem@davemloft.net>
39453
b855ab85
DM
39454 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39455
1e3cdfda
AJ
39456 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39457 have-as-vis3 check.
39458
394592012-03-27 Andreas Jaeger <aj@suse.de>
39460
39461 * sysdeps/x86_64/elf/configure.in: Moved to ...
39462 * sysdeps/x86_64/configure.in: ... here.
39463 * sysdeps/x86_64/elf/start.S: Moved to ...
39464 * sysdeps/x86_64/start.S: ... here.
39465 * sysdeps/x86_64/elf/configure: Delete.
39466
39467 * sysdeps/x86_64/configure.in: Merge contents from
39468 sysdeps/i386/configure.in (without i686 check).
39469
39470 * sysdeps/i386/elf/Versions: Merge into ...
39471 * sysdeps/i386/Versions: ... this.
39472 * sysdeps/i386/elf/Versions: Delete file.
39473 * sysdeps/i386/elf/start.S: Moved to ...
39474 * sysdeps/i386/start.S: ...here.
39475 * sysdeps/i386/elf/configure.in: Merge into...
39476 * sysdeps/i386/configure.in: ...here.
39477 * sysdeps/i386/elf/configure.in: Delete file.
39478 * sysdeps/i386/elf/configure: Delete file.
39479
39480 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39481 * debug/backtracesyms.c: ... here.
39482 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39483 * debug/backtracesymsfd.c: ... here.
39484 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39485 * sysdeps/generic/ifunc-sel.h: ... here.
39486
39487 * sysdeps/unix/i386/start.c: Delete file.
39488 * sysdeps/unix/sparc/start.c: Delete file.
39489 * sysdeps/unix/start.c: Delete file.
39490
39491 * sysdeps/sh/elf/configure.in: Moved to ...
39492 * sysdeps/sh/configure.in: ... here.
39493 * sysdeps/sh/elf/start.S: Moved to ...
39494 * sysdeps/sh/start.S: ... here.
39495 * sysdeps/sh/elf/configure: Delete file.
39496
39497 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39498 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39499 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39500 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39501 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39502 * sysdeps/powerpc/powerpc64/start.S: here.
39503 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39504 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39505 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39506 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39507 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39508
39509 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39510 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39511 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39512 * sysdeps/powerpc/powerpc32/start.S: ... here.
39513 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39514 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39515 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39516
39517 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39518 * sysdeps/powerpc/ifunc-sel.h: ... here.
39519 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39520 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39521
39522 * sysdeps/sparc/elf/configure.in: Moved to ...
39523 * sysdeps/sparc/configure.in: ... here.
39524 * sysdeps/sparc/elf/configure: Delete file.
39525 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39526 * sysdeps/sparc/sparc32/start.S: ... here.
39527 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39528 * sysdeps/sparc/sparc64/start.S: ... here.
39529 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39530 * sysdeps/sparc/sparc32/Makefile: ... this.
39531 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39532 * sysdeps/sparc/sparc64/Makefile: ... this.
39533
39534 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39535 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39536 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39537 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39538 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39539 * sysdeps/s390/s390-32/setjmp.S: ... here.
39540 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39541 * sysdeps/s390/s390-32/configure.in: ... here.
39542 * sysdeps/s390/s390-32/elf/configure: Delete file.
39543 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39544 * sysdeps/s390/s390-32/start.S: ... here.
39545
39546 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39547 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39548 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39549 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39550 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39551 * sysdeps/s390/s390-64/setjmp.S: ... here.
39552 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39553 * sysdeps/s390/s390-64/configure.in: ... here
39554 * sysdeps/s390/s390-64/elf/configure: Delete file.
39555 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39556 * sysdeps/s390/s390-64/start.S: ... here.
39557 * sysdeps/s390/s390-64/elf/configure: Delete.
39558
39559 * configure.in: Remove support for elf directories in sysdeps.
39560
39561 * configure: Regenerated.
39562 * sysdeps/i386/configure: Regenerated.
39563 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39564 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39565 * sysdeps/s390/s390-32/configure: Regenerated.
39566 * sysdeps/s390/s390-64/configure: Regenerated.
39567 * sysdeps/sh/configure: Regenerated.
39568 * sysdeps/sparc/configure: Regenerated.
39569 * sysdeps/x86_64/configure: Regenerated.
39570
a3f61311
AS
395712012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39572
c876e002
AS
39573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39574
a3f61311
AS
39575 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39576 denormal result into account.
39577
ac4c54f0
RM
395782012-03-25 Roland McGrath <roland@hack.frob.com>
39579
39580 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39581 Reported by Allan McRae <allan@archlinux.org>.
39582
6a9b9c02
JL
395832012-03-23 Jeff Law <law@redhat.com>
39584
39585 * nss/getnssent.c (__nss_getent): Fix typo.
39586
4c42a0c1
DM
395872012-03-23 David S. Miller <davem@davemloft.net>
39588
39589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39590
1532c7ac
L
395912012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39592
39593 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39594 to pad to uint64_t for each field.
39595 (dl_tls_index): Replace unsigned long with uint64_t.
39596
3ff42526
PP
395972012-03-23 Daniel Jacobowitz <dmj@google.com>
39598 Paul Pluzhnikov <ppluzhnikov@google.com>
39599
39600 [BZ #6528]
39601 * grp/Makefile (otherlibs): Don't set it.
39602 * inet/Makefile (otherlibs): Likewise.
39603 * login/Makefile (otherlibs): Likewise.
39604 * nscd/Makefile (otherlibs): Likewise.
39605 * posix/Makefile (otherlibs): Likewise.
39606 * pwd/Makefile (otherlibs): Likewise.
39607 * rt/Makefile (otherlibs): Likewise.
39608 * sunrpc/Makefile (otherlibs): Likewise.
39609 * nss/Makefile (otherlibs): Likewise.
39610 Add libnss_files to routines and static-only-routines.
39611 ($(objpfx)getent): Remove rule.
39612 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39613 static-only-routines.
39614
7c69cd14
JM
396152012-03-22 Joseph Myers <joseph@codesourcery.com>
39616
39617 [BZ #13892]
39618 * math/s_cexp.c: Include <float.h>.
39619 (__cexp): Handle exp result overflowing not necessarily
39620 overflowing both real and imaginary parts of result.
39621 * math/s_cexpf.c: Likewise.
39622 * math/s_cexpl.c: Likewise.
39623 * math/libm-test.inc (cexp_test): Add more tests.
39624 * sysdeps/i386/fpu/libm-test-ulps: Update.
39625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39626
81b035fe
L
396272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39628
39629 * include/link.h (ELFW): New macro.
39630 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39631 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39632
1da7940c
L
396332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39634
39635 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39636 with uint64_t.
39637
b749dbb9
L
396382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39639
39640 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39641 declaration.
39642 (struct La_x32_retval): Likewise.
39643
2ff87f3f
L
396442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39645
39646 * sysdeps/x86_64/preconfigure.in: New file.
39647 * sysdeps/x86_64/preconfigure: New generated file.
39648
c0df8e69
JM
396492012-03-22 Joseph Myers <joseph@codesourcery.com>
39650
48e44791
JM
39651 [BZ #13824]
39652 * math/e_exp2l.c: Include <float.h>.
39653 (__ieee754_exp2l): Handle overflow and underflow cases
39654 separately. Only pass fractional part of argument to
39655 __ieee754_expl.
39656 * math/libm-test.inc (exp2_test): Add more tests.
39657
c0df8e69
JM
39658 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39659 negating x to take absolute value.
39660 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39661 Likewise.
39662 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39663 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39664 Likewise.
39665 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39666 computing low part if x was negated.
39667 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39668
c8e43ba7
L
396692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39670
39671 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39672 la_x32_gnu_pltexit.
39673 (pltexit): Cast int_retval to ptrdiff_t.
39674 * elf/tst-auditmod3b.c: Likewise.
39675 * elf/tst-auditmod4b.c: Likewise.
39676 * elf/tst-auditmod5b.c: Likewise.
39677 * elf/tst-auditmod6b.c: Likewise.
39678 * elf/tst-auditmod6c.c: Likewise.
39679 * elf/tst-auditmod7b.c: Likewise.
39680
39681 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39682 and x32_gnu_pltexit.
39683
39684 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39685 __ELF_NATIVE_CLASS.
39686 (La_x32_regs): New macro.
39687 (La_x32_retval): Likewise.
39688 (la_x32_gnu_pltenter): New function prototype.
39689 (la_x32_gnu_pltexit): Likewise.
39690
7998fa78
AS
396912012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39692
dcb33988
AS
39693 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39694 exponent.
39695
233fc563
AS
39696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39697
7998fa78
AS
39698 * configure.in (libc_cv_cc_nofma): Check for option to disable
39699 generation of FMA instructions.
39700 * configure: Regenerate.
39701 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39702 * sysdeps/ieee754/dbl-64/Makefile: New file.
39703 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39704 Remove brandred-fma4.
39705 (CFLAGS-brandred-fma4.c): Remove.
39706 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39707 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39708 define.
39709 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39710 define.
39711
8e95c99a
L
397122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39713
39714 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39715 LLONG_MAX != LONG_MAX.
39716 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39717 (_fitoa_word): Likewise.
39718 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39719 LLONG_MAX != LONG_MAX.
39720 * stdio-common/_itowa.h: Include <_itoa.h>.
39721 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39722 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39723 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39724 only if not defined.
39725 (_ITOA_WORD_TYPE): Likewise.
39726 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39727 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39728
6f4db457
DM
397292012-03-21 David S. Miller <davem@davemloft.net>
39730
39731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39732
7785fe5a
L
397332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39734
39735 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39736 of x86_64 when setting libc_cv_slibdir, libdir and
39737 libc_cv_localedir.
39738 * sysdeps/unix/sysv/linux/configure: Regenerated.
39739
4535cd55
JM
397402012-03-21 Joseph Myers <joseph@codesourcery.com>
39741
39742 * manual/lang.texi (Old Varargs): Remove section.
39743 (How Variadic): Update menu.
39744 (va_start): Do not mention varargs.h.
39745
17228132
TS
397462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39747 Joseph Myers <joseph@codesourcery.com>
39748
39749 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39750 link test.
39751 * configure: Regenerated.
39752
8149f976
TS
397532012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39754
05f3d1f6
UD
39755 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39756 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39757 conformtest.pl
8149f976 39758
1a4ac776
JM
397592012-03-21 Joseph Myers <joseph@codesourcery.com>
39760
be22ce65
JM
39761 * NOTES: Remove.
39762 * Makefile (files-for-dist): Remove NOTES.
39763 (NOTES): Remove rule.
39764 * README: Don't refer to NOTES.
39765 * manual/creature.texi: Don't include macros.texi.
39766 * manual/intro.texi (creature.texi): Remove comment referring to
39767 NOTES.
39768
40b601fb
JM
39769 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39770 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39771 * configure: Regenerated.
39772 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39773 LIBC_TRY_CC_OPTION.
39774 (libc_cv_as_i686): Likewise.
39775 (libc_cv_cc_avx): Likewise.
39776 (libc_cv_cc_sse2avx): Likewise.
39777 (libc_cv_cc_fma4): Likewise.
39778 (libc_cv_cc_novzeroupper): Likewise.
39779 * sysdeps/i386/configure: Regenerated.
39780
1a4ac776
JM
39781 [BZ #13883]
39782 * sysdeps/i386/fpu/s_cexp.S: Remove.
39783 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39784 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39785 * math/libm-test.inc (cexp_test): Add more tests.
39786 * sysdeps/i386/fpu/libm-test-ulps: Update.
39787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39788
a458e7fe
AM
397892012-03-21 Allan McRae <allan@archlinux.org>
39790
39791 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39792
0cb7efc5
JM
397932012-03-21 Joseph Myers <joseph@codesourcery.com>
39794
39795 [BZ #13871]
39796 * math/w_exp2.c: Do not include <float.h>.
39797 (o_threshold, u_threshold): Remove.
39798 (__exp2): Calculate result before checking finiteness and calling
39799 __kernel_standard.
39800 * math/w_exp2f.c: Likewise.
39801 * math/w_exp2l.c: Likewise.
39802 * math/libm-test.inc (exp2_test): Require overflow exception for
39803 1e6 input.
2460d3aa
JM
39804
39805 [BZ #3866]
39806 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39807 range of signed 64-bit integers before using fistpll. Remove
39808 checks for whether integers fit in mantissa bits.
39809 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39810 the range of signed 32-bit integers before using fistpl. Remove
39811 checks for whether integers fit in mantissa bits.
39812 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39813 (__ieee754_powl): Test for y outside the range of signed 64-bit
39814 integers before using fistpll. Reduce 64-bit values to 63-bit
39815 ones as needed.
39816 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39817 divide-by-zero is raised for zero to large negative powers.
39818 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39819 (__ieee754_powl): Test for y outside the range of signed 64-bit
39820 integers before using fistpll. Reduce 64-bit values to 63-bit
39821 ones as needed.
39822 * math/libm-test.inc (pow_test): Add more tests.
39823
eb96ffb0
L
398242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39825
39826 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39827 <stdio-common/_itoa.h>.
39828 * debug/segfault.c: Likewise.
39829 * elf/dl-cache.c: Likewise.
39830 * elf/dl-minimal.c: Likewise.
39831 * elf/dl-misc.c: Likewise.
39832 * elf/dl-sysdep.c: Likewise.
39833 * elf/dl-version.c: Likewise.
39834 * elf/rtld.c: Likewise.
39835 * hurd/hurdsock.c: Likewise.
39836 * hurd/lookup-retry.c: Likewise.
39837 * malloc/malloc.c: Likewise.
39838 * malloc/mtrace.c: Likewise.
39839 * nscd/nscd_getgr_r.c: Likewise.
39840 * nscd/nscd_getpw_r.c: Likewise.
39841 * nscd/nscd_getserv_r.c: Likewise.
39842 * posix/getopt_init.c: Likewise.
39843 * posix/wordexp.c: Likewise.
39844 * stdio-common/_itoa.c: Likewise.
39845 * stdio-common/printf_fphex.c: Likewise.
39846 * stdio-common/vfprintf.c: Likewise.
39847 * string/_strerror.c: Likewise.
39848 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39849 * sysdeps/i386/i686/hp-timing.h: Likewise.
39850 * sysdeps/mach/_strerror.c: Likewise.
39851 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39852 * sysdeps/mach/hurd/sethostid.c: Likewise.
39853 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39854 * sysdeps/mach/xpg-strerror.c: Likewise.
39855 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39856 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39857 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39858 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39859 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39860 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39861 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39862 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39863 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39864 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39865 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39866 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39867 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39868 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39869 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39870 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39871 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39872 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39873 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39874 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39875 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39876
39877 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39878
39879 * stdio-common/_itoa.h: Moved to ...
39880 * sysdeps/generic/_itoa.h: Here.
39881
39882 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39883
39884 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39885 instead of "_itoa.h" and "_itowa.h".
39886 * stdio-common/vfprintf.: Likewise.
39887
d1af992d
L
398882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39889
39890 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39891 <bits/wordsize.h>.
39892 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39893 (__signbit): Likwise.
39894 (llrintf): Likwise.
39895 (llrint): Likwise.
39896
114883e0
L
398972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39898
39899 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39900 __WORDSIZE != 64.
39901
c135cc1b
JM
399022012-03-20 Joseph Myers <joseph@codesourcery.com>
39903
39904 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39905 OVERFLOW_EXCEPTION_OK.
39906 * math/libm-test.inc ("Philosophy"): Update comment about
39907 exception testing.
39908 (OVERFLOW_EXCEPTION): Define.
39909 (OVERFLOW_EXCEPTION_OK): Likewise.
39910 (INVALID_EXCEPTION_OK): Renumber.
39911 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39912 (IGNORE_ZERO_INF_SIGN): Likewise.
39913 (test_exceptions): Handle FE_OVERFLOW.
39914 (exp10_test): Expect overflow exceptions.
39915 (exp2_test): Likewise.
39916 (expm1_test): Likewise.
39917 (nextafter_test): Likewise.
39918 (pow_test): Likewise.
39919 (scalbn_test): Likewise.
39920 (scalbln_test): Likewise.
39921
95443d88
L
399222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39923
39924 * sysdeps/x86_64/bits/atomic.h
39925 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39926 64bit integer.
39927 (atomic_exchange_acq): Likewise.
39928 (__arch_exchange_and_add_body): Likewise.
39929 (__arch_add_body): Likewise.
39930 (atomic_add_negative): Likewise.
39931 (atomic_add_zero): Likewise.
39932
490df6c4
L
399332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39934
c2722551 39935 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
39936 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39937
5e52b189
L
399382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39939
39940 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39941 Check __x86_64__ instead of __WORDSIZE.
39942
a9879d4c
L
399432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39944
39945 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39946
5df98260
DM
399472012-03-19 David S. Miller <davem@davemloft.net>
39948
e1497744
DM
39949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39950
5df98260
DM
39951 * sysdeps/sparc/fpu/fenv_private.h: New file.
39952 * sysdeps/sparc/fpu/math_private.h: Use it.
39953 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39954 Remove.
57f41c40 39955 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
39956 (libc_feholdexcept_setroundl): Remove.
39957 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39958 Remove.
39959 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39960 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39961
b4c35121
L
399622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39963
39964 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39965 int64_t instead of long int.
39966 (INSERT_WORDS64): Likwise.
39967
56965fd7
L
399682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39969
39970 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39971 _Unwind_GetCFA return to _Unwind_Ptr first.
39972
83d1aec8
JM
399732012-03-19 Joseph Myers <joseph@codesourcery.com>
39974
1897ad44
JM
39975 [BZ #13629]
39976 * math/s_clog.c: Include <float.h>.
39977 (__clog): Scale large or subnormal inputs.
39978 * math/s_clogf.c: Likewise.
39979 * math/s_clogl.c: Likewise.
39980 * math/s_clog10.c: Include <float.h>.
39981 (M_LOG10_2): Define.
39982 (__clog10): Scale large or subnormal inputs.
39983 * math/s_clog10f.c: Likewise.
39984 * math/s_clog10l.c: Likewise.
39985 * math/libm-test.inc (clog_test): Add more tests.
39986 (clog10_test): Likewise.
39987 * sysdeps/i386/fpu/libm-test-ulps: Update.
39988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39989
7726d6a9
JM
39990 [BZ #11451]
39991 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39992 x and y.
39993 * math/libm-test.inc (atan2_test): Add another test.
39994
83d1aec8
JM
39995 * Makerules (common-objdir-compile): Remove.
39996 * sysdeps/unix/Makefile (config-generated): Do not add
39997 $(unix-generated) to variable.
39998 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39999 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40000 Remove rule.
40001 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40002 Likewise.
40003 [generic bits/local_lim.h] (before-compile): Do not append to
40004 variable.
40005 [generic bits/local_lim.h] (common-generated): Likewise.
40006 [generic sys/param.h] (before-compile): Do not append to variable.
40007 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40008 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40009 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40010 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40011 include.
40012 [generic sys/param.h] (sys/param.h-includes): Remove variable.
40013 [generic sys/param.h] (sys/param.h-includes): Remove rule.
40014 [generic sys/param.h] ($(addprefix
40015 $(common-objpfx),$(sys/param.h-includes))): Likewise.
40016 [generic sys/param.h] (common-generated): Do not append to
40017 variable.
40018 [generic sys/param.h] (sysdep_headers): Likewise.
40019 [generic bits/errno.h] (before-compile): Do not append to
40020 variable.
40021 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40022 rule.
40023 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40024 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40025 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40026 [generic bits/errno.h] (common-generated): Do not append to
40027 variable.
40028 [generic bits/ioctls.h] (before-compile): Do not append to
40029 variable.
40030 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40031 rule.
40032 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40033 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40034 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40035 rule.
40036 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40037 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40038 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40039 [generic bits/ioctls.h] (common-generated): Do not append to
40040 variable.
40041 [generic sys/syscall.h] (syscall.h): Remove variable.
40042 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40043 rule.
40044 [generic sys/syscall.h] (before-compile): Do not append to
40045 variable.
40046 [generic sys/syscall.h] (common-generated): Likewise.
40047 * sysdeps/unix/errnos-tmpl.c: Remove file.
40048 * sysdeps/unix/errnos.awk: Likewise.
40049 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40050 * sysdeps/unix/ioctls.awk: Likewise.
40051 * sysdeps/unix/mk-local_lim.c: Likewise.
40052 * sysdeps/unix/snarf-ioctls: Likewise.
40053
4851a949
RH
400542012-03-19 Richard Henderson <rth@twiddle.net>
40055
bd37f2ee
RH
40056 * sysdeps/i386/fpu/fenv_private.h: New file.
40057 * sysdeps/i386/fpu/math_private.h: Use it.
40058 (math_opt_barrier, math_force_eval): Remove.
40059 (libc_feholdexcept_setround_53bit): Remove.
40060 (libc_feupdateenv_53bit): Remove.
40061 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40062 (math_opt_barrier, math_force_eval): Remove.
40063 (libc_feholdexcept): Remove.
40064 (libc_feholdexcept_setround): Remove.
40065 (libc_fetestexcept, libc_fesetenv): Remove.
40066 (libc_feupdateenv_test): Remove.
40067 (libc_feupdateenv, libc_feholdsetround): Remove.
40068 (libc_feresetround): Remove.
40069
d0adc922
RH
40070 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40071 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40072
0fe0f1f8
RH
40073 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40074 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40075 (libc_feupdateenv_testl): New.
40076 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40077 (libc_feupdateenv_testf): New.
40078 (libc_feupdateenv): Use libc_feupdateenv_test.
40079 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40080 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40081
eb92c487
RH
40082 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40083 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40084 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40085 (libc_feresetround_noex): New.
40086 (libc_feresetround_noexf): New.
40087 (libc_feresetround_noexl): New.
40088 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40089 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40090 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40091 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40092 SET_RESTORE_ROUND.
40093 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40094 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40095 (__cos): Likewise.
40096 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40097 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40098 SET_RESTORE_ROUND_NOEX.
40099 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40100 SET_RESTORE_ROUND_NOEXF.
40101 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40102 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40103 (libc_feholdsetroundf): New.
40104 (libc_feresetround, libc_feresetroundf): New.
40105
7d2e8012
RH
40106 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40107 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40108 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40109
b4dabbb4
RH
40110 * sysdeps/generic/math_private.h: Include <fenv.h>.
40111 (default_libc_feholdexcept): New.
40112 (default_libc_feholdexcept_setround): New.
40113 (default_libc_fesetenv, default_libc_feupdateenv): New.
40114 (libc_feholdexcept): Only define if undefined.
40115 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40116 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40117 (libc_feholdexcept_setroundl): Likewise.
40118 (libc_feholdexcept_setround_53bit): Likewise.
40119 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40120 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40121 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40122 (libc_feupdateenv_53bit): Likewise.
40123 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40124 (libc_feholdexcept): Convert from macro to inline function.
40125 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40126 (libc_fesetenv, libc_feupdateenv): Likewise.
40127
4851a949
RH
40128 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40129 not previously defined.
40130 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40131 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40132 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40133 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40134 * sysdeps/ieee754/flt-32/math_private.h: New file.
40135 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40136 math_private.h below SET_FLOAT_WORD.
40137 (__isnan, __isinf_ns, __finite): Remove.
40138 (__isnanf, __isinf_nsf, __finitef): Remove.
40139
e79d442e
AS
401402012-03-18 Andreas Schwab <schwab@linux-m68k.org>
40141
40142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40143
90b80344
DM
401442012-03-17 David S. Miller <davem@davemloft.net>
40145
40146 [BZ #6471]
40147 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40148 for 2.16.
40149
edc21804
DM
401502012-03-16 David S. Miller <davem@davemloft.net>
40151
77e927af
DM
40152 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40153 warnings.
40154
374976dd
DM
40155 [BZ #6471]
40156 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40157 properly.
40158 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40159 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40160 sysdep_routines when subdir is sysvipc.
40161 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40162 __getshmlba helper.
40163
edc21804
DM
40164 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40165
473c3ef3
L
401662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40167
40168 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40169 [__LP64__].
40170
eb0f39b6
L
401712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40172
40173 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40174 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40175 (__lround): Renamed to ...
40176 (__llround): This. Replace long int with long long int.
40177 Define lround functions as aliases of llround functions.
40178 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40179
6b6cd74b
L
401802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40181
40182 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40183 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40184 adresses to uintptr_t. Replace "long int" and "unsigned long
40185 int" with "greg_t" on va_arg.
40186
f1a77b01
L
401872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40188
40189 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40190 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40191
40192 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40193 Move e_machine check before EI_CLASS check. Handle x32
40194 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40195 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40196 SKIP_EM_IA_64 and include
40197 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40198
40199 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40200 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40201 (add_system_dir): New macro.
40202
40203 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40204 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40205
11b90b9f
JM
402062012-03-16 Joseph Myers <joseph@codesourcery.com>
40207
c36e1d23
JM
40208 [BZ #2551]
40209 [BZ #2552]
40210 [BZ #2553]
40211 [BZ #2554]
40212 [BZ #2562]
40213 [BZ #2563]
40214 [BZ #2565]
40215 [BZ #2566]
40216 [BZ #2576]
40217 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40218 (y0): Likewise.
40219 * math/w_j0f.c (j0f): Likewise.
40220 (y0f): Likewise.
40221 * math/w_j0l.c (__j0l): Likewise.
40222 (__y0l): Likewise.
40223 * math/w_j1.c (j1): Likewise.
40224 (y1): Likewise.
40225 * math/w_j1f.c (j1f): Likewise.
40226 (y1f): Likewise.
40227 * math/w_j1l.c (__j1l): Likewise.
40228 (__y1l): Likewise.
40229 * math/w_jn.c (jn): Likewise.
40230 (yn): Likewise.
40231 * math/w_jnf.c (jnf): Likewise.
40232 (ynf): Likewise.
40233 * math/w_jnl.c (__jnl): Likewise.
40234 (__ynl): Likewise.
40235 * math/libm-test.inc (j0_test): Add more tests.
40236 (j1_test): Likewise.
40237 (jn_test): Likewise. Add trailing semicolon to existing test.
40238 (y0_test): Likewise.
40239 (y1_test): Likewise.
40240 * sysdeps/i386/fpu/libm-test-ulps: Update.
40241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40242
11b90b9f
JM
40243 [BZ #13851]
40244 [BZ #13854]
40245 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40246 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40247 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40248 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40249 (__tanl): Set errno for infinite argument.
40250 * sysdeps/i386/fpu/mptan.c: Remove.
40251 * sysdeps/i386/fpu/s_tan.S: Likewise.
40252 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40253 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40254 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40255 * math/libm-test.inc (tan_test): Add more tests and enable more
40256 tests for double and long double.
40257 * sysdeps/i386/fpu/libm-test-ulps: Update.
40258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40259
6a1bd2a1
JK
402602012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40261
40262 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40263 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40264
10a803e0
RM
402652012-03-16 Roland McGrath <roland@hack.frob.com>
40266
40267 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40268 * configure.in: Use it for both main tree and add-ons.
40269 * configure: Regenerated.
40270
f196c7f7
L
402712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40272
40273 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40274
8848d99d
JM
402752012-03-16 Joseph Myers <joseph@codesourcery.com>
40276
96cbe7f4
JM
40277 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40278 in comment.
40279
8848d99d
JM
40280 [BZ #13851]
40281 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40282 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40283 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40284 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40285 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40286 infinite argument.
40287 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40288 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40289 != 0 for prec == 2.
40290 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40291 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40292 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40293 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40294 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40295 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40296 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40297 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40298 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40299 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40300 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40301 * math/libm-test.inc (cos_test): Add more tests and enable more
40302 tests for long double.
40303 (sin_test): Likewise.
40304 (sincos_test): Likewise.
40305 * sysdeps/i386/fpu/libm-test-ulps: Update.
40306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40307
dd7f4703
DM
403082012-03-16 David S. Miller <davem@davemloft.net>
40309
40310 * sysdeps/sparc/fpu/math_private.h: New file.
40311
006f1daa
DM
403122012-03-15 David S. Miller <davem@davemloft.net>
40313
c0c83bc8
DM
40314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40315 file.
e6a62e18 40316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
40317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40318 file.
e6a62e18
DM
40319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40324 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40325 sysdep routines.
40326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40327
88cb87d9
DM
40328 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40329 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40330
006f1daa 40331 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
40332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40333 sparc-ifunc.h
006f1daa 40334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
40335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40336 Likewise.
40337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40338 Likewise.
006f1daa
DM
40339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
40342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40343 Likewise.
006f1daa
DM
40344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
40348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40349 Likewise.
40350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40351 Likewise.
006f1daa
DM
40352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40358 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40359 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40360 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40361 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40370 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40371 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40372 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40373 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40374 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40375 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40376
11e0098e
AS
403772012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40378
40379 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40380 scaling.
40381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40382
e85b09d0
AJ
403832012-03-15 Andreas Jaeger <aj@suse.de>
40384
40385 [BZ #13852]
40386 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40387 ieee754/flt-32 implementation for sin, cos and sincos.
40388 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40389 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40390 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40391 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40392 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40393 ieee754/flt-32 implementation for tan.
40394
40395 * math/libm-test.inc (cos_test): Enable some large input tests for
40396 float as well
40397 (sin_test): Likewise.
40398 (sincos_test): Likewise.
40399 (tan_test): Add tests for large input.
40400
40401 * sysdeps/i386/fpu/libm-test-ulps: Update.
40402
81c64153
AJ
404032012-03-15 Andreas Jaeger <aj@suse.de>
40404
40405 [BZ #13658]
40406 * math/libm-test.inc (cos_test): Add more test cases.
40407 (sin_test): Likewise.
40408 (sincos_test): Likewise.
40409
7bbfa5c6
AJ
404102012-03-15 Andreas Jaeger <aj@suse.de>
40411
40412 [BZ #13837]
40413 * math/libm-test.inc (cos_test): Add a test case for large input
40414 value.
40415 (sin_test): Likewise.
40416 (sincos_test): Likewise.
40417
57f41c40
AS
404182012-03-15 Andreas Jaeger <aj@suse.de>
40419 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
40420
40421 [BZ #13658]
0671f479 40422 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
40423 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40424 * sysdeps/i386/fpu/branred.c: Likewise.
40425 * sysdeps/i386/fpu/dosincos.c: Likewise.
40426 * sysdeps/i386/fpu/mpa.c: Likewise.
40427 * sysdeps/i386/fpu/s_cos.S: Likewise.
40428 * sysdeps/i386/fpu/s_sin.S: Likewise.
40429 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40430 * sysdeps/i386/fpu/sincos32.c: Likewise.
40431
40432 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40433 Define.
40434 (libc_feupdateenv_53bit): Define.
40435 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40436 Define.
40437 (libc_feupdateenv_53bit): Define.
40438
40439 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40440 53 bit (without extend i386 double precision).
40441
40442 * math/libm-test.inc (sincos_test): Add tests for large input.
40443 (sin): Likewise.
40444 (cos): Likewise.
40445
40446 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40447
9cad04ea
AS
404482012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40449
40450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40451
f7062b9a
DM
404522012-03-15 David S. Miller <davem@davemloft.net>
40453
40454 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40455 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40456 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40457 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40466 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40468 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
40469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40470 file.
f7062b9a 40471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
40472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40473 file.
f7062b9a 40474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
40475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40476 file.
f7062b9a 40477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
40478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40479 file.
f7062b9a
DM
40480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40481 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40482 fmin/fmax sysdep routines.
40483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40484
7bd951ff
DM
404852012-03-14 David S. Miller <davem@davemloft.net>
40486
559398ab
DM
40487 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40488 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40490 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40491 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40492 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40493 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40494 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40495 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40496 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40497 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40499 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40500 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40501 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40502 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40503 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40504 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40505 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40507 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40508 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40509 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40510 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40511 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40512 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40513 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40514 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
40515 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40516 routines.
40517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40518 file.
559398ab 40519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
40520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40521 file.
559398ab 40522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
40523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40524 file.
559398ab 40525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
40526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40527 file.
559398ab 40528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
40529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40530 file.
559398ab 40531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
40532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40533 file.
40534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40535 file.
40536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40537 file.
40538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40539 file.
40540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40541 New file.
40542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40543 file.
40544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40545 file.
559398ab 40546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
40547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40548 file.
559398ab 40549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
40550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40551 file.
559398ab 40552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
40553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40554 file.
559398ab 40555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
40556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40557 VIS3 routines.
559398ab
DM
40558
40559 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40560 New file.
40561
5a1c1e32
DM
40562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40563
eae47a36
DM
40564 * sysdeps/sparc/configure.in: New file.
40565 * sysdeps/sparc/configure: Generate.
40566 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40567 * configure: Regenerate.
40568 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40569 * config.make.in (have-as-vis3): New.
40570 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40571 available use -Av9d instead of -Av9a.
40572 * sysdeps/sparc/sparc64/Makefile: Likewise.
40573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
40574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40575 New file.
40576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40577 file.
40578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40579 New file.
40580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40581 file.
eae47a36
DM
40582 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40583 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40584 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40585 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40586 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40587
c0c83bc8
DM
40588 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40589 fzeros/fnegs to load 0x80000000 into a float register instead of
40590 using the stack.
7bd951ff
DM
40591 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40592
bd951ccb
JM
405932012-03-14 Joseph Myers <joseph@codesourcery.com>
40594
40595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40596 bits/syscall.h.
40597 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40598 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40599 ($(inst_includedir)/bits/syscall.h): Remove rule.
40600 ($(objpfx)bits/syscall.d): Include instead of
40601 $(objpfx)syscall-list.d.
40602 (generated): Change syscall-list.h and syscall-list.d to
40603 bits/syscall.h and bits/syscall.d.
40604
bb4e6db2
RM
406052012-03-14 Roland McGrath <roland@hack.frob.com>
40606
40607 [BZ #13846]
40608 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40609
aa4a2ae1
JM
406102012-03-14 Joseph Myers <joseph@codesourcery.com>
40611
e456826d
JM
40612 [BZ #13841]
40613 * math/s_csqrt.c: Include <float.h>.
40614 (__csqrt): Scale large or subnormal inputs.
40615 * math/s_csqrtf.c: Likewise.
40616 * math/s_csqrtl.c: Likewise.
40617 * math/libm-test.inc (csqrt_test): Add more tests.
40618 * sysdeps/i386/fpu/libm-test-ulps: Update.
40619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40620
aa4a2ae1
JM
40621 [BZ #13840]
40622 * math/libm-test.inc (hypot_test): Add more tests.
40623
7c10fd35
DM
406242012-03-13 David S. Miller <davem@davemloft.net>
40625
40626 [BZ #13840]
40627 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40628 double-precision for the calculation instead of scaling.
40629
f453b98b
JM
406302012-03-13 Joseph Myers <joseph@codesourcery.com>
40631
40632 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40633 manipulate bits before adding and subtracting TWO52[sx].
40634 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40635 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40636 Likewise.
40637 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40638
09a3453f
DM
406392012-03-13 David S. Miller <davem@davemloft.net>
40640
8e59da90
DM
40641 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40642 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40643 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40644 rtld-global-offsets.h
40645 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40646
2a8ab7f2
DM
40647 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40648 large parameters.
40649
10f62770
DM
40650 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40651
5f0bdb18
DM
40652 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40653 'err' in the ifdef scope in which it is actually used.
40654
09a3453f
DM
40655 * nss/nss_db/db-init.c: Include string.h
40656
b4b2eb5e
DM
406572012-03-12 David S. Miller <davem@davemloft.net>
40658
98bb2f1c
DM
40659 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40660 masking out of the most significant byte of random value used.
40661 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40662 Fix coding style in previous change.
40663
b4b2eb5e
DM
40664 * sysdeps/unix/sysv/linux/kernel-features.h
40665 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40666 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40667 expression.
40668 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40669 later.
40670
6e226b09
DM
406712012-03-11 David S. Miller <davem@davemloft.net>
40672
a1bcbd40
DM
40673 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40674 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40675 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40676 for 'resultvar' otherwise things get truncated on 64-bit.
40677
cb9d6174
DM
40678 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40679 Fix masking out of the most significant byte of random value used.
40680
6e226b09
DM
40681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40682
058c132d
AS
406832012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40684
40685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40686
2d2cd515
DM
406872012-03-09 David S. Miller <davem@davemloft.net>
40688
40689 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40690 variables with appropriate CPP guards.
57f41c40
AS
40691 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40692 from the frame pointer, not the stack pointer. Correct layout
40693 comments. Fix test on resulting framesize and the management of
40694 the outregs buffer for pltexit. Preserve floating point return
40695 values across _dl_call_pltexit call.
2d2cd515
DM
40696 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40697 framesize and the management of the outregs buffer for pltexit.
40698 Preserve floating point return values across _dl_call_pltexit
40699 call.
57f41c40
AS
40700 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40701 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40702 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
40703 (print_exit): Fix format string for return register value.
40704
9a07f9d0
JM
407052012-03-10 Joseph Myers <joseph@codesourcery.com>
40706
40707 * sunrpc/Makefile (others): Add rpcgen.
40708 ($(objpfx)rpcgen): Remove special build rule and dependency on
40709 libc.
40710 * sunrpc/rpcgen.c: New file.
40711
547b5e30
PE
407122012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40713
c524201a
PE
40714 [BZ #13673]
40715 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40716 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40717 * sysdeps/i386/crti.S: Likewise.
40718 * sysdeps/i386/crtn.S: Likewise.
40719 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40720 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40721 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40722 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40723 * sysdeps/sh/crti.S: Likewise.
40724 * sysdeps/sh/crtn.S: Likewise.
40725 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40726
7b6235f2
PE
40727 [BZ #13673]
40728 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40729 with URL.
40730 * locale/programs/locfile-kw.gperf: Likewise.
40731 * locale/programs/charmap-kw.h: Regenerated.
40732 * locale/programs/locfile-kw.h: Likewise.
40733
547b5e30
PE
40734 [BZ #13673]
40735 * intl/plural.y: Replace FSF snail mail address with URL.
40736 * intl/plural.c: Regenerated.
40737
5f0a5dae
RH
407382012-03-09 Richard Henderson <rth@twiddle.net>
40739
40740 * include/math_private.h: Remove file.
40741 * math/math_private.h: Move file ...
40742 * sysdeps/generic/math_private.h: ... here.
40743
b8c03620
RH
40744 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40745 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40746 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40747
4e234f5d 40748 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
40749 and <math_private.h>.
40750 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40751 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40752 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40753 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40754 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40755 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40756 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40757 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40758 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40759 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40760 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40761 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40762 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40763 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40764 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40765 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40766 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40767 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40768 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40769 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40770 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40771 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40772 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40773 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40774 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40775 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40776 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40777 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40779 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40780 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40781 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40782 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40783 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40784 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40785 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40786 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40787 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40788 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40789 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40790 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40791 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40792 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40793 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40794 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40795 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40796 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40797 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40798 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40799 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40800 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40801 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40802 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40803 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40804 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40805 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40806 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40807 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40808 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40809 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40810 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40811 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40812 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40813 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40814 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40815 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40816 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40817 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40818 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40819 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40820 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40821 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40822 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40823 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40824 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40825 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40826 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40827 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40828 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40829 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40830 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40831 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40832 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40833 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40834 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40835 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40836 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40837 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40838 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40839 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40840 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40841 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40842 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40843 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40844 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40845 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40846 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40847 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40848 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40849 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40850 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40851 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40852 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40853 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40854 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40855 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40856 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40857 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40858 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40859 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40860 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40861 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40862 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40863 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40864 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40865 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40866 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40867 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40868 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40869 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40870 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40871 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40872 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40873 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40874 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40875 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40876 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40877 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40878 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40879 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40880 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40881 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40882 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40883 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40884 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40885 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40886 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40887 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40888 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40889 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40890 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40891 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40892 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40893 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40894 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40895 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40896 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40897 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40898 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40899 * sysdeps/ieee754/k_standard.c: Likewise.
40900 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40901 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40902 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40903 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40904 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40905 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40906 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40907 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40908 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40909 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40910 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40911 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40912 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40913 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40914 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40915 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40916 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40917 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40918 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40919 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40920 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40921 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40922 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40923 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40924 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40925 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40926 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40927 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40928 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40929 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40930 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40931 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40932 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40933 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40934 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40935 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40936 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40937 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40938 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40939 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40940 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40941 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40942 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40943 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40944 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40945 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40946 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40947 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40948 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40949 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40950 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40951 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40952 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40953 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40954 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40955 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40956 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40957 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40958 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40959 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40960 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40961 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40962 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40963 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40964 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40965 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40966 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40967 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40968 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40969 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40970 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40971 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40972 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40973 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40974 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40975 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40976 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40977 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40978 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40979 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40980 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40981 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40982 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40983 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40984 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40985 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40986 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40987 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40988 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40989 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40990 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40991 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40992 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40993 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40994 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40995 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40996 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40997 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40998 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40999 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41000 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41001 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41002 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41003 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41004 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41005 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41006 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41007 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41008 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41009 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41010 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41011 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41012 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41013 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41014 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41015 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41016 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41017 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41018 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41019 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41020 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41021 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41022 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41023 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41024 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41025 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41026 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41027 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41028 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41029 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41030 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41031 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41032 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41033 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41034 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41035 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41036 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41037 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41038 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41039 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41040 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41041 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41042 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41043 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41044 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41045 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41046 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41047 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41048 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41049 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41050 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41051 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41052 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41053 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41054 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41055 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41056 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41057 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41058 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41059 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41060 * sysdeps/ieee754/s_lib_version.c: Likewise.
41061 * sysdeps/ieee754/s_matherr.c: Likewise.
41062 * sysdeps/ieee754/s_signgam.c: Likewise.
41063 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41064 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41065 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41066 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41067 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41068 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41069 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41070 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41071 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41072 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41073 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41074 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41075 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41076 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41077 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41078 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41079 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41080 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41081 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41082 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41083 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 41084
1991fa03
JM
410852012-03-09 Joseph Myers <joseph@codesourcery.com>
41086
41087 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41088 * sunrpc/rpc_main.c: Likewise.
41089 * sunrpc/rpc_svcout.c: Likewise.
41090
60d6f5a6
DM
410912012-03-09 David S. Miller <davem@davemloft.net>
41092
41093 * include/math_private.h: New file.
41094
4962050e
JM
410952012-03-09 Joseph Myers <joseph@codesourcery.com>
41096
02a6f887
JM
41097 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41098 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41099 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41100 from <bits/socket_type.h>.
41101 (enum __socket_type): Don't define here.
41102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41104 bits/socket_type.h.
41105
c6e013c1
JM
41106 [BZ #13566]
41107 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41108 checking __USE_GNU.
41109
4962050e
JM
41110 * Makerules ($(inst_includedir)/%.h): New rule.
41111 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41112 (install-others): Remove variable setting.
41113 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41114
38842f45
RH
411152012-03-08 Richard Henderson <rth@twiddle.net>
41116
67bb6da6
RH
41117 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41118 from macro to inline function; merge with the
41119 !__LIBC_INTERNAL_MATH_INLINES version.
41120 (__ieee754_sqrtf): Likewise.
41121
15194b4b
RH
41122 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41123 to inline function.
41124 (__rintf, __floor, __floorf): Likewise.
41125
64e21ede
RH
41126 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41127 macro to inline function.
41128 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41129
38842f45
RH
41130 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41131 not <math/math_private.h>.
41132
c64bf5fe
DM
411332012-03-08 David S. Miller <davem@davemloft.net>
41134
41135 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41136 copyright year.
41137 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41138
82d86f28
TS
411392012-03-08 Thomas Schwinge <thomas@codesourcery.com>
41140
41141 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41142 normalization.
41143 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41144 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41145
aea5d727
UD
411462012-03-08 Ulrich Drepper <drepper@gmail.com>
41147
41148 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41149 be defined individually, they must be defined as a block. Define
41150 S for printing a string instead of hidint the different by using a
41151 macro for adding the 'l'.
41152 * stdio-common/tst-fphex-wide.c: Adjust.
41153
70bca0a3
MP
411542012-03-07 Marek Polacek <polacek@redhat.com>
41155
41156 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41157
65b81130
MP
411582012-03-08 Marek Polacek <polacek@redhat.com>
41159
41160 [BZ #13806]
41161 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41162 * stdio-common/tst-fphex.c: Define a few macros to make the
41163 test reusable. Use them.
41164 * stdio-common/tst-fphex-wide.c: New file.
41165
07037eeb
JM
411662012-03-08 Joseph Myers <joseph@codesourcery.com>
41167
a7a93d50
JM
41168 [BZ #6911]
41169 * manual/macros.texi (gnusystems): New macro.
41170 (nongnusystems): Likewise.
41171 (gnulinuxhurdsystems): Likewise.
41172 (gnuhurdsystems): Likewise..
41173 (gnulinuxsystems): Likewise.
41174 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41175 variants of the GNU system, not "GNU system".
41176 * manual/conf.texi: Likewise.
41177 * manual/errno.texi: Likewise. Update example of errno macro
41178 expansion.
41179 * manual/filesys.texi: Likewise.
41180 (getumask): Document as specific to GNU/Hurd.
41181 * manual/install.texi: Likewise. Reword some references to
41182 GNU/Linux.
41183 * manual/intro.texi: Likewise.
41184 * manual/io.texi: Likewise.
41185 (File Name Portability): Detail which constraints are inapplicable
41186 to all GNU systems and which are only inapplicable to GNU/Hurd.
41187 * manual/job.texi: Likewise.
41188 * manual/llio.texi: Likewise.
41189 (O_NOCTTY): Document as present on GNU/Linux.
41190 * manual/maint.texi: Likewise.
41191 * manual/memory.texi: Likewise.
41192 * manual/pattern.texi: Likewise.
41193 * manual/pipe.texi: Likewise.
41194 * manual/process.texi: Likewise.
41195 * manual/resource.texi: Likewise.
41196 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41197 child on GNU/Hurd.
41198 * manual/setjmp.texi: Likewise.
41199 * manual/signal.texi: Likewise.
41200 * manual/startup.texi: Likewise.
41201 * manual/stdio.texi: Likewise.
41202 * manual/terminal.texi: Likewise.
41203 (ONLCR): Document as POSIX.
41204 (OXTABS): Document availability on GNU/Linux as XTABS.
41205 (ONOEOT): Document availability separately from other bits.
41206 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41207 * manual/time.texi: Likewise.
41208 * manual/users.texi: Likewise.
41209 * INSTALL: Regenerated.
41210 * sysdeps/gnu/errlist.c: Regenerated.
41211
07037eeb
JM
41212 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41213 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41214 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41215 puts.
41216 * configure: Regenerated.
41217
d1d3431a
JM
412182012-03-07 Joseph Myers <joseph@codesourcery.com>
41219
af6a1e37
JM
41220 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41221 default includes instead of AC_HEADER_CHECK.
41222 * sysdeps/i386/configure: Regenerated.
41223
d1d3431a
JM
41224 [BZ #10716]
41225 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41226 * math/s_cacoshf.c (__cacoshf): Likewise.
41227 * math/s_cacoshl.c (__cacoshl): Likewise.
41228 * math/s_casinh.c (__casinh): Set signs of result from argument.
41229 * math/s_casinhf.c (__casinhf): Likewise.
41230 * math/s_casinhl.c (__casinhl): Likewise.
41231 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41232 (casinh_test): Add more tests.
41233 * sysdeps/i386/fpu/libm-test-ulps: Update.
41234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41235
482ff4da
UD
412362012-03-07 Ulrich Drepper <drepper@gmail.com>
41237
872fda05
UD
41238 * po/zh_TW.po: Update from translation team.
41239
a4300c7a
UD
41240 * login/Makefile (distribute): Remove variable.
41241 * catgets/Makefile: Likewise.
41242 * mach/Makefile: Likewise.
41243 * malloc/Makefile: Likewise.
41244 * misc/Makefile: Likewise.
41245 * iconv/Makefile: Likewise.
41246 * nscd/Makefile: Likewise.
41247 * hurd/Makefile: Likewise.
41248 * manual/Makefile: Likewise.
41249 * locale/Makefile: Likewise.
41250 * intl/Makefile: Likewise.
41251 * conform/Makefile: Likewise.
41252 * nss/Makefile: Likewise.
41253 * time/Makefile: Likewise.
41254 * soft-fp/Makefile: Likewise.
41255 * dirent/Makefile: Likewise.
41256 * gmon/Makefile: Likewise.
41257 * po/Makefile: Likewise.
41258 * rt/Makefile: Likewise.
41259 * socket/Makefile: Likewise.
41260 * math/Makefile: Likewise.
41261 * signal/Makefile: Likewise.
41262 * debug/Makefile: Likewise.
41263 * elf/Makefile: Likewise.
41264 * timezone/Makefile: Likewise.
41265 * stdlib/Makefile: Likewise.
41266 * iconvdata/Makefile: Likewise.
41267 * sunrpc/Makefile: Likewise.
41268 * io/Makefile: Likewise.
41269 * argp/Makefile: Likewise.
41270 * inet/Makefile: Likewise.
41271 * hesiod/Makefile: Likewise.
41272 * grp/Makefile: Likewise.
41273 * csu/Makefile: Likewise.
41274 * wctype/Makefile: Likewise.
41275 * crypt/Makefile: Likewise.
41276 * libio/Makefile: Likewise.
41277 * string/Makefile: Likewise.
41278 * nis/Makefile: Likewise.
41279 * resolv/Makefile: Likewise.
41280 * stdio-common/Makefile: Likewise.
41281 * wcsmbs/Makefile: Likewise.
41282 * dlfcn/Makefile: Likewise.
41283 * posix/Makefile: Likewise.
41284
3b7c4e74 41285 [BZ #6959]
482ff4da
UD
41286 * timezone/Makefile: Don't install timezone files, just the programs
41287 and scripts.
41288
f72ed77d
UD
412892012-03-06 Ulrich Drepper <drepper@gmail.com>
41290
a000466f
UD
41291 * nss/databases.def: Add missing gshadow entry.
41292
f72ed77d
UD
41293 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41294
a53b7a4e
MP
412952012-03-06 Marek Polacek <polacek@redhat.com>
41296
41297 [BZ #13726]
41298 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41299 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41300 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41301 * stdio-common/tst-long-dbl-fphex.c: New file.
41302
e9258400
DM
413032012-03-06 David S. Miller <davem@davemloft.net>
41304
41305 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41306 (set_obp_int): New function.
41307 (get_obp_int): New function.
41308 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
41309 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41310 Avoid unused variable warnings on 'val' and use builtin_expect.
41311 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41312 __builtin_expect.
e9258400
DM
41313 (INLINE_CLONE_SYSCALL): Likewise.
41314
3bd2c723
DM
413152012-03-05 David S. Miller <davem@davemloft.net>
41316
41317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41318
bbb78d03
AS
413192012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41320
884c5db4
AS
41321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41322
bbb78d03
AS
41323 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41324 only for |x| >= 40.
41325 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41326
1c9f702a 413272012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
41328
41329 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41330 Replace gettimeofday with __vdso_gettimeofday.
41331
7be16f82
RM
41332 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41333 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41334 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
41335
41336 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41337 time with __vdso_time.
41338
ed58a00f
JM
413392012-03-05 Joseph Myers <joseph@codesourcery.com>
41340
41341 * manual/lang.texi (size_t): Note types to which size_t may be
41342 equivalent with the GNU C Library, but do not describe when
41343 differences between them are significant.
41344
30ee4ced
AJ
413452012-03-05 Andreas Jaeger <aj@suse.de>
41346
41347 * sysdeps/i386/fpu/libm-test-ulps: Update.
41348
b7cd39e8
JM
413492012-03-05 Joseph Myers <joseph@codesourcery.com>
41350
41351 [BZ #3976]
41352 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41353 (__ieee754_pow): Save and restore rounding mode and use
41354 round-to-nearest for main computations.
41355 * math/libm-test.inc (pow_test_tonearest): New function.
41356 (pow_test_towardzero): Likewise.
41357 (pow_test_downward): Likewise.
41358 (pow_test_upward): Likewise.
41359 (main): Call the new functions.
41360 * sysdeps/i386/fpu/libm-test-ulps: Update.
41361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
41362
41363 [BZ #3976]
41364 * math/libm-test.inc (cosh_test_tonearest): New function.
41365 (cosh_test_towardzero): Likewise.
41366 (cosh_test_downward): Likewise.
41367 (cosh_test_upward): Likewise.
41368 (sinh_test_tonearest): Likewise.
41369 (sinh_test_towardzero): Likewise.
41370 (sinh_test_downward): Likewise.
41371 (sinh_test_upward): Likewise.
41372 (main): Call the new functions.
41373 * sysdeps/i386/fpu/libm-test-ulps: Update.
41374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41375
6c6a98c9
TV
413762012-03-05 Tom de Vries <tom@codesourcery.com>
41377
41378 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41379 default stack guard is set in last bytes.
41380 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41381
21bb2d2e 413822012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 41383
21bb2d2e 41384 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 41385
21bb2d2e
AJ
41386 [BZ #13656]
41387 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41388 possibly allocate from heap instead of stack.
41389 * stdio-common/bug-vfprintf-nargs.c: New file.
41390 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 41391
c6922934
AS
413922012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41393
41394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41395
bc957d53
MP
413962012-03-03 Marek Polacek <polacek@redhat.com>
41397
41398 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41399 * math/math_private.h: Likewise.
41400 * stdlib/tst-strtod.c: Likewise.
41401 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41402 * sysdeps/x86_64/bits/atomic.h: Likewise.
41403
6358490d
DM
414042012-03-02 David S. Miller <davem@davemloft.net>
41405
41406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41410 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41411 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41412 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41413 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41414
01ae168d
RM
414152012-03-02 Roland McGrath <roland@hack.frob.com>
41416
d9a17c07
RM
41417 [BZ #13792]
41418 * manual/examples/README: New file, says the example source files
41419 can be used under GPL>=2.
41420 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41421 line containing just "*/".
41422 * manual/examples/add.c: Add copyright header (GPL>=2).
41423 * manual/examples/argp-ex1.c: Likewise.
41424 * manual/examples/argp-ex2.c: Likewise.
41425 * manual/examples/argp-ex3.c: Likewise.
41426 * manual/examples/argp-ex4.c: Likewise.
41427 * manual/examples/atexit.c: Likewise.
41428 * manual/examples/db.c: Likewise.
41429 * manual/examples/dir.c: Likewise.
41430 * manual/examples/dir2.c: Likewise.
41431 * manual/examples/execinfo.c: Likewise.
41432 * manual/examples/filecli.c: Likewise.
41433 * manual/examples/filesrv.c: Likewise.
41434 * manual/examples/fmtmsgexpl.c: Likewise.
41435 * manual/examples/genpass.c: Likewise.
41436 * manual/examples/inetcli.c: Likewise.
41437 * manual/examples/inetsrv.c: Likewise.
41438 * manual/examples/isockad.c: Likewise.
41439 * manual/examples/longopt.c: Likewise.
41440 * manual/examples/memopen.c: Likewise.
41441 * manual/examples/memstrm.c: Likewise.
41442 * manual/examples/mkfsock.c: Likewise.
41443 * manual/examples/mkisock.c: Likewise.
41444 * manual/examples/mygetpass.c: Likewise.
41445 * manual/examples/pipe.c: Likewise.
41446 * manual/examples/popen.c: Likewise.
41447 * manual/examples/rprintf.c: Likewise.
41448 * manual/examples/search.c: Likewise.
41449 * manual/examples/select.c: Likewise.
41450 * manual/examples/setjmp.c: Likewise.
41451 * manual/examples/sigh1.c: Likewise.
41452 * manual/examples/sigusr.c: Likewise.
41453 * manual/examples/stpcpy.c: Likewise.
41454 * manual/examples/strdupa.c: Likewise.
41455 * manual/examples/strftim.c: Likewise.
41456 * manual/examples/strncat.c: Likewise.
41457 * manual/examples/subopt.c: Likewise.
41458 * manual/examples/swapcontext.c: Likewise.
41459 * manual/examples/termios.c: Likewise.
41460 * manual/examples/testopt.c: Likewise.
41461 * manual/examples/testpass.c: Likewise.
41462 * manual/examples/timeval_subtract.c: Likewise.
41463
01ae168d
RM
41464 [BZ #13792]
41465 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41466 function to ...
41467 * manual/timeval_subtract.c.texi: ... here, new file.
41468
49efa33d
DM
414692012-03-02 David S. Miller <davem@davemloft.net>
41470
41471 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41472
28afd92d
JM
414732012-03-02 Joseph Myers <joseph@codesourcery.com>
41474
804360ed
JM
41475 [BZ #3976]
41476 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41477 (__sin): Save and restore rounding mode and use round-to-nearest
41478 for all computations.
41479 (__cos): Save and restore rounding mode and use round-to-nearest
41480 for all computations.
41481 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41482 <fenv.h>.
41483 (tan): Save and restore rounding mode and use round-to-nearest for
41484 all computations.
41485 * math/libm-test.inc (cos_test_tonearest): New function.
41486 (cos_test_towardzero): Likewise.
41487 (cos_test_downward): Likewise.
41488 (cos_test_upward): Likewise.
41489 (sin_test_tonearest): Likewise.
41490 (sin_test_towardzero): Likewise.
41491 (sin_test_downward): Likewise.
41492 (sin_test_upward): Likewise.
41493 (tan_test_tonearest): Likewise.
41494 (tan_test_towardzero): Likewise.
41495 (tan_test_downward): Likewise.
41496 (tan_test_upward): Likewise.
41497 (main): Call the new functions.
41498 * sysdeps/i386/fpu/libm-test-ulps: Update.
41499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41500
a6d06d7b
JM
41501 [BZ #10135]
41502 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41503 small n, then large n, before computing and testing k+n.
41504 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41505 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41506 Likewise.
41507 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41508 Likewise.
41509 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41510 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41511 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41512 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41513 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41514 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41515 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41516 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41517 * math/libm-test.inc (scalbn_test): Add more tests.
41518 (scalbln_test): Likewise.
41519
07e12bb3
JM
41520 * manual/filesys.texi (mode_t): Describe constraints on size and
41521 signedness, not exact equivalence to a particular type.
41522 (ino_t): Likewise.
41523 (ino64_t): Likewise.
41524 (dev_t): Likewise.
41525 (nlink_t): Likewise.
41526 (blkcnt_t): Likewise.
41527 (blkcnt64_t): Likewise.
41528 * manual/llio.texi (off_t): Likewise.
41529
28afd92d
JM
41530 [BZ #3976]
41531 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41532 (__ieee754_exp): Save and restore rounding mode and use
41533 round-to-nearest for all computations.
41534 * math/libm-test.inc (exp_test_tonearest): New function.
41535 (exp_test_towardzero): Likewise.
41536 (exp_test_downward): Likewise.
41537 (exp_test_upward): Likewise.
41538 (main): Call the new functions.
41539 * sysdeps/i386/fpu/libm-test-ulps: Update.
41540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41541
b1eeb65d
CD
415422012-03-01 Chris Demetriou <cgd@google.com>
41543
41544 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41545 have predictable order.
41546
53362a4b
DM
415472012-03-01 David S. Miller <davem@davemloft.net>
41548
3c969083
DM
41549 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41550
759707de
DM
41551 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41552 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41553 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41554 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41555
dfdb8ff2
DM
41556 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41557 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41558 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41560 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41561 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41562 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41563 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41564 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41565
ead89f96
DM
41566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41567
7f66bd07
DM
41568 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41569 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41570 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41571
53362a4b
DM
41572 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41573 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41574 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41575 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41576 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41577 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41578 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41579 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41580 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41581 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41582 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41583 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41584 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41585 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41586 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41587 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41588 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41589 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41590 * sysdeps/sparc/elf/configure: Regenerated.
41591
7b1902cb
JM
415922012-03-01 Joseph Myers <joseph@codesourcery.com>
41593
bec039bc
JM
41594 * configure.in (AS, LD): Require binutils 2.20 or later.
41595 * configure: Regenerated.
41596 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41597 as required minimum version.
41598 * INSTALL: Regenerated.
41599
7b1902cb
JM
41600 [BZ #2541]
41601 [BZ #4108]
41602 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41603 before squaring exponent.
41604 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41605 bottom long double and 27 bits of top long double before squaring
41606 exponent.
41607 * math/libm-test.inc (erfc_test): Add more tests.
41608 * sysdeps/i386/fpu/libm-test-ulps: Update.
41609 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41611
f775c276
KT
416122012-03-01 Kai Tietz <ktietz@redhat.com>
41613
41614 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41615 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41616 containing bit-fields.
41617 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41618 * soft-fp/single.h (_FP_UNION_S): Likewise.
41619 * soft-fp/double.h (_FP_UNION_D): Likewise.
41620
5b8a4d4a
JM
416212012-02-29 Joseph Myers <joseph@codesourcery.com>
41622
0bab47b6
JM
41623 [BZ #13786]
41624 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41625 not include ../strcmp.S.
41626 [USE_AS_STRNCASECMP_L]: Likewise.
41627 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41628 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41629 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41630 (__strncasecmp_l_ia32): Define as alias to
41631 __strncasecmp_l_nonascii.
41632
0fcad3e2
JM
41633 [BZ #5794]
41634 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41635 * sysdeps/i386/fpu/libm-test-ulps: Update.
41636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41637
5b8a4d4a
JM
41638 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41640
8fdceb2e
JL
416412012-02-29 Jeff Law <law@redhat.com>
41642
41643 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41644 out of bounds read.
41645
1f393a11
MP
416462012-02-29 Marek Polacek <polacek@redhat.com>
41647
41648 [BZ #13706]
41649 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41650 * elf/Makefile: Add rules to run tst-unused-dep.out.
41651
8847f037
DM
416522012-02-28 David S. Miller <davem@davemloft.net>
41653
41654 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41655 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41656 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41657 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41658 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41659 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41660
169d7f11
JM
416612012-02-29 Joseph Myers <joseph@codesourcery.com>
41662
41663 * math/libm-test.inc (llround_test): Move one test from
41664 lround_test. Use TEST_f_L in moved test.
41665 (lround_test): Move misplaced test to llround_test. Add testcase
41666 from bug 2561.
41667
39adf059
UD
416682012-02-28 Ulrich Drepper <drepper@gmail.com>
41669
41670 * sysdeps/x86_64/fpu/e_expf.S: New file.
41671 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41672
71b5d1c5
SB
416732012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41674
41675 [BZ #13637]
41676 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41677 of remain_len that may cause incomplete multi-byte character and
41678 false match.
41679 * posix/bug-regex33.c: New file.
41680 * posix/Makefile (tests): Add bug-regex33.
41681
1f77f049
JM
416822012-02-28 Joseph Myers <joseph@codesourcery.com>
41683
41684 * manual/macros.texi: New file.
41685 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41686 * manual/libc.texinfo: Include macros.texi.
41687 * manual/creatute.texi: Likewise.
41688 * manual/install.texi: Likewise.
41689 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41690 @glibcadj{} in references to the GNU C Library.
41691 * manual/charset.texi: Likewise.
41692 * manual/conf.texi: Likewise.
41693 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41694 when not using those macros.
41695 * manual/creature.texi: Likewise.
41696 * manual/crypt.texi: Likewise.
41697 * manual/errno.texi: Likewise.
41698 * manual/filesys.texi: Likewise.
41699 * manual/header.texi: Likewise.
41700 * manual/install.texi: Likewise.
41701 * manual/intro.texi: Likewise.
41702 * manual/io.texi: Likewise.
41703 * manual/job.texi: Likewise.
41704 * manual/lang.texi: Likewise.
41705 * manual/libc.texiinfo: Likewise.
41706 * manual/llio.texi: Likewise.
41707 * manual/locale.texi: Likewise.
41708 * manual/maint.texi: Likewise.
41709 * manual/math.texi: Likewise.
41710 * manual/memory.texi: Likewise.
41711 * manual/message.texi: Likewise.
41712 * manual/nss.texi: Likewise.
41713 * manual/pattern.texi: Likewise.
41714 * manual/process.texi: Likewise.
41715 * manual/resource.texi: Likewise.
41716 * manual/search.texi: Likewise.
41717 * manual/setjmp.texi: Likewise.
41718 * manual/signal.texi: Likewise.
41719 * manual/socket.texi: Likewise.
41720 * manual/startup.texi: Likewise.
41721 * manual/stdio.texi: Likewise.
41722 * manual/string.texi: Likewise.
41723 * manual/sysinfo.texi: Likewise.
41724 * manual/syslog.texi: Likewise.
41725 * manual/terminal.texi: Likewise.
41726 * manual/time.texi: Likewise.
41727 * manual/users.texi: Likewise.
41728 * INSTALL: Regenerated.
41729 * NOTES: Regenerated.
d40c5d54 41730 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 41731
450bf206
AS
417322012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41733
41734 * include/dirent.h: Include <dirstream.h> before
41735 <dirent/dirent.h>.
41736
741a235b
DM
417372012-02-28 David S. Miller <davem@davemloft.net>
41738
41739 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41740 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41741 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41742 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41743
d6b5aa58
DM
417442012-02-27 David S. Miller <davem@davemloft.net>
41745
1aff59a3
DM
41746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41748 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41749 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41750
d6b5aa58
DM
41751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41752 frame pointer instead of stack pointer relative arg slot.
41753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41754 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41755 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41756
433f48bf
CD
417572012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41758
41759 [BZ #3992]
41760 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41761
d674b76d
DM
417622012-02-27 David S. Miller <davem@davemloft.net>
41763
41764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41768 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41769 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41770 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41771 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41772
0e7727f7
JM
417732012-02-27 Joseph Myers <joseph@codesourcery.com>
41774
41775 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41776 later. Allow versions 5-9.
43be4ca2 41777 * configure: Regenerated.
0e7727f7
JM
41778 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41779 required minimum version and 4.6 as recommended version. Do not
41780 mention bugs in GCC 2.7 and 2.8.
43be4ca2 41781 * INSTALL: Regenerated.
0e7727f7 41782
a78bc654
DM
417832012-02-27 David S. Miller <davem@davemloft.net>
41784
428d5830
DM
41785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41789 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41790 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41791 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41792 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41793
a78bc654
DM
41794 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41795 manipulate bits before adding and subtracting TWO112[sx].
41796 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41797
4579f81c
RM
417982012-02-27 Roland McGrath <roland@hack.frob.com>
41799
36c8acb4
RM
41800 [BZ #13775]
41801 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41802 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41803 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41804 being in POSIX, because they are in 1003.1-2008.
41805
84ad622b
RM
41806 * rt/tst-aio.c: Include <fcntl.h>.
41807 * rt/tst-aio7.c: Likewise.
41808 * rt/tst-aio64.c: Likewise.
41809
4579f81c
RM
41810 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41811
abd923db
JM
418122012-02-27 Joseph Myers <joseph@codesourcery.com>
41813
41814 * manual/install.texi (--with-headers): Describe headers as
41815 interface headers, not private headers.
41816 (Specific advice for GNU/Linux systems): Describe use of headers
41817 from "make headers_install", not private headers from older
41818 kernels.
43be4ca2 41819 * INSTALL: Regenerated.
abd923db
JM
41820 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41821 Change to 2.6.19.
41822 * sysdeps/unix/sysv/linux/configure: Regenerated.
41823
6664049b
JM
41824 * manual/llio.texi (fclean): Remove documentation.
41825
bb8b6697
JM
41826 * manual/Makefile (libc-texi-generated): New variable. Include
41827 version.texi.
41828 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41829 $(libc-texi-generated), not duplicated list of files.
41830 (version.texi, stamp-version): New rules.
41831 (realclean): Remove $(libc-texi-generated), not individual files
41832 from that list. Do not remove dir-add.texinfo.
41833 * manual/libc.texinfo: Comment out uses of edition numbers and
41834 references to printed manual. Remove last-updated dates.
41835 (EDITION): Comment out.
41836 (ISBN): Likewise.
41837 (VERSION, UPDATED): Remove.
41838 (version.texi): Include.
41839
12e5c3b9
AS
418402012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41841
41842 * sysdeps/posix/spawni.c: Include <signal.h>.
41843 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41844 * sysdeps/pthread/aio_fsync.c: Likewise.
41845
4efeffc1 418462012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 41847
ba63ba08
UD
41848 * conform/Makefile (tests): Run only when not cross-compiling and
41849 when fast-check is not defined.
41850
d94a4670
UD
41851 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41852 * conform/data/limits.h-data: Fixes for POSIX2008.
41853 * conform/run-conformtest.sh: Run all tests.
41854 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41855 headers.
41856 * include/bits/dlfcn.h: Likewise.
41857 * include/langinfo.h: Likewise.
41858 * include/monetary.h: Likewise.
41859 * include/sys/poll.h: Likewise.
41860
41861 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41862 for __USE_GNU.
41863 * posix/spawn.h: Define __need_sigset_t.
41864 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41865 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41866 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41867 to get sigevent_t only.
41868 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41869 only for __USE_GNU.
41870 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41871 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41872 process_vm_writev only for __USE_GNU.
41873 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
41874
41875 * conform/Makefile: For now ignore errors from run-conformtest.
41876 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41877 POSIX to avoid namespace pollution. Don't prepend headers.
41878 * conform/data/aio.h-data: Fixes for POSIX testing.
41879 * conform/data/fcntl.h-data: Likewise.
41880 * conform/data/glob.h-data: Likewise.
41881 * conform/data/grp.h-data: Likewise.
41882 * conform/data/pthread.h-data: Likewise.
41883 * conform/data/pwd.h-data: Likewise.
41884 * conform/data/signal.h-data: Likewise.
41885 * conform/data/spawn.h-data: Likewise.
41886 * conform/data/stdio.h-data: Likewise.
41887 * conform/data/stdlib.h-data: Likewise.
41888 * conform/data/stropts.h-data: Likewise.
41889 * conform/data/sys/mman.h-data: Likewise.
41890 * conform/data/sys/stat.h-data: Likewise.
41891 * conform/data/sys/types.h-data: Likewise.
41892 * conform/data/sys/wait.h-data: Likewise.
41893 * conform/data/time.h-data: Likewise.
41894 * conform/data/unistd.h-data: Likewise.
41895 * conform/data/utime.h-data: Likewise.
41896
41897 * io/sys/stat.h: fchmod was always in POSIX.
41898 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41899 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41900 * rt/aio.h: Define __need_timespec before including <time.h>.
41901 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41902 struct. Add forward declaration of pthread_attr_t and use it in
41903 sigevent.
41904 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41905 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41906 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41907 always remove CLK_TCK definition.
41908
c20105c3
AS
419092012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41910
41911 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41912
7a270350
UD
419132012-02-25 Ulrich Drepper <drepper@gmail.com>
41914
31341567
UD
41915 * conform/run-conformtest.sh: New file.
41916 * conform/Makefile: Run run-conformtest for tests.
41917 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41918 support.
41919
41920 * conform/data/uchar.h-data: New file.
41921 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41922 * conform/data/arpa/inet.h-data: Likewise.
41923 * conform/data/assert.h-data: Likewise.
41924 * conform/data/complex.h-data: Likewise.
41925 * conform/data/cpio.h-data: Likewise.
41926 * conform/data/ctype.h-data: Likewise.
41927 * conform/data/dirent.h-data: Likewise.
41928 * conform/data/dlfcn.h-data: Likewise.
41929 * conform/data/errno.h-data: Likewise.
41930 * conform/data/fcntl.h-data: Likewise.
41931 * conform/data/float.h-data: Likewise.
41932 * conform/data/fmtmsg.h-data: Likewise.
41933 * conform/data/fnmatch.h-data: Likewise.
41934 * conform/data/ftw.h-data: Likewise.
41935 * conform/data/glob.h-data: Likewise.
41936 * conform/data/grp.h-data: Likewise.
41937 * conform/data/iconv.h-data: Likewise.
41938 * conform/data/inttypes.h-data: Likewise.
41939 * conform/data/langinfo.h-data: Likewise.
41940 * conform/data/libgen.h-data: Likewise.
41941 * conform/data/limits.h-data: Likewise.
41942 * conform/data/locale.h-data: Likewise.
41943 * conform/data/math.h-data: Likewise.
41944 * conform/data/monetary.h-data: Likewise.
41945 * conform/data/mqueue.h-data: Likewise.
41946 * conform/data/ndbm.h-data: Likewise.
41947 * conform/data/net/if.h-data: Likewise.
41948 * conform/data/netdb.h-data: Likewise.
41949 * conform/data/netinet/in.h-data: Likewise.
41950 * conform/data/nl_types.h-data: Likewise.
41951 * conform/data/poll.h-data: Likewise.
41952 * conform/data/pthread.h-data: Likewise.
41953 * conform/data/pwd.h-data: Likewise.
41954 * conform/data/regex.h-data: Likewise.
41955 * conform/data/sched.h-data: Likewise.
41956 * conform/data/search.h-data: Likewise.
41957 * conform/data/semaphore.h-data: Likewise.
41958 * conform/data/setjmp.h-data: Likewise.
41959 * conform/data/signal.h-data: Likewise.
41960 * conform/data/spawn.h-data: Likewise.
41961 * conform/data/stdarg.h-data: Likewise.
41962 * conform/data/stdio.h-data: Likewise.
41963 * conform/data/stdlib.h-data: Likewise.
41964 * conform/data/string.h-data: Likewise.
41965 * conform/data/strings.h-data: Likewise.
41966 * conform/data/stropts.h-data: Likewise.
41967 * conform/data/sys/ipc.h-data: Likewise.
41968 * conform/data/sys/mman.h-data: Likewise.
41969 * conform/data/sys/msg.h-data: Likewise.
41970 * conform/data/sys/resource.h-data: Likewise.
41971 * conform/data/sys/select.h-data: Likewise.
41972 * conform/data/sys/sem.h-data: Likewise.
41973 * conform/data/sys/shm.h-data: Likewise.
41974 * conform/data/sys/socket.h-data: Likewise.
41975 * conform/data/sys/stat.h-data: Likewise.
41976 * conform/data/sys/statvfs.h-data: Likewise.
41977 * conform/data/sys/time.h-data: Likewise.
41978 * conform/data/sys/timeb.h-data: Likewise.
41979 * conform/data/sys/times.h-data: Likewise.
41980 * conform/data/sys/types.h-data: Likewise.
41981 * conform/data/sys/uio.h-data: Likewise.
41982 * conform/data/sys/un.h-data: Likewise.
41983 * conform/data/sys/utsname.h-data: Likewise.
41984 * conform/data/sys/wait.h-data: Likewise.
41985 * conform/data/syslog.h-data: Likewise.
41986 * conform/data/tar.h-data: Likewise.
41987 * conform/data/termios.h-data: Likewise.
41988 * conform/data/utime.h-data: Likewise.
41989 * conform/data/utmpx.h-data: Likewise.
41990 * conform/data/varargs.h-data: Likewise.
41991 * conform/data/wchar.h-data: Likewise.
41992 * conform/data/wctype.h-data: Likewise.
41993 * conform/data/wordexp.h-data: Likewise.
41994
41995 * include/stropts.h: New file.
41996 * include/uchar.h: New file.
41997 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41998 * include/assert.h: Likewise.
41999 * include/ctype.h: Likewise.
42000 * include/dirent.h: Likewise.
42001 * include/dlfcn.h: Likewise.
42002 * include/fcntl.h: Likewise.
42003 * include/fnmatch.h: Likewise.
42004 * include/glob.h: Likewise.
42005 * include/grp.h: Likewise.
42006 * include/libio.h: Likewise.
42007 * include/locale.h: Likewise.
42008 * include/math.h: Likewise.
42009 * include/net/if.h: Likewise.
42010 * include/netdb.h: Likewise.
42011 * include/netinet/in.h: Likewise.
42012 * include/pthread.h: Likewise.
42013 * include/pwd.h: Likewise.
42014 * include/regex.h: Likewise.
42015 * include/sched.h: Likewise.
42016 * include/search.h: Likewise.
42017 * include/setjmp.h: Likewise.
42018 * include/signal.h: Likewise.
42019 * include/stdio.h: Likewise.
42020 * include/stdlib.h: Likewise.
42021 * include/string.h: Likewise.
42022 * include/sys/cdefs.h: Likewise.
42023 * include/sys/mman.h: Likewise.
42024 * include/sys/msg.h: Likewise.
42025 * include/sys/resource.h: Likewise.
42026 * include/sys/select.h: Likewise.
42027 * include/sys/socket.h: Likewise.
42028 * include/sys/stat.h: Likewise.
42029 * include/sys/statvfs.h: Likewise.
42030 * include/sys/time.h: Likewise.
42031 * include/sys/times.h: Likewise.
42032 * include/sys/uio.h: Likewise.
42033 * include/sys/utsname.h: Likewise.
42034 * include/sys/wait.h: Likewise.
42035 * include/termios.h: Likewise.
42036 * include/time.h: Likewise.
42037 * include/ulimit.h: Likewise.
42038 * include/unistd.h: Likewise.
42039 * include/utime.h: Likewise.
42040 * include/wchar.h: Likewise.
42041 * include/wctype.h: Likewise.
42042 * include/wordexp.h: Likewise.
42043
42044 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42045
7a270350
UD
42046 * time/time.h: TIME_UTC must be a macro.
42047 Make timespec_get available for ISO C11 only as well.
42048
7724defc
UD
420492012-02-24 Ulrich Drepper <drepper@gmail.com>
42050
42051 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42052 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42053
6b1d1d46
JM
420542012-02-24 Joseph Myers <joseph@codesourcery.com>
42055
42056 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 42057
0f8bbd69
JM
420582012-02-24 Joseph Myers <joseph@codesourcery.com>
42059
42060 * manual/texinfo.tex: Update to version 2012-01-19.16.
42061
66ab80bc
JM
420622012-02-24 Joseph Myers <joseph@codesourcery.com>
42063
42064 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42065
74981cc5
RM
420662012-02-24 Roland McGrath <roland@hack.frob.com>
42067
ee968201
RM
42068 [BZ #13738]
42069 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42070 * manual/fdl-1.3.texi: New file.
42071 * manual/fdl-1.1.texi: File removed.
42072
74981cc5
RM
42073 [BZ #13738]
42074 * manual/libc.texinfo (FDL_VERSION): New @set.
42075 Use it for mention of FDL in cover text.
42076 (Documentation License): Use it in @include file name.
42077
7bb764bc
JM
420782012-02-22 Joseph Myers <joseph@codesourcery.com>
42079 Roland McGrath <roland@hack.frob.com>
42080
42081 [BZ #5461]
57f41c40
AS
42082 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42083 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
42084 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42085 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42086 name.
42087 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42088
6cbeae47
JM
420892012-02-22 Joseph Myers <joseph@codesourcery.com>
42090
42091 [BZ #2547]
42092 [BZ #11365]
42093 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42094 manipulate bits before adding and subtracting TWO23[sx].
42095 * math/libm-test.inc (nearbyint_test): Add more tests.
42096
fe45ce09
JM
420972012-02-22 Joseph Myers <joseph@codesourcery.com>
42098
42099 [BZ #2548]
42100 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42101 bits before adding and subtracting TWO23[sx].
42102 * math/libm-test.inc (rint_test): Add more tests.
42103 (rint_test_tonearest): Likewise.
42104 (rint_test_towardzero): Likewise.
42105 (rint_test_downward): Likewise.
42106 (rint_test_upward: Likewise.
42107
ff3b3d82
JM
421082012-02-22 Joseph Myers <joseph@codesourcery.com>
42109
42110 [BZ #10110]
42111 * include/stdc-predef.h: New file. Extracted from features.h.
42112 * include/features.h: Include stdc-predef.h.
42113 * Makefile (headers): Add stdc-predef.h.
42114 * CONFORMANCE (Compiler limitations): Update.
42115
ef0aab35
JM
421162012-02-22 Joseph Myers <joseph@codesourcery.com>
42117
42118 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42119
58639409
DM
421202012-02-21 David S. Miller <davem@davemloft.net>
42121
42122 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42123 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42124
c0e70b25
DM
421252012-02-20 David S. Miller <davem@davemloft.net>
42126
42127 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42128 using a normal save/restore sequence, rather than allocating a
42129 dummy stack frame just to store a frame pointer and restore.
42130 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42131
fb06851d
JM
421322012-02-21 Joseph Myers <joseph@codesourcery.com>
42133
42134 * manual/install.texi: Fix stray word in line-wrapped comment.
42135
7a8b71c3
DM
421362012-02-20 David S. Miller <davem@davemloft.net>
42137
d510c123
DM
42138 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42139 both binutils and gcc support GOTDATA.
42140
0722d7c2
DM
42141 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42142 "rd %pc" in the PIC register setup sequences.
42143
3d2b3019
DM
42144 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42145 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42146 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42147 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42148 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42149 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42150 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42151 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42152 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42153 (SYSCALL_ERROR_HANDLER): Likewise.
42154 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42155 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42157 (SYSCALL_ERROR_HANDLER): Likewise.
42158
c80098a9
DM
42159 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42160 (HAVE_GCC_GOTDATA): New.
42161 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42162 relocation support in both binutils and gcc.
42163 * sysdeps/sparc/elf/configure: Regenerate.
42164
3a2545a0
DM
42165 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42166 * sysdeps/sparc/sparc32/elf/configure: Delete.
42167 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42168 * sysdeps/sparc/sparc64/elf/configure: Delete.
42169 * sysdeps/sparc/elf/configure.in: New file.
42170 * sysdeps/sparc/elf/configure: Generate.
42171
7a8b71c3
DM
42172 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42173 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42174 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42175 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42176 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42177
f1e86fca
JM
421782012-02-21 Joseph Myers <joseph@codesourcery.com>
42179
42180 * manual/install.texi: Do not mention specific glibc version
42181 numbers.
42182 * manual/libc.texinfo (VERSION, UPDATED): Update.
42183 (@copying): Use @copyright{} and range of years.
42184
0e7dfaef
JM
421852012-02-21 Joseph Myers <joseph@codesourcery.com>
42186
42187 [BZ #13695]
42188 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42189 [crti.S not in sysdirs] (generated): Do not append.
42190 [crti.S not in sysdirs] (omit-deps): Likewise.
42191 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42192 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42193 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42194 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42195 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42196 Likewise.
42197 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42198 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42199 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42200 * csu/defs.awk: Remove file.
42201 * sysdeps/generic/initfini.c: Likewise.
42202 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42203 variable.
42204 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42205 Likewise.
42206
599af3ca
JM
422072012-02-20 Joseph Myers <joseph@codesourcery.com>
42208
42209 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42210 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42211 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42212 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42213 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42214 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42215 <bits/epoll.h>.
42216 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42217 (__EPOLL_PACKED): Define to empty if not defined by
42218 <bits/epoll.h>.
42219 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42221 bits/epoll.h.
42222
0e499750
JM
422232012-02-20 Joseph Myers <joseph@codesourcery.com>
42224
42225 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42226 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42227 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42228 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42229 <bits/timerfd.h>.
42230 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42232 bits/timerfd.h.
42233
5ad91f6e
JM
422342012-02-20 Joseph Myers <joseph@codesourcery.com>
42235
42236 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42237 in C locale.
42238 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42239 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42240 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42242
06b99b02
AJ
422432012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42244
42245 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42246 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42247
7638c0fd
AS
422482012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42249
42250 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42251 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42252 defined.
42253 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42254 Likewise.
42255 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42256 entry for 2.16.
42257
92221550
AJ
422582012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42259
42260 * math/w_acos.c: Use non-signaling floating-point comparisons.
42261 * math/w_acosf.c: Likewise.
42262 * math/w_acosh.c: Likewise.
42263 * math/w_acoshf.c: Likewise.
42264 * math/w_acoshl.c: Likewise.
42265 * math/w_acosl.c: Likewise.
42266 * math/w_asin.c: Likewise.
42267 * math/w_asinf.c: Likewise.
42268 * math/w_asinl.c: Likewise.
42269 * math/w_atanh.c: Likewise.
42270 * math/w_atanhf.c: Likewise.
42271 * math/w_atanhl.c: Likewise.
42272 * math/w_exp2.c: Likewise.
42273 * math/w_exp2f.c: Likewise.
42274 * math/w_exp2l.c: Likewise.
42275 * math/w_j0.c: Likewise.
42276 * math/w_j0f.c: Likewise.
42277 * math/w_j0l.c: Likewise.
42278 * math/w_j1.c: Likewise.
42279 * math/w_j1f.c: Likewise.
42280 * math/w_j1l.c: Likewise.
42281 * math/w_jn.c: Likewise.
42282 * math/w_jnf.c: Likewise.
42283 * math/w_log.c: Likewise.
42284 * math/w_log10.c: Likewise.
42285 * math/w_log10f.c: Likewise.
42286 * math/w_log10l.c: Likewise.
42287 * math/w_log2.c: Likewise.
42288 * math/w_log2f.c: Likewise.
42289 * math/w_log2l.c: Likewise.
42290 * math/w_logf.c: Likewise.
42291 * math/w_logl.c: Likewise.
42292 * math/w_sqrt.c: Likewise.
42293 * math/w_sqrtf.c: Likewise.
42294 * math/w_sqrtl.c: Likewise.
42295 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42296 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42297 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42298 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42299 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42300
ebaf36eb
JM
423012012-02-19 Joseph Myers <joseph@codesourcery.com>
42302
42303 [BZ #9739]
42304 * manual/string.texi (strnlen): Use correct parameter name in
42305 equivalent expression.
42306
71c254a6
JM
423072012-02-19 Joseph Myers <joseph@codesourcery.com>
42308
42309 [BZ #11174]
42310 * manual/users.texi (seteuid): Consistently use neweuid for
42311 argument name.
42312
16d2c631
JM
423132012-02-19 Joseph Myers <joseph@codesourcery.com>
42314
42315 [BZ #13704]
42316 * manual/nss.texi (Services in the NSS configuration): Correct
42317 list of services in example configuration file.
42318
cd837b09
NB
423192012-02-19 Nick Bowler <nbowler@draconx.ca>
42320
42321 [BZ #11322]
42322 * manual/arith.texi: Remove statements about negative zero
42323 behaving identically to zero.
42324
02c4bbad
JM
423252012-02-18 Joseph Myers <joseph@codesourcery.com>
42326
42327 [BZ #5993]
42328 * manual/install.texi: Do not document upgrading from libc5.
42329
366842e7
JM
423302012-02-18 Joseph Myers <joseph@codesourcery.com>
42331
42332 [BZ #4596]
42333 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42334
dd54084d
DM
423352012-02-18 David S. Miller <davem@davemloft.net>
42336
42337 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42338 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42339 %o7 across the call.
42340 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42341 instead.
42342 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42343 SETUP_PIC_REG_LEAF.
42344 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42345 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42346 * sysdeps/sparc/crtn.S: Likewise.
42347
2bcc53a3
UD
423482012-02-17 Ulrich Drepper <drepper@gmail.com>
42349
42350 * aout/Makefile: Remove.
42351
09c093b5
RK
423522012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42353
42354 [BZ #13058]
42355 * manual/examples/argp-ex1.c (main): Format definition in GNU
42356 style.
42357 * manual/examples/argp-ex2.c (main): Likewise.
42358 * manual/examples/argp-ex3.c (main): Likewise.
42359 * manual/examples/argp-ex4.c (main): Likewise.
42360 * manual/examples/longopt.c (main): Use new-style prototype
42361 definition.
42362 * manual/examples/strncat.c (main): Specify return type and use
42363 (void) for arguments.
42364 * manual/examples/subopt.c (main): Use char **argv argument.
42365
2ee633a2
JM
423662012-02-17 Joseph Myers <joseph@codesourcery.com>
42367
42368 [BZ #5077]
42369 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42370 rounding modes.
42371
0520adde
FB
423722012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42373
42374 [BZ #6907]
42375 * manual/string.texi (strchr): Change when strchrnul is
42376 recommended.
42377
3f4081cd
DGM
423782012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42379
42380 [BZ #174]
42381 * manual/locale.texi (setlocale): Document LOCPATH.
42382
d1b10e78
JM
423832012-02-17 Joseph Myers <joseph@codesourcery.com>
42384
42385 [BZ #10210]
42386 * manual/process.texi (execle): Move @dots{} before last argument.
42387
79c6869c
PB
423882012-02-17 Paul Bolle <pebolle@tiscali.nl>
42389
42390 [BZ #12047]
42391 * manual/charset.texi (Generic Charset Conversion): Fix typo
42392 (LC_TYPE -> LC_CTYPE).
42393
cc6e48bc
NB
423942012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42395
42396 [BZ #5805]
42397 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42398 (scalbnf): Likewise.
42399 (scalbnl): Likewise.
42400 (scalbln): Likewise.
42401 (scalblnf): Likewise.
42402 (scalblnl): Likewise.
42403 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42404 (vwarnx): Likewise.
42405 (verr): Likewise.
42406 (verrx): Likewise.
42407 * manual/filesys.texi (telldir): Use braces around return type.
42408 * manual/llio.texi (mmap): Add space after comma.
42409 (mmap64): Likewise.
42410 * manual/math.texi (jn): Use @var{} on parameter names.
42411 (jnf): Likewise.
42412 (jnl): Likewise.
42413 (yn): Likewise.
42414 (ynf): Likewise.
42415 (ynl): Likewise.
42416 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42417 line.
42418 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42419 "...".
42420 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42421 (sched_get_priority_max): Likewise.
42422 * manual/signal.texi (sigvec): Add space after comma.
42423 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42424 names.
42425 (if_indextoname): Likewise.
42426 (if_freenameindex): Likewise.
42427 (sendto): Use ',' instead of '.' in prototype.
42428 * manual/startup.texi (syscall): Use @dots{} instead of literal
42429 "...".
42430 * manual/stdio.texi (__fpending): Separate initial words of
42431 paragraph from @deftypefun line.
42432 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42433 "...".
42434 (vsyslog): Use @var{} on parameter names.
42435 * manual/terminal.texi (stty): Use @var{} on parameter names.
42436 * manual/users.texi (getutmp): Use @var{} on parameter names.
42437 (getutmpx): Likewise.
42438
5b23062f
JM
424392012-02-17 Joseph Myers <joseph@codesourcery.com>
42440
42441 [BZ #6884]
42442 * manual/stdio.texi (fopen): Fix typos in description of
42443 ",ccs=STRING".
42444
8dee4833
AJ
424452012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42446
42447 [BZ #4026]
42448 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42449 get clock_id definition.
42450
9078ce93
TS
424512012-02-17 Thomas Schwinge <thomas@schwinge.name>
42452
42453 [BZ #4822]
42454 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42455 (madvise): Cast every argument to void on its own.
42456
3835c55f
JM
424572012-02-17 Joseph Myers <joseph@codesourcery.com>
42458
42459 [BZ #9902]
42460 * manual/startup.texi (Exit Status): Fix typo.
42461
35c47e37
JM
424622012-02-17 Joseph Myers <joseph@codesourcery.com>
42463
42464 [BZ #10140]
42465 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42466 * manual/examples/argp-ex2.c: Likewise.
42467 * manual/examples/argp-ex3.c: Likewise.
42468
e3b69ca7
RH
424692012-02-16 Richard Henderson <rth@redhat.com>
42470
42471 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42472 * sysdeps/s390/s390-32/initfini.c: Remove.
42473 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42474 * sysdeps/s390/s390-64/initfini.c: Remove.
42475
df83af67
KK
424762012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42477
42478 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42479 compiler output for sysdeps/generic/initfini.c.
42480 * sysdeps/sh/elf/initfini.c: Remove file.
42481
f63f3380
DM
424822012-02-16 David S. Miller <davem@davemloft.net>
42483
fb59b3a4
DM
42484 [BZ #11494]
42485 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42486
f63f3380
DM
42487 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42488 * sysdeps/sparc/crti.S: New file.
42489 * sysdeps/sparc/crtn.S: New file.
42490 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42491 * sysdeps/sparc/sparc64/Makefile: Likewise.
42492
df6a4a4a
MF
424932012-02-15 Mike Frysinger <vapier@gentoo.org>
42494
6dd8f3dc 42495 [BZ #3335]
df6a4a4a
MF
42496 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42497
1cac7236
RM
424982012-02-15 Roland McGrath <roland@hack.frob.com>
42499
d2c736f8
RM
42500 [BZ #4822]
42501 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42502
1cac7236
RM
42503 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42504 (write, read, close): Likewise.
42505 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42506
8e475601
JM
425072012-02-15 Joseph Myers <joseph@codesourcery.com>
42508
42509 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42510 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42511 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42512 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42513 <bits/signalfd.h>.
42514 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42516 bits/signalfd.h.
42517
ed656b40
MP
425182012-02-14 Marek Polacek <polacek@redhat.com>
42519
42520 * sysdeps/x86_64/crti.S: New file.
42521 * sysdeps/x86_64/crtn.S: New file.
42522 * sysdeps/x86_64/elf/initfini.c: Remove file.
42523
2a979d3a
JM
425242012-02-13 Joseph Myers <joseph@codesourcery.com>
42525
42526 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42527 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42528 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42529 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42530 <bits/inotify.h>.
42531 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42532 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42533 bits/inotify.h.
42534
2a418ac3
JM
425352012-02-13 Joseph Myers <joseph@codesourcery.com>
42536
42537 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42538 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42539 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42540 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42541 <bits/eventfd.h>.
42542 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42544 bits/eventfd.h.
42545
fb779be7
TS
425462012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42547
e19e83c5
RM
42548 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42549 __feraiseexcept instead of feraiseexcept.
7c35ffed 42550
fb779be7
TS
42551 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42552 nanosleep invocations.
42553 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42554 strings, and add error checking for a nanosleep invocations.
42555
59ba27a6
PE
425562012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42557
42558 Replace FSF snail mail address with URLs, as per GNU coding standards.
42559 Most of the snail mail addresses were wrong anyway, and omitting
42560 them makes the source code easier to maintain. Almost all of the
42561 changes are to license notices and to locale LC_IDENTIFICATION
42562 addresses, except for this one:
42563 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42564 not its snail mail address.
42565
57b957eb
RH
425662012-02-09 Richard Henderson <rth@twiddle.net>
42567
af850b1c
RH
42568 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42569 of kernel-features.h.
42570
57b957eb
RH
42571 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42572
6b73181a
MP
425732012-02-08 Marek Polacek <polacek@redhat.com>
42574
42575 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42576 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42577 * sysdeps/gnu/_G_config.h: Likewise.
42578 * sysdeps/generic/_G_config.h: Likewise.
42579
26ecc33a
AS
425802012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42581
6c6dbc63
AS
42582 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42583 tests.
42584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42585
e216c012
AS
42586 * sysdeps/powerpc/powerpc32/crti.S: New file.
42587 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42588 * sysdeps/powerpc/powerpc64/crti.S: New file.
42589 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42590
26ecc33a
AS
42591 * Makeconfig (have-initfini): Don't set.
42592 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42593 * configure.in (nopic_initfini): Don't substitute.
42594 * config.h.in (HAVE_INITFINI): Don't #undef.
42595 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42596 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42597
3add8e13
JM
425982012-02-08 Joseph Myers <joseph@codesourcery.com>
42599
42600 Support crti.S and crtn.S provided directly by architectures.
42601 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42602 [crti.S in sysdirs] (omit-deps): Likewise.
42603 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42604 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42605 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42606 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42607 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42608 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42609 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42610 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42611 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42612 compiler output for sysdeps/generic/initfini.c.
42613 * sysdeps/i386/elf/Makefile: Remove file.
42614 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42615
a22f12b4
MP
426162012-02-07 Marek Polacek <polacek@redhat.com>
42617
42618 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42619 * sysdeps/gnu/_G_config.h: Likewise.
42620 * sysdeps/mach/hurd/_G_config.h: Likewise.
42621
148cf100
MP
426222012-02-07 Marek Polacek <polacek@redhat.com>
42623
42624 * math/Makefile (tests): Add tst-CMPLX2.
42625 * math/tst-CMPLX2.c: New file.
42626
cfdc0dd7
AS
426272012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42628
84ba42c4
AS
42629 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42630
cfdc0dd7
AS
42631 * math/libm-test.inc (jn_test): Add missing L suffix.
42632
622c86f4
MP
426332012-02-06 Marek Polacek <polacek@redhat.com>
42634
42635 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42636 * sysdeps/i386/fpu/e_powf.S: Likewise.
42637 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42638 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42639 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42640 * sysdeps/i386/fpu/e_pow.S: Likewise.
42641 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42642 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42643 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42644 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42645 * sysdeps/i386/fpu/e_log2.S: Likewise.
42646 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42647 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42648 * sysdeps/i386/fpu/e_powl.S: Likewise.
42649 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42650 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42651 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42652 * sysdeps/i386/fpu/e_logl.S: Likewise.
42653 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42654 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42655 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42656 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42657 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42658 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42659 * sysdeps/i386/fpu/e_log.S: Likewise.
42660 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42661 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42662 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42663 * sysdeps/i386/fpu/e_logf.S: Likewise.
42664 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42665 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42666 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42667 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42668 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42669 * sysdeps/i386/fpu/e_log10.S: Likewise.
42670 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42671 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42672 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42673 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42674 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42675 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42676 * sysdeps/i386/asm-syntax.h: Likewise.
42677 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42678 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42679 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42680 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42681 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42682 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42683 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42684 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42685 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42686 * sysdeps/powerpc/sysdep.h: Likewise.
42687 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42688 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42689
d4a54ac6
JM
426902012-02-06 Joseph Myers <joseph@codesourcery.com>
42691
42692 [BZ #411]
42693 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42694
314054ea
JM
426952012-02-06 Joseph Myers <joseph@codesourcery.com>
42696
42697 * sysdeps/i386/sysdep.h: Include <features.h>.
42698 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42699 version.
42700
d8e0ca50
JM
427012012-02-05 Joseph Myers <joseph@codesourcery.com>
42702
42703 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42704 Define.
42705 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42706 LOAD_PIC_REG_STR.
42707
b1da7dd9
JM
427082012-02-03 Joseph Myers <joseph@codesourcery.com>
42709
42710 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42711 (SETUP_PIC_REG): Use GET_PC_THUNK.
42712 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42713 macro.
42714
9a1d9254
JM
427152012-02-03 Joseph Myers <joseph@codesourcery.com>
42716
42717 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42718 for non-PIC compilation.
42719 (SETUP_PIC_REG): Add .p2align directive.
42720 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42721 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42722 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42723 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42724 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42725 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42726 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42727 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42728 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42729 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42730 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42731 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42732 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42733 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42734 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42735 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42736 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42737 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42738 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42739 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42740 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42741 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42742 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42743 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42744 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42745 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42746 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42747 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42748 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42749 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42750 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42751 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42752 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42753 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42754 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42755 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42756 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42757 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42758 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42759 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42760 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42761
65dc3b75
JM
427622012-02-03 Joseph Myers <joseph@codesourcery.com>
42763
42764 * math/tst-CMPLX.c: Include <stdio.h>.
42765
d55bf177
JM
427662012-01-31 Joseph Myers <joseph@codesourcery.com>
42767
42768 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42769 float.
42770 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42771 * sysdeps/sparc/bits/mathdef.h: Likewise.
42772
69db4f8f
MP
427732012-01-31 Marek Polacek <polacek@redhat.com>
42774
42775 * libio/libio.h: Don't define _PARAMS.
42776 * locale/programs/config.h: Don't define PARAMS.
42777 * stdlib/strtol_l.c: Likewise.
42778 (__strtol_l): Remove PARAMS from the prototype.
42779
41b81892
UD
427802012-01-31 Ulrich Drepper <drepper@gmail.com>
42781
3b49edc0
UD
42782 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42783 names. Just use the correct names. Remove unnecessary wrapper
42784 functions.
42785 * malloc/arena.c: Likewise.
42786 * malloc/hooks.c: Likewise.
42787
41b81892
UD
42788 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42789 ARENA_TEST says not to. Simplify test for creation of a new arena.
42790 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42791
27a25b6e
UD
427922012-01-30 Ulrich Drepper <drepper@gmail.com>
42793
42794 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42795 into tail calls.
42796 (update_get_addr): New function.
42797 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42798 GET_ADDR_MODULE parameter.
42799
c8a89e7d
JM
428002012-01-30 Joseph Myers <joseph@codesourcery.com>
42801
42802 * crypt/cert.c: Remove __STDC__ conditionals.
42803 * crypt/crypt-entry.c: Likewise.
42804 * crypt/crypt_util.c: Likewise.
42805 * libio/filedoalloc.c: Likewise.
42806 * libio/fileops.c: Likewise.
42807 * libio/genops.c: Likewise.
42808 * libio/iofclose.c: Likewise.
42809 * libio/iofdopen.c: Likewise.
42810 * libio/iofopen.c: Likewise.
42811 * libio/iofopen64.c: Likewise.
42812 * libio/iogetdelim.c: Likewise.
42813 * libio/iopopen.c: Likewise.
42814 * libio/obprintf.c: Likewise.
42815 * libio/oldfileops.c: Likewise.
42816 * libio/oldiofclose.c: Likewise.
42817 * libio/oldiofdopen.c: Likewise.
42818 * libio/oldiofopen.c: Likewise.
42819 * libio/oldiopopen.c: Likewise.
42820 * libio/wfiledoalloc.c: Likewise.
42821 * libio/wgenops.c: Likewise.
42822 * locale/programs/xmalloc.c: Likewise.
42823 * misc/syslog.c: Likewise.
42824 * stdio-common/xbug.c: Likewise.
42825 * string/memchr.c: Likewise.
42826 * string/memcmp.c: Likewise.
42827 * string/memrchr.c: Likewise.
42828 * string/rawmemchr.c: Likewise.
42829 * sysdeps/posix/getcwd.c: Likewise.
42830 * time/strftime_l.c: Likewise.
42831
3b100462
JM
428322012-01-30 Joseph Myers <joseph@codesourcery.com>
42833
42834 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
42835 * config.make.in (config-cflags-sse2avx): Define.
42836 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42837 Fix typo.
42838
607998af
CM
428392012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42840
42841 * scripts/config.guess: Update from upstream config git repository.
42842 * scripts/config.sub: Likewise.
42843
3601428f
CM
428442012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42845
3ac8b282
CM
42846 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42847 (EM_NUM): Update.
42848 (R_TILEPRO_*, R_TILEGX_*): New macros.
42849
e034841e
CM
42850 * scripts/firstversions.awk: Fix bug in version range handling.
42851
540d7568
CM
42852 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42853
3601428f
CM
42854 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42855
463de862
CM
42856 * include/sys/epoll.h: New file.
42857 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42858 libc_hidden_def.
42859
73139a76
UD
428602012-01-28 Ulrich Drepper <drepper@gmail.com>
42861
96bc5b45
UD
42862 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42863 Avoid unnecessary __WORDSIZE == 64 test.
42864 (fmaxf): Use VEX format if possible.
42865 (fmax): Likewise.
42866 (fminf): Likewise.
42867 (fmin): Likewise.
42868
56f6f6a2
UD
42869 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42870 * math/math_private.h: Remove libc_fegetround* and
42871 libc_fesetround*.
42872 * sysdeps/i386/configure.in: Check for -msse2avx.
42873 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42874 also if SSE2AVX is defined.
42875 Remove libc_fegetround* and libc_fesetround*.
42876 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42877 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42878 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42879 of HAS_YMM_USABLE.
42880 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42881 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42882 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42883 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42884 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42885
73139a76
UD
42886 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42887
d73f93a4
AZ
428882012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42889
42890 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42891 size is not set.
42892 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42893
6ee65ed6
UD
428942012-01-27 Ulrich Drepper <drepper@gmail.com>
42895
42896 [BZ #13618]
42897 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42898 relocation.
42899 * Makeconfig (libm): Define.
42900 * elf/Makefile: Add rules to build and run tst-relsort1.
42901 * elf/tst-relsort1.c: New file.
42902 * elf/tst-relsort1mod1.c: New file.
42903 * elf/tst-relsort1mod2.c: New file.
42904
8db21882
JM
429052012-01-27 Joseph Myers <joseph@codesourcery.com>
42906
42907 * math/s_ldexp.c: Remove __STDC__ conditionals.
42908 * math/s_ldexpf.c: Likewise.
42909 * math/s_ldexpl.c: Likewise.
42910 * math/s_nextafter.c: Likewise.
42911 * math/s_nexttowardf.c: Likewise.
42912 * math/s_significand.c: Likewise.
42913 * math/s_significandf.c: Likewise.
42914 * math/s_significandl.c: Likewise.
42915 * math/w_jnl.c: Likewise.
42916 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42917 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42918 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42919 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42920 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42921 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42922 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42923 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42924 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42925 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42926 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42927 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42928 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42929 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42930 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42931 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42932 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42933 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42934 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42935 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42936 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42937 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42938 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42939 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42940 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42941 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42942 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42943 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42944 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42945 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42946 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42947 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42948 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42949 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42950 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42951 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42952 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42953 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42954 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42955 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42956 * sysdeps/ieee754/k_standard.c: Likewise.
42957 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42958 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42959 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42960 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42961 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42962 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42963 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42964 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42965 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42966 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42967 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42968 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42969 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42970 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42971 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42972 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42973 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42974 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42975 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42976 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42977 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42978 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42979 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42980 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42981 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42982 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42983 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42984 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42985 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42986 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42987 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42988 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42989 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42990 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42991 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42992 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42993 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42994 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42995 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42996 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42997 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42998 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42999 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43000 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43001 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43002 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43003 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43004 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43005 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43006 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43007 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43008 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43009 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43010 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43011 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43012 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43013 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43014 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43015 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43016 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43017 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43018 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43019 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43020 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43021 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43022 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43023 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43024 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43025 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43026 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43027 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43028 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43029 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43030 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43031 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43032 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43033 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43034 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43035 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43036 * sysdeps/ieee754/s_matherr.c: Likewise.
43037 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43038 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43039 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43040 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43041
965a54a4
JM
430422012-01-26 Joseph Myers <joseph@codesourcery.com>
43043
43044 * crypt/md5.h: Remove __STDC__ conditionals.
43045 * libio/libioP.h: Likewise.
43046 * locale/programs/config.h: Likewise.
43047 * sysdeps/generic/sysdep.h: Likewise.
43048 * sysdeps/i386/asm-syntax.h: Likewise.
43049 * sysdeps/s390/asm-syntax.h: Likewise.
43050 * sysdeps/unix/sysdep.h: Likewise.
43051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43053
7071ad79
JM
430542012-01-26 Joseph Myers <joseph@codesourcery.com>
43055
43056 * libio/libio.h: Remove __STDC__ conditionals.
43057 * malloc/obstack.h: Likewise.
43058 * math/complex.h: Likewise.
43059 * math/math.h: Likewise.
43060 * sysdeps/generic/_G_config.h: Likewise.
43061 * sysdeps/gnu/_G_config.h: Likewise.
43062 * sysdeps/mach/hurd/_G_config.h: Likewise.
43063 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43064 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43065 * sysdeps/sparc/bits/mathdef.h: Likewise.
43066
afc5ed09
UD
430672012-01-26 Ulrich Drepper <drepper@gmail.com>
43068
43069 [BZ #13583]
43070 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 43071 Clean up HAS_* macros.
afc5ed09 43072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
43073 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43074 possible.
43075 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43076 HAS_AVX.
43077 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43078 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43079 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43080 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43081 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 43082
bdb6de1d
JM
430832012-01-25 Joseph Myers <joseph@codesourcery.com>
43084
43085 * elf/tst-unique3.cc (gets): Remove declaration.
43086 * elf/tst-unique3lib.cc (gets): Likewise.
43087 * elf/tst-unique3lib2.cc (gets): Likewise.
43088 * elf/tst-unique4.cc (gets): Likewise.
43089
b15549e6
UD
430902012-01-24 Ulrich Drepper <drepper@gmail.com>
43091
43092 * include/stdio.h: Add C++ protection. Add gets declarations and
43093 definitions.
43094 * debug/tst-chk1.c: Don't declare gets here.
43095 * stdio-common/tst-gets.c: Likewise.
43096
a037381f
JM
430972012-01-24 Joseph Myers <joseph@codesourcery.com>
43098
43099 * posix/glob: Remove directory.
43100
f1d4aa75
JM
431012012-01-24 Joseph Myers <joseph@codesourcery.com>
43102
43103 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43104
81c0c964
PT
431052012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43106
43107 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43108 of the non-standard EPFNOSUPPORT.
43109
0ea698ae
ST
431102011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43111
43112 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43113 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43114 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43115
d220b117
UD
431162012-01-21 Ulrich Drepper <drepper@gmail.com>
43117
43118 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43119
3e1aa84e
UD
431202012-01-20 Ulrich Drepper <drepper@gmail.com>
43121
43122 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43123 transient errors.
43124 * nscd/grpcache.c (cache_addgr): Likewise.
43125 * nscd/hstcache.c (cache_addhst): Likewise.
43126 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43127 * nscd/pwdcache.c (cache_addpw): Likewise.
43128 * nscd/servicescache.c (cache_addserv): Likewise.
43129
400aa020
UD
431302012-01-16 Ulrich Drepper <drepper@gmail.com>
43131
d77e7869
UD
43132 * malloc/malloc.c: Various cleanups.
43133 * malloc/hooks.c: Likewise.
43134
400aa020
UD
43135 * stdlib/Makefile (tests): Add bug-fmtmsg1.
43136 * stdlib/bug-fmtmsg1.c: New file.
43137
43138 * stdlib/fmtmsg.c (init): Add missing unlock.
43139 Patch by Peng Haitao <penght@cn.fujitsu.com>.
43140
e0a309cf
MP
431412012-01-12 Marek Polacek <polacek@redhat.com>
43142
43143 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43144 and _GNU_SOURCE.
43145
929d11c7
WS
431462012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43147
43148 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43149 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43150 macro to ensure uniqueness of label name.
43151 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43152 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43153
41d0e869
UD
431542012-01-11 Ulrich Drepper <drepper@gmail.com>
43155
0cc5ed3b
UD
43156 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43157
41d0e869
UD
43158 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43159 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43160 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43161 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43162
a47a831a
UD
431632012-01-10 Ulrich Drepper <drepper@gmail.com>
43164
daa891c0
UD
43165 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43166
43167 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43168 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43169 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43170
e58ef0f2
UD
43171 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43172
a47a831a 43173 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
43174 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43175 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 43176 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
43177
43178 * math/bits/math-finite.h: Add ldexp support.
43179
a0bfc9c7
MP
431802012-01-10 Marek Polacek <polacek@redhat.com>
43181
43182 * locale/programs/localedef.h (show_archive_content): Add noreturn
43183 attribute.
43184
d6e97a1d
UD
431852012-01-09 Ulrich Drepper <drepper@gmail.com>
43186
43187 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43188
d5835c26
UD
431892012-01-08 Ulrich Drepper <drepper@gmail.com>
43190
e5f484c6
UD
43191 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43192
d5835c26
UD
43193 * io/Makefile (headers): Add bits/poll2.h.
43194
d1f741e9
WS
431952011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43196
43197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43198 typo #include statement.
43199
ec09c1c4
UD
432002012-01-08 Ulrich Drepper <drepper@gmail.com>
43201
43202 * include/sys/cdefs.h: Define __attribute_alloc_size.
43203 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43204 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43205 * elf/pldd.c: Likewise.
43206 * iconv/iconv_charmap.c: Likewise.
43207 * iconv/iconvconfig.c: Likewise.
43208 * iconv/strtab.c: Likewise.
43209 * locale/programs/locale.c: Likewise.
43210 * locale/programs/localedef.h: Likewise.
43211 * locale/programs/simple-hash.c: Likewise.
43212 * nscd/nscd.h: Likewise.
43213 * nss/makedb.c: Likewise.
43214 * sysdeps/generic/ldconfig.h: Likewise.
43215 * locale/programs/localedef.c: Remove xmalloc prototype.
43216 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43217
20b38e03
PP
432182012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43219
43220 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43221 appropriate.
43222
a0da5fe1
UD
432232012-01-08 Ulrich Drepper <drepper@gmail.com>
43224
1d5a644a 43225 * math/Makefile (tests): Add tst-CMPLX.
669704fd 43226 * math/tst-CMPLX.c: New file.
1d5a644a 43227
8784a6db
UD
43228 * math/complex.h (CMPLXL): Fix typo.
43229
d9a216c0
UD
43230 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43231 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43232 GLIBC_2.16.
43233 * debug/tst-chk1.c: Add poll and ppoll tests.
43234 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43235 * include/sys/poll.h: Add hidden proto for ppoll.
43236 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43237 * sysdeps/mach/hurd/ppoll.c: Likewise.
43238 * io/ppoll.c: Likewise.
43239 * debug/poll_chk.c: New file.
43240 * debug/ppoll_chk.c: New file.
43241 * include/bits/poll2.h: New file.
43242 * io/bits/poll2.h: New file.
43243
ac097f5c
UD
43244 [BZ #1350]
43245 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43246
2119dcfa
UD
43247 * configure.in: static is always set to yes. Remove.
43248 * config.make.in: Don't set build-static.
43249 * Makeconfig: Remove use of build-static.
43250 * dlfcn/Makefile: Likewise.
43251 * elf/Makefile: Likewise.
43252 * math/Makefile: Likewise.
43253 * misc/Makefile: Likewise.
43254 * nptl/Makefile: Likewise.
43255 * sysdeps/mach/hurd/Makefile: Likewise.
43256
121766a9
UD
43257 * configure.in: PWD_P is not used anymore.
43258 * config.make.in: Remove PWD_P entry.
43259
51a1d39c 43260 * configure.in: Remove last remnants of RANLIB.
8720d066 43261 No need to check for signed size_t anymore.
215f4bdc
UD
43262 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43263 and IA-64.
3857022a 43264 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
43265 * aclocal.m4: Likewise.
43266
d3ed7225
UD
43267 * wcsmbs/mbrtoc16.c: Implement using towc function.
43268 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43269 * wcsmbs/wcsmbsload.c: Likewise.
43270 * iconv/gconv_simple.c: Likewise.
43271 * iconv/gconv_int.h: Likewise.
43272 * iconv/gconv_builtin.h: Likewise.
43273 * iconv/iconv_prog.c: Remove CHAR16 handling.
43274
43275 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43276
43277 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43278
a0da5fe1
UD
43279 * configure.in: Remove --with-elf and --enable-bounded options.
43280 Dont set base_machine for ia64. More non-ELF conditions removed.
43281 Remove testing and setting of leading underscore information.
43282 * config.make.in (build-bounded): Set to no.
43283 * config.h.in: Remove NO_UNDERSCORES entry.
43284 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43285 them.
43286 * csu/start.c: Remove !NO_UNDERSCORE code.
43287 * locale/localeinfo.h: Likewise.
43288 * sysdeps/generic/machine-gmon.h: Likewise.
43289 * sysdeps/generic/sysdep.h: Likewise.
43290 * sysdeps/i386/sysdep.h: Likewise.
43291 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43292 * sysdeps/mach/sysdep.h: Likewise.
43293 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43294 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43295 * sysdeps/sh/sysdep.h: Likewise.
43296 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43297 * sysdeps/unix/i386/sysdep.S: Likewise.
43298 * sysdeps/unix/sparc/start.c: Likewise.
43299 * sysdeps/unix/sparc/sysdep.S: Likewise.
43300 * sysdeps/unix/sparc/sysdep.h: Likewise.
43301 * sysdeps/unix/start.c: Likewise.
43302 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43303 * sysdeps/x86_64/sysdep.h: Likewise.
43304
df78418a
UD
433052012-01-07 Ulrich Drepper <drepper@gmail.com>
43306
a784e502
UD
43307 [BZ #13553]
43308 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43309 for non-gcc.
43310 * argp/argp-fmtstream.h: Use const instead __const.
43311 * argp/argp.h: Likewise.
43312 * assert/assert.h: Likewise.
43313 * bits/fenv.h: Likewise.
43314 * bits/sched.h: Likewise.
43315 * bits/sigset.h: Likewise.
43316 * bits/sigthread.h: Likewise.
43317 * catgets/nl_types.h: Likewise.
43318 * conform/data/pthread.h-data: Likewise.
43319 * crypt/crypt-private.h: Likewise.
43320 * crypt/crypt.h: Likewise.
43321 * crypt/crypt_util.c: Likewise.
43322 * ctype/ctype.h: Likewise.
43323 * debug/execinfo.h: Likewise.
43324 * debug/mbsnrtowcs_chk.c: Likewise.
43325 * debug/mbsrtowcs_chk.c: Likewise.
43326 * debug/wcsnrtombs_chk.c: Likewise.
43327 * debug/wcsrtombs_chk.c: Likewise.
43328 * debug/wcstombs_chk.c: Likewise.
43329 * dirent/dirent.h: Likewise.
43330 * dlfcn/dlfcn.h: Likewise.
43331 * elf/neededtest4.c: Likewise.
43332 * grp/grp.h: Likewise.
43333 * gshadow/gshadow.h: Likewise.
43334 * iconv/gconv.h: Likewise.
43335 * iconv/gconv_int.h: Likewise.
43336 * iconv/gconv_simple.c: Likewise.
43337 * iconv/iconv.h: Likewise.
43338 * iconv/loop.c: Likewise.
43339 * iconv/skeleton.c: Likewise.
43340 * include/aio.h: Likewise.
43341 * include/aliases.h: Likewise.
43342 * include/argz.h: Likewise.
43343 * include/arpa/inet.h: Likewise.
43344 * include/assert.h: Likewise.
43345 * include/dirent.h: Likewise.
43346 * include/dlfcn.h: Likewise.
43347 * include/execinfo.h: Likewise.
43348 * include/fcntl.h: Likewise.
43349 * include/fenv.h: Likewise.
43350 * include/glob.h: Likewise.
43351 * include/grp.h: Likewise.
43352 * include/libintl.h: Likewise.
43353 * include/mntent.h: Likewise.
43354 * include/netdb.h: Likewise.
43355 * include/pwd.h: Likewise.
43356 * include/rpc/netdb.h: Likewise.
43357 * include/sched.h: Likewise.
43358 * include/search.h: Likewise.
43359 * include/shadow.h: Likewise.
43360 * include/signal.h: Likewise.
43361 * include/stdio.h: Likewise.
43362 * include/stdlib.h: Likewise.
43363 * include/string.h: Likewise.
43364 * include/sys/socket.h: Likewise.
43365 * include/sys/stat.h: Likewise.
43366 * include/sys/statfs.h: Likewise.
43367 * include/sys/statvfs.h: Likewise.
43368 * include/sys/syslog.h: Likewise.
43369 * include/sys/time.h: Likewise.
43370 * include/sys/uio.h: Likewise.
43371 * include/time.h: Likewise.
43372 * include/unistd.h: Likewise.
43373 * include/utmp.h: Likewise.
43374 * include/wchar.h: Likewise.
43375 * include/wctype.h: Likewise.
43376 * inet/aliases.h: Likewise.
43377 * inet/arpa/inet.h: Likewise.
43378 * inet/netinet/ether.h: Likewise.
43379 * inet/netinet/in.h: Likewise.
43380 * intl/libintl.h: Likewise.
43381 * io/bits/fcntl2.h: Likewise.
43382 * io/fcntl.h: Likewise.
43383 * io/ftw.h: Likewise.
43384 * io/sys/poll.h: Likewise.
43385 * io/sys/stat.h: Likewise.
43386 * io/sys/statfs.h: Likewise.
43387 * io/sys/statvfs.h: Likewise.
43388 * io/utime.h: Likewise.
43389 * libio/bits/stdio.h: Likewise.
43390 * libio/bits/stdio2.h: Likewise.
43391 * libio/libio.h: Likewise.
43392 * libio/libioP.h: Likewise.
43393 * libio/stdio.h: Likewise.
43394 * locale/lc-ctype.c: Likewise.
43395 * locale/locale.h: Likewise.
43396 * login/utmp.h: Likewise.
43397 * malloc/arena.c: Likewise.
43398 * malloc/malloc.c: Likewise.
43399 * malloc/malloc.h: Likewise.
43400 * malloc/mcheck.c: Likewise.
43401 * malloc/mtrace.c: Likewise.
43402 * math/bits/mathcalls.h: Likewise.
43403 * math/fenv.h: Likewise.
43404 * math/math_private.h: Likewise.
43405 * misc/bits/error.h: Likewise.
43406 * misc/bits/syslog.h: Likewise.
43407 * misc/err.h: Likewise.
43408 * misc/error.h: Likewise.
43409 * misc/fstab.h: Likewise.
43410 * misc/mntent.h: Likewise.
43411 * misc/regexp.h: Likewise.
43412 * misc/search.h: Likewise.
43413 * misc/sgtty.h: Likewise.
43414 * misc/sys/mman.h: Likewise.
43415 * misc/sys/syslog.h: Likewise.
43416 * misc/sys/uio.h: Likewise.
43417 * misc/sys/xattr.h: Likewise.
43418 * misc/ttyent.h: Likewise.
43419 * nis/rpcsvc/ypclnt.h: Likewise.
43420 * nss/nss.h: Likewise.
43421 * posix/bits/unistd.h: Likewise.
43422 * posix/fnmatch.h: Likewise.
43423 * posix/glob.h: Likewise.
43424 * posix/sched.h: Likewise.
43425 * posix/spawn.h: Likewise.
43426 * posix/sys/wait.h: Likewise.
43427 * posix/unistd.h: Likewise.
43428 * posix/wordexp.h: Likewise.
43429 * pwd/pwd.h: Likewise.
43430 * resolv/netdb.h: Likewise.
43431 * resource/sys/resource.h: Likewise.
43432 * rt/aio.h: Likewise.
43433 * rt/bits/mqueue2.h: Likewise.
43434 * rt/mqueue.h: Likewise.
43435 * shadow/shadow.h: Likewise.
43436 * signal/signal.h: Likewise.
43437 * socket/send.c: Likewise.
43438 * socket/sendto.c: Likewise.
43439 * socket/sys/socket.h: Likewise.
43440 * stdio-common/printf.h: Likewise.
43441 * stdlib/bits/stdlib.h: Likewise.
43442 * stdlib/fmtmsg.h: Likewise.
43443 * stdlib/monetary.h: Likewise.
43444 * stdlib/stdlib.h: Likewise.
43445 * stdlib/ucontext.h: Likewise.
43446 * streams/stropts.h: Likewise.
43447 * string/argz.h: Likewise.
43448 * string/bits/string2.h: Likewise.
43449 * string/string.h: Likewise.
43450 * string/strings.h: Likewise.
43451 * sunrpc/rpc/auth.h: Likewise.
43452 * sunrpc/rpc/auth_des.h: Likewise.
43453 * sunrpc/rpc/clnt.h: Likewise.
43454 * sunrpc/rpc/netdb.h: Likewise.
43455 * sunrpc/rpc/pmap_clnt.h: Likewise.
43456 * sunrpc/rpc/xdr.h: Likewise.
43457 * sysdeps/generic/inttypes.h: Likewise.
43458 * sysdeps/generic/net/if.h: Likewise.
43459 * sysdeps/generic/sys/swap.h: Likewise.
43460 * sysdeps/gnu/net/if.h: Likewise.
43461 * sysdeps/gnu/utmpx.h: Likewise.
43462 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43463 * sysdeps/i386/i486/bits/string.h: Likewise.
43464 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43465 * sysdeps/s390/bits/string.h: Likewise.
43466 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43467 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43468 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43469 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43470 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43471 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43472 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43473 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43474 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43475 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43476 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43477 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43478 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43479 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43480 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43481 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43482 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43483 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43484 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43485 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43486 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43487 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43488 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43489 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43490 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43491 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43492 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43493 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43494 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43495 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43496 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43497 * sysvipc/sys/ipc.h: Likewise.
43498 * sysvipc/sys/msg.h: Likewise.
43499 * sysvipc/sys/sem.h: Likewise.
43500 * sysvipc/sys/shm.h: Likewise.
43501 * termios/termios.h: Likewise.
43502 * time/sys/time.h: Likewise.
43503 * time/time.h: Likewise.
43504 * wcsmbs/bits/wchar2.h: Likewise.
43505 * wcsmbs/uchar.h: Likewise.
43506 * wcsmbs/wchar.h: Likewise.
43507 * wctype/wctype.h: Likewise.
43508
0269750c
UD
43509 [BZ #13551]
43510 * Makeconfig: Remove all but ELF support including AIX support.
43511 * Makerules: Likewise.
43512 * config.h.in: Likewise.
43513 * config.make.in: Likewise.
43514 * configure: Likewise.
43515 * configure.in: Likewise.
43516 * csu/Makefile: Likewise.
43517 * csu/version.c: Likewise.
43518 * debug/Makefile: Likewise.
43519 * dlfcn/Makefile: Likewise.
43520 * elf/Makefile: Likewise.
43521 * extra-lib.mk: Likewise.
43522 * iconv/Makefile: Likewise.
43523 * include/libc-symbols.h: Likewise.
43524 * include/shlib-compat.h: Likewise.
43525 * resolv/Makefile: Likewise.
43526 * resolv/res_libc.c: Likewise.
43527 * rt/Makefile: Likewise.
43528 * sysdeps/i386/asm-syntax.h: Likewise.
43529 * sysdeps/i386/sysdep.h: Likewise.
43530 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43531 * sysdeps/mach/sysdep.h: Likewise.
43532 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43533 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43534 * sysdeps/s390/asm-syntax.h: Likewise.
43535 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43536 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43537 * sysdeps/sh/sysdep.h: Likewise.
43538 * sysdeps/unix/sparc/sysdep.h: Likewise.
43539 * sysdeps/wordsize-32/divdi3.c: Likewise.
43540 * sysdeps/x86_64/sysdep.h: Likewise.
43541
00bbd29b
UD
43542 * argp/Versions: Remove _argp_unlock_xxx.
43543
43544 [BZ #13559]
43545 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43546 * abilist/libBrokenLocale.abilist: Likewise.
43547 * abilist/libanl.abilist: Likewise.
43548 * abilist/libc.abilist: Likewise.
43549 * abilist/libcrypt.abilist: Likewise.
43550 * abilist/libdl.abilist: Likewise.
43551 * abilist/libm.abilist: Likewise.
43552 * abilist/libnsl.abilist: Likewise.
43553 * abilist/libpthread.abilist: Likewise.
43554 * abilist/libresolv.abilist: Likewise.
43555 * abilist/librt.abilist: Likewise.
43556 * abilist/libthread_db.abilist: Likewise.
43557 * abilist/libutil.abilist: Likewise.
43558 * abilist/libnss_db.abilist: New file.
43559
43560 * scripts/abilist.awk: Add support for indirect functions.
43561
a2693a0e
UD
43562 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43563
3f05895f
UD
43564 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43565
ecb6fb48
UD
43566 * shlib-versions: Remove entries for ports architectures.
43567
664f8cb9
UD
43568 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43569 files in ports.
43570 * elf/stackguard-macros.h: Remove support for IA-64.
43571 * elf/tst-auditmod1.c: Likewise.
43572 * sysdeps/generic/ldsodefs.h: Likewise.
43573
7ae81d88
UD
43574 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43575 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43576 configure files.
43577
bdeba135
UD
43578 [BZ #13552]
43579 * configure.in: Remove --enable-omitfp support.
43580 * FAQ.in: Adjust.
43581 * config.make.in: Likewise.
43582 * Makeconfig: Likewise.
43583 * manual/install.texi: Likewise.
43584
d75a0a62
UD
43585 In case anyone cares, the IA-64 architecture could move to ports.
43586 * sysdeps/ia64/*: Removed.
43587 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 43588 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 43589
dcc9756b
UD
43590 [BZ #13555]
43591 * configure.in: Remove entries for unsupported architectures.
43592
d3761ebc 43593 [BZ #13533]
9954432e
UD
43594 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43595 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43596 routines.
43597 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43598 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43599 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43600 fall back to using wcrtomb.
43601 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43602 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43603 renaming.
43604 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43605 * wcsmbs/tst-c16c32-1.c: New file.
43606
43607 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43608 local variable.
43609
c3a87236
UD
43610 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43611
28926a1b
UD
43612 * elf/tst-unique3.cc: Add explicit declaration of gets.
43613 * elf/tst-unique3lib.cc: Likewise.
43614 * elf/tst-unique3lib2.cc: Likewise.
43615 * elf/tst-unique4.cc: Likewise.
43616
df78418a
UD
43617 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43618
8ecd6b2a
JM
436192012-01-06 Joseph Myers <joseph@codesourcery.com>
43620
43621 [BZ #13566]
43622 * assert/assert.h (static_assert): Don't define for C++.
43623 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43624 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43625
9f115170
UD
436262012-01-03 Ulrich Drepper <drepper@gmail.com>
43627
5e0d0300
UD
43628 * iconv/loop.c (single loop): Fix assertion in storing of
43629 remaining bytes.
43630
9f115170
UD
43631 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43632
81fb02b0
UD
436332012-01-01 Ulrich Drepper <drepper@gmail.com>
43634
43635 * posix/getconf.c: Update copyright year.
43636 * nss/getent.c: Likewise.
a316c1f6 43637 * nss/makedb.c: Likewise.
81fb02b0
UD
43638 * iconv/iconvconfig.c: Likewise.
43639 * iconv/iconv_prog.c: Likewise.
43640 * elf/ldconfig.c: Likewise.
a316c1f6
UD
43641 * elf/pldd.c: Likewise.
43642 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
43643 * catgets/gencat.c: Likewise.
43644 * csu/version.c: Likewise.
43645 * elf/ldd.bash.in: Likewise.
43646 * elf/sprof.c (print_version): Likewise.
43647 * locale/programs/locale.c: Likewise.
43648 * locale/programs/localedef.c: Likewise.
a316c1f6 43649 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
43650 * nscd/nscd.c (print_version): Likewise.
43651 * debug/xtrace.sh: Likewise.
43652 * malloc/memusage.sh: Likewise.
43653 * malloc/mtrace.pl: Likewise.
43654 * debug/catchsegv.sh: Likewise.
43655
2ba92745
JJ
436562011-12-30 Jakub Jelinek <jakub@redhat.com>
43657
43658 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43659 pure attribute.
43660
dadebdae
UD
436612011-12-24 Ulrich Drepper <drepper@gmail.com>
43662
d3761ebc 43663 [BZ #13533]
db6af3eb
UD
43664 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43665 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43666 transformations.
43667 * iconv/gconv_int.h: Likewise.
43668 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43669 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43670 from libc for GLIBC_2.16.
43671 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43672 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43673 * wcsmbs/uchar.h: Really define mbstate_t.
43674 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43675 * wcsmbs/c16rtomb.c: New file.
43676 * wcsmbs/mbrtoc16.c: New file.
43677 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43678 for C/POSIX locale.
43679 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43680 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43681
dadebdae
UD
43682 * wcsmbs/wchar.h: Add missing __restrict.
43683
67371b56
UD
436842011-12-23 Ulrich Drepper <drepper@gmail.com>
43685
74033a25
UD
43686 [BZ #13532]
43687 * time/Makefile (routines): Add timespec_get.
43688 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43689 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43690 timespec for ISO C11.
43691 * time/timespec_get.c: New file.
43692 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43693 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43694
380d7e87
UD
43695 [BZ #13531]
43696 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43697 * stdlib/stdlib.h: Declare aligned_alloc.
43698 * Versions.def: Add GLIBC_2.16 for libc.
43699 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43700
4e9e7a35
UD
43701 [BZ 13527]
43702 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43703 ISO C11.
43704
380d7e87 43705 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
43706 code.
43707
03a71829
UD
43708 [BZ #13528]
43709 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43710
839e283e
UD
43711 [BZ #13529]
43712 * assert/assert.h (static_assert): Define.
43713
ce5294e2 43714 * version.h: Update for 2.16 development version.
90fa7312 43715
8d44e150 43716 [BZ #13526]
d7809905
UD
43717 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43718 _ISOC11_SOURCE.
43719
c0da14cd
UD
43720 * version.h (RELEASE): Bump for 2.15 release.
43721 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43722
530a3249
MP
43723 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43724 Patch by Marek Polacek <mpolacek@redhat.com>.
43725
67371b56
UD
43726 * bits/byteswap.h: Protect long long constants with __extension__.
43727 * sysdeps/i386/bits/byteswap.h: Likewise.
43728 * sysdeps/ia64/bits/byteswap.h: Likewise.
43729 * sysdeps/s390/bits/byteswap.h: Likewise.
43730 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43731
15db4de1
LD
437322011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43733
43734 [BZ #13540]
bbe315ea
LD
43735 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43736 destination buffer.
15db4de1
LD
43737 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43738
2b2596b1
MP
437392011-12-23 Marek Polacek <polacek@redhat.com>
43740
43741 * elf/dl-addr.c (determine_info): Add inline keyword.
43742 * elf/tst-auditmod4b.c (check_avx): Likewise.
43743 * elf/tst-auditmod6b.c (check_avx): Likewise.
43744 * elf/tst-auditmod6c.c (check_avx): Likewise.
43745 * elf/tst-auditmod7b.c (check_avx): Likewise.
43746
70c6c246
UD
437472011-12-23 Ulrich Drepper <drepper@gmail.com>
43748
43749 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43750 !__SSE_MATH__.
43751
c044cf14
LD
437522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43753
15db4de1 43754 [BZ #13540]
c044cf14
LD
43755 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43756 processing for last bytes.
43757
6b13d9d9
BH
437582011-08-06 Bruno Haible <bruno@clisp.org>
43759
d455f537
BH
43760 [BZ #13061]
43761 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43762 U+0385, not to U+1FEE.
43763
6b13d9d9
BH
43764 [BZ #13062]
43765 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43766 entry for U+00A5 U+0301.
43767
db910efd
UD
437682011-12-22 Ulrich Drepper <drepper@gmail.com>
43769
27deeafc
UD
43770 [BZ #13166]
43771 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43772 buffer for the output is too small.
43773
aed9d171
UD
43774 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43775 optimization.
43776
db910efd
UD
43777 [BZ #13185]
43778 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43779 SSE flags if possible.
43780
2bd779ae
LD
437812011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43782
e7f9dac3 43783 [BZ #13540]
2bd779ae
LD
43784 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43785 processing for last bytes.
43786
154bfc16
JM
437872011-12-22 Joseph Myers <joseph@codesourcery.com>
43788
43789 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43790 (syscall-list-default-options, syscall-list-default-condition)
43791 (syscall-list-includes): Define.
43792 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43793 list of ABIs and options and #if conditions for each ABI. Do not
43794 handle common syscalls between ABIs specially.
43795 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43796 Remove.
43797 (syscall-list-variants, syscall-list-32bit-options)
43798 (syscall-list-32bit-condition, syscall-list-64bit-options)
43799 (syscall-list-64bit-condition): Define.
43800 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43801 (syscall-list-variants, syscall-list-32bit-options)
43802 (syscall-list-32bit-condition, syscall-list-64bit-options)
43803 (syscall-list-64bit-condition): Define.
43804 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43805 Remove.
43806 (syscall-list-variants, syscall-list-32bit-options)
43807 (syscall-list-32bit-condition, syscall-list-64bit-options)
43808 (syscall-list-64bit-condition): Define.
43809 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43810 Remove.
43811 (syscall-list-variants, syscall-list-32bit-options)
43812 (syscall-list-32bit-condition, syscall-list-64bit-options)
43813 (syscall-list-64bit-condition): Define.
43814
21eaf3a5
UD
438152011-12-22 Ulrich Drepper <drepper@gmail.com>
43816
16c6f992
UD
43817 * locale/iso-639.def: Add brx entry.
43818
41043168
UD
43819 [BZ #13328]
43820 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43821 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43822
21eaf3a5
UD
43823 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43824 __feraiseexcept_renamed.
43825
e3a851a2
UD
438262011-12-21 Ulrich Drepper <drepper@gmail.com>
43827
4920765e
UD
43828 [BZ #13538]
43829 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43830 EPOLLET with unsigned values.
43831 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43832 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43833
e3a851a2
UD
43834 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43835 to large cancellation.
43836 * math/s_cacoshf.c: Likewise.
43837 * math/s_cacoshl.c: Likewise.
43838
b27e24b8
RK
438392011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43840
43841 [BZ #13305]
aebefeee 43842 [BZ #12786]
b27e24b8
RK
43843 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43844 * math/s_cacoshf.c: Likewise.
43845 * math/s_cacoshl.c: Likewise.
43846
ee190f67
UD
438472011-12-21 Ulrich Drepper <drepper@gmail.com>
43848
43849 [BZ #13439]
43850 * iconv/gconv.h: Define __GCONV_SWAP.
43851 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43852 * iconvdata/utf-16.c: Likewise.
43853 * iconvdata/utf-32.c: Likewise.
43854
707f25df
AS
438552011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43856
43857 [BZ #13524]
43858 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43859 numerator after shifting it by one limb.
43860
d2daaa1e
RÁE
438612011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43862
43863 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43864 under [__USE_EXTERN_INLINES].
43865
a4647e72
UD
438662011-12-17 Ulrich Drepper <drepper@gmail.com>
43867
43868 [BZ #13446]
43869 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43870
f0b264f1
AZ
438712011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43872
43873 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43874 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43875 optimized code.
43876 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43877 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43878 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43879 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43880 for strncasecmp/strncasecmp_l compilation.
43881 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43882 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43883
8ef4f244
MP
438842011-12-08 Marek Polacek <mpolacek@redhat.com>
43885
43886 [BZ #13484]
43887 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43888 of __asm__.
43889
97ac2654
UD
438902011-12-17 Ulrich Drepper <drepper@gmail.com>
43891
43892 [BZ #13506]
43893 * time/tzfile.c (__tzfile_read): Check values from file header.
43894
91d2a845
WS
438952011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43896
43897 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43898 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43899 * powerpc/powerpc32/dl-start.S: Likewise.
43900 * powerpc/powerpc32/elf/start.S: Likewise.
43901 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43902 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43903 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43904 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43905 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43906 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43907 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43908 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43909 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43910 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43911 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43912 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43913 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43914 * powerpc/powerpc32/memset.S: Likewise.
43915 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43916 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43917 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43918 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43919 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43920 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43921 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43922 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43923 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43924 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43925 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43926 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43927 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43928
a1267ba1
AZ
439292011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43930
43931 * math/libm-test.inc: Added more nearbyint tests.
43932 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43933 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43934 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43935 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43936
ad8ac1bd
RL
439372011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43938
43939 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43940 FD_CLOEXEC.
43941
1d3e4b61
UD
439422011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43943
43944 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43945 Add wcscpy-ssse3 wcscpy-c.
43946 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43947 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43948 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43949 * sysdeps/x86_64/wcschr.S: New file.
43950 * sysdeps/x86_64/wcsrchr.S: New file.
43951 * string/test-strcmp.c: Remove checking of wcscmp function for
43952 wrong alignments.
43953 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43954 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43955 wcsrchr-sse2 wcsrchr-c.
43956 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43957 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43958 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43959 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43960 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43961 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43962 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43963 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43964 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43965 * wcsmbc/wcschr.c (WCSCHR): New macro.
43966
5b330a2d
UD
439672011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43968
43969 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43970 * wcsmbs/test-wcsrchr.c: New file.
43971 * string/test-strrchr.c: Add wcsrchr support.
43972 (WIDE): New macro.
43973 * wcsmbs/test-wcscpy.c: New file.
43974 * string/test-strcpy.c: Add wcscpy support.
43975 (WIDE): New macro.
26428b7c 43976
f039c043
UD
439772011-12-10 Ulrich Drepper <drepper@gmail.com>
43978
43979 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43980 the inner loop.
43981
850fb039
AS
439822011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43983
43984 [BZ #13472]
43985 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43986
4efbd5cb
UD
439872011-12-04 Ulrich Drepper <drepper@gmail.com>
43988
52ff5dd0 43989 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 43990 Minor optimizations.
52ff5dd0 43991
4efbd5cb
UD
43992 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43993 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43994 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43995
8a426e12
UD
439962011-12-03 Ulrich Drepper <drepper@gmail.com>
43997
aff2453d
UD
43998 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43999 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44000 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44001 for gcc to avoid warnings.
44002 * inet/Makefile (tests): Add tst-checks.
44003 * inet/tst-checks.c: New file.
44004
44005 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44006 warning.
44007
44008 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44009 __wmemcmp_sse2.
44010
44011 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44012 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44013
8a426e12
UD
44014 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44015
9bea3473
UD
440162011-12-02 Ulrich Drepper <drepper@gmail.com>
44017
3a965496
UD
44018 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44019 problem.
44020
9bea3473
UD
44021 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44022
f101631b
UD
440232011-11-29 Joseph Myers <joseph@codesourcery.com>
44024
44025 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44026 conditional on GCC version.
44027 (__arch_compare_and_exchange_val_8_acq)
44028 (__arch_compare_and_exchange_val_16_acq)
44029 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44030 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44031 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44032
a98275aa
UD
440332011-12-02 Joseph Myers <joseph@codesourcery.com>
44034
44035 * sysdeps/sh/backtrace.c: New file.
44036
d4cc29a2
AS
440372011-12-02 Andreas Schwab <schwab@redhat.com>
44038
44039 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44040 parenthesis.
44041
6257af2d
AS
440422011-12-01 Andreas Schwab <schwab@redhat.com>
44043
44044 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44045 falling back to utime.
44046
b5f44c1a
AS
440472011-11-30 Andreas Schwab <schwab@redhat.com>
44048
44049 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44050 expectations for float.
44051
f3a6cc0a
AS
440522011-11-29 Andreas Schwab <schwab@redhat.com>
44053
44054 * locale/weight.h (findidx): Add parameter len.
44055 * locale/weightwc.h (findidx): Likewise.
44056 * posix/fnmatch_loop.c (FCT): Adjust caller.
44057 * posix/regcomp.c (build_equiv_class): Likewise.
44058 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44059 * posix/regexec.c (check_node_accept_bytes): Likewise.
44060 * string/strcoll_l.c (STRCOLL): Likewise.
44061 * string/strxfrm_l.c (STRXFRM): Likewise.
44062
9d65ea3a
UD
440632011-11-17 Ulrich Drepper <drepper@gmail.com>
44064
44065 * Makefile.in: Remove CVSOPT handling.
44066 * configure.in: Remove use of AC_REVISION.
44067 * iconvdata/Makefile (distribute): No need to filter out CVS.
44068 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44069 handling.
44070
5583a086
AS
440712011-11-16 Andreas Schwab <schwab@redhat.com>
44072
44073 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44074 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44075 [USE_AS_STRNCASECMP_L]: Likewise.
44076 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44077 NO_TLS_DIRECT_SEG_REFS.
44078 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44079 Fix argument offsets for non-PIC.
44080 [USE_AS_STRNCASECMP_L]: Likewise.
44081 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44082 NO_TLS_DIRECT_SEG_REFS.
44083
d62a8200
UD
440842011-11-15 Ulrich Drepper <drepper@gmail.com>
44085
9d65ea3a 44086 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
44087 O_CLOEXEC.
44088 * locale/loadlocale.c (_nl_load_locale): Likewise.
44089
09f93bd3
AS
440902011-11-15 Andreas Schwab <schwab@redhat.com>
44091
446514f9
AS
44092 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44093 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44094 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44095 (SYSCALL_GETTIME): Set errno on error.
44096
09f93bd3
AS
44097 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44098 count references to noai6ai_cached.
44099
312be3f9
UD
441002011-11-15 Ulrich Drepper <drepper@gmail.com>
44101
44102 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44103
44104 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44105 FD_CLOEXEC for /proc/self/maps.
44106
44107 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44108 FD_CLOEXEC for /proc/meminfo.
44109
44110 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44111 gai.conf.
44112
44113 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44114 FD_CLOEXEC for given file.
44115
44116 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44117
44118 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44119 FD_CLOEXEC for /etc/hosts.
44120 (_gethtent): Likewise.
44121
44122 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44123
44124 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44125 cancellation and set FD_CLOEXEC for /etc/netgroup.
44126
44127 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44128 reading /etc/publickey.
44129
44130 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44131 allow cancellation when reading /etc/group.
44132
44133 * nss/nss_files/files-alias.c (internal_setent): Don't allow
44134 cancellation.
44135 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
44136
44137 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44138 when using data file.
44139
44140 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44141
44142 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44143 (write_nis_obj): Use "c" and "e" in fopen.
44144
44145 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44146
44147 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44148
44149 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44150
44151 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44152
44153 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44154 locale.alias.
44155
44156 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44157
44158 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44159
44160 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44161
44162 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44163 file parsing and set FD_CLOEXEC.
44164
82af0fa8
UD
441652011-11-14 Ulrich Drepper <drepper@gmail.com>
44166
44167 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44168
a5fb313c
AS
441692011-11-14 Andreas Schwab <schwab@redhat.com>
44170
44171 * malloc/arena.c (arena_get2): Don't call reused_arena when
44172 _int_new_arena failed.
44173
6abf3465
UD
441742011-11-14 Ulrich Drepper <drepper@gmail.com>
44175
44176 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44177 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44178 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44179 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44180 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44181 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44182 to compile strcasecmp and strncasecmp.
44183 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44184 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44185
44186 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44187
76e3966e
UD
441882011-11-13 Ulrich Drepper <drepper@gmail.com>
44189
44190 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44191 locale-defines.sym to gen-as-const-headers.
44192 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44193 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44194 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44195 to compile strcasecmp and strncasecmp.
44196 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44197 strcasecmp_l and strncasecmp_l.
44198 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44199 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44200 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44201 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44202 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44203 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44204 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44205 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44206 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44207 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44208 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44209
ab26144e
UD
442102011-11-12 Ulrich Drepper <drepper@gmail.com>
44211
7edb22ef
UD
44212 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44213 result of SYSDEP_GETTIME_CPU to retval.
44214 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44215 parameter list to macro. Remove trailing semicolon. Adjust users.
44216
9694fc44
UD
44217 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44218 variable.
44219
8ad89ef8
UD
44220 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44221 mantissa words.
44222 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44223
0c822ef9
UD
44224 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44225 from unused variable.
44226
874e0564
UD
44227 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44228 DWARF definitions.
44229 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44230 for assembling.
44231
3a2edc79
UD
44232 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44233 over namespaces.
44234
f3c2577f
UD
44235 * sunrpc/rpc_prot.c (rejected): Fix case value.
44236
294ce126
UD
44237 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44238 unsigned long long int to avoid warnings in shift.
44239
5e2b63c6
UD
44240 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44241 of use of trans.
44242 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44243 variable tmp.
44244
e7f4b08e
UD
44245 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44246 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44247 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44248
ab26144e
UD
44249 * nis/nis_table.c (nis_list): Use variable of correct type for
44250 result of __follow_path call.
44251
8a6d5255
AZ
442522011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44253
44254 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44255 of math functions ceil, trunc, floor, round, and sqrt, when
44256 avaliable on the platform.
44257 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44258 name clash.
44259 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44260 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44261 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44262
aaddc98c
MP
442632011-10-30 Marek Polacek <mpolacek@redhat.com>
44264
44265 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44266 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44267
95b7042b
RM
442682011-11-11 Roland McGrath <roland@hack.frob.com>
44269
44270 * include/unistd.h: Fix __readlink return type.
44271 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44272
57769839
UD
442732011-11-11 Ulrich Drepper <drepper@gmail.com>
44274
44275 * stdlib/ucontext.h: Undo last change for makecontext.
44276
edc5984d
AS
442772011-11-11 Andreas Schwab <schwab@redhat.com>
44278
98591e58
AS
44279 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44280
edc5984d
AS
44281 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44282 * setjmp/setjmp.h: Mark functions as non-leaf.
44283 * setjmp/bits/setjmp2.h: Likewise.
44284 * stdlib/ucontext.h: Likewise.
44285
77cdc054
AS
442862011-11-10 Andreas Schwab <schwab@redhat.com>
44287
44288 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44289 (reused_arena): Don't check arena limit.
44290 (arena_get2): Atomically check arena limit.
44291
fe72eebd
UD
442922011-11-08 Ulrich Drepper <drepper@gmail.com>
44293
5f078c32
UD
44294 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44295 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44296
fe72eebd
UD
44297 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44298 instructions.
44299
ae1bc2fa
AS
443002011-11-07 Andreas Schwab <schwab@redhat.com>
44301
7583a88d
AS
44302 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44303 handler when locking.
44304
ae1bc2fa
AS
44305 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44306 Fix size of allocated buffer.
44307
10fb0bfa
AS
443082011-11-04 Andreas Schwab <schwab@redhat.com>
44309
998832a4
AS
44310 [BZ #10103]
44311 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44312 declarations for long double functions.
44313 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44314
10fb0bfa
AS
44315 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44316
3d7ba52b
AS
443172011-11-03 Andreas Schwab <schwab@redhat.com>
44318
a9ae54a1
AS
44319 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44320 installed.
44321
3d7ba52b
AS
44322 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44323 is disabled.
44324
bc8db248
ST
443252011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44326
44327 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44328
45b96dd6
AS
443292011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44330
647776f6
AS
44331 * include/alloca.h (stackinfo_alloca_round): Define.
44332 (extend_alloca): Use it.
44333 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44334 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44335 here.
44336
d91a8b93
AS
44337 * scripts/check-local-headers.sh: Ignore libaudit.h.
44338
45b96dd6
AS
44339 * nscd/Makefile (extra-objs): Make recursively expanded.
44340
432d41ce
UD
443412011-11-01 Ulrich Drepper <drepper@gmail.com>
44342
34372fc6
UD
44343 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44344 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44345
fadb59f8
UD
44346 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44347 * posix/tst-rfc3484-2.c: Likewise.
44348 * posix/tst-rfc3484-3.c: Likewise.
44349
78239589
UD
44350 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44351 process_vm_writev.
44352 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44353 process_vm_writev.
44354 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44355 process_vm_writev from libc using GLIBC_2.15 version.
44356
432d41ce
UD
44357 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44358
02f9c6cf
PP
443592011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44360
44361 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44362 stack usage.
44363
3a2c0242
UD
443642011-10-31 Ulrich Drepper <drepper@gmail.com>
44365
f4ec4833
UD
44366 [BZ #13367]
44367 * nss/getent.c (initgroups_keys): Show error message in case no group
44368 names are given.
44369
3a2c0242
UD
44370 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44371 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44372 __bump_nl_timestamp.
44373 * nscd/connections (nscd_init): When host database is served open
44374 netlink socket and request notification about configuration changes.
44375 (main_loop_poll): Track netlink file descriptor and bump timestamp
44376 in case data becomes available.
44377 (main_loop_epoll): Likewise.
44378 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44379 (database_pers_head): Add extra_data fileds.
44380 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44381 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44382 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44383 Adjust caller.
44384 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44385 in6ai data, call __free_in6ai.
44386 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44387 Add -DHAVE_NETLINK.
44388 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44389 interface information. Reuse previous data if netlink timestamp
44390 is not changed.
44391 (__bump_nl_timestamp): New function.
44392 (__free_in6ai): New function.
44393
636064eb
UD
443942011-10-30 Ulrich Drepper <drepper@gmail.com>
44395
44396 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44397 close_not_cancel_no_status here.
44398 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44399
9beb2334
UD
444002011-10-29 Ulrich Drepper <drepper@gmail.com>
44401
6ef76f3b
UD
44402 [BZ #13276]
44403 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44404 return value.
44405
0ffc4f3e 44406 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
44407 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44408 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44409
cb95113e
UD
444102011-07-03 Andreas Jaeger <aj@suse.de>
44411
44412 [BZ #10709]
44413 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44414 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44415 * math/libm-test.inc (sin_test): Add test case.
44416
a1b560ff
UD
444172011-10-29 Ulrich Drepper <drepper@gmail.com>
44418
c9aaface
UD
44419 [BZ #13337]
44420 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44421 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44422
d272e7f1
UD
44423 * elf/chroot_canon.c (chroot_canon): Cleanups.
44424
1bc33071
UD
44425 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44426
1760874d
TJ
44427 [BZ #13335]
44428 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44429 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44430
51d91b18
UD
44431 * string/test-strchr.c: Make usable for strchrnul testing.
44432 * string/test-strchrnul.c: New file.
44433 * string/Makefile (strop-tests): Add strchrnul.
44434
a1b560ff 44435 * po/it.po: Update from translation team.
b611fb81 44436 * po/es.po: Likewise.
a1b560ff 44437
a5b81e1f
UD
444382011-10-28 Ulrich Drepper <drepper@gmail.com>
44439
fd52bc6d
UD
44440 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44441 the three constants needed as parameters. Drop the others.
44442 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44443 __m128i_strloadu_tolower.
52e4b9eb
UD
44444 Create and initialize variable zero and use it in all the places
44445 where _mm_setzero_si128 was used.
fd52bc6d 44446
a5b81e1f
UD
44447 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44448 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44449 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44450 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44451 anymore.
44452 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44453 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44454 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44455 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44456 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44457 __mpranred, __mptan.
44458 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44459 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44460 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44461 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44462 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44463 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44464 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44465 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44466 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44467
b4343346
AS
444682011-10-28 Andreas Schwab <schwab@redhat.com>
44469
0c92d8a8
AS
44470 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44471 redefine if SHARED.
44472 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44473
b4343346
AS
44474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44475 wide char related routines to wcsmbs subdir.
44476
3871f58f
AS
444772011-10-27 Andreas Schwab <schwab@redhat.com>
44478
44479 [BZ #13344]
44480 * misc/sys/cdefs.h (__THROWNL): Define.
44481 * posix/unistd.h: Use __THREADNL instead of __THREAD
44482 for memory synchronization functions.
44483
94d44d9f
RM
444842011-10-26 Roland McGrath <roland@hack.frob.com>
44485
21b64b15 44486 [BZ #13349]
94d44d9f
RM
44487 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44488 doesn't exist.
44489 * manual/stdio.texi (Obstack Streams): Node removed.
44490
f6ce9294
AS
444912011-10-26 Andreas Schwab <schwab@redhat.com>
44492
80479147
AS
44493 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44494 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44495 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44496
f6ce9294
AS
44497 * math/math_private.h (math_force_eval): Allow non-addressable
44498 arguments.
44499 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44500
618280a1
UD
445012011-10-25 Ulrich Drepper <drepper@gmail.com>
44502
e0016b11
UD
44503 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44504 file is not needed.
44505
44506 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44507 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44508 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44509 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44510 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44511 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44512 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44513 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44514 Add AVX variants.
44515 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44516 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44517 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44518 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44519 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44520 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44521 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44522 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44523 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44524 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44525 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44526 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44527 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44528 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44529 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44530 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44531 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44532 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44533 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44534
44535 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44536 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44537
618280a1
UD
44538 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44539 place. Use VEX encoding when compiling for AVX.
44540
37822576
AS
445412011-10-25 Andreas Schwab <schwab@redhat.com>
44542
1f1e1947
AS
44543 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44544 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44545
37822576
AS
44546 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44547
31ea014d
UD
445482011-10-25 Ulrich Drepper <drepper@gmail.com>
44549
d7826aa1 44550 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 44551 useless if() expression.
d7826aa1
UD
44552 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44553 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44554 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44555 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44556 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44557 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44558 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44559 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44560 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44561 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44562 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44563 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44564 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44565 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44566 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44567 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44568 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44569 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44570 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44571
31ea014d
UD
44572 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44573
16437fec
AS
445742011-10-25 Andreas Schwab <schwab@redhat.com>
44575
44576 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44577 condition.
44578 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44579
31d3cc00
UD
445802011-10-25 Ulrich Drepper <drepper@gmail.com>
44581
44582 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44583 .text section. Avoid duplicate constants.
44584 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44585 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44586 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44587 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44588 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44589 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44591 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44592 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44593 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44594 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44595 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44596 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44597 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44598 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44599 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44600 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44601 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44602 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44603 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44604 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44605 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44606 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44607 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44608 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44609 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44610 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44611 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44612 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44613 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44614 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44615 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44616 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44617 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44618 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44619 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44620 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44621 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44622 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44623 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44624 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44625 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44626 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44627 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44628 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44629
58985aa9
UD
446302011-10-24 Ulrich Drepper <drepper@gmail.com>
44631
202c9deb
UD
44632 * sysdeps/x86_64/dla.h: Move to ...
44633 * sysdeps/x86_64/fpu/dla.h: ...here.
44634 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44635 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 44636
af968f62
UD
44637 * config.make.in: Add have-mfma4 entry.
44638 * configure.in: Substitute libc_cv_cc_fma4.
44639 * math/Makefile (dbl-only-routines): Add sincostab.
44640 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44641 Use __sincostab not sincos.
44642 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44643 name is a macro.
44644 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44645 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44646 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44647 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44648 using __copysign.
44649 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44650 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44651 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44652 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44653 and __inv.
44654 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44655 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44656 __copysign.
44657 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44658 define aliases when function name is a macro.
44659 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44660 sysdeps/ieee754/dbl-64/sincos.tbl.
44661 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44662 fma4-enabled routines.
44663 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44664 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44665 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44666 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44667 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44668 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44669 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44670 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44671 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44672 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44673 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44674 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44675 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44676 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44677 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44678 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44679 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44680 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44681 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44682 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44683 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44684 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44685 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44686 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44687 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44688 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44689 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44690 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44691 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44692 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44693
58985aa9
UD
44694 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44695 rename.
44696 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44697 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44698 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44699 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44700 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44701 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44702 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44703 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44704
a201fbcf
AS
447052011-10-24 Andreas Schwab <schwab@redhat.com>
44706
44707 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44708
fc2ee42a
LD
447092011-10-23 Ulrich Drepper <drepper@gmail.com>
44710
bb3129bd
UD
44711 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44712
0275fff8
UD
44713 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44714 prediction.
44715 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44716
2fa2ae85
UD
44717 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44718 Remove unused variable magic_bits.
44719 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44720
fc2ee42a
LD
44721 * string/strnlen.c: Define and use STRNLEN macro.
44722 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44723 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44724 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44725 * wcsmbs/wcslen.c: Define and use WCSLEN.
44726 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44727 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44728 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44729 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44730 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44731 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44732 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44733
ce7dd29f
LD
447342011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44735
44736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44737 strnlen-sse2-no-bsf.
44738 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44739 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44740 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44741 Add strnlen support.
44742 (USE_AS_STRNLEN): New macro.
44743 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44744 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44745 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44746 * sysdeps/x86_64/wcslen.S: New file.
44747
979c70a3
MZ
447482011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44749
44750 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44751 XMM-moves are used for copying on small sizes.
44752
2d09f82f
LD
447532011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44754
44755 * wcsmbs/Makefile (strop-tests): Add wcschr.
44756 * wcsmbs/test-wcschr.c: New file.
44757 * string/test-strchr.c: Update.
44758 Add wcschr support.
44759 (WIDE): New macro.
44760
619fccca
LD
447612011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44762
2d09f82f 44763 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
44764 * wcsmbs/test-wcslen.c: New file.
44765 * string/test-strlen.c: Update.
44766 Add wcslen support.
44767 (WIDE): New macro.
44768
09f699ea
UD
447692011-10-23 Ulrich Drepper <drepper@gmail.com>
44770
44771 * po/it.po: Update from translation team.
44772
95584d3b
LD
447732011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44774
44775 * sysdeps/x86_64/wcscmp.S: Update.
44776 Fix wrong comparison semantics.
44777 wcscmp shall use signed comparison not unsigned.
44778 Don't use substraction to avoid overflow bug.
44779 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44780 * wcsmbc/wcscmp.c: Likewise.
44781 * string/test-strcmp.c: Likewise.
44782 Add new tests to check cases with negative values.
44783
c8b3296b
UD
447842011-10-23 Ulrich Drepper <drepper@gmail.com>
44785
44786 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44787 * sysdeps/x86_64/dla.h: ...here. New file.
44788 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44789 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44790 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44791 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44792 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44793 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44794 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44795 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44796 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44797
246ad57a
AS
447982011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44799
44800 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44801 __ynl_finite aliases.
44802
a1a87169
UD
448032011-10-22 Ulrich Drepper <drepper@gmail.com>
44804
0d355eb7
UD
44805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44806
a1a87169
UD
44807 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44808 define DLA_FMA.
44809 [DLA_FMA] (EMULV): Use DLA_FMA.
44810 [DLA_FMA] (MUL12): Use EMULV.
44811 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44812 that are not needed.
44813 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44814 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44815 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44817 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44818 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44819 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44820
ee2aafe0
AS
448212011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44822
44823 * math/s_nan.c: Undef __nan.
44824 * math/s_nanf.c: Undef __nanf.
44825 * math/s_nanl.c: Undef __nanl.
44826 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44827 "math_private.h".
44828
bc62c2fb
UD
448292011-10-22 Ulrich Drepper <drepper@gmail.com>
44830
77425c63
UD
44831 * math/s_catan.c: Add branch predictions.
44832 * math/s_catanf.c: Likewise.
44833 * math/s_catanh.c: Likewise.
44834 * math/s_catanhf.c: Likewise.
44835 * math/s_catanhl.c: Likewise.
44836 * math/s_catanl.c: Likewise.
44837 * math/s_cexp.c: Likewise.
44838 * math/s_cexpf.c: Likewise.
44839 * math/s_cexpl.c: Likewise.
44840 * math/s_clog.c: Likewise.
44841 * math/s_clog10.c: Likewise.
44842 * math/s_clog10f.c: Likewise.
44843 * math/s_clog10l.c: Likewise.
44844 * math/s_clogf.c: Likewise.
44845 * math/s_clogl.c: Likewise.
44846 * math/s_csqrt.c: Likewise.
44847 * math/s_csqrtf.c: Likewise.
44848 * math/s_csqrtl.c: Likewise.
44849 * math/s_ctanf.c: Likewise.
44850 * math/s_ctanh.c: Likewise.
44851 * math/s_ctanhf.c: Likewise.
44852 * math/s_ctanhl.c: Likewise.
44853 * math/s_ctanl.c: Likewise.
44854
bc62c2fb
UD
44855 * math/math_private.h: Define __nan, __nanf, __nanl.
44856 * math/s_cacosh.c: Include <math_private.h>.
44857 * math/s_cacoshl.c: Likewise.
44858 * math/s_casinh.c: Likewise.
44859 * math/s_casinhf.c: Likewise.
44860 * math/s_casinhl.c: Likewise.
44861 * math/s_ccos.c: Rely entire on ccosh.
44862 * math/s_ccosf.c: Rely entire on ccoshf.
44863 * math/s_ccosl.c: Rely entirely on ccoshl.
44864 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44865 Remove tests for FE_INVALID.
44866 * math/s_ccoshf.c: Likewise.
44867 * math/s_ccoshl.c: Likewise.
44868 * math/s_csin.c: Likewise.
44869 * math/s_csinf.c: Likewise.
44870 * math/s_csinh.c Likewise.
44871 * math/s_csinhf.c: Likewise.
44872 * math/s_csinhl.c: Likewise.
44873 * math/s_csinl.c: Likewise.
44874 * math/s_ctan.c: Likewise.
44875 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44876 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44877 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44878
8ec250a4
UD
448792011-10-21 Ulrich Drepper <drepper@gmail.com>
44880
c196fed8
UD
44881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44882 compilation problems.
44883
8ec250a4
UD
44884 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44885 __builtin_expect.
44886
8d4f46c6
UD
448872011-10-20 Ulrich Drepper <drepper@gmail.com>
44888
ed72b654
UD
44889 * sysdeps/i386/configure.in: Test for -mfma4 option.
44890 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44891 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44892 COMMON_CPUID_INDEX_80000001.
44893 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44894 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44895 use it if FMA3 is not supported.
44896 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44897
8d4f46c6
UD
44898 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44899 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44900
d45c60c2
AS
449012011-10-20 Andreas Schwab <schwab@redhat.com>
44902
44903 [BZ #12892]
44904 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44905 it would create a cycle with a link time dependency.
44906
d9a4d2ab
UD
449072011-10-19 Ulrich Drepper <drepper@gmail.com>
44908
855d1560
UD
44909 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44910 instruction.
44911 * string/Makefile (strop-tests): Add rawmemchr.
44912 * string/test-rawmemchr.c: New file.
44913
d9a4d2ab
UD
44914 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44915 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44916 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44917 when compiling str{,n}casecmp and when AVX is available. Hook up
44918 new optimized code in initializers.
44919
8f3b1ffe
AS
449202011-10-19 Andreas Schwab <schwab@redhat.com>
44921
44922 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44923 __feraiseexcept instead of feraiseexcept.
44924
d38f1dba
UD
449252011-10-18 Ulrich Drepper <drepper@gmail.com>
44926
d9a8d0ab
UD
44927 * math/math_private.h: Define defaults for libc_fetestexcept and
44928 libc_feupdateenv.
44929 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44930 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44931 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44932 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44933 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44934 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44935 libc_fetestexcept and libc_feupdateenv.
44936
4855e3dd
UD
44937 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44938 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44939 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44940 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44941 libc_feholdexcept_setround.
44942
581d30e3
UD
44943 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44944 Add s_nearbyint-c and s_nearbyintf-c.
44945 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44946 nearbyintf inlines.
44947 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44948 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44949 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44950 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44951
d38f1dba
UD
44952 * math/math_private.h: Define defaults for libc_fegetround,
44953 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44954 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44955 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44956 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44957 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44958 standard functions.
44959 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44960 Remove comments and hacks for old compiler versions.
44961 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44962 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44963 libc_feholdexceptl.
44964
caa6c9d8
AS
449652011-10-18 Andreas Schwab <schwab@redhat.com>
44966
44967 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
44968 (__feraiseexcept_renamed): Add __NTH.
44969 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
44970 namespace violations.
44971
97c066e6
UD
449722011-10-17 Ulrich Drepper <drepper@gmail.com>
44973
99ce7b04
UD
44974 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44975
1004d182
UD
44976 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44977
228a984d
UD
44978 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44979 recently added interfaces.
44980 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44981
c8553a6a
UD
44982 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44983 about macro parameter expansion.
44984
ed22dcf6
UD
44985 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44986 __NO_MATH_INLINES is defined. Cleanups.
44987
44988 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44989 and __floorf is target has SSE4.1.
44990 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44991 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44992 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44993 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44994
b171c137
UD
44995 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44996 name.
44997 (floorf): Likewise.
44998
97c066e6
UD
44999 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45000
629f62ef
AS
450012011-10-17 Andreas Schwab <schwab@redhat.com>
45002
49a43d80
AS
45003 * misc/sys/cdefs.h: Fix last change.
45004
629f62ef
AS
45005 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45006 database lookup.
45007
e453f6cd
UD
450082011-10-16 Ulrich Drepper <drepper@gmail.com>
45009
aa78043a
UD
45010 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45011
ad0f5cad
UD
45012 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45013 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45014 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45015 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45016 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45017 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45018 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45019 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45020 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45021 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45022 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45023 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45024 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45025 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45026 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45027 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45028 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45029 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45030 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45031 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45032 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45033 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45034
45035 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45036 ceil, ceilf, floor, floorf.
45037
45038 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45039 Perform IRELATIVE relocations last.
45040
e453f6cd
UD
45041 * elf/do-rel.h: Add another parameter nrelative, replacing the
45042 local variable with the same name. Change name of the function
45043 to end in Rel or Rela (uppercase).
45044 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45045 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45046 elf_dynamic_do_##reloc function.
45047
fd5bdc09
UD
450482011-10-15 Ulrich Drepper <drepper@gmail.com>
45049
79b195b5
UD
45050 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45051 is sufficient, at least on modern CPUs.
45052
d4a28569
UD
45053 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45054
b61099b5
UD
45055 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45056 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45057
bcf01e6d
UD
45058 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45059 __expl_finite.
45060 * math/bits/math-finite.h: Add entries for exp.
45061 * math/e_expl.c: Add __*_finite alias.
45062 * sysdeps/i386/fpu/e_exp.S: Likewise.
45063 * sysdeps/i386/fpu/e_expf.S: Likewise.
45064 * sysdeps/i386/fpu/e_expl.c: Likewise.
45065 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45066 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45067 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45068 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45069 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45070 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45071 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45072
ba1a0d59
UD
45073 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45074 is sufficient, at least on modern CPUs.
45075
fd5bdc09
UD
45076 * ctype/ctype-info.c (__ctype_init): Define.
45077 * include/ctype.h (__ctype_init): Declare.
45078 (__ctype_b_loc): The variable is always initialized.
45079 (__ctype_toupper_loc): Likewise.
45080 (__ctype_tolower_loc): Likewise.
45081 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45082 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45083
7872cfb0
AS
450842011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45085
b468825a
AS
45086 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45087
7872cfb0
AS
45088 * configure.in: Also look in $cxxmachine/include for C++ system
45089 headers.
45090
be13f7bf
LD
450912011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45092
45093 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45094 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45095 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45096 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45097 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45098 (USE_AS_WMEMCMP): New macro.
45099 Fixing indents.
45100 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45101 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45102 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45103 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45104 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45105 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45106 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45107 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45108 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45109 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45110 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45111 (USE_AS_WMEMCMP): New macro.
45112 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45113 * sysdeps/string/test-memcmp.c: Update.
45114 Fix simple_wmemcmp.
45115 Add new tests.
45116 * wcsmbs/wmemcmp.c: Update.
45117 (WMEMCMP): New macro.
45118 Fix overflow bug.
45119
556a2007
AJ
451202011-10-12 Andreas Jaeger <aj@suse.de>
45121
45122 [BZ #13268]
45123 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45124
538faaa7
UD
451252011-10-15 Ulrich Drepper <drepper@gmail.com>
45126
ab6737ff
UD
45127 * libio/iofwide.c (do_length): Avoid warning.
45128
538faaa7
UD
45129 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45130
396a21b1
UD
451312011-10-14 Ulrich Drepper <drepper@gmail.com>
45132
cdf2901f
UD
45133 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45134
38ad40ce
UD
45135 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45136 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45137 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45138 * sysdeps/i386/i686/fpu/e_log.S: New file.
45139 * sysdeps/i386/i686/fpu/e_logf.S: New file.
45140 * sysdeps/i386/i686/fpu/e_logl.S: New file.
45141
396a21b1
UD
45142 * ctype/ctype.h: Add support for inlined isXXX functions when
45143 compiling C++ code.
45144
6b1f68c9
AS
451452011-10-14 Andreas Schwab <schwab@redhat.com>
45146
349290c0
AS
45147 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45148
6b1f68c9
AS
45149 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45150
f2282d42
RM
451512011-10-13 Roland McGrath <roland@hack.frob.com>
45152
45153 [BZ #13291]
45154 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45155
5298ffa8
AS
451562011-10-13 Andreas Schwab <schwab@redhat.com>
45157
714fad23
AS
45158 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45159 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45160 feraiseexcept.
45161
81dcc7fb
AS
45162 * sysdeps/x86_64/memrchr.S: Check for zero size.
45163
5298ffa8
AS
45164 * string/stratcliff.c: Add memrchr tests.
45165
951fbcec
LD
451662011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45167
45168 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45169 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45170 rawmemchr-sse2 rawmemchr-sse2-bsf.
45171 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45172 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45173 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45174 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45175 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45176 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45177 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45178 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45179 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45180 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45181 * string/memrchr.c (MEMRCHR): New macro.
45182
0ac5ae23
UD
451832011-10-12 Ulrich Drepper <drepper@gmail.com>
45184
45185 Add integration with gcc's -ffinite-math-only and optimize wrapper
45186 functions in libm.
45187 * Versions.def: Define GLIBC_2.15 version for libm.
45188 * math/Makefile (headers): Add bits/math-finite.h.
45189 * math/bits/math-finite.h: New file.
45190 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45191 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45192 * math/e_acoshl.c: Add __*_finite alias.
45193 * math/e_acosl.c: Likewise.
45194 * math/e_asinl.c: Likewise.
45195 * math/e_atan2l.c: Likewise.
45196 * math/e_atanhl.c: Likewise.
45197 * math/e_coshl.c: Likewise.
45198 * math/e_exp10.c: Likewise.
45199 * math/e_exp10f.c: Likewise.
45200 * math/e_exp10l.c: Likewise.
45201 * math/e_exp2l.c: Likewise.
45202 * math/e_fmodl.c: Likewise.
45203 * math/e_gammal_r.c: Likewise.
45204 * math/e_hypotl.c: Likewise.
45205 * math/e_j0l.c: Likewise.
45206 * math/e_j1l.c: Likewise.
45207 * math/e_jnl.c: Likewise.
45208 * math/e_lgammal_r.c: Likewise.
45209 * math/e_log10l.c: Likewise.
45210 * math/e_log2l.c: Likewise.
45211 * math/e_logl.c: Likewise.
45212 * math/e_powl.c: Likewise.
45213 * math/e_sinhl.c: Likewise.
45214 * math/e_sqrtl.c: Likewise.
45215 * math/e_scalb.c: Completely rewritten and optimized.
45216 * math/e_scalbf.c: Likewise.
45217 * math/e_scalbl.c: Likewise.
45218 * math/w_acos.c: Likewise.
45219 * math/w_acosf.c: Likewise.
45220 * math/w_acosl.c: Likewise.
45221 * math/w_acosh.c: Likewise.
45222 * math/w_acoshf.c: Likewise.
45223 * math/w_acoshl.c: Likewise.
45224 * math/w_asin.c: Likewise.
45225 * math/w_asinf.c: Likewise.
45226 * math/w_asinl.c: Likewise.
45227 * math/w_atan2.c: Likewise.
45228 * math/w_atan2f.c: Likewise.
45229 * math/w_atan2l.c: Likewise.
45230 * math/w_atanh.c: Likewise.
45231 * math/w_atanhf.c: Likewise.
45232 * math/w_atanhl.c: Likewise.
45233 * math/w_exp10.c: Likewise.
45234 * math/w_exp10f.c: Likewise.
45235 * math/w_exp10l.c: Likewise.
45236 * math/w_fmod.c: Likewise.
45237 * math/w_fmodf.c: Likewise.
45238 * math/w_fmodl.c: Likewise.
45239 * math/w_j0.c: Likewise.
45240 * math/w_j0f.c: Likewise.
45241 * math/w_j0l.c: Likewise.
45242 * math/w_j1.c: Likewise.
45243 * math/w_j1f.c: Likewise.
45244 * math/w_j1l.c: Likewise.
45245 * math/w_jn.c: Likewise.
45246 * math/w_jnf.c: Likewise.
45247 * math/w_log.c: Likewise.
45248 * math/w_logf.c: Likewise.
45249 * math/w_logl.c: Likewise.
45250 * math/w_log10.c: Likewise.
45251 * math/w_log10f.c: Likewise.
45252 * math/w_log10l.c: Likewise.
45253 * math/w_log2.c: Likewise.
45254 * math/w_log2f.c: Likewise.
45255 * math/w_log2l.c: Likewise.
45256 * math/w_pow.c: Likewise.
45257 * math/w_powf.c: Likewise.
45258 * math/w_powl.c: Likewise.
45259 * math/w_remainder.c: Likewise.
45260 * math/w_remainderf.c: Likewise.
45261 * math/w_remainderl.c: Likewise.
45262 * math/w_scalb.c: Likewise.
45263 * math/w_scalbf.c: Likewise.
45264 * math/w_scalbl.c: Likewise.
45265 * math/w_sqrt.c: Likewise.
45266 * math/w_sqrtf.c: Likewise.
45267 * math/w_sqrtl.c: Likewise.
45268 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45269 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45270 used.
45271 * math/math_private.h: Declare __kernel_standard_f.
45272 * math/w_cosh.c: Remove cruft and optimize a bit.
45273 * math/w_coshf.c: Likewise.
45274 * math/w_coshl.c: Likewise.
45275 * math/w_exp2.c: Likewise.
45276 * math/w_exp2f.c: Likewise.
45277 * math/w_exp2l.c: Likewise.
45278 * math/w_hypot.c: Likewise.
45279 * math/w_hypotf.c: Likewise.
45280 * math/w_hypotl.c: Likewise.
45281 * math/w_lgamma.c: Likewise.
45282 * math/w_lgamma_r.c: Likewise.
45283 * math/w_lgammaf.c: Likewise.
45284 * math/w_lgammaf_r.c: Likewise.
45285 * math/w_lgammal.c: Likewise.
45286 * math/w_lgammal_r.c: Likewise.
45287 * math/w_sinh.c: Likewise.
45288 * math/w_sinhf.c: Likewise.
45289 * math/w_sinhl.c: Likewise.
45290 * math/w_tgamma.c: Likewise.
45291 * math/w_tgammaf.c: Likewise.
45292 * math/w_tgammal.c: Likewise.
45293 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45294 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45295 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45296 Minor optimizations. Pretty printing. Remove cruft.
45297 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45298 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45299 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45300 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45301 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45302 * sysdeps/i386/fpu/e_asin.S: Likewise.
45303 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45304 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45305 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45306 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45307 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45308 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45309 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45310 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45311 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45312 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45313 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45314 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45315 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45316 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45317 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45318 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45319 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45320 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45321 * sysdeps/i386/fpu/e_log.S: Likewise.
45322 * sysdeps/i386/fpu/e_log10.S: Likewise.
45323 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45324 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45325 * sysdeps/i386/fpu/e_log2.S: Likewise.
45326 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45327 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45328 * sysdeps/i386/fpu/e_logf.S: Likewise.
45329 * sysdeps/i386/fpu/e_logl.S: Likewise.
45330 * sysdeps/i386/fpu/e_pow.S: Likewise.
45331 * sysdeps/i386/fpu/e_powf.S: Likewise.
45332 * sysdeps/i386/fpu/e_powl.S: Likewise.
45333 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45334 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45335 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45336 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45337 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45338 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45339 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45340 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45341 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45342 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45343 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45344 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45345 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45346 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45347 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45348 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45349 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45350 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45351 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45352 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45353 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45354 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45355 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45356 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45357 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45358 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45359 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45360 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45361 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45362 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45363 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45364 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45365 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45366 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45367 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45368 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45369 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45370 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45371 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45372 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45373 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45374 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45375 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45376 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45377 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45378 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45379 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45380 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45381 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45382 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45383 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45384 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45385 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45386 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45387 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45388 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45389 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45390 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45391 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45392 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45393 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45394 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45395 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45396 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45397 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45398 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45399 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45400 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45401 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45402 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45403 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45404 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45405 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45406 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45407 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45408 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45409 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45410 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45411 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45412 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45413 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45414 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45415 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45416 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45417 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45418 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45419 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45420 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45421 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45422 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45423 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45424 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45425 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45426 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45427 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45428 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45429 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45430 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45431 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45432 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45433 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45434 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45435 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45436 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45437 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45438 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45439 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45440 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45441 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45442 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45443 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45444 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45445 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45446 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45447 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45448 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45449 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45450 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45451 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45452 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45453 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45454 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45455 (__isnanf): Likewise.
45456 (__isinf_ns): Likewise.
45457 (__isinf_nsf): Likewise.
45458 (__finite): Likewise.
45459 (__finitef): Likewise.
45460 (__ieee754_sqrt): Define as macro.
45461 (__ieee754_sqrtf): Define as macro.
45462 (__ieee754_sqrtl): Define as macro.
45463 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45464 inlined copy.
45465 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45466 __FINITE_MATH_ONLY__ consistent.
45467 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45468
12cc2fcd
AS
454692011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45470
a843a204
AS
45471 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45472 of rawmemchr.
45473
12cc2fcd
AS
45474 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45475
c853acd5
UD
454762011-10-09 Ulrich Drepper <drepper@gmail.com>
45477
45478 * po/ja.po: Update from translation team.
45479
c658d255
RM
454802011-10-08 Roland McGrath <roland@hack.frob.com>
45481
110946e4
RM
45482 * locale/programs/locarchive.c (prepare_address_space): New function.
45483 (create_archive, enlarge_archive, open_archive): Use it.
45484
50604220
RM
45485 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45486 inside [SHARED], where it is used.
45487
c658d255
RM
45488 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45489
45490 * nss/getent.c (netgroup_keys): Remove unused variable.
45491 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45492
6a621eb7
UD
454932011-10-08 Ulrich Drepper <drepper@gmail.com>
45494
7edb55ce
UD
45495 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45496 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45497 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45498 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45499 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45500 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45501 * math/Makefile (libm-calls): Add s_isinf_ns.
45502 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45503 * math/multc3.c: Likewise.
45504 * math/s_casin.c: Likewise.
45505 * math/s_casinf.c: Likewise.
45506 * math/s_casinl.c: Likewise.
45507 * math/s_ccos.c: Likewise.
45508 * math/s_ccosf.c: Likewise.
45509 * math/s_ccosl.c: Likewise.
45510 * math/s_ctan.c: Likewise.
45511 * math/s_ctanf.c: Likewise.
45512 * math/s_ctanh.c: Likewise.
45513 * math/s_ctanhf.c: Likewise.
45514 * math/s_ctanhl.c: Likewise.
45515 * math/s_ctanl.c: Likewise.
45516 * math/w_fmod.c: Likewise.
45517 * math/w_fmodf.c: Likewise.
45518 * math/w_fmodl.c: Likewise.
45519 * math/w_remainder.c: Likewise.
45520 * math/w_remainderf.c: Likewise.
45521 * math/w_remainderl.c: Likewise.
45522 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45523 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45524 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45525 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45526 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45527 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45528 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45529 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45530
187da0ae
UD
45531 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45532 of the number.
45533 * stdio-common/printf_fphex.c: Likewise.
45534 * stdio-common/printf_size.c: Likewise.
45535
9277c064
UD
45536 * math/e_exp10.c: Include math_private.h using <...> not "...".
45537 * math/e_exp10f.c: Likewise.
45538 * math/e_exp10l.c: Likewise.
45539 * math/e_exp2l.c: Likewise.
45540 * math/e_j0l.c: Likewise.
45541 * math/e_j1l.c: Likewise.
45542 * math/e_jnl.c: Likewise.
45543 * math/e_lgammal_r.c: Likewise.
45544 * math/e_rem_pio2l.c: Likewise.
45545 * math/e_scalb.c: Likewise.
45546 * math/e_scalbf.c: Likewise.
45547 * math/e_scalbl.c: Likewise.
45548 * math/k_cosl.c: Likewise.
45549 * math/k_sinl.c: Likewise.
45550 * math/k_tanl.c: Likewise.
45551 * math/s_cacoshf.c: Likewise.
45552 * math/s_catan.c: Likewise.
45553 * math/s_catanf.c: Likewise.
45554 * math/s_catanh.c: Likewise.
45555 * math/s_catanhf.c: Likewise.
45556 * math/s_catanhl.c: Likewise.
45557 * math/s_catanl.c: Likewise.
45558 * math/s_ccosh.c: Likewise.
45559 * math/s_ccoshf.c: Likewise.
45560 * math/s_ccoshl.c: Likewise.
45561 * math/s_cexp.c: Likewise.
45562 * math/s_cexpf.c: Likewise.
45563 * math/s_cexpl.c: Likewise.
45564 * math/s_clog.c: Likewise.
45565 * math/s_clog10.c: Likewise.
45566 * math/s_clog10f.c: Likewise.
45567 * math/s_clog10l.c: Likewise.
45568 * math/s_clogf.c: Likewise.
45569 * math/s_clogl.c: Likewise.
45570 * math/s_csin.c: Likewise.
45571 * math/s_csinf.c: Likewise.
45572 * math/s_csinh.c: Likewise.
45573 * math/s_csinhf.c: Likewise.
45574 * math/s_csinhl.c: Likewise.
45575 * math/s_csinl.c: Likewise.
45576 * math/s_csqrt.c: Likewise.
45577 * math/s_csqrtf.c: Likewise.
45578 * math/s_csqrtl.c: Likewise.
45579 * math/s_ctan.c: Likewise.
45580 * math/s_ctanf.c: Likewise.
45581 * math/s_ctanh.c: Likewise.
45582 * math/s_ctanhf.c: Likewise.
45583 * math/s_ctanhl.c: Likewise.
45584 * math/s_ctanl.c: Likewise.
45585 * math/s_ldexp.c: Likewise.
45586 * math/s_ldexpf.c: Likewise.
45587 * math/s_ldexpl.c: Likewise.
45588 * math/s_significand.c: Likewise.
45589 * math/s_significandf.c: Likewise.
45590 * math/s_significandl.c: Likewise.
45591 * math/w_acos.c: Likewise.
45592 * math/w_acosf.c: Likewise.
45593 * math/w_acosh.c: Likewise.
45594 * math/w_acoshf.c: Likewise.
45595 * math/w_acoshl.c: Likewise.
45596 * math/w_acosl.c: Likewise.
45597 * math/w_asin.c: Likewise.
45598 * math/w_asinf.c: Likewise.
45599 * math/w_asinl.c: Likewise.
45600 * math/w_atan2.c: Likewise.
45601 * math/w_atan2f.c: Likewise.
45602 * math/w_atan2l.c: Likewise.
45603 * math/w_atanh.c: Likewise.
45604 * math/w_atanhf.c: Likewise.
45605 * math/w_atanhl.c: Likewise.
45606 * math/w_cosh.c: Likewise.
45607 * math/w_coshf.c: Likewise.
45608 * math/w_coshl.c: Likewise.
45609 * math/w_dremf.c: Likewise.
45610 * math/w_exp10.c: Likewise.
45611 * math/w_exp10f.c: Likewise.
45612 * math/w_exp10l.c: Likewise.
45613 * math/w_exp2.c: Likewise.
45614 * math/w_exp2f.c: Likewise.
45615 * math/w_fmod.c: Likewise.
45616 * math/w_fmodf.c: Likewise.
45617 * math/w_fmodl.c: Likewise.
45618 * math/w_hypot.c: Likewise.
45619 * math/w_hypotf.c: Likewise.
45620 * math/w_hypotl.c: Likewise.
45621 * math/w_j0.c: Likewise.
45622 * math/w_j0f.c: Likewise.
45623 * math/w_j0l.c: Likewise.
45624 * math/w_j1.c: Likewise.
45625 * math/w_j1f.c: Likewise.
45626 * math/w_j1l.c: Likewise.
45627 * math/w_jn.c: Likewise.
45628 * math/w_jnf.c: Likewise.
45629 * math/w_jnl.c: Likewise.
45630 * math/w_lgamma.c: Likewise.
45631 * math/w_lgamma_r.c: Likewise.
45632 * math/w_lgammaf.c: Likewise.
45633 * math/w_lgammaf_r.c: Likewise.
45634 * math/w_lgammal.c: Likewise.
45635 * math/w_lgammal_r.c: Likewise.
45636 * math/w_log.c: Likewise.
45637 * math/w_log10.c: Likewise.
45638 * math/w_log10f.c: Likewise.
45639 * math/w_log10l.c: Likewise.
45640 * math/w_log2.c: Likewise.
45641 * math/w_log2f.c: Likewise.
45642 * math/w_log2l.c: Likewise.
45643 * math/w_logf.c: Likewise.
45644 * math/w_logl.c: Likewise.
45645 * math/w_pow.c: Likewise.
45646 * math/w_powf.c: Likewise.
45647 * math/w_powl.c: Likewise.
45648 * math/w_remainder.c: Likewise.
45649 * math/w_remainderf.c: Likewise.
45650 * math/w_remainderl.c: Likewise.
45651 * math/w_scalb.c: Likewise.
45652 * math/w_scalbf.c: Likewise.
45653 * math/w_scalbl.c: Likewise.
45654 * math/w_sinh.c: Likewise.
45655 * math/w_sinhf.c: Likewise.
45656 * math/w_sinhl.c: Likewise.
45657 * math/w_sqrt.c: Likewise.
45658 * math/w_sqrtf.c: Likewise.
45659 * math/w_sqrtl.c: Likewise.
45660 * math/w_tgamma.c: Likewise.
45661 * math/w_tgammaf.c: Likewise.
45662 * math/w_tgammal.c: Likewise.
45663
6a621eb7
UD
45664 * po/ja.po: Update from translation team.
45665
bf582445
AJ
456662011-09-29 Andreas Jaeger <aj@suse.de>
45667
f9efbf3a
AJ
45668 [BZ #13179]
45669 * sunrpc/netname.c (netname2host): Fix logic.
45670
bf582445
AJ
45671 [BZ #6779]
45672 [BZ #6783]
45673 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45674 correctly.
45675 * math/w_remainder.c (__remainder): Likewise.
45676 * math/w_remainderf.c (__remainderf): Likewise.
45677 * math/libm-test.inc (remainder_test): Add test cases.
45678
48693bea
AK
456792011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45680
45681 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45682 sdiv_qrnnd.
45683
42622229
LD
456842011-10-07 Ulrich Drepper <drepper@gmail.com>
45685
45686 * string/test-memcmp.c: Avoid unncessary #defines.
45687 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45688
093ecf92
LD
456892011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45690
45691 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45692 Use new sse2 version for core i3 - i7 as it's faster
45693 than sse42 version.
45694 (bit_Prefer_PMINUB_for_stringop): New.
45695 * sysdeps/x86_64/rawmemchr.S: Update.
45696 Replace with faster SSE2 version.
45697 * sysdeps/x86_64/memrchr.S: New file.
45698 * sysdeps/x86_64/memchr.S: Update.
45699 Replace with faster SSE2 version.
45700
fde56e5c
MP
457012011-09-12 Marek Polacek <mpolacek@redhat.com>
45702
45703 * elf/dl-load.c (lose): Add cast to avoid warning.
45704
21fd49a9
UD
457052011-10-07 Ulrich Drepper <drepper@gmail.com>
45706
5a06e643
UD
45707 * po/ca.po: Update from translation team.
45708
684ae515
UD
45709 * inet/getnetgrent_r.c: Hook up nscd.
45710 * nscd/Makefile (routines): Add nscd_netgroup.
45711 (nscd-modules): Add netgroupcache.
45712 (CFLAGS-netgroupcache.c): Define.
45713 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45714 (cache_search): Add const to second parameter.
45715 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45716 INNETGR.
45717 (dbs): Add netgrdb entry.
45718 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45719 (verify_persistent_db): Handle netgrdb.
45720 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45721 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45722 GETFDNETGR.
45723 (netgroup_response_header): Define.
45724 (innetgroup_response_header): Define.
45725 (datahead): Add netgroup_response_header and innetgroup_response_header
45726 elements.
45727 * nscd/nscd.conf: Add entries for netgroup cache.
45728 * nscd/nscd.h (dbtype): Add netgrdb.
45729 (_PATH_NSCD_NETGROUP_DB): Define.
45730 (netgroup_iov_disabled): Declare.
45731 (xmalloc, xcalloc, xrealloc): Move declarations here.
45732 (cache_search): Adjust prototype.
45733 Add netgroup-related prototypes.
45734 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45735 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45736 (__nscd_innetgr): Declare.
45737 * nscd/selinux.c (perms): Use access_vector_t as element type and
45738 add netgroup-related initializers.
45739 * nscd/netgroupcache.c: New file.
45740 * nscd/nscd_netgroup.c: New file.
45741 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45742 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45743 For four parameters use innetgr.
45744 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45745 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45746 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45747 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45748
21fd49a9
UD
45749 * nscd/connections.c (register_traced_file): Don't register file
45750 for disabled databases.
45751
054c0457
UD
457522011-10-06 Ulrich Drepper <drepper@gmail.com>
45753
32b63198
UD
45754 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45755
054c0457
UD
45756 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45757 from tree and freeing node.
45758
64031225
JO
457592011-09-25 Jiri Olsa <jolsa@redhat.com>
45760
45761 * nss/nsswitch.c (__nss_database_lookup): Handle
45762 nss_parse_service_list out of memory case.
45763
0490345c
JO
457642011-09-15 Jiri Olsa <jolsa@redhat.com>
45765
45766 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45767 out of memory case.
45768
3a62d00d
AS
457692011-10-04 Andreas Schwab <schwab@redhat.com>
45770
45771 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45772 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45773 pass it down.
45774 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45775 elf_machine_rela, elf_machine_lazy_rel.
45776 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45777 (ELF_DYNAMIC_DO_REL): Likewise.
45778 (ELF_DYNAMIC_DO_RELA): Likewise.
45779 (ELF_DYNAMIC_RELOCATE): Likewise.
45780 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45781 to ELF_DYNAMIC_DO_REL.
45782 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45783 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45784 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45785 elf_machine_rela.
45786 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45787 skip_ifunc, don't call ifunc function if non-zero.
45788 (elf_machine_rela): Likewise.
45789 (elf_machine_lazy_rel): Likewise.
45790 (elf_machine_lazy_rela): Likewise.
45791 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45792 (elf_machine_lazy_rel): Likewise.
45793 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45794 Likewise.
45795 (elf_machine_lazy_rel): Likewise.
45796 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45797 Likewise.
45798 (elf_machine_lazy_rel): Likewise.
45799 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45800 (elf_machine_lazy_rel): Likewise.
45801 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45802 (elf_machine_lazy_rel): Likewise.
45803 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45804 (elf_machine_lazy_rel): Likewise.
45805 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45806 (elf_machine_lazy_rel): Likewise.
45807 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45808 (elf_machine_lazy_rel): Likewise.
45809 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45810 (elf_machine_lazy_rel): Likewise.
45811
68577918
UD
458122011-09-28 Ulrich Drepper <drepper@gmail.com>
45813
45814 * nss/nss_files/files-init.c (_nss_files_init): Use static
45815 initialization for all the *_traced_file variables.
45816
68822d74
AS
458172011-09-28 Andreas Schwab <schwab@redhat.com>
45818
45819 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45820
2056100b
RM
458212011-09-27 Roland McGrath <roland@hack.frob.com>
45822
45823 [BZ #13226]
45824 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45825
32c76b63
AS
458262011-09-27 Andreas Schwab <schwab@redhat.com>
45827
45828 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45829 Reread the line before reparsing it.
45830
bf972c9d
AS
458312011-09-26 Andreas Schwab <schwab@redhat.com>
45832
45833 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45834
e057a1b5
JM
458352011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45836 Maxim Kuvyrkov <maxim@codesourcery.com>
45837 Joseph Myers <joseph@codesourcery.com>
45838
45839 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45840 if needed for __stack_chk_guard.
45841
bc7e1c36
RM
458422011-09-19 Roland McGrath <roland@hack.frob.com>
45843
ecb1482f
RM
45844 * sysdeps/posix/spawni.c (script_execute): Always define it.
45845 It will be optimized away if unused.
45846 (maybe_script_execute): New function.
45847 (__spawni): Call it.
45848
bc7e1c36
RM
45849 * Makerules: Don't include tls.make.
45850 (config-tls): Always set to thread.
45851 * tls.make.c: File removed.
45852
1c3b002b
MF
458532011-09-19 Mike Frysinger <vapier@gentoo.org>
45854
45855 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45856 * config.make.in (CPPFLAGS-config): New substituted variable.
45857
2840865d
UD
458582011-09-15 Ulrich Drepper <drepper@gmail.com>
45859
88738eb6
UD
45860 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45861
cbf645a6 45862 [BZ #13192]
2840865d
UD
45863 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45864 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45865
b402e91a
RM
458662011-09-15 Roland McGrath <roland@hack.frob.com>
45867
45868 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45869 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45870 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45871 (CALL_FAIL): Likewise.
45872 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45873 (CALL_FAIL): Macro removed.
45874 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45875
4c1a1f71
UD
458762011-09-15 Ulrich Drepper <drepper@gmail.com>
45877
45878 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45879 for __FINITE_MATH_ONLY__ == 1.
45880
edc121be
AS
458812011-09-15 Andreas Schwab <schwab@redhat.com>
45882
45883 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45884 __ieee754_sqrt instead of sqrt.
45885 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45886 __ieee754_sqrtf instead of sqrtf.
45887 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45888 __floorf instead of floorf.
45889 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45890 __floorf, __truncf instead of floorf, truncf.
45891
cd205654
UD
458922011-09-14 Ulrich Drepper <drepper@gmail.com>
45893
ee4d0315
UD
45894 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45895
cd205654
UD
45896 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45897 __extern_always_inline.
45898 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45899 32-bit.
45900
48b67d71
AS
459012011-09-14 Andreas Schwab <schwab@redhat.com>
45902
45903 * elf/rtld.c (dl_main): Also relocate in dependency order when
45904 doing symbol dependency testing.
45905
1ae12c75
AS
459062011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45907
45908 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45909 Always define `refsym'.
45910
995a80df
AS
459112011-09-13 Andreas Schwab <schwab@redhat.com>
45912
e529793b
AS
45913 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45914 (__FD_ELT): Renamed from __FDELT.
45915 * misc/bits/select2.h (__FD_ELT): Likewise.
45916 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45917 __FD_MASK instead of __FDELT, __FDMASK.
45918 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45919 Likewise.
45920 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45921 Likewise.
45922
52d4fef8
AS
45923 * elf/Makefile (gen-ldd): Fix pattern.
45924
995a80df
AS
45925 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45926 (init_tls): Likewise.
45927
8682f8b0
UD
459282011-09-12 Ulrich Drepper <drepper@gmail.com>
45929
45930 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45931
de82006d
AS
459322011-09-12 Andreas Schwab <schwab@redhat.com>
45933
a7c8e6a1
AS
45934 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45935 `struct cmsghdr *' instead of `void *'.
45936 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45937 Likewise.
45938
0f31fe77
AS
459392011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45940
45941 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45942 if non-absolute.
45943 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45944 ldd_rewrite_script.
0f31fe77 45945
32b4c839
UD
459462011-09-11 Ulrich Drepper <drepper@gmail.com>
45947
83cd1420
UD
45948 * configure.in: Remove --with-tls option.
45949 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45950 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45951 out in case it is missing.
45952 * sysdeps/ia64/elf/configure.in: Likewise.
45953 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45954 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45955 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45956 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45957 * sysdeps/sh/elf/configure.in: Likewise.
45958 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45959 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45960 * sysdeps/x86_64/elf/configure.in: Likewise.
45961 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45962 * sysdeps/mach/hurd/tls.h: Likewise.
45963
633f745d
UD
45964 [BZ #13067]
45965 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45966
f318beb8
UD
45967 [BZ #13090]
45968 * configure.in: Fix use of AC_INIT.
45969
32b4c839
UD
45970 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45971
3ce1f295
UD
459722011-09-10 Ulrich Drepper <drepper@gmail.com>
45973
bb016596
UD
45974 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45975 __set_errno.
8e58439c
UD
45976 * malloc/hooks.c: Likewise.
45977
aebae053 45978 [BZ #11929]
02d46fc4
UD
45979 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45980 variables statically.
45981 (narenas): Initialize.
45982 (list_lock): Initialize.
bb016596
UD
45983 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45984 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
45985 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45986 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45987 Add initializers to main_arena and mp_.
45988 (malloc_state): Remove pagesize member. Change all users to use
45989 GLRO(dl_pagesize).
45990
45991 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45992 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45993 is always initialized.
45994
22a89187
UD
45995 * malloc/malloc.c: Removed unused configurations and dead code.
45996 * malloc/arena.c: Likewise.
45997 * malloc/hooks.c: Likewise.
02d46fc4 45998 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 45999
d063d164
UD
46000 * include/tls.h: Removed. USE___THREAD must always be defined.
46001 * bits/libc-tsd.h: Don't handle !USE___THREAD.
46002 * elf/dl-libc.c: Likewise.
46003 * elf/dl-tsd.c: Likewise.
46004 * include/errno.h: Likewise.
46005 * include/netdb.h: Likewise.
46006 * include/resolv.h: Likewise.
46007 * inet/herrno-loc.c: Likewise.
46008 * inet/herrno.c: Likewise.
46009 * malloc/arena.c: Likewise.
46010 * malloc/hooks.c: Likewise.
46011 * malloc/malloc.c: Likewise.
46012 * resolv/res-state.c: Likewise.
46013 * resolv/res_libc.c: Likewise.
46014 * sysdeps/i386/dl-machine.h: Likewise.
46015 * sysdeps/ia64/dl-machine.h: Likewise.
46016 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46017 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46018 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46019 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46020 * sysdeps/sh/dl-machine.h: Likewise.
46021 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46022 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46023 * sysdeps/unix/i386/sysdep.S: Likewise.
46024 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46025 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46026 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46027 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46028 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46029 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46030 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46031 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46032 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46033 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46034 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46035 * sysdeps/x86_64/dl-machine.h: Likewise.
46036 * tls.make.c: Likewise.
46037
3ce1f295
UD
46038 * configure.in: Remove --with-__thread option. Make tests for
46039 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46040 tls_model attribute fail if no support is available. Remove
46041 USE_IN_LIBIO.
46042 * Makeconfig: Adjust for dropped configure option. All features are
46043 now mandatory.
46044 * Makerules: Likewise.
46045 * Versions.def: Likewise.
46046 * argp/argp-fmtstream.c: Likewise.
46047 * argp/argp-fmtstream.h: Likewise.
46048 * argp/argp-help.c: Likewise.
46049 * assert/assert.c: Likewise.
46050 * config.h.in: Likewise.
46051 * config.make.in: Likewise.
46052 * configure: Likewise.
46053 * configure.in: Likewise.
46054 * csu/Versions: Likewise.
46055 * csu/init.c: Likewise.
46056 * elf/tst-audit2.c: Likewise.
46057 * elf/tst-tls10.c: Likewise.
46058 * elf/tst-tls10.h: Likewise.
46059 * elf/tst-tls11.c: Likewise.
46060 * elf/tst-tls12.c: Likewise.
46061 * elf/tst-tls14.c: Likewise.
46062 * elf/tst-tlsmod11.c: Likewise.
46063 * elf/tst-tlsmod12.c: Likewise.
46064 * elf/tst-tlsmod13.c: Likewise.
46065 * elf/tst-tlsmod13a.c: Likewise.
46066 * elf/tst-tlsmod14a.c: Likewise.
46067 * elf/tst-tlsmod15b.c: Likewise.
46068 * elf/tst-tlsmod16a.c: Likewise.
46069 * elf/tst-tlsmod16b.c: Likewise.
46070 * elf/tst-tlsmod7.c: Likewise.
46071 * elf/tst-tlsmod8.c: Likewise.
46072 * elf/tst-tlsmod9.c: Likewise.
46073 * gmon/gmon.c: Likewise.
46074 * grp/fgetgrent_r.c: Likewise.
46075 * grp/putgrent.c: Likewise.
46076 * hurd/fopenport.c: Likewise.
46077 * include/libc-symbols.h: Likewise.
46078 * include/tls.h: Likewise.
46079 * intl/gettextP.h: Likewise.
46080 * intl/loadinfo.h: Likewise.
46081 * locale/global-locale.c: Likewise.
46082 * locale/localeinfo.h: Likewise.
46083 * mach/devstream.c: Likewise.
46084 * malloc/arena.c: Likewise.
46085 * malloc/set-freeres.c: Likewise.
46086 * misc/err.c: Likewise.
46087 * misc/getttyent.c: Likewise.
46088 * misc/mntent_r.c: Likewise.
46089 * posix/getopt.c: Likewise.
46090 * posix/wordexp.c: Likewise.
46091 * pwd/fgetpwent_r.c: Likewise.
46092 * resolv/Versions: Likewise.
46093 * resolv/res_hconf.c: Likewise.
46094 * shadow/fgetspent_r.c: Likewise.
46095 * shadow/putspent.c: Likewise.
46096 * stdio-common/printf_fphex.c: Likewise.
46097 * stdio-common/tmpfile.c: Likewise.
46098 * stdlib/abort.c: Likewise.
46099 * stdlib/fmtmsg.c: Likewise.
46100 * sunrpc/auth_unix.c: Likewise.
46101 * sunrpc/clnt_perr.c: Likewise.
46102 * sunrpc/clnt_tcp.c: Likewise.
46103 * sunrpc/clnt_udp.c: Likewise.
46104 * sunrpc/clnt_unix.c: Likewise.
46105 * sunrpc/openchild.c: Likewise.
46106 * sunrpc/svc_simple.c: Likewise.
46107 * sunrpc/svc_tcp.c: Likewise.
46108 * sunrpc/svc_udp.c: Likewise.
46109 * sunrpc/svc_unix.c: Likewise.
46110 * sunrpc/xdr.c: Likewise.
46111 * sunrpc/xdr_array.c: Likewise.
46112 * sunrpc/xdr_rec.c: Likewise.
46113 * sunrpc/xdr_ref.c: Likewise.
46114 * sunrpc/xdr_stdio.c: Likewise.
46115
1248c1c4
PB
461162011-09-09 Ulrich Drepper <drepper@gmail.com>
46117
46118 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46119
461202011-07-03 Andreas Jaeger <aj@suse.de>
46121
46122 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46123 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46124 regenerate with gen-libm-tests.pl.
46125
461262010-05-12 Petr Baudis <pasky@suse.cz>
46127
46128 [BZ #11589]
46129 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46130 around j0() zero points by switching to j1().
46131 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46132 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46133 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46134 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46135
f22e1074
UD
461362011-09-09 Ulrich Drepper <drepper@gmail.com>
46137
f19009c1
UD
46138 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46139 instead of 0.
46140 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 46141 instead of 0.
f19009c1
UD
46142 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46143 Patch in part by Pavel Roskin <proski@gnu.org>.
46144
3f8cc204
UD
46145 [BZ #13138]
46146 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46147 realloc.
46148 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46149 Free memory block if necessary.
46150
f22e1074
UD
46151 [BZ #12847]
46152 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46153 be NULL. Don't lock in this case.
46154
0a2349f9
RM
461552011-09-09 Roland McGrath <roland@hack.frob.com>
46156
46157 * elf/elf.h (ELFOSABI_GNU): New macro.
46158 (ELFOSABI_LINUX): Define to that.
46159
f3cdd467
DZ
461602011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46161
46162 * string/strncat.c (strncat): Undef the symbol in case it has been
46163 defined in bits/string.h.
46164
74718d13
UD
461652011-09-09 Ulrich Drepper <drepper@gmail.com>
46166
633e9e0f
UD
46167 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46168
0a2349f9 46169 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
46170 link map.
46171
f9924780
AJ
461722011-08-17 Andreas Jaeger <aj@suse.de>
46173
46174 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46175
7f5517aa
PP
461762011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46177 Ian Lance Taylor <iant@google.com>
46178
46179 * math/libm-test.inc (lround_test): New testcase.
46180 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46181
762011fe
UD
461822011-09-08 Ulrich Drepper <drepper@gmail.com>
46183
92963737
UD
46184 * Makefile: Remove support for automatic cvs check-ins.
46185 * Makerules: Likewise.
46186 * config.make.in: Likewise.
46187 * configure.in: Likewise.
46188 * intl/Makefile: Likewise.
46189 * locale/Makefile: Likewise.
46190 * po/Makefile: Likewise.
46191 * posix/Makefile: Likewise.
46192 * sysdeps/gnu/Makefile: Likewise.
46193 * sysdeps/mach/hurd/Makefile: Likewise.
46194 * sysdeps/sparc/sparc32/Makefile: Likewise.
46195
b0727fd8
JS
46196 [BZ #13118]
46197 * posix/Makefile (bug-regex32-ENV): Define.
46198 Patch by John Stanley <jpsinthemix@verizon.net>.
46199
a0f33f99
UD
46200 * misc/Makefile (headers): Add bits/select2.h.
46201 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46202 * misc/bits/select2.h: New file.
46203 * include/bits/select2.h: New file.
46204 * debug/Makefile (routines): Add fdelt_chk.
46205 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46206 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46207 FD_ISSET.
46208 * debug/fdelt_chk.c: New file.
46209
762011fe
UD
46210 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46211 * wcsmbs/test-wmemcmp.c: Likewise.
46212 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 46213 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
46214
462152011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46216
46217 * string/Makefile (strop-tests): Add memcmp.
46218 * string/test-wmemcmp.c: New file.
46219 * string/test-memcmp.c: Add wmemcmp support.
46220
7f513ec8
RM
462212011-09-08 Roland McGrath <roland@hack.frob.com>
46222
0442afb4
RM
46223 [BZ #13153]
46224 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46225 2011-07-19 change.
46226
7f513ec8
RM
46227 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46228 garbage value in a __mach_port_mod_refs call in the cases of the
46229 task-self and thread-self ports.
46230
a12b2239
ST
462312011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46232
46233 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46234
610f9ab4
AS
462352011-09-08 Andreas Schwab <schwab@redhat.com>
46236
7f513ec8 46237 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 46238
48882a1a
LD
462392011-09-07 Ulrich Drepper <drepper@gmail.com>
46240
b49865be
UD
46241 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46242
fdc86bc9
UD
46243 * elf/dl-libc.c (dlerror_run): Pass back error code from
46244 dl_catch_error.
46245
c966526a
UD
46246 [BZ #13123]
46247 * elf/dl-load.c (lose): Free l_origin if it is valid.
46248
48882a1a
LD
46249 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46250 names.
46251 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46252 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46253 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46254 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46255 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46256 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46257
77a2a8b4
AZ
462582011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46259
46260 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46261 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46262 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46263 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46264 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46265 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46266 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46267 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46268 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46269 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46270
24f579d8
AM
462712011-08-15 Alan Modra <amodra@gmail.com>
46272
46273 [BZ #13092]
46274 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46275 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46276 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46277 ppc_mcount to static-only-routines.
46278 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46279 __mcount_internal.
46280 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46281 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46282
3d4837df
UD
462832011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46284
46285 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46286 for finite and infinity parameters.
46287
22700377
WS
462882011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46289
46290 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46291 and add nop instructions for throughput optimization.
46292 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46293
5025581e
WS
462942011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46295
46296 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46297 aligned copy for power7 with vector-scalar instructions.
46298 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46299
08a300c9
L
463002011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46301
46302 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46303 AVX check.
46304
59178ef9
AS
463052011-09-07 Andreas Schwab <schwab@redhat.com>
46306
46307 [BZ #13144]
46308 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46309 last change.
46310
e38ba7ab
UD
463112011-09-07 Ulrich Drepper <drepper@gmail.com>
46312
46313 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46314 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46315 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46316 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46317 clock_gettime.
46318
d53a73ac
UD
463192011-09-06 Ulrich Drepper <drepper@gmail.com>
46320
fc8bffcc
UD
46321 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46322 Forgot to demangle the pointer.
46323
ceaa0c5d
UD
46324 * sysdeps/i386/sysdep.h: Define atom_text_section.
46325 * sysdeps/x86_64/sysdep.h: Likewise.
46326 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46327 section with atom_text_section.
46328 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46329 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46330 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46331 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46332 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46333
a77d3c17
UD
46334 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46335 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46336 already be defined. Change to take two parameters and don't assign
46337 result to variable. Adjust all users.
46338 Define INTERNAL_GETTIME if not already defined.
46339 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46340 call.
46341 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46342 HAVE_CLOCK_GETTIME_VSYSCALL.
46343 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46344
d53a73ac
UD
46345 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46346 gettimeofday vsyscall, just use time.
46347
a8f84144
AS
463482011-09-06 Andreas Schwab <schwab@redhat.com>
46349
46350 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46351 <errno.h>.
46352
ef606249
UD
463532011-09-06 Ulrich Drepper <drepper@gmail.com>
46354
46355 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46356 syscall on x86-64.
46357 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46358 syscall.
46359 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46360 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46361 syscall if possible.
46362
6585cb60
UD
463632011-09-05 Ulrich Drepper <drepper@gmail.com>
46364
46365 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46366 e_ident. Don't pass to find_mapsXX.
46367 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46368
a5f524e4
LD
463692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46370
46371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46372 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46373 * sysdeps/x86_64/multiarch/strchr.S: Update.
46374 Check bit_slow_BSF bit.
46375 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46376 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46377 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46378
554881ef
UD
463792011-09-05 Ulrich Drepper <drepper@gmail.com>
46380
d96de963
UD
46381 [BZ #13134]
46382 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46383 before glibc 2.15.
46384 (tryshell): Define.
46385 (__spawni): Change last parameter to be flag. Test
46386 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46387 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46388 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46389 * posix/spawni.c: Likewise.
46390 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46391 * posix/spawnp.c: Likewise. Change normal version to use
46392 SPAWN_XFLAGS_USE_PATH.
46393 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46394 SPAWN_XFLAGS_TRY_SHELL.
46395
d48e5868
UD
46396 [BZ #13150]
46397 * posix/glob.h: Remove gcc 1.x support.
46398
554881ef
UD
46399 [BZ #13068]
46400 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46401
693fb948
LD
464022011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46403
46404 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46405 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46406 strrchr-sse2-bsf
46407 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46408 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46409 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46410 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46411 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46412 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46413
1b48c537
UD
464142011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46415
49d42c37
UD
46416 * sysdeps/x86_64/wcscmp.S: New file.
46417
1b48c537
UD
46418 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46419 wcscmp-c wcscmp-sse2
46420 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46421 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46422 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46423 * wcsmbs/wcscmp.c: Allow renaming.
46424
15c95c5d
DM
464252011-09-05 David S. Miller <davem@davemloft.net>
46426
46427 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46428 stack slot, rather than the struct return pointer slot.
46429 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46430 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46432 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46433
2f0ad8f3
UD
464342011-09-05 Ulrich Drepper <drepper@gmail.com>
46435
d88ae418
UD
46436 * po/ja.po: Update from translation team.
46437
2f0ad8f3
UD
46438 [BZ #13144]
46439 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46440 kernel in 64-bit binaries.
46441
5f4318d1
DM
464422011-09-01 David S. Miller <davem@davemloft.net>
46443
46444 * elf/elf.h (HWCAP_SPARC_*): Move to..
46445 * sysdeps/sparc/sysdep.h: this new file and add new values.
46446 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46447 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46448 _DL_HWCAP_COUNT to 24.
46449 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46450 entries.
46451 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46452 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46453 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46454 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46455 instead of magic constants.
46456 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46457
3ba57516
DM
464582011-08-31 David S. Miller <davem@davemloft.net>
46459
46460 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46461 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46462 Reimplement to do errno handling inline.
46463 (SYSCALL_ERROR_HANDLER): New macro.
46464 (__SYSCALL_STRING): Do not do errno handling in asm.
46465 (__CLONE_SYSCALL_STRING): Delete.
46466 (__INTERNAL_SYSCALL_STRING): Delete.
46467 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46468 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46469 (PSEUDO): Reimplement to do errno handling inline.
46470 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46471 (SYSCALL_ERROR_HANDLER): New macro.
46472 (__SYSCALL_STRING): Do not do errno handling in asm.
46473 (__CLONE_SYSCALL_STRING): Delete.
46474 (__INTERNAL_SYSCALL_STRING): Delete.
46475 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46476 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46477 i386.
46478 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46479 (inline_syscall*): Add 'err' argument.
46480 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46481 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46482 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46483 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46484
46485 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46486 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46487
2bc17433
AS
464882011-08-30 Andreas Schwab <schwab@redhat.com>
46489
46490 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46491
fbeb5f4d
JO
464922011-08-29 Jiri Olsa <jolsa@redhat.com>
46493
46494 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46495 directive.
46496
ad69cc26
DM
464972011-08-24 David S. Miller <davem@davemloft.net>
46498
46499 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46500
39dd69df
AS
465012011-08-24 Andreas Schwab <schwab@redhat.com>
46502
46503 * elf/Makefile: Add rules to build and run unload8 test.
46504 * elf/unload8.c: New file.
46505 * elf/unload8mod1.c: New file.
46506 * elf/unload8mod1x.c: New file.
46507 * elf/unload8mod2.c: New file.
46508 * elf/unload8mod3.c: New file.
46509
46510 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46511 it wasn't used.
46512
2c0b250a
DM
465132011-08-23 David S. Miller <davem@davemloft.net>
46514
46515 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46516 subtract stack bias.
46517 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46518 %sp not %fp in calculations.
46519 (_JMPBUF_UNWINDS_ADJ): Likewise.
46520
22044b48
DM
46521 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46522 (aio_suspend): Call it to force an exception region around the
46523 AIO_MISC_WAIT() invocation.
46524
2cae4995
AS
465252011-08-23 Andreas Schwab <schwab@redhat.com>
46526
46527 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46528 backslash.
46529
873a772e
AJ
465302011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46531
46532 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46533 protection macro.
46534 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46535 and <dl-machine.h>.
46536 (Elf64_FuncDesc): Remove.
46537
25ad0df1
DM
465382011-08-22 David S. Miller <davem@davemloft.net>
46539
46540 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46541 sigaltstack check, add missing cfi directives.
46542 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46543 missing cfi directives, and sigaltstack handling.
46544
e888bcbe
AS
465452011-08-16 Andreas Schwab <schwab@redhat.com>
46546
46547 [BZ #11724]
46548 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46549 object is seen twice.
46550 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46551
46552 * elf/Makefile (distribute): Add tst-initorder2.c.
46553 (tests): Add tst-initorder2.
46554 (modules-names): Add tst-initorder2a tst-initorder2b
46555 tst-initorder2c tst-initorder2d. Add rules to build them.
46556 ($(objpfx)tst-initorder2.out): New rule.
46557 * elf/tst-initorder2.c: New file.
46558 * elf/tst-initorder2.exp: New file.
46559
87162f46
AS
465602011-08-22 Andreas Schwab <schwab@redhat.com>
46561
70538b7f
AS
46562 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46563
f55ffe58
AS
46564 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46565 dependencies back to end of function.
46566
87162f46
AS
46567 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46568 $(elfobjdir)/ld.so.
46569
91b392a4
UD
465702011-08-21 Ulrich Drepper <drepper@gmail.com>
46571
46572 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46573 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46574 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46575 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46576 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46577 of __vdso_gettimeofday.
46578 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46579 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46580 attribute_hidden.
46581 (_libc_vdso_platform_setup): Remove initialization of
46582 __vdso_gettimeofday and __vdso_time.
46583
5c43483f
UD
465842011-08-20 Ulrich Drepper <drepper@gmail.com>
46585
775a77e7
UD
46586 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46587 and fgetc_unlocked.
46588 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46589 getc_unlocked.
89f447ed 46590
49c74ba9
UD
46591 * elf/dl-open.c (add_to_global): Report additions to the global scope
46592 for LD_DEBUG=scopes.
46593 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 46594 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 46595
5c43483f
UD
46596 [BZ #13114]
46597 * stdio-common/Makefile (tests): Add bug24.
46598 * stdio-common/bug24.c: New file.
46599
a101b025
AJ
466002011-08-19 Andreas Jaeger <aj@suse.de>
46601
46602 [BZ #13114]
46603 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46604 non-existant file when using close-on-exec mode.
46605
c88f1766
UD
466062011-08-20 Ulrich Drepper <drepper@gmail.com>
46607
0276a718
UD
46608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46609 the very first instruction.
46610
c88f1766
UD
46611 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46612 the CFI state in the end.
46613 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46614 inclusion of dl-trampoline.h.
46615 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46616
51ccffa0
AS
466172011-08-19 Andreas Schwab <schwab@redhat.com>
46618
94d7165f
AS
46619 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46620 expectations for long double.
46621
51ccffa0
AS
46622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46623 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46624
fd708658 466252011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
46626
46627 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46628 artificual limit depends upon the system page size.
46629
44f0a71e
UD
466302011-08-17 Ulrich Drepper <drepper@gmail.com>
46631
46632 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46633 * resolv/Makefile: Define CFLAGS-libresolv.
46634
8de79a24
AS
466352011-08-17 Andreas Schwab <schwab@redhat.com>
46636
46637 * nss/makedb.c (compute_tables): Make variables used in nested
46638 function static.
46639
27724598
UD
466402011-08-17 Ulrich Drepper <drepper@gmail.com>
46641
c5305d88
UD
46642 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46643 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46644 if buffer was too small.
46645
27724598
UD
46646 * elf/pldd.c (main): Attach to all threads in the process.
46647 Rewrite /proc handling to use *at functions.
46648
076fe015
UD
466492011-08-16 Ulrich Drepper <drepper@gmail.com>
46650
174baab3
UD
46651 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46652 specifies first scope to show.
46653 (dl_open_worker): Update callers. Move printing scope of new
46654 object to before the relocation.
44f0a71e 46655 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
46656 * sysdeps/generic/ldsodefs.h: Update declaration.
46657
076fe015
UD
46658 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46659 string for the scope number.
46660
a60df2c3
UD
466612011-08-14 Ulrich Drepper <drepper@gmail.com>
46662
46663 * nscd/servicescache.c (cache_addserv): Make sure written is always
46664 initialized.
46665
5e4287d1
RM
466662011-08-14 Roland McGrath <roland@hack.frob.com>
46667
85ae0589
RM
46668 * sysdeps/i386/i486/bits/atomic.h
46669 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46670 statement expression, so as to suppress "set but not used" warning.
46671 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46672
69f63097
RM
46673 * string/strncat.c (STRNCAT): Use prototype definition.
46674
675456ef
RM
46675 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46676 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46677 -Iprograms here.
46678 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46679 (localedef-modules): Add localedef.
46680 (locale-modules): Add locale.
46681
5e4287d1
RM
46682 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46683 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46684 to avoid a warning.
46685
9c96ff23
DM
466862011-08-14 David S. Miller <davem@davemloft.net>
46687
46688 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46689 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46690
f9ddf089
UD
466912011-08-13 Ulrich Drepper <drepper@gmail.com>
46692
44f0a71e 46693 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
46694 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46695 * elf/rtld.c (dl_main): Set l_name of vDSO.
46696 Call _dl_show_scope when DL_DEBUG_SCOPES.
46697 (process_dl_debug): Recognize scopes flag and also set it for all.
46698 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46699 Declare _dl_show_scope.
46700
1dc27704
UD
46701 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46702 (do_dlopen): Pass caller_dlopen to dl_open.
46703 (__libc_dlopen_mode): Initialize caller_dlopen.
46704
f9ddf089
UD
46705 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46706 of libc. Make tolower call locale-independent. Optimize a bit by
46707 using isdigit instead of isalnum.
46708 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46709
9ac533d3
UD
467102011-08-12 Ulrich Drepper <drepper@gmail.com>
46711
46712 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46713 was a dependency or dynamically loaded.
46714
89edf2e9
UD
467152011-08-11 Ulrich Drepper <drepper@gmail.com>
46716
8e999d29
UD
46717 * intl/l10nflist.c: Allow architecture-specific pop function.
46718 * sysdeps/x86_64/l10nflist.c: New file.
46719
89edf2e9
UD
46720 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46721 classification.
46722
14d96785
AS
467232011-08-10 Andreas Schwab <schwab@redhat.com>
46724
46725 * include/dirent.h: Add libc_hidden_proto for scandirat and
46726 scandirat64. Don't declare __scandirat64.
46727 * dirent/scandirat.c: Add libc_hidden_def.
46728 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46729 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46730
6761ac04
DM
467312011-08-10 David S. Miller <davem@davemloft.net>
46732
46733 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46734 enum.
46735 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46736 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46737 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46738
c55fbd1e
UD
467392011-08-09 Ulrich Drepper <drepper@gmail.com>
46740
46741 * Versions.def [libc]: Add GLIBC_2.15.
46742 * dirent/Makefile (routines): Add scandirat and scandirat64.
46743 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46744 GLIBC_2.15.
46745 * dirent/dirent.h: Declare scandirat and scandirat64.
46746 * dirent/scandirat.c: New file.
46747 * dirent/scandirat64.c: New file.
46748 * sysdeps/wordsize-64/scandirat.c: New file.
46749 * sysdeps/wordsize-64/scandirat64.c: New file.
46750 * dirent/opendir.c: Define opendirat.
46751 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46752 using scandirat.
46753 * dirent/scandir64.c: Adjust for scandir.c change.
46754 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46755 __scandirat64, and __scandir_cancel_handler.
46756 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46757 additional parameter and use openat instead of open (outside of ld.so).
46758 Add new __opendir as wrapper around __opendirat.
46759 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46760 here without requiring old scandirat implementation.
46761
879165f2
UD
467622011-08-08 Ulrich Drepper <drepper@gmail.com>
46763
46764 * dirent/scandir.c (cancel_handler): Renamed to
46765 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46766 defined. Adjust users.
46767 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46768 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46769
cb7e923b
UD
467702011-08-04 Ulrich Drepper <drepper@gmail.com>
46771
16292edd
UD
46772 * string/test-string.h (IMPL): Use __STRING to expand name and then
46773 stringify it.
46774
cb7e923b
UD
46775 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46776 of cleanups.
46777
cff82933
LD
467782011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46779
46780 * string/Makefile: Update.
46781 (strop-tests): Append strncat.
46782 * string/test-wcscmp.c: New file.
46783 New comprehensive test for wcscmp.
46784 * string/test-strcmp.c: Update.
46785 (WIDE): New define.
46786
9be9bfcc
AS
467872011-07-22 Andreas Schwab <schwab@redhat.com>
46788
46789 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46790 line.
46791
2e96f1c7
AS
467922011-07-26 Andreas Schwab <schwab@redhat.com>
46793
46794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46795 encoding to ACE if AI_IDN.
46796
85188888
JJ
467972011-08-01 Jakub Jelinek <jakub@redhat.com>
46798
46799 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46800 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46801
5fa16e9b
LD
468022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46803
46804 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46805 Fix overflow bug in strncat.
46806 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46807
46808 * string/test-strncat.c: Update.
46809 Add new tests for checking overflow bugs.
46810
468112011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46812
46813 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46814 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46815 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46816 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46817 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46818 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46819 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46820 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46821 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46822
46823 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46824 (USE_AS_STRCAT): Define.
46825 Add strcat and strncat support.
46826 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46827
8c1a459f
AS
468282011-07-25 Andreas Schwab <schwab@redhat.com>
46829
46830 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46831 __n bigger than INT_MAX+1.
46832 (__strncmp_g): Likewise.
46833
bba33c28
UD
468342011-07-23 Ulrich Drepper <drepper@gmail.com>
46835
798be72d
UD
46836 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46837 * libio/stido.h: Likewise.
46838
8accd4dc
UD
46839 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46840 (AF_NFC): Define.
46841 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46842 (AF_NFC): Define.
46843
cbff0d96
UD
46844 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46845 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46846 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46847 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46848 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46849
9191c04a
UD
46850 [BZ #13021]
46851 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46852 installed.
46853
bba33c28
UD
46854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46855 typo.
46856 (_dl_x86_64_save_sse): Likewise.
46857
90f139dd
UD
468582011-07-22 Ulrich Drepper <drepper@gmail.com>
46859
1aae088a
UD
46860 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46861 OSXSAVE.
46862 (_dl_x86_64_save_sse): Likewise.
46863
8e2045f5
UD
46864 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46865
90f139dd
UD
46866 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46867
1d002f25
AS
468682011-07-21 Andreas Schwab <schwab@redhat.com>
46869
46870 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46871 change.
46872 (_dl_x86_64_save_sse): Use correct AVX check.
46873
21137f89
UD
468742011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46875
46876 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46877 bug in strncpy/strncat.
46878 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46879
a65c0b7a
UD
468802011-07-21 Ulrich Drepper <drepper@gmail.com>
46881
46882 * string/tester.c (test_strcat): Add tests for different alignments
46883 of source and destination.
46884 (test_strncat): Likewise.
46885
6986b98a
UD
468862011-07-20 Ulrich Drepper <drepper@gmail.com>
46887
90bb2039
UD
46888 [BZ #12852]
46889 * posix/glob.c (glob): Check passed in values before using them in
46890 expressions to avoid some overflows.
46891 (glob_in_dir): Likewise.
46892
5644ef54
UD
46893 [BZ #13007]
46894 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46895 check for AVX enablement so that we don't crash with old kernels and
46896 new hardware.
46897 * elf/tst-audit4.c: Add same checks here.
46898 * elf/tst-audit6.c: Likewise.
46899
46900 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 46901
bfc9dc9b
AS
469022011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46903
46904 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46905
702e64bb
UD
469062011-07-20 Ulrich Drepper <drepper@gmail.com>
46907
46908 * po/cs.po: Update from translation team.
46909 * po/bg.po: Likewise.
46910
295e904f
MP
469112011-07-12 Marek Polacek <mpolacek@redhat.com>
46912
46913 * misc/sys/cdefs.h: Add support for const attribute.
46914 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46915 to gnu_dev_{major,minor,makedev} functions.
46916
3ff94596
MP
469172011-07-20 Marek Polacek <mpolacek@redhat.com>
46918
46919 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46920
28b59fca
AS
469212011-07-20 Andreas Schwab <schwab@redhat.com>
46922
46923 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46924 strlen results.
46925
19df733e
AK
469262011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46927
46928 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46929 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46930 register in order to avoid conflicts with the soft frame pointer
46931 being held in r11 when necessary.
46932 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46933 (INTERNAL_VSYSCALL_NCS): Likewise.
46934
c8835729
MP
469352011-07-14 Marek Polacek <mpolacek@redhat.com>
46936
46937 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46938 * elf/dl-fini.c (_dl_fini): Adjust caller.
46939 * elf/dl-close.c (_dl_close_worker): Likewise.
46940 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46941
b902330c
MP
469422011-07-15 Marek Polacek <mpolacek@redhat.com>
46943
8991e135
MP
46944 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46945 "aux_cache->nlibs < 0".
46946
b902330c
MP
46947 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46948 in the reload-count case.
46949
99710781
LD
469502011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46951
46952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46953 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46954 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46955 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46956 * sysdeps/x86_64/multiarch/strcat.S: New file.
46957 * sysdeps/x86_64/multiarch/strncat.S: New file.
46958 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46959 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46960 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46961 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46962 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46963 (USE_AS_STRCAT): Define.
46964 Add strcat and strncat support.
46965 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46966 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46967 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46968 * string/strncat.c: Update.
46969 (USE_AS_STRNCAT): Define.
46970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46971 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46972 and i7.
46973 * sysdeps/x86_64/multiarch/init-arch.h
46974 (bit_Prefer_PMINUB_for_stringop): New.
46975 (index_Prefer_PMINUB_for_stringop): Likewise.
46976 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46977 bit_Prefer_PMINUB_for_stringop.
46978
7dc6bd90
UD
469792011-07-19 Ulrich Drepper <drepper@gmail.com>
46980
46981 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46982 buffer64.
46983 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46984 of casting of buffer.
46985 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46986 buffer32 and buffer64.
46987 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46988 writes instead of casting of buffer.
46989 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46990 buffer32.
46991 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46992 casting of buffer.
46993
e0e72284
AS
469942011-07-19 Andreas Schwab <schwab@redhat.com>
46995
46996 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46997
feb1eb0b
UD
469982011-07-19 Ulrich Drepper <drepper@gmail.com>
46999
47000 * nscd/nscd.c (termination_handler): Don't do anything for a database
47001 if it has not yet been initialized.
47002
298711ff
UD
470032011-07-18 Ulrich Drepper <drepper@gmail.com>
47004
47005 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47006
470072011-07-15 Marek Polacek <mpolacek@redhat.com>
47008
47009 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47010
f9d68389
UD
470112011-07-18 Ulrich Drepper <drepper@gmail.com>
47012
47013 * po/nl.po: Update from translation team.
47014 * po/sv.po: Likewise.
47015
db290cf5
RM
470162011-07-16 Roland McGrath <roland@hack.frob.com>
47017
47018 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47019 now disallowed by GCC.
5c550700 47020
fd5e21c7
RM
47021 * configure.in (use-default-link): Default to yes if a test -shared
47022 link meets our qualifications.
47023 * configure: Regenerated.
47024
5c550700
RM
47025 * config.make.in (output-format): New variable.
47026 * configure.in: Check for ld --print-output-format support.
47027 * configure: Regenerated.
47028 * Makerules ($(common-objpfx)format.lds)
47029 [$(output-format) != unknown]: Just use $(output-format),
47030 instead of the linker-script munging.
47031
9fa2c032
RM
470322011-07-14 Roland McGrath <roland@hack.frob.com>
47033
a6928d51
RM
47034 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47035 of $(common-objpfx)shlib.lds.
47036 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47037
661607b3
RM
47038 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47039 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47040
9fa2c032
RM
47041 * configure.in (-z relro check): Adjust test code to add a large
47042 writable data section after it.
47043 * configure: Regenerated.
47044
defe9061
RM
470452011-07-11 Roland McGrath <roland@hack.frob.com>
47046
47047 * configure.in (-z relro check): Fix test code to make the variable
47048 truly const.
47049 * configure: Regenerated.
47050
319b9ad4
UD
470512011-07-11 Ulrich Drepper <drepper@gmail.com>
47052
47053 * nscd/nscd.h (struct traced_file): Define.
47054 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47055 elements. Add traced_files.
47056 (inotify_fd): Declare.
47057 (register_traced_file): Declare.
47058 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47059 (inotify_fd): Export.
47060 (resolv_conf_descr): Remove.
47061 (nscd_init): Move inotify descriptor creation to main.
47062 Don't register files for notification here.
47063 (register_traced_file): New function.
47064 (invalidate_cache): Don't use reset_res to determine whether to call
47065 res_init, go through the list of registered files.
47066 (main_loop_poll): The inotify descriptors are now stored in the
47067 structures for the traced files.
47068 (main_loop_epoll): Likewise
47069 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47070 to __nss_disable_nscd.
47071 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47072 for a database anymore. Check the records for all the registered
47073 files instead.
47074 * nss/Makefile (libnss_files-routines): Add files-init.
47075 (libnss_db-routines): Add db-init.
47076 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47077 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47078 * nss/nss_db/db-init.c: New file.
47079 * nss/nss_files/files-init.c: New file.
47080 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47081 __nss_lookup_function.
47082 (__nss_lookup_function): Call nss_load_library.
47083 (nss_load_all_libraries): New function.
47084 (__nss_disable_nscd): Take parameter with callback function for files
47085 to register. Set is_nscd. Load all the DSOs for the NSS modules
47086 used for the cached services.
47087 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47088 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47089 options for features to all the files in nscd.
47090
47091 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47092
23bee3e8
RM
470932011-07-10 Roland McGrath <roland@hack.frob.com>
47094
47095 * csu/elf-init.c (__libc_csu_init): Comment typo.
47096
46a5b7f0
UD
470972011-07-09 Ulrich Drepper <drepper@gmail.com>
47098
47099 * po/pl.po: Update from translation team.
47100 * po/ja.po: Likewise.
47101 * po/ru.po: Likewise.
47102 * po/ko.po: Likewise.
47103 * po/fr.po: Likewise.
47104
d30cf5bb
RM
471052011-07-09 Roland McGrath <roland@hack.frob.com>
47106
113ddea4
RM
47107 * configure.in (.ctors/.dtors header and trailer check):
47108 Use an empirical test on a built program.
47109 * configure: Regenerated.
47110
574920b4
RM
47111 * configure.in (-z relro check): Use an empirical test on a built DSO.
47112 Detect, but do not require, on ia64.
47113 * configure: Regenerated.
47114
d30cf5bb
RM
47115 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47116 Update tests that use readelf to use $READELF instead.
47117 * configure: Regenerated.
47118
8538fdb3
UD
471192011-07-08 Ulrich Drepper <drepper@gmail.com>
47120
47121 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47122 if the result is not used.
47123
04d08991
AJ
471242011-07-05 Andreas Jaeger <aj@suse.de>
47125
47126 [BZ#9696]
47127 * stdlib/tst-strtod.c: Add testcase.
47128
de283087
AD
471292011-07-07 Ulrich Drepper <drepper@gmail.com>
47130
4e5f31c8 47131 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 47132 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
47133 The latter has a higher limit. Take additional parameter to pass to
47134 the new function.
47135 (__pathconf): Pass file to __statfs_link_max.
47136 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47137 __statfs_link_max.
47138 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47139 __statfs_link_max.
47140
de283087
AD
47141 [BZ #12868]
47142 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47143 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47144 Handle Lustre.
47145 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47146 (__statfs_filesize_max): Likewise.
47147 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47148
c75fa153
AJ
471492011-07-05 Andreas Jaeger <aj@suse.de>
47150
47151 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47152
1a544854
UD
471532011-07-06 Marek Polacek <mpolacek@redhat.com>
47154
47155 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47156 `status' variable.
47157 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47158 Likewise.
47159
6f0eec67
UD
471602011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47161
47162 * Makefile (strop-tests): Add strncat.
47163 * string/test-strncat.c: New file.
47164
aae30307
UD
471652011-06-30 Marek Polacek <mpolacek@redhat.com>
47166
47167 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47168
c0cfb5eb
UD
471692011-06-21 Andreas Jaeger <aj@suse.de>
47170
47171 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47172 Copy rule from iconvdata/Makefile.
47173
01636b21
UD
471742011-07-06 Ulrich Drepper <drepper@gmail.com>
47175
47176 [BZ #12922]
47177 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47178 but no long options are defined, just return 'W'.
47179
9895c8bc
UD
471802011-06-22 Marek Polacek <mpolacek@redhat.com>
47181
47182 [BZ #9696]
47183 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47184
5d4cf042
UD
471852011-07-06 Ulrich Drepper <drepper@gmail.com>
47186
47187 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47188 netgroups to read.
960e5535 47189 (innetgr): Likewise.
5d4cf042 47190
751eb97e
RM
471912011-07-05 Roland McGrath <roland@hack.frob.com>
47192
47193 * config.make.in (install_root): Default to $(DESTDIR).
47194
f15f1e45
UD
471952011-07-05 Ulrich Drepper <drepper@gmail.com>
47196
47197 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47198
4e34ac6a
RM
471992011-07-02 Roland McGrath <roland@hack.frob.com>
47200
5e9b6af4
RM
47201 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47202
84f9ea0f
RM
47203 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47204 containing directory rather than embedding absolute directory names.
47205
ea5ee9f7
RM
47206 * scripts/check-local-headers.sh: Rewritten using awk.
47207 Match by word, not by line. Print error messages for matches.
47208 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47209
1b74661a
RM
47210 * Makerules [shlib-lds-flags empty]:
47211 ($(common-objpfx)libc_pic.opts): New target.
47212 ($(common-objpfx)libc_pic.os.clean): New target.
47213 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47214
47215 * config.make.in (OBJCOPY): New variable.
47216 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47217 * configure: Regenerated.
47218
f781ef40
RM
47219 * config.make.in (use-default-link): New variable.
47220 * configure.in (use_default_link): Grok --with-default-link to set it.
47221 * configure: Regenerated.
47222 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47223 (shlib-lds, shlib-lds-flags): Define to empty.
47224
2d4fa81e
RM
47225 * Makerules (shlib-lds): New variable.
47226 (shlib-lds-flags): New variable.
47227 (build-shlib, build-moduile, build-module-asneeded): Use it.
47228 ($(common-objpfx)libc.so): Use $(shlib-lds).
47229 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47230 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47231
31fffa6b
RM
47232 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47233 DT_FLAGS/DT_FLAGS_1 with zero flags.
47234
4e34ac6a
RM
47235 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47236 linker script munging.
47237
fcfc776b
UD
472382011-07-02 Ulrich Drepper <drepper@gmail.com>
47239
47240 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47241 as 128-bit value.
47242 * crypt/sha512.c (sha512_process_block): Perform total addition using
47243 128-bit if possible.
47244 (__sha512_finish_ctx): Likewise.
47245 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47246 as 64-bit value.
47247 * crypt/sha256.c (SWAP64): Define.
47248 (sha256_process_block): Perform total addition using 64-bit if
47249 possible.
47250 (__sha256_finish_ctx): Likewise.
47251
99231d9a
UD
472522011-07-01 Ulrich Drepper <drepper@gmail.com>
47253
47254 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47255 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47256 * nscd/hstcache.c (cache_addhst): Likewise.
47257 * nscd/grpcache.c (cache_addgr): Likewise.
47258 * nscd/aicache.c (addhstaiX): Likewise
47259 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47260
445b4a53
TK
472612011-07-01 Thorsten Kukuk <kukuk@suse.de>
47262
47263 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47264 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47265 * nscd/hstcache.c (cache_addhst): Likewise.
47266 * nscd/grpcache.c (cache_addgr): Likewise.
47267 * nscd/aicache.c (addhstaiX): Likewise
47268
6d4d8e8e
AS
472692011-07-01 Andreas Schwab <schwab@redhat.com>
47270
47271 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47272 domain only when needed.
47273
89f654c5
AS
472742011-06-30 Andreas Schwab <schwab@redhat.com>
47275
47276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47277 is always restored.
47278
cf3b23ff
UD
472792011-06-29 Ulrich Drepper <drepper@gmail.com>
47280
47281 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47282 are re-adding the entry.
47283 * nscd/servicescache.c (cache_addserv): Likewise.
47284
751626f9
AJ
472852011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47286
47287 * sysdeps/generic/dl-irel.h: fix protection against multiple
47288 inclusions.
47289 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47290
9113ea1f
UD
472912011-06-28 Ulrich Drepper <drepper@gmail.com>
47292
5c0b8d90
UD
47293 [BZ #12935]
47294 * malloc/memusage.sh: Fix quoting in message.
47295 * debug/xtrace.sh: Likewise.
47296
9113ea1f
UD
47297 * configure.in: Remove support for --experimental-malloc option, make
47298 it the default.
47299 * config.make.in: Likewise.
47300 * malloc/Makefile: Likewise.
47301
a4172181
AS
473022011-06-27 Andreas Schwab <schwab@redhat.com>
47303
47304 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47305 two-byte characters.
47306
78a7eee7
RM
473072011-06-27 Roland McGrath <roland@hack.frob.com>
47308
62bede13
RM
47309 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47310 AC_CACHE_CHECK invocation.
47311 * configure: Regenerated.
47312
78a7eee7
RM
47313 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47314
5ce33a62
UD
473152011-06-27 Ulrich Drepper <drepper@gmail.com>
47316
034807a9
UD
47317 [BZ #12350]
47318 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47319 bit from old_res_options.
47320
4902da17
UD
47321 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47322
5ce33a62
UD
47323 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47324 value type for setfct.
47325
c2344f56
L
473262011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47327
47328 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47329 __gettimeofday instead of gettimeofday.
47330
68468076
UD
473312011-06-26 Ulrich Drepper <drepper@gmail.com>
47332
47333 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47334
acb0d739
L
473352011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47336
47337 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47338
47339 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47340 info.
47341
8912479f
L
473422011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47343
47344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47345 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47346 strcpy-sse2-unaligned strncpy-sse2-unaligned
47347 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47348 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47349 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47350 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47351 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47352 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47353 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47354 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47355 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47356 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47357 (STRCPY): Support SSE2 and SSSE3 versions.
47358
d5495a11
UD
473592011-06-24 Ulrich Drepper <drepper@gmail.com>
47360
47361 [BZ #12874]
47362 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47363 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47364 kernels which artificially limit size of requests.
47365
0b1cbaae
L
473662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47367
47368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47369 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47370 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47371 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47372 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47373 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47374 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47375 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47376 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47377 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47378 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47379 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47380 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47381 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47382 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47384 Enable unaligned load optimization for Intel Core i3, i5 and i7
47385 processors.
47386 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47387 Define.
47388 (index_Fast_Unaligned_Load): Define.
47389 (HAS_FAST_UNALIGNED_LOAD): Define.
47390
07f494a0
MP
473912011-06-23 Marek Polacek <mpolacek@redhat.com>
47392
47393 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47394
fa3fc0fe
UD
473952011-06-22 Ulrich Drepper <drepper@gmail.com>
47396
47397 [BZ #12907]
47398 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47399 until it is clear that the information is realy needed.
47400 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47401
e12df166
AS
474022011-06-22 Andreas Schwab <schwab@redhat.com>
47403
47404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47405
852eb34d
UD
474062011-06-22 Ulrich Drepper <drepper@gmail.com>
47407
84e2a551
UD
47408 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47409 /sys/devices/system/cpu/online if it is usable.
47410
852eb34d
UD
47411 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47412 reading the information from the /proc filesystem to once a second.
47413
6e502e19
UD
474142011-06-21 Andreas Jaeger <aj@suse.de>
47415
47416 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47417 NULL after inclusion of kernel headers.
47418
75d39ff2
UD
474192011-06-21 Ulrich Drepper <drepper@gmail.com>
47420
51f9aa6a
UD
47421 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47422 calls to internal_setent.
47423
c0244a9d
UD
47424 [BZ #12885]
47425 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47426 addresses using gethostbyname4_r ignore IPv4 addresses.
47427
c5e3c2ae
UD
47428 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47429 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47430
75d39ff2
UD
47431 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47432
42675c6f
DM
474332011-06-20 David S. Miller <davem@davemloft.net>
47434
47435 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47436 inclusions.
47437 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47438
47439 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47440 (elf_irel): Use it.
47441 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47442 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47443 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47444 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47445 * sysdeps/x86_64/dl-irel.h: Likewise.
47446
47447 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47448 * elf/dl-sym.c: Likewise.
47449
57912a71
UD
474502011-06-15 Ulrich Drepper <drepper@gmail.com>
47451
47452 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47453 need to dereference resplen2.
47454
ee22793d
AS
474552011-06-14 Andreas Schwab <schwab@redhat.com>
47456
47457 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47458
a9e836b0
UD
474592011-06-15 Ulrich Drepper <drepper@gmail.com>
47460
77fb9117
UD
47461 * Makeconfig: Define vardbdir and inst_vardbdir.
47462 * nss/Makefile: Add rules to install db-Makefile.
47463
40c1b22c
UD
47464 * nss/nss_db/db-XXX.c: Cleanup.
47465
9f2da732
UD
47466 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47467 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47468 GLIBC_PRIVATE.
47469 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47470 * nss/makedb.c: Implement -g option to specify that value strings
47471 are generated and should not be added to table iterated over for
47472 get*ent calls.
47473 * nss/nss_db/db-initgroups.c: New file.
47474
82e9a1f7
UD
47475 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47476 interface.
47477
c41af17e
UD
47478 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47479 (internal_getgrouplist): Adjust to name change.
47480 Update use_initgroups_entry if this is not the first call.
47481 * nss/databases.def: Add initgroups entry.
47482
a9e836b0
UD
47483 * nss/makedb.c (compute_tables): Check result of multiple hash table
47484 sizes to minimize maximum chain length.
47485
2666d441
UD
474862011-06-14 Ulrich Drepper <drepper@gmail.com>
47487
47488 * Versions.def: Add entry for libnss_db.
47489 * shlib-versions: Likewise.
47490 * nss/Makefile: Add rules to build libnss_db.
47491 * nss/Versions: Add libnss_db information. Organize libnss_files
47492 entries better.
47493 * nss/db-Makefile: Add gshadow support. Change rules for the new
47494 makedb progra. Some minor improvements to generate smaller files.
47495 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47496 here from...
47497 * nss/makedb.c: ...here.
47498 Improve database format to be smaller and require less memory at
47499 runtime.
47500 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47501 db anymore.
47502 * nss/nss_db/db-netgrp.c: Likewise.
47503 * nss/nss_db/db-open.c: Likewise.
47504 * nss/nss_files/flies-XXX.x: Adjust comments.
47505 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47506 * nss/nss_files/files-grp.c: Likewise.
47507 * nss/nss_files/files-hosts.c: Likewise.
47508 * nss/nss_files/files-network.c: Likewise.
47509 * nss/nss_files/files-proto.c: Likewise.
47510 * nss/nss_files/files-pwd.c: Likewise.
47511 * nss/nss_files/files-rpc.c: Likewise.
47512 * nss/nss_files/files-service.c: Likewise.
47513 * nss/nss_files/files-sgrp.c: Likewise.
47514 * nss/nss_files/files-spwd.c: Likewise.
47515 * nss/nss_db/db-alias.c: Removed.
47516 * nss/nss_db/dummy-db.h: Removed.
47517
9ee76b5a
UD
475182011-06-02 Ulrich Drepper <drepper@gmail.com>
47519
47520 * nss/makedb.c: Rewritten to not use database library.
47521 * nss/Makefile: Update to build new makedb program.
47522
c71ca1f8
AJ
475232011-06-14 Andreas Jaeger <aj@suse.de>
47524
47525 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47526 memset declaration.
47527
3154bfb8
UD
475282011-06-10 Andreas Schwab <schwab@redhat.com>
47529
47530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47531 tmpbuf.
47532
b350afab
RM
475332011-06-10 Roland McGrath <roland@hack.frob.com>
47534
decd4e50
RM
47535 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47536 * elf/Makefile ($(objpfx)ld.so): Likewise.
47537
5615eaf2
RM
47538 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47539 Don't list ld.so twice in dependencies.
47540
47541 * posix/bug-regex31.c: Include <stdlib.h>.
47542
47543 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47544
47545 * nis/nss_compat/compat-spwd.c
47546 (getspent_next_nss_netgr): Remove unused variable.
47547 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47548
47549 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47550 nonmembers" output to use the right array.
47551
47552 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47553
47554 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47555
47556 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47557 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47558 * catgets/gencat.c (read_input_file): Likewise.
47559 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47560
47561 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47562 variable definition inside #if's controlling its use.
47563
47564 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47565
47566 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47567
47568 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47569
47570 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47571 unreachable code.
47572
47573 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47574
b68e08db
RM
47575 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47576 * configure: Regenerated.
47577
b350afab
RM
47578 * Makerules: Revert last change.
47579 * elf/Makefile: Likewise.
47580
28368601
RM
475812011-06-09 Roland McGrath <roland@hack.frob.com>
47582
47583 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47584 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47585 (reloc-link): Likewise.
47586
11988f8f
UD
475872011-06-09 Ulrich Drepper <drepper@gmail.com>
47588
47589 * elf/Makefile: Add rules to build pldd.
47590 * elf/pldd.c: New file.
47591 * elf/pldd-xx.c: New file.
47592
e80fab37
UD
475932011-06-07 Ulrich Drepper <drepper@gmail.com>
47594
47595 * version.h: Update for 2.15 development version.
47596
9b849836
DM
475972011-06-07 David S. Miller <davem@davemloft.net>
47598
47599 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47600 ifuncs.
47601 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47602 elf_machine_lazy_rel): Likewise.
47603 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47604 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47605 elf_machine_lazy_rel): Likewise.
47606 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47607 dl_hwcap via passed in argument.
47608 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47609 Likewise.
47610
5a31b283
AK
476112011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47612
47613 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47614
069e52f8
RM
476152011-06-06 Roland McGrath <roland@hack.frob.com>
47616
47617 [BZ #12849]
47618 * manual/fdl-1.1.texi: New file, verbatim from:
47619 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47620 * manual/lgpl-2.1.texi: New file, verbatim from:
47621 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47622 * manual/Makefile (licenses): New variable, list those new file names.
47623 (texis): Use it.
47624 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47625
47626 * manual/fdl.texi: File removed.
47627 * manual/lesser.texi: File removed.
47628 * manual/libc.texinfo (Copying, Documentation License):
47629 Use new @include file names, put @appendix directive before @include.
47630
f16846a5
JJ
476312011-06-04 Jakub Jelinek <jakub@redhat.com>
47632
47633 [BZ #12841]
47634 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47635 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47636 (mq_open): Add __NTH.
47637
3d29045b
L
476382011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47639
47640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47641 Assume Intel Core i3/i5/i7 processor if AVX is available.
47642
8c297311
UD
476432011-05-31 Ulrich Drepper <drepper@gmail.com>
47644
47645 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47646 typo.
47647
c8fc0c91
UD
476482011-05-31 Andreas Schwab <schwab@redhat.com>
47649
47650 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47651 memory. Use alloca_account. Fix memory leak when retrying.
47652
5b27a807
UD
476532011-05-31 Ulrich Drepper <drepper@gmail.com>
47654
356f8bc6
UD
47655 * version.h (RELEASE): Bump for 2.14 release.
47656 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47657
5b27a807
UD
47658 * config.make.in (RANLIB): Remove entry.
47659
01f16ab0
UD
476602011-05-30 Ulrich Drepper <drepper@gmail.com>
47661
41fce8bd
UD
47662 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47663 (libc.pot): Work around missing support for .ksh extension in xgettext.
47664
4769ae77
UD
47665 [BZ #12684]
47666 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47667 if both request failed.
47668 (send_dg): In case of server errors clear resplen or *resplen2.
47669
6b1e7d19
UD
47670 [BZ #12454]
47671 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47672 when there are multiple maps.
47673 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47674 (_dl_fini): Remove test here.
47675
01f16ab0
UD
47676 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47677
b1ebd700
UD
476782011-05-29 Ulrich Drepper <drepper@gmail.com>
47679
7ae22829
UD
47680 [BZ #12350]
47681 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47682 bit from old_res_options.
47683 (gaih_inet): Likewise.
47684
553149f6 47685 [BZ #11099]
18a84741 47686 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
47687 as signed.
47688
652ffab1
UD
47689 * resolv/res_init.c (res_setoptions): Make the code more compact.
47690
16985fd0
UD
47691 [BZ #11558]
47692 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47693 set RES_USEVC.
47694
0464f746
UD
47695 [BZ #11634]
47696 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47697
7d17596c
UD
47698 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47699
cf6bbbd7
UD
47700 [BZ #11781]
47701 * malloc/malloc.h: Declare malloc hook variables as volatile.
47702
13f1ab36
UD
47703 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47704 in last patch.
47705
b1ebd700
UD
47706 [BZ #11799]
47707 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 47708 raise in the comment.
80e2212d
UD
47709 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47710 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47711 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 47712
ce67228d
UD
477132011-05-28 Ulrich Drepper <drepper@gmail.com>
47714
8887a920
UD
47715 [BZ #12811]
47716 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47717 grow the buffers more if it already has to be sufficient.
47718 (build_wcs_upper_buffer): Likewise.
47719 * posix/regexec.c (check_matching): Likewise.
47720 (clean_state_log_if_needed): Likewise.
47721 (extend_buffers): Don't enlarge buffers beyond size of the input
47722 buffer.
47723 Patches mostly by Emil Wojak <emil@wojak.eu>.
47724 * posix/bug-regex32.c: New file.
47725 * posix/Makefile (tests): Add bug-regex32.
47726
4f031072
UD
47727 * locale/findlocale.c (_nl_find_locale): Return right away if
47728 _nl_explode_name failed.
47729 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47730
d0478f0c
UD
47731 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47732
de81b246
UD
47733 * debug/xtrace.sh: Unify messages.
47734 * malloc/memusage.sh: Likewise.
47735
c738465a
UD
47736 [BZ #12813]
47737 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47738 time symbol from vDSO. Substitute with vsyscall if not available.
47739 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47740 __vdso_time.
47741
f1f929d7
UD
47742 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47743 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47744 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47745 Add sendmmsg and internal_sendmmsg.
47746 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47747 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47748 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47749
ce67228d
UD
47750 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47751 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47752 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47753
e57420c6
UD
477542011-05-27 Ulrich Drepper <drepper@gmail.com>
47755
a8509ca5
UD
47756 [BZ #12813]
47757 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47758 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47759 available.
47760 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47761 __vdso_getcpu.
47762
e57420c6
UD
47763 [BZ #12814]
47764 * iconvdata/Makefile (tests): Add bug-iconv9.
47765 * iconvdata/bug-iconv9.c: New file.
47766
4d07db15
AS
477672011-05-27 Andreas Schwab <schwab@redhat.com>
47768
47769 [BZ #12814]
47770 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47771
ea486f69
JJ
477722011-05-25 Jakub Jelinek <jakub@redhat.com>
47773
47774 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47775 (struct user_regs_struct): Change intcs field back to cs.
47776
6f038433
UD
477772011-05-25 Ulrich Drepper <drepper@gmail.com>
47778
47779 * po/ja.po: Update from translation team.
47780
67f86a25
UD
477812011-05-23 Ulrich Drepper <drepper@gmail.com>
47782
47783 [BZ #12795]
47784 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47785 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47786
def7fbd6
AS
477872011-05-20 Andreas Schwab <schwab@redhat.com>
47788
47789 * stdlib/longlong.h: Update from GCC.
47790
f50ef8f1
AS
477912011-05-23 Andreas Schwab <schwab@redhat.com>
47792
47793 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47794 parameter name.
47795 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47796 Add parameter name.
47797 (__sysconf): Pass it down.
47798
de7ce8f1
UD
477992011-05-22 Ulrich Drepper <drepper@gmail.com>
47800
f2962a71
UD
47801 [BZ #12671]
47802 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47803 some situations.
47804 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47805 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47806 add in in __libc_use_alloca calls. Adjust callers.
47807 (glob): Use malloc in some situations.
47808
de7ce8f1
UD
47809 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47810 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47811 pltexit.
47812
aec84f53
UD
478132011-05-21 Ulrich Drepper <drepper@gmail.com>
47814
05bb4a68
UD
47815 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47816 and CLOCK_BOOTTIME_ALARM.
47817
7ea72f99
UD
47818 [BZ #12782]
47819 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47820 is returned.
47821
7e4afad5
UD
47822 * string/_strerror.c (__strerror_r): Print negative errors as signed
47823 numbers.
47824
8e211fec
UD
47825 [BZ #12777]
47826 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47827 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47828 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47829
f7d82dc9
UD
47830 * configure.in: Fix typo in redirection and correct removal of test
47831 files in two cases.
47832
cc9e536d
UD
47833 [BZ #12788]
47834 * locale/setlocale.c (new_composite_name): Fix test to check for
47835 identical name of all categories.
47836
aec84f53
UD
47837 [BZ #12792]
47838 * libio/filedoalloc.c (local_isatty): New function.
47839 (_IO_file_doallocate): Use local_isatty.
47840 * stdio-common/perror.c (perror): In case a new stream is used
47841 forward the stream error.
47842 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47843 error flag.
47844
78e64fdc
RT
478452011-05-20 Ulrich Drepper <drepper@gmail.com>
47846
34a9094f
UD
47847 [BZ #11869]
47848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47849 alloca.
47850 * include/alloca.h (extend_alloca_account): Define.
47851
78e64fdc
RT
47852 [BZ #11857]
47853 * posix/regex.h: Fix comments with documentation of user-accessible
47854 fields after compilation and describe correct free'ing of pattern
47855 after re_compile_pattern.
47856 Patch by Reuben Thomas <rrt@sc3d.org>.
47857
457bddfc
RA
478582011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47859
47860 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47861 and -mno-altivec to prevent the compiler from using Altivec and/or
47862 VSX instructions when the corresponding registers are not available.
47863
a4527b51
AS
478642011-05-19 Andreas Schwab <schwab@redhat.com>
47865
47866 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47867
ed690b2f
UD
478682011-05-19 Ulrich Drepper <drepper@gmail.com>
47869
47870 * libio/freopen.c (freopen): Use __dup2, not dup2.
47871 * libio/freopen64.c (freopen64): Likewise.
47872
8db73634
L
478732011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47874
47875 [BZ #12775]
47876 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47877 * math/Makefile (tests): Add test-powl.
47878 (CFLAGS-test-powl.c): Define.
47879 * math/test-powl.c: New file.
47880
0a197a9d
L
478812011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47882
47883 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47884
ee30c380
UD
478852011-05-17 Ulrich Drepper <drepper@gmail.com>
47886
47887 [BZ #11837]
47888 * iconvdata/gb18030.c: Update to GB18020-2005.
47889
6ce75379
UD
478902011-05-16 Ulrich Drepper <drepper@gmail.com>
47891
a4b89fd8
AR
47892 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47893 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47894 Patch by Aharon Robbins <arnold@skeeve.com>.
47895
ea389b12
UD
47896 [BZ #11892]
47897 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47898 on the stack.
47899
68a3f91f
UD
47900 [BZ #11895]
47901 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47902 through underflows.
47903
15cc7dd1
UD
47904 [BZ #12766]
47905 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47906 point to strings before performing equality test for error_one_per_line
47907 mode.
47908
f3799213
UD
47909 [BZ #11697]
47910 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47911
d79a9c94
UD
47912 [BZ #11820]
47913 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47914 (struct user_fpregs_struct): Avoid __uint*_t types.
47915
56e5eb46
UD
47916 [BZ #6420]
47917 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47918 symbol info. Use it instead of calling _dl_addr locally.
47919 (lock_and_info): New function.
47920 (tr_freehook): Call lock_and_info and pass symbol info as additional
47921 parameter to tr_where.
47922 (tr_mallochook): Likewise.
47923 (tr_reallochook): Likewise.
47924 (tr_memalignhook): Likewise.
47925
6ce75379
UD
47926 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47927 used and couldn't be at all thread-safe.
47928
f8a3b5bf
UD
479292011-05-15 Ulrich Drepper <drepper@gmail.com>
47930
94b7cc37
UD
47931 * libio/freopen.c (freopen): Don't close old file descriptor
47932 before the new one is opened. Instead dup the new file descriptor
47933 to the old one after the new stream is created.
47934 * libio/freopen64.c (freopen64): Likewise.
47935 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47936 * libio/fileops.c (_IO_new_file_close_it): Handle new
47937 _IO_FLAGS2_NOCLOSE flag.
47938 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47939 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47940 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47941 _IO_FLAGS2_NOCLOSE flag.
47942 * include/unistd.h: Add hidden_proto for dup3.
47943 Define __have_dup3.
47944 * io/dup3.c: Define hidden symbol.
47945 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47946
bd25564e
UD
47947 [BZ #7101]
47948 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47949 when an incomplete long option is used.
47950 * posix/tst-getopt_long1.c: New file.
47951 * posix/Makefile (tests): Add tst-getopt_long1.
47952
c84cfef4
UD
47953 [BZ #10138]
47954 * scripts/config.guess: Update from autoconf-2.68.
47955 * scripts/config.sub: Likewise.
47956
3b85df27
UD
47957 [BZ #10157]
47958 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47959 tests into ...
47960 (has_cpuclock): ...this. New function.
47961 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47962 macro here based on has_cpuclock code.
47963
15a856b1
UD
47964 [BZ #10149]
47965 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47966 First byte (not low byte) is now always NUL.
47967 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47968
05f399e6
UD
47969 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47970 Use non-cancelable interfaces.
47971
10a52685 47972 [BZ #9809]
94ecc67d
UD
47973 * locale/iso-639.def: Add entry for Sorani.
47974
f8a3b5bf
UD
47975 [BZ #11901]
47976 * include/stdlib.h: Move include protection to the right place.
47977 Define abort_msg_s. Declare __abort_msg with it.
47978 * stdlib/abort.c (__abort_msg): Adjust type.
47979 * assert/assert.c (__assert_fail_base): New function. Majority
47980 of code from __assert_fail. Allocate memory for __abort_msg with
47981 mmap.
47982 (__assert_fail): Now call __assert_fail_base.
47983 * assert/assert-perr.c: Remove bulk of implementation. Use
47984 __assert_fail_base.
47985 * include/assert.hL Declare __assert_fail_base.
47986 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47987 mmap.
47988 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47989
1af4e298
UD
479902011-05-14 Ulrich Drepper <drepper@gmail.com>
47991
f8a3b5bf 47992 [BZ #11952]
d26dfc60
MG
47993 [BZ #12453]
47994 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47995 until all modules are registered in the DTV.
47996 * elf/Makefile: Add rules to build and run tst-tls19.
47997 * elf/tst-tls19.c: New file.
47998 * elf/tst-tls19mod1.c: New file.
47999 * elf/tst-tls19mod2.c: New file.
48000 * elf/tst-tls19mod3.c: New file.
48001 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48002
2fc54d6f
UD
48003 [BZ #12083]
48004 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48005 correctly.
48006
98d76b46
UD
48007 [BZ #12601]
48008 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48009 two-byte sequence errors.
48010 * iconvdata/Makefile (tests): Add bug-iconv8.
48011 * iconvdata/bug-iconv8.c: New file.
48012
da3c19ef
UD
48013 [BZ #12626]
48014 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48015 buf2 definition.
48016
ca408c15
UD
48017 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48018
d6f67f7d
UD
48019 [BZ #12432]
48020 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48021 (dummy_getcfa): New function.
48022 (init): Get _Unwind_GetCFA address, use dummy if not found.
48023 (backtrace_helper): In recursion check, also check whether CFA changes.
48024 (__backtrace): Completely initialize arg.
48025
1af4e298 48026 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
48027 storing incomplete byte sequence in state object. Avoid testing for
48028 guaranteed too small input if we know there is enough data available.
1af4e298 48029
da62f81b
AS
480302011-05-11 Andreas Schwab <schwab@redhat.com>
48031
48032 * Makeconfig (+link-pie): Indent.
48033 * Rules (binaries-pie): Define if $(have-fpie) and
48034 $(build-shared).
48035 (binaries-shared): Also filter out $(binaries-pie).
48036 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48037 * nscd/Makefile (others-pie): Add nscd.
48038 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48039 ($(objpfx)nscd): Remove command override.
48040 * login/Makefile (others-pie): Add pt_chown.
48041 ($(objpfx)pt_chown): Remove command override.
48042 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48043 remove command overrides.
48044
fcabc0f8
UD
480452011-05-13 Ulrich Drepper <drepper@gmail.com>
48046
20030ae6
UD
48047 * libio/tst_putwc.c: Fix error messages.
48048
fcabc0f8
UD
48049 [BZ #12724]
48050 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48051 currently writing and seek to current position when not.
48052 * libio/Makefile (tests): Add bug-fclose1.
48053 * libio/bug-fclose1.c: New file.
48054
320a5dc0
PB
480552011-05-12 Ulrich Drepper <drepper@gmail.com>
48056
48057 [BZ #12511]
48058 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48059 don't set DF_1_NODELETE here.
48060 (do_lookup_x): When entering new entry test for copy relocation
48061 and if necessary set DF_1_NODELETE flag.
48062 * elf/tst-unique4.cc: New file.
48063 * elf/tst-unique4.h: New file.
48064 * elf/tst-unique4lib.cc: New file.
48065 * elf/Makefile: Add rules to build and run tst-unique4.
48066 Patch by Piotr Bury <pbury@goahead.com>.
48067
22836f52
UD
480682011-05-11 Ulrich Drepper <drepper@gmail.com>
48069
f574184a
UD
48070 [BZ #12052]
48071 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48072
e1fb097f
UD
48073 [BZ #12625]
48074 * misc/mntent_r.c (addmntent): Flush the stream after the output
48075
22836f52
UD
48076 [BZ #12393]
48077 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48078 (is_trusted_path_normalize): Skip initial colon. Append slash
48079 to empty buffer. Duplicate is_trusted_path code but allow
48080 constructed patch to be prefix.
48081 (is_dst): Allow $ORIGIN followed by /.
48082 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48083 Correct testing of result of is_trusted_path_normalize
48084 (decompose_rpath): Fix warning.
48085
7b3b0b2a
UD
480862011-05-10 Ulrich Drepper <drepper@gmail.com>
48087
48088 [BZ #11257]
48089 * grp/initgroups.c (internal_getgrouplist): When we found the service
48090 list through the initgroups entry in nsswitch.conf do not always
48091 continue on a successful lookup. Don't always use the
eac80ce2 48092 __nss_group_database value if it is set.
7b3b0b2a
UD
48093 * nss/nsswitch.conf (initgroups): Change action for successful db
48094 lookup to continue for compatibility.
48095
2a81eaa5
UD
480962011-05-09 Ulrich Drepper <drepper@gmail.com>
48097
be97a69e
UD
48098 [BZ #11532]
48099 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48100 and CP774 modules.
48101 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48102 and CP774 modules.
48103 * iconvdata/tst-tables.sh: Likewise.
48104 * iconvdata/cp770.c: New file.
48105 * iconvdata/cp771.c: New file.
48106 * iconvdata/cp772.c: New file.
48107 * iconvdata/cp773.c: New file.
48108 * iconvdata/cp774.c: New file.
48109 * iconvdata/testdata/CP770: New file.
48110 * iconvdata/testdata/CP770..UTF8: New file.
48111 * iconvdata/testdata/CP771: New file.
48112 * iconvdata/testdata/CP771..UTF8: New file.
48113 * iconvdata/testdata/CP772: New file.
48114 * iconvdata/testdata/CP772..UTF8: New file.
48115 * iconvdata/testdata/CP773: New file.
48116 * iconvdata/testdata/CP773..UTF8: New file.
48117 * iconvdata/testdata/CP774: New file.
48118 * iconvdata/testdata/CP774..UTF8: New file.
48119
48120 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48121 END CHARMAP line.
48122 * iconvdata/gen-8bit-gap.sh: Likewise.
48123 * iconvdata/gen-8bit.sh: Likewise.
48124
c1e9e399
UD
48125 * locale/iso-639.def: Add ary entry.
48126
24c55fb3 48127 [BZ #11258]
96b4b1b0
UD
48128 * locale/C-translit.h.in: Add U20A1 transliteration.
48129
bdc2f971
KB
48130 [BZ #12178]
48131 * locale/iso-639.def: Add wae entry.
48132 Patch by Kevin Bortis <bortis@translate-wae.ch>.
48133
2952b117
UD
48134 [BZ #12545]
48135 * locale/programs/localedef.c (construct_output_path): Use ssize_t
48136 for n.
48137
2a81eaa5
UD
48138 [BZ #12711]
48139 * locale/C-translit.h.in: Add entry for U20B9.
48140 Patch by pravin.d.s@gmail.com.
48141
28377d1b
UD
481422011-05-08 Ulrich Drepper <drepper@gmail.com>
48143
7fb90fb8
UD
48144 [BZ #12713]
48145 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48146 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
48147 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48148 in rtld. Use *stat64.
7fb90fb8 48149 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 48150 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 48151 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
48152 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48153 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48154 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48155 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48156 __fstatat64 macros.
7fb90fb8
UD
48157 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48158 * dirent/rewinddir.c: Add libc_hidden_def.
48159 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 48160 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 48161
28377d1b
UD
48162 * include/dirent.h (__alloc_dir): Add flags parameter.
48163 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48164 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48165 __alloc_dir.
48166 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48167 from fdopendir if O_CLOEXEC is already set.
48168
66bdbaa4
AM
481692011-03-15 Alan Modra <amodra@gmail.com>
48170
48171 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48172 l_tls_firstbyte_offset non-zero. Save padding offset in
48173 l_tls_firstbyte_offset for later use.
48174 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48175 freeing static tls block.
48176
95721191
JN
481772011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48178
48179 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48180 where #ifdef was intended. The intent is to prevent ARG_MAX from
48181 being defined by the kernel headers.
48182
f87dfb1f
UD
481832011-05-07 Ulrich Drepper <drepper@gmail.com>
48184
48185 [BZ #12734]
48186 * resolv/resolv.h: Define RES_NOTLDQUERY.
48187 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48188 no-tld-query and set RES_NOTLDQUERY.
48189 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48190 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48191 modern BIND to search name as TLD unless forbidden.
48192
47c3cd7a
UD
481932011-05-07 Petr Baudis <pasky@suse.cz>
48194 Ulrich Drepper <drepper@gmail.com>
48195
48196 [BZ #12393]
48197 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48198 (is_trusted_path): ...to here.
c1e9ea35 48199 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 48200 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 48201 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 48202
8a35c912
PP
482032011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48204
48205 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48206 __BEGIN/__END_DECLS.
48207
acd41f47
UD
482082011-05-06 Ulrich Drepper <drepper@gmail.com>
48209
48210 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48211 NSS_STATUS_NOTFOUND if no record was found.
48212
597df647
AS
482132011-05-05 Andreas Schwab <schwab@redhat.com>
48214
48215 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48216 (headers-not-in-tirpc): Remove rpc/netdb.h
48217 * resolv/netdb.h: Revert last change.
48218
b9af1301
PP
482192011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48220
48221 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48222 circular dependency between libgcc.a and libc.a.
48223
4e34d5f5
AS
482242011-05-05 Andreas Schwab <schwab@redhat.com>
48225
48226 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48227 * nis/Makefile: Don't install rpcsvc/*.
48228 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48229 instead of <rpc/types.h>.
48230 (MAXHOSTNAMELEN): Define.
48231
00ee369c
AS
482322011-05-03 Andreas Schwab <schwab@redhat.com>
48233
48234 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48235
0b592a30
MB
482362011-04-28 Maciej Babinski <mbabinski@google.com>
48237
48238 [BZ #12714]
48239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48240 gethostbyname4_r when IPv6 results are possible.
48241
6e04cbbe
UD
482422011-05-02 Ulrich Drepper <drepper@gmail.com>
48243
48244 [BZ #12723]
48245 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48246 _PC_PIPE_BUF handling.
48247
e4ecafe0
BH
482482011-04-30 Bruno Haible <bruno@clisp.org>
48249
48250 [BZ #12717]
48251 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48252 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48253 to 'int'.
48254 * inet/getnameinfo.c (getnameinfo): Likewise.
48255
125ee683
UD
482562011-04-29 Ulrich Drepper <drepper@gmail.com>
48257
48258 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48259 to groups setting in database lookup.
48260 * nss/nsswitch.conf: Add initgroups entry.
48261
b722481a
EB
482622011-04-22 Ulrich Drepper <drepper@gmail.com>
48263
48264 [BZ #12685]
48265 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48266 mode string.
48267 Patch by Eric Blake <eblake@redhat.com>.
48268
4df46dbd
L
482692011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48270
48271 * sunrpc/Makefile (need-export-routines): Add svc_run.
48272 (routines): Remove svc_run.
48273 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48274 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48275 * sunrpc/svc_run.c (svc_run): Likewise.
48276 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48277
e84142d2
UD
482782011-04-21 Ulrich Drepper <drepper@gmail.com>
48279
48280 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48281 problem in reallocation in last patch.
48282
877175d8
UD
482832011-04-20 Ulrich Drepper <drepper@gmail.com>
48284
48285 * sunrpc/Makefile: Move inclusion of Rules.
48286
ab8eed78
UD
482872011-04-19 Ulrich Drepper <drepper@gmail.com>
48288
48289 * nss/nss_files/files-initgroups.c: New file.
48290 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48291 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48292 _nss_files_initgroups_dyn.
48293
e3d8f584
RS
482942011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48295
48296 * elf/elf.h (R_ARM_IRELATIVE): Define.
48297
af190f45
UD
482982011-04-19 Ulrich Drepper <drepper@gmail.com>
48299
48300 * po/ru.po: Update from translation team.
48301
53cf59ef
UD
483022011-04-17 Ulrich Drepper <drepper@gmail.com>
48303
48304 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48305 dependencies.
48306
4c559bcd
MF
483072011-02-06 Mike Frysinger <vapier@gentoo.org>
48308
48309 [BZ #12653]
48310 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48311 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48312 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48313 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48314 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48315
4420675c
AS
483162011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48317
48318 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48319 differing bytes.
48320 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48321 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48322 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48323
75ea32ab
UD
483242011-04-17 Ulrich Drepper <drepper@gmail.com>
48325
48326 [BZ #12420]
48327 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48328 storing it.
48329 * stdlib/bug-getcontext.c: New file.
48330 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48331
27390476
AK
483322011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48333
48334 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48335 instructions into .machine "z9-109".
48336 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48337 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48338
10442705
AK
483392011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48340
48341 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48342 between environment variables and auxiliary vector.
48343
7b57bfe5
UD
483442011-04-16 Ulrich Drepper <drepper@gmail.com>
48345
48346 * Makefile: Add rules to build linkobj/libc.so.
48347 * include/libc-symbols.h: Define libc_hidden_nolink.
48348 * include/rpc/auth.h: Mark functions which are to be hidden.
48349 * include/rpc/auth_des.h: Likewise.
48350 * include/rpc/auth_unix.h: Likewise.
48351 * include/rpc/clnt.h: Likewise.
48352 * include/rpc/des_crypt.h: Likewise.
48353 * include/rpc/key_prot.h: Likewise.
48354 * include/rpc/pmap_clnt.h: Likewise.
48355 * include/rpc/pmap_prot.h: Likewise.
48356 * include/rpc/pmap_rmt.h: Likewise.
48357 * include/rpc/rpc_msg.h: Likewise.
48358 * include/rpc/svc.h: Likewise.
48359 * include/rpc/svc_auth.h: Likewise.
48360 * include/rpc/xdr.h: Likewise.
48361 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48362 * nss/Makefile: Likewise.
48363 * sunrpc/Makefile: Don't install headers. Build library with normal
48364 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48365 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48366 for the compat linking library. Remove use of INTDEF/INTUSE.
48367 * sunrpc/auth_none.c: Likewise.
48368 * sunrpc/auth_unix.c: Likewise.
48369 * sunrpc/authdes_prot.c: Likewise.
48370 * sunrpc/authuxprot.c: Likewise.
48371 * sunrpc/clnt_gen.c: Likewise.
48372 * sunrpc/clnt_perr.c: Likewise.
48373 * sunrpc/clnt_raw.c: Likewise.
48374 * sunrpc/clnt_simp.c: Likewise.
48375 * sunrpc/clnt_tcp.c: Likewise.
48376 * sunrpc/clnt_udp.c: Likewise.
48377 * sunrpc/clnt_unix.c: Likewise.
48378 * sunrpc/des_crypt.c: Likewise.
48379 * sunrpc/des_soft.c: Likewise.
48380 * sunrpc/get_myaddr.c: Likewise.
48381 * sunrpc/key_call.c: Likewise.
48382 * sunrpc/key_prot.c: Likewise.
48383 * sunrpc/netname.c: Likewise.
48384 * sunrpc/pm_getmaps.c: Likewise.
48385 * sunrpc/pm_getport.c: Likewise.
48386 * sunrpc/pmap_clnt.c: Likewise.
48387 * sunrpc/pmap_prot.c: Likewise.
48388 * sunrpc/pmap_prot2.c: Likewise.
48389 * sunrpc/pmap_rmt.c: Likewise.
48390 * sunrpc/publickey.c: Likewise.
48391 * sunrpc/rpc_cmsg.c: Likewise.
48392 * sunrpc/rpc_common.c: Likewise.
48393 * sunrpc/rpc_dtable.c: Likewise.
48394 * sunrpc/rpc_prot.c: Likewise.
48395 * sunrpc/rpc_thread.c: Likewise.
48396 * sunrpc/rtime.c: Likewise.
48397 * sunrpc/svc.c: Likewise.
48398 * sunrpc/svc_auth.c: Likewise.
48399 * sunrpc/svc_authux.c: Likewise.
48400 * sunrpc/svc_raw.c: Likewise.
48401 * sunrpc/svc_run.c: Likewise.
48402 * sunrpc/svc_simple.c: Likewise.
48403 * sunrpc/svc_tcp.c: Likewise.
48404 * sunrpc/svc_udp.c: Likewise.
48405 * sunrpc/svc_unix.c: Likewise.
48406 * sunrpc/svcauth_des.c: Likewise.
48407 * sunrpc/xcrypt.c: Likewise.
48408 * sunrpc/xdr.c: Likewise.
48409 * sunrpc/xdr_array.c: Likewise.
48410 * sunrpc/xdr_float.c: Likewise.
48411 * sunrpc/xdr_intXX_t.c: Likewise.
48412 * sunrpc/xdr_mem.c: Likewise.
48413 * sunrpc/xdr_rec.c: Likewise.
48414 * sunrpc/xdr_ref.c: Likewise.
48415 * sunrpc/xdr_sizeof.c: Likewise.
48416 * sunrpc/xdr_stdio.c: Likewise.
48417
e6c61494
UD
484182011-04-10 Ulrich Drepper <drepper@gmail.com>
48419
48420 [BZ #12650]
48421 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48422 * sysdeps/ia64/dl-tls.h: Likewise.
48423 * sysdeps/powerpc/dl-tls.h: Likewise.
48424 * sysdeps/s390/dl-tls.h: Likewise.
48425 * sysdeps/sh/dl-tls.h: Likewise.
48426 * sysdeps/sparc/dl-tls.h: Likewise.
48427 * sysdeps/x86_64/dl-tls.h: Likewise.
48428 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48429
34fe483e
AS
484302011-03-14 Andreas Schwab <schwab@redhat.com>
48431
48432 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48433 rpath element also skip the following colon.
48434 (expand_dynamic_string_token): Add is_path parameter and pass
48435 down to DL_DST_REQUIRED and _dl_dst_substitute.
48436 (decompose_rpath): Call expand_dynamic_string_token with
48437 non-zero is_path. Ignore empty rpaths.
48438 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48439 with zero is_path.
48440
f12a32e6
AS
484412011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48442
48443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48444 Make cancelable.
48445
38a7d692
UD
484462011-04-09 Ulrich Drepper <drepper@gmail.com>
48447
48448 [BZ #12655]
48449 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48450 Patch by Filipe David Manana <fdmanana@apache.org>.
48451
e451d22b
AS
484522011-04-07 Andreas Schwab <schwab@redhat.com>
48453
48454 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48455 Maintain aligned stack.
48456 (CHECK_RSP): Remove unused macro.
48457
dedc7c7b
UD
484582011-04-03 Ulrich Drepper <drepper@gmail.com>
48459
48460 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48461 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48462
94521213
UD
484632011-04-02 Ulrich Drepper <drepper@gmail.com>
48464
48465 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48466
8cb700c0 48467 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 48468
0354e355
L
484692011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48470
48471 [BZ #12518]
48472 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48473 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48474 * sysdeps/x86_64/memmove.c: New file.
48475 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48476 (memcpy): Renamed to ...
48477 (__new_memcpy): This.
48478 (memcpy): Provide GLIBC_2_14 memcpy.
48479 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48480 (memcpy): Provide GLIBC_2_2_5 memcpy.
48481
8593482f
UD
484822011-04-01 Ulrich Drepper <drepper@gmail.com>
48483
48484 [BZ #12631]
48485 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48486
81a5726b
AS
484872011-03-30 Andreas Schwab <schwab@redhat.com>
48488
48489 * misc/syncfs.c: New file.
48490 * misc/Makefile (routines): Add syncfs.
48491 * posix/unistd.h: Declare syncfs.
48492 * sysdeps/unix/syscalls.list: Add syncfs.
48493
00e5419f
AS
484942011-04-01 Andreas Schwab <schwab@redhat.com>
48495
48496 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48497 open_by_handle_at.
48498 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48499 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48500 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48501 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48502 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48503 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48504 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48505
748876bf
UD
485062011-04-01 Ulrich Drepper <drepper@gmail.com>
48507
658e451d
UD
48508 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48509 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48510 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48511 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48512 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48513 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48514 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48515
748876bf
UD
48516 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48517 sync_file_range.c with -fexceptions.
48518 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48519 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48520 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48521 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48522 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48523 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48524 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
48525 sync_file_range as cancellation point
48526 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48527 now a wrapper around __call_sync_file_range with cancellation handling.
48528 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48529 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48530 function name to __call_sync_file_range.
48531 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48532 Add call_sync_file_range.
748876bf 48533
6e63d5e1
AS
485342011-04-01 Andreas Schwab <schwab@redhat.com>
48535
48536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 48537 bits/timex.h.
6e63d5e1 48538
46998f74
UD
485392011-04-01 Ulrich Drepper <drepper@gmail.com>
48540
4c1423ed
UD
48541 * iconv/iconv.h: Fix typo in comment.
48542 * io/fcntl.h: Likewise.
48543 * libio/stdio.h: Likewise.
48544 * posix/spawn.h: Likewise.
48545 * posix/unistd.h: Likewise.
48546 * stdlib/stdlib.h: Likewise.
48547 * time/time.h: Likewise.
48548 * wcsmbs/wchar.h: Likewise.
48549
158648c0
UD
48550 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48551 open_by_handle): Add.
48552 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48553 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48554 Augment a few comments.
48555 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48556 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48557 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48559 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48560 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48561 open_by_handle.
48562
46998f74
UD
48563 * io/fcntl.h (AT_EMPTY_PATH): Define.
48564
83fe108b
UD
485652011-03-30 Ulrich Drepper <drepper@gmail.com>
48566
48567 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48568 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48569 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48570 to...
48571 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
48572 * Versions.def: Add GLIBC_2.14.
48573 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48574 Export.
83fe108b 48575
bb242059
UD
485762011-03-22 Ulrich Drepper <drepper@gmail.com>
48577
48578 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48579 round counter.
48580 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48581
c97a1282
L
485822011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48583
48584 [BZ #12597]
48585 * string/test-strncmp.c (do_page_test): New function.
48586 (check2): Likewise.
48587 (test_main): Call check2.
48588 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48589
2a115601
UD
485902011-03-20 Ulrich Drepper <drepper@gmail.com>
48591
48592 [BZ #12587]
48593 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48594 Handle cache information in CPU leaf 4.
48595 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48596
8126d904
UD
485972011-03-18 Ulrich Drepper <drepper@gmail.com>
48598
042c49c6 48599 [BZ #12583]
8126d904
UD
48600 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48601 character representation.
48602 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48603
ccfe366e
RA
486042011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48605
48606 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48607 END(__isnan) to END(__isnanf) to match function entry point/label
48608 EALIGN(__isnanf,...).
48609
c6e13027
JJ
486102011-03-10 Jakub Jelinek <jakub@redhat.com>
48611
48612 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48613
33f85a3f
UD
486142011-03-10 Ulrich Drepper <drepper@gmail.com>
48615
028478fa
UD
48616 [BZ #12510]
48617 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48618 copy from the symbol referenced in the relocation to initialize the
48619 used variable.
48620 Patch by Piotr Bury <pbury@goahead.com>.
48621 * elf/Makefile: Add rules to build and tst-unique3.
48622 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48623 * elf/tst-unique3.cc: New file.
48624 * elf/tst-unique3.h: New file.
48625 * elf/tst-unique3lib.cc: New file.
48626 * elf/tst-unique3lib2.cc: New file.
48627
33f85a3f
UD
48628 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48629
03592fc7
MF
486302011-03-10 Mike Frysinger <vapier@gentoo.org>
48631
48632 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48633 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48634 to _start.
03592fc7 48635
6a5ee102
UD
486362011-03-06 Ulrich Drepper <drepper@gmail.com>
48637
48638 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48639 to-be-loaded object along a path to loader is ld.so.
48640
7e4ba49c
HJ
486412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48642 Ulrich Drepper <drepper@gmail.com>
48643
48644 * sysdeps/x86_64/memset.S: After aligning destination, code
48645 branches to different locations depending on the value of
48646 misalignment, when multiarch is enabled. Fix this.
48647
486482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48649
48650 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48651 Set _x86_64_preferred_memory_instruction for AMD processsors.
48652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48653 Set bit_Prefer_SSE_for_memop for AMD processors.
48654
13a804de
UD
486552011-03-04 Ulrich Drepper <drepper@gmail.com>
48656
48657 * libio/fmemopen.c (fmemopen): Optimize a bit.
48658
9d25c392
AS
486592011-03-03 Andreas Schwab <schwab@redhat.com>
48660
48661 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48662
a5543c6a
RM
486632011-03-03 Roland McGrath <roland@redhat.com>
48664
48665 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48666
012d35f7
DM
486672011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48668
7e4ba49c 48669 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
48670 __bzero_ultra1 instead of __memset_ultra1.
48671
4bff6e01
AS
486722011-02-23 Andreas Schwab <schwab@redhat.com>
48673 Ulrich Drepper <drepper@gmail.com>
48674
48675 [BZ #12509]
48676 * include/link.h (struct link_map): Add l_orig_initfini.
48677 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48678 returning unsuccessfully.
48679 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48680 close of a file loaded at startup, restore the original l_initfini
48681 list.
48682 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48683 list, store the pointer.
48684 * elf/Makefile ($(objpfx)noload-mem): New rule.
48685 (noload-ENV): Define.
48686 (tests): Add $(objpfx)noload-mem.
48687 * elf/noload.c: Include <memcheck.h>.
48688 (main): Call mtrace. Close all opened handles.
48689
f2092faf
AS
486902011-02-17 Andreas Schwab <schwab@redhat.com>
48691
48692 [BZ #12454]
48693 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48694 dependencies are missing.
48695
6c8a2e88
ST
486962011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48697
f2092faf 48698 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
48699 Hurd needs munmap.
48700 * sysdeps/mach/hurd/ifreq.h: New file.
48701
84a42118
PB
487022011-01-27 Petr Baudis <pasky@suse.cz>
48703 Ulrich Drepper <drepper@gmail.com>
48704
071f805e 48705 [BZ 12445]#
84a42118
PB
48706 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48707 to extend_alloca().
48708 * stdio-common/bug23.c: New file.
48709 * stdio-common/Makefile (tests): Add bug23.
48710
e23fe25b
AS
487112010-09-28 Andreas Schwab <schwab@redhat.com>
48712 Ulrich Drepper <drepper@gmail.com>
48713
48714 [BZ #12489]
48715 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48716 before performing relro protection. At old place add assertion
48717 to make sure nothing changed.
48718
d3f02e10
NS
487192011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48720 Glauber de Oliveira Costa <glommer@gmail.com>
48721
48722 * elf/elf.h: Add new ARM TLS relocs.
48723
d55fd7a5
RA
487242011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48725
48726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48727 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48728 cast from r3.
48729 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48730 'tests' variable.
48731 * sysdeps/wordsize-64/tst-writev.c: New file.
48732
2206397e
RA
487332011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48734
48735 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48736 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48737 insns in _dl_start to prevent a TOC reference before relocs are
48738 resolved.
48739
e9433893
UD
487402011-02-15 Ulrich Drepper <drepper@gmail.com>
48741
48742 [BZ #12469]
48743 * Makeconfig: Remove RANLIB definition.
48744 * Makerules: Don't use RANLIB.
48745 * aclocal.m4: Remove ranlib test.
48746 * configure.in: No need to check for ranlib.
48747 * elf/rtld-Rules: Don't use RANLIB.
48748
f75286c6
ST
487492011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48750
8e31c82d
ST
48751 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48752 protection macro.
48753 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48754 inclusion protection macro.
48755
f75286c6
ST
48756 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48757 SIGRTMIN and SIGRTMAX and print information in that case only when
48758 SIGRTMIN is defined.
48759
c1d0e639
JJ
487602011-02-11 Jakub Jelinek <jakub@redhat.com>
48761
48762 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48763 arginfo fn returning -1.
48764
48765 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48766 and thousands string is zero terminated.
48767
edf9294e
AS
487682011-02-03 Andreas Schwab <schwab@redhat.com>
48769
48770 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48771 sysdeps/unix/sysv/linux/bits/socket.h.
48772
2b7e92df
ST
487732011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48774
edf9294e
AS
48775 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48776 (__CPU_COUNT): Remove old macros.
48777 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48778 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48779 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
48780 (__sched_cpualloc, __sched_cpufree): Add declarations.
48781
a4c7ea7b
UD
487822011-02-05 Ulrich Drepper <drepper@gmail.com>
48783
48784 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48785 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48786 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48787 (readdhstai): Return value of addhstaiX call.
48788 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48789 (addgrbyX): Return value returned by cache_addgr.
48790 (readdgrbyname): Return value returned by addgrbyX.
48791 (readdgrbygid): Likewise.
48792 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48793 (addpwbyX): Return value returned by cache_addpw.
48794 (readdpwbyname): Return value returned by addhstbyX.
48795 (readdpwbyuid): Likewise.
48796 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48797 (addservbyX): Return value returned by cache_addserv.
48798 (readdservbyname): Return value returned by addservbyX:
48799 (readdservbyport): Likewise.
48800 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48801 (addhstbyX): Return value returned by cache_addhst.
48802 (readdhstbyname): Return value returned by addhstbyX.
48803 (readdhstbyaddr): Likewise.
48804 (readdhstbynamev6): Likewise.
48805 (readdhstbyaddrv6): Likewise.
48806 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48807 (readdinitgroups): Return value returned by addinitgroupsX.
48808 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48809 (prune_cache): Keep track of timeout value of re-added entries.
48810 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48811 * nscd/nscd.h: Adjust prototypes of readd* functions.
48812
a0bf67cc
RM
488132011-02-04 Roland McGrath <roland@redhat.com>
48814
48815 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48816 (nis_stats): Likewise.
48817 * nis/nis_modify.c (nis_modify): Likewise.
48818 * nis/nis_remove.c (nis_remove): Likewise.
48819 * nis/nis_add.c (nis_add): Likewise.
48820
48821 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48822
48823 * posix/fnmatch_loop.c: Add some consts.
48824
48825 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48826
435b95eb
L
488272011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48828
48829 [BZ #12460]
48830 * config.make.in (config-cflags-novzeroupper): Define.
48831 * configure.in: Substitute libc_cv_cc_novzeroupper.
48832 * elf/Makefile (AVX-CFLAGS): Define.
48833 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48834 (CFLAGS-tst-auditmod4a.c): Likewise.
48835 (CFLAGS-tst-auditmod4b.c): Likewise.
48836 (CFLAGS-tst-auditmod6b.c): Likewise.
48837 (CFLAGS-tst-auditmod6c.c): Likewise.
48838 (CFLAGS-tst-auditmod7b.c): Likewise.
48839 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48840
8517b15e
UD
488412011-02-02 Ulrich Drepper <drepper@gmail.com>
48842
48843 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48844 function to the callback.
48845 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48846
10a656fe
AS
488472011-02-02 Andreas Schwab <schwab@redhat.com>
48848
48849 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48850 of errno.
48851
968dad0a
UD
488522011-01-19 Ulrich Drepper <drepper@gmail.com>
48853
9f94d2ea 48854 [BZ #11724]
968dad0a
UD
48855 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48856 of constructors.
48857 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48858 of destructors.
48859 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48860
48861 [BZ #11724]
48862 * elf/Makefile: Add rules to build and run new test.
48863 * elf/tst-initorder.c: New file.
48864 * elf/tst-initorder.exp: New file.
48865 * elf/tst-initordera1.c: New file.
48866 * elf/tst-initordera2.c: New file.
48867 * elf/tst-initordera3.c: New file.
48868 * elf/tst-initordera4.c: New file.
48869 * elf/tst-initorderb1.c: New file.
48870 * elf/tst-initorderb2.c: New file.
48871 * elf/tst-order-a1.c: New file.
48872 * elf/tst-order-a2.c: New file.
48873 * elf/tst-order-a3.c: New file.
48874 * elf/tst-order-a4.c: New file.
48875 * elf/tst-order-b1.c: New file.
48876 * elf/tst-order-b2.c: New file.
48877 * elf/tst-order-main.c: New file.
48878 New test case by George Gensure <werkt0@gmail.com>.
48879
86e92359
UD
488802010-10-01 Andreas Schwab <schwab@redhat.com>
48881
48882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48883 decoding ACE if AI_CANONIDN.
48884
5d5732b0
UD
488852011-01-18 Ulrich Drepper <drepper@gmail.com>
48886
48887 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48888
a77e8cbc
UD
488892011-01-17 Ulrich Drepper <drepper@gmail.com>
48890
6392473f
UD
48891 * version.h (RELEASE): Bump for 2.13 release.
48892 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48893
620a0529
UD
48894 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48895
18ba70a5
UD
48896 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48897 MADV_NOHUGEPAGE.
32465c3e
UD
48898 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48899 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48900 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48901 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48902 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48903 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48904
c0dafcf1
UD
48905 * posix/getconf.c: Update copyright year.
48906 * catgets/gencat.c: Likewise.
48907 * csu/version.c: Likewise.
48908 * debug/catchsegv.sh: Likewise.
48909 * debug/xtrace.sh: Likewise.
48910 * elf/ldconfig.c: Likewise.
48911 * elf/ldd.bash.in: Likewise.
48912 * elf/sprof.c (print_version): Likewise.
48913 * iconv/iconv_prog.c: Likewise.
48914 * iconv/iconvconfig.c: Likewise.
48915 * locale/programs/locale.c: Likewise.
48916 * locale/programs/localedef.c: Likewise.
48917 * malloc/memusage.sh: Likewise.
48918 * malloc/mtrace.pl: Likewise.
48919 * nscd/nscd.c (print_version): Likewise.
48920 * nss/getent.c: Likewise.
48921
a77e8cbc
UD
48922 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48923 PF_CAIF, and PF_ALG.
48924 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48925
77e8bddf
AS
489262011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48927
1f20b93a
AS
48928 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48929 (modules-names): Use them.
48930 (ifunc-test-modules, ifunc-pie-tests): Define.
48931 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48932 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48933 (test-extras): Likewise.
48934 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48935 $(compile-command.c).
48936 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48937 (all-built-dso): Define.
48938 (check-textrel.out, check-execstack.out): Depend on it.
48939
77e8bddf
AS
48940 * configure.in: Don't override --enable-multi-arch.
48941
bc425b33
UD
489422011-01-15 Ulrich Drepper <drepper@gmail.com>
48943
48944 [BZ #6812]
48945 * nscd/hstcache.c (tryagain): Define.
48946 (cache_addhst): Return tryagain not notfound for temporary errors.
48947 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48948 failed.
48949
794c3ad3
UD
489502011-01-14 Ulrich Drepper <drepper@gmail.com>
48951
70181fdd
UD
48952 [BZ #10563]
48953 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48954 to make the syscall.
48955 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48956
794c3ad3
UD
48957 [BZ #12378]
48958 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48959 and fall back to matching as normal character if the string ends before
48960 the matching ']' is found. This is what POSIX requires.
48961 * posix/testfnm.c: Adjust test result.
48962 * posix/globtest.sh: Adjust test result. Add new test.
48963 * posix/tst-fnmatch.input: Likewise.
48964 * posix/tst-fnmatch2.c: Add new test.
48965
68dc9497
AS
489662010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48967
48968 * elf/Makefile (check-execstack): Revert last change. Depend on
48969 check-execstack.h.
48970 (check-execstack.h): New target.
48971 (generated): Add check-execstack.h.
48972 * elf/check-execstack.c: Include "check-execstack.h".
48973 (main): Revert last change.
48974 (handle_file): Return zero if GNU_STACK is absent and
48975 DEFAULT_STACK_PERMS doesn't include PF_X.
48976
451f001b
UD
489772011-01-13 Ulrich Drepper <drepper@gmail.com>
48978
cfa28e56
UD
48979 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48980 in child fails because the descriptor is already closed.
8cf8ce17
UD
48981 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48982 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48983 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 48984
1086d70d
UD
48985 [BZ #12397]
48986 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48987 syscall.
48988
451f001b
UD
48989 [BZ #10484]
48990 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48991 temporary buffer used to handle multi lookups locally.
a85b5cb4 48992 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 48993
08769175
UD
489942011-01-12 Ulrich Drepper <drepper@gmail.com>
48995
48996 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48997 loader is ld.so.
48998
5e49c52e
UD
489992011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
49000
49001 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49002 alignment for SSE2.
49003
60522a5f
UD
490042011-01-12 Ulrich Drepper <drepper@gmail.com>
49005
49006 [BZ #12394]
49007 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49008 characters. When rounding increased number of integer digits recompute
49009 number of groups.
49010 * stdio-common/tst-grouping.c: New file.
49011 * stdio-common/Makefile: Add rules to build and run tst-grouping.
49012
f257bbd7
UD
490132011-01-09 Ulrich Drepper <drepper@gmail.com>
49014
49015 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49016 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
49017
49018 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49019 void.
49020 * bits/select.h: Likewise.
49021
fa9c15cb
UD
490222011-01-08 Ulrich Drepper <drepper@gmail.com>
49023
49024 * po/ja.po: Update from translation team.
49025
16c2895f
DM
490262011-01-04 David S. Miller <davem@sunset.davemloft.net>
49027
49028 [BZ #11155]
49029 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49030 implementation just like for lxstat, fxstatat, et al.
49031
2543fef2
JM
490322010-12-27 Jim Meyering <meyering@redhat.com>
49033
49034 [BZ #12348]
49035 * posix/regexec.c (build_trtable): Return failure indication upon
49036 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49037
98727dbe
UD
490382010-12-25 Ulrich Drepper <drepper@gmail.com>
49039
5bd6dc5c
UD
49040 [BZ #12201]
49041 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49042 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49043 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49044 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49045
97983464
UD
49046 [BZ #12207]
49047 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49048
98727dbe
UD
49049 [BZ #12204]
49050 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49051 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49052
4a531bb0
L
490532010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49054
49055 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49056 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49057 script has SORT_BY_INIT_PRIORITY.
49058 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49059 NO_CTORS_DTORS_SECTIONS is defined.
49060 * elf/soinit.c: Likewise.
49061 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49062 NO_CTORS_DTORS_SECTIONS is defined.
49063 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49064 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49065 * sysdeps/sh/init-first.c: Likewise.
49066 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49067
07eb4b71
UD
490682010-12-24 Ulrich Drepper <drepper@gmail.com>
49069
49070 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49071 always use the slow path.
49072
30950a5f
RA
490732010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49074
49075 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49076 similar rule which adds the sysdep directories to the header search in
49077 order to pick up the correct platform stackinfo.h.
49078 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49079 perform test if it is, otherwise return successfully without testing.
49080 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49081 DEFAULT_STACK_PERMS define in stackinfo.h.
49082 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49083 defined in stackinfo.h.
49084 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49085 DEFAULT_STACK_PERMS defined in stackinfo.h.
49086 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49087 * sysdeps/ia64/stackinfo.h: Likewise.
49088 * sysdeps/s390/stackinfo.h: Likewise.
49089 * sysdeps/sh/stackinfo.h: Likewise.
49090 * sysdeps/sparc/stackinfo.h: Likewise.
49091 * sysdeps/x86_64/stackinfo.h: Likewise.
49092 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49093 PF_X for powerpc64. Retain PF_X for powerpc32.
49094
db753e2c
UD
490952010-12-19 Ulrich Drepper <drepper@gmail.com>
49096
14b697f7
UD
49097 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49098 accurately.
db753e2c
UD
49099 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49100 GETDENTS_64BIT_ALIGNED.
49101
28300719
UD
491022010-12-14 Ulrich Drepper <dreper@gmail.com>
49103
14b697f7 49104 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 49105
4f197237
AS
491062010-12-10 Andreas Schwab <schwab@redhat.com>
49107
dbb0472f
AS
49108 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49109 _GNU_SOURCE.
49110
4f197237
AS
49111 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49112 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49113 Remove __restrict.
49114 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49115 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49116
fb88ac72
UD
491172010-12-09 Ulrich Drepper <drepper@gmail.com>
49118
49119 [BZ #11655]
49120 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49121 are initialized.
49122
42acbb92
JJ
491232010-12-09 Jakub Jelinek <jakub@redhat.com>
49124
49125 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49126
c038d98d
UD
491272010-12-03 Ulrich Drepper <drepper@gmail.com>
49128
49129 * po/it.po: Update from translation team.
49130
3a4a2499
L
491312010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49132
49133 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49134 unused codes.
49135
1e24cf6e
UD
491362010-11-30 Ulrich Drepper <drepper@gmail.com>
49137
49138 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49139
a7690819
AS
491402010-11-24 Andreas Schwab <schwab@redhat.com>
49141
49142 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49143 specially.
49144 (gaih_getanswer_slice): Likewise.
49145
3bf8d1b1
JJ
491462010-10-20 Jakub Jelinek <jakub@redhat.com>
49147
49148 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49149
6db52fbb
PB
491502010-05-31 Petr Baudis <pasky@suse.cz>
49151
49152 [BZ #11149]
49153 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49154 silently even in the chroot mode.
49155
eaca7569
UD
491562010-11-22 Ulrich Drepper <drepper@gmail.com>
49157
49158 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49159 last patch a bit. Pretty printing
49160
3056dcdb
UD
491612010-05-31 Petr Baudis <pasky@suse.cz>
49162
49163 [BZ #10085]
49164 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49165 initialization of skip_initgroups_dyn.
49166
cf7c9078
UD
491672010-11-19 Ulrich Drepper <drepper@gmail.com>
49168
49169 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49170 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49171
a1fb5e3e
UD
491722010-11-16 Ulrich Drepper <drepper@gmail.com>
49173
49174 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49175
3540d66b
AS
491762010-11-11 Andreas Schwab <schwab@redhat.com>
49177
49178 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49179 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49180 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49181 ($(objpfx)tst-fnmatch-mem): New rule.
49182 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49183 * posix/tst-fnmatch.c (main): Call mtrace.
49184
13b69574
L
491852010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49186
49187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49188 Support Intel processor model 6 and model 0x2c.
49189
da93d214
LM
491902010-11-10 Luis Machado <luisgpm@br.ibm.com>
49191
49192 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49193 signed comparison.
49194
8ca52c6e
L
491952010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49196
49197 [BZ #12205]
49198 * string/test-strncasecmp.c (check_result): New function.
49199 (do_one_test): Use it.
49200 (check1): New function.
49201 (test_main): Use it.
49202 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49203 Support strcasecmp and strncasecmp.
49204
69da074d
UD
492052010-11-08 Ulrich Drepper <drepper@gmail.com>
49206
49207 [BZ #12194]
49208 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49209 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49210
ff02d528
L
492112010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49212
49213 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49214 IFUNC support.
49215 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49216 memset-x86-64.
49217 * sysdeps/x86_64/multiarch/bzero.S: New file.
49218 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49219 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49220 * sysdeps/x86_64/multiarch/memset.S: New file.
49221 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49223 Set bit_Prefer_SSE_for_memop for Intel processors.
49224 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49225 Define.
49226 (index_Prefer_SSE_for_memop): Define.
49227 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49228
344d0b54
LM
492292010-11-04 Luis Machado <luisgpm@br.ibm.com>
49230
49231 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49232 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49233
c0dde15b
UD
492342010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49235
49236 [BZ #12191]
49237 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49238 (__x86_64_raw_data_cache_size_half): Likewise.
49239 (__x86_64_raw_shared_cache_size): Likewise.
49240 (__x86_64_raw_shared_cache_size_half): Likewise.
49241
49242 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49243 (__x86_64_raw_data_cache_size_half): Likewise.
49244 (__x86_64_raw_shared_cache_size): Likewise.
49245 (__x86_64_raw_shared_cache_size_half): Likewise.
49246 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49247 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49248 and __x86_64_raw_shared_cache_size_half. Round
49249 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49250 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49251 to multiple of 256 bytes.
49252
0e516e0e
MS
492532010-11-03 Ulrich Drepper <drepper@gmail.com>
49254
49255 [BZ #12167]
49256 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49257 of inacessible symlinks. Verify result of symlink before returning it.
49258 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49259 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49260
0e012e87
ER
492612010-10-28 Erich Ritz <erichritz@gmail.com>
49262
49263 * math/math.h (isinf): Fix typo in comment.
49264
de0ff7bc
UD
492652010-11-01 Ulrich Drepper <drepper@gmail.com>
49266
49267 * po/da.po: Update from translation team.
49268
fa41c84d
UD
492692010-10-26 Ulrich Drepper <drepper@gmail.com>
49270
49271 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49272 is added to the list.
49273
f0967738
AK
492742010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49275 Ulrich Drepper <drepper@gmail.com>
49276
49277 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49278 the global list here. Move code to...
49279 (_dl_add_to_namespace_list): ...here. New function.
49280 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49281 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49282 * elf/dl-load.c (lose): Don't remove the element from the list.
49283 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49284 (_dl_map_object): Likewise.
49285
492862010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
49287
49288 [BZ #12159]
49289 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49290 into all bytes of SSE register.
49291 Patch by Richard Li <richardpku@gmail.com>.
49292
f0967738 492932010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
49294
49295 [BZ #12140]
49296 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49297 perturbing.
49298
d0b9e94f
MB
492992010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49300
49301 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49302 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49303 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49304 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49306 submachine.
49307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49308
8e9f92e9
AS
493092010-10-22 Andreas Schwab <schwab@redhat.com>
49310
49311 * include/dlfcn.h (__RTLD_SECURE): Define.
49312 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49313 mode & __RTLD_SECURE instead.
49314 (open_path): Rename preloaded parameter to secure.
49315 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49316 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49317 * elf/dl-deps.c (openaux): Likewise.
49318 * elf/rtld.c (struct map_args): Remove is_preloaded.
49319 (map_doit): Don't use it.
49320 (dl_main): Likewise.
49321 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49322 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49323
bc96fbda
AS
493242010-09-09 Andreas Schwab <schwab@redhat.com>
49325
49326 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49327 (sysd-rules-targets): Remove duplicates.
49328 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49329 rtld-%.$o dependency.
49330
22cd1c9b
AS
493312010-10-18 Andreas Schwab <schwab@redhat.com>
49332
49333 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49334 _dl_map_object do it.
49335
18edac48
UD
493362010-10-19 Ulrich Drepper <drepper@gmail.com>
49337
49338 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49339 fast fma builtins, define the macros in the C99 standard.
49340 (FP_FAST_FMAF): Likewise.
49341 (FP_FAST_FMAL): Likewise.
49342 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49343
49344 * bits/mathdef.h: Update copyright year.
49345 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49346
d2050124
MM
493472010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49348
49349 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49350 builtins, define the macros in the C99 standard.
49351 (FP_FAST_FMAF): Likewise.
49352 (FP_FAST_FMAL): Likewise.
49353 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49354 multiply/add.
49355 (FP_FAST_FMAF): Likewise.
49356
475facd1
JJ
493572010-10-15 Jakub Jelinek <jakub@redhat.com>
49358
49359 [BZ #3268]
49360 * math/libm-test.inc (fma_test): Some new testcases.
49361 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49362 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49363 y and infinite z. Do multiplication by C already in long double.
49364 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49366 y and infinite z. Do bitwise or of inexact bit into u.d.
49367 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49368 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49369 * sysdeps/i386/fpu/s_fma.S: Removed.
49370 * sysdeps/i386/fpu/s_fmal.S: Removed.
49371
7c08a05c
JJ
493722010-10-16 Jakub Jelinek <jakub@redhat.com>
49373
49374 [BZ #3268]
49375 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49376 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49377 computation is not scheduled after fetestexcept. Fix value
49378 of minimum denormal long double.
49379
f3f7372d
JJ
493802010-10-14 Jakub Jelinek <jakub@redhat.com>
49381
49382 [BZ #3268]
49383 * math/libm-test.inc (fma_test): Add some more tests.
49384 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49385 correctly.
49386
14d43591
AS
493872010-10-15 Andreas Schwab <schwab@redhat.com>
49388
49389 * scripts/data/localplt-s390-linux-gnu.data: New file.
49390 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49391
5e908464
JJ
493922010-10-13 Jakub Jelinek <jakub@redhat.com>
49393
49394 [BZ #3268]
49395 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49396 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49397 instead of dbl-64.
49398 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49399 inlines.
49400 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49401 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49402 if one of x and y is very large and the other is subnormal.
49403 * sysdeps/s390/fpu/s_fmaf.c: New file.
49404 * sysdeps/s390/fpu/s_fma.c: New file.
49405 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49406 * sysdeps/powerpc/fpu/s_fma.S: New file.
49407 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49408 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49409 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49410
494112010-10-12 Jakub Jelinek <jakub@redhat.com>
49412
49413 [BZ #3268]
49414 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49415 fma tests.
49416 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49417 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49418 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49419 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49420 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49421 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49422 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49423
b833d51f
UD
494242010-10-12 Ulrich Drepper <drepper@redhat.com>
49425
49426 [BZ #12078]
49427 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49428 * posix/bug-regex31.input: Add test case.
49429
1751705d
UD
494302010-10-11 Ulrich Drepper <drepper@gmail.com>
49431
e9b9cbf5
UD
49432 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49433 * posix/bug-regex31.input: New file.
49434
49435 [BZ #12078]
49436 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49437 (parse_sub_exp): Fix last change, use postorder.
49438
ef06edbe
UD
49439 * posix/bug-regex31.c: New file.
49440 * posix/Makefile: Add rules to build and run bug-regex31.
49441
a129c80d
UD
49442 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49443
49444 [BZ #12078]
49445 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49446
b76b818e
UD
49447 [BZ #12108]
49448 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49449 to have entries in sys_siglist.
49450
1751705d
UD
49451 [BZ #12093]
49452 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49453 be NULL.
49454
9ff8d36f
JJ
494552010-10-07 Jakub Jelinek <jakub@redhat.com>
49456
49457 [BZ #3268]
49458 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49459 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49460 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49461 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49462 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49463 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49464 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49465 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49466 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49467 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49468 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49469 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49470 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49471 * math/ftestexcept.c (fetestexcept): Likewise.
49472 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49473 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49474 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49475 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49476 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49477 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49478 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49479
af325969
UD
494802010-10-11 Ulrich Drepper <drepper@gmail.com>
49481
c579b202 49482 [BZ #12107]
af325969
UD
49483 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49484 newline.
49485
67a67b95
UD
494862010-10-06 Ulrich Drepper <drepper@gmail.com>
49487
49488 * string/bug-strstr1.c: New file.
49489 * string/Makefile: Add rules to build and run bug-strstr1.
49490
5fb308bc
EB
494912010-10-05 Eric Blake <eblake@redhat.com>
49492
49493 [BZ #12092]
49494 * string/str-two-way.h (two_way_long_needle): Always clear memory
49495 when skipping input due to the shift table.
49496
45db99c7
UD
494972010-10-03 Ulrich Drepper <drepper@gmail.com>
49498
3b111893
UD
49499 [BZ #12005]
49500 * malloc/mcheck.c: Handle large requests.
49501
45db99c7
UD
49502 [BZ #12077]
49503 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49504 for strncmp and strncasecmp.
49505 * string/stratcliff.c: Add tests for strcmp and strncmp.
49506 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49507
cf7a1eb8
NI
495082010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49509
49510 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49511 __set_fpscr.
49512
6484ba5e
AJ
495132010-09-30 Andreas Jaeger <aj@suse.de>
49514
49515 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49516 (CGROUP_SUPER_MAGIC): Define.
49517 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49518 Handle btrfs and cgroup file systems.
49519 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49520 Likewise.
49521
91c42559
LM
495222010-09-27 Luis Machado <luisgpm@br.ibm.com>
49523
49524 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49525 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49526
87a97932
AK
495272010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49528
49529 [BZ #12067]
49530 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49531 trying to locate the ELF header.
49532
c21cc9bc
AS
495332010-09-27 Andreas Schwab <schwab@redhat.com>
49534
49535 [BZ #11611]
49536 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49537 Mask out sign-bit copies when constructing f_fsid.
49538
315970f6
PB
495392010-09-24 Petr Baudis <pasky@suse.cz>
49540
49541 * debug/stack_chk_fail_local.c: Add missing licence exception.
49542 * debug/warning-nop.c: Likewise.
49543
1ac7a2c7
JM
495442010-09-15 Joseph Myers <joseph@codesourcery.com>
49545
49546 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49547 implementing getdents64 using getdents syscall, set d_type if
49548 __ASSUME_GETDENTS32_D_TYPE.
49549
56801c50
AS
495502010-09-16 Andreas Schwab <schwab@redhat.com>
49551
49552 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49553 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49554
dda51327
UD
495552010-09-21 Ulrich Drepper <drepper@redhat.com>
49556
49557 [BZ #12037]
49558 * posix/unistd.h: Undo change of feature selection for ftruncate from
49559 2010-01-11.
49560
8ffcee4a
UD
495612010-09-20 Ulrich Drepper <drepper@redhat.com>
49562
a545ecd9 49563 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
49564 detection.
49565
e24f0a8b
AS
495662010-09-20 Andreas Schwab <schwab@redhat.com>
49567
49568 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49569 fanotify_mark.
49570 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49571
7291c56f
AS
495722010-09-14 Andreas Schwab <schwab@redhat.com>
49573
49574 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49575 variables after CHECK_SP call.
49576 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49577
bc5fb037
AS
495782010-09-13 Andreas Schwab <schwab@redhat.com>
49579 Ulrich Drepper <drepper@redhat.com>
49580
49581 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49582 re-relocationg ld.so.
49583 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49584 _dl_init_paths call.
49585 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49586 here anymore.
49587
e66e7419
UD
495882010-09-14 Ulrich Drepper <drepper@redhat.com>
49589
49590 * resolv/res_init.c (__res_vinit): Count the default server we added.
49591
c044aa75
CLT
495922010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49593 Ulrich Drepper <drepper@redhat.com>
49594
49595 [BZ #11968]
49596 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49597 (____longjmp_chk): Use %ebx for saving value across system call.
49598 Add unwind info.
49599
32cf4069
AS
496002010-09-06 Andreas Schwab <schwab@redhat.com>
49601
49602 * manual/Makefile: Don't mix pattern rules with normal rules.
49603
817328ee
AS
496042010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49605
49606 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49607 operation.
49608 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49609 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49610 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49611 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49612 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49613 Likewise.
49614
29fddf61
UD
496152010-09-04 Ulrich Drepper <drepper@redhat.com>
49616
49617 [BZ #11979]
49618 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49619 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49620
0959ffc9
UD
496212010-09-02 Ulrich Drepper <drepper@redhat.com>
49622
49623 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49624 * sysdeps/x86_64/addmul_1.S: Likewise.
49625 * sysdeps/x86_64/lshift.S: Likewise.
49626 * sysdeps/x86_64/mul_1.S: Likewise.
49627 * sysdeps/x86_64/rshift.S: Likewise.
49628 * sysdeps/x86_64/sub_n.S: Likewise.
49629 * sysdeps/x86_64/submul_1.S: Likewise.
49630
ece29840
ST
496312010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49632
0959ffc9
UD
49633 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49634 Define __sched_param instead of SCHED_* and sched_param when
ece29840 49635 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 49636 * bits/sched.h [__need_schedparam]
ece29840 49637 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
49638 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49639 (__defined_schedparam): Define to 1.
ece29840
ST
49640 (__sched_param): New structure, identical to sched_param.
49641 (__need_schedparam): Undefine.
49642
e53a31fe
MF
496432010-08-31 Mike Frysinger <vapier@gentoo.org>
49644
fdc0c10d
MF
49645 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49646 (epoll_create1): Declare.
49647
e53a31fe
MF
49648 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49649
a726d796
AS
496502010-08-31 Andreas Schwab <schwab@redhat.com>
49651
49652 [BZ #7066]
49653 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49654 shifting retval into place.
49655
2f3e3dc7
UD
496562010-09-01 Ulrich Drepper <drepper@redhat.com>
49657
f2933da9
UD
49658 * nis/rpcsvc/nis.h: Update copyright notice.
49659 * nis/rpcsvc/nis.x: Likewise.
49660 * nis/rpcsvc/nis_callback.h: Likewise.
49661 * nis/rpcsvc/nis_callback.x: Likewise.
49662 * nis/rpcsvc/nis_object.x: Likewise.
49663 * nis/rpcsvc/nis_tags.h: Likewise.
49664 * nis/rpcsvc/yp.h: Likewise.
49665 * nis/rpcsvc/yp.x: Likewise.
49666 * nis/rpcsvc/ypupd.h: Likewise.
49667 * nis/yp_xdr.c: Likewise.
49668 * nis/ypupdate_xdr.c: Likewise.
49669
2f3e3dc7
UD
49670 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49671 mainly the body of pmap_getport. Add parameters to specify timeouts.
49672 (pmap_getport): Use __libc_rpc_getport.
49673 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49674 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49675 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49676
f3dcc2f9
AS
496772010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49678
49679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49680 fanotify_mark.
49681
6d34eb5b
RM
496822010-08-27 Roland McGrath <roland@redhat.com>
49683
49684 * sysdeps/i386/i686/multiarch/Makefile
49685 (CFLAGS-varshift.c): New variable.
49686
9ea3de11
UD
496872010-08-27 Ulrich Drepper <drepper@redhat.com>
49688
c96d23fc
UD
49689 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49690 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49691
9ea3de11
UD
49692 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49693
49694 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49695
623aac7f
L
496962010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49697
49698 * sysdeps/x86_64/strlen.S: Unroll the loop.
49699 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49700 strlen-sse2 strlen-sse2-bsf.
49701 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49702 __strlen_no_bsf if bit_Slow_BSF is set.
49703 (__strlen_sse42): Removed.
49704 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49705 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49706
8b2b7715
RM
497072010-08-25 Roland McGrath <roland@redhat.com>
49708
49709 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49710 * sysdeps/x86_64/multiarch/varshift.c: New file.
49711 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49712 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49713 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49714 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49715
e73015f2
L
497162010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49717
49718 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49719 strlen-sse2 strlen-sse2-bsf.
49720 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49721 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49722 (__strlen_sse2): Removed.
49723 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49724 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49726 bit_Slow_BSF for Atom.
49727 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49728 (index_Slow_BSF): Define.
49729 (HAS_SLOW_BSF): Define.
49730
df24a73e
UD
497312010-08-25 Ulrich Drepper <drepper@redhat.com>
49732
49733 [BZ #10851]
49734 * resolv/res_init.c (__res_vinit): When no server address at all
49735 is given default to loopback.
49736
f2ac4868
RM
497372010-08-24 Roland McGrath <roland@redhat.com>
49738
09055553
RM
49739 * configure.in: Remove config-name.h generation.
49740 * configure: Regenerated.
49741 * config-name.in: File removed.
49742 * scripts/config-uname.sh: New file.
49743 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49744 ($(objdir)config-name.h): New target.
49745
f2ac4868
RM
49746 * sunrpc/rpc_parse.h: Avoid nested comment.
49747
73f27d5e
RH
497482010-08-24 Richard Henderson <rth@redhat.com>
49749 Ulrich Drepper <drepper@redhat.com>
49750 H.J. Lu <hongjiu.lu@intel.com>
49751
49752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49753 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49754 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49755 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49756 _mm_alignr_epi8 with _mm_loadu_si128.
49757 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49758 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49759 (__m128i_shift_right): Removed.
49760 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49761 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49762 * sysdeps/x86_64/multiarch/varshift.h: New file.
49763 * sysdeps/x86_64/multiarch/varshift.S: New file.
49764
84b9230c
MF
497652010-08-21 Mike Frysinger <vapier@gentoo.org>
49766
49767 * configure.in: Move assembler checks to before sysdep dir checking.
49768
9bbd0ddc
PB
497692010-08-20 Petr Baudis <pasky@suse.cz>
49770
49771 * LICENSES: Sync the sunrpc license.
49772
9da4bb31
UD
497732010-08-19 Ulrich Drepper <drepper@redhat.com>
49774
a7ab6ec8
UD
49775 * sunrpc/auth_des.c: Update copyright notice once again.
49776 * sunrpc/auth_none.c: Likewise.
49777 * sunrpc/auth_unix.c: Likewise.
49778 * sunrpc/authdes_prot.c: Likewise.
49779 * sunrpc/authuxprot.c: Likewise.
49780 * sunrpc/bindrsvprt.c: Likewise.
49781 * sunrpc/clnt_gen.c: Likewise.
49782 * sunrpc/clnt_perr.c: Likewise.
49783 * sunrpc/clnt_raw.c: Likewise.
49784 * sunrpc/clnt_simp.c: Likewise.
49785 * sunrpc/clnt_tcp.c: Likewise.
49786 * sunrpc/clnt_udp.c: Likewise.
49787 * sunrpc/clnt_unix.c: Likewise.
49788 * sunrpc/des_crypt.c: Likewise.
49789 * sunrpc/des_soft.c: Likewise.
49790 * sunrpc/get_myaddr.c: Likewise.
49791 * sunrpc/getrpcport.c: Likewise.
49792 * sunrpc/key_call.c: Likewise.
49793 * sunrpc/key_prot.c: Likewise.
49794 * sunrpc/openchild.c: Likewise.
49795 * sunrpc/pm_getmaps.c: Likewise.
49796 * sunrpc/pm_getport.c: Likewise.
49797 * sunrpc/pmap_clnt.c: Likewise.
49798 * sunrpc/pmap_prot.c: Likewise.
49799 * sunrpc/pmap_prot2.c: Likewise.
49800 * sunrpc/pmap_rmt.c: Likewise.
49801 * sunrpc/rpc/auth.h: Likewise.
49802 * sunrpc/rpc/auth_unix.h: Likewise.
49803 * sunrpc/rpc/clnt.h: Likewise.
49804 * sunrpc/rpc/des_crypt.h: Likewise.
49805 * sunrpc/rpc/key_prot.h: Likewise.
49806 * sunrpc/rpc/netdb.h: Likewise.
49807 * sunrpc/rpc/pmap_clnt.h: Likewise.
49808 * sunrpc/rpc/pmap_prot.h: Likewise.
49809 * sunrpc/rpc/pmap_rmt.h: Likewise.
49810 * sunrpc/rpc/rpc.h: Likewise.
49811 * sunrpc/rpc/rpc_des.h: Likewise.
49812 * sunrpc/rpc/rpc_msg.h: Likewise.
49813 * sunrpc/rpc/svc.h: Likewise.
49814 * sunrpc/rpc/svc_auth.h: Likewise.
49815 * sunrpc/rpc/types.h: Likewise.
49816 * sunrpc/rpc/xdr.h: Likewise.
49817 * sunrpc/rpc_clntout.c: Likewise.
49818 * sunrpc/rpc_cmsg.c: Likewise.
49819 * sunrpc/rpc_common.c: Likewise.
49820 * sunrpc/rpc_cout.c: Likewise.
49821 * sunrpc/rpc_dtable.c: Likewise.
49822 * sunrpc/rpc_hout.c: Likewise.
49823 * sunrpc/rpc_main.c: Likewise.
49824 * sunrpc/rpc_parse.c: Likewise.
49825 * sunrpc/rpc_parse.h: Likewise.
49826 * sunrpc/rpc_prot.c: Likewise.
49827 * sunrpc/rpc_sample.c: Likewise.
49828 * sunrpc/rpc_scan.c: Likewise.
49829 * sunrpc/rpc_scan.h: Likewise.
49830 * sunrpc/rpc_svcout.c: Likewise.
49831 * sunrpc/rpc_tblout.c: Likewise.
49832 * sunrpc/rpc_util.c: Likewise.
49833 * sunrpc/rpc_util.h: Likewise.
49834 * sunrpc/rpcinfo.c: Likewise.
49835 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49836 * sunrpc/rpcsvc/key_prot.x: Likewise.
49837 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49838 * sunrpc/rpcsvc/mount.x: Likewise.
49839 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49840 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49841 * sunrpc/rpcsvc/rex.x: Likewise.
49842 * sunrpc/rpcsvc/rstat.x: Likewise.
49843 * sunrpc/rpcsvc/rusers.x: Likewise.
49844 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49845 * sunrpc/rpcsvc/spray.x: Likewise.
49846 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49847 * sunrpc/rtime.c: Likewise.
49848 * sunrpc/svc.c: Likewise.
49849 * sunrpc/svc_auth.c: Likewise.
49850 * sunrpc/svc_authux.c: Likewise.
49851 * sunrpc/svc_raw.c: Likewise.
49852 * sunrpc/svc_run.c: Likewise.
49853 * sunrpc/svc_simple.c: Likewise.
49854 * sunrpc/svc_tcp.c: Likewise.
49855 * sunrpc/svc_udp.c: Likewise.
49856 * sunrpc/svc_unix.c: Likewise.
49857 * sunrpc/svcauth_des.c: Likewise.
49858 * sunrpc/xcrypt.c: Likewise.
49859 * sunrpc/xdr.c: Likewise.
49860 * sunrpc/xdr_array.c: Likewise.
49861 * sunrpc/xdr_float.c: Likewise.
49862 * sunrpc/xdr_mem.c: Likewise.
49863 * sunrpc/xdr_rec.c: Likewise.
49864 * sunrpc/xdr_ref.c: Likewise.
49865 * sunrpc/xdr_sizeof.c: Likewise.
49866 * sunrpc/xdr_stdio.c: Likewise.
49867
9da4bb31
UD
49868 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49869 handling.
49870
bdaa77bc
AS
498712010-08-19 Andreas Schwab <schwab@redhat.com>
49872
49873 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49874
fe2f79db
LM
498752010-08-19 Luis Machado <luisgpm@br.ibm.com>
49876
49877 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49878 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49879 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49880 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49881 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49882 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49883 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49884 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49885 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49886 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49887 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49888 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49889 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49890 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49891
b9b42ee0
AB
498922010-07-26 Anton Blanchard <anton@samba.org>
49893
49894 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49895 * malloc/arena.c (heap_trim): Likewise.
49896
1c06ba31
UD
498972010-08-16 Ulrich Drepper <drepper@redhat.com>
49898
49899 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49900 here. Not...
49901 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49902 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49903
f8392f40
L
499042010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49905
49906 * sysdeps/i386/elf/Makefile: New file.
49907
3162f12e
AS
499082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49909
49910 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49911 from fanotify_init.
49912 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49913 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49914
28c90b2c
UD
499152010-08-15 Ulrich Drepper <drepper@redhat.com>
49916
49917 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49918 of strncasecmp_l.
1feccb6c 49919 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 49920
ca6bb004
UD
499212010-08-14 Ulrich Drepper <drepper@redhat.com>
49922
e9f82e0d
UD
49923 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49924 strncase_l-nonascii.
49925 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49926 Add strncase_l-ssse3.
49927 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49928 * sysdeps/x86_64/strcmp.S: Likewise.
49929 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49930 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49931 * sysdeps/x86_64/strncase.S: New file.
49932 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49933 * sysdeps/x86_64/strncase_l.S: New file.
49934 * string/Makefile (strop-tests): Add strncasecmp.
49935 * string/test-strncasecmp.c: New file.
49936
49937 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49938 warning.
49939
ca6bb004
UD
49940 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49941 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49942
052fa7b3
AS
499432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49944
49945 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49946
962dba78
UD
499472010-08-12 Ulrich Drepper <drepper@redhat.com>
49948
49949 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49950 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49951 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49952
bebff237
AM
499532010-05-01 Alan Modra <amodra@gmail.com>
49954
49955 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49956 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49957 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49958 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49959 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49960 tidying. Don't tail-call __sigjmp_save for static lib.
49961 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49962 save location.
49963 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49964 (CALL_MCOUNT): Add eh info, and nop after bl.
49965 (TAIL_CALL_SYSCALL_ERROR): New macro.
49966 (PSEUDO_RET): Use it.
49967 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49968 Correct save location of integer regs and cr.
49969 (_dl_profile_resolve): Correct cr save location. Delete nops
49970 after bl when SHARED. Reduce cfi size a little by better
49971 placement of cfi directives.
49972 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49973 make a stack frame. Instead use parm save area as a temp.
49974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49975 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49977 Don't make a stack frame for parent, use parm save area.
49978 Increase child stack frame to 112 bytes. Don't save unused reg,
49979 and adjust reg usage. Set up cfi on error recovery and
49980 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49982 (__makecontext): Add dummy nop after jump to exit.
49983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49984 Use correct parm save area and cr save, reduce stack frame.
49985 Correct cfi for possible PSEUDO_RET frame setup.
49986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49987 Branch to local label emitted by PSEUDO_RET rather than
49988 __syscall_error.
49989
02637374
AS
499902010-08-12 Andreas Schwab <schwab@redhat.com>
49991
49992 [BZ #11904]
49993 * locale/programs/locale.c (print_assignment): New function.
49994 (show_locale_vars): Use it.
49995
c3e2f19b
UD
499962010-08-11 Ulrich Drepper <drepper@redhat.com>
49997
3cdaa6ad
UD
49998 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49999 field.
50000 (struct statfs64): Likewise.
50001 (_STATFS_F_FLAGS): Define.
50002 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50003 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50004 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50005 (ST_VALID): Define locally.
50006 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50007 __statvfs_getflags, use the provided value.
50008 * sysdeps/unix/sysv/linux/kernel-features.h: Define
50009 __ASSUME_STATFS_F_FLAGS.
50010
754f7da3
UD
50011 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50012
10b3bedc
UD
50013 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50014 Add sys/fanotify.h.
50015 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50016 fanotify_mask for GLIBC_2.13.
50017 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50018 fanotify_init and fanotify_mark.
50019 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50020 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50021
c08fb0d7
UD
50022 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50023 Add prlimit.
50024 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50025 prlimit64 for GLIBC_2.13.
50026 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50027 prlimit64.
50028 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50029 syscall.
50030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50031 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50032 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50033 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50034 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50035 add prlimit alias.
50036 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50037
15bac72b
UD
50038 [BZ #11903]
50039 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50040 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50041
c3e2f19b
UD
50042 * nss/Makefile: Add rules to build and run tst-nss-test1.
50043 * shlib-versions: Add entry for libnss_test1.
50044 * nss/nss_test1.c: New file.
50045 * nss/tst-nss-test1.c: New file.
50046
50047 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50048 (__nss_configure_lookup): Set appropriate entry in
50049 __nss_configure_lookup to true.
50050 * nss/nsswitch.h: Define enum with indeces of databases in
50051 databases and __nss_database_custom arrays. Declare
50052 __nss_database_custom.
50053 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50054 to avoid using nscd when custom rules are installed.
50055 * nss/getXXbyYY_r.c: Likewise.
50056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50057
50058 * nss/nss_files/files-parse.c: Whitespace fixes.
50059
f15ce4d8
UD
500602010-08-09 Ulrich Drepper <drepper@redhat.com>
50061
50062 [BZ #11883]
50063 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50064 * posix/fnmatch_loop.c: Likewise.
50065
d22e4cc9
AK
500662010-07-17 Andi Kleen <ak@linux.intel.com>
50067
50068 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50069 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50070 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50071 * Versions.def [GLIBC_2.13]: Add.
50072
805bc17d
UD
500732010-08-06 Ulrich Drepper <drepper@redhat.com>
50074
50075 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50076 Also fail if tpwd after pwuid call is NULL.
50077
5a42321d
ST
500782010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50079
50080 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50081 when converting to ms.
50082
fd3ebeda
ST
500832010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50084
50085 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50086 EOPNOTSUPP errors with ENOTTY.
50087 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50088 EOPNOTSUPP errors with ENOTTY.
50089
73507d3a
UD
500902010-07-31 Ulrich Drepper <drepper@redhat.com>
50091
50092 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50093 Add strcasecmp_l-ssse3.
50094 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50095 strcasecmp.
50096 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50097 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50098 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50099
fe36dd02
UD
501002010-07-30 Ulrich Drepper <drepper@redhat.com>
50101
66f6765a
UD
50102 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50103
42e08a54
UD
50104 * string/Makefile (strop-tests): Add strcasecmp.
50105 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50106 strcasecmp_l-nonascii.
50107 (gen-as-const-headers): Add locale-defines.sym.
50108 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50109 * sysdeps/x86_64/strcasecmp.S: New file.
50110 * sysdeps/x86_64/strcasecmp_l.S: New file.
50111 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50112 * sysdeps/x86_64/locale-defines.sym: New file.
50113 * string/test-strcasecmp.c: New file.
50114
fe36dd02
UD
50115 * string/test-strcasestr.c: Test both ends of the range of characters.
50116 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50117
48cbc0d6
RM
501182010-07-29 Roland McGrath <roland@redhat.com>
50119
76e6d6bc 50120 [BZ #11856]
48cbc0d6
RM
50121 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50122
880113d9
UD
501232010-07-27 Ulrich Drepper <drepper@redhat.com>
50124
50125 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50126 for ld.so.
50127
deb9cabb
AS
501282010-07-27 Andreas Schwab <schwab@redhat.com>
50129
50130 * manual/memory.texi (Malloc Tunable Parameters): Document
50131 M_PERTURB.
50132
1c7570ff
RM
501332010-07-26 Roland McGrath <roland@redhat.com>
50134
50135 [BZ #11840]
50136 * configure.in (-fgnu89-inline check): Set and substitute
50137 gnu89_inline, not libc_cv_gnu89_inline.
50138 * configure: Regenerated.
50139 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50140
24fb0f88
UD
501412010-07-26 Ulrich Drepper <drepper@redhat.com>
50142
50143 * string/test-strnlen.c: New file.
50144 * string/Makefile (strop-tests): Add strnlen.
50145 * string/tester.c (test_strnlen): Add a few more test cases.
50146 * string/tst-strlen.c: Better error reporting.
50147
50148 * sysdeps/x86_64/strnlen.S: New file.
50149
8e96b93a
UD
501502010-07-24 Ulrich Drepper <drepper@redhat.com>
50151
50152 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50153 lower-latency instructions.
50154
dbc676d4
UD
501552010-07-23 Ulrich Drepper <drepper@redhat.com>
50156
50157 * string/test-strcasestr.c: New file.
50158 * string/test-strstr.c: New file.
50159 * string/Makefile (strop-tests): Add strstr and strcasestr.
50160 * string/str-two-way.h: Don't undefine MAX.
50161 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50162
f6a31e0e
AS
501632010-07-21 Andreas Schwab <schwab@redhat.com>
50164
50165 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50166 strcasestr-nonascii.
50167 (CFLAGS-strcasestr-nonascii.c): Define.
50168 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50169 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50170 Remove unused attribute.
50171
5dbc3b6c
RM
501722010-07-20 Roland McGrath <roland@redhat.com>
50173
50174 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50175 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50176 ld.so.cache was broken. With it, there is no way to disable dsocaps
50177 like LD_HWCAP_MASK can disable hwcaps.
50178
23d101d8
EPM
501792010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50180
50181 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50182
cc9f2e47
UD
501832010-07-16 Ulrich Drepper <drepper@redhat.com>
50184
50185 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50186 call in strcasestr.
50187 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50188 __strcasestr_sse42_nonascii.
50189 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50190 strcasestr-nonascii.c.
50191 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50192
77c1b069
LM
501932010-06-15 Luis Machado <luisgpm@br.ibm.com>
50194
50195 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50196 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50197 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50198 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50199
440566c3
UD
502002010-07-09 Ulrich Drepper <drepper@redhat.com>
50201
50202 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50203 fcntl.
50204
5be9d05d
AS
502052010-07-06 Andreas Schwab <schwab@redhat.com>
50206
c30b7ee2 50207 [BZ #11577]
5be9d05d
AS
50208 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50209 dl_signal_cerror.
50210
8a492a67
UD
502112010-07-06 Ulrich Drepper <drepper@redhat.com>
50212
50213 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50214 _PC_PIPE_BUF using F_GETPIPE_SZ.
50215
713df3d5
RM
502162010-07-05 Roland McGrath <roland@redhat.com>
50217
50218 * manual/arith.texi (Rounding Functions): Fix rint description
50219 implicit in round description.
50220
702e8f14
UD
502212010-07-02 Ulrich Drepper <drepper@redhat.com>
50222
50223 * elf/Makefile: Fix linking for a few tests to make recent linker
50224 happy.
50225
52ed8be9
AS
502262010-06-30 Andreas Schwab <schwab@redhat.com>
50227
50228 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50229 $(common-objpfx)libc_nonshared.a.
50230
f47c9a11
LM
502312010-06-21 Luis Machado <luisgpm@br.ibm.com>
50232
50233 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50234 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50235 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50236 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50237 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50238 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50239 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50240 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50255 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50256 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50257 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50258 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50259 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50260 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50261 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50262 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50263 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50264 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50265 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50266 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50281
6fb8cbcb
L
502822010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50283
50284 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50285 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50286 * string/memmove.c (memmove): Renamed to ...
50287 (MEMMOVE): ...this. Default to memmove.
50288 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50289 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50290 (END_CHK): Define.
50291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50292 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50293 mempcpy-ssse3-back memmove-ssse3-back.
50294 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50295 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50296 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50297 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50298 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50299 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50300 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50301 * sysdeps/x86_64/multiarch/memmove.c: New file.
50302 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50303 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50304 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50305 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50306 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50307 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50308 Define.
50309 (index_Fast_Copy_Backward): Define.
50310 (HAS_ARCH_FEATURE): Define.
50311 (HAS_FAST_REP_STRING): Define.
50312 (HAS_FAST_COPY_BACKWARD): Define.
50313
4e733bac 503142010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
50315
50316 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50317 Restore proper fallback handling.
50318
63c4ed22
UD
503192010-06-19 Ulrich Drepper <drepper@redhat.com>
50320
ac2b484c
UD
50321 [BZ #11701]
50322 * posix/group_member.c (__group_member): Correct checking loop.
50323
63c4ed22
UD
50324 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50325 OOM in getpwuid_r correctly. Return error number when the caller
50326 should return, otherwise -1.
50327 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50328 call returning > 0 value.
50329 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50330
765ade4b
AS
503312010-06-07 Andreas Schwab <schwab@redhat.com>
50332
50333 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50334 libc_nonshared.a from targets in modules-names.
50335
80da2e09
KS
503362010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50337
50338 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50339 requires it.
50340
158db122
LM
503412010-06-10 Luis Machado <luisgpm@br.ibm.com>
50342
50343 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50344 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50345 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50346 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50347
caa78cf8
AS
503482010-06-02 Andreas Schwab <schwab@redhat.com>
50349
50350 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50351
b2ef2c01
UD
503522010-06-14 Ulrich Drepper <drepper@redhat.com>
50353
50354 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50355 and F_GETPIPE_SZ.
50356 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50357 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50358 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50359 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50360 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50361 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50362
fbd643b6
RM
503632010-06-14 Roland McGrath <roland@redhat.com>
50364
50365 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50366
f32f2869
JJ
503672010-06-07 Jakub Jelinek <jakub@redhat.com>
50368
50369 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50370 __REDIRECT followed by __THROW.
50371 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50372 * posix/getopt.h (getopt): Likewise.
50373
2a50c078
EPM
503742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50375
50376 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50377 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50378 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50379 in AT_FLAGS.
50380 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50381 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50382
eb5ad2eb
LM
503832010-05-28 Luis Machado <luisgpm@br.ibm.com>
50384
50385 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50386
3c88fe1e
L
503872010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50388
50389 [BZ #11640]
50390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50391 Properly check family and model.
50392
d2f73151
TY
503932010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50394
50395 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50396
ebd2e13d
LM
503972010-05-24 Luis Machado <luisgpm@br.ibm.com>
50398
50399 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50400
b32b8b45
UD
504012010-05-21 Ulrich Drepper <drepper@redhat.com>
50402
50403 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50404 symbol reference.
50405
9acbe24d
AS
504062010-05-19 Andreas Schwab <schwab@redhat.com>
50407
50408 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50409 symbol reference.
50410
f0ccf6ea
AS
504112010-05-21 Andreas Schwab <schwab@redhat.com>
50412
3d04ff3a
AS
50413 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50414 and internal_recvmmsg.
50415 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50416 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50417 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50418 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50419
f0ccf6ea
AS
50420 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50421 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50422 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50423
5b08ac57
AS
504242010-05-20 Andreas Schwab <schwab@redhat.com>
50425
50426 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50427
4828935d
LM
504282010-05-17 Luis Machado <luisgpm@br.ibm.com>
50429
50430 POWER7 optimizations.
50431 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50432 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50433
373d545e
UD
504342010-05-19 Ulrich Drepper <drepper@redhat.com>
50435
50436 * version.h: Update for 2.13 development version.
50437
21a2b1ae
AS
504382010-05-12 Andrew Stubbs <ams@codesourcery.com>
50439
50440 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50441 exceptions. Return 0.
50442
3f7dcb2b
RM
504432010-05-07 Roland McGrath <roland@redhat.com>
50444
50445 * elf/ldconfig.c (main): Add a const.
50446
5f24d53a 504472010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 50448
a160f8d8
UD
50449 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50450 (args_options): Add no-idn option.
50451 (ahosts_keys_int): Add idn_flags to ai_flags.
50452 (parse_option): Handle 'i' option to clear idn_flags.
50453
5f24d53a
UD
50454 * malloc/malloc.c (_int_free): Possible race in the most recently
50455 added check. Only act on the data if no current modification
50456 happened.
265bb1ce
UD
50457
50458See ChangeLog.17 for earlier changes.
This page took 7.159811 seconds and 5 git commands to generate.