]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Make __extern_always_inline usable on clang++ again
[thirdparty/glibc.git] / ChangeLog
CommitLineData
545583d6
SP
12014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2
602f80ec
SP
3 [BZ #17266]
4 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5 4.2 and newer.
6
545583d6
SP
7 [BZ #17370]
8 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
9
884ddc50
SP
102014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11 Jakub Jelinek <jakub@redhat.com>
12
13 [BZ #17266]
14 * libio/stdio.h: Check definition of __fortify_function
15 instead of __extern_always_inline to include bits/stdio2.h.
16 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
17 check if __extern_always_inline is defined.
18 [__USE_MISC || __USE_XOPEN]: Likewise.
19 [__USE_ISOC99] Likewise.
20 * misc/sys/cdefs.h (__fortify_function): Define only if
21 __extern_always_inline is defined.
22 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
23 __extern_always_inline and __extern_inline only for g++-4.3
24 and newer or a compatible gcc.
25
a7b87268
AS
262014-09-15 Andreas Schwab <schwab@linux-m68k.org>
27
28 [BZ #17371]
29 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30 last change to handle zero prefix length.
31
3f41521d
SP
322014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33
61fe374a
SP
34 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35 _SC_REGEX_VERSION.
36
3f41521d
SP
37 * posix/getconf.c (vars): Add _POSIX_IPV6 and
38 _POSIX_RAW_SOCKETS.
39
d8f879ee
AM
402014-09-13 Allan McRae <allan@archlinux.org>
41
42 * po/ru.po: Update Russian translation from translation project.
43
c079afb7
RM
442014-09-12 Roland McGrath <roland@hack.frob.com>
45
a62b3c15
RM
46 * locale/programs/locale.c (show_locale_vars): Inline local function
47 into its sole call site. Clean up some style nits.
48 (print_item): New function, broken out of ...
49 (show_info): ... local function here. Clean up style nits.
50
d7e49b19
RM
51 * locale/programs/ld-ctype.c (set_one_default): New function, broken
52 out of ...
53 (set_class_defaults): ... local function set_default here.
54 Define set_default as a macro locally to pass constant parameters.
55 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
56 rather than a shared local.
57
c079afb7
RM
58 * stdlib/rpmatch.c (try): New function, broken out of ...
59 (rpmatch): ... local function here. Also, prototypify definition.
60
0bd72468
JM
612014-09-12 Joseph Myers <joseph@codesourcery.com>
62
ba90e050
JM
63 * scripts/soversions.awk: Do not handle configuration names.
64 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
65 vendor and os variables to soversions.awk.
66 * configure.ac: Do not modify gnu-* host_os.
67 * configure: Regenerated
68 * shlib-versions: Remove first column with configuration names.
69 * nptl/shlib-versions: Likewise.
70 * nptl_db/shlib-versions: Likewise.
71 * sysdeps/hppa/shlib-versions: Likewise.
72 * sysdeps/m68k/shlib-versions: Likewise.
73 * sysdeps/mach/hurd/shlib-versions: Likewise.
74 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
75 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
76 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
77 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
78 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
79 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
80 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
81 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
82 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
83 Likewise.
84 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
85 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
86 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
87 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
88 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
89 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
90 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
91 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
92
73a39112
JM
93 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
94 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
95 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
96 Regenerated.
97 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
98 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
99 Condition symbol version definitions on [HAVE_ELFV2_ABI].
100
c729e7c1
JM
101 * shlib-versions: Remove OS-specific entries. Moved to files in
102 sysdeps.
103 * sysdeps/mach/hurd/shlib-versions: New file.
104 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
105
dc932a24
JM
106 * nptl/shlib-versions: Remove architecture-specific entries.
107 Moved to files in sysdeps.
108 * shlib-versions: Likewise.
109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
110 file.
111 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
112 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
113 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
114 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
115
0bd72468
JM
116 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
117 (UDP_NO_CHECK6_RX): Likewise.
118
920238e0
SP
1192014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
120
121 * sysdeps/posix/sysconf.c (__sysconf): Spell
122 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
123
ba7b4d29
FW
1242014-08-12 Florian Weimer <fweimer@redhat.com>
125
126 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
127 loading.
128 * iconv/Versions (__gconv_transliterate): Export for use from
129 gconv modules.
130 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
131 (struct __gconv_trans_data, __gconv_trans_fct,
132 __gconv_trans_context_fct, __gconv_trans_query_fct,
133 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
134 definitions.
135 (struct __gconv_step_data): Remove __trans member.
136 (__gconv_transliterate): Declaration moved from gconv_int.h. No
137 longer hidden. Remove unused trans_data argument.
138 * iconv/gconv_int.h (struct trans_struct): Remove definition.
139 (__gconv_translit_find): Remove declaration.
140 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
141 prototype.
142 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
143 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
144 trans_data argument. Add hidden definition.
145 (__gconv_translit_find): Remove.
146 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
147 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
148 * iconv/skeleton.c: Remove transliteration initialization.
149 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
150 __gconv_step_data initialization.
151 * libio/iofwide.c (__libio_translit_): Remove.
152 (_IO_fwide): Adjust struct __gconv_step_data initialization.
153 * wcsmbs/btowc.c (__btowc): Likewise.
154 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
155 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
156 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
157 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
158 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
159 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
160 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
161 * wcsmbs/wctob.c (wctob): Likewise.
162
5379aebd
SP
1632014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
164
165 [BZ #16194]
166 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
167 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
168 register usage.
169 * sysdeps/x86/Makefile: Adjust.
170
8c0ab919
RM
1712014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
172 Roland McGrath <roland@hack.frob.com>
173
174 * locale/weight.h: Add include guard.
175 (findidx): Make static rather than auto; take new parameters
176 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
177 * locale/weightwc.h: Likewise.
178 * posix/fnmatch_loop.c
179 (FCT): Change type of EXTRA from int32_t to wint_t.
180 Don't include either header inside the function.
181 Call FINDIDX rather than findidx, and pass new arguments.
182 #undef FINDIDX at the end of the file.
183 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
184 FINDIDX before including fnmatch_loop.c for the non-wide version.
185 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
186 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
187 for the wide version.
188 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
189 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
190 Pass new arguments to findidx.
191 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
192 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
193 Don't #include it inside the function. Pass new arguments to findidx.
194 * posix/regex_internal.h
195 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
196 (re_string_elem_size_at): Don't #include it inside the function.
197 Pass new arguments to findidx.
198 * string/strcoll_l.c: #include WEIGHT_H at top level.
199 (get_next_seq): Don't #include it inside the function.
200 Pass new arguments to findidx.
201 (get_next_seq_nocache): Likewise.
202 * string/strxfrm_l.c: #include WEIGHT_H at top level.
203 (STRXFRM): Don't #include it inside the function.
204 Pass new arguments to findidx.
205
52ffbdf2
FW
2062014-09-11 Florian Weimer <fweimer@redhat.com>
207
208 [BZ #17344]
209 * malloc/malloc.c (unlink): Turn asserts into a call to
210 malloc_printerr.
211
984c0ea9
TL
2122014-09-11 Tim Lammens <tim.lammens@gmail.com>
213
214 [BZ #17370]
215 * libio/wfileops (do_ftell_wide): Free OUT.
216
3daee107
CM
2172014-09-10 Chris Metcalf <cmetcalf@tilera.com>
218
219 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
220
58b930ae
SP
2212014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
222
223 [BZ #17363]
224 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
225 group if the current group is empty.
226
3b473fec
AZ
2272014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
228
71ae8647
AZ
229 * benchtests/bench-memset.c (test_main): Add more test from size
230 from 32 to 512 bytes.
231 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
232 Add POWER8 memset object.
233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
234 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
235 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
236 implementation.
237 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
238 Likewise.
239 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
240 multiarch POWER8 memset optimization.
241 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
242 POWER8 memset optimization.
243
3b473fec
AZ
244 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
245 Remove bzero multiarch objects.
246 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
247 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
248 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
249 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
250 Remove define.
251 [__bzero]: Redefine to specific name.
252 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
253 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
254 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
255 define.
256 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
257 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
258
e6fb9587
FW
2592014-09-10 Florian Weimer <fweimer@redhat.com>
260
261 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
262 warnings into errors.
263
264 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
265 __cxa_thread_atexit_impl prototype.
266
9d3a350b
SE
2672014-09-09 Steve Ellcey <sellcey@mips.com>
268
269 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
270 Fix capitalization of error message.
271
0febba23
SE
2722014-09-09 Steve Ellcey <sellcey@mips.com>
273
274 * sysdeps/mips/preconfigure: Modify ABI tests.
275
645a0e9c
CD
2762014-09-07 Carlos O'Donell <carlos@systemhalted.org>
277
278 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
279
d83f0734
CD
2802014-09-07 Roland McGrath <roland@hack.frob.com>
281 Carlos O'Donell <carlos@systemhalted.org>
282
283 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
284 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
285 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
286 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
287 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
288 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
289 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
290 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
291 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
292 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
293 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
294 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
295 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
296 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
297 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
298 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
299 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
300 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
301 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
302 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
303 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
304 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
305 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
306 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
307 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
308 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
309 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
310 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
311 Deconditionalize the code that was previously under [RESET_PID].
312 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
313 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
314 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
315 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
316 include sysdep.h.
317
21c83793
AM
3182014-09-08 Allan McRae <allan@archlinux.org>
319
320 * version.h (RELEASE): Set to "development".
321 (VERSION): Set to "2.20.90"
322
1cd9b65c
AM
3232014-09-07 Allan McRae <allan@archlinux.org
324
b8079dd0
AM
325 * version.h (RELEASE): Set to "stable".
326 (VERSION): Set to "2.20"
327 * include/features.h (__GLIBC_MINOR__): Set to 20.
328
c46303ef
AM
329 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
330 Liebler.
331
1cd9b65c
AM
332 * po/ko.po: Update Korean translation from translation project.
333
8622092d
CM
3342014-09-06 Chris Metcalf <cmetcalf@tilera.com>
335
336 [BZ #17354]
337 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
338 macro for handling signed relocations.
339
41488498
FW
3402014-09-03 Florian Weimer <fweimer@redhat.com>
341
342 [BZ #17325]
343 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
344 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
345 assert.
346 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
347 * iconvdata/ibm935.c (BODY): Likewise.
348 * iconvdata/ibm937.c (BODY): Likewise.
349 * iconvdata/ibm939.c (BODY): Likewise.
350 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
351 assert.
352 * iconvdata/Makefile (iconv-test.out): Pass module list to test
353 script.
354 * iconvdata/run-iconv-test.sh: New test loop for checking for
355 decoder crashers.
356
a78b712d
KR
3572014-09-02 Khem Raj <raj.khem@gmail.com>
358
359 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
360 libm_hidden_ver.
361
cb08abc6
AM
3622014-09-01 Allan McRae <allan@archlinux.org>
363
2c31e102
AM
364 * po/eo.po: Update Esperanto translation from translation project.
365
cb08abc6
AM
366 * po/ca.po: Update Catalan translation from translation project.
367
17a62de1
ST
3682014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
369
370 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
371 __proc_dostop call.
372
9570bc53
MW
3732014-08-27 Mark Wielaard <mjw@redhat.com>
374
375 [BZ #17319]
376 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
377 to call set_thread_area instead of hand written asm.
378 (__NR_set_thread_area): Removed define.
379 (TLS_FLAG_WRITABLE): Likewise.
380 (__ASSUME_SET_THREAD_AREA): Remove check.
381 (TLS_EBX_ARG): Remove define.
382 (TLS_LOAD_EBX): Likewise.
383
b0f955c9
ST
3842014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
385
386 Simplify atomicity of socket creation in bind.
387
388 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
389 looking up the name after linking the file.
390
529bf515
AM
3912014-08-27 Allan McRae <allan@archlinux.org>
392
393 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
394
a1a6a401
FW
3952014-08-26 Florian Weimer <fweimer@redhat.com>
396
397 [BZ #17187]
398 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
399 trans_compare, open_translit, __gconv_translit_find):
400 Remove module loading code.
401
686ab290
AM
4022014-08-26 Allan McRae <allan@archlinux.org>
403
e4e7cfd2
AM
404 * po/vi.po: Update Vietnamese translation from translation project.
405
6aa09f71
AM
406 * po/uk.po: Update Ukrainian translation from translation project.
407
edc0660e
AM
408 * po/fr.po: Update French translation from translation project.
409
7eea72ac
AM
410 * po/ru.po: Update Russian translation from translation project.
411
93c49eff
AM
412 * po/pl.po: Update Polish translation from translation project.
413
46acaf63
AM
414 * po/cs.po: Update Czech translation from translation project.
415
a9f5ce98
AM
416 * po/de.po: Update German translation from translation project.
417
373f2b78
AM
418 * po/bg.po: Update Bulgarian translation from translation project.
419
e7548bd8
AM
420 * po/sv.po: Update Sweedish translation from translation project.
421
c526bf4d
AM
422 * po/nl.po: Update Dutch translation from translation project.
423
686ab290
AM
424 * po/es.po: Update Spanish translation from translation project.
425
eb72478a
SP
4262014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
427
dd763fdb
SP
428 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
429
318c7a58
SP
430 * catgets/Makefile (CPPFLAGS-gencat): Remove.
431 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
432 (CPPFLAGS-iconvconfig): Likewise.
433 * timezone/Makefile (CPPFLAGS-zic): Likewise.
434
eb72478a
SP
435 * include/libc-symbols.h: Remove unnecessary check for
436 NOT_IN_libc.
437 * nptl/pthreadP.h: Likewise.
438 * sysdeps/aarch64/setjmp.S: Likewise.
439 * sysdeps/alpha/setjmp.S: Likewise.
440 * sysdeps/arm/sysdep.h: Likewise.
441 * sysdeps/i386/setjmp.S: Likewise.
442 * sysdeps/m68k/setjmp.c: Likewise.
443 * sysdeps/posix/getcwd.c: Likewise.
444 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
445 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
446 * sysdeps/s390/s390-32/setjmp.S: Likewise.
447 * sysdeps/s390/s390-64/setjmp.S: Likewise.
448 * sysdeps/sh/sh3/setjmp.S: Likewise.
449 * sysdeps/sh/sh4/setjmp.S: Likewise.
450 * sysdeps/unix/alpha/sysdep.h: Likewise.
451 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
452 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
453 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
454 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
457 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
458 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
459 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
460 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
461 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
462 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
463 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
464 * sysdeps/x86_64/setjmp.S: Likewise.
465
d44a052c
JM
4662014-08-13 Joseph Myers <joseph@codesourcery.com>
467
468 [BZ #17263]
469 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
470 <stdint.h>.
471 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
472 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
473
508ce3ac
SP
4742014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
475
e44c8b0e
SP
476 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
477
508ce3ac
SP
478 [BZ #17262]
479 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
480 and __x86_64__ when disabling x87 inline functions.
481
b4acef1f
L
4822014-08-12 H.J. Lu <hongjiu.lu@intel.com>
483
484 [BZ #17259]
485 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
486 asm statement with __cpuid_count.
487
61b1ef6e
MF
4882014-08-12 Mike Frysinger <vapier@gentoo.org>
489
490 * configure.ac: Change __ehdr_start code to dereference the struct.
491 Run readelf on the output to look for relocations.
492 * configure: Regenerated.
493
898c62f4
JM
4942014-08-12 Joseph Myers <joseph@codesourcery.com>
495
496 [BZ #17261]
497 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
498 value to 0.
499 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
500
9a8a5720
RM
5012014-08-12 Roland McGrath <roland@hack.frob.com>
502
503 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
504
4e75751c
BO
5052014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
506
507 [BZ #16892]
508 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
509 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
510
bb2ce416
SA
5112014-08-12 Sean Anderson <seanga2@gmail.com>
512
513 * malloc/malloc.c: Fix typo in comment.
514
7950a4ee
AM
5152014-08-09 Allan McRae <allan@archlinux.org>
516
517 * Regenerate libc.po.
518
f469c49f
MF
5192014-08-08 Mike Frysinger <vapier@gentoo.org>
520
521 * intl/tst-gettext2.sh: Check every lang file for creation.
522
656b84c2
WD
5232014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
524
525 * sysdeps/aarch64/fpu/math_private.h
526 (libc_feholdsetround_noex_aarch64_ctx): New function.
527
538e9e45
W
5282014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
529
530 * sysdeps/arm/armv6/strcpy.S (strcpy):
531 Fix performance issue in misaligned cases.
532
d4795e4a
AZ
5332014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
534
535 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
536 Move definition from termios.h.
537 (struct termio): Likewise.
538 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
539 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
540 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
541 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
542 Likewise.
543 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
544 Move definition to ioctl-types.h
545 (struct termio): Likewise.
546 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
547 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
548 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
549 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
550 Likewise.
551
64accb62
RH
5522014-08-05 Richard Henderson <rth@redhat.com>
553
27bb6dc0
RH
554 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
555 exceptions.
556 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
557 Add fraiseexcpt.
558 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
559 Use __feraiseexcept.
560 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
561 Protect libm symbols with IS_IN_libm.
562
64accb62
RH
563 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
564
e5292691
BO
5652014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
566
567 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
568
5b4bd2d4
WN
5692014-08-04 Will Newton <will.newton@linaro.org>
570
571 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
572 file.
573
fcadaeef
MF
5742014-08-04 Mike Frysinger <vapier@gentoo.org>
575
576 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
577 variants for each function.
578
43a94c64
RM
5792014-08-04 Roland McGrath <roland@hack.frob.com>
580
581 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
582 appended ...
583 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
584 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
585 appended ...
586 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
587 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
588 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
589 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
590 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
591 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
592 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
593 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
594 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
595 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
596 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
597 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
598 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
599 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
600 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
601 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
602 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
603 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
604 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
605 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
606 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
607 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
608 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
609 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
610 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
611 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
612 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
613 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
614 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
615 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
616 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
617 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
618 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
619 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
620 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
621 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
622 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
623 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
624 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
625 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
626 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
627 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
628 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
629 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
630 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
631 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
632 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
633 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
634 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
635 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
636 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
637 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
638 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
639 Update #include.
640 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
641 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
642
8f3c1fa4
RM
6432014-08-04 Roland McGrath <roland@hack.frob.com>
644
645 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
646 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
647 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
648 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
649 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
650 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
651
ca08746f
RM
6522014-08-04 Roland McGrath <roland@hack.frob.com>
653
654 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
655 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
656 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
657 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
658
9c925ff9
RM
6592014-08-04 Roland McGrath <roland@hack.frob.com>
660
661 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
662 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
663 (__libc_vfork): Define function under this name.
664 (__vfork): Define as an alias.
665 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
666 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
667
e641054c
RM
6682014-08-04 Roland McGrath <roland@hack.frob.com>
669
670 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
671 that was previously under [RESET_PID].
672 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
673
dacdc867
AS
6742014-08-04 Andreas Schwab <schwab@suse.de>
675
676 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
677
41f725ff
MF
6782014-08-03 Mike Frysinger <vapier@gentoo.org>
679
680 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
681 (main): Likewise.
682
277cfb31
RM
6832014-08-01 Roland McGrath <roland@hack.frob.com>
684
685 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
686
4896f049
RH
6872014-08-01 Richard Henderon <rth@redhat.com>
688
689 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
690 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
691 typo in exact zero test.
692 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
693 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
694 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
695
6f64e7d7
RM
6962014-08-01 Roland McGrath <roland@hack.frob.com>
697
698 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
699 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
700 * sysdeps/arm/sysdep.h: ... here.
701 [!__ASSEMBLER__]: Include <stdint.h>.
702
3f3dd810
SP
7032014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
704
a476ac4b
SP
705 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
706 (HAVE_WCTYPE_H): Likewise.
707 (HAVE_ISWCTYPE): Likewise.
708 (ENABLE_NLS): Likewise.
709 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
710 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
711
78dd658a
SP
712 * posix/regex_internal.c: Check if DEBUG is defined and is
713 set.
714
3f3dd810
SP
715 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
716 (HAVE_MBSRTOWCS): Likewise.
717 * posix/fnmatch.c: Include string.h unconditionally.
718
95ee7fb1
SL
7192014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
720
721 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
722 reversal.
723
23fe486b
RM
7242014-07-31 Roland McGrath <roland@hack.frob.com>
725
f61a113f
RM
726 * sysdeps/generic/safe-fatal.h: New file.
727 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
728 * nptl/forward.c: Include it.
729 (__pthread_unwind): Use __safe_fatal as default action, rather
730 than a bogus use of INTERNAL_SYSCALL that could never work.
731
9fe7e787
RM
732 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
733 * configure.ac (libc_cv_builtin_trap): New test.
734 * configure: Regenerated.
735 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
736 (ABORT_INSTRUCTION): Define using __builtin_trap.
737
23fe486b
RM
738 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
739 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
740 * sysdeps/nptl/nptl-signals.h: New file.
741 * nptl/pthreadP.h: Include <nptl-signals.h>.
742
f349489e
SL
7432014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
744
745 * sysdeps/s390/s390-64/utf16-utf32-z9.c
746 (ONE_DIRECTION): Define.
747 * sysdeps/s390/s390-64/utf8-utf16-z9.c
748 (ONE_DIRECTION): Define.
749 * sysdeps/s390/s390-64/utf8-utf32-z9.c
750 (ONE_DIRECTION): Define.
751
2f438e20
SL
7522014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
753
754 * sysdeps/s390/Makefile: Delete file.
755 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
756 * sysdeps/s390/__longjmp.c: Delete file.
757 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
758 Remove fields __flags and __reserved.
759 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
760 and add versioning.
761 * sysdeps/s390/rtld-__longjmp.c: Delete file.
762 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
763 * sysdeps/s390/rtld-setjmp.S: Likewise.
764 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
765 * sysdeps/s390/s390-32/__longjmp.c: ... here.
766 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
767 * sysdeps/s390/s390-32/setjmp.S: ... here.
768 Add versioning.
769 (__sigsetjmp): Remove setting __flags field.
770 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
771 * sysdeps/s390/s390-64/__longjmp.c: ... here.
772 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
773 * sysdeps/s390/s390-64/setjmp.S: ... here.
774 Add versioning.
775 (__sigsetjmp): Remove setting __flags field.
776 * sysdeps/s390/setjmp.S: Delete file.
777 * sysdeps/s390/sigjmp.c: Likewise.
778 * sysdeps/s390/v1-longjmp.c: Likewise.
779 * sysdeps/s390/v1-setjmp.h: Likewise.
780 * sysdeps/s390/v1-sigjmp.c: Likewise.
781 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
782 Remove v1-longjmp_chk.
783 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
784 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
785 Include debug/longjmp_chk.c and add versioning.
786 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
787 Include nptl/pt-longjmp.c and add versioning.
788 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
789 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
790 Include __longjmp.c.
791 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
792 Move to ...
793 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
794 (__getcontext): Remove setting __flags field.
795 Add versioning.
796 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
797 Don't restore upper high grps.
798 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
799 Likewise.
800 (__swapcontext): Remove setting uc_flags field.
801 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
802 Delete file.
803 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
804 Include __longjmp.c.
805 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
806 Move to ...
807 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
808 (__getcontext): Remove setting __flags field.
809 Add versioning.
810 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
811 (__swapcontext): Remove setting uc_flags field.
812 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
813 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
814 Remove fields uc_high_gprs and __reserved.
815 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
816 New file with reverted content.
817 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
818 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
819 Regenerated.
820 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
821 Regenerated.
822
6c9578a2
AS
8232014-07-31 Andreas Schwab <schwab@suse.de>
824
825 * config.h.in (HAVE_IFUNC): Define to 0.
826 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
827 definedness.
828
05f3633d
LM
8292014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
830
831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
832 memmove-avx-unaligned, memcpy-avx-unaligned and
833 mempcpy-avx-unaligned.
834 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
835 Add tests for AVX memcpy functions.
836 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
837 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
838 memcpy_chk.
839 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
840 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
841 memmove_chk.
842 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
843 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
844 mempcpy_chk.
845 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
846 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
847 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
848
a53fbd8e
AZ
8492013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
850
851 [BZ #17213]
852 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
853 powerpc64le.
854
0961f7e1
JL
8552014-07-29 Jeff Layton <jlayton@poochiereds.net>
856
857 [BZ #16839]
858 * manual/llio.texi: Add section about open file description locks.
859 * manual/examples/ofdlocks.c: Example of open file description
860 lock usage.
861 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
862 F_OFD_SETLK, and F_OFD_SETLKW.
863
cc5fb300
AM
8642014-07-23 Allan McRae <allan@archlinux.org>
865
866 * po/es.po: Update Spanish translation from translation project.
867
23329dca
AS
8682014-07-18 Andreas Schwab <schwab@linux-m68k.org>
869
870 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
871
9c82da17
MR
8722014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
873
874 [BZ #17078]
875 * sysdeps/arm/dl-machine.h (elf_machine_rela)
876 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
877 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
878
29c4f53e
JM
8792014-07-17 Joseph Myers <joseph@codesourcery.com>
880
831b9896
JM
881 [BZ #17088]
882 * math/fesetenv.c (__fesetenv)
883 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
884 * math/feupdateenv.c (__feupdateenv)
885 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
886
b21c2d50
JM
887 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
888 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
889 (__ASSUME_SOCKETCALL): Do not define.
890
067764ef
JM
891 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
892 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
893 (__ASSUME_SOCKETCALL): Do not define.
894 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
895 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
896 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
897 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
898 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
899 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
900 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
901 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
902
642530c1
JM
903 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
904 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
905 (__ASSUME_SOCKETCALL): Do not define.
906 (__ASSUME_IPC64): Define unconditionally.
907 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
908 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
909 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
910 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
911 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
912 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
913 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
914 Likewise.
915
03f77315
JM
916 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
917 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
918 (__ASSUME_SOCKETCALL): Do not define.
919 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
920 (__ASSUME_FUTEX_LOCK_PI): Likewise.
921 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
922 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
923 (__ASSUME_REQUEUE_PI): Define unconditionally.
924 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
925 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
926 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
927 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
928 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
929 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
930
083b1f7c
JM
931 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
932 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
933 (__ASSUME_SOCKETCALL): Do not define.
934 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
935 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
936 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
937 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
938 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
939 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
940
5be44ea6
JM
941 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
942 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
943 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
944 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
945 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
946 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
947 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
948 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
949 (__ASSUME_GETCPU_SYSCALL): Likewise.
950
d95ffd4c
JM
951 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
952 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
953 cases for individual architectures.
954 * sysdeps/gnu/configure: Regenerated.
955 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
956 LIBC_SLIBDIR_RTLDDIR.
957 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
958 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
959 LIBC_SLIBDIR_RTLDDIR.
960 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
962 LIBC_SLIBDIR_RTLDDIR.
963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
964 Regenerated.
965 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
966 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
967 file.
968 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
969 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
970 file.
971 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
972 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
973 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
974 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
975
29c4f53e
JM
976 * sysdeps/aarch64/shlib-versions: Move to ...
977 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
978 * sysdeps/alpha/shlib-versions: Move to ...
979 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
980 * sysdeps/arm/shlib-versions: Move to ...
981 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
982 * sysdeps/hppa/shlib-versions: Move all contents except for
983 libgcc_s entry to ...
984 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
985 entry from ...
986 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
987 * sysdeps/ia64/shlib-versions: Move to ...
988 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
989 entry from ...
990 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
991 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
992 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
993 * sysdeps/microblaze/shlib-versions: Move to ...
994 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
995 * sysdeps/mips/shlib-versions: Move to ...
996 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
997 entry from ...
998 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
999 * sysdeps/tile/shlib-versions: Move to ...
1000 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1001 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1002 from ...
1003 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1004 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1005 entry from ...
1006 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1007
32bead5b
WN
10082014-07-17 Will Newton <will.newton@linaro.org>
1009
57977c4b
WN
1010 * sysdeps/arm/bits/atomic.h
1011 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1012 (__arch_compare_and_exchange_bool_16_int): Likewise.
1013 (__arch_compare_and_exchange_bool_64_int): Likewise.
1014
32bead5b
WN
1015 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1016 into an #else block.
1017
37fccd41
RM
10182014-07-16 Roland McGrath <roland@hack.frob.com>
1019
1020 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1021 just Linux configurations. Test empirically that the compiler sets
1022 __ARM_EABI__, rather than using the tuple to decide.
1023 * sysdeps/arm/preconfigure: Regenerated.
1024 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1025 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1026 contents appended ...
1027 * sysdeps/arm/configure.ac: ... here.
1028 * sysdeps/arm/configure: Regenerated.
1029
b365f3ec
RM
10302014-07-15 Roland McGrath <roland@hack.frob.com>
1031
8badf496
RM
1032 * nptl/pthread_kill.c: New file.
1033 * nptl/pthread_sigmask.c: New file.
1034 * nptl/pthread_sigqueue.c: New file.
1035
3df6f22e
RM
1036 * sysdeps/nptl/lowlevellock.h: New file.
1037 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1038 * sysdeps/nptl/lowlevellock-futex.h: New file.
1039
b365f3ec
RM
1040 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1041 Remove dead declarations.
1042
f2fef657
L
10432014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1044
1045 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1046 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1047 config-cflags-avx2.
1048 * sysdeps/x86_64/configure.ac: Likewise.
1049 * sysdeps/i386/configure: Regenerated.
1050 * sysdeps/x86_64/configure: Likewise.
1051 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1052 memset-avx2 only if config-cflags-avx2 is yes.
1053 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1054 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1055 defined.
1056 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1057 only if HAVE_AVX2_SUPPORT is defined.
1058 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1059
f6c44d47
AM
10602014-07-14 Alan Modra <amodra@gmail.com>
1061
1062 [BZ #17153]
1063 * elf/elf.h (DT_PPC64_NUM): Correct value.
1064 * NEWS: Add to fixed bug list.
1065
7ee03f00
JM
10662014-07-13 Jim Meyering <meyering@fb.com>
1067
1068 [BZ 17150]
1069 regex: don't deref NULL upon heap allocation failure
1070 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1071 failure in one more place.
1072 To trigger the segfault, configure grep -with-included-regex,
1073 build it, and run these commands:
1074 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1075
9d39d517
AS
10762014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1077
1078 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1079
a75b89b7
RH
10802014-07-11 Richard Henderson <rth@redhat.com>
1081
1082 * sysdeps/aarch64/libm-test-ulps: Update.
1083
771eb141
FW
10842014-07-10 Florian Weimer <fweimer@redhat.com>
1085
1086 [BZ #17135]
1087 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1088 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1089 (__nptl_setxid): Initialize error member. Call
1090 __nptl_setxid_error.
1091 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1092 * nptl/descr.h (struct xid_command): Add error member.
1093 * nptl/tst-setuid3.c: New file.
1094 * nptl/Makefile (tests): Add it.
1095
bc1da176
AZ
10962014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1097
1098 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1099 New define.
1100 (__lll_trylock): Use __lll_base_trylock.
1101 (__lll_cond_trylock): Likewise.
1102
887865fc
RM
11032014-07-10 Roland McGrath <roland@hack.frob.com>
1104
c0c6bac9
RM
1105 * nptl/pthread_create.c (start_thread): Use atomic_or and
1106 lll_futex_wake directly rather than lll_robust_dead.
1107 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1108 (lll_robust_dead): Macro removed.
6a42be57 1109 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
1110 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1111 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1112 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1113 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1114 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1115 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1116 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1117 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1118 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1119 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1120 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1121 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1122 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1123 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1124
887865fc
RM
1125 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1126 Use atomic_compare_and_exchange_val_acq directly rather than
1127 lll_robust_trylock.
1128 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1129 (__lll_robust_trylock, lll_robust_trylock): Removed.
1130 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1131 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1132 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1133 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1134 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1135 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1136 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1137 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1138 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1139 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1140 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1141 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1142 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1143 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1144
58536726
FW
11452014-07-02 Florian Weimer <fweimer@redhat.com>
1146
1147 * manual/locale.texi (Locale Names): New section documenting
1148 locale name syntax. Adjust menu and node chaining accordingly.
1149 (Choosing Locale): Reference Locale Names, Locale Categories.
1150 Mention setting LC_ALL=C. Reflect that name syntax is now
1151 documented.
1152 (Locale Categories): New section title. Reference Locale Names.
1153 LC_ALL is an environment variable, but not a category.
1154 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1155 description, now in Locale Name. Reference that section. Locale
1156 name syntax is now documented.
1157
4e8f95a0
FW
11582014-07-02 Florian Weimer <fweimer@redhat.com>
1159
1160 [BZ #17137]
1161 * locale/findlocale.c (name_present, valid_locale_name): New
1162 functions.
1163 (_nl_find_locale): Use the loc_name variable to store name
1164 candidates. Call name_present and valid_locale_name to check and
1165 validate locale names. Return an error if the locale is invalid.
1166
d1836456
FW
11672014-07-02 Florian Weimer <fweimer@redhat.com>
1168
1169 * locale/setlocale.c (setlocale): Use strdup for allocating
1170 composite name copy.
1171
d69b7f5a
SP
11722014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1173
888c679b
SP
1174 Sync up with gnulib.
1175 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1176 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1177 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1178 and _GL_ARG_NONNULL.
1179 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1180 [!_LIBC]: Include code for Windows and Cygwin.
1181 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1182 Include prototype for int strerror_r.
1183 [!_LIBC] (is_open): New function.
1184 (flush_stdout): New function.
1185 (print_errno_message): Use it.
1186 (error): Likewise.
1187 (error_at_line): Likewise.
1188 (error_tail) Add function attribute macros. Use
1189 __builtin_expect.
1190
180e0e4b
SP
1191 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1192
d22f1fe2
SP
1193 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1194
12f2254b
SP
1195 * io/ftw.c: Include sys/param.h unconditionally.
1196
c3c7c360
SP
1197 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1198
d62aa75a
SP
1199 [BZ #17125]
1200 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1201 libc_freeres_ptr.
1202 (freecache): New function to free CACHE on exit.
1203
d69b7f5a
SP
1204 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1205 initialization.
1206
5efe06a1
DM
12072014-07-09 David S. Miller <davem@davemloft.net>
1208
1209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1210
7000d82e
DM
1211 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1212 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1213 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1214 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1215 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1216 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1217 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1218 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1219 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1220 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1221 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1222 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1223 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1224
c213442d
AS
12252014-07-09 Andreas Schwab <schwab@suse.de>
1226
4a2552c3
AS
1227 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1228 output.
1229 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1230 (do_test): Likewise.
1231
c213442d
AS
1232 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1233
82374e65
WN
12342014-07-09 Will Newton <will.newton@linaro.org>
1235
1236 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1237 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1238 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1239 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1240 * sysdeps/hppa/start.S (_start): Likewise.
1241
6680738a
SP
12422014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1243
6ee3eab4
SP
1244 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1245
6680738a
SP
1246 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1247 defined.
1248
80b5c505
SP
12492014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1250
e35c53e3
SP
1251 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1252 after checking that it is non-NULL.
1253
80b5c505
SP
1254 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1255
91f4b564
AZ
12562014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1257
27b75f56
AZ
1258 * sysdeps/powerpc/memmove.c: Remove file.
1259 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1260 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1261 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1262 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1263 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1264 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1265 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1266 string memmove instead of removed powerpc one.
1267
e7f95bb5
AZ
1268 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1269 [weak_alias]: Fix compiler warning due trailing data.
1270 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1271 [weak_alias]: Likewise.
1272 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1273 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1274
91f4b564
AZ
1275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1276 (__libc_ifunc_impl_list): Add memmove functions.
1277
7c33f1e5
SP
12782014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1279
1280 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1281 Remove code.
1282 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1283 Likewise
1284 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1285 Likewise
1286 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1287 Likewise
1288 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1289 Likewise
1290 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1291 Likewise
1292 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1293 Likewise
1294 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1295 Likewise
1296 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1297 Likewise
1298 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1299 Likewise
1300 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1301 Likewise
1302 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1303 Likewise
1304 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1305 Likewise
1306 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1307 Likewise
1308 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1309 Likewise
1310 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1311 Likewise
1312 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1313 Likewise
1314
3f17b03b
AZ
13152014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1316
87868c24
AZ
1317 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1318 to avoid alignment traps in non-cacheable memory.
1319 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1320
07aedd78
AZ
1321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1322 multiarch objects.
1323 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1324 file: multiarch power7 memmove.
1325 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1326 multiarch default memmove.
1327 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1328 multiarch memove for powerpc32/power4.
1329
17762f66
AZ
1330 * string/bcopy.c: Use full path to include memmove.c.
1331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1332 multiarch objects.
1333 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1334 bcopy for powerpc64.
1335 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1336 bcopy for powerpc64.
1337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1338 and memmove implementations.
1339 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1340 optimized multiarch memmove for POWER7/powerpc64.
1341 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1342 default multiarch memmove for powerpc64.
1343 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1344 multiarch for powerpc64.
1345 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1346 for POWER7/powerpc64.
1347 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1348 memmove for POWER7/powerpc64.
1349
d6f68bbe
AZ
1350 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1351 glibc default one.
1352
3f17b03b
AZ
1353 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1354 __ELF_NATIVE_CLASS equal to 64.
1355
08192659
RM
13562014-07-07 Roland McGrath <roland@hack.frob.com>
1357
f4c4021b
RM
1358 * sysdeps/nptl/lowlevellock.h: File removed.
1359
f083450f
RM
1360 * NEWS: NPTL is no longer an add-on!
1361 * nptl/internaltypes.h: Moved ...
1362 * sysdeps/nptl/internaltypes.h: ... here.
1363 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1364 * sysdeps/nptl/fork.c: Likewise.
1365 * sysdeps/nptl/gai_misc.h: Likewise.
1366 * sysdeps/nptl/librt-cancellation.c: Likewise.
1367 * sysdeps/nptl/jmp-unwind.c: Likewise.
1368 * sysdeps/nptl/setxid.h: Likewise.
1369 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1370 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1371 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1372 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1373 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1374 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1375 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1376 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1377 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1378 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1379 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1380 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1381 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1382 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1383 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1384 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1385 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1386 * nptl/Makeconfig: Moved ...
1387 * sysdeps/nptl/Makeconfig: ... here.
1388 * nptl/configure: File removed.
1389 * nptl/ANNOUNCE: File removed.
1390 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1391 * sysdeps/unix/sysv/linux/configure: Regenerated.
1392
08192659
RM
1393 * nptl/Makefile (routines): Add libc_pthread_init,
1394 libc_multiple_threads, register-atfork and unregister-atfork.
1395 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1396 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1397 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1398 pthread-pi-defines.sym, structsem.sym.
1399 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1400 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1401 [$(subdir) = nptl] (tests): Add tst-setgetname.
1402 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1403 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1404 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1405 [!LIBC_SIGACTION]: Remove aliases.
1406 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1407 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1408 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1409 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1410 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1411 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1412 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1413 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1414 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1415 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1416 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1417 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1418 __libc_allocate_rtsig_private.
1419 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1420 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1421 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1422 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1423 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1424 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1425 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1426 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1427 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1428 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1429 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1430 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1431 * nptl/internaltypes.h: ... here.
1432 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1433 * sysdeps/nptl/jmp-unwind.c: ... here.
1434 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1435 * nptl/libc-lowlevellock.c: ... here.
1436 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1437 * nptl/libc_multiple_threads.c: ... here.
1438 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1439 * nptl/libc_pthread_init.c: ... here.
1440 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1441 * nptl/lowlevelbarrier.sym: ... here.
1442 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1443 * nptl/lowlevelcond.sym: ... here.
1444 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1445 * nptl/lowlevellock.c: ... here.
1446 * nptl/lowlevellock.h: Moved ...
1447 * sysdeps/nptl/lowlevellock.h: ... here.
1448 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1449 * nptl/lowlevelrobustlock.c: ... here.
1450 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1451 * nptl/lowlevelrobustlock.sym: ... here.
1452 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1453 * nptl/lowlevelrwlock.sym: ... here.
1454 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1455 * nptl/pt-fork.c: ... here.
1456 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1457 * nptl/pthread-pi-defines.sym: ... here.
1458 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1459 * nptl/pthread_attr_getaffinity.c: ... here.
1460 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1461 * nptl/pthread_attr_setaffinity.c: ... here.
1462 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1463 * nptl/pthread_mutex_cond_lock.c: ... here.
1464 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1465 Update #include.
1466 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1467 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1468 * nptl/pthread_once.c: ... here, replacing old file.
1469 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1470 * nptl/pthread_yield.c: ... here.
1471 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1472 * nptl/register-atfork.c: ... here.
1473 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1474 * nptl/sem_post.c: ... here.
1475 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1476 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1477 * nptl/sem_timedwait.c: ... here.
1478 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1479 * nptl/sem_trywait.c: ... here.
1480 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1481 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1482 * nptl/sem_wait.c: ... here.
1483 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1484 * nptl/structsem.sym: ... here.
1485 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1486 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1487 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1488 * nptl/unregister-atfork.c: ... here.
1489 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1490 * nptl/unwindbuf.sym: ... here.
1491 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1492 * sysdeps/nptl/fork.c: ... here.
1493 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1494 * sysdeps/nptl/fork.h: ... here.
1495 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1496 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1497 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1498 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1499 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1500 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1501 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1502 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1503 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1504 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1505 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1506 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1507 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1508 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1509 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1510 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1511 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1512 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1513 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1514 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1515 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1516 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1517 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1518 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1519 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1520 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1521 * sysdeps/unix/sysv/linux/raise.c: ... here.
1522 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1523 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1524 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1525 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1526 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1527 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1528 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1529 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1530 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1531 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1532 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1533 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1534 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1535 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1536 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1537
96baf6ff
SP
15382014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1539
1540 * sysdeps/generic/memcopy.h: Add comment for
1541 MEMCPY_OK_FOR_FWD_MEMMOVE.
1542
6b7b14b2
WN
15432014-07-04 Will Newton <will.newton@linaro.org>
1544
1570a72b
WN
1545 * string/memchr.c: Merge from gnulib.
1546 [_LIBC]: Remove conditionals.
1547 (__ptr_t): Remove define.
1548 (LONG_MAX_32_BITS): Likewise.
1549 (LONG_MAX): Likewise.
1550 (MEMCHR): Use ANSI prototype and optimize algorithm.
1551
6b7b14b2
WN
1552 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1553
38851324
SP
15542014-07-03 Roland McGrath <roland@hack.frob.com>
1555
3d9eb57c
RM
1556 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1557 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1558
78b984ae
RM
1559 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1560 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1561 in a bare environment with no <stdlib.h> installed.
1562 * sysdeps/nptl/configure: Regenerated.
1563
2d5976a5
RM
1564 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1565
c1f5acd4
RM
1566 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1567 AC_EGREP_CPP for kernel header checks, so they only succeed if
1568 including <linux/version.h> actually works right.
1569 * sysdeps/unix/sysv/linux/configure: Regenerated.
1570
4d614fe5
RM
1571 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1572 value so it's not diagnosed as unused.
1573
38851324
SP
1574 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1575 thing) with "ifeq ($(subdir),rt)".
1576
b3ec00e5
RH
15772014-07-03 Richard Henderson <rth@redhat.com>
1578
69862e25
RH
1579 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1580 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1581 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1582
d5e16ade
RH
1583 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1584 (math_force_eval): New.
1585
ca7b945c
RH
1586 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1587 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1588
cd1175a3
RH
1589 * sysdeps/alpha/fpu/s_round.c: Remove file.
1590 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1591
b3ec00e5
RH
1592 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1593 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1594 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1595 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1596 (_dl_start, print_statistics): Likewise.
1597 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1598 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1599
1600 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1601 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1602 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1603 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1604 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1605 (HP_SMALL_TIMING_AVAIL): Define.
1606 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1607 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1608 (HP_SMALL_TIMING_AVAIL): Define.
1609 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1610 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1611
1612 * sysdeps/aarch64/hp-timing.h: New file.
1613
1614 * sysdeps/generic/hp-timing.h: Remove dead comment.
1615 * sysdeps/generic/hp-timing-common.h: New file.
1616 * sysdeps/alpha/hp-timing.h: Include it.
1617 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1618 * sysdeps/i386/i686/hp-timing.h: Likewise.
1619 * sysdeps/ia64/hp-timing.h: Likewise.
1620 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1621 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1622 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1623 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1624 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1625 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1626 (hp_timing_t): New.
1627
1628 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1629 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1630 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1631 * elf/rtld.c (_dl_start_final): Likewise.
1632 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1633 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1634 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1635 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1636 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1637 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1638 (HP_TIMING_DIFF_INIT): Remove.
1639 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1640 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1641 (HP_TIMING_DIFF_INIT): Remove.
1642 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1643 * sysdeps/i386/i686/hp-timing.c: Remove file.
1644 * sysdeps/x86_64/hp-timing.c: Remove file.
1645 * sysdeps/ia64/hp-timing.c: Remove file.
1646 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1647 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1648 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1649 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1650
1651 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1652 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1653 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1654 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1655 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1656 (HP_TIMING_ACCUM): Remove.
1657 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1658 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1659 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1660
1661 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1662 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1663 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1664 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1665 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1666 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1667 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1668 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1669
1670 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1671
225f410f
MR
16722014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1673
1674 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1675
3247f285
SP
16762014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1677
1678 Sync up with gettext.
1679 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1680 [_MSC_VER]: Include malloc.h
1681 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1682 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1683 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1684 TEMP_FAILURE_RETRY. Cast return of alloca.
1685 [!_LIBC] Call gl_rwlock_init.
1686 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1687
d12704c7
SP
16882014-07-02 Roland McGrath <roland@hack.frob.com>
1689
1690 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1691 before checking its value.
1692
99f8dc92
SP
16932014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1694
05fdac77
SP
1695 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1696
99f8dc92
SP
1697 * debug/memcpy_chk.c: Don't include pagecopy.h.
1698 * debug/mempcpy_chk.c: Likewise.
1699 * string/memcpy.c: Likewise.
1700 * string/memmove.c: Likewise.
1701 * sysdeps/powerpc/memmove.c: Likewise.
1702 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1703 definition of PAGE_COPY_FWD_MAYBE here...
1704 * sysdeps/generic/pagecopy.h: ... from here.
1705 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1706
bc8ea385
VR
17072014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1708 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1709
1710 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1712 optimizations.
1713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1714 (__libc_ifunc_impl_list): Likewise.
1715 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1716 multiarch strcat for PPC64.
1717 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1718 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1719
fe5f34e4
RM
17202014-07-02 Roland McGrath <roland@hack.frob.com>
1721
1722 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1723
256aa665
SP
17242014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1725
d4eb8195
SP
1726 * intl/loadmsgcat.c: Remove declaration of
1727 get_sysdep_segment_value.
1728 (get_sysdep_segment_value): Use ISO C style.
1729 (_nl_load_domain): Use ISO C style. Get rid of redundant
1730 semicolon. Fix typo and formatting in comment.
1731 (_nl_unload_domain): Use ISO C style.
1732
256aa665
SP
1733 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1734
b100f9aa
WN
17352014-07-02 Will Newton <will.newton@linaro.org>
1736
1737 * malloc/obstack.c: Merge from gnulib master.
1738 [HAVE_CONFIG_H]: Remove conditional code.
1739 [!_LIBC]: Include config.h.
1740 [!ELIDE_CODE]: Don't include inttypes.h, include
1741 stdint.h unconditionally.
1742 (print_and_abort): Mark as _Noreturn.
1743 (_obstack_allocated_p): Mark as __attribute_pure__.
1744 (obstack_free): Rename to __obstack_free.
1745 [!__attribute__]: Remove conditional code.
1746 * malloc/obstack.h: Merge from gnulib master.
1747 [__cplusplus]: Move conditional down.
1748 [!__attribute_pure__]: Define __attribute_pure__ here
1749 if it is not already defined.
1750 (_obstack_memory_used): Mark as __attribute_pure__.
1751 [!__obstack_free]: Define as obstack_free.
1752 [__GNUC__]: Remove check for ancient NeXT gcc.
1753
c4c41244
PE
17542014-07-02 Will Newton <will.newton@linaro.org>
1755 Paul Eggert <eggert@cs.ucla.edu>
1756
1757 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1758
e1e041c4
SP
17592014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1760
1761 * resolv/gethnamaddr.c: Add comment warning that the file is
1762 not maintained.
1763
ccf431ff
CD
17642014-07-01 Carlos O'Donell <carlos@redhat.com>
1765
d34570a6
CD
1766 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1767 entries.
1768
ccf431ff
CD
1769 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1770 entry for aio_cancel and aio_cancel64.
1771 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1772 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1773 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1774 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1775 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1776 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1777 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1778 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1779 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1780 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1781 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1782 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1783 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1784
ca06321d
RM
17852014-07-01 Roland McGrath <roland@hack.frob.com>
1786
1787 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1788 * nptl/pthread_mutex_lock.c: Likewise.
1789 * nptl/pthread_mutex_timedlock.c: Likewise.
1790 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1791
a1ac3184
RH
17922014-07-01 Richard henderson <rth@redhat.com>
1793
631021e0
RH
1794 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1795 (__isnan, __isnanl): Remove.
1796 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1797
a1ac3184
RH
1798 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1799
0c1d731f
SL
18002014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1801
1802 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1803
76985d3e
SP
18042014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1805
1806 * resolv/nss_dns/dns-host.c (getanswer_r)
1807 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1808
b0cb3096
JM
18092014-07-01 Joseph Myers <joseph@codesourcery.com>
1810
1811 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1812 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1813 undefine.
1814 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1815 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1816
4d76cb39
RM
18172014-07-01 Roland McGrath <roland@hack.frob.com>
1818
1819 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1820 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1821
1822 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1823 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1824
1825 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1826 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1827 ... here.
1828 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1829 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1830
1831 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1832 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1833 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1834 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1835
1836 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1837 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1838 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1839 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1840 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1841 Moved ...
1842 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1843 ... here.
1844 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1845 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1846 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1847 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1848 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1849 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1850 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1851 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1852 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1853 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1854 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1855 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1856 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1857 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1858 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1859 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1860 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1861 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1862 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1863 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1864 ... here.
1865 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1866 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1867 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1868 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1869 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1870 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1871 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1872 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1873
0cdcad17
DH
18742014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1875
1876 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1877 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1878 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1879 Add sysdep.
1880
9b71d0e3
AZ
18812014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1882
1883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1884
665390c2
JM
18852014-06-30 Joseph Myers <joseph@codesourcery.com>
1886
ae05a9d7
JM
1887 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1888 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1889
a7672a2f
JM
1890 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1891
665390c2
JM
1892 * sysdeps/arm/libm-test-ulps: Regenerated.
1893
d7a05d07
MR
18942014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1895 Roland McGrath <roland@hack.frob.com>
1896
1897 * test-skeleton.c (signal_handler): Kill the whole process group
1898 before killing the child individually.
1899 (main): Report any failure on `setpgid'.
1900
46f1d8a6
RM
19012014-06-30 Roland McGrath <roland@hack.frob.com>
1902
1903 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1904 from _TLS_H to _ARM_NPTL_TLS_H.
1905 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1906 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1907
9c37ec0b
JM
19082014-06-30 Joseph Myers <joseph@codesourcery.com>
1909
ce9c5b3e
JM
1910 [BZ #16539]
1911 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1912 (__expm1l): Return argument unchanged when small but not
1913 subnormal.
1914
3a6e9887
JM
1915 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1916 include macro name.
1917 (_FP_UNPACK_RAW_1_P): Likewise.
1918 (_FP_PACK_RAW_1): Likewise.
1919 (_FP_PACK_RAW_1_P): Likewise.
1920 (_FP_MUL_MEAT_1_wide): Likewise.
1921 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1922 (_FP_MUL_MEAT_1_hard): Likewise.
1923 (_FP_DIV_MEAT_1_imm): Likewise.
1924 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1925 (_FP_DIV_MEAT_1_udiv): Likewise.
1926 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1927 (_FP_UNPACK_RAW_2): Likewise.
1928 (_FP_UNPACK_RAW_2_P): Likewise.
1929 (_FP_PACK_RAW_2): Likewise.
1930 (_FP_PACK_RAW_2_P): Likewise.
1931 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1932 (_FP_MUL_MEAT_2_wide): Likewise.
1933 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1934 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1935 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1936 (_FP_MUL_MEAT_2_gmp): Likewise.
1937 (_FP_DIV_MEAT_2_udiv): Likewise.
1938 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1939 (_FP_FRAC_SRL_4): Likewise.
1940 (_FP_FRAC_SRST_4): Likewise.
1941 (_FP_FRAC_SRS_4): Likewise.
1942 (_FP_UNPACK_RAW_4): Likewise.
1943 (_FP_UNPACK_RAW_4_P): Likewise.
1944 (_FP_PACK_RAW_4): Likewise.
1945 (_FP_PACK_RAW_4_P): Likewise.
1946 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1947 (_FP_MUL_MEAT_4_wide): Likewise.
1948 (_FP_MUL_MEAT_4_gmp): Likewise.
1949 (umul_ppppmnnn): Likewise.
1950 (_FP_DIV_MEAT_4_udiv): Likewise.
1951 (__FP_FRAC_ADD_4): Likewise.
1952 (__FP_FRAC_SUB_3): Likewise.
1953 (__FP_FRAC_SUB_4): Likewise.
1954 (__FP_FRAC_DEC_3): Likewise.
1955 (__FP_FRAC_DEC_4): Likewise.
1956 (__FP_FRAC_ADDI_4): Likewise.
1957 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1958 (_FP_FRAC_SRL_8): Likewise.
1959 (_FP_FRAC_SRS_8): Likewise.
1960
9c37ec0b
JM
1961 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1962 include macro name.
1963 (FP_UNPACK_RAW_EP): Likewise.
1964 (FP_PACK_RAW_E): Likewise.
1965 (FP_PACK_RAW_EP): Likewise.
1966 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1967 (_FP_ISSIGNAN): Likewise.
1968 (_FP_ADD_INTERNAL): Likewise.
1969 (_FP_FMA): Likewise.
1970 (_FP_CMP): Likewise.
1971 (_FP_SQRT): Likewise.
1972 (_FP_TO_INT): Likewise.
1973 (_FP_FROM_INT): Likewise.
1974 (FP_EXTEND): Likewise.
1975 (_FP_DIV_MEAT_N_loop): Likewise.
1976
2125f674
MR
19772014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1978
1979 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1980 throughout.
1981
edea4028
JM
19822014-06-29 Joseph Myers <joseph@codesourcery.com>
1983
1984 [BZ #17097]
1985 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1986 result with correct sign in case of exponents that produce
1987 overflow except for X very close to 1.
1988
dd0ba018
PE
19892014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1990
1991 mktime: merge #if/#ifdef usage from glibc
1992 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1993 as that works with both Glibc's and Gnulib's style.
1994 See thread starting at Siddhesh Poyarekar's bug report at:
1995 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1996
64df73c2
SP
19972014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1998
1999 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2000 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2001 * sysdeps/tile/tilegx/memmove.c: Remove file.
2002
f1eafb41
JM
20032014-06-27 Joseph Myers <joseph@codesourcery.com>
2004
2005 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2006 abi-name definition.
2007 * scripts/soversions.awk: Do not handle or generate ABI lines.
2008 * shlib-versions: Remove ABI entries.
2009 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2010 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2011
58eb0862
RM
20122014-06-27 Roland McGrath <roland@hack.frob.com>
2013
37caf178
RM
2014 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2015 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2016 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2017 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2018 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2019 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2020 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2021 Moved ...
2022 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2023 ... here.
2024 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2025 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2026 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2027 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2028 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2029 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2030 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2031 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2032 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2033 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2034 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2035 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2036 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2037 Moved ...
2038 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2039 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2040 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2041 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2042 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2043 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2044 Moved ...
2045 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2046 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2047 Moved ...
2048 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2049 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2050 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2051 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2052 Moved ...
2053 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2054 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2055 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2056 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2057 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2058 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2059 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2060 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2061 Moved ...
2062 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2063 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2064 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2065 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2066 Moved ...
2067 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2068 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2069 Moved ...
2070 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2071 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2072 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2073 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2074 Moved ...
2075 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2076 ... here.
2077 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2078 Identical file removed.
2079 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2080 Moved ...
2081 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2082 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2083 Identical file removed.
2084 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2085 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2086 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2087 Moved ...
2088 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2089 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2090 Identical file removed.
2091 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2092 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2093 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2094 Identical file removed.
2095 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2096 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2097 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2098 Identical file removed.
2099 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2100 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2101 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2102 Identical file removed.
2103 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2104 Moved ...
2105 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2106 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2107 Identical file removed.
2108 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2109 Moved ...
2110 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2111 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2112 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2113 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2114 Identical file removed.
2115 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2116 Moved ...
2117 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2118 ... here.
2119 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2120 Identical file removed.
2121 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2122 Moved ...
2123 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2124 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2125 Identical file removed.
2126 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2127 Moved ...
2128 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2129 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2130 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2131 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2132 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2133 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2134 Moved ...
2135 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2136 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2137 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2138
58eb0862
RM
2139 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2140 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2141 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2142 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2143 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2144
6f12d062
AS
21452014-06-27 Arjun Shankar <arjun.is@lostca.se>
2146
2147 [BZ #17092]
2148 * nscd/nscd.c (monitor_child): Return exit status of child
2149 instead of return value from wait syscall.
2150
be254932
JM
21512014-06-27 Joseph Myers <joseph@codesourcery.com>
2152
cb403c34
JM
2153 * configure.ac (libc_commonpagesize): Remove variable.
2154 (libc_relro_required): Likewise.
2155 (libc_cv_z_relro): Remove configure test.
2156 * configure: Regenerated.
2157 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2158 variable.
2159 (libc_relro_required): Likewise.
2160 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2161 (libc_relro_required): Likewise.
2162 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2163 (libc_relro_required): Likewise.
2164 * sysdeps/arm/preconfigure: Regenerated.
2165 * sysdeps/ia64/preconfigure: Remove file.
2166 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2167 variable.
2168 (libc_relro_required): Likewise.
2169
be254932
JM
2170 [BZ #16561]
2171 [BZ #16562]
2172 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2173 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2174 recompute overflowing results in original rounding mode.
2175 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2176 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2177 recompute overflowing results in original rounding mode.
2178 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2179 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2180 recompute overflowing results in original rounding mode.
2181 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2182 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2183 recompute overflowing results in original rounding mode.
2184 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2185 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2186 recompute overflowing results in original rounding mode.
2187 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2188 (libc_feholdsetround_ctx): New macro.
2189 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2190 * sysdeps/i386/fpu/libm-test-ulps: Update.
2191 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2192
b351d85a
JM
21932014-06-26 Joseph Myers <joseph@codesourcery.com>
2194
2195 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2196 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2197 corresponding .cpsetup call.
2198
3cb4de47
RM
21992014-06-26 Roland McGrath <roland@hack.frob.com>
2200
2201 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2202 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2203 * sysdeps/arm/Makefile [$(subdir) = csu]
2204 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2205 (static-only-routines): Add aeabi_read_tp here.
2206 (shared-only-routines): Add libc-aeabi_read_tp here.
2207 (CFLAGS-libc-start.c): Add -fexceptions here.
2208 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2209 (sysdep_routines, static-only-routines, shared-only-routines):
2210 Don't add to these here.
2211 (CFLAGS-libc-start.c): Likewise.
2212
2213 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2214 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2215 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2216 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2217 * sysdeps/arm/Makefile [$(subdir) = rt]
2218 (librt-sysdep_routines, librt-shared-only-routines):
2219 Append rt-aeabi_unwind_cpp_pr1 here.
2220 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2221 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2222 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2223 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2224 Append nptl-aeabi_unwind_cpp_pr1 here.
2225 (tests): Filter out tst-cleanupx4 here.
2226 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2227 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2228 Don't do those here.
2229
354426bb
JM
22302014-06-26 Joseph Myers <joseph@codesourcery.com>
2231
2232 * scripts/list-sources.sh: Do not handle ports specially.
2233
28b0a8c9
RM
22342014-06-26 Roland McGrath <roland@hack.frob.com>
2235
a3dd035d
RM
2236 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2237 * sysdeps/arm/feupdateenv.c: Likewise.
2238
28b0a8c9
RM
2239 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2240
e66a8203
JM
22412014-06-26 Joseph Myers <joseph@codesourcery.com>
2242
2243 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2244 trailing whitespace removed.
2245 * scripts/config.guess: Update to version 2014-03-23.
2246 * scripts/config.sub: Update to version 2014-05-01
2247 * scripts/install-sh: Update to version 2013-12-25.23.
2248 * scripts/move-if-change: Update from gnulib.
2249
74171115
SP
22502014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2251
b97c9ce5
SP
2252 * debug/memmove_chk.c: Remove pagecopy.h include.
2253
4000f892
SP
22542014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2255
74171115
SP
2256 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2257 identical to gnulib mktime.
2258
a8779c28
JM
22592014-06-26 Joseph Myers <joseph@codesourcery.com>
2260
e64708de
JM
2261 * configure.ac: Do not test for machine being rs6000. Do not test
2262 for powerpc*-*soft.
2263 * configure: Regenerated.
2264
a8779c28
JM
2265 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2266 test.
2267 * configure: Regenerated.
2268 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2269 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2270 Remove configure test.
2271 * sysdeps/arm/configure: Regenerated.
2272 * sysdeps/nptl/configure.ac: Do not check
2273 libc_cv_asm_cfi_directives.
2274 * sysdeps/nptl/configure: Regenerated.
2275 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2276 * sysdeps/x86_64/nptl/configure: Remove generated file.
2277 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2278 unconditional.
2279 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2280
2aac0a86
SP
22812014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2282
059bf913
SP
2283 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2284 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2285 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2286 it is defined.
2287
4cf5b6d0
SP
2288 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2289 instead of whether it is defined.
2290 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2291 * sysdeps/hppa/dl-machine.h: Likewise.
2292 * sysdeps/ia64/dl-machine.h: Likewise.
2293 * sysdeps/m68k/dl-machine.h: Likewise.
2294 * sysdeps/microblaze/dl-machine.h: Likewise.
2295 * sysdeps/mips/dl-machine.: Likewise.
2296 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2297 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2298 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2299 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2300 * sysdeps/sh/dl-machine.h: Likewise.
2301 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2302 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2303 * sysdeps/tile/dl-machine.h: Likewise.
2304 * sysdeps/x86_64/dl-machine.h: Likewise.
2305
2aac0a86
SP
2306 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2307 code.
2308 (verify_persistent_db): Likewise.
2309
6ad2df0b
RM
23102014-06-26 Roland McGrath <roland@hack.frob.com>
2311
d8a483f3
RM
2312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2313 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2315 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2317 Moved ...
2318 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2319 ... here.
2320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2321 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2323 Identical file removed.
2324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2325 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2327 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2329 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2331 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2333 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2335 Moved ...
2336 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2338 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2340 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2342 Moved ...
2343 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2345 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2347 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2349 Identical file removed.
2350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2351 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2353 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2355 Moved ...
2356 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2357 ... here.
2358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2359 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2361 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2363 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2365 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2367 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2369 Moved ...
2370 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2372 Moved ...
2373 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2375 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2377 Moved ...
2378 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2380 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2381
52ae23b4
RM
2382 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2383 folded into ...
2384 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2385 * sysdeps/unix/sysv/linux/s390/Versions
2386 (libpthread: GLIBC_2.19): New version set.
2387 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2388 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2389 (librt: GLIBC_2.3.3): New version set.
2390 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2391 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2392 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2393 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2394 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2395 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2396 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2397 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2398 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2399 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2400 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2401 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2402 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2403 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2404 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2405 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2406 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2407 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2408 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2409 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2410 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2411 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2412 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2413 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2414 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2415 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2416 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2417 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2418 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2419 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2420 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2421 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2422 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2423 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2424 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2425 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2426 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2427 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2428 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2430 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2431 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2432 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2433 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2434 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2435
39507e4a
RM
2436 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2437 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2438 (__libc_vfork): Define the function under this name.
2439 [!NOT_IN_libc] (__vfork): Make this an alias.
2440 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2441 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2442 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2443 (__libc_vfork): Define the function under this name.
2444 [!NOT_IN_libc] (__vfork): Make this an alias.
2445 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2446 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2447 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2448 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2449 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2450 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2451
e549ee56
RM
2452 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2453 code that was previously under [RESET_PID].
2454 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2455 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2456 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2457
6ad2df0b
RM
2458 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2459 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2460 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2461 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2462 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2463 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2464 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2465 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2466 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2467 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2468 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2469 Moved ...
2470 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2471 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2472 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2473 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2474 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2475 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2476 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2477 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2478 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2479 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2480 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2481 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2482 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2483 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2484 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2485 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2486 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2487 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2488 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2489 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2490 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2491 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2492 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2493 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2494 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2495 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2496 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2497 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2498 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2499
7c1c1d8e
RM
25002014-06-25 Roland McGrath <roland@hack.frob.com>
2501
2502 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2503 that was previously under [RESET_PID].
2504 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2505
3e239be6
JM
25062014-06-25 Joseph Myers <joseph@codesourcery.com>
2507
74385da5
JM
2508 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2509 not undefine and redefine.
2510 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2511 [O_CLOEXEC]: Make code unconditional.
2512 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2513 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2514 <kernel-features.h>.
2515 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2516 conditional variable definition.
2517 (shm_open) [O_CLOEXEC]: Make code unconditional.
2518 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2519 code.
2520
c2570a0b
JM
2521 * configure.ac (USE_REGPARMS): Don't define here.
2522 * configure: Regenerated.
2523 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2524 * sysdeps/i386/configure: Regenerated.
2525
11b076bb
JM
2526 * nptl/createthread.c: Don't include kernel-features.h.
2527 * nptl/pthread_cancel.c: Likewise.
2528 * nptl/pthread_condattr_setclock.c: Likewise.
2529 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2530 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2531 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2532 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2533 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2534 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2535 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2536 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2537 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2538 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2539 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2540 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2541 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2542 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2543 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2544 * nscd/gai.c: Likewise.
2545 * nss/nss_db/db-open.c: Likewise.
2546 * sysdeps/generic/ldsodefs.h: Likewise.
2547 * sysdeps/sh/nptl/tls.h: Likewise.
2548 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2549 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2550 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2551 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2552 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2553 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2554 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2555 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2556 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2557 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2558 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2559 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2560 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2561 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2562 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2563 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2564 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2565 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2566 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2567 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2568 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2569 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2570 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2571 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2572 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2573 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2574 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2575 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2576 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2577 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2578 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2579 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2580 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2581 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2582 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2583 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2584 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2585 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2586 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2587 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2588 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2589 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2590 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2591 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2592 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2593 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2594 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2595 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2596 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2597 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2598 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2599 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2600 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2601 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2602 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2603 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2604 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2605 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2628 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2629 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2630 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2631 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2632 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2633 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2634 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2635 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2636 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2637 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2638 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2639 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2640 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2641 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2642 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2643 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2644 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2645 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2646 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2647 * sysdeps/unix/sysv/linux/system.c: Likewise.
2648 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2649 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2650 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2651 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2652 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2653 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2654 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2655
92072d57
JM
2656 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2657 * configure: Regenerated.
2658 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2659
3e239be6
JM
2660 * configure.ac (base_machine): Do not set specially for particular
2661 machines here.
2662 * configure: Regenerated.
2663 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2664 settings from configure.ac.
2665 * sysdeps/i386/preconfigure: New file.
2666 * sysdeps/s390/preconfigure: Likewise.
2667 * sysdeps/sh/preconfigure: Likewise.
2668 * sysdeps/sparc/preconfigure: Likewise.
2669
06d50baa
RM
26702014-06-25 Roland McGrath <roland@hack.frob.com>
2671
74836003
RM
2672 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2673 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2674 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2675 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2676 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2677 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2678 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2679 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2680 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2681 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2682 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2683 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2684 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2685 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2686 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2687 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2688 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2689 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2690 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2691
2692 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2693 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2694 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2695 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2696 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2697 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2698 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2699 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2700 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2701 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2702 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2703 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2704 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2705 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2706 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2707 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2708 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2709 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2710 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2711 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2712 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2713 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2714 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2715 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2716 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2717 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2718 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2719 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2720 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2721 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2722 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2723 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2724 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2725 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2726 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2727 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2728 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2729 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2730
06d50baa
RM
2731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2732 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2734 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2736 Moved ...
2737 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2738 ... here.
2739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2740 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2742 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2744 Moved ...
2745 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2747 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2749 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2751 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2753 Moved ...
2754 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2756 Moved ...
2757 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2759 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2761 Moved ...
2762 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2764 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2766 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2768 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2770 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2772 Moved ...
2773 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2774 ... here.
2775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2776 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2778 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2780 Moved ...
2781 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2783 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2785 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2787 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2789 Moved ...
2790 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2792 Moved ...
2793 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2795 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2797 Moved ...
2798 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2800 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2802 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2803
a4ccbc9b
JM
28042014-06-25 Joseph Myers <joseph@codesourcery.com>
2805
0828edbf
JM
2806 * timezone/checktab.awk: Update from tzcode 2014e.
2807 * timezone/private.h: Likewise.
2808 * timezone/tzfile.h: Likewise.
2809 * timezone/zdump.c: Likewise.
2810 * timezone/zic.c: Likewise.
2811
a4ccbc9b
JM
2812 * sysdeps/unix/sysv/linux/kernel-features.h
2813 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2814 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2815 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2816 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2817 Remove conditional code.
2818
9aea0cb8
WN
28192014-06-25 Will Newton <will.newton@linaro.org>
2820
2821 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2822 (_dl_arm_cap_flags): Add HWCAP2 values.
2823 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2824 (_DL_HWCAP_COUNT): Increase to 37.
2825 (_DL_HWCAP_LAST): New define.
2826 (_DL_HWCAP2_LAST): New define.
2827 (_dl_procinfo): Add support for printing
2828 AT_HWCAP2 entries.
2829 (_dl_string_hwcap): Use _dl_hwcap_string.
2830
6eaa65ce
AZ
28312014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2832
2833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2834
0f5b7185
JM
28352014-06-25 Joseph Myers <joseph@codesourcery.com>
2836
cfd2ea50
JM
2837 * README: Do not mention ports directory.
2838
cecf2ed4
JM
2839 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2840 Remove macro.
2841 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2842 <kernel-features.h>.
2843 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2844 conditional variable definition.
2845 (__futimes): Update comment.
2846 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2847 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2848
a638de82
JM
2849 [BZ #16560]
2850 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2851 arguments close to 0.
2852 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2853 Likewise.
2854 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2855 Likewise.
2856 * math/auto-libm-test-in: Add more tests of exp10.
2857 * math/auto-libm-test-out: Regenerated.
2858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2859
0f5b7185
JM
2860 * sysdeps/unix/sysv/linux/kernel-features.h
2861 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2862 * sysdeps/unix/sysv/linux/readv.c: Do not include
2863 <kernel-features.h>.
2864 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2865 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2866 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2867 unconditional.
2868 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2869 conditional code.
2870 * sysdeps/unix/sysv/linux/writev.c: Do not include
2871 <kernel-features.h>.
2872 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2873 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2874 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2875 unconditional.
2876 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2877 conditional code.
2878
c7aec4be
WN
28792014-06-25 Will Newton <will.newton@linaro.org>
2880
2881 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2882 comment changes throughout the file. Remove checks
2883 for HAVE_*_H definitions that are not required.
2884 (__gen_tempname): Call abort if an unknown kind value is
2885 passed.
2886
c5241f95
AS
28872014-06-25 Andreas Schwab <schwab@suse.de>
2888
2889 [BZ #17086]
2890 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2891 scalbln, scalblnf, scalblnl in libc.
2892
911422da
SP
28932014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2894
2895 [BZ #17086]
2896 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2897 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2898 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2899
0d749bbe
RM
29002014-06-24 Roland McGrath <roland@hack.frob.com>
2901
2902 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2903 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2904 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2905 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2906 Update #include.
2907 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2908 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2909 Update #include.
2910 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2911 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2912 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2913 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2914 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2915 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2916 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2917 * sysdeps/x86/bits/semaphore.h: ... here.
2918 * sysdeps/x86/nptl/elide.h: Moved ...
2919 * sysdeps/x86/elide.h: ... here.
2920 * sysdeps/x86_64/nptl/Implies: File removed.
2921 * sysdeps/i386/nptl/Implies: File removed.
2922
0ea5d373
JM
29232014-06-24 Joseph Myers <joseph@codesourcery.com>
2924
4060283d
JM
2925 [BZ #16539]
2926 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2927 return the argument for normal arguments with exponent below -64.
2928 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2929 Likewise.
2930 * math/auto-libm-test-in: Add another test of expm1.
2931 * math/auto-libm-test-out: Regenerated.
2932
e7dd3c8c
JM
2933 [BZ #16287]
2934 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2935 calling __erfcl for arguments at least 16.
2936 * math/auto-libm-test-in: Add more tests of erf.
2937 * math/auto-libm-test-out: Regenerated.
2938
0ea5d373
JM
2939 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2940 individual architectures.
2941 * sysdeps/unix/sysv/linux/configure: Regenerated.
2942 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2943 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2944 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2945 (ldd_rewrite_script): Define variable.
2946 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2948 file.
2949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2950 generated file.
2951 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2952 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2953 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2954 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2955 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2956 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2957 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2958 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2959
2307e126
SP
29602014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2961
2962 [BZ #17084]
2963 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2964 Rename member __data.d to __data.__elision_data.
2965
c0a4ed77
W
29662014-06-24 Wilco <wdijkstr@arm.com>
2967
2968 * NEWS: Add 16918 to fixed bug list.
2969
b8c00573
W
29702014-06-24 Wilco <wdijkstr@arm.com>
2971
2972 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2973
b5570d92
W
29742014-06-24 Wilco <wdijkstr@arm.com>
2975
2976 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2977 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2978 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2979 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2980 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2981 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2982 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2983 Use _FPU_MASK_RM.
2984
947bdca2
W
29852014-06-24 Wilco <wdijkstr@arm.com>
2986
2987 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2988
00f669ed
W
29892014-06-24 Wilco <wdijkstr@arm.com>
2990
2991 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2992 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2993 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2994 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2995
db59bad3
W
29962014-06-24 Wilco <wdijkstr@arm.com>
2997
2998 [BZ #16918]
2999 * sysdeps/arm/feupdateenv.c (feupdateenv):
3000 Rewrite to reduce FPSCR accesses and fix return value.
3001
001f7b77
W
30022014-06-24 Wilco <wdijkstr@arm.com>
3003
3004 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3005 Optimize to avoid unnecessary FPSCR writes.
3006 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3007 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3008 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3009 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3010
4841e6a6
W
30112014-06-24 Wilco <wdijkstr@arm.com>
3012
3013 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3014 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3015 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3016 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3017 Call libc_fetestexcept_vfp.
3018 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3019 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3020 __SOFTFP__ ifdef so that they can be built for softfp.
3021
0813022c
SP
30222014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3023
08e5862f
SP
3024 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3025 argument type signed char.
3026
0813022c
SP
3027 * Makerules (check-abi): Dump diff of symlist if the test
3028 fails.
3029
3fc7236a
RM
30302014-06-23 Roland McGrath <roland@hack.frob.com>
3031
aba8ef95
RM
3032 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3033 using abort.
3034
3fc7236a
RM
3035 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3036 Remove unused variable ST.
3037
4da6db51
JM
30382014-06-23 Joseph Myers <joseph@codesourcery.com>
3039
4648909d
JM
3040 [BZ #16354]
3041 [BZ #17061]
3042 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3043 small arguments before calling __expm1.
3044 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3045 small arguments before calling __expm1f.
3046 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3047 small arguments before calling __expm1l.
3048 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3049 Likewise.
3050 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3051 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3052 spurious underflow for some cosh tests.
3053 * math/auto-libm-test-out: Regenerated.
3054 * sysdeps/i386/fpu/libm-test-ulps: Update.
3055
46a3d3c7
JM
3056 [BZ #17050]
3057 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3058 (__ieee754_y1): Set errno if return value overflows.
3059 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3060 (__ieee754_y1f): Set errno if return value overflows.
3061 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3062 (__ieee754_y1l): Set errno if return value overflows.
3063 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3064 (__ieee754_y1l): Set errno if return value overflows.
3065 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3066 * math/auto-libm-test-out: Regenerated.
3067
863893ec
JM
3068 * math/gen-auto-libm-tests.c: Document use of
3069 ignore-zero-inf-sign.
3070 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3071 (input_flags): Add ignore-zero-inf-sign.
3072 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3073 * math/gen-libm-test.pl (generate_testfile): Handle
3074 ignore-zero-inf-sign.
3075 * math/auto-libm-test-in: Mark some cpow tests with
3076 ignore-zero-inf-sign and some with xfail-rounding.
3077 * math/auto-libm-test-out: Regenerated.
3078 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3079 * sysdeps/i386/fpu/libm-test-ulps: Update.
3080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3081
4da6db51
JM
3082 [BZ #16315]
3083 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3084 overflowing or underflowing operations take place with sign of
3085 result.
3086 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3087 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3088 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3089 (__ieee754_pow): Recompute overflowing and underflowing results in
3090 original rounding mode.
3091 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3092 (__powl_helper): Allow negative argument X and scale negated value
3093 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3094 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3095 overflowing or underflowing operations take place with sign of
3096 result.
3097 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3098 Include <math.h>.
3099 * math/auto-libm-test-in: Add more tests of pow.
3100 * math/auto-libm-test-out: Regenerated.
3101 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3102 (pow_tonearest_test_data): Remove.
3103 (pow_test_tonearest): Likewise.
3104 (pow_towardzero_test_data): Likewise.
3105 (pow_test_towardzero): Likewise.
3106 (pow_downward_test_data): Likewise.
3107 (pow_test_downward): Likewise.
3108 (pow_upward_test_data): Likewise.
3109 (pow_test_upward): Likewise.
3110 (main): Don't call removed functions.
3111 * sysdeps/i386/fpu/libm-test-ulps: Update.
3112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3113
5686b236
RM
31142014-06-23 Roland McGrath <roland@hack.frob.com>
3115
3116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3117 Moved ...
3118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3120 Moved ...
3121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3123 Moved ...
3124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3126 Moved ...
3127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3129 File removed.
3130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3131 File removed.
3132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3133 File removed.
3134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3135 File removed.
3136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3137 File removed.
3138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3139 File removed.
3140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3141 File removed.
3142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3143 File removed.
3144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3145 File removed.
3146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3147 File removed.
3148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3149 File removed.
3150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3151 File removed.
3152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3153 Moved ...
3154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3156 Moved ...
3157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3158 ... here.
3159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3160 Moved ...
3161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3163 Moved ...
3164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3166 Moved ...
3167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3169 Moved ...
3170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3172 Moved ...
3173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3175 Moved ...
3176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3178 Moved ...
3179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3182 ... here.
3183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3184 Moved ...
3185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3187 Moved ...
3188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3189 ... here.
3190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3191 Moved ...
3192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3193 ... here.
3194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3195 Moved ...
3196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3197 ... here.
3198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3199 Moved ...
3200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3202 Moved ...
3203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3207 Moved ...
3208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3209 ... here.
3210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3211 Moved ...
3212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3213 ... here.
3214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3215 Moved ...
3216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3218 Moved ...
3219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3221 Moved ...
3222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3224 Moved ...
3225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3227 Moved ...
3228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3229 ... here.
3230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3231 Moved ...
3232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3234 Moved ...
3235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3237 Moved ...
3238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3240 Moved ...
3241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3245 Moved ...
3246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3248 Moved ...
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3251 Moved ...
3252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3253 ... here.
3254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3255 Moved ...
3256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3257 ... here.
3258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3259 Moved ...
3260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3261 ... here.
3262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3263 Moved ...
3264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3266 Moved ...
3267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3269 Moved ...
3270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3272 Moved ...
3273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3274 ... here.
3275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3276 Moved ...
3277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3278 ... here.
3279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3280 Moved ...
3281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3282 ... here.
3283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3284 Moved ...
3285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3287 Moved ...
3288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3289
e6d90d67
WD
32902014-06-23 Will Newton <will.newton@linaro.org>
3291 Wilco <wdijkstr@arm.com>
3292
3293 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3294 implementation. Include get-rounding-mode.h.
3295 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3296 [!libc_feholdsetround_noex_ctx]: Define
3297 libc_feholdsetround_noex_ctx.
3298 [!libc_feholdsetround_noexf_ctx]: Define
3299 libc_feholdsetround_noexf_ctx.
3300 [!libc_feholdsetround_noexl_ctx]: Define
3301 libc_feholdsetround_noexl_ctx.
3302 (libc_feholdsetround_ctx): New function.
3303 (libc_feresetround_ctx): New function.
3304 (libc_feholdsetround_noex_ctx): New function.
3305 (libc_feresetround_noex_ctx): New function.
3306
d42df555
RM
33072014-06-23 Roland McGrath <roland@hack.frob.com>
3308
88a46474
RM
3309 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3310 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3311 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3312 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3313 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3314 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3315
15bed472
RM
3316 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3317 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3318 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3319 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3320 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3321 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3322 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3323 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3324 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3325 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3326 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3327 Moved ...
3328 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3329 ... here.
3330 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3331 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3332 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3333 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3334 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3335 Moved ...
3336 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3337 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3338 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3339 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3340 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3341 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3342 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3343 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3344 Moved ...
3345 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3346 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3347 Moved ...
3348 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3349 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3350 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3351 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3352 Moved ...
3353 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3354 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3355 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3356 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3357 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3358 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3359 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3360 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3361 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3362 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3363 Moved ...
3364 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3365 ... here.
3366 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3367 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3368 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3369 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3370 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3371 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3372 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3373 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3374 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3375 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3376 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3377 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3378 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3379 Moved ...
3380 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3381 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3382 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3383 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3384 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3385 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3386 Moved ...
3387 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3388 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3389 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3390 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3391 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3392
d42df555
RM
3393 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3394 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3395 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3396 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3397 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3398 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3399 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3400 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3401 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3402 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3403 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3404 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3405 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3406 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3407 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3408 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3409 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3410 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3411 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3412 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3413 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3414 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3415 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3416 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3417 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3418 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3419 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3420 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3421
76e5216e
JM
34222014-06-23 Joseph Myers <joseph@codesourcery.com>
3423
3424 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3425 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3426 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3427 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3428 (IPV6_PMTUDISC_INTERFACE): Likewise.
3429 (IPV6_PMTUDISC_OMIT): Likewise.
3430
7a81cbcc
AS
34312014-06-23 Andreas Schwab <schwab@suse.de>
3432
3433 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3434 Remove unused errout label.
3435
db224009
AZ
34362014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3437
3438 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3439 macro: hardware supports Vector Crypto instructions.
3440
f393b4aa
WN
34412014-06-23 Will Newton <will.newton@linaro.org>
3442
cc7d0447
WN
3443 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3444 rather than __builtin_expect.
3445
d6d06225
WN
3446 * elf/dl-lookup.c (undefined_msg): Remove variable.
3447 (_dl_lookup_symbol_x): Replace undefined_msg with string
3448 literal.
3449
f393b4aa
WN
3450 * elf/dl-lookup.c (do_lookup_unique): New function.
3451 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3452 to a separate function.
3453
ac60763e
AS
34542014-06-23 Andreas Schwab <schwab@suse.de>
3455
3456 [BZ #17079]
3457 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3458 before reading the next line.
3459
c5c13355
WN
34602014-06-23 Will Newton <will.newton@linaro.org>
3461
3462 * test-skeleton.c (signal_handler): Use printf and %m
3463 rather than perror. Use printf rather than fprintf to
3464 stderr. Use puts rather than fputs to stderr.
3465 (main): Likewise.
3466
bd3675f9
LC
34672014-06-22 Ludovic Courtès <ludo@gnu.org>
3468
3469 * nscd/nscd.c (thread_info_t): Remove typedef.
3470 (thread_info): Remove variable.
3471
d03efb2f
AM
34722014-06-21 Allan McRae <allan@archlinux.org>
3473
3474 * NEWS: Mention CVE-2014-4043.
3475
bc4a86fa
RM
34762014-06-20 Roland McGrath <roland@hack.frob.com>
3477
dc9a54f8
RM
3478 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3479 * nptl/smp.h: ... here.
3480
bd7022c4
RM
3481 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3482
26ffd5e6
RM
3483 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3484 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3485 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3486 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3487
93a6d082
RM
3488 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3489 * nptl/stack-aliasing.h: New file.
3490 * sysdeps/i386/i686/stack-aliasing.h: New file.
3491 * sysdeps/i386/i686/nptl/Makefile: File removed.
3492 * sysdeps/x86_64/stack-aliasing.h: New file.
3493 * sysdeps/x86_64/nptl/Makefile
3494 (CFLAGS-pthread_create.c): Variable removed.
3495
bc4a86fa
RM
3496 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3497 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3498 old file.
3499 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3500 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3501 old file.
3502
2272ffc1
JM
35032014-06-21 Joseph Myers <joseph@codesourcery.com>
3504
3505 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3506 (__ASSUME_SIGFRAME_V2): Remove macro.
3507 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3508 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3509 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3510 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3511 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3512 Declare as function. Remove conditional macro definitions.
3513 (__default_rt_sa_restorer): Likewise.
3514 (__default_sa_restorer_v1): Remove declaration.
3515 (__default_sa_restorer_v2): Likewise.
3516 (__default_rt_sa_restorer_v1): Likewise.
3517 (__default_rt_sa_restorer_v2): Likewise.
3518 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3519 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3520 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3521
4b88139b
RM
35222014-06-20 Roland McGrath <roland@hack.frob.com>
3523
3524 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3525 (libpthread-routines): Add sysdep.
3526 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3527 * sysdeps/unix/sysv/linux/sparc/Versions
3528 (libpthread: GLIBC_2.3.3): New version set.
3529 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3530 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3531 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3532 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3533 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3534 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3535 Moved ...
3536 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3537 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3538 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3539 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3540 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3541 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3542 * sysdeps/sparc/nptl/sem_init.c: ... here.
3543 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3544 * sysdeps/sparc/nptl/sem_post.c: ... here.
3545 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3546 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3547 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3548 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3549 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3550 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3551 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3552 (libpthread-routines): Add cpu_relax.
3553 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3554 File removed.
3555 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3556 (librt: GLIBC_2.3.3): New version set.
3557 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3558 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3559 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3560 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3561 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3563 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3564 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3565 Moved ...
3566 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3567 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3568 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3569 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3570 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3572 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3574 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3576 Moved ...
3577 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3578 Update #include.
3579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3580 Moved ...
3581 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3582 Update #include.
3583 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3584 Moved ...
3585 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3586 Update #include.
3587 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3588 Moved ...
3589 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3590 Update #include.
3591 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3592 Moved ...
3593 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3594 Update #include.
3595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3596 Moved ...
3597 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3598 Update #include.
3599 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3600 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3601 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3602 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3606 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3608 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3610 Moved ...
3611 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3612 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3613 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3615 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3616
d7109027
JM
36172014-06-20 Joseph Myers <joseph@codesourcery.com>
3618
9bc6103d
JM
3619 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3620 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3621 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3622 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3623 * nscd/nscd.c: Likewise.
3624 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3625 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3626 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3627 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3628
d7109027
JM
3629 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3630 <kernel-features.h>.
3631 (init_mq_netlink): Remove conditional have_sock_cloexec
3632 definitions. Remove code conditional on have_sock_cloexec < 0.
3633 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3634 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3635 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3636 <kernel-features.h>.
3637 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3638 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3639
d92d8f8a
L
36402014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3641
3642 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3643 Add tests for memset_chk and memset.
3644
3645 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3646 with AVX2_Usable.
3647
4e6d2347
MR
36482014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3649
257ce712
MR
3650 [BZ #16046]
3651 * elf/tst-dl-iter-static.c: New file.
3652 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3653
4e6d2347
MR
3654 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3655 error.
3656
a2a76afe
JM
36572014-06-20 Joseph Myers <joseph@codesourcery.com>
3658
7fd00f99
JM
3659 * sysdeps/unix/sysv/linux/kernel-features.h
3660 (__ASSUME_F_GETOWN_EX): Remove macro.
3661 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3662 <kernel-features.h>.
3663 (miss_F_GETOWN_EX): Remove variable or macro.
3664 (do_fcntl): Do not check miss_F_GETOWN_EX.
3665 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3666
4a103975
JM
3667 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3668 Remove macro.
3669 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3670 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3671 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3672
a2a76afe
JM
3673 * sysdeps/unix/sysv/linux/kernel-features.h
3674 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3675 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3676 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3677 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3678
90e5dd48
MR
36792014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3680
3681 [BZ #17075]
3682 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3683 Fix calculation of the symbol's value.
3684 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3685 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3686 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3687 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3688 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3689 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3690 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3691 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3692 (modules-names): Add `tst-armtlsdescmod',
3693 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3694 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3695 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3696 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3697 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3698 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3699 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3700 ($(objpfx)tst-armtlsdescloc): New dependency.
3701 ($(objpfx)tst-armtlsdescextnow): Likewise.
3702 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3703 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3704 TLS scheme support.
3705 * sysdeps/arm/configure: Regenerate.
3706
809fdf0d
JM
37072014-06-20 Joseph Myers <joseph@codesourcery.com>
3708
3709 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3710 (__atfct_seterrno_2): Likewise.
3711 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3712 <kernel-features.h>.
3713 (__ASSUME_ATFCTS): Do not undefine and redefine.
3714 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3715 (__have_atfcts): Remove conditional definition.
3716 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3717 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3718 unreachable if [__ASSUME_ATFCTS].
3719 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3720 not undefine and redefine.
3721 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3722 <kernel-features.h>.
3723 (faccessat) [__NR_faccessat]: Make code unconditional.
3724 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3725 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3726 <kernel-features.h>.
3727 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3728 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3729 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3730 <kernel-features.h>.
3731 (fchownat) [__NR_fchownat]: Make code unconditional.
3732 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3733 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3734 <kernel-features.h>.
3735 (futimesat) [__NR_futimesat]: Make code unconditional.
3736 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3737 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3738 <kernel-features.h>.
3739 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3740 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3741 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3742 <kernel-features.h>.
3743 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3744 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3745 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3746 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3747 <kernel-features.h>.
3748 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3749 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3750 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3751 <kernel-features.h>.
3752 (linkat) [__NR_linkat]: Make code unconditional.
3753 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3754 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3755 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3756 <kernel-features.h>.
3757 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3758 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3759 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3760 <kernel-features.h>.
3761 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3762 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3763 * sysdeps/unix/sysv/linux/openat.c: Do not include
3764 <kernel-features.h>.
3765 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3766 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3767 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3768 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3769 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3770 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3771 <kernel-features.h>.
3772 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3773 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3774 result of INLINE_SYSCALL directly, not via int variable.
3775 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3776 <kernel-features.h>.
3777 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3778 (renameat) [__NR_renameat]: Make code unconditional.
3779 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3780 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3781 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3782 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3783 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3784 (__ASSUME_ATFCTS): Do not undefine and redefine.
3785 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3786 <kernel-features.h>.
3787 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3788 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3789 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3790 <kernel-features.h>.
3791 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3792 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3793 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3794 (__ASSUME_ATFCTS): Do not undefine and redefine.
3795 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3796 <kernel-features.h>.
3797 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3798 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3799 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3800 <kernel-features.h>.
3801 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3802 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3803
224c6c51
L
38042014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3805
3806 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3807
aa6ec754
AS
38082014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3809
3810 [BZ #17069]
3811 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3812 constructed tree before returning error.
3813 * posix/bug-regexp36.c: Expand test case.
3814
d8c2869d
SL
38152014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3816
3ef6b850
SL
3817 [BZ #6803]
3818 * math/libm-test.inc (scalbln_test_date):
3819 Add errno expectations.
3820 * math/w_scalblnf.c: New File.
3821 Add wrapper which checks for setting errno to ERANGE.
3822 Add weak_alias for corresponding scalbln function.
3823 * math/w_scalbln.c: Likewise.
3824 * math/w_scalblnl.c: Likewise.
3825 * math/Makefile (libm-calls): Add w_scalbln.
3826 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3827 Remove weak_alias for corresponding scalbln function.
3828 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3829 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3830 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3831 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3832 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3833 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3834 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3835 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3836 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3837 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3838 Remove long_double_symbol for scalblnl function in libm, libc.
3839 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3840 Add wrapper which checks for setting errno to ERANGE.
3841 Add long_double_symbol for scalblnl function in libm, libc.
3842 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3843 Remove long_double_symbol for scalblnl in libm.
3844 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3845 Add wrapper which checks for setting errno to ERANGE.
3846 Add long_double_symbol for scalblnl function in libm.
3847 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3848 Do not use wrapper because of own implementation.
3849
c8daec5c
L
38502014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3851
3852 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3853 3 bytes for __pad1 for x32.
3854 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3855
5c74e47c
LM
38562014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3857 H.J. Lu <hongjiu.lu@intel.com>
3858
3859 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3860 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3861 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3862 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3863 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3864
4d43ef1e
AS
38652014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3866
3867 [BZ #17069]
3868 * posix/regcomp.c (parse_expression): Deallocate partially
3869 constructed tree before returning error.
3870 * posix/Makefile.c (tests): Add bug-regex36.
3871 (generated): Add bug-regex36.mtrace.
3872 (tests-special): Add $(objpfx)bug-regex36-mem.out
3873 (bug-regex36-ENV): New variable.
3874 ($(objpfx)bug-regex36-mem.out): New rule.
3875 * posix/bug-regex36.c: New file.
3876
51a7380b
WN
38772014-06-19 Will Newton <will.newton@linaro.org>
3878
3879 * malloc/malloc.c (systrim): If extra is zero then return
3880 early.
3881
91b84fe5
SP
38822014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3883
3884 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3885
f940b965
RE
38862014-06-19 Richard Earnshaw <rearnsha@arm.com>
3887
3888 * sysdeps/aarch64/strchr.S: New file.
3889
4ba7a00f
JM
38902014-06-18 Joseph Myers <joseph@codesourcery.com>
3891
3892 [BZ #17022]
3893 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3894 from arguments -2 or below.
3895 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3896 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3897
b3a9f56b
AS
38982014-06-18 Andreas Schwab <schwab@suse.de>
3899
3900 [BZ #17062]
3901 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3902 of a bracket expr not to run off the end of the string.
3903 * posix/Makefile (tests): Add tst-fnmatch3.
3904 * posix/tst-fnmatch3.c: New file.
3905
85d89278
JM
39062014-06-18 Joseph Myers <joseph@codesourcery.com>
3907
3908 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3909 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3910 [$(cross-compiling) = no]: Likewise.
3911 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3912 [$(cross-compiling) = no]: Likewise.
3913
754c5a08
RS
39142014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3915
3916 [BZ #17031]
3917 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3918 double, adjusted for any remainder from the high double.
3919 * math/libm-test.inc (nearbyint): Add tests.
3920 (rint): Likewise.
3921
556f529d
AZ
39222014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3923
3924 * nptl/sysdeps/powerpc/Makefile: Moved ...
3925 * sysdeps/powerpc/nptl/Makefile: ... here.
3926 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3927 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3928 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3929 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3930 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3931 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3932 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3933 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3934 * nptl/sysdeps/powerpc/tls.h: Moved ...
3935 * sysdeps/powerpc/nptl/tls.h: ... here.
3936
91c03c53
JM
39372014-06-16 Joseph Myers <joseph@codesourcery.com>
3938
3939 [BZ #16681]
3940 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3941 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3942 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3943 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3944 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3945 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3946 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3947 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3948 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3949
a76e63c5
AS
39502014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3951
3952 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3953
f2f6d82f
AS
39542014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3955
ea8a15f6
AS
3956 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3957 defined operator.
3958
f2f6d82f
AS
3959 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3960 $TIMEOUTFACTOR.
3961
a7291117
FW
39622014-06-16 Florian Weimer <fweimer@redhat.com>
3963
3964 [BZ #17058]
3965 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3966 non-executed part of the test.
3967
3d7c00e3
AS
39682014-06-16 Andreas Schwab <schwab@suse.de>
3969
3970 * string/bits/string2.h (strdup, strndup): Update feature guard.
3971
6957fb31
DM
39722014-06-14 David S. Miller <davem@davemloft.net>
3973
3974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3975
11b9e55b
AS
39762014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3977
1d2a0492
AS
3978 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3979 that was previously under [RESET_PID].
3980 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3981
11b9e55b
AS
3982 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3983 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3984 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3985 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3986 (__libc_vfork): New strong alias.
3987 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3988
0f6901d0
AK
39892014-06-14 Andi Kleen <ak@linux.intel.com>
3990
3991 * sysdeps/generic/elide.h: New file.
3992
38bbbb9f
SL
39932014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3994
3995 * Makefile (installed-headers): Adjust path of pthread.h header.
3996
45193bb8
RM
39972014-06-13 Roland McGrath <roland@hack.frob.com>
3998
9a25fd1e
RM
3999 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4000 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4001 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4002 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4003
4004f7e4
RM
4004 * nptl/sysdeps/s390/Makefile: Moved ...
4005 * sysdeps/s390/nptl/Makefile: ... here.
4006 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4007 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4008 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4009 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4010 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4011 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4012 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4013 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4014 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4015 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4016 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4017 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4018 * nptl/sysdeps/s390/tls.h: Moved ...
4019 * sysdeps/s390/nptl/tls.h: ... here.
4020
45193bb8
RM
4021 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4022 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4023
f6fdf533
DM
40242014-06-13 David S. Miller <davem@davemloft.net>
4025
4026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4029 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4033 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4034 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4035 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4036 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4037 Remove RESET_PID cpp guards.
4038 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4039 Remove RESET_PID cpp guards.
4040 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4041
f5d71e14
AS
40422014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4043
4044 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4045 __sp to uintptr_t.
4046
b7aa8caa
AK
40472014-06-13 Andi Kleen <ak@linux.intel.com>
4048
4b266200
AZ
4049 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4050 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4051 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4052 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4053 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4054 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4055 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4056 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4057 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4058 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4059 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4060 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4061 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4062 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4063 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4064 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4065 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4066 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4067 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4068 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
4069
4070 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
4071 (pthread_rwlock_rdlock): Add elision.
4072 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4073 (pthread_rwlock_wrlock): Add elision.
4074 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4075 (pthread_rwlock_trywrlock): Add elision.
4076 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4077 (pthread_rwlock_tryrdlock): Add elision.
4078 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4079 (pthread_rwlock_tryrdlock): Add elision unlock.
4080 * nptl/sysdeps/pthread/pthread.h:
4081 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4082 (PTHREAD_RWLOCK_INITIALIZER,
4083 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4084 Handle new elision field.
4085 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4086 * sysdeps/arm/nptl/bits/pthreadtypes.h
4087 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4088 * sysdeps/sh/nptl/bits/pthreadtypes.h
4089 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4090 * sysdeps/tile/nptl/bits/pthreadtypes.h
4091 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4092 * sysdeps/a/nptl/bits/pthreadtypes.h
4093 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4094 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4095 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4096 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4097 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4098 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4099 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4100 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4101 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4102 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4103 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4104 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4105 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4106 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4107 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4108 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4109 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4110 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4111 (elision_init): Set try_xbegin to zero when no RTM.
4112 * sysdeps/x86/nptl/bits/pthreadtypes.h
4113 (pthread_rwlock_t): Change __pad1 to __rwelision.
4114 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 4115
a832bdd3
AK
41162014-06-13 Andi Kleen <ak@linux.intel.com>
4117
4118 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4119 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4120 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4121 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4122
995a46bb
MI
41232014-06-13 Meador Inge <meadori@codesourcery.com>
4124
4125 [BZ #16996]
03ed7738 4126 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
4127 that the cached result has been set before returning it.
4128
45262aee
RM
41292014-06-12 Roland McGrath <roland@hack.frob.com>
4130
febf6cc5
RM
4131 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4132 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4133 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4134 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4135 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4136 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4137
e2682246
RM
4138 * nptl/sysdeps/sparc/Makefile: Moved ...
4139 * sysdeps/sparc/nptl/Makefile: ... here.
4140 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4141 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4142 * nptl/sysdeps/sparc/tls.h: Moved ...
4143 * sysdeps/sparc/nptl/tls.h: ... here.
4144 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4145 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4146 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4147 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4148 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4149 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4150 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4151 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4152 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4153 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4154 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4155 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4156 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4157 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4158 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4159 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4160 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4161 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4162 Update #include.
4163 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4164 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4165 Update #include.
4166 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4167 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4168 Update #include.
4169 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4170 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4171 Update #include.
4172
b0725f43
RM
4173 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4174
b14368b8
RM
4175 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4176 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4177
c5620eb3
RM
4178 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4179 (struct list_links): Type removed.
4180 (struct thread_node, struct timer_node): Replace struct list_links
4181 with struct list_head.
4182 (list_unlink_ip): Likewise.
4183 * sysdeps/pthread/timer_routines.c
4184 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4185 (list_append, list_insbefore): Likewise.
4186 (list_init): Function removed.
4187 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
4188 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4189 * sysdeps/pthread/Makefile: ... here, new file.
4190
4191 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4192 * sysdeps/nptl/Implies: ... here.
4193 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4194 * nptl/sysdeps/pthread/list.h: Moved ...
4195 * include/list.h: ... here.
4196 * nptl/sysdeps/pthread/createthread.c: Moved ...
4197 * nptl/createthread.c: ... here.
4198 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4199 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4200 * nptl/pt-longjmp.c: ... here.
4201 * nptl/sysdeps/pthread/Makefile: Moved ...
4202 * sysdeps/nptl/Makefile: ... here.
4203 * nptl/sysdeps/pthread/Subdirs: Moved ...
4204 * sysdeps/nptl/Subdirs: ... here.
4205 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4206 * sysdeps/nptl/aio_misc.h: ... here.
4207 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4208 * sysdeps/nptl/bits/libc-lock.h: ... here.
4209 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4210 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4211 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4212 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4213 * nptl/sysdeps/pthread/configure: Moved ...
4214 * sysdeps/nptl/configure: ... here.
4215 * nptl/sysdeps/pthread/configure.ac: Moved ...
4216 * sysdeps/nptl/configure.ac: ... here.
4217 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4218 * sysdeps/nptl/gai_misc.h: ... here.
4219 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4220 * sysdeps/nptl/librt-cancellation.c: ... here.
4221 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4222 * sysdeps/nptl/malloc-machine.h: ... here.
4223 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4224 * sysdeps/nptl/pthread-functions.h: ... here.
4225 * nptl/sysdeps/pthread/pthread.h: Moved ...
4226 * sysdeps/nptl/pthread.h: ... here.
4227 * nptl/sysdeps/pthread/setxid.h: Moved ...
4228 * sysdeps/nptl/setxid.h: ... here.
4229 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4230 * sysdeps/nptl/sigfillset.c: ... here.
4231 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4232 * sysdeps/nptl/tcb-offsets.h: ... here.
4233 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4234 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4235 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4236 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4237 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4238 * sysdeps/pthread/allocalim.h: ... here.
4239 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4240 * sysdeps/pthread/bits/sigthread.h: ... here.
4241 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4242 * sysdeps/pthread/flockfile.c: ... here.
4243 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4244 * sysdeps/pthread/ftrylockfile.c: ... here.
4245 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4246 * sysdeps/pthread/funlockfile.c: ... here.
4247 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4248 * sysdeps/pthread/posix-timer.h: ... here.
4249 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4250 * sysdeps/pthread/timer_create.c: ... here.
4251 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4252 * sysdeps/pthread/timer_delete.c: ... here.
4253 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4254 * sysdeps/pthread/timer_getoverr.c: ... here.
4255 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4256 * sysdeps/pthread/timer_gettime.c: ... here.
4257 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4258 * sysdeps/pthread/timer_routines.c: ... here.
4259 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4260 * sysdeps/pthread/timer_settime.c: ... here.
4261 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4262 * sysdeps/pthread/tst-timer.c: ... here.
4263 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4264 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4265
e876b090
RM
4266 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4267 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4268
f6b07b3d
RM
4269 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4270 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4271 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4272 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4273 Update #include target.
4274 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4275 * sysdeps/i386/i686/nptl/Makefile: ... here.
4276 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4277 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4278 Update #include target.
4279 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4280 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4281 * nptl/sysdeps/i386/Makefile: Moved ...
4282 * sysdeps/i386/nptl/Makefile: ... here.
4283 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4284 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4285 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4286 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4287 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4288 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4289 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4290 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4291 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4292 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4293 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4294 * nptl/sysdeps/i386/tls.h: Moved ...
4295 * sysdeps/i386/nptl/tls.h: ... here.
4296
45262aee
RM
4297 * sysdeps/sh/Makefile [$(subdir) = csu]
4298 (gen-as-const-headers): Add tcb-offsets.sym.
4299 * nptl/sysdeps/sh/Makefile: File removed.
4300 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4301 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4302 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4303 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4304 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4305 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4306 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4307 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4308 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4309 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4310 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4311 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4312 * nptl/sysdeps/sh/tls.h: Moved ...
4313 * sysdeps/sh/nptl/tls.h: ... here.
4314 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4315 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4316 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4317 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4318 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4319 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4320 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4321 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4322 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4323 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4324 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4325 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4326 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4327 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4328 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4329 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4330 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4331 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4332 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4333 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4334 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4335 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4336 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4337 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4338 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4339 Moved ...
4340 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4341 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4342 Moved ...
4343 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4344 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4345 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4346 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4347 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4348 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4349 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4350 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4351 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4352 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4353 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4354 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4355 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4356 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4357 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4358 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4359 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4360 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4361 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4362
35a5e3e3
SL
43632014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4364
4365 * posix/spawn_faction_addopen.c: Include string.h.
4366
14642b85
RM
43672014-06-11 Roland McGrath <roland@hack.frob.com>
4368
4369 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4370 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4371 * nptl/sysdeps/x86_64/Makefile: Moved ...
4372 * sysdeps/x86_64/nptl/Makefile: ... here.
4373 * nptl/sysdeps/x86_64/configure: Moved ...
4374 * sysdeps/x86_64/nptl/configure: ... here.
4375 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4376 * sysdeps/x86_64/nptl/configure.ac: ... here.
4377 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4378 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4379 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4380 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4381 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4382 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4383 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4384 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4385 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4386 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4387 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4388 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4389 * nptl/sysdeps/x86_64/tls.h: Moved ...
4390 * sysdeps/x86_64/nptl/tls.h: ... here.
4391 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4392 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4393 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4394 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4395
4396 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4397
31c44fea
AZ
43982014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4399
4400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4401
e81a4f9a
JM
44022014-06-11 Joseph Myers <joseph@codesourcery.com>
4403
4404 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4405 type.
4406 [POSIX] (off_t): Likewise.
4407 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4408 [POSIX] (S_ISBLK): Require macro.
4409 [POSIX] (S_ISCHR): Likewise.
4410 [POSIX] (S_ISDIR): Likewise.
4411 [POSIX] (S_ISFIFO): Likewise.
4412 [POSIX] (S_ISREG): Likewise.
4413 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4414 optional-macro.
4415 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4416 type.
4417 [POSIX] (time_t): Likewise.
4418 [POSIX] (timer_t): Likewise.
4419
89e435f3
FW
44202014-06-11 Florian Weimer <fweimer@redhat.com>
4421
4422 [BZ #17048]
4423 * posix/spawn_int.h (struct __spawn_action): Make the path string
4424 non-const to support deallocation.
4425 * posix/spawn_faction_addopen.c
4426 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4427 * posix/spawn_faction_destroy.c
4428 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4429 path in all spawn_do_open actions.
4430 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4431 posix_spawn_file_actions_addopen.
4432
c3a2ebe1
CM
44332014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4434
4435 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4436 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4437 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4438 conditional code always true.
4439 (__libc_vfork): New alias.
4440
9503784a
RM
44412014-06-11 Roland McGrath <roland@hack.frob.com>
4442
c9cab3d2
RM
4443 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4444 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4445
d3996c79
RM
4446 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4447
ba5ec611
RM
4448 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4449 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4450
f12b4814
RM
4451 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4452 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4453
9503784a
RM
4454 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4455 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4456
e23d3d26
VR
44572014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4458
4459 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4460 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4461 multiarch strcmp for PPC64.
4462 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4463 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4465 multiarch optimizations.
4466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4467 (__libc_ifunc_impl_list): Likewise.
4468
42b1161e
SP
44692014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4470
4471 * benchtests/scripts/validate_benchout.py: New script.
4472 * benchtests/Makefile (bench-func): Call it.
4473 * benchtests/scripts/benchout.schema.json: New file.
4474
2d0fc4dc
CM
44752014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4476
4a594c34
AZ
4477 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4478 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4479 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4480 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4481 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4482 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4483 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4484 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4485 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4486 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4487 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4488 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4489 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4490 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4491 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4492 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 4494 Moved ...
4a594c34 4495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 4496 ... here.
4a594c34 4497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 4498 Moved ...
4a594c34
AZ
4499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 4501 Moved ...
4a594c34 4502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 4503 ... here.
4a594c34 4504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 4505 Moved ...
4a594c34 4506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 4507 ... here.
4a594c34 4508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 4509 Moved ...
4a594c34
AZ
4510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 4512 Moved ...
4a594c34 4513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 4514 ... here.
4a594c34 4515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 4516 Moved ...
4a594c34 4517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 4518 ... here.
4a594c34 4519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 4520 Moved ...
4a594c34
AZ
4521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 4523 Moved ...
4a594c34 4524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 4525 ... here.
4a594c34 4526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 4527 Moved ...
4a594c34 4528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 4529 ... here.
4a594c34 4530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 4531 Moved ...
4a594c34 4532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 4533 ... here.
4a594c34 4534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 4535 Moved ...
4a594c34
AZ
4536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 4538 Moved ...
4a594c34 4539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 4540 ... here.
4a594c34 4541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 4542 Moved ...
4a594c34 4543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 4544 ... here.
4a594c34 4545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 4546 Moved ...
4a594c34 4547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 4548 ... here.
4a594c34 4549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 4550 Moved ...
4a594c34
AZ
4551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 4553 Moved ...
4a594c34 4554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 4555 ... here.
4a594c34 4556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 4557 Moved ...
4a594c34 4558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 4559 ... here.
4a594c34 4560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 4561 Moved ...
4a594c34
AZ
4562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 4564 Moved ...
4a594c34 4565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 4566 ... here.
4a594c34 4567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 4568 Moved ...
4a594c34
AZ
4569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 4571 Moved ...
4a594c34
AZ
4572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 4574 Moved ...
4a594c34 4575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 4576 ... here.
4a594c34 4577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 4578 Moved ...
4a594c34 4579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 4580 ... here.
4a594c34 4581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 4582 Moved ...
4a594c34 4583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 4584 ... here.
4a594c34 4585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 4586 Moved ...
4a594c34
AZ
4587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 4589 Moved ...
4a594c34 4590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 4591 ... here.
4a594c34 4592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 4593 Moved ...
4a594c34 4594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 4595 ... here.
4a594c34
AZ
4596 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4597 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4598 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4599 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4600 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 4601 Moved ...
4a594c34 4602 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 4603 ... here.
4a594c34
AZ
4604 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4605 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4606 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4607 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4608 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4609 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4610 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4611 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4612 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4613 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4614 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4615 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4616 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 4617 Moved ...
4a594c34
AZ
4618 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4619 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 4620 Moved ...
4a594c34
AZ
4621 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4622 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4623 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4624 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 4625 Moved ...
4a594c34
AZ
4626 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4627 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4628 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4629 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4630 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4631 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4632 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 4633
0570cfed
W
46342014-06-10 Wilco <wdijkstr@arm.com>
4635
4636 * math/test-fenv-return.c: New file.
4637 * math/Makefile: Add new test test-fenv-return.
4638
f8ba1b56
JM
46392014-06-10 Joseph Myers <joseph@codesourcery.com>
4640
4641 [BZ #17042]
4642 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4643 when x - 1 is zero.
4644 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4645 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4646 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4647 0.0L for an argument of 1.0L.
4648 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4649 Likewise.
4650 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4651 value when x - 1 is zero.
4652 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4653 * sysdeps/i386/fpu/libm-test-ulps: Update.
4654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4655
2c3520d9
BO
46562014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4657
4658 [BZ #15119]
4659 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4660
acaa4d24
RM
46612014-06-09 Roland McGrath <roland@hack.frob.com>
4662
4663 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4664 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4665
962b744d
RM
46662014-06-09 Roland McGrath <roland@hack.frob.com>
4667
d752f0cc
RM
4668 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4669 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4670
34eda6d1
RM
4671 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4672 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4673
50f0a637
RM
4674 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4675 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4676
08f41f04
RM
4677 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4678 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4679
962b744d
RM
4680 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4681 if not already defined.
4682 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4683 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4684 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4685 (TLS_INIT_TP): Use it.
4686 (TLS_DEFINE_INIT_TP): New macro.
4687 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4688
09f19b05
JM
46892014-06-09 Joseph Myers <joseph@codesourcery.com>
4690
4691 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4692 constant.
4693 [POSIX] (IXANY): Likewise.
4694 [POSIX] (OLCUC): Likewise.
4695 [POSIX || POSIX2008] (CBAUD): Do not allow.
4696 [POSIX || POSIX2008] (DEFECHO): Likewise.
4697 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4698 [POSIX || POSIX2008] (ECHOKE): Likewise.
4699 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4700 [POSIX || POSIX2008] (EXTA): Likewise.
4701 [POSIX || POSIX2008] (EXTB): Likewise.
4702 [POSIX || POSIX2008] (FLUSHO): Likewise.
4703 [POSIX || POSIX2008] (LOBLK): Likewise.
4704 [POSIX || POSIX2008] (PENDIN): Likewise.
4705 [POSIX || POSIX2008] (SWTCH): Likewise.
4706 [POSIX || POSIX2008] (VDISCARD): Likewise.
4707 [POSIX || POSIX2008] (VDSUSP): Likewise.
4708 [POSIX || POSIX2008] (VLNEXT): Likewise.
4709 [POSIX || POSIX2008] (VREPRINT): Likewise.
4710 [POSIX || POSIX2008] (VSTATUS): Likewise.
4711 [POSIX || POSIX2008] (VWERASE): Likewise.
4712 (B*): Change to B[0123456789]*.
4713 * conform/data/time.h-data [POSIX || UNIX98]
4714 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4715 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4716 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4717 [POSIX] (tm_*): Do not allow.
4718
686554bf
JM
47192014-06-07 Joseph Myers <joseph@codesourcery.com>
4720
4721 * Makefile (install): Don't set LANGUAGE.
4722 * Makefile.in (install): Likewise.
4723 * assert/Makefile (test-assert-ENV): Remove variable.
4724 (test-assert-perr-ENV): Likewise.
4725 * elf/Makefile (neededtest4-ENV): Likewise.
4726 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4727 [$(cross-compiling) = no]: Don't set LANGUAGE.
4728 * io/ftwtest-sh (LANG): Remove variable.
4729 * libio/Makefile (tst-widetext-ENV): Likewise.
4730 * manual/install.texi (Running make install): Don't refer to
4731 environment settings for make install.
4732 * INSTALL: Regenerated.
4733 * nptl/tst-tls6.sh: Don't set LANG.
4734 * posix/globtest.sh (LANG): Remove variable.
4735 * string/Makefile (tester-ENV): Likewise.
4736 (inl-tester-ENV): Likewise.
4737 (noinl-tester-ENV): Likewise.
4738 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4739 [$(cross-compiling) = no]: Don't set LANGUAGE.
4740 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4741 without explicit environment settings.
4742
68e6b6b1
RM
47432014-06-06 Roland McGrath <roland@hack.frob.com>
4744
4745 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4746 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4747 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4748 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4749
4d3ae034
CM
47502014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4751
4752 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4753 other files in the crypt directory.
4754 * crypt/crypt.c: Remove duplicate includes.
4755 * crypt/crypt-entry.c: Likewise.
4756 * crypt/crypt_util.c: Likewise.
4757
8540f6d2
JM
47582014-06-06 Joseph Myers <joseph@codesourcery.com>
4759
4760 * Makeconfig (run-program-env): New variable.
4761 (run-program-prefix-before-env): Likewise.
4762 (run-program-prefix-after-env): Likewise.
4763 (run-program-prefix): Define in terms of new variables.
4764 (built-program-cmd-before-env): New variable.
4765 (built-program-cmd-after-env): Likewise.
4766 (built-program-cmd): Define in terms of new variables.
4767 (test-program-prefix-before-env): New variable.
4768 (test-program-prefix-after-env): Likewise.
4769 (test-program-prefix): Define in terms of new variables.
4770 (test-program-cmd-before-env): New variable.
4771 (test-program-cmd-after-env): Likewise.
4772 (test-program-cmd): Define in terms of new variables.
4773 * Rules (make-test-out): Use $(run-program-env).
4774 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4775 (help): Do not mention environment variables. Mention
4776 --timeoutfactor option.
4777 (timeoutfactor): New variable.
4778 (blacklist_exports): Remove function.
4779 (exports): Remove variable.
4780 (command): Do not include ${exports}.
4781 * manual/install.texi (Configuring and compiling): Do not mention
4782 test wrappers preserving environment variables. Mention that last
4783 assignment to a variable must take precedence.
4784 * INSTALL: Regenerated.
4785 * benchtests/Makefile (run-bench): Use $(run-program-env).
4786 * catgets/Makefile ($(objpfx)test1.cat): Use
4787 $(built-program-cmd-before-env), $(run-program-env) and
4788 $(built-program-cmd-after-env).
4789 ($(objpfx)test2.cat): Do not specify environment variables
4790 explicitly.
4791 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4792 $(run-program-env) and $(built-program-cmd-after-env).
4793 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4794 $(run-program-env) and $(test-program-cmd-after-env).
4795 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4796 explicitly.
4797 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4798 run_program_env and test_program_cmd_after_env arguments.
4799 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4800 * elf/tst-pathopt.sh: Use run_program_env argument.
4801 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4802 $(test-wrapper-env) and $(run-program-env).
4803 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4804 run_program_env arguments.
4805 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4806 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4807 $(test-program-prefix-before-env), $(run-program-env) and
4808 $(test-program-prefix-after-env).
4809 ($(objpfx)tst-gettext2.out): Likewise.
4810 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4811 run_program_env and test_program_prefix_after_env arguments.
4812 * intl/tst-gettext2.sh: Likewise.
4813 * intl/tst-gettext4.sh: Do not set environment variables
4814 explicitly.
4815 * intl/tst-gettext6.sh: Likewise.
4816 * intl/tst-translit.sh: Likewise.
4817 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4818 $(test-program-prefix-before-env), $(run-program-env) and
4819 $(test-program-prefix-after-env).
4820 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4821 run_program_env and test_program_prefix_after_env arguments.
4822 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4823 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4824 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4825 explicitly with each use of ${test_wrapper_env}.
4826 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4827 $(test-program-prefix-before-env), $(run-program-env) and
4828 $(test-program-prefix-after-env).
4829 * posix/tst-getconf.sh: Do not set environment variables
4830 explicitly.
4831 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4832 run_program_env and test_program_prefix_after_env arguments.
4833 * stdio-common/tst-printf.sh: Do not set environment variables
4834 explicitly.
4835 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4836 $(test-program-prefix-before-env), $(run-program-env) and
4837 $(test-program-prefix-after-env).
4838 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4839 run_program_env and test_program_prefix_after_env arguments.
4840 Split $test calls into $test_pre and $test.
4841 * timezone/Makefile (build-testdata): Use
4842 $(built-program-cmd-before-env), $(run-program-env) and
4843 $(built-program-cmd-after-env).
4844
ed36bfa1
AZ
48452014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4846
4847 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4848 strlen for non SHARED builds.
4849
fc75bf46
SP
48502014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4851
4852 * nptl/allocatestack.c (check_list): Inlined function...
4853 (__reclaim_stacks): ... here.
4854
d89b3d80
OB
48552014-06-05 Ondřej Bílka <neleai@seznam.cz>
4856
4857 [BZ #15698]
4858 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4859 memory overrun.
4860
2bf18041
JM
48612014-06-05 Joseph Myers <joseph@codesourcery.com>
4862
4863 * Rules (make-test-out): Include
4864 LOCPATH=$(common-objpfx)localedata in default environment.
4865 * debug/Makefile (tst-chk1-ENV): Remove variable.
4866 (tst-chk2-ENV): Likewise.
4867 (tst-chk3-ENV): Likewise.
4868 (tst-chk4-ENV): Likewise.
4869 (tst-chk5-ENV): Likewise.
4870 (tst-chk6-ENV): Likewise.
4871 (tst-lfschk1-ENV): Likewise.
4872 (tst-lfschk2-ENV): Likewise.
4873 (tst-lfschk3-ENV): Likewise.
4874 (tst-lfschk4-ENV): Likewise.
4875 (tst-lfschk5-ENV): Likewise.
4876 (tst-lfschk6-ENV): Likewise.
4877 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4878 (tst-iconv7-ENV): Likewise.
4879 * intl/Makefile (LOCPATH-ENV): Likewise.
4880 (tst-codeset-ENV): Likewise.
4881 (tst-gettext3-ENV): Likewise.
4882 (tst-gettext5-ENV): Likewise.
4883 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4884 (tst-fopenloc-ENV): Likewise.
4885 (tst-fgetws-ENV): Remove variable.
4886 (tst-ungetwc1-ENV): Likewise.
4887 (tst-ungetwc2-ENV): Likewise.
4888 (bug-ungetwc2-ENV): Likewise.
4889 (tst-swscanf-ENV): Likewise.
4890 (bug-ftell-ENV): Likewise.
4891 (tst-fgetwc-ENV): Likewise.
4892 (tst-fseek-ENV): Likewise.
4893 (tst-ftell-partial-wide-ENV): Likewise.
4894 (tst-ftell-active-handler-ENV): Likewise.
4895 (tst-ftell-append-ENV): Likewise.
4896 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4897 (tst-regexloc-ENV): Likewise.
4898 (bug-regex1-ENV): Likewise.
4899 (tst-regex-ENV): Likewise.
4900 (tst-regex2-ENV): Likewise.
4901 (bug-regex5-ENV): Likewise.
4902 (bug-regex6-ENV): Likewise.
4903 (bug-regex17-ENV): Likewise.
4904 (bug-regex18-ENV): Likewise.
4905 (bug-regex19-ENV): Likewise.
4906 (bug-regex20-ENV): Likewise.
4907 (bug-regex22-ENV): Likewise.
4908 (bug-regex23-ENV): Likewise.
4909 (bug-regex25-ENV): Likewise.
4910 (bug-regex26-ENV): Likewise.
4911 (bug-regex30-ENV): Likewise.
4912 (bug-regex32-ENV): Likewise.
4913 (bug-regex33-ENV): Likewise.
4914 (bug-regex34-ENV): Likewise.
4915 (bug-regex35-ENV): Likewise.
4916 (tst-rxspencer-ENV): Likewise.
4917 (tst-rxspencer-no-utf8-ENV): Likewise.
4918 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4919 (tst-sscanf-ENV): Likewise.
4920 (tst-swprintf-ENV): Likewise.
4921 (tst-swscanf-ENV): Likewise.
4922 (test-vfprintf-ENV): Likewise.
4923 (scanf13-ENV): Likewise.
4924 (bug14-ENV): Likewise.
4925 (tst-grouping-ENV): Likewise.
4926 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4927 (tst-strtod3-ENV): Likewise.
4928 (tst-strtod4-ENV): Likewise.
4929 (tst-strtod5-ENV): Likewise.
4930 (testmb2-ENV): Likewise./
4931 * string/Makefile (tst-strxfrm-ENV): Likewise.
4932 (tst-strxfrm2-ENV): Likewise.
4933 (bug-strcoll1-ENV): Likewise.
4934 (test-strcasecmp-ENV): Likewise.
4935 (test-strncasecmp-ENV): Likewise.
4936 * time/Makefile (tst-strptime-ENV): Likewise.
4937 (tst-ftime_l-ENV): Likewise.
4938 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4939 (tst-mbrtowc-ENV): Likewise.
4940 (tst-wcrtomb-ENV): Likewise.
4941 (tst-mbrtowc2-ENV): Likewise.
4942 (tst-c16c32-1-ENV): Likewise.
4943 (tst-mbsnrtowcs-ENV): Likewise.
4944
cd1fb604
OB
49452014-06-05 Ondřej Bílka <neleai@seznam.cz>
4946
4947 * manual/resource.texi (How to get information about the memory
4948 subsystem?): Fix typo.
4949 Reported by Peon de la Parra Ivan <peon@keba.com>
4950
b42eca7d
GY
49512014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4952
4953 [BZ #16882]
4954 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4955 (pthread_spin_lock): Branch out of spin loop to proper location.
4956 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4957 (pthread_spin_lock): Likewise.
4958
902b71f9
DM
4959 * nptl/tst-spin4.c: New test.
4960 * nptl/Makefile (tests): Add tst-spin4.
4961
f9d2d032
AS
49622014-06-03 Andreas Schwab <schwab@suse.de>
4963
4964 [BZ #15946]
4965 * resolv/res_send.c (send_dg): Reload file descriptor after
4966 calling reopen.
4967
cf7bfd28
SL
49682014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4969
4970 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4971
111cc714
RH
49722014-06-03 Richard Henderson <rth@redhat.com>
4973
89b4bd6b
RH
4974 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4975 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4976 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4977 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4978 in the SAVE_PID block.
4979 (__libc_vfork): New alias.
71840409 4980 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 4981
111cc714
RH
4982 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4983 child in registers, not on the stack. Remove RESET_PID conditionals.
4984 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4985
ccc39911
MS
49862014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4987
4988 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4989
693096cc
W
49902014-06-03 Wilco <wdijkstr@arm.com>
4991
4992 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4993 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4994 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4995 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4996 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4997 Likewise.
4998
0b4366bc
W
49992014-06-03 Wilco <wdijkstr@arm.com>
5000
5001 * sysdeps/aarch64/fpu/math_private.h
5002 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5003 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5004 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5005 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5006 Fix declarations.
5007
8747cd03
KS
50082014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5009
5010 * crypt/crypt-private.h: Include ufc-crypt.h.
5011 (__b64_from_24bit): Declare extern.
5012 * crypt/crypt_util.c(__b64_from_24bit): New function.
5013 (b64t): New static const variable.
5014 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5015 (b64t): Remove variable.
5016 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5017 * crypt/sha256-crypt.c: Include crypt-private.h.
5018 (b64t): Remove variable.
5019 (__sha256_crypt_r): Remove b64_from_24bit and replace
5020 with __b64_from_24bit.
5021 * crypt/sha512-crypt.c: Likewise.
5022
d936d379
RM
50232014-06-02 Roland McGrath <roland@hack.frob.com>
5024
5025 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5026 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5027 Label the code __libc_vfork rather than __vfork.
5028 [!NOT_IN_libc] (vfork): Define as weak alias.
5029 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5030 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5031 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5032
9fa76613
SP
50332014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5034
5035 * malloc/malloc.c (malloc_info): Fix format specifier for
5036 n_mmaps.
5037
a88dadbe
W
50382014-06-02 Wilco <wdijkstr@arm.com>
5039
5040 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5041 FPCR write.
5042
c95b3011
W
50432014-06-02 Wilco <wdijkstr@arm.com>
5044
5045 [BZ #17009]
5046 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5047 Rewrite to reduce FPCR/FPSR accesses.
5048
6b4d7a90
DM
50492014-06-01 David S. Miller <davem@davemloft.net>
5050
5051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5052
30f3d07c
DM
50532014-05-31 David S. Miller <davem@davemloft.net>
5054
5055 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5056 to occur in round to nearest mode when |x| >= 2.0
5057
74f31c18
RH
50582014-05-30 Richard Henderson <rth@twiddle.net>
5059
f0712b54
RH
5060 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5061 (PSEUDO_RET_NOERRNO): Remove.
5062 (ret): Don't redefine.
5063 (ret_NOERRNO): Define in terms of ret.
5064 (ret_ERRVAL): Likewise.
5065
74f31c18
RH
5066 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5067 use of PSEUDO_RET; perform the error check directly.
5068
30477995
MM
50692014-05-30 Marko Myllynen <myllynen@redhat.com>
5070
5071 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5072 with __int128_t.
5073
62a58816
SP
50742014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5075
5076 * malloc/malloc (malloc_info): Fix formatting.
5077
4d653a59
SP
50782014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5079 Roland McGrath <roland@hack.frob.com>
5080
5081 * malloc/malloc (malloc_info): Also print mmapped statistics.
5082
5190c17f
RM
50832014-05-30 Roland McGrath <roland@hack.frob.com>
5084
5085 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5086 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5087
987c0269
OB
50882014-05-30 Ondřej Bílka <neleai@seznam.cz>
5089
5090 * malloc/malloc.c (malloc_info): Inline mi_arena.
5091
af4e8ef9
RH
50922014-05-29 Richard Henderson <rth@twiddle.net>
5093
1670e207
RH
5094 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5095 Remove comma before expanding ASM_ARGS_##nr.
5096 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5097 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5098 of ASM_ARGS_##nr.
5099 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5100 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5101 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5102 (ASM_ARGS_1): Add leading comma.
5103
11a28aee
RH
5104 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5105 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5106 to __errno_location.
5107 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5108 Remove the expected plt for __errno_location.
5109
a17e5ffb 5110 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 5111 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
5112 call to __read_tp.
5113
b5be4597
RH
5114 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5115 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5116 it and break it down.
5117 (DOCARGS_0, DOCARGS_1): Do nothing.
5118 (DOCARGS_2): Update to store into the new stack frame.
5119 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5120 (UNDOCARGS_1): Update to restore from the new stack frame.
5121 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5122 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5123
645d44ab
RH
5124 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5125 (SINGLE_THREAD_P): New parameter for result regno.
5126 (PSEUDO): Update to match; use cbz instead of beq.
5127
a8b4f04a
RH
5128 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5129 Use ENTRY to define the _nocancel entry point. Share the syscall
5130 and syscall error check paths with the cancel path.
5131 (PSEUDO_END): New.
5132
af4e8ef9
RH
5133 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5134 whitespace; tabs before and after asm mnemonics.
5135
26b0d2e1
EW
51362014-05-29 Eric Wong <normalperson@yhbt.net>
5137
5138 [BZ #15132]
5139 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5140 Call fstat64 or stat64 internally, depending on arguments passed.
5141 Replace stat buffer argument with file descriptor argument.
5142 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5143 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5144 Pass fd to __internal_statvfs instead of calling fstat64.
5145 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5146 Pass fd to __internal_statvfs64 instead of calling fstat64.
5147 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5148 Pass -1 to __internal_statvfs instead of calling stat64.
5149 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5150 Pass -1 to __internal_statvfs64 instead of calling stat64.
5151
1efe2bd9
RM
51522014-05-28 Roland McGrath <roland@hack.frob.com>
5153
0d3b7a19
RM
5154 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5155 that was previously under [RESET_PID].
5156 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5157
1efe2bd9
RM
5158 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5159 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5160
a6bea3ca
RM
51612014-05-27 Roland McGrath <roland@hack.frob.com>
5162
30b6629e
RM
5163 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5164
a6bea3ca
RM
5165 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5166 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5167
3dfb9a5c
OB
51682014-05-27 Ondřej Bílka <neleai@seznam.cz>
5169
5170 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5171
774f9285
AS
51722014-05-27 Andreas Schwab <schwab@suse.de>
5173
5174 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5175 TLS_INIT_TP macro.
5176 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5177 * elf/rtld.c (init_tls, dl_main): Likewise.
5178 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5179 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5180 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5181 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5182 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5183 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5184 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5185 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5186 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5187 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5188 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5189 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5190 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5191 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5192 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5193 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5194 * sysdeps/generic/tls.h: Update description.
5195
36ffe739
WN
51962014-05-27 Will Newton <will.newton@linaro.org>
5197
5198 [BZ #16990]
5199 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5200 and restore r2 rather than just restoring.
5201
2482ae43
SP
52022014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5203
5204 [BZ #16724]
5205 * libio/tst-ftell-append.c: New test case.
5206 * libio/Makefile (tests): Add test case.
5207 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5208 append mode.
5209 * libio/wfileops.c (do_ftell_wide): Likewise.
5210
3d1024e8
AZ
52112014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5212
bab90016
AZ
5213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5214
c7a8d667
AZ
5215 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5216 ...
5217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5219 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5220 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5221 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5222 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5223 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5224 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5225 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5226 Moved ...
5227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5228 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5229 Moved ...
5230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5231 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5232 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5233 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5234 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5235 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5236 ...
5237 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5238 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5239 Moved ...
5240 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5241 here.
5242 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5243 ...
5244 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5245 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5246 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5247
daee7851
AZ
5248 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5249 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5250 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5251 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5252
50a40819
AZ
5253 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5254 merge into ...
5255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5256 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5257 ...
5258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5259 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5260 ...
5261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5262 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5263 Moved ...
5264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5265 here.
5266 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5267 Moved ...
5268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5269 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5270 Moved ...
5271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5272
8464c2a1
AZ
5273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5274 conditional [RESET_PID].
5275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5276 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5277 removed.
5278 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5279 removed.
5280
3d1024e8
AZ
5281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5282 <tcb-offsets.h>.
5283 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5284 (__libc_vfork): New strong alias.
5285 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5286 removed.
5287 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5288 Removed.
5289
5290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5291 <tcb-offsets.h>.
5292 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5293 (__libc_vfork): New strong alias.
5294 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5295 removed.
5296 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5297 removed.
5298
fdfd175d
CD
52992014-05-26 Carlos O'Donell <carlos@redhat.com>
5300
5301 * malloc/malloc.c (mi_arena): New function.
5302 (malloc_info): Remove nested function mi_arena. Call non-nosted
5303 function mi_arena.
5304
d298c416
AZ
53052014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5306
5307 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5308 by insrwi.
5309 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5310 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5311 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5312 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5313 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5314 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5315 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5316
b60ea6ff
AS
53172014-05-26 Andreas Schwab <schwab@suse.de>
5318
5319 [BZ #16984]
5320 * locale/programs/repertoire.c (repertoire_read): Add slash
5321 between I18NPATH element and file name.
5322 * locale/programs/locfile.c (locfile_read): Likewise.
5323
67365926
SL
53242014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5325
5326 * nptl/pthread_mutexattr_settype.c
5327 (__pthread_mutexattr_settype):
5328 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5329
f8bdf1f0
SL
53302014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5331
5332 * nptl/tst-mutex5 (do_test):
5333 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5334
15eaf6ff
SP
53352014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5336
5337 * benchtests/README: Document 'init' directive.
5338 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5339 BENCH_INIT.
5340 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5341 (parse_file): Recognize 'init' directive.
5342
75f11331
KM
53432014-05-26 Kyle McMartin <kyle@redhat.com>
5344
5345 [BZ #16796]
5346 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5347 alignment of struct pthread.
5348
c3ec475c
SP
53492014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5350
5351 [BZ #16878]
5352 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5353 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5354 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5355 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5356
82aab97c
RH
53572014-05-25 Richard Henderson <rth@twiddle.net>
5358
aa2f176d
RH
5359 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5360 (SINGLE_THREAD_P_PIC): Remove.
5361 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5362 (SINGLE_THREAD_P_PIC): Remove.
5363
ca3cfa40
RH
5364 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5365 branch to syscall error ...
5366 (PSEUDO): ... here.
5367 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5368 from __local_syscall_error to .Lsyscall_error.
5369 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5370 (SYSCALL_ERROR): Update label name.
5371
6e6c2d01
RH
5372 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5373 Do not use DOARGS/UNDOARGS.
5374 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5375 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5376 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5377 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5378 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5379
c69abcee
RH
5380 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5381 block comment.
5382
82aab97c
RH
5383 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5384 define if !NOT_IN_libc.
5385 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5386 define with non-default symbol versions.
5387
8820e3ac
RH
53882014-05-23 Richard Henderson <rth@twiddle.net>
5389
900e445f
RH
5390 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5391 (vfork, __vfork): Define via compat_symbol.
5392
8820e3ac
RH
5393 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5394 [!HAVE_IFUNC] (vfork_compat): Remove.
5395 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5396
e59252a5
JM
53972014-05-23 Joseph Myers <joseph@codesourcery.com>
5398
5399 [BZ #16978]
5400 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5401 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5402 variable.
5403
132c7f5f
RH
54042014-05-23 Richard Henderson <rth@twiddle.net>
5405
bc89e962
RH
5406 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5407 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5408 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5409 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5410
5411 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5412 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5413 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5414 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5415 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5416 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5417 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5418 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5419 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5420 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5421 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5422 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5423 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5424 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5425 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5426 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5427 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5428 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5429 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5430 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5431 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5432 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5433 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5434 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5435 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5436 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5437 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5438 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5439 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5440 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5441 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5442 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5443 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5444 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5445 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5446 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5447 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5448 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5449 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5450 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5451 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5452 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5453 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5454 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5455 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5456 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5457 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5458 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5459 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5460 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5461 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5462 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5463 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5464 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5465 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5466 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5467
e2fa4bc2
RH
5468 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5469 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5470 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5471 before exiting on error.
5472 (__libc_vfork): New strong alias.
5473 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5474 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5475
279b24e2
RH
5476 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5477 that was previously under [RESET_PID].
5478 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5479
132c7f5f
RH
5480 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5481
b72592e7
JM
54822014-05-23 Joseph Myers <joseph@codesourcery.com>
5483
5484 [BZ #16977]
5485 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5486 value when x - 1 is zero.
5487 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5488 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5489 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5490 0.0L for an argument of 1.0L.
5491 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5492 Likewise.
5493 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5494 value when x - 1 is zero.
5495 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5496 * sysdeps/i386/fpu/libm-test-ulps: Update.
5497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5498
2302d679
RV
54992014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5500
5501 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5502 alphasort and versionsort.
5503
32999d63
AZ
55042014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5505
5506 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5507 macro.
5508 [copysignf]: Likewise.
5509
019324d0
SP
55102014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5511
5512 * crypt/md5-crypt.c: Fix formatting.
5513
34fff5c2
KS
55142014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5515
5516 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5517 (b64_from_24bit): New function.
5518
3d2badac
AZ
55192014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5520
5521 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5522 libc_hidden_builtin_def to ifunc.
5523 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5524 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5525
f7bb179f 55262014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
5527
5528 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5529 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5530
4134b50d
JM
55312014-05-21 Joseph Myers <joseph@codesourcery.com>
5532
bb7d0337
JM
5533 * nscd/Depend (linuxthreads): Remove.
5534 (nptl): Add.
5535 * resolv/Depend (linuxthreads): Remove.
5536 * rt/Depend (linuxthreads): Remove.
5537
4134b50d
JM
5538 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5539 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5540 $(common-objpfx)elf/.
5541 (link-libc-before-gnulib): Likewise.
5542 (elfobjdir): Remove variable.
5543 * Makefile (install): Use $(elf-objpfx) instead of
5544 $(common-objpfx)elf/.
5545 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5546 $(elfobjdir)/.
5547 (link-libc-deps): Likewise.
5548 ($(common-objpfx)libc.so): Likewise.
5549 ($(common-objpfx)linkobj/libc.so): Likewise.
5550 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5551 instead of $(common-objpfx)elf/.
5552 (symbolic-link-list): Likewise.
5553 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5554 [$(cross-compiling) = no]: Likewise.
5555 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5556 $(elfobjdir)/.
5557 (static-gnulib-arch): Likewise.
5558 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5559 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5560 $(common-objpfx)elf/.
5561
3612eb8f
RH
55622014-05-21 Richard Henderson <rth@redhat.com>
5563
a6b3657b
RH
5564 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5565 (SINGLE_THREAD_P): Use the correct width load. Fold
5566 into the ldr offset.
5567
3612eb8f
RH
5568 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5569 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5570
175cef41
JM
55712014-05-20 Joseph Myers <joseph@codesourcery.com>
5572
5573 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5574 (libgcc_s_resume): Use __attribute_used__.
5575 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5576 Likewise.
5577
e13bccd3
AZ
55782014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5579
5580 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5581 optimization when used with float constants.
5582
7c112a38
AZ
5583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5584
ae75a883
AJ
55852014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5586
5587 [BZ #16915]
5588 * locale/nl_langinfo_l.c: Make direct reference to every
5589 _nl_current_CATEGORY symbol.
5590 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5591 (tests-static): Add tst-langinfo-static.
5592 (tests-special): Add tst-langinfo-static.out.
5593 ($(objpfx)tst-langinfo.out): Redirect output.
5594 ($(objpfx)tst-langinfo-static.out): New.
5595 * localedata/tst-langinfo.sh: Send output to stdout.
5596 * localedata/tst-langinfo-static.c: New file.
5597
4406c41c
AJ
5598 [BZ #16965]
5599 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5600 when the shift amount is modulo the limb size.
5601
4c0a1e63
RH
56022014-05-20 Richard Henderson <rth@redhat.com>
5603
de9d8f20
RH
5604 [BZ #16967]
5605 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5606 Change type of sa_flags from unsigned int to int.
5607
4c0a1e63
RH
5608 [BZ #16966]
5609 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
5610
5611 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5612
a60339aa
WN
56132014-05-20 Will Newton <will.newton@linaro.org>
5614
5615 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5616 Test the return value of the system call in the nocancel case.
5617
7d05a816
YR
56182014-05-20 Will Newton <will.newton@linaro.org>
5619 Yvan Roux <yvan.roux@linaro.org>
5620
5621 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5622 #include of asm/ptrace.h.
5623 (PTRACE_GET_THREAD_AREA): Remove #undef.
5624 (PTRACE_GETHBPREGS): Likewise.
5625 (PTRACE_SETHBPREGS): Likewise.
5626 (struct user_regs_struct): New structure.
5627 (struct user_fpsimd_struct): New structure.
5628 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5629 #include of asm/ptrace.h and second #include of sys/user.h.
5630 (PTRACE_GET_THREAD_AREA): Remove #undef.
5631 (PTRACE_GETHBPREGS): Likewise.
5632 (PTRACE_SETHBPREGS): Likewise.
5633 (ELF_NGREG): Use new struct user_regs_struct.
5634 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5635
af121e37
AZ
56362014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5637
5638 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5639 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5640
834caf06
JM
56412014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5642
5643 [BZ #16958]
5644 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5645 membar to avoid block loads/stores to overlap previous stores.
5646
e184a918
RH
56472014-05-17 Richard Henderson <rth@redhat.com>
5648
5649 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5650 Create the __##syscall_name##_nocancel entry point.
5651 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5652 Remove; let the sysdep-cancel.h code create it.
5653
f56c7a6a
DM
56542014-05-17 David S. Miller <davem@davemloft.net>
5655
5656 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5657 Protect with __USE_GNU.
5658 (TIOCSET_TEMPT): Likewise.
5659 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5660 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5661 these are already provided in bits/ioctl-types.h
5662
f75616b2
RM
56632014-05-16 Roland McGrath <roland@hack.frob.com>
5664
3edeca86
RM
5665 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5666 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5667
f75616b2
RM
5668 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5669 Use wait4 regardless of [__NR_waitpid].
5670
deb0f7f6
MR
56712014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5672
5673 PR libgcc/60166
5674 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5675 (_FP_NANSIGN_Q): Set the quiet bit.
5676
79520f4b
JM
56772014-05-16 Joseph Myers <joseph@codesourcery.com>
5678
5679 * benchtests/Makefile
5680 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5681 not $(common-objpfx)math/libm.so.
5682 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5683 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5684 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5685 $(common-objpfx)dlfcn/libdl.so.
5686 ($(objpfx)tst-audit8): Depend on $(libm), not
5687 $(common-objpfx)math/libm.so.
5688 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5689 not $(common-objpfx)dlfcn/libdl.so.
5690 * math/Makefile
5691 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5692 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5693 [$(build-shared) = yes].
5694 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5695 $(common-objpfx)nptl/libpthread.so.
5696 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5697 $(common-objpfx)math/libm.so$(libm.so-version) or
5698 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5699 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5700 $(common-objpfx)dlfcn/libdl.so.
5701 * setjmp/Makefile (link-libm): Remove variable.
5702 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5703 * stdio-common/Makefile (link-libm): Remove variable.
5704 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5705 * stdlib/Makefile (link-libm): Remove variable.
5706 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5707 ($(objpfx)tst-strtod-round): Likewise.
5708 ($(objpfx)tst-tininess): Likewise.
5709 ($(objpfx)tst-strtod-underflow): Likewise.
5710 ($(objpfx)tst-strtod6): Likewise.
5711 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5712 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5713 $(common-objpfx)dlfcn/libdl.so.
5714
026b0fe4
AZ
57152014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5716
5717 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5718 BSD terminal modes definitions.
5719
def4bcb2
RM
57202014-05-16 Roland McGrath <roland@hack.frob.com>
5721
fe39b021
RM
5722 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5723 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5724
1d1fc46e 5725 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
5726 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5727 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5728 Don't do #include_next.
5729 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5730 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5731 Don't do #include_next.
5732 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5733 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5734 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5735 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5736
c72399fb
AM
57372014-05-16 Allan McRae <allan@archlinux.org>
5738
d51d659d
AM
5739 * po/sv.po: Update Swedish translation from translation project.
5740
c72399fb
AM
5741 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5742 in sed expression.
5743
d0583c40
AJ
57442014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5745
5746 [BZ #16917]
5747 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5748 errno if the TIOCGPTN ioctl fails with an error different than
5749 EINVAL.
5750 * login/tst-ptsname.c: New file.
5751 * login/Makefile (tests): Add tst-ptsname.
5752
d16e6ec7
AJ
5753 [BZ #16943]
5754 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5755 and prlimit64.
5756
cf26a0cb
SP
57572014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5758
5759 [BZ #16849]
5760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5761 herrno to return EAI_AGAIN.
5762
5675da1e
RM
57632014-05-14 Roland McGrath <roland@hack.frob.com>
5764
a5d87b3d
RM
5765 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5766 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5767 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5768 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5769 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5770 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5771 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5772 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5773 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5774 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5775 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5776 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5777 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5778 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5779 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5780 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5781 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5782 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5783 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5784 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5785 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5786 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5787 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5788 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5789 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5790 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5791 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5792 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5793 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5794 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5796 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5798 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5800 Moved ...
5801 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5803 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5805 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5807 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5809 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5811 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5813 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5815 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5817 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5819 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5821 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5823 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5825 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5827 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5829 Moved ...
5830 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5832 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5834 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5836 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5838 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5840 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5842 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5844 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5846 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5848 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5850 Moved ...
5851 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5853 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5854
039890a6
RM
5855 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5856 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5857 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5858 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5859 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5860 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5861 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5862 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5863 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5864 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5865 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5866 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5867 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5868 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5869 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5870 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5871 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5872 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5873 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5874 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5875 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5876 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5877 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5878 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5879 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5880 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5881 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5882 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5883 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5884 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5885 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5886
65c89320
RM
5887 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5888 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5889
348f8e8c
RM
5890 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5891 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5892 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5893 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5894 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5895 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5896 Moved ...
5897 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5898 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5899 Moved ...
5900 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5901 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5902 Moved ...
5903 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5904 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5905 Moved ...
5906 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5907 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5908 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5909 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5910 Moved ...
5911 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5912 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5913 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5914 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5915 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5916 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5917 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5918 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5919 Moved ...
5920 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5921 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5922 Moved ...
5923 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5924 ... here.
5925 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5926 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5927 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5928 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5929 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5930 Moved ...
5931 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5932 ... here.
5933 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5934 Moved ...
5935 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5936 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5937 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5938 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5939 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5940 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5941 Moved ...
5942 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5943 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5944 Moved ...
5945 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5946 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5947 Moved ...
5948 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5949 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5950 Moved ...
5951 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5952 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5953 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5954 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5955 Moved ...
5956 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5957 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5958 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5959 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5960 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5961 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5962 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5963 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5964 Moved ...
5965 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5966 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5967 Moved ...
5968 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5969 ... here.
5970 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5971 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5972 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5973 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5974 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5975 Moved ...
5976 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5977 ... here.
5978 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5979 Moved ...
5980 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5981 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5982 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5983 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5984 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5985 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5986 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5987 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5988 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5989 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5990 Moved ...
5991 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5992 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5993 Moved ...
5994 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5995 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5996 Moved ...
5997 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5998 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5999 Moved ...
6000 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6001 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6002 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6003 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6004 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6005 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6006 Moved ...
6007 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6008 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6009 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6010 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6011 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6012 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6013 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6014 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6015 Moved ...
6016 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6017 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6018 Moved ...
6019 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6020 ... here.
6021 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6022 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6023 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6024 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6025 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6026 Moved ...
6027 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6028 ... here.
6029 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6030 Moved ...
6031 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6032 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6033 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6034 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6035 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6036 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6037 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6038 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6039 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6040 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6041 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6042
5085af05
RM
6043 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6044 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6045
708f0813
RM
6046 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6047 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6048
c96067bc
RM
6049 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6050 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6051 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6052 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6053 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6054 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6055 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6056 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6057 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6058 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6059 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6060 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6061 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6062 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6063 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6064 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6065 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6066 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6067 Moved ...
6068 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6069 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6070 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6071 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6072 Moved ...
6073 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6074 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6075 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6076 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6077 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6078 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6079 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6080 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6081 Moved ...
6082 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6083 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6084 Moved ...
6085 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6086 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6087 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6088 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6089 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6090 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6091 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6092 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6093 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6094 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6095 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6096 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6097 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6098 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6099 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6100 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6101 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6102
ec136444
RM
6103 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6104 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6105 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6106 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6107 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6108
2fbdf533
RM
6109 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6110 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6111 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6112 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6113 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6114 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6115 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6116 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6117 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6118 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6119
4c68138b
RM
6120 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6121 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6122
4eaae765
RM
6123 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6124 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
6125 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6126 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6127 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6128 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6129 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6130 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6131 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6132 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6133 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6134 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6135 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6136 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6137 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6138 Update #include.
6139 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6140 Likewise.
6141 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6142 Likewise.
6143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6144 Likewise.
6145 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6146 Likewise.
6147 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6148 Likewise.
6149 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6150 Likewise.
6151 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6152 Likewise.
6153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6154 Likewise.
6155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6156 Likewise.
4ef6befa
RM
6157 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6158 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6159 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6160 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6161 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
6162 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6163 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6164 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6165 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6166 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6167 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6168 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6169 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6170 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6171 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 6172
941d7dfd
RM
6173 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6174 that was previously under [RESET_PID].
6175 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6176 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6177 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6178
1b731c35
RM
6179 * sysdeps/i386/nptl/Implies: New file.
6180 * sysdeps/x86_64/nptl/Implies: New file.
6181 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6182 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6183 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6184 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6185
e2787137
RM
6186 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6187 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6188 (__libc_vfork): New strong alias.
6189 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6190 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6191
6192 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6193 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6194 (__libc_vfork): New strong alias.
6195 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6196 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6197
5675da1e
RM
6198 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6199 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6200 (__libc_vfork): New strong alias.
6201 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6202 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6203 * nptl/pt-vfork.c: New file.
6204 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6205 (libpthread: GLIBC_2.20): New version set (empty).
6206
4f02e2b8
WN
62072014-05-14 Will Newton <will.newton@linaro.org>
6208
6209 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6210 rather than #if.
6211
0bf061d3
JM
62122014-05-14 Joseph Myers <joseph@codesourcery.com>
6213
1a84c3d6
JM
6214 [BZ #16564]
6215 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6216 arguments with exponent 65 or above.
6217 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6218 arguments 0x1p113L or above.
6219 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6220 to arguments 0x1p107L or above.
6221 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6222 positive arguments with exponent 65 or above.
6223 * math/auto-libm-test-in: Add more tests of log1p.
6224 * math/auto-libm-test-out: Regenerated.
6225
01dbacd2
JM
6226 [BZ #16928]
6227 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6228 non-finite arguments is +0.
6229 * math/s_cacosf.c (__cacosf): Likewise.
6230 * math/s_cacosl.c (__cacosl): Likewise.
6231 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6232 * sysdeps/i386/fpu/libm-test-ulps: Update.
6233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6234
913d03c8
JM
6235 [BZ #16927]
6236 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6237 value.
6238 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6239 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6240 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6241 for explicit high bit of mantissa when testing for argument equal
6242 to 1.
6243 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6244 * sysdeps/i386/fpu/libm-test-ulps: Update.
6245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6246
0bf061d3
JM
6247 [BZ #16516]
6248 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6249 (__erf): Scale by 16 instead of 8 in potentially underflowing
6250 case. Ensure exception if result actually underflows.
6251 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6252 (__erff): Scale by 16 instead of 8 in potentially underflowing
6253 case. Ensure exception if result actually underflows.
6254 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6255 (efx8): Remove variable.
6256 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6257 case. Ensure exception if result actually underflows.
6258 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6259 (efx8): Remove variable.
6260 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6261 case. Ensure exception if result actually underflows.
6262 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6263 (efx8): Remove variable.
6264 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6265 case. Ensure exception if result actually underflows.
6266 * math/auto-libm-test-in: Add more tests of erf.
6267 * math/auto-libm-test-out: Regenerated.
6268
73ba67cb
AS
62692014-05-14 Andreas Schwab <schwab@suse.de>
6270
3d8c8bff
AS
6271 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6272 Remove code conditionalized on USE___THREAD.
6273
73ba67cb
AS
6274 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6275 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6276 not definedness.
6277
5c521ecd
JM
62782014-05-14 Joseph Myers <joseph@codesourcery.com>
6279
5e7698c6
JM
6280 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6281 Define unconditionally.
6282 (__ASSUME_O_CLOEXEC): Likewise.
6283 (__ASSUME_SOCK_CLOEXEC): Likewise.
6284 (__ASSUME_IN_NONBLOCK): Likewise.
6285 (__ASSUME_PIPE2): Likewise.
6286 (__ASSUME_EVENTFD2): Likewise.
6287 (__ASSUME_SIGNALFD4): Likewise.
6288 (__ASSUME_DUP3): Likewise.
6289 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6290 (__ASSUME_DUP3): Do not define.
6291 (__ASSUME_EVENTFD2): Likewise.
6292 (__ASSUME_IN_NONBLOCK): Likewise.
6293 (__ASSUME_O_CLOEXEC): Likewise.
6294 (__ASSUME_PIPE2): Likewise.
6295 (__ASSUME_SIGNALFD4): Likewise.
6296 (__ASSUME_SOCK_CLOEXEC): Likewise.
6297 (__ASSUME_UTIMES): Undefine.
6298 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6299 (__ASSUME_UTIMES): Do not define.
6300 (__ASSUME_O_CLOEXEC): Likewise.
6301 (__ASSUME_SOCK_CLOEXEC): Likewise.
6302 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6303 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6304 0x020621].
6305 (__ASSUME_PIPE2): Likewise.
6306 (__ASSUME_EVENTFD2): Likewise.
6307 (__ASSUME_SIGNALFD4): Likewise.
6308 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6309 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6310 Do not define.
6311 (__ASSUME_EVENTFD2): Likewise.
6312 (__ASSUME_SIGNALFD4): Likewise.
6313 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6314 (__ASSUME_32BITUIDS): Likewise.
6315 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6316 (__ASSUME_IPC64): Likewise.
6317 (__ASSUME_ST_INO_64_BIT): Likewise.
6318 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6319 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6320 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6321 (__ASSUME_UTIMES): Do not define.
6322 (__ASSUME_PSELECT): Likewise.
6323 (__ASSUME_PPOLL): Likewise.
6324 (__ASSUME_O_CLOEXEC): Likewise.
6325 (__ASSUME_SOCK_CLOEXEC): Likewise.
6326 (__ASSUME_IN_NONBLOCK): Likewise.
6327 (__ASSUME_PIPE2): Likewise.
6328 (__ASSUME_EVENTFD2): Likewise.
6329 (__ASSUME_SIGNALFD4): Likewise.
6330 (__ASSUME_DUP3): Likewise.
6331 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6332 (__ASSUME_UTIMES): Likewise.
6333 (__ASSUME_O_CLOEXEC): Likewise.
6334 (__ASSUME_SOCK_CLOEXEC): Likewise.
6335 (__ASSUME_IN_NONBLOCK): Likewise.
6336 (__ASSUME_PIPE2): Likewise.
6337 (__ASSUME_EVENTFD2): Likewise.
6338 (__ASSUME_SIGNALFD4): Likewise.
6339 (__ASSUME_DUP3): Likewise.
6340 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6341 (__ASSUME_UTIMES): Likewise.
6342 (__ASSUME_O_CLOEXEC): Likewise.
6343 (__ASSUME_SOCK_CLOEXEC): Likewise.
6344 (__ASSUME_IN_NONBLOCK): Likewise.
6345 (__ASSUME_PIPE2): Likewise.
6346 (__ASSUME_EVENTFD2): Likewise.
6347 (__ASSUME_SIGNALFD4): Likewise.
6348 (__ASSUME_DUP3): Likewise.
6349 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6350 Likewise.
6351 (__ASSUME_UTIMES): Likewise.
6352 (__ASSUME_EVENTFD2): Likewise.
6353 (__ASSUME_SIGNALFD4): Likewise.
6354 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6355 (__ASSUME_O_CLOEXEC): Likewise.
6356 (__ASSUME_SOCK_CLOEXEC): Likewise.
6357 (__ASSUME_IN_NONBLOCK): Likewise.
6358 (__ASSUME_PIPE2): Likewise.
6359 (__ASSUME_EVENTFD2): Likewise.
6360 (__ASSUME_SIGNALFD4): Likewise.
6361 (__ASSUME_DUP3): Likewise.
6362 (__ASSUME_UTIMES): Undefine.
6363
5c521ecd
JM
6364 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6365 feclearexcept. Remove symbol versioning code.
6366 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6367 symbol versioning code.
6368 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6369 symbol versioning code.
6370 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6371 feupdateenv. Remove symbol versioning code.
6372 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6373 fegetexceptflag. Remove symbol versioning code.
6374 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6375 fesetexceptflag. Remove symbol versioning code.
6376 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6377 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6378 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6379 (__posix_fadvise64_l32): Remove prototype.
6380 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6381 code.
6382
5da9dfad
RM
63832014-05-13 Roland McGrath <roland@hack.frob.com>
6384
6385 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6386 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6387 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6388 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6389
893b4f37
SK
63902014-05-13 Sami Kerola <kerolasa@iki.fi>
6391
6392 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6393 current working directory
6394
e0db6517
RM
63952014-05-13 Roland McGrath <roland@hack.frob.com>
6396
58aa195d
RM
6397 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6398 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6399 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6400 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6401 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6402 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6403 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6404 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6405 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6406 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6407 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6408 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6409 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6410 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6411 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6412 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6413 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6414 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6415 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6416 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6417 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6418 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6419 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6420 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6421 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6422 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6423 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6424 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6425 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6426 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6427 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6428 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6429 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6430 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6431 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6432 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6433 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6434 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6435 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6436 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6437 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6438 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6439
8c6d01f0
RM
6440 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6441 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6442
6443 * sysdeps/unix/sysv/linux/arm/Makefile
6444 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6445 Add rt-aeabi_unwind_cpp_pr1.
6446 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6447 Add nptl-aeabi_unwind_cpp_pr1.
6448 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6449 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6450 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6451 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6452 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6453 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6454
6455 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6456 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6457 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6458 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6459
bba6da4e
RM
6460 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6461 Deconditionalize the code that was previously under [RESET_PID].
6462 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6463
e0db6517
RM
6464 * sysdeps/generic/exit-thread.h: New file.
6465 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6466 * include/unistd.h (__exit_thread): Remove declaration.
6467 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6468 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6469 * csu/libc-start.c: Include <exit-thread.h>.
6470 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6471 * nptl/pthread_create.c: Include <exit-thread.h>.
6472 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6473 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6474 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6475 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6476 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6477 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6478 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6479 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6480 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6481 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6482 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6483 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6484 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6485 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6486 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6487 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6488 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6489
01eb16fd
AS
64902014-05-13 Andreas Schwab <schwab@suse.de>
6491
6492 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6493
637461d9
JM
64942014-05-12 Joseph Myers <joseph@codesourcery.com>
6495
6496 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6497 (__ASSUME_UTIMES): Do not condition on kernel version.
6498 (__ASSUME_PSELECT): Define unconditionally.
6499 (__ASSUME_PPOLL): Likewise.
6500 (__ASSUME_ATFCTS): Likewise.
6501 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6502 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6503 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6504 (__ASSUME_UTIMENSAT): Define unconditionally.
6505 (__ASSUME_PRIVATE_FUTEX): Likewise.
6506 (__ASSUME_FALLOCATE): Likewise.
6507 (__ASSUME_O_CLOEXEC): Likewise.
6508 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6509 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6510 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6511 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6512 (__ASSUME_IN_NONBLOCK): Likewise.
6513 (__ASSUME_PIPE2): Likewise.
6514 (__ASSUME_EVENTFD2): Likewise.
6515 (__ASSUME_SIGNALFD4): Likewise.
6516 (__ASSUME_DUP3): Likewise.
6517 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6518 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6519 (__ASSUME_AT_RANDOM): Likewise.
6520 (__ASSUME_PREADV): Likewise.
6521 (__ASSUME_PWRITEV): Likewise.
6522 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6523 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6524 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6525 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6526 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6527 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6528 (__ASSUME_O_CLOEXEC): Define unconditionally.
6529 (__ASSUME_PSELECT): Do not undefine conditionally.
6530 (__ASSUME_PPOLL): Likewise.
6531 (__ASSUME_ATFCTS): Likewise.
6532 (__ASSUME_SET_ROBUST_LIST): Likewise.
6533 (__ASSUME_UTIMENSAT): Likewise.
6534 (__ASSUME_FDATASYNC): Define unconditionally.
6535 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6536 (__ASSUME_SIGFRAME_V2): Likewise.
6537 )__ASSUME_EVENTFD2): Likewise.
6538 (__ASSUME_SIGNALFD4): Likewise.
6539 (__ASSUME_PSELECT): Do not undefine conditionally.
6540 (__ASSUME_PPOLL): Likewise.
6541 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6542 (__ASSUME_PSELECT): Define unconditionally.
6543 (__ASSUME_PPOLL): Likewise.
6544 (__ASSUME_O_CLOEXEC): Likewise.
6545 (__ASSUME_SOCK_CLOEXEC): Likewise.
6546 (__ASSUME_IN_NONBLOCK): Likewise.
6547 (__ASSUME_PIPE2): Likewise.
6548 (__ASSUME_EVENTFD2): Likewise.
6549 (__ASSUME_SIGNALFD4): Likewise.
6550 (__ASSUME_DUP3): Likewise.
6551 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6552 (__ASSUME_O_CLOEXEC): Likewise.
6553 (__ASSUME_SOCK_CLOEXEC): Likewise.
6554 (__ASSUME_IN_NONBLOCK): Likewise.
6555 (__ASSUME_PIPE2): Likewise.
6556 (__ASSUME_EVENTFD2): Likewise.
6557 (__ASSUME_SIGNALFD4): Likewise.
6558 (__ASSUME_DUP3): Likewise.
6559 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6560 (__ASSUME_EVENTFD2): Likewise.
6561 (__ASSUME_SIGNALFD4): Likewise.
6562 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6563
315eb1d8
AS
65642014-05-12 Andreas Schwab <schwab@suse.de>
6565
6566 [BZ #16932]
6567 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6568 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6569 than maximum RPC packet size.
6570 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6571 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6572 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6573 (_nss_nis_getservbyport_r): Likewise.
6574
91df99f7
WN
65752014-05-12 Will Newton <will.newton@linaro.org>
6576
6577 * malloc/Makefile (tests): Add tst-mallopt.
6578 * malloc/tst-mallopt.c: New file.
6579
0a982a29
RM
65802014-05-09 Roland McGrath <roland@hack.frob.com>
6581
6582 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6583 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6584
0ded08a5
AZ
65852014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6586
6587 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6588 (tst-tlsmod6.so): Likewise.
6589
55d4d550
RM
65902014-05-09 Roland McGrath <roland@hack.frob.com>
6591
6592 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6593
77d08aca
JM
65942014-05-09 Joseph Myers <joseph@codesourcery.com>
6595
6596 [BZ #16064]
6597 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6598 and <dl-procinfo.h>.
6599 (__fegetenv): Save SSE state in envp->__eip if supported.
6600 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6601 envp->__eip if supported.
6602 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6603 and <dl-procinfo.h>.
6604 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6605 __data_offset and __data_selector in environment to 0. Set SSE
6606 state if supported.
6607 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6608 test-fenv-sse.
6609 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6610 -mfpmath=sse.
6611 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6612
28162f4d
WN
66132014-05-09 Will Newton <will.newton@linaro.org>
6614
6615 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6616 and libc_relro_required for ARM.
6617 * sysdeps/arm/preconfigure: Regenerate.
6618
5a414ff7
DV
66192014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6620 Stefan Liebler <stli@linux.vnet.ibm.com>
6621
6622 * config.make.in (enable-lock-elision): New Makefile variable.
6623 * configure.ac: Likewise.
6624 * configure: Regenerate.
6625 * sysdeps/s390/configure.ac:
6626 Add check for gcc transactions support.
6627 * sysdeps/s390/configure: Regenerate.
6628 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6629 Build elision files if enabled.
6630 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6631 Add lock elision support for s390.
6632 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6633 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6634 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6635 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6636 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6637 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6638 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6639 Likewise.
6640 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6641 Likewise.
6642 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6643 Likewise.
6644 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6645 Likewise.
6646 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6647 (__lll_timedlock_elision, __lll_lock_elision)
6648 (__lll_unlock_elision, __lll_trylock_elision)
6649 (lll_timedlock_elision, lll_lock_elision)
6650 (lll_unlock_elision, lll_trylock_elision): Add.
6651 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6652 (pthread_mutex_t): Add lock elision support for s390.
6653
1a2f40e5
W
66542014-05-14 Wilco <wdijkstr@arm.com>
6655
6656 * sysdeps/arm/fclrexcpt.c: Cleanup.
6657 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6658 * sysdeps/arm/feenablxcpt.c: Cleanup.
6659 * sysdeps/arm/fegetenv.c: Cleanup.
6660 * sysdeps/arm/fegetexcept.c: Cleanup.
6661 * sysdeps/arm/fegetround.c: Cleanup.
6662 * sysdeps/arm/feholdexcpt.c: Cleanup.
6663 * sysdeps/arm/fesetenv.c: Cleanup.
6664 * sysdeps/arm/fesetround.c: Cleanup.
6665 * sysdeps/arm/feupdateenv.c: Cleanup.
6666 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6667 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6668 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6669 * sysdeps/arm/ftestexcept.c: Cleanup.
6670 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6671 * sysdeps/arm/setfpucw.c: Cleanup.
6672
f63c86fe
WN
66732014-05-09 Will Newton <will.newton@linaro.org>
6674
6675 * sysdeps/arm/armv7/strcmp.S: New file.
6676 * NEWS: Mention addition of ARMv7 optimized strcmp.
6677
7a1a51b5
RM
66782014-05-08 Roland McGrath <roland@hack.frob.com>
6679
95afbbe5
RM
6680 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6681 look for %.ac rather than %.in.
6682
6683 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6684 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6685 * sysdeps/mach/hurd/configure: Regenerated.
6686 * sysdeps/unix/sysv/linux/configure: Regenerated.
6687
7a1a51b5
RM
6688 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6689
5057ad3b
SE
66902014-05-07 Steve Ellcey <sellcey@mips.com>
6691
6692 [BZ# 16922]
6693 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6694 (LONG_SUB): Ditto.
6695 (PTR_SUB): Ditto.
6696
8dc97517
AS
66972014-05-07 Andreas Schwab <schwab@suse.de>
6698
6699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6700 when skipping over non-matching result from nscd.
6701
ce0c5b8f
OB
67022014-05-07 Ondřej Bílka <neleai@seznam.cz>
6703
6704 [BZ #16876]
6705 * nptl/sockperf.c (client): Check socket return value.
8dc97517 6706
a1189263
OB
6707 [BZ #16877]
6708 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6709 nscd security class.
ce0c5b8f 6710
0f58d252
RM
67112014-05-06 Roland McGrath <roland@hack.frob.com>
6712
6713 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6714 * sysdeps/arm/unwind.h: ... here.
6715
83df9ad0
AJ
67162014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6717
ce0c5b8f
OB
6718 [BZ# 16916]
6719 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6720 Define.
83df9ad0 6721
f360f94a
VR
67222014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6723
6724 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6725 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6726 multiarch strncpy for PPC64.
6727 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6728 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6730 multiarch optimizations.
6731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6732 (__libc_ifunc_impl_list): Likewise.
6733 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6734 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6735 multiarch stpncpy for PPC64.
6736 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6737 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6738
978a41c3
AS
67392014-05-06 Andreas Schwab <schwab@suse.de>
6740
6741 [BZ #16912]
6742 * gmon/mcount.c (_MCOUNT_DECL): Use
6743 atomic_compare_and_exchange_bool_acq instead of
6744 catomic_compare_and_exchange_bool_acq.
6745
eb1ed03d
RM
67462014-05-05 Roland McGrath <roland@hack.frob.com>
6747
fe658845
RM
6748 * elf/Makefile (others, install-bin): Remove pldd.
6749 (pldd-modules): Variable removed.
6750 ($(objpfx)pldd): Target removed.
6751 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6752 (others, install-bin): Append pldd here.
6753 ($(objpfx)pldd): New target.
6754
eb1ed03d
RM
6755 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6756 to 0, so the first #if test emitted later doesn't see it undefined.
6757 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6758 * sysdeps/gnu/errlist.c: Regenerated.
6759
19c4bec0
AZ
67602014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6761
6762 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6763 [libc_hidden_builtin_def]: Define to empty value.
6764 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6765 [libc_hidden_builtin_def]: Likewise.
6766 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6767 [libc_hidden_builtin_def]: Likewise.
6768 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6769 [libc_hidden_builtin_def]: Likewise.
6770 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6771 __redirect_memcpy and define ifunc as default hidden symbol.
6772 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6773 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6774
7776e669
AC
67752014-05-04 Adam Conrad <adconrad@0c3.net>
6776
6777 * locale/iso-4217.def: Reintroduce XDR currency.
6778
d69aeb12
AM
67792014-05-04 Allan McRae <allan@archlinux.org>
6780
6781 * po/eo.po: Update Esperanto translation from translation project.
6782
8f1df5cf
CD
67832014-05-02 Carlos O'Donell <carlos@redhat.com>
6784
6785 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6786 and FEATURE_INDEX_MAX to 1.
6787 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6788
13e402e7
SE
67892014-05-01 Steve Ellcey <sellcey@mips.com>
6790
6791 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6792 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6793 * iconvdata/big5.c (ONE_DIRECTION): Define.
6794 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6795 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6796 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6797 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6798 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6799 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6800 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6801 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6802 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6803 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6804 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6805 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6806 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6807 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6808 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6809 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6810 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6811 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6812 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6813 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6814 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6815 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6816 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6817 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6818 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6819 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6820 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6821 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6822 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6823 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6824 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6825 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6826 * iconvdata/johab.c (ONE_DIRECTION): Define.
6827 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6828 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6829 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6830 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6831 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6832 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6833 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6834 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6835 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6836 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6837
c727f032
RM
68382014-05-01 Roland McGrath <roland@hack.frob.com>
6839
8f2f08d0
RM
6840 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6841 (_IO_JUMPS_OFFSET): Define to 0.
6842
c727f032
RM
6843 * nptl/sysdeps/pthread/bits/libc-lock.h
6844 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6845 (__libc_lock_define_initialized_recursive): Always define using
6846 initializer. Modern compilers treat uninitialized (implicit zero) and
6847 explicit zero initializers the same (i.e. put the datum in bss).
6848
a849e800
AS
68492014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6850
6851 * nscd/nscd-client.h: Include <string.h>.
6852
5331255b
DM
68532014-05-01 David S. Miller <davem@davemloft.net>
6854
6855 [BZ #16885]
6856 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6857 multiple zero bytes exist at the end of a string.
6858 Reported by Aurelien Jarno <aurelien@aurel32.net>
6859
6860 * string/test-strcmp.c (check): Add explicit test for situations where
6861 there are multiple zero bytes after the first.
6862
4fdfe821
AS
68632014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6864
6865 [BZ #16890]
6866 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6867 when compiling wprintf.
6868 * stdio-common/tstdiomisc.c (t3): New function.
6869 (main): Call it.
6870
0cdddc25
SE
68712014-05-01 Steve Ellcey <sellcey@mips.com>
6872
6873 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6874 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6875 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6876 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6877
6426d77e
SE
68782014-05-01 Steve Ellcey <sellcey@mips.com>
6879
6880 * stdlib/longlong.h: Updated from GCC.
6881
6d96f5e4
WN
68822014-05-01 Will Newton <will.newton@linaro.org>
6883 Bernard Ogden <bernie.ogden@linaro.org>
6884
7470db0c
WN
6885 * NEWS: Update fixed bug list.
6886
6d96f5e4
WN
6887 [BZ #15119]
6888 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6889
211d653c
DM
68902014-04-30 David S. Miller <davem@davemloft.net>
6891
4fa262fa
DM
6892 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6893 (libc_feholdexcept_setround_sparc_ctx): New function.
6894 (libc_fesetenv_sparc_ctx): Likewise.
6895 (libc_feupdateenv_sparc_ctx): Likewise.
6896 (libc_feholdsetround_sparc_ctx): Likewise.
6897 (libc_feholdexcept_setround_ctx): Define.
6898 (libc_feholdexcept_setroundf_ctx): Likewise.
6899 (libc_feholdexcept_setroundl_ctx): Likewise.
6900 (libc_fesetenv_ctx): Likewise.
6901 (libc_fesetenvf_ctx): Likewise.
6902 (libc_fesetenvl_ctx): Likewise.
6903 (libc_feupdateenv_ctx): Likewise.
6904 (libc_feupdateenvf_ctx): Likewise.
6905 (libc_feupdateenvl_ctx): Likewise.
6906 (libc_feresetround_ctx): Likewise.
6907 (libc_feresetroundf_ctx): Likewise.
6908 (libc_feresetroundl_ctx): Likewise.
6909 (libc_feholdsetround_ctx): Likewise.
6910 (libc_feholdsetroundf_ctx): Likewise.
6911 (libc_feholdsetroundl_ctx): Likewise.
6912
1d3d93ef
DM
6913 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6914 with __USE_GNU instead of XOPEN cpp guards.
6915
8aa583c3
DM
6916 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6917 0.
6918
211d653c
DM
6919 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6920 with XOPEN cpp guards.
6921
60c8f1f6
JB
69222014-04-30 Julian Brown <julian@codesourcery.com>
6923
6924 [BZ #16888]
6925 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6926 handling.
6927
9a461d46
JM
69282014-04-30 Joseph Myers <joseph@codesourcery.com>
6929
d0f5b3f8
JM
6930 [BZ #9894]
6931 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6932 Change to 2.6.32.
6933 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6934 * sysdeps/unix/sysv/linux/configure: Regenerated.
6935 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6936 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6937 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6938 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6939 * README: Update reference to required Linux kernel version.
6940 * manual/install.texi (Linux): Update reference to required Linux
6941 kernel headers version.
6942 * INSTALL: Regenerated.
6943
9a461d46
JM
6944 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6945 header inclusion.
6946 [POSIX] (limits.h): Likewise.
6947 [POSIX] (math.h): Likewise.
6948 [POSIX] (sys/wait.h): Likewise.
6949 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6950 function.
6951 [POSIX] (stddef.h): Do not allow header inclusion.
6952
1775babf
AZ
69532014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6954
57f41c40 6955 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 6956
8f630cca
YY
69572014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6958
6959 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6960 Return immediately after lll_futex_wake.
6961
1cdeb237
SP
69622014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6963
bc8f194c
SP
6964 [BZ #16791]
6965 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6966 structure.
6967 (datahead_init_pos): Call datahead_init_common early.
6968 (datahead_init_neg): Likewise.
6969
1cdeb237
SP
6970 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6971 datahead_init_neg): New functions.
6972 * nscd/aicache.c (addhstaiX): Use them.
6973 * nscd/grpcache.c (cache_addgr): Likewise.
6974 * nscd/hstcache.c (cache_addhst): Likewise.
6975 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6976 * nscd/netgroupcache.c (do_notfound): Likewise.
6977 (addgetnetgrentX): Likewise.
6978 (addinnetgrX): Likewise.
6979 * nscd/pwdcache.c (cache_addpw): Likewise.
6980 * nscd/servicescache.c (cache_addserv): Likewise.
6981
16b293a7
SP
69822014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6983 Atsushi Onoe <atsushi@onoe.org>
6984
6985 [BZ #14308]
6986 [BZ #12994]
6987 [BZ #13651]
6988 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6989 one response is valid.
6990 * resolv/res_send.c (send_dg): Check for validity of other
6991 response if the current response is a referral.
6992
a28a9b94
SE
69932014-04-29 Steve Ellcey <sellcey@mips.com>
6994
6995 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6996
2ca180e9
SL
69972014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6998
6999 [BZ #16823]
7000 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7001 Always divide by positive zero when computing -Inf result.
7002 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7003 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7004
18f2945a
AZ
70052014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7006
7007 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7008 FPSCR if value do not change.
7009 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7010 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7011 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7012 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7013 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7014 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7015 function.
7016
5abebba4
CD
70172014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7018
7019 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7020 * sysdeps/unix/sysv/linux/hppa: Move directory from
7021 ports/systeps/unix/sysv/linux/hppa.
7022 * README: Update listing for hppa-*-linux-gnu.
7023
f7ed60c2
OB
70242014-04-28 Ondřej Bílka <neleai@seznam.cz>
7025
fff763a5
OB
7026 [BZ #16754]
7027 * manual/stdio.texi (Hook functions): Fix types of stream hook
7028 functions.
f7ed60c2
OB
7029 [BZ #16854]
7030 * socket/sys/socket.h: Fix typo in comment.
7031
df639d73
WD
70322014-04-28 Wilco <wdijkstr@arm.com>
7033
f7ed60c2 7034 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
7035 * sysdeps/arm/math_private.h: New file.
7036 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7037
48332d82
L
70382014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7039
7040 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7041 with __int128_t.
7042 (La_x86_64_retval): Likewise.
7043
e5e0d9a4
IB
70442014-04-24 Ian Bolton <ian.bolton@arm.com>
7045
7046 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7047 fpsr if value didn't change.
7048 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7049 to fpcr if value didn't change.
7050 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7051 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7052 fpsr or fpcr if value didn't change.
7053 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7054 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7055 fpcr if value didn't change.
7056 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7057 to fpsr if value didn't change.
7058
bacc75f7
SP
70592014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7060
7061 * nptl/tst-sem3.c: Use test-skeleton.c
7062 (main): Rename to do_test. Use return instead of
7063 exit.
7064 * nptl/tst-sem4.c: Use test-skeleton.c
7065 (main): Rename to do_test.
7066
a059d359
DM
70672014-04-22 David S. Miller <davem@davemloft.net>
7068
7069 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7070 (struct sigaction): New struct member __glibc_reserved0, change
7071 type of sa_flags to int.
7072
ea6c92f3
YZ
70732014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7074
7075 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7076 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7077
766c4a36
SP
70782014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7079
7080 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7081 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7082
140cc7ab
VK
70832014-04-22 Will Newton <will.newton@linaro.org>
7084 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7085
7086 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7087 (__longjmp): Add longjmp and longjmp_target SystemTap
7088 probes.
7089 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7090 (__sigsetjmp): Add setjmp SystemTap probe.
7091
c54e5cf7
CD
70922014-04-17 Carlos O'Donell <carlos@redhat.com>
7093
7094 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7095 match manual order.
7096
75ffb047
AZ
70972014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7098
7099 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7100
2cd925f7
AZ
7101 * sysdeps/powerpc/fpu/fenv_private.h
7102 (libc_feholdexcept_setroundl_ctx): Define to
7103 libc_feholdexcept_setround_ppc_ctx.
7104 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7105 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7106 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7107 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7108
39e6cd8d
IB
71092014-04-17 Ian Bolton <ian.bolton@arm.com>
7110
7111 * sysdeps/aarch64/math-tests.h: New file.
7112
f9281df9
SY
71132014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7114
7115 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7116 New.
7117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7118 Check and set bit_AVX2_Usable.
7119 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7120 macro.
7121 (bit_AVX2): Likewise.
7122 (index_AVX2_Usable): Likewise.
7123 (CPUID_AVX2): Likewise.
7124 (HAS_AVX2): Likewise.
7125
37d35007
WN
71262014-04-17 Will Newton <will.newton@linaro.org>
7127
7c677662
WN
7128 * manual/setjmp.texi (System V contexts): Add note that
7129 calling setcontext on a context created by a call to a
7130 signal handler is undefined. Update text to note that
7131 setcontext from a signal handler is possible but not
7132 recommended.
7133
37d35007 7134 [BZ #16629]
e04a4e9d
WN
7135 * stdlib/tst-setcontext.c: Include signal.h.
7136 (main): Check that the signal stack before and
7137 after swapcontext is the same.
7138
37d35007
WN
7139 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7140 Re-implement to restore registers in user code and avoid
7141 rt_sigreturn system call.
7142
423a7160
W
71432014-04-17 Wilco <wdijkstr@arm.com>
7144
7145 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7146 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7147 * math/test-fenv.c: Skip exception trap tests on targets which only
7148 support non-stop mode.
7149
bc93ab29
IB
71502014-04-17 Ian Bolton <ian.bolton@arm.com>
7151 Wilco Dijkstra <wilco.dijkstra@arm.com>
7152
7153 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7154 (libc_feholdsetround_aarch64_ctx)
7155 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7156 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7157 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7158 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7159 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7160 (libc_feresetround_noexl_ctx): Define.
7161
95fc5fa3
RH
71622014-04-16 Richard Henderson <rth@redhat.com>
7163
ddb04724
RH
7164 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7165
d77c0899
RH
7166 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7167 unwind tables.
7168
a3df56fc
RH
7169 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7170 const from the non-libc, non-ldso copy.
7171
95fc5fa3
RH
7172 * sysdeps/alpha/libm-test-ulps: Regenerate.
7173
7e0b6763
IB
71742014-04-16 Ian Bolton <ian.bolton@arm.com>
7175 Wilco Dijkstra <wilco.dijkstra@arm.com>
7176
7177 * sysdeps/aarch64/fpu/math_private.h: New file.
7178
a9ea2e0c
MS
71792014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7180
7181 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7182
ea8ba7cd
IZ
71832014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7184
7e54fd04 7185 [BZ #16275]
ea8ba7cd
IZ
7186 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7187 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7188 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7189 Intel MPX bound registers before _dl_profile_fixup.
7190 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7191 registers after _dl_profile_fixup. Save and restore bound
7192 registers bnd0/bnd1 when calling _dl_call_pltexit.
7193 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7194 (LR_BND_OFFSET): Likewise.
7195 (LRV_BND0_OFFSET): Likewise.
7196 (LRV_BND1_OFFSET): Likewise.
7197
9f2a4fbc
ST
71982014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7199
7200 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7201 to...
7202 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
7203 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7204 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7205 fields.
9f2a4fbc 7206
fd15a59b
ST
72072014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7208
7209 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7210
f19dfa0a
SL
72112014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7212
7213 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7214
4fa8bc3b
SL
72152014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7216
7217 [BZ #14770]
7218 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7219 * sysdeps/s390/configure: Regenerate.
7220
8ea587db
SL
7221 [BZ #16824]
7222 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7223 Set round-to-nearest internally to reduce error accumulation.
7224
aa5f0ff1
AM
72252014-04-16 Alan Modra <amodra@gmail.com>
7226
7227 [BZ #16740]
7228 [BZ #16619]
7229 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7230 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 7231 * NEWS: Update fixed bug list.
aa5f0ff1 7232
bb9c256f
SP
72332014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7234
7235 * benchtests/Makefile: Depend on libraries in build directory.
7236 (bench-math): Separate out math tests.
7237 (bench-pthread): Separate out pthread tests.
7238 (bench): Include math and pthread tests.
7239
f737dfd0
CD
72402014-04-14 Carlos O'Donell <carlos@redhat.com>
7241
7242 [BZ #16831]
7243 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7244 _dl_debug_initialize.
7245
0699f766
CD
7246 * configure.ac: Remove SELinux header check.
7247 * configure: Regenerate.
7248 * nscd/selinux.c (perms): Array of const char* to permission names.
7249 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7250 default policy. Call string_to_security_class and string_to_av_perm to
7251 translate strings. Enforce default policy and call avs_has_perm with
7252 results of translated strings.
7253
809bd45f
DM
72542014-04-13 David S. Miller <davem@davemloft.net>
7255
7256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7257
89e691f2
AM
72582014-04-12 Allan McRae <allan@archlinux.org>
7259
7260 [BZ #16838]
7261 * manual/string.texi (Collation Functions): Fix qsort argument
7262 order in example.
7263 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7264
9c9daaeb
CM
72652014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7266
7267 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7268 Make the test a no-op if there are no exceptions defined.
7269
95561fb9
PP
72702014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7271
fe8d072c 7272 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
7273 enable-hardcoded-path-in-tests
7274
970c602a
WN
72752014-04-11 Will Newton <will.newton@linaro.org>
7276
7277 * benchtests/Makefile (extra-objs): Add json-lib.o.
7278 (bench-func): Tidy up JSON output.
7279 * benchtests/bench-skeleton.c: Include json-lib.h.
7280 (main): Use JSON library functions to do output of
7281 benchmark results.
7282 * benchtests/bench-timing-type.c (main): Output the
7283 timing type simply, leaving formatting to the user.
7284 * benchtests/json-lib.c: New file.
7285 * benchtests/json-lib.h: Likewise.
7286
36875b06
TR
72872014-04-11 Torvald Riegel <triegel@redhat.com>
7288
7289 [BZ #15215]
7290 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7291 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7292 memory barriers. Add comments.
7293 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7294 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7295 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7296 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7297 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7298 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7299
579db35a
SL
73002014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7301
7302 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7303 * sysdeps/s390/s390-64/configure.ac: ... this ...
7304 * sysdeps/s390/configure.ac: ... to here.
7305 * sysdeps/s390/s390-32/configure: Delete file.
7306 * sysdeps/s390/s390-64/configure: Delete file.
7307 * sysdeps/s390/configure: Regenerate.
7308
c12e9f37
JAPH
73092014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7310
7311 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7312
439bda32
WN
73132014-04-11 Will Newton <will.newton@linaro.org>
7314
7315 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7316 to zero if it is not defined elsewhere. (mtrim): Test
7317 the value of MALLOC_DEBUG with #if rather than #ifdef.
7318
6a5d6ea1
TR
73192014-04-10 Torvald Riegel <triegel@redhat.com>
7320
7321 * benchtests/pthread_once-inputs: New file.
7322 * benchtests/pthread_once-source.c: New file.
7323 * benchtests/README: Update documentation.
7324
a4c75cfd
IZ
73252014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7326 H.J. Lu <hongjiu.lu@intel.com>
7327
7e54fd04 7328 [BZ #16275]
a4c75cfd
IZ
7329 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7330 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7331 * sysdeps/x86_64/configure: Regenerated.
7332 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7333 macro.
7334 (REGISTER_SAVE_RAX): Likewise.
7335 (REGISTER_SAVE_RCX): Likewise.
7336 (REGISTER_SAVE_RDX): Likewise.
7337 (REGISTER_SAVE_RSI): Likewise.
7338 (REGISTER_SAVE_RDI): Likewise.
7339 (REGISTER_SAVE_R8): Likewise.
7340 (REGISTER_SAVE_R9): Likewise.
7341 (REGISTER_SAVE_BND0): Likewise.
7342 (REGISTER_SAVE_BND1): Likewise.
7343 (REGISTER_SAVE_BND2): Likewise.
7344 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7345 bound registers when calling _dl_fixup.
7346
27822ce6
AZ
73472014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7348
7349 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
7350 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7351 of its definition.
27822ce6
AZ
7352 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7353 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7354 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7355 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7356 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7357 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7358 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7359
a88ddc90
PTB
73602014-04-09 Peter Brett <peter@peter-b.co.uk>
7361
7362 [BZ #15514]
7363 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7364 pathconf(_PC_NAME_MAX).
7365
01f8eac2
AZ
73662014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7367
7368 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7369 Remove macro usage.
7370 (__PTHREAD_SPINS): Move definition to ...
7371 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7372 (__PTHREAD_SPINS): ... here.
7373 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7374 (__PTHREAD_SPIN): Likewise.
7375 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7376 (__PTHREAD_SPIN): Likewise.
7377 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7378 (__PTHREAD_SPIN): Likewise.
7379 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7380 (__PTHREAD_SPIN): Likewise.
7381 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7382 (__PTHREAD_SPIN): Likewise.
7383 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7384 (__PTHREAD_SPIN): Likewise.
7385 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7386 (__PTHREAD_SPIN): Likewise.
7387 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7388 (__PTHREAD_SPIN): Likewise.
7389 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7390 (__PTHREAD_SPIN): Likewise.
7391 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7392 (__PTHREAD_SPIN): Likewise.
7393 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7394 (__PTHREAD_SPIN): Likewise.
7395 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7396 (__PTHREAD_SPIN): Likewise.
7397
de21c33c
AZ
7398 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7399 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7400 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7401 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7402 imply folder.
7403 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7404 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7405 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7406 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7407 correct imply path.
7408 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7409 strlen symbol for non multi-arch builds.
7410 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7411 missing hidden_def and weak_alias.
7412
862c472e
CD
74132014-04-08 Carlos O'Donell <carlos@redhat.com>
7414
7415 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7416
8667f90e
WN
74172014-04-07 Will Newton <will.newton@linaro.org>
7418
7419 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7420 and contents. [!_LIBC] Remove #ifndef and contents.
7421 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7422 * string/memccpy.c (__memccpy): Use ANSI prototype.
7423 * string/memfrob.c (memfrob): Likewise.
7424 * string/strcoll.c (STRCOLL): Likewise.
7425 * string/strlen.c (strlen): Likewise.
7426 * string/strtok.c (STRTOK): Likewise.
7427 * string/strcat.c: Remove unused #include of memcopy.h.
7428 (strcat): Use ANSI prototype.
7429 * string/strchr.c: Remove unused #include of memcopy.h.
7430 (strchr): Use ANSI prototype.
7431 * string/strcmp.c: Remove unused #include of memcopy.h.
7432 (strcmp): Use ANSI prototype.
7433 * string/strcpy.c: Remove unused #include of memcopy.h.
7434 (strcpy): Use ANSI prototype.
7435
7ffa9423
AZ
74362014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7437
7438 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7439 * config.make.in (config-extra-cppflags): Set it from
7440 libc_extra_cppflags.
7441 * configure.ac (libc_extra_cflags): Make it accumulate over
7442 configure fragments.
7443 (libc_extra_cppflags): New flag.
7444 * configure. Regenerate.
7445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
7446 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7447 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
7448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7449
8bd70862
AZ
7450 [BZ #16815]
7451 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7452 result for FE_DOWNWARD rounding mode.
7453 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7454 Likewise.
7455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7456
d42f3448
CM
74572014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7458
7459 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7460 in function argument name.
7461
1c21d115
DS
74622014-04-03 David Svoboda <svoboda@cert.org>
7463
7464 [BZ #5666]
7465 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7466 explicitly.
7467
fcccd512
RM
74682014-04-03 Roland McGrath <roland@hack.frob.com>
7469
7470 * elf/dl-unmap-segments.h: New file.
7471 * sysdeps/generic/ldsodefs.h
7472 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7473 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7474 * elf/dl-fptr.c: Likewise.
7475 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7476 * sysdeps/aarch64/tlsdesc.c: Likewise.
7477 * sysdeps/arm/tlsdesc.c: Likewise.
7478 * sysdeps/i386/tlsdesc.c: Likewise.
7479 * sysdeps/tile/dl-runtime.c: Likewise.
7480 * sysdeps/x86_64/tlsdesc.c: Likewise.
7481 * elf/dl-load.h: New file.
7482 * elf/dl-load.c: Include it.
7483 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7484 Macros moved to dl-load.h.
7485 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7486 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7487 Use _dl_unmap_segments in place of __munmap.
7488 Break out segment-mapping loop into ...
7489 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7490
f6488e2b
WN
74912014-04-03 Will Newton <will.newton@linaro.org>
7492
7493 * elf/dl-lookup.c (do_lookup_x): Remove comment
7494 referring to nested function and move variable
7495 declarations down to before first use.
7496
6f05bafe
JM
74972014-04-02 Joseph Myers <joseph@codesourcery.com>
7498
a84e78c8
JM
7499 [BZ #16799]
7500 [BZ #16800]
7501 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7502 with 0 numerator.
7503 * math/s_catanf.c (__catanf): Likewise.
7504 * math/s_catanh.c (__catanh): Likewise.
7505 * math/s_catanhf.c (__catanhf): Likewise.
7506 * math/s_catanhl.c (__catanhl): Likewise.
7507 * math/s_catanl.c (__catanl): Likewise.
7508 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7509 by positive zero when computing -Inf result.
7510 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7511 (catanh_test): Likewise.
7512 * sysdeps/i386/fpu/libm-test-ulps: Update.
7513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7514
6f05bafe
JM
7515 [BZ #16789]
7516 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7517 instead of using underflowing value in computing result.
7518 * math/s_clog10.c (__clog10): Likewise.
7519 * math/s_clog10f.c (__clog10f): Likewise.
7520 * math/s_clog10l.c (__clog10l): Likewise.
7521 * math/s_clogf.c (__clogf): Likewise.
7522 * math/s_clogl.c (__clogl): Likewise.
7523 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7524 (clog10_test): Likewise.
7525 * sysdeps/i386/fpu/libm-test-ulps: Update.
7526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7527
b0abbc21
AM
75282014-04-02 Alan Modra <amodra@gmail.com>
7529
7530 [BZ #16739]
7531 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7532 output when value is near a power of two. Use int64_t for lx and
7533 remove casts. Use decimal rather than hex exponent constants.
7534 Don't use long double multiplication when double will suffice.
7535 * math/libm-test.inc (nextafter_test_data): Add tests.
7536 * NEWS: Add 16739 and 16786 to bug list.
7537
af6b1797
AM
7538 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7539
483818d7
AM
7540 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7541
f6c55796
WN
75422014-04-01 Will Newton <will.newton@linaro.org>
7543
7544 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7545 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7546
13f7fe35
FW
75472014-04-01 Florian Weimer <fweimer@redhat.com>
7548
7549 [BZ #13347]
7550 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7551 * nptl/tst-setuid2.c: New file.
7552 * nptl/Makefile (xtests): Add tst-setuid2.
7553
c859b32e
AM
75542014-04-01 Alan Modra <amodra@gmail.com>
7555
7556 [BZ #16786]
7557 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7558
54fa2475
JM
75592014-03-31 Joseph Myers <joseph@codesourcery.com>
7560
8795b4a4
JM
7561 [BZ #6803]
7562 [BZ #6804]
7563 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7564 set errno as appropriate.
7565 * math/w_scalbf.c (__scalbf): Likewise.
7566 * math/w_scalbl.c (__scalbl): Likewise.
7567 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7568 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7569 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7570 Add more NaN tests.
7571
54fa2475
JM
7572 [BZ #16349]
7573 * math/w_atan2.c: Include <errno.h>.
7574 (__atan2): Set errno for result underflowing to zero.
7575 * math/w_atan2f.c: Include <errno.h>.
7576 (__atan2f): Set errno for result underflowing to zero.
7577 * math/w_atan2l.c: Include <errno.h>.
7578 (__atan2l): Set errno for result underflowing to zero.
7579 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7580 tests.
7581 * math/auto-libm-test-out: Regenerated.
7582
757d9dd5
AZ
75832014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7584
7585 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7586 Encode instruction correctly in little endian.
7587 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7588 Likewise.
7589 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7590 Likewise.
7591 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7592 Likewise.
7593 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7594 Likewise.
7595
d7a68734
JM
75962014-03-31 Joseph Myers <joseph@codesourcery.com>
7597
47c5adeb
JM
7598 [BZ #9894]
7599 * sysdeps/unix/sysv/linux/kernel-features.h
7600 [__sparc__ && !__arch64__ && !__sparc_v9__]
7601 (__ASSUME_SET_ROBUST_LIST): Do not define.
7602 [__sparc__ && !__arch64__ && !__sparc_v9__]
7603 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7604 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7605 Likewise.
7606 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7607 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7608 (__ASSUME_REQUEUE_PI): Likewise.
7609 (__ASSUME_SET_ROBUST_LIST): Likewise.
7610 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7611 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7612 Undefine.
7613 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7614 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7615 Likewise.
7616 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7617 Likewise.
7618 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7619 Likewise.
7620 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7621 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7622 Undefine.
7623 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7624 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7625 Likewise.
7626
d7a68734
JM
7627 [BZ #16648]
7628 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7629 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7630 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7631
c760f5c2
WN
76322014-03-31 Will Newton <will.newton@linaro.org>
7633
7634 * benchtests/Makefile (bench): Add ffs and ffsll to list
7635 of tests.
7636 * benchtests/ffs-inputs: New file.
7637 * benchtests/ffsll-inputs: Likewise.
7638
ea6029b1
JM
76392014-03-29 Joseph Myers <joseph@codesourcery.com>
7640
7641 [BZ #16770]
7642 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7643 too large before casting to int.
7644 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7645 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7646 * math/libm-test.inc (scalb_test_data): Add more tests.
7647
cf806aff
SP
76482014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7649
56737508
SP
7650 * benchtests/Makefile (DETAILED_OPT): New make option.
7651 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7652 set.
7653 * benchtests/bench-skeleton.c: Include stdbool.h.
7654 (main): Store and print timings per input.
7655 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7656 member to each argument value.
7657 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7658 (_print_arg_data): Initialize per-input timing to 0.
7659
cb5e4aad
SP
7660 * benchtests/Makefile (timing-type): New binary.
7661 (bench-clean): Also remove bench-timing-type.
7662 (bench): New target for timing-type.
7663 (bench-func): Print output in JSON format.
7664 * benchtests/bench-skeleton.c (main): Print output in JSON
7665 format.
7666 * benchtests/bench-timing-type.c: New file.
7667 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7668 (TIMING_PRINT_STATS): Remove.
7669 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7670 name separately.
7671
cf806aff
SP
7672 * benchtests/bench-modf.c: Remove.
7673 * benchtests/modf-inputs: New inputs file.
7674
289e0779
JM
76752014-03-28 Joseph Myers <joseph@codesourcery.com>
7676
7677 [BZ #16362]
7678 * math/s_clog10.c (M_PI_LOG10E): New macro.
7679 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7680 imaginary parts are 0.
7681 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7682 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7683 imaginary parts are 0.
7684 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7685 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7686 imaginary parts are 0.
7687 * math/libm-test.inc (clog10_test_data): Update expected results
7688 for when real and imaginary parts are 0.
7689
277ae3f1
PP
76902014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7691
7692 * elf/dl-load.c: Finish conversion of __builtin_expect into
7693 __glibc_{un}likely.
7694
03a7091f
JM
76952014-03-27 Joseph Myers <joseph@codesourcery.com>
7696
7697 [BZ #16348]
7698 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7699 1+x for argument with exponent below -67.
7700 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7701 Likewise.
7702 * math/auto-libm-test-in: Add more tests of exp.
7703 * math/auto-libm-test-out: Regenerated.
7704
ea7d8b95
SP
77052014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7706
dd3022d7
SP
7707 [BZ #16759]
7708 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7709 (nscd_getnetgrent): Use it.
7710
ea7d8b95
SP
7711 [BZ #16760]
7712 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7713 of stpcpy.
7714
df5b85da
AK
77152014-03-27 Andi Kleen <ak@linux.intel.com>
7716
57f41c40
AS
7717 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7718 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7719 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7720 (lll_robust_unlock): Remove out of line section. Use cfi
7721 intrinsics.
df5b85da 7722 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
7723 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7724 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7725 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7726 (lll_robust_unlock): Remove out of line section. Use cfi
7727 intrinsics.
df5b85da
AK
7728 (LLL_STUB_UNWIND_INFO*): Remove.
7729
fbd6b5a4
SP
77302014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7731
7732 [BZ #16758]
7733 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7734 blank values.
7735
1b26b855
PP
77362014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7737
7738 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7739
9be36fb8
JM
77402014-03-26 Joseph Myers <joseph@codesourcery.com>
7741
7742 [BZ #16198]
7743 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7744 fnstenv.
7745 * math/test-fenv-preserve.c: New file.
7746 * math/Makefile (tests): Add test-fenv-preserve.
7747
60a2f3c1
WN
77482014-03-26 Will Newton <will.newton@linaro.org>
7749
7750 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7751
a5e5f1e2
RM
77522014-03-25 Roland McGrath <roland@hack.frob.com>
7753
7754 * scripts/versionlist.awk: Partition the version sets and emit all
7755 GLIBC_* (sorted) before all others (sorted).
7756
00f4012a
JM
77572014-03-25 Joseph Myers <joseph@codesourcery.com>
7758
7759 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7760 GLIBC_2.2.5 version.
7761
7bc5a741
AZ
77622014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7763
7764 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7765 calls.
7766
7578473b
AZ
7767 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7768 previous change.
7769
f3f1dab3
AZ
7770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7771
6da36183
AS
77722014-03-25 Andreas Schwab <schwab@suse.de>
7773
7774 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7775 label to be used after in6ailist is initialized.
7776
f3f1dab3 77772014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 7778
7578473b 7779 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
7780 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7781
046651c1
JM
77822014-03-25 Joseph Myers <joseph@codesourcery.com>
7783
7784 [BZ #16357]
7785 [BZ #16599]
7786 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7787 min_plus_half.
7788 (fp_formats): Update initializers.
7789 (init_fp_formats): Initialize new field.
7790 (output_for_one_input_case): Allow underflow for results up to
7791 min_plus_half.
7792 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7793 * math/auto-libm-test-in: Don't mark some underflows from asin and
7794 atanh as spurious.
7795 * math/auto-libm-test-out: Regenerated.
7796 * sysdeps/i386/fpu/libm-test-ulps: Update.
7797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7798
003e49ed
AS
77992014-03-25 Andreas Schwab <schwab@suse.de>
7800
7801 * libio/Makefile (tst-ftell-partial-wide-ENV)
7802 (tst-ftell-active-handler-ENV): Define.
7803
de031874
SL
78042014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7805
7806 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7807
55a81e3b
PP
78082014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7809
7810 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7811
f3426898
JM
78122014-03-24 Joseph Myers <joseph@codesourcery.com>
7813
7814 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7815 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7816 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7817
a42faf59
PP
78182014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7819
7820 [BZ #16634]
a42faf59 7821 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
7822 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7823 (open_path): Change from boolean 'secure' to complete flag 'mode'
7824 (_dl_map_object): Adjust.
a42faf59
PP
7825 * elf/Makefile (tests): Add tst-dlopen-aout.
7826 * elf/tst-dlopen-aout.c: New test.
7827
50936127
SL
78282014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7829
7830 [BZ #16714]
7831 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7832 (struct stat): Rename member pad0 to __glibc_reserved0.
7833
26011b5c
SL
7834 [BZ #16712]
7835 * sysdeps/s390/s390-32/bits/wordsize.h
7836 (__WORDSIZE32_SIZE_ULONG): New define.
7837 * sysdeps/s390/s390-64/bits/wordsize.h
7838 (__WORDSIZE32_SIZE_ULONG): Likewise.
7839 * sysdeps/generic/stdint.h (SIZE_MAX):
7840 Define as UL if __WORDSIZE32_SIZE_ULONG.
7841
a2d86bf1
SL
7842 [BZ #16713]
7843 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7844 (__glibc_reserved0): New variable.
7845 (sa_flags): Change type to int.
7846
78b6eebc
SL
7847 * posix/Makefile (before-compile): Use += before-compile instead
7848 of a :=.
7849
f1399b5a
SL
7850 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7851 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7852
a071766e
AS
78532014-03-20 Andreas Schwab <schwab@suse.de>
7854
7855 [BZ #16743]
7856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7857 non-matching result from nscd.
7858
27c673b8
SP
78592014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7860
7861 * scripts/bench.py: Moved to ...
7862 * benchtests/scripts/bench.py: ... here.
7863 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7864
44152e4b
AS
78652014-03-24 Andreas Schwab <schwab@suse.de>
7866
7867 [BZ #16002]
7868 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7869 alloca_account and account alloca use for struct in6ailist.
7870
b376a11a
JM
78712014-03-24 Joseph Myers <joseph@codesourcery.com>
7872
7873 [BZ #16284]
7874 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7875 rounding mode to recompute results that overflow to infinity or
7876 underflow to zero.
7877 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7878 bug 16284.
7879 * math/auto-libm-test-out: Regenerated.
7880 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7881 (ccosh_test): Likewise.
7882 (csin_test_data): Use plus_oflow.
7883 (csin_test): Use ALL_RM_TEST.
7884 (csinh_test_data): Use plus_oflow.
7885 (csinh_test): Use ALL_RM_TEST.
7886 * sysdeps/i386/fpu/libm-test-ulps: Update.
7887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7888
f7be7376
JM
78892014-03-21 Joseph Myers <joseph@codesourcery.com>
7890
1ca2d03e
JM
7891 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7892 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7893 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7894
f7be7376
JM
7895 [BZ #16731]
7896 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7897 when x - 1 is zero.
7898 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7899 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7900 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7901 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7902 argument is 1.
7903 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7904 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7905 zero.
7906 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7907 * sysdeps/i386/fpu/libm-test-ulps: Update.
7908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7909
fdf4534d
SP
79102014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7911
df26ea53
SP
7912 * scripts/bench.pl: Remove file.
7913 * scripts/bench.py: New benchmark script.
7914 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7915 * benchtests/README: Mention python dependency.
7916 * scripts/pylintrc: New file.
7917 * scripts/pylint: New file.
7918
fdf4534d
SP
7919 * bits/mathdef.h: Use #ifdef instead of #if.
7920 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7921 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7922 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7923 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7924 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7925 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7926
6f23d093
AZ
79272014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7928 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7929
7930 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7931 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7932 and strpbrk-ppc64 objects.
7933 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7934 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7935 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7936 multiarch strpbrk for POWER7.
7937 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7938 multiarch strpbrk for PPC64.
7939 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7940 ifunc selector.
7941 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7942 strpbrk for POWER7.
7943
8c92dfff
JM
79442014-03-20 Joseph Myers <joseph@codesourcery.com>
7945
7946 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7947 (atan_test): Likewise.
7948 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7949 (atanh_test): Use ALL_RM_TEST.
7950 (atan2_test_data): Likewise.
7951 (cabs_test): Likewise.
7952 (cacosh_test): Likewise.
7953 (carg_test): Likewise.
7954 (casin_test): Likewise.
7955 (casinh_test): Likewise.
7956 (cbrt_test): Likewise.
7957 (csqrt_test): Likewise.
7958 (erf_test): Likewise.
7959 (erfc_test): Likewise.
7960 (pow10_test): Likewise.
7961 (exp2_test): Likewise.
7962 (hypot_test): Likewise.
7963 (j0_test): Likewise.
7964 (j1_test): Likewise.
7965 (lgamma_test): Likewise.
7966 (gamma_test): Likewise.
7967 (sincos_test): Likewise.
7968 (tanh_test): Likewise.
7969 (y0_test): Likewise.
7970 (y1_test): Likewise.
7971 * sysdeps/i386/fpu/libm-test-ulps: Update.
7972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7973
6eaf95cb
AZ
79742014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7975
a387428c
SP
7976 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7977 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
7978 and strcspn-ppc64 objects.
7979 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7980 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7981 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7982 multiarch strcspn for POWER7.
7983 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7984 multiarch strcspn for PPC64.
7985 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7986 ifunc selector.
7987 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7988 strcspn for POWER7.
7989
ae3a5dff
JM
79902014-03-20 Joseph Myers <joseph@codesourcery.com>
7991
7992 * math/gen-libm-test.pl (generate_testfile): Expect only function
7993 name as argument to AUTO_TESTS_* and pass results for all rounding
7994 modes to parse_args.
7995 (parse_auto_input): Separate inputs of automatic tests from
7996 outputs before storing in %auto_tests.
7997 * math/libm-test.inc (acos_test_data): Update call to
7998 AUTO_TESTS_f_f.
7999 (acos_test): Use ALL_RM_TEST.
8000 (acos_tonearest_test_data): Remove.
8001 (acos_test_tonearest): Likewise.
8002 (acos_towardzero_test_data): Likewise.
8003 (acos_test_towardzero): Likewise.
8004 (acos_downward_test_data): Likewise.
8005 (acos_test_downward): Likewise.
8006 (acos_upward_test_data): Likewise.
8007 (acos_test_upward): Likewise.
8008 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8009 (asin_test_data): Likewise.
8010 (asin_test): Use ALL_RM_TEST.
8011 (asin_tonearest_test_data): Remove.
8012 (asin_test_tonearest): Likewise.
8013 (asin_towardzero_test_data): Likewise.
8014 (asin_test_towardzero): Likewise.
8015 (asin_downward_test_data): Likewise.
8016 (asin_test_downward): Likewise.
8017 (asin_upward_test_data): Likewise.
8018 (asin_test_upward): Likewise.
8019 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8020 (atan_test_data): Likewise.
8021 (atanh_test_data): Likewise.
8022 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8023 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8024 (carg_test_data): Likewise.
8025 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8026 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8027 (ccosh_test_data): Likewise.
8028 (cexp_test_data): Likewise.
8029 (clog_test_data): Likewise.
8030 (clog10_test_data): Likewise.
8031 (cos_test_data): Update call to AUTO_TESTS_f_f.
8032 (cos_test): Use ALL_RM_TEST.
8033 (cos_tonearest_test_data): Remove.
8034 (cos_test_tonearest): Likewise.
8035 (cos_towardzero_test_data): Likewise.
8036 (cos_test_towardzero): Likewise.
8037 (cos_downward_test_data): Likewise.
8038 (cos_test_downward): Likewise.
8039 (cos_upward_test_data): Likewise.
8040 (cos_test_upward): Likewise.
8041 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8042 (cosh_test): Use ALL_RM_TEST.
8043 (cosh_tonearest_test_data): Remove.
8044 (cosh_test_tonearest): Likewise.
8045 (cosh_towardzero_test_data): Likewise.
8046 (cosh_test_towardzero): Likewise.
8047 (cosh_downward_test_data): Likewise.
8048 (cosh_test_downward): Likewise.
8049 (cosh_upward_test_data): Likewise.
8050 (cosh_test_upward): Likewise.
8051 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8052 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8053 (ctan_test_data): Likewise.
8054 (ctan_test): Use ALL_RM_TEST.
8055 (ctan_tonearest_test_data): Remove.
8056 (ctan_test_tonearest): Likewise.
8057 (ctan_towardzero_test_data): Likewise.
8058 (ctan_test_towardzero): Likewise.
8059 (ctan_downward_test_data): Likewise.
8060 (ctan_test_downward): Likewise.
8061 (ctan_upward_test_data): Likewise.
8062 (ctan_test_upward): Likewise.
8063 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8064 (ctanh_test): Use ALL_RM_TEST.
8065 (ctanh_tonearest_test_data): Remove.
8066 (ctanh_test_tonearest): Likewise.
8067 (ctanh_towardzero_test_data): Likewise.
8068 (ctanh_test_towardzero): Likewise.
8069 (ctanh_downward_test_data): Likewise.
8070 (ctanh_test_downward): Likewise.
8071 (ctanh_upward_test_data): Likewise.
8072 (ctanh_test_upward): Likewise.
8073 (erf_test_data): Update call to AUTO_TESTS_f_f.
8074 (erfc_test_data): Likewise.
8075 (exp_test_data): Likewise.
8076 (exp_test): Use ALL_RM_TEST.
8077 (exp_tonearest_test_data): Remove.
8078 (exp_test_tonearest): Likewise.
8079 (exp_towardzero_test_data): Likewise.
8080 (exp_test_towardzero): Likewise.
8081 (exp_downward_test_data): Likewise.
8082 (exp_test_downward): Likewise.
8083 (exp_upward_test_data): Likewise.
8084 (exp_test_upward): Likewise.
8085 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8086 (exp10_test): Use ALL_RM_TEST.
8087 (exp10_tonearest_test_data): Remove.
8088 (exp10_test_tonearest): Likewise.
8089 (exp10_towardzero_test_data): Likewise.
8090 (exp10_test_towardzero): Likewise.
8091 (exp10_downward_test_data): Likewise.
8092 (exp10_test_downward): Likewise.
8093 (exp10_upward_test_data): Likewise.
8094 (exp10_test_upward): Likewise.
8095 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8096 (expm1_test_data): Likewise.
8097 (expm1_test): Use ALL_RM_TEST.
8098 (expm1_tonearest_test_data): Remove.
8099 (expm1_test_tonearest): Likewise.
8100 (expm1_towardzero_test_data): Likewise.
8101 (expm1_test_towardzero): Likewise.
8102 (expm1_downward_test_data): Likewise.
8103 (expm1_test_downward): Likewise.
8104 (expm1_upward_test_data): Likewise.
8105 (expm1_test_upward): Likewise.
8106 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8107 (fma_test): Use ALL_RM_TEST.
8108 (fma_towardzero_test_data): Remove.
8109 (fma_test_towardzero): Likewise.
8110 (fma_downward_test_data): Likewise.
8111 (fma_test_downward): Likewise.
8112 (fma_upward_test_data): Likewise.
8113 (fma_test_upward): Likewise.
8114 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8115 (j0_test_data): Update call to AUTO_TESTS_f_f.
8116 (j1_test_data): Likewise.
8117 (jn_test_data): Update call to AUTO_TESTS_if_f.
8118 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8119 (log_test_data): Update call to AUTO_TESTS_f_f.
8120 (log10_test_data): Likewise.
8121 (log1p_test_data): Likewise.
8122 (log2_test_data): Likewise.
8123 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8124 (pow_tonearest_test_data): Likewise.
8125 (sin_test_data): Update call to AUTO_TESTS_f_f.
8126 (sin_test): Use ALL_RM_TEST.
8127 (sin_tonearest_test_data): Remove.
8128 (sin_test_tonearest): Likewise.
8129 (sin_towardzero_test_data): Likewise.
8130 (sin_test_towardzero): Likewise.
8131 (sin_downward_test_data): Likewise.
8132 (sin_test_downward): Likewise.
8133 (sin_upward_test_data): Likewise.
8134 (sin_test_upward): Likewise.
8135 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8136 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8137 (sinh_test): Use ALL_RM_TEST.
8138 (sinh_tonearest_test_data): Remove.
8139 (sinh_test_tonearest): Likewise.
8140 (sinh_towardzero_test_data): Likewise.
8141 (sinh_test_towardzero): Likewise.
8142 (sinh_downward_test_data): Likewise.
8143 (sinh_test_downward): Likewise.
8144 (sinh_upward_test_data): Likewise.
8145 (sinh_test_upward): Likewise.
8146 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8147 (sqrt_test): Use ALL_RM_TEST.
8148 (sqrt_tonearest_test_data): Remove.
8149 (sqrt_test_tonearest): Likewise.
8150 (sqrt_towardzero_test_data): Likewise.
8151 (sqrt_test_towardzero): Likewise.
8152 (sqrt_downward_test_data): Likewise.
8153 (sqrt_test_downward): Likewise.
8154 (sqrt_upward_test_data): Likewise.
8155 (sqrt_test_upward): Likewise.
8156 (tan_test_data): Update call to AUTO_TESTS_f_f.
8157 (tan_test): Use ALL_RM_TEST.
8158 (tan_tonearest_test_data): Remove.
8159 (tan_test_tonearest): Likewise.
8160 (tan_towardzero_test_data): Likewise.
8161 (tan_test_towardzero): Likewise.
8162 (tan_downward_test_data): Likewise.
8163 (tan_test_downward): Likewise.
8164 (tan_upward_test_data): Likewise.
8165 (tan_test_upward): Likewise.
8166 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8167 (tgamma_test_data): Likewise.
8168 (y0_test_data): Likewise.
8169 (y1_test_data): Likewise.
8170 (yn_test_data): Update call to AUTO_TESTS_if_f.
8171 (main): Do not call removed functions.
8172
d71aeee8
JM
81732014-03-19 Joseph Myers <joseph@codesourcery.com>
8174
8175 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8176 (ldexp_test_data): Remove.
8177 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8178 scalbn_test_data.
8179 (scalb_test): Use ALL_RM_TEST.
8180
baaf1ded
AS
81812014-03-19 Andreas Schwab <schwab@suse.de>
8182
8183 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8184
b1115e91
JM
81852014-03-19 Joseph Myers <joseph@codesourcery.com>
8186
8187 [BZ #16649]
8188 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8189 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8190 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8191 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8192 (__ASSUME_PREADV): Undefine.
8193 (__ASSUME_PWRITEV): Likewise.
8194
0283ecca
RM
81952014-03-18 Roland McGrath <roland@hack.frob.com>
8196
7d375303
RM
8197 * bits/mman-linux.h: Add comment about non-Linux use.
8198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8199 bits/mman-linux.h resting place.
8200
0283ecca
RM
8201 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8202 * bits/mman-linux.h: ... here.
8203
aebe1003
AZ
82042014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8205
8206 * conform/conformtest.pl: Add standard definition when calling C
8207 preprocessor on data files.
8208 (checknamespace): Remove unused variable.
8209
b29b6bb8
JM
82102014-03-18 Joseph Myers <joseph@codesourcery.com>
8211
8212 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8213 minus_oflow, plus_uflow and minus_uflow in expected results.
8214 * math/libm-test.inc (scalbn_test_data): Add more tests of
8215 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8216 minus_uflow.
8217 (scalbn_test): Use ALL_RM_TEST.
8218 (scalbln_test_data): Add more tests of negative arguments. Use
8219 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8220 (scalbln_test): Use ALL_RM_TEST.
8221
c8f8fa15
RM
82222014-03-18 Roland McGrath <roland@hack.frob.com>
8223
8224 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8225
fede7a5f
WN
82262014-03-18 Will Newton <will.newton@linaro.org>
8227
8228 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8229 inaccurate comment.
8230
80cf0a58
JM
82312014-03-18 Joseph Myers <joseph@codesourcery.com>
8232
8233 * Makerules [!subdir] (check-abi): Exit with error status if a
8234 test failed.
8235
b3620862
JM
82362014-03-17 Joseph Myers <joseph@codesourcery.com>
8237
8238 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8239 for rint. Include results for all rounding modes.
8240 (nearbyint_test): Use ALL_RM_TEST.
8241 (rint_test_data): Include all tests used for nearbyint.
8242
788bba36
WN
82432014-03-17 Will Newton <will.newton@linaro.org>
8244
04ec140a
WN
8245 * nptl/sysdeps/pthread/pthread.h: Revert previous
8246 change.
8247
7579d8d5
WN
8248 * sysdeps/generic/ldsodefs.h: Revert previous
8249 change.
8250
c15cf13a
WN
8251 * libio/genops.c: Revert previous change.
8252 * libio/libioP.h: Likewise.
8253 * stdio-common/vfprintf.c: Likewise.
8254
d0ac1324
WN
8255 * sysdeps/generic/math_private.h: Revert previous
8256 change.
8257
9290130a
WN
8258 * sysdeps/generic/math_private.h: Check whether
8259 HAVE_RM_CTX is defined with #ifdef rather
8260 than #if.
8261
afb466fc
WN
8262 * argp/argp-fmtstream.h: Check whether
8263 __STRICT_ANSI__ is defined with #ifdef rather
8264 than #if.
8265 * argp/argp.h: Likewise.
8266
f7efd7c3
WN
8267 * libio/genops.c: Check whether
8268 _IO_JUMPS_OFFSET is defined with #ifdef rather
8269 than #if.
8270 * libio/libioP.h: Likewise.
8271 * stdio-common/vfprintf.c: Likewise.
8272
53f1bed3
WN
8273 * sysdeps/generic/ldsodefs.h: Check whether
8274 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8275 than #if.
8276
788bba36
WN
8277 * nptl/sysdeps/pthread/pthread.h: Check
8278 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8279 its value.
8280
fcd89ebe
SP
82812014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8282
ae42bbc5
SP
8283 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8284 setting O_APPEND.
8285 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8286 test case.
8287
ea33158c
SP
8288 [BZ #16680]
8289 * libio/fileops.c (_IO_file_open): Seek to end of file but
8290 don't cache the offset.
8291 (get_file_offset): Remove function.
8292 (do_ftell): Use cached offset when available.
8293 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8294 don't cache the offset.
8295 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8296 case.
8297 (do_one_test): Call it.
8298 (do_ftell_test): Fix up expected old offset for a+ mode.
8299 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8300 available.
8301
b1dbb426
SP
8302 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8303 up test status with function return status.
8304 (do_write_test): Likewise.
8305 (do_append_test): Likewise.
8306
fcd89ebe
SP
8307 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8308 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8309 Remove.
8310
9962a2d3
JM
83112014-03-17 Joseph Myers <joseph@codesourcery.com>
8312
8313 * math/gen-libm-test.pl (parse_args): Handle results specified for
8314 each rounding mode separately.
8315 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8316 tests and results from lrint_tonearest_test_data,
8317 lrint_towardzero_test_data, lrint_downward_test_data and
8318 lrint_upward_test_data.
8319 (lrint_test): Use ALL_RM_TEST.
8320 (lrint_tonearest_test_data): Remove.
8321 (lrint_test_tonearest): Likewise.
8322 (lrint_towardzero_test_data): Likewise.
8323 (lrint_test_towardzero): Likewise.
8324 (lrint_downward_test_data): Likewise.
8325 (lrint_test_downward): Likewise.
8326 (lrint_upward_test_data): Likewise.
8327 (lrint_test_upward): Likewise.
8328 (llrint_test_data): Merge in per-rounding-mode tests and results
8329 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8330 llrint_downward_test_data and llrint_upward_test_data.
8331 (llrint_test): Use ALL_RM_TEST.
8332 (llrint_tonearest_test_data): Remove.
8333 (llrint_test_tonearest): Likewise.
8334 (llrint_towardzero_test_data): Likewise.
8335 (llrint_test_towardzero): Likewise.
8336 (llrint_downward_test_data): Likewise.
8337 (llrint_test_downward): Likewise.
8338 (llrint_upward_test_data): Likewise.
8339 (llrint_test_upward): Likewise.
8340 (rint_test_data): Merge in per-rounding-mode tests and results
8341 from rint_tonearest_test_data, rint_towardzero_test_data,
8342 rint_downward_test_data and rint_upward_test_data. Add
8343 per-rounding-mode results for tests not in those arrays.
8344 (rint_test): Use ALL_RM_TEST.
8345 (rint_tonearest_test_data): Remove.
8346 (rint_test_tonearest): Likewise.
8347 (rint_towardzero_test_data): Likewise.
8348 (rint_test_towardzero): Likewise.
8349 (rint_downward_test_data): Likewise.
8350 (rint_test_downward): Likewise.
8351 (rint_upward_test_data): Likewise.
8352 (rint_test_upward): Likewise.
8353 (main): Don't call removed functions.
8354
5006148e
RM
83552014-03-14 Roland McGrath <roland@hack.frob.com>
8356
8357 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8358 "Compiled on ..." crapola. It is anti-useful.
8359
d6fe5e58
JM
83602014-03-14 Joseph Myers <joseph@codesourcery.com>
8361
8362 * scripts/evaluate-test.sh: Handle fourth argument to determine
8363 whether test run should stop on failure.
8364 * Makeconfig (stop-on-test-failure): New variable.
8365 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8366 $(stop-on-test-failure).
8367 * Makefile (tests): Give a summary of results from testing and
8368 exit with failure status if they include an ERROR or FAIL.
8369 (xtests): Likewise.
8370 * manual/install.texi (Configuring and compiling): Mention
8371 stop-on-test-failure=y.
8372 * INSTALL: Regenerated.
8373
498a2233
RM
83742014-03-14 Roland McGrath <roland@hack.frob.com>
8375
22dbc19d
RM
8376 * scripts/versionlist.awk: New file.
8377 * Makerules [$(build-shared) = yes]
8378 (postclean-generated): Add Versions.def, not Versions.def.v and
8379 Versions.def.v.i.
8380 ($(common-objpfx)Versions.def.v.i): Target removed.
8381 ($(common-objpfx)Versions.def): New target.
8382 ($(common-objpfx)Versions.all): Depend on that rather that
8383 $(common-objpfx)Versions.def.v.
8384 * Versions.def: File removed.
8385
498a2233
RM
8386 * Makeconfig (+gccwarn): Add -Wundef.
8387 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8388 a dl-sysdep.h breaking its contract.
8389 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8390 * include/stackinfo.h: New file.
8391 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8392 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8393 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8394 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8395 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8396 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8397 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8398 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8399 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8400 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8401 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8402 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8403 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8404 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8405 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8406
c7de5025
AZ
84072014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8408
8409 [BZ #16707]
8410 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8411 implementation.
8412 * math/libm-test.inc (round_test_data): Add more tests.
8413
98fb27a3
AZ
8414 [BZ #16706]
8415 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8416 implementation.
8417 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8418
374f7f61
AZ
8419 [BZ #16701]
8420 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8421 implementation.
8422 * math/libm-test.inc (ceil_test_data): Add more tests.
8423
4655c291
AZ
8424 * math/libm-test.inc (trunc_test_data): Add more tests related to
8425 BZ#16414.
8426
d7329d4b
RM
84272014-03-14 Roland McGrath <roland@hack.frob.com>
8428
8429 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8430 with #if rather than #ifdef.
8431 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8432
aa4de9ce
L
84332014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8434
8435 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8436 first. Disable AVX-512 GCC support if assembler doesn't support
8437 it.
8438 * sysdeps/x86_64/configure: Regenerated.
8439
2e03fae7
CD
84402014-03-13 Carlos O'Donell <carlos@redhat.com>
8441
8442 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8443 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8444 (__old_pthread_attr_setstack): Likewise.
8445 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8446 [!_STACK_GROWS_DOWN]: Likewise.
8447
43ca83ec
MF
84482014-03-13 Mike Frysinger <vapier@gentoo.org>
8449
8450 * config.make.in (have-bash2): Delete.
8451 * configure.ac (libc_cv_have_bash2): Delete.
8452 * configure: Regenerate.
8453 * elf/Makefile (common-ldd-rewrite): Rename to ...
8454 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8455 (sh-ldd-rewrite): Delete.
8456 (bash-ldd-rewrite): Delete.
8457 (have-bash2): Delete checks.
57f41c40
AS
8458 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8459 ldd-rewrite.
c66e48b4
MF
8460
8461 * config.make.in (have-ksh): Delete.
8462 (KSH): Delete.
8463 * configure.ac (libc_cv_have_ksh): Delete.
8464 * configure: Regenerate.
8465
b93834ef
MF
8466 * elf/Makefile: Delete $(have-ksh) check.
8467 ($(objpfx)sotruss): Change KSH to BASH.
8468 * elf/sotruss.ksh: Rename to ...
8469 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8470 function style to match POSIX. Drop ksh vim mode setting.
8471
f3a4632a
MF
8472 * manual/time.texi (Specifying the Time Zone with TZ): Change
8473 Tuesday to Thursday.
8474
5896c8bd
MF
8475 * debug/tst-longjmp_chk2.c: Update header comment.
8476 (stackoverflow_handler): Add comment. Call assert on pass value.
8477
2d63a517
IZ
84782014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8479
7e54fd04 8480 [BZ #16194]
2d63a517
IZ
8481 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8482 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8483 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8484 (La_x86_64_vector): Add zmm.
8485 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8486 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8487 ($(objpfx)tst-audit10): New target.
8488 ($(objpfx)tst-audit10.out): Likewise.
8489 (tst-audit10-ENV): New.
8490 (AVX512-CFLAGS): Likewise.
8491 (CFLAGS-tst-audit10.c): Likewise.
8492 (CFLAGS-tst-auditmod10a.c): Likewise.
8493 (CFLAGS-tst-auditmod10b.c): Likewise.
8494 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8495 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8496 * sysdeps/x86_64/configure: Regenerated.
8497 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8498 AVX-512 zmm register support.
8499 (_dl_x86_64_save_sse): Likewise.
8500 (_dl_x86_64_restore_sse): Likewise.
8501 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8502 size vector registers.
8503 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8504 (ZMM_SIZE): Likewise.
8505 * sysdeps/x86_64/tst-audit10.c: New file.
8506 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8507 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8508
44c4e5d5
RM
85092014-03-13 Roland McGrath <roland@hack.frob.com>
8510
8511 * configure.ac (HAVE_EHDR_START): New check.
8512 * configure: Regenerated.
8513 * config.h.in (HAVE_EHDR_START): New #undef.
8514 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8515 assuming the lowest-addressed segment maps the start of the file.
8516
acd6e389
JM
85172014-03-13 Joseph Myers <joseph@codesourcery.com>
8518
8519 * INSTALL: Regenerated.
8520
6f918f36
WN
85212014-03-13 Will Newton <will.newton@linaro.org>
8522
8523 * manual/setjmp.texi (System V contexts): Improve
8524 clarity and grammar of documentation.
8525
798212a0
PP
85262014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8527
8528 [BZ #16381]
798212a0 8529 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 8530 (tests-pie): Add tst-pie2.
798212a0
PP
8531 * elf/tst-pie2.c: New file.
8532 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8533 for ET_EXEC.
8534 * elf/rtld.c (map_doit): Load executable as lt_executable.
8535 (dl_main): Likewise.
8536
abe6d90c
JM
85372014-03-12 Joseph Myers <joseph@codesourcery.com>
8538
8539 [BZ #16642]
8540 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8541 (__ASSUME_PSELECT): Undefine.
8542
dd3946c6
AZ
85432014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8544
8545 [BZ #16689]
8546 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8547 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8548 static build.
8549 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8550 selector for static builds.
8551
c44496df
SP
85522014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8553
8554 [BZ #16695]
8555 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8556 key in the buffer.
8557
27c7220a
AZ
85582014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8559
57f41c40
AS
8560 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8561 IFUNC selector for static builds.
27c7220a 8562
600fa361
JM
85632014-03-11 Joseph Myers <joseph@codesourcery.com>
8564
76c96cf7
JM
8565 * sysdeps/mips/math_private.h [__mips_hard_float]
8566 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8567 libc_feresetround_mips_ctx.
8568 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8569 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8570 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8571
600fa361
JM
8572 [BZ #16677]
8573 * math/s_nextafter.c (__nextafter): Do not return value from
8574 overflowing computation.
8575 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8576 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8577 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8578 Likewise.
8579 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8580 Likewise.
8581 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8582 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8583
d7706c32
RM
85842014-03-11 Roland McGrath <roland@hack.frob.com>
8585
8586 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8587 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8588 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8589 the new mov targetting sp.
8590
4facea47
AZ
85912014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8592
8593 [BZ #16683]
8594 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8595 Define it for static builds as well.
8596 (NO_BZERO_IMPL): Likewise.
8597
e65caf1f
VR
85982014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8599
8600 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8601 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8602 multiarch strspn for PPC64.
8603 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8604 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8606 (__libc_ifunc_impl_list): Likewise.
8607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8608 multiarch optimizations
8609 * string/strspn.c (strspn): Using macro to redefine symbol name.
8610
ba9cc071
AZ
86112014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8612 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8613
8614 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8615 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8616 multiarch strncat for PPC64.
8617 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8618 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8620 (__libc_ifunc_impl_list): Likewise.
8621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8622 multiarch optimizations
8623
8b4ff974
SP
86242014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8625
8626 [BZ #16639]
8627 * nscd/nscd.service: Make service type forking.
8628
54b46a4b
AZ
86292014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8630
8631 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8632 sign in non default rounding modes.
8633 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8634
e9996ef7
JM
86352014-03-08 Joseph Myers <joseph@codesourcery.com>
8636
8637 * math/libm-test.inc (ALL_RM_TEST): New macro.
8638 (ceil_test): Use ALL_RM_TEST.
8639 (cimag_test): Likewise.
8640 (conj_test): Likewise.
8641 (copysign_test): Likewise.
8642 (cproj_test): Likewise.
8643 (creal_test): Likewise.
8644 (fabs_test): Likewise.
8645 (floor_test): Likewise.
8646 (fmax_test): Likewise.
8647 (fmin_test): Likewise.
8648 (fmod_test): Likewise.
8649 (fpclassify_test): Likewise.
8650 (frexp_test): Likewise.
8651 (ilogb_test): Likewise.
8652 (isfinite_test): Likewise.
8653 (finite_test): Likewise.
8654 (isgreater_test): Likewise.
8655 (isgreaterequal_test): Likewise.
8656 (isinf_test): Likewise.
8657 (isless_test): Likewise.
8658 (islessequal_test): Likewise.
8659 (islessgreater_test): Likewise.
8660 (isnan_test): Likewise.
8661 (isnormal_test): Likewise.
8662 (issignaling_test): Likewise.
8663 (isunordered_test): Likewise.
8664 (logb_test): Likewise.
8665 (logb_downward_test_data): Remove.
8666 (logb_test_downward): Likewise.
8667 (lround_test): Use ALL_RM_TEST.
8668 (llround_test): Likewise.
8669 (modf_test): Likewise.
8670 (nexttoward_test): Likewise.
8671 (remainder_test): Likewise.
8672 (drem_test): Likewise.
8673 (remainder_tonearest_test_data): Likewise.
8674 (remainder_test_tonearest): Likewise.
8675 (drem_test_tonearest): Likewise.
8676 (remainder_towardzero_test_data): Likewise.
8677 (remainder_test_towardzero): Likewise.
8678 (drem_test_towardzero): Likewise.
8679 (remainder_downward_test_data): Likewise.
8680 (remainder_test_downward): Likewise.
8681 (drem_test_downward): Likewise.
8682 (remainder_upward_test_data): Likewise.
8683 (remainder_test_upward): Likewise.
8684 (drem_test_upward): Likewise.
8685 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8686 (round_test): Use ALL_RM_TEST.
8687 (signbit_test): Likewise.
8688 (trunc_test): Likewise.
8689 (significand_test): Likewise.
8690 (main): Don't call removed functions.
8691
bc61d27c
JM
86922014-03-07 Joseph Myers <joseph@codesourcery.com>
8693
5c780849
JM
8694 [BZ #16674]
8695 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8696 || __USE_XOPEN2K8].
8697 (ILL_ILLOPN): Likewise.
8698 (ILL_ILLADR): Likewise.
8699 (ILL_ILLTRP): Likewise.
8700 (ILL_PRVOPC): Likewise.
8701 (ILL_PRVREG): Likewise.
8702 (ILL_COPROC): Likewise.
8703 (ILL_BADSTK): Likewise.
8704 (FPE_INTDIV): Likewise.
8705 (FPE_INTOVF): Likewise.
8706 (FPE_FLTDIV): Likewise.
8707 (FPE_FLTOVF): Likewise.
8708 (FPE_FLTUND): Likewise.
8709 (FPE_FLTRES): Likewise.
8710 (FPE_FLTINV): Likewise.
8711 (FPE_FLTSUB): Likewise.
8712 (SEGV_MAPERR): Likewise.
8713 (SEGV_ACCERR): Likewise.
8714 (BUS_ADRALN): Likewise.
8715 (BUS_ADRERR): Likewise.
8716 (BUS_OBJERR): Likewise.
8717 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8718 (TRAP_TRACE): Likewise.
8719 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8720 __USE_XOPEN2K8].
8721 (CLD_KILLED): Likewise.
8722 (CLD_DUMPED): Likewise.
8723 (CLD_TRAPPED): Likewise.
8724 (CLD_STOPPED): Likewise.
8725 (CLD_CONTINUED): Likewise.
8726 (POLL_IN): Likewise.
8727 (POLL_OUT): Likewise.
8728 (POLL_MSG): Likewise.
8729 (POLL_ERR): Likewise.
8730 (POLL_PRI): Likewise.
8731 (POLL_HUP): Likewise.
8732 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8733 Likewise.
8734 (ILL_ILLOPN): Likewise.
8735 (ILL_ILLADR): Likewise.
8736 (ILL_ILLTRP): Likewise.
8737 (ILL_PRVOPC): Likewise.
8738 (ILL_PRVREG): Likewise.
8739 (ILL_COPROC): Likewise.
8740 (ILL_BADSTK): Likewise.
8741 (FPE_INTDIV): Likewise.
8742 (FPE_INTOVF): Likewise.
8743 (FPE_FLTDIV): Likewise.
8744 (FPE_FLTOVF): Likewise.
8745 (FPE_FLTUND): Likewise.
8746 (FPE_FLTRES): Likewise.
8747 (FPE_FLTINV): Likewise.
8748 (FPE_FLTSUB): Likewise.
8749 (SEGV_MAPERR): Likewise.
8750 (SEGV_ACCERR): Likewise.
8751 (BUS_ADRALN): Likewise.
8752 (BUS_ADRERR): Likewise.
8753 (BUS_OBJERR): Likewise.
8754 (BUS_MCEERR_AR): Likewise.
8755 (BUS_MCEERR_AO): Likewise.
8756 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8757 (TRAP_TRACE): Likewise.
8758 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8759 __USE_XOPEN2K8].
8760 (CLD_KILLED): Likewise.
8761 (CLD_DUMPED): Likewise.
8762 (CLD_TRAPPED): Likewise.
8763 (CLD_STOPPED): Likewise.
8764 (CLD_CONTINUED): Likewise.
8765 (POLL_IN): Likewise.
8766 (POLL_OUT): Likewise.
8767 (POLL_MSG): Likewise.
8768 (POLL_ERR): Likewise.
8769 (POLL_PRI): Likewise.
8770 (POLL_HUP): Likewise.
8771 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8772 (ILL_ILLOPN): Likewise.
8773 (ILL_ILLADR): Likewise.
8774 (ILL_ILLTRP): Likewise.
8775 (ILL_PRVOPC): Likewise.
8776 (ILL_PRVREG): Likewise.
8777 (ILL_COPROC): Likewise.
8778 (ILL_BADSTK): Likewise.
8779 (FPE_INTDIV): Likewise.
8780 (FPE_INTOVF): Likewise.
8781 (FPE_FLTDIV): Likewise.
8782 (FPE_FLTOVF): Likewise.
8783 (FPE_FLTUND): Likewise.
8784 (FPE_FLTRES): Likewise.
8785 (FPE_FLTINV): Likewise.
8786 (FPE_FLTSUB): Likewise.
8787 (SEGV_MAPERR): Likewise.
8788 (SEGV_ACCERR): Likewise.
8789 (BUS_ADRALN): Likewise.
8790 (BUS_ADRERR): Likewise.
8791 (BUS_OBJERR): Likewise.
8792 (BUS_MCEERR_AR): Likewise.
8793 (BUS_MCEERR_AO): Likewise.
8794 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8795 (TRAP_TRACE): Likewise.
8796 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8797 __USE_XOPEN2K8].
8798 (CLD_KILLED): Likewise.
8799 (CLD_DUMPED): Likewise.
8800 (CLD_TRAPPED): Likewise.
8801 (CLD_STOPPED): Likewise.
8802 (CLD_CONTINUED): Likewise.
8803 (POLL_IN): Likewise.
8804 (POLL_OUT): Likewise.
8805 (POLL_MSG): Likewise.
8806 (POLL_ERR): Likewise.
8807 (POLL_PRI): Likewise.
8808 (POLL_HUP): Likewise.
8809 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8810 Likewise.
8811 (ILL_ILLOPN): Likewise.
8812 (ILL_ILLADR): Likewise.
8813 (ILL_ILLTRP): Likewise.
8814 (ILL_PRVOPC): Likewise.
8815 (ILL_PRVREG): Likewise.
8816 (ILL_COPROC): Likewise.
8817 (ILL_BADSTK): Likewise.
8818 (ILL_BADIADDR): Likewise.
8819 (ILL_BREAK): Likewise.
8820 (FPE_INTDIV): Likewise.
8821 (FPE_INTOVF): Likewise.
8822 (FPE_FLTDIV): Likewise.
8823 (FPE_FLTOVF): Likewise.
8824 (FPE_FLTUND): Likewise.
8825 (FPE_FLTRES): Likewise.
8826 (FPE_FLTINV): Likewise.
8827 (FPE_FLTSUB): Likewise.
8828 (FPE_DECOVF): Likewise.
8829 (FPE_DECDIV): Likewise.
8830 (FPE_DECERR): Likewise.
8831 (FPE_INVASC): Likewise.
8832 (FPE_INVDEC): Likewise.
8833 (SEGV_MAPERR): Likewise.
8834 (SEGV_ACCERR): Likewise.
8835 (SEGV_PSTKOVF): Likewise.
8836 (BUS_ADRALN): Likewise.
8837 (BUS_ADRERR): Likewise.
8838 (BUS_OBJERR): Likewise.
8839 (BUS_MCEERR_AR): Likewise.
8840 (BUS_MCEERR_AO): Likewise.
8841 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8842 (TRAP_TRACE): Likewise.
8843 (TRAP_BRANCH): Likewise.
8844 (TRAP_HWBKPT): Likewise.
8845 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8846 __USE_XOPEN2K8].
8847 (CLD_KILLED): Likewise.
8848 (CLD_DUMPED): Likewise.
8849 (CLD_TRAPPED): Likewise.
8850 (CLD_STOPPED): Likewise.
8851 (CLD_CONTINUED): Likewise.
8852 (POLL_IN): Likewise.
8853 (POLL_OUT): Likewise.
8854 (POLL_MSG): Likewise.
8855 (POLL_ERR): Likewise.
8856 (POLL_PRI): Likewise.
8857 (POLL_HUP): Likewise.
8858 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8859 (ILL_ILLOPN): Likewise.
8860 (ILL_ILLADR): Likewise.
8861 (ILL_ILLTRP): Likewise.
8862 (ILL_PRVOPC): Likewise.
8863 (ILL_PRVREG): Likewise.
8864 (ILL_COPROC): Likewise.
8865 (ILL_BADSTK): Likewise.
8866 (FPE_INTDIV): Likewise.
8867 (FPE_INTOVF): Likewise.
8868 (FPE_FLTDIV): Likewise.
8869 (FPE_FLTOVF): Likewise.
8870 (FPE_FLTUND): Likewise.
8871 (FPE_FLTRES): Likewise.
8872 (FPE_FLTINV): Likewise.
8873 (FPE_FLTSUB): Likewise.
8874 (SEGV_MAPERR): Likewise.
8875 (SEGV_ACCERR): Likewise.
8876 (BUS_ADRALN): Likewise.
8877 (BUS_ADRERR): Likewise.
8878 (BUS_OBJERR): Likewise.
8879 (BUS_MCEERR_AR): Likewise.
8880 (BUS_MCEERR_AO): Likewise.
8881 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8882 (TRAP_TRACE): Likewise.
8883 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8884 __USE_XOPEN2K8].
8885 (CLD_KILLED): Likewise.
8886 (CLD_DUMPED): Likewise.
8887 (CLD_TRAPPED): Likewise.
8888 (CLD_STOPPED): Likewise.
8889 (CLD_CONTINUED): Likewise.
8890 (POLL_IN): Likewise.
8891 (POLL_OUT): Likewise.
8892 (POLL_MSG): Likewise.
8893 (POLL_ERR): Likewise.
8894 (POLL_PRI): Likewise.
8895 (POLL_HUP): Likewise.
8896 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8897 (ILL_ILLOPN): Likewise.
8898 (ILL_ILLADR): Likewise.
8899 (ILL_ILLTRP): Likewise.
8900 (ILL_PRVOPC): Likewise.
8901 (ILL_PRVREG): Likewise.
8902 (ILL_COPROC): Likewise.
8903 (ILL_BADSTK): Likewise.
8904 (FPE_INTDIV): Likewise.
8905 (FPE_INTOVF): Likewise.
8906 (FPE_FLTDIV): Likewise.
8907 (FPE_FLTOVF): Likewise.
8908 (FPE_FLTUND): Likewise.
8909 (FPE_FLTRES): Likewise.
8910 (FPE_FLTINV): Likewise.
8911 (FPE_FLTSUB): Likewise.
8912 (SEGV_MAPERR): Likewise.
8913 (SEGV_ACCERR): Likewise.
8914 (BUS_ADRALN): Likewise.
8915 (BUS_ADRERR): Likewise.
8916 (BUS_OBJERR): Likewise.
8917 (BUS_MCEERR_AR): Likewise.
8918 (BUS_MCEERR_AO): Likewise.
8919 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8920 (TRAP_TRACE): Likewise.
8921 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8922 __USE_XOPEN2K8].
8923 (CLD_KILLED): Likewise.
8924 (CLD_DUMPED): Likewise.
8925 (CLD_TRAPPED): Likewise.
8926 (CLD_STOPPED): Likewise.
8927 (CLD_CONTINUED): Likewise.
8928 (POLL_IN): Likewise.
8929 (POLL_OUT): Likewise.
8930 (POLL_MSG): Likewise.
8931 (POLL_ERR): Likewise.
8932 (POLL_PRI): Likewise.
8933 (POLL_HUP): Likewise.
8934 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8935 (ILL_ILLOPN): Likewise.
8936 (ILL_ILLADR): Likewise.
8937 (ILL_ILLTRP): Likewise.
8938 (ILL_PRVOPC): Likewise.
8939 (ILL_PRVREG): Likewise.
8940 (ILL_COPROC): Likewise.
8941 (ILL_BADSTK): Likewise.
8942 (FPE_INTDIV): Likewise.
8943 (FPE_INTOVF): Likewise.
8944 (FPE_FLTDIV): Likewise.
8945 (FPE_FLTOVF): Likewise.
8946 (FPE_FLTUND): Likewise.
8947 (FPE_FLTRES): Likewise.
8948 (FPE_FLTINV): Likewise.
8949 (FPE_FLTSUB): Likewise.
8950 (SEGV_MAPERR): Likewise.
8951 (SEGV_ACCERR): Likewise.
8952 (BUS_ADRALN): Likewise.
8953 (BUS_ADRERR): Likewise.
8954 (BUS_OBJERR): Likewise.
8955 (BUS_MCEERR_AR): Likewise.
8956 (BUS_MCEERR_AO): Likewise.
8957 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8958 (TRAP_TRACE): Likewise.
8959 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8960 __USE_XOPEN2K8].
8961 (CLD_KILLED): Likewise.
8962 (CLD_DUMPED): Likewise.
8963 (CLD_TRAPPED): Likewise.
8964 (CLD_STOPPED): Likewise.
8965 (CLD_CONTINUED): Likewise.
8966 (POLL_IN): Likewise.
8967 (POLL_OUT): Likewise.
8968 (POLL_MSG): Likewise.
8969 (POLL_ERR): Likewise.
8970 (POLL_PRI): Likewise.
8971 (POLL_HUP): Likewise.
8972 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8973 (ILL_ILLOPN): Likewise.
8974 (ILL_ILLADR): Likewise.
8975 (ILL_ILLTRP): Likewise.
8976 (ILL_PRVOPC): Likewise.
8977 (ILL_PRVREG): Likewise.
8978 (ILL_COPROC): Likewise.
8979 (ILL_BADSTK): Likewise.
8980 (ILL_DBLFLT): Likewise.
8981 (ILL_HARDWALL): Likewise.
8982 (FPE_INTDIV): Likewise.
8983 (FPE_INTOVF): Likewise.
8984 (FPE_FLTDIV): Likewise.
8985 (FPE_FLTOVF): Likewise.
8986 (FPE_FLTUND): Likewise.
8987 (FPE_FLTRES): Likewise.
8988 (FPE_FLTINV): Likewise.
8989 (FPE_FLTSUB): Likewise.
8990 (SEGV_MAPERR): Likewise.
8991 (SEGV_ACCERR): Likewise.
8992 (BUS_ADRALN): Likewise.
8993 (BUS_ADRERR): Likewise.
8994 (BUS_OBJERR): Likewise.
8995 (BUS_MCEERR_AR): Likewise.
8996 (BUS_MCEERR_AO): Likewise.
8997 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8998 (TRAP_TRACE): Likewise.
8999 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9000 __USE_XOPEN2K8].
9001 (CLD_KILLED): Likewise.
9002 (CLD_DUMPED): Likewise.
9003 (CLD_TRAPPED): Likewise.
9004 (CLD_STOPPED): Likewise.
9005 (CLD_CONTINUED): Likewise.
9006 (POLL_IN): Likewise.
9007 (POLL_OUT): Likewise.
9008 (POLL_MSG): Likewise.
9009 (POLL_ERR): Likewise.
9010 (POLL_PRI): Likewise.
9011 (POLL_HUP): Likewise.
9012 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9013 (ILL_ILLOPN): Likewise.
9014 (ILL_ILLADR): Likewise.
9015 (ILL_ILLTRP): Likewise.
9016 (ILL_PRVOPC): Likewise.
9017 (ILL_PRVREG): Likewise.
9018 (ILL_COPROC): Likewise.
9019 (ILL_BADSTK): Likewise.
9020 (FPE_INTDIV): Likewise.
9021 (FPE_INTOVF): Likewise.
9022 (FPE_FLTDIV): Likewise.
9023 (FPE_FLTOVF): Likewise.
9024 (FPE_FLTUND): Likewise.
9025 (FPE_FLTRES): Likewise.
9026 (FPE_FLTINV): Likewise.
9027 (FPE_FLTSUB): Likewise.
9028 (SEGV_MAPERR): Likewise.
9029 (SEGV_ACCERR): Likewise.
9030 (BUS_ADRALN): Likewise.
9031 (BUS_ADRERR): Likewise.
9032 (BUS_OBJERR): Likewise.
9033 (BUS_MCEERR_AR): Likewise.
9034 (BUS_MCEERR_AO): Likewise.
9035 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9036 (TRAP_TRACE): Likewise.
9037 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9038 __USE_XOPEN2K8].
9039 (CLD_KILLED): Likewise.
9040 (CLD_DUMPED): Likewise.
9041 (CLD_TRAPPED): Likewise.
9042 (CLD_STOPPED): Likewise.
9043 (CLD_CONTINUED): Likewise.
9044 (POLL_IN): Likewise.
9045 (POLL_OUT): Likewise.
9046 (POLL_MSG): Likewise.
9047 (POLL_ERR): Likewise.
9048 (POLL_PRI): Likewise.
9049 (POLL_HUP): Likewise.
9050 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9051 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9052
bc61d27c
JM
9053 [BZ #16670]
9054 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9055 before #include of <time.h>.
9056 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9057 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9058 (test-xfail-UNIX98/sched.h/conform): Likewise.
9059
302949e2
MS
90602014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9061
9062 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9063 error absence of trapping exception support.
9064 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9065
a00f522a
JM
90662014-03-07 Joseph Myers <joseph@codesourcery.com>
9067
6f99f280
JM
9068 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9069 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9070 * timezone/Makefile (testdata): Move definition above include of
9071 Rules.
9072 (test-zones): New variable.
9073 (tests-special): Add zone files.
9074 (build-testdata): Use $(evaluate-test).
9075
0b20a9e8
JM
9076 * elf/Makefile (tests-special): Rename tests to end with .out.
9077 ($(objpfx)noload-mem): Likewise.
9078 ($(objpfx)tst-leaks1-mem): Likewise.
9079 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9080 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9081 $(objpfx)test-iconvconfig.out.
9082 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9083 set -e inside subshell and redirect output to file.
9084 * iconvdata/Makefile (generated): Rename tests to end with .out.
9085 Correct type.
9086 (tests-special): Rename tests to end with .out.
9087 ($(objpfx)mtrace-tst-loading): Likewise.
9088 * intl/Makefile (generated): Likewise.
9089 (tests-special): Likewise.
9090 ($(objpfx)mtrace-tst-gettext): Likewise.
9091 * misc/Makefile (generated): Likewise.
9092 (tests-special): Likewise.
9093 ($(objpfx)tst-error1-mem): Likewise.
9094 * nptl/Makefile (tests-special): Likewise.
9095 ($(objpfx)tst-stack3-mem): Likewise.
9096 (generated): Likewise.
9097 * posix/Makefile (generated): Likewise.
9098 (tests-special): Likewise.
9099 (xtests-special): Likewise.
9100 ($(objpfx)tst-fnmatch-mem): Likewise.
9101 ($(objpfx)bug-regex2-mem): Likewise.
9102 ($(objpfx)bug-regex14-mem): Likewise.
9103 ($(objpfx)bug-regex21-mem): Likewise.
9104 ($(objpfx)bug-regex31-mem): Likewise.
9105 ($(objpfx)tst-vfork3-mem): Likewise.
9106 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9107 ($(objpfx)tst-pcre-mem): Likewise.
9108 ($(objpfx)tst-boost-mem): Likewise.
9109 ($(objpfx)bug-ga2-mem): Likewise.
9110 ($(objpfx)bug-glob2-mem): Likewise.
9111 * resolv/Makefile (generate): Likewise.
9112 (tests-special): Likewise.
9113 (xtests-special): Likewise.
9114 (generated): Likewise.
9115 ($(objpfx)mtrace-tst-leaks): Likewise.
9116 ($(objpfx)mtrace-tst-leaks2): Likewise.
9117
265d52ab
JM
9118 * scripts/merge-test-results.sh: New file.
9119 * Makefile (tests-special-notdir): New variable.
9120 (tests): Run merge-test-results.sh.
9121 (xtests): Likewise.
9122 * Rules (tests-special-notdir): New variable.
9123 (xtests-special-notdir): Likewise.
9124 (tests): Run merge-test-results.sh
9125 (xtests): Likewise.
9126
54ee292d
JM
9127 * Makeconfig (test-xfail-name): New variable.
9128 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9129 compute variable name for expected failures.
9130 * conform/Makefile (conformtest-headers-data): New variable.
9131 (conformtest-standards): Likewise.
9132 (conformtest-headers-ISO): Likewise.
9133 (conformtest-headers-ISO99): Likewise.
9134 (conformtest-headers-ISO11): Likewise.
9135 (conformtest-headers-POSIX): Likewise.
9136 (conformtest-headers-XPG3): Likewise.
9137 (conformtest-headers-XPG4): Likewise.
9138 (conformtest-headers-UNIX98): Likewise.
9139 (conformtest-headers-XOPEN2K): Likewise.
9140 (conformtest-headers-POSIX2008): Likewise.
9141 (conformtest-headers-XOPEN2K8): Likewise.
9142 (conformtest-header-list-base): Likewise.
9143 (conformtest-header-list-tests): Likewise.
9144 (conformtest-header-base): Likewise.
9145 (conformtest-header-tests): Likewise.
9146 (tests-special): Add $(conformtest-header-list-tests). If
9147 [$(fast-check) && !$(cross-compiling)], add
9148 $(conformtest-header-tests) instead of
9149 $(objpfx)run-conformtest.out.
9150 (generated): Add $(conformtest-header-list-base). If
9151 [$(fast-check) && !$(cross-compiling)], add
9152 $(conformtest-header-base). Remove previous setting.
9153 ($(conformtest-header-list-tests)): New target.
9154 (test-xfail-run-conformtest): Remove variable.
9155 ($(objpfx)run-conformtest.out): Remove target.
9156 (test-xfail-ISO11/complex.h/conform): New variable.
9157 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9158 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9159 (test-xfail-XPG3/varargs.h/conform): Likewise.
9160 (test-xfail-XPG4/varargs.h/conform): Likewise.
9161 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9162 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9163 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9164 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9165 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9166 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9167 (test-xfail-XPG3/ftw.h/conform): Likewise.
9168 (test-xfail-XPG3/grp.h/conform): Likewise.
9169 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9170 (test-xfail-XPG3/limits.h/conform): Likewise.
9171 (test-xfail-XPG3/pwd.h/conform): Likewise.
9172 (test-xfail-XPG3/search.h/conform): Likewise.
9173 (test-xfail-XPG3/signal.h/conform): Likewise.
9174 (test-xfail-XPG3/stdio.h/conform): Likewise.
9175 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9176 (test-xfail-XPG3/string.h/conform): Likewise.
9177 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9178 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9179 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9180 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9181 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9182 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9183 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9184 (test-xfail-XPG3/termios.h/conform): Likewise.
9185 (test-xfail-XPG3/time.h/conform): Likewise.
9186 (test-xfail-XPG3/unistd.h/conform): Likewise.
9187 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9188 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9189 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9190 (test-xfail-XPG4/netdb.h/conform): Likewise.
9191 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9192 (test-xfail-XPG4/signal.h/conform): Likewise.
9193 (test-xfail-XPG4/stdio.h/conform): Likewise.
9194 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9195 (test-xfail-XPG4/stropts.h/conform): Likewise.
9196 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9197 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9198 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9199 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9200 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9201 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9202 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9203 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9204 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9205 (test-xfail-XPG4/termios.h/conform): Likewise.
9206 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9207 (test-xfail-XPG4/unistd.h/conform): Likewise.
9208 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9209 (test-xfail-POSIX/sched.h/conform): Likewise.
9210 (test-xfail-POSIX/signal.h/conform): Likewise.
9211 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9212 (test-xfail-POSIX/tar.h/conform): Likewise.
9213 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9214 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9215 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9216 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9217 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9218 (test-xfail-UNIX98/sched.h/conform): Likewise.
9219 (test-xfail-UNIX98/signal.h/conform): Likewise.
9220 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9221 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9222 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9223 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9224 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9225 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9226 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9227 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9228 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9229 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9230 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9231 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9232 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9233 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9234 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9235 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9236 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9237 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9238 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9239 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9240 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9241 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9242 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9243 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9244 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9245 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9246 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9247 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9248 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9249 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9250 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9251 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9252 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9253 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9254 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9255 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9256 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9257 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9258 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9259 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9260 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9261 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9262 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9263 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9264 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9265 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9266 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9267 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9268 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9269 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9270 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9271 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9272 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9273 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9274 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9275 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9276 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9277 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9278 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9279 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9280 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9281 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9282 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9283 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9284 (conformtest-cc-flags): Likewise.
9285 ($(conformtest-header-tests): New target.
9286 * conform/check-header-lists.sh: New file.
9287 * conform/run-conformtest.sh: Remove.
9288
a00f522a
JM
9289 * conform/conformtest.pl: Allow ' and \ in values given for
9290 constants.
9291 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9292 inclusion.
9293 [POSIX] (sys/types.h): Likewise.
9294 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9295 inclusion.
9296 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9297 inclusion.
9298 * conform/data/signal.h-data (SIGIO): Remove expectation.
9299 [XPG3] (SIGBUS): Do not expect.
9300 [POSIX || XPG3] (SIGPOLL): Likewise.
9301 [POSIX || XPG3] (SIGPROF): Likewise.
9302 [POSIX || XPG3] (SIGSYS): Likewise.
9303 [XPG3] (SIGTRAP): Likewise.
9304 [POSIX || XPG3] (SIGURG): Likewise.
9305 [POSIX || XPG3] (SIGVTALRM): Likewise.
9306 [POSIX || XPG3] (SIGXCPU): Likewise.
9307 [POSIX || XPG3] (SIGXFSZ): Likewise.
9308 [POSIX] (SA_SIGINFO): Expect.
9309 [XPG3] (siginfo_t): Do not expect type or contents.
9310 [POSIX] (si_pid): Do not expect element.
9311 [POSIX] (si_uid): Likewise.
9312 [POSIX] (si_addr): Likewise.
9313 [POSIX] (si_status): Likewise.
9314 [POSIX] (si_band): Likewise.
9315 [XPG4] (si_value): Likewise.
9316 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9317 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9318 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9319 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9320 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9321 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9322 [POSIX || XPG3] (ILL_COPROC): Likewise.
9323 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9324 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9325 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9326 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9327 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9328 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9329 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9330 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9331 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9332 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9333 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9334 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9335 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9336 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9337 [POSIX || XPG3] (CLD_EXITED): Likewise.
9338 [POSIX || XPG3] (CLD_KILLED): Likewise.
9339 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9340 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9341 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9342 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9343 [POSIX || XPG3] (POLL_IN): Likewise.
9344 [POSIX || XPG3] (POLL_OUT): Likewise.
9345 [POSIX || XPG3] (POLL_MSG): Likewise.
9346 [POSIX || XPG3] (POLL_ERR): Likewise.
9347 [POSIX || XPG3] (POLL_PRI): Likewise.
9348 [POSIX || XPG3] (POLL_HUP): Likewise.
9349 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9350 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9351 (SIG*): Do not allow.
9352 [XPG3] (si_*): Likewise.
9353 [XPG3] (SI_*): Likewise.
9354 [XPG3 || XPG4] (sigev_*): Likewise.
9355 [XPG3 || XPG4] (SIGEV_*): Likewise.
9356 [XPG3 || XPG4] (sival_*): Likewise.
9357 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9358 [POSIX || XPG3] (BUS_*): Likewise.
9359 [POSIX || XPG3] (CLD_*): Likewise.
9360 [POSIX || XPG3] (FPE_*): Likewise.
9361 [POSIX || XPG3] (ILL_*): Likewise.
9362 [POSIX || XPG3] (POLL_*): Likewise.
9363 [POSIX || XPG3] (SEGV_*): Likewise.
9364 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9365 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9366 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9367 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9368 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9369 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9370 Specify type and value.
9371 (TVERSLEN): Likewise.
9372 (REGTYPE): Likewise.
9373 (AREGTYPE): Likewise.
9374 (LNKTYPE): Likewise.
9375 (SYMTYPE): Likewise.
9376 (CHRTYPE): Likewise.
9377 (BLKTYPE): Likewise.
9378 (DIRTYPE): Likewise.
9379 (FIFOTYPE): Likewise.
9380 (CONTTYPE): Likewise.
9381 (TSUID): Likewise.
9382 (TSGID): Likewise.
9383 (TSVTX): Likewise.
9384 (TUREAD): Likewise.
9385 (TUWRITE): Likewise.
9386 (TUEXEC): Likewise.
9387 (TGREAD): Likewise.
9388 (TGWRITE): Likewise.
9389 (TGEXEC): Likewise.
9390 (TOREAD): Likewise.
9391 (TOWRITE): Likewise.
9392 (TOEXEC): Likewise.
9393 [POSIX] (TSVTX): Expect constant.
9394
aa97dee1
JM
93952014-03-06 Joseph Myers <joseph@codesourcery.com>
9396
f214606a
JM
9397 * Makefile (tests): Change dependencies to ....
9398 (tests-special): ... additions to this variable.
9399 (tests): Depend on $(tests-special).
9400 * Makerules (check-abi-list): New variable.
9401 (check-abi): Depend on $(check-abi-list).
9402 [$(subdir) = elf] (tests-special): Add
9403 $(objpfx)check-abi-libc.out.
9404 [$(build-shared) = yes && subdir] (tests-special): Add
9405 $(check-abi-list).
9406 [$(build-shared) = yes && subdir] (tests): Do not depend on
9407 check-abi.
9408 * Rules (tests): Depend on $(tests-special).
9409 (xtests): Depend on $(xtests-special).
9410 * catgets/Makefile (tests): Change dependencies to ....
9411 (tests-special): ... additions to this variable.
9412 * conform/Makefile (tests): Change dependencies to ....
9413 (tests-special): ... additions to this variable.
9414 * elf/Makefile (tests): Change dependencies to ....
9415 (tests-special): ... additions to this variable.
9416 * grp/Makefile (tests): Change dependencies to ....
9417 (tests-special): ... additions to this variable.
9418 * iconv/Makefile (xtests): Change dependencies to ....
9419 (xtests-special): ... additions to this variable.
9420 * iconvdata/Makefile (tests): Change dependencies to ....
9421 (tests-special): ... additions to this variable.
9422 * intl/Makefile (tests): Change dependencies to ....
9423 (tests-special): ... additions to this variable. Also add
9424 $(objpfx)tst-gettext.out.
9425 * io/Makefile (tests): Change dependencies to ....
9426 (tests-special): ... additions to this variable.
9427 * libio/Makefile (tests): Change dependencies to ....
9428 (tests-special): ... additions to this variable.
9429 * malloc/Makefile (tests): Change dependencies to ....
9430 (tests-special): ... additions to this variable.
9431 * misc/Makefile (tests): Change dependencies to ....
9432 (tests-special): ... additions to this variable.
9433 * nptl/Makefile (tests): Change dependencies to ....
9434 (tests-special): ... additions to this variable.
9435 * nptl_db/Makefile (tests): Change dependencies to ....
9436 (tests-special): ... additions to this variable.
9437 * posix/Makefile (tests): Change dependencies to ....
9438 (tests-special): ... additions to this variable.
9439 (xtests): Change dependencies to ....
9440 (xtests-special): ... additions to this variable.
9441 * resolv/Makefile (tests): Change dependencies to ....
9442 (tests-special): ... additions to this variable.
9443 (xtests): Change dependencies to ....
9444 (xtests-special): ... additions to this variable.
9445 * stdio-common/Makefile (tests): Change dependencies to ....
9446 (tests-special): ... additions to this variable.
9447 (do-tst-unbputc): Remove target.
9448 (do-tst-printf): Likewise.
9449 * stdlib/Makefile (tests): Change dependencies to ....
9450 (tests-special): ... additions to this variable.
9451 * string/Makefile (tests): Change dependencies to ....
9452 (tests-special): ... additions to this variable.
9453 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9454 (tests-special): ... additions to this variable.
9455
81700b53
JM
9456 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9457 whole file.
9458 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9459 whole file.
9460 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9461 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9462
2ea18461
JM
9463 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9464 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9465 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9466 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9467 * conform/data/libgen.h-data [XPG3]: Likewise.
9468 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9469 * conform/data/ndbm.h-data [XPG3]: Likewise.
9470 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9471 * conform/data/netdb.h-data [XPG3]: Likewise.
9472 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9473 * conform/data/poll.h-data [XPG3]: Likewise.
9474 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9475 * conform/data/strings.h-data [XPG3]: Likewise.
9476 * conform/data/stropts.h-data [XPG3]: Likewise.
9477 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9478 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9479 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9480 Likewise.
9481 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9482 * conform/data/sys/time.h-data [XPG3]: Likewise.
9483 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9484 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9485 * conform/data/sys/un.h-data [XPG3]: Likewise.
9486 * conform/data/syslog.h-data [XPG3]: Likewise.
9487 * conform/data/ucontext.h-data [XPG3]: Likewise.
9488 * conform/data/utmpx.h-data [XPG3]: Likewise.
9489 * conform/data/varargs.h-data [UNIX98]: Enable file.
9490
355bc986
JM
9491 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9492
215db402
JM
9493 * math/libm-test.inc (struct test_f_f_data): Move expected results
9494 into structure for each rounding mode.
9495 (struct test_ff_f_data): Likewise.
9496 (struct test_ff_f_data_nexttoward): Likewise.
9497 (struct test_fi_f_data): Likewise.
9498 (struct test_fl_f_data): Likewise.
9499 (struct test_if_f_data): Likewise.
9500 (struct test_fff_f_data): Likewise.
9501 (struct test_c_f_data): Likewise.
9502 (struct test_f_f1_data): Likewise.
9503 (struct test_fF_f1_data): Likewise.
9504 (struct test_ffI_f1_data): Likewise.
9505 (struct test_c_c_data): Likewise.
9506 (struct test_cc_c_data): Likewise.
9507 (struct test_f_i_data): Likewise.
9508 (struct test_ff_i_data): Likewise.
9509 (struct test_f_l_data): Likewise.
9510 (struct test_f_L_data): Likewise.
9511 (struct test_fFF_11_data): Likewise.
9512 (RM_): New macro.
9513 (RM_FE_DOWNWARD): Likewise.
9514 (RM_FE_TONEAREST): Likewise.
9515 (RM_FE_TOWARDZERO): Likewise.
9516 (RM_FE_UPWARD): Likewise.
9517 (RUN_TEST_LOOP_f_f): Update references to expected results.
9518 (RUN_TEST_LOOP_2_f): Likewise.
9519 (RUN_TEST_LOOP_fff_f): Likewise.
9520 (RUN_TEST_LOOP_c_f): Likewise.
9521 (RUN_TEST_LOOP_f_f1): Likewise.
9522 (RUN_TEST_LOOP_fF_f1): Likewise.
9523 (RUN_TEST_LOOP_fI_f1): Likewise.
9524 (RUN_TEST_LOOP_ffI_f1): Likewise.
9525 (RUN_TEST_LOOP_c_c): Likewise.
9526 (RUN_TEST_LOOP_cc_c): Likewise.
9527 (RUN_TEST_LOOP_f_i): Likewise.
9528 (RUN_TEST_LOOP_f_i_tg): Likewise.
9529 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9530 (RUN_TEST_LOOP_f_b): Likewise.
9531 (RUN_TEST_LOOP_f_b_tg): Likewise.
9532 (RUN_TEST_LOOP_f_l): Likewise.
9533 (RUN_TEST_LOOP_f_L): Likewise.
9534 (RUN_TEST_LOOP_fFF_11): Likewise.
9535 * math/gen-libm-test.pl (parse_args): Output four copies of
9536 expected results for each test.
9537
67737b8f
JM
9538 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9539 (__ASSUME_UTIMES): Remove.
9540 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9541 (__ASSUME_UTIMES): Likewise.
9542
aa97dee1
JM
9543 * math/gen-auto-libm-tests.c: Update comment on output format.
9544 (output_for_one_input_case): Generate before-rounding and
9545 after-rounding information as conditions on output flags not
9546 floating-point format.
9547 * math/auto-libm-test-out: Regenerated.
9548 * math/gen-libm-test.pl (cond_value): New function.
9549 (or_cond_value): Use cond_value.
9550 (generate_testfile): Handle conditional exceptions.
9551
e6b6a857
JM
95522014-03-05 Joseph Myers <joseph@codesourcery.com>
9553
2f0a0f44
JM
9554 * math/libm-test.inc (max_valid_error): New variable.
9555 (init_max_error): Take new argument specifying whether function
9556 results are exactly determined. Set max_valid_error and bound
9557 other variables for errors based on this argument.
9558 (set_max_error): Do not record results above max_valid_error.
9559 (check_float_internal): Only accept errors of up to 0.5ulps if
9560 also at most max_valid_error.
9561 (START): Take new argument EXACT and pass it to init_max_error.
9562 (acos_test): Update call to START.
9563 (acos_test_tonearest): Likewise.
9564 (acos_test_towardzero): Likewise.
9565 (acos_test_downward): Likewise.
9566 (acos_test_upward): Likewise.
9567 (acosh_test): Likewise.
9568 (asin_test): Likewise.
9569 (asin_test_tonearest): Likewise.
9570 (asin_test_towardzero): Likewise.
9571 (asin_test_downward): Likewise.
9572 (asin_test_upward): Likewise.
9573 (asinh_test): Likewise.
9574 (atan_test): Likewise.
9575 (atanh_test): Likewise.
9576 (atan2_test): Likewise.
9577 (cabs_test): Likewise.
9578 (cacos_test): Likewise.
9579 (cacosh_test): Likewise.
9580 (carg_test): Likewise.
9581 (casin_test): Likewise.
9582 (casinh_test): Likewise.
9583 (catan_test): Likewise.
9584 (catanh_test): Likewise.
9585 (cbrt_test): Likewise.
9586 (ccos_test): Likewise.
9587 (ccosh_test): Likewise.
9588 (ceil_test): Likewise.
9589 (cexp_test): Likewise.
9590 (cimag_test): Likewise.
9591 (clog_test): Likewise.
9592 (clog10_test): Likewise.
9593 (conj_test): Likewise.
9594 (copysign_test): Likewise.
9595 (cos_test): Likewise.
9596 (cos_test_tonearest): Likewise.
9597 (cos_test_towardzero): Likewise.
9598 (cos_test_downward): Likewise.
9599 (cos_test_upward): Likewise.
9600 (cosh_test): Likewise.
9601 (cosh_test_tonearest): Likewise.
9602 (cosh_test_towardzero): Likewise.
9603 (cosh_test_downward): Likewise.
9604 (cosh_test_upward): Likewise.
9605 (cpow_test): Likewise.
9606 (cproj_test): Likewise.
9607 (creal_test): Likewise.
9608 (csin_test): Likewise.
9609 (csinh_test): Likewise.
9610 (csqrt_test): Likewise.
9611 (ctan_test): Likewise.
9612 (ctan_test_tonearest): Likewise.
9613 (ctan_test_towardzero): Likewise.
9614 (ctan_test_downward): Likewise.
9615 (ctan_test_upward): Likewise.
9616 (ctanh_test): Likewise.
9617 (ctanh_test_tonearest): Likewise.
9618 (ctanh_test_towardzero): Likewise.
9619 (ctanh_test_downward): Likewise.
9620 (ctanh_test_upward): Likewise.
9621 (erf_test): Likewise.
9622 (erfc_test): Likewise.
9623 (exp_test): Likewise.
9624 (exp_test_tonearest): Likewise.
9625 (exp_test_towardzero): Likewise.
9626 (exp_test_downward): Likewise.
9627 (exp_test_upward): Likewise.
9628 (exp10_test): Likewise.
9629 (exp10_test_tonearest): Likewise.
9630 (exp10_test_towardzero): Likewise.
9631 (exp10_test_downward): Likewise.
9632 (exp10_test_upward): Likewise.
9633 (pow10_test): Likewise.
9634 (exp2_test): Likewise.
9635 (expm1_test): Likewise.
9636 (expm1_test_tonearest): Likewise.
9637 (expm1_test_towardzero): Likewise.
9638 (expm1_test_downward): Likewise.
9639 (expm1_test_upward): Likewise.
9640 (fabs_test): Likewise.
9641 (fdim_test): Likewise.
9642 (floor_test): Likewise.
9643 (fma_test): Likewise.
9644 (fma_test_towardzero): Likewise.
9645 (fma_test_downward): Likewise.
9646 (fma_test_upward): Likewise.
9647 (fmax_test): Likewise.
9648 (fmin_test): Likewise.
9649 (fmod_test): Likewise.
9650 (fpclassify_test): Likewise.
9651 (frexp_test): Likewise.
9652 (hypot_test): Likewise.
9653 (ilogb_test): Likewise.
9654 (isfinite_test): Likewise.
9655 (finite_test): Likewise.
9656 (isgreater_test): Likewise.
9657 (isgreaterequal_test): Likewise.
9658 (isinf_test): Likewise.
9659 (isless_test): Likewise.
9660 (islessequal_test): Likewise.
9661 (islessgreater_test): Likewise.
9662 (isnan_test): Likewise.
9663 (isnormal_test): Likewise.
9664 (issignaling_test): Likewise.
9665 (isunordered_test): Likewise.
9666 (j0_test): Likewise.
9667 (j1_test): Likewise.
9668 (jn_test): Likewise.
9669 (ldexp_test): Likewise.
9670 (lgamma_test): Likewise.
9671 (gamma_test): Likewise.
9672 (lrint_test): Likewise.
9673 (lrint_test_tonearest): Likewise.
9674 (lrint_test_towardzero): Likewise.
9675 (lrint_test_downward): Likewise.
9676 (lrint_test_upward): Likewise.
9677 (llrint_test): Likewise.
9678 (llrint_test_tonearest): Likewise.
9679 (llrint_test_towardzero): Likewise.
9680 (llrint_test_downward): Likewise.
9681 (llrint_test_upward): Likewise.
9682 (log_test): Likewise.
9683 (log10_test): Likewise.
9684 (log1p_test): Likewise.
9685 (log2_test): Likewise.
9686 (logb_test): Likewise.
9687 (logb_test_downward): Likewise.
9688 (lround_test): Likewise.
9689 (llround_test): Likewise.
9690 (modf_test): Likewise.
9691 (nearbyint_test): Likewise.
9692 (nextafter_test): Likewise.
9693 (nexttoward_test): Likewise.
9694 (pow_test): Likewise.
9695 (pow_test_tonearest): Likewise.
9696 (pow_test_towardzero): Likewise.
9697 (pow_test_downward): Likewise.
9698 (pow_test_upward): Likewise.
9699 (remainder_test): Likewise.
9700 (drem_test): Likewise.
9701 (remainder_test_tonearest): Likewise.
9702 (drem_test_tonearest): Likewise.
9703 (remainder_test_towardzero): Likewise.
9704 (drem_test_towardzero): Likewise.
9705 (remainder_test_downward): Likewise.
9706 (drem_test_downward): Likewise.
9707 (remainder_test_upward): Likewise.
9708 (drem_test_upward): Likewise.
9709 (remquo_test): Likewise.
9710 (rint_test): Likewise.
9711 (rint_test_tonearest): Likewise.
9712 (rint_test_towardzero): Likewise.
9713 (rint_test_downward): Likewise.
9714 (rint_test_upward): Likewise.
9715 (round_test): Likewise.
9716 (scalb_test): Likewise.
9717 (scalbn_test): Likewise.
9718 (scalbln_test): Likewise.
9719 (signbit_test): Likewise.
9720 (sin_test): Likewise.
9721 (sin_test_tonearest): Likewise.
9722 (sin_test_towardzero): Likewise.
9723 (sin_test_downward): Likewise.
9724 (sin_test_upward): Likewise.
9725 (sincos_test): Likewise.
9726 (sinh_test): Likewise.
9727 (sinh_test_tonearest): Likewise.
9728 (sinh_test_towardzero): Likewise.
9729 (sinh_test_downward): Likewise.
9730 (sinh_test_upward): Likewise.
9731 (sqrt_test): Likewise.
9732 (sqrt_test_tonearest): Likewise.
9733 (sqrt_test_towardzero): Likewise.
9734 (sqrt_test_downward): Likewise.
9735 (sqrt_test_upward): Likewise.
9736 (tan_test): Likewise.
9737 (tan_test_tonearest): Likewise.
9738 (tan_test_towardzero): Likewise.
9739 (tan_test_downward): Likewise.
9740 (tan_test_upward): Likewise.
9741 (tanh_test): Likewise.
9742 (tgamma_test): Likewise.
9743 (trunc_test): Likewise.
9744 (y0_test): Likewise.
9745 (y1_test): Likewise.
9746 (yn_test): Likewise.
9747 (significand_test): Likewise.
9748
e6b6a857
JM
9749 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9750 individual tests in comment.
9751 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9752 (prev_max_error): New variable.
9753 (prev_real_max_error): Likewise.
9754 (prev_imag_max_error): Likewise.
9755 (compare_ulp_data): Don't refer to test names in comment.
9756 (find_test_ulps): Remove function.
9757 (find_function_ulps): Likewise.
9758 (find_complex_function_ulps): Likewise.
9759 (init_max_error): Take function name as argument. Look up ulps
9760 for that function.
9761 (print_ulps): Remove function.
9762 (print_max_error): Use prev_max_error instead of calling
9763 find_function_ulps.
9764 (print_complex_max_error): Use prev_real_max_error and
9765 prev_imag_max_error instead of calling find_complex_function_ulps.
9766 (check_float_internal): Take max_ulp parameter instead of calling
9767 find_test_ulps. Don't call print_ulps.
9768 (check_float): Update call to check_float_internal.
9769 (check_complex): Update calls to check_float_internal.
9770 (START): Pass argument to init_max_error.
9771 * math/gen-libm-test.pl (%results): Don't include "kind"
9772 information.
9773 (parse_ulps): Don't handle ulps of individual tests.
9774 (print_ulps_file): Likewise.
9775 (output_ulps): Likewise.
9776 * math/README.libm-test: Update.
9777 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9778 individual tests.
9779 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9780 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9781 * sysdeps/arm/libm-test-ulps: Likewise.
9782 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9783 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9784 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9785 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9786 * sysdeps/microblaze/libm-test-ulps: Likewise.
9787 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9788 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9789 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9790 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9791 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9792 * sysdeps/sh/libm-test-ulps: Likewise.
9793 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9794 * sysdeps/tile/libm-test-ulps: Likewise.
9795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9796
45adef3c
JM
97972014-03-04 Joseph Myers <joseph@codesourcery.com>
9798
9799 * math/libm-test.inc (print_complex_max_error): Check separately
9800 whether real and imaginary errors are within allowed range and
9801 pass 0 to print_complex_function_ulps instead of value within
9802 allowed range.
9803
000232b9
SP
98042014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9805
d4b17258
SP
9806 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9807 formatting.
9808 (get_handles_fopen): Likewise.
9809 (do_write_test): Likewise.
9810
091eff71
SP
9811 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9812
fa3cd248
SP
9813 * libio/fileops.c (do_ftell): Use cached offset when
9814 available.
9815 * libio/iofwide.c (do_ftell_wide): Likewise.
9816 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9817 _IO_file_attach.
9818 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9819
000232b9
SP
9820 [BZ #16532]
9821 * libio/libioP.h (get_file_offset): New function.
9822 * libio/fileops.c (get_file_offset): Likewise.
9823 (do_ftell): Likewise.
9824 (_IO_new_file_seekoff): Split out ftell logic.
9825 * libio/wfileops.c (do_ftell_wide): Likewise.
9826 (_IO_wfile_seekoff): Split out ftell logic.
9827 * libio/tst-ftell-active-handler.c: New test case.
9828 * libio/Makefile (tests): Add it.
9829
116f4d1a
RM
98302014-03-03 Roland McGrath <roland@hack.frob.com>
9831
9832 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9833 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9834
532a6035
SP
98352014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9836
9837 [BZ #16639]
9838 * nscd/connections.c (nscd_init): Call do_exit.
9839 (start_threads): Call do_exit and notify_parent.
9840 (begin_drop_privileges): Call do_exit.
9841 (finish_drop_privileges): Likewise.
9842 * nscd/selinux.c (preserve_capabilities): Likewise.
9843 (install_real_capabilities): Likewise.
9844 (nscd_selinux_enabled): Likewise.
9845 (avc_create_thread): Likewise.
9846 (avc_alloc_lock): Likewise.
9847 (nscd_avc_init): Likewise.
9848 * nscd/nscd.c (parent_fd): New static variable.
9849 (main): Create a pipe between parent and child processes.
9850 Skip closing parent_fd.
9851 (monitor_child): New function.
9852 (do_exit): Likewise.
9853 (notify_parent): Likewise.
9854 * nscd/nscd.h (notify_parent): Likewise.
9855 (do_exit): Likewise.
9856
d6285c9f
CD
98572014-03-03 Carlos O'Donell <carlos@redhat.com>
9858
9859 * malloc/malloc.c (__libc_calloc): Revert last change.
9860
2b85d2a0
AZ
98612014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9862
9863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9864
c7debbdf
RS
98652014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9866
9867 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9868 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9869 implementation.
9870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9871 (__libc_ifunc_impl_list): Likewise.
9872 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9873 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9874 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9875 * string/strrchr.c: Define STRRCHR.
9876
235eed86
OB
98772014-02-28 Ondřej Bílka <neleai@seznam.cz>
9878
9879 * benchtest/bench-strtok.c (simple_strtok): Delete.
9880 (strtok_string): Use as benchmark.
9881 * string/strtok (STRTOK): New macro.
9882
8e25d1e7
CD
98832014-02-28 Carlos O'Donell <carlos@redhat.com>
9884
ef563f92
CD
9885 * manual/threads.texi: Add header and standard comments to all
9886 functions.
9887
8e25d1e7
CD
9888 * elf/dl-lookup.c (check_match): New function.
9889 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9890 (do_lookup_x): Remove nested function check_match. Use non-nested
9891 function check_match.
9892
ff71cc37
RM
98932014-02-28 Roland McGrath <roland@hack.frob.com>
9894
f08e9a26
RM
9895 * csu/Makefile (generated, before-compile): Use += rather than =.
9896 * catgets/Makefile (generated, generated-dirs): Likewise.
9897 * debug/Makefile (generated): Likewise.
9898 * dlfcn/Makefile (generated): Likewise.
9899 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9900 * iconvdata/Makefile (before-compile, generated): Likewise.
9901 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9902 * libio/Makefile (generated): Likewise.
9903 * malloc/Makefile (generated): Likewise.
9904 * manual/Makefile (generated, generated-dirs): Likewise.
9905 * misc/Makefile (generated): Likewise.
9906 * posix/Makefile (generated): Likewise.
9907 * resolv/Makefile (generated): Likewise.
9908 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9909 * timezone/Makefile (generated, generated-dirs): Likewise.
9910
ff71cc37
RM
9911 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9912
fe13a20c
AZ
99132014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9914
57f41c40
AS
9915 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9916 power8 implementation.
9917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9918 file: POWER8 llround ifunc implementation.
9919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9920 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
9921 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9922 POWER8 llround implementation.
9923
57f41c40
AS
9924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9925 power8 implementation.
9926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9927 file: POWER8 llrint ifunc implementation.
9928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9929 Add POWER8 implementation.
1ad8950a
AZ
9930 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9931 POWER8 llrint implementation.
9932
57f41c40
AS
9933 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9934 power8 implementation.
9935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9936 file: POWER8 finite ifunc implementation.
9937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9938 Add POWER8 implementation.
cac626d6
AZ
9939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9940 Likewise.
9941 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9942 POWER8 finite implementation.
9943 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9944
57f41c40
AS
9945 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9946 power8 implementation.
9947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9948 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
9949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9950 POWER8 implementation.
9951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9952 Likewise.
57f41c40
AS
9953 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9954 isinf implementation.
4393fc11
AZ
9955 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9956
57f41c40
AS
9957 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9958 (INIT_ARCH): Add hwcap2 initialization.
9959 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9960 power8 implementation.
9961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9962 file: POWER8 isnan ifunc implementation.
487972ae
AZ
9963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9964 POWER8 implementation.
9965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9966 Likewise.
57f41c40
AS
9967 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9968 isnan implementation.
487972ae
AZ
9969 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9970
7d92b787
JY
99712014-02-27 Joey Ye <joey.ye@arm.com>
9972
9973 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9974 (_FP_NANFRAC_Q): Set to zero.
9975
1cadc858
SP
99762014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9977
9978 [BZ #16623]
9979 * math/auto-libm-test-in: New test inputs.
9980 * math/auto-libm-test-out: Regenerate.
9981 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9982 and DA.
9983 (__cos): Likewise.
9984 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9985
f8c17e79
JM
99862014-02-27 Joseph Myers <joseph@codesourcery.com>
9987
9988 * scripts/evaluate-test.sh: Take new argument indicating whether
9989 failure is expected.
9990 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9991 indicating whether failure is expected.
9992 * conform/Makefile (test-xfail-run-conformtest): New variable.
9993 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9994 level.
9995 * posix/Makefile (test-xfail-annexc): New variable.
9996 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9997
a5f891ac
JM
99982014-02-26 Joseph Myers <joseph@codesourcery.com>
9999
10000 * argp/Makefile: Include Makeconfig immediately after defining
10001 subdir.
10002 * assert/Makefile: Likewise.
10003 * benchtests/Makefile: Likewise.
10004 * catgets/Makefile: Likewise.
10005 * conform/Makefile: Likewise.
10006 * crypt/Makefile: Likewise.
10007 * csu/Makefile: Likewise.
10008 (all): Remove target.
10009 * ctype/Makefile: Include Makeconfig immediately after defining
10010 subdir.
10011 * debug/Makefile: Likewise.
10012 * dirent/Makefile: Likewise.
10013 * dlfcn/Makefile: Likewise.
10014 * gmon/Makefile: Likewise.
10015 * gnulib/Makefile: Likewise.
10016 * grp/Makefile: Likewise.
10017 * gshadow/Makefile: Likewise.
10018 * hesiod/Makefile: Likewise.
10019 * hurd/Makefile: Likewise.
10020 (all): Remove target.
10021 * iconvdata/Makefile: Include Makeconfig immediately after
10022 defining subdir.
10023 * inet/Makefile: Likewise.
10024 * intl/Makefile: Likewise.
10025 * io/Makefile: Likewise.
10026 * libio/Makefile: Likewise.
10027 (all): Remove target.
10028 * locale/Makefile: Include Makeconfig immediately after defining
10029 subdir.
10030 * login/Makefile: Likewise.
10031 * mach/Makefile: Likewise.
10032 (all): Remove target.
10033 * malloc/Makefile: Include Makeconfig immediately after defining
10034 subdir.
10035 (all): Remove target.
10036 * manual/Makefile: Include Makeconfig immediately after defining
10037 subdir.
10038 * math/Makefile: Likewise.
10039 * misc/Makefile: Likewise.
10040 * nis/Makefile: Likewise.
10041 * nss/Makefile: Likewise.
10042 * po/Makefile: Likewise.
10043 (all): Remove target.
10044 * posix/Makefile: Include Makeconfig immediately after defining
10045 subdir.
10046 * pwd/Makefile: Likewise.
10047 * resolv/Makefile: Likewise.
10048 * resource/Makefile: Likewise.
10049 * rt/Makefile: Likewise.
10050 * setjmp/Makefile: Likewise.
10051 * shadow/Makefile: Likewise.
10052 * signal/Makefile: Likewise.
10053 * socket/Makefile: Likewise.
10054 * soft-fp/Makefile: Likewise.
10055 * stdio-common/Makefile: Likewise.
10056 * stdlib/Makefile: Likewise.
10057 * streams/Makefile: Likewise.
10058 * string/Makefile: Likewise.
10059 * sunrpc/Makefile: Likewise.
10060 (all): Remove target.
10061 * sysvipc/Makefile: Include Makeconfig immediately after defining
10062 subdir.
10063 * termios/Makefile: Likewise.
10064 * time/Makefile: Likewise.
10065 * timezone/Makefile: Likewise.
10066 (all): Remove target.
10067 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10068 subdir.
10069 * wctype/Makefile: Likewise.
10070
5b456e9d
SE
100712014-02-26 Steve Ellcey <sellcey@mips.com>
10072
10073 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10074 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10075 (libc_feholdexcept_setround_mips): Ditto.
10076 (libc_feholdsetround): New.
10077 (libc_feholdsetroundf): New.
10078 (libc_feholdsetroundl): New.
10079 (libc_feupdateenv_test_mips): New.
10080 (libc_feupdateenv_test): New.
10081 (libc_feupdateenv_testf): New.
10082 (libc_feupdateenv_testl): New.
10083 (libc_feresetround): New.
10084 (libc_feresetroundf): New.
10085 (libc_feresetroundl): New.
10086 (libc_fetestexcept_mips): New.
10087 (libc_fetestexcept): New.
10088 (libc_fetestexceptf): New.
10089 (libc_fetestexceptl): New.
10090 (HAVE_RM_CTX): New.
10091 (libc_feholdexcept_setround_mips_ctx): New.
10092 (libc_feholdexcept_setround_ctx): New.
10093 (libc_feholdexcept_setroundf_ctx): New.
10094 (libc_feholdexcept_setroundl_ctx): New.
10095 (libc_fesetenv_mips_ctx): New.
10096 (libc_fesetenv_ctx): New.
10097 (libc_fesetenv_ctxf): New.
10098 (libc_fesetenv_ctxl): New.
10099 (libc_feupdateenv_mips_ctx): New.
10100 (libc_feupdateenv_ctx): New.
10101 (libc_feupdateenvf_ctx): New.
10102 (libc_feupdateenvl_ctx): New.
10103 (libc_feholdsetround_mips_ctx): New.
10104 (libc_feholdsetround_ctx): New.
10105 (libc_feholdsetroundf_ctx): New.
10106 (libc_feholdsetroundl_ctx): New.
10107 (libc_feresetround_mips_ctx): New.
10108 (libc_feresetround_ctx): New.
10109 (libc_feresetroundf_ctx): New.
10110 (libc_feresetroundl_ctx): New.
10111
085d0e35
CD
101122014-02-26 Carlos O'Donell <carlos@redhat.com>
10113
f067bf1f
CD
10114 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10115
085d0e35
CD
10116 * manual/ipc.texi: New file.
10117 * manual/Makefile (chapters): Add ipc.
10118 * manual/job.texi: Add "Inter-Process Communication" to next.
10119 * manual/process.texi: Add "Inter-Process Communication" to prev.
10120
86e58c08
AZ
101212014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10122
10123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10124
4248f0da
OB
101252014-02-26 Ondřej Bílka <neleai@seznam.cz>
10126
10127 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10128
cf822e3c
OB
10129 * manual/arith.texi: Fix spaces after sentences.
10130 * manual/charset.texi: Likewise.
10131 * manual/errno.texi: Likewise.
10132 * manual/install.texi: Likewise.
10133 * manual/llio.texi: Likewise.
10134 * manual/locale.texi: Likewise.
10135 * manual/maint.texi: Likewise.
10136 * manual/math.texi: Likewise.
10137 * manual/memory.texi: Likewise.
10138 * manual/message.texi: Likewise.
10139 * manual/probes.texi: Likewise.
10140 * manual/resource.texi: Likewise.
10141 * manual/signal.texi: Likewise.
10142 * manual/socket.texi: Likewise.
10143 * manual/stdio.texi: Likewise.
10144 * manual/string.texi: Likewise.
10145 * manual/time.texi: Likewise.
10146 * manual/users.texi: Likewise.
10147
ade40b10
CD
101482014-02-25 Carlos O'Donell <carlos@redhat.com>
10149
10150 [BZ #16632]
10151 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10152 _DEFAULT_SOURCE is defined.
10153
d0503676
CD
101542014-02-25 Ulrich Drepper <drepper@gmail.com>
10155 Carlos O'Donell <carlos@redhat.com>
10156
10157 [BZ #16613]
10158 * elf/dl-tls.c (_dl_count_modids): New function.
10159 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10160 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10161 audit library and increment generation counter.
10162 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10163 * elf/tst-audit9.c: New file.
10164 * elf/tst-auditmod9a.c: New file.
10165 * elf/tst-auditmod9b.c: New file.
10166 * elf/Makefile: Add rules to build and run tst-audit9.
10167
4cbf380c
FW
101682014-02-25 Florian Weimer <fweimer@redhat.com>
10169
10170 [BZ #15347]
10171 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10172
80a56cc3
WN
101732014-02-25 Will Newton <will.newton@linaro.org>
10174
10175 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10176 (__longjmp): Restore sp and lr before restoring callee
10177 saved registers. Add longjmp and longjmp_target
10178 SystemTap probe point.
10179 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10180 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10181 Define to zero to match jmpbuf layout.
10182 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10183 (__sigsetjmp): Save sp and lr before saving callee
10184 saved registers. Add setjmp SystemTap probe point.
10185
3ea0f74e
SL
101862014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10187
10188 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10189
b04acb26
AS
101902014-02-24 Andreas Schwab <schwab@suse.de>
10191
10192 [BZ #15804]
10193 * elf/pldd.c (wait_for_ptrace_stop): New function.
10194 (main): Call it after attaching.
10195
098ad55c
RM
101962014-02-22 Roland McGrath <roland@hack.frob.com>
10197
d4ec6ae1
RM
10198 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10199 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10200 Versions files is now verboten.
10201 * hurd/Versions (libc: GLIBC_2.0):
10202 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10203 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10204 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10205 * mach/Versions: Likewise.
10206
098ad55c
RM
10207 * csu/Versions: Remove unused %include.
10208 * resolv/Versions: Likewise.
10209
acd7f096
JM
102102014-02-21 Joseph Myers <joseph@codesourcery.com>
10211
f0881698
JM
10212 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10213 ($(objpfx)check-local-headers.out): Likewise.
10214 ($(objpfx)begin-end-check.out): Likewise.
10215 * Makerules (check-abi-%.out): Likewise.
10216 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10217 ($(objpfx)test2.cat): Likewise.
10218 ($(objpfx)de/libc.cat): Likewise.
10219 ($(objpfx)test-gencat.out): Likewise.
10220 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10221 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10222 ($(objpfx)noload-mem): Likewise.
10223 ($(objpfx)tst-pathopt.out): Likewise.
10224 ($(objpfx)tst-rtld-load-self.out): Likewise.
10225 ($(objpfx)tst-array1-cmp.out): Likewise.
10226 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10227 ($(objpfx)tst-array2-cmp.out): Likewise.
10228 ($(objpfx)tst-array3-cmp.out): Likewise.
10229 ($(objpfx)tst-array4-cmp.out): Likewise.
10230 ($(objpfx)tst-array5-cmp.out): Likewise.
10231 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10232 ($(objpfx)check-textrel.out): Likewise.
10233 ($(objpfx)check-execstack.out): Likewise.
10234 ($(objpfx)check-localplt.out): Likewise.
10235 ($(objpfx)order2-cmp.out): Likewise.
10236 ($(objpfx)tst-leaks1-mem): Likewise.
10237 ($(objpfx)tst-leaks1-static-mem): Likewise.
10238 ($(objpfx)tst-initorder-cmp.out): Likewise.
10239 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10240 ($(objpfx)tst-unused-dep.out): Likewise.
10241 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10242 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10243 * iconv/Makefile (test-iconvconfig): Likewise.
10244 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10245 ($(objpfx)iconv-test.out): Likewise.
10246 ($(objpfx)tst-tables.out): Likewise.
10247 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10248 ($(objpfx)tst-gettext.out): Likewise.
10249 ($(objpfx)tst-translit.out): Likewise.
10250 ($(objpfx)tst-gettext2.out): Likewise.
10251 ($(objpfx)tst-gettext4.out): Likewise.
10252 ($(objpfx)tst-gettext6.out): Likewise.
10253 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10254 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10255 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10256 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10257 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10258 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10259 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10260 ($(objpfx)wordexp-tst.out): Likewise.
10261 ($(objpfx)annexc.out): Likewise.
10262 ($(objpfx)tst-fnmatch-mem): Likewise.
10263 ($(objpfx)bug-regex2-mem): Likewise.
10264 ($(objpfx)bug-regex14-mem): Likewise.
10265 ($(objpfx)bug-regex21-mem): Likewise.
10266 ($(objpfx)bug-regex31-mem): Likewise.
10267 ($(objpfx)tst-vfork3-mem): Likewise.
10268 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10269 ($(objpfx)tst-pcre-mem): Likewise.
10270 ($(objpfx)tst-boost-mem): Likewise.
10271 ($(objpfx)tst-getconf.out): Likewise.
10272 ($(objpfx)bug-ga2-mem): Likewise.
10273 ($(objpfx)bug-glob2-mem): Likewise.
10274 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10275 ($(objpfx)mtrace-tst-leaks2): Likewise.
10276 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10277 ($(objpfx)tst-printf.out): Likewise.
10278 ($(objpfx)tst-setvbuf1.out): Likewise.
10279 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10280 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10281 ($(objpfx)tst-fmtmsg.out): Likewise.
10282 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10283 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10284
acd7f096
JM
10285 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10286 * bits/sigaction.h [__USE_MISC]: Likewise.
10287 * bits/waitstatus.h: Update #endif comments.
10288 * ctype/ctype.h: Likewise.
10289 * dirent/dirent.h: Likewise.
10290 [__USE_MISC]: Remove redundant conditionals.
10291 * grp/grp.h: Update #endif comments.
10292 [__USE_GNU]: Remove redundant conditionals.
10293 [__USE_MISC]: Likewise.
10294 * inet/netinet/in.h [__USE_GNU]: Likewise.
10295 * io/sys/stat.h [__USE_MISC]: Likewise.
10296 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10297 * libio/bits/stdio.h: Update #endif comments.
10298 [__USE_MISC]: Remove redundant conditionals.
10299 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10300 * libio/stdio.h: Update #endif comments.
10301 [__USE_MISC]: Remove redundant conditionals.
10302 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10303 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10304 * math/math.h: Update #else and #endif comments.
10305 [__USE_MISC]: Remove redundant conditionals.
10306 * misc/sys/uio.h: Update #endif comments.
10307 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10308 * posix/glob.h [__USE_MISC]: Likewise.
10309 * posix/sys/types.h: Update #endif comments.
10310 [__USE_MISC]: Remove redundant conditionals.
10311 * posix/sys/wait.h: Update #endif comments.
10312 [__USE_MISC]: Remove redundant conditionals.
10313 * posix/unistd.h: Update #endif comments.
10314 [__USE_MISC]: Remove redundant conditionals.
10315 * pwd/pwd.h [__USE_GNU]: Likewise.
10316 [__USE_MISC]: Likewise.
10317 * resolv/netdb.h [__USE_GNU]: Likewise.
10318 * signal/signal.h: Update #endif comments.
10319 [__USE_MISC]: Remove redundant conditionals.
10320 * stdlib/stdlib.h: Update #else and #endif comments.
10321 [__USE_MISC]: Remove redundant conditionals.
10322 [__USE_GNU]: Likewise.
10323 * string/bits/string2.h [__USE_MISC]: Likewise.
10324 * string/string.h: Update #endif comments.
10325 [__USE_MISC]: Remove redundant conditionals.
10326 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10327 Likewise.
10328 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10329 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10330 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10331 Likewise.
10332 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10333 Likewise.
10334 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10335 comments.
10336 [__USE_MISC]: Remove redundant conditionals.
10337 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10338 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10339 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10340 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10341 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10342 Likewise.
10343 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10344 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10345 Likewise.
10346 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10347 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10348 Likewise.
10349 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10350 Likewise.
10351 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10352 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10353 Likewise.
10354 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10355 Likewise.
10356 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10357 * sysdeps/x86/bits/string.h: Update #endif comments.
10358 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10359 conditionals.
10360 * time/sys/time.h: Update #endif comments.
10361 * time/time.h: Likewise.
10362 [__USE_MISC]: Remove redundant conditionals.
10363
a5d82e4e
YG
103642014-02-21 Yury Gribov <y.gribov@samsung.com>
10365
10366 [BZ #16600]
10367 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10368
9a80491d
AS
103692014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10370
10371 * Versions.def (librt): Add GLIBC_2.17.
10372
105fa381
AC
103732014-02-21 Adam Conrad <adconrad@0c3.net>
10374
10375 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10376 synonym for _SYS_AUXV_H to allow direct inclusion.
10377 * sysdeps/sparc/bits/hwcap.h: Likewise.
10378 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10379 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10380 * sysdeps/sparc/sysdep.h: Likewise.
10381
b8cd1c4e
SP
103822014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10383
10384 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10385
bd939d23
RS
103862014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10387
10388 * benchtests/bench-strrchr.c: Print length instead of position.
10389
5d7b57ca
JM
103902014-02-20 Joseph Myers <joseph@codesourcery.com>
10391
bc688c10
JM
10392 [BZ #16611]
10393 * sysdeps/unix/sysv/linux/kernel-features.h
10394 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10395 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10396 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10397 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10398 Likewise.
10399 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10400 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10401 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10402 (__ASSUME_SENDMMSG): Define instead of using previous
10403 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10404 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10405 (__ASSUME_SENDMMSG_SYSCALL): Define.
10406 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10407 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10408 Likewise.
10409 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10410 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10411 Likewise.
10412 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10413 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10414 Likewise.
10415 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10416 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10417 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10418 [__ASSUME_SENDMMSG]: Change conditionals to
10419 [__ASSUME_SENDMMSG_SOCKETCALL].
10420 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10421 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10422 Define.
10423 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10424 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10425 Likewise.
10426 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10427 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10428 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10429 [!__ASSUME_SENDMMSG]: Change conditional to
10430 [!__ASSUME_SENDMMSG_SOCKETCALL].
10431 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10432 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10433 Define.
10434
0e31b18c
JM
10435 [BZ #16610]
10436 * sysdeps/unix/sysv/linux/kernel-features.h
10437 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10438 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10439 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10440 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10441 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10442 [__i386__ || __sparc__]
10443 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10444 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10445 (__ASSUME_RECVMMSG): Define instead of using previous
10446 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10447 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10448 (__ASSUME_RECVMMSG_SYSCALL): Define.
10449 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10450 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10451 Likewise.
10452 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10453 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10454 Likewise.
10455 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10456 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10457 Likewise.
10458 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10459 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10460 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10461 [__ASSUME_RECVMMSG]: Change condition to
10462 [__ASSUME_RECVMMSG_SOCKETCALL].
10463 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10464 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10465 Define.
10466 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10467 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10468 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10469 Likewise.
10470 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10471 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10472 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10473 [!__ASSUME_RECVMMSG]: Change condition to
10474 [!__ASSUME_RECVMMSG_SOCKETCALL].
10475 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10476 (__ASSUME_RECVMMSG_SYSCALL): Define.
10477
dd481ccf
JM
10478 [BZ #16609]
10479 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10480 __powerpc__ || __s390__ || __sh__ || __sparc__]
10481 (__ASSUME_SOCKETCALL): Define.
10482 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10483 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10484 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10485 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10486 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10487 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10488 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10489 (__ASSUME_ACCEPT4): Define instead of using previous
10490 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10491 __powerpc__ || __sparc__ || __s390__)] condition.
10492 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10493 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10494 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10495 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10496 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10497 [!__ASSUME_ACCEPT4]: Change condition to
10498 [!__ASSUME_ACCEPT4_SOCKETCALL].
10499 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10500 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10501 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10502 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10503 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10504 __ASSUME_ACCEPT4_SYSCALL.
10505 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10506 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10507 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10508 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10509 __ASSUME_ACCEPT4_SYSCALL.
10510 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10511 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10512 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10513 [__ASSUME_ACCEPT4]: Change condition to
10514 [__ASSUME_ACCEPT4_SOCKETCALL].
10515 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10516 (__ASSUME_SOCKETCALL): Define.
10517 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10518 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10519 (__ASSUME_SOCKETCALL): Define.
10520 (__ASSUME_ACCEPT4): Remove.
10521 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10522 Define.
10523 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10524 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10525 Likewise.
10526 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10527 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10528
5d7b57ca
JM
10529 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10530 macro.
10531 (HWCAP_ARM_LPAE): Likewise.
10532 (HWCAP_ARM_EVTSTRM): Likewise.
10533 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10534 Add vpfd32, lpae and evtstrm.
10535 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10536 Increase to 22.
10537
63689d61
JM
105382014-02-19 Joseph Myers <joseph@codesourcery.com>
10539
10540 * math/auto-libm-test-in: Add tests of clog10.
10541 * math/auto-libm-test-out: Regenerated.
10542 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10543 * sysdeps/i386/fpu/libm-test-ulps: Update.
10544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10545
ab09bf61
AS
105462014-02-18 Andreas Schwab <schwab@suse.de>
10547
10548 [BZ #16574]
10549 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10550 Store non-zero if the second buffer was newly allocated.
10551 (send_dg): Likewise.
10552 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10553 to send_vc and send_dg.
10554 (res_nsend): Pass NULL for ansp2_malloced.
10555 * resolv/res_query.c (__libc_res_nquery): Add parameter
10556 answerp2_malloced and pass it down to __libc_res_nsend.
10557 (res_nquery): Pass additional NULL to __libc_res_nquery.
10558 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10559 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10560 second answer buffer if answerp2_malloced was set.
10561 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10562 (__libc_res_nquerydomain): Add parameter
10563 answerp2_malloced and pass it down to __libc_res_nquery.
10564 (res_nquerydomain): Pass additional NULL to
10565 __libc_res_nquerydomain.
10566 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10567 additional NULL to __libc_res_nsend and __libc_res_nquery.
10568 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10569 additional NULL to __libc_res_nsearch.
10570 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10571 parameter of __libc_res_nsearch to check for separately allocated
10572 second buffer.
10573 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10574 __libc_res_nquery.
10575 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10576 additional NULL to __libc_res_nquery.
10577 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10578 __libc_res_nsearch.
10579 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10580 * include/resolv.h: Update prototypes of __libc_res_nquery,
10581 __libc_res_nsearch, __libc_res_nsend.
10582
a4fb7861
JM
105832014-02-18 Joseph Myers <joseph@codesourcery.com>
10584
c6af2d89
JM
10585 * math/auto-libm-test-in: Add tests of fma.
10586 * math/auto-libm-test-out: Regenerated.
10587 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10588 (fma_towardzero_test_data): Likewise.
10589 (fma_downward_test_data): Likewise.
10590 (fma_upward_test_data): Likewise.
10591 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10592 mpc_mode.
10593 (rounding_modes): Add values for new field.
10594 (func_calc_method): Add value mpfr_fff_f.
10595 (func_calc_desc): Add mpfr_fff_f union field.
10596 (test_function): Add field exact_args.
10597 (FUNC): Add macro argument EXACT_ARGS.
10598 (FUNC_mpfr_f_f): Update call to FUNC.
10599 (FUNC_mpfr_f_f): Likewise.
10600 (FUNC_mpfr_ff_f): Likewise.
10601 (FUNC_mpfr_if_f): Likewise.
10602 (FUNC_mpc_c_f): Likewise.
10603 (FUNC_mpc_c_c): Likewise.
10604 (test_functions): Add fma. Update calls to FUNC.
10605 (handle_input_arg): Add argument exact_args.
10606 (add_test): Update call to handle_input_arg.
10607 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10608 (output_for_one_input_case): Update call to calc_generic_results.
10609 Recalculate exact zero results in each rounding mode.
10610
a4fb7861
JM
10611 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10612 non-negative before setting low bit.
10613 * math/auto-libm-test-in: Mark one asin test possibly having
10614 spurious underflow.
10615 * math/auto-libm-test-out: Regenerated.
10616 * sysdeps/i386/fpu/libm-test-ulps: Update.
10617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10618
ef114eaf
DH
106192014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10620
2b7f4f2c
SP
10621 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10622 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10623 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
10624 * README: Add missing listing for microblaze*-*-linux-gnu.
10625
8125aedc
AM
106262014-02-16 Ondřej Bílka <neleai@seznam.cz>
10627
10628 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10629 duplicate code
10630
c70a4b1d
MF
106312014-02-16 Mike Frysinger <vapier@gentoo.org>
10632
10633 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10634 * sysdeps/unix/sysv/linux/ia64: Move directory from
10635 ports/sysdeps/unix/sysv/linux/ia64.
10636 * README: Update listing for ia64-*-linux-gnu.
10637
591aeaf7
TD
106382014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10639 Joseph Myers <joseph@codesourcery.com>
10640
10641 * Makeconfig (test-name): New variable.
10642 (evaluate-test): Likewise.
10643 * Makerules (do-test-clean): Remove .test-result files.
10644 (common-mostlyclean): Likewise.
10645 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10646 * scripts/evaluate-test.sh: New file.
10647
6e89caf1
JM
106482014-02-14 Joseph Myers <joseph@codesourcery.com>
10649
7f98f180
JM
10650 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10651 separate $(objpfx)tst-fopenloc-cmp.out and
10652 $(objpfx)tst-fopenloc-mem.out targets.
10653 (tests): Update dependencies.
10654 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10655 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10656 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10657 (tst-rxspencer-no-utf8-ARGS): New variable.
10658 (tst-rxspencer-no-utf8-ENV): Likewise.
10659 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10660 instead of $(objpfx)tst-rxspencer-mem.
10661 ($(objpfx)tst-rxspencer-mem): Change target to
10662 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10663 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10664 * posix/tst-rxspencer-no-utf8.c: New file.
10665
6e89caf1
JM
10666 * elf/Makefile ($(objpfx)order.out): Remove rule.
10667 [$(run-built-tests) = yes] (tests): Depend on
10668 $(objpfx)order-cmp.out.
10669 ($(objpfx)order-cmp.out): New rule.
10670 [$(run-built-tests) = yes] (tests): Depend on
10671 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10672 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10673 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10674 $(objpfx)tst-array5-static-cmp.out.
10675 ($(objpfx)tst-array1.out): Remove rule.
10676 ($(objpfx)tst-array1-cmp.out): New rule.
10677 ($(objpfx)tst-array1-static.out): Remove rule.
10678 ($(objpfx)tst-array1-static-cmp.out): New rule.
10679 ($(objpfx)tst-array2.out): Remove rule.
10680 ($(objpfx)tst-array2-cmp.out): New rule.
10681 ($(objpfx)tst-array3.out): Remove rule.
10682 ($(objpfx)tst-array3-cmp.out): New rule.
10683 ($(objpfx)tst-array4.out): Remove rule.
10684 ($(objpfx)tst-array4-cmp.out): New rule.
10685 ($(objpfx)tst-array5.out): Remove rule.
10686 ($(objpfx)tst-array5-cmp.out): New rule.
10687 ($(objpfx)tst-array5-static.out): Remove rule.
10688 ($(objpfx)tst-array5-static-cmp.out): New rule.
10689 [$(run-built-tests) = yes] (tests): Depend on
10690 $(objpfx)order2-cmp.out.
10691 ($(objpfx)order2.out): Remove rule.
10692 ($(objpfx)order2-cmp.out): New rule.
10693 ($(objpfx)tst-initorder.out): Remove rule.
10694 [$(run-built-tests) = yes] (tests): Depend on
10695 $(objpfx)tst-initorder-cmp.out.
10696 ($(objpfx)tst-initorder-cmp.out): New rule.
10697 ($(objpfx)tst-initorder2.out): Remove rule.
10698 [$(run-built-tests) = yes] (tests): Depend on
10699 $(objpfx)tst-initorder2-cmp.out.
10700 ($(objpfx)tst-initorder2-cmp.out): New rule.
10701 [$(run-built-tests) = yes] (tests): Depend on
10702 $(objpfx)tst-unused-dep-cmp.out.
10703 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10704 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10705 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10706 on $(objpfx)tst-setvbuf1-cmp.out.
10707 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10708 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10709 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10710 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10711 ($(objpfx)tst-svc.out): Remove rule.
10712 ($(objpfx)tst-svc-cmp.out): New rule.
10713
ed9a38e2
JM
107142014-02-13 Joseph Myers <joseph@codesourcery.com>
10715
10716 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10717 * ctype/ctype.h [__USE_MISC]: Likewise.
10718 * dirent/dirent.h [__USE_MISC]: Likewise.
10719 * grp/grp.h [__USE_MISC]: Likewise.
10720 * io/fcntl.h [__USE_MISC]: Likewise.
10721 * io/sys/stat.h [__USE_MISC]: Likewise.
10722 * libio/stdio.h [__USE_MISC]: Likewise.
10723 * posix/unistd.h [__USE_MISC]: Likewise.
10724 * pwd/pwd.h [__USE_MISC]: Likewise.
10725 * stdlib.h [__USE_MISC]: Likewise.
10726 * string/bits/string2.h [__USE_MISC]: Likewise.
10727 * string/string.h [__USE_MISC]: Likewise.
10728 * time/time.h [__USE_MISC]: Likewise.
10729
d6680619
AS
107302014-02-13 Andreas Schwab <schwab@suse.de>
10731
10732 [BZ #16574]
10733 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10734 second answer buffer if it was separately allocated.
10735
ace614b8
JM
107362014-02-12 Joseph Myers <joseph@codesourcery.com>
10737
743151ae
JM
10738 * sysdeps/mips/math-tests.h: Include <features.h>.
10739 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10740 (ROUNDING_TESTS_long_double): Do not define.
10741 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10742 (EXCEPTION_TESTS_long_double): Likewise.
10743 * sysdeps/mips/mips64/libm-test-ulps: Update.
10744
498afc54
JM
10745 * include/features.h (__USE_BSD): Remove macro definitions.
10746 (__USE_SVID): Likewise.
10747 (_BSD_SOURCE): Likewise.
10748 (_SVID_SOURCE): Likewise.
10749 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10750 from definition of _DEFAULT_SOURCE.
10751 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10752 [_DEFAULT_SOURCE].
10753 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10754 * bits/mman.h [__USE_BSD]: Likewise.
10755 * bits/termios.h [__USE_BSD]: Likewise.
10756 * bits/waitstatus.h [__USE_BSD]: Likewise.
10757 * ctype/ctype.h [__USE_SVID]: Likewise.
10758 * dirent/dirent.h [__USE_BSD]: Likewise.
10759 * grp/grp.h [__USE_SVID]: Likewise.
10760 [__USE_BSD]: Likewise.
10761 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10762 * io/fcntl.h [__USE_BSD]: Likewise.
10763 * io/ftw.h [__USE_BSD]: Likewise.
10764 * io/sys/stat.h [__USE_BSD]: Likewise.
10765 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10766 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10767 * libio/stdio.h [__USE_SVID]: Likewise.
10768 [__USE_BSD]: Likewise.
10769 * math/math.h [__USE_SVID]: Likewise.
10770 [__USE_BSD]: Likewise.
10771 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10772 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10773 * misc/search.h [__USE_SVID]: Likewise.
10774 * misc/sys/mman.h [__USE_BSD]: Likewise.
10775 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10776 * misc/sys/uio.h [__USE_BSD]: Likewise.
10777 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10778 * posix/glob.h [__USE_BSD]: Likewise.
10779 * posix/regex.h [__USE_BSD]: Likewise.
10780 * posix/sys/types.h [__USE_BSD]: Likewise.
10781 [__USE_SVID]: Likewise.
10782 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10783 * posix/sys/wait.h [__USE_BSD]: Likewise.
10784 [__USE_SVID]: Likewise.
10785 * posix/unistd.h [__USE_BSD]: Likewise.
10786 [__USE_SVID]: Likewise.
10787 * pwd/pwd.h [__USE_SVID]: Likewise.
10788 * resolv/netdb.h [__USE_BSD]: Likewise.
10789 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10790 * signal/signal.h [__USE_BSD]: Likewise.
10791 [__USE_SVID]: Likewise.
10792 * socket/sys/socket.h [__USE_BSD]: Likewise.
10793 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10794 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10795 [__USE_SVID]: Likewise.
10796 * string/bits/string2.h [__USE_BSD]: Likewise.
10797 [__USE_SVID]: Likewise.
10798 * string/bits/string3.h [__USE_BSD]: Likewise.
10799 * string/endian.h [__USE_BSD]: Likewise.
10800 * string/string.h [__USE_SVID]: Likewise.
10801 [__USE_BSD]: Likewise.
10802 * string/strings.h [__USE_BSD]: Likewise.
10803 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10804 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10805 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10806 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10807 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10808 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10809 Likewise.
10810 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10811 Likewise.
10812 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10813 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10814 Likewise.
10815 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10816 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10817 Likewise.
10818 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10819 Likewise.
10820 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10821 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10822 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10823 Likewise.
10824 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10825 Likewise.
10826 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10827 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10828 * termios/termios.h [__USE_BSD]: Likewise.
10829 * time/sys/time.h [__USE_BSD]: Likewise.
10830 * time/time.h [__USE_BSD]: Likewise.
10831 [__USE_SVID]: Likewise.
10832
dd7b064c
JM
10833 * Makefile (subdir_targets): Remove subdir_lint.out.
10834
a2c4c199
JM
10835 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10836 (do-tst-printf): Likewise.
10837 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10838 $(objpfx)tst-printf.out.
10839
8756f740
JM
10840 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10841
1b6dd3f1
JM
10842 * Makerules (check-abi-%): Change target to
10843 $(objpfx)check-abi-%.out.
10844 (check-abi target): Update dependencies.
10845 (check-abi-pattern variable): Redirect output of diff to $@.
10846 (check-abi variable): Likewise.
10847 * elf/Makefile (check-abi): Update dependencies.
10848
ace614b8
JM
10849 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10850 unused.
10851 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10852 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10853 subnormal range.
10854 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10855 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10856 value has largest subnormal exponent.
10857 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10858 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10859 * sysdeps/aarch64/soft-fp/sfp-machine.h
10860 (_FP_TININESS_AFTER_ROUNDING): New macro.
10861 * sysdeps/alpha/soft-fp/sfp-machine.h
10862 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10863 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10864 Likewise.
10865 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10866 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10867 * sysdeps/mips/soft-fp/sfp-machine.h
10868 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10869 * sysdeps/powerpc/soft-fp/sfp-machine.h
10870 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10871 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10872 Likewise.
10873 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10874 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10875 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10876 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10877 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10878 Likewise.
10879
fbfdf9cb
DAS
108802014-02-12 Dylan Alex Simon <dylan@dylex.net>
10881
10882 [BZ #16545]
10883 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10884 model 1.
10885
68b7efaa
RH
108862014-02-12 Richard Henderson <rth@redhat.com>
10887
c70a4b1d 10888 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
10889 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10890 * sysdeps/unix/sysv/linux/alpha: Move directory from
10891 ports/sysdeps/unix/sysv/linux/alpha.
10892 * README: Update listing for alpha-*-linux-gnu.
10893
cb4a2928
JM
108942014-02-11 Joseph Myers <joseph@codesourcery.com>
10895
c941736c
JM
10896 * include/features.h: Update comment documenting feature test
10897 macros.
10898 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10899 _DEFAULT_SOURCE.
10900 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10901 (_SVID_SOURCE): Likewise.
10902 (_DEFAULT_SOURCE): Update description of default features.
10903 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10904 with _GNU_SOURCE.
10905 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10906 (S_ISVTX): Likewise.
10907 * manual/math.texi (Mathematical Constants): Likewise.
10908 * manual/signal.texi (Interrupted Primitives): Likewise.
10909 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10910 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10911 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10912 Don't refer to _SVID_SOURCE in warning text.
10913
e8d8d7ec
JM
10914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10915
cb4a2928
JM
10916 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10917 already defined.
10918 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10919 * sysdeps/mips/dl-lookup.c: Remove.
10920 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10921
7e6424e3
AK
109222014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10923
10924 [BZ #16447]
10925 * math/auto-libm-test-in: Add testcase for expl.
10926 * math/auto-libm-test-out: Regenerate.
10927 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10928 calculation of unsafe.
10929 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10930
75eff3fe
MS
109312014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10932
10933 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10934 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10935 ports/sysdeps/unix/sysv/linux/aarch64.
10936 * README: Update listing for aarch64*-*-linux-gnu.
10937
d35f1e80
WN
109382014-02-11 Will Newton <will.newton@linaro.org>
10939
10940 * manual/probes.texi (Mathematical Function Probes): Use
10941 "triggered" instead of "hit".
10942
7b3436d4
WN
10943 * manual/probes.texi (Internal Probes): Add documentation
10944 of setjmp, longjmp and longjmp_target probes.
10945
b4f12ca3
WN
10946 * include/stap-probe.h: Add comment about probe argument
10947 format.
10948
c13a72b7
WN
10949 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10950 definition. (tr_where, tr_freehook, tr_mallochook,
10951 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10952
195b8165
DM
109532014-02-11 David S. Miller <davem@davemloft.net>
10954
10955 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10956 processing int_tests.
10957
2ad7600b
JM
109582014-02-10 Joseph Myers <joseph@codesourcery.com>
10959
10960 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10961 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10962 * sysdeps/unix/sysv/linux/mips: Move directory from
10963 ports/sysdeps/unix/sysv/linux/mips.
10964 * README: Update listing for mips-*-linux-gnu and
10965 mips64-*-linux-gnu.
10966
73588a72
AS
109672014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10968
10969 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10970 * sysdeps/unix/sysv/linux/m68k: Move directory from
10971 ports/sysdeps/unix/sysv/linux/m68k.
10972 * README: Update listing for m68k-*-linux-gnu.
10973
4372980f
CM
109742014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10975
10976 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10977 * sysdeps/unix/sysv/linux/generic: Move directory from
10978 ports/sysdeps/unix/sysv/linux/generic.
10979 * sysdeps/unix/sysv/linux/tile: Move directory from
10980 ports/sysdeps/unix/sysv/linux/tile.
10981 * README: Update listing for tile*-*-linux-gnu.
10982
a1ffb40e
OB
109832014-02-10 Ondřej Bílka <neleai@seznam.cz>
10984
57f41c40
AS
10985 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10986 __builtin_expect.
a1ffb40e
OB
10987 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10988 * catgets/open_catalog.c (__open_catalog): Likewise.
10989 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10990 * debug/confstr_chk.c: Likewise.
10991 * debug/fread_chk.c (__fread_chk): Likewise.
10992 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10993 * debug/getgroups_chk.c: Likewise.
10994 * debug/mbsnrtowcs_chk.c: Likewise.
10995 * debug/mbsrtowcs_chk.c: Likewise.
10996 * debug/mbstowcs_chk.c: Likewise.
10997 * debug/memcpy_chk.c: Likewise.
10998 * debug/memmove_chk.c: Likewise.
10999 * debug/mempcpy_chk.c: Likewise.
11000 * debug/memset_chk.c: Likewise.
11001 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11002 * debug/strcat_chk.c (__strcat_chk): Likewise.
11003 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11004 * debug/strncat_chk.c (__strncat_chk): Likewise.
11005 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11006 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11007 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11008 * debug/wcpncpy_chk.c: Likewise.
11009 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11010 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11011 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11012 * debug/wcsncpy_chk.c: Likewise.
11013 * debug/wcsnrtombs_chk.c: Likewise.
11014 * debug/wcsrtombs_chk.c: Likewise.
11015 * debug/wcstombs_chk.c: Likewise.
11016 * debug/wmemcpy_chk.c: Likewise.
11017 * debug/wmemmove_chk.c: Likewise.
11018 * debug/wmempcpy_chk.c: Likewise.
11019 * debug/wmemset_chk.c: Likewise.
11020 * dirent/scandirat.c (SCANDIRAT): Likewise.
11021 * dlfcn/dladdr1.c (dladdr1): Likewise.
11022 * dlfcn/dladdr.c (dladdr): Likewise.
11023 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11024 * dlfcn/dlerror.c (__dlerror): Likewise.
11025 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11026 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11027 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11028 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11029 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11030 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11031 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11032 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11033 Likewise.
11034 * elf/dl-conflict.c: Likewise.
11035 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11036 * elf/dl-dst.h: Likewise.
11037 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11038 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11039 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11040 * elf/dl-init.c (call_init, _dl_init): Likewise.
11041 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
11042 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11043 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11044 Likewise.
a1ffb40e
OB
11045 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11046 Likewise.
11047 * elf/dl-minimal.c (__libc_memalign): Likewise.
11048 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11049 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11050 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11051 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
11052 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11053 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
11054 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11055 * elf/dl-writev.h (_dl_writev): Likewise.
11056 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
11057 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11058 (dl_main): Likewise.
a1ffb40e
OB
11059 * elf/setup-vdso.h (setup_vdso): Likewise.
11060 * grp/compat-initgroups.c (compat_call): Likewise.
11061 * grp/fgetgrent.c (fgetgrent): Likewise.
11062 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11063 * grp/putgrent.c (putgrent): Likewise.
11064 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11065 Likewise.
11066 * hurd/hurdinit.c: Likewise.
11067 * iconvdata/8bit-gap.c (struct): Likewise.
11068 * iconvdata/ansi_x3.110.c : Likewise.
11069 * iconvdata/big5.c : Likewise.
11070 * iconvdata/big5hkscs.c : Likewise.
11071 * iconvdata/cp1255.c: Likewise.
11072 * iconvdata/cp1258.c : Likewise.
11073 * iconvdata/cp932.c : Likewise.
11074 * iconvdata/euc-cn.c: Likewise.
11075 * iconvdata/euc-jisx0213.c : Likewise.
11076 * iconvdata/euc-jp.c: Likewise.
11077 * iconvdata/euc-jp-ms.c : Likewise.
11078 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11079 * iconvdata/gb18030.c : Likewise.
11080 * iconvdata/gbbig5.c (const): Likewise.
11081 * iconvdata/gbgbk.c: Likewise.
11082 * iconvdata/gbk.c : Likewise.
11083 * iconvdata/ibm1364.c : Likewise.
11084 * iconvdata/ibm930.c : Likewise.
11085 * iconvdata/ibm932.c: Likewise.
11086 * iconvdata/ibm933.c : Likewise.
11087 * iconvdata/ibm935.c : Likewise.
11088 * iconvdata/ibm937.c : Likewise.
11089 * iconvdata/ibm939.c : Likewise.
11090 * iconvdata/ibm943.c: Likewise.
11091 * iconvdata/iso_11548-1.c: Likewise.
11092 * iconvdata/iso-2022-cn.c : Likewise.
11093 * iconvdata/iso-2022-cn-ext.c : Likewise.
11094 * iconvdata/iso-2022-jp-3.c: Likewise.
11095 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11096 * iconvdata/iso-2022-kr.c : Likewise.
11097 * iconvdata/iso646.c (gconv_end): Likewise.
11098 * iconvdata/iso_6937-2.c : Likewise.
11099 * iconvdata/iso_6937.c : Likewise.
11100 * iconvdata/iso8859-1.c: Likewise.
11101 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11102 * iconvdata/shift_jisx0213.c : Likewise.
11103 * iconvdata/sjis.c : Likewise.
11104 * iconvdata/t.61.c : Likewise.
11105 * iconvdata/tcvn5712-1.c : Likewise.
11106 * iconvdata/tscii.c: Likewise.
11107 * iconvdata/uhc.c : Likewise.
11108 * iconvdata/unicode.c (gconv_end): Likewise.
11109 * iconvdata/utf-16.c (gconv_end): Likewise.
11110 * iconvdata/utf-32.c (gconv_end): Likewise.
11111 * iconvdata/utf-7.c (base64): Likewise.
11112 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11113 * iconv/gconv_close.c (__gconv_close): Likewise.
11114 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
11115 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11116 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11117 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11118 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11119 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
11120 * iconv/iconv.c (iconv): Likewise.
11121 * iconv/iconv_close.c: Likewise.
11122 * iconv/loop.c (SINGLE): Likewise.
11123 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11124 * include/atomic.h: Likewise.
11125 * inet/inet6_option.c (option_alloc): Likewise.
11126 * intl/bindtextdom.c (set_binding_values): Likewise.
11127 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11128 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11129 * intl/localealias.c (read_alias_file): Likewise.
11130 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
11131 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11132 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
11133 * libio/fmemopen.c (fmemopen): Likewise.
11134 * libio/iofgets.c (_IO_fgets): Likewise.
11135 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11136 * libio/iofgetws.c (fgetws): Likewise.
11137 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11138 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
11139 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11140 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
11141 * locale/findlocale.c (_nl_find_locale): Likewise.
11142 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11143 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11144 Likewise.
11145 * locale/setlocale.c (setlocale): Likewise.
11146 * login/programs/pt_chown.c (main): Likewise.
11147 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11148 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
11149 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11150 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
11151 * math/e_exp2l.c: Likewise.
11152 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11153 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11154 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11155 * math/s_catan.c (__catan): Likewise.
11156 * math/s_catanf.c (__catanf): Likewise.
11157 * math/s_catanh.c (__catanh): Likewise.
11158 * math/s_catanhf.c (__catanhf): Likewise.
11159 * math/s_catanhl.c (__catanhl): Likewise.
11160 * math/s_catanl.c (__catanl): Likewise.
11161 * math/s_ccosh.c (__ccosh): Likewise.
11162 * math/s_ccoshf.c (__ccoshf): Likewise.
11163 * math/s_ccoshl.c (__ccoshl): Likewise.
11164 * math/s_cexp.c (__cexp): Likewise.
11165 * math/s_cexpf.c (__cexpf): Likewise.
11166 * math/s_cexpl.c (__cexpl): Likewise.
11167 * math/s_clog10.c (__clog10): Likewise.
11168 * math/s_clog10f.c (__clog10f): Likewise.
11169 * math/s_clog10l.c (__clog10l): Likewise.
11170 * math/s_clog.c (__clog): Likewise.
11171 * math/s_clogf.c (__clogf): Likewise.
11172 * math/s_clogl.c (__clogl): Likewise.
11173 * math/s_csin.c (__csin): Likewise.
11174 * math/s_csinf.c (__csinf): Likewise.
11175 * math/s_csinh.c (__csinh): Likewise.
11176 * math/s_csinhf.c (__csinhf): Likewise.
11177 * math/s_csinhl.c (__csinhl): Likewise.
11178 * math/s_csinl.c (__csinl): Likewise.
11179 * math/s_csqrt.c (__csqrt): Likewise.
11180 * math/s_csqrtf.c (__csqrtf): Likewise.
11181 * math/s_csqrtl.c (__csqrtl): Likewise.
11182 * math/s_ctan.c (__ctan): Likewise.
11183 * math/s_ctanf.c (__ctanf): Likewise.
11184 * math/s_ctanh.c (__ctanh): Likewise.
11185 * math/s_ctanhf.c (__ctanhf): Likewise.
11186 * math/s_ctanhl.c (__ctanhl): Likewise.
11187 * math/s_ctanl.c (__ctanl): Likewise.
11188 * math/w_pow.c: Likewise.
11189 * math/w_powf.c: Likewise.
11190 * math/w_powl.c: Likewise.
11191 * math/w_scalb.c (sysv_scalb): Likewise.
11192 * math/w_scalbf.c (sysv_scalbf): Likewise.
11193 * math/w_scalbl.c (sysv_scalbl): Likewise.
11194 * misc/error.c (error_tail): Likewise.
11195 * misc/pselect.c (__pselect): Likewise.
11196 * nis/nis_callback.c (__nis_create_callback): Likewise.
11197 * nis/nis_call.c (__nisfind_server): Likewise.
11198 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11199 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11200 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11201 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11202 * nis/nis_lookup.c (nis_lookup): Likewise.
11203 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
11204 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11205 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 11206 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
11207 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11208 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11209 * nis/nss_compat/compat-initgroups.c (add_group)
11210 (internal_getgrent_r): Likewise.
11211 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11212 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11213 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11214 (internal_getspnam_r): Likewise.
11215 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11216 (_nss_nis_getaliasbyname_r): Likewise.
11217 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11218 (_nss_nis_getntohost_r): Likewise.
11219 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11220 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11221 (_nss_nis_getgrgid_r): Likewise.
11222 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11223 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11224 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11225 (_nss_nis_gethostbyname4_r): Likewise.
11226 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11227 (initgroups_netid): Likewise.
a1ffb40e 11228 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
11229 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11230 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11231 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11232 (_nss_nis_getprotobynumber_r): Likewise.
11233 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11234 (_nss_nis_getsecretkey): Likewise.
11235 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11236 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11237 (_nss_nis_getpwuid_r): Likewise.
11238 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11239 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11240 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11241 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11242 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11243 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
11244 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11245 Likewise.
57f41c40
AS
11246 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11247 (_nss_nisplus_getntohost_r): Likewise.
11248 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11249 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11250 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11251 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 11252 Likewise.
57f41c40
AS
11253 * nis/nss_nisplus/nisplus-initgroups.c
11254 (_nss_nisplus_initgroups_dyn): Likewise.
11255 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11256 (_nss_nisplus_getnetbyaddr_r): Likewise.
11257 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11258 (_nss_nisplus_getprotobynumber_r): Likewise.
11259 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11260 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
11261 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11262 Likewise.
57f41c40
AS
11263 * nis/nss_nisplus/nisplus-service.c
11264 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11265 (_nss_nisplus_getservbyport_r): Likewise.
11266 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11267 (_nss_nisplus_getspnam_r): Likewise.
11268 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11269 Likewise.
a1ffb40e
OB
11270 * nscd/aicache.c (addhstaiX): Likewise.
11271 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
11272 * nscd/connections.c (register_traced_file, send_ro_fd)
11273 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11274 (main_loop_epoll): Likewise.
a1ffb40e
OB
11275 * nscd/grpcache.c (addgrbyX): Likewise.
11276 * nscd/hstcache.c (addhstbyX): Likewise.
11277 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11278 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
11279 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11280 (addinnetgrX): Likewise.
11281 * nscd/nscd-client.h (__nscd_acquire_maplock)
11282 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
11283 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11284 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11285 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11286 Likewise.
11287 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11288 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
11289 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11290 (__nscd_get_map_ref): Likewise.
a1ffb40e 11291 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
11292 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11293 Likewise.
a1ffb40e
OB
11294 * nscd/pwdcache.c (addpwbyX): Likewise.
11295 * nscd/selinux.c (preserve_capabilities): Likewise.
11296 * nscd/servicescache.c (addservbyX): Likewise.
11297 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11298 * posix/fnmatch.c (fnmatch): Likewise.
11299 * posix/getopt.c (_getopt_internal_r): Likewise.
11300 * posix/glob.c (glob, glob_in_dir): Likewise.
11301 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
11302 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11303 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
11304 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11305 * resolv/res_init.c: Likewise.
11306 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11307 * resolv/res_query.c (__libc_res_nquery): Likewise.
11308 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11309 Likewise.
11310 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11311 * stdio-common/perror.c (perror): Likewise.
11312 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11313 * stdio-common/tmpnam.c (tmpnam): Likewise.
11314 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11315 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
11316 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11317 Likewise.
a1ffb40e
OB
11318 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11319 * stdlib/putenv.c (putenv): Likewise.
11320 * stdlib/setenv.c (__add_to_environ): Likewise.
11321 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11322 * stdlib/strtol_l.c (INTERNAL): Likewise.
11323 * string/memmem.c (memmem): Likewise.
11324 * string/strerror.c (strerror): Likewise.
11325 * string/strnlen.c (__strnlen): Likewise.
11326 * string/test-memmem.c (simple_memmem): Likewise.
11327 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11328 * sunrpc/pm_getport.c (__get_socket): Likewise.
11329 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11330 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
11331 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11332 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
11333 Likewise.
11334 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11335 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11336 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11337 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11338 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
11339 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11340 Likewise.
11341 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11342 Likewise.
a1ffb40e
OB
11343 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11344 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11345 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11346 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11347 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11349 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11350 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11351 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11352 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11353 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11354 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11355 Likewise.
11356 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11357 Likewise.
11358 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11359 Likewise.
11360 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11361 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11362 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11363 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11364 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11365 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11366 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11367 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11368 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11369 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11370 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11371 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11372 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11373 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
11375 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11376 Likewise.
a1ffb40e
OB
11377 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11378 Likewise.
11379 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11380 Likewise.
11381 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11382 Likewise.
11383 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11384 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11385 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11386 Likewise.
11387 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11388 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11389 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11390 * sysdeps/posix/sleep.c: Likewise.
11391 * sysdeps/posix/tempname.c: Likewise.
11392 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11393 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11394 Likewise.
57f41c40
AS
11395 * sysdeps/powerpc/powerpc32/dl-machine.h
11396 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
11397 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11398 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11399 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11400 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11401 Likewise.
11402 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11403 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11404 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11405 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11406 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11407 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11408 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11409 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11410 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11411 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11412 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11413 (elf_machine_lazy_rel): Likewise.
a1ffb40e 11414 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11415 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11416 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11417 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11418 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11419 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11420 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11421 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11422 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11423 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11424 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11425 Likewise.
11426 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11427 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11428 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11429 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11430 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11431 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11432 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11433 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11434 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11435 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11436 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11437 Likewise.
11438 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11439 (__posix_fallocate64_l64): Likewise.
11440 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11441 (posix_fallocate): Likewise.
57f41c40
AS
11442 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11443 Likewise.
a1ffb40e 11444 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
11445 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11446 (getifaddrs_internal): Likewise.
a1ffb40e
OB
11447 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11448 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11449 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11450 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11451 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11452 (__posix_fallocate64_l64): Likewise.
11453 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11454 Likewise.
11455 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
11456 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11457 (__get_clockfreq): Likewise.
a1ffb40e
OB
11458 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11459 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11460 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11461 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11462 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11463 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11464 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11465 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11466 Likewise.
11467 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11468 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11469 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11470 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11471 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11472 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11473 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11474 Likewise.
11475 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11476 (posix_fallocate): Likewise.
11477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11478 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11479 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11480 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11481 (elf_machine_rela, elf_machine_rela_relative)
11482 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11483 * time/asctime.c (asctime_internal): Likewise.
11484 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11485 * time/tzset.c (__tzset_parse_tz): Likewise.
11486 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11487 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11488 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11489 * wcsmbs/wcsmbsload.h: Likewise.
11490
f3d338c9
OB
11491 [BZ #15894]
11492 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11493
57f41c40
AS
11494 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11495 (arena_get2): Remove THREAD_STATS conditionals.
11496 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11497 (__malloc_stats, int): Likewise.
bdfe308a 11498
d674667c
MF
114992014-02-08 Mike Frysinger <vapier@gentoo.org>
11500
11501 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11502 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11503
6349768c
MF
11504 * manual/setjmp.texi: Fix typos/grammar errors.
11505
0b7c7473
MF
11506 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11507 Only return early when n is <= 0. Delete unused return statement.
11508
ac8cc9e3
MF
11509 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11510 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11511 * debug/tst-longjmp_chk3.c: New file.
11512
c5bb8e23
MF
11513 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11514 (test_main): Replace code with set_fortify_handler call.
11515 * debug/test-strcpy_chk.c: Likewise.
11516 * debug/tst-chk1.c: Likewise.
11517 * debug/tst-longjmp_chk.c: Likewise.
11518 * test-skeleton.c: Include fcntl.h & paths.h
11519 (set_fortify_handler): Define.
11520
10444e42
MF
11521 * debug/tst-longjmp_chk.c: Add header comment and include
11522 ../test-skeleton.c.
11523 (do_test): Mark static.
11524 (TEST_FUNCTION): Define.
11525
1e805e8d
MF
11526 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11527 (IP_PMTUDISC_INTERFACE): Likewise.
11528 (IP_MULTICAST_IF): Likewise.
11529 (IP_MULTICAST_TTL): Likewise.
11530 (IP_MULTICAST_LOOP): Likewise.
11531 (IP_ADD_MEMBERSHIP): Likewise.
11532 (IP_DROP_MEMBERSHIP): Likewise.
11533 (IP_UNBLOCK_SOURCE): Likewise.
11534 (IP_BLOCK_SOURCE): Likewise.
11535 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11536 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11537 (IP_MSFILTER): Likewise.
11538 (MCAST_JOIN_GROUP): Likewise.
11539 (MCAST_BLOCK_SOURCE): Likewise.
11540 (MCAST_UNBLOCK_SOURCE): Likewise.
11541 (MCAST_LEAVE_GROUP): Likewise.
11542 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11543 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11544 (MCAST_MSFILTER): Likewise.
11545 (IP_MULTICAST_ALL): Likewise.
11546 (IP_UNICAST_IF): Likewise.
11547
73f79bb7
MF
11548 * timezone/Makefile: Delete $(have-ksh) check.
11549 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11550 * timezone/tzselect.ksh: Add +x mode bits.
11551
8da79b60
MF
11552 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11553 (ANON_INODE_FS_MAGIC): Likewise.
11554 (BDEVFS_MAGIC): Likewise.
11555 (BINFMTFS_MAGIC): Likewise.
11556 (BTRFS_TEST_MAGIC): Likewise.
11557 (CRAMFS_MAGIC_WEND): Likewise.
11558 (DEBUGFS_MAGIC): Likewise.
11559 (ECRYPTFS_SUPER_MAGIC): Likewise.
11560 (EXT3_SUPER_MAGIC): Likewise.
11561 (EXT4_SUPER_MAGIC): Likewise.
11562 (FUTEXFS_SUPER_MAGIC): Likewise.
11563 (HOSTFS_SUPER_MAGIC): Likewise.
11564 (HUGETLBFS_MAGIC): Likewise.
11565 (MINIX3_SUPER_MAGIC): Likewise.
11566 (MTD_INODE_FS_MAGIC): Likewise.
11567 (NILFS_SUPER_MAGIC): Likewise.
11568 (OPENPROM_SUPER_MAGIC): Likewise.
11569 (PIPEFS_MAGIC): Likewise.
11570 (PSTOREFS_MAGIC): Likewise.
11571 (QNX6_SUPER_MAGIC): Likewise.
11572 (RAMFS_MAGIC): Likewise.
11573 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11574 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11575 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11576 (SECURITYFS_MAGIC): Likewise.
11577 (SELINUX_MAGIC): Likewise.
11578 (SMACK_MAGIC): Likewise.
11579 (SOCKFS_MAGIC): Likewise.
11580 (SQUASHFS_MAGIC): Likewise.
11581 (STACK_END_MAGIC): Likewise.
11582 (TMPFS_MAGIC): Likewise.
11583 (USBDEVICE_SUPER_MAGIC): Likewise.
11584 (V9FS_MAGIC): Likewise.
11585 (XENFS_SUPER_MAGIC): Likewise.
11586 (CRAMFS_MAGIC): Fix typo in comment.
11587 (EXT2_SUPER_MAGIC): Update comment.
11588 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11589
464263cc
JM
115902014-02-08 Joseph Myers <joseph@codesourcery.com>
11591
c6bfe5c4
JM
11592 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11593 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11594 * sysdeps/unix/sysv/linux/arm: Move directory from
11595 ports/sysdeps/unix/sysv/linux/arm.
11596 * README: Update listing for arm-*-linux-gnueabi.
11597
464263cc
JM
11598 * README: Remove mention of am33.
11599
32749f6c
RM
116002014-02-07 Roland McGrath <roland@hack.frob.com>
11601
11602 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11603 than the comma operator, to avoid "rhs of comma has no effect"
11604 compiler warnings.
11605 (__sigfillset, __sigandset, __sigorset): Likewise.
11606 * include/signal.h (__sigemptyset): Likewise.
11607 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11608
d5b396c1
AM
116092014-02-07 Allan McRae <allan@archlinux.org>
11610
11611 * version.h (RELEASE): Set to "development".
11612 (VERSION): Set to "2.19.90"
11613 * NEWS: Add 2.20 section.
11614
3bfff2ed
CD
116152014-02-06 Carlos O'Donell <carlos@redhat.com>
11616
11617 [BZ #16529]
11618 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11619
ee7cc385
SP
116202014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11621
11622 * manual/contrib.texi: Update entry for Carlos O'Donell,
11623 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11624
f877c4f2
CD
116252014-02-05 Carlos O'Donell <carlos@rehdat.com>
11626
27e839f6
CD
11627 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11628
f877c4f2
CD
11629 * sysdeps/unix/sysv/linux/kernel-features.h
11630 [__LINUX_KERNEL_VERSION >= 0x020621]
11631 (__ASSUME_PROC_PID_TASK_COMM): Define.
11632
68159946
SP
116332014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11634
ba17cdbd
SP
11635 [BZ #16398]
11636 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11637 conversion when destination buffer does not have enough space.
11638 * libio/tst-ftell-partial-wide.c: New test case.
11639 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11640
68159946
SP
11641 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11642 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11643 Leonard and Allan McRae.
11644
2b528732
DM
116452014-02-04 David S. Miller <davem@davemloft.net>
11646
11647 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11648 32-bit.
11649
0ff82463
AZ
116502014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11651
57f41c40
AS
11652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11653 New file
c01603f7
AZ
11654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11655 New file
57f41c40
AS
11656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11657 New file.
11658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11659 New file.
c01603f7
AZ
11660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11661 New file.
57f41c40
AS
11662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11663 New file.
11664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11665 New file.
c01603f7
AZ
11666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11667 New file.
11668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11669 New file.
11670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11671 New file.
11672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11673 New file.
11674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11675 New file.
11676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11677 New file.
11678
116792014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11680
0ff82463
AZ
11681 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11682 * shlib-versions: Likewise.
11683
1695c773
AZ
116842014-02-04 Roland McGrath <roland@hack.frob.com>
11685 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11686
11687 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11688 (abilist-pattern): New variable, set to %-le.abilist.
11689
11690 * Makerules (abilist-pattern): New variable.
11691 (vpath): Use $(abilist-pattern) in place of %.abilist.
11692 (check-abi-% pattern rule): Likewise.
11693 (check-abi, update-abi): Likewise.
11694
6c0ce4b4
EW
116952014-02-04 Eric Wong <normalperson@yhbt.net>
11696
11697 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11698
481e3524
CD
116992014-02-03 Carlos O'Donell <carlos@redhat.com>
11700
11701 * manual/startup.texi: Add next, previous, and top entries for
11702 the `Program Arguments' and `Environment Variables' nodes.
11703
375592d3
AO
117042014-02-03 Alexandre Oliva <aoliva@redhat.com>
11705
11706 * manual/macros.texi: Add comments before MTASC-safety macros.
11707
f54838ba
AO
11708 * manual/users.texi: Document MTASC-safety properties.
11709
57f41c40
AS
11710 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11711 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
11712 @deftypefun, and add @safety note.
11713 * manual/signal.texi: Move comments that analyze the above
11714 functions to their home place.
11715
fd3daba4
AM
117162014-02-03 Allan McRae <allan@archlinux.org>
11717
11718 * po/sl.po: Update Slovenian translation from translation project.
11719
597636d7
AO
117202014-02-02 Alexandre Oliva <aoliva@redhat.com>
11721
11722 * manual/time.texi (timegm): Add missing blank after @c.
11723 Reported by Joseph Myers <joseph@codesourcery.com>.
11724
ee196e3c
AO
117252014-02-01 Alexandre Oliva <aoliva@redhat.com>
11726
11727 * manual/check-safety.sh: New.
11728 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11729
f8d529d5
AO
11730 * manual/terminal.texi: Document MTASC-safety properties.
11731
de55fdf4
AO
11732 * manual/filesys.texi: Document MTASC-safety properties.
11733
c3299c08
AO
11734 * manual/errno.texi: Document MTASC-safety properties.
11735
06e90b14
AO
11736 * manual/intro.texi: Document safety identifiers and
11737 conditionals.
11738
1acd4371
AO
11739 * manual/string.texi (wcstok): Fix prototype.
11740 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11741
23e5b8cb
AO
11742 * manual/time.texi: Document MTASC-safety properties.
11743
11087373
AO
11744 * manual/string.texi: Document MTASC-safety properties.
11745
5da2c93d
AO
11746 * manual/threads.texi: Document MTASC-safety properties.
11747
171e9210
AO
11748 * manual/stdio.texi: Document MTASC-safety properties.
11749
d9e02532
AO
11750 * manual/syslog.texi: Document MTASC-safety properties.
11751
6af8bab7
AO
11752 * manual/sysinfo.texi: Document MTASC-safety properties.
11753
663b02d7
AO
11754 * manual/startup.texi: Document MTASC-safety properties.
11755
973f180b
AO
11756 * manual/socket.texi: Document MTASC-safety properties.
11757
8f3c25c8
AO
11758 * manual/signal.texi: Document MTASC-safety properties.
11759
542210fb
AO
117602014-01-31 Alexandre Oliva <aoliva@redhat.com>
11761
11762 * manual/setjmp.texi: Document MTASC-safety properties.
11763
433c45a2
AO
11764 * manual/search.texi: Document MTASC-safety properties.
11765
c8ce789c
AO
11766 * manual/resource.texi: Document MTASC-safety properties.
11767
19f5d29c
AO
11768 * manual/process.texi: Document MTASC-safety properties.
11769
e2dfb7f4
AO
11770 * manual/platform.texi: Document MTASC-safety properties.
11771
8c1413f5
AO
11772 * manual/pipe.texi: Document MTASC-safety properties.
11773
03483ada
AO
11774 * manual/pattern.texi: Document MTASC-safety properties.
11775
29e7e2df
AO
11776 * manual/message.texi: Document MTASC-safety properties.
11777
9f529d7c
AO
11778 [BZ #12751]
11779 * manual/memory.texi: Document MTASC-safety properties.
11780
27aaa791
AO
11781 * manual/math.texi: Document MTASC-safety properties.
11782
f2d58726
AO
11783 * manual/locale.texi: Document MTASC-safety properties.
11784
2cc3615c
AO
11785 * manual/llio.texi: Document MTASC-safety properties.
11786
d9f0ec97
AO
11787 * manual/libdl.texi: New.
11788
e7c4409a
AO
11789 * manual/lang.texi: Document MTASC-safety properties.
11790
27bdc63c
AO
11791 * manual/job.texi: Document MTASC-safety properties.
11792
a7b90ea9
AO
11793 * manual/getopt.texi: Document MTASC-safety properties.
11794
c49130e3
AO
11795 * manual/ctype.texi: Document MTASC-safety properties.
11796
0d23a5c1
MR
117972014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11798
11799 [BZ #16046]
11800 * csu/libc-tls.c (static_map): Remove variable.
11801 (__libc_setup_tls): Use main executable's link map for TLS data.
11802 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11803 casing for LM_ID_BASE and GL(dl_nns).
11804 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11805 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11806 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11807 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11808 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11809 member.
11810 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11811 l_phnum members.
11812
0037bb60
AO
118132014-01-30 Alexandre Oliva <aoliva@redhat.com>
11814
11815 * manual/debug.texi: Document MTASC-safety properties.
11816
409e00bd
L
118172014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11818
11819 [BZ #16510]
11820 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11821 of __x86_64__ when disabling x87 inline functions.
11822
86e60666
AO
118232014-01-29 Alexandre Oliva <aoliva@redhat.com>
11824
11825 * manual/charset.texi: Document MTASC-safety properties.
11826
76167637
AO
11827 * manual/crypt.texi: Document MTASC-safety properties.
11828
e567f2a0
AO
11829 * manual/conf.texi: Document MTASC-safety properties.
11830
b719dafd
AO
11831 * manual/arith.texi: Document MTASC-safety properties.
11832
4a16c662
AO
11833 * manual/argp.texi: Document MTASC-safety properties.
11834
0a57b83e
AO
11835 * manual/macros.texi: Introduce macros to document multi
11836 thread, asynchronous signal and asynchronous cancellation
11837 safety properties.
11838 * manual/intro.texi: Introduce the properties themselves.
11839
feab2397
KK
118402014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11841
11842 * sysdeps/sh/sh4/Makefile: New file.
11843
1c0d11bc
AS
118442014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11845
11846 * math/gen-libm-test.pl ($srcdir): New variable.
11847 ($auto_input): Use it.
11848
af37a8a3
SP
118492014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11850
d7b00f98
SP
11851 [BZ #16506]
11852 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11853 access beyond array bounds when parsing netgroups file.
11854
af37a8a3
SP
11855 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11856 the old buffer before realloc.
11857
0c00f062
AM
118582014-01-27 Allan McRae <allan@archlinux.org>
11859
11860 * po/fr.po: Update French translation from translation project.
11861
7d69a1b0
KK
118622014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11863
11864 * sysdeps/sh/libm-test-ulps: Regenerate.
11865
6e697ff7
DM
118662014-01-24 David S. Miller <davem@davemloft.net>
11867
11868 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11869
9cadb35c
KK
118702014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11871
11872 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11873 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11874
5d41dadf
SP
118752013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11876
11877 [BZ #16474]
11878 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11879 string pointers after reallocation.
11880
0bad441c
KK
118812014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11882
11883 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11884 __SH4A__ instead of __SH_FPU_ANY__.
11885
7007c661
KK
118862014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11887
11888 * sysdeps/sh/fpu_control.h: New file.
11889 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11890 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11891 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11892 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11893 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11894 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11895 * sysdeps/sh/sys/ucontext.h: Remove.
11896 * sysdeps/sh/sys: Remove directory.
11897
0f0c35e4
AK
118982014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11899
11900 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11901 s390/sys/ucontext.h.
11902 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11903 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11904
4959e284
L
119052014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11906
11907 [BZ #15605]
11908 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11909
d98720e0
AZ
119102014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11911
11912 [BZ#16431]
11913 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11914 Adjust the vDSO correctly for internal calls.
11915 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11916
91cbd0bc
AM
119172014-01-20 Allan McRae <allan@archlinux.org>
11918
11919 * po/ca.po: Update Catalan translation from translation project.
11920
7a02cfad
MF
119212014-01-16 Mike Frysinger <vapier@gentoo.org>
11922
11923 * sysdeps/s390/sotruss-lib.c: New file.
11924
736c304a
AZ
119252014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11926
11927 [BZ#16430]
6e077ee5 11928 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
11929 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11930 local calls issues by not having a PLT stub required for IFUNC calls.
11931 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11932
94d0cea0
JM
119332014-01-16 Joseph Myers <joseph@codesourcery.com>
11934
11935 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11936 * math/test-fpucw-static.c: Likewise.
11937
980cb518
SP
119382013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11939
11940 [BZ #16453]
11941 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11942
2393fc01
AZ
119432014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11944
11945 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11946 implementation for powerpc.
11947
d359bcc2
OB
119482014-01-15 Ondřej Bílka <neleai@seznam.cz>
11949
11950 [BZ #14782]
11951 * sysdeps/posix/system.c (__libc_system): Do not enable
11952 asynchronous cancellation.
11953
7beb48cb
AK
119542014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11955
11956 [BZ #16427]
11957 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11958 handling only for numbers special also in the IEEE case.
11959
c20d5bf5
AK
119602014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11961
11962 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11963
e83bd4ee
AM
119642014-01-11 Allan McRae <allan@archlinux.org>
11965
76d0ea69
AM
11966 * po/bg.po: Update Bulgarian translation from translation project.
11967
e83bd4ee
AM
11968 * po/de.po: Update German translation from translation project.
11969
bc2ba20a
RM
119702014-01-10 Roland McGrath <roland@hack.frob.com>
11971
11972 * sysdeps/generic/gcc-compat.h: New file.
11973
649ecea2
SP
119742014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11975
11976 * benchtests/asin-inputs: Correct slow inputs.
11977 * benchtests/acos-inputs: Likewise.
11978
1b19c006
AM
119792014-01-10 Allan McRae <allan@archlinux.org>
11980
a46dab08
AM
11981 * po:sv.po: Update Swedish translation from translation project.
11982
421df74a
AM
11983 * po/vi.po: Update Vietnamese translation from translation project.
11984
d61c51a7
AM
11985 * po/eo.po: Update Esperanto translation from translation project.
11986
0339a319
AM
11987 * po/cs.po: Update Czech translation from translation project.
11988
94ad3e99
AM
11989 * po/nl.po: Update Dutch translation from translation project.
11990
e349ca71
AM
11991 * po/pl.po: Update Polish translation from translation project.
11992
ddf930c1
AM
11993 * po/ru.po: Update Russian translation from translation project.
11994
1b19c006
AM
11995 * po/uk.po: Update Ukrainian translation from translation project.
11996
9f236c49
BM
119972014-01-08 Brooks Moses <bmoses@google.com>
11998
11999 * elf/dl-load.c: Fix comment typo.
12000
cd6701cf
CD
120012014-01-08 Carlos O'Donell <carlos@redhat.com>
12002
12003 * po/header.pot: Rename to...
12004 * po/pot.header: ... this.
12005 * po/Makefile: Use pot.header.
12006
66671c84
YK
120072014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12008 Maxim Kuvyrkov <maxim@kugelworks.com>
12009
12010 [BZ #16394]
cd6701cf
CD
12011 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12012 SRC and DEST against LEN.
66671c84 12013
38f34581
AZ
120142014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12015
12016 [BZ #16414]
12017 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12018 implementation.
12019 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12020
120212014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
12022
12023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12024
4c327f2a
JM
120252014-01-08 Joseph Myers <joseph@codesourcery.com>
12026
12027 [BZ #16408]
12028 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12029 for large positive arguments.
12030
b821f414
JM
120312014-01-07 Joseph Myers <joseph@codesourcery.com>
12032
1f0f2067
JM
12033 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12034
a5a326f6
JM
12035 * math/auto-libm-test-in: Mark various tests with
12036 xfail-rounding:ldbl-128ibm.
12037 * math/auto-libm-test-out: Regenerated.
12038
b821f414
JM
12039 [BZ #16407]
12040 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12041 Increase overflow threshold.
12042
94c8a4bc
OB
120432014-01-07 Ondřej Bílka <neleai@seznam.cz>
12044
12045 [BZ #14286]
12046 * stdio-common/vfprintf.c: Check for integer overflow.
12047
87ded0c3
AK
120482014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12049
12050 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12051 the first argument and return value of __tls_get_addr_internal.
12052
c5eebdd0
AK
120532014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12054
12055 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12056 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12057
05d138ef
AK
120582014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12059
12060 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12061 * sysdeps/s390/rtld-global-offsets.sym: New file.
12062 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12063 GLIBC_2.19 symbol.
12064 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12065 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12066 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12067 ... this.
12068 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12069 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12070 ... this.
12071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12072 Regenerate.
12073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12074 Regenerate.
12075 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12076 halfs of GPRs for high_gprs contexts.
12077 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12078 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12079 field.
12080 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12081 uc_flags field.
12082 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12083 64 bit versions:
12084 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12085 for high GPRs (uc_high_gprs) and for future extensions
12086 (__reserved).
12087 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12088 for future extensions (__reserved).
12089 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12090 64 bit versions:
12091 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12092 SC_HIGHGPRS offset definition.
12093 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12094 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12095
93a45ff1
AK
12096 * Versions.def: Add GLIBC_2.19 for libpthread.
12097 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12098 siglongjmp for libpthread with GLIBC_2.19 symver.
12099 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12100 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12101 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12102 * sysdeps/s390/__longjmp.c: New file.
12103 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12104 * sysdeps/s390/longjmp.c: New file.
12105 * sysdeps/s390/setjmp.S: New file.
12106 * sysdeps/s390/sigjmp.S: New file.
12107 * sysdeps/s390/v1-longjmp.c: New file.
12108 * sysdeps/s390/v1-setjmp.h: New file.
12109 * sysdeps/s390/v1-sigjmp.c: New file.
12110 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12111 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12112 GLIBC_2.19 version.
12113 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12114 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12115 versioned symbols for ____longjmp_chk.
12116 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12117 Likewise.
12118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12119 Regenerate.
12120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12121 Regenerate.
12122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12123 Regenerate.
12124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12125 Regenerate.
12126 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12127 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12128 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12129 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12130 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12131 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12132 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12133 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12134 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12135 * sysdeps/s390/rtld-__longjmp.c: New file.
12136 * sysdeps/s390/rtld-setjmp.S: New file.
12137
eb3fc44b
JM
121382014-01-06 Joseph Myers <joseph@codesourcery.com>
12139
12140 [BZ #16400]
12141 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12142 Return -__logl (x) for small positive arguments without evaluating
12143 a polynomial.
12144
9341dde4
MF
121452014-01-06 Mike Frysinger <vapier@gentoo.org>
12146
12147 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12148 Rename to ...
12149 (__ptrace_peeksiginfo_args): ... this.
12150 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12151 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12152 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12153
4cff0293
AM
121542014-01-06 Allan McRae <allan@archlinux.org>
12155
12156 * inet/netinet/in.h: Fix typo in comment.
12157
75595dcf
AJ
121582014-01-05 Andreas Jaeger <aj@suse.de>
12159
12160 * sysdeps/i386/fpu/libm-test-ulps: Update.
12161
79c1e109
AM
121622014-01-05 Allan McRae <allan@archlinux.org>
12163
dd804818
AM
12164 * po/libc.pot: Regenerated.
12165
79c1e109
AM
12166 * malloc/memusagestat.c: Fix gettext call formatting.
12167
0c813d1f
SK
121682014-01-04 Sami Kerola <kerolasa@iki.fi>
12169
12170 * nscd/nscd.c: Improve usage() output.
12171
20f4a8d9
MF
121722014-01-04 Mike Frysinger <vapier@gentoo.org>
12173
12174 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12175 * sysdeps/unix/sysv/linux/configure: Regenerated.
12176 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12177 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12178
22562bb2
JM
121792014-01-03 Joseph Myers <joseph@codesourcery.com>
12180
12181 [BZ #16390]
12182 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12183 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12184
d7ad2d9b
AZ
121852014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12186
12187 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12188 extra tokens at end of #undef directive.
12189 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12190 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12191 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12192
7dd009d8
JM
121932014-01-03 Joseph Myers <joseph@codesourcery.com>
12194
24db925a
JM
12195 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12196
7dd009d8
JM
12197 * math/auto-libm-test-in: Mark various tests with
12198 xfail-rounding:ldbl-128ibm.
12199 * math/auto-libm-test-out: Regenerated.
12200
396e3ecf
JM
122012014-01-02 Joseph Myers <joseph@codesourcery.com>
12202
819e5d50
JM
12203 [BZ #16386]
12204 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12205 numbers with subnormal high part when calculating exponent.
12206
90b6a1e5
JM
12207 [BZ #16385]
12208 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12209 fabs.
12210
396e3ecf
JM
12211 [BZ #16384]
12212 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12213 M_LN2l.
12214 (__ieee754_acoshl): Use __log1pl not __log1p.
12215
6c8dbf00
OB
122162013-01-02 Ondřej Bílka <neleai@seznam.cz>
12217
57f41c40
AS
12218 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12219 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12220 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12221 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12222 (reused_arena, arena_get2): Convert to GNU style.
12223 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12224 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12225 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 12226 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
12227 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12228 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12229 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12230 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12231 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12232 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 12233 * malloc/malloc.h: Likewise.
57f41c40
AS
12234 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12235 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 12236 * malloc/mcheck.h: Likewise.
57f41c40
AS
12237 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12238 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
12239 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12240 * malloc/morecore.c (__default_morecore): Likewise.
12241 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
12242 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12243 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12244 (print_and_abort): Likewise.
6c8dbf00
OB
12245 * malloc/obstack.h: Likewise.
12246 * malloc/set-freeres.c (__libc_freeres): Likewise.
12247 * malloc/tst-mallocstate.c (main): Likewise.
12248 * malloc/tst-mtrace.c (main): Likewise.
12249 * malloc/tst-realloc.c (do_test): Likewise.
12250
d4124212
SP
122512013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12252
9a3c6a6f
SP
12253 [BZ #16366]
12254 * nscd/netgroupcache.c (do_notfound): New function.
12255 (addgetnetgrentX): Use it.
12256
d4124212
SP
12257 [BZ # 16365]
12258 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12259 NSS_STATUS_NOTFOUND.
12260
97b9a009
JM
122612014-01-01 Joseph Myers <joseph@codesourcery.com>
12262
12263 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12265
d4697bc9
AM
122662014-01-01 Allan McRae <allan@archlinux.org>
12267
ddb3687f
AM
12268 * scripts/update-copyrights: Update configure input file suffix.
12269
88726d48
AM
12270 * NEWS: Update copyright year.
12271 * catgets/gencat.c: Likewise.
12272 * csu/version.c: Likewise.
12273 * debug/catchsegv.sh: Likewise.
12274 * debug/pcprofiledump.c: Likewise.
12275 * debug/xtrace.sh: Likewise.
12276 * elf/ldconfig.c: Likewise.
12277 * elf/ldd.bash.in: Likewise.
12278 * elf/pldd.c: Likewise.
12279 * elf/sotruss.ksh: Likewise.
12280 * elf/sprof.c: Likewise.
12281 * iconv/iconv_prog.c: Likewise.
12282 * iconv/iconvconfig.c: Likewise.
12283 * locale/programs/locale.c: Likewise.
12284 * locale/programs/localedef.c: Likewise.
12285 * login/programs/pt_chown.c: Likewise.
12286 * malloc/memusage.sh: Likewise.
12287 * malloc/memusagestat.c: Likewise.
12288 * malloc/mtrace.pl: Likewise.
12289 * manual/libc.texinfo: Likewise.
12290 * nscd/nscd.c: Likewise.
12291 * nss/getent.c: Likewise.
12292 * nss/makedb.c: Likewise.
12293 * posix/getconf.c: Likewise.
12294 * scripts/test-installation.pl: Likewise.
12295
d4697bc9
AM
12296 * All files with FSF copyright notices: Update copyright dates
12297 using scripts/update-copyrights.
12298 * intl/plural.c: Regenerated.
12299 * locale/programs/charmap-kw.h: Likewise.
12300 * locale/programs/locfile-kw.h: Likewise.
12301
c8590f9d
MF
123022013-12-31 Mike Frysinger <vapier@gentoo.org>
12303
12304 * sysdeps/unix/sysv/linux/configure: Regenerated.
12305 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12306 the linux/fanotify.h header.
12307 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12308 HAVE_LINUX_FANOTIFY_H is defined.
12309
b19221b9
SP
123102013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12311
dd1d85e5
SP
12312 * benchtests/cos-inputs: New inputs.
12313 * benchtests/sin-inputs: Likewise.
12314
1acbb90f
SP
12315 * benchtests/atan-inputs: New inputs. Fix name of multiple
12316 precision fallback inputs.
12317
4c012ed3
SP
12318 * benchtests/atanh-inputs: New inputs.
12319 * benchtests/tanh-inputs: Likewise.
12320
eff98324
SP
12321 * benchtests/acosh-inputs: New inputs.
12322 * benchtests/asinh-inputs: Likewise.
12323
ce641152
SP
12324 * benchtests/cosh-inputs: New inputs.
12325 * benchtests/sinh-inputs: Likewise.
12326
b19221b9
SP
12327 * benchtests/acos-inputs: Add more inputs.
12328 * benchtests/asin-inputs: Likewise.
12329
030a4976 123302013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 12331
030a4976 12332 [BZ #16375]
9dcc8f11
VS
12333 * manual/arith.texi: Fix spelling.
12334 * manual/charset.texi: Likewise.
12335 * manual/errno.texi: Likewise.
12336 * manual/filesys.texi: Likewise.
12337 * manual/lang.texi: Likewise.
12338 * manual/llio.texi: Likewise.
12339 * manual/locale.texi: Likewise.
12340 * manual/message.texi: Likewise.
12341 * manual/resource.texi: Likewise.
12342 * manual/search.texi: Likewise.
12343 * manual/setjmp.texi: Likewise.
12344 * manual/stdio.texi: Likewise.
12345 * manual/string.texi: Likewise.
12346 * manual/sysinfo.texi: Likewise.
12347 * manual/time.texi: Likewise.
12348
11520a57
CD
123492013-12-27 Carlos O'Donell <carlos@redhat.com>
12350
12351 * po/sl.po: New file.
12352
471103ae
MF
123532013-12-27 Mike Frysinger <vapier@gentoo.org>
12354
12355 * .gitignore: Add core/.gdbinit/.gdb_history.
12356
6c9642ed
AM
123572013-12-27 Allan McRae <allan@archlinux.org>
12358
12359 [BZ #16369]
12360 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12361 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12362
3f637079
BM
123632013-12-24 Brooks Moses <bmoses@google.com>
12364
12365 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12366 all compilers that claim C++98 compliance, not just GCC.
12367 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12368 Likewise.
12369
abc26e99
MK
123702013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12371
12372 * NEWS: Restore accidentally deleted bug-fix entries.
12373
362b47fe
MK
123742013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12375 Ondřej Bílka <neleai@seznam.cz>
12376
12377 [BZ #15073]
12378 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 12379 have_lock.
362b47fe 12380
b9bcbbcb
OB
123812013-12-23 Ondřej Bílka <neleai@seznam.cz>
12382
12383 [BZ #12986]
12384 * manual/stdio.texi (String Input Conversions): Clarify that character
12385 classes are not supported.
12386
fb55fcd2
AZ
123872013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12388
12389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12390
ef7344f0
JM
123912013-12-22 Joseph Myers <joseph@codesourcery.com>
12392
4f40e4b3
JM
12393 [BZ #16337]
12394 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12395 Calculate results for small negative arguments directly rather
12396 than using reflection formula with special underflow handling.
12397
ef7344f0
JM
12398 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12399 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12400 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12401 (fchflags): Likewise.
12402 (revoke): Likewise.
12403 (setlogin): Likewise.
12404 (sigaltstack): Likewise.
12405 (wait4): Likewise.
12406 (sigblock): Remove.
12407 (sigsetmask): Likewise.
12408 (wait3): Likewise.
12409 (waitpid): Likewise.
12410 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12411 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12412 file.
12413 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12414 * sysdeps/unix/bsd/Makefile: ... here.
12415 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12416 * sysdeps/unix/bsd/Versions: ... here.
12417 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12418 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12419 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12420 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12421 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12422 * sysdeps/unix/bsd/sigblock.c: ... here.
12423 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12424 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12425 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12426 * sysdeps/unix/bsd/sigvec.c: ... here.
12427 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12428 * sysdeps/unix/bsd/tcdrain.c: ... here.
12429 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12430 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12431 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12432 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12433 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12434 * sysdeps/unix/bsd/wait.c: ... here.
12435 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12436 * sysdeps/unix/bsd/wait3.c: ... here.
12437 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12438 * sysdeps/unix/bsd/waitpid.c: ... here.
12439
5b0626b9
JM
124402013-12-21 Joseph Myers <joseph@codesourcery.com>
12441
12442 [BZ #16356]
12443 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12444 round-to-nearest for [!USE_AS_EXPM1L].
12445 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12446 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12447 more tests of exp and exp10. Expect some exp10 tests to miss
12448 exceptions or fail in directed rounding modes.
12449 * math/auto-libm-test-out: Regenerated.
12450 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12451 (exp10_test_tonearest): New function.
12452 (exp10_towardzero_test_data): New array.
12453 (exp10_test_towardzero): New function.
12454 (exp10_downward_test_data): New array.
12455 (exp10_test_downward): New function.
12456 (exp10_upward_test_data): New array.
12457 (exp10_test_upward): New function.
12458 (main): Call the new functions.
12459 * sysdeps/i386/fpu/libm-test-ulps: Update.
12460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12461
7fda5682
JM
124622013-12-20 Joseph Myers <joseph@codesourcery.com>
12463
31e3a405
JM
12464 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12465 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12466 * math/auto-libm-test-out: Regenerated.
12467 * math/libm-test.inc (acosh_test_data): Add more tests.
12468 (atanh_test_data): Likewise.
12469 (ceil_test_data): Likewise.
12470 (copysign_test_data): Likewise.
12471 * sysdeps/i386/fpu/libm-test-ulps: Update.
12472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12473
85bff96a
JM
12474 * timezone/checktab.awk: Update from tzcode 2013i.
12475 * timezone/private.h: Likewise.
12476 * timezone/scheck.c: Likewise.
12477 * timezone/tzfile.h: Likewise.
12478 * timezone/tzselect.ksh: Likewise.
12479 * timezone/zdump.c: Likewise.
12480 * timezone/zic.c: Likewise.
12481
b7867a3b
JM
12482 * math/auto-libm-test-in: Add tests of cpow.
12483 * math/auto-libm-test-out: Regenerated.
12484 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 12485 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
12486 mpc_cc_c.
12487 (func_calc_desc): Add mpc_cc_c union field.
12488 (test_functions): Add cpow.
12489 (special_fill_2pi): New function.
12490 (special_real_inputs): Add 2pi.
12491 (calc_generic_results): Handle mpc_cc_c.
12492 * sysdeps/i386/fpu/libm-test-ulps: Update.
12493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12494
7fda5682
JM
12495 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12496 csqrt, ctan and ctanh.
12497 * math/auto-libm-test-out: Regenerated.
12498 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12499 (TEST_COND_x86): Likewise.
12500 (ccos_test_data): Use AUTO_TESTS_c_c.
12501 (ccosh_test_data): Likewise.
12502 (cexp_test_data): Likewise.
12503 (clog_test_data): Likewise.
12504 (csqrt_test_data): Likewise.
12505 (ctan_test_data): Likewise.
12506 (ctan_tonearest_test_data): Likewise.
12507 (ctan_towardzero_test_data): Likewise.
12508 (ctan_downward_test_data): Likewise.
12509 (ctan_upward_test_data): Likewise.
12510 (ctanh_test_data): Likewise.
12511 (ctanh_tonearest_test_data): Likewise.
12512 (ctanh_towardzero_test_data): Likewise.
12513 (ctanh_downward_test_data): Likewise.
12514 (ctanh_upward_test_data): Likewise.
12515 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12516 mpc_c_c.
12517 (func_calc_desc): Add mpc_c_c union field.
12518 (FUNC_mpc_c_c): New macro.
12519 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12520 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12521 ctanh.
12522 (special_fill_min_subnorm_p120): New function.
12523 (special_real_inputs): Add min_subnorm_p120.
12524 (calc_generic_results): Handle mpc_c_c.
12525 * sysdeps/i386/fpu/libm-test-ulps: Update.
12526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12527
5ff8d60e
SP
125282013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12529
57f41c40
AS
12530 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12531 (do_sin_slow): New functions.
12532 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12533 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 12534
84ba214c
SP
12535 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12536 Use M to change sign of result instead of X. Assume X is
12537 positive.
12538 (csloww1): Likewise.
12539 (__sin): Adjust.
12540 (__cos): Adjust.
12541
975195e4
SP
12542 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12543 arguments A and DA.
12544 (__sin): Adjust.
12545 (__cos): Likewise.
12546
5ff8d60e
SP
12547 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12548 (__cos): Likewise.
12549 (sloww1): Don't adjust sign of DX.
12550 (csloww1): Likewise.
12551 (sloww2): Use X directly and don't adjust sign of DX.
12552 (csloww2): Likewise.
12553
eb983568
JM
125542013-12-19 Joseph Myers <joseph@codesourcery.com>
12555
64a17f1a
JM
12556 * math/auto-libm-test-in: Add tests of cabs and carg.
12557 * math/auto-libm-test-out: Regenerated.
12558 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12559 (carg_test_data): Likewise.
12560 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12561 mpc_c_f.
12562 (func_calc_desc): Add mpc_c_f union field.
12563 (test_functions): Add cabs and carg.
12564 (calc_generic_results): Handle mpc_c_f.
12565
eb983568
JM
12566 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12567 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12568 as a macro and a compat symbol.
12569 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12570 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12571 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12572 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12573 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12574 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12575 not use .hidden.
12576 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12577 Likewise.
12578 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12579 Likewise.
12580 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12581 Likewise.
12582 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12583 Likewise.
12584 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12585 Likewise.
12586 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12587 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12588 from GLIBC_2.3.2.
12589
6eeb678a
AZ
125902013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12591
12592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12593
6f6fc482
JM
125942013-12-19 Joseph Myers <joseph@codesourcery.com>
12595
21fea2e2
JM
12596 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12597 trailing whitespace removed.
12598 * scripts/config.guess: Update to version 2013-11-29.
12599 * scripts/config.sub: Update to version 2013-10-01.
12600
6f6fc482
JM
12601 * math/auto-libm-test-in: Add tests of sincos.
12602 * math/auto-libm-test-out: Regenerated.
12603 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12604 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12605 mpfr_f_11.
12606 (func_calc_desc): Add mpfr_f_11 union field.
12607 (test_functions): Add sincos.
12608 (calc_generic_results): Handle mpfr_f_11.
12609 * sysdeps/i386/fpu/libm-test-ulps: Update.
12610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12611
83f5c32d
AS
126122013-12-19 Andreas Schwab <schwab@suse.de>
12613
12614 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12615 CALL_MCOUNT.
12616 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12617 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12618 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12619
c688b419
JM
126202013-12-19 Joseph Myers <joseph@codesourcery.com>
12621
335ee092
JM
12622 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12623 * sysdeps/i386/fpu/libm-test-ulps: Update.
12624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12625
f88acd39
JM
12626 [BZ #16293]
12627 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12628 round-to-nearest mode when using frndint.
12629 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12630 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12631 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12632 Likewise.
12633 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12634 sinh test to fail.
12635 * math/auto-libm-test-out: Regenerated.
12636 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12637 (TEST_COND_x86): Likewise.
12638 (expm1_tonearest_test_data): New array.
12639 (expm1_test_tonearest): New function.
12640 (expm1_towardzero_test_data): New array.
12641 (expm1_test_towardzero): New function.
12642 (expm1_downward_test_data): New array.
12643 (expm1_test_downward): New function.
12644 (expm1_upward_test_data): New array.
12645 (expm1_test_upward): New function.
12646 (main): Run the new test functions.
12647 * sysdeps/i386/fpu/libm-test-ulps: Update.
12648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12649
c688b419
JM
12650 * include/features.h: Update comment documenting feature test
12651 macros. Mention _DEFAULT_SOURCE in comment.
12652 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12653 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12654 _BSD_SOURCE and _SVID_SOURCE.
12655 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12656 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12657 !_SVID_SOURCE]: Likewise.
12658 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12659 (__USE_POSIX_IMPLICITLY): Define.
12660 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12661 (_POSIX_SOURCE): Undefine and redefine.
12662 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12663 (_POSIX_C_SOURCE): Likewise.
12664 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12665 (Feature Test Macros): Update documentation of default features.
12666
9f6e964c
RS
126672013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12668
12669 * benchtests/Makefile: Add bench-strtok.
12670 * benchtests/bench-strtok.c: New file: strtok benchtest.
12671
ee0a148a
AM
126722013-12-19 Allan McRae <allan@archlinux.org>
12673
12674 * manual/install.texi: Suppress menu for plain text output.
12675 * INSTALL: Regenerated.
12676
b9ab448f
BM
126772013-12-18 Brooks Moses <bmoses@google.com>
12678
12679 [BZ #15846]
12680 * misc/getauxval.c: Include errno.h.
12681 (__getauxval): Set errno to ENOENT if the requested type is not
12682 found.
12683 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12684 don't declare with __attribute_const__.
12685 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12686 * manual/startup.texi: Document that getauxval sets errno.
12687
23776487
JM
126882013-12-18 Joseph Myers <joseph@codesourcery.com>
12689
f889953b
JM
12690 * math/auto-libm-test-in: Add tests of jn and yn.
12691 * math/auto-libm-test-out: Regenerated.
12692 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12693 (yn_test_data): Likewise.
12694 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12695 mpfr_if_f.
12696 (func_calc_desc): Add mpfr_if_f union field.
12697 (FUNC_mpfr_if_f): New macro.
12698 (test_functions): Add jn and yn.
12699 (calc_generic_results): Assert type of second input for
12700 mpfr_ff_f. Handle mpfr_if_f.
12701 (output_for_one_input_case): Disable all checking for arguments
12702 fitting floating-point types in case of an integer argument.
12703 * sysdeps/i386/fpu/libm-test-ulps: Update.
12704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12705
23776487
JM
12706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12707 Don't expect fegetround reference in libm.so.
12708
cb756c6d
MS
127092013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12710
12711 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12712 $(config-cflags-nofma).
12713
2dec468f
JM
127142013-12-18 Joseph Myers <joseph@codesourcery.com>
12715
5953eb3a
JM
12716 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12717 * math/auto-libm-test-out: Regenerated.
12718
2dec468f
JM
12719 [BZ #16338]
12720 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12721 to determine exponent and adjust argument to have exponent of -1.
12722 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12723 log2.
12724 * math/auto-libm-test-out: Regenerated.
12725 * sysdeps/i386/fpu/libm-test-ulps: Update.
12726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12727
4d84e6ad
OB
127282013-12-18 Ondřej Bílka <neleai@seznam.cz>
12729
12730 * manual/probes.texi: Remove cases when per-thread arenas are
12731 disabled.
12732
1818483b
AS
127332013-12-18 Andreas Schwab <schwab@suse.de>
12734
12735 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12736 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12737 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12738 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12739 * sysdeps/i386/i686/multiarch/Makefile: Update.
12740 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12741
25de95bf
JM
127422013-12-17 Joseph Myers <joseph@codesourcery.com>
12743
12744 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12745 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12746
674762d9
PE
127472013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12748
ed27ed83 12749 [BZ #15968]
0748546f
PE
12750 Support TZ transition times < 00:00:00.
12751 This is needed for version-3 tz-format files; it supports time
12752 stamps past 2037 for America/Godthab (the only entry in the tz
12753 database for which this change is relevant).
12754 * manual/time.texi (TZ Variable): Document transition times
12755 from -167:59:59 through -00:00:01.
12756 * time/tzset.c (tz_rule): Time of day is now signed.
12757 (__tzset_parse_tz): Parse negative time of day.
12758
4480e934
PE
12759 Document TZ transition times >= 25:00:00.
12760 * manual/time.texi (TZ Variable): Document transition times from
12761 25:00:00 through 167:59:59. These are already supported, and this
12762 support will help with version-3 tz-format files.
12763
69947401
PE
12764 * manual/time.texi (TZ Variable): Modernize North America example
12765 to reflect current (i.e., 2007-and-later) daylight saving rules.
12766
674762d9
PE
12767 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12768
7011c262
JM
127692013-12-17 Joseph Myers <joseph@codesourcery.com>
12770
2fc6557e
JM
12771 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12772 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12773 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12774 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12775 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12776 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12777 * sysdeps/unix/bsd/clock.c: Likewise.
12778 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12779 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12780 * sysdeps/unix/bsd/init-posix.c: Likewise.
12781 * sysdeps/unix/bsd/poll.c: Likewise.
12782 * sysdeps/unix/bsd/ptsname.c: Likewise.
12783 * sysdeps/unix/bsd/seekdir.c: Likewise.
12784 * sysdeps/unix/bsd/setegid.c: Likewise.
12785 * sysdeps/unix/bsd/seteuid.c: Likewise.
12786 * sysdeps/unix/bsd/setgid.c: Likewise.
12787 * sysdeps/unix/bsd/setrgid.c: Likewise.
12788 * sysdeps/unix/bsd/setruid.c: Likewise.
12789 * sysdeps/unix/bsd/setsid.c: Likewise.
12790 * sysdeps/unix/bsd/setuid.c: Likewise.
12791 * sysdeps/unix/bsd/sigaction.c: Likewise.
12792 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12793 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12794 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12795 * sysdeps/unix/bsd/telldir.c: Likewise.
12796 * sysdeps/unix/bsd/times.c: Likewise.
12797 * sysdeps/unix/bsd/usleep.c: Likewise.
12798
029c7b25
JM
12799 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12800 ($(objpfx)libbsd-compat.a): Remove rule.
12801
7011c262
JM
12802 * include/features.h (__FAVOR_BSD): Do not define.
12803 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12804 features conflicting with POSIX.
12805 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12806 (_BSD_SOURCE): Remove description of not being a subset of other
12807 feature test macros.
12808 * manual/job.texi (getpgrp): Do not document BSD version.
12809 (getpgid): Do not document by reference to BSD getpgrp.
12810 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12811 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12812 * signal/signal.h [__FAVOR_BSD]: Likewise.
12813 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12814 instead of making contents conditional on [__FAVOR_BSD].
12815 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12816
affb6f78
AZ
128172013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12818
12819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12820
c88769dd
JM
128212013-12-17 Joseph Myers <joseph@codesourcery.com>
12822
6432a540
JM
12823 [BZ #16314]
12824 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12825 values below 2**-450, not 2**-500.
12826 * math/auto-libm-test-in: Don't allow spurious underflow from
12827 hypot.
12828 * math/auto-libm-test-out: Regenerated.
12829
c88769dd
JM
12830 [BZ #16316]
12831 [BZ #16330]
12832 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12833 values of ha and hb and sort them after adjusting subnormal
12834 arguments.
12835 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12836 Likewise.
12837 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12838 values of ea and eb and sort them after adjusting subnormal
12839 arguments.
12840 * math/auto-libm-test-in: Do not expect some hypot tests of
12841 subnormals to fail. Add more hypot tests.
12842 * math/auto-libm-test-out: Regenerated.
12843
29618f6b
KK
128442013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12845
12846 [BZ #13304]
12847 * sysdeps/sh/s_fma.c: New file.
12848 * sysdeps/sh/s_fmaf.c: New file.
12849 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12850 version.
12851 * sysdeps/sh/Implies: Add sh/soft-fp.
12852
eacfdfbf
RM
128532013-12-16 Roland McGrath <roland@hack.frob.com>
12854
12855 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12856 level of indirection to members `objname', `errstring', `malloced'.
12857 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12858 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12859 it as the __longjmp argument (just pass 1 instead).
12860 (_dl_catch_error): Initialize C with argument pointers and address of
12861 volatile local ERRCODE rather than copying values out of C at return.
12862
ff362e5b
JM
128632013-12-16 Joseph Myers <joseph@codesourcery.com>
12864
12865 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12866 * math/auto-libm-test-out: Regenerated.
12867 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12868 (hypot_test_data): Likewise.
12869 (pow_test_data): Likewise.
12870 (pow_tonearest_test_data): Likewise.
12871 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12872 mpfr_ff_f.
12873 (func_calc_desc): Add mpfr_ff_f union field.
12874 (FUNC_mpfr_ff_f): New macro.
12875 (test_functions): Add atan2, hypot and pow.
12876 (special_fill_min): New function.
12877 (special_fill_minus_min): Likewise.
12878 (special_fill_min_subnorm): Likewise.
12879 (special_fill_minus_min_subnorm): Likewise.
12880 (special_real_inputs): Add min, -min, min_subnorm and
12881 -min_subnorm.
12882 (calc_generic_results): Handle mpfr_ff_f.
12883 * sysdeps/i386/fpu/libm-test-ulps: Update.
12884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12885
5764c27f
WN
128862013-12-16 Will Newton <will.newton@linaro.org>
12887
12888 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12889 (Aligned Memory Blocks): Add documentation for aligned_alloc
12890 and suggest it as an alternative to posix_memalign.
12891 (Hooks for Malloc): Document __memalign_hook is also called
12892 for aligned_alloc. (Summary of Malloc): Add summary for
12893 aligned alloc. Document __memalign_hook is also called
12894 for aligned_alloc.
12895
0a096e44
WN
128962013-12-16 Will Newton <will.newton@linaro.org>
12897
12898 * manual/memory.texi (Malloc Examples): Clarify default
12899 alignment documentation. Suggest posix_memalign rather
12900 than memalign or valloc.
12901 (Aligned Memory Blocks): Remove suggestion to use memalign
12902 or valloc. Remove obsolete comment about BSD.
12903 Document memalign errno values and mark the function obsolete.
12904 Document posix_memalign returned error codes. Mark valloc
12905 as obsolete. (Hooks for Malloc): __memalign_hook is also
12906 called for posix_memalign and valloc.
12907 (Summary of Malloc): Add posix_memalign to function summary.
12908 __memalign_hook is also called for posix_memalign and valloc.
12909
8d561986
SP
129102013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12911
12912 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12913 TAYLOR_SIN.
12914 (__sin): Adjust.
12915 (__cos): Likewise.
12916 (sloww): Use mynumber union. Expand ternary operator into
12917 if-else statements.
12918 (cslow): use mynumber union.
12919
73616a74
AM
129202013-12-16 Allan McRae <allan@archlinux.org>
12921
9e8ac24b
AM
12922 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12923 * configure: Regenerated.
12924
6f8e37eb
AM
12925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12926
8894bad3
AM
12927 [BZ #14120]
12928 * configure.ac: Added --enable-maintainer-mode. Check for
12929 autoconf when enabled.
12930 * configure: Regenerated.
12931
73616a74
AM
12932 * nscd/nscd.service: New file.
12933 * nscd/nscd.tmpfiles: New file.
12934
584b18eb
OB
129352013-12-14 Ondřej Bílka <neleai@seznam.cz>
12936
12937 [BZ #12100]
12938 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12939 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12940 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12941 (strstr): Add __strstr_sse2_unaligned ifunc.
12942 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12943 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12944 (strcasestr): Remove __strcasestr_sse42 ifunc.
12945 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12946 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12948
8a5c7897
KK
129492013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12950
12951 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12952 * sysdeps/sh/bits/fenv.h: ... here.
12953 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12954
fd712ef3
AZ
129552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12956
12957 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12958
42fcb46c
AZ
12959 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12960 hypotf multiarch implementations.
12961 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12962 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12963 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12964 multiarch hypot for PPC64.
12965 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12966 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12967 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12968 multiarch hypotf for PPC64.
12969
83efded4
AZ
12970 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12971 modff multiarch implementations.
12972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12975 multiarch modf for PPC64.
12976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12979 multiarch modff for PPC64.
12980
43e246d2
AZ
12981 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12982 and logl multiarch implementations.
12983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12986 multiarch logb for PPC64.
12987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12990 multiarch logb for PPC64.
12991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12994 multiarch logb for PPC64.
12995
8fdad123
AZ
12996 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12997 isinff multiarch implementation.
12998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12999 file.
13000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13002 multiarch isinf for PPC64.
13003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13004 file.
13005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13006 multiarch isinff for PPC64.
13007
1481d706
AZ
13008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13009 finitef multiarch implementation.
13010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13011 file.
13012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13014 multiarch finite for PPC64.
13015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13016 file.
13017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13018 multiarch finitef for PPC64.
13019
5ccd5fc8
AZ
13020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13021 lrint multiarch implementation.
13022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13023 file.
13024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13026 multiarch llrint for PPC64.
13027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13028 multiarch lrint for PPC64.
13029
2568f3fa
AZ
13030 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13031 copysignf multiarch implementation.
13032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13033 file.
13034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13035 file.
13036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13037 multiarch copysign for PPC64.
13038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13039 multiarch copysignf for PPC64.
13040
1cb341fd
AZ
13041 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13042 multiarch implementation.
13043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13044 file.
13045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13046 file.
13047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13048 file.
13049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13050 file.
13051 multiarch llround for PPC64.
13052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13053 multiarch trunc for PPC64.
13054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13055 multiarch truncf for PPC64.
13056
59a3e194
AZ
13057 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13058 multiarch implementation.
13059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13060 file.
13061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13062 file.
13063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13064 file.
13065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13066 file.
13067 multiarch llround for PPC64.
13068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13069 multiarch round for PPC64.
13070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13071 multiarch roundf for PPC64.
13072
357fd3b4
AZ
13073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13074 multiarch implementation.
13075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13076 file.
13077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13078 file.
13079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13080 file.
13081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13082 file.
13083 multiarch llround for PPC64.
13084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13085 multiarch floor for PPC64.
13086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13087 multiarch floorf for PPC64.
13088
96770f12
AZ
13089 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13090 multiarch implementation.
13091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13092 file.
13093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13094 file.
13095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13096 file.
13097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13098 file.
13099 multiarch llround for PPC64.
13100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13101 multiarch ceil for PPC64.
13102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13103 multiarch ceilf for PPC64.
13104
c3627f6e
AZ
13105 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13106 multiarch implementation.
13107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13108 file.
13109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13110 file.
13111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13112 file.
13113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13114 multiarch llround for PPC64.
13115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13116 multiarch lround for PPC64.
13117
b2284ad7
AZ
13118 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13119 multiarch implementation.
13120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13123 file.
13124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13127 multiarch isnan for PPC64.
13128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13129 multiarch isnanf for PPC64.
13130
69bbc63d
AZ
13131 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13132 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13133 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13134 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13135 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13137
c24517c9
AZ
13138 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13139 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13140 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13141 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13142
a52374e8
AZ
13143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13144 multiarch implementations.
13145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13146 (__libc_ifunc_impl_list): Likewise.
13147 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13148 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13149 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13150 multiarch stpcpy for PPC64.
13151
7f5ec113
AZ
13152 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13153 multiarch implementations.
13154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13155 (__libc_ifunc_impl_list): Likewise.
13156 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13157 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13158 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13159 multiarch strcpy for PPC64.
13160
e28bcd42
AZ
13161 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13162 redefine function name.
13163 (_wordcopy_fwd_dest_aligned): Likewise.
13164 (_wordcopy_bwd_aligned): Likewise.
13165 (_wordcopy_bwd_dest_aligned): Likewise.
13166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13167 multiarch implementations.
13168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13169 (__libc_ifunc_impl_list): Likewise.
13170 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13171 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13172 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13173 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13174 multiarch wcscpy for PPC64.
13175
92cacfce
AZ
13176 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13177 multiarch implementations.
13178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13179 (__libc_ifunc_impl_list): Likewise.
13180 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13181 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13182 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13183 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13184 multiarch wcscpy for PPC64.
13185
7b714620
AZ
13186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13187 multiarch implementations.
13188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13189 (__libc_ifunc_impl_list): Likewise.
13190 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13191 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13192 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13193 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13194 multiarch wcsrchr for PPC64.
13195
16fd2ae3
AZ
13196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13197 multiarch implementations.
13198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13199 (__libc_ifunc_impl_list): Likewise.
13200 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13201 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13202 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13203 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13204 multiarch wcschr for PPC64.
13205
9ee2969b
AZ
13206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13207 multiarch implementations.
13208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13209 (__libc_ifunc_impl_list): Likewise.
13210 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13211 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13212 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13213 multiarch strchrnul for PPC64.
13214
372dc060
AZ
13215 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13216 implementations.
13217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13218 (__libc_ifunc_impl_list): Likewise.
13219 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13220 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13221 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13222 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13223 strchr for PPC64.
13224
24c2c3b9
AZ
13225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13226 implementations.
13227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13228 (__libc_ifunc_impl_list): Likewise.
13229 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13230 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13231 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13232 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13233 strncmp for PPC64.
13234
1c92d9a0
AZ
13235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13236 multiarch implementations.
13237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13238 (__libc_ifunc_impl_list): Likewise.
13239 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13240 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13241 strncasecmp for PPC64.
13242 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13243 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13244 multiarch strncasecmp_l for PPC64.
13245
17de3ee3
AZ
13246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13247 multiarch implementations.
13248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13249 (__libc_ifunc_impl_list): Likewise.
13250 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13251 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13252 multiarch strcasecmp for PPC64.
13253 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13254 file.
13255 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13256 multiarch strcasecmp_l for PPC64.
13257
62982bf9
AZ
13258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13259 implementations.
13260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13261 (__libc_ifunc_impl_list): Likewise.
13262 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13263 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13264 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13265 strnlen for PPC64.
13266
a65f4904
AZ
13267 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13268 implementations.
13269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13270 (__libc_ifunc_impl_list): Likewise.
13271 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13272 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13273 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13274 strlen for PPC64.
13275
1fd005ad
AZ
13276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13277 implementations.
13278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13279 (__libc_ifunc_impl_list): Likewise.
13280 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13281 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13282 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13283 rawmemrchr for PPC64.
13284
cd05ba91
AZ
13285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13286 implementation.
13287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13288 (__libc_ifunc_impl_list): Likewise.
13289 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13290 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13291 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13292 memrchr for PPC64.
13293
870f8676
AZ
13294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13295 implementation.
13296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13297 (__libc_ifunc_impl_list): Likewise.
13298 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13299 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13300 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13301 memchr for PPC64.
13302
f00be62b
AZ
13303 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13304 implementation.
13305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13306 (__libc_ifunc_impl_list): Likewise.
13307 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13308 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13309 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13310 mempcpy for PPC64.
13311
8a29a3d0
AZ
13312 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13313 avoid cretion of __bzero symbol.
13314 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13315 Likewise.
13316 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13317 Likewise.
13318 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13319 Likewise.
13320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13321 multiarch implementations.
13322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13323 (__libc_ifunc_impl_list): Likewise.
13324 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13325 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13326 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13327 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13328 bzero for PPC32.
13329 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13330 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13331 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13332 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13333 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13334 memset for PPC64.
13335 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13336
07253fcf
AZ
13337 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13339 implementations.
13340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13341 (__libc_ifunc_impl_list): Likewise.
13342 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13343 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13344 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13345 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13346 memcmp for PPC64.
13347
b5beafbc
AZ
13348 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13349 multiarch for POWER/PPC64.
13350 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13351 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13352 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13353 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13354 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13355 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13356 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13357 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13358 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13359 memcpy for PPC64.
13360
5e6a4d4b
AZ
13361 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13362 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13363 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13364 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13365 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13366 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13367 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13368 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13369 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13370 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13371 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13372 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13373 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13374 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13375 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13383
ddfab6dc
KK
133842013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13385
13386 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13387
19b5525e
SP
133882013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13389
13390 * benchtests/Makefile (bench): Add exp2 and log2.
13391 (LDLIBS-bench-exp2): Add -lm.
13392 (LDLIBS-bench-log2): Likewise.
13393 * benchtests/exp2-inputs: New inputs file.
13394 * benchtests/log2-inputs: New inputs file.
13395 * benchtests/log-inputs: Add new inputs.
13396 * benchtests/tan-inputs: Likewise.
13397
196f7f5d
SP
133982013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13399
7a74607f
SP
13400 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13401 definition...
57f41c40
AS
13402 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13403 (csloww2): ... from here.
7a74607f 13404
196f7f5d
SP
13405 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13406 instead of structures.
13407 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13408 (POLYNOMIAL): Likewise.
13409 (TAYLOR_SLOW): Likewise.
13410 (__sin): Likewise.
13411 (__cos): Likewise.
13412 (slow1): Likewise.
13413 (slow2): Likewise.
13414 (sloww): Likewise.
13415 (sloww1); Likewise.
13416 (sloww2): Likewise.
13417 (bsloww1): Likewise.
13418 (bsloww2): Likewise.
13419 (cslow2): Likewise.
13420 (csloww): Likewise.
13421 (csloww1): Likewise.
13422 (csloww2): Likewise.
13423
0dfa665c
OB
134242013-12-10 Ondřej Bílka <neleai@seznam.cz>
13425
13426 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
13427 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13428 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
13429 * malloc/hooks.c (realloc_check): Likewise.
13430
5782a80f
OB
13431 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13432 * malloc/arena.c: Remove PER_THREAD conditional.
13433 [!PER_THREAD]: Remove code.
13434 (ptmalloc_unlock_all2): Likewise.
13435 (ptmalloc_init): Likewise.
13436 (_int_new_arena): Likewise.
13437 (arena_get2): Likewise.
13438 * malloc/hooks.c (__malloc_get_state): Likewise.
13439 (__malloc_set_state): Likewise.
13440 * malloc/malloc.c: Likewise.
13441 (struct malloc_state): Likewise.
13442 (struct malloc_par): Likewise.
13443 (__libc_realloc): Likewise.
13444 (__libc_mallopt): Likewise.
13445
aeb95445
AZ
134462013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13447
13448 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13449
e8349efd
OB
134502013-12-09 Ondřej Bílka <neleai@seznam.cz>
13451
13452 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13453 macro to a function. Check for zero perturb_byte.
13454 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13455
f3eeb3fc 13456 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
13457 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13458 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
13459 force_reg by atomic_forced_read.
13460 * malloc/arena.c (ptmalloc_init): Likewise.
13461 * malloc/hooks.c (top_check): Likewise.
13462
be2f9009
AZ
134632013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13464
13465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13466
e7b914bd
MT
134672013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13468
13469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13470
9f0be4f8
JM
134712013-12-08 Joseph Myers <joseph@codesourcery.com>
13472
13473 * math/auto-libm-test-in: Add tests of lgamma.
13474 * math/auto-libm-test-out: Regenerated.
13475 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13476 (M_LOG_2_SQRT_PIl): Likewise.
13477 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13478 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13479 mpfr_f_f1.
13480 (func_calc_desc): Add mpfr_f_f1 union field.
13481 (ARGS1): New macro.
13482 (ARGS2): Likewise.
13483 (ARGS3): Likewise.
13484 (ARGS4): Likewise.
13485 (RET1): Likewise.
13486 (RET2): Likewise.
13487 (CALC): Likewise.
13488 (FUNC): Likewise.
13489 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13490 (test_functions): Add lgamma.
13491 (calc_generic_results): Handle mpfr_f_f1.
13492 * sysdeps/i386/fpu/libm-test-ulps: Update.
13493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13494
24eeafdb
AZ
134952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13496
13497 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13498 __mpn_add_n for PowerPC64/POWER7.
13499 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13500 __mpn_sub_n for PowerPC64/POWER7.
13501
4a2c0fd4
AZ
13502 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13503 __mpn_addmul_1 for PowerPC64.
13504 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13505 __mpn_submul_1 for PowerPC64.
13506 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13507 for PowerPC64.
13508 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13509 for PowerPC64.
13510
4b5b548c
FS
135112013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13512
13513 [BZ #15089]
13514 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13515
0a3ac0aa
AZ
135162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13517
13518 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13519
ccdc8438
AZ
13520 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13521 add multiarch folders.
13522 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13523 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13524 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13525 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13526 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13527 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13528 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13529 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13530 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13531 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13532 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13539
2e973d99
AZ
13540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13541 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13543 New file.
13544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13545 New file.
13546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13547 multiarch __ieee754_hypot for PowerPC32.
13548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13549 New file.
13550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13551 New file.
13552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13553 multiarch __ieee754_hypotf for PowerPC32.
13554
2d9470b2
AZ
13555 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13556 long_double_symbol only if __logbl is defined.
13557 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13558 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13559 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13560 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13561 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13562 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13563 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13564 path for implementation.
13565 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13566 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13568 logb, and logbl multiarch implementations for PowerPC32.
13569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13570 file.
13571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13572 file.
13573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13574 multiarch logb for PowerPC32.
13575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13576 file.
13577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13578 file.
13579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13580 multiarch logbf for PowerPC32.
13581 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13583 file.
13584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13585 multiarch logbl implementation for PowerPC32.
13586
5212ffce
AZ
13587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13588 and modff multiarch implementations.
13589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13590 New file.
13591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13592 New file.
13593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13594 multiarch modf for PowerPC32.
13595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13596 New file.
13597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13598 New file.
13599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13600 multiarch modff for PowerPC32.
13601
79dccf31
AZ
13602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13603 and lrintf multiarch implementations.
13604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13605 New file.
13606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13607 New file.
13608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13609 multiarch lrint for PowerPC32.
13610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13611 file: multiarch lrintf for PowerPC32.
13612
deb66480
AZ
13613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13614 and lroundf multiarch implementations.
13615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13616 New file.
13617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13618 New file.
13619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13620 New file.
13621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13622 multiarch lround for PowerPC32.
13623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13624 file: multiarch lroundf for PowerPC32.
13625
264b036b
AZ
13626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13627 copysign and copysignf multiarch implementations.
13628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13629 New file.
13630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13631 New file.
13632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13633 file: multiarch copysign for PowerPC32.
13634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13635 file: multiarch copysignf for PowerPC32.
13636
d47db6c9
AZ
13637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13638 and truncf multiarch implementations.
13639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13640 New file.
13641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13642 file.
13643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13644 multiarch trunc for PowerPC32.
13645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13646 New file.
13647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13648 New file.
13649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13650 multiarch truncf for PowerPC32.
13651
ddb60b5a
AZ
13652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13653 and roundf multiarch implementations.
13654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13655 New file.
13656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13657 file.
13658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13659 multiarch round for PowerPC32.
13660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13661 New file.
13662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13663 New file.
13664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13665 multiarch roundf for PowerPC32.
13666
bedcf49b
AZ
13667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13668 and floorf multiarch implementations.
13669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13670 New file.
13671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13672 file.
13673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13674 multiarch floor for PowerPC32.
13675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13676 New file.
13677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13678 New file.
13679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13680 multiarch floorf for PowerPC32.
13681
35ae5b40
AZ
13682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13683 and ceilf multiarch implementations.
13684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13685 New file.
13686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13687 file.
13688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13689 multiarch ceil for PowerPC32.
13690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13691 New file.
13692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13693 file.
13694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13695 multiarch ceilf for PowerPC32.
13696
ae1a4cd9
AZ
13697 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13698 is defined.
13699 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13700 FINITEF is defined.
13701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13702 and finitef multiarch implementations.
13703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13704 New file.
13705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13706 file.
13707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13708 multiarch finite for PowerPC32.
13709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13710 New file.
13711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13712 file: multiarch finitef for PowerPC32.
13713
64fffd65
AZ
13714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13715 and isinff multiarch implementations.
13716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13717 file.
13718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13719 file.
13720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13721 multiarch isinf for PowerPC32.
13722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13723 New file.
13724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13725 multiarch isinff for PowerPC32.
13726
8e4e7ba2
AZ
13727 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13728 alias when __isnan is defined.
13729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13730 and isnanf multiarch implementations.
13731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13732 file.
13733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13734 file.
13735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13736 file.
13737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13738 file.
13739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13740 multiarch isnan for PowerPC32.
13741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13742 New file.
13743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13744 New file.
13745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13746 multiarch isnanf for PowerPC32.
13747
ddba588e
AZ
13748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13749 and sqrtf multiarch implementations.
13750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13751 file.
13752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13753 file.
13754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13755 multiarch sqrt for PowerPC32.
13756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13757 file.
13758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13759 file.
13760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13761 multiarch sqrtf for PowerPC32.
13762
0f96a2f0
AZ
13763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13764 and llroundf multiarch implementations.
13765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13766 New file.
13767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13768 New file.
13769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13770 New file.
13771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13772 file: multiarch llround for PowerPC32.
13773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13774 file: multiarch llroundf for PowerPC32.
13775
c9b5d79e
AZ
13776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13777 multiarch PowerPC32 fpu implementations.
13778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13779 New file.
13780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13781 New file.
13782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13783 multiarch llrint for PowerPC32.
13784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13785 New file.
13786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13787 New file.
13788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13789 file.
13790
9cbb3aab
AZ
13791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13792
ea5a72f8
AZ
13793 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13794 file.
13795 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13796 file.
13797 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13798 file.
13799 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13800 multiarch wordcopy for PPC32.
13801 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13802 wordcopy objects.
13803 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13804 (__libc_ifunc_impl_list): Likewise.
13805 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13806 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13807 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13808 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13809 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13810 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13811
93be09e7
AZ
13812 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13813 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13814 file.
13815 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13816 file.
13817 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13818 file.
13819 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13820 multiarch wcscpy for PPC32.
13821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13822 multiarch objects.
13823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13824 (__libc_ifunc_impl_list): Likewise.
13825 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13826 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13827 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13828 sysdeps/powerpc/power6/wcscpy.c.
13829
bb04e529
AZ
13830 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13831 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13832 file.
13833 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13834 file.
13835 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13836 file.
13837 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13838 multiarch wcsrchr for PPC32.
13839 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13840 multiarch objects.
13841 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13842 (__libc_ifunc_impl_list): Likewise.
13843 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13844 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13845 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13846 sysdeps/powerpc/power6/wcsrchr.c.
13847
05b5cd1c
AZ
13848 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13849 file.
13850 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13851 file.
13852 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13854 multiarch wcschr for PPc32.
13855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13856 multiarch objects.
13857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13858 (__libc_ifunc_impl_list): Likewise.
13859 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13860 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13861 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13862 sysdeps/powerpc/power6/wcschr.c.
13863
ba964147
AZ
13864 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13865 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13866 file.
13867 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13868 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13869 file: multiarch strchr for PPC32.
13870 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13871 multiarch objects.
13872 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13873 (__libc_ifunc_impl_list): Likewise.
13874
31c81aaa
AZ
13875 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13876 name.
13877 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13878 file.
13879 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13880 file.
13881 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13882 multiarch strchrnul for PPC32.
13883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13884 multiarch objects.
13885 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13886 (__libc_ifunc_impl_list): Likewise.
13887
0d0607d9
AZ
13888 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13889 file.
13890 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13891 multiarch strncasecmp for PPC32.
13892 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13893 file.
13894 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13895 multiarch strncasecmp_l for PPC32.
13896 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13897 strncasecmp multiarch objects.
13898 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13899 (__libc_ifunc_impl_list): Likewise.
13900
4dfd5c86
AZ
13901 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13902 file.
13903 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13904 multiarch strncasecmp for PPC32.
13905 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13906 New file.
13907 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13908 multiarch strcasecmp_l for PPC32.
13909 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13910 multiarch objects.
13911 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13912 (__libc_ifunc_impl_list): Likewise.
13913
a19e01a3
AZ
13914 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13915 file.
13916 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13917 file.
13918 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13919 multiarch strncmp for PPC32.
13920 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13921 multiarch objects.
13922 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13923 (__libc_ifunc_impl_list): Likewise.
13924
ae9cf7a2
AZ
13925 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13926 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13927 file.
13928 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13929 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13931 multiarch objects.
13932 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13933 (__libc_ifunc_impl_list): Likewise.
13934
3148bb7d
AZ
13935 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13936 file.
13937 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13938 file.
13939 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13941 multiarch objects.
13942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13943 (__libc_ifunc_impl_list): Likewise.
13944
7af8b946
AZ
13945 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13946 file.
13947 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13948 file.
13949 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13950 multiarch rawmemchr for PPC32.
13951 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13952 multiarch objects.
13953 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13954 (__libc_ifunc_impl_list): Likewise.
13955
03a6aa6a
AZ
13956 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13957 file.
13958 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13959 file.
13960 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13961 file: memrchr multiarch for PPC32.
13962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13963 multiarch objects.
13964 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13965 (__libc_ifunc_impl_list): Likewise.
13966
1c62e6d9
AZ
13967 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13968 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13969 file.
13970 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13971 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13972 multiarch memchr for PPC32.
13973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13974 multiarch objects.
13975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13976 (__libc_ifunc_impl_list): Likewise.
13977
87da8bdb
AZ
13978 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13979 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13980 file.
13981 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13982 file.
13983 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13984 file: multiarch mempcpy for PPC32.
13985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13986 multiarch objects.
13987 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13988 (__libc_ifunc_impl_list): Likewise.
13989
20ed4714
AZ
13990 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13991 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13992 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13993 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13994 multiarch bzero for PPC32.
13995 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13996 file.
13997 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13998 file.
13999 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14000 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14001 file: multiarch memset for PPC32.
14002 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14003 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14004 memset multiarch objects.
14005 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14006 (__libc_ifunc_impl_list): Likewise.
14007
ab3e3a46
AZ
14008 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14009 file.
14010 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14011 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14012 memcmp for PPC32.
14013 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14014 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14015 multiarch objects.
14016 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14017 (__libc_ifunc_impl_list): Likewise.
14018
930de6f0
AZ
14019 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14020 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14021 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14022 file.
14023 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14024 file.
14025 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14026 file.
14027 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14028 multiarch memcpy for PPC32.
14029 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14030 multiarch objects.
14031 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14032 (__libc_ifunc_impl_list): Likewise.
14033
4c628e00
AZ
14034 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14035 support multiarch for POWER/PPC32.
14036 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14037 Likewise.
14038 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14040 Implies file to make multiarch folder appers before the fpu and
14041 default folder for power4 configuration.
14042
f4479220
SP
140432013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14044
14045 * scripts/bench.pl: Append volatile keyword to type.
14046
8517800f
KK
140472013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14048
14049 * sysdeps/sh/sotruss-lib.c: New file.
14050 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14051
180138f1
AZ
140522013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14053
14054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14055
bbf37bdc
JM
140562013-12-05 Joseph Myers <joseph@codesourcery.com>
14057
e47cc4e0
JM
14058 [BZ #6810]
14059 * math/w_tgamma.c: Include <errno.h>.
14060 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14061 * math/w_tgammaf.c: Include <errno.h>.
14062 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14063 * math/w_tgammal.c: Include <errno.h>.
14064 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14065 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14066 underflow. Add more tgamma tests.
14067 * math/auto-libm-test-out: Regenerated.
14068 * sysdeps/i386/fpu/libm-test-ulps: Update.
14069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14070
bbf37bdc
JM
14071 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14072 sin, sinh, tan, tanh, tgamma, y0 and y1.
14073 * math/auto-libm-test-out: Regenerated.
14074 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14075 (TEST_COND_x86): Likewise.
14076 (M_E2l): Remove macro.
14077 (M_E3l): Likewise.
14078 (M_2_SQRT_PIl): Likewise.
14079 (M_SQRT_PIl): Likewise.
14080 (M_1_DIV_El): Likewise.
14081 (log_test_data): Use AUTO_TESTS_f_f.
14082 (log10_test_data): Likewise.
14083 (log1p_test_data): Likewise.
14084 (log2_test_data): Likewise.
14085 (sin_test_data): Likewise.
14086 (sin_tonearest_test_data): Likewise.
14087 (sin_towardzero_test_data): Likewise.
14088 (sin_downward_test_data): Likewise.
14089 (sin_upward_test_data): Likewise.
14090 (sinh_test_data): Likewise.
14091 (sinh_tonearest_test_data): Likewise.
14092 (sinh_towardzero_test_data): Likewise.
14093 (sinh_downward_test_data): Likewise.
14094 (sinh_upward_test_data): Likewise.
14095 (tan_test_data): Likewise.
14096 (tan_tonearest_test_data): Likewise.
14097 (tan_towardzero_test_data): Likewise.
14098 (tan_downward_test_data): Likewise.
14099 (tan_upward_test_data): Likewise.
14100 (tanh_test_data): Likewise.
14101 (tgamma_test_data): Likewise.
14102 (y0_test_data): Likewise.
14103 (y1_test_data): Likewise.
14104 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14105 (special_real_inputs): Add pi/4.
14106 * sysdeps/i386/fpu/libm-test-ulps: Update.
14107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14108
eb5ad6b9
AZ
141092013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14110
14111 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14112 "longjmp_target" static probes.
14113 (__longjmp): Rename to __longjmp_symbol.
14114 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14115 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14116 on which longjmp to generate.
14117 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14118 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14119 probe.
14120 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14121 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14122 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14123 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14124 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14125 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14127 __longjmp_symbol based on which __longjmp to generate.
14128 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14129 probe.
14130 (setjmp): Rename to setjmp_symbol.
14131 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14132 (_setjmp): Rename to _setjmp_symbol.
14133 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14134 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14135 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14136 which setjmp to generate.
14137 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14138 "longjmp_target" static probes.
14139
d136c6dc
SP
141402013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14141
9298ecba
SP
14142 * benchtests/README: Add note about output arguments.
14143 * benchtests/bench-sincos.c: Remove file.
14144 * benchtests/sincos-inputs: New file.
14145 * scripts/bench.pl: Identify output arguments and define
14146 static variables for them.
14147
232983e9
SP
14148 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14149
d136c6dc
SP
14150 [BZ #15941]
14151 * Makefile (INSTALL): Add install-plain.texi as the primary
14152 dependency.
14153 * manual/install-plain.texi: New file.
14154 * manual/install.texi: Include node directive only for
14155 non-plaintext output.
14156
699ff837
JM
141572013-12-04 Joseph Myers <joseph@codesourcery.com>
14158
ab07cea8
JM
14159 * stdlib/longlong.h: Update from GCC.
14160
699ff837
JM
14161 [BZ #6807]
14162 [BZ #15901]
14163 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14164 * math/w_j0f.c (y0f): Likewise.
14165 * math/w_j0l.c (__y0l): Likewise.
14166 * math/w_j1.c (y1): Likewise.
14167 * math/w_j1f.c (y1f): Likewise.
14168 * math/w_j1l.c (__y1l): Likewise
14169 * math/w_jn.c (yn): Likewise.
14170 * math/w_jnf.c (ynf): Likewise.
14171 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14172 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14173 value for Bessel function domain errors outside _SVID_ mode.
14174 Adjust sign of return value for yn (negative integer, 0).
14175 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14176 by zero in return for negative x and set sign appropriately for
14177 negative n.
14178 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14179 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14180 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14181 expectations in error cases.
14182 (y1_test_data): Likewise.
14183 (yn_test_data): Likewise.
14184 * sysdeps/i386/fpu/libm-test-ulps: Update.
14185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14186
5b118558
UW
141872013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14188
14189 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14190 "64" to "64-v1". Add "64-v2".
14191 (abi-64-options): Rename to ...
14192 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14193 (abi-64-condition): Rename to ...
14194 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14195 (abi-64-ld-soname): Rename to ...
14196 (abi-64-v1-ld-soname): ... this.
14197 (abi-64-v2-options): Define.
14198 (abi-64-v2-condition): Likewise.
14199 (abi-64-v2-ld-soname): Likewise.
14200 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14201 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14205
61cd8fe4
UW
142062013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14207 Alan Modra <amodra@gmail.com>
14208
14209 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14210 New versions for use with the ELFv2 ABI.
14211 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14212 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14213 declaration.
14214 (struct La_ppc64v2_retval): Likewise.
14215 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14216 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14217 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14218 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14219 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14220 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14221 Do not save or restore CR.
14222 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14223 (_dl_profile_resolve): Do no save or restore CR. Support extended
14224 return values for ELFv2 ABI. Fix location of FPR return registers.
14225 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14226 updated values for _CALL_ELF == 2.
14227 (La_regs, La_retval, int_retval): Likewise.
14228
8b8a692c
UW
142292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14230
14231 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14232 (FRAME_MIN_SIZE_PARM): Likewise.
14233 (FRAME_BACKCHAIN): Likewise.
14234 (FRAME_CR_SAVE): Likewise.
14235 (FRAME_LR_SAVE): Likewise.
14236 (FRAME_TOC_SAVE): Likewise.
14237 (FRAME_PARM_SAVE): Likewise.
14238 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14239 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14240 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14241 (call_mcount_parm_offset): New macro.
14242 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14243 (PROF): Use symbolic stack frame offsets.
14244 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14245 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14246 Redefine in terms of FRAME_MIN_SIZE.
14247 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14248 (_dl_profile_resolve): Likewise. Update comment.
14249 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14250 symbols stack frame offsets.
14251 (__sigsetjmp): Likewise.
14252 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14253 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14254 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14255 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14256
14257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14258 (FRAME_BACKCHAIN): Remove.
14259 (FRAME_CR_SAVE): Likewise.
14260 (FRAME_LR_SAVE): Likewise.
14261 (FRAME_COMPILER_DW): Likewise.
14262 (FRAME_LINKER_DW): Likewise.
14263 (FRAME_TOC_SAVE): Likewise.
14264 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
14265 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14266 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14267 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
14268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14269 (CHECK_SP): Use symbolic stack frame offsets.
14270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14271 zone" instead of caller's parameter save area for temp storage.
14272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14273 Likewise. Also, use symbolic stack frame offsets.
14274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14275 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14276 our own stack frame instead of the caller's.
14277 (__socket): Use symbolic stack frame offsets.
14278
122b66de
UW
142792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14280 Alan Modra <amodra@gmail.com>
14281
14282 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14283 Define.
57f41c40
AS
14284 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14285 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
14286 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14287 New function.
14288 (elf_machine_fixup_plt): Call it.
14289 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14290 reloc arguments.
14291 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
14292 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14293 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
14294 r2 before calling target.
14295
696caf1d
UW
142962013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14297 Alan Modra <amodra@gmail.com>
14298
14299 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14300 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14301 versions of macros to support ELFv2 ABI.
14302 (LOCALENTRY): New macro.
14303 (ENTRY, EALIGN): Use it.
14304 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14305 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14306 fall through into ENTRY entry point.
14307 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14308 Only define if _CALL_ELF != 2.
14309
14310 (elf_machine_matches_host): Verify ABI version matches.
14311 (RTLD_START): Use LOCALENTRY.
14312 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14313 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14314 (PLT_ENTRY_WORDS): New macro.
14315 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14316 (elf_machine_runtime_setup): Support ELFv2 ABI.
14317 (elf_machine_fixup_plt): Likewise.
14318 (elf_machine_plt_conflict): Likewise.
14319 (resolve_ifunc): Likewise.
14320 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14321 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14322 Likewise.
14323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14324 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14326 (makecontext): Support ELFv2 ABI.
14327 * elf/elf.h (EF_PPC64_ABI): Define.
14328
d31beafa
UW
143292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14330
57f41c40
AS
14331 * sysdeps/powerpc/powerpc64/sysdep.h
14332 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14333 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14334 (ENTRY) [ASSEMBLER]: ... but instead here ...
14335 (EALIGN) [ASSEMBLER]: ... and here.
14336 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14337 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14338 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
14339 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14340 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
14341 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14342 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
14343 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14345 Use PPC64_LOAD_FUNCPTR.
14346
b525166b
UW
14347 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14348
7ec07d9a
AM
143492013-12-04 Alan Modra <amodra@gmail.com>
14350
14351 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14352 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14353 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14354 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14355
14356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14357 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14358 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14359 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14360 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14361 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14362
5162e7dd
UW
143632013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14364
14365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14366 (__makecontext): Fix incorrect CFI when backtracing out of
14367 context created via makecontext.
14368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14369 (__setcontext): Fix incorrect CFI during switch to new context.
14370 (__novec_setcontext): Likewise.
14371
19e3372b
OB
143722013-12-04 Ondřej Bílka <neleai@seznam.cz>
14373
14374 [BZ #4772]
14375 * time/strptime_l.c (__strptime_internal): Allow modifiers
14376 in strptime.
14377 * time/tst-strptime.c (day_tests): Add testcase.
14378
ecaf142d
SP
143792013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14380
14381 * scripts/bench.pl: Skip over blank lines.
14382
fbf964ae
PE
143832013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14384
14385 [BZ #926]
14386 * manual/time.texi (Calendar Time): Clarify what timezone functions
14387 use.
14388
fa60a674
AZ
143892013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14390
14391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14392
d674f0ef
OB
143932013-12-04 Ondřej Bílka <neleai@seznam.cz>
14394
14395 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14396 implementation.
14397 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14398 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14399 * debug/memset_chk.c (__memset_chk): Likewise.
14400 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14401 * debug/strncpy_chk.c: Likewise.
14402
17dea188
JM
144032013-12-03 Joseph Myers <joseph@codesourcery.com>
14404
749008ff
JM
14405 [BZ #15268]
14406 [BZ #15425]
14407 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14408 (__ieee754_exp): For possibly underflowing results, check size of
14409 result and force underflow exception if required.
14410 * math/auto-libm-test-in: Add more tests of exp.
14411 * math/auto-libm-test-out: Regenerated.
14412 * sysdeps/i386/fpu/libm-test-ulps: Update.
14413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14414
17dea188
JM
14415 [BZ #16283]
14416 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14417 * math/w_exp2f.c (__exp2f): Likewise.
14418 * math/w_exp2l.c (__exp2l): Likewise.
14419 * math/auto-libm-test-in: Do not allow missing errno on exp2
14420 underflow.
14421 * math/auto-libm-test-out: Regenerated.
14422
b20de2c3
OB
144232013-12-03 Ondřej Bílka <neleai@seznam.cz>
14424
14425 [BZ #16274]
14426 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14427 handle filename validation.
14428 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14429 (do_open): Delete.
14430
d8e2dbe3
JM
144312013-12-03 Joseph Myers <joseph@codesourcery.com>
14432
34e16df5
JM
14433 [BZ #6786]
14434 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14435 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14436 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14437 <float.h>.
14438 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14439 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14440 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14441 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14442 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14443 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14444 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14445 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14446 Add more erfc tests.
14447 * math/auto-libm-test-out: Regenerated.
14448 * sysdeps/i386/fpu/libm-test-ulps: Update.
14449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14450
d8e2dbe3
JM
14451 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14452 exp2, expm1, j0 and j1.
14453 * math/auto-libm-test-out: Regenerated.
14454 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14455 (erfc_test_data): Likewise.
14456 (exp_test_data): Likewise.
14457 (exp_tonearest_test_data): Likewise.
14458 (exp_towardzero_test_data): Likewise.
14459 (exp_downward_test_data): Likewise.
14460 (exp_upward_test_data): Likewise.
14461 (exp10_test_data): Likewise.
14462 (exp2_test_data): Likewise.
14463 (expm1_test_data): Likewise.
14464 (j0_test_data): Likewise.
14465 (j1_test_data): Likewise.
14466 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14467 (input_flag_type): Add flag_xfail_rounding.
14468 (input_flags): Add xfail-rounding.
14469 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14470 (output_for_one_input_case): Handle flag_xfail_rounding.
14471 * sysdeps/i386/fpu/libm-test-ulps: Update.
14472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14473
18d14251
AJ
144742013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14475
3d2e6075 14476 [BZ #16289]
18d14251
AJ
14477 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14478 division by 0.
14479
520d437b
SP
144802013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14481
14482 [BZ #16195]
14483 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14484 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14485 (STAP_PROBE0): New macro.
14486 (STAP_PROBE1): Likewise.
14487 (STAP_PROBE2): Likewise.
14488 (STAP_PROBE3): Likewise.
14489 (STAP_PROBE4): Likewise.
14490
416e0145
OB
144912013-12-02 Ondřej Bílka <neleai@seznam.cz>
14492
14493 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14494
9d17796a
SE
144952013-12-02 Steve Ellcey <sellcey@mips.com>
14496
14497 * benchtests/Makefile (bench): Add sqrt.
14498 (LDLIBS-bench-sqrt): New.
14499 * benchtests/sqrt-input: New.
14500
f524d6a8
PS
145012013-12-02 Pavel Simerda <psimerda@redhat.com>
14502
639a0ef8
PS
14503 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14504 (GAIH_EAI): Likewise.
14505 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14506 (gaih_inet): Likewise.
14507 (getaddrinfo): Don't use GAIH_EAI.
14508
f524d6a8
PS
14509 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14510 (struct gaih): Remove definition.
14511
df3aedaf
SP
145122013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14513
14514 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14515 Use HERRNOP directly.
14516
1ab19dec
AZ
145172013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14518
b42ad38d 14519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 14520
176b0c79
JM
145212013-11-30 Joseph Myers <joseph@codesourcery.com>
14522
14523 * math/gen-auto-libm-tests.c (test_functions): Add more
14524 single-argument functions.
14525 (special_fill_pi_2): New function.
14526 (special_fill_minus_pi_2): Likewise.
14527 (special_fill_pi_6): Likewise.
14528 (special_fill_minus_pi_6): Likewise.
14529 (special_fill_pi_3): Likewise.
14530 (special_fill_2pi_3): Likewise.
14531 (special_fill_e): Likewise.
14532 (special_fill_1_e): Likewise.
14533 (special_fill_e_minus_1): Likewise.
14534 (special_real_inputs): Add more special inputs.
14535 (output_for_one_input_case): Do not require ERANGE on underflow to
14536 zero if round-to-nearest result does not underflow to zero, unless
14537 exact results required.
14538 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14539 atan, atanh, cbrt, cos and cosh.
14540 * math/auto-libm-test-out: Regenerated.
14541 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14542 (acos_tonearest_test_data): Likewise.
14543 (acos_towardzero_test_data): Likewise.
14544 (acos_downward_test_data): Likewise.
14545 (acos_upward_test_data): Likewise.
14546 (acosh_test_data): Likewise.
14547 (asin_test_data): Likewise.
14548 (asin_tonearest_test_data): Likewise.
14549 (asin_towardzero_test_data): Likewise.
14550 (asin_upward_test_data): Likewise.
14551 (asinh_test_data): Likewise.
14552 (atan_test_data): Likewise.
14553 (atanh_test_data): Likewise.
14554 (cbrt_test_data): Likewise.
14555 (cos_test_data): Likewise.
14556 (cos_tonearest_test_data): Likewise.
14557 (cos_towardzero_test_data): Likewise.
14558 (cos_downward_test_data): Likewise.
14559 (cos_upward_test_data): Likewise.
14560 (cosh_test_data): Likewise.
14561 (cosh_tonearest_test_data): Likewise.
14562 (cosh_towardzero_test_data): Likewise.
14563 (cosh_downward_test_data): Likewise.
14564 (cosh_upward_test_data): Likewise.
14565 * sysdeps/i386/fpu/libm-test-ulps: Update.
14566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14567
ffb536d0
JM
145682013-11-29 Joseph Myers <joseph@codesourcery.com>
14569
2a77a467
JM
14570 [BZ #6787]
14571 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14572 * math/w_exp10f.c (__exp10f): Likewise.
14573 * math/w_exp10l.c (__exp10l): Likewise.
14574 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14575 errno settings in existing tests.
14576
ea3bc4e8
JM
14577 [BZ #14032]
14578 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14579 precision control set to double precision.
14580 * sysdeps/i386/fpu/w_sqrt.c: New file.
14581 * math/auto-libm-test-in: Add more tests.
14582 * math/auto-libm-test-out: Update.
14583
0712c9d8
JM
14584 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14585 (sqrt_test_tonearest): New function.
14586 (sqrt_towardzero_test_data): New variable.
14587 (sqrt_test_towardzero): New function.
14588 (sqrt_downward_test_data): New variable.
14589 (sqrt_test_downward): New function.
14590 (sqrt_upward_test_data): New variable.
14591 (sqrt_test_upward): New function.
14592 (main): Call the new functions.
14593
ffb536d0
JM
14594 * math/gen-auto-libm-tests.c: New file.
14595 * math/auto-libm-test-in: Likewise.
14596 * math/auto-libm-test-out: New generated file.
14597 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14598 variables.
14599 (%beautify): Add generated representations of zero.
14600 (top level): Set $auto_input and call parse_auto_input.
14601 (beautify): Remove trailing "f" from hex float constants.
14602 (parse_args): Handle XFAIL_TEST.
14603 (convert_condition): New function.
14604 (or_value): Likewise.
14605 (or_cond_value): Likewise.
14606 (generate_testfile): Handle AUTO_TESTS_* lines.
14607 (parse_auto_input): New function.
14608 * math/libm-test.inc (XFAIL_TEST): New macro.
14609 (ERRNO_UNCHANGED): Update value.
14610 (ERRNO_EDOM): Likewise.
14611 (ERRNO_ERANGE): Likewise.
14612 (IGNORE_RESULT): Likewise.
14613 (TEST_COND_flt_32): New macro.
14614 (TEST_COND_dbl_64): Likewise.
14615 (TEST_COND_ldbl_96_intel): Likewise.
14616 (TEST_COND_ldbl_96_m68k): Likewise.
14617 (TEST_COND_ldbl_128): Likewise.
14618 (TEST_COND_ldbl_128ibm): Likewise.
14619 (TEST_COND_long32): Likewise.
14620 (TEST_COND_long64): Likewise.
14621 (TEST_COND_before_rounding): Likewise.
14622 (TEST_COND_after_rounding): Likewise.
14623 (enable_test): Handle XFAIL_TEST flag.
14624 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14625 with finite results.
14626 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14627 auto-libm-test-out.
14628
acd98a8e
AK
146292013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14630 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14631
14632 [BZ #16214]
14633 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14634 __tls_get_addr_internal instead of __tls_get_offset in order to
14635 avoid GOT pointer dependency. Make rtld export
14636 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14637 __tls_get_addr since we are a __tls_get_offset platform.
14638 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14639 GOT pointer being set up before.
14640 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14641
3c1c46a6
JM
146422013-11-28 Joseph Myers <joseph@codesourcery.com>
14643
7475aef5
JM
14644 * manual/math.texi (Errors in Math Functions): Document accuracy
14645 goals.
14646
8bca7cd8
JM
14647 [BZ #15004]
14648 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14649 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14650 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14651 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14652 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14653 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14654 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14655 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14656 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14657 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14658 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14659 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14660 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14661 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14662 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14663 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14664
91a1f3fe
JM
14665 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14666 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14667 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14668 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14669 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14670 Likewise.
14671 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14672 Likewise.
14673 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14674 Likewise.
14675 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14676 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14677 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14678 atomic-feupdateenv and flt-rounds.
14679 * sysdeps/powerpc/nofpu/Versions (libc): Add
14680 __atomic_feholdexcept, __atomic_feclearexcept,
14681 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14682 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14683 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14684 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14685 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14686 here.
14687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14688 Update.
14689
c5df7609
JM
14690 * manual/arith.texi (FP Exceptions): Document that exceptions may
14691 not be raised when matherr is used.
14692 (Math Error Reporting): Document overflow in directed rounding
14693 modes. Document that errno may not be set when finite values are
14694 returned on overflow. Document intent to set errno on underflow
14695 only for underflow to zero.
14696
3c1c46a6
JM
14697 [BZ #16271]
14698 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14699 round-to-nearest then adjust result for other rounding modes.
14700 * include/fenv.h (fegetround): Use libm_hidden_proto.
14701 * math/fegetround.c (fegetround): Use libm_hidden_def.
14702 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14703 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14704 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14705 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14706 Likewise.
14707 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14708 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14709 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14710 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14711
5a4c6d53
SP
147122013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14713
14714 [BZ #16077]
14715 * nss/Versions (libnss_files): Add
14716 _nss_files_gethostbyname3_r.
14717 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14718 New function.
14719 (HOST_DB_LOOKUP): Remove macro.
14720 (_nss_files_gethostbyname_r): Implement function without the
14721 HOST_DB_LOOKUP macro.
14722 (_nss_files_gethostbyname2_r): Likewise.
14723
897b98ba
OB
147242013-11-28 Ondřej Bílka <neleai@seznam.cz>
14725
14726 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14727
6f476861
UB
147282013-11-26 Uros Bizjak <ubizjak@gmail.com>
14729
14730 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14731 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14732 warning.
14733
bd12ab55
AZ
147342013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14735
14736 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14737 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14738 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14739 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14740 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14741 __fe_nomask_env_priv and attribute_hidden.
14742 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14743 (libc_feupdateenv_test_ppc): Likewise.
14744 (libc_feresetround_ppc): Likewise.
14745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14746 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14747 compat_symbol macro.
14748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14749 (__fe_nomask_env): Likewise.
14750 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14751
52bb6543
OB
147522013-11-26 Ondřej Bílka <neleai@seznam.cz>
14753
14754 * string/Makefile: Remove ifunc tests.
14755 * string/test-string.h: Define TEST_IFUNC.
14756 * string/test-bcopy-ifunc.c: Remove.
14757 * string/test-bzero-ifunc.c: Likewise.
14758 * string/test-memccpy-ifunc.c: Likewise.
14759 * string/test-memchr-ifunc.c: Likewise.
14760 * string/test-memcmp-ifunc.c: Likewise.
14761 * string/test-memcpy-ifunc.c: Likewise.
14762 * string/test-memmem-ifunc.c: Likewise.
14763 * string/test-memmove-ifunc.c: Likewise.
14764 * string/test-mempcpy-ifunc.c: Likewise.
14765 * string/test-memrchr-ifunc.c: Likewise.
14766 * string/test-memset-ifunc.c: Likewise.
14767 * string/test-rawmemchr-ifunc.c: Likewise.
14768 * string/test-stpcpy-ifunc.c: Likewise.
14769 * string/test-stpncpy-ifunc.c: Likewise.
14770 * string/test-strcasecmp-ifunc.c: Likewise.
14771 * string/test-strcasestr-ifunc.c: Likewise.
14772 * string/test-strcat-ifunc.c: Likewise.
14773 * string/test-strchr-ifunc.c: Likewise.
14774 * string/test-strchrnul-ifunc.c: Likewise.
14775 * string/test-strcmp-ifunc.c: Likewise.
14776 * string/test-strcpy-ifunc.c: Likewise.
14777 * string/test-strcspn-ifunc.c: Likewise.
14778 * string/test-strlen-ifunc.c: Likewise.
14779 * string/test-strncasecmp-ifunc.c: Likewise.
14780 * string/test-strncat-ifunc.c: Likewise.
14781 * string/test-strncmp-ifunc.c: Likewise.
14782 * string/test-strncpy-ifunc.c: Likewise.
14783 * string/test-strnlen-ifunc.c: Likewise.
14784 * string/test-strpbrk-ifunc.c: Likewise.
14785 * string/test-strrchr-ifunc.c: Likewise.
14786 * string/test-strspn-ifunc.c: Likewise.
14787 * string/test-strstr-ifunc.c: Likewise.
14788
ab260039 147892013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
14790
14791 * benchtests/Makefile: Remove ifunc tests.
14792 * benchtests/bench-string.h: Define TEST_IFUNC.
14793 * benchtests/bench-bcopy-ifunc.c: Remove.
14794 * benchtests/bench-bzero-ifunc.c: Likewise.
14795 * benchtests/bench-memccpy-ifunc.c: Likewise.
14796 * benchtests/bench-memchr-ifunc.c: Likewise.
14797 * benchtests/bench-memcmp-ifunc.c: Likewise.
14798 * benchtests/bench-memcpy-ifunc.c: Likewise.
14799 * benchtests/bench-memmem-ifunc.c: Likewise.
14800 * benchtests/bench-memmove-ifunc.c: Likewise.
14801 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14802 * benchtests/bench-memrchr-ifunc.c: Likewise.
14803 * benchtests/bench-memset-ifunc.c: Likewise.
14804 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14805 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14806 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14807 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14808 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14809 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14810 * benchtests/bench-strcat-ifunc.c: Likewise.
14811 * benchtests/bench-strchr-ifunc.c: Likewise.
14812 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14813 * benchtests/bench-strcmp-ifunc.c: Likewise.
14814 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14815 * benchtests/bench-strcpy-ifunc.c: Likewise.
14816 * benchtests/bench-strcspn-ifunc.c: Likewise.
14817 * benchtests/bench-strlen-ifunc.c: Likewise.
14818 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14819 * benchtests/bench-strncat-ifunc.c: Likewise.
14820 * benchtests/bench-strncmp-ifunc.c: Likewise.
14821 * benchtests/bench-strncpy-ifunc.c: Likewise.
14822 * benchtests/bench-strnlen-ifunc.c: Likewise.
14823 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14824 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 14825 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
14826 * benchtests/bench-strspn-ifunc.c: Likewise.
14827 * benchtests/bench-strstr-ifunc.c: Likewise.
14828
148292013-11-26 Ondřej Bílka <neleai@seznam.cz>
14830
ab260039
OB
14831 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14832
d1d9eaf4 148332013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 14834
d1d9eaf4
OB
14835 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14836 * rt/aio.h: Likewise.
14837 * sysdeps/gnu/bits/utmp.h: Likewise.
14838 * sysdeps/gnu/bits/utmpx.h: Likewise.
14839 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14840 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14841 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14842 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14843 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14844 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14845 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14846 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14847 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14848 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14849 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14850 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14851 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14853 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14854 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14855 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14856 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14857 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14858 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14859 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14860 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14861 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14862 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14863 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14864 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14865 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14866 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14867 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14868 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14869 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14870 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14871 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14872 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14873 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14874 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14875 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14876 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14877 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14878 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14879 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14880 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14881
a7624ed9
CD
148822013-11-25 Carlos O'Donell <carlos@redhat.com>
14883
14884 [BZ #16245]
14885 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14886 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14887
63cfe52b
JM
148882013-11-25 Joseph Myers <joseph@codesourcery.com>
14889
14890 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14891 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14892 Likewise.
14893
41e8926a
AZ
148942013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14895
14896 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14897 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14898 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14899 (__fesetround): Remove define.
14900 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14901 rounding and exceptions handling.
14902 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14903 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14904 (__fe_nomask_env): Likewise.
14905 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14906 __fegetround instead of fegetround.
14907 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14908 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14909
6851bd4d
RM
149102013-11-21 Roland McGrath <roland@hack.frob.com>
14911
070906ff
RM
14912 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14913 it's there.
14914
6851bd4d
RM
14915 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14916
84ae135d
MI
149172013-11-21 Meador Inge <meadori@codesourcery.com>
14918
14919 [BZ #11157]
14920 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14921 (encrypt_r): Likewise.
14922 * malloc/obstack.h (obstack_free): Likewise.
14923 * posix/unistd.h (encrypt): Likewise.
14924
daf75146
GM
149252013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14926
14927 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14928 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14929 DL_CALL_DT_FINI() that call the functions directly.
14930 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14931 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14932 * elf/dl-fini.c: Likewise.
14933
10ad46bc
OB
149342013-11-20 Ondřej Bílka <neleai@seznam.cz>
14935
14936 * malloc/hooks.c (memalign_check): Add alignment rounding.
14937 * malloc/malloc.c (_mid_memalign): New function.
14938 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14939 Implement by calling _mid_memalign.
14940 * manual/probes.texi (Memory Allocation Probes): Remove
14941 memory_valloc_retry and memory_pvalloc_retry.
14942
f3fd2628
SP
149432013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14944
4712799f
SP
14945 * locale/programs/locarchive.c (open_archive): Add const
14946 qualifier to ARCHIVEFNAME and copy default fname to
14947 DEFAULT_FNAME.
14948
0417b20f
SP
14949 [BZ #15601]
14950 * libio/tst-widetext.input: Rename Oriya to Odia.
14951 * locale/iso-639.def: Likewise.
14952
f3fd2628
SP
14953 * manual/probes.texi (Mathematical Function Probes): Add
14954 documentation for sin, cos, asin and acos probes.
14955 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14956 (__sin32): Add slowasin probe.
14957 (__cos32): Add slowacos probe.
14958 (__mpsin): Add slowsin probe.
14959 (__mpcos): Add slowcos probe.
14960
73c1ce4f
JM
149612013-11-19 Joseph Myers <joseph@codesourcery.com>
14962
14963 [BZ #15483]
14964 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14965 thread-local __sim_exceptions_thread and global
14966 __sim_exceptions_global.
14967 (__sim_disabled_exceptions): Change to thread-local
14968 __sim_disabled_exceptions_thread and global
14969 __sim_disabled_exceptions_global.
14970 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14971 and global __sim_round_mode_global.
14972 (__simulate_exceptions): Use thread-local floating-point state and
14973 set global state from it as needed.
14974 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14975 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14976 __sim_round_mode_thread.
14977 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14978 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14979 and global __sim_exceptions_global.
14980 (__sim_disabled_exceptions): Change to thread-local
14981 __sim_disabled_exceptions_thread and global
14982 __sim_disabled_exceptions_global.
14983 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14984 and global __sim_round_mode_global.
14985 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14986 (SIM_SET_GLOBAL): Likewise.
14987 * sysdeps/powerpc/soft-fp/sfp-machine.h
14988 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14989 __sim_round_mode_thread.
14990 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14991 __sim_disabled_exceptions_thread.
14992 (__sim_exceptions): Change to __sim_exceptions_thread.
14993 (__sim_disabled_exceptions): Change to
14994 __sim_disabled_exceptions_thread.
14995 (__sim_round_mode): Change to __sim_round_mode_thread.
14996 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14997 thread-local floating-point state and set global state from it as
14998 needed.
14999 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15000 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15001 (__sim_disabled_exceptions): Remove extern declaration.
15002 (feenableexcept): Use thread-local floating-point state and set
15003 global state from it as needed.
15004 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15005 extern declaration.
15006 (__sim_disabled_exceptions): Likewise.
15007 (__sim_round_mode): Likewise.
15008 (__fegetenv): Use thread-local floating-point state.
15009 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15010 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15011 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15012 floating-point state and set global state from it as needed.
15013 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15014 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15015 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15016 Likewise.
15017 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15018 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15019 Likewise.
15020 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15021 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15022 Use __sim_round_mode_thread.
15023 * math/test-fenv-tls.c: New file.
15024 * math/Makefile (tests): Add test-fenv-tls.
15025 ($(objpfx)test-fenv-tls): Depend on
15026 $(common-objpfx)nptl/libpthread.so.
15027
b5449b12
AS
150282013-11-19 Andreas Schwab <schwab@suse.de>
15029
15030 * locale/programs/locale.c (show_info): Decode wordarray elements.
15031 * locale/categories.def (LC_MONETARY): Add element for
15032 _NL_MONETARY_CRNCYSTR.
15033 * locale/C-monetary.c (conversion_rate): New variable.
15034 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15035 element.
15036
e186536b
CM
150372013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15038
15039 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15040 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15041
5c349950
PP
150422013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15043
15044 * elf/Makefile (tst-auxv): New test.
15045 * elf/tst-auxv.c: New
15046 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15047
699df45b
JM
150482013-11-18 Joseph Myers <joseph@codesourcery.com>
15049
15050 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15051 (hidden_proto): Caller changed.
15052 (hidden_tls_proto): New macro.
15053 (libc_hidden_tls_proto): Likewise.
15054 (rtld_hidden_tls_proto): Likewise.
15055 (libm_hidden_tls_proto): Likewise.
15056 (libresolv_hidden_tls_proto): Likewise.
15057 (librt_hidden_tls_proto): Likewise.
15058 (libdl_hidden_tls_proto): Likewise.
15059 (libnss_files_hidden_tls_proto): Likewise.
15060 (libnsl_hidden_tls_proto): Likewise.
15061 (libnss_nisplus_hidden_tls_proto): Likewise.
15062 (libutil_hidden_tls_proto): Likewise.
15063
b7589107
OB
150642013-11-18 Ondřej Bílka <neleai@seznam.cz>
15065
15066 [BZ #10253]
15067 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15068 (decompose_rpath): Defer expansion to fillin_rpath.
15069 (_dl_init_paths): Pass linkmap to fillin_rpath.
15070
250c23bd
RS
150712013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15072
15073 * benchtests/Makefile: Add strsep.
15074 * benchtests/bench-strsep.c: New file: strsep benchtest.
15075 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15076
a7931fcf
AS
150772013-11-18 Andreas Schwab <schwab@suse.de>
15078
15079 * locale/programs/locale.c (show_info) [case byte]: Check for
15080 '\377' instead of '\177'.
15081 * locale/C-monetary.c (not_available): Always use "\377".
15082 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15083 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15084 detect unavailable sign_posn locale elements.
15085 * locale/localeconv.c (__localeconv): For grouping and
15086 mon_grouping handle "\177" and "\377" like no grouping.
15087 (INT_ELEM): New macro. Use it to set all numeric members.
15088 * locale/programs/ld-monetary.c (monetary_read)
15089 <tok_mon_grouping>: Normalize single -1 to the empty string.
15090 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15091 Likewise.
15092
728dab0e
OB
150932013-11-07 Ondřej Bílka <neleai@seznam.cz>
15094
15095 [BZ #16055]
15096 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15097 when we match (nil).
15098 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15099
66294491
JM
151002013-11-16 Joseph Myers <joseph@codesourcery.com>
15101
ce665817
JM
15102 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15103 (NO_TEST_INLINE): Update value.
15104 (ERRNO_UNCHANGED): Likewise.
15105 (ERRNO_EDOM): Likewise.
15106 (ERRNO_ERANGE): Likewise.
15107 (IGNORE_RESULT): Likewise.
15108 (check_float_internal): Check signs of NaN results if
15109 TEST_NAN_SIGN used.
15110 (check_complex): Pass TEST_NAN_SIGN flag through to second
15111 check_float_internal call.
15112 (copysign_test_data): Add tests with quiet NaNs as second
15113 argument. Use TEST_NAN_SIGN.
15114 (fabs_test_data): Add test of negative quiet NaN argument. Use
15115 TEST_NAN_SIGN.
15116 (signbit_test_data): Add tests of quiet NaN argument.
15117 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15118
ee1466a9
JM
15119 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15120 $ignore_result.
15121 (parse_args): Handle function results specified as IGNORE.
15122 * math/libm-test.inc (IGNORE_RESULT): New macro.
15123 (check_float_internal): Do not check numerical result if flag
15124 IGNORE_RESULT set.
15125 (check_complex): Pass through IGNORE_RESULT to second
15126 check_float_internal call.
15127 (check_int): Do not check numerical result if flag IGNORE_RESULT
15128 set.
15129 (check_long): Likewise.
15130 (check_bool): Likewise.
15131 (check_longlong): Likewise.
15132 (lrint_test_data): Add tests of infinite and NaN arguments.
15133 (lrint_tonearest_test_data): Likewise.
15134 (lrint_towardzero_test_data): Likewise.
15135 (lrint_downward_test_data): Likewise.
15136 (lrint_upward_test_data): Likewise.
15137 (llrint_test_data): Likewise.
15138 (llrint_tonearest_test_data): Likewise.
15139 (llrint_towardzero_test_data): Likewise.
15140 (llrint_downward_test_data): Likewise.
15141 (llrint_upward_test_data): Likewise.
15142 (lround_test_data): Likewise.
15143 (llround_test_data): Likewise.
15144
14407b7e
JM
15145 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15146 (ERRNO_UNCHANGED): Update value.
15147 (ERRNO_EDOM): Likewise.
15148 (ERRNO_ERANGE): Likewise.
15149 (NO_TEST_INLINE_FLOAT): New macro.
15150 (NO_TEST_INLINE_DOUBLE): Likewise.
15151 (enable_test): New function.
15152 (RUN_TEST_f_f): Check enable_test before running test.
15153 (RUN_TEST_2_f): Likewise.
15154 (RUN_TEST_fff_f): Likewise.
15155 (RUN_TEST_c_f): Likewise.
15156 (RUN_TEST_f_f1): Likewise.
15157 (RUN_TEST_fF_f1): Likewise.
15158 (RUN_TEST_fI_f1): Likewise.
15159 (RUN_TEST_ffI_f1): Likewise.
15160 (RUN_TEST_c_c): Likewise.
15161 (RUN_TEST_cc_c): Likewise.
15162 (RUN_TEST_f_i): Likewise.
15163 (RUN_TEST_f_i_tg): Likewise.
15164 (RUN_TEST_ff_i_tg): Likewise.
15165 (RUN_TEST_f_b): Likewise.
15166 (RUN_TEST_f_b_tg): Likewise.
15167 (RUN_TEST_f_l): Likewise.
15168 (RUN_TEST_f_L): Likewise.
15169 (RUN_TEST_fFF_11): Likewise.
15170 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15171 conditionals.
15172 (cosh_test_data): Likewise.
15173 (exp_test_data): Likewise.
15174 (expm1_test_data): Likewise.
15175 (hypot_test_data): Likewise.
15176 (pow_test_data): Likewise.
15177 (sinh_test_data): Likewise.
15178 (tanh_test_data): Likewise.
15179 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15180 flags argument.
15181
ca07f197
JM
15182 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15183 tests with quiet NaN input and output.
15184 (acosh_test_data): Likewise.
15185 (asin_test_data): Likewise.
15186 (asinh_test_data): Likewise.
15187 (atan_test_data): Likewise.
15188 (atanh_test_data): Likewise.
15189 (atan2_test_data): Likewise.
15190 (cbrt_test_data): Likewise.
15191 (cos_test_data): Likewise.
15192 (cosh_test_data): Likewise.
15193 (erf_test_data): Likewise.
15194 (erfc_test_data): Likewise.
15195 (exp_test_data): Likewise.
15196 (exp10_test_data): Likewise.
15197 (exp2_test_data): Likewise.
15198 (expm1_test_data): Likewise.
15199 (hypot_test_data): Likewise.
15200 (j0_test_data): Likewise.
15201 (j1_test_data): Likewise.
15202 (jn_test_data): Likewise.
15203 (lgamma_test_data): Likewise.
15204 (log_test_data): Likewise.
15205 (log10_test_data): Likewise.
15206 (log1p_test_data): Likewise.
15207 (log2_test_data): Likewise.
15208 (pow_test_data): Likewise.
15209 (scalb_test_data): Likewise.
15210 (sin_test_data): Likewise.
15211 (sincos_test_data): Likewise.
15212 (sinh_test_data): Likewise.
15213 (tan_test_data): Likewise.
15214 (tanh_test_data): Likewise.
15215 (tgamma_test_data): Likewise.
15216 (y0_test_data): Likewise.
15217 (y1_test_data): Likewise.
15218 (yn_test_data): Likewise.
15219
66294491
JM
15220 [BZ #16167]
15221 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15222 argument being NaN and avoid computations with second argument in
15223 that case.
15224 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15225 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15226 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15227
1820b143
CL
152282013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15229
15230 * locale/iso-639.def: Add Chitwani Tharu (the).
15231
714bd261
AS
152322013-11-14 Andreas Schwab <schwab@suse.de>
15233
15234 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15235 word instead of empty string.
15236
7ab44563
AZ
152372013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15238
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15240 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15242 (__fe_nomask_env): Likewise.
15243
e8470ea2
SE
152442013-11-13 Steve Ellcey <sellcey@mips.com>
15245
15246 * benchtests/bench-timing.h: Include time.h.
15247
17c1d9f0
L
152482013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15249
15250 [BZ #15997]
15251 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15252 to 3.4.0 for x32.
15253 * sysdeps/unix/sysv/linux/configure: Regenerated.
15254
9310c284
JM
152552013-11-13 Joseph Myers <joseph@codesourcery.com>
15256
15257 [BZ #16151]
15258 * stdlib/strtod_l.c (round_and_return): Do not consider
15259 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15260 exponent one less than half the least subnormal exponent.
15261 * stdlib/test-strtod-round-data: Add more tests.
15262 * stdlib/tst-strtod-round.c (tests): Regenerated.
15263
7a2ad8cf
AZ
152642013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15265
15266 [BZ #14143]
15267 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15268 (__fe_mask_env): Likewise.
15269 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15270 libm_hidden_proto and add function prototype.
15271 (__fe_mask_env): Add function prototype.
15272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15273 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15275 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15277 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15278
50727aa7
MS
152792013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15280
b2f386c1 15281 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
15282 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15283
a615be46
MS
152842013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15285
15286 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15287 of htab_find_slot().
15288
7ddace62
DM
152892013-11-11 David S. Miller <davem@davemloft.net>
15290
15291 [BZ #16150]
15292 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15293 symbol in the non-vis3 case in static builds.
15294 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15295 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15296 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15297 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15298
9182aa67
JK
152992013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15300
15301 [BZ #387]
15302 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15303 it is empty.
15304
450a2e2d
AZ
153052013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15306
b2f386c1
SP
15307 * benchtests/Makefile: Add bench-strtod.
15308 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 15309
8ec3f656
AS
153102013-11-11 Andreas Schwab <schwab@suse.de>
15311
15312 [BZ #16153]
15313 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15314 terminating NUL in key length.
15315
76a9b998
AZ
153162013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15317
15318 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15319 Add artificial ODP entry for vDSO symbol for PPC64.
15320 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15321 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15322
e4368156
OB
153232013-11-07 Ondřej Bílka <neleai@seznam.cz>
15324
15325 [BZ #15374]
15326 * nss/getent.c (services_keys): Recognize services starting with digit.
15327
8d6bb57c
DM
153282013-11-06 David S. Miller <davem@davemloft.net>
15329
15330 [BZ #15985]
15331 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15332 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15333
e256c421
WN
153342013-11-06 Will Newton <will.newton@linaro.org>
15335
15336 * manual/memory.texi (Malloc Examples): Remove register
15337 keyword from examples.
15338
f6e12daa 153392013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 15340
f6e12daa 15341 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 15342
9d880655
AS
153432013-11-04 Joseph Myers <joseph@codesourcery.com>
15344
fd2f9486 15345 [BZ #6981]
9d880655
AS
15346 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15347 depending on [__GCC_IEC_559 > 0].
15348 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15349 depending on [__GCC_IEC_559_COMPLEX > 0].
15350
ae129d3c
CL
153512013-11-03 Chris Leonard <cjl@sugarlabs.org>
15352
15353 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15354 to iso-639.def.
15355
4a15c2a4 153562013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
15357
15358 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15359
8b35e35d
OB
153602013-11-01 Ondřej Bílka <neleai@seznam.cz>
15361
15362 [BZ #16112]
15363 * malloc/malloc (malloc_info): Do not handle first bin as
15364 special case.
15365
1d70fd6c
CL
153662013-11-01 Chris Leonard <cjl@sugarlabs.org>
15367
15368 * locale/iso-639.def: Add Central Nahuatl (nhn).
15369
8c5c2600
BH
153702013-11-01 Bruno Haible <bruno@clisp.org>
15371
15372 [BZ #7003]
15373 * manual/math.texi (BSD Random): Specify range upper bound as
15374 in POSIX.
15375
da5579c2
CL
153762013-10-31 Chris Leonard <cjl@sugarlabs.org>
15377
15378 * locale/iso-639.def: Add Meadow Mari (mhr).
15379
5d30d853
OB
153802013-10-31 Ondřej Bílka <neleai@seznam.cz>
15381
15382 [BZ #14752], [BZ #15763]
15383 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15384 Validate name.
15385 * rt/tst_shm.c: Add test for escaping directory.
15386
a4966c61
AS
153872013-10-31 Andreas Schwab <schwab@suse.de>
15388
8a43e768 15389 [BZ #15917]
a4966c61
AS
15390 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15391 followed by 'x' as part of digit sequence.
15392 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15393
28d708c4
MAP
153942013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15395
15396 [BZ #16037]
15397 * configure.ac: allow GNU Make 4.0 and greater.
15398 * configure: Regenerated.
15399
a56ee40b
WN
154002013-10-30 Will Newton <will.newton@linaro.org>
15401
15402 [BZ #16038]
15403 * malloc/hooks.c (memalign_check): Limit alignment to the
15404 maximum representable power of two.
15405 * malloc/malloc.c (__libc_memalign): Likewise.
15406 * malloc/tst-memalign.c (do_test): Add test for very
15407 large alignment values.
15408 * malloc/tst-posix_memalign.c (do_test): Likewise.
15409
c6e4925d
OB
154102013-10-30 Ondřej Bílka <neleai@seznam.cz>
15411
15412 [BZ #11087]
15413 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15414 (munmap_chunk): Likewise.
15415 (mremap_chunk): Likewise.
15416
154172013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 15418
8a43e768 15419 [BZ #15799]
bbea82f7
OB
15420 * stdlib/div.c (div): Remove obsolete code.
15421 * stdlib/ldiv.c (ldiv): Likewise.
15422 * stdlib/lldiv.c (lldiv): Likewise.
15423
977f4b31
SP
154242013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15425
15426 [BZ #16071]
15427 * nss/nss_files/files-XXX.c (get_contents_ret): New
15428 enumerator.
15429 (get_contents): New function.
15430 (internal_getent): Use it. Expand size of LINEBUFLEN.
15431
cb8a6dbd
MF
154322013-10-30 Mike Frysinger <vapier@gentoo.org>
15433
15434 * configure.in: Moved to ...
15435 * configure.ac: ... here. Change reference to configure.in
15436 to configure.ac.
15437 * sysdeps/arm/preconfigure.ac: ... here.
15438 configure.in to configure.ac.
15439 * sysdeps/gnu/configure.in: Moved to ...
15440 * sysdeps/gnu/configure.ac: ... here.
15441 * sysdeps/i386/configure.in: Moved to ...
15442 * sysdeps/i386/configure.ac: ... here.
15443 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15444 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15445 * sysdeps/mach/configure.in: Moved to ...
15446 * sysdeps/mach/configure.ac: ... here.
15447 * sysdeps/mach/hurd/configure.in: Moved to ...
15448 * sysdeps/mach/hurd/configure.ac: ... here.
15449 * sysdeps/powerpc/configure.in: Moved to ...
15450 * sysdeps/powerpc/configure.ac: ... here.
15451 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15452 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15453 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15454 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15455 * sysdeps/s390/s390-32/configure.in: Moved to ...
15456 * sysdeps/s390/s390-32/configure.ac: ... here.
15457 * sysdeps/s390/s390-64/configure.in: Moved to ...
15458 * sysdeps/s390/s390-64/configure.ac: ... here.
15459 * sysdeps/sh/configure.in: Moved to ...
15460 * sysdeps/sh/configure.ac: ... here.
15461 * sysdeps/sparc/configure.in: Moved to ...
15462 * sysdeps/sparc/configure.ac: ... here.
15463 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15464 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15465 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15466 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15467 * sysdeps/x86_64/configure.in: Moved to ...
15468 * sysdeps/x86_64/configure.ac: ... here.
15469 * sysdeps/x86_64/preconfigure.in: Moved to ...
15470 * sysdeps/x86_64/preconfigure.ac: ... here.
15471 * aclocal.m4: Change reference to configure.in to configure.ac.
15472 * config.h.in: Likewise.
15473 * manual/install.texi: Likewise.
15474 * manual/maint.texi: Likewise.
15475 * Makefile: Likewise.
15476 * malloc/Makefile: Likewise.
15477 * nscd/Makefile: Likewise.
15478 * Makeconfig: Change reference to configure.in and
15479 preconfigure.in to configure.ac and preconfigure.ac
15480 respectively.
15481 * INSTALL: Regenerated.
15482 * configure: Likewise.
15483 * sysdeps/gnu/configure: Likewise.
15484 * sysdeps/i386/configure: Likewise.
15485 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15486 * sysdeps/mach/configure: Likewise.
15487 * sysdeps/mach/hurd/configure: Likewise.
15488 * sysdeps/powerpc/configure: Likewise.
15489 * sysdeps/powerpc/powerpc32/configure: Likewise.
15490 * sysdeps/powerpc/powerpc64/configure: Likewise.
15491 * sysdeps/s390/s390-32/configure: Likewise.
15492 * sysdeps/s390/s390-64/configure: Likewise.
15493 * sysdeps/sh/configure: Likewise.
15494 * sysdeps/sparc/configure: Likewise.
15495 * sysdeps/unix/sysv/linux/configure: Likewise.
15496 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15497 * sysdeps/x86_64/configure: Likewise.
15498 * sysdeps/x86_64/preconfigure: Likewise.
15499
36a4953a
AS
155002013-10-29 Andreas Schwab <schwab@suse.de>
15501
15502 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15503
c79a1204
SP
155042013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15505
dfa1b402
SP
15506 * benchtests/pow-inputs: Add new inputs.
15507
54f73d9c
SP
15508 * benchtests/exp-inputs: Add new inputs.
15509
c79a1204
SP
15510 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15511 conditional check for return value.
15512 (__cos32): Likewise.
15513
67beb545 155142013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
15515
15516 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15517 to provide a boost for large inputs with word alignment.
15518 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15519 implementation based on optimized PPC64 strcpy.
15520 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15521 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15522 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15523 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15524
151659f6
OB
155252013-10-25 Ondřej Bílka <neleai@seznam.cz>
15526
482a077e 15527 [BZ #2801]
151659f6
OB
15528 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15529
10b0f26b
OB
155302013-10-25 Ondřej Bílka <neleai@seznam.cz>
15531
15532 [BZ #14876]
15533 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15534 * time/tst-strptime.c (day_tests): Add testcase.
15535
ca42d35e
OB
155362013-10-25 Ondřej Bílka <neleai@seznam.cz>
15537
482a077e 15538 [BZ #14029]
ca42d35e
OB
15539 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15540
52e6d801
FB
155412013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15542
15543 [BZ #16074]
15544 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15545 MAP_FAILED on error.
15546
7cbcdb36
SP
155472013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15548
15549 [BZ #16072]
15550 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15551 heap for large requests.
15552
894f3f10
AM
155532013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15554
15555 [BZ #9954]
15556 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15557 result if the result has no associated interface.
15558 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15559 interface for all 127.X.Y.Z addresses.
15560
b85545a6
CL
155612013-10-24 Chris Leonard <cjl@sugarlabs.org>
15562
15563 * locale/iso-639.def: Add Ligurian (lij)
15564
d1f23d46
OB
155652013-10-21 Ondřej Bílka <neleai@seznam.cz>
15566
15567 [BZ #15825]
15568 * sunrpc/rpc_main.c: Document rpcgen -5.
15569
4db5b08f
MS
155702013-10-19 Michael Stahl <mstahl@redhat.com>
15571
15572 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15573
a471e96a
OB
155742013-10-19 Ondřej Bílka <neleai@seznam.cz>
15575
d1f23d46 15576 [BZ #10278]
a471e96a
OB
15577 * posix/glob.c: Match only directories when trailing slash is present.
15578 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15579 (main): Add testcase.
15580
45c30c61
OB
155812013-10-19 Ondřej Bílka <neleai@seznam.cz>
15582
15583 [BZ #15670]
15584 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15585
484c12fb
CD
155862013-10-18 Carlos O'Donell <carlos@redhat.com>
15587
3d7dc513
CD
15588 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15589 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15590 AUTH_DES and cindex for FIPS 140-2.
15591 (DES Encryption): Add cindex FIPS 46-3.
15592
484c12fb
CD
15593 * locale/locarchive.h (struct locarhandle): Add fname.
15594 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15595 if an optional argument was specified to --list-archive,
15596 otherwise NULL.
15597 * locale/programs/locarchive.c (show_archive_content): Take new
15598 argument fname and pass it via ah.fname to open_archive.
15599 * locale/programs/localedef.h: Update decl.
15600 (open_archive): If AH->fname is non-null, open that file
15601 rather than the default file name, and don't ignore ENOENT.
15602 (create_archive): Set AH.fname to NULL.
15603 (delete_locales_from_archive): Likewise.
15604 (add_locales_to_archive): Likewise.
15605 * locale/programs/locfile.c (write_all_categories): Likewise.
15606
3c8325fb
JM
156072013-10-18 Joseph Myers <joseph@codesourcery.com>
15608 Aldy Hernandez <aldyh@redhat.com>
15609
15610 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15611 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15612 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15613 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15614 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15615 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15616 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15617 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15618 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15619 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15620 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15621 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15622 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15623 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15624 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15625 Likewise.
15626 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15627 Likewise.
15628 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15629 Likewise.
15630 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15631 Likewise.
15632 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15633 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15634 Likewise.
15635 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15636 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15637 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15638 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15639 Likewise.
15640 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15641 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15642 * sysdeps/powerpc/preconfigure: Likewise.
15643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15644 Likewise.
15645 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15646 Replace contents of file by #include of <fenv_libc.h>.
15647 * sysdeps/powerpc/soft-fp/sfp-machine.h
15648 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15649 and <sys/prctl.h>.
15650 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15651 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15652 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15653 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15654 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15655 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15656 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15657 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15658 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15660 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15661 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15663 Allow copysignl PLT reference to be missing.
15664
5abe0682
RS
156652013-10-18 Richard Sandiford <richard@codesourcery.com>
15666 Joseph Myers <joseph@codesourcery.com
15667
15668 [BZ #15948]
15669 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15670 single character.
15671 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15672
c7738d08
SP
156732013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15674
15675 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15676 * elf/tst-tls1.c: Likewise.
15677 * elf/tst-tls10.h: Likewise.
15678 * elf/tst-tls14.c: Likewise.
15679 * elf/tst-tls2.c: Likewise.
15680 * elf/tst-tls3.c: Likewise.
15681 * elf/tst-tls4.c: Likewise.
15682 * elf/tst-tls5.c: Likewise.
15683 * elf/tst-tls6.c: Likewise.
15684 * elf/tst-tls7.c: Likewise.
15685 * elf/tst-tls8.c: Likewise.
15686 * elf/tst-tls9.c: Likewise.
15687 * elf/tst-tlsmod1.c: Likewise.
15688 * elf/tst-tlsmod13.c: Likewise.
15689 * elf/tst-tlsmod13a.c: Likewise.
15690 * elf/tst-tlsmod14a.c: Likewise.
15691 * elf/tst-tlsmod16a.c: Likewise.
15692 * elf/tst-tlsmod16b.c: Likewise.
15693 * elf/tst-tlsmod2.c: Likewise.
15694 * elf/tst-tlsmod3.c: Likewise.
15695 * elf/tst-tlsmod4.c: Likewise.
15696 * elf/tst-tlsmod5.c: Likewise.
15697 * elf/tst-tlsmod6.c: Likewise.
15698
0bfcf2c7
OB
156992013-10-18 Ondřej Bílka <neleai@seznam.cz>
15700
15701 [BZ #12486]
15702 * malloc/malloc.c: remove checks for statistics.
15703
264aad1e
OB
157042013-10-17 Ondřej Bílka <neleai@seznam.cz>
15705
15706 [BZ #15277]
15707 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15708 * inet/tst-network.c: Add testcase.
15709
b957ced8
AS
157102013-10-17 Andreas Schwab <schwab@suse.de>
15711
15712 [BZ #15218]
15713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15714 to determine canonical name.
15715
c5d5d574
OB
157162013-10-17 Ondřej Bílka <neleai@seznam.cz>
15717
15718 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15719 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15720 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15721 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15722 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15723 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15724 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15725 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15726 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15727 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15728 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15729 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15730 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15731 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15732 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15733 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15734 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15735 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15736 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15737 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15738 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15739 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15740 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15741 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15742 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15743 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15744 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15745 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15746 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15747 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15748 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15749 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15750 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15751 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15752 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15753 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15754 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15755 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15756 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15757 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15758 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15759 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15760 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15761 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15762 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15763 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15764 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15765 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15766 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15767 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15768 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15769 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15770 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15771 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15772 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15773 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15774 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15775 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15776
e5c2c2d0
JM
157772013-10-17 Joseph Myers <joseph@codesourcery.com>
15778
15779 [BZ #16041]
15780 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15781 make result into a quiet NaN.
15782
51ca9e29
JM
157832013-10-16 Joseph Myers <joseph@codesourcery.com>
15784
15785 * soft-fp/adddf3.c: Fix horizontal whitespace.
15786 * soft-fp/addsf3.c: Likewise.
15787 * soft-fp/addtf3.c: Likewise.
15788 * soft-fp/divdf3.c: Likewise.
15789 * soft-fp/divsf3.c: Likewise.
15790 * soft-fp/divtf3.c: Likewise.
15791 * soft-fp/double.h: Likewise.
15792 * soft-fp/eqdf2.c: Likewise.
15793 * soft-fp/eqsf2.c: Likewise.
15794 * soft-fp/eqtf2.c: Likewise.
15795 * soft-fp/extenddftf2.c: Likewise.
15796 * soft-fp/extended.h: Likewise.
15797 * soft-fp/extendsfdf2.c: Likewise.
15798 * soft-fp/extendsftf2.c: Likewise.
15799 * soft-fp/extendxftf2.c: Likewise.
15800 * soft-fp/fixdfdi.c: Likewise.
15801 * soft-fp/fixdfsi.c: Likewise.
15802 * soft-fp/fixdfti.c: Likewise.
15803 * soft-fp/fixsfdi.c: Likewise.
15804 * soft-fp/fixsfsi.c: Likewise.
15805 * soft-fp/fixsfti.c: Likewise.
15806 * soft-fp/fixtfdi.c: Likewise.
15807 * soft-fp/fixtfsi.c: Likewise.
15808 * soft-fp/fixtfti.c: Likewise.
15809 * soft-fp/fixunsdfdi.c: Likewise.
15810 * soft-fp/fixunsdfsi.c: Likewise.
15811 * soft-fp/fixunsdfti.c: Likewise.
15812 * soft-fp/fixunssfdi.c: Likewise.
15813 * soft-fp/fixunssfsi.c: Likewise.
15814 * soft-fp/fixunssfti.c: Likewise.
15815 * soft-fp/fixunstfdi.c: Likewise.
15816 * soft-fp/fixunstfsi.c: Likewise.
15817 * soft-fp/fixunstfti.c: Likewise.
15818 * soft-fp/floatdidf.c: Likewise.
15819 * soft-fp/floatdisf.c: Likewise.
15820 * soft-fp/floatditf.c: Likewise.
15821 * soft-fp/floatsidf.c: Likewise.
15822 * soft-fp/floatsisf.c: Likewise.
15823 * soft-fp/floatsitf.c: Likewise.
15824 * soft-fp/floattidf.c: Likewise.
15825 * soft-fp/floattisf.c: Likewise.
15826 * soft-fp/floattitf.c: Likewise.
15827 * soft-fp/floatundidf.c: Likewise.
15828 * soft-fp/floatundisf.c: Likewise.
15829 * soft-fp/floatunditf.c: Likewise.
15830 * soft-fp/floatunsidf.c: Likewise.
15831 * soft-fp/floatunsisf.c: Likewise.
15832 * soft-fp/floatunsitf.c: Likewise.
15833 * soft-fp/floatuntidf.c: Likewise.
15834 * soft-fp/floatuntisf.c: Likewise.
15835 * soft-fp/floatuntitf.c: Likewise.
15836 * soft-fp/fmadf4.c: Likewise.
15837 * soft-fp/fmasf4.c: Likewise.
15838 * soft-fp/fmatf4.c: Likewise.
15839 * soft-fp/gedf2.c: Likewise.
15840 * soft-fp/gesf2.c: Likewise.
15841 * soft-fp/getf2.c: Likewise.
15842 * soft-fp/ledf2.c: Likewise.
15843 * soft-fp/lesf2.c: Likewise.
15844 * soft-fp/letf2.c: Likewise.
15845 * soft-fp/muldf3.c: Likewise.
15846 * soft-fp/mulsf3.c: Likewise.
15847 * soft-fp/multf3.c: Likewise.
15848 * soft-fp/negdf2.c: Likewise.
15849 * soft-fp/negsf2.c: Likewise.
15850 * soft-fp/negtf2.c: Likewise.
15851 * soft-fp/op-1.h: Likewise.
15852 * soft-fp/op-2.h: Likewise.
15853 * soft-fp/op-4.h: Likewise.
15854 * soft-fp/op-8.h: Likewise.
15855 * soft-fp/op-common.h: Likewise.
15856 * soft-fp/quad.h: Likewise.
15857 * soft-fp/single.h: Likewise.
15858 * soft-fp/soft-fp.h: Likewise.
15859 * soft-fp/sqrtdf2.c: Likewise.
15860 * soft-fp/sqrtsf2.c: Likewise.
15861 * soft-fp/sqrttf2.c: Likewise.
15862 * soft-fp/subdf3.c: Likewise.
15863 * soft-fp/subsf3.c: Likewise.
15864 * soft-fp/subtf3.c: Likewise.
15865 * soft-fp/truncdfsf2.c: Likewise.
15866 * soft-fp/trunctfdf2.c: Likewise.
15867 * soft-fp/trunctfsf2.c: Likewise.
15868 * soft-fp/trunctfxf2.c: Likewise.
15869 * soft-fp/unorddf2.c: Likewise.
15870 * soft-fp/unordsf2.c: Likewise.
15871 * soft-fp/unordtf2.c: Likewise.
15872
9ebb0332
JM
158732013-10-15 Joseph Myers <joseph@codesourcery.com>
15874
15875 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15876 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15877
4b1a6d8b
OB
158782013-10-15 Ondřej Bílka <neleai@seznam.cz>
15879
15880 * elf/dl-libc.c: Clear initfini list after freeing.
15881
1e145589
JM
158822013-10-14 Joseph Myers <joseph@codesourcery.com>
15883
15884 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15885 * soft-fp/addsf3.c: Likewise.
15886 * soft-fp/addtf3.c: Likewise.
15887 * soft-fp/divdf3.c: Likewise.
15888 * soft-fp/divsf3.c: Likewise.
15889 * soft-fp/divtf3.c: Likewise.
15890 * soft-fp/double.h: Likewise.
15891 * soft-fp/eqdf2.c: Likewise.
15892 * soft-fp/eqsf2.c: Likewise.
15893 * soft-fp/eqtf2.c: Likewise.
15894 * soft-fp/extenddftf2.c: Likewise.
15895 * soft-fp/extended.h: Likewise.
15896 * soft-fp/extendsfdf2.c: Likewise.
15897 * soft-fp/extendsftf2.c: Likewise.
15898 * soft-fp/extendxftf2.c: Likewise.
15899 * soft-fp/fixdfdi.c: Likewise.
15900 * soft-fp/fixdfsi.c: Likewise.
15901 * soft-fp/fixdfti.c: Likewise.
15902 * soft-fp/fixsfdi.c: Likewise.
15903 * soft-fp/fixsfsi.c: Likewise.
15904 * soft-fp/fixsfti.c: Likewise.
15905 * soft-fp/fixtfdi.c: Likewise.
15906 * soft-fp/fixtfsi.c: Likewise.
15907 * soft-fp/fixtfti.c: Likewise.
15908 * soft-fp/fixunsdfdi.c: Likewise.
15909 * soft-fp/fixunsdfsi.c: Likewise.
15910 * soft-fp/fixunsdfti.c: Likewise.
15911 * soft-fp/fixunssfdi.c: Likewise.
15912 * soft-fp/fixunssfsi.c: Likewise.
15913 * soft-fp/fixunssfti.c: Likewise.
15914 * soft-fp/fixunstfdi.c: Likewise.
15915 * soft-fp/fixunstfsi.c: Likewise.
15916 * soft-fp/fixunstfti.c: Likewise.
15917 * soft-fp/floatdidf.c: Likewise.
15918 * soft-fp/floatdisf.c: Likewise.
15919 * soft-fp/floatditf.c: Likewise.
15920 * soft-fp/floatsidf.c: Likewise.
15921 * soft-fp/floatsisf.c: Likewise.
15922 * soft-fp/floatsitf.c: Likewise.
15923 * soft-fp/floattidf.c: Likewise.
15924 * soft-fp/floattisf.c: Likewise.
15925 * soft-fp/floattitf.c: Likewise.
15926 * soft-fp/floatundidf.c: Likewise.
15927 * soft-fp/floatundisf.c: Likewise.
15928 * soft-fp/floatunsidf.c: Likewise.
15929 * soft-fp/floatunsisf.c: Likewise.
15930 * soft-fp/floatuntidf.c: Likewise.
15931 * soft-fp/floatuntisf.c: Likewise.
15932 * soft-fp/floatuntitf.c: Likewise.
15933 * soft-fp/fmadf4.c: Likewise.
15934 * soft-fp/fmasf4.c: Likewise.
15935 * soft-fp/fmatf4.c: Likewise.
15936 * soft-fp/gedf2.c: Likewise.
15937 * soft-fp/gesf2.c: Likewise.
15938 * soft-fp/getf2.c: Likewise.
15939 * soft-fp/ledf2.c: Likewise.
15940 * soft-fp/lesf2.c: Likewise.
15941 * soft-fp/letf2.c: Likewise.
15942 * soft-fp/muldf3.c: Likewise.
15943 * soft-fp/mulsf3.c: Likewise.
15944 * soft-fp/multf3.c: Likewise.
15945 * soft-fp/negdf2.c: Likewise.
15946 * soft-fp/negsf2.c: Likewise.
15947 * soft-fp/negtf2.c: Likewise.
15948 * soft-fp/op-1.h: Likewise.
15949 * soft-fp/op-2.h: Likewise.
15950 * soft-fp/op-4.h: Likewise.
15951 * soft-fp/op-8.h: Likewise.
15952 * soft-fp/op-common.h: Likewise.
15953 * soft-fp/quad.h: Likewise.
15954 * soft-fp/single.h: Likewise.
15955 * soft-fp/soft-fp.h: Likewise.
15956 * soft-fp/sqrtdf2.c: Likewise.
15957 * soft-fp/sqrtsf2.c: Likewise.
15958 * soft-fp/sqrttf2.c: Likewise.
15959 * soft-fp/subdf3.c: Likewise.
15960 * soft-fp/subsf3.c: Likewise.
15961 * soft-fp/subtf3.c: Likewise.
15962 * soft-fp/truncdfsf2.c: Likewise.
15963 * soft-fp/trunctfdf2.c: Likewise.
15964 * soft-fp/trunctfsf2.c: Likewise.
15965 * soft-fp/trunctfxf2.c: Likewise.
15966 * soft-fp/unorddf2.c: Likewise.
15967 * soft-fp/unordsf2.c: Likewise.
15968 * soft-fp/unordtf2.c: Likewise.
15969
17c48a60
OB
159702013-10-14 Ondřej Bílka <neleai@seznam.cz>
15971
15972 [BZ #15672]
15973 * misc/error.c (error_tail): Fix possible buffer overflow.
15974
cabba934
OB
159752013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15976
15977 [BZ #13028]
15978 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15979 address.
15980
94bf958a
PM
159812013-10-14 P. J. McDermott <pj@pehjota.net>
15982
15983 [BZ #832]
15984 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15985 testing pipefail option.
15986
71b4dea7
JM
159872013-10-12 Joseph Myers <joseph@codesourcery.com>
15988
15989 * soft-fp/double.h: Indent preprocessor directives inside #if.
15990 * soft-fp/extended.h: Likewise.
15991 * soft-fp/op-2.h: Likewise.
15992 * soft-fp/op-4.h: Likewise.
15993 * soft-fp/op-common.h: Likewise.
15994 * soft-fp/quad.h: Likewise.
15995 * soft-fp/single.h: Likewise.
15996 * soft-fp/soft-fp.h: Likewise.
15997
55602758
YC
159982013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15999
16000 * iconv/iconv_prog.c: Fix typos.
16001 * stdio-common/psiginfo-data.h: Likewise.
16002
9cd83302
RT
160032013-10-12 Reuben Thomas <rrt@sc3d.org>
16004
16005 [BZ #15764]
16006 * locale/setlocale.c: Fix typo.
16007
99fd9f47
JM
160082013-10-12 Joseph Myers <joseph@codesourcery.com>
16009
b7ea74f0
JM
16010 [BZ #16036]
16011 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16012 signaling NaN arguments.
16013 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16014 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16015
8a509447
JM
16016 [BZ #14910]
16017 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16018 unordered operands.
16019 * soft-fp/gesf2.c (__gesf2): Likewise.
16020 * soft-fp/getf2.c (__getf2): Likewise.
16021 * soft-fp/ledf2.c (__ledf2): Likewise.
16022 * soft-fp/lesf2.c (__lesf2): Likewise.
16023 * soft-fp/letf2.c (__letf2): Likewise.
16024
98998e9f
JM
16025 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16026 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16027 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16028 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16029 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16030 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16031 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16032 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16033 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16034 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16035 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16036 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16037 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16038 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16039 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16040 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16041 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16042 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16043 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16044 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16045 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16046 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16047 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16048 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16049 * soft-fp/floattidf.c (__floattidf): Likewise.
16050 * soft-fp/floattisf.c (__floattisf): Likewise.
16051 * soft-fp/floattitf.c (__floattitf): Likewise.
16052 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16053 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16054 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16055 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16056 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16057 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16058 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16059 * soft-fp/gesf2.c (__gesf2): Likewise.
16060 * soft-fp/getf2.c (__getf2): Likewise.
16061 * soft-fp/ledf2.c (__ledf2): Likewise.
16062 * soft-fp/lesf2.c (__lesf2): Likewise.
16063 * soft-fp/letf2.c (__letf2): Likewise.
16064
8edc4a11
JM
16065 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16066 Undefine and redefine.
16067 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16068 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16069 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16070 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16071 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16072 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16073 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16074 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16075 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16076 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16077 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16078 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16079 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16080 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16081 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16082
8399acaf
JM
16083 [BZ #16032]
16084 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16085 without decrementing exponent if mantissa >= that for the
16086 denominator, not >.
16087 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16088 denominator, not >. Decrement exponent in < case instead of
16089 incrementing in >= case.
16090 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16091 without decrementing exponent if mantissa >= that for the
16092 denominator, not >.
16093
99fd9f47
JM
16094 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16095 computing saturated result for unsigned overflow.
16096
10e1cf6b
SP
160972013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16098 Jeff Law <law@redhat.com>
16099
16100 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16101 (atan2Mp): Add systemtap probe marker.
16102 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16103 (__ieee754_log): Add systemtap probe marker.
16104 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16105 (atanMp): Add systemtap probe marker.
16106 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16107 (tanMp): Add systemtap probe marker.
16108 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16109 (__slowexp): Add systemtap probe marker.
16110 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16111 (__slowpow): Add systemtap probe marker.
16112 * manual/probes.texi: Document probes.
16113
3d110c7c
EB
161142013-10-11 Eric Biggers <ebiggers3@gmail.com>
16115
16116 [BZ #15362]
16117 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16118 written.
16119 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16120 written.
16121 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16122 written to buffer but not flushed.
16123 * libio/iofwrite_u.c: Likewise.
16124 * libio/iopadn.c: Return bytes returned even if EOF was
16125 encountered.
16126 * libio/iowpadn.c: Likewise.
16127 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16128 if _IO_padn does not write the whole buffer.
16129 [!COMPILE_WPRINTF] (PAD): Likewise.
16130
75b4202a
DM
161312013-10-10 David S. Miller <davem@davemloft.net>
16132
16133 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16134 directory block.
16135
6c6352e6
JM
161362013-10-10 Joseph Myers <joseph@codesourcery.com>
16137
33b853c3
JM
16138 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16139 instead of FSF address.
16140 * soft-fp/fixdfti.c: Likewise.
16141 * soft-fp/fixsfti.c: Likewise.
16142 * soft-fp/fixtfti.c: Likewise.
16143 * soft-fp/fixunsdfti.c: Likewise.
16144 * soft-fp/fixunssfti.c: Likewise.
16145 * soft-fp/fixunstfti.c: Likewise.
16146 * soft-fp/floattidf.c: Likewise.
16147 * soft-fp/floattisf.c: Likewise.
16148 * soft-fp/floattitf.c: Likewise.
16149 * soft-fp/floatuntidf.c: Likewise.
16150 * soft-fp/floatuntisf.c: Likewise.
16151 * soft-fp/floatuntitf.c: Likewise.
16152 * soft-fp/trunctfxf2.c: Likewise.
16153
6c6352e6
JM
16154 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16155 * soft-fp/fixdfti.c: Likewise.
16156 * soft-fp/fixsfti.c: Likewise.
16157 * soft-fp/fixtfti.c: Likewise.
16158 * soft-fp/fixunsdfti.c: Likewise.
16159 * soft-fp/fixunssfti.c: Likewise.
16160 * soft-fp/fixunstfti.c: Likewise.
16161 * soft-fp/floattidf.c: Likewise.
16162 * soft-fp/floattisf.c: Likewise.
16163 * soft-fp/floattitf.c: Likewise.
16164 * soft-fp/floatuntidf.c: Likewise.
16165 * soft-fp/floatuntisf.c: Likewise.
16166 * soft-fp/floatuntitf.c: Likewise.
16167 * soft-fp/trunctfxf2.c: Likewise.
16168
3bf78b71
DM
161692013-10-10 David S. Miller <davem@davemloft.net>
16170
16171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16172
6f10289e
JM
161732013-10-10 Joseph Myers <joseph@codsourcery.com>
16174
bd878fc0
JM
16175 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16176 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16177 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16178 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16179 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16180 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16181 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16182
6f10289e
JM
16183 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16184 for NaNs before doing comparisons on argument.
16185 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16186 Likewise.
16187
321e2684
WN
161882013-10-10 Will Newton <will.newton@linaro.org>
16189
16190 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16191 passed to _int_memalign does not overflow.
16192
40fefba1
TR
161932013-10-10 Torvald Riegel <triegel@redhat.com>
16194
16195 * scripts/bench.pl: Add include-sources directive.
16196 * benchtests/README: Update documentation.
16197
2ae21ed2
JM
161982013-10-10 Joseph Myers <joseph@codesourcery.com>
16199
dcc2dd3f
JM
16200 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16201 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16202 instead of FP_INIT_ROUNDMODE.
16203 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16204 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16205
2ae21ed2
JM
16206 [BZ #16034]
16207 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16208 copy class of input value.
16209 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16210 not handle exceptions.
16211 * soft-fp/negsf2.c (__negsf2): Likewise.
16212 * soft-fp/negtf2.c (__negtf2): Likewise.
16213 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16214
cb8f9562
JM
162152013-10-09 Joseph Myers <joseph@codesourcery.com>
16216
16217 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16218 semicolon. From Linux kernel.
16219
5b60c59d
AB
162202013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16221
16222 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16223
b86835ca
YC
162242013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16225
16226 [BZ #156]
16227 * manual/socket.texi: Added statement about buffer
16228 for gethostbyname2_r.
16229
e7044ea7
OB
162302013-10-08 Ondřej Bílka <neleai@seznam.cz>
16231
16232 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16233 Use .p2align directive instead, throughout.
16234 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16235 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16236 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16237 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16238 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16239 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16240 * sysdeps/x86_64/strchr.S: Likewise.
16241 * sysdeps/x86_64/strrchr.S: Likewise.
16242
09544cbc
SP
162432013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16244
88576635
SP
16245 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16246
e7b2d1dd
SP
16247 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16248
09544cbc
SP
16249 * sysdeps/generic/math_private.h (__mpsin1): Remove
16250 declaration.
16251 (__mpcos1): Likewise.
16252 (__mpsin): New argument __range_reduce.
16253 (__mpcos): Likewise.
16254 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16255 (slow): Use __mpsin and __mpcos.
16256 (slow1): Likewise.
16257 (slow2): Likewise.
16258 (sloww): Likewise.
16259 (sloww1): Likewise.
16260 (sloww2): Likewise.
16261 (bsloww): Likewise.
16262 (bsloww1): Likewise.
16263 (bsloww2): Likewise.
16264 (cslow2): Likewise.
16265 (csloww): Likewise.
16266 (csloww1): Likewise.
16267 (csloww2): Likewise.
16268 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16269 range_reduce. Merge in __mpsin1.
16270 (__mpcos): Likewise.
16271 (__mpsin1): Remove.
16272 (__mpcos1): Likewise.
16273
7602d070
JM
162742013-10-07 Joseph Myers <joseph@codesourcery.com>
16275
16276 * locale/loadlocale.c (_nl_intern_locale_data): Use
16277 LOCFILE_ALIGNED_P.
16278 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16279 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16280 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16281 obstack data is appropriately aligned.
16282 (obstack_int32_grow_fast): Likewise.
16283 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16284 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16285 (add_locale_uint32_array): Likewise.
16286
a357259b
SP
162872013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16288
16289 * benchtests/Makefile: Remove ARGLIST and RET variables.
16290 ($(objpfx)bench-%.c): Pass only function name to the script.
16291 * benchtests/README: Update documentation.
16292 * benchtests/acos-inputs: Add new directives.
16293 * benchtests/acosh-inputs: Likewise.
16294 * benchtests/asin-inputs: Likewise.
16295 * benchtests/asinh-inputs: Likewise.
16296 * benchtests/atan-inputs: Likewise.
16297 * benchtests/atanh-inputs: Likewise.
16298 * benchtests/cos-inputs: Likewise.
16299 * benchtests/cosh-inputs: Likewise.
16300 * benchtests/exp-inputs: Likewise.
16301 * benchtests/log-inputs: Likewise.
16302 * benchtests/pow-inputs: Likewise.
16303 * benchtests/rint-inputs: Likewise.
16304 * benchtests/sin-inputs: Likewise.
16305 * benchtests/sinh-inputs: Likewise.
16306 * benchtests/tan-inputs: Likewise.
16307 * benchtests/tanh-inputs: Likewise.
16308 * scripts/bench.pl: Add support for new directives.
16309
9ec1b13d
AM
163102013-10-07 Alan Modra <amodra@gmail.com>
16311
16312 * README: Fix careless merge.
16313
8b7d57cd
AM
163142013-10-05 Alan Modra <amodra@gmail.com>
16315
16316 * NEWS: Mention powerpc64le support and bugs fixed.
16317 * README: Both big-endian and little-endian powerpc64 supported.
16318
7b7bab13
ST
163192013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16320
57f41c40
AS
16321 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16322 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
16323 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16324 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16325
d39baad1
RA
163262013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16327
16328 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16329 match prototype.
16330
cd78f7e7
JM
163312013-10-04 Joseph Myers <joseph@codesourcery.com>
16332
29d73d86
JM
16333 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16334 Move -mhard-float appending from
16335 ports/sysdeps/powerpc/powerpc32/Makefile.
16336 [$(with-fp) = yes] (ASFLAGS): Likewise.
16337 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16338 * sysdeps/powerpc/nofpu: Move directory from
16339 ports/sysdeps/powerpc/nofpu.
16340 * sysdeps/powerpc/soft-fp: Move directory from
16341 ports/sysdeps/powerpc/soft-fp.
16342 * sysdeps/powerpc/powerpc32/405: Move directory from
16343 ports/sysdeps/powerpc/powerpc32/405.
16344 * sysdeps/powerpc/powerpc32/440: Move directory from
16345 ports/sysdeps/powerpc/powerpc32/440.
16346 * sysdeps/powerpc/powerpc32/464: Move directory from
16347 ports/sysdeps/powerpc/powerpc32/464.
16348 * sysdeps/powerpc/powerpc32/476: Move directory from
16349 ports/sysdeps/powerpc/powerpc32/476.
16350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16351 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16353 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16355 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16357 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16359 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16360 * README: Update for powerpc-*-linux-gnu software floating point
16361 support in libc.
16362
e246b347
JM
16363 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16364 case to powerpc/powerpc32*.
16365 * sysdeps/unix/sysv/linux/configure: Regenerated.
16366
89c2003e
JM
16367 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16368 (_FPU_MASK_OM): Define as 0x04.
16369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16371 0x00c10080.
16372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16373 0x0000003c.
16374 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16375
cd78f7e7
JM
16376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16377 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16378 getcontext_e500.
16379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16380 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16381 setcontext_e500.
16382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16383 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16384 and setcontext_e500.
16385
c755294d
CL
163862013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16387
16388 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16389
e16d221c
SP
163902013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16391
16392 * manual/threads.texi (Default Thread Attributes): Fix typo.
16393
215c7d43
WN
163942013-10-04 Will Newton <will.newton@linaro.org>
16395
16396 * malloc/Makefile: Add tst-memalign.
16397 * malloc/tst-memalign.c: New file.
16398
27d0461b
WN
16399 * malloc/tst-posix_memalign.c: Add comments.
16400 (do_test): Add comments and call free on all potentially
16401 allocated pointers. Add space after cast.
16402
1bc92709
WN
16403 * malloc/tst-pvalloc.c: Add comments.
16404 (do_test): Add comments and call free on all potentially
16405 allocated pointers. Remove duplicate check for NULL pointer.
16406 Add space after cast.
16407
66a9be9d
WN
16408 * malloc/tst-valloc.c: Add comments.
16409 (do_test): Add comments and call free on all potentially
16410 allocated pointers. Remove duplicate check for NULL pointer.
16411 Add space after cast.
16412
4cb81307
AM
164132013-10-04 Alan Modra <amodra@gmail.com>
16414
16415 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16416 Use stdint types in rather than __attribute__((mode())).
16417 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16418
f8e3e9f3
AM
164192013-10-04 Alan Modra <amodra@gmail.com>
16420
16421 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16422 Correct handling of unaligned relocs for little-endian.
16423 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16424
8f9ebb08
AM
164252013-10-04 Alan Modra <amodra@gmail.com>
16426
16427 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16428 * configure: Regenerate.
16429 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16430 * shlib-versions: Likewise.
16431
0edf96c2
AM
164322013-10-04 Alan Modra <amodra@gmail.com>
16433
16434 * string/tester.c (test_memrchr): Increment reported test cycle.
16435
e0f7a380
AM
164362013-10-04 Alan Modra <amodra@gmail.com>
16437
16438 * string/test-memcpy.c (do_one_test): When reporting errors, print
16439 string address and don't overrun end of string.
16440
466b0393
AM
164412013-10-04 Alan Modra <amodra@gmail.com>
16442
16443 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16444 insrdi. Make better use of reg selection to speed exit slightly.
16445 Schedule entry path a little better. Remove useless "are we done"
16446 checks on entry to main loop. Handle wrapping around zero address.
16447 Correct main loop count. Handle single left-over word from main
16448 loop inline rather than by using loop_small. Remove extra word
16449 case in loop_small caused by wrong loop count. Add little-endian
16450 support.
16451 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16452 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16453 cache hint.
16454 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16455 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16456 support. Avoid rlwimi.
16457 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16458
3be87c77
AM
164592013-10-04 Alan Modra <amodra@gmail.com>
16460
16461 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 16462 insrdi. Formatting.
3be87c77
AM
16463 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16464 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16465 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16466 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16467 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16468 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16469
759cfef3
AM
164702013-10-04 Alan Modra <amodra@gmail.com>
16471
16472 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16473 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16474 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16475 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16476 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16477 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16478 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16479 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16480 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16481 use of regs. Use power7 mtocrf. Tidy function tails.
16482
fe6e95d7
AM
164832013-10-04 Alan Modra <amodra@gmail.com>
16484
16485 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16486 Formatting. Consistently use rXXX register defines or rN defines.
16487 Use early exit labels that avoid restoring unused non-volatile regs.
16488 Make cr field use more consistent with rWORDn compares. Rename
16489 regs used as shift registers for unaligned loop, using rN defines
16490 for short lifetime/multiple use regs.
16491 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16492 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16493 addi 1,1,64 to pop stack frame. Simplify return value code.
16494 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16495
664318c3
AM
164962013-10-04 Alan Modra <amodra@gmail.com>
16497
16498 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16499 support. Correct typos, formatting. Optimize tail. Use insrdi
16500 rather than rlwimi.
16501 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16502 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16503 little-endian support. Correct typos.
16504 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16505 rather than rlwimi.
16506 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16507 in loop and entry code to keep "and." results.
16508 (strchr): Add little-endian support. Comment. Move cntlzd
16509 earlier in tail.
16510 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16511
43b84013
AM
165122013-10-04 Alan Modra <amodra@gmail.com>
16513
16514 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16515 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16516 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16517 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16518
8a7413f9
AM
165192013-10-04 Alan Modra <amodra@gmail.com>
16520
16521 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16522 (rTMP): Define as r11.
16523 (strcmp): Add little-endian support. Optimise tail.
16524 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16525 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16526 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16527 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16528 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16529 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16530 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16531
33ee81de
AM
165322013-10-04 Alan Modra <amodra@gmail.com>
16533
16534 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16535 little-endian support. Remove unnecessary "are we done" tests.
16536 Handle "s" wrapping around zero and extremely large "size".
16537 Correct main loop count. Handle single left-over word from main
16538 loop inline rather than by using small_loop. Correct comments.
16539 Delete "zero" tail, use "end_max" instead.
16540 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16541
db9b4570
AM
165422013-10-04 Alan Modra <amodra@gmail.com>
16543
16544 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16545 support. Don't branch over align.
16546 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16547 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16548 support. Rearrange tmp reg use to suit. Comment.
16549 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16550
f7c399cf
AM
165512013-10-04 Alan Modra <amodra@gmail.com>
16552
16553 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16554
0b2c2ace
AM
165552013-10-04 Alan Modra <amodra@gmail.com>
16556
16557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16558 conditional form of branch and link when obtaining pc.
16559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16560
02f04a6c
AM
165612013-10-04 Alan Modra <amodra@gmail.com>
16562
16563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16564 HIWORD/LOWORD.
16565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16567
9b874b2f
AM
165682013-10-04 Alan Modra <amodra@gmail.com>
16569
16570 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16571 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16572 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16573 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16574 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16575 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16576 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16577 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16578 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16579 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16580
be1e5d31
AB
165812013-10-04 Anton Blanchard <anton@au1.ibm.com>
16582 Alistair Popple <alistair@ozlabs.au.ibm.com>
16583 Alan Modra <amodra@gmail.com>
16584
16585 [BZ #15723]
16586 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16587 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16588 _dl_hwcap access for little-endian.
16589 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16590 destroy vmx regs when saving unaligned.
16591 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16592 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16593 destroy vmx regs when saving unaligned.
16594
fef13a78
AM
165952013-10-04 Alan Modra <amodra@gmail.com>
16596
16597 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16598 Don't use a union to pack hi/low value.
16599
76a66d51
AB
166002013-10-04 Anton Blanchard <anton@au1.ibm.com>
16601
16602 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16603 for little-endian.
16604 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16605 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16606 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16607 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16608 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16609
6a31fe7f
AM
166102013-10-04 Alan Modra <amodra@gmail.com>
16611
16612 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16613 constants to usual value for .cst8 section, and remove redundant
16614 high address load.
16615 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16616 constant for 0x1p52. Load little-endian words of double from
16617 correct stack offsets.
16618
7b88401f
AM
166192013-10-04 Alan Modra <amodra@gmail.com>
16620
16621 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16622 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16623 words of double from correct stack offsets.
16624 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16625 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16626 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16627 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16628 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16629 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16630 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16631 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16632 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16633 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16634 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16635 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16636 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16637 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16638 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16639 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16640 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16641
9c008155
AM
166422013-10-04 Alan Modra <amodra@gmail.com>
16643
16644 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16645 64-bit int/double union.
16646 (_FPU_SETCW): Likewise.
16647 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16648 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16649
da13146d
AM
166502013-10-04 Alan Modra <amodra@gmail.com>
16651
16652 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16653 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16654
603e8410
AM
166552013-10-04 Alan Modra <amodra@gmail.com>
16656
16657 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16658 use vector int constants.
16659 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16660
4a28b3ca
AB
166612013-10-04 Anton Blanchard <anton@au1.ibm.com>
16662
16663 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16664 array with long long.
16665 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16666 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16667 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16668 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16669 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16670 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16671 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16672 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16673 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16674 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16675 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16676 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16677 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16678
2ca85d2b
AB
166792013-10-04 Anton Blanchard <anton@au1.ibm.com>
16680
16681 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16682 (__signbit): Likewise. Correct for little-endian.
16683 (__signbitl): Call __signbit.
16684 (lrint): Correct for little-endian.
16685 (lrintf): Call lrint.
16686
62a728ae
AM
166872013-10-04 Alan Modra <amodra@gmail.com>
16688
16689 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16690 union 32-bit int array member with 64-bit int array.
16691 (t515, tm256): Double rather than long double.
16692 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16693
32c301df
AM
166942013-10-04 Alan Modra <amodra@gmail.com>
16695
16696 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16697 Delete.
16698 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16699 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16700 version of math_ldbl.h.
16701
650ef4bd
AM
167022013-10-04 Alan Modra <amodra@gmail.com>
16703
16704 [BZ #15734], [BZ #15735]
16705 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16706 all uses of ieee875 long double macros and unions. Simplify test
16707 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16708 ldbl_extract_mantissa value for ix,iy exponents. Properly
16709 normalize after ldbl_extract_mantissa, and don't add hidden bit
16710 already handled. Don't treat low word of ieee854 mantissa like
16711 low word of IBM long double and mask off bit when testing for
16712 zero.
16713 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16714 all uses of ieee875 long double macros and unions. Simplify tests
16715 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16716 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16717 two1022, instead use their values. Recognise that tests for large
16718 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16719 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16720 Rewrite all uses of ieee875 long double macros and unions. Simplify
16721 test for 0.0L and nan. Correct negation.
16722 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16723 ieee875 long double macros and unions. Correct output for large
16724 magnitude x. Correct absolute value calculation.
16725 (__erfcl): Likewise.
16726 * math/libm-test.inc: Add tests for errors discovered in IBM long
16727 double versions of fmodl, remainderl, erfl and erfcl.
16728
765714ca
AM
167292013-10-04 Alan Modra <amodra@gmail.com>
16730
16731 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16732 all uses of ieee854 long double macros and unions. Simplify tests
16733 for long doubles that are fully specified by the high double.
16734 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16735 Likewise.
16736 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16737 Remove dead code too.
16738 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16739 (__ieee754_ynl): Likewise.
16740 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16741 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16742 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16743 Remove dead code too.
16744 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16745 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16746 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16747 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16748 Simplify.
16749 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16750 Simplify.
16751 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16752 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16753 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16754 Comment on variable precision.
16755 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16756 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16757 Likewise.
16758 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16759 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16760 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16761 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16762 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16763
4ebd120c
AM
167642013-10-04 Alan Modra <amodra@gmail.com>
16765
16766 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16767 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16768 all uses of ieee854 long double macros and unions.
16769 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16770 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16771 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16772 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16773 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16774 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16775 Likewise.
16776 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16777 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16778 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16779 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16780 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16781 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16782 Simplify sign and nan test too.
16783 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16784 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16785 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16786 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16787 Likewise.
16788 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16789 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16790 Likewise.
16791 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16792 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16793 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16794 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16795 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16796 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16797
1b6adf88
AM
167982013-10-04 Alan Modra <amodra@gmail.com>
16799
16800 * stdio-common/printf_size.c (__printf_size): Don't use
16801 union ieee854_long_double in fpnum union.
16802 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16803 signbit macro to retrieve sign from long double.
16804 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16805 retrieve sign from long double.
16806 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16807 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16808 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16809 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16810 * math/test-misc.c (main): Don't use union ieee854_long_double.
16811
4cf69995
AM
168122013-10-04 Alan Modra <amodra@gmail.com>
16813
16814 [BZ #15680]
16815 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16816 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16817 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16818 calculation. Remove unnecessary test for denormal exponent.
16819 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16820 Correct handling of denormals. Avoid undefined shift behaviour.
16821 Correct normalisation of low mantissa when low double is denormal.
16822 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16823 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16824 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16825 Correct normalisation of low mantissa. Test for overflow of high
16826 mantissa and normalise.
16827 (ldbl_nearbyint): Use more readable constant for two52.
16828 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16829 (__mpn_construct_long_double): Fix test for overflow of high
16830 mantissa and correct normalisation. Avoid undefined shift.
16831
9605ca6c
AM
168322013-10-04 Alan Modra <amodra@gmail.com>
16833
16834 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16835 (union ibm_extended_long_double): Define as an array of ieee754_double.
16836 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16837 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16838 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16839 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16840 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16841 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16842 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16843 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16844 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16845 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16846 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16847
975569d0
JM
168482013-10-03 Joseph Myers <joseph@codesourcery.com>
16849
d3d23756
JM
16850 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16851 page size instead of calling getpagesize.
16852
975569d0
JM
16853 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16854 (LOCFILE_ALIGN_MASK): Likewise.
16855 (LOCFILE_ALIGN_UP): Likewise.
16856 (LOCFILE_ALIGNED_P): Likewise.
16857 * locale/programs/ld-collate.c (collate_output): Use the new
16858 macros instead of __alignof__ (int32_t).
16859 * locale/weight.h (findidx): Likewise.
16860
b1fe1f2b
OB
168612013-10-03 Ondřej Bílka <neleai@seznam.cz>
16862
16863 [BZ #431]
16864 * manual/string.texi: Fix strncat and wcsncat.
16865
5f855e35
BM
168662013-10-03 Brooks Moses <bmoses@google.com>
16867
16868 [BZ #15915]
16869 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16870 * Makerules: ...here, and adjust associated comments.
16871
3cef6009
WN
168722013-10-02 Will Newton <will.newton@linaro.org>
16873
16874 * malloc/Makefile: Add tst-pvalloc.
16875 * malloc/tst-pvalloc.c: New file.
16876
7815420b
WN
168772013-10-02 Will Newton <will.newton@linaro.org>
16878
16879 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16880 improve test coverage.
16881
4868b204
WN
168822013-10-02 Will Newton <will.newton@linaro.org>
16883
16884 * malloc/Makefile: Add tst-posix_memalign.
16885 * malloc/tst-posix_memalign.c: New file.
16886
29c793b3
EB
168872013-10-01 Eric Blake <eblake@redhat.com>
16888
16889 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16890 Use __THROWNL rather than __THROW on static functions.
16891
fd967522
PM
168922013-09-30 Petr Machata <pmachata@redhat.com>
16893
16894 * elf/elf.h (R_AARCH64_ABS16): New macro.
16895 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16896 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16897 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16898 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16899 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16900 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16901 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16902 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16903 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16904 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16905 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16906 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16907 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16908 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16909 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16910 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16911 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16912 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16913 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16914 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16915 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16916 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16917 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16918 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16919 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16920 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16921 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16922 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16923 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16924 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16925 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16926 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16927 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16928 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16929 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16930 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16931 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16932 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16933 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16934 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16935 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16936 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16937 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16938 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16939 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16940 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16941 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16942 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16943 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16944 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16945 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16946 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16947 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16948 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16949 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16950 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16951 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16952 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16953 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16954 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16955 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16956 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16957 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16958 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16959 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16960 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16961 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16962 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16963 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16964 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16965 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16966 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16967 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16968 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16969 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16970 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16971 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16972 (R_AARCH64_TLSDESC_LDR): Likewise.
16973 (R_AARCH64_TLSDESC_ADD): Likewise.
16974 (R_AARCH64_TLSDESC_CALL): Likewise.
16975
b2179107
AS
169762013-09-30 Andreas Schwab <schwab@suse.de>
16977
16978 [BZ #15048]
16979 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16980 the nss database lookup.
16981 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16982 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16983
47f28d0a
MF
169842013-09-28 Mike Frysinger <vapier@gentoo.org>
16985
16986 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16987
169882013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
16989
16990 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16991 ${Bash-specific parameter/pattern/string} parameter expansion.
16992 * sysdeps/unix/make-syscalls.sh: Likewise.
16993
f4518a17
KK
169942013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16995
16996 * sysdeps/sh/stackguard-macros.h: New file.
16997
dc1a95c7
OB
169982013-09-26 Ondřej Bílka <neleai@seznam.cz>
16999
17000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17001 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17002 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17003 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17004 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17005 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17006
5ebbff8f
AZ
170072013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17008
17009 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17010 Fix thread ID register.
17011
4fd2cf9f
JM
170122013-09-25 Joseph Myers <joseph@codesourcery.com>
17013
17014 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17015 [POSIX || UNIX98]: Require rather than permitting all symbols from
17016 <time.h>.
17017 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17018 element of struct sched_param.
17019 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17020 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17021 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17022 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17023 constant.
17024
12c22bc4
OL
170252013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17026
17027 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17028 argument calculation.
17029
a03d8ea7
JM
170302013-09-24 Joseph Myers <joseph@codesourcery.com>
17031
17032 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17033 Expect macro.
17034 [POSIX] (pthread_attr_t): Do not require type.
17035 [POSIX] (pthread_cond_t): Likewise.
17036 [POSIX] (pthread_condattr_t): Likewise.
17037 [POSIX] (pthread_key_t): Likewise.
17038 [POSIX] (pthread_mutex_t): Likewise.
17039 [POSIX] (pthread_mutexattr_t): Likewise.
17040 [POSIX] (pthread_once_t): Likewise.
17041 [POSIX] (pthread_t): Likewise.
17042 [POSIX-based standards] (pthread_atfork): Expect function.
17043
6055173a
JM
170442013-09-24 Joseph Myers <joseph@codesourcery.com>
17045 Richard Sandiford <richard@codesourcery.com>
17046
17047 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17048 (swap_endianness_p): New extern variable.
17049 (set_big_endian): New inline function.
17050 (maybe_swap_uint32): Likewise.
17051 (maybe_swap_uint32_array): Likewise.
17052 (maybe_swap_uint32_obstack): Likewise.
17053 * locale/programs/locfile.c: Include <stdbool.h>.
17054 (swap_endianness_p): New variable.
17055 (add_locale_uint32): Call maybe_swap_uint32.
17056 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17057 (write_locale_data): Call maybe_swap_uint32_array.
17058 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17059 maybe_swap_uint32.
17060 (obstack_int32_grow_fast): Likewise.
17061 (output_weightwc): Call maybe_swap_uint32_obstack.
17062 (collate_output): Likewise.
17063 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17064 (OPT_LITTLE_ENDIAN): Likewise.
17065 (options): Add --little-endian and --big-endian options.
17066 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17067 * locale/programs/locarchive.c: Include "locfile.h".
17068 (GET): New macro.
17069 (SET): Likewise.
17070 (INC): Likewise.
17071 (create_archive): Use the new macros to access fields of
17072 structures directly mapped from or written to locale archives.
17073 (oldlocrecentcmp): Likewise.
17074 (enlarge_archive): Likewise.
17075 (insert_name): Likewise.
17076 (add_alias): Likewise.
17077 (add_locale): Likewise.
17078 (delete_locales_from_archive): Likewise.
17079 (show_archive_content): Likewise.
17080 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17081 locale data.
17082
39bf0bb4
RM
170832013-09-24 Roland McGrath <roland@hack.frob.com>
17084
17085 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17086 http://www.gnu.org/doc/freemanuals.texi.
17087 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17088
f02eed10
WN
170892013-09-24 Will Newton <will.newton@linaro.org>
17090
17091 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17092 macro.
17093
a3a6c312
JM
170942013-09-23 Joseph Myers <joseph@codesourcery.com>
17095
17096 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17097 unsigned char.
17098
107375ac
MR
170992013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17100
17101 * manual/threads.texi (POSIX Threads): Fix a typo.
17102
141f3a77
SP
171032013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17104
303e567a
SP
17105 [BZ #14547]
17106 * string/tst-strcoll-overflow.c: New test case.
17107 * string/Makefile (xtests): Add tst-strcoll-overflow.
17108 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17109 cache if string sizes may cause integer overflow.
17110
141f3a77
SP
17111 [BZ #14547]
17112 * string/strcoll_l.c (coll_seq): New members rule, idx,
17113 save_idx and back_us.
17114 (get_next_seq_nocache): New function.
17115 (do_compare_nocache): New function.
17116 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17117 when malloc fails.
17118
c61b4d41
CD
171192013-09-23 Carlos O'Donell <carlos@redhat.com>
17120
0b1f8e35
CD
17121 [BZ #15754]
17122 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17123 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17124 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17125
c61b4d41
CD
17126 [BZ #15754]
17127 * elf/Makefile (tests): Add tst-ptrguard1.
17128 (tests-static): Add tst-ptrguard1-static.
17129 (tst-ptrguard1-ARGS): Define.
17130 (tst-ptrguard1-static-ARGS): Define.
17131 * elf/tst-ptrguard1.c: New file.
17132 * elf/tst-ptrguard1-static.c: New file.
17133 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17134 * sysdeps/i386/stackguard-macros.h: Likewise.
17135 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17136 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17137 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17138 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17139 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17140 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17141
171422013-09-23 Hector Marco <hecmargi@upv.es>
17143 Ismael Ripoll <iripoll@disca.upv.es>
17144 Carlos O'Donell <carlos@redhat.com>
17145
17146 [BZ #15754]
17147 * sysdeps/generic/stackguard-macros.h: Define
17148 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17149 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17150 Define __pointer_chk_guard_local.
17151 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17152 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17153
f5f4e7b4
VV
171542013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17155
17156 [BZ #15859]
17157 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17158
5bb43a43
AS
171592013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17160
17161 * include/string.h (__ffs): Declare as hidden.
17162 * string/ffs.c (__ffs): Define as hidden.
17163 * sysdeps/i386/ffs.c (__ffs): Likewise.
17164 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17165 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17166 * sysdeps/s390/ffs.c (__ffs): Likewise.
17167 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17168
3ea5be54
AO
171692013-09-20 Alexandre Oliva <aoliva@redhat.com>
17170
ffb89e53
AO
17171 * NEWS: Mention malloc probes.
17172
322dea08
AO
17173 * malloc/arena.c (new_heap): New memory_heap_new probe.
17174 (grow_heap): New memory_heap_more probe.
17175 (shrink_heap): New memory_heap_less probe.
17176 (heap_trim): New memory_heap_free probe.
17177 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17178 (systrim): New memory_sbrk_less probe.
17179 * manual/probes.texi: Document them.
17180
655673f3
AO
17181 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17182 * manual/probes.texi: Document it.
17183
35fed6f1
AO
17184 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17185 (__libc_realloc): Add memory_realloc_retry probe.
17186 (__libc_memalign): Add memory_memalign_retry probe.
17187 (__libc_valloc): Add memory_valloc_retry probe.
17188 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17189 (__libc_calloc): Add memory_calloc_retry probe.
17190 * manual/probes.texi: Document them.
17191
6999d38c
AO
17192 * malloc/arena.c (get_free_list): Add probe
17193 memory_arena_reuse_free_list.
17194 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17195 and memory_arena_reuse.
17196 (arena_get2) [!PER_THREAD]: Likewise.
17197 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17198 memory_arena_reuse_realloc.
17199 * manual/probes.texi: Document them.
17200
0653427f
AO
17201 * malloc/malloc.c (__libc_free): Add
17202 memory_mallopt_free_dyn_thresholds probe.
17203 (__libc_mallopt): Add multiple memory_mallopt probes.
17204 * manual/probes.texi: Document them.
17205
3ea5be54
AO
17206 * malloc/malloc.c: Include stap-probe.h.
17207 (__libc_mallopt): Add memory_mallopt probe.
17208 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17209 * manual/probes.texi: New.
17210 * manual/Makefile (chapters): Add probes.
17211 * manual/threads.texi: Set next node.
17212
e35696c3 172132013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 17214
e35696c3
CL
17215 [BZ #15963, #13985]
17216 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17217 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17218 Add `Chinese' to `nan' entry name.
17219
4aafb73c
SP
172202013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17221
17222 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17223 (POLYNOMIAL): Likewise.
17224 (TAYLOR_SINCOS): Likewise.
17225 (TAYLOR_SLOW): Likewise.
17226 (__sin): Use TAYLOR_SINCOS.
17227 (__cos): Likewise.
17228 (slow): Use TAYLOR_SLOW.
17229 (sloww): Likewise.
17230 (bsloww): Likewise.
17231 (csloww): Likewise.
17232
d84f25c7
LD
172332013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17234
17235 * stdlib/strtod_l.c: Fix buffer overrun.
17236
5eea0404
SP
172372013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17238
7849ff93
SP
17239 * benchtests/Makefile (bench): Add sincos.
17240 * benchtests/bench-sincos.c: New file.
17241
cfa3c886
SP
17242 * math/libm-test.inc (cos_test_data): New test inputs.
17243 (sin_test_data): Likewise.
17244
b348e1e3
SP
17245 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17246 macro.
17247 (__sin): Use it.
17248 (__cos): Likewise.
17249 (slow1): Likewise.
17250 (slow2): Likewise.
17251 (sloww1): Likewise.
17252 (sloww2): Likewise.
17253 (bsloww1): Likewise.
17254 (bsloww2): Likewise.
17255 (cslow2): Likewise.
17256 (csloww1): Likewise.
17257 (csloww2): Likewise.
17258
6cce25f8
SP
17259 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17260 function.
17261 (__sin): Use it.
17262 (__cos): Likewise.
17263
5eea0404
SP
17264 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17265 gotos.
17266 (__cos): Likewise.
17267
9c21573c
MR
172682013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17269
17270 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17271 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17272 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17273 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17274 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17275 * elf/cache.c (print_entry): Handle the new cache flags.
17276
24d22e65
JM
172772013-09-18 Joseph Myers <joseph@codesourcery.com>
17278 Aldy Hernandez <aldyh@redhat.com>
17279
17280 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17281 Change condition to [_SOFT_FLOAT].
17282 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17283 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17285 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17294 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17297 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17298 declaration.
17299
d13ef066
JM
173002013-09-18 Joseph Myers <joseph@codesourcery.com>
17301
2e071de0
JM
17302 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17303 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17304 (__longjmp): Use LOAD_GP to load saved GPRs.
17305 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17306 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17307 (__sigsetjmp): Use SAVE_GP to save GPRs.
17308
d13ef066
JM
17309 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17310 Do not append -msoft-float.
17311 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17312
97a0650b
SP
173132013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17314
17315 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17316
11ca09e9
JM
173172013-09-17 Joseph Myers <joseph@codesourcery.com>
17318
17319 [BZ #15966]
17320 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17321 (_FPU_GETCW): Use initial "__" on variable and field names but not
17322 on macro parameter name.
17323 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17324 parentheses around reference to macro parameter.
17325
08ffcf34
RS
173262013-09-13 Richard Sandiford <richard@codesourcery.com>
17327
17328 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17329 prototype.
17330 (ctype_startup): Use uint32_t in cast and sizeof for
17331 ctype->charnames.
17332
ae7080d3
JL
173332013-09-11 Jia Liu <proljc@gmail.com>
17334
17335 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17336 __daddr_t_defined.
17337 [__FreeBSD__]: Likewise.
17338
5905e7b3
OB
173392013-09-11 Ondřej Bílka <neleai@seznam.cz>
17340
17341 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17342 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17343 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17344 (strchr): Remove __strchr_sse42 ifunc selection.
17345 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17346 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17347
b987c776
WN
173482013-09-11 Will Newton <will.newton@linaro.org>
17349
17350 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17351 parameter to RES. Remove hardcoded 1000 value.
17352 * benchtests/bench-skeleton.c (main): Pass RES parameter
17353 to TIMING_INIT and multiply result by 1000.
17354
ddf985af
AZ
173552013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17356
17357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17358
ffdd3181
AS
173592013-09-11 Andreas Schwab <schwab@suse.de>
17360
17361 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17362 if not defined.
17363 (O_TMPFILE) [__USE_GNU]: Define.
17364 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17365 Define.
17366
b73ed247
WN
173672013-09-11 Will Newton <will.newton@linaro.org>
17368
17369 [BZ #15857]
17370 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17371 does not overflow.
17372
55e17aad
WN
173732013-09-11 Will Newton <will.newton@linaro.org>
17374
17375 [BZ #15856]
17376 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17377 does not overflow.
17378
1159a193
WN
173792013-09-11 Will Newton <will.newton@linaro.org>
17380
17381 [BZ #15855]
17382 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17383 does not overflow.
17384
5905e7b3 173852013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
17386
17387 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17388 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17389 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17390 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17391 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17392
cdfc721b
AM
173932013-09-10 Allan McRae <allan@archlinux.org>
17394
aa04af00
AM
17395 [BZ #15748]
17396 * manual/arith.texi (Parsing of Floats): Clarify
17397 cross-reference.
17398
cdfc721b
AM
17399 [BZ #15849]
17400 * manual/install.texi (Running make install): Mention
17401 --enable-pt-chown.
17402 * INSTALL: Regenerated.
17403
95e7cf29
MR
174042013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17405
17406 * csu/init-first.c (_init): Remove the !SHARED condition around
17407 FPU control word initialization.
17408 * elf/dl-support.c (_dl_fpu_control): New variable.
17409 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17410 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17411 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17412 * math/test-fpucw-static.c: New file.
17413 * math/test-fpucw-ieee.c: New file.
17414 * math/test-fpucw-ieee-static.c: New file.
17415 * math/Makefile (tests): Add `test-fpucw-ieee' and
17416 `$(tests-static)'.
17417 (tests-static): New variable.
17418 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17419 dependency to...
17420 [($(build-shared),yes)]
17421 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17422 ... this.
17423 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17424 New dependency.
17425
83e43bf0
AM
174262013-09-09 Allan McRae <allan@archlinux.org>
17427
a9f5ce09
AM
17428 [BZ #15939]
17429 * manual/string.texi (Collation Functions): Fix typo in
17430 strcoll example.
17431 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17432
34829bc2
AM
17433 [BZ #15893]
17434 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17435
3932737d
AM
17436 [BZ #15892]
17437 * libio/memstream.c (open_memstream): Fix memory leak.
17438 * libio/wmemstream.c (open_wmemstream): Likewise.
17439
83e43bf0
AM
17440 [BZ #15895]
17441 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17442
0c66b8e9
WN
174432013-09-09 Will Newton <will.newton@linaro.org>
17444
17445 * malloc/Makefile: Add tst-realloc to tests.
17446 * malloc/tst-realloc.c: New file.
17447
f6b00fd1
AM
174482013-09-09 Allan McRae <allan@archlinux.org>
17449
17450 [BZ #15844]
17451 * COPYING: Update from GNU website to fix FSF address.
17452 * COPYING.LIB: Likewise.
17453
eec55e16
DM
174542013-09-06 David S. Miller <davem@davemloft.net>
17455
17456 * po/zh_TW.po: Update Chinese (traditional) translation from
17457 translation project.
17458
1ecbb381
RS
174592013-09-06 Richard Sandiford <richard@codesourcery.com>
17460 Joseph Myers <joseph@codesourcery.com>
17461
17462 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17463 "localeinfo.h".
17464 (obstack_chunk_alloc): New macro.
17465 (obstack_chunk_free): Likewise.
17466 (record_offset): New function.
17467 (init_locale_data): Likewise.
17468 (align_locale_data): Likewise.
17469 (add_locale_empty): Likewise.
17470 (add_locale_raw_data): Likewise.
17471 (add_locale_raw_obstack): Likewise.
17472 (add_locale_string): Likewise.
17473 (add_locale_wstring): Likewise.
17474 (add_locale_uint32): Likewise.
17475 (add_locale_uint32_array): Likewise.
17476 (add_locale_char): Likewise.
17477 (start_locale_structure): Likewise.
17478 (end_locale_structure): Likewise.
17479 (start_locale_prelude): Likewise.
17480 (end_locale_prelude): Likewise.
17481 (write_locale_data): Take locale_file structure rather than an
17482 iovec.
17483 * locale/programs/locfile.h: Include "obstack.h".
17484 (struct locale_file): Change to store locale file contents instead
17485 of header.
17486 (init_locale_data): New prototype.
17487 (align_locale_data): Likewise.
17488 (add_locale_empty): Likewise.
17489 (add_locale_raw_data): Likewise.
17490 (add_locale_raw_obstack): Likewise.
17491 (add_locale_string): Likewise.
17492 (add_locale_wstring): Likewise.
17493 (add_locale_uint32): Likewise.
17494 (add_locale_uint32_array): Likewise.
17495 (add_locale_char): Likewise.
17496 (start_locale_structure): Likewise.
17497 (end_locale_structure): Likewise.
17498 (start_locale_prelude): Likewise.
17499 (end_locale_prelude): Likewise.
17500 (write_locale_data): Update prototype.
17501 * locale/programs/3level.h (struct TABLE): Remove result field.
17502 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17503 Use new locale_file interface.
17504 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17505 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17506 * locale/programs/ld-address.c (address_output): Use new
17507 locale_file interface.
17508 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17509 NO_ADD_LOCALE.
17510 (collate_finish): Don't call collseq_table_finalize.
17511 (collate_output): Use new locale_file interface.
17512 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17513 in file.
17514 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17515 (TABLE): Move defines earlier in file.
17516 (ELEMENT): Likewise.
17517 (DEFAULT): Likewise.
17518 (wctrans_table_add): Move macro and inline function earlier in
17519 file.
17520 (struct wctype_table): Move type earlier in file.
17521 (add_locale_wctype_table): New static prototype.
17522 (struct locale_ctype_t): Use logical types instead of struct iovec
17523 pointers for members.
17524 (ctype_output): Use new locale_file interface.
17525 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17526 new locale_file interface.
17527 (allocate_arrays): Update for use of new locale_file interface.
17528 * locale/programs/ld-identification.c (identification_output): Use
17529 new locale_file interface.
17530 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17531 * locale/programs/ld-messages.c (messages_output): Likewise.
17532 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17533 * locale/programs/ld-name.c (name_output): Likewise.
17534 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17535 * locale/programs/ld-paper.c (paper_output): Likewise.
17536 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17537 * locale/programs/ld-time.c (time_output): Likewise.
17538
e029e2e5
AZ
175392013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17540
17541 * benchtests/Makefile: Add memrchr benchmark.
17542 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17543 benchmark as memrchr.
17544 * benchtests/bench-memrchr-ifunc.c: New file.
17545 * benchtests/bench-memrchr.c: New file.
17546
bbf6e8e4
WN
175472013-09-06 Will Newton <will.newton@linaro.org>
17548
17549 * benchtests/Makefile (string-bench): Add memcpy.
17550
6c82a2f8
CD
175512013-09-05 Carlos O'Donell <carlos@redhat.com>
17552 Cong Wang <amwang@redhat.com>
17553
e732c5f0 17554 [BZ #15850]
6c82a2f8
CD
17555 * sysdeps/unix/sysv/linux/bits/in.h
17556 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17557 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17558 before __USE_KERNEL_IPV6_DEFS uses.
17559 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17560 IPPROTO_BEETPH.
17561 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17562 sockaddr_in6, or ipv6_mreq.
17563
5430fc65
AZ
175642013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17565
17566 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17567 memory access for final bytes in some large inputs.
17568 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17569
4660856c
AZ
175702013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17571
17572 * string/test-memrchr.c: New file.
17573 * string/test-memrchr-ifunc.c: New file.
17574 * string/Makefile: Add new memrchr testcase.
17575
bb8ea713
MF
175762013-09-05 Mike Frysinger <vapier@gentoo.org>
17577
17578 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17579 fanotify_init returns EPERM.
17580
b92a20b5
JM
175812013-09-04 Joseph Myers <joseph@codesourcery.com>
17582
17583 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17584 errors.
17585 (top level): Treat second token from macro or constant entries for
17586 allowed headers as allowed.
17587 * include/complex.h: Condition internal declarations on
17588 [!_ISOMAC].
17589 * include/fenv.h: Condition include of <stdbool.h> and internal
17590 declarations on [!_ISOMAC].
7447ccd9
CL
17591
175922013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17593
3e181dda 17594 [BZ #15923]
7447ccd9
CL
17595 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17596
3f2e46a4
JM
175972013-09-04 Joseph Myers <joseph@codesourcery.com>
17598
17599 * configure.in (--enable-versioning): Remove configure option.
17600 (libc_cv_asm_symver_directive): Remove configure test.
17601 (libc_cv_ld_version_script_option): Likewise.
17602 (VERSIONING): Remove variable and AC_SUBST.
17603 (DO_VERSIONING): Remove AC_DEFINE.
17604 * configure: Regenerated.
17605 * config.h.in (DO_VERSIONING): Remove macro.
17606 * Makerules [$(versioning) = yes]: Change conditionals to
17607 [$(build-shared) = yes].
17608 * config.make.in (versioning): Remove variable.
17609 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17610 [$(build-shared) = yes].
17611 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17612 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17613 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17614 [$(build-shared) = yes].
17615 * extra-lib.mk [$(versioning) = yes]: Likewise.
17616 * hurd/Makefile [$(versioning) = yes]: Likewise.
17617 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17618 [SHARED].
17619 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17620 [SHARED].
17621 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17622 [SHARED && !NO_HIDDEN].
17623 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17624 [SHARED].
17625 [SHARED && DO_VERSIONING]: Likewise..
17626 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17627 [$(build-shared) = yes].
17628 * manual/install.texi (--disable-versioning): Remove
17629 documentation.
17630 * INSTALL: Regenerated.
17631 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17632 to [SHARED].
17633 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17634 [$(build-shared) = yes].
17635 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17636 * sysdeps/i386/i686/multiarch/strstr-c.c
17637 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17638 [SHARED && !NO_HIDDEN].
17639 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17640 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17641 * sysdeps/powerpc/powerpc32/dl-machine.c
17642 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17643 * sysdeps/powerpc/powerpc32/sysdep.h
17644 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17645 to [SHARED && PIC && !NO_HIDDEN].
17646 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17647 conditional to [SHARED].
17648
44558701
WN
176492013-09-04 Will Newton <will.newton@linaro.org>
17650
17651 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17652 * benchtests/bench-string.h: Include bench-timing.h instead
17653 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17654 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17655 call to HP_TIMING_DIFF_INIT.
17656 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17657 instead of hp-timing.h macros.
17658 * benchtests/bench-memchr.c: Likewise.
17659 * benchtests/bench-memcmp.c: Likewise.
17660 * benchtests/bench-memcpy.c: Likewise.
17661 * benchtests/bench-memmem.c: Likewise.
17662 * benchtests/bench-memmove.c: Likewise.
17663 * benchtests/bench-memset.c: Likewise.
17664 * benchtests/bench-rawmemchr.c: Likewise.
17665 * benchtests/bench-strcasecmp.c: Likewise.
17666 * benchtests/bench-strcasestr.c: Likewise.
17667 * benchtests/bench-strcat.c: Likewise.
17668 * benchtests/bench-strchr.c: Likewise.
17669 * benchtests/bench-strcmp.c: Likewise.
17670 * benchtests/bench-strcpy.c: Likewise.
17671 * benchtests/bench-strcpy_chk.c: Likewise.
17672 * benchtests/bench-strlen.c: Likewise.
17673 * benchtests/bench-strncasecmp.c: Likewise.
17674 * benchtests/bench-strncat.c: Likewise.
17675 * benchtests/bench-strncmp.c: Likewise.
17676 * benchtests/bench-strncpy.c: Likewise.
17677 * benchtests/bench-strnlen.c: Likewise.
17678 * benchtests/bench-strpbrk.c: Likewise.
17679 * benchtests/bench-strrchr.c: Likewise.
17680 * benchtests/bench-strspn.c: Likewise.
17681 * benchtests/bench-strstr.c: Likewise.
17682
cae16d66
WN
176832013-09-04 Will Newton <will.newton@linaro.org>
17684
17685 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17686
ffa3cd7f
JM
176872013-09-03 Joseph Myers <joseph@codesourcery.com>
17688
17689 [BZ #15427]
17690 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17691 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17692 * math/libm-test.inc (lgamma_test_data): Add more tests.
17693 * sysdeps/i386/fpu/libm-test-ulps: Update.
17694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17695
8f02859f
OB
176962013-09-03 Ondřej Bílka <neleai@seznam.cz>
17697
17698 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17699 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17700 Add ifunc.
17701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17702 Add strcmp-sse2-unaligned
17703 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17704
18d43716
MF
177052013-09-02 Mike Frysinger <vapier@gentoo.org>
17706
17707 * Versions.def (libc): Add GLIBC_2.19.
17708
ac444012
MF
177092013-09-02 Mike Frysinger <vapier@gentoo.org>
17710
17711 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17712 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17713
b7835e32
JM
177142013-09-02 Joseph Myers <joseph@codesourcery.com>
17715
17716 [BZ #14155]
17717 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17718 intermediate calculations in recurrence.
17719 (__ieee754_ynf): Likewise.
17720 * math/libm-test.inc (jn_test_data): Do not allow spurious
17721 underflow exception. Add more tests.
17722 (yn_test_data): Add more tests.
17723 * sysdeps/i386/fpu/libm-test-ulps: Update.
17724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17725
8220f4f0
OB
177262013-09-02 Ondřej Bílka <neleai@seznam.cz>
17727
17728 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17729
f24a6d08
OB
177302013-08-30 Ondřej Bílka <neleai@seznam.cz>
17731
17732 * csu/init-first.c: Fix then/than typos.
17733 * locale/programs/ld-collate.c: Likewise.
17734 * locale/programs/linereader.h: Likewise.
17735 * manual/charset.texi: Likewise.
17736 * manual/filesys.texi: Likewise.
17737 * manual/stdio.texi: Likewise.
17738 * manual/string.texi: Likewise.
17739 * stdlib/fmtmsg.c: Likewise.
17740 * sysdeps/i386/stpncpy.S: Likewise.
17741 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17742 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17743 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17744 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17745
382466e0
OB
177462013-08-30 Ondřej Bílka <neleai@seznam.cz>
17747
17748 * elf/dl-open.c: Fix typos.
17749 * iconvdata/gbbig5.c: Likewise.
17750 * iconvdata/iso-2022-jp.c: Likewise.
17751 * iconv/gconv_int.h: Likewise.
17752 * iconv/loop.c: Likewise.
17753 * nis/rpcsvc/nis.h: Likewise.
17754 * resolv/ns_name.c: Likewise.
17755 * stdio-common/vfscanf.c: Likewise.
17756 * streams/stropts.h: Likewise.
17757 * sunrpc/rpc_thread.c: Likewise.
17758 * sysdeps/i386/strpbrk.S: Likewise.
17759 * sysdeps/ieee754/k_standard.c: Likewise.
17760 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17761 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17762 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17763 * sysdeps/mach/hurd/profil.c: Likewise.
17764 * sysdeps/s390/dl-procinfo.h: Likewise.
17765 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17766 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17767 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17768 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17769 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17770
0186c6e9
OB
177712013-08-30 Ondřej Bílka <neleai@seznam.cz>
17772
17773 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17774 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17775
d4e16af1
OB
177762013-08-29 Ondřej Bílka <neleai@seznam.cz>
17777
17778 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17779 aix specific files.
17780 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17781 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17782 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17783 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17784 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17785 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17786 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17787 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17788
88335980
TS
177892013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17790 Roland McGrath <roland@hack.frob.com>
17791
17792 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17793 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17794
ed479b02
ST
177952013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17796
17797 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17798 __executable_start symbol instead of _start.
17799
f1cc4c86
TS
178002013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17801
d821f07c
TS
17802 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17803 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17804 Move macros to...
17805 * sysdeps/gnu/ldsodefs.h: ... this new file.
17806
c54290cf
TS
17807 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17808 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17809 instead of ELFOSABI_LINUX.
17810
0007fc9b 17811 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
17812 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17813 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17814 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17815 Likewise.
17816 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17817 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17818 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17819 Likewise.
17820 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17821 (ibm_extended_long_double): Add ieee_nan member.
17822 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17823 (do_test): New function.
17824
f1cc4c86
TS
17825 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17826 TEST_TRUNC.
17827 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17828 functions, renamed from truncdfsf_test, trunctfsf_test,
17829 trunctfdf_test.
17830 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17831 functions.
17832 (do_test): Run all these.
17833
6f65e668
OB
178342013-08-29 Ondřej Bílka <neleai@seznam.cz>
17835
17836 * argp/argp-help.c: Fix typos.
17837 * argp/argp-parse.c: Likewise.
17838 * debug/backtracesyms.c: Likewise.
17839 * elf/elf.h: Likewise.
17840 * malloc/malloc.c: Likewise.
17841 * nis/nis_print.c: Likewise.
17842 * resolv/res_comp.c: Likewise.
17843 * stdlib/stdlib.h: Likewise.
17844 * sunrpc/clnt_tcp.c: Likewise.
17845 * sunrpc/clnt_udp.c: Likewise.
17846 * sunrpc/clnt_unix.c: Likewise.
17847 * sysdeps/unix/bsd/ptsname.c: Likewise.
17848 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17849 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
17850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17851 Likewise.
17852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17853 Likewise.
17854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17855 Likewise.
6f65e668
OB
17856 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17857
3a309239
SP
178582013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17859
17860 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17862
3b813b29
MF
178632013-08-27 Mike Frysinger <vapier@gentoo.org>
17864
17865 [BZ #15897]
17866 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17867 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17868 ($(objpfx)bug-dl-leaf): New rule.
17869 ($(objpfx)bug-dl-leaf.so): Likewise.
17870 ($(objpfx)bug-dl-leaf.out): Likewise.
17871 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17872 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17873 * dlfcn/bug-dl-leaf.c: New test.
17874 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17875 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17876 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17877 (dlclose): Likewise.
17878 (dlmopen): Likewise.
17879
8cc3269f
RM
178802013-08-27 Roland McGrath <roland@hack.frob.com>
17881
7f9d0034
RM
17882 * include/netdb.h [!_ISOMAC]:
17883 Don't include <tls.h>.
17884 (h_errno, __libc_h_errno): Move declaration and macros out of
17885 [_LIBC_REENTRANT].
17886
fb431262
RM
17887 * include/resolv.h [_RESOLV_H_]:
17888 Don't include <tls.h>.
17889 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17890 * resolv/res_libc.c: Don't include <tls.h>.
17891 (_res): Use __attribute__ ((nocommon)) in place of
17892 __attribute__ ((section (".bss"))).
17893
bd81123a
RM
17894 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17895 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17896
c4e42566
RM
17897 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17898
f890a59b
RM
17899 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17900 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17901
17902 * resolv/res_mkquery.c: Include <sys/time.h>.
17903
5d1f0a09
RM
17904 * inet/ifreq.c: Moved to ...
17905 * sysdeps/unix/ifreq.c: ... here.
17906 * inet/ifreq.c: New file, true stub version.
17907
6fcf28b3
RM
17908 * socket/sa_len.c: New file.
17909 * socket/Makefile (aux): Add it.
17910 * sysdeps/unix/sysv/linux/Makefile
17911 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17912 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17913 and #include <socket/sa_len.c>.
17914 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17915 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17916
e041fb8b
RM
17917 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17918 * bits/socket.h: ... here.
17919
8cc3269f
RM
17920 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17921 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17922 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17923
5d228a43
AS
179242013-08-27 Andreas Schwab <schwab@suse.de>
17925
45b8accc
AS
17926 [BZ #15736]
17927 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17928 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17929 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17930 * string/test-strcasecmp.c (test_main): Run tests in several
17931 locales.
17932 * string/test-strncasecmp.c (test_main): Likewise.
17933
5d228a43
AS
17934 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17935 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17936 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17937 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17938 (__strncasecmp_ssse3) [PIC]: Likewise.
17939
59d112a4
RM
179402013-08-26 Roland McGrath <roland@hack.frob.com>
17941
53234cc3
RM
17942 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17943
59d112a4
RM
17944 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17945 instead of explicitly declaring xdecrypt.
17946 * nis/nss_nis/nis-publickey.c: Likewise.
17947
595aba70
SP
179482013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17949
17950 [BZ #15890]
17951 * nscd/aicache.c: Include res_hconf.h.
17952 (addhstaiX): Initialize res_hconf.
17953
ffabd393
AS
179542013-08-26 Andreas Schwab <schwab@suse.de>
17955
17956 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17957 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17958
e0a69f5c
SP
179592013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17960
17961 * nscd/aicache.c (addhstaiX): Fix indentation.
17962
8c12f01d
MF
179632013-08-25 Mike Frysinger <vapier@gentoo.org>
17964
17965 * configure.ac: Quote $build_pt_chown test.
17966 * configure: Regenerated.
17967
8fe89494
JM
179682013-08-23 Joseph Myers <joseph@codesourcery.com>
17969
17970 [BZ #15532]
17971 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17972 * math/s_cexpf.c (__cexpf): Likewise.
17973 * math/s_cexpl.c (__cexpl): Likewise.
17974 * math/libm-test.inc (cexp_test_data): Correct expected return
17975 value for NaN + i0. Add another test.
17976
75b181d6
DM
179772013-08-22 David S. Miller <davem@davemloft.net>
17978
17979 * po/ca.po: Update Catalan translation from translation project.
936241e4 17980 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 17981
acd06bb1
JM
179822013-08-21 Joseph Myers <joseph@codesourcery.com>
17983
17984 [BZ #15797]
17985 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17986 is infinite, not alongside NaN test.
17987 * math/s_fdimf.c (__fdimf): Likewise.
17988 * math/s_fdiml.c (__fdiml): Likewise.
17989 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17990 errno is unchanged.
17991
c0c3f78a
OB
179922013-08-21 Ondřej Bílka <neleai@seznam.cz>
17993
17994 * argp/argp-help.c: Fix typos.
17995 * crypt/speeds.c: Likewise.
17996 * csu/check_fds.c: Likewise.
17997 * elf/dl-load.c: Likewise.
17998 * elf/dl-open.c: Likewise.
17999 * elf/reldep3.c: Likewise.
18000 * elf/reldep.c: Likewise.
18001 * elf/sprof.c: Likewise.
18002 * iconv/iconv_charmap.c: Likewise.
18003 * iconv/skeleton.c: Likewise.
18004 * iconv/strtab.c: Likewise.
18005 * io/lockf64.c: Likewise.
18006 * libio/libioP.h: Likewise.
18007 * resolv/gai_notify.c: Likewise.
18008 * resolv/ns_name.c: Likewise.
18009 * resolv/ns_samedomain.c: Likewise.
18010 * resolv/res_send.c: Likewise.
18011 * stdlib/random.c: Likewise.
18012 * sunrpc/rpc/xdr.h: Likewise.
18013 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18014 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18015 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18016 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18017 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18018 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18019 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18020 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18021 * sysdeps/mach/hurd/check_fds.c: Likewise.
18022 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18023 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18024 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18025 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18026 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18027 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18028 * sysdeps/pthread/aio_notify.c: Likewise.
18029 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18030 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18031 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18032 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18033 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18034
46ed1038
LD
180352013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18036
18037 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18038 version if bit_Slow_SSE4_2 is set.
18039 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18040 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18041
d400dcac
AZ
180422013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18043
18044 [BZ #15867]
18045 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18046 trampoline stack frame information.
18047 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18048 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18049 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18050 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18051 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18052 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18053 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18054 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18055 sa_flags value.
18056 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18057 interrupting a syscall and set with option SA_SIGINFO.
18058
42c8fdd8
JM
180592013-08-20 Joseph Myers <joseph@codesourcery.com>
18060
c980f2f4
JM
18061 [BZ #15531]
18062 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18063 argument is infinite.
18064 * math/s_cprojf.c (__cprojf): Likewise.
18065 * math/s_cprojl.c (__cprojl): Likewise.
18066 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18067 * math/libm-test.inc (cproj_test_data): Add more tests.
18068
0716c4fc
JM
18069 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18070
42c8fdd8
JM
18071 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18072 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18073 size. Use __ffs to determine corresponding shift.
18074
b31469d0
JM
180752013-08-20 Joseph Myers <joseph@codesourcery.com>
18076 Roland McGrath <roland@hack.frob.com>
18077
18078 * Makefile (INSTALL): Remove trailing blank lines from output of
18079 makeinfo.
18080
4e39af6e
AK
180812013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18082
18083 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18084 Align 32 bit compat elf_greg to 8 bytes.
18085
f315524e
AA
180862013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18087
18088 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18089
1326ba1a
SP
180902013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18091
18092 * string/strcoll_l.c (coll_seq): New structure.
18093 (get_next_seq_cached): New function.
18094 (get_next_seq): New function.
18095 (do_compare): New function.
18096 (STRCOLL): Use GNU style definition. Simplify implementation
18097 by using get_next_seq, get_next_seq_cached and do_compare.
18098
91ce4085
FW
180992013-08-16 Florian Weimer <fweimer@redhat.com>
18100
18101 [BZ #14699]
18102 CVE-2013-4237
18103 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18104 member.
18105 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18106 member.
18107 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18108 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18109 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18110 conditional.
18111 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18112 GETDENTS_64BIT_ALIGNED.
18113 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18114 * manual/filesys.texi (Reading/Closing Directory): Document
18115 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18116 strongly.
18117 * manual/conf.texi (Limits for Files): Add portability note to
18118 NAME_MAX, PATH_MAX.
18119 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18120
ca0a6bc4
AS
181212013-08-13 Andreas Schwab <schwab@suse.de>
18122
18123 [BZ #15749]
18124 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18125 of fabs.
18126 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18127 LDBL_MAX_EXP >= 16384]: Add tests for it.
18128
6c1fd795
DM
181292013-08-12 David S. Miller <davem@davemloft.net>
18130
18131 * version.h (RELEASE): Set to "development".
18132 (VERSION): Set to "2.18.90".
18133 * NEWS: Add 2.19 section.
18134
31ad488d
DM
181352013-08-03 David S. Miller <davem@davemloft.net>
18136
18137 * po/ko.po: Update Korean translation from translation project.
18138
db24e684
DM
181392013-08-01 David S. Miller <davem@davemloft.net>
18140
18141 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18142 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18143 Bilka.
18144
f723285b
DM
181452013-07-30 David S. Miller <davem@davemloft.net>
18146
18147 * po/fr.po: Update French translation from translation project.
18148
3cbc52db
DM
181492013-07-28 David S. Miller <davem@davemloft.net>
18150
30bbc0cc
DM
18151 * po/cs.po: Update Czech translation from translation project.
18152
3cbc52db
DM
18153 * po/sv.po: Update Swedish translation from translation project.
18154
d492e6d0
DM
181552013-07-27 David S. Miller <davem@davemloft.net>
18156
f1a7f492
DM
18157 * po/eo.po: Update Esperanto translation from translation project.
18158
90e62a4a
DM
18159 * po/vi.po: Update Vietnamese translation from translation project.
18160
d492e6d0
DM
18161 * po/de.po: Update German translation from translation project.
18162
d4baa62d
DM
181632013-07-26 David S. Miller <davem@davemloft.net>
18164
641aa7b4
DM
18165 * po/bg.po: Update Bulgarian translation from translation project.
18166
d4baa62d
DM
18167 * po/nl.po: Update Dutch translation from translation project.
18168 * po/pl.po: Update Polish translation from translation project.
18169 * po/ru.po: Update Russian translation from translation project.
18170
61a9dcb9
DM
181712013-07-24 David S. Miller <davem@davemloft.net>
18172
18173 * po/libc.pot: Update.
18174
7b1f8b58
AZ
181752013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18176
18177 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18178 variable page size.
18179 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18180 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18181 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18182
a8fc7a03
AK
181832013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18184
18185 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18186
e4608715
CD
181872013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18188 Andreas Schwab <schwab@suse.de>
18189 Roland McGrath <roland@hack.frob.com>
18190 Joseph Myers <joseph@codesourcery.com>
18191 Carlos O'Donell <carlos@redhat.com>
18192
18193 [BZ #15755]
18194 * config.h.in: Define HAVE_PT_CHOWN.
18195 * config.make.in (build-pt-chown): New variable.
18196 * configure.in (--enable-pt_chown): New configure option.
18197 * configure: Regenerate.
18198 * login/Makefile: Include Makeconfig. Build pt_chown only if
18199 build-pt-chown is enabled.
18200 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18201 pt_chown to fix pty ownership.
18202 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18203 CLOSE_ALL_FDS.
18204 * manual/install.texi (Configuring and compiling): Mention
18205 --enable-pt_chown. Add @findex for grantpt.
18206 * INSTALL: Regenerate.
18207
da2d62df
DM
182082013-07-20 David S. Miller <davem@davemloft.net>
18209
18210 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18211 difference between 32-bit and 64-bit.
18212
d7e06450
CD
182132013-07-15 Carlos O'Donell <carlos@redhat.com>
18214
18215 [BZ #15711]
18216 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18217 Avoid system header dependency with -ffreestanding.
18218 ($(objpfx)bits/syscall%d): Likewise.
18219
f959cfd7
DM
182202013-07-13 David S. Miller <davem@davemloft.net>
18221
18222 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18223 underflows from atanl/atan2l due to bug 15319.
18224 (casinh_test_data): Likewise.
18225
c61f8513
DM
182262013-07-07 David S. Miller <davem@davemloft.net>
18227
18228 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18229
72c90ed0
JA
182302013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18231
18232 * sysdeps/i386/fpu/libm-test-ulps: Update.
18233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18234
52dfbe13
SP
182352013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18236
18237 * configure.in (--enable-lock-elision): Fix message text.
18238 * INSTALL: Regenerate.
18239 * configure: Regenerate.
18240
3f169543
AZ
182412013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18242
18243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18244
521c6785
AJ
182452013-07-03 Andreas Jaeger <aj@suse.de>
18246
18247 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18248 define.
18249 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18250 (ptrace_peeksiginfo_args): Add.
18251 (__ptrace_peeksiginfo_flags): Add.
18252 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18253 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18254 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18255
d2cc15cb
AM
182562013-07-03 Allan McRae <allan@archlinux.org>
18257
18258 * sysdeps/i386/fpu/libm-test-ulps: Update.
18259
3aaeeca7
DM
182602013-07-02 David S. Miller <davem@davemloft.net>
18261
18262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18263
5314ed1a
MT
182642013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18265
18266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18267
67338156
JM
182682013-07-02 Joseph Myers <joseph@codesourcery.com>
18269
18270 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18272
1717da59
AK
182732013-07-02 Andi Kleen <ak@linux.intel.com>
18274
18275 * config.h.in (ENABLE_LOCK_ELISION): Add.
18276 * configure.in (--enable-lock-elision): Add option.
18277 * manual/install.texi: Document --enable lock elision.
18278 * configure: Regenerate
18279 * INSTALL: Regenerate.
18280
1c81621c
L
182812013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18282
18283 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18284 SSE4.2 strcasecmp for libc.a.
18285 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18286
77f01ab5
JM
182872013-07-02 Joseph Myers <joseph@codesourcery.com>
18288
18289 [BZ #13304]
18290 * soft-fp/op-common.h (_FP_FMA): New macro.
18291 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18292 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18293 (_FP_MUL_MEAT_1_imm): ... here.
18294 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18295 (_FP_MUL_MEAT_1_wide): ... here.
18296 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18297 (_FP_MUL_MEAT_1_hard): ... here.
18298 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18299 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18300 (_FP_MUL_MEAT_2_wide): ... here.
18301 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18302 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18303 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18304 (_FP_MUL_MEAT_2_gmp): ... here.
18305 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18306 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18307 (_FP_MUL_MEAT_4_wide): ... here.
18308 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18309 (_FP_MUL_MEAT_4_gmp): ... here.
18310 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18311 (_FP_WFRACBITS_DW_S): Likewise.
18312 (_FP_WFRACXBITS_DW_S): Likewise.
18313 (_FP_HIGHBIT_DW_S): Likewise.
18314 (FP_FMA_S): Likewise.
18315 (_FP_FRAC_HIGH_DW_S): Likewise.
18316 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18317 (_FP_WFRACBITS_DW_D): Likewise.
18318 (_FP_WFRACXBITS_DW_D): Likewise.
18319 (_FP_HIGHBIT_DW_D): Likewise.
18320 (FP_FMA_D): Likewise.
18321 (_FP_FRAC_HIGH_DW_D): Likewise.
18322 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18323 (_FP_WFRACBITS_DW_E): Likewise.
18324 (_FP_WFRACXBITS_DW_E): Likewise.
18325 (_FP_HIGHBIT_DW_E): Likewise.
18326 (FP_FMA_E): Likewise.
18327 (_FP_FRAC_HIGH_DW_E): Likewise.
18328 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18329 (_FP_WFRACBITS_DW_Q): Likewise.
18330 (_FP_WFRACXBITS_DW_Q): Likewise.
18331 (_FP_HIGHBIT_DW_Q): Likewise.
18332 (FP_FMA_Q): Likewise.
18333 (_FP_FRAC_HIGH_DW_Q): Likewise.
18334 * soft-fp/fmasf4.c: New file.
18335 * soft-fp/fmadf4.c: Likewise.
18336 * soft-fp/fmatf4.c: Likewise.
18337
6308fd9a
LD
183382013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18339
18340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18341 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18342 Silvermont.
18343 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18344 macro.
18345 (index_Slow_SSE4_2): Likewise.
18346 (index_Prefer_PMINUB_for_stringop): Likewise.
18347 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18348 bit_Slow_SSE4_2 is set.
18349 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18350 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18351
89cd9569
RA
183522013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18353
18354 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18355 rtld_global._dl_hwcap2.
18356 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18357 POWER8.
18358 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18359 POWER8 feature descriptions defined in _dl_hwcap2.
18360 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18361 string handling for POWER8 feature bits.
18362 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18363 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18364 _dl_powerpc_cap_flags.
18365 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18366 * sysdeps/powerpc/rtld-global-offsets.sym
18367 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18368 _dl_hwcap2 in the rtld_global_ro structure.
18369
1ae8bfe0
RA
183702013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18371
18372 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18373 hardware capabilities in support of AT_HWCAP2.
18374 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18375 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18376 GLRO(dl_hwcap2).
18377 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18378 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18379 explicitly the unknown a_type display mechanism is used.
18380 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18381 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18382 struct member.
18383 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18384 to macro prototype for AT_HWCAP2 support.
18385 * sysdeps/i386/dl-procinfo.h: Likewise.
18386 * sysdeps/s390/dl-procinfo.h: Likewise.
18387 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18388 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18389 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18390 return -1 for unknown a_type display fallback.
18391 * sysdeps/sparc/dl-procinfo.h: Likewise.
18392 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18393 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18394
8fbec010
JM
183952013-06-28 Joseph Myers <joseph@codesourcery.com>
18396
18397 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18398 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18399
0432680e
PY
184002013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18401
18402 [BZ #12492]
18403 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18404 mprotect making __stack_prot writable.
18405
ce61a2ad
NF
184062013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18407 Joseph Myers <joseph@codesourcery.com>
18408
18409 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18410 as being properly aligned.
18411
f91f1c0f
MR
184122013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18413
3d0f5d0c
MR
18414 * dlfcn/modstatic5.c: New file.
18415 * dlfcn/tststatic5.c: New file.
18416 * dlfcn/Makefile (tests): Add tststatic5.
18417 (tests-static): Likewise.
18418 (modules-names): Add modstatic5.
18419 (tststatic5-ENV): New variable.
18420 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18421
f91f1c0f
MR
18422 [BZ #15022]
18423 * elf/dl-support.c (_dl_main_map): New variable.
18424 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18425 (_dl_nns, _dl_load_adds): Set to 1.
18426 (_dl_initial_searchlist): Refer to _dl_main_map.
18427 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18428 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18429 call to _dl_get_origin.
18430 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18431 around call_map.
18432 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18433 * dlfcn/modstatic3.c: New file.
18434 * dlfcn/tststatic3.c: New file.
18435 * dlfcn/tststatic4.c: New file.
18436 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18437 (tests-static): Likewise.
18438 (modules-names): Add modstatic3.
18439 (tststatic3-ENV, tststatic4-ENV): New variables.
18440 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18441 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18442
cbe7d24b
JM
184432013-06-26 Joseph Myers <joseph@codesourcery.com>
18444
18445 * configure.in (CC): Require GCC version 4.4 or later.
18446 * configure: Regenerated.
18447 * manual/install.texi (Tools for Compilation): Update GCC version
18448 requirement.
18449 * INSTALL: Regenerated.
18450
11b8a0e1
LD
184512013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18452
18453 [BZ #15674]
bb5bb87c
L
18454 * string/test-memcmp.c (check2): New.
18455 (main): Call check2.
18456
11b8a0e1
LD
18457 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18458
b0037103
MR
184592013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18460
18461 [BZ #15022]
18462 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18463 over to...
18464 (dl_open_worker) [!SHARED]: ... here.
18465
c18c701d
RA
184662013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18467
18468 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18469
1d17fa5f
RH
184702013-06-25 Richard Henderson <rth@redhat.com>
18471
18472 * locale/programs/locarchive.c: Include <libc-internal.h>
18473
8fcb833a
JM
184742013-06-25 Joseph Myers <joseph@codesourcery.com>
18475
18476 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18477 trailing whitespace removed.
18478
17db6e8d
MF
184792013-06-24 Mike Frysinger <vapier@gentoo.org>
18480
18481 [BZ #10283]
17db6e8d
MF
18482 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18483 * locale/programs/locarchive.c: Include libc-mmap.h.
18484 (prepare_address_space): Take two new outputs (the mmap base and len).
18485 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18486 values.
18487 (create_archive): Declare new mmap base and len values for
18488 prepare_address_space, and store the result in ah.
18489 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18490 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18491 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18492 Declare new mmap base and len values for
18493 prepare_address_space, and store the result in new_ah.
18494 (open_archive): Declare new mmap base and len values for
18495 prepare_address_space, and store the result in ah.
18496 (close_archive): If ah->mmap_base is not NULL, use that and
18497 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18498 * sysdeps/generic/libc-mmap.h: New file.
18499
d605071e
MF
185002013-06-24 Mike Frysinger <vapier@gentoo.org>
18501
18502 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18503 (ALIGN_UP): Likewise.
18504 (PTR_ALIGN_DOWN): Likewise.
18505 (PTR_ALIGN_UP): Likewise.
18506
2f063a6e
RA
185072013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18508
18509 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18510 entry mapped to PPC_PLATFORM_POWER8.
18511 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18512 POWER8.
18513 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18514 (_dl_string_platform): Add case for exporting platform position for
18515 POWER8.
18516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18517 search path to sysdeps/powerpc/powerpc32/power8 directory.
18518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18519 search path to sysdeps/powerpc/powerpc64/power8 directory.
18520 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18521 power7 directories.
18522 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18523 power7 directories.
18524
a31ee4b3
SP
185252013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18526
a74ca98f
SP
18527 * INSTALL: Regenerate.
18528
a31ee4b3
SP
18529 * nscd/connections.c (nscd_init): Fix comment.
18530
695c378f
JM
185312013-06-22 Joseph Myers <joseph@codesourcery.com>
18532
d8412221
JM
18533 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18534
695c378f
JM
18535 [BZ #15667]
18536 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18537 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18538
d1d54715
MR
185392013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18540
18541 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18542 DL_DST_REQ_STATIC.
18543 (DL_DST_REQ_STATIC): Remove macro.
18544
8fdda7af
JM
185452013-06-21 Joseph Myers <joseph@codesourcery.com>
18546
18547 [BZ #7006]
18548 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18549 with a shift of 0 bits.
18550
f3bc5e5a
MR
185512013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18552
18553 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18554 $(tststatic-ENV).
18555
be09e8c9
KK
185562013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18557
18558 [BZ #15655]
18559 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18560
85c2e611
AZ
185612013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18562
18563 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18564 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18565 accepts -fno-tree-loop-distribute-patterns.
18566 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18567 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18568 recursive call.
18569 * string/memset.c (memset): Likewise.
18570 * string/test-memmove.c (simple_memmove): Disable loop transformation
18571 to library calls.
18572 * string/test-memset.c (simple_memset): Likewise.
18573 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18574 * benchtests/bench-memset.c (simple_memset): Likewise.
18575 * configure: Regenerated.
18576
c91e0825
JM
185772013-06-20 Joseph Myers <joseph@codesourcery.com>
18578
b8c792af
JM
18579 * math/test-misc.c (main): Ignore fesetround failure when failures
18580 of subsequent rounding tests would be ignored.
18581
c91e0825
JM
18582 [BZ #15654]
18583 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18584 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18585 * math/fegetenv.c (__fegetenv): Return 0.
18586 * math/fegetexcept.c (fegetexcept): Return 0.
18587 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18588 FE_TONEAREST.
18589 * math/feholdexcpt.c (feholdexcept): Return 0.
18590 * math/fesetenv.c (__fesetenv): Return 0.
18591 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18592 argument FE_TONEAREST.
18593 * math/feupdateenv.c (__feupdateenv): Return 0.
18594 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18595
bfcacbde
RM
185962013-06-18 Roland McGrath <roland@hack.frob.com>
18597
18598 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18599 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18600 ($(objpfx)rtld-%.os rules): Use them.
18601
e55a9b25
AZ
186022013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18603
18604 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18605 fields.
18606
346d65b3
RM
186072013-06-17 Roland McGrath <roland@hack.frob.com>
18608
12086fb4
RM
18609 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18610 length of target pattern, then descending length of dependency pattern.
18611 * configure.in (AWK): Require gawk 3.1.2 or newer.
18612 * manual/install.texi (Tools for Compilation): Say that we do.
18613 * configure: Regenerated.
18614
346d65b3
RM
18615 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18616 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18617 * scripts/sysd-rules.awk: ... this new script.
18618 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18619 than a glob-style pattern.
18620
1a846317
JM
186212013-06-17 Joseph Myers <joseph@codesourcery.com>
18622
18623 * math/test-misc.c (main): Do not treat incorrectly rounded
18624 conversions as failure unless ROUNDING_TESTS passes.
18625
8fc75e6f
JM
186262013-06-15 Joseph Myers <joseph@codesourcery.com>
18627
3711a167
JM
18628 [BZ #15631]
18629 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18630 restore exception state around main square root computation, then
18631 check for inexactness explicitly.
18632
8fc75e6f
JM
18633 * math/libm-test.inc (fma_test_data): Add another test.
18634
61dd6208
SP
186352013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18636
adf23d2c
SP
18637 * manual/threads.texi (Non-POSIX Extensions): New document
18638 node. Document pthread_getattr_default_np and
18639 pthread_setattr_default_np.
18640
61dd6208
SP
18641 * Versions.def (libpthread): Add GLIBC_2.18.
18642 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18644 Likewise.
18645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18646 Likewise.
18647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18648 Likewise.
18649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18650 Likewise.
18651 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18652 Likewise.
18653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18654 Likewise.
18655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18656 Likewise.
18657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18658 Likewise.
18659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18660 Likewise.
18661
d086fc7b
LD
186622013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18663
18664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18665 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18666
747ef469
SP
186672013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18668 H.J. Lu <hjl.tools@gmail.com>
18669
18670 [BZ #15627]
18671 * sysdeps/x86_64/rtld-memset.c: Remove file.
18672 * sysdeps/x86_64/rtld-memset.S: New file.
18673
1b2feed2
JM
186742013-06-14 Joseph Myers <joseph@codesourcery.com>
18675
18676 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18677 (test_in_one_mode): Take arguments for whether the rounding mode
18678 is supported for each floating-point type.
18679 (do_test): Pass new arguments to test_in_one_mode using
18680 ROUNDING_TESTS.
18681
a58ad3f8
RM
186822013-06-13 Roland McGrath <roland@hack.frob.com>
18683
18684 * posix/tst-waitid.c (do_test): Distinguish different instances of
18685 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18686 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18687 before entering the kernel for waitpid.
18688
c204ab28
SP
186892013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18690
18691 * NEWS: Fix note on clock function precision. Text by Roland
18692 McGrath.
18693
f4a29fba
RM
186942013-06-13 Roland McGrath <roland@hack.frob.com>
18695
18696 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18697 it into place only when and if the sanity check passes.
18698
1f24b9ad
JM
186992013-06-13 Joseph Myers <joseph@codesourcery.com>
18700
18701 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18702 output for whether conversion result is exact. Take argument
18703 indicating whether type is IBM long double.
18704 (round_for_all): Change need_exact field to ibm_ld.
18705 * stdlib/tst-strtod-round.c (struct exactness): New type.
18706 (struct test): Change bool ld_ok field to struct exactness exact.
18707 (TEST): Update all definitions for change to field.
18708 (tests): Regenerate array contents.
18709 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18710 field value. Check for IBM long double here.
18711 (do_test): Update calls to test_in_one_mode.
18712
58206c68
SP
187132013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18714
18715 [BZ #12515]
18716 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18717 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18718
2d6f4c5b 187192013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
18720
18721 [BZ #15605]
18722 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18723 generated by the compiler on loop optimizations.
18724 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18725 general definitions.
18726
94f2c076
JM
187272013-06-12 Joseph Myers <joseph@codesourcery.com>
18728
18729 * math/bug-nextafter.c: Include <math-tests.h>.
18730 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18731 the relevant type.
18732 * math/bug-nexttoward.c: Include <math-tests.h>.
18733 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18734 the relevant type.
18735 * math/test-misc.c: Include <math-tests.h>.
18736 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18737 the relevant type.
18738
e0e50a0a
AJ
187392013-06-12 Andreas Jaeger <aj@suse.de>
18740
18741 * po/ia.po: Update Interlingua translation from translation
18742 project.
18743
25061094
SP
187442013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18745
18746 * include/fenv.h: Include stdbool.h.
18747 (struct rm_ctx): New structure.
18748 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18749 Define macro.
18750 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18751 (SET_RESTORE_ROUNDF): Likewise.
18752 (SET_RESTORE_ROUNDL): Likewise.
18753 (SET_RESTORE_ROUND_NOEX): Likewise.
18754 (SET_RESTORE_ROUND_NOEXF): Likewise.
18755 (SET_RESTORE_ROUND_NOEXL): Likewise.
18756 (SET_RESTORE_ROUND_53BIT): Likewise.
18757 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18758 (libc_feresetround_noexf_ctx): Likewise.
18759 (libc_feresetround_noexl_ctx): Likewise.
18760 (libc_feholdsetround_53bit_ctx): Likewise.
18761 (libc_feresetround_53bit_ctx): Likewise.
18762 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18763 (libc_feholdexcept_setround_sse_ctx): New function.
18764 (libc_fesetenv_sse_ctx): Likewise.
18765 (libc_feupdateenv_sse_ctx): Likewise.
18766 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18767 (libc_feholdexcept_setround_387_ctx): Likewise.
18768 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18769 (libc_feholdsetround_387_prec_ctx): Likewise.
18770 (libc_feholdsetround_387_ctx): Likewise.
18771 (libc_feholdsetround_387_53bit_ctx): Likewise.
18772 (libc_feholdsetround_sse_ctx): Likewise.
18773 (libc_feresetround_sse_ctx): Likewise.
18774 (libc_feresetround_387_ctx): Likewise.
18775 (libc_feupdateenv_387_ctx): Likewise.
18776 (libc_feholdexcept_setroundf_ctx): Define macro.
18777 (libc_fesetenvf_ctx): Likewise.
18778 (libc_feupdateenvf_ctx): Likewise.
18779 (libc_feholdsetroundf_ctx): Likewise.
18780 (libc_feresetroundf_ctx): Likewise.
18781 (libc_feholdexcept_setround_ctx): Likewise.
18782 (libc_fesetenv_ctx): Likewise.
18783 (libc_feupdateenv_ctx): Likewise.
18784 (libc_feholdsetround_ctx): Likewise.
18785 (libc_feresetround_ctx): Likewise.
18786 (libc_feholdexcept_setroundl_ctx): Likewise.
18787 (libc_feupdateenvl_ctx): Likewise.
18788 (libc_feholdsetroundl_ctx): Likewise.
18789 (libc_feresetroundl_ctx): Likewise.
18790 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18791 (libc_feresetround_53bit_ctx): Likewise.
18792
59b30555
SP
187932013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18794
18795 * locale/iso-639.def: Convert to UTF-8.
18796
f1d73d30
JM
187972013-06-11 Joseph Myers <joseph@codesourcery.com>
18798
18799 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18800 (EXCEPTION_TESTS_double): Likewise.
18801 (EXCEPTION_TESTS_long_double): Likewise.
18802 (EXCEPTION_TESTS): Likewise.
18803 * math/libm-test.inc (test_exceptions): Only test exceptions if
18804 EXCEPTION_TESTS (FLOAT).
18805
94aca5e7
SP
188062013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18807
18808 * benchtests/Makefile (string-bench): Add strcpy_chk and
18809 stpcpy_chk.
18810 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18811 * benchtests/bench-stpcpy_chk.c: New file.
18812 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18813 * benchtests/bench-strcpy_chk.c: New file.
18814 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18815 code.
18816 (do_test): Likewise.
18817
fac0c5f2
RA
188182013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18819
18820 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18821 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18822 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18823 with tabs where appropriate.
18824 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18825 dl-procinfo.h.
18826 [PPC_PLATFORM_PPC440]: Likewise.
18827 [PPC_PLATFORM_PPC464]: Likewise.
18828 [PPC_PLATFORM_PPC476]: Likewise.
18829 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18830 ppc464, and ppc476 platform strings merging from ports/
18831 dl-procinfo.h.
18832
f22bc486
AS
188332013-06-11 Andreas Schwab <schwab@suse.de>
18834
18835 [BZ #14991]
18836 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18837 (from_ucs4_idx): Regenerate.
18838 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18839 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18840 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18841 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18842 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18843 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18844 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18845 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18846 from FROM_LOOP and TO_LOOP specific macros.
18847 (BODY): Handle combining characters.
18848 * iconvdata/BIG5HKSCS.irreversible: Update.
18849 * iconvdata/BIG5HKSCS.precomposed: New file.
18850 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18851 characters.
18852 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18853
c1f75dc3
SP
188542013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18855
4eacded2
SP
18856 * include/sys/time.h: Fix indentation and add copyright header.
18857
fec799f8
SP
18858 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18859 (do_test): Likewise.
18860 * string/test-memchr.c (do_one_test): Likewise.
18861 (do_test): Likewise.
18862 * string/test-memcmp.c (do_one_test): Likewise.
18863 (do_test): Likewise.
18864 * string/test-memcpy.c (do_one_test): Likewise.
18865 (do_test): Likewise.
18866 * string/test-memmem.c (do_one_test): Likewise.
18867 (do_test): Likewise.
18868 (do_random_tests): Likewise.
18869 * string/test-memmove.c (do_one_test): Likewise.
18870 (do_test): Likewise.
18871 * string/test-memset.c (do_one_test): Likewise.
18872 (do_test): Likewise.
18873 * string/test-rawmemchr.c (do_one_test): Likewise.
18874 (do_test): Likewise.
18875 * string/test-strcasecmp.c (do_one_test): Likewise.
18876 (do_test): Likewise.
18877 * string/test-strcasestr.c (do_one_test): Likewise.
18878 (do_test): Likewise.
18879 * string/test-strcat.c (do_one_test): Likewise.
18880 (do_test): Likewise.
18881 * string/test-strchr.c (do_one_test): Likewise.
18882 (do_test): Likewise.
18883 * string/test-strcmp.c (do_one_test): Likewise.
18884 (do_test): Likewise.
18885 * string/test-strcpy.c (do_one_test): Likewise.
18886 (do_test): Likewise.
18887 * string/test-string.h: Likewise.
18888 (test_init): Likewise.
18889 * string/test-strlen.c (do_one_test): Likewise.
18890 (do_test): Likewise.
18891 * string/test-strncasecmp.c (do_one_test): Likewise.
18892 (do_test): Likewise.
18893 * string/test-strncat.c (do_one_test): Likewise.
18894 (do_test): Likewise.
18895 * string/test-strncmp.c (do_one_test): Likewise.
18896 (do_test_limit): Likewise.
18897 (do_test): Likewise.
18898 * string/test-strncpy.c (do_one_test): Likewise.
18899 (do_test): Likewise.
18900 * string/test-strnlen.c (do_one_test): Likewise.
18901 (do_test): Likewise.
18902 * string/test-strpbrk.c (do_one_test): Likewise.
18903 (do_test): Likewise.
18904 * string/test-strrchr.c (do_one_test): Likewise.
18905 (do_test): Likewise.
18906 * string/test-strspn.c (do_one_test): Likewise.
18907 (do_test): Likewise.
18908 * string/test-strstr.c (do_one_test): Likewise.
18909 (do_test): Likewise.
18910
97020474
SP
18911 * benchtests/Makefile (string-bench): Add string benchmarks.
18912 * benchtests/bench-bcopy-ifunc.c: New file.
18913 * benchtests/bench-bcopy.c: New file.
18914 * benchtests/bench-bzero-ifunc.c: New file.
18915 * benchtests/bench-bzero.c: New file.
18916 * benchtests/bench-memccpy-ifunc.c: New file.
18917 * benchtests/bench-memccpy.c: New file.
18918 * benchtests/bench-memchr-ifunc.c: New file.
18919 * benchtests/bench-memchr.c: New file.
18920 * benchtests/bench-memcmp-ifunc.c: New file.
18921 * benchtests/bench-memcmp.c: New file.
18922 * benchtests/bench-memmem-ifunc.c: New file.
18923 * benchtests/bench-memmem.c: New file.
18924 * benchtests/bench-memmove-ifunc.c: New file.
18925 * benchtests/bench-memmove.c: New file.
18926 * benchtests/bench-mempcpy-ifunc.c: New file.
18927 * benchtests/bench-mempcpy.c: New file.
18928 * benchtests/bench-memset-ifunc.c: New file.
18929 * benchtests/bench-memset.c: New file.
18930 * benchtests/bench-rawmemchr-ifunc.c: New file.
18931 * benchtests/bench-rawmemchr.c: New file.
18932 * benchtests/bench-stpcpy-ifunc.c: New file.
18933 * benchtests/bench-stpcpy.c: New file.
18934 * benchtests/bench-stpncpy-ifunc.c: New file.
18935 * benchtests/bench-stpncpy.c: New file.
18936 * benchtests/bench-strcasecmp-ifunc.c: New file.
18937 * benchtests/bench-strcasecmp.c: New file.
18938 * benchtests/bench-strcasestr-ifunc.c: New file.
18939 * benchtests/bench-strcasestr.c: New file.
18940 * benchtests/bench-strcat-ifunc.c: New file.
18941 * benchtests/bench-strcat.c: New file.
18942 * benchtests/bench-strchr-ifunc.c: New file.
18943 * benchtests/bench-strchr.c: New file.
18944 * benchtests/bench-strchrnul-ifunc.c: New file.
18945 * benchtests/bench-strchrnul.c: New file.
18946 * benchtests/bench-strcmp-ifunc.c: New file.
18947 * benchtests/bench-strcmp.c: New file.
18948 * benchtests/bench-strcpy-ifunc.c: New file.
18949 * benchtests/bench-strcpy.c: New file.
18950 * benchtests/bench-strcspn-ifunc.c: New file.
18951 * benchtests/bench-strcspn.c: New file.
18952 * benchtests/bench-strlen-ifunc.c: New file.
18953 * benchtests/bench-strlen.c: New file.
18954 * benchtests/bench-strncasecmp-ifunc.c: New file.
18955 * benchtests/bench-strncasecmp.c: New file.
18956 * benchtests/bench-strncat-ifunc.c: New file.
18957 * benchtests/bench-strncat.c: New file.
18958 * benchtests/bench-strncmp-ifunc.c: New file.
18959 * benchtests/bench-strncmp.c: New file.
18960 * benchtests/bench-strncpy-ifunc.c: New file.
18961 * benchtests/bench-strncpy.c: New file.
18962 * benchtests/bench-strnlen-ifunc.c: New file.
18963 * benchtests/bench-strnlen.c: New file.
18964 * benchtests/bench-strpbrk-ifunc.c: New file.
18965 * benchtests/bench-strpbrk.c: New file.
18966 * benchtests/bench-strrchr-ifunc.c: New file.
18967 * benchtests/bench-strrchr.c: New file.
18968 * benchtests/bench-strspn-ifunc.c: New file.
18969 * benchtests/bench-strspn.c: New file.
18970 * benchtests/bench-strstr-ifunc.c: New file.
18971 * benchtests/bench-strstr.c: New file.
18972
c1f75dc3
SP
18973 * benchtests/Makefile: Disable parallel execution of targets.
18974 (string-bench): Add memcpy.
18975 (benchset): New variable to store a list of benchmark sets.
18976 (bench-func): Renamed from bench.
18977 (bench-set): New target.
18978 (bench): Depend on bench-func and bench-set.
18979 * benchtests/README: Add section on benchmark sets.
18980 * benchtests/bench-memcpy-ifunc.c: New file.
18981 * benchtests/bench-memcpy.c: New file.
18982 * benchtests/bench-string.h: New file.
18983
50fd745b
AS
189842013-06-11 Andreas Schwab <schwab@suse.de>
18985
18986 [BZ #15577]
18987 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18988 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18989 values in the triple.
18990 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18991 terminator in the group key.
18992
3ee7e9fe
AJ
189932013-06-11 Andreas Jaeger <aj@suse.de>
18994
18995 * po/zh_TW.po: Update Chinese (traditional) translation from
18996 translation project.
18997
89fb6835
SP
189982013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18999
19000 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19001 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19002 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19003 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19004 (clock_getcpuclockid): Likewise.
19005 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19006 Add weak_alias and libc_hidden_def.
19007 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19008 * rt/clock_gettime.c (clock_gettime): Rename to
19009 __clock_gettime. Add weak_alias and libc_hidden_def.
19010 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19011 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19012 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19013 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19014 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19015 Likewise.
19016 * rt/clock_settime.c (clock_settime): Rename to
19017 __clock_settime. Add weak_alias and libc_hidden_def.
19018 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19019
0efa6f8b
JM
190202013-06-10 Joseph Myers <joseph@codesourcery.com>
19021
b8c61b4b
JM
19022 * mach/err_boot.sub: Remove trailing whitespace.
19023 * mach/err_ipc.sub: Likewise.
19024 * mach/err_mach.sub: Likewise.
19025
0efa6f8b
JM
19026 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19027 (ROUNDING_TESTS_double): Likewise.
19028 (ROUNDING_TESTS_long_double): Likewise.
19029 (ROUNDING_TESTS): Likewise.
19030 * math/libm-test.inc: Include <math-tests.h>.
19031 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19032 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19033 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19034 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19035
50b818bf
SP
190362013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19037
19038 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19039 of assigning.
19040
60d2f8f3
JM
190412013-06-08 Joseph Myers <joseph@codesourcery.com>
19042
4902d2c3
JM
19043 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19044 otherwise empty TRANS lines.
19045 * sysdeps/gnu/errlist.c: Regenerated.
19046
60d2f8f3
JM
19047 * catgets/gencat.c (error_print): Use (void) in function
19048 definition.
19049 * crypt/crypt_util.c (__init_des): Likewise.
19050 * crypt/speeds.c (Stop): Likewise.
19051 (main): Likewise.
19052 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19053 * inet/ruserpass.c (token): Likewise.
19054 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19055 * intl/localealias.c (extend_alias_table): Likewise.
19056 * intl/plural-exp.c (init_germanic_plural): Likewise.
19057 * libio/fcloseall.c (__fcloseall): Likewise.
19058 * libio/genops.c (_IO_flush_all): Likewise.
19059 (_IO_flush_all_linebuffered): Likewise.
19060 (_IO_cleanup): Likewise.
19061 (_IO_iter_begin): Likewise.
19062 (_IO_iter_end): Likewise.
19063 (_IO_list_lock): Likewise.
19064 (_IO_list_unlock): Likewise.
19065 (_IO_list_resetlock): Likewise.
19066 * libio/getchar.c (getchar): Likewise.
19067 * libio/getchar_u.c (getchar_unlocked): Likewise.
19068 * libio/getwchar.c (getwchar): Likewise.
19069 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19070 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19071 * login/getpt.c (__getpt): Likewise.
19072 * login/tst-utmp.c (main): Likewise.
19073 * malloc/hooks.c (__malloc_check_init): Likewise.
19074 * malloc/malloc.c (__malloc_stats): Likewise.
19075 * malloc/mtrace.c (tr_break): Likewise.
19076 (mtrace): Likewise.
19077 (muntrace): Likewise.
19078 * misc/fstab.c (endfsent): Likewise.
19079 * misc/getclktck.c (__getclktck): Likewise.
19080 * misc/getdtsz.c (__getdtablesize): Likewise.
19081 * misc/gethostid.c (gethostid): Likewise.
19082 * misc/getpagesize.c (__getpagesize): Likewise.
19083 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19084 (__get_nprocs): Likewise.
19085 (__get_phys_pages): Likewise.
19086 (__get_avphys_pages): Likewise.
19087 * misc/getttyent.c (getttyent): Likewise.
19088 (setttyent): Likewise.
19089 (endttyent): Likewise.
19090 * misc/getusershell.c (getusershell): Likewise.
19091 (endusershell): Likewise.
19092 (setusershell): Likewise.
19093 (initshells): Likewise.
19094 * misc/hsearch.c (__hdestroy): Likewise.
19095 * misc/sync.c (sync): Likewise.
19096 * misc/syslog.c (closelog_internal): Likewise.
19097 (closelog): Likewise.
19098 * misc/ttyslot.c (ttyslot): Likewise.
19099 * misc/vhangup.c (vhangup): Likewise.
19100 * posix/fork.c (__fork): Likewise.
19101 * posix/getegid.c (__getegid): Likewise.
19102 * posix/geteuid.c (__geteuid): Likewise.
19103 * posix/getgid.c (__getgid): Likewise.
19104 * posix/getpid.c (__getpid): Likewise.
19105 * posix/getppid.c (__getppid): Likewise.
19106 * posix/getuid.c (__getuid): Likewise.
19107 * posix/pause.c (pause): Likewise.
19108 * posix/setpgrp.c (setpgrp): Likewise.
19109 * posix/setsid.c (__setsid): Likewise.
19110 * posix/test-vfork.c (noop): Likewise.
19111 * resolv/gethnamaddr.c (_endhtent): Likewise.
19112 (_gethtent): Likewise.
19113 (ht_endhostent): Likewise.
19114 (gethostent): Likewise.
19115 (dns_service): Likewise.
19116 * stdlib/drand48.c (drand48): Likewise.
19117 * stdlib/lrand48.c (lrand48): Likewise.
19118 * stdlib/mrand48.c (mrand48): Likewise.
19119 * stdlib/rand.c (rand): Likewise.
19120 * stdlib/random.c (__random): Likewise.
19121 * stdlib/setenv.c (clearenv): Likewise.
19122 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19123 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19124 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19125 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19126 (__get_nprocs): Likewise.
19127 (__get_phys_pages): Likewise.
19128 (__get_avphys_pages): Likewise.
19129 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19130 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19131 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19132 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19133 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19134 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19135 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19136 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19137 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19138 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19139 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19140 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19141 * sysdeps/posix/clock.c (clock): Likewise.
19142 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19143 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19144 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19145 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19146 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19147 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19148 (__get_nprocs_conf): Likewise.
19149 (__get_phys_pages): Likewise.
19150 (__get_avphys_pages): Likewise.
19151 * time/clock.c (clock): Likewise.
19152 * time/tzset.c (__tzname_max): Likewise.
19153
2e09a79a
JM
191542013-06-07 Joseph Myers <joseph@codesourcery.com>
19155
19156 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19157 (__bswap_32): Do not use "register".
19158 * crypt/crypt.c (_ufc_doit_r): Likewise.
19159 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19160 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19161 * gmon/gmon.c (__monstartup): Likewise.
19162 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19163 * hurd/hurdmalloc.c (more_memory): Likewise.
19164 (malloc): Likewise.
19165 (free): Likewise.
19166 (realloc): Likewise.
19167 (malloc_fork_prepare): Likewise.
19168 (malloc_fork_parent): Likewise.
19169 (malloc_fork_child): Likewise.
19170 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19171 (_svcauth_des): Likewise.
19172 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19173 * inet/inet_net.c (inet_network): Likewise.
19174 * inet/inet_netof.c (inet_netof): Likewise.
19175 * inet/rcmd.c (__validuser2_sa): Likewise.
19176 * io/fts.c (fts_open): Likewise.
19177 (fts_load): Likewise.
19178 (fts_close): Likewise.
19179 (fts_read): Likewise.
19180 (fts_children): Likewise.
19181 (fts_build): Likewise.
19182 (fts_stat): Likewise.
19183 (fts_sort): Likewise.
19184 (fts_alloc): Likewise.
19185 (fts_lfree): Likewise.
19186 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19187 (_IO_file_xsgetn): Likewise.
19188 (_IO_file_xsgetn_mmap): Likewise.
19189 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19190 (_IO_cookie_write): Likewise.
19191 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19192 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19193 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19194 * malloc/obstack.c (_obstack_begin): Likewise.
19195 (_obstack_begin_1): Likewise.
19196 (_obstack_newchunk): Likewise.
19197 (_obstack_allocated_p): Likewise.
19198 (obstack_free): Likewise.
19199 (_obstack_memory_used): Likewise.
19200 * misc/getttyent.c (getttynam): Likewise.
19201 (getttyent): Likewise.
19202 (skip): Likewise.
19203 (value): Likewise.
19204 * misc/getusershell.c (initshells): Likewise.
19205 * misc/syslog.c (__vsyslog_chk): Likewise.
19206 * misc/ttyslot.c (ttyslot): Likewise.
19207 * nis/nis_hash.c (__nis_hash): Likewise.
19208 * posix/fnmatch_loop.c (FCT): Likewise.
19209 * posix/getconf.c (print_all): Likewise.
19210 (main): Likewise.
19211 * posix/getopt.c (exchange): Likewise.
19212 * posix/glob.c (globfree): Likewise.
19213 (prefix_array): Likewise.
19214 (__glob_pattern_type): Likewise.
19215 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19216 (NS_GET32): Likewise.
19217 (NS_PUT16): Likewise.
19218 (NS_PUT32): Likewise.
19219 * resolv/gethnamaddr.c (getanswer): Likewise.
19220 (gethostbyname2): Likewise.
19221 (gethostbyaddr): Likewise.
19222 (_gethtent): Likewise.
19223 (_gethtbyname2): Likewise.
19224 (_gethtbyaddr): Likewise.
19225 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19226 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19227 * resolv/res_init.c (__res_vinit): Likewise.
19228 (net_mask): Likewise.
19229 * resolv/res_mkquery.c (outchar): Likewise.
19230 (PRINT): Likewise.
19231 * stdio-common/printf_fp.c (outchar): Likewise.
19232 (PRINT): Likewise.
19233 * stdio-common/printf_fphex.c (outchar): Likewise.
19234 (PRINT): Likewise.
19235 * stdio-common/printf_size.c (outchar): Likewise.
19236 (PRINT): Likewise.
19237 * stdio-common/test_rdwr.c (main): Likewise.
19238 * stdio-common/tfformat.c (matches): Likewise.
19239 * stdio-common/vfprintf.c (outchar): Likewise.
19240 (printf_unknown): Likewise.
19241 (buffered_vfprintf): Likewise.
19242 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19243 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19244 (ReadFile): Likewise.
19245 * stdlib/qsort.c (SWAP): Likewise.
19246 (_quicksort): Likewise.
19247 * stdlib/setenv.c (__add_to_environ): Likewise.
19248 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19249 * stdlib/strtol_l.c (__strtol_l): Likewise.
19250 * stdlib/tst-strtod.c (main): Likewise.
19251 * stdlib/tst-strtol.c (main): Likewise.
19252 * stdlib/tst-strtoll.c (main): Likewise.
19253 * string/bits/string2.h (__strcmp_cc): Likewise.
19254 (__strcmp_cg): Likewise.
19255 (__strcspn_c1): Likewise.
19256 (__strcspn_c2): Likewise.
19257 (__strcspn_c3): Likewise.
19258 (__strspn_c1): Likewise.
19259 (__strspn_c2): Likewise.
19260 (__strspn_c3): Likewise.
19261 (__strsep_1c): Likewise.
19262 (__strsep_2c): Likewise.
19263 (__strsep_3c): Likewise.
19264 * string/memccpy.c (__memccpy): Likewise.
19265 * string/stpcpy.c (__stpcpy): Likewise.
19266 * string/strcmp.c (strcmp): Likewise.
19267 * string/strrchr.c (strrchr): Likewise.
19268 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19269 Likewise.
19270 * sysdeps/mach/hurd/getcwd.c
19271 (_hurd_canonicalize_directory_name_internal): Likewise.
19272 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19273 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19274 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19275 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19276 Likewise, in both definitions.
19277 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19278 definitions.
19279 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19280 64] (__bswap_64): Likewise.
19281 * time/test_time.c (main): Likewise.
19282 * time/tzfile.c (__tzfile_read): Likewise.
19283 (__tzfile_compute): Likewise.
19284 * time/tzset.c (__tzset_parse_tz): Likewise.
19285 (tzset_internal): Likewise.
19286 (compute_change): Likewise.
19287 * wcsmbs/wcscat.c (__wcscat): Likewise.
19288 * wcsmbs/wcschr.c (wcschr): Likewise.
19289 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19290 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19291 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19292 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19293 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19294 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19295 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19296 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19297 * wcsmbs/wmemset.c (wmemset): Likewise.
19298
9e54314b
JM
192992013-06-06 Joseph Myers <joseph@codesourcery.com>
19300
19301 * scripts/config.guess: Update to version 2013-05-16.
19302 * scripts/config.sub: Update to version 2013-04-24.
19303 * scripts/install-sh: Update to version 2011-11-20.07.
19304 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19305 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19306
350635a5
OB
193072013-06-06 Ondřej Bílka <neleai@seznam.cz>
19308
19309 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19310 * elf/sln.c: Likewise.
19311 * hurd/hurd/ioctl.h: Likewise.
19312 * hurd/hurdmalloc.c: Likewise.
19313 * hurd/xattr.c: Likewise.
19314 * include/shlib-compat.h: Likewise.
19315 * inet/ruserpass.c: Likewise.
19316 * libio/iofgets_u.c: Likewise.
19317 * libio/iofgetws_u.c: Likewise.
19318 * locale/programs/ld-identification.c: Likewise.
19319 * locale/programs/ld-time.c: Likewise.
19320 * mach/msg-destroy.c: Likewise.
19321 * nss/nss_files/files-netgrp.c: Likewise.
19322 * resolv/res_data.c: Likewise.
19323 * soft-fp/op-1.h: Likewise.
19324 * soft-fp/op-2.h: Likewise.
19325 * soft-fp/op-4.h: Likewise.
19326 * soft-fp/op-common.h: Likewise.
19327 * stdio-common/printf_fphex.c: Likewise.
19328 * stdlib/strtod_l.c: Likewise.
19329 * sunrpc/rpc/clnt.h: Likewise.
19330 * sysdeps/generic/framestate.c: Likewise.
19331 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19332 * sysdeps/i386/bsd-setjmp.S: Likewise.
19333 * sysdeps/i386/__longjmp.S: Likewise.
19334 * sysdeps/i386/setjmp.S: Likewise.
19335 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19336 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19337 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19338 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19340 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19341 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19342 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19343 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19344 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19345 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19346 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19347 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19348 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19349 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19350 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19351 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19352 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19353 * sysdeps/ieee754/support.c: Likewise.
19354 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19355 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19356 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19357 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19358 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19359 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19360 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19361 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19362 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19363 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19364 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19365 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19366 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19367 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19368 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19369 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19370 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19372
44a988af
OB
193732013-06-05 Ondřej Bílka <neleai@seznam.cz>
19374
25506f09 19375 * posix/transbug.c: Remove executable mode.
44a988af 19376
9c84384c
JM
193772013-06-05 Joseph Myers <joseph@codesourcery.com>
19378
19379 * crypt/speeds.c: Remove trailing whitespace.
19380 * dlfcn/default.c: Likewise.
19381 * elf/ifuncdep2.c: Likewise.
19382 * elf/ifuncmain1.c: Likewise.
19383 * elf/ifuncmain1vis.c: Likewise.
19384 * elf/testobj.h: Likewise.
19385 * elf/tst-stackguard1.c: Likewise.
19386 * gmon/sys/gmon.h: Likewise.
19387 * hurd/hurdmsg.c: Likewise.
19388 * hurd/new-fd.c: Likewise.
19389 * hurd/ports-get.c: Likewise.
19390 * iconvdata/ibm1008_420.c: Likewise.
19391 * inet/tst-getni1.c: Likewise.
19392 * inet/tst-getni2.c: Likewise.
19393 * libio/ioungetc.c: Likewise.
19394 * libio/wfiledoalloc.c: Likewise.
19395 * manual/libm-err-tab.pl: Likewise.
19396 * math/w_dremf.c: Likewise.
19397 * misc/ftruncate.c: Likewise.
19398 * posix/bug-glob2.c: Likewise.
19399 * posix/tst-pcre.c: Likewise.
19400 * posix/wait4.c: Likewise.
19401 * resolv/README: Likewise.
19402 * resolv/res_debug.h: Likewise.
19403 * resolv/tst-inet_ntop.c: Likewise.
19404 * setjmp/bug269-setjmp.c: Likewise.
19405 * soft-fp/extended.h: Likewise.
19406 * soft-fp/op-1.h: Likewise.
19407 * soft-fp/op-2.h: Likewise.
19408 * soft-fp/op-4.h: Likewise.
19409 * soft-fp/op-8.h: Likewise.
19410 * soft-fp/testit.c: Likewise.
19411 * stdio-common/bug16.c: Likewise.
19412 * stdlib/random.c: Likewise.
19413 * sunrpc/rpcsvc/rquota.x: Likewise.
19414 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19415 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19416 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19417 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19418 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19419 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19420 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19421 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19422 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19423 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19424 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19425 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19426 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19427 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19428 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19429 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19430 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19431 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19432 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19433 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19434 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19435 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19436 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19437 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19438 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19439 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19440 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19441 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19442 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19443 * sysdeps/ieee754/s_lib_version.c: Likewise.
19444 * sysdeps/mach/hurd/check_fds.c: Likewise.
19445 * sysdeps/mach/hurd/getsockname.c: Likewise.
19446 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19447 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19448 * sysdeps/powerpc/bits/link.h: Likewise.
19449 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19450 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19451 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19452 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19453 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19454 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19455 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19456 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19457 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19458 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19459 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19460 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19461 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19462 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19463 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19464 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19465 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19466 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19467 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19468 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19469 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19470 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19471 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19472 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19473 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19474 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19475 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19476 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19477 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19478 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19479 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19480 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19481 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19482 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19483 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19484 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19485 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19486 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19487 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19488 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19489 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19490 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19491 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19492 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19493 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19494 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19495 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19496 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19497 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19498 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19499 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19500 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19501 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19502 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19503 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19504 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19505 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19506 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19507 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19508 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19509 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19510 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19511 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19512 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19513 * sysdeps/powerpc/sysdep.h: Likewise.
19514 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19515 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19516 * sysdeps/sh/dl-trampoline.S: Likewise.
19517 * sysdeps/sh/memset.S: Likewise.
19518 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19519 * sysdeps/sh/strlen.S: Likewise.
19520 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19521 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19522 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19523 * sysdeps/sparc/sparc32/rem.S: Likewise.
19524 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19525 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19526 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19527 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19528 * sysdeps/sparc/sparc32/urem.S: Likewise.
19529 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19530 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19531 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19532 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19533 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19534 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19535 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19536 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19537 * sysdeps/unix/bsd/times.c: Likewise.
19538 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19539 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19543 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19544 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19545 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19546 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19547 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19548 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19549 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19550 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19551 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19552 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19553 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19554 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19555 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19556 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19557 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19558 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19559 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19560 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19561 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19562 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19563 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19564 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19565 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19566 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19567 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19568 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19569 * sysdeps/x86_64/strcspn.S: Likewise.
19570
869378a5
RA
195712013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19572
19573 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19574 generated file. Regenerate properly from gen-translit.pl.
19575 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19576 locale/C-translit.h.
19577
840e2943
AS
195782013-06-05 Andreas Schwab <schwab@suse.de>
19579
19580 [BZ #15100]
19581 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19582 week as 6 instead of -1.
19583 * time/tst-strptime.c (day_tests): Add test case.
19584
4c60cb0c
SP
195852013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19586
19587 * sysdeps/generic/math_private.h
19588 (libc_feholdexcept_setround_53bit): Replace with
19589 libc_feholdsetround_53bit.
19590 (libc_feupdateenv_53bit): Replace with
19591 libc_feresetround_53bit.
19592 (SET_RESTORE_ROUND_53BIT): Adjust.
19593
d180203e
SP
195942013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19595
96df079a
SP
19596 * string/test-strchrnul.c: Add copyright header.
19597
d180203e
SP
19598 * posix/tst-getaddrinfo4.c: Increase test timeout.
19599
8b0ccb2d
CD
196002013-06-03 Carlos O'Donell <carlos@redhat.com>
19601
19602 [BZ #15536]
19603 * math/libm-test.inc (MAX_EXP): Remove
19604 (MIN_EXP): Define.
19605 (ulp): Use MIN_EXP - MANT_DIG.
19606 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19607
3b3c4d40
CD
196082013-05-31 Carlos O'Donell <carlos@redhat.com>
19609
19610 * po/be.po: Revert last change.
19611 * po/zh_CN.po: Likewise.
19612 * po/header.pot: Likewise.
19613
fab7ce3f
JM
196142013-05-31 Joseph Myers <joseph@codesourcery.com>
19615
19616 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19617 link-libc-deps to empty as target-specific variable.
19618 * Makerules (link-libc-args): New variable.
19619 (libc-for-link): Likewise.
19620 (link-libc-deps): Likewise.
19621 (lib%.so): Depend on $(link-libc-deps). Link with
19622 $(link-libc-args).
19623 (build-module): Link with $(link-libc-args).
19624 (build-module-asneeded): Likewise.
19625 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19626 list of objects.
19627 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19628 target-specific variable.
19629 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19630 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19631 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19632 libc.
19633 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19634 libc and ld.so.
19635 ($(objpfx)libpcprofile.so): Likewise.
19636 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19637 libc_nonshared.a.
19638 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19639 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19640 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19641 $(link-libc-deps).
19642 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19643 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19644 * login/Makefile ($(objpfx)libutil.so): Likewise.
19645 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19646 * math/Makefile ($(objpfx)libm.so): Likewise.
19647 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19648 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19649 variable instead of depending directly on libc.
19650 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19651 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19652 $(link-libc-deps).
19653 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19654 libc.
19655 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19656 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19657 ($(objpfx)libanl.so): Likewise.
19658 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19659 ld.so.
19660 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19661 $(link-libc-deps).
19662 * sysdeps/i386/fpu/Makefile: Remove file.
19663 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19664 ($(objpfx)libm.so): Remove dependency on ld.so.
19665
eca5920c
PF
196662013-05-30 Patsy Franklin <pfrankli@redhat.com>
19667
19668 [BZ # 15553]
19669 * nis/yp_xdr.c (XDRMAXNAME): Define.
19670 (XDRMAXRECORD): Define.
19671 (xdr_domainname): Use XDRMAXNAME.
19672 (xdr_mapname): Likewise.
19673 (xdr_peername): Likewise.
19674 (xdr_keydat): Use XDRMAXRECORD.
19675 (xdr_valdat): Likewise.
19676
196772013-05-30 Jeff Law <law@redhat.com>
96945714
JL
19678
19679 [BZ #14256]
19680 * manual/errno.texi (ESTALE): Update to account for more than
19681 just NFS file systems.
19682 * sysdeps/gnu/errlist.c: Regenerated.
19683
b9375348
SP
196842013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19685
19686 [BZ #15465]
19687 * elf/Makefile (tests): Add tst-null-argv.
19688 (modules-names): Add tst-null-argv-lib.
19689 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19690 (tst-null-argv-ENV): Set environment for tst-null-argv.
19691 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19692 (RTLD_PROGNAME): New macro.
19693 * elf/tst-null-argv.c: New test case.
19694 * elf/tst-null-argv-lib.c: Library for test case.
19695 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19696 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19697 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19698 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19699 * elf/dl-init.c (call_init): Likewise.
19700 (_dl_init): Likewise.
19701 * elf/dl-load.c (print_search_path): Likewise.
19702 (_dl_map_object): Likewise.
19703 * elf/dl-lookup.c (do_lookup_x): Likewise.
19704 (add_dependency): Likewise.
19705 (_dl_lookup_symbol_x): Likewise.
19706 (_dl_debug_bindings): Likewise.
19707 * elf/dl-open.c (_dl_show_scope): Likewise.
19708 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19709 * elf/dl-version.c (match_symbol): Likewise.
19710 (_dl_check_map_versions): Likewise.
19711 * elf/rtld.c (dl_main): Likewise.
19712 (print_unresolved): Use RTLD_PROGNAME.
19713 (print_missing_version): Likewise.
19714 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19715 (elf_machine_rela): Likewise.
19716 * sysdeps/powerpc/powerpc32/dl-machine.c
19717 (__process_machine_rela): Likewise.
19718 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19719 Likewise.
19720 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19721 Likewise.
19722 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19723 Likewise.
19724 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19725 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19726 Likewise.
19727 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19728 Likewise.
19729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19730
8a9f20c8
CD
197312013-05-28 Carlos O'Donell <carlos@redhat.com>
19732
19733 * po/be.po: Add descriptive title.
19734 * po/zh_CN.po: Likewise.
19735 * po/header.pot: Likewise.
19736
0e60d68e
MF
197372013-05-28 Mike Frysinger <vapier@gentoo.org>
19738
19739 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19740 error message.
19741 (enlarge_archive): Likewise.
19742
56b672e9
BN
197432013-05-28 Ben North <ben@redfrontdoor.org>
19744
19745 * manual/arith.texi (frexp): It is the magnitude of the return
19746 value which lies in [0.5, 1), not the return value itself.
19747
5e056687
AZ
197482013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19749
19750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19751
2b66ef5d
TS
197522013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19753
528c2405
TS
19754 * stdio-common/bug26.c (main): Correct fscanf template.
19755
07b4c13d
TS
19756 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19757 declare _dl_skip_args.
19758
ec9dd97c
TS
19759 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19760 Don't declare.
19761
2b66ef5d
TS
19762 * manual/platform.texi: Add missing @end deftypefun.
19763
4f8dfe27
JM
197642013-05-24 Joseph Myers <joseph@codesourcery.com>
19765
0323d086
JM
19766 [BZ #15529]
19767 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19768 bit of mantissa of 2^16382.
19769 * math/libm-test.inc (hypot_test_data): Add more tests.
19770
dd4259b9
JM
19771 * math/libm-test.inc: Add drem and pow10 to list of tested
19772 functions.
19773 (pow10_test): New function.
19774 (drem_test): Likewise.
19775 (drem_test_tonearest): Likewise.
19776 (drem_test_towardzero): Likewise.
19777 (drem_test_downward): Likewise.
19778 (drem_test_upward): Likewise.
19779 (main): Call the new functions.
19780
4f8dfe27
JM
19781 * math/libm-test.inc (finite_test_data): Remove.
19782 (finite_test): Run tests from isfinite_test_data.
19783 (gamma_test_data): Remove.
19784 (gamma_test): Run tests from lgamma_test_data.
19785 * sysdeps/i386/fpu/libm-test-ulps: Update.
19786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19787
d116b7c4
AZ
197882013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19789
19790 * manual/platform.texi: Add PowerPC PPR function set documentation.
19791 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19792 implementation.
19793
e96e3767
CD
197942013-05-24 Carlos O'Donell <carlos@redhat.com>
19795
19796 * math/libm-test.inc (MAX_EXP): Define.
19797 (ULPDIFF): Define.
19798 (ulp): New function.
19799 (check_float_internal): Use ULPDIFF.
19800 (cpow_test): Disable failing test.
19801 (check_ulp): Test ulp() implemetnation.
19802 (main): Call check_ulp before starting tests.
19803
b679a606
JM
198042013-05-24 Joseph Myers <joseph@codesourcery.com>
19805
e8bdba36
JM
19806 * math/gen-libm-test.pl (generate_testfile): Do not handle
19807 START_DATA and END_DATA.
19808 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19809 END_DATA.
19810 (acos_tonearest_test_data): Likewise.
19811 (acos_towardzero_test_data): Likewise.
19812 (acos_downward_test_data): Likewise.
19813 (acos_upward_test_data): Likewise.
19814 (acosh_test_data): Likewise.
19815 (asin_test_data): Likewise.
19816 (asin_tonearest_test_data): Likewise.
19817 (asin_towardzero_test_data): Likewise.
19818 (asin_downward_test_data): Likewise.
19819 (asin_upward_test_data): Likewise.
19820 (asinh_test_data): Likewise.
19821 (atan_test_data): Likewise.
19822 (atanh_test_data): Likewise.
19823 (atan2_test_data): Likewise.
19824 (cabs_test_data): Likewise.
19825 (cacos_test_data): Likewise.
19826 (cacosh_test_data): Likewise.
19827 (carg_test_data): Likewise.
19828 (casin_test_data): Likewise.
19829 (casinh_test_data): Likewise.
19830 (catan_test_data): Likewise.
19831 (catanh_test_data): Likewise.
19832 (cbrt_test_data): Likewise.
19833 (ccos_test_data): Likewise.
19834 (ccosh_test_data): Likewise.
19835 (ceil_test_data): Likewise.
19836 (cexp_test_data): Likewise.
19837 (cimag_test_data): Likewise.
19838 (clog_test_data): Likewise.
19839 (clog10_test_data): Likewise.
19840 (conj_test_data): Likewise.
19841 (copysign_test_data): Likewise.
19842 (cos_test_data): Likewise.
19843 (cos_tonearest_test_data): Likewise.
19844 (cos_towardzero_test_data): Likewise.
19845 (cos_downward_test_data): Likewise.
19846 (cos_upward_test_data): Likewise.
19847 (cosh_test_data): Likewise.
19848 (cosh_tonearest_test_data): Likewise.
19849 (cosh_towardzero_test_data): Likewise.
19850 (cosh_downward_test_data): Likewise.
19851 (cosh_upward_test_data): Likewise.
19852 (cpow_test_data): Likewise.
19853 (cproj_test_data): Likewise.
19854 (creal_test_data): Likewise.
19855 (csin_test_data): Likewise.
19856 (csinh_test_data): Likewise.
19857 (csqrt_test_data): Likewise.
19858 (ctan_test_data): Likewise.
19859 (ctan_tonearest_test_data): Likewise.
19860 (ctan_towardzero_test_data): Likewise.
19861 (ctan_downward_test_data): Likewise.
19862 (ctan_upward_test_data): Likewise.
19863 (ctanh_test_data): Likewise.
19864 (ctanh_tonearest_test_data): Likewise.
19865 (ctanh_towardzero_test_data): Likewise.
19866 (ctanh_downward_test_data): Likewise.
19867 (ctanh_upward_test_data): Likewise.
19868 (erf_test_data): Likewise.
19869 (erfc_test_data): Likewise.
19870 (exp_test_data): Likewise.
19871 (exp_tonearest_test_data): Likewise.
19872 (exp_towardzero_test_data): Likewise.
19873 (exp_downward_test_data): Likewise.
19874 (exp_upward_test_data): Likewise.
19875 (exp10_test_data): Likewise.
19876 (exp2_test_data): Likewise.
19877 (expm1_test_data): Likewise.
19878 (fabs_test_data): Likewise.
19879 (fdim_test_data): Likewise.
19880 (finite_test_data): Likewise.
19881 (floor_test_data): Likewise.
19882 (fma_test_data): Likewise.
19883 (fma_towardzero_test_data): Likewise.
19884 (fma_downward_test_data): Likewise.
19885 (fma_upward_test_data): Likewise.
19886 (fmax_test_data): Likewise.
19887 (fmin_test_data): Likewise.
19888 (fmod_test_data): Likewise.
19889 (fpclassify_test_data): Likewise.
19890 (frexp_test_data): Likewise.
19891 (gamma_test_data): Likewise.
19892 (hypot_test_data): Likewise.
19893 (ilogb_test_data): Likewise.
19894 (isfinite_test_data): Likewise.
19895 (isgreater_test_data): Likewise.
19896 (isgreaterequal_test_data): Likewise.
19897 (isinf_test_data): Likewise.
19898 (isless_test_data): Likewise.
19899 (islessequal_test_data): Likewise.
19900 (islessgreater_test_data): Likewise.
19901 (isnan_test_data): Likewise.
19902 (isnormal_test_data): Likewise.
19903 (issignaling_test_data): Likewise.
19904 (isunordered_test_data): Likewise.
19905 (j0_test_data): Likewise.
19906 (j1_test_data): Likewise.
19907 (jn_test_data): Likewise.
19908 (ldexp_test_data): Likewise.
19909 (lgamma_test_data): Likewise.
19910 (lrint_test_data): Likewise.
19911 (lrint_tonearest_test_data): Likewise.
19912 (lrint_towardzero_test_data): Likewise.
19913 (lrint_downward_test_data): Likewise.
19914 (lrint_upward_test_data): Likewise.
19915 (llrint_test_data): Likewise.
19916 (llrint_tonearest_test_data): Likewise.
19917 (llrint_towardzero_test_data): Likewise.
19918 (llrint_downward_test_data): Likewise.
19919 (llrint_upward_test_data): Likewise.
19920 (log_test_data): Likewise.
19921 (log10_test_data): Likewise.
19922 (log1p_test_data): Likewise.
19923 (log2_test_data): Likewise.
19924 (logb_test_data): Likewise.
19925 (logb_downward_test_data): Likewise.
19926 (lround_test_data): Likewise.
19927 (llround_test_data): Likewise.
19928 (modf_test_data): Likewise.
19929 (nearbyint_test_data): Likewise.
19930 (nextafter_test_data): Likewise.
19931 (nexttoward_test_data): Likewise.
19932 (pow_test_data): Likewise.
19933 (pow_tonearest_test_data): Likewise.
19934 (pow_towardzero_test_data): Likewise.
19935 (pow_downward_test_data): Likewise.
19936 (pow_upward_test_data): Likewise.
19937 (remainder_test_data): Likewise.
19938 (remainder_tonearest_test_data): Likewise.
19939 (remainder_towardzero_test_data): Likewise.
19940 (remainder_downward_test_data): Likewise.
19941 (remainder_upward_test_data): Likewise.
19942 (remquo_test_data): Likewise.
19943 (rint_test_data): Likewise.
19944 (rint_tonearest_test_data): Likewise.
19945 (rint_towardzero_test_data): Likewise.
19946 (rint_downward_test_data): Likewise.
19947 (rint_upward_test_data): Likewise.
19948 (round_test_data): Likewise.
19949 (scalb_test_data): Likewise.
19950 (scalbn_test_data): Likewise.
19951 (scalbln_test_data): Likewise.
19952 (signbit_test_data): Likewise.
19953 (sin_test_data): Likewise.
19954 (sin_tonearest_test_data): Likewise.
19955 (sin_towardzero_test_data): Likewise.
19956 (sin_downward_test_data): Likewise.
19957 (sin_upward_test_data): Likewise.
19958 (sincos_test_data): Likewise.
19959 (sinh_test_data): Likewise.
19960 (sinh_tonearest_test_data): Likewise.
19961 (sinh_towardzero_test_data): Likewise.
19962 (sinh_downward_test_data): Likewise.
19963 (sinh_upward_test_data): Likewise.
19964 (sqrt_test_data): Likewise.
19965 (tan_test_data): Likewise.
19966 (tan_tonearest_test_data): Likewise.
19967 (tan_towardzero_test_data): Likewise.
19968 (tan_downward_test_data): Likewise.
19969 (tan_upward_test_data): Likewise.
19970 (tanh_test_data): Likewise.
19971 (tgamma_test_data): Likewise.
19972 (trunc_test_data): Likewise.
19973 (y0_test_data): Likewise.
19974 (y1_test_data): Likewise.
19975 (yn_test_data): Likewise.
19976 (significand_test_data): Likewise.
19977
b679a606
JM
19978 * math/gen-libm-test.pl (@functions): Remove variable.
19979 (generate_testfile): Don't handle START and END lines.
19980 * math/libm-test.inc (START): New macro.
19981 (END): Likewise.
19982 (END_COMPLEX): Likewise.
19983 (acos_test): Use END macro without arguments.
19984 (acos_test_tonearest): Likewise.
19985 (acos_test_towardzero): Likewise.
19986 (acos_test_downward): Likewise.
19987 (acos_test_upward): Likewise.
19988 (acosh_test): Likewise.
19989 (asin_test): Likewise.
19990 (asin_test_tonearest): Likewise.
19991 (asin_test_towardzero): Likewise.
19992 (asin_test_downward): Likewise.
19993 (asin_test_upward): Likewise.
19994 (asinh_test): Likewise.
19995 (atan_test): Likewise.
19996 (atanh_test): Likewise.
19997 (atan2_test): Likewise.
19998 (cabs_test): Likewise.
19999 (cacos_test): Use END_COMPLEX macro without arguments.
20000 (cacosh_test): Likewise.
20001 (carg_test): Use END macro without arguments.
20002 (casin_test): Use END_COMPLEX macro without arguments.
20003 (casinh_test): Likewise.
20004 (catan_test): Likewise.
20005 (catanh_test): Likewise.
20006 (cbrt_test): Use END macro without arguments.
20007 (ccos_test): Use END_COMPLEX macro without arguments.
20008 (ccosh_test): Likewise.
20009 (ceil_test): Use END macro without arguments.
20010 (cexp_test): Use END_COMPLEX macro without arguments.
20011 (cimag_test): Use END macro without arguments.
20012 (clog_test): Use END_COMPLEX macro without arguments.
20013 (clog10_test): Likewise.
20014 (conj_test): Likewise.
20015 (copysign_test): Use END macro without arguments.
20016 (cos_test): Likewise.
20017 (cos_test_tonearest): Likewise.
20018 (cos_test_towardzero): Likewise.
20019 (cos_test_downward): Likewise.
20020 (cos_test_upward): Likewise.
20021 (cosh_test): Likewise.
20022 (cosh_test_tonearest): Likewise.
20023 (cosh_test_towardzero): Likewise.
20024 (cosh_test_downward): Likewise.
20025 (cosh_test_upward): Likewise.
20026 (cpow_test): Use END_COMPLEX macro without arguments.
20027 (cproj_test): Likewise.
20028 (creal_test): Use END macro without arguments.
20029 (csin_test): Use END_COMPLEX macro without arguments.
20030 (csinh_test): Likewise.
20031 (csqrt_test): Likewise.
20032 (ctan_test): Likewise.
20033 (ctan_test_tonearest): Likewise.
20034 (ctan_test_towardzero): Likewise.
20035 (ctan_test_downward): Likewise.
20036 (ctan_test_upward): Likewise.
20037 (ctanh_test): Likewise.
20038 (ctanh_test_tonearest): Likewise.
20039 (ctanh_test_towardzero): Likewise.
20040 (ctanh_test_downward): Likewise.
20041 (ctanh_test_upward): Likewise.
20042 (erf_test): Use END macro without arguments.
20043 (erfc_test): Likewise.
20044 (exp_test): Likewise.
20045 (exp_test_tonearest): Likewise.
20046 (exp_test_towardzero): Likewise.
20047 (exp_test_downward): Likewise.
20048 (exp_test_upward): Likewise.
20049 (exp10_test): Likewise.
20050 (exp2_test): Likewise.
20051 (expm1_test): Likewise.
20052 (fabs_test): Likewise.
20053 (fdim_test): Likewise.
20054 (finite_test): Likewise.
20055 (floor_test): Likewise.
20056 (fma_test): Likewise.
20057 (fma_test_towardzero): Likewise.
20058 (fma_test_downward): Likewise.
20059 (fma_test_upward): Likewise.
20060 (fmax_test): Likewise.
20061 (fmin_test): Likewise.
20062 (fmod_test): Likewise.
20063 (fpclassify_test): Likewise.
20064 (frexp_test): Likewise.
20065 (gamma_test): Likewise.
20066 (hypot_test): Likewise.
20067 (ilogb_test): Likewise.
20068 (isfinite_test): Likewise.
20069 (isgreater_test): Likewise.
20070 (isgreaterequal_test): Likewise.
20071 (isinf_test): Likewise.
20072 (isless_test): Likewise.
20073 (islessequal_test): Likewise.
20074 (islessgreater_test): Likewise.
20075 (isnan_test): Likewise.
20076 (isnormal_test): Likewise.
20077 (issignaling_test): Likewise.
20078 (isunordered_test): Likewise.
20079 (j0_test): Likewise.
20080 (j1_test): Likewise.
20081 (jn_test): Likewise.
20082 (ldexp_test): Likewise.
20083 (lgamma_test): Likewise.
20084 (lrint_test): Likewise.
20085 (lrint_test_tonearest): Likewise.
20086 (lrint_test_towardzero): Likewise.
20087 (lrint_test_downward): Likewise.
20088 (lrint_test_upward): Likewise.
20089 (llrint_test): Likewise.
20090 (llrint_test_tonearest): Likewise.
20091 (llrint_test_towardzero): Likewise.
20092 (llrint_test_downward): Likewise.
20093 (llrint_test_upward): Likewise.
20094 (log_test): Likewise.
20095 (log10_test): Likewise.
20096 (log1p_test): Likewise.
20097 (log2_test): Likewise.
20098 (logb_test): Likewise.
20099 (logb_test_downward): Likewise.
20100 (lround_test): Likewise.
20101 (llround_test): Likewise.
20102 (modf_test): Likewise.
20103 (nearbyint_test): Likewise.
20104 (nextafter_test): Likewise.
20105 (nexttoward_test): Likewise.
20106 (pow_test): Likewise.
20107 (pow_test_tonearest): Likewise.
20108 (pow_test_towardzero): Likewise.
20109 (pow_test_downward): Likewise.
20110 (pow_test_upward): Likewise.
20111 (remainder_test): Likewise.
20112 (remainder_test_tonearest): Likewise.
20113 (remainder_test_towardzero): Likewise.
20114 (remainder_test_downward): Likewise.
20115 (remainder_test_upward): Likewise.
20116 (remquo_test): Likewise.
20117 (rint_test): Likewise.
20118 (rint_test_tonearest): Likewise.
20119 (rint_test_towardzero): Likewise.
20120 (rint_test_downward): Likewise.
20121 (rint_test_upward): Likewise.
20122 (round_test): Likewise.
20123 (scalb_test): Likewise.
20124 (scalbn_test): Likewise.
20125 (scalbln_test): Likewise.
20126 (signbit_test): Likewise.
20127 (sin_test): Likewise.
20128 (sin_test_tonearest): Likewise.
20129 (sin_test_towardzero): Likewise.
20130 (sin_test_downward): Likewise.
20131 (sin_test_upward): Likewise.
20132 (sincos_test): Likewise.
20133 (sinh_test): Likewise.
20134 (sinh_test_tonearest): Likewise.
20135 (sinh_test_towardzero): Likewise.
20136 (sinh_test_downward): Likewise.
20137 (sinh_test_upward): Likewise.
20138 (sqrt_test): Likewise.
20139 (tan_test): Likewise.
20140 (tan_test_tonearest): Likewise.
20141 (tan_test_towardzero): Likewise.
20142 (tan_test_downward): Likewise.
20143 (tan_test_upward): Likewise.
20144 (tanh_test): Likewise.
20145 (tgamma_test): Likewise.
20146 (trunc_test): Likewise.
20147 (y0_test): Likewise.
20148 (y1_test): Likewise.
20149 (yn_test): Likewise.
20150 (significand_test): Likewise.
20151
bae143d2
OB
201522013-05-24 Ondřej Bílka <neleai@seznam.cz>
20153
20154 [BZ #15381]
20155 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20156
9323d39b
EM
201572013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20158
d4ea44a0 20159 [BZ #14894]
9323d39b
EM
20160 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20161 __ppc_mdoio and __ppc_mdoom.
20162 * manual/platform.texi: Document new functions __ppc_yield,
20163 __ppc_mdoio and __ppc_mdoom.
20164
13e23af7
CD
201652013-05-22 Carlos O'Donell <carlos@redhat.com>
20166
20167 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20168 (main): Mention "tls" pseudo-hwcap is legacy.
20169 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20170
351fe550
JM
201712013-05-22 Joseph Myers <joseph@codesourcery.com>
20172
20173 * math/gen-libm-test.pl (parse_args): Output only string of
20174 arguments as text for test name, not full call or descriptions of
20175 tests for extra outputs.
20176 (generate_testfile): Do not pass function name to parse_args.
20177 Generate this_func variable from START.
20178 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20179 field to arg_str.
20180 (struct test_ff_f_data): Likewise.
20181 (test_ff_f_data_nexttoward): Likewise.
20182 (struct test_fi_f_data): Likewise.
20183 (struct test_fl_f_data): Likewise.
20184 (struct test_if_f_data): Likewise.
20185 (struct test_fff_f_data): Likewise.
20186 (struct test_c_f_data): Likewise.
20187 (struct test_f_f1_data): Likewise. Remove field extra_name.
20188 (struct test_fF_f1_data): Likewise.
20189 (struct test_ffI_f1_data): Likewise.
20190 (struct test_c_c_data): Rename test_name field to arg_str.
20191 (struct test_cc_c_data): Likewise.
20192 (struct test_f_i_data): Likewise.
20193 (struct test_ff_i_data): Likewise.
20194 (struct test_f_l_data): Likewise.
20195 (struct test_f_L_data): Likewise.
20196 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20197 and extra2_name.
20198 (COMMON_TEST_SETUP): New macro.
20199 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20200 (COMMON_TEST_CLEANUP): Likewise.
20201 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20202 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20203 macros.
20204 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20205 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20206 macros.
20207 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20208 (RUN_TEST_fff_f): Take argument string. Call new setup and
20209 cleanup macros.
20210 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20211 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20212 macros.
20213 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20214 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20215 macros.
20216 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20217 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20218 cleanup macros.
20219 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20220 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20221 cleanup macros.
20222 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20223 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20224 cleanup macros.
20225 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20226 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20227 macros.
20228 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20229 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20230 macros.
20231 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20232 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20233 macros.
20234 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20235 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20236 cleanup macros.
20237 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20238 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20239 cleanup macros.
20240 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20241 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20242 macros.
20243 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20244 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20245 cleanup macros.
20246 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20247 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20248 macros.
20249 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20250 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20251 macros.
20252 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20253 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20254 cleanup macros.
20255 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20256
85118d4d
EBM
202572013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20258
20259 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20260 to _sifields.sigfault.
20261 (si_addr_lsb): Define new macro.
20262 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20263 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20264 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20265
7a44c18f
CD
202662013-05-03 Carlos O'Donell <carlos at redhat.com>
20267
20268 [BZ #15441]
20269 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20270 returns -1.
20271 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20272 null return -1.
20273 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20274 loading the domain.
20275
b50a7181
JM
202762013-05-22 Joseph Myers <joseph@codesourcery.com>
20277
20278 * math/gen-libm-test.pl (parse_args): Do not include expected
20279 result in test name.
20280 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20281 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20282 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20283 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20284 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20286
051063c8
SP
202872013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20288
3ce9e010
SP
20289 * benchtests/Makefile: Sort function entries.
20290
051063c8
SP
20291 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20292 tanh, asinh, acosh, atanh.
20293 * benchtests/acos-inputs: New file.
20294 * benchtests/acosh-inputs: New file.
20295 * benchtests/asin-inputs: New file.
20296 * benchtests/asinh-inputs: New file.
20297 * benchtests/atanh-inputs: New file.
20298 * benchtests/cosh-inputs: New file.
20299 * benchtests/log-inputs: New file.
20300 * benchtests/sinh-inputs: New file.
20301 * benchtests/tanh-inputs: New file.
20302
47c22455
DL
203032013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20304
20305 [BZ #15339]
20306 * posix/tst-getaddrinfo4.c: New test.
20307 * posix/Makefile (tests): Add it.
20308
3d04f5db
SP
203092013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20310
20311 [BZ #15339]
20312 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20313 when no services were used.
20314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20315 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20316
d5dd6189
AS
203172013-05-21 Andreas Schwab <schwab@suse.de>
20318
20319 [BZ #15014]
20320 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20321 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20322 successful.
20323 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20324 redundant variable declarations and reallocation of buffer when
20325 parsing as IPv6 address. Always set NSS status when called from
20326 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20327 buffer too small. Correct computation of needed size.
20328 * nss/Makefile (tests): Add test-digits-dots.
20329 * nss/test-digits-dots.c: New test.
20330
fef94eab
SP
203312013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20332
20333 * benchtests/Makefile: Remove instructions for adding
20334 benchmark tests.
20335 * benchtests/README: New file to explain how to execute and
20336 enhance the benchmark tests.
20337
e39adf43
AS
203382013-05-21 Andreas Schwab <schwab@suse.de>
20339
20340 [BZ #15493]
20341 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20342 * setjmp/tst-sigsetjmp.c: New test.
20343
b2b671b6
OB
203442013-05-20 Ondřej Bílka <neleai@seznam.cz>
20345
20346 * sysdeps/x86_64/memset.S (memset): New implementation.
20347 (__bzero): Likewise.
20348 (__memset_tail): New function.
20349
2d48b41c
OB
203502013-05-20 Ondřej Bílka <neleai@seznam.cz>
20351
20352 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20353 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20354 __memcpy_sse2_unaligned ifunc selection.
20355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20356 Add memcpy-sse2-unaligned.S.
20357 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20358 Add: __memcpy_sse2_unaligned.
20359
f16cc3eb
JM
203602013-05-19 Joseph Myers <joseph@codesourcery.com>
20361
3e694268
JM
20362 [BZ #15490]
20363 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20364 math_force_eval before restoring floating-point envrionment.
20365 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20366 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20367 Likewise.
20368 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20369 <math_private.h>.
20370 (__nearbyintl): Use math_force_eval before restoring
20371 floating-point environment.
20372 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20373
db62a907
JM
20374 * math/gen-libm-test.pl (special_functions): Remove.
20375 (parse_args): Don't handle TEST_extra. Handle functions with no
20376 return value.
20377 * math/libm-test.inc (struct test_sincos_data): Replace with
20378 struct test_fFF_11_data.
20379 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20380 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20381 (sincos_test_data): Change element type to struct
20382 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20383 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20384 RUN_TEST_LOOP_sincos.
20385 * math/README.libm-test: Don't mention special handling of
20386 individual functions.
20387 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20388 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20389 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20390 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20391 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20393
f16cc3eb
JM
20394 * math/gen-libm-test.pl (get_variable): Remove function.
20395 (parse_args): Don't show pointer parameters to call in test
20396 names. Use "extra output N" in test names for extra outputs
20397 rather than naming variables.
20398
3779b5b6
JM
203992013-05-18 Joseph Myers <joseph@codesourcery.com>
20400
2ee094ff
JM
20401 [BZ #15488]
20402 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20403 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20404 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20405 double tests.
20406 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20407 disable.
20408 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20409 check_long_double.
20410
3779b5b6
JM
20411 * math/gen-libm-test.pl (@tests): Remove variable.
20412 ($count): Likewise.
20413 (new_test): Remove function.
20414 (show_exceptions): New function.
20415 (special_functions): Use show_exceptions instead of new_test.
20416 (parse_args): Likewise.
20417 (generate_testfile): Pass only function name in generated call to
20418 print_max_error or print_complex_max_error.
20419 (get_ulps): Do not handle complex tests specially.
20420 (output_test): Rename to ...
20421 (get_all_ulps_for_test): ... this. Return a string rather than
20422 printing to a file. Require ulps to be present.
20423 (output_ulps): Generate arrays rather than #defines.
20424 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20425 (struct ulp_data): New type.
20426 (BUILD_COMPLEX_ULP): Remove macro.
20427 (compare_ulp_data): New function.
20428 (find_ulps): Likewise.
20429 (find_test_ulps): Likewise.
20430 (find_function_ulps): Likewise.
20431 (find_complex_function_ulps): Likewise.
20432 (print_max_error): Determine allowed ulps using
20433 find_function_ulps.
20434 (print_complex_max_error): Determine allowed ulps using
20435 find_complex_function_ulps.
20436 (check_float_internal): Determine max ulps using find_test_ulps.
20437 (check_float): Do not take max_ulp parameter. Update call to
20438 check_float_internal.
20439 (check_complex): Likewise.
20440 (check_int): Do not take max_ulp parameter.
20441 (check_long): Likewise.
20442 (check_bool): Likewise.
20443 (check_longlong): Likewise.
20444 (struct test_f_f_data): Remove max_ulp field.
20445 (struct test_ff_f_data): Likewise.
20446 (struct test_ff_f_data_nexttoward): Likewise.
20447 (struct test_fi_f_data): Likewise.
20448 (struct test_fl_f_data): Likewise.
20449 (struct test_if_f_data): Likewise.
20450 (struct test_fff_f_data): Likewise.
20451 (struct test_c_f_data): Likewise.
20452 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20453 (struct test_fF_f1_data): Likewise.
20454 (struct test_ffI_f1_data): Likewise.
20455 (struct test_c_c_data): Remove max_ulp field.
20456 (struct test_cc_c_data): Likewise.
20457 (struct test_f_i_data): Likewise.
20458 (struct test_ff_i_data): Likewise.
20459 (struct test_f_l_data): Likewise.
20460 (struct test_f_L_data): Likewise.
20461 (struct test_sincos_data): Likewise.
20462 (RUN_TEST_f_f): Do not handle ulps.
20463 (RUN_TEST_LOOP_f_f): Likewise.
20464 (RUN_TEST_2_f): Likewise.
20465 (RUN_TEST_LOOP_2_f): Likewise.
20466 (RUN_TEST_fff_f): Likewise.
20467 (RUN_TEST_LOOP_fff_f): Likewise.
20468 (RUN_TEST_c_f): Likewise.
20469 (RUN_TEST_LOOP_c_f): Likewise.
20470 (RUN_TEST_f_f1): Likewise.
20471 (RUN_TEST_LOOP_f_f1): Likewise.
20472 (RUN_TEST_fF_f1): Likewise.
20473 (RUN_TEST_LOOP_fF_f1): Likewise.
20474 (RUN_TEST_fI_f1): Likewise.
20475 (RUN_TEST_LOOP_fI_f1): Likewise.
20476 (RUN_TEST_ffI_f1): Likewise.
20477 (RUN_TEST_LOOP_ffI_f1): Likewise.
20478 (RUN_TEST_c_c): Likewise.
20479 (RUN_TEST_LOOP_c_c): Likewise.
20480 (RUN_TEST_cc_c): Likewise.
20481 (RUN_TEST_LOOP_cc_c): Likewise.
20482 (RUN_TEST_f_i): Likewise.
20483 (RUN_TEST_LOOP_f_i): Likewise.
20484 (RUN_TEST_f_i_tg): Likewise.
20485 (RUN_TEST_LOOP_f_i_tg): Likewise.
20486 (RUN_TEST_ff_i_tg): Likewise.
20487 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20488 (RUN_TEST_f_b): Likewise.
20489 (RUN_TEST_LOOP_f_b): Likewise.
20490 (RUN_TEST_f_b_tg): Likewise.
20491 (RUN_TEST_LOOP_f_b_tg): Likewise.
20492 (RUN_TEST_f_l): Likewise.
20493 (RUN_TEST_LOOP_f_l): Likewise.
20494 (RUN_TEST_f_L): Likewise.
20495 (RUN_TEST_LOOP_f_L): Likewise.
20496 (RUN_TEST_sincos): Likewise.
20497 (RUN_TEST_LOOP_sincos): Likewise.
20498
8269107f
JM
204992013-05-17 Joseph Myers <joseph@codesourcery.com>
20500
bb38759d
JM
20501 [BZ #15480]
20502 [BZ #15485]
20503 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20504 main case of finite arguments, set rounding mode to FE_TONEAREST
20505 and discard exceptions.
20506 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20507 exceptions.
20508 (remainder_tonearest_test_data): New variable.
20509 (remainder_test_tonearest): New function.
20510 (remainder_towardzero_test_data): New variable.
20511 (remainder_test_towardzero): New function.
20512 (remainder_downward_test_data): New variable.
20513 (remainder_test_downward): New function.
20514 (remainder_upward_test_data): New variable.
20515 (remainder_test_upward): New function.
20516 (main): Call the new test functions.
20517
a00bdcf0
JM
20518 * math/libm-test.inc (struct test_f_f1_data): Remove field
20519 extra_init.
20520 (struct test_fF_f1_data): Likewise.
20521 (struct test_ffI_f1_data): Likewise.
20522 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20523 based on value of EXTRA_EXPECTED.
20524 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20525 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20526 EXTRA_VAR based on value of EXTRA_EXPECTED.
20527 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20528 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20529 EXTRA_VAR based on value of EXTRA_EXPECTED.
20530 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20531 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20532 EXTRA_VAR based on value of EXTRA_EXPECTED.
20533 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20534 * math/gen-libm-test.pl (parse_args): Don't output initializers
20535 for extra output values.
20536
de407f79
JM
20537 * math/libm-test.inc (check_int): Expect result to be exactly
20538 equal to expected value and do not handle ulps.
20539 (check_long): Likewise.
20540 (check_longlong): Likewise.
20541
8269107f
JM
20542 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20543 exceptions.
20544 (cimag_test_data): Likewise.
20545 (conj_test_data): Likewise.
20546 (copysign_test_data): Likewise.
20547 (cproj_test_data): Likewise.
20548 (creal_test_data): Likewise.
20549 (fabs_test_data): Likewise.
20550 (fdim_test_data): Likewise.
20551 (finite_test_data): Likewise.
20552 (floor_test_data): Likewise.
20553 (fmax_test_data): Likewise.
20554 (fmin_test_data): Likewise.
20555 (fmod_test_data): Likewise.
20556 (fpclassify_test_data): Likewise.
20557 (frexp_test_data): Likewise.
20558 (ilogb_test_data): Likewise.
20559 (isfinite_test_data): Likewise.
20560 (isgreater_test_data): Likewise.
20561 (isgreaterequal_test_data): Likewise.
20562 (isinf_test_data): Likewise.
20563 (isless_test_data): Likewise.
20564 (islessequal_test_data): Likewise.
20565 (islessgreater_test_data): Likewise.
20566 (isnan_test_data): Likewise.
20567 (isnormal_test_data): Likewise.
20568 (issignaling_test_data): Likewise.
20569 (isunordered_test_data): Likewise.
20570 (ldexp_test_data): Likewise.
20571 (lrint_test_data): Likewise.
20572 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20573 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20574 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20575 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20576 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20577 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20578 test input.
20579 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20580 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20581 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20582 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20583 that test input.
20584 (lrint_downward_test_data): Test for "inexact" exceptions.
20585 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20586 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20587 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20588 test input.
20589 (lrint_upward_test_data): Test for "inexact" exceptions.
20590 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20591 test input.
20592 (llrint_test_data): Test for "inexact" exceptions.
20593 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20594 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20595 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20596 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20597 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20598 (llrint_downward_test_data): Test for "inexact" exceptions.
20599 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20600 (llrint_upward_test_data): Test for "inexact" exceptions.
20601 (logb_test_data): Likewise.
20602 (logb_downward_test_data): Likewise.
20603 (nextafter_test_data): Likewise.
20604 (nexttoward_test_data): Likewise.
20605 (remainder_test_data): Likewise.
20606 (remquo_test_data): Likewise.
20607 (scalbn_test_data): Likewise.
20608 (scalbln_test_data): Likewise.
20609 (signbit_test_data): Likewise.
20610 (sqrt_test_data): Likewise.
20611 (significand_test_data): Likewise.
20612
48a18de1
SP
206132013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20614
20615 [BZ #15424]
20616 * benchtests/bench-modf.c (struct args): Mark arg0 as
20617 volatile.
20618 * scripts/bench.pl: Mark members of struct args as volatile.
20619
13d3b41a
AZ
206202013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20621
68191c1d 20622 [BZ # 15497]
13d3b41a
AZ
20623 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20624 negative infinity on POWER6 or lower.
20625 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20626
2848b105
MR
206272013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20628
20629 [BZ #15442]
20630 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20631 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20632 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20633 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20634 (_FP_SETQNAN): New macro.
20635 (_FP_SETQNAN_SEMIRAW): Likewise.
20636 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20637 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20638 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20639 (FP_EXTEND): Use _FP_FRAC_SNANP.
20640 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20641 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20642 into account.
20643 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20644 New macro.
20645 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20646 Likewise.
20647
323e5cb7
JM
206482013-05-16 Joseph Myers <joseph@codesourcery.com>
20649
c58b274f
JM
20650 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20651 with DIVIDE_BY_ZERO_EXCEPTION.
20652 (gamma_test_data): Likewise.
20653 (lgamma_test_data): Likewise.
20654 (log_test_data): Likewise.
20655 (log10_test_data): Likewise.
20656 (log2_test_data): Likewise.
20657 (tgamma_test_data): Likewise.
20658
0ab34904
JM
20659 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20660 (acos_test_tonearest): Likewise.
20661 (acos_test_towardzero): Likewise.
20662 (acos_test_downward): Likewise.
20663 (acos_test_upward): Likewise.
20664 (acosh_test): Likewise.
20665 (asin_test): Likewise.
20666 (asin_test_tonearest): Likewise.
20667 (asin_test_towardzero): Likewise.
20668 (asin_test_downward): Likewise.
20669 (asin_test_upward): Likewise.
20670 (asinh_test): Likewise.
20671 (atan_test): Likewise.
20672 (atanh_test): Likewise.
20673 (atan2_test): Likewise.
20674 (cabs_test): Likewise.
20675 (cacos_test): Likewise.
20676 (cacosh_test): Likewise.
20677 (casin_test): Likewise.
20678 (casinh_test): Likewise.
20679 (catan_test): Likewise.
20680 (catanh_test): Likewise.
20681 (cbrt_test): Likewise.
20682 (ccos_test): Likewise.
20683 (ccosh_test): Likewise.
20684 (cexp_test): Likewise.
20685 (clog_test): Likewise.
20686 (clog10_test): Likewise.
20687 (cos_test): Likewise.
20688 (cos_test_tonearest): Likewise.
20689 (cos_test_towardzero): Likewise.
20690 (cos_test_downward): Likewise.
20691 (cos_test_upward): Likewise.
20692 (cosh_test): Likewise.
20693 (cosh_test_tonearest): Likewise.
20694 (cosh_test_towardzero): Likewise.
20695 (cosh_test_downward): Likewise.
20696 (cosh_test_upward): Likewise.
20697 (cpow_test): Likewise.
20698 (csin_test): Likewise.
20699 (csinh_test): Likewise.
20700 (csqrt_test): Likewise.
20701 (ctan_test): Likewise.
20702 (ctan_test_tonearest): Likewise.
20703 (ctan_test_towardzero): Likewise.
20704 (ctan_test_downward): Likewise.
20705 (ctan_test_upward): Likewise.
20706 (ctanh_test): Likewise.
20707 (ctanh_test_tonearest): Likewise.
20708 (ctanh_test_towardzero): Likewise.
20709 (ctanh_test_downward): Likewise.
20710 (ctanh_test_upward): Likewise.
20711 (erf_test): Likewise.
20712 (erfc_test): Likewise.
20713 (exp_test): Likewise.
20714 (exp_test_tonearest): Likewise.
20715 (exp_test_towardzero): Likewise.
20716 (exp_test_downward): Likewise.
20717 (exp_test_upward): Likewise.
20718 (exp10_test): Likewise.
20719 (exp2_test): Likewise.
20720 (expm1_test): Likewise.
20721 (fmod_test): Likewise.
20722 (gamma_test): Likewise.
20723 (hypot_test): Likewise.
20724 (j0_test): Likewise.
20725 (j1_test): Likewise.
20726 (jn_test): Likewise.
20727 (lgamma_test): Likewise.
20728 (log_test): Likewise.
20729 (log10_test): Likewise.
20730 (log1p_test): Likewise.
20731 (log2_test): Likewise.
20732 (logb_test_downward): Likewise.
20733 (pow_test): Likewise.
20734 (pow_test_tonearest): Likewise.
20735 (pow_test_towardzero): Likewise.
20736 (pow_test_downward): Likewise.
20737 (pow_test_upward): Likewise.
20738 (remainder_test): Likewise.
20739 (remquo_test): Likewise.
20740 (sin_test): Likewise.
20741 (sin_test_tonearest): Likewise.
20742 (sin_test_towardzero): Likewise.
20743 (sin_test_downward): Likewise.
20744 (sin_test_upward): Likewise.
20745 (sincos_test): Likewise.
20746 (sinh_test): Likewise.
20747 (sinh_test_tonearest): Likewise.
20748 (sinh_test_towardzero): Likewise.
20749 (sinh_test_downward): Likewise.
20750 (sinh_test_upward): Likewise.
20751 (sqrt_test): Likewise.
20752 (tan_test): Likewise.
20753 (tan_test_tonearest): Likewise.
20754 (tan_test_towardzero): Likewise.
20755 (tan_test_downward): Likewise.
20756 (tan_test_upward): Likewise.
20757 (tanh_test): Likewise.
20758 (tgamma_test): Likewise.
20759 (y0_test): Likewise.
20760 (y1_test): Likewise.
20761 (yn_test): Likewise.
20762
323e5cb7
JM
20763 * math/gen-libm-test.pl (adjust_arg): Remove function.
20764 (special_function): Remove argument $in_func. Only handle
20765 generating output for tables of tests, not inside functions.
20766 (parse_args): Likewise.
20767 (generate_testfile): Remove variable $in_func. Update call to
20768 parse_args.
20769 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20770 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20771 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20772 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20773 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20774 (MAX_VALUE_INIT): Rename macro to max_value.
20775 (MIN_VALUE_INIT): Rename macro to min_value.
20776 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20777 (plus_zero): Remove variable.
20778 (minus_zero): Likewise.
20779 (plus_infty): Likewise.
20780 (minus_infty): Likewise.
20781 (qnan_value): Likewise.
20782 (max_value): Likewise.
20783 (min_value): Likewise.
20784 (min_subnorm_value): Likewise.
20785
e054f494
RA
207862013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20787
20788 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20789 uint64_t or uint32_t usage.
20790 * crypt/sha256-block.c: Likewise.
20791 * crypt/sha256-crypt.c: Likewise.
20792 * crypt/sha256.c: Likewise.
20793 * crypt/sha512-block.c: Likewise.
20794 * crypt/sha512-crypt.c: Likewise.
20795 * crypt/sha512.c: Likewise.
20796 * debug/backtrace-tst.c: Likewise.
20797 * debug/pcprofiledump.c: Likewise.
20798 * elf/cache.c: Likewise.
20799 * elf/dl-cache.c: Likewise.
20800 * elf/dl-misc.c: Likewise.
20801 * elf/dl-profile.c: Likewise.
20802 * elf/dl-support.c: Likewise.
20803 * elf/ldconfig.c: Likewise.
20804 * elf/sprof.c: Likewise.
20805 * iconv/dummy-repertoire.c: Likewise.
20806 * iconv/iconv_charmap.c: Likewise.
20807 * iconv/skeleton.c: Likewise.
20808 * iconvdata/8bit-generic.c: Likewise.
20809 * iconvdata/cp737.h: Likewise.
20810 * iconvdata/cp775.h: Likewise.
20811 * iconvdata/ibm1008.h: Likewise.
20812 * iconvdata/ibm1025.h: Likewise.
20813 * iconvdata/ibm1046.h: Likewise.
20814 * iconvdata/ibm1097.h: Likewise.
20815 * iconvdata/ibm1112.h: Likewise.
20816 * iconvdata/ibm1122.h: Likewise.
20817 * iconvdata/ibm1123.h: Likewise.
20818 * iconvdata/ibm1124.h: Likewise.
20819 * iconvdata/ibm1129.h: Likewise.
20820 * iconvdata/ibm1130.h: Likewise.
20821 * iconvdata/ibm1132.h: Likewise.
20822 * iconvdata/ibm1133.h: Likewise.
20823 * iconvdata/ibm1137.h: Likewise.
20824 * iconvdata/ibm1140.h: Likewise.
20825 * iconvdata/ibm1141.h: Likewise.
20826 * iconvdata/ibm1142.h: Likewise.
20827 * iconvdata/ibm1143.h: Likewise.
20828 * iconvdata/ibm1144.h: Likewise.
20829 * iconvdata/ibm1145.h: Likewise.
20830 * iconvdata/ibm1146.h: Likewise.
20831 * iconvdata/ibm1147.h: Likewise.
20832 * iconvdata/ibm1148.h: Likewise.
20833 * iconvdata/ibm1149.h: Likewise.
20834 * iconvdata/ibm1153.h: Likewise.
20835 * iconvdata/ibm1154.h: Likewise.
20836 * iconvdata/ibm1155.h: Likewise.
20837 * iconvdata/ibm1156.h: Likewise.
20838 * iconvdata/ibm1157.h: Likewise.
20839 * iconvdata/ibm1158.h: Likewise.
20840 * iconvdata/ibm1160.h: Likewise.
20841 * iconvdata/ibm1161.h: Likewise.
20842 * iconvdata/ibm1162.h: Likewise.
20843 * iconvdata/ibm1163.h: Likewise.
20844 * iconvdata/ibm1164.h: Likewise.
20845 * iconvdata/ibm1166.h: Likewise.
20846 * iconvdata/ibm1167.h: Likewise.
20847 * iconvdata/ibm12712.h: Likewise.
20848 * iconvdata/ibm1390.h: Likewise.
20849 * iconvdata/ibm1399.h: Likewise.
20850 * iconvdata/ibm16804.h: Likewise.
20851 * iconvdata/ibm4517.h: Likewise.
20852 * iconvdata/ibm4899.h: Likewise.
20853 * iconvdata/ibm4909.h: Likewise.
20854 * iconvdata/ibm4971.h: Likewise.
20855 * iconvdata/ibm5347.h: Likewise.
20856 * iconvdata/ibm803.h: Likewise.
20857 * iconvdata/ibm856.h: Likewise.
20858 * iconvdata/ibm901.h: Likewise.
20859 * iconvdata/ibm902.h: Likewise.
20860 * iconvdata/ibm9030.h: Likewise.
20861 * iconvdata/ibm9066.h: Likewise.
20862 * iconvdata/ibm921.h: Likewise.
20863 * iconvdata/ibm922.h: Likewise.
20864 * iconvdata/ibm9448.h: Likewise.
20865 * iconvdata/isiri-3342.h: Likewise.
20866 * iconvdata/jis0201.h: Likewise.
20867 * include/link.h: Likewise.
20868 * include/netdb.h: Likewise.
20869 * inet/check_native.c: Likewise.
20870 * inet/check_pf.c: Likewise.
20871 * inet/getipv4sourcefilter.c: Likewise.
20872 * inet/getnameinfo.c: Likewise.
20873 * inet/getsourcefilter.c: Likewise.
20874 * inet/htonl.c: Likewise.
20875 * inet/setipv4sourcefilter.c: Likewise.
20876 * inet/setsourcefilter.c: Likewise.
20877 * inet/test-inet6_opt.c: Likewise.
20878 * inet/tst-network.c: Likewise.
20879 * locale/C-collate.c: Likewise.
20880 * locale/C-ctype.c: Likewise.
20881 * locale/C-time.c: Likewise.
20882 * locale/C-translit.h: Likewise.
20883 * locale/loadarchive.c: Likewise.
20884 * locale/programs/3level.h: Likewise.
20885 * locale/programs/charmap.c: Likewise.
20886 * locale/programs/charmap.h: Likewise.
20887 * locale/programs/ld-address.c: Likewise.
20888 * locale/programs/ld-collate.c: Likewise.
20889 * locale/programs/ld-ctype.c: Likewise.
20890 * locale/programs/ld-identification.c: Likewise.
20891 * locale/programs/ld-measurement.c: Likewise.
20892 * locale/programs/ld-messages.c: Likewise.
20893 * locale/programs/ld-monetary.c: Likewise.
20894 * locale/programs/ld-name.c: Likewise.
20895 * locale/programs/ld-numeric.c: Likewise.
20896 * locale/programs/ld-paper.c: Likewise.
20897 * locale/programs/ld-telephone.c: Likewise.
20898 * locale/programs/ld-time.c: Likewise.
20899 * locale/programs/linereader.c: Likewise.
20900 * locale/programs/locale.c: Likewise.
20901 * locale/programs/locarchive.c: Likewise.
20902 * locale/programs/locfile.h: Likewise.
20903 * locale/programs/repertoire.c: Likewise.
20904 * locale/programs/simple-hash.c: Likewise.
20905 * locale/programs/simple-hash.h: Likewise.
20906 * malloc/memusage.c: Likewise.
20907 * malloc/memusagestat.c: Likewise.
20908 * nis/nis_defaults.c: Likewise.
20909 * nis/nis_hash.c: Likewise.
20910 * nis/nis_print.c: Likewise.
20911 * nis/nis_xdr.c: Likewise.
20912 * nscd/connections.c: Likewise.
20913 * nscd/hstcache.c: Likewise.
20914 * nscd/nscd_gethst_r.c: Likewise.
20915 * nscd/nscd_getserv_r.c: Likewise.
20916 * nscd/nscd_helper.c: Likewise.
20917 * nscd/servicescache.c: Likewise.
20918 * nss/makedb.c: Likewise.
20919 * nss/nss_db/db-XXX.c: Likewise.
20920 * nss/nss_db/db-initgroups.c: Likewise.
20921 * nss/nss_db/db-netgrp.c: Likewise.
20922 * nss/nss_files/files-network.c: Likewise.
20923 * nss/nss_files/files-parse.c: Likewise.
20924 * posix/bug-regex5.c: Likewise.
20925 * posix/fnmatch_loop.c: Likewise.
20926 * posix/regcomp.c: Likewise.
20927 * posix/regexec.c: Likewise.
20928 * posix/tst-rfc3484-2.c: Likewise.
20929 * posix/tst-rfc3484-3.c: Likewise.
20930 * posix/tst-rfc3484.c: Likewise.
20931 * resolv/nss_dns/dns-canon.c: Likewise.
20932 * resolv/nss_dns/dns-network.c: Likewise.
20933 * resolv/res_init.c: Likewise.
20934 * resolv/res_mkquery.c: Likewise.
20935 * resolv/tst-aton.c: Likewise.
20936 * stdlib/cxa_atexit.c: Likewise.
20937 * stdlib/cxa_finalize.c: Likewise.
20938 * stdlib/gen-fpioconst.c: Likewise.
20939 * stdlib/strtol_l.c: Likewise.
20940 * string/tst-endian.c: Likewise.
20941 * sunrpc/auth_des.c: Likewise.
20942 * sunrpc/clnt_udp.c: Likewise.
20943 * sunrpc/rtime.c: Likewise.
20944 * sunrpc/svcauth_des.c: Likewise.
20945 * sunrpc/xdr.c: Likewise.
20946 * sunrpc/xdr_intXX_t.c: Likewise.
20947 * sunrpc/xdr_rec.c: Likewise.
20948 * sysdeps/generic/ldconfig.h: Likewise.
20949 * sysdeps/generic/ldsodefs.h: Likewise.
20950 * sysdeps/generic/memusage.h: Likewise.
20951 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20952 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20953 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20954 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20955 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20956 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20957 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20958 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20959 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20960 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20961 * sysdeps/posix/getaddrinfo.c: Likewise.
20962 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20963 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20964 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20965 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20966 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20967 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20968 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20969 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20970 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20971 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20972 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20973 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20974 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20975 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20976 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20977 * sysdeps/x86_64/dl-tls.h: Likewise.
20978 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20979 * time/alt_digit.c: Likewise.
20980 * time/era.c: Likewise.
20981 * wcsmbs/tst-c16c32-1.c: Likewise.
20982
8c75f674
JM
209832013-05-16 Joseph Myers <joseph@codesourcery.com>
20984
20985 * math/libm-test.inc (struct test_sincos_data): New type.
20986 (RUN_TEST_LOOP_sincos): New macro.
20987 (sincos_test_data): New variable.
20988 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20989
e6e49e59
RH
209902013-05-16 Richard Henderson <rth@redhat.com>
20991
20992 * math/atest-exp2.c (LIMB64): New macro.
20993 (CONSTSZ): New macro.
20994 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20995 (hexdig): Move ...
20996 (print_mpn_fp): ... to function scope.
20997 (read_mpn_hex): Remove.
20998 (get_log2): Remove.
20999 (exp2_mpn): Use mp_log2.
21000 (main): Use mp_exp1.
21001
15c7c18d
JM
210022013-05-16 Joseph Myers <joseph@codesourcery.com>
21003
105a07df
JM
21004 * math/libm-test.inc: Remove comment about not testing "inexact"
21005 exceptions.
21006 (INEXACT_EXCEPTION): New macro.
21007 (NO_INEXACT_EXCEPTION): Likewise.
21008 (INVALID_EXCEPTION_OK): Update value.
21009 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21010 (OVERFLOW_EXCEPTION_OK): Likewise.
21011 (UNDERFLOW_EXCEPTION_OK): Likewise.
21012 (IGNORE_ZERO_INF_SIGN): Likewise.
21013 (ERRNO_UNCHANGED): Likewise.
21014 (ERRNO_EDOM): Likewise.
21015 (ERRNO_ERANGE): Likewise.
21016 (test_exceptions): Handle testing "inexact" exceptions.
21017 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21018 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21019 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21020 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21021 INEXACT_EXCEPTION.
21022 (rint_towardzero_test_data): Likewise.
21023 (rint_downward_test_data): Likewise.
21024 (rint_upward_test_data): Likewise.
21025
e9eee333
JM
21026 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21027 with OVERFLOW_EXCEPTION.
21028 (exp10_test_data): Likewise.
21029 (exp2_test_data): Likewise.
21030 (expm1_test_data): Likewise.
21031 (lgamma_test_data): Likewise.
21032 (pow_test_data): Likewise.
21033 (tgamma_test_data): Likewise.
21034 (yn_test_data): Remove duplicate test of overflow.
21035
1c38ff73
JM
21036 * math/libm-test.inc (struct test_cc_c_data): New type.
21037 (RUN_TEST_LOOP_cc_c): New macro.
21038 (cpow_test_data): New variable.
21039 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21040
15c7c18d
JM
21041 * math/libm-test.inc (struct test_f_L_data): New type.
21042 (RUN_TEST_LOOP_f_L): New macro.
21043 (llrint_test_data): New variable.
21044 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21045 (llrint_tonearest_test_data): New variable.
21046 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21047 (llrint_towardzero_test_data): New variable.
21048 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21049 (llrint_downward_test_data): New variable.
21050 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21051 (llrint_upward_test_data): New variable.
21052 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21053 (llround_test_data): New variable.
21054 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21055
f137ff13
PC
210562013-05-13 Peter Collingbourne <pcc@google.com>
21057
21058 * math/atest-exp2.c (get_log2): Remove const attribute.
21059
3608cb24
JM
210602013-05-15 Joseph Myers <joseph@codesourcery.com>
21061
21062 * math/libm-test.inc (struct test_f_l_data): New type.
21063 (RUN_TEST_LOOP_f_l): New macro.
21064 (lrint_test_data): New variable.
21065 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21066 (lrint_tonearest_test_data): New variable.
21067 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21068 (lrint_towardzero_test_data): New variable.
21069 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21070 (lrint_downward_test_data): New variable.
21071 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21072 (lrint_upward_test_data): New variable.
21073 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21074 (lround_test_data): New variable.
21075 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21076
39b1f617
PC
210772013-05-15 Peter Collingbourne <pcc@google.com>
21078
1deff3dc
PC
21079 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21080 (EXTRACT_WORDS64) Use where appropriate.
21081 (INSERT_WORDS64) Likewise.
21082
791f3ba0
PC
21083 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21084 constraints with x constraints.
21085 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21086
39b1f617
PC
21087 * malloc/obstack.c (_obstack_compat): Add initializer.
21088
12fba011
EM
210892013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21090
21091 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21092 si_trapno and add si_addr_lsb to _sifields.sigfault.
21093 (si_trapno): Remove macro.
21094 (si_addr_lsb): Define new macro.
21095 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21096
d369f531
JM
210972013-05-15 Joseph Myers <joseph@codesourcery.com>
21098
b861c6c4
JM
21099 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21100 instead of TEST_f_l.
21101 (llrint_test_tonearest): Likewise.
21102 (llrint_test_towardzero): Likewise.
21103 (llrint_test_downward): Likewise.
21104 (llrint_test_upward): Likewise.
21105 (llround_test): Likewise.
21106
7abeee12
JM
21107 * math/libm-test.inc (struct test_f_i_data): Add comment.
21108 (RUN_TEST_LOOP_f_b): New macro.
21109 (RUN_TEST_LOOP_f_b_tg): Likewise.
21110 (finite_test_data): New variable.
21111 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21112 (isfinite_test_data): New variable.
21113 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21114 (isinf_test_data): New variable.
21115 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21116 (isnan_test_data): New variable.
21117 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21118 (isnormal_test_data): New variable.
21119 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21120 (issignaling_test_data): New variable.
21121 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21122 (signbit_test_data): New variable.
21123 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21124
cbe8c4d3
JM
21125 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21126 with INVALID_EXCEPTION.
21127 (acosh_test_data): Likewise.
21128 (asin_test_data): Likewise.
21129 (atanh_test_data): Likewise.
21130 (fmod_test_data): Likewise.
21131 (log_test_data): Likewise.
21132 (log10_test_data): Likewise.
21133 (log2_test_data): Likewise.
21134 (pow_test_data): Likewise.
21135 (sqrt_test_data): Likewise.
21136 (y0_test_data): Likewise.
21137 (y1_test_data): Likewise.
21138 (yn_test_data): Likewise.
21139
5575c0e5
JM
21140 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21141 function contents.
21142
d369f531
JM
21143 * math/libm-test.inc (struct test_ff_i_data): New type.
21144 (RUN_TEST_LOOP_ff_i_tg): New macro.
21145 (isgreater_test_data): New variable.
21146 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21147 (isgreaterequal_test_data): New variable.
21148 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21149 (isless_test_data): New variable.
21150 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21151 (islessequal_test_data): New variable.
21152 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21153 (islessgreater_test_data): New variable.
21154 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21155 (isunordered_test_data): New variable.
21156 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21157
781fd748
DM
211582013-05-14 David S. Miller <davem@davemloft.net>
21159
21160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21161
87aa21df
JM
211622013-05-14 Joseph Myers <joseph@codesourcery.com>
21163
5e908270
JM
21164 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21165
f71172e5
JM
21166 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21167 extra_test to int.
21168 (struct test_f_i_data): Change type of max_ulp to int.
21169
8cfa635a
JM
21170 * math/libm-test.inc (test_ffI_f1_data): New type.
21171 (RUN_TEST_LOOP_ffI_f1): New macro.
21172 (remquo_test_data): New variable.
21173 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21174
2bcb36b2
JM
21175 * setjmp/tst-setjmp-fp.c: New file.
21176 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21177 (link-libm): New variable.
21178 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21179
acbd839a
JM
21180 * math/libm-test.inc (struct test_f_i_data): New type.
21181 (RUN_TEST_LOOP_f_i): New macro.
21182 (RUN_TEST_LOOP_f_i_tg): Likewise.
21183 (fpclassify_test_data): New variable.
21184 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21185 (ilogb_test_data): New variable.
21186 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21187
e414d745
JM
21188 * math/libm-test.inc (scalbln_test): Correct function name in END
21189 call.
21190
d9c2a0fd
JM
21191 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21192 (RUN_TEST_LOOP_fI_f1): New macro.
21193 (frexp_test_data): New variable.
21194 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21195
9dc9095d
JM
21196 * math/libm-test.inc (struct test_fF_f1_data): New type.
21197 (RUN_TEST_LOOP_fF_f1): New macro.
21198 (modf_test_data): New variable.
21199 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21200
87aa21df
JM
21201 * math/libm-test.inc (struct test_f_f1_data): New type.
21202 (RUN_TEST_LOOP_f_f1): New macro.
21203 (gamma_test_data): New variable.
21204 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21205 (lgamma_test_data): New variable.
21206 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21207
141af660
CD
212082013-05-13 Carlos O'Donell <carlos@redhat.com>
21209
21210 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21211 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21212 (main): Comment "tls" pseudo-hwcap.
21213
6d33265c
JM
212142013-05-13 Joseph Myers <joseph@codesourcery.com>
21215
68fc074c
JM
21216 * math/libm-test.inc (struct test_fl_f_data): New type.
21217 (RUN_TEST_LOOP_fl_f): New variable.
21218 (scalbln_test_data): New variable.
21219 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21220
243216e1
JM
21221 * math/libm-test.inc (struct test_fi_f_data): New type.
21222 (RUN_TEST_LOOP_fi_f): New macro.
21223 (ldexp_test_data): New variable.
21224 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21225 (scalbn_test_data): New variable.
21226 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21227
6a1992e2
JM
21228 * math/libm-test.inc (struct test_c_f_data): New type.
21229 (RUN_TEST_LOOP_c_f): New macro.
21230 (cabs_test_data): New variable.
21231 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21232 (carg_test_data): New variable.
21233 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21234 (cimag_test_data): New variable.
21235 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21236 (creal_test_data): New variable.
21237 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21238
0e400df5
JM
21239 * math/libm-test.inc (struct test_if_f_data): New type.
21240 (RUN_TEST_LOOP_if_f): New macro.
21241 (jn_test_data): New variable.
21242 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21243 (yn_test_data): New variable.
21244 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21245
6d33265c
JM
21246 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21247
f98ece5f
AZ
212482013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21249
21250 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21251 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21252
0f7d347b
SP
212532013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21254
43fe811b
SP
21255 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21256 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21257 (bench-deps): Add bench-timing.h.
21258 * benchtests-bench-skeleton.c: Include bench-timing.h.
21259 (main): Use TIMING_* macros instead of clock_gettime.
21260 * benchtests/bench-timing.h: New file.
21261
0f7d347b
SP
21262 [BZ #14582]
21263 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21264 Renamed from _LIB_VERSION.
21265 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21266
601a3a5f
JM
212672013-05-12 Joseph Myers <joseph@codesourcery.com>
21268
4f184d30
JM
21269 * math/libm-test.inc (struct test_fff_f_data): New type.
21270 (RUN_TEST_LOOP_fff_f): New macro.
21271 (fma_test_data): New variable.
21272 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21273 (fma_towardzero_test_data): New variable.
21274 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21275 (fma_downward_test_data): New variable.
21276 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21277 (fma_upward_test_data): New variable.
21278 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21279
08198877
JM
21280 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21281 (struct test_c_c_data): New type.
21282 (RUN_TEST_LOOP_c_c): New macro.
21283 (cacos_test_data): New variable.
21284 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21285 (cacosh_test_data): New variable.
21286 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21287 (casin_test_data): New variable.
21288 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21289 (casinh_test_data): New variable.
21290 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21291 (catan_test_data): New variable.
21292 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21293 (catanh_test_data): New variable.
21294 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21295 (ccos_test_data): New variable.
21296 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21297 (ccosh_test_data): New variable.
21298 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21299 (cexp_test_data): New variable.
21300 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21301 (clog_test_data): New variable.
21302 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21303 (clog10_test_data): New variable.
21304 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21305 (conj_test_data): New variable.
21306 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21307 (cproj_test_data): New variable.
21308 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21309 (csin_test_data): New variable.
21310 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21311 (csinh_test_data): New variable.
21312 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21313 (csqrt_test_data): New variable.
21314 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21315 (ctan_test_data): New variable.
21316 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21317 (ctan_tonearest_test_data): New variable.
21318 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21319 (ctan_towardzero_test_data): New variable.
21320 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21321 (ctan_downward_test_data): New variable.
21322 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21323 (ctan_upward_test_data): New variable.
21324 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21325 (ctanh_test_data): New variable.
21326 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21327 (ctanh_tonearest_test_data): New variable.
21328 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21329 (ctanh_towardzero_test_data): New variable.
21330 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21331 (ctanh_downward_test_data): New variable.
21332 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21333 (ctanh_upward_test_data): New variable.
21334 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21335 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21336 of BUILD_COMPLEX.
21337
601a3a5f
JM
21338 * math/libm-test.inc (struct test_ff_f_data): New type.
21339 (struct test_ff_f_data_nexttoward): Likewise.
21340 (RUN_TEST_LOOP_2_f): New macro.
21341 (RUN_TEST_LOOP_ff_f): Likewise.
21342 (atan2_test_data): New variable.
21343 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21344 (copysign_test_data): New variable.
21345 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21346 (fdim_test_data): New variable.
21347 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21348 (fmax_test_data): New variable.
21349 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21350 (fmin_test_data): New variable.
21351 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21352 (fmod_test_data): New variable.
21353 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21354 (hypot_test_data): New variable.
21355 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21356 (nextafter_test_data): New variable.
21357 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21358 (nexttoward_test_data): New variable.
21359 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21360 (pow_test_data): New variable.
21361 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21362 (pow_tonearest_test_data): New variable.
21363 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21364 (pow_towardzero_test_data): New variable.
21365 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21366 (pow_downward_test_data): New variable.
21367 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21368 (pow_upward_test_data): New variable.
21369 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21370 (remainder_test_data): New variable.
21371 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21372 (scalb_test_data): New variable.
21373 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21374 * sysdeps/i386/fpu/libm-test-ulps: Update.
21375
74c57478
JM
213762013-05-11 Joseph Myers <joseph@codesourcery.com>
21377
8329e4da
JM
21378 * math/libm-test.inc (fma_test): Use max_value instead of local
21379 variable fltmax.
21380 (nextafter_test): Likewise.
21381
74c57478
JM
21382 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21383 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21384 (acos_downward_test_data): New variable.
21385 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21386 (acos_upward_test_data): New variable.
21387 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21388 (acosh_test_data): New variable.
21389 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21390 (asin_test_data): New variable.
21391 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21392 (asin_tonearest_test_data): New variable.
21393 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21394 (asin_towardzero_test_data): New variable.
21395 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21396 (asin_downward_test_data): New variable.
21397 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21398 (asin_upward_test_data): New variable.
21399 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21400 (asinh_test_data): New variable.
21401 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21402 (atan_test_data): New variable.
21403 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21404 (atanh_test_data): New variable.
21405 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21406 (cbrt_test_data): New variable.
21407 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21408 (ceil_test_data): New variable.
21409 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21410 (cos_test_data): New variable.
21411 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21412 (cos_tonearest_test_data): New variable.
21413 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21414 (cos_towardzero_test_data): New variable.
21415 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21416 (cos_downward_test_data): New variable.
21417 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21418 (cos_upward_test_data): New variable.
21419 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21420 (cosh_test_data): New variable.
21421 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21422 (cosh_tonearest_test_data): New variable.
21423 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21424 (cosh_towardzero_test_data): New variable.
21425 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21426 (cosh_downward_test_data): New variable.
21427 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21428 (cosh_upward_test_data): New variable.
21429 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21430 (erf_test_data): New variable.
21431 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21432 (erfc_test_data): New variable.
21433 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21434 (exp_test_data): New variable.
21435 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21436 (exp_tonearest_test_data): New variable.
21437 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21438 (exp_towardzero_test_data): New variable.
21439 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21440 (exp_downward_test_data): New variable.
21441 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21442 (exp_upward_test_data): New variable.
21443 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21444 (exp10_test_data): New variable.
21445 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21446 (exp2_test_data): New variable.
21447 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21448 (expm1_test_data): New variable.
21449 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21450 (fabs_test_data): New variable.
21451 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21452 (floor_test_data): New variable.
21453 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21454 (j0_test_data): New variable.
21455 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21456 (j1_test_data): New variable.
21457 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21458 (log_test_data): New variable.
21459 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21460 (log10_test_data): New variable.
21461 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21462 (log1p_test_data): New variable.
21463 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21464 (log2_test_data): New variable.
21465 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21466 (logb_test_data): New variable.
21467 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21468 (logb_downward_test_data): New variable.
21469 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21470 (nearbyint_test_data): New variable.
21471 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21472 (rint_test_data): New variable.
21473 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21474 (rint_tonearest_test_data): New variable.
21475 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21476 (rint_towardzero_test_data): New variable.
21477 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21478 (rint_downward_test_data): New variable.
21479 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21480 (rint_upward_test_data): New variable.
21481 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21482 (round_test_data): New variable.
21483 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21484 (sin_test_data): New variable.
21485 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21486 (sin_tonearest_test_data): New variable.
21487 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21488 (sin_towardzero_test_data): New variable.
21489 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21490 (sin_downward_test_data): New variable.
21491 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21492 (sin_upward_test_data): New variable.
21493 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21494 (sinh_test_data): New variable.
21495 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21496 (sinh_tonearest_test_data): New variable.
21497 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21498 (sinh_towardzero_test_data): New variable.
21499 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21500 (sinh_downward_test_data): New variable.
21501 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21502 (sinh_upward_test_data): New variable.
21503 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21504 (sqrt_test_data): New variable.
21505 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21506 (tan_test_data): New variable.
21507 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21508 (tan_tonearest_test_data): New variable.
21509 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21510 (tan_towardzero_test_data): New variable.
21511 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21512 (tan_downward_test_data): New variable.
21513 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21514 (tan_upward_test_data): New variable.
21515 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21516 (tanh_test_data): New variable.
21517 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21518 (tgamma_test_data): New variable.
21519 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21520 (trunc_test_data): New variable.
21521 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21522 (y0_test_data): New variable.
21523 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21524 (y1_test_data): New variable.
21525 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21526 (significand_test_data): New variable.
21527 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21528
7187d844
CG
215292013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21530
21531 [BZ #12387]
21532 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21533
f63fae73
PT
215342013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21535
21536 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21537
8a67a4b3
AJ
215382013-05-10 Andreas Jaeger <aj@suse.de>
21539
21540 [BZ #15448]
21541 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21542 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21543
51df539d
JM
215442013-05-10 Joseph Myers <joseph@codesourcery.com>
21545
21546 * math/gen-libm-test.pl (adjust_arg): New function.
21547 (special_functions): Handle generating output in both functions
21548 and arrays.
21549 (parse_args): Likewise.
21550 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21551 $in_func argument to parse_args.
21552 * math/libm-test.inc (struct test_f_f_data): New type.
21553 (IF_ROUND_INIT_): New macro.
21554 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21555 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21556 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21557 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21558 (ROUND_RESTORE_): Likewise.
21559 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21560 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21561 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21562 (ROUND_RESTORE_FE_UPWARD): Likewise.
21563 (RUN_TEST_LOOP_f_f): New macro.
21564 (acos_test_data): New variable.
21565 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21566 (acos_tonearest_test_data): New variable.
21567 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21568
5c637fe5
SP
215692013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21570
21571 * benchtests/bench-skeleton.c (startup): Fix coding style.
21572
ab2b9461
JM
215732013-05-10 Joseph Myers <joseph@codesourcery.com>
21574
21575 [BZ #6809]
21576 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21577 negative infinity argument.
21578 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21579 negative infinity argument.
21580 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21581 negative infinity argument.
21582 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21583 domain errors.
21584
4c0fe6fe
FW
215852013-05-10 Florian Weimer <fweimer@redhat.com>
21586
21587 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21588 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21589 * iconv/iconv_prog.c (main): Likewise.
21590 * locale/programs/charmap-dir.c (charmap_readdir)
21591 (fopen_uncompressed): Likewise.
21592 * locale/programs/locfile.c (siblings_uncached)
21593 (write_locale_data): Use lstat64 instead of lstat.
21594 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21595 stat.
21596
a3375d29
AJ
215972013-05-10 Andreas Jaeger <aj@suse.de>
21598
21599 [BZ #15395]
21600 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21601 localization.
21602 Include <locale.h>.
21603
36129722
CD
216042013-05-09 Carlos O'Donell <carlos@redhat.com>
21605
21606 * elf/dl-close.c (_dl_close_worker): Add comments.
21607
faa7f811
JM
216082013-05-09 Joseph Myers <joseph@codesourcery.com>
21609
ed41ffef
JM
21610 [BZ #15359]
21611 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21612 high part of pi/2.
21613 (__ieee754_rem_pio2l): Update comments.
21614
d0213cd0
JM
21615 [BZ #15429]
21616 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21617 high part of pi/2.
21618 (__ieee754_rem_pio2l): Update comments.
21619
0d3e777a
JM
21620 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21621 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21622
24f56066
JM
21623 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21624 M_PI_4l.
21625
faa7f811
JM
21626 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21627 (M_PI_34_LOG10El): Likewise.
21628 (M_PI2_LOG10El): Likewise.
21629 (M_PI4_LOG10El): Likewise.
21630 (M_PI_LOG10El): Likewise.
21631
e9a5e0fd
AZ
216322013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21633
21634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21635
d8cd06db
JM
216362013-05-08 Joseph Myers <joseph@codesourcery.com>
21637
a0d9f9d7
JM
21638 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21639 (MINUS_ZERO_INIT): Likewise.
21640 (PLUS_INFTY_INIT): Likewise.
21641 (MINUS_INFTY_INIT): Likewise.
21642 (QNAN_VALUE_INIT): Likewise.
21643 (MAX_VALUE_INIT): Likewise.
21644 (MIN_VALUE_INIT): Likewise.
21645 (MIN_SUBNORM_VALUE_INIT): Likewise.
21646 (plus_zero): Initialize with PLUS_ZERO_INIT.
21647 (minus_zero): Initialize with MINUS_ZERO_INIT.
21648 (plus_infty): Initialize with PLUS_INFTY_INIT.
21649 (minus_infty): Initialize with MINUS_INFTY_INIT.
21650 (qnan_value): Initialize with QNAN_VALUE_INIT.
21651 (max_value): Initialize with MAX_VALUE_INIT.
21652 (min_value): Initialize with MIN_VALUE_INIT.
21653 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21654
ae08db3b
JM
21655 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21656 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21657 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21658 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21659
f44bf14a
JM
21660 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21661 (RUN_TEST_2_f): Likewise.
21662 (RUN_TEST_ff_f): Likewise.
21663 (RUN_TEST_fi_f): Likewise.
21664 (RUN_TEST_fl_f): Likewise.
21665 (RUN_TEST_fff_f): Likewise.
21666 (RUN_TEST_c_f): Likewise.
21667 (RUN_TEST_f_f1): Likewise.
21668 (RUN_TEST_fF_f1): Likewise.
21669 (RUN_TEST_fI_f1): Likewise.
21670 (RUN_TEST_ffI_f1): Likewise.
21671 (RUN_TEST_c_c): Likewise.
21672 (RUN_TEST_cc_c): Likewise.
21673 (RUN_TEST_f_i): Likewise.
21674 (RUN_TEST_f_i_tg): Likewise.
21675 (RUN_TEST_ff_i_tg): Likewise.
21676 (RUN_TEST_f_b): Likewise.
21677 (RUN_TEST_f_b_tg): Likewise.
21678 (RUN_TEST_f_l): Likewise.
21679 (RUN_TEST_f_L): Likewise.
21680 (RUN_TEST_sincos): Likewise.
21681 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21682 whether to show exceptions. Do not include ");\n" in return
21683 value.
21684 (special_functions): Output call to RUN_TEST_sincos instead of
21685 check_float calls. Update calls to new_test.
21686 (parse_args): Output call to single RUN_TEST_* macro instead of
21687 check_* calls and other assignments. Update calls to new_test.
21688
d8cd06db
JM
21689 [BZ #2546]
21690 [BZ #2560]
21691 [BZ #5159]
21692 [BZ #15426]
21693 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21694 input to result for tgamma overflow.
21695 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21696 (gamma_coeff): New variable.
21697 (NCOEFF): New macro.
21698 (gamma_positive): New function.
21699 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21700 underflow here. Use gamma_positive instead of exp (lgamma) for
21701 other arguments.
21702 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21703 (gamma_coeff): New variable.
21704 (NCOEFF): New macro.
21705 (gammaf_positive): New function.
21706 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21707 underflow here. Use gamma_positive instead of exp (lgamma) for
21708 other arguments.
21709 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21710 (gamma_coeff): New variable.
21711 (NCOEFF): New macro.
21712 (gammal_positive): New function.
21713 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21714 underflow here. Use gamma_positive instead of exp (lgamma) for
21715 other arguments.
21716 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21717 (gamma_coeff): New variable.
21718 (NCOEFF): New macro.
21719 (gammal_positive): New function.
21720 (__ieee754_gammal_r): Handle positive infinity, overflow and
21721 underflow here. Handle NaN the same as positive infinity. Remove
21722 check x < 0xffffffff for negative integers. Use gamma_positive
21723 instead of exp (lgamma) for other arguments.
21724 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21725 (gamma_coeff): New variable.
21726 (NCOEFF): New macro.
21727 (gammal_positive): New function.
21728 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21729 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21730 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21731 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21732 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21733 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21734 * sysdeps/generic/math_private.h (__gamma_productf): New
21735 prototype.
21736 (__gamma_product): Likewise.
21737 (__gamma_productl): Likewise.
21738 * math/Makefile (libm-calls): Add gamma_product.
21739 * math/libm-test.inc (tgamma_test): Add more tests.
21740 * sysdeps/i386/fpu/libm-test-ulps: Update.
21741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21742
bb7cf681
OB
217432013-05-08 Ondřej Bílka <neleai@seznam.cz>
21744
21745 * benchtests/bench-skeleton.c (main): Preheat CPU.
21746
ba853947
AJ
217472013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21748
21749 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21750
8347c74c
RM
217512013-05-07 Roland McGrath <roland@hack.frob.com>
21752
21753 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21754 and _dl_skip_args_internal.
21755
e8dd4791
CD
217562013-05-07 Carlos O'Donell <carlos@redhat.com>
21757
21758 * manual/message.texi (Message Translation): Talk about users.
21759 Message to key mapping impacts design.
21760
c7405830
RM
217612013-05-06 Roland McGrath <roland@hack.frob.com>
21762
a9173057
RM
21763 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21764
976e2f03
RM
21765 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21766
9723ffc5
RM
21767 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21768 * sysdeps/wordsize-64/glob64.c: ... here.
21769
962e6658
RM
21770 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21771 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21772 New macros.
21773
ee586a6d
RM
21774 * debug/getlogin_r_chk.c: Moved to ...
21775 * login/getlogin_r_chk.c: ... here.
21776 * debug/Makefile (routines): Move getlogin_r_chk to ...
21777 * login/Makefile (routines): ... here.
21778 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21779 * login/Versions (libc: GLIBC_2.4): ... here.
21780
355f9165
RM
21781 * io/poll.c (__poll): Renamed from poll.
21782 Add libc_hidden_def.
21783 (poll): Define as weak alias.
21784
bd9ffde6
RM
21785 * debug/ptsname_r_chk.c: Moved to ...
21786 * login/ptsname_r_chk.c: ... here.
21787 * debug/Makefile (routines): Move ptsname_r_chk to ...
21788 * login/Makefile (routines): ... here.
21789 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21790 * login/Versions (libc: GLIBC_2.4): ... here.
21791
8fb16a04
RM
21792 * posix/getlogin.c: Moved to ...
21793 * login/getlogin.c: ... here.
21794 * posix/getlogin_r.c: Moved to ...
21795 * login/getlogin_r.c: ... here.
21796 * posix/getlogin_r.c: Moved to ...
21797 * login/getlogin_r.c: ... here.
21798 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21799 * login/Makefile (routines): ... here.
21800 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21801 * login/Versions (libc: GLIBC_2.0): ... here.
21802
b99b892f
RM
21803 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21804 (setrlimit): Define as weak alias.
21805
c7405830
RM
21806 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21807 Call __ names for open, ftruncate, and close.
21808 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21809 (truncate): Define as weak alias.
21810
5bf96de5
JM
218112013-05-06 Joseph Myers <joseph@codesourcery.com>
21812
9ea3513c
JM
21813 * math/gen-libm-test.pl (parse_args): Initialize x before each
21814 test of frexp, modf and remquo.
21815
5bf96de5
JM
21816 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21817 test signgam value.
21818
16e616a7
AZ
218192013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21820
21821 [BZ #15418]
21822 [BZ #15419]
21823 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21824 internal tests.
21825 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21826
d5e82754
RM
218272013-05-06 Roland McGrath <roland@hack.frob.com>
21828
21829 * elf/dl-writev.h: New file.
21830 * elf/dl-misc.c: Include it.
21831 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21832 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21833
a7548d41
JM
218342013-05-04 Joseph Myers <joseph@codesourcery.com>
21835
b7dab1e4
JM
21836 * math/libm-test.inc (noXFails): Remove variable.
21837 (noXPasses): Likewise.
21838 (BUILD_COMPLEX_INT): Remove macro.
21839 (print_screen): Remove xfail argument.
21840 (print_screen_max_error): Likewise.
21841 (update_stats): Likewise.
21842 (print_max_error): Likewise. Update calls to other affected
21843 functions.
21844 (print_complex_max_error): Likewise.
21845 (test_single_exception): Update calls to print_screen.
21846 (test_single_errno): Likewise.
21847 (check_float_internal): Remove xfail argument. Update calls to
21848 other affected functions.
21849 (check_float): Likewise.
21850 (check_complex): Likewise.
21851 (check_int): Likewise.
21852 (check_long): Likewise.
21853 (check_bool): Likewise.
21854 (check_longlong): Likewise.
21855 (main): Don't print noXFails and noXPasses.
21856 * math/gen-libm-test.pl (top level): Don't mention expected
21857 failure handling in comment.
21858 (new_test): Don't handle expected failures.
21859 (parse_args): Don't mention expected failure handling in comment.
21860 (generate_testfile): Don't handle expected failures.
21861 (parse_ulps): Likewise.
21862 (print_ulps_file): Likewise.
21863 (get_failure): Remove function.
21864 (output_test): Don't handle expected failures.
21865 * make/README.libm-test: Don't mention expected failure handling.
21866
a7548d41
JM
21867 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21868 (minus_zero): Likewise.
21869 (plus_infty): Likewise.
21870 (minus_infty): Likewise.
21871 (qnan_value): Likewise.
21872 (max_value): Likewise.
21873 (min_value): Likewise.
21874 (min_subnorm_value): Likewise.
21875 (initialize): Do not initialize those variables dynamically.
21876
60bfd54c
RM
218772013-05-03 Roland McGrath <roland@hack.frob.com>
21878
cc0e6ed8
RM
21879 * io/open.c (__open_2): Moved to ...
21880 * io/open_2.c: ... this new file.
21881 * io/open64.c (__open64_2): Moved to ...
21882 * io/open64_2.c: ... this new file.
21883 * io/openat.c (__openat_2): Moved to ...
21884 * io/openat_2.c: ... this new file.
21885 * io/openat64.c (__openat64_2): Moved to ...
21886 * io/openat64_2.c: ... this new file.
21887 * io/Makefile (routines): Add them.
21888 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21889 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21890 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21891 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21892 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21893 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21894 (__openat64): Add hidden_ver.
21895 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21896 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21897
60bfd54c
RM
21898 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21899 Separately conditionalize setting of GLRO(dl_sysinfo) so
21900 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21901 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21902
83e7640f
AZ
219032013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21904
21905 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21906 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21907 definition.
21908 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21909 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21910 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21911 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21912 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21913
d5dc2af3
JM
219142013-05-03 Joseph Myers <joseph@codesourcery.com>
21915
c31a5b1e
JM
21916 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21917 test signgam value.
21918
d5dc2af3
JM
21919 * math/libm-test.inc (hypot_test): Do not use
21920 IGNORE_ZERO_INF_SIGN.
21921
164fd39d
AJ
219222013-05-03 Andreas Jaeger <aj@suse.de>
21923
21924 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21925 Linux 3.9.
21926 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21927 (PF_MAX): Adjust for VSOCK change.
21928
8237f48c
AZ
219292013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21930
21931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21932
9df02941
CD
219332013-05-02 Carlos O'Donell <carlos@redhat.com>
21934
21935 [BZ #15264]
21936 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21937 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21938 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21939
d422395e
DM
219402013-05-02 David S. Miller <davem@davemloft.net>
21941
21942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21943
a07c5731
OB
219442013-05-01 Ondřej Bílka <neleai@seznam.cz>
21945
21946 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21947
1324e37f
RM
219482013-05-01 Roland McGrath <roland@hack.frob.com>
21949
21950 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21951
0695940b
RS
219522013-05-01 Richard Smith <richard@metafoo.co.uk>
21953
bb5f27ad 21954 [BZ #14952]
0695940b
RS
21955 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21956 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21957 Use __attribute__ ((__gnu_inline__)).
21958 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21959 Don't use __attribute__ ((__gnu_inline__)).
21960
10de07f5
JM
219612013-05-01 Joseph Myers <joseph@codesourcery.com>
21962
21963 [BZ #15423]
21964 * math/s_catan.c (__catan): Handle small real or imaginary part of
21965 input specially to avoid spurious underflow.
21966 * math/s_catanf.c (__catanf): Likewise.
21967 * math/s_catanh.c (__catanh): Likewise.
21968 * math/s_catanhf.c (__catanhf): Likewise.
21969 * math/s_catanhl.c (__catanhl): Likewise.
21970 * math/s_catanl.c (__catanl): Likewise.
21971 * math/libm-test.inc (catan_test): Add more tests.
21972 (catanh_test): Likewise.
21973 * sysdeps/i386/fpu/libm-test-ulps: Update.
21974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21975
cb4d5414
AZ
219762013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21977
21978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21979
caf84319
JM
219802013-04-30 Joseph Myers <joseph@codesourcery.com>
21981
21982 [BZ #15416]
21983 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21984 accurately for denominator in atan2.
21985 * math/s_catanf.c (__catanf): Likewise.
21986 * math/s_catanh.c (__catanh): Likewise.
21987 * math/s_catanhf.c (__catanhf): Likewise.
21988 * math/s_catanhl.c (__catanhl): Likewise.
21989 * math/s_catanl.c (__catanl): Likewise.
21990 * math/libm-test.inc (catan_test): Add more tests.
21991 (catanh_test): Likewise.
21992 * sysdeps/i386/fpu/libm-test-ulps: Update.
21993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21994
d569c6ee
SP
219952013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21996
6dbe713d
SP
21997 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21998
f0ee064b
SP
21999 * benchtests/Makefile (bench): Remove slow benchmarks.
22000 * benchtests/atan-inputs: Add slow benchmark inputs.
22001 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22002 (BENCH_FUNC): Accept variant offset.
22003 (VARIANT): Define.
22004 * benchtests/bench-skeleton.c (main): Run benchmark for each
22005 variant.
22006 * benchtests/cos-inputs: Add slow benchmark inputs.
22007 * benchtests/exp-inputs: Likewise.
22008 * benchtests/pow-inputs: Likewise.
22009 * benchtests/sin-inputs: Likewise.
22010 * benchtests/slowatan-inputs: Remove.
22011 * benchtests/slowatan.c: Remove.
22012 * benchtests/slowcos-inputs: Remove.
22013 * benchtests/slowcos.c: Remove.
22014 * benchtests/slowexp-inputs: Remove.
22015 * benchtests/slowexp.c: Remove.
22016 * benchtests/slowpow-inputs: Remove.
22017 * benchtests/slowpow.c: Remove.
22018 * benchtests/slowsin-inputs: Remove.
22019 * benchtests/slowsin.c: Remove.
22020 * benchtests/slowtan-inputs: Remove.
22021 * benchtests/slowtan.c: Remove.
22022 * benchtests/tan-inputs: Add slow benchmark inputs.
22023 * scripts/bench.pl: Parse comments and directives.
22024
d569c6ee
SP
22025 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22026 in CPPFLAGS.
22027 ($(objpfx)bench-%.c): Remove *-ITER.
22028 * benchtests/bench-modf.c: Remove definition of ITER.
22029 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22030 (main): Loop for DURATION seconds instead of fixed number of
22031 iterations.
22032 * scripts/bench.pl: Don't expect iterations in parameters.
22033
a6a242fe
RM
220342013-04-29 Roland McGrath <roland@hack.frob.com>
22035
22036 * io/fchdir.c (__fchdir): Renamed from fchdir.
22037 (fchdir): Define as weak alias.
22038
f2da7793
JM
220392013-04-29 Joseph Myers <joseph@codesourcery.com>
22040
22041 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22042 (ERRNO_EDOM): Likewise.
22043 (ERRNO_ERANGE): Likewise.
22044 (noErrnoTests): New variable.
22045 (init_max_error): Set errno to 0.
22046 (test_single_errno): New function.
22047 (test_errno): Likewise.
22048 (check_float_internal): Call test_errno. Set errno to 0.
22049 (check_complex): Refer to errno tests in comment.
22050 (check_int): Call test_errno. Set errno to 0.
22051 (check_long): Likewise.
22052 (check_bool): Likewise.
22053 (check_longlong): Likewise.
22054 (cos_test): Use ERRNO_* flags for errno tests instead of
22055 check_int.
22056 (expm1_test): Likewise.
22057 (fmod_test): Likewise.
22058 (ilogb_test): Likewise.
22059 (lgamma_test): Likewise.
22060 (pow_test): Likewise.
22061 (remainder_test): Likewise.
22062 (sin_test): Likewise.
22063 (tan_test): Likewise.
22064 (yn_test): Likewise.
22065 (initialize): Set errno to 0.
22066 (main): Print number of errno tests.
22067 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22068
b1a36ceb
AJ
220692013-04-29 Andreas Jaeger <aj@suse.de>
22070
c3ed8088
AJ
22071 [BZ #15084]
22072 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22073 and RES_USEVC.
22074
f1a24198
AJ
22075 [BZ #15085]
22076 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22077 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22078 unimplemented.
22079
9ce3b2cb
AJ
22080 [BZ #15380]
22081 * stdlib/random.c (__initstate): Return NULL if
22082 __initstate fails.
22083
f1a24198 22084 [BZ #15086]
b1a36ceb
AJ
22085 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22086 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22087 RES_SNGLKUPREOP.
22088
7e7b6f36
AZ
220892013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22090
22091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22092
4d14f449
JM
220932013-04-29 Joseph Myers <joseph@codesourcery.com>
22094
22095 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22096 of individual tests.
22097 (casin_test): Likewise.
22098 (casinh_test): Likewise.
22099
5b4217d7
JM
221002013-04-27 Joseph Myers <joseph@codesourcery.com>
22101
22102 [BZ #15409]
22103 * math/s_catan.c (__catan): Handle arguments with large real or
22104 imaginary part separately without squaring.
22105 * math/s_catanf.c (__catanf): Likewise.
22106 * math/s_catanh.c (__catanh): Likewise.
22107 * math/s_catanhf.c (__catanhf): Likewise.
22108 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22109 and redefine.
22110 (__catanhl): Handle arguments with large real or imaginary part
22111 separately without squaring.
22112 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22113 and redefine.
22114 (__catanl): Handle arguments with large real or imaginary part
22115 separately without squaring.
22116 * math/libm-test.inc (catan_test): Add more tests.
22117 (catanh_test): Likewise.
22118 * sysdeps/i386/fpu/libm-test-ulps: Update.
22119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22120
4220c3ef
AJ
221212013-04-27 Andreas Jaeger <aj@suse.de>
22122
22123 [BZ #15007]
22124 * stdlib/stdlib.h: Update guards for qecvt.
22125 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22126 <stdlib.h>.
22127
4721b2d1
AM
221282013-04-27 Allan McRae <allan@archlinux.org>
22129
22130 * sysdeps/i386/fpu/libm-test-ulps: Update.
22131
f0302940
JM
221322013-04-26 Joseph Myers <joseph@codesourcery.com>
22133
9457fd95
JM
22134 [BZ #15406]
22135 * math/s_catan.c: Include <float.h>.
22136 (__catan): Ensure underflow exception occurs for underflowed
22137 result.
22138 * math/s_catanf.c: Include <float.h>.
22139 (__catanf): Ensure underflow exception occurs for underflowed
22140 result.
22141 * math/s_catanh.c: Include <float.h>.
22142 (__catanh): Ensure underflow exception occurs for underflowed
22143 result.
22144 * math/s_catanhf.c: Include <float.h>.
22145 (__catanhf): Ensure underflow exception occurs for underflowed
22146 result.
22147 * math/s_catanhl.c: Include <float.h>.
22148 (__catanhl): Ensure underflow exception occurs for underflowed
22149 result.
22150 * math/s_catanl.c: Include <float.h>.
22151 (__catanl): Ensure underflow exception occurs for underflowed
22152 result.
22153 * math/libm-test.inc (catan_test): Add more tests.
22154 (catanh_test): Likewise.
22155
f0302940
JM
22156 [BZ #15405]
22157 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22158 underflowed result.
22159 * math/s_ccoshf.c (__ccoshf): Likewise.
22160 * math/s_ccoshl.c (__ccoshl): Likewise.
22161 * math/s_csin.c (__csin): Likewise.
22162 * math/s_csinf.c (__csinf): Likewise.
22163 * math/s_csinh.c (__csinh): Likewise.
22164 * math/s_csinhf.c (__csinhf): Likewise.
22165 * math/s_csinhl.c (__csinhl): Likewise.
22166 * math/s_csinl.c (__csinl): Likewise.
22167 * math/libm-test.inc (ccos_test): Add more tests.
22168 (ccosh_test): Likewise.
22169 (csin_test): Likewise.
22170 (csinh_test): Likewise.
22171
aa630f59
AZ
221722013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22173
22174 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22175 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22176 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22177 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22178 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22179 powerpc/power5+/fpu folders.
22180 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22181
22182
1b835983
MT
221832013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22184
22185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22186
73709b26
JM
221872013-04-25 Joseph Myers <joseph@codesourcery.com>
22188
22189 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22190 additions to variable.
22191 [$(config-machine) = x86_64] (modules-names): Likewise.
22192 ($(objpfx)tst-audit3): Remove dependency.
22193 ($(objpfx)tst-audit3.out): Likewise.
22194 ($(objpfx)tst-audit4): Likewise.
22195 ($(objpfx)tst-audit4.out): Likewise.
22196 ($(objpfx)tst-audit5): Likewise.
22197 ($(objpfx)tst-audit5.out): Likewise.
22198 ($(objpfx)tst-audit6): Likewise.
22199 ($(objpfx)tst-audit6.out): Likewise.
22200 ($(objpfx)tst-audit7): Likewise.
22201 ($(objpfx)tst-audit7.out): Likewise.
22202 (tst-audit3-ENV): Remove variable.
22203 (tst-audit4-ENV): Likewise.
22204 (tst-audit5-ENV): Likewise.
22205 (tst-audit6-ENV): Likewise.
22206 (tst-audit7-ENV): Likewise.
22207 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22208 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22209 addition to variable.
22210 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22211 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22212 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22213 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22214 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22215 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22216 tst-audit3, tst-audit4 and tst-audit5.
22217 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22218 tst-audit6 and tst-audit7.
22219 [$(subdir) = elf] (modules-names): Add audit modules for those
22220 tests.
22221 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22222 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22223 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22224 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22225 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22226 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22227 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22228 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22229 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22230 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22231 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22232 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22233 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22234 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22235 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22236 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22237 Likewise.
22238 [$(subdir) = elf && $(config-cflags-avx) = yes]
22239 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22240 [$(subdir) = elf && $(config-cflags-avx) = yes]
22241 (CFLAGS-tst-auditmod4a.c): Likewise.
22242 [$(subdir) = elf && $(config-cflags-avx) = yes]
22243 (CFLAGS-tst-auditmod4b.c): Likewise.
22244 [$(subdir) = elf && $(config-cflags-avx) = yes]
22245 (CFLAGS-tst-auditmod6b.c): Likewise.
22246 [$(subdir) = elf && $(config-cflags-avx) = yes]
22247 (CFLAGS-tst-auditmod6c.c): Likewise.
22248 [$(subdir) = elf && $(config-cflags-avx) = yes]
22249 (CFLAGS-tst-auditmod7b.c): Likewise.
22250 * elf/tst-audit3.c: Move to ...
22251 * sysdeps/x86_64/tst-audit3.c: ... here.
22252 * elf/tst-audit4.c: Move to ...
22253 * sysdeps/x86_64/tst-audit4.c: ... here.
22254 * elf/tst-audit5.c: Move to ...
22255 * sysdeps/x86_64/tst-audit5.c: ... here.
22256 * elf/tst-audit6.c: Move to ...
22257 * sysdeps/x86_64/tst-audit6.c: ... here.
22258 * elf/tst-audit7.c: Move to ...
22259 * sysdeps/x86_64/tst-audit7.c: ... here.
22260 * elf/tst-auditmod3a.c: Move to ...
22261 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22262 * elf/tst-auditmod3b.c: Move to ...
22263 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22264 * elf/tst-auditmod4a.c: Move to ...
22265 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22266 * elf/tst-auditmod4b.c: Move to ...
22267 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22268 * elf/tst-auditmod5a.c: Move to ...
22269 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22270 * elf/tst-auditmod5b.c: Move to ...
22271 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22272 * elf/tst-auditmod6a.c: Move to ...
22273 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22274 * elf/tst-auditmod6b.c: Move to ...
22275 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22276 * elf/tst-auditmod6c.c: Move to ...
22277 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22278 * elf/tst-auditmod7a.c: Move to ...
22279 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22280 * elf/tst-auditmod7b.c: Move to ...
22281 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22282
1ef74943
PP
222832013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22284
22285 [BZ #15366]
22286 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22287 define unconditionally.
22288 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22289 define unconditionally.
22290 (INT8_C, INT16_C, etc.): Likewise.
22291
93fd48c5
MR
222922013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22293
ae9552cf
MR
22294 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22295 __ehdr_start with hidden visibility.
22296
93fd48c5
MR
22297 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22298
418601aa
CD
222992013-04-24 Carlos O'Donell <carlos@redhat.com>
22300
22301 * math/libm-test.inc (cos_test): Use accurate hex constants.
22302 (sincost_test): Likewise.
22303
2f38fbfe
JM
223042013-04-24 Joseph Myers <joseph@codesourcery.com>
22305
5e221800
JM
22306 * math/libm-test.inc (catan_test): Add more tests.
22307 (catanh_test): Likewise.
22308
77f143fd
JM
22309 * math/s_catanf.c (__catanf): Use suffixed floating-point
22310 constants.
22311 * math/s_catanhf.c (__catanhf): Likewise.
22312 * math/s_catanhl.c (__catanhl): Likewise.
22313 * math/s_catanl.c (__catanl): Likewise.
22314
2f38fbfe
JM
22315 [BZ #15394]
22316 * math/s_catan.c (__catan): Calculate imaginary part of result
22317 with log1p not log unless computing log of number close to 0.
22318 * math/s_catanf.c (__catanf): Likewise.
22319 * math/s_catanl.c (__catanl): Likewise.
22320 * math/s_catanh.c (__catanh): Calculate real part of result with
22321 log1p not log unless computing log of number close to 0.
22322 * math/s_catanhf.c (__catanhf): Likewise.
22323 * math/s_catanhl.c (__catanhl): Likewise.
22324 * math/libm-test.inc (catan_test): Add more tests.
22325 (catanh_test): Likewise.
22326 * sysdeps/i386/fpu/libm-test-ulps: Update.
22327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22328
45d69176
SP
223292013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22330
22331 * benchtests/Makefile: Mention files in which fast and slow
22332 paths of math functions are implemented.
22333
87f51853
RM
223342013-04-23 Roland McGrath <roland@hack.frob.com>
22335
22336 * sysdeps/posix/timespec_get.c: New file.
22337
3c026539
AZ
223382013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22339
22340 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22341 POWER.
22342 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22343 for POWER.
22344 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22345 powerpc/power5/fpu folders.
22346 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22347 * benchtests/Makefile: Add modf testcase.
22348 * benchtests/bench-modf.c: New file: Benchmark test for mo
22349
ff491d14
SP
223502013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22351
22352 [BZ #14888]
22353 * time/Makefile (tests): Add tst-strptime-whitespace.
22354 * time/strptime_l.c (get_number): Use ISSPACE.
22355 (__strptime_internal): Likewise.
22356 * time/tst-strptime-whitespace.c: New test case.
22357
7ed3f4e8
AS
223582013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22359
22360 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22361 member.
22362 (_nss_files_init): Set it here.
22363
5c95f7b6
HC
223642013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22365
22366 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22367 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22368 unsigned.
22369
d34c9158
JBG
223702013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22371
22372 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22373
2169712d
SP
223742013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22375
22376 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22377 size just once.
22378
29c5de99
DM
223792013-04-21 David S. Miller <davem@davemloft.net>
22380
22381 * po/ru.po: Update Russion translation from translation project.
22382
ccdad15d
AC
223832013-04-17 Adam Conrad <adconrad@0c3.net>
22384
22385 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22386 and setfsgid.
22387
0f122b8d
CD
223882013-04-17 Carlos O'Donell <carlos@redhat.com>
22389
5c5b07da 22390 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 22391 * configure: Regenerate.
5c5b07da 22392 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
22393 Add example to error message.
22394 * sysdeps/i386/configure: Regenerate.
22395
037714dd
SP
223962013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22397
22398 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22399 slowtan.
22400 * benchtests/cos-inputs: New file.
22401 * benchtests/slowcos-inputs: New file.
22402 * benchtests/slowcos.c: New file.
22403 * benchtests/slowtan-inputs: New file.
22404 * benchtests/slowtan.c: New file.
22405 * benchtests/tan-inputs: New file.
22406
e913141d
RM
224072013-04-16 Roland McGrath <roland@hack.frob.com>
22408
22409 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22410 considered kosher.
22411
a2964074
SP
224122013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22413
4856bcd2
SP
22414 * benchtests/Makefile: Include cppflags-iterator.mk to add
22415 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22416
a2964074
SP
22417 * Makefile.in (bench-clean): New target.
22418 * benchtests/Makefile (bench-clean): Likewise.
22419
9fbf9aca
DH
224202013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22421
22422 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22423
207d1e2a
TS
224242013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22425
22426 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22427
306dfba9
AS
224282013-04-15 Andreas Schwab <schwab@suse.de>
22429
22430 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22431 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22432 * nscd/pwdcache.c (cache_addpw): Likewise.
22433 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22434 more than recsize.
22435
206a6699
SP
224362013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22437
22438 * benchtests/Makefile (bench): Write all output to
22439 bench-out.tmp together.
22440
0582f6b3
AS
224412013-04-15 Andreas Schwab <schwab@suse.de>
22442
22443 * nscd/nscd.c (main): Don't fork again after closing files.
22444
acb4325f
SP
224452013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22446
5cb26d0a
SP
22447 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22448
acb4325f
SP
22449 * benchtests/Rules (bench-deps): Collect dependencies into a
22450 single variable. Add Makefile to dependencies.
22451 ($(objpfx)bench-%.c): Depend on bench-deps.
22452
47792506
RM
224532013-04-12 Roland McGrath <roland@hack.frob.com>
22454 Xavier Roche <roche+kml2@exalead.com>
22455
22456 [BZ #15361]
22457 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22458 just that it's a file descriptor.
22459 * manual/llio.texi (Synchronizing AIO Operations): Update description
22460 for EBADF error from aio_fsync.
22461
8fc1bee5
SP
224622013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22463
22464 * Rules (bench): Move target definition...
22465 * benchtests/Makefile: ... here.
22466
aba5e333
CD
224672013-04-11 Carlos O'Donell <carlos@redhat.com>
22468
22469 * math/libm-test.inc (cos_test): Fix PI/2 test.
22470 (sincos_test): Likewise.
22471 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22472 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22473
273cdee8
AS
224742013-04-11 Andreas Schwab <schwab@suse.de>
22475
6ecec3b6
AS
22476 [BZ #13988]
22477 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22478 accept exponent character only when digits were seen.
22479 * stdio-common/Makefile (tests): Add bug26.
22480 * stdio-common/bug26.c: New file.
22481
273cdee8
AS
22482 [BZ #14293]
22483 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22484 non-freeable.
22485
8da491f5
SP
224862013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22487
01dc6df9
SP
22488 * Makeconfig (rtld-prefix): Define built linker prefix.
22489 * Rules (run-bench): Use it.
22490 * math/Makefile (run-regen-ulps): Likewise.
22491
8da491f5
SP
22492 * Rules (bench): Remove eval.
22493
abe7f530
SP
224942013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22495 Roland McGrath <roland@hack.frob.com>
22496 Ondrej Bilka <neleai@seznam.cz>
22497
22498 [BZ #15346]
22499 * time/getdate.c: Include ctype.h and alloca.h.
22500 (__getdate_r): Trim leading and trailing spaces of input.
22501 * time/tst-getdate.c (tests): Add tests with leading and
22502 trailing spaces.
22503
61c23e62
RM
225042013-04-08 Roland McGrath <roland@hack.frob.com>
22505
22506 [BZ #14280]
22507 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22508 when computing value.
22509
7208a313
CD
225102013-04-06 Carlos O'Donell <carlos@redhat.com>
22511
085b2d41
CD
22512 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22513 Use testrun.sh to run libm tests.
22514
7208a313
CD
22515 [BZ #15309]
22516 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22517
872c0acd
MM
225182013-04-06 Marko Myllynen <myllynen@redhat.com>
22519
22520 [BZ #15264]
22521 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22522
26510bdd
CD
225232013-04-06 Carlos O'Donell <carlos@redhat.com>
22524
22525 * Makefile.in (regen-ulps): New target.
22526 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22527 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22528 [ifneq (no,$(PERL)] (regen-ulps): New target.
22529 [ifeq (no,$(PERL)] (regen-ulps): New target.
22530 * math/libm-test.inc (ulps_file_name): Define.
22531 (output_dir): New variable.
22532 (options): Add "output-dir" option.
22533 (parse_opt): Handle 'o' case.
22534 (main): If output_dir is non-NULL use it as a prefix
22535 otherwise use "".
22536 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22537
a01f19c8
CD
225382013-04-06 Carlos O'Donell <carlos@redhat.com>
22539
22540 [BZ #10060, #10062]
22541 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22542 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22543 fail configure if __sync_val_compare_and_swap is not inlined.
22544 * sysdeps/i386/configure: Regenerate.
22545 * configure.in: Build for i686 when configured for i386.
22546 * configure: Regenerate.
22547 * README: Remove i386 reference.
22548
b7a329a5
CD
225492013-04-06 Carlos O'Donell <carlos@redhat.com>
22550
22551 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22552 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22553
bf0f50df
TS
225542013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22555
ee091edf
TS
22556 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22557 (lmsnanval): New variables.
22558 (F): Add conversion tests.
22559 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22560 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22561
a8b792d6
TS
22562 * stdio-common/tstdiomisc.c (F): Properly collect individual
22563 tests' results.
22564
a1cbf437
TS
22565 [BZ #14686, #15336]
22566 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22567 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22568 Instead, use input NaN values or generate a qNaN by arithmetic
22569 operation. Also fix bugs to comply with the standard.
22570 * math/libm-test.inc (remainder_test): Add more tests.
22571
8b43a0c9
TS
22572 [BZ #15335, #15342]
22573 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22574 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22575 input NaN values or generate a qNaN by arithmetic operation.
22576
d91da4ce
TS
22577 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22578 unreachable code.
22579
bf0f50df
TS
22580 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22581 definitions.
22582
05e166c8
JM
225832013-04-03 Joseph Myers <joseph@codesourcery.com>
22584
22585 [BZ #14478]
22586 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22587 underflowed result.
22588 * math/s_cexpf.c (__cexpf): Likewise.
22589 * math/s_cexpl.c (__cexpl): Likewise.
22590 * math/libm-test.inc (cexp_test): Add more tests.
22591
1cef1b19
AS
225922013-04-03 Andreas Schwab <schwab@suse.de>
22593
22594 [BZ #15330]
22595 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22596 order arrays from heap if bigger than alloca cutoff.
22597
74d87055
TS
225982013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22599
22600 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22601 (SNAN_TESTS_double): Refer to GCC PR56831.
22602 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22603 GCC PR56828.
22604
d755bba4
SP
226052013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22606
90d5d5bb
SP
22607 * Rules (bench): Move bench.out after the run is complete.
22608
73e0cd5d
SP
22609 * Rules (bench): Echo currently running benchmark.
22610
64aabd4b
SP
22611 * benchtests/Makefile (bench): Add atan and slowatan.
22612 * benchtests/atan-inputs: New file.
22613 * benchtests/slowatan-inputs: New file.
22614 * benchtests/slowatan.c: New file.
22615
c871eccd
SP
22616 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22617 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22618 its value.
22619
d755bba4
SP
22620 [BZ #15305]
22621 * sysdeps/unix/sysv/linux/kernel-features.h
22622 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22623 __ASSUME_XFS_RESTRICTED_CHOWN.
22624 * sysdeps/unix/sysv/linux/pathconf.c
22625 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22626 Save and restore errno.
22627
52ce4860
JM
226282013-04-02 Joseph Myers <joseph@codesourcery.com>
22629
22630 [BZ #15327]
22631 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22632 arguments using __kernel_casinh.
22633 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22634 arguments using __kernel_casinhf.
22635 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22636 arguments using __kernel_casinhl.
22637 * math/libm-test.inc (cacosh_test): Add more tests.
22638 * sysdeps/i386/fpu/libm-test-ulps: Update.
22639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22640
81f311c2
SP
226412013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22642
e7906a47
SP
22643 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22644 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22645
92e3664b
SP
22646 * bench/Makefile (bench): Add sin and slowsin.
22647 * benchtests/sin-inputs: New file.
22648 * benchtests/slowsin-inputs: New file.
22649 * benchtests/slowsin.c: New file.
22650
81f311c2
SP
22651 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22652 (bench): Add slowexp and slowpow.
22653 (exp-ITER): Increase iterations.
22654 (pow-ITER): Likewise.
22655 * benchtests/exp-inputs: Change input.
22656 * benchtests/pow-inputs: Likewise.
22657 * benchtests/slowexp-inputs: New file.
22658 * benchtests/slowexp.c: New file.
22659 * benchtests/slowpow-inputs: New file.
22660 * benchtests/slowpow.c: New file.
22661
ab0f1aa9
AZ
226622013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22663
22664 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22665 instructions.
22666 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22667 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22668 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22669 * benchtests/Makefile: Add rint benchtest.
22670 * benchtests/rint-inputs: Input for rint benchtest.
22671
57267616
TS
226722013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22673
22674 * Versions.def (libm): Add GLIBC_2.18.
22675 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22676 hidden libm prototypes.
22677 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22678 * math/Makefile (libm-calls): Add s_issignaling.
22679 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22680 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22681 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22682 declaration.
22683 * math/math.h [__USE_GNU] (issignaling): New macro.
22684 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22685 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22686 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22687 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22688 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22689 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22690 * manual/arith.texi (issignaling): New section.
22691 * manual/libm-err-tab.pl (@all_functions): Update comment.
22692 * math/gen-libm-test.pl (parse_args): Apply special handling for
22693 issignaling.
22694 * math/libm-test.inc (print_float, issignaling_test): New
22695 functions.
22696 (check_float_internal): Add issignaling checks.
22697 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22698 default definition.
22699 * sysdeps/powerpc/math-tests.h: New file.
22700 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22701 tests.
22702 * math/test-snan.c (TEST_FUNC): Likewise.
22703
6142896d
DM
227042013-03-30 David S. Miller <davem@davemloft.net>
22705
22706 * po/de.po: Update from translation team.
22707
ccc8cadf
JM
227082013-03-30 Joseph Myers <joseph@codesourcery.com>
22709
22710 [BZ #10357]
22711 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22712 imaginary part less than 1.0 and real part less than 0.5
22713 specially.
22714 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22715 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22716 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22717 (cacos_test): Add more tests.
22718 (casin_test): Likewise.
22719 (casinh_test): Likewise.
22720 * sysdeps/i386/fpu/libm-test-ulps: Update.
22721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22722
0f6a8d4b
SP
227232013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22724
0d1029de
SP
22725 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22726 ONE with its value.
22727
c2d94018
SP
22728 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22729 (__pow_mp): Replace ONE and MONE with their values.
22730 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22731 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22732 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22733 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22734 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22735 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22736
27ec37f1
SP
22737 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22738
a64d7e0e
SP
22739 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22740 (__pow_mp): Replace ZERO and MZERO with their values.
22741 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22742 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22743 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22744 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22745 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22746 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22747 (__sqr): Likewise.
22748
d26dd3eb
SP
22749 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22750
0f6a8d4b
SP
22751 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22752
e57b0c61
RM
227532013-03-28 Roland McGrath <roland@hack.frob.com>
22754
22755 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22756 Declare with __attribute__ ((weak)).
22757 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22758 Call __call_tls_dtors only if it's not NULL.
22759
356b3480
RM
227602013-03-28 Roland McGrath <roland@hack.frob.com>
22761
288f7d79
RM
22762 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22763 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22764 magic __ehdr_start linker symbol if it's defined.
22765 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22766 them up here if it was already done.
22767
dc0a0263
RM
22768 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22769 (_dl_aux_init): Use const in cast when setting it.
22770 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22771 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22772 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22773
3d3436ae
RM
22774 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22775 Declare them here.
22776 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22777 * csu/libc-tls.c: Nor here.
22778 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22779
356b3480
RM
22780 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22781 (__libc_message): Never call vsyslog.
22782
b0f1246a
AM
227832013-03-28 Alan Modra <amodra@gmail.com>
22784
22785 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22786 Define as empty.
22787 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22788 Likewise.
22789
fbbe2b9a
AZ
227902013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22791
22792 [BZ #15214]
22793 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22794 underflow.
22795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22796
1728ab37
SP
227972013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22798
7a86be6e
SP
22799 [BZ #15304]
22800 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22801 Don't add gid passed as argument.
22802
1728ab37
SP
22803 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22804
3a7182a1
JM
228052013-03-27 Joseph Myers <joseph@codesourcery.com>
22806
22807 [BZ #15307]
22808 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22809 imaginary part between 1.0 and 1.5 and real part less than 0.5
22810 specially.
22811 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22812 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22813 * math/libm-test.inc (cacos_test): Add more tests.
22814 (casin_test): Likewise.
22815 (casinh_test): Likewise.
22816 * sysdeps/i386/fpu/libm-test-ulps: Update.
22817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22818
6f2e90e7
SP
228192013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22820
5739f705
SP
22821 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22822 constants.
22823 (norm): Likewise.
22824 (denorm): Likewise.
22825 (__dbl_mp): Likewise.
22826 (add_magnitudes): Likewise.
22827 (sub_magnitudes): Likewise.
22828 (__add): Likewise.
22829 (__sub): Likewise.
22830 (__mul): Likewise.
22831 (__sqr): Likewise.
22832 (__inv): Likewise.
22833 (__dvd): Likewise.
22834
e375e83d
SP
22835 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22836 commented code.
22837 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22838 (__dubcos): Likewise.
22839 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22840 (__ieee754_acos): Likewise.
22841 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22842 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22843 (__exp1): Likewise.
22844 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22845 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22846 (log1): Likewise.
22847 (my_log2): Likewise.
22848 (checkint): Likewise.
22849 * sysdeps/ieee754/dbl-64/e_remainder.c
22850 (__ieee754_remainder): Likewise.
22851 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22852 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22853 (bsloww): Likewise.
22854 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22855
6f2e90e7
SP
22856 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22857 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22858 MANTISSA_STORE_T to store computations on mantissa. Use
22859 macros for rounding and division.
22860 (denorm): Likewise.
22861 (__dbl_mp): Likewise.
22862 (add_magnitudes): Likewise.
22863 (sub_magnitudes): Likewise.
22864 (__mul): Likewise.
22865 (__sqr): Likewise.
22866 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22867 powers of two in terms of TWOPOW macro.
22868 (mp_no): Make type of mantissa as MANTISSA_T.
22869 [!RADIXI]: Define RADIXI.
22870 [!TWO52]: Define TWO52.
22871 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22872
fce14d4e
AZ
228732013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22874
22875 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22876 llroundl symbol when building for PPC32.
22877
9ad027fb
MW
228782013-03-24 Mark H Weaver <mhw@netris.org>
22879
22880 * manual/arith.texi (Normalization Functions): Fix prototypes for
22881 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22882
e42a38dd
AZ
228832013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22884
22885 [BZ #13889]
22886 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22887 high value to check if expl overflow.
22888 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22889 to check for underflow and overflow.
22890 * math/libm-test.inc: Add exp test.
22891
2e0fb521
DL
228922013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22893
22894 [BZ #11120]
22895 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22896 with NOT_IN_libc.
22897
b5784d95
AZ
228982013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22899
22900 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22901 symbol.
22902
5aa4a1a1
TS
229032013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22904
bdef0be7
TS
22905 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22906 wrap blocks consisting of several statements.
22907
5aa4a1a1
TS
22908 * sysdeps/generic/math-tests.h: New file.
22909 * sysdeps/i386/fpu/math-tests.h: Likewise.
22910 * math/test-snan.c: Include it.
22911 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22912
98c48fe5
JM
229132013-03-21 Joseph Myers <joseph@codesourcery.com>
22914
22915 [BZ #15285]
22916 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22917 (__ieee754_j0l): Do not improve calculations using cos of twice
22918 input for inputs above LDBL_MAX / 2.0L.
22919 (__ieee754_y0l): Likewise.
22920 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22921 (__ieee754_j1l): Do not improve calculations using cos of twice
22922 input for inputs above LDBL_MAX / 2.0L.
22923 (__ieee754_y1l): Likewise.
22924 * math/libm-test.inc (j0_test): Add another test.
22925 (j1_test): Likewise.
22926 (y0_test): Likewise.
22927 (y1_test): Likewise.
22928 * sysdeps/i386/fpu/libm-test-ulps: Update.
22929
3775a8bc
SP
229302013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22931
22932 * Rules ($(objpfx)bench-%.c): Include code from a C source
22933 file.
22934
0a1b2ae6
JM
229352013-03-21 Joseph Myers <joseph@codesourcery.com>
22936
22937 [BZ #15287]
22938 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22939 imaginary part 1.0 and real part less than 0.5 specially.
22940 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22941 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22942 * math/libm-test.inc (cacos_test): Add more tests.
22943 (casin_test): Likewise.
22944 (casinh_test): Likewise.
22945 * sysdeps/i386/fpu/libm-test-ulps: Update.
22946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22947
b33d4ce4
SP
229482013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22949
22950 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22951 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22952
bef0b507
JM
229532013-03-20 Joseph Myers <joseph@codesourcery.com>
22954
22955 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22956 * config.make.in (config-cflags-sse4): Remove variable.
22957 (config-cflags-avx): Likewise.
22958 (config-cflags-sse2avx): Likewise.
22959 (config-cflags-novzeroupper): Likewise.
22960 (config-asflags-i686): Likewise.
22961 (have-mfma4): Likewise.
22962 (have-as-vis3): Likewise.
22963 (MIG): Likewise.
22964 * configure.in (MIG): Do not AC_SUBST.
22965 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22966 (libc_cv_cc_sse4): Do not AC_SUBST.
22967 (libc_cv_cc_avx): Likewise.
22968 (libc_cv_cc_sse2avx): Likewise.
22969 (libc_cv_cc_novzeroupper): Likewise.
22970 (libc_cv_cc_fma4): Likewise.
22971 (libc_cv_as_i686): Likewise.
22972 (libc_cv_sparc_as_vis3): Likewise.
22973 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22974 LIBC_CONFIG_VAR.
22975 (config-asflags-i686): Likewise.
22976 (config-cflags-avx): Likewise.
22977 (config-cflags-sse2avx): Likewise.
22978 (have-mfma4): Likewise.
22979 (config-cflags-novzeroupper): Likewise.
22980 * sysdeps/mach/configure.in (MIG): Likewise.
22981 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22982 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22983 LIBC_CONFIG_VAR.
22984 (config-cflags-avx): Likewise.
22985 (config-cflags-sse2avx): Likewise.
22986 (have-mfma4): Likewise.
22987 (config-cflags-novzeroupper): Likewise.
22988 * configure: Regenerated.
22989 * sysdeps/i386/configure: Likewise.
22990 * sysdeps/mach/configure: Likewise.
22991 * sysdeps/sparc/configure: Likewise.
22992 * sysdeps/x86_64/configure: Likewise.
22993
912cc4b3
RM
229942013-03-20 Roland McGrath <roland@hack.frob.com>
22995
22996 [BZ #14812]
22997 * locale/programs/localedef.c (options): Put N_ translation marker
22998 on argument names, not just descriptions.
22999
04eed2b0
MS
230002013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23001
23002 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23003
a065ceff
OB
230042013-03-20 Ondřej Bílka <neleai@seznam.cz>
23005
9bb2a810 23006 [BZ #14176]
a065ceff
OB
23007 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23008
a600e5ce
RM
230092013-03-19 Roland McGrath <roland@hack.frob.com>
23010
23011 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23012 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23013 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23014 [!BEFORE_ABORT] (before_abort): New function.
23015 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23016 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23017 (writev_for_fatal): New function.
23018 (WRITEV_FOR_FATAL): New macro; call that.
23019 (backtrace_and_maps): New function.
23020 (BEFORE_ABORT): New macro; call that.
23021 (struct str_list): Type removed.
23022 (__libc_message, __libc_fatal): Functions removed.
23023 Include <sysdeps/posix/libc_fatal.c> instead.
23024
6b18bea6
JM
230252013-03-19 Joseph Myers <joseph@codesourcery.com>
23026
23027 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23028 constants.
23029 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23030 double constants.
23031
aaa8cb4b
AS
230322013-03-19 Andreas Schwab <schwab@suse.de>
23033
44673770
AS
23034 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23035 * sysdeps/gnu/configure: Regenerate.
23036
aaa8cb4b
AS
23037 * configure.in: Substitute libc_cv_rtlddir.
23038 * configure: Regenerate.
23039 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23040 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23041 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23042 * elf/Makefile (install-others, CFLAGS-interp.c)
23043 (ldso_install, common-ldd-rewrite): Likewise.
23044 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23045 $(inst_slibdir)/$(rtld-installed-name).
23046 * scripts/rellns-sh: Add -p option.
23047 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23048 for source.
23049
d3cfc668
SP
230502013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23051
23052 * manual/nptl.texi: Renamed to ...
23053 * manual/threads.texi: ... this.
23054 * manual/Makefile (chapters): Update.
23055
0e2b9cdd
RM
230562013-03-18 Roland McGrath <roland@hack.frob.com>
23057
23058 [BZ #14812]
23059 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23060 on argument names, not just descriptions.
0e2b9cdd
RM
23061 * malloc/memusagestat.c (options): Likewise.
23062 * nss/getent.c (options): Likewise.
63270c24
RM
23063
230642013-03-18 Benno Schulenberg <bensberg@justemail.net>
23065
23066 [BZ #14812]
23067 * iconv/iconv_prog.c (options): Put N_ translation marker
23068 on argument names, not just descriptions.
23069 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 23070
b2e1393c
OB
230712013-03-18 Ondrej Bilka <neleai@seznam.cz>
23072
23073 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23074 implementation which is faster on all x86_64 architectures.
23075 Tested on AMD, Intel Nehalem, SNB, IVB.
23076 * sysdeps/x86_64/strnlen.S: Likewise.
23077
23078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23079 Remove all multiarch strlen and strnlen versions.
23080 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23081 Remove strlen and strnlen related parts.
23082
23083 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23084 Inline strlen part.
23085 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23086
23087 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23088 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23089 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23090 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23091 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23092 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23093
ec4ff04d
CD
230942013-03-17 Carlos O'Donell <carlos@redhat.com>
23095
23096 * manual/memory.texi (Malloc Tunable Parameters):
23097 Sort parameters alphabetically. Add comments for missing entries.
23098
cd18e90a
DM
230992013-03-17 David S. Miller <davem@davemloft.net>
23100
23101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23102
2a185d32
JM
231032013-03-16 Joseph Myers <joseph@codesourcery.com>
23104
d2f9799e
JM
23105 [BZ #15283]
23106 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23107 for arguments at most half maximum finite value.
23108 * math/libm-test.inc (j0_test): Add more tests.
23109 (j1_test): Likewise.
23110 (y0_test): Likewise.
23111 (y1_test): Likewise.
23112 * sysdeps/i386/fpu/libm-test-ulps: Update.
23113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23114
2a185d32
JM
23115 [BZ #14155]
23116 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23117 1 / x and functions P and Q for arguments above 0x1p256L.
23118 (__ieee754_y0l): Likewise.
23119 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23120 (__ieee754_y1l): Likewise.
23121 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23122 (j1_test): Likewise.
23123 (y0_test): Likewise.
23124 (y1_test): Likewise.
23125
6cbec759
TS
231262013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23127
23128 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23129 variable.
23130
bc16e260
RM
231312013-03-15 Roland McGrath <roland@hack.frob.com>
23132
aefc9b8c
RM
23133 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23134 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23135 zero since it's initialized to EXEC_PAGESIZE.
23136
bc16e260
RM
23137 * sysdeps/unix/sysv/linux/ldsodefs.h
23138 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23139 * sysdeps/generic/ldsodefs.h: ... here.
23140
a57da955
TS
231412013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23142
af00a34d
TS
23143 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23144
495ded2c
TS
23145 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23146 math/test-snan.c.
23147 * math/test-snan.c: Renamed from
23148 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23149 * math/Makefile (tests): Add test-snan.
23150 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23151 test-powerpc-snan.
23152
777b0332
TS
23153 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23154 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23155 functions.
23156 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23157 __builtin_nan family of functions.
23158 * math/libm-test.inc (initialize): Initialize qnan_value with
23159 __builtin_nan family of functions.
23160 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23161 Remove variables.
23162 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23163 Remove functions.
23164 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23165 storage class. Initialize qNaN_var and sNaN_var with
23166 __builtin_nan and __builtin_nans families of functions,
23167 respectively.
23168
64d063b8
TS
23169 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23170 (sqrt_test): Remove duplicate test with qNaN input.
23171 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23172 (round_test, signbit_test, significand_test): Note missing +/-Inf
23173 as well as qNaN tests.
23174
67e971f1
TS
23175 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23176 qNaN_var. Fix a few strings, too.
23177 * math/libm-test.inc (nan_value): Rename to qnan_value.
23178 * math/gen-libm-test.pl (%beautify): Adjust to that.
23179 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23180 * math/test-misc.c (main): Likewise.
23181 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23182 to __qnan_bytes, and __qnan_union, respectively.
23183 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23184 Likewise.
23185 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23186 and lqnanval, respectively.
23187 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23188 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23189 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23190 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23191
64487e12
TS
23192 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23193 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23194 doubles.
23195
e015e27b
TS
23196 * math/test-misc.c (main): Fix copy'n'pastos.
23197 * misc/tst-efgcvt.c (special): Likewise.
23198
a57da955
TS
23199 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23200 Remove declarations.
23201
1e380345
SP
232022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23203
23204 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23205 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23206 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23207 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23208
ef26eece
AZ
232092013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23210
23211 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23212 macro to return vdso values correctly in IFUNC implementations.
23213 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23214 Optimization by using IFUNC.
23215
8cfdb7e0
SP
232162013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23217 Richard Henderson <rth@redhat.com>
23218 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23219
23220 * Makefile.in (bench): New target.
23221 * NEWS: Mention the benchmark framework.
23222 * Rules (bench): Likewise.
23223 (binaries-bench): Generate binaries for functions to
23224 benchmark.
23225 * benchtests/Makefile: New makefile for benchmark tests.
23226 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23227 programs.
23228 * benchtests/exp-inputs: New input file for EXP function.
23229 * benchtests/pow-inputs: New input file for POW function.
23230 * scripts/bench.pl: New script to generate source files for
23231 benchmark programs.
23232
bcda9880
SP
232332013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23234
d22ca8cd
SP
23235 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23236 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23237 computations on mantissa. Use macros for rounding and
23238 division.
23239 (denorm): Likewise.
23240 (__dbl_mp): Likewise.
23241 (add_magnitudes): Likewise.
23242 (sub_magnitudes): Likewise.
23243 (__mul): Likewise.
23244 (__sqr): Likewise.
23245 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23246 powers of two in terms of TWOPOW macro.
23247 (mp_no): Make type of mantissa as MANTISSA_T.
23248 [!RADIXI]: Define RADIXI.
23249 [!TWO52]: Define TWO52.
23250 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23251
bcda9880
SP
23252 * manual/nptl.texi (cindex): Modify threads to pthreads.
23253
06d5adfb
JM
232542013-03-15 Joseph Myers <joseph@codesourcery.com>
23255
23256 * sysdeps/x86_64/preconfigure: Regenerated.
23257
41c7328e
JM
232582013-03-14 Joseph Myers <joseph@codesourcery.com>
23259
23260 [BZ #14155]
23261 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23262 0x1p28 and above.
23263 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23264 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23265 0x1p28 and above.
23266 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23267 * math/libm-test.inc (j0_test): Do not allow one spurious
23268 underflow exception.
23269 (y1_test): Likewise.
23270
e25cfa60
SP
232712013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23272
0409959c
SP
23273 * manual/Makefile (chapters): Add nptl.
23274 * manual/debug.texi (Debugging Support): Add link to Threads
23275 chapter.
23276 * manual/nptl.texi: New file.
23277
e25cfa60
SP
23278 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23279
58a1335e
PB
232802013-03-14 Petr Baudis <pasky@ucw.cz>
23281
23282 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23283 for non-NULL pointer before the memory validity test. Pointed
23284 out by Holger Brunck <holger.brunck@keymile.com>.
23285
9dc7c64f
AS
232862013-03-13 Andreas Schwab <schwab@suse.de>
23287
23288 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23289 instead of .os.
23290
54206aa6
JM
232912013-03-13 Joseph Myers <joseph@codesourcery.com>
23292
23293 * timezone/zic.c: Update from tzcode 2013b.
23294
e98cdb38
CD
232952013-03-12 Carlos O'Donell <carlos@redhat.com>
23296
23297 * manual/install.texi (Configuring and compiling):
23298 Mention i686 and i586.
23299 * INSTALL: Regenerate.
23300
9967e003
RM
233012013-03-12 Roland McGrath <roland@hack.frob.com>
23302
23303 * sysdeps/init_array/elf-init.c: New file.
23304 * csu/elf-init.c
23305 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23306 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23307
23308 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23309 __gmon_start__ as global, but as static with a .preinit_array pointer.
23310 * sysdeps/init_array/gmon-start.c: New file. Use that.
23311 * sysdeps/init_array/crti.S: New file, empty except for comments.
23312 * sysdeps/init_array/crtn.S: Likewise.
23313
e6b5a293 233142013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
23315
23316 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23317 definining bcopy.
80f844c9
OB
23318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23319 Remove Prefer_SSE_for_memop.
23320 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23321 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23322 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
23323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23324 memset-x86-64.
80f844c9 23325 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 23326 Remove bzero, memset ifunc support.
80f844c9
OB
23327 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23328 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23329 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23330 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23331
fb6b0fcb
AS
233322013-03-11 Andreas Schwab <schwab@suse.de>
23333
23334 [BZ #15234]
23335 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23336 by SHLIB_COMPAT.
23337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23338 (GLIBC_2.16): Remove pthread_atfork.
23339
3e6bd4b1
PP
233402013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23341
23342 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23343 (ptestcases.h): Likewise.
23344
222d7f00
RM
233452013-03-08 Roland McGrath <roland@hack.frob.com>
23346
23347 * Makeconfig ($(common-objpfx)config.status): Depend on
23348 sysdeps/*/preconfigure{,.in} too.
23349
1ba4f030
JM
233502013-03-08 Joseph Myers <joseph@codesourcery.com>
23351
a222d91a
JM
23352 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23353 (__free_hook): Use void * instead of __malloc_ptr_t.
23354 (__malloc_hook): Likewise.
23355 (__realloc_hook): Likewise.
23356 (__memalign_hook): Likewise.
23357 (__after_morecore_hook): Likewise.
23358 * malloc/arena.c (save_malloc_hook): Likewise.
23359 (save_free_hook): Likewise.
23360 * malloc/hooks.c (malloc_hook_ini): Likewise.
23361 (realloc_hook_ini): Likewise.
23362 (memalign_hook_ini): Likewise.
23363 * malloc/malloc.c (malloc_hook_ini): Likewise.
23364 (realloc_hook_ini): Likewise.
23365 (memalign_hook_ini): Likewise.
23366 (__free_hook): Likewise.
23367 (__malloc_hook): Likewise.
23368 (__realloc_hook): Likewise.
23369 (__memalign_hook): Likewise.
23370 (__libc_malloc): Likewise.
23371 (__libc_free): Likewise.
23372 (__libc_realloc): Likewise.
23373 (__libc_memalign): Likewise.
23374 (__libc_valloc): Likewise.
23375 (__libc_pvalloc): Likewise.
23376 (__libc_calloc): Likewise.
23377 (__posix_memalign): Likewise.
23378 * malloc/morecore.c (__sbrk): Likewise.
23379 (__default_morecore): Likewise.
23380
5cc45e10
JM
23381 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23382
dd54b864
JM
23383 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23384 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23385 __malloc_ptrdiff_t.
23386
1ba4f030
JM
23387 * malloc/malloc.h (__malloc_size_t): Remove macro.
23388 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23389 __malloc_size_t.
23390 (old_memalign_hook): Likewise.
23391 (old_realloc_hook): Likewise.
23392 (struct hdr): Likewise.
23393 (flood): Likewise.
23394 (mallochook): Likewise.
23395 (memalignhook): Likewise.
23396 (reallochook): Likewise.
23397 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23398 (tr_old_realloc_hook): Likewise.
23399 (tr_old_memalign_hook): Likewise.
23400 (tr_mallochook): Likewise.
23401 (tr_reallochook): Likewise.
23402 (tr_memalignhook): Likewise.
23403
edf66e57
AZ
234042013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23405
23406 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23407 default_ldbl_pack and using as default implementation.
23408 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23409 implementation.
23410 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23411 redundant definition.
23412 (ldbl_insert_mantissa): Likewise.
23413 (ldbl_canonicalize): Likewise.
23414 (ldbl_nearbyint): Likewise.
23415 (ldbl_pack): Rename to ldbl_pack_ppc.
23416 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23417 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23418 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23419
6d9145d8
SP
234202013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23421
23422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23423 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23424 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23425 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23427 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23428 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23429 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23430
4dd4e157
AJ
234312013-03-07 Andreas Jaeger <aj@suse.de>
23432
23433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23434 bits/mman-linux.h.
23435
adbb8027
SP
234362013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23437
ce544b5b
SP
23438 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23439 Include mpa.h and declare __MPEXP.
23440 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23441 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23442 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23443 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23444 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23445 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23446 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23447
4cc149fd
SP
23448 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23449 (__slowpow): Use long double EXPL and LOGL functions to
23450 compute POW.
23451 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23452 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23453 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23454 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23455 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23456 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23457
e6ebd4a7
SP
23458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23459 intermediate variable to calculate exponent.
23460 (__sqr): Likewise.
23461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23462 Likewise.
23463 (__sqr): Likewise.
23464
82a9811d
SP
23465 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23466 [!NO__SQR]: Define __sqr.
23467 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23468 and NO__SQR. Remove all code except __mul and __sqr. Include
23469 sysdeps/ieee754/dbl-64/mpa.c.
23470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23471
adbb8027
SP
23472 [BZ #12723]
23473 * posix/Makefile (tests): Add tst-pathconf.
23474 * posix/tst-pathconf.c: New test case.
23475 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23476 _PC_PIPE_BUF.
23477 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23478
39120df9
PF
234792013-03-06 Patsy Franklin <pfrankli@redhat.com>
23480
23481 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23482
67525cb8
AJ
234832013-03-06 Andreas Jaeger <aj@suse.de>
23484
664a9ce4
AJ
23485 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23486 definition via __MAP_ANONYMOUS.
23487
8e39047d
AJ
23488 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23489 it's not part of Linux headers.
23490
67525cb8
AJ
23491 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23492 (MAP_HUGE_MASK): Define.
23493
23494 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23495 Define.
23496 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23497 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23498 Define.
23499 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23500 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23501 Define.
23502 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23503 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23504 Define.
23505 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23506
23507 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23508 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23509 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23510 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23511 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23512 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23513
23514 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23515 Handle f2fs.
23516
23517 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23518 Handle f2fs and efivarfs.
23519
23520 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23521 f2fs.
23522
23523 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23524 (EFIVARFS_MAGIC): Add.
23525 (F2FS_LINK_MAX): Add.
23526
e1b42695
PP
235272013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23528
23529 * stdio-common/vfprintf.c: Replace __builtin_expect with
23530 __glibc_unlikely.
23531
2d67d91a
JM
235322013-03-06 Joseph Myers <joseph@codesourcery.com>
23533
23534 [BZ #13550]
23535 * sysdeps/generic/bp-sym.h: Remove file.
23536 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23537 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23538 <bp-sym.h> and <bp-asm.h>.
23539 (__longjmp): Don't use BP_SYM.
23540 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23541 and <bp-asm.h>.
23542 (memcpy): Don't use BP_SYM.
23543 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23544 <bp-sym.h> and <bp-asm.h>.
23545 (memcpy): Don't use BP_SYM.
23546 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23547 <bp-asm.h>.
23548 (memcpy): Don't use BP_SYM.
23549 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23550 <bp-asm.h>.
23551 (memset): Don't use BP_SYM.
23552 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23553 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23554 (__bzero): Don't use BP_SYM.
23555 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23556 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23557 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23558 <bp-sym.h> and <bp-asm.h>.
23559 (memcmp): Don't use BP_SYM. Remove comment about bounded
23560 pointers.
23561 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23562 <bp-sym.h> and <bp-asm.h>.
23563 (memcpy): Don't use BP_SYM.
23564 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23565 <bp-sym.h> and <bp-asm.h>.
23566 (memset): Don't use BP_SYM.
23567 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23568 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23569 (__bzero): Don't use BP_SYM.
23570 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23571 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23572 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23573 <bp-sym.h> and <bp-asm.h>.
23574 (strncmp): Don't use BP_SYM. Remove comment about bounded
23575 pointers.
23576 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23577 <bp-sym.h> and <bp-asm.h>.
23578 (memcpy): Don't use BP_SYM.
23579 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23580 <bp-sym.h> and <bp-asm.h>.
23581 (memset): Don't use BP_SYM.
23582 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23583 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23584 (__bzero): Don't use BP_SYM.
23585 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23586 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23587 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23588 <bp-sym.h> and <bp-asm.h>.
23589 (__memchr): Don't use BP_SYM.
23590 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23591 <bp-sym.h> and <bp-asm.h>.
23592 (memcmp): Don't use BP_SYM. Remove comment about bounded
23593 pointers.
23594 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23595 <bp-sym.h> and <bp-asm.h>.
23596 (memcpy): Don't use BP_SYM.
23597 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23598 <bp-sym.h> and <bp-asm.h>.
23599 (__mempcpy): Don't use BP_SYM.
23600 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23601 <bp-sym.h> and <bp-asm.h>.
23602 (__memrchr): Don't use BP_SYM.
23603 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23604 <bp-sym.h> and <bp-asm.h>.
23605 (memset): Don't use BP_SYM.
23606 (__bzero): Likewise.
23607 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23608 <bp-sym.h> and <bp-asm.h>.
23609 (__rawmemchr): Don't use BP_SYM.
23610 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23611 <bp-sym.h> and <bp-asm.h>.
23612 (__STRCMP): Don't use BP_SYM.
23613 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23614 <bp-sym.h> and <bp-asm.h>.
23615 (strchr): Don't use BP_SYM.
23616 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23617 <bp-sym.h> and <bp-asm.h>.
23618 (__strchrnul): Don't use BP_SYM.
23619 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23620 <bp-sym.h> and <bp-asm.h>.
23621 (strlen): Don't use BP_SYM.
23622 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23623 <bp-sym.h> and <bp-asm.h>.
23624 (strncmp): Don't use BP_SYM. Remove comment about bounded
23625 pointers.
23626 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23627 <bp-sym.h> and <bp-asm.h>.
23628 (__strnlen): Don't use BP_SYM.
23629 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23630 <bp-sym.h> and <bp-asm.h>.
23631 (__GI__setjmp): Don't use BP_SYM.
23632 (_setjmp): Likewise.
23633 (__sigsetjmp): Likewise.
23634 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23635 (L(start_addresses)): Don't use BP_SYM.
23636 (_start): Likewise.
23637 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23638 <bp-asm.h>.
23639 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23640 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23641 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23642 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23643 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23644 <bp-asm.h>.
23645 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23646 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23647 about bounded pointers.
23648 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23649 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23650 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23651 <bp-asm.h>.
23652 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23653 about bounded pointers. Remove GKM FIXME comments.
23654 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23655 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23656 <bp-asm.h>.
23657 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23658 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23659 Remove GKM FIXME comments.
23660 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23661 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23662 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23663 <bp-asm.h>.
23664 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23665 about bounded pointers. Remove GKM FIXME comment.
23666 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23667 and <bp-asm.h>.
23668 (strncmp): Don't use BP_SYM. Remove comment about bounded
23669 pointers.
23670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23671 <bp-sym.h> and <bp-asm.h>.
23672 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23674 <bp-sym.h> and <bp-asm.h>.
23675 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23676 comment.
23677
cdcf361f
PP
236782013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23679
23680 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23681 call free(NULL).
23682
3c4a2b15
DM
236832013-03-05 David S. Miller <davem@davemloft.net>
23684
23685 * po/es.po: Update from translation team.
23686
cdcf361f 236872013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
23688
23689 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23690 <bits/mman-linux.h>.
23691 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23692 is fine.
23693 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23694 <bits/mman-linux.h> to end of file.
23695 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23696 is fine.
23697 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23698 <bits/mman-linux.h> to end of file.
23699 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23700 is fine.
23701 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23702 <bits/mman-linux.h> to end of file.
23703
23704 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23705 (MCL_CURRENT, MCL_FUTURE): Define here.
23706
5f67c04f
AK
237072013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23708
8a4473cc 23709 [BZ #15232]
5f67c04f
AK
23710 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23711 attribute_hidden.
23712 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23713
c3e94a95
AK
237142013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23715
23716 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23717 fourth parameter needed for rt_sigprocmask syscall.
23718 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23719 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23720 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23721 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23722 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23723 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23724
cfb6382a
JM
237252013-03-04 Joseph Myers <joseph@codesourcery.com>
23726
23727 [BZ #13550]
23728 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23729 comment about bounded pointers.
23730 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23731 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23732
539d8e01
AJ
237332013-03-04 Andreas Jaeger <aj@suse.de>
23734
23735 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23736 common definitions.
23737
23738 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23739 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23740 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23741 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23742 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
23743 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23744
2e167a70 237452013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
23746
23747 [BZ #15055]
23748 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23749 __ieee754_sqrl instead of __sqrl.
23750
68508633
JM
237512013-03-01 Joseph Myers <joseph@codesourcery.com>
23752
23753 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23754 * sysdeps/powerpc/fpu_control.h: ... here.
23755 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23756 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23757 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23758 * sysdeps/powerpc/bits/mathinline.h: ... here.
23759
7775448e
RM
237602013-03-01 Roland McGrath <roland@hack.frob.com>
23761
23762 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23763 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23764 to just [NEED_DL_SYSINFO_DSO].
23765 * elf/dl-support.c: Likewise.
23766 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23767 * elf/rtld.c (dl_main): Likewise.
23768 * elf/setup-vdso.h (setup_vdso): Likewise.
23769 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23770 * sysdeps/unix/sysv/linux/dl-sysdep.c
23771 (_dl_discover_osversion): Likewise.
23772
4e9b5995
CD
237732013-03-01 Carlos O'Donell <carlos@redhat.com>
23774
23775 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23776 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23777
e23872c8
SP
237782013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23779
e5c74c63
SP
23780 * NEWS: Mention libm performance improvements and non-x86 PI
23781 futex support.
23782
e23872c8
SP
23783 * csu/libc-start.c (__pthread_initialize_minimal): Change
23784 function arguments.
23785 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23786
b5510883
JM
237872013-02-28 Joseph Myers <joseph@codesourcery.com>
23788
23789 [BZ #13550]
23790 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23791 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23792 <bp-sym.h> and <bp-asm.h>.
23793 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23794 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23795 and <bp-asm.h>.
23796 (memcpy): Don't use BP_SYM.
23797 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23798 <bp-asm.h>.
23799 (__mpn_add_n): Don't use BP_SYM.
23800 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23801 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23802 and <bp-asm.h>.
23803 (__mpn_addmul_1): Don't use BP_SYM.
23804 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23805 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23806 <bp-sym.h>.
23807 (_setjmp): Don't use BP_SYM.
23808 (__novmx_setjmp): Likewise.
23809 (__GI__setjmp): Likewise.
23810 (__vmx_setjmp): Likewise.
23811 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23812 <bp-sym.h>.
23813 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23814 (__bzero): Don't use BP_SYM.
23815 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23816 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23817 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23818 <bp-sym.h> and <bp-asm.h>.
23819 (memcpy): Don't use BP_SYM.
23820 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23821 <bp-sym.h> and <bp-asm.h>.
23822 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23823 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23824 <bp-sym.h> and <bp-asm.h>.
23825 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23826 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23827 <bp-asm.h>.
23828 (__mpn_lshift): Don't use BP_SYM.
23829 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23830 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23831 <bp-asm.h>.
23832 (memset): Don't use BP_SYM.
23833 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23834 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23835 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23836 <bp-asm.h>.
23837 (__mpn_mul_1): Don't use BP_SYM.
23838 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23839 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23840 <bp-sym.h> and <bp-asm.h>.
23841 (memcmp): Don't use BP_SYM.
23842 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23843 <bp-sym.h> and <bp-asm.h>.
23844 (memcpy): Don't use BP_SYM.
23845 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23846 <bp-sym.h> and <bp-asm.h>.
23847 (memset): Don't use BP_SYM.
23848 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23849 <bp-sym.h> and <bp-asm.h>.
23850 (strncmp): Don't use BP_SYM.
23851 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23852 <bp-sym.h> and <bp-asm.h>.
23853 (memcpy): Don't use BP_SYM.
23854 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23855 <bp-sym.h> and <bp-asm.h>.
23856 (memset): Don't use BP_SYM.
23857 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23858 <bp-sym.h> and <bp-asm.h>.
23859 (__memchr): Don't use BP_SYM.
23860 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23861 <bp-sym.h> and <bp-asm.h>.
23862 (memcmp): Don't use BP_SYM.
23863 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23864 <bp-sym.h> and <bp-asm.h>.
23865 (memcpy): Don't use BP_SYM.
23866 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23867 <bp-sym.h> and <bp-asm.h>.
23868 (__mempcpy): Don't use BP_SYM.
23869 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23870 <bp-sym.h> and <bp-asm.h>.
23871 (__memrchr): Don't use BP_SYM.
23872 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23873 <bp-sym.h> and <bp-asm.h>.
23874 (memset): Don't use BP_SYM.
23875 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23876 <bp-sym.h> and <bp-asm.h>.
23877 (__rawmemchr): Don't use BP_SYM.
23878 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23879 <bp-sym.h> and <bp-asm.h>.
23880 (__STRCMP): Don't use BP_SYM.
23881 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23882 <bp-sym.h> and <bp-asm.h>.
23883 (strchr): Don't use BP_SYM.
23884 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23885 <bp-sym.h> and <bp-asm.h>.
23886 (__strchrnul): Don't use BP_SYM.
23887 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23888 <bp-sym.h> and <bp-asm.h>.
23889 (strlen): Don't use BP_SYM.
23890 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23891 <bp-sym.h> and <bp-asm.h>.
23892 (strncmp): Don't use BP_SYM.
23893 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23894 <bp-sym.h> and <bp-asm.h>.
23895 (__strnlen): Don't use BP_SYM.
23896 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23897 <bp-asm.h>.
23898 (__mpn_rshift): Don't use BP_SYM.
23899 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23900 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23901 <bp-sym.h> and <bp-asm.h>.
23902 (__sigsetjmp): Don't use BP_SYM.
23903 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23904 (L(start_addresses)): Don't use BP_SYM.
23905 (_start): Likewise.
23906 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23907 <bp-asm.h>.
23908 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23909 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23910 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23911 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23912 <bp-asm.h>.
23913 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23914 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23915 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23916 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23917 <bp-asm.h>.
23918 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23919 comments.
23920 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23921 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23922 <bp-asm.h>.
23923 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23924 FIXME comments.
23925 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23926 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23927 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23928 <bp-asm.h>.
23929 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23930 comment.
23931 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23932 and <bp-asm.h>.
23933 (strncmp): Don't use BP_SYM,
23934 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23935 <bp-asm.h>.
23936 (__mpn_sub_n): Don't use BP_SYM.
23937 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23938 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23939 and <bp-asm.h>.
23940 (__mpn_submul_1): Don't use BP_SYM.
23941 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23943 <bp-sym.h> and <bp-asm.h>.
23944 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23946 <bp-sym.h> and <bp-asm.h>.
23947 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23948 comment.
23949
8d19fe64
SP
239502013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23951
23952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23953 Use ZK to minimize writes to Z.
23954 (sub_magnitudes): Simplify code a bit.
23955 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23956 Use ZK to minimize writes to Z.
23957 (sub_magnitudes): Simplify code a bit.
23958
85bd816a
RM
239592013-02-27 Roland McGrath <roland@hack.frob.com>
23960
23961 * csu/gmon-start.c: Add special exception to license text.
23962
b5977bf2
RH
239632013-02-27 Richard Henderson <rth@redhat.com>
23964
23965 * scripts/config.guess: Update from config.git.
23966 * scripts/config.sub: Likewise.
23967
11d6e2f2
SP
239682013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23969
09c14ed2
SP
23970 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23971
a688864e
SP
23972 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23973
6295157a
SP
23974 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23975
b8de2202
SP
23976 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23977
11d6e2f2
SP
23978 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23979
7e80ddb8
RM
239802013-02-26 Roland McGrath <roland@hack.frob.com>
23981
23982 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23983 [$(build-shared = yes].
7e80ddb8 23984
7da6d9ed
SP
239852013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23986
45f05884
SP
23987 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23988 (__mul): Reduce iterations for calculating mantissa.
23989
2236d359
SP
23990 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23991 MPTWO.
23992 (__mpranred): Likewise.
23993
7da6d9ed
SP
23994 [BZ #15160]
23995 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23996 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23997
b7688c42
PE
239982013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23999
24000 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24001 Define __attribute__.
24002
53a5c423
SP
240032013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24004
24005 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24006 unused.
24007 * posix/regex_internal.h (__attribute): Remove.
24008 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24009 (re_string_context_at): Likewise.
24010 (bitset_not): Use __attribute__ and mark function as possibly
24011 unused.
24012 (bitset_merge): Likewise.
24013 (bitset_mask): Likewise.
24014 (re_string_char_size_at): Likewise.
24015 (re_string_wchar_at): Likewise.
24016 (re_string_elem_size_at): Likewise.
24017
60f5a8b5
SP
240182013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24019
2a983a2e
SP
24020 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24021 code.
24022 (cc32): Likewise.
24023
e69804d1
SP
24024 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24025 (__acr): Likewise.
24026 (__cpy): Likewise.
24027 (norm): Likewise.
24028 (denorm): Likewise.
24029 (__dbl_mp): Likewise.
24030 (add_magnitudes): Likewise.
24031 (sub_magnitudes): Likewise.
24032 (__mul): Likewise.
24033 (__inv): Likewise.
24034
2f22a1e8
SP
24035 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24036 style.
24037
8930ddc7
SP
24038 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24039 style.
24040
dc60cb11
SP
24041 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24042 code.
24043
60f5a8b5
SP
24044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24045 up changes with default code.
24046 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24047 Likewise.
24048
b4d1fd33
AM
240492013-02-24 Allan McRae <allan@archlinux.org>
24050
faf6f8bc
AM
24051 * manual/socket.texi (The Internet Namespace): Order menu items
24052 to match that in the file.
24053
b4d1fd33
AM
24054 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24055 node listing of the info page menu.
24056
2366713d
JM
240572013-02-21 Joseph Myers <joseph@codesourcery.com>
24058
24059 [BZ #13550]
24060 * sysdeps/i386/bp-asm.h: Remove file.
24061 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24062 (PARMS): Do not use macros from bp-asm.h.
24063 (S1): Likewise.
24064 (S2): Likewise.
24065 (SIZE): Likewise.
24066 (__mpn_add_n): Do not use BP_SYM
24067 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24068 "bp-asm.h".
24069 (PARMS): Do not use macros from bp-asm.h.
24070 (S1): Likewise.
24071 (SIZE): Likewise.
24072 (__mpn_addmul_1): Do not use BP_SYM
24073 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24074 "bp-asm.h".
24075 (PARMS): Do not use macros from bp-asm.h.
24076 (SIGMSK): Likewise.
24077 (_setjmp): Likewise. Do not use BP_SYM.
24078 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24079 "bp-asm.h".
24080 (PARMS): Do not use macros from bp-asm.h.
24081 (SIGMSK): Likewise.
24082 (setjmp): Likewise. Do not use BP_SYM.
24083 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24084 "bp-asm.h".
24085 (PARMS): Do not use macros from bp-asm.h.
24086 (__frexp): Do not use BP_SYM.
24087 (frexp): Likewise.
24088 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24089 "bp-asm.h".
24090 (PARMS): Do not use macros from bp-asm.h.
24091 (__frexpf): Do not use BP_SYM.
24092 (frexpf): Likewise.
24093 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24094 "bp-asm.h".
24095 (PARMS): Do not use macros from bp-asm.h.
24096 (__frexpl): Do not use BP_SYM.
24097 (frexpl): Likewise.
24098 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24099 "bp-asm.h".
24100 (PARMS): Do not use macros from bp-asm.h.
24101 (__remquo): Do not use BP_SYM.
24102 (remquo): Likewise.
24103 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24104 "bp-asm.h".
24105 (PARMS): Do not use macros from bp-asm.h.
24106 (__remquof): Do not use BP_SYM.
24107 (remquof): Likewise.
24108 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24109 "bp-asm.h".
24110 (PARMS): Do not use macros from bp-asm.h.
24111 (__remquol): Do not use BP_SYM.
24112 (remquol): Likewise.
24113 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24114 "bp-asm.h".
24115 (PARMS): Do not use macros from bp-asm.h.
24116 (DEST): Likewise.
24117 (SRC): Likewise.
24118 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24119 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24120 "bp-asm.h".
24121 (PARMS): Do not use macros from bp-asm.h.
24122 (strlen): Do not use BP_SYM.
24123 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24124 "bp-asm.h".
24125 (PARMS): Do not use macros from bp-asm.h.
24126 (S1): Likewise.
24127 (S2): Likewise.
24128 (SIZE): Likewise.
24129 (__mpn_add_n): Do not use BP_SYM.
24130 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24131 "bp-asm.h".
24132 (PARMS): Do not use macros from bp-asm.h.
24133 (S1): Likewise.
24134 (SIZE): Likewise.
24135 (__mpn_addmul_1): Do not use BP_SYM.
24136 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24137 weak_alias.
24138 (bzero): Likewise.
24139 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24140 "bp-asm.h".
24141 (PARMS): Do not use macros from bp-asm.h.
24142 (S): Likewise.
24143 (SIZE): Likewise.
24144 (__mpn_lshift): Do not use BP_SYM.
24145 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24146 "bp-asm.h".
24147 (PARMS): Do not use macros from bp-asm.h.
24148 (DEST): Likewise.
24149 (SRC): Likewise.
24150 (LEN): Likewise.
24151 (memcpy): Likewise. Do not use BP_SYM.
24152 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24153 libc_hidden_def and weak_alias.
24154 (mempcpy): Do not use BP_SYM in weak_alias.
24155 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24156 "bp-asm.h".
24157 (PARMS): Do not use macros from bp-asm.h.
24158 (DEST): Likewise.
24159 (LEN): Likewise.
24160 [!BZERO_P] (CHR): Likewise.
24161 (memset): Likewise. Do not use BP_SYM.
24162 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24163 "bp-asm.h".
24164 (PARMS): Do not use macros from bp-asm.h.
24165 (S1): Likewise.
24166 (SIZE): Likewise.
24167 (__mpn_mul_1): Do not use BP_SYM.
24168 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24169 "bp-asm.h".
24170 (PARMS): Do not use macros from bp-asm.h.
24171 (S): Likewise.
24172 (SIZE): Likewise.
24173 (__mpn_rshift): Do not use BP_SYM.
24174 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24175 "bp-asm.h".
24176 (PARMS): Do not use macros from bp-asm.h.
24177 (STR): Likewise.
24178 (CHR): Likewise.
24179 (strchr): Likewise. Do not use BP_SYM.
24180 (index): Do not use BP_SYM in weak_alias.
24181 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24182 "bp-asm.h".
24183 (PARMS): Do not use macros from bp-asm.h.
24184 (DEST): Likewise.
24185 (SRC): Likewise.
24186 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24187 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24188 "bp-asm.h".
24189 (PARMS): Do not use macros from bp-asm.h.
24190 (strlen): Do not use BP_SYM.
24191 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24192 "bp-asm.h".
24193 (PARMS): Do not use macros from bp-asm.h.
24194 (S1): Likewise.
24195 (S2): Likewise.
24196 (SIZE): Likewise.
24197 (__mpn_sub_n): Do not use BP_SYM.
24198 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24199 "bp-asm.h".
24200 (PARMS): Do not use macros from bp-asm.h.
24201 (S1): Likewise.
24202 (SIZE): Likewise.
24203 (__mpn_submul_1): Do not use BP_SYM.
24204 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24205 "bp-asm.h".
24206 (PARMS): Do not use macros from bp-asm.h.
24207 (S1): Likewise.
24208 (S2): Likewise.
24209 (SIZE): Likewise.
24210 (__mpn_add_n): Do not use BP_SYM.
24211 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24212 weak_alias.
24213 (bzero): Likewise.
24214 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24215 "bp-asm.h".
24216 (PARMS): Do not use macros from bp-asm.h.
24217 (BLK2): Likewise.
24218 (LEN): Likewise.
24219 (memcmp): Do not use BP_SYM.
24220 (bcmp): Do not use BP_SYM in weak_alias.
24221 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24222 "bp-asm.h".
24223 (PARMS): Do not use macros from bp-asm.h.
24224 (DEST): Likewise.
24225 (SRC): Likewise.
24226 (LEN): Likewise.
24227 (memcpy): Likewise. Do not use BP_SYM.
24228 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24229 "bp-asm.h".
24230 (PARMS): Do not use macros from bp-asm.h.
24231 (DEST): Likewise.
24232 (SRC): Likewise.
24233 (LEN): Likewise.
24234 (memmove): Likewise. Do not use BP_SYM.
24235 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24236 "bp-asm.h".
24237 (PARMS): Do not use macros from bp-asm.h.
24238 (DEST): Likewise.
24239 (SRC): Likewise.
24240 (LEN): Likewise.
24241 (__mempcpy): Likewise. Do not use BP_SYM.
24242 (mempcpy): Do not use BP_SYM in weak_alias.
24243 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24244 "bp-asm.h".
24245 (PARMS): Do not use macros from bp-asm.h.
24246 (DEST): Likewise.
24247 (LEN): Likewise.
24248 [!BZERO_P] (CHR): Likewise.
24249 (memset): Likewise. Do not use BP_SYM.
24250 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24251 "bp-asm.h".
24252 (PARMS): Do not use macros from bp-asm.h.
24253 (STR2): Likewise.
24254 (strcmp): Do not use BP_SYM.
24255 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24256 "bp-asm.h".
24257 (PARMS): Do not use macros from bp-asm.h.
24258 (STR): Likewise.
24259 (DELIM): Likewise.
24260 [USE_AS_STRTOK_R] (SAVE): Likewise.
24261 (FUNCTION): Likewise. Do not use BP_SYM.
24262 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24263 aliases.
24264 (strtok_r): Likewise.
24265 (__GI___strtok_r): Likewise.
24266 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24267 (PARMS): Do not use macros from bp-asm.h.
24268 (S): Likewise.
24269 (SIZE): Likewise.
24270 (__mpn_lshift): Do not use BP_SYM.
24271 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24272 (PARMS): Do not use macros from bp-asm.h.
24273 (STR): Likewise.
24274 (CHR): Likewise.
24275 (__memchr): Do not use BP_SYM.
24276 (memchr): Do not use BP_SYM in weak_alias.
24277 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24278 (PARMS): Do not use macros from bp-asm.h.
24279 (BLK2): Likewise.
24280 (LEN): Likewise.
24281 (memcmp): Do not use BP_SYM.
24282 (bcmp): Do not use BP_SYM in weak_alias.
24283 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24284 (PARMS): Do not use macros from bp-asm.h.
24285 (S1): Likewise.
24286 (SIZE): Likewise.
24287 (__mpn_mul_1): Do not use BP_SYM.
24288 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24289 "bp-asm.h".
24290 (PARMS): Do not use macros from bp-asm.h.
24291 (STR): Likewise.
24292 (CHR): Likewise.
24293 (__rawmemchr): Do not use BP_SYM.
24294 (rawmemchr): Do not use BP_SYM in weak_alias.
24295 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24296 (PARMS): Do not use macros from bp-asm.h.
24297 (S): Likewise.
24298 (SIZE): Likewise.
24299 (__mpn_rshift): Do not use BP_SYM.
24300 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24301 (PARMS): Do not use macros from bp-asm.h.
24302 (SIGMSK): Likewise.
24303 (__sigsetjmp): Likewise. Do not use BP_SYM.
24304 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24305 (_start): Do not use BP_SYM.
24306 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24307 (PARMS): Do not use macros from bp-asm.h.
24308 (DEST): Likewise.
24309 (SRC): Likewise.
24310 (__stpcpy): Likewise. Do not use BP_SYM.
24311 (stpcpy): Do not use BP_SYM in weak_alias.
24312 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24313 "bp-asm.h".
24314 (PARMS): Do not use macros from bp-asm.h.
24315 (DEST): Likewise.
24316 (SRC): Likewise.
24317 (LEN): Likewise.
24318 (__stpncpy): Likewise. Do not use BP_SYM.
24319 (stpncpy): Do not use BP_SYM in weak_alias.
24320 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24321 (PARMS): Do not use macros from bp-asm.h.
24322 (STR): Likewise.
24323 (CHR): Likewise.
24324 (strchr): Likewise. Do not use BP_SYM.
24325 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24326 "bp-asm.h".
24327 (PARMS): Do not use macros from bp-asm.h.
24328 (STR): Likewise.
24329 (CHR): Likewise.
24330 (__strchrnul): Likewise. Do not use BP_SYM.
24331 (strchrnul): Do not use BP_SYM in weak_alias.
24332 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24333 "bp-asm.h".
24334 (PARMS): Do not use macros from bp-asm.h.
24335 (STOP): Likewise.
24336 (strcspn): Do not use BP_SYM.
24337 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24338 "bp-asm.h".
24339 (PARMS): Do not use macros from bp-asm.h.
24340 (STR): Likewise.
24341 (STOP): Likewise.
24342 (strpbrk): Likewise. Do not use BP_SYM.
24343 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24344 "bp-asm.h".
24345 (PARMS): Do not use macros from bp-asm.h.
24346 (STR): Likewise.
24347 (CHR): Likewise.
24348 (strrchr): Likewise. Do not use BP_SYM.
24349 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24350 (PARMS): Do not use macros from bp-asm.h.
24351 (SKIP): Likewise.
24352 (strspn): Do not use BP_SYM.
24353 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24354 (PARMS): Do not use macros from bp-asm.h.
24355 (STR): Likewise.
24356 (DELIM): Likewise.
24357 (SAVE): Likewise.
24358 (FUNCTION): Likewise. Do not use BP_SYM.
24359 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24360 aliases.
24361 (strtok_r): Likewise.
24362 (__GI___strtok_r): Likewise.
24363 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24364 (PARMS): Do not use macros from bp-asm.h.
24365 (S1): Likewise.
24366 (S2): Likewise.
24367 (SIZE): Likewise.
24368 (__mpn_sub_n): Do not use BP_SYM.
24369 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24370 "bp-asm.h".
24371 (PARMS): Do not use macros from bp-asm.h.
24372 (S1): Likewise.
24373 (SIZE): Likewise.
24374 (__mpn_submul_1): Do not use BP_SYM.
24375 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24376 <bp-sym.h>.
24377 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24378 and <bp-asm.h>.
24379 (PARMS): Do not use macros from bp-asm.h.
24380 (FLAGS): Likewise.
24381 (PTID): Likewise.
24382 (TLS): Likewise.
24383 (CTID): Likewise.
24384 (__clone): Do not use BP_SYM.
24385 (clone): Do not use BP_SYM in weak_alias.
24386 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24387 and <bp-asm.h>.
24388 (PARMS): Do not use macros from bp-asm.h.
24389 (LEN): Likewise.
24390 (__mmap64): Do not use BP_SYM.
24391 (mmap64): Do not use BP_SYM in weak_alias.
24392 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24393 <bp-sym.h> and <bp-asm.h>.
24394 (PARMS): Do not use macros from bp-asm.h.
24395 (__posix_fadvise64_l64): Do not use BP_SYM.
24396 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24397 (PARMS): Do not use macros from bp-asm.h.
24398 (NSOPS): Likewise.
24399 (semtimedop): Do not use BP_SYM.
24400 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24401 and <bp-asm.h>.
24402
582a3cff
AM
244032013-02-21 Allan McRae <allan@archlinux.org>
24404
24405 * manual/message.texi (Charset conversion in gettext):
24406 Move @end statement to beginning of line.
24407
bab8a695
SP
244082013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24409
80945231
SP
24410 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24411 static.
24412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24413 Likewise.
24414
bab8a695
SP
24415 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24416 (denorm): Likewise.
24417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24419
e21d7aa7
AK
244202013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24421
24422 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24423 tail-call to the resolved function if pltexit isn't needed.
24424
4c7a4263
SP
244252013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24426
24427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24428 or Y being zero as being unlikely.
24429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24430 Likewise.
24431
41f49342
CD
244322013-02-20 Carlos O'Donell <carlos@redhat.com>
24433
24434 * manual/nss.texi (System Databases and Name Service Switch):
24435 Remove frobnicate @pxref.
24436
50022a93
TS
244372013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24438
24439 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24440 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24441
08cbd996
PM
244422013-02-20 Petr Machata <pmachata@redhat.com>
24443
24444 * elf/elf.h (R_ARM_TARGET1): New macro.
24445 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24446 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24447 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24448 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24449 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24450 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24451 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24452 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24453 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24454 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24455 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24456 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24457 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24458 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24459 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24460 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24461 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24462 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24463 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24464 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24465 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24466 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24467 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24468 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24469 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24470 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24471 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24472 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24473 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24474 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24475 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24476 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24477 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24478 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24479 (R_ARM_THM_GOT_BREL12): Likewise.
24480 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24481 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24482 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24483 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24484 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24485 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24486 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24487 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24488 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24489
c7b275d6
TS
244902013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24491
24492 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24493 __attribute_used__ to __attribute__ ((unused)).
24494
20cd7fb3
SP
244952013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24496
24497 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24498 powerpc mpa.c.
24499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24500 comment formatting.
24501 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24502
92945b52
JM
245032013-02-19 Joseph Myers <joseph@codesourcery.com>
24504
24505 [BZ #13550]
24506 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24507 Remove macro.
24508 (ENTER): Remove both macro definitions.
24509 (LEAVE): Likewise.
24510 (CHECK_BOUNDS_LOW): Likewise.
24511 (CHECK_BOUNDS_HIGH): Likewise.
24512 (CHECK_BOUNDS_BOTH): Likewise.
24513 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24514 (RETURN_BOUNDED_POINTER): Likewise.
24515 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24516 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24517 (POP_ERRNO_LOCATION_RETURN): Likewise.
24518 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24519 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24520 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24521 macros.
24522 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24523 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24524 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24525 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24526 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24527 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24528 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24529 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24530 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24531 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24532 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24533 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24534 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24535 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24536 removed macros.
24537 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24538 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24539 macros.
24540 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24541 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24542 * sysdeps/i386/i586/memset.S (memset): Likewise.
24543 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24544 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24545 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24546 macros.
24547 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24548 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24549 Change uses of L(2) to L(out).
24550 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24551 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24552 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24553 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24554 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24555 removed macros.
24556 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24557 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24558 macros.
24559 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24560 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24561 (RETURN): Do not use macro LEAVE.
24562 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24563 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24564 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24565 * sysdeps/i386/i686/memset.S (memset): Likewise.
24566 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24567 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24568 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24569 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24570 Likewise.
24571 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24572 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24573 L(1_2) and L(1_3) into L(1).
24574 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24575 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24576 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24577 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24578 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24579 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24580 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24581 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24582 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24583 macros.
24584 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24585 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24586 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24587 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24588 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24589 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24590 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24591 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24592 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24593 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24594 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24595 * sysdeps/i386/strspn.S (strspn): Likewise.
24596 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24597 conditional code.
24598 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24599 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24600 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24601 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24602 L(1_3) into L(1_1).
24603 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24604 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24605 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24606 macros.
24607 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24608
2389741a
JJ
246092013-02-19 Jakub Jelinek <jakub@redhat.com>
24610
24611 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24612 macro.
24613
2016b3cd
SP
246142013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24615
e4f22324
SP
24616 * math/atest-exp.c (exp_mpn): Remove ROUND.
24617 * math/atest-exp2.c (exp_mpn): Likewise.
24618 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24619
2016b3cd
SP
24620 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24621 * stdlib/tst-tls-atexit-lib.c: Likewise.
24622 * stdlib/tst-tls-atexit.c: Likewise.
24623
4be9b544
MF
246242013-02-18 Mike Frysinger <vapier@gentoo.org>
24625
24626 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24627 and __attribute_alloc_size__.
24628
2f62b9ee
MF
246292013-02-18 Mike Frysinger <vapier@gentoo.org>
24630
24631 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24632 __attribute_alloc_size__.
24633 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24634 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24635
6ff444c4
MF
246362013-02-18 Mike Frysinger <vapier@gentoo.org>
24637
24638 * include/programs/xmalloc.h: New file.
24639 * catgets/gencat.c: Include it.
24640 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24641 * elf/pldd.c: Likewise.
24642 * iconv/iconv_charmap.c: Likewise.
24643 * iconv/iconvconfig.c: Likewise.
24644 * iconv/strtab.c: Likewise.
24645 * locale/programs/locale.c: Likewise.
24646 * locale/programs/localedef.h: Likewise.
24647 * locale/programs/simple-hash.c: Likewise.
24648 * nscd/nscd.h: Likewise.
24649 * nss/makedb.c: Likewise.
24650 * sysdeps/generic/ldconfig.h: Likewise.
24651
be179c8a
SP
246522013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24653
ba384f6e
SP
24654 * Versions.def: Add GLIBC_2.18.
24655 * include/link.h (struct link_map): New member l_tls_dtor_count.
24656 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24657 (__call_tls_dtors): Likewise.
24658 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24659 __cxa_thread_atexit_impl.
24660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24661 Likewise.
24662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24663 Likewise.
24664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24665 Likewise.
24666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24667 Likewise.
24668 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24670 Likewise.
24671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24672 Likewise.
24673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24675 Likewise.
24676 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24677 (tests): Add test case tst-tls-atexit.
24678 (modules-names): Add shared library for tst-tls-atexit.
85891aca 24679 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
24680 (GLIBC_PRIVATE): Add __call_tls_dtors.
24681 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24682 for libstdc++.
24683 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24684 * stdlib/tst-tls-atexit.c: New test case.
24685 * stdlib/tst-tls-atexit-lib.c: New test case.
24686
ffaa74cf 24687 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 24688
be179c8a
SP
24689 * elf/Versions (ld): Add _dl_find_dso_for_object.
24690 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24691 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24692 (dl_open_worker): Use _dl_find_dso_for_object.
24693 * elf/dl-sym.c (do_sym): Likewise.
24694 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24695
f78b5caa
AK
246962013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24697
24698 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24699 Syntactic changes only.
24700 (_dl_runtime_profile): Do a tail-call to the resolved function.
24701
29691210
JM
247022013-02-17 Joseph Myers <joseph@codesourcery.com>
24703
24704 [BZ #13550]
24705 * sysdeps/x86_64/bp-asm.h: Remove file.
24706 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24707 <bp-sym.h> and <bp-asm.h>.
24708 (__clone): Do not use BP_SYM.
24709 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24710 <bp-sym.h> and <bp-asm.h>.
24711 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24712 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24713 "bp-asm.h".
24714 (_setjmp): Do not use BP_SYM.
24715 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24716 "bp-asm.h".
24717 (setjmp): Do not use BP_SYM.
24718 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24719 libc_hidden_def.
24720 (mempcpy): Do not use BP_SYM in weak_alias.
24721 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24722 "bp-asm.h".
24723 (strchr): Do not use BP_SYM.
24724 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24725 "bp-asm.h".
24726 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24727 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24728 (_start): Do not use BP_SYM.
24729 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24730 "bp-asm.h".
24731 (strcat): Do not use BP_SYM.
24732 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24733 "bp-asm.h".
24734 (STRCMP): Do not use BP_SYM.
24735 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24736 "bp-asm.h".
24737 (STRCPY): Do not use BP_SYM.
24738 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24739 "bp-asm.h".
24740 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24741 "bp-asm.h".
24742 (FUNCTION): Do not use BP_SYM.
24743 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24744 weak_alias.
24745 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24746
f238fd19
AJ
247472013-02-17 Andreas Jaeger <aj@suse.de>
24748
24749 * time/Versions: Sort entries.
24750 * string/Versions: Likewise.
24751 * resolv/Versions: Likewise.
24752 * posix/Versions: Likewise.
24753 * iconv/Versions: Likewise.
24754 * elf/Versions: Likewise.
24755 * wcsmbs/Versions: Likewise.
24756
bd07f23c 247572013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 24758
22af19f9
SP
24759 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24760 loop termination condition.
24761
4709fe76
SP
24762 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24763 variable to calculate EZ.
24764 (__sqr): Likewise.
2d0e0f29
SP
24765
24766 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24767 the lower precision input.
24768
daaa7713
JM
247692013-02-15 Joseph Myers <joseph@codesourcery.com>
24770
24771 [BZ #13550]
24772 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24773 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24774 (run-via-rtld-prefix): Do not handle %-bp tests.
24775 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24776 (all-object-suffixes): Remove .ob.
24777 (bppfx): Remove variable.
24778 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24779 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24780 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24781 [$(build-bounded) = yes] (libtype.ob): Likewise.
24782 * Makerules (elide-routines.ob): Remove variable.
24783 (do-tests-clean): Do not handle *-bp.out.
24784 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24785 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24786 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24787 (tests): Do not include $(tests-bp.out).
24788 (xtests): Do not include $(xtests-bp.out).
24789 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24790 [$(build-bounded) = yes] ($(addprefix
24791 $(objpfx),$(binaries-bounded))): Remove rule.
24792 ($(objpfx)%-bp.out): Remove rule.
24793 * config.make.in (build-bounded): Remove variable.
24794 * crypt/Makefile [$(build-bounded) = yes]
24795 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24796 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24797 append to variable.
24798 [$(build-bounded) = yes] (install-lib): Likewise.
24799 [$(build-bounded) = yes] (generated): Likewise.
24800 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24801 Remove rule.
24802 * intl/Makefile [$(build-bounded) = yes]
24803 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24804 * math/Makefile [$(build-bounded) = yes]
24805 ($(tests:%=$(objpfx)%-bp): Likewise.
24806 * misc/Makefile [$(build-bounded) = yes]
24807 ($(objpfx)tst-tsearch-bp): Likewise.
24808 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24809 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24810 Remove dependency.
24811 * string/Makefile (o-objects.ob): Remove variable.
24812 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24813 (CFLAGS-.ob): Remove variable.
24814 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24815 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24816 both definitions of variable.
24817 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24818 (ASFLAGS-.ob): Remove variable.
24819
e97ed6dd
JM
248202013-02-14 Joseph Myers <joseph@codesourcery.com>
24821
2bdd4ca6
JM
24822 [BZ #13550]
24823 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24824 Remove __BOUNDED_POINTERS__ from condition.
24825 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24826 * string/bits/string2.h [!__NO_STRING_INLINES &&
24827 !__BOUNDED_POINTERS__]: Likewise.
24828 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24829 Likewise.
24830 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24831 Remove conditional code.
24832 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24833 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24834 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24835 condition.
24836
e97ed6dd
JM
24837 [BZ #13550]
24838 * csu/libc-start.c: Do not include <bp-sym.h>.
24839 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24840 * elf/dl-open.c: Do not include <bp-sym.h>.
24841 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24842 * math/fegetenv.c: Do not include <bp-sym.h>.
24843 (fegetenv): Do not use BP_SYM in versioned symbols.
24844 * nptl/sysdeps/pthread/bits/libc-lockP.h
24845 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24846 <bp-sym.h>.
24847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24848 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24850 (__pthread_mutex_destroy): Likewise.
24851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24852 (__pthread_mutex_lock): Likewise.
24853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24854 (__pthread_mutex_trylock): Likewise.
24855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24856 (__pthread_mutex_unlock): Likewise.
24857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24858 (__pthread_mutexattr_init): Likewise.
24859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24860 (__pthread_mutexattr_destroy): Likewise.
24861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24862 (__pthread_mutexattr_settype): Likewise.
24863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24864 (__pthread_rwlock_init): Likewise.
24865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24866 (__pthread_rwlock_destroy): Likewise.
24867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24868 (__pthread_rwlock_rdlock): Likewise.
24869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24870 (__pthread_rwlock_tryrdlock): Likewise.
24871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24872 (__pthread_rwlock_wrlock): Likewise.
24873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24874 (__pthread_rwlock_trywrlock): Likewise.
24875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24876 (__pthread_rwlock_unlock): Likewise.
24877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24878 (__pthread_key_create): Likewise.
24879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24880 (__pthread_setspecific): Likewise.
24881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24882 (__pthread_getspecific): Likewise.
24883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24884 Likewise.
24885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24886 (_pthread_cleanup_push_defer): Likewise.
24887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24888 (_pthread_cleanup_pop_restore): Likewise.
24889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24890 (pthread_setcancelstate): Likewise.
24891 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24892 <bp-sym.h>.
24893 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24894 (memchr): Do not use BP_SYM in weak_alias.
24895 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24896 (fegetenv): Do not use BP_SYM in versioned symbols.
24897 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24898 (fesetenv): Do not use BP_SYM in versioned symbols.
24899 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24900 (feupdateenv): Do not use BP_SYM in versioned symbols.
24901 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24902 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24903 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24904 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24905 (open64): Do not use BP_SYM in weak_alias.
24906 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24907 (fegetenv): Do not use BP_SYM in versioned symbols.
24908 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24909 (fesetenv): Do not use BP_SYM in versioned symbols.
24910 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24911 (feupdateenv): Do not use BP_SYM in versioned symbols.
24912 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24913 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24914 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24915 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24916 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24917 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24918 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24919 <bp-sym.h>.
24920 (__libc_start_main): Do not use BP_SYM.
24921
d6752ccd
SP
249222013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24923
cb57ce60
SP
24924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24925 redundant return line.
24926 (norm): Likewise.
24927 (denorm): Likewise.
24928 (dbl_mp): Likewise.
24929 (sub_magnitudes): Likewise.
24930 (__add): Likewise.
24931 (__sub): Likewise.
24932 (__mul): Likewise.
24933 (__inv): Likewise.
24934 (__dvd): Likewise.
24935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24936 (norm): Likewise.
24937 (denorm): Likewise.
24938 (dbl_mp): Likewise.
24939 (sub_magnitudes): Likewise.
24940 (__add): Likewise.
24941 (__sub): Likewise.
24942 (__mul): Likewise.
24943 (__inv): Likewise.
24944 (__dvd): Likewise.
24945
f414520d
SP
24946 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24947 instead of __mul.
24948 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24949 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24950 (cc32): Likewise.
24951
d6752ccd
SP
24952 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24953 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24954 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24955 of __mul for squares.
24956 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24957 function
24958 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24959 Likewise.
24960 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24961 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24962
70d9946a
JM
249632013-02-13 Joseph Myers <joseph@codesourcery.com>
24964
24965 [BZ #13550]
24966 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24967 code.
24968 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24969 prototype or function definition. Rename ubp_* variables and
24970 parameters. Remove argv definitions conditional on
24971 [__BOUNDED_POINTERS__].
24972 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24973 * elf/dl-runtime.c (_dl_fixup): Likewise.
24974 * include/set-hooks.h (RUN_HOOK): Likewise.
24975 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24976 definition.
24977 * string/strcpy.c (strcpy): Do not use __unbounded.
24978 * sysdeps/generic/frame.h (struct layout): Likewise.
24979 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24980 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24981 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24982 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24983 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24984 (__backtrace): Likewise.
24985 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24986 use __ptrvalue.
24987 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24988 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24989 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24990 Likewise.
24991 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24992 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24993 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24994 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24995 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24996 Do not use __unbounded.
24997 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24998 Rename __unboundedrlimits parameter to rlimits in prototype.
24999 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25000 Do not use __unbounded.
25001 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25002 not use __ptrvalue.
25003 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25004 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25005 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25006 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25007 __ptrvalue or __unbounded.
25008 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25009 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25010 use __unbounded.
25011 (__new_msgctl): Do not use __ptrvalue.
25012 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25013 __unbounded.
25014 (__libc_msgrcv): Do not use __ptrvalue.
25015 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25016 startup_info): Do not use __unbounded.
25017 (__libc_start_main): Likewise. Rename ubp_* variables and
25018 parameters. Remove argv definitions conditional on
25019 [__BOUNDED_POINTERS__].
25020 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25021 __ptrvalue.
25022 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25023 use __unbounded.
25024 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25025 or __ptrvalue.
25026 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25027 use __unbounded.
25028 (__new_shmctl): Do not use __ptrvalue.
25029 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25030 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25031 Likewise.
25032 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25033 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25034 (__libc_sigaction): Likewise.
25035 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25036 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25037 Likewise.
25038 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25039
cc7834d6
OB
250402013-02-13 Ondřej Bílka <neleai@seznam.cz>
25041
ffb1ec7b 25042 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
25043
25044 * string/mempcpy.c: Implement by calling memcpy.
25045
bdf02814
SP
250462013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25047
c2af38aa
SP
25048 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25049
4e92d59e
SP
25050 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25051 evaluation.
25052
909279a5
SP
25053 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25054 values in the mantissa.
25055
bdf02814
SP
25056 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25057 minimize writes to Z.
25058 (sub_magnitudes): Simplify code a bit.
25059
cd525923
RM
250602013-02-12 Roland McGrath <roland@hack.frob.com>
25061
25062 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25063 from the message. The linker prefixes all warnings with that already.
25064
7e2f0d2d
AS
250652013-02-12 Andreas Schwab <schwab@suse.de>
25066
a445af0b
AS
25067 [BZ #15078]
25068 * posix/regexec.c (extend_buffers): Add parameter min_len.
25069 (check_matching): Pass minimum needed length.
25070 (clean_state_log_if_needed): Likewise.
25071 (get_subexp): Likewise.
25072 * posix/Makefile (tests): Add bug-regex34.
25073 (bug-regex34-ENV): Define.
25074 * posix/bug-regex34.c: New file.
25075
7e2f0d2d
AS
25076 [BZ #11561]
25077 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25078 elements compare against the byte sequence of it, not its name.
25079 * posix/Makefile (tests): Add bug-regex35.
25080 (bug-regex35-ENV): Define.
25081 * posix/bug-regex35.c: New file.
25082
a175b684
TV
250832013-02-11 Tom de Vries <tom@codesourcery.com>
25084
25085 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25086 comment.
25087 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25088 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25089 (CHECK_EOL): Add undef.
25090
310998fe 250912013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
25092
25093 * bits/stdlib-bsearch.h: New file.
25094 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 25095 * stdlib/stdlib.h: Likewise.
41eda41d 25096
8ded91fb
RM
250972013-02-11 Roland McGrath <roland@hack.frob.com>
25098
25099 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25100 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25101 declaration.
25102 * manual/search.texi (Array Search Function): Add missing const in
25103 lfind prototype.
25104 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25105 declaration to use rlim_t.
25106 (Basic Scheduling Functions): Remove erroneous const from
25107 sched_getparam prototype. Remove erroneous * from
25108 sched_get_priority_max and sched_get_priority_min prototypes.
25109 (Resource Usage): Fix summary @comment on vtimes to refer to
25110 sys/vtimes.h rather than vtimes.h.
25111 Add missing *s in vtimes prototype.
25112 (Limits on Resources): Fix ulimit prototype to return long int.
25113 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25114 prototypes to use long int rather than double.
25115 (BSD Random): Fix initstate and setstate to use char *, not void *.
25116 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25117 prototype to make second argument 'struct aiocb64 *const[]'.
25118 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25119 (Status of AIO Operations): Remove erroneous const in aio_return and
25120 aio_return64 prototypes.
25121 (Synchronizing I/O): Fix sync prototype to return void.
25122 * manual/startup.texi (Suboptions): Remove an erroneous const in
25123 getsubopt prototype.
25124 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25125 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25126 use size_t rather than int.
25127 (Scanning All Users): Likewise for getpwent_r.
25128 (Setting Groups): Add missing const to setgroups prototype.
25129 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25130 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25131 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25132 'const void *' rather than 'const char *'.
25133 (Host Address Functions): Likewise for inet_ntop.
25134 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25135 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25136 ssize_t for return value.
25137 (Sending Data): Likewise for send, sendto, sendmsg.
25138 (Socket Option Functions): Add a missing const in setsockopt prototype.
25139 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25140 use wchar_t for the argument.
25141 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25142 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25143 take no arguments.
25144 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25145 double/float/long double for second argument.
25146 Fix return types of significand, significandf, significandl.
25147 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25148 argument in fchmod prototype.
25149 (File Owner): Use uid_t and gid_t in fchown prototype.
25150 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25151 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25152 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25153 use 'const struct dirent **' as argument types to CMP function pointer
25154 argument.
25155 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25156 (File Times): Fix summary magic @comment for struct utimbuf and utime
25157 to refer to utime.h, not time.h.
25158 * manual/string.texi (Argz Functions): Add missing const in
25159 argz_extract and argz_next prototypes.
25160 (Finding Tokens in a String): Likewise for basename.
25161 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25162 (Copying and Concatenation): Fix typo in wmemmove prototype.
25163 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25164 (Signal Stack): Remove erroneous const in sigstack prototype.
25165 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25166 prototype.
25167 (Simple Calendar Time): Likewise for stime.
25168 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25169 prototype.
25170 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25171 say sys/sysctl.h instead.
25172 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25173 and vsyslog prototypes.
25174
fe77fe6d
TV
251752013-02-11 Tom de Vries <tom@codesourcery.com>
25176
25177 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25178 Remove.
25179
3a09b620
RM
251802013-02-11 Roland McGrath <roland@hack.frob.com>
25181
25182 * misc/sys/mman.h: Fix typo in mremap comment.
25183
550a0b89
RM
251842013-02-08 Roland McGrath <roland@hack.frob.com>
25185
25186 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25187 the '\0' terminator.
25188
a2da1673
JM
251892013-02-08 Joseph Myers <joseph@codesourcery.com>
25190
25191 [BZ #13550]
25192 * debug/segfault.c: Don't include <bp-checks.h>.
25193 * sysdeps/generic/bp-checks.h: Remove file.
25194 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25195 (__GETDENTS): Don't use CHECK_N.
25196 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25197 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25198 (__getgroups): Don't use CHECK_N.
25199 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25200 (setgroups): Don't use CHECK_N.
25201 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25202 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25203 (__libc_msgrcv): Don't use CHECK_N.
25204 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25205 (__libc_msgsnd): Don't use CHECK_N.
25206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25207 <bp-checks.h>.
25208 (__libc_pread): Don't use CHECK_N.
25209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25210 include <bp-checks.h>.
25211 (__libc_pread64): Don't use CHECK_N.
25212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25213 include <bp-checks.h>.
25214 (__libc_pwrite): Don't use CHECK_N.
25215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25216 include <bp-checks.h>.
25217 (__libc_pwrite64): Don't use CHECK_N.
25218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25219 <bp-checks.h>.
25220 (__libc_pread): Don't use CHECK_N.
25221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25222 include <bp-checks.h>.
25223 (__libc_pread64): Don't use CHECK_N.
25224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25225 include <bp-checks.h>.
25226 (__libc_pwrite): Don't use CHECK_N.
25227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25228 include <bp-checks.h>.
25229 (__libc_pwrite64): Don't use CHECK_N.
25230 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25231 (do_pread): Don't use CHECK_N.
25232 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25233 (do_pread64): Don't use CHECK_N.
25234 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25235 (do_pwrite): Don't use CHECK_N.
25236 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25237 (do_pwrite64): Don't use CHECK_N.
25238 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25239 (__libc_readv): Don't use CHECK_N.
25240 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25241 (semop): Don't use CHECK_N.
25242 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25243 <bp-checks.h>.
25244 (semtimedop): Don't use CHECK_N.
25245 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25246 (__libc_pread): Don't use CHECK_N.
25247 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25248 <bp-checks.h>.
25249 (__libc_pread64): Don't use CHECK_N.
25250 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25251 <bp-checks.h>.
25252 (__libc_pwrite): Don't use CHECK_N.
25253 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25254 <bp-checks.h>.
25255 (__libc_pwrite64): Don't use CHECK_N.
25256 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25257 <bp-checks.h>.
25258 (__libc_msgrcv): Don't use CHECK_N.
25259 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25260 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25261 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25262 (__libc_writev): Don't use CHECK_N.
25263
b84660a8
RM
252642013-02-08 Roland McGrath <roland@hack.frob.com>
25265
7f3e75f8
RM
25266 * string/strcpy.c: Removed unused variable.
25267
b84660a8
RM
25268 * Makeconfig (+sysdep-includes): Define with := rather than =.
25269 Use an existing include/ subdir of each sysdeps dir before it.
25270
471514d3
CD
252712013-02-08 Carlos O'Donell <carlos@redhat.com>
25272
25273 * nscd/connection.c (register_traced_file): Comment function.
25274 [HAVE_INOTIFY] (union __inev): Define.
25275 [HAVE_INOTIFY] (inotify_check_files): New function.
25276 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25277 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25278 clear_db_cache.
25279 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25280
b2d3c3be
CD
252812013-02-08 Carlos O'Donell <carlos@redhat.com>
25282
25283 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25284 loaded if not already and that a failure is permanent.
25285
b39949d2
CD
252862013-02-08 Carlos O'Donell <carlos@redhat.com>
25287
ddacd1db 25288 [BZ #15006]
b39949d2
CD
25289 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25290 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25291
b2c9eff4
JM
252922013-02-08 Joseph Myers <joseph@codesourcery.com>
25293
f3aae3f3
JM
25294 [BZ #13550]
25295 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25296 (CHECK_1_NULL_OK): Likewise.
25297 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25298 (__fxstat): Do not use CHECK_1.
25299 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25300 <bp-checks.h>.
25301 (___fxstat64): Do not use CHECK_1.
25302 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25303 <bp-checks.h>.
25304 (__fxstatat): Do not use CHECK_1.
25305 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25306 <bp-checks.h>.
25307 (__fxstatat64): Do not use CHECK_1.
25308 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25309 <bp-checks.h>.
25310 (__fxstat): Do not use CHECK_1.
25311 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25312 <bp-checks.h>.
25313 (__fxstatat): Do not use CHECK_1.
25314 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25315 <bp-checks.h>.
25316 (__getresgid): Do not use CHECK_1.
25317 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25318 <bp-checks.h>.
25319 (__getresuid): Do not use CHECK_1.
25320 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25321 <bp-checks.h>.
25322 (__lxstat): Do not use CHECK_1.
25323 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25324 <bp-checks.h>.
25325 (__old_msgctl): Do not use CHECK_1.
25326 (__new_msgctl): Likewise.
25327 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25328 <bp-checks.h>.
25329 (__new_setrlimit): Do not use CHECK_1.
25330 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25331 <bp-checks.h>.
25332 (__old_shmctl): Do not use CHECK_1.
25333 (__new_shmctl): Likewise.
25334 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25335 <bp-checks.h>.
25336 (__xstat): Do not use CHECK_1.
25337 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25338 (__lxstat): Do not use CHECK_1.
25339 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25340 <bp-checks.h>.
25341 (___lxstat64): Do not use CHECK_1.
25342 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25343 (__old_msgctl): Do not use CHECK_1.
25344 (__new_msgctl): Likewise.
25345 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25346 <bp-checks.h>.
25347 (__gettimeofday): Do not use CHECK_1.
25348 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25349 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25350 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25351 <bp-checks.h>.
25352 (__gettimeofday): Do not use CHECK_1.
25353 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25354 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25355 (__new_shmctl): Do not use CHECK_1.
25356 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25357 <bp-checks.h>.
25358 (do_sigtimedwait): Do not use CHECK_1.
25359 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25360 <bp-checks.h>.
25361 (do_sigwaitinfo): Do not use CHECK_1.
25362 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25363 <bp-checks.h>.
25364 (msgctl): Do not use CHECK_1.
25365 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25366 <bp-checks.h>.
25367 (shmctl): Do not use CHECK_1.
25368 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25369 (ustat): Do not use CHECK_1.
25370 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25371 <bp-checks.h>.
25372 (__fxstat): Do not use CHECK_1.
25373 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25374 <bp-checks.h>.
25375 (__fxstatat): Do not use CHECK_1.
25376 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25377 <bp-checks.h>.
25378 (__lxstat): Do not use CHECK_1.
25379 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25380 <bp-checks.h>.
25381 (__xstat): Do not use CHECK_1.
25382 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25383 (__xstat): Do not use CHECK_1.
25384 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25385 (___xstat64): Do not use CHECK_1.
25386
b2c9eff4
JM
25387 [BZ #13550]
25388 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25389 definitions.
25390 (CHECK_BOUNDS_HIGH): Likewise.
25391 * string/strcpy.c: Do not include <bp-checks.h>.
25392 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25393
f1d70dad
RM
253942013-02-07 Roland McGrath <roland@hack.frob.com>
25395
25396 * nscd/nscd-client.h (__nscd_drop_map_ref):
25397 Add __attribute__ ((unused)).
25398 * nis/nss-nisplus.h (niserr2nss): Likewise.
25399
25400 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25401 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25402
25403 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25404 Remove inline keyword.
25405 * include/rounding-mode.h (round_away): Likewise.
25406 * libio/wfileops.c (adjust_wide_data): Likewise.
25407 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25408 (__m128i_strloadu_tolower): Likewise.
25409 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25410 (__m128i_strloadu_tolower): Likewise.
25411 * time/mktime.c (ydhms_diff): Likewise.
25412 * locale/elem-hash.h (elem_hash): Likewise.
25413 * locale/setlocale.c (setdata): Likewise.
25414 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25415 (re_string_wchar_at): Likewise.
25416 (bitset_not, bitset_merge, bitset_mask): Likewise.
25417 [!(__GNUC__ > 3)] (inline): Remove macro.
25418 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25419 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25420 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25421 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25422 * string/memcmp.c (memcmp_bytes): Likewise.
25423 * locale/programs/locarchive.c (compute_hashval): Likewise.
25424 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25425 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25426 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25427 * nss/getent.c (print_rpc, print_protocols): Likewise.
25428 (print_passwd, print_group, print_aliases): Likewise.
25429 * nis/nss-nisplus.h (niserr2nss): Likewise.
25430 * nscd/connections.c (restart_p): Likewise.
25431 Change return type to bool.
25432
eab55bfb
RM
254332013-02-05 Roland McGrath <roland@hack.frob.com>
25434
7bd642f5
RM
25435 * Makeconfig (all-Depend-files): Add existing
25436 $(sorted-subdirs:=/Depend) files.
25437 (all-subdirs): Remove nss.
25438 * sysdeps/unix/inet/Subdirs: Add it here instead.
25439 * hesiod/Depend: New file.
25440
573c29b2
RM
25441 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25442 instead of calling alloca.
25443
b2e25af0
RM
25444 * io/lseek.c (__lseek): Rename to __libc_lseek.
25445 Define __lseek as an alias.
25446
eab55bfb
RM
25447 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25448
9a0d1941
CD
254492013-02-04 Carlos O'Donell <carlos@redhat.com>
25450
25451 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25452 else clause and remove check for non-standard endianness.
25453
b83bbec4
DM
254542013-02-04 David S. Miller <davem@davemloft.net>
25455
25456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25457
6277fdab
JM
254582013-02-04 Joseph Myers <joseph@codesourcery.com>
25459
25460 [BZ #13550]
25461 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25462 (__ubp_memchr): Remove prototype.
25463 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25464 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25465 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25466 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25467 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25468 Remove alias.
25469 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25470 (__ubp_memchr): Likewise.
25471 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25472 (__ubp_memchr): Likewise.
25473 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25474 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25475 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25476 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25477 CHECK_STRING.
25478 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25479 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25480 (__getcwd): Do not use CHECK_STRING.
25481 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25482 <bp-checks.h>.
25483 (__real_chown): Do not use CHECK_STRING.
25484 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25485 <bp-checks.h>.
25486 (fchownat): Do not use CHECK_STRING.
25487 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25488 CHECK_STRING.
25489 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25490 <bp-checks.h>.
25491 (__lchown): Do not use CHECK_STRING.
25492 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25493 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25494 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25495 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25497 include <bp-checks.h>.
25498 (truncate64): Do not use CHECK_STRING.
25499 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25500 <bp-checks.h>.
25501 (__real_chown): Do not use CHECK_STRING.
25502 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25503 <bp-checks.h>.
25504 (__lchown): Do not use CHECK_STRING.
25505 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25506 <bp-checks.h>.
25507 (__chown): Do not use CHECK_STRING.
25508 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25509 <bp-checks.h>.
25510 (truncate64): Do not use CHECK_STRING.
25511 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25512 Likewise.
25513 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25514 (__xmknod): Do not use CHECK_STRING.
25515 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25516 <bp-checks.h>.
25517 (__xmknodat): Do not use CHECK_STRING.
25518 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25519 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25520
903ae060
AS
255212013-02-04 Andreas Schwab <schwab@suse.de>
25522
25523 [BZ #14142]
25524 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25525 * include/netdb.h: Likewise for h_errno.
25526 * elf/tst-stackguard1.c: Include <tls.h>.
25527
542f9466
JK
255282013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25529
25530 * elf/link.h (struct link_map): Extend the l_addr comment.
25531 * include/link.h (struct link_map): Likewise.
25532
e782a927
JM
255332013-02-01 Joseph Myers <joseph@codesourcery.com>
25534
25535 [BZ #13550]
25536 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25537 (BOUNDED_1): Remove macro.
25538 * debug/backtrace.c: Don't include <bp-checks.h>.
25539 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25540 (__backtrace): Likewise.
25541 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25542 <bp-checks.h>.
25543 (__backtrace): Don't use BOUNDED_1.
25544 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25545 <bp-checks.h>.
25546 (__backtrace): Don't use BOUNDED_1.
25547 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25548 (__backtrace): Don't use BOUNDED_1.
25549 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25550 (shmat): Don't use BOUNDED_N.
25551
8cf28c5e
JM
255522013-01-31 Joseph Myers <joseph@codesourcery.com>
25553
3a7ac8a0
JM
25554 [BZ #13550]
25555 * sysdeps/generic/bp-start.h: Remove file.
25556 * csu/libc-start.c: Don't include <bp-start.h>.
25557 (LIBC_START_MAIN): Set up __environ directly instead of using
25558 INIT_ARGV_and_ENVIRON.
25559 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25560 <bp-start.h>.
25561
f3499f95
JM
25562 [BZ #13550]
25563 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25564 definitions.
25565 (CHECK_FCNTL): Likewise.
25566 (CHECK_N_PAGES): Likewise.
25567
32a45bea
JM
25568 [BZ #13550]
25569 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25570 definitions.
25571 (CHECK_SIGSET_NULL_OK): Likewise.
25572 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25573 <bp-checks.h>.
25574 (sigpending): Don't use CHECK_SIGSET.
25575 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25576 <bp-checks.h>.
25577 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25578 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25579 <bp-checks.h>.
25580 (do_sigsuspend): Don't use CHECK_SIGSET.
25581 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25582 use CHECK_SIGSET.
25583 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25584 (do_sigwait): Don't use CHECK_SIGSET.
25585 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25586 use CHECK_SIGSET.
25587 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25588 include <bp-checks.h>.
25589 (sigpending): Don't use CHECK_SIGSET.
25590 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25591 include <bp-checks.h>.
25592 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25593 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25594 <bp-checks.h>.
25595 (sigpending): Don't use CHECK_SIGSET.
25596 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25597 <bp-checks.h>.
25598 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25599
2e8a5c8c
JM
25600 [BZ #13550]
25601 * sysdeps/generic/bp-semctl.h: Remove file.
25602 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25603 <bp-checks.h> and <bp-semctl.h>.
25604 (__old_semctl): Don't use CHECK_SEMCTL.
25605 (__new_semctl): Likewise.
25606 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25607 and <bp-semctl.h>.
25608 (__old_semctl): Don't use CHECK_SEMCTL.
25609 (__new_semctl): Likewise.
25610 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25611 <bp-checks.h> and <bp-semctl.h>.
25612 (__old_semctl): Don't use CHECK_SEMCTL.
25613 (__new_semctl): Likewise.
25614 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25615 <bp-checks.h> and <bp-semctl.h>.
25616 (semctl): Don't use CHECK_SEMCTL.
25617
c2d54929
JM
25618 [BZ #13550]
25619 * Makerules (elide-bp-thunks): Remove variable.
25620 (elide-routines.oS): Don't use $(elide-bp-thunks).
25621 (elide-routines.os): Likewise.
25622 (elide-routines.o): Likewise.
25623 (elide-routines.op): Likewise.
25624 (elide-routines.og): Likewise.
25625 (objects): Don't use $(bp-thunks).
25626 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25627 include.
25628 (common-generated): Do not add s-proto-bp.d.
25629 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25630 (int): Likewise.
25631 (typ): Likewise.
25632 Do not generate makefile rules for bounded-pointer thunks.
25633 * sysdeps/generic/bp-thunks.h: Remove file.
25634 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25635 * sysdeps/unix/s-proto-bp.S: Likewise.
25636
8cf28c5e
JM
25637 [BZ #15062]
25638 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25639 parts of result separately when argument is not close to line from
25640 -i to i and one part of argument is small.
25641 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25642 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25643 * math/libm-test.inc (cacos_test): Add more tests.
25644 (casin_test): Likewise.
25645 (casinh_test): Likewise.
25646 * sysdeps/i386/fpu/libm-test-ulps: Update.
25647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25648
c4e33b8d
DM
256492013-01-31 David S. Miller <davem@davemloft.net>
25650
25651 * po/de.po: Update from translation team.
25652
3b60b421
MK
256532013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25654
25655 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25656
bb931195
TS
256572013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25658
b5a5da23
TS
25659 * configure.in (_AC_PROG_CC_C89): New definition.
25660 * configure: Regenerate.
25661
bb931195
TS
25662 * configure.in (AC_PROG_CPP): New definition.
25663 * configure: Regenerate.
25664
8c53a12c
JM
256652013-01-23 Joseph Myers <joseph@codesourcery.com>
25666
25667 * debug/tst-backtrace.h: New file.
25668 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25669 (ret): Remove variable.
25670 (x): Likewise.
25671 (FAIL): Remove macro.
25672 (NO_INLINE): Likewise.
25673 (fn1): Use match function instead of strstr.
25674 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25675 (ret): Remove variable.
25676 (x): Likewise.
25677 (FAIL): Remove macro.
25678 (NO_INLINE): Likewise.
25679 (fn): Use match function instead of strstr.
25680 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25681 (ret): Remove variable.
25682 (x): Likewise.
25683 (FAIL): Remove macro.
25684 (NO_INLINE): Likewise.
25685 (handle_signal): Use match function instead of strstr.
25686 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25687 (ret): Remove variable.
25688 (x): Likewise.
25689 (FAIL): Remove macro.
25690 (NO_INLINE): Likewise.
25691 (handle_signal): Use match function instead of strstr.
25692
4858fa2a
RM
256932013-01-23 Roland McGrath <roland@hack.frob.com>
25694
25695 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25696
bae8e7f5
DM
256972013-01-23 David S. Miller <davem@davemloft.net>
25698
25699 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25700 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25701 argument of CAS if possible.
25702 * sysdeps/sparc/sparc64/bits/atomic.h
25703 (__arch_compare_and_exchange_val_32_acq): Likewise.
25704 (__arch_compare_and_exchange_val_64_acq): Likewise.
25705
9cbbc4ae
PT
257062013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25707
25708 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25709 * sysdeps/posix/ulimit.c: ... this.
92a601b8 25710 Include <limits.h>.
67b3f58c 25711 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 25712
5655a0b5
AC
257132013-01-23 Adam Conrad <adconrad@0c3.net>
25714
25715 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25716 (LDFLAGS-tst-array5): Likewise.
25717
052aff95
JM
257182013-01-23 Joseph Myers <joseph@codesourcery.com>
25719
25720 [BZ #15036]
25721 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25722 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25723 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25724 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25725
7c1e01aa
DM
257262013-01-21 David S. Miller <davem@davemloft.net>
25727
25728 * sysdeps/sparc/backtrace.c: New file.
25729 * sysdeps/sparc/sparc32/backtrace.h: New file.
25730 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25731 * sysdeps/sparc/sparc64/backtrace.h: New file.
25732 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25733 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25734 -funwind-tables.
25735
ab087e0a
AS
257362013-01-21 Andreas Schwab <schwab@suse.de>
25737
25738 [BZ #15020]
25739 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25740 closed its stdout.
25741
ed689c2f
AS
257422013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25743
25744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25745 "mpa2.h".
25746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25747
31d470ac
JM
257482013-01-18 Joseph Myers <joseph@codesourcery.com>
25749 Mark Mitchell <mark@codesourcery.com>
25750 Tom de Vries <tom@codesourcery.com>
25751 Paul Pluzhnikov <ppluzhnikov@google.com>
25752
25753 * debug/tst-backtrace2.c: New file.
25754 * debug/tst-backtrace3.c: Likewise.
25755 * debug/tst-backtrace4.c: Likewise.
25756 * debug/tst-backtrace5.c: Likewise.
25757 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25758 (CFLAGS-tst-backtrace3.c): Likewise.
25759 (CFLAGS-tst-backtrace4.c): Likewise.
25760 (CFLAGS-tst-backtrace5.c): Likewise.
25761 (LDFLAGS-tst-backtrace2): Likewise.
25762 (LDFLAGS-tst-backtrace3): Likewise.
25763 (LDFLAGS-tst-backtrace4): Likewise.
25764 (LDFLAGS-tst-backtrace5): Likewise.
25765 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25766 tst-backtrace4 and tst-backtrace5.
25767
90567f30 257682013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
25769 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25770
25771 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25772 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25773 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25774 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25776 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25777 "+r" and remove output regs list as redundant. Add explicit inline
25778 asm to specify register of return val to work around compiler codegen
25779 bug. Remove (int) cast on return value. Add return type parameter to
25780 use in macro so that this macro does not truncate return value for
25781 64-bit values.
25782 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25783 pass to INTERNAL_VSYSCALL_NCS.
25784 (INLINE_VSYSCALL): Add 'long int' as return type to
25785 INTERNAL_VSYSCALL_NCS macro invocation.
25786 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25787 INTERNAL_VSYSCALL_NCS macro invocation.
25788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25789
d3b9ea61
SP
257902013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25791
0b57daeb
SP
25792 [BZ #14496]
25793 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25794 Fix application of SIMD FP exception mask.
25795
caa99d06
SP
25796 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25797 mp_no from a power of two.
25798 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25799 __mpexp_twomm1. Use __pow_mp.
25800
d3b9ea61
SP
25801 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25802 multiplication.
25803
1dbaee3c
DM
258042013-01-17 David S. Miller <davem@davemloft.net>
25805
25806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25807
728d7b43
JM
258082013-01-17 Joseph Myers <joseph@codesourcery.com>
25809
25810 [BZ #15023]
25811 * include/complex.h: Condition contents on [!_COMPLEX_H].
25812 (__kernel_casinhf): New prototype.
25813 (__kernel_casinh): Likewise.
25814 (__kernel_casinhl): Likewise.
25815 * math/Makefile (libm_calls): Add k_casinh.
25816 * math/k_casinh.c: New file.
25817 * math/k_casinhf.c: Likewise.
25818 * math/k_casinhl.c: Likewise.
25819 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25820 finite nonzero arguments.
25821 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25822 finite nonzero arguments.
25823 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25824 finite nonzero arguments.
25825 * math/s_casinh.c: Do not include <float.h>.
25826 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25827 * math/s_casinhf.c: Do not include <float.h>.
25828 (__casinhf): Move code for finite nonzero arguments to
25829 k_casinhf.c.
25830 * math/s_casinhl.c: Do not include <float.h>.
25831 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25832 redefine.
25833 (__casinhl): Move code for finite nonzero arguments to
25834 k_casinhl.c.
25835 * math/libm-test.inc (cacos_test): Add more tests.
25836 * sysdeps/i386/fpu/libm-test-ulps: Update.
25837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25838
2a26ef3a
PT
258392013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25840
25841 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25842 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25843 [!HAVE_MREMAP]: Remove [defined linux] case.
25844 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25845
a897655d
SP
258462013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25847
25848 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25849
881ebe89 258502013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
25851
25852 * elf/elf.h (R_386_SIZE32): New relocation.
25853 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25854 R_386_SIZE32.
25855 (elf_machine_rela): Likewise.
25856 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25857 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25858
59981e9b
JM
258592013-01-17 Joseph Myers <joseph@codesourcery.com>
25860
25861 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25862 (FP_FAST_FMA): Do not define.
25863 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25864 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25865 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25866 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25867 !_SOFT_FLOAT]: Likewise.
25868 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25869 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25870 value.
25871 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25872 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25873 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25874 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25875 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25876 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25877 file.
25878
cfa8054f
AS
258792013-01-16 Andreas Schwab <schwab@suse.de>
25880
25881 [BZ #14327]
25882 * include/stdlib.h (__mktemp): Add declaration.
25883 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25884 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25885
dd930cc5
SP
258862013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25887
881ebe89
SP
25888 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25889 definitions.
25890 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25891 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25892 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25893 definitions here.
25894 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25895 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25896 definitions.
25897 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25898 and ONE.
25899 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25900 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25901 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25902 definitions.
25903 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25904 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25905 definitions.
25906 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 25907
dd930cc5
SP
25908 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25909
c19a9f89
DM
259102013-01-15 David S. Miller <davem@davemloft.net>
25911
1aa61767
DM
25912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25913 trunc{,f} to libm-sysdep_routes.
25914 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25916 file.
25917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25919 file.
25920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25921 file.
25922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25924 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25925 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25926 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25927 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25928 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25929 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25930
c42d5e98
DM
25931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25932 nearbyint{,f} to libm-sysdep_routes.
25933 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25935 New file.
25936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25937 file.
25938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25939 New file.
25940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25941 file.
25942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25944 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25945 file.
25946 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25947 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25948 file.
25949 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25950 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25951 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25952
c19a9f89
DM
25953 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25954 libc_feholdexcept and libc_fesetenv.
25955
357679d2
MF
259562013-01-15 Mike Frysinger <vapier@gentoo.org>
25957
25958 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25959
65a82e3d
DM
259602013-01-14 David S. Miller <davem@davemloft.net>
25961
8b954ab9
DM
25962 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25963 (SPARC_ASM_VIS2_IFUNC): Likewise.
25964 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25966 use of 'siam' instruction.
25967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25968 Likewise.
25969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25970 Likewise.
25971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25972 Likewise.
25973 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25975 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25976 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25978 file.
25979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25980 file.
25981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25982 file.
25983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25984 file.
25985 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25986 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25987 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25988 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25990 new VIS2 routines.
25991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25994 Likewise.
25995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25998 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26000 routines to libm-sysdep_routines.
26001 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26002
65a82e3d
DM
26003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26004 fdim/fdimf to libm-sysdep_routines.
26005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26006 file.
26007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26009 file.
26010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26013 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26014 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26015 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26016 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26017
e34ab705
SP
260182013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26019
2a91b573
SP
26020 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26021 to optimize copies.
26022
1066a534
SP
26023 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26025 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26026
e34ab705
SP
26027 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26028 local variable MPTWO.
26029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26030 Likewise.
26031
aba5e596
MF
260322013-01-13 Mike Frysinger <vapier@gentoo.org>
26033
26034 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26035 GLOB_NOESCAPE.
26036
e557e9e5
MF
260372013-01-13 Mike Frysinger <vapier@gentoo.org>
26038
26039 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26040
0428cec9
MF
260412013-01-13 Mike Frysinger <vapier@gentoo.org>
26042
26043 * manual/pattern.texi (glob_t): Document gl_flags.
26044 (glob64_t): Likewise.
26045
8794a964
DM
260462013-01-11 David S. Miller <davem@davemloft.net>
26047
66438c3f
RM
26048 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26049 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26050 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
26051 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26052 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26053 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26054 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26055 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26056 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26057 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26058 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26059 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26060 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26061
4ae4244d
DM
26062 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26063 sparc V9 rather than using V8 code.
26064 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26065 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26066
8794a964
DM
26067 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26068 Move to...
26069 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26070 Here.
26071
6270516e
RM
260722013-01-11 Roland McGrath <roland@hack.frob.com>
26073
26074 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26075 not in the main loop.
26076 * configure: Regenerated.
26077
6a57d931
JM
260782013-01-11 Joseph Myers <joseph@codesourcery.com>
26079
26080 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26081 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26082 to just #else.
26083 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26084 [!__GLIBC_HAVE_LONG_LONG] case.
26085 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26086 condition to just #else.
26087 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26088 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26089 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26090 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26091 unconditional.
26092 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26093 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26094 #elif condition to just #else.
26095 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26096 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26097 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26098 #elif condition to just #else.
26099
0e8529e9
SE
261002013-01-11 Steve Ellcey <sellcey@mips.com>
26101
26102 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26103 (EF_MIPS_ARCH_64): Fix value.
26104 (EF_MIPS_ARCH_32R2): New.
26105 (EF_MIPS_ARCH_64R2): New.
26106
740b3dbe
L
261072013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26108
26109 * Makeconfig (+link-pie-before-libc): New.
26110 (+link-pie-after-libc): Likewise.
26111 (+link-pie-tests): Likewise.
26112 (+link-pie): Rewritten.
26113 (link-before-libc): Remove $(config-LDFLAGS).
26114 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26115 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26116 (config-LDFLAGS): Renamed to ...
26117 (rtld-LDFLAGS): This.
26118 (rtld-tests-LDFLAGS): New macro.
26119 (link-libc-rpath-link): Likewise.
26120 (link-libc-tests-rpath-link): Likewise.
26121 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26122 (link-libc): Prepand $(link-libc-rpath-link).
26123 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26124 (test-program-prefix): New macro.
26125 (test-via-rtld-prefix): Likewise.
26126 (test-program-cmd): Likewise.
26127 (host-test-program-cmd): Likewise.
26128 * Makefile ($(common-objpfx)testrun.sh): Replace
26129 $(run-program-prefix) with $(test-program-prefix).
26130 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26131 $(rtld-LDFLAGS).
26132 ($(common-objpfx)shlib.lds): Likewise.
26133 (build-module-helper): Likewise.
26134 ($(common-objpfx)format.lds): Likewise.
26135 * Rules (binaries-pie-tests): New.
26136 (binaries-pie-notests): Likewise.
26137 (binaries-pie): Rewritten.
26138 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26139 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26140 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26141 (make-test-out): Replace $(host-built-program-cmd) with
26142 $(host-test-program-cmd).
26143 * config.make.in (build-hardcoded-path-in-tests): New variable.
26144 * configure.in (--enable-hardcoded-path-in-tests): New configure
26145 option.
26146 (hardcoded_path_in_tests): New AC_SUBST.
26147 * configure: Regenerated.
26148 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26149 $(built-program-cmd) with $(test-program-cmd).
26150 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26151 (test_program_cmd): This.
26152 * elf/Makefile ($(objpfx)order.out): Run test with
26153 $(test-program-prefix).
26154 ($(objpfx)order2.out): Likewise.
26155 ($(objpfx)tst-initorder.out): Likewise.
26156 ($(objpfx)tst-initorder2.out): Likewise.
26157 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26158 $(test-program-cmd).
26159 ($(objpfx)tst-array1-static.out): Likewise.
26160 ($(objpfx)tst-array2.out): Likewise.
26161 ($(objpfx)tst-array3.out): Likewise.
26162 ($(objpfx)tst-array4.out): Likewise.
26163 ($(objpfx)tst-array5.out): Likewise.
26164 ($(objpfx)tst-array5-static.out): Likewise.
26165 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26166 $(test-program-cmd).
26167 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26168 $(run-program-prefix) with $(test-program-prefix).
26169 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26170 (test_program_prefix): This.
26171 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26172 $(run-program-prefix) with $(test-program-prefix).
26173 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26174 (test_program_prefix): This.
26175 * iconvdata/tst-tables.sh: Likewise.
26176 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26177 $(run-program-prefix) with $(test-program-prefix).
26178 ($(objpfx)tst-translit.out): Likewise.
26179 ($(objpfx)tst-gettext2.out): Likewise.
26180 ($(objpfx)tst-gettext4.out): Likewise.
26181 ($(objpfx)tst-gettext6.out): Likewise.
26182 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26183 (test_program_prefix): This.
26184 * intl/tst-gettext2.sh: Likewise.
26185 * intl/tst-gettext4.sh Likewise.
26186 * intl/tst-gettext6.sh: Likewise.
26187 * intl/tst-translit.sh: Likewise.
26188 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26189 with $(test-program-cmd).
26190 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26191 $(run-program-prefix) with $(test-program-prefix).
26192 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26193 (test_program_prefix): This.
26194 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26195 $(run-program-prefix) with $(test-program-prefix).
26196 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26197 (test_program_prefix): This.
26198 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26199 * posix/Makefile ($(objpfx)globtest.out): Replace
26200 $(run-via-rtld-prefix) and $(test-wrapper) with
26201 $(test-program-prefix) and $(test-via-rtld-prefix).
26202 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26203 $(test-program-prefix).
26204 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26205 $(host-test-program-cmd).
26206 (tst-spawn-ARGS): Likewise.
26207 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26208 $(test-program-prefix).
26209 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26210 (test_via_rtld_prefix): This.
26211 (test_wrapper): Renamed to ...
26212 (test_program_prefix): This.
26213 (run_program_prefix): Replaced by test_program_prefix.
26214 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26215 (test_program_prefix): This.
26216 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26217 with $(host-test-program-cmd).
26218 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26219 $(run-program-prefix) with $(test-program-prefix).
26220 ($(objpfx)tst-printf.out): Likewise.
26221 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26222 $(test-program-cmd).
26223 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26224 (test_program_prefix): This.
26225 * stdio-common/tst-unbputc.sh: Likewise.
26226 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26227 $(run-program-prefix) with $(test-program-prefix).
26228 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26229 (test_program_prefix): This.
26230 * string/Makefile ($(objpfx)tst-svc.out): Replace
26231 $(built-program-cmd) with $(test-program-cmd).
26232
c6fe55cf
AJ
262332013-01-11 Andreas Jaeger <aj@suse.de>
26234
26235 [BZ #15003]
26236 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26237 value. Sync with Linux 3.7.
26238
9e6919c8
DM
262392013-01-10 David S. Miller <davem@davemloft.net>
26240
26241 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26242 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26243 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26244
1c9f1a02
RM
262452013-01-10 Roland McGrath <roland@hack.frob.com>
26246
26247 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26248 never set.
26249 * configure: Regenerated.
26250
b9de2dde
DM
262512013-01-10 David S. Miller <davem@davemloft.net>
26252
26253 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26254 sparc V9 rather than using V8 code.
26255 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26256 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26257
e7f68ef4
RM
262582013-01-10 Roland McGrath <roland@hack.frob.com>
26259
26260 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26261 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26262 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26263 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26264 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26265 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26266 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26267 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26268 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26269 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26270 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26271 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26272 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26273 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26274 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26275 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26276 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26277 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26278 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26279 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26280 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26281 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26282 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26283 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26284 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26285 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26286 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26287
5a47cc9c
DM
262882013-01-10 David S. Miller <davem@davemloft.net>
26289
26290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26291
4cf8f209
L
262922013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26293
26294 * posix/Makefile (tests-static): New variable.
26295 (tests): Add $(tests-static).
26296 (tst-exec-static-ARGS): New variable.
26297 (tst-spawn-static-ARGS): Likewise.
26298 * posix/tst-exec-static.c: New file.
26299 * posix/tst-spawn-static.c: Likewise.
26300 * posix/tst-exec.c: Support run directly.
26301 * posix/tst-spawn.c: Likewise.
26302
fed0faa1
JM
263032013-01-10 Joseph Myers <joseph@codesourcery.com>
26304
828beb13
JM
26305 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26306 long.
26307 * math/bits/mathcalls.h (llrint): Likewise.
26308 (llround): Likewise.
26309 * stdlib/stdlib.h (struct drand48_data): Likewise.
26310 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26311 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26312 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26313 Likewise.
26314 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26315 Likewise.
26316 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26317 (elf_greg_t): Likewise.
26318 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26319 (__jmp_buf): Likewise.
26320 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26321 definitions.
26322 (llrint): Likewise, for all definitions.
26323 (llrintl): Likewise.
26324
fed0faa1
JM
26325 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26326 Remove [__GNUC__] condition.
26327 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26328 condition to just [__USE_ISOC99].
26329 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26330
1a20cb20
L
263312013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26332
26333 [BZ #14200]
26334 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26335 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26336 defined.
26337 (_POSIX_V6_ILP32_OFF32): Likewise.
26338 (_XBS5_ILP32_OFF32): Likewise.
26339 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26340 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26341
751b85f7
SP
263422013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26343
7490eb81
SP
26344 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26345
751b85f7
SP
26346 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26347 doubles __mpexp_twomm1. Adjust usage.
26348 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26349 Remove.
26350
988197f0
AS
263512013-01-10 Andreas Schwab <schwab@suse.de>
26352
26353 [BZ #14964]
26354 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26355 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26356
e83d7298
DM
263572013-01-09 David S. Miller <davem@davemloft.net>
26358
034ed64b 26359 [BZ #15003]
57f41c40
AS
26360 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26361 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26362 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26363 (TCP_FASTOPEN): Define.
e83d7298
DM
26364 (tcp_repair_opt): New structure.
26365 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26366 enum values.
57f41c40
AS
26367 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26368 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26369 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
26370 (tcp_cookie_transactions): New structure.
26371
d5e0b9bd
AB
263722013-01-09 Anton Blanchard <anton@samba.org>
26373
26374 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26375 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26376 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26377 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26378
0c07e3ea
JM
263792013-01-09 Joseph Myers <joseph@codesourcery.com>
26380
26381 * include/features.h (__USE_ANSI): Remove.
26382
232f7002
RM
263832013-01-09 Roland McGrath <roland@hack.frob.com>
26384
ad98e30c
RM
26385 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26386
232f7002
RM
26387 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26388
950c99ca
SP
263892013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26390
b5792741
SP
26391 * sysdeps/s390/fpu/libm-test-ulps: Update.
26392
47cf2278
SP
26393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26394
950c99ca
SP
26395 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26396 (__acr): Likewise.
26397 (__cpy): Likewise.
26398 (norm): Likewise.
26399 (denorm): Likewise.
26400 (__mp_dbl): Likewise.
26401 (__dbl_mp): Likewise.
26402 (add_magnitudes): Likewise.
26403 (sub_magnitudes): Likewise.
26404 (__add): Likewise.
26405 (__sub): Likewise.
26406 (__mul): Likewise.
26407 (__inv): Likewise.
26408 (__dvd): Likewise.
26409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26410 (__acr): Likewise.
26411 (__cpy): Likewise.
26412 (norm): Likewise.
26413 (denorm): Likewise.
26414 (__mp_dbl): Likewise.
26415 (__dbl_mp): Likewise.
26416 (add_magnitudes): Likewise.
26417 (sub_magnitudes): Likewise.
26418 (__add): Likewise.
26419 (__sub): Likewise.
26420 (__mul): Likewise.
26421 (__inv): Likewise.
26422 (__dvd): Likewise.
26423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26424 (__acr): Likewise.
26425 (__cpy): Likewise.
26426 (norm): Likewise.
26427 (denorm): Likewise.
26428 (__mp_dbl): Likewise.
26429 (__dbl_mp): Likewise.
26430 (add_magnitudes): Likewise.
26431 (sub_magnitudes): Likewise.
26432 (__add): Likewise.
26433 (__sub): Likewise.
26434 (__mul): Likewise.
26435 (__inv): Likewise.
26436 (__dvd): Likewise.
26437
eede9df9
JM
264382013-01-08 Joseph Myers <joseph@codesourcery.com>
26439
26440 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26441 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26442 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26443 2 && __USE_EXTERN_INLINES]: Likewise.
26444
c40ea3d9
AJ
264452013-01-08 Andreas Jaeger <aj@suse.de>
26446
26447 [BZ# 14985]
26448 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26449 Remove.
26450 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26451 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26452
2ccdea26
AB
264532013-01-07 Anton Blanchard <anton@samba.org>
26454
26455 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26456 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26457 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26458 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26459 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26460 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26461 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26462 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26464 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26465 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26466 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26467 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26468 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26469 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26470 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26471 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26472 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26473 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26474 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26475 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26476 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26477 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26478 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26479 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26480 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26481 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26482 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26483 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26484 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26485 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26487 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26488 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26489 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26490 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26491 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26492 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26493 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26494 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26495 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26496 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26497 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26498
a9708fed
JM
264992013-01-07 Joseph Myers <joseph@codesourcery.com>
26500
375607b9
JM
26501 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26502 (__MALLOC_PMT): Likewise.
26503 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26504 [__GNUC__], only on [_LIBC].
26505 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26506 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26507 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26508 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26509 forward declaration.
26510 (realloc_hook_ini): Likewise.
26511 (memalign_hook_ini): Likewise.
26512 (__libc_memalign): Do not use __MALLOC_PMT in variable
26513 declaration.
26514 (__libc_valloc): Likewise.
26515 (__libc_pvalloc): Likewise.
26516 (__libc_calloc): Likewise.
26517 (__posix_memalign): Likewise.
26518
a9708fed
JM
26519 [BZ #14996]
26520 * math/s_casinh.c: Include <float.h>.
26521 (__casinh): Do not do computation with squaring and square root
26522 for large arguments.
26523 * math/s_casinhf.c: Include <float.h>.
26524 (__casinhf): Do not do computation with squaring and square root
26525 for large arguments.
26526 * math/s_casinhl.c: Include <float.h>.
26527 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26528 (__casinhl): Do not do computation with squaring and square root
26529 for large arguments.
26530 * math/libm-test.inc (casin_test): Add more tests.
26531 (casinh_test): Likewise.
26532 * sysdeps/i386/fpu/libm-test-ulps: Update.
26533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26534
afec409a
L
265352013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26536
26537 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26538 (__x86_64_raw_data_cache_size): Likewise.
26539 (__x86_64_data_cache_size_half): Likewise.
26540 (__x86_64_raw_data_cache_size_half): Likewise.
26541 (__x86_64_shared_cache_size): Likewise.
26542 (__x86_64_raw_shared_cache_size): Likewise.
26543 (__x86_64_shared_cache_size_half): Likewise.
26544 (__x86_64_raw_shared_cache_size_half): Likewise.
26545 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26546 to ...
26547 (__x86_data_cache_size): This.
26548 (__x86_64_raw_data_cache_size): Renamed to ...
26549 (__x86_raw_data_cache_size): This.
26550 (__x86_64_data_cache_size_half): Renamed to ...
26551 (__x86_data_cache_size_half): This.
26552 (__x86_64_raw_data_cache_size_half): Renamed to ...
26553 (__x86_raw_data_cache_size_half): This.
26554 (__x86_64_shared_cache_size): Renamed to ...
26555 (__x86_shared_cache_size): This.
26556 (__x86_64_raw_shared_cache_size): Renamed to ...
26557 (__x86_raw_shared_cache_size): This.
26558 (__x86_64_shared_cache_size_half): Renamed to ...
26559 (__x86_shared_cache_size_half): This.
26560 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26561 (__x86_raw_shared_cache_size_half): This.
26562 * sysdeps/x86_64/memcpy.S: Updated.
26563 * sysdeps/x86_64/memset.S: Likewise.
26564 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26565 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26566 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26567
0b3986d0
DM
265682013-01-04 David S. Miller <davem@davemloft.net>
26569
26570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26571
e47686e9
AS
265722013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26573
d643bac1
AS
26574 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26575 1 to avoid redefinition warning.
26576 (__USE_GNU): Don't define.
26577 (init_signaling_nan): Protoize.
26578
e47686e9
AS
26579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26580
b18decba
SP
265812013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26582
fffb407f
SP
26583 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26585 (__cpymn): Likewise.
26586 (norm): Remove commented code.
26587 (denorm): Likewise.
26588 (__mp_dbl): Likewise.
26589 (__inv): Likewise.
26590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26591 (__cpymn): Likewise.
26592 (norm): Remove commented code.
26593 (denorm): Likewise.
26594 (__mp_dbl): Likewise.
26595 (__inv): Likewise.
26596
b18decba
SP
26597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26598 mp_no value for 1.0 and 2.0.
26599 (norm): Use RADIXI instead of radixi.d.
26600 (denorm): Likewise.
26601 (__mul): Use 0.0 instead of zero.d.
26602 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26603 mp_no value for 1.0 and 2.0.
26604 (norm): Use RADIXI instead of radixi.d.
26605 (denorm): Likewise.
26606 (__mul): Use 0.0 instead of zero.d.
26607
cdc1c96f
JM
266082013-01-04 Joseph Myers <joseph@codesourcery.com>
26609
26610 [BZ #14994]
26611 * math/s_casinh.c (__casinh): Reduce finite argument to first
26612 quadrant then set signs of results at the end.
26613 * math/s_casinhf.c (__casinhf): Likewise.
26614 * math/s_casinhl.c (__casinhl): Likewise.
26615 * math/libm-test.inc (casin_test): Add more tests.
26616 (casinh_test): Likewise.
26617 * sysdeps/i386/fpu/libm-test-ulps: Update.
26618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26619
302913e1
SP
266202013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26621
6420d207
SP
26622 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26623
a9e48ab4
SP
26624 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26625
b7837264
SP
26626 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26627 declarations.
26628 (denorm): Likewise.
26629 (__mp_dbl): Likewise.
26630 (__inv): Likewise.
26631
f8af25d2
SP
26632 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26633 and adjust the header comment.
26634
302913e1
SP
26635 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26636 variable name from declaration.
26637
5d7dd1ca
L
266382013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26639
26640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26641 Initialize COMMON_CPUID_INDEX_7 element.
26642 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26643 (CPUID_RTM): Likewise.
26644 (HAS_RTM): Likewise.
26645 (COMMON_CPUID_INDEX_7): New enum.
26646
2f5f40f4
AS
266472013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26648
26649 [BZ #14981]
26650 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26651 size is zero, record memory as freed.
26652
4056f4a0
AJ
266532013-01-03 Andreas Jaeger <aj@suse.de>
26654
26655 * po/ia.po: Add new Interlingua translation.
26656
ab15736f 266572012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
26658
26659 * locale/programs/localedef.c: Fix description of '--posix' flag.
26660
568035b7
JM
266612013-01-02 Joseph Myers <joseph@codesourcery.com>
26662
e6898b8d
JM
26663 * NEWS: Update dates in second copyright notice.
26664 * README: Update copyright dates in example.
26665 * manual/libc.texinfo: Update copyright dates.
26666 * scripts/test-installation.pl: Update copyright date in --version
26667 output.
26668
0e2f9562
JM
26669 * hurd/ctty-input.c: Fix copyright notice formatting.
26670 * hurd/ctty-output.c: Likewise.
26671 * hurd/dtable.c: Likewise.
26672 * hurd/hurd-raise.c: Likewise.
26673 * hurd/hurdprio.c: Likewise.
26674 * hurd/msgportdemux.c: Likewise.
26675 * misc/sys/file.h: Likewise.
26676 * misc/sys/ioctl.h: Likewise.
26677 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26678 * sysdeps/mach/hurd/chdir.c: Likewise.
26679 * sysdeps/mach/hurd/fchdir.c: Likewise.
26680 * sysdeps/mach/hurd/rename.c: Likewise.
26681 * sysdeps/mach/hurd/rmdir.c: Likewise.
26682 * sysdeps/mach/hurd/seekdir.c: Likewise.
26683 * sysdeps/mach/hurd/setsid.c: Likewise.
26684 * sysdeps/posix/wait3.c: Likewise.
26685
568035b7
JM
26686 * All files with FSF copyright notices: Update copyright dates
26687 using scripts/update-copyrights.
26688 * intl/plural.c: Regenerated.
26689 * locale/programs/charmap-kw.h: Likewise.
26690 * locale/programs/locfile-kw.h: Likewise.
26691
da08f647
SP
266922013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26693
0f5477af
SP
26694 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26695 four values.
26696
44e0d4c2
SP
26697 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26698 calculation loop and add branch prediction.
26699
4d55b4e5
SP
26700 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26701 check access beyond bounds of m1np.
26702
da08f647
SP
26703 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26704 MPTWO.
26705 (__inv): Remove local variable MPTWO to use the global
26706 constant.
26707 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26708 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26709 variable MPTWO.
26710 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26711 MP3HALFS static const.
26712
8e051029
DM
267132013-01-01 David S. Miller <davem@davemloft.net>
26714
26715 * po/ca.po: Update from translation team.
26716
f4cf5f2d
JM
267172013-01-01 Joseph Myers <joseph@codesourcery.com>
26718
26719 * scripts/update-copyrights: New file.
26720 * Makeconfig: Reformat copyright notice.
26721 * ctype/ctype.h: Likewise.
26722 * debug/swprintf_chk.c: Likewise.
26723 * elf/dl-cache.c: Likewise.
26724 * elf/dl-debug.c: Likewise.
26725 * elf/dl-object.c: Likewise.
26726 * grp/initgroups.c: Likewise.
26727 * hurd/Makefile: Likewise.
26728 * hurd/hurd/signal.h: Likewise.
26729 * hurd/hurdfault.c: Likewise.
26730 * hurd/hurdioctl.c: Likewise.
26731 * hurd/hurdlookup.c: Likewise.
26732 * hurd/intr-msg.c: Likewise.
26733 * iconv/gconv_open.c: Likewise.
26734 * libio/swprintf.c: Likewise.
26735 * locale/lc-ctype.c: Likewise.
26736 * locale/nl_langinfo.c: Likewise.
26737 * mach/Machrules: Likewise.
26738 * mach/Makefile: Likewise.
26739 * malloc/obstack.h: Likewise.
26740 * manual/Makefile: Likewise.
26741 * manual/tsort.awk: Likewise.
26742 * misc/bits/stab.def: Likewise.
26743 * nis/nis_print_group_entry.c: Likewise.
26744 * nis/nis_table.c: Likewise.
26745 * nis/nss_compat/compat-pwd.c: Likewise.
26746 * nis/nss_compat/compat-spwd.c: Likewise.
26747 * po/Makefile: Likewise.
26748 * posix/fnmatch.c: Likewise.
26749 * posix/regex.h: Likewise.
26750 * resolv/Makefile: Likewise.
26751 * resolv/nss_dns/dns-network.c: Likewise.
26752 * resolv/res_hconf.c: Likewise.
26753 * scripts/gen-sorted.awk: Likewise.
26754 * soft-fp/soft-fp.h: Likewise.
26755 * stdio-common/printf.h: Likewise.
26756 * stdlib/monetary.h: Likewise.
26757 * stdlib/random.c: Likewise.
26758 * stdlib/random_r.c: Likewise.
26759 * sysdeps/generic/Makefile: Likewise.
26760 * sysdeps/gnu/Makefile: Likewise.
26761 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26762 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26763 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26764 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26765 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26766 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26767 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26768 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26769 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26770 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26771 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26772 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26773 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26774 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26775 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26776 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26777 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26778 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26779 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26781 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26782 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26783 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26784 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26785 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26786 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26787 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26788 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26789 * sysdeps/mach/hurd/errnos.awk: Likewise.
26790 * sysdeps/mach/hurd/fork.c: Likewise.
26791 * sysdeps/mach/hurd/getcwd.c: Likewise.
26792 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26793 * sysdeps/mach/hurd/mmap.c: Likewise.
26794 * sysdeps/mach/hurd/utimes.c: Likewise.
26795 * sysdeps/mach/hurd/xmknod.c: Likewise.
26796 * sysdeps/posix/profil.c: Likewise.
26797 * sysdeps/posix/readdir_r.c: Likewise.
26798 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26799 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26800 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26801 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26803 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26804 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26805 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26807 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26808 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26809 * sysdeps/pthread/lio_listio.c: Likewise.
26810 * sysdeps/sparc/dl-procinfo.h: Likewise.
26811 * sysdeps/unix/i386/sysdep.S: Likewise.
26812 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26813 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26814 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26815 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26817 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26818 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26819 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26820 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26821 * sysdeps/wordsize-32/divdi3.c: Likewise.
26822 * time/sys/time.h: Likewise.
26823 * wcsmbs/Makefile: Likewise.
26824
0549fbba
DM
268252013-01-01 David S. Miller <davem@davemloft.net>
26826
a141f1a7
DM
26827 * po/fr.po: Update from translation team.
26828
0549fbba
DM
26829 * catgets/gencat.c: Update copyright year.
26830 * csu/version.c: Likewise.
26831 * debug/catchsegv.sh: Likewise.
26832 * debug/pcprofiledump.c: Likewise.
26833 * debug/xtrace.sh: Likewise.
26834 * elf/ldconfig.c: Likewise.
26835 * elf/ldd.bash.in: Likewise.
26836 * elf/pldd.c: Likewise.
26837 * elf/sotruss.ksh: Likewise.
26838 * elf/sprof.c: Likewise.
26839 * iconv/iconv_prog.c: Likewise.
26840 * iconv/iconvconfig.c: Likewise.
26841 * locale/programs/locale.c: Likewise.
26842 * locale/programs/localedef.c: Likewise.
26843 * login/programs/pt_chown.c: Likewise.
26844 * malloc/memusage.sh: Likewise.
26845 * malloc/memusagestat.c: Likewise.
26846 * malloc/mtrace.pl: Likewise.
26847 * nscd/nscd.c: Likewise.
26848 * nss/getent.c: Likewise.
26849 * nss/makedb.c: Likewise.
26850 * posix/getconf.c: Likewise.
26851
18ea052c
SP
268522012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26853
26854 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26855 numbers.
26856
9c89fca6
MF
268572012-12-30 Mike Frysinger <vapier@gentoo.org>
26858
26859 * math/bits/mathcalls.h (modf): Use __nonnull.
26860
085ec079
SP
268612012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26862
26863 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26864 (split): Use macro CN instead of the bare value.
26865 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26866 could be used.
26867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26868 instead of the bare value.
26869 (power1): Likewise.
26870
6d9f97e1
SP
268712012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26872
d63f73be
SP
26873 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26874 __ATAN_TWOM.
26875 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26876
6d9f97e1
SP
26877 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26878 their values.
26879 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26880 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26881 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26882 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26883
4c4febf5
AJ
268842012-12-28 Andreas Jaeger <aj@suse.de>
26885
af5843ef
AJ
26886 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26887 values are from Linux 3.7.
26888
4c4febf5
AJ
26889 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26890 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26891
99136f82
SP
268922012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26893
2f216c3c 26894 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
26895 TRUE case.
26896
99136f82
SP
26897 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26898 (norm): Likewise.
26899 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26900 variables with preprocessor constants.
26901 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26902 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26903 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26904
7fffbdff
BH
269052012-12-27 Bruno Haible <bruno@clisp.org>
26906
26907 [BZ #14317]
26908 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26909 only if needed.
26910
b76eb5f0
SP
269112012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26912
31a7fe5c
SP
26913 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26914 and use variable directly.
26915 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26916
b76eb5f0
SP
26917 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26918 MPONE.
26919 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26920 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26921 variable MPONE.
26922 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26923 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26924 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26925 include directive. Remove local variable MPONE.
26926 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26927 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26928 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26929
2c8bfe7d
DM
269302012-12-25 David S. Miller <davem@davemloft.net>
26931
26932 * version.h (RELEASE): Set to "development".
26933 (VERSION): Set to "2.17.90".
26934 * NEWS: Add 2.18 section.
26935
147d03b0
DM
269362012-12-21 David S. Miller <davem@davemloft.net>
26937
26938 * po/hr.po: Update from translation team.
26939
a8ebb2b9
AK
269402012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26941
26942 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26943
95b4f1b6
SE
269442012-12-19 Steve Ellcey <sellcey@mips.com>
26945
b2d94007 26946 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 26947
cedb2a90
MS
269482012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26949
26950 * manual/contrib.texi (Contributors): Spelling correction.
26951
bbf527d6
DM
269522012-12-15 David S. Miller <davem@davemloft.net>
26953
26954 * po/ru.po: Update from translation team.
26955
bc38c906
DM
269562012-12-13 David S. Miller <davem@davemloft.net>
26957
85429b1a
DM
26958 * NEWS: Mention IFUNC testsuite enhancements.
26959
d283e353
DM
26960 * po/pl.po: Update from translation team.
26961 * po/bg.po: Likewise.
26962
bc38c906
DM
26963 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26964 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26965
a181b0d7
DM
269662012-12-11 David S. Miller <davem@davemloft.net>
26967
4641d57e
DM
26968 * po/sv.po: Update from translation team.
26969
f7bc6495
DM
26970 * po/vi.po: Update from translation team.
26971
6fc9048f
DM
26972 * po/cs.po: Update from translation team.
26973
a181b0d7
DM
26974 * po/de.po: Update from translation team.
26975 * po/eo.po: Likewise.
26976 * po/nl.po: Likewise.
26977
f70bfe80
SP
269782012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26979
3c8b4190
SP
26980 [BZ #14246]
26981 * manual/argp.texi (Argp Helper Functions): Move node to follow
26982 Argp Parsing State.
26983
f70bfe80
SP
26984 [BZ #14872]
26985 * manual/conf.texi (Limits on File System Capacity): Mention if
26986 terminating null is included in the max size.
26987
188f0adf
AJ
269882012-12-10 Andreas Jaeger <aj@suse.de>
26989
26990 * po/cs.po: Update from translation team.
26991
56e7d3ad
SP
269922012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26993
26994 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26995 void pointer and cast to uintptr_t.
26996 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26997 path.
26998 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26999 * sysdeps/s390/s390-64/memset.S: Likewise.
27000
76f2d2ea 270012012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
27002
27003 [BZ #14833]
27004 * menual/message.texi (Message Translation): Fix typos.
27005 (Helper programs for gettext): Likewise.
27006
67cbf9a2
AS
270072012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27008
27009 [BZ #14898]
27010 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27011 Change to -1.
27012
682d0e9a
DM
270132012-12-07 David S. Miller <davem@davemloft.net>
27014
27015 * po/libc.pot: Update.
27016
573cd484
RH
270172012-12-07 Richard Henderson <rth@redhat.com>
27018
7e9da188 27019 [BZ #10114]
573cd484
RH
27020 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27021 normal/normal case to before the switch.
27022 (_FP_DIV): Likewise.
27023
e933a943
MF
270242012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27025 Mike Frysinger <vapier@gentoo.org>
27026
27027 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27028 check for __NR_fadvise64_64.
27029
82123268
CM
270302012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27031
27032 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27033 0, not just to plain "0" as a statement.
27034 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27035 with cw.
27036
d9814526
JM
270372012-12-06 Joseph Myers <joseph@codesourcery.com>
27038
27039 * NEWS: Use sourceware.org in Bugzilla URL.
27040
7728c574
SP
270412012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27042
f16946dd
SP
27043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27044 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27045
5704bbcb
SP
27046 * stdio-common/tst-put-error.c (do_test): Add newline to the
27047 padded test to ensure flush.
27048
17aa0516
JL
270492012-12-05 Jeff Law <law@redhat.com>
27050
27051 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27052
363313b5
JM
270532012-12-05 Joseph Myers <joseph@codesourcery.com>
27054
effbd42a
JM
27055 * README: Don't refer to ports add-on as distributed separately.
27056 Mention AArch64 in list of systems supported in the ports add-on.
27057
87600365
JM
27058 * LICENSES: Add more non-FSF copyright and license notices.
27059
a0d7066a
JM
27060 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27061 ((unused)).
27062
66ca5a5b
JM
27063 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27064
363313b5
JM
27065 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27066 10000 as width of padded output.
27067
b37984ad
JM
270682012-12-04 Joseph Myers <joseph@codesourcery.com>
27069
9003570a
JM
27070 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27071
b37984ad
JM
27072 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27073 variable LX with __attribute__ ((unused)).
27074 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27075 Likewise.
27076 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27077 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27078 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27079 with __attribute__ ((unused)).
27080
c8df52ec
DM
270812012-12-04 David S. Miller <davem@abraco.davemloft.net>
27082
27083 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27084
b3b099af
JM
270852012-12-04 Joseph Myers <joseph@codesourcery.com>
27086
c33aa6e3
JM
27087 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27088 (CFLAGS-nldbl-acos.c): New variable.
27089 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27090 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27091 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27092 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27093 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27094 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27095 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27096 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27097 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27098 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27099 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27100 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27101 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27102 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27103 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27104 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27105 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27106 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27107 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27108 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27109 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27110 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27111 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27112 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27113 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27114 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27115 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27116 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27117 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27118 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27119 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27120 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27121 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27122 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27123 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27124 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27125 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27126 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27127 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27128 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27129 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27130 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27131 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27132 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27133 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27134 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27135 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27136 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27137 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27138 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27139 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27140 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27141 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27142 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27143 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27144 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27145 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27146 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27147 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27148 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27149 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27150 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27151 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27152 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27153 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27154 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27155 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27156 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27157 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27158 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27159 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27160 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27161 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27162 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27163 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27164 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27165 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27166 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27167 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27168 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27169 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27170 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27171 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27172 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27173 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27174 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27175 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27176 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27177 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27178 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27179 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27180 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27181 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27182 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27183 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27184 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27185 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27186
20f0018d
JM
27187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27188 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27189
b3b099af
JM
27190 [BZ #14914]
27191 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27192 whole low double instead of just low 47 bits when splitting values
27193 into two parts.
27194
029264d1
AM
271952012-12-03 Allan McRae <allan@archlinux.org>
27196
27197 * manual/stdio.texi (Predefined Printf Handlers): Remove
27198 @hsep and @vsep usage.
27199
c9d6789e
MF
272002012-12-03 Mike Frysinger <vapier@gentoo.org>
27201
27202 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27203 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27204
4b7634a5
JL
272052012-12-03 Jeff Law <law@redhat.com>
27206
27207 * time/sys/time.h (settimeofday): Do not mark TV argument
27208 as __nonnull.
27209
eb6cbd24
MF
272102012-12-01 Mike Frysinger <vapier@gentoo.org>
27211
27212 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27213 when currently writing and seek to current position when not.
27214 * libio/Makefile (tests): Remove bug-fclose1.
27215 * libio/bug-fclose1.c: Delete.
27216
f638872a
JM
272172012-12-01 Joseph Myers <joseph@codesourcery.com>
27218
27219 * manual/arith.texi (feenableexcept): Fix typo.
27220 (fedisableexcept): Likewise.
27221
48085d14
RM
272222012-11-30 Roland McGrath <roland@hack.frob.com>
27223
27224 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27225 second, differently-typed declaration, rather than a cast.
27226
1a538b9f
SP
272272012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27228
27229 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27230 * include/rpc/svc.h: ... here.
27231
d07f2ff1 272322012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
27233
27234 [BZ #13013]
27235 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27236 depending n and resplen2 to catch cases where answer
27237 equals answerp2.
27238
c93ec1f0
CD
272392012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27240
27241 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27242 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27243
37db69de
MF
272442012-11-29 Mike Frysinger <vapier@gentoo.org>
27245
27246 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27247
e10c4e4f
RM
272482012-11-29 Roland McGrath <roland@hack.frob.com>
27249
27250 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27251
2af1b328
JL
272522012-11-28 Jeff Law <law@redhat.com>
27253
27254 [BZ #13761]
27255 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27256 dataset_temporary. Track alloca usage into alloca_used.
27257 If dataset is large allocate and release it via malloc/free.
27258
111db5b1
FW
272592012-06-04 Florian Weimer <fweimer@redhat.com>
27260
f06cc227 27261 [BZ #14197]
111db5b1
FW
27262 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27263
dd694abd
DM
272642012-11-28 David S. Miller <davem@davemloft.net>
27265
27266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27267
9984dd01
JM
272682012-11-28 Joseph Myers <joseph@codesourcery.com>
27269
27270 [BZ #14803]
27271 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27272 of pi/2 rounded to nearest to 64 bits.
27273 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27274 nearest to 64 bits.
27275 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27276 bits.
27277
14bc93a9
JL
272782012-11-28 Jeff Law <law@redhat.com>
27279 Martin Osvald <mosvald@redhat.com>
27280
27281 [BZ #14889]
27282 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27283 * sunrpc/svc.c: Include time.h.
27284 (__svc_accept_failed): New function.
27285 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27286 any reason other than EINTR, call __svc_accept_failed.
27287 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27288 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27289
e3c6aa3a
AS
272902012-11-28 Andreas Schwab <schwab@suse.de>
27291
27292 * scripts/abilist.awk: Also handle indirect functions in .opd
27293 section.
27294
1bead169
JM
272952012-11-28 Joseph Myers <joseph@codesourcery.com>
27296
27297 [BZ #13881]
27298 * sysdeps/x86/fpu/powl_helper.c: New file.
27299 * sysdeps/x86/fpu/Makefile: Likewise.
27300 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27301 (p3): New object.
27302 (__ieee754_powl): Use __powl_helper for finite arguments except
27303 integer exponents below 8.
27304 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27305 (p3): New object.
27306 (__ieee754_powl): Use __powl_helper for finite arguments except
27307 integer exponents below 8.
27308 * math/libm-test.inc (pow_test): Add more tests and enable some
27309 previously disabled tests.
27310 * sysdeps/i386/fpu/libm-test-ulps: Update.
27311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27312
0817d63d
SP
273132012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27314 Carlos O'Donell <carlos_odonell@mentor.com>
27315
27316 * nss/makedb.c (is_prime): Assert that input is odd and greater
27317 than 4. Note that fact in a comment too.
27318 (next_prime): Add 4 to input.
27319
de2fd463
SP
273202012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27321
27322 [BZ #11741]
27323 * libio/Makefile (tests): Add test case tst-fwrite-error.
27324 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27325 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27326 * libio/tst-fwrite-error.c: New test case.
27327
c515fb51
L
273282012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27329
27330 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27331 before casting to void *.
27332 * include/libc-internal.h (__pointer_type): New macro.
27333 (__integer_if_pointer_type_sub): Likewise.
27334 (__integer_if_pointer_type): Likewise.
27335 (cast_to_integer): Likewise.
27336 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27337 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27338 before casting to atomic64_t.
27339 (atomic_exchange_acq): Likewise.
27340 (__arch_exchange_and_add_body): Likewise.
27341 (__arch_add_body): Likewise.
27342 (atomic_add_negative): Likewise.
27343 (atomic_add_zero): Likewise.
27344
4cf77aa9
JM
273452012-11-26 Joseph Myers <joseph@codesourcery.com>
27346
27347 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27348 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27349 (add_fdes): Likewise.
27350 (linear_search_fdes): Likewise.
27351 (binary_search_unencoded_fdes): Likewise.
27352
d260b3b4
AS
273532012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27354
27355 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27356
67060746
AC
273572012-11-24 Adam Conrad <adconrad@0c3.net>
27358
27359 * configure.in: Autodetect C++ header directories.
27360 * configure: Regenerated.
27361
800938a1
MF
273622012-11-23 Mike Frysinger <vapier@gentoo.org>
27363
27364 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27365
4e6e34e6
AS
273662012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27367
27368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27369
7c7feb47
JM
273702012-11-22 Joseph Myers <joseph@codesourcery.com>
27371
7184dcdf
JM
27372 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27373 LDBL_MANT_DIG == 106]: Disable some tests.
27374 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27375 Likewise.
27376 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27377 Likewise.
27378
0a42601f
JM
27379 [BZ #14871]
27380 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27381 input for small inputs. Return +/- pi/2 for large inputs.
27382 * math/libm-test.inc (atan_test): Add more tests.
27383
79c9b9fe
JM
27384 * sysdeps/generic/unwind-dw2-fde-glibc.c
27385 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27386 __attribute__ ((unused)).
27387
c60d3bf2
JM
27388 [BZ #14645]
27389 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27390 x * y if x and y are nonzero and z is zero.
27391
ef1e0867
JM
27392 [BZ #14811]
27393 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27394 nonzero exponents with absolute value below 0x1p-117 to +/-
27395 0x1p-117.
27396
1468ded3
JM
27397 [BZ #14869]
27398 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27399 up arguments below 2**-450, not just those below 2**-500.
27400 * math/libm-test.inc (hypot_test): Add another test.
27401
8e27e3cc
JM
27402 [BZ #14868]
27403 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27404 Return a+b for ratio over 2**120, not 2**60.
27405 * math/libm-test.inc (hypot_test): Add another test.
27406
c9c0279b
JM
27407 * math/libm-test.inc (clog_test): Use
27408 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27409 (clog10_test): Likewise.
27410
7c7feb47
JM
27411 [BZ #6778]
27412 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27413
fff1530e
AS
274142012-11-22 Andreas Schwab <schwab@suse.de>
27415
27416 * sysdeps/i386/fpu/libm-test-ulps: Update.
27417
94558d30
PT
274182012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27419
27420 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27421 printf output with newline.
27422
7e1be741
L
274232012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27424
6bfea974
L
27425 [BZ #14865]
27426 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27427 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27428 -z nodlopen, -z initfirst and -z execstack support.
27429 * configure: Regenerated.
27430
7e1be741
L
27431 * elf/elf.h (DF_1_NODIRECT): New macro.
27432 (DF_1_IGNMULDEF): Likewise.
27433 (DF_1_NOKSYMS): Likewise.
27434 (DF_1_NOHDR): Likewise.
27435 (DF_1_EDITED): Likewise.
27436 (DF_1_NORELOC): Likewise.
27437 (DF_1_SYMINTPOSE): Likewise.
27438 (DF_1_GLOBAUDIT): Likewise.
27439 (DF_1_SINGLETON): Likewise.
27440 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27441 DT_1_SUPPORTED_MASK bits.
27442 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27443
105ce2ce
CD
274442012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27445
27446 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27447
123be9de
TS
274482012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27449
d072f3f7
TS
27450 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27451 macro.
27452
123be9de
TS
27453 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27454 (sendmmsg): Move declarations...
27455 * socket/sys/socket.h: ... here.
27456 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27457 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27458 include it from...
27459 * socket/recvmmsg.c: ... this new file.
27460 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27461 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27462 definition of __sendmmsg hidden.
27463 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27464 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27465 Move ENOSYS stub into and include it from...
27466 * socket/sendmmsg.c: ... this new file.
27467 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27468 (sysdep_routines): Move recvmmsg and sendmmsg...
27469 * socket/Makefile (routines): ... here.
27470 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27471 (GLIBC_PRIVATE): Add __sendmmsg.
27472 * include/sys/socket.h (__sendmmsg): Add declarations.
27473 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27474 sendmmsg.
27475
cf9a5d18
JM
274762012-11-20 Joseph Myers <joseph@codesourcery.com>
27477
27478 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27479 variable I1 with __attribute__ ((unused)).
27480 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27481
ecd4caf9
JM
274822012-11-19 Joseph Myers <joseph@codesourcery.com>
27483
be14d48f
JM
27484 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27485 DUMMY variables with __attribute__ ((unused)).
27486
ecd4caf9
JM
27487 * bits/byteswap.h: Include <bits/types.h>.
27488 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27489
986cab95
PT
274902012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27491
27492 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27493 string_t. Do not manually set errno.
27494 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27495 length with __strnlen. Make sure to both set errno and return it on
27496 failure.
27497
6d33cc9d
DM
274982012-11-19 David S. Miller <davem@davemloft.net>
27499
27500 With help from Joseph Myers.
27501 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27502 very large arguments properly.
27503 * math/libm-test.inc (atan_test): New tests.
27504 (atan2_test): New tests.
27505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27507
ee663277
JM
275082012-11-19 Joseph Myers <joseph@codesourcery.com>
27509
877f2d8e
JM
27510 [BZ #14856]
27511 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27512 Define to 3.
27513
116fc08a
JM
27514 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27515 [POSIX] (EADDRNOTAVAIL): Likewise.
27516 [POSIX] (EAFNOSUPPORT): Likewise.
27517 [POSIX] (EALREADY): Likewise.
27518 [POSIX] (ECONNABORTED): Likewise.
27519 [POSIX] (ECONNREFUSED): Likewise.
27520 [POSIX] (ECONNRESET): Likewise.
27521 [POSIX] (EDESTADDRREQ): Likewise.
27522 [POSIX] (EDQUOT): Likewise.
27523 [POSIX] (EHOSTUNREACH): Likewise.
27524 [POSIX] (EIDRM): Likewise.
27525 [POSIX] (EISCONN): Likewise.
27526 [POSIX] (ELOOP): Likewise.
27527 [POSIX] (EMULTIHOP): Likewise.
27528 [POSIX] (ENETDOWN): Likewise.
27529 [POSIX] (ENETUNREACH): Likewise.
27530 [POSIX] (ENOBUFS): Likewise.
27531 [POSIX] (ENODATA): Likewise.
27532 [POSIX] (ENOLINK): Likewise.
27533 [POSIX] (ENOMSG): Likewise.
27534 [POSIX] (ENOPROTOOPT): Likewise.
27535 [POSIX] (ENOSR): Likewise.
27536 [POSIX] (ENOSTR): Likewise.
27537 [POSIX] (ENOTCONN): Likewise.
27538 [POSIX] (ENOTSOCK): Likewise.
27539 [POSIX] (EOPNOTSUPP): Likewise.
27540 [POSIX] (EOVERFLOW): Likewise.
27541 [POSIX] (EPROTO): Likewise.
27542 [POSIX] (EPROTONOSUPPORT): Likewise.
27543 [POSIX] (EPROTOTYPE): Likewise.
27544 [POSIX] (ESTALE): Likewise.
27545 [POSIX] (ETIME): Likewise.
27546 [POSIX] (ETXTBSY): Likewise.
27547 [POSIX] (EWOULDBLOCK): Likewise.
27548 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27549 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27550 [POSIX] (SEEK_CUR): Likewise.
27551 [POSIX] (SEEK_END): Likewise.
27552 [POSIX || UNIX98] (mode_t): Do not require.
27553 [POSIX] (off_t): Likewise.
27554 [POSIX] (pid_t): Likewise.
27555 [POSIX] (sys/stat.h): Do not allow header.
27556 [POSIX] (unistd.h): Likewise.
27557 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27558 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27559 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27560 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27561 require.
27562 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27563 sigevent): Specify elements.
27564 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27565 entry.
27566 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27567 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27568
a483863f
JM
27569 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27570 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27571 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27572 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27573 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27574 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27575 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27576 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27577 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27578 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27579 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27580 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27581 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27582 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27583 Likewise.
27584 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27585 Likewise.
27586 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27587 Likewise.
27588 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27589 Likewise.
27590 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27591 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27592 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27593 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27594 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27595 Specify lower bound on value.
27596 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27597 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27598 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27599 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27600 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27601 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27602 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27603 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27604 value.
27605 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27606 as optional.
27607 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27608 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27609 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27610 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27611 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27612 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27613 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27614 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27615 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27616 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27617 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27618 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27619 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27620 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27621 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27622 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27623 entry.
27624 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27625 optional.
27626 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27627 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27628 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27629 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27630 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27631 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27632 Likewise.
27633 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27634 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27635 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27636 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27637 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27638 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27639 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27640 as optional.
27641 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27642 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27643 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27644 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27645 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27646 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27647 specify as optional.
27648 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27649 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27650 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27651 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27652 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27653 [XPG3] (NL_LANGMAX): Likewise.
27654 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27655 [POSIX || XPG3] (NL_NMAX): Likewise.
27656 [POSIX || XPG3] (NL_SETMAX): Likewise.
27657 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27658 [XPG3] (NZERO): Likewise.
27659 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27660 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27661 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27662 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27663 (REG_ERANGE): Expect.
27664 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27665 optional-constant.
27666 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27667 Use (void) in prototype.
27668 [POSIX] (*_t): Allow.
27669 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27670 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27671 (WRDE_BADVAL): Expect.
27672
5ba924e3
JM
27673 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27674 expect.
27675 [XPG3 || XPG4] (O_RSYNC): Likewise.
27676 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27677 Likewise.
27678 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27679 [XPG3 || XPG4] (sigqueue): Likewise.
27680 [XPG3 || XPG4] (sigtimedwait): Likewise.
27681 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27682 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27683 [XPG3 || XPG4] (vsnprintf): Likewise.
27684 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27685 Likewise.
27686 [XPG3 || XPG4] (blksize_t): Likewise.
27687 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27688 Likewise.
27689 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27690 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27691 [XPG3 || XPG4] (struct itimerspec): Likewise.
27692 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27693 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27694 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27695 [XPG3 || XPG4] (clockid_t): Likewise.
27696 [XPG3 || XPG4] (timer_t): Likewise.
27697 [XPG3 || XPG4] (clock_getres): Likewise.
27698 [XPG3 || XPG4] (clock_gettime): Likewise.
27699 [XPG3 || XPG4] (clock_settime): Likewise.
27700 [XPG3 || XPG4] (nanosleep): Likewise.
27701 [XPG3 || XPG4] (timer_create): Likewise.
27702 [XPG3 || XPG4] (timer_delete): Likewise.
27703 [XPG3 || XPG4] (timer_gettime): Likewise.
27704 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27705 [XPG3 || XPG4] (timer_settime): Likewise.
27706 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27707 [XPG3 || XPG4] (getlogin_r): Likewise.
27708 [XPG3 || XPG4] (pread): Likewise.
27709 [XPG3 || XPG4] (pthread_atfork): Likewise.
27710 [XPG3 || XPG4] (pwrite): Likewise.
27711
ee663277
JM
27712 [BZ #14835]
27713 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27714 <bits/siginfo.h>.
27715
942caa16
PT
277162012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27717
e19af380
PT
27718 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27719 finalizing MALLSTREAM.
27720
942caa16
PT
27721 * sysdeps/mach/hurd/syncfs.c: New file.
27722
cfde9b46
SP
277232012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27724
27725 [BZ #14719]
27726 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27727 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27728 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27729 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27730 (_nss_dns_gethostbyname4_r): Likewise.
27731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27732 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27733
f6da27e5
PH
277342012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27735
27736 [BZ #13763]
27737 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27738
6665d4a2
SM
277392012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27740
1f51ee92
SM
27741 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27742 * elf/cache.c (print_entry): Print ",AArch64" for
27743 FLAG_AARCH64_LIB64
27744
6665d4a2
SM
27745 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27746 * elf/cache.c (print_entry): Print ",hard-float" for
27747 FLAG_ARM_LIBHF.
27748
05b227bd
DM
277492012-11-18 David S. Miller <davem@davemloft.net>
27750
27751 With help from Joseph Myers.
27752 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27753 cutoff to 2**-13.
27754 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27755 cutoff to 2**-25.
27756 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27757 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27758 small.
27759 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27760 * math/libm-test.inc (y0_test): New tests.
27761 (y1_test): New tests.
27762 * sysdeps/i386/fpu/libm-test-ulps: Update.
27763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27765
786b0b67
AS
277662012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27767
27768 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27769 64-bit targets.
27770 * configure: Regenerated.
27771
8e18b86d
DM
277722012-11-17 David S. Miller <davem@davemloft.net>
27773
27774 [BZ #14811]
27775 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27776 nonzero exponents with absolute value below 0x1p-128 to +/-
27777 0x1p-128.
27778
531f1ae0
JM
277792012-11-17 Joseph Myers <joseph@codesourcery.com>
27780
12df29e2
JM
27781 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27782
150dc1a0
JM
27783 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27784
531f1ae0
JM
27785 * posix/getconf-speclist.c: New file.
27786 * posix/posix-envs.def: Likewise.
27787 * posix/confstr.c (START_ENV_GROUP): New macro.
27788 (END_ENV_GROUP): Likewise.
27789 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27790 (KNOWN_PRESENT_ENV_STRING): Likewise.
27791 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27792 (UNKNOWN_ENVIRONMENT): Likewise.
27793 (confstr): Include posix-envs.def instead of handling
27794 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27795 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27796 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27797 (END_ENV_GROUP): Likewise.
27798 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27799 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27800 (UNKNOWN_ENVIRONMENT): Likewise.
27801 (__sysconf): Include posix-envs.def instead of handling associated
27802 cases directly here.
27803 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27804 preprocessing getconf-speclist.c rather than running getconf or
27805 generating empty file.
27806
a93f9cbc
PT
278072012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27808
27809 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27810
d64d9f87
AL
278112012-11-16 Andrej Lajovic <natrij@gmail.com>
27812
27813 [BZ #14672]
27814 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27815
447885eb
DM
278162012-11-16 David S. Miller <davem@davemloft.net>
27817
27818 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27819 smaller than LDBL_EPSILON/2.0L, just return xm1.
27820
bcbf9830
L
278212012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27822
27823 * elf/tst-array1.c (init): Set constructor priority to 1000.
27824 (fini): Set destructor priority to 1000.
27825 * elf/tst-array2dep.c: Likewise.
27826
2b766585
SP
278272012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27828
27829 [BZ #11741]
27830 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27831 (_IO_new_file_xsputn): Also return EOF if none of the input
27832 data was written when overflow failed.
27833 * libio/iopadn.c (_IO_padn): Likewise.
27834 * libio/iowpadn.c (_IO_wpadn): Likewise.
27835 * stdio-common/tst-put-error.c: Add copyright notice.
27836 (do_test): Add case for printing padded string.
27837 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27838 _IO_padn returned error.
27839 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27840 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27841 return EOF.
27842
b1848fde
SP
278432012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27844
27845 * libio/libioP.h: Add comment note that the references to C++
27846 bits are now obsolete.
27847
2fd89785
MS
278482012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27849
27850 * math/libm-test.inc (check_complex): Use asprintf.
27851
e3ea5409
JM
278522012-11-14 Joseph Myers <joseph@codesourcery.com>
27853
27854 * debug/pcprofiledump.c (print_version): Update copyright year.
27855 * malloc/memusagestat.c (print_version): Likewise.
27856
2e64d265
L
278572012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27858
27859 [BZ #14831]
27860 * elf/Makefile (tests): Add tst-audit8.
27861 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27862 ($(objpfx)tst-audit8.out): New target.
27863 (tst-audit8-ENV): New variable.
27864 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27865 audit if l_reloc_result is NULL.
27866 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27867 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27868 * elf/tst-audit8.c: New file.
27869
c485e4d2
MS
278702012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27871
27872 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27873 * misc/Makefile (CFLAGS-select.c): Define.
27874 * posix/Makefile (CFLAGS-pause.c): Define.
27875
3a0d900a
DM
278762012-11-13 David S. Miller <davem@davemloft.net>
27877
27878 * crypt/Makefile: Move test targets after toplevel Rules
27879 inclusion. Grab any necessary sysdep routines when linking.
27880 * crypt/md5.c (md5_process_block): Remove define, we will always
27881 name it __md5_process_block.
27882 (md5_finish_ctx): Update md5_process_block call.
27883 (md5_stream): Likewise.
27884 (md5_process_bytes): Likewise.
27885 (md5_process_block): Rename to __md5_process_block and move to ...
27886 * crypt/md5-block.c: ... here.
27887 * crypt/sha256.c (sha256_process_block): Move to ...
27888 * crypt/sha256-block.c: ... here.
27889 * crypt/sha512.c (sha512_process_block): Move to ...
27890 * crypt/sha512-block.c: ... here.
27891 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27892 path.
27893 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27894 * sysdeps/sparc/sparc64/multiarch/Makefile
27895 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27896 crypt subdir.
27897 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27898 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27899 multiarch changes.
27900 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27901 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27902 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27903 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27904 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27905 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27906 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27907 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27908 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27909 file.
27910 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27911 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27912 file.
27913 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27914
8ca89318
JM
279152012-11-13 Joseph Myers <joseph@codesourcery.com>
27916
e27d476a
JM
27917 * timezone/tzselect.ksh: Update from tzcode git revision
27918 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27919 * timezone/zdump.c: Likewise.
27920 * timezone/zic.c: Likewise.
27921 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27922 in TZVERSION setting, not $(PKGVERSION).
27923 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27924 REPORT_BUGS_TO settings.
27925
8ca89318
JM
27926 [BZ #14838]
27927 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27928 macro.
27929
47594329
MS
279302012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27931
27932 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27933 detection to immediately after _FP_ROUND().
27934 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27935 bits are 0.
27936
640ac3f1
DM
279372012-11-11 David S. Miller <davem@davemloft.net>
27938
27939 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27940 inttypes.h
27941 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27942 __close rather than their public counterparts.
27943
3d2577bb
JM
279442012-11-10 Joseph Myers <joseph@codesourcery.com>
27945
27946 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27947 file.
27948 [UNIX98] (sem_timedwait): Do not expect.
27949 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27950 [XPG4 || UNIX98] (sockatmark): Do not expect.
27951 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27952 (clock_getcpuclockid): Do not expect.
27953 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27954 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27955 Do not expect.
27956 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27957 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27958 [UNIX98] (vwscanf): Likewise.
27959 [UNIX98] (vswscanf): Likewise.
27960
fb1ae1ee
JM
279612012-11-09 Joseph Myers <joseph@codesourcery.com>
27962
9ec6f8bd
JM
27963 * timezone/version.h: Remove file.
27964 * timezone/README: Do not refer to version.h.
27965 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27966 $(objpfx)version.h.
27967 ($(objpfx)zdump.o): Likewise.
c3f81911 27968 ($(objpfx)version.h): New target.
9ec6f8bd 27969
0aa8f8a1
JM
27970 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27971 2012i.
27972 * timezone/README: Don't mention modification to tzselect.ksh.
27973 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27974 work on unmodified tzselect.ksh. Substitute version numbers in
27975 tzselect.ksh.
27976
4e87147f
JM
27977 * Makefile (format-me): Remove.
27978 (INSTALL): Adjust indentation. Use commands directly instead of
27979 using $(format-me).
27980
8b748aed
JM
27981 * aclocal.m4 (ACX_PKGVERSION): New macro.
27982 (ACX_BUGURL): Likewise.
27983 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27984 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27985 (REPORT_BUGS_TO): Likewise.
27986 * configure: Regenerated.
27987 * config.h.in (PKGVERSION): New macro.
27988 (REPORT_BUGS_TO): Likewise.
27989 * config.make.in (PKGVERSION): New variable.
27990 (PKGVERSION_TEXI): Likewise.
27991 (REPORT_BUGS_TO): Likewise.
27992 (REPORT_BUGS_TEXI): Likewise.
27993 * Makefile (format-me): Use -I$(common-objpfx)manual.
27994 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27995 ($(common-objpfx)manual/%): New target.
27996 (manual/%): Remove target.
27997 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27998 (print_version): Use PKGVERSION.
27999 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28000 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28001 and REPORT_BUGS_TO.
28002 ($(objpfx)xtrace): Likewise.
28003 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28004 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28005 (print_version): Use PKGVERSION.
28006 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28007 (do_version): Use PKGVERSION.
28008 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28009 REPORT_BUGS_TO.
28010 (common-ldd-rewrite): Likewise.
28011 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28012 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28013 (print_version): Use PKGVERSION.
28014 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28015 * elf/pldd.c (argp_program_bug_address): Remove variable.
28016 (more_help): New function.
28017 (argp): Use more_help.
28018 (print_version): Use PKGVERSION.
28019 * elf/sln.c (main): Use PKGVERSION.
28020 (usage): Use REPORT_BUGS_TO.
28021 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28022 (top level): Use PKGVERSION.
28023 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28024 (print_version): Use PKGVERSION.
28025 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28026 (print_version): Use PKGVERSION.
28027 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28028 (print_version): Use PKGVERSION.
28029 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28030 (print_version): Use PKGVERSION.
28031 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28032 (print_version): Use PKGVERSION.
28033 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28034 (print_version): Use PKGVERSION.
28035 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28036 and BUGURL.
28037 ($(objpfx)memusage): Likewise.
28038 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28039 (do_version): Use PKGVERSION.
28040 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28041 (print_version): Use PKGVERSION.
28042 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28043 ($PKGVERSION): New variable.
28044 ($REPORT_BUGS_TO): Likewise.
28045 (usage): Use $REPORT_BUGS_TO.
28046 (top level): Use $PKGVERSION.
28047 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28048 ($(objpfx)pkgvers.texi): New rule.
28049 ($(objpfx)stamp-pkgvers): Likewise.
28050 * manual/install.texi: Include pkgvers.texi.
28051 (--with-pkgversion): Document new configure option.
28052 (--with-bugurl): Likewise.
28053 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28054 than necessarily for this particular distribution. Use
28055 REPORT_BUGS_TO for where to report bugs.
28056 * INSTALL: Regenerated.
28057 * manual/libc.texinfo: Include pkgvers.texi.
28058 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28059 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28060 (print_version): Use PKGVERSION.
28061 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28062 (print_version): Use PKGVERSION.
28063 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28064 (print_version): Use PKGVERSION.
28065 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28066 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28067 macro.
28068 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28069 (print_version): Use PKGVERSION.
28070 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28071 (print_version): Use PKGVERSION.
28072 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28073 and PKGVERSION.
28074
92e4b6a9
JM
28075 * timezone/checktab.awk: Update from tzcode 2012i.
28076 * timezone/ialloc.c: Likewise.
28077 * timezone/private.h: Likewise.
28078 * timezone/scheck.c: Likewise.
28079 * timezone/tzfile.h: Likewise.
28080 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28081 (TZVERSION): Hardcode tzcode version number.
28082 * timezone/zdump.c: Update from tzcode 2012i.
28083 * timezone/zic.c: Likewise.
28084 * timezone/version.h: New file.
28085 * timezone/README: Describe version.h. Update upstream location.
28086
9bde902c
JM
28087 [BZ #14824]
28088 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28089 (mktemp): Enable declaration.
28090 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28091 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28092 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28093 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28094 Likewise.
28095 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28096 Likewise.
28097 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28098 Likewise.
28099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28100 Likewise.
28101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28102 Likewise.
28103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28104 Likewise.
28105
fb1ae1ee
JM
28106 [BZ #14821]
28107 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28108 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28109 for copies of such integer values.
28110 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28111 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28112
2c1adbcb
AJ
281132012-11-09 Andreas Jaeger <aj@suse.de>
28114
28115 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28116 definitions and declarations that are provided by
28117 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28118
d0f8457e
AK
281192012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28120
3a235abb 28121 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
28122 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28123 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28124 definition.
28125
57241e26
MS
281262012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28127
28128 * elf/elf.h: Update comment before AArch64 relocations.
28129
60e8270d
DM
281302012-11-07 David S. Miller <davem@davemloft.net>
28131
28132 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28133 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28134 (__start_context): Declare.
28135 (__makecontext_ret): Delete.
28136 (__makecontext): Hook up __start_context instead of
28137 __makecontext_ret.
28138 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28139 (sysdep_routines): Add __start_context when in stdlib.
28140
0fbb0fbc
JM
281412012-11-07 Joseph Myers <joseph@codesourcery.com>
28142
28143 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28144 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28145 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28146 hardcoded "nm".
28147 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28148 (READELF): New variable. Use it instead of hardcoded "readelf".
28149
eb48db7e
L
281502012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28151
28152 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28153 * sysdeps/x86/Makefile: Here.
28154 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28155 * sysdeps/x86/tst-xmmymm.sh: This.
28156
05bcf62a
JM
281572012-11-07 Joseph Myers <joseph@codesourcery.com>
28158
c4b6cf53
JM
28159 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28160 expectations.
28161 [UNIX98] (pthread_barrier_t): Do not expect.
28162 [UNIX98] (pthread_barrierattr_t): Likewise.
28163 [UNIX98] (pthread_spinlock_t): Likewise.
28164 [UNIX98] (pthread_barrier_destroy): Likewise.
28165 [UNIX98] (pthread_barrier_init): Likewise.
28166 [UNIX98] (pthread_barrier_wait): Likewise.
28167 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28168 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28169 [UNIX98] (pthread_barrierattr_init): Likewise.
28170 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28171 [UNIX98] (pthread_getcpuclockid): Likewise.
28172 [UNIX98] (pthread_mutex_timedlock): Likewise.
28173 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28174 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28175 [UNIX98] (pthread_sigmask): Likewise.
28176 [UNIX98] (pthread_spin_destroy): Likewise.
28177 [UNIX98] (pthread_spin_init): Likewise.
28178 [UNIX98] (pthread_spin_lock): Likewise.
28179 [UNIX98] (pthread_spin_trylock): Likewise.
28180 [UNIX98] (pthread_spin_unlock): Likewise.
28181 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28182 Do not expect.
28183 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28184 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28185 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28186 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28187 [XPG3 || XPG4] (pthread_key_t): Likewise.
28188 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28189 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28190 [XPG3 || XPG4] (pthread_once_t): Likewise.
28191 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28192 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28193 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28194 [XPG3 || XPG4] (pthread_t): Likewise.
28195
cbe6e120
JM
28196 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28197 not expect.
28198 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28199
1b126443
JM
28200 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28201 Change function return type to int.
28202
b961a573
JM
28203 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28204 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28205 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28206 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28207 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28208 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28209 [!POSIX] (posix_madvise): Likewise.
28210 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28211 && !UNIX98].
28212 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28213 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28214 (mode_t): Likewise.
28215 (posix_mem_offset): Likewise.
28216 (posix_typed_mem_get_info): Likewise.
28217 (posix_typed_mem_open): Likewise.
28218
9e188909
JM
28219 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28220 Change condition to [XOPEN2K8].
28221
05bcf62a
JM
28222 * conform/conformtest.pl: Preprocess allow-header data with -x c
28223 instead of from stdin.
28224 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28225 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28226 [C99-based standards] (cerfc): Likewise.
28227 [C99-based standards] (cexp2): Likewise.
28228 [C99-based standards] (cexpm1): Likewise.
28229 [C99-based standards] (clog10): Likewise.
28230 [C99-based standards] (clog1p): Likewise.
28231 [C99-based standards] (clog2): Likewise.
28232 [C99-based standards] (clgamma): Likewise.
28233 [C99-based standards] (ctgamma): Likewise.
28234 [C99-based standards] (cerff): Likewise.
28235 [C99-based standards] (cerfcf): Likewise.
28236 [C99-based standards] (cexp2f): Likewise.
28237 [C99-based standards] (cexpm1f): Likewise.
28238 [C99-based standards] (clog10f): Likewise.
28239 [C99-based standards] (clog1pf): Likewise.
28240 [C99-based standards] (clog2f): Likewise.
28241 [C99-based standards] (clgammaf): Likewise.
28242 [C99-based standards] (ctgammaf): Likewise.
28243 [C99-based standards] (cerfl): Likewise.
28244 [C99-based standards] (cerfcl): Likewise.
28245 [C99-based standards] (cexp2l): Likewise.
28246 [C99-based standards] (cexpm1l): Likewise.
28247 [C99-based standards] (clog10l): Likewise.
28248 [C99-based standards] (clog1pl): Likewise.
28249 [C99-based standards] (clog2l): Likewise.
28250 [C99-based standards] (clgammal): Likewise.
28251 [C99-based standards] (ctgammal): Likewise.
28252 * conform/data/inttypes.h-data [C99-based standards]: Include
28253 stdint.h-data. Remove all expectations for stdint.h contents.
28254 [C99-based standards] (PRI*): Do not allow.
28255 [C99-based standards] (SCN*): Likewise.
28256 [C99-based standards] (*_t): Likewise.
28257 [C99-based-standards] (PRId8): Expect macro.
28258 [C99-based-standards] (PRIi8): Likewise.
28259 [C99-based-standards] (PRIo8): Likewise.
28260 [C99-based-standards] (PRIu8): Likewise.
28261 [C99-based-standards] (PRIx8): Likewise.
28262 [C99-based-standards] (PRIX8): Likewise.
28263 [C99-based-standards] (SCNd8): Likewise.
28264 [C99-based-standards] (SCNi8): Likewise.
28265 [C99-based-standards] (SCNo8): Likewise.
28266 [C99-based-standards] (SCNu8): Likewise.
28267 [C99-based-standards] (SCNx8): Likewise.
28268 [C99-based-standards] (PRIdLEAST8): Likewise.
28269 [C99-based-standards] (PRIiLEAST8): Likewise.
28270 [C99-based-standards] (PRIoLEAST8): Likewise.
28271 [C99-based-standards] (PRIuLEAST8): Likewise.
28272 [C99-based-standards] (PRIxLEAST8): Likewise.
28273 [C99-based-standards] (PRIXLEAST8): Likewise.
28274 [C99-based-standards] (SCNdLEAST8): Likewise.
28275 [C99-based-standards] (SCNiLEAST8): Likewise.
28276 [C99-based-standards] (SCNoLEAST8): Likewise.
28277 [C99-based-standards] (SCNuLEAST8): Likewise.
28278 [C99-based-standards] (SCNxLEAST8): Likewise.
28279 [C99-based-standards] (PRIdFAST8): Likewise.
28280 [C99-based-standards] (PRIiFAST8): Likewise.
28281 [C99-based-standards] (PRIoFAST8): Likewise.
28282 [C99-based-standards] (PRIuFAST8): Likewise.
28283 [C99-based-standards] (PRIxFAST8): Likewise.
28284 [C99-based-standards] (PRIXFAST8): Likewise.
28285 [C99-based-standards] (SCNdFAST8): Likewise.
28286 [C99-based-standards] (SCNiFAST8): Likewise.
28287 [C99-based-standards] (SCNoFAST8): Likewise.
28288 [C99-based-standards] (SCNuFAST8): Likewise.
28289 [C99-based-standards] (SCNxFAST8): Likewise.
28290 [C99-based-standards] (PRId16): Likewise.
28291 [C99-based-standards] (PRIi16): Likewise.
28292 [C99-based-standards] (PRIo16): Likewise.
28293 [C99-based-standards] (PRIu16): Likewise.
28294 [C99-based-standards] (PRIx16): Likewise.
28295 [C99-based-standards] (PRIX16): Likewise.
28296 [C99-based-standards] (SCNd16): Likewise.
28297 [C99-based-standards] (SCNi16): Likewise.
28298 [C99-based-standards] (SCNo16): Likewise.
28299 [C99-based-standards] (SCNu16): Likewise.
28300 [C99-based-standards] (SCNx16): Likewise.
28301 [C99-based-standards] (PRIdLEAST16): Likewise.
28302 [C99-based-standards] (PRIiLEAST16): Likewise.
28303 [C99-based-standards] (PRIoLEAST16): Likewise.
28304 [C99-based-standards] (PRIuLEAST16): Likewise.
28305 [C99-based-standards] (PRIxLEAST16): Likewise.
28306 [C99-based-standards] (PRIXLEAST16): Likewise.
28307 [C99-based-standards] (SCNdLEAST16): Likewise.
28308 [C99-based-standards] (SCNiLEAST16): Likewise.
28309 [C99-based-standards] (SCNoLEAST16): Likewise.
28310 [C99-based-standards] (SCNuLEAST16): Likewise.
28311 [C99-based-standards] (SCNxLEAST16): Likewise.
28312 [C99-based-standards] (PRIdFAST16): Likewise.
28313 [C99-based-standards] (PRIiFAST16): Likewise.
28314 [C99-based-standards] (PRIoFAST16): Likewise.
28315 [C99-based-standards] (PRIuFAST16): Likewise.
28316 [C99-based-standards] (PRIxFAST16): Likewise.
28317 [C99-based-standards] (PRIXFAST16): Likewise.
28318 [C99-based-standards] (SCNdFAST16): Likewise.
28319 [C99-based-standards] (SCNiFAST16): Likewise.
28320 [C99-based-standards] (SCNoFAST16): Likewise.
28321 [C99-based-standards] (SCNuFAST16): Likewise.
28322 [C99-based-standards] (SCNxFAST16): Likewise.
28323 [C99-based-standards] (PRId32): Likewise.
28324 [C99-based-standards] (PRIi32): Likewise.
28325 [C99-based-standards] (PRIo32): Likewise.
28326 [C99-based-standards] (PRIu32): Likewise.
28327 [C99-based-standards] (PRIx32): Likewise.
28328 [C99-based-standards] (PRIX32): Likewise.
28329 [C99-based-standards] (SCNd32): Likewise.
28330 [C99-based-standards] (SCNi32): Likewise.
28331 [C99-based-standards] (SCNo32): Likewise.
28332 [C99-based-standards] (SCNu32): Likewise.
28333 [C99-based-standards] (SCNx32): Likewise.
28334 [C99-based-standards] (PRIdLEAST32): Likewise.
28335 [C99-based-standards] (PRIiLEAST32): Likewise.
28336 [C99-based-standards] (PRIoLEAST32): Likewise.
28337 [C99-based-standards] (PRIuLEAST32): Likewise.
28338 [C99-based-standards] (PRIxLEAST32): Likewise.
28339 [C99-based-standards] (PRIXLEAST32): Likewise.
28340 [C99-based-standards] (SCNdLEAST32): Likewise.
28341 [C99-based-standards] (SCNiLEAST32): Likewise.
28342 [C99-based-standards] (SCNoLEAST32): Likewise.
28343 [C99-based-standards] (SCNuLEAST32): Likewise.
28344 [C99-based-standards] (SCNxLEAST32): Likewise.
28345 [C99-based-standards] (PRIdFAST32): Likewise.
28346 [C99-based-standards] (PRIiFAST32): Likewise.
28347 [C99-based-standards] (PRIoFAST32): Likewise.
28348 [C99-based-standards] (PRIuFAST32): Likewise.
28349 [C99-based-standards] (PRIxFAST32): Likewise.
28350 [C99-based-standards] (PRIXFAST32): Likewise.
28351 [C99-based-standards] (SCNdFAST32): Likewise.
28352 [C99-based-standards] (SCNiFAST32): Likewise.
28353 [C99-based-standards] (SCNoFAST32): Likewise.
28354 [C99-based-standards] (SCNuFAST32): Likewise.
28355 [C99-based-standards] (SCNxFAST32): Likewise.
28356 [C99-based-standards] (PRId64): Likewise.
28357 [C99-based-standards] (PRIi64): Likewise.
28358 [C99-based-standards] (PRIo64): Likewise.
28359 [C99-based-standards] (PRIu64): Likewise.
28360 [C99-based-standards] (PRIx64): Likewise.
28361 [C99-based-standards] (PRIX64): Likewise.
28362 [C99-based-standards] (SCNd64): Likewise.
28363 [C99-based-standards] (SCNi64): Likewise.
28364 [C99-based-standards] (SCNo64): Likewise.
28365 [C99-based-standards] (SCNu64): Likewise.
28366 [C99-based-standards] (SCNx64): Likewise.
28367 [C99-based-standards] (PRIdLEAST64): Likewise.
28368 [C99-based-standards] (PRIiLEAST64): Likewise.
28369 [C99-based-standards] (PRIoLEAST64): Likewise.
28370 [C99-based-standards] (PRIuLEAST64): Likewise.
28371 [C99-based-standards] (PRIxLEAST64): Likewise.
28372 [C99-based-standards] (PRIXLEAST64): Likewise.
28373 [C99-based-standards] (SCNdLEAST64): Likewise.
28374 [C99-based-standards] (SCNiLEAST64): Likewise.
28375 [C99-based-standards] (SCNoLEAST64): Likewise.
28376 [C99-based-standards] (SCNuLEAST64): Likewise.
28377 [C99-based-standards] (SCNxLEAST64): Likewise.
28378 [C99-based-standards] (PRIdFAST64): Likewise.
28379 [C99-based-standards] (PRIiFAST64): Likewise.
28380 [C99-based-standards] (PRIoFAST64): Likewise.
28381 [C99-based-standards] (PRIuFAST64): Likewise.
28382 [C99-based-standards] (PRIxFAST64): Likewise.
28383 [C99-based-standards] (PRIXFAST64): Likewise.
28384 [C99-based-standards] (SCNdFAST64): Likewise.
28385 [C99-based-standards] (SCNiFAST64): Likewise.
28386 [C99-based-standards] (SCNoFAST64): Likewise.
28387 [C99-based-standards] (SCNuFAST64): Likewise.
28388 [C99-based-standards] (SCNxFAST64): Likewise.
28389 [C99-based-standards] (PRIdMAX): Likewise.
28390 [C99-based-standards] (PRIiMAX): Likewise.
28391 [C99-based-standards] (PRIoMAX): Likewise.
28392 [C99-based-standards] (PRIuMAX): Likewise.
28393 [C99-based-standards] (PRIxMAX): Likewise.
28394 [C99-based-standards] (PRIXMAX): Likewise.
28395 [C99-based-standards] (SCNdMAX): Likewise.
28396 [C99-based-standards] (SCNiMAX): Likewise.
28397 [C99-based-standards] (SCNoMAX): Likewise.
28398 [C99-based-standards] (SCNuMAX): Likewise.
28399 [C99-based-standards] (SCNxMAX): Likewise.
28400 [C99-based-standards] (PRIdPTR): Likewise.
28401 [C99-based-standards] (PRIiPTR): Likewise.
28402 [C99-based-standards] (PRIoPTR): Likewise.
28403 [C99-based-standards] (PRIuPTR): Likewise.
28404 [C99-based-standards] (PRIxPTR): Likewise.
28405 [C99-based-standards] (PRIXPTR): Likewise.
28406 [C99-based-standards] (SCNdPTR): Likewise.
28407 [C99-based-standards] (SCNiPTR): Likewise.
28408 [C99-based-standards] (SCNoPTR): Likewise.
28409 [C99-based-standards] (SCNuPTR): Likewise.
28410 [C99-based-standards] (SCNxPTR): Likewise.
28411 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28412 allow.
28413 * conform/data/stdint.h-data: Update comments to clarify
28414 requirements.
28415 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28416 type.
28417 [C99-based standards] (INT8_MAX): Likewise.
28418 [C99-based standards] (INT16_MIN): Likewise.
28419 [C99-based standards] (INT16_MAX): Likewise.
28420 [C99-based standards] (INT32_MIN): Likewise.
28421 [C99-based standards] (INT32_MAX): Likewise.
28422 [C99-based standards] (INT64_MIN): Likewise.
28423 [C99-based standards] (INT64_MAX): Likewise.
28424 [C99-based standards] (UINT8_MAX): Likewise.
28425 [C99-based standards] (UINT16_MAX): Likewise.
28426 [C99-based standards] (UINT32_MAX): Likewise.
28427 [C99-based standards] (UINT64_MAX): Likewise.
28428 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28429 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28430 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28431 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28432 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28433 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28434 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28435 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28436 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28437 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28438 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28439 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28440 [C99-based standards] (INT_FAST8_MIN): Likewise.
28441 [C99-based standards] (INT_FAST8_MAX): Likewise.
28442 [C99-based standards] (INT_FAST16_MIN): Likewise.
28443 [C99-based standards] (INT_FAST16_MAX): Likewise.
28444 [C99-based standards] (INT_FAST32_MIN): Likewise.
28445 [C99-based standards] (INT_FAST32_MAX): Likewise.
28446 [C99-based standards] (INT_FAST64_MIN): Likewise.
28447 [C99-based standards] (INT_FAST64_MAX): Likewise.
28448 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28449 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28450 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28451 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28452 [C99-based standards] (INTPTR_MIN): Likewise.
28453 [C99-based standards] (INTPTR_MAX): Likewise.
28454 [C99-based standards] (UINTPTR_MAX): Likewise.
28455 [C99-based standards] (INTMAX_MIN): Likewise.
28456 [C99-based standards] (INTMAX_MAX): Likewise.
28457 [C99-based standards] (UINTMAX_MAX): Likewise.
28458 [C99-based standards] (PTRDIFF_MIN): Likewise.
28459 [C99-based standards] (PTRDIFF_MAX): Likewise.
28460 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28461 [C99-based standards] (SIZE_MAX): Likewise.
28462 [C99-based standards] (WCHAR_MAX): Likewise.
28463 [C99-based standards] (WINT_MAX): Likewise.
28464 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28465 constraint on value.
28466 [C99-based standards] (WCHAR_MIN): Likewise.
28467 [C99-based standards] (WINT_MIN): Likewise.
28468 [C99-based standards] (*_t): Allow.
28469 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28470 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28471 Include math.h-data and complex.h-data. Remove all expectations
28472 of math.h and complex.h contents.
28473 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28474 at end of line.
28475 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28476 (struct tm): Expect tag.
28477 [C99-based-standards] (wcstof): Expect function.
28478 [C99-based-standards] (wcstold): Likewise.
28479 [C99-based-standards] (wcstoll): Likewise.
28480 [C99-based-standards] (wcstoull): Likewise.
28481 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28482 macro-int-constant. Specify type.
28483 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28484 constraint on value.
28485 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28486 Specify type.
28487 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28488 Specify value.
28489 [ISO C standards]: Do not allow headers.
28490 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28491 wcs[abcdefghijklmnopqrstuvwxyz]*.
28492 [ISO C standards] (*_t): Do not allow.
28493 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28494 Expect function.
28495 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28496 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28497 Specify type.
28498 [ISO C standards]: Do not allow headers.
28499 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28500 is[abcdefghijklmnopqrstuvwxyz]*.
28501 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28502 to[abcdefghijklmnopqrstuvwxyz]*.
28503 [ISO C standards] (*_t): Do not allow.
28504 * conform/data/stdalign.h-data: New file.
28505 * conform/data/stdbool.h-data: Likewise.
28506 * conform/data/stdnoreturn.h-data: Likewise.
28507
7514feb8
RM
285082012-11-07 Roland McGrath <roland@hack.frob.com>
28509
28510 [BZ #14815]
28511 * manual/filesys.texi (Directory Entries): Typo fix.
28512 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28513
19b2ecfc
MS
285142012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28515
28516 * elf/elf.h (EM_AARCH64): New macro.
28517 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28518 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28519 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28520 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28521 (R_AARCH64_TLSDESC): Likewise.
28522 (NT_ARM_TLS): Likewise.
28523 (NT_ARM_HW_BREAK): Likewise.
28524 (NT_ARM_HW_WATCH): Likewise.
28525
60e235ee
JM
285262012-11-07 Joseph Myers <joseph@codesourcery.com>
28527
28528 [BZ #14811]
28529 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28530 (__ieee754_powl): Saturate nonzero exponents with absolute value
28531 below 0x1p-79 to +/- 0x1p-79.
28532 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28533 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28534 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28535 nonzero exponents with absolute value below 0x1p-32 to +/-
28536 0x1p-32.
28537 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28538 (__ieee754_powl): Saturate nonzero exponents with absolute value
28539 below 0x1p-79 to +/- 0x1p-79.
28540 * math/libm-test.inc (pow_test): Add more tests.
28541
0ab234b7
AK
285422012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28543
28544 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28545 _dl_s390_cap_flags with kernel. Increase string length.
28546 (_dl_s390_platforms): Add z196 and zEC12.
28547
45832f74
JM
285482012-11-07 Joseph Myers <joseph@codesourcery.com>
28549
28550 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28551 Change XOPEN21K to XOPEN2K.
28552
19218757
MK
285532012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28554
28555 * string/memmove.c: Use memcpy when possible.
28556
c5f45721
AJ
285572012-11-06 Andreas Jaeger <aj@suse.de>
28558
28559 * po/eo.po: Update from translation team.
28560
82477c28
JM
285612012-11-06 Joseph Myers <joseph@codesourcery.com>
28562
28563 [BZ #14793]
28564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28565 exponent and small x and y exponents, scale x or y up. Increase
28566 by 2 the exponent used in scaling up.
28567 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28568 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28569 * math/libm-test.inc (fma_test): Add more tests.
28570 (fma_test_towardzero): Likewise.
28571 (fma_test_downward): Likewise.
28572 (fma_test_upward): Likewise.
28573
99252c8c
JM
285742012-11-05 Joseph Myers <joseph@codesourcery.com>
28575
acfa885f
JM
28576 [BZ #14805]
28577 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28578 fenv_t *.
28579
99252c8c
JM
28580 [BZ #14801]
28581 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28582 namespace for names of struct fields.
28583 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28584 fenv_t fields.
28585 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28586 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28587
d6d98dea
ST
285882012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28589
28590 [BZ #3665]
28591 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28592
e10bb107
TS
285932012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28594
28595 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28596 PTR_DEMANGLE.
28597
28598 [BZ #5246]
28599 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28600 PTR_DEMANGLE.
28601
a0c2940d
JM
286022012-11-04 Joseph Myers <joseph@codesourcery.com>
28603
28604 [BZ #14797]
28605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28606 definitely overflow as x * y not x * y + z.
28607 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28608 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28609 * math/libm-test.inc (fma_test): Add more tests.
28610 (fma_test_towardzero): Likewise.
28611 (fma_test_downward): Likewise.
28612 (fma_test_upward): Likewise.
28613
b830319d
TS
286142012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28615
28616 [BZ #157]
28617
28618 * include/stub-tag.h: Remove file.
28619 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28620 '#include' of it.
28621 * manual/maint.texi (Porting): Don't reference it.
28622 * Makerules ($(objpfx)stubs): Likewise.
28623 * dirent/closedir.c: Don't include <stub-tag.h>.
28624 * dirent/dirfd.c: Likewise.
28625 * dirent/fdopendir.c: Likewise.
28626 * dirent/getdents.c: Likewise.
28627 * dirent/getdents64.c: Likewise.
28628 * dirent/opendir.c: Likewise.
28629 * dirent/readdir.c: Likewise.
28630 * dirent/readdir64.c: Likewise.
28631 * dirent/readdir64_r.c: Likewise.
28632 * dirent/readdir_r.c: Likewise.
28633 * dirent/rewinddir.c: Likewise.
28634 * dirent/seekdir.c: Likewise.
28635 * dirent/telldir.c: Likewise.
28636 * gmon/profil.c: Likewise.
28637 * grp/setgroups.c: Likewise.
28638 * inet/if_index.c: Likewise.
28639 * io/access.c: Likewise.
28640 * io/chdir.c: Likewise.
28641 * io/chmod.c: Likewise.
28642 * io/chown.c: Likewise.
28643 * io/close.c: Likewise.
28644 * io/dup.c: Likewise.
28645 * io/dup2.c: Likewise.
28646 * io/dup3.c: Likewise.
28647 * io/euidaccess.c: Likewise.
28648 * io/faccessat.c: Likewise.
28649 * io/fchdir.c: Likewise.
28650 * io/fchmod.c: Likewise.
28651 * io/fchmodat.c: Likewise.
28652 * io/fchown.c: Likewise.
28653 * io/fchownat.c: Likewise.
28654 * io/fcntl.c: Likewise.
28655 * io/flock.c: Likewise.
28656 * io/fstatfs.c: Likewise.
28657 * io/fstatfs64.c: Likewise.
28658 * io/fstatvfs.c: Likewise.
28659 * io/fstatvfs64.c: Likewise.
28660 * io/futimens.c: Likewise.
28661 * io/fxstat.c: Likewise.
28662 * io/fxstat64.c: Likewise.
28663 * io/fxstatat.c: Likewise.
28664 * io/fxstatat64.c: Likewise.
28665 * io/getcwd.c: Likewise.
28666 * io/isatty.c: Likewise.
28667 * io/lchmod.c: Likewise.
28668 * io/lchown.c: Likewise.
28669 * io/link.c: Likewise.
28670 * io/linkat.c: Likewise.
28671 * io/lseek.c: Likewise.
28672 * io/lseek64.c: Likewise.
28673 * io/lxstat64.c: Likewise.
28674 * io/mkdir.c: Likewise.
28675 * io/mkdirat.c: Likewise.
28676 * io/mkfifo.c: Likewise.
28677 * io/mkfifoat.c: Likewise.
28678 * io/open.c: Likewise.
28679 * io/open64.c: Likewise.
28680 * io/openat.c: Likewise.
28681 * io/openat64.c: Likewise.
28682 * io/pipe.c: Likewise.
28683 * io/pipe2.c: Likewise.
28684 * io/poll.c: Likewise.
28685 * io/posix_fadvise.c: Likewise.
28686 * io/posix_fadvise64.c: Likewise.
28687 * io/posix_fallocate.c: Likewise.
28688 * io/posix_fallocate64.c: Likewise.
28689 * io/read.c: Likewise.
28690 * io/readlink.c: Likewise.
28691 * io/readlinkat.c: Likewise.
28692 * io/rmdir.c: Likewise.
28693 * io/sendfile.c: Likewise.
28694 * io/sendfile64.c: Likewise.
28695 * io/statfs.c: Likewise.
28696 * io/statfs64.c: Likewise.
28697 * io/statvfs.c: Likewise.
28698 * io/statvfs64.c: Likewise.
28699 * io/symlink.c: Likewise.
28700 * io/symlinkat.c: Likewise.
28701 * io/ttyname.c: Likewise.
28702 * io/ttyname_r.c: Likewise.
28703 * io/umask.c: Likewise.
28704 * io/unlink.c: Likewise.
28705 * io/unlinkat.c: Likewise.
28706 * io/utime.c: Likewise.
28707 * io/utimensat.c: Likewise.
28708 * io/write.c: Likewise.
28709 * io/xmknod.c: Likewise.
28710 * io/xmknodat.c: Likewise.
28711 * io/xstat.c: Likewise.
28712 * io/xstat64.c: Likewise.
28713 * login/getpt.c: Likewise.
28714 * login/grantpt.c: Likewise.
28715 * login/unlockpt.c: Likewise.
28716 * math/e_acoshl.c: Likewise.
28717 * math/e_acosl.c: Likewise.
28718 * math/e_asinl.c: Likewise.
28719 * math/e_atan2l.c: Likewise.
28720 * math/e_atanhl.c: Likewise.
28721 * math/e_coshl.c: Likewise.
28722 * math/e_expl.c: Likewise.
28723 * math/e_fmodl.c: Likewise.
28724 * math/e_gammal_r.c: Likewise.
28725 * math/e_hypotl.c: Likewise.
28726 * math/e_j0l.c: Likewise.
28727 * math/e_j1l.c: Likewise.
28728 * math/e_jnl.c: Likewise.
28729 * math/e_lgammal_r.c: Likewise.
28730 * math/e_log10l.c: Likewise.
28731 * math/e_log2l.c: Likewise.
28732 * math/e_logl.c: Likewise.
28733 * math/e_powl.c: Likewise.
28734 * math/e_rem_pio2l.c: Likewise.
28735 * math/e_sinhl.c: Likewise.
28736 * math/e_sqrtl.c: Likewise.
28737 * math/fclrexcpt.c: Likewise.
28738 * math/fedisblxcpt.c: Likewise.
28739 * math/feenablxcpt.c: Likewise.
28740 * math/fegetenv.c: Likewise.
28741 * math/fegetexcept.c: Likewise.
28742 * math/fegetround.c: Likewise.
28743 * math/feholdexcpt.c: Likewise.
28744 * math/fesetenv.c: Likewise.
28745 * math/fesetround.c: Likewise.
28746 * math/feupdateenv.c: Likewise.
28747 * math/fgetexcptflg.c: Likewise.
28748 * math/fraiseexcpt.c: Likewise.
28749 * math/fsetexcptflg.c: Likewise.
28750 * math/ftestexcept.c: Likewise.
28751 * math/k_cosl.c: Likewise.
28752 * math/k_rem_pio2l.c: Likewise.
28753 * math/k_sinl.c: Likewise.
28754 * math/k_tanl.c: Likewise.
28755 * math/s_asinhl.c: Likewise.
28756 * math/s_atanl.c: Likewise.
28757 * math/s_cbrtl.c: Likewise.
28758 * math/s_erfl.c: Likewise.
28759 * math/s_expm1l.c: Likewise.
28760 * math/s_log1pl.c: Likewise.
28761 * math/s_tanhl.c: Likewise.
28762 * misc/acct.c: Likewise.
28763 * misc/brk.c: Likewise.
28764 * misc/chflags.c: Likewise.
28765 * misc/chroot.c: Likewise.
28766 * misc/fchflags.c: Likewise.
28767 * misc/fgetxattr.c: Likewise.
28768 * misc/flistxattr.c: Likewise.
28769 * misc/fremovexattr.c: Likewise.
28770 * misc/fsetxattr.c: Likewise.
28771 * misc/fsync.c: Likewise.
28772 * misc/ftruncate.c: Likewise.
28773 * misc/futimes.c: Likewise.
28774 * misc/futimesat.c: Likewise.
28775 * misc/getdomain.c: Likewise.
28776 * misc/getdtsz.c: Likewise.
28777 * misc/gethostid.c: Likewise.
28778 * misc/gethostname.c: Likewise.
28779 * misc/getloadavg.c: Likewise.
28780 * misc/getpagesize.c: Likewise.
28781 * misc/getsysstats.c: Likewise.
28782 * misc/getxattr.c: Likewise.
28783 * misc/gtty.c: Likewise.
28784 * misc/ioctl.c: Likewise.
28785 * misc/lgetxattr.c: Likewise.
28786 * misc/listxattr.c: Likewise.
28787 * misc/llistxattr.c: Likewise.
28788 * misc/lremovexattr.c: Likewise.
28789 * misc/lsetxattr.c: Likewise.
28790 * misc/lutimes.c: Likewise.
28791 * misc/madvise.c: Likewise.
28792 * misc/mincore.c: Likewise.
28793 * misc/mlock.c: Likewise.
28794 * misc/mlockall.c: Likewise.
28795 * misc/mmap.c: Likewise.
28796 * misc/mprotect.c: Likewise.
28797 * misc/msync.c: Likewise.
28798 * misc/munlock.c: Likewise.
28799 * misc/munlockall.c: Likewise.
28800 * misc/munmap.c: Likewise.
28801 * misc/preadv.c: Likewise.
28802 * misc/preadv64.c: Likewise.
28803 * misc/ptrace.c: Likewise.
28804 * misc/pwritev.c: Likewise.
28805 * misc/pwritev64.c: Likewise.
28806 * misc/readv.c: Likewise.
28807 * misc/reboot.c: Likewise.
28808 * misc/remap_file_pages.c: Likewise.
28809 * misc/removexattr.c: Likewise.
28810 * misc/revoke.c: Likewise.
28811 * misc/select.c: Likewise.
28812 * misc/setdomain.c: Likewise.
28813 * misc/setegid.c: Likewise.
28814 * misc/seteuid.c: Likewise.
28815 * misc/sethostid.c: Likewise.
28816 * misc/sethostname.c: Likewise.
28817 * misc/setregid.c: Likewise.
28818 * misc/setreuid.c: Likewise.
28819 * misc/setxattr.c: Likewise.
28820 * misc/sstk.c: Likewise.
28821 * misc/stty.c: Likewise.
28822 * misc/swapoff.c: Likewise.
28823 * misc/swapon.c: Likewise.
28824 * misc/sync.c: Likewise.
28825 * misc/syncfs.c: Likewise.
28826 * misc/syscall.c: Likewise.
28827 * misc/truncate.c: Likewise.
28828 * misc/ualarm.c: Likewise.
28829 * misc/usleep.c: Likewise.
28830 * misc/ustat.c: Likewise.
28831 * misc/utimes.c: Likewise.
28832 * misc/vhangup.c: Likewise.
28833 * misc/writev.c: Likewise.
28834 * posix/_exit.c: Likewise.
28835 * posix/alarm.c: Likewise.
28836 * posix/execve.c: Likewise.
28837 * posix/fexecve.c: Likewise.
28838 * posix/fork.c: Likewise.
28839 * posix/fpathconf.c: Likewise.
28840 * posix/getaddrinfo.c: Likewise.
28841 * posix/getegid.c: Likewise.
28842 * posix/geteuid.c: Likewise.
28843 * posix/getgid.c: Likewise.
28844 * posix/getgroups.c: Likewise.
28845 * posix/getlogin.c: Likewise.
28846 * posix/getlogin_r.c: Likewise.
28847 * posix/getpgid.c: Likewise.
28848 * posix/getpid.c: Likewise.
28849 * posix/getppid.c: Likewise.
28850 * posix/getresgid.c: Likewise.
28851 * posix/getresuid.c: Likewise.
28852 * posix/getsid.c: Likewise.
28853 * posix/getuid.c: Likewise.
28854 * posix/glob64.c: Likewise.
28855 * posix/nanosleep.c: Likewise.
28856 * posix/pathconf.c: Likewise.
28857 * posix/pause.c: Likewise.
28858 * posix/posix_madvise.c: Likewise.
28859 * posix/pread.c: Likewise.
28860 * posix/pread64.c: Likewise.
28861 * posix/pwrite.c: Likewise.
28862 * posix/pwrite64.c: Likewise.
28863 * posix/sched_getaffinity.c: Likewise.
28864 * posix/sched_getp.c: Likewise.
28865 * posix/sched_gets.c: Likewise.
28866 * posix/sched_primax.c: Likewise.
28867 * posix/sched_primin.c: Likewise.
28868 * posix/sched_rr_gi.c: Likewise.
28869 * posix/sched_setaffinity.c: Likewise.
28870 * posix/sched_setp.c: Likewise.
28871 * posix/sched_sets.c: Likewise.
28872 * posix/sched_yield.c: Likewise.
28873 * posix/setgid.c: Likewise.
28874 * posix/setlogin.c: Likewise.
28875 * posix/setpgid.c: Likewise.
28876 * posix/setresgid.c: Likewise.
28877 * posix/setresuid.c: Likewise.
28878 * posix/setsid.c: Likewise.
28879 * posix/setuid.c: Likewise.
28880 * posix/sleep.c: Likewise.
28881 * posix/spawni.c: Likewise.
28882 * posix/sysconf.c: Likewise.
28883 * posix/times.c: Likewise.
28884 * posix/wait.c: Likewise.
28885 * posix/wait3.c: Likewise.
28886 * posix/wait4.c: Likewise.
28887 * posix/waitpid.c: Likewise.
28888 * resolv/gai_sigqueue.c: Likewise.
28889 * resource/getpriority.c: Likewise.
28890 * resource/getrlimit.c: Likewise.
28891 * resource/getrusage.c: Likewise.
28892 * resource/nice.c: Likewise.
28893 * resource/setpriority.c: Likewise.
28894 * resource/setrlimit.c: Likewise.
28895 * resource/ulimit.c: Likewise.
28896 * rt/aio_cancel.c: Likewise.
28897 * rt/aio_fsync.c: Likewise.
28898 * rt/aio_read.c: Likewise.
28899 * rt/aio_sigqueue.c: Likewise.
28900 * rt/aio_suspend.c: Likewise.
28901 * rt/aio_write.c: Likewise.
28902 * rt/clock_getres.c: Likewise.
28903 * rt/clock_gettime.c: Likewise.
28904 * rt/clock_nanosleep.c: Likewise.
28905 * rt/clock_settime.c: Likewise.
28906 * rt/lio_listio.c: Likewise.
28907 * rt/mq_close.c: Likewise.
28908 * rt/mq_getattr.c: Likewise.
28909 * rt/mq_notify.c: Likewise.
28910 * rt/mq_open.c: Likewise.
28911 * rt/mq_receive.c: Likewise.
28912 * rt/mq_send.c: Likewise.
28913 * rt/mq_setattr.c: Likewise.
28914 * rt/mq_timedreceive.c: Likewise.
28915 * rt/mq_timedsend.c: Likewise.
28916 * rt/mq_unlink.c: Likewise.
28917 * rt/shm_open.c: Likewise.
28918 * rt/shm_unlink.c: Likewise.
28919 * rt/timer_create.c: Likewise.
28920 * rt/timer_delete.c: Likewise.
28921 * rt/timer_getoverr.c: Likewise.
28922 * rt/timer_gettime.c: Likewise.
28923 * rt/timer_settime.c: Likewise.
28924 * setjmp/__longjmp.c: Likewise.
28925 * setjmp/setjmp.c: Likewise.
28926 * signal/kill.c: Likewise.
28927 * signal/killpg.c: Likewise.
28928 * signal/raise.c: Likewise.
28929 * signal/sigaction.c: Likewise.
28930 * signal/sigaltstack.c: Likewise.
28931 * signal/sigblock.c: Likewise.
28932 * signal/sigignore.c: Likewise.
28933 * signal/sigintr.c: Likewise.
28934 * signal/signal.c: Likewise.
28935 * signal/sigpause.c: Likewise.
28936 * signal/sigpending.c: Likewise.
28937 * signal/sigqueue.c: Likewise.
28938 * signal/sigreturn.c: Likewise.
28939 * signal/sigset.c: Likewise.
28940 * signal/sigsetmask.c: Likewise.
28941 * signal/sigstack.c: Likewise.
28942 * signal/sigsuspend.c: Likewise.
28943 * signal/sigtimedwait.c: Likewise.
28944 * signal/sigvec.c: Likewise.
28945 * signal/sigwait.c: Likewise.
28946 * signal/sigwaitinfo.c: Likewise.
28947 * signal/sysv_signal.c: Likewise.
28948 * socket/accept.c: Likewise.
28949 * socket/accept4.c: Likewise.
28950 * socket/bind.c: Likewise.
28951 * socket/connect.c: Likewise.
28952 * socket/getpeername.c: Likewise.
28953 * socket/getsockname.c: Likewise.
28954 * socket/getsockopt.c: Likewise.
28955 * socket/isfdtype.c: Likewise.
28956 * socket/listen.c: Likewise.
28957 * socket/recv.c: Likewise.
28958 * socket/recvfrom.c: Likewise.
28959 * socket/recvmsg.c: Likewise.
28960 * socket/send.c: Likewise.
28961 * socket/sendmsg.c: Likewise.
28962 * socket/sendto.c: Likewise.
28963 * socket/setsockopt.c: Likewise.
28964 * socket/shutdown.c: Likewise.
28965 * socket/sockatmark.c: Likewise.
28966 * socket/socket.c: Likewise.
28967 * socket/socketpair.c: Likewise.
28968 * stdio-common/ctermid.c: Likewise.
28969 * stdio-common/cuserid.c: Likewise.
28970 * stdio-common/remove.c: Likewise.
28971 * stdio-common/rename.c: Likewise.
28972 * stdio-common/renameat.c: Likewise.
28973 * stdio-common/tempname.c: Likewise.
28974 * stdlib/getcontext.c: Likewise.
28975 * stdlib/makecontext.c: Likewise.
28976 * stdlib/setcontext.c: Likewise.
28977 * stdlib/swapcontext.c: Likewise.
28978 * stdlib/system.c: Likewise.
28979 * streams/fattach.c: Likewise.
28980 * streams/fdetach.c: Likewise.
28981 * streams/getmsg.c: Likewise.
28982 * streams/getpmsg.c: Likewise.
28983 * streams/putmsg.c: Likewise.
28984 * streams/putpmsg.c: Likewise.
28985 * sysdeps/unix/bsd/getpt.c: Likewise.
28986 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28987 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28988 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28990 Likewise.
28991 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28992 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28993 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28994 * sysvipc/msgctl.c: Likewise.
28995 * sysvipc/msgget.c: Likewise.
28996 * sysvipc/msgrcv.c: Likewise.
28997 * sysvipc/msgsnd.c: Likewise.
28998 * sysvipc/semctl.c: Likewise.
28999 * sysvipc/semget.c: Likewise.
29000 * sysvipc/semop.c: Likewise.
29001 * sysvipc/semtimedop.c: Likewise.
29002 * sysvipc/shmat.c: Likewise.
29003 * sysvipc/shmctl.c: Likewise.
29004 * sysvipc/shmdt.c: Likewise.
29005 * sysvipc/shmget.c: Likewise.
29006 * termios/tcdrain.c: Likewise.
29007 * termios/tcflow.c: Likewise.
29008 * termios/tcflush.c: Likewise.
29009 * termios/tcgetattr.c: Likewise.
29010 * termios/tcgetpgrp.c: Likewise.
29011 * termios/tcsendbrk.c: Likewise.
29012 * termios/tcsetattr.c: Likewise.
29013 * termios/tcsetpgrp.c: Likewise.
29014 * time/adjtime.c: Likewise.
29015 * time/clock.c: Likewise.
29016 * time/getitimer.c: Likewise.
29017 * time/gettimeofday.c: Likewise.
29018 * time/setitimer.c: Likewise.
29019 * time/settimeofday.c: Likewise.
29020 * time/stime.c: Likewise.
29021 * time/time.c: Likewise.
29022
290232012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 29024
a20492cf
PT
29025 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29026 /usr/old/bin.
29027
72e182e3
PT
29028 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29029 instead of spaces.
29030 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29031
fbeafede
JM
290322012-11-03 Joseph Myers <joseph@codesourcery.com>
29033
5b5b04d6
JM
29034 [BZ #14796]
29035 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29036 FE_TONEAREST before applying Dekker multiplication and Knuth
29037 addition. Clear inexact exceptions and check for exact zero
29038 results afterwards.
29039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29040 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29041 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29042 * math/libm-test.inc (fma_test): Add more tests.
29043 (fma_test_towardzero): Likewise.
29044 (fma_test_downward): Likewise.
29045 (fma_test_upward): Likewise.
29046 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29047 function.
29048 (libc_fesetround): New macro.
29049 (libc_fesetroundf): Likewise.
29050 (libc_fesetroundl): Likewise.
29051 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29052 function.
29053 (libc_fesetround_387): Likewise.
29054 (libc_fesetroundf): New macro.
29055 (libc_fesetround): Likewise.
29056 (libc_fesetroundl): Likewise.
29057 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29058 function.
29059 (libc_fesetroundf): New macro.
29060 (libc_fesetround): Likewise.
29061 (libc_fesetroundl): Likewise.
29062 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29063 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29064 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29065 libm_hidden_ver.
29066 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29067 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29068 libm_hidden_def.
29069 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29070 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29071 libm_hidden_ver.
29072 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29073 libm_hidden_def.
29074
fbeafede
JM
29075 [BZ #3439]
29076 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29077 integer constant usable in #if and use that to give value to enum
29078 constant.
29079 (FE_DIVBYZERO): Likewise.
29080 (FE_UNDERFLOW): Likewise.
29081 (FE_OVERFLOW): Likewise.
29082 (FE_INVALID): Likewise.
29083 (FE_INVALID_SNAN): Likewise.
29084 (FE_INVALID_ISI): Likewise.
29085 (FE_INVALID_IDI): Likewise.
29086 (FE_INVALID_ZDZ): Likewise.
29087 (FE_INVALID_IMZ): Likewise.
29088 (FE_INVALID_COMPARE): Likewise.
29089 (FE_INVALID_SOFTWARE): Likewise.
29090 (FE_INVALID_SQRT): Likewise.
29091 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29092 (FE_TONEAREST): Likewise.
29093 (FE_TOWARDZERO): Likewise.
29094 (FE_UPWARD): Likewise.
29095 (FE_DOWNWARD): Likewise.
29096 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29097 (FE_DIVBYZERO): Likewise.
29098 (FE_OVERFLOW): Likewise.
29099 (FE_UNDERFLOW): Likewise.
29100 (FE_INEXACT): Likewise.
29101 (FE_TONEAREST): Likewise.
29102 (FE_DOWNWARD): Likewise.
29103 (FE_UPWARD): Likewise.
29104 (FE_TOWARDZERO): Likewise.
29105 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29106 (FE_UNDERFLOW): Likewise.
29107 (FE_OVERFLOW): Likewise.
29108 (FE_DIVBYZERO): Likewise.
29109 (FE_INVALID): Likewise.
29110 (FE_TONEAREST): Likewise.
29111 (FE_TOWARDZERO): Likewise.
29112 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29113 (FE_OVERFLOW): Likewise.
29114 (FE_UNDERFLOW): Likewise.
29115 (FE_DIVBYZERO): Likewise.
29116 (FE_INEXACT): Likewise.
29117 (FE_TONEAREST): Likewise.
29118 (FE_TOWARDZERO): Likewise.
29119 (FE_UPWARD): Likewise.
29120 (FE_DOWNWARD): Likewise.
29121 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29122 (FE_DIVBYZERO): Likewise.
29123 (FE_OVERFLOW): Likewise.
29124 (FE_UNDERFLOW): Likewise.
29125 (FE_INEXACT): Likewise.
29126 (FE_TONEAREST): Likewise.
29127 (FE_DOWNWARD): Likewise.
29128 (FE_UPWARD): Likewise.
29129 (FE_TOWARDZERO): Likewise.
29130
105ca950
CM
291312012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29132
29133 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29134
a542b389
AS
291352012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29136
29137 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29138 commands. Quote $PWD.
29139 (blacklist_exports): Don't use remove_newlines. Replace "declare
29140 -x" by "export".
29141 (remove_newlines): Remove.
29142
f62c8abc
L
291432012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29144
29145 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29146 * stdlib/stdlib.h (atof): Moved to ...
29147 * include/bits/stdlib-float.h: Here. New file.
29148 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29149 * stdlib/bits/stdlib-float.h: New file.
29150 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29151 -mno-sse -mno-mmx.
29152 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29153 <xmmintrin.h>.
29154
0155d5b2
JM
291552012-11-02 Joseph Myers <joseph@codesourcery.com>
29156
a68d0680
JM
29157 * conform/conformtest.pl (@headers): Add fenv.h.
29158 * conform/data/fenv.h-data: New file.
29159 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29160 include of <math/fenv.h>.
29161
caf7f573
JM
29162 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29163 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29164 && !UNIX98]. Enables tests for XOPEN2K8.
29165 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29166 POSIX2008]: Likewise.
29167
6c073ad6
JM
29168 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29169 (struct rusage): Do not expect type or its members.
29170
0155d5b2
JM
29171 [BZ #3439]
29172 * math/math.h (FP_NAN): Define macro to integer constant usable in
29173 #if and use that to give value to enum constant.
29174 (FP_INFINITE): Likewise.
29175 (FP_ZERO): Likewise.
29176 (FP_SUBNORMAL): Likewise.
29177 (FP_NORMAL): Likewise.
29178
b5dcacb4
AS
291792012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29180
29181 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29182 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29183 arguments.
29184
f7934be8
RM
291852012-11-02 Roland McGrath <roland@hack.frob.com>
29186
29187 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29188 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29189 autoconf-time if not.
29190 * configure.in: Remove AC_PREREQ.
29191
d7d08bde
TMQMF
291922012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29193
29194 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29195 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29196 of the internal implementation.
29197
dcdae19a
JM
291982012-11-02 Joseph Myers <joseph@codesourcery.com>
29199
29200 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29201 except include of <misc/sys/syslog.h>.
29202
d6cffd3e
AS
292032012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29204
29205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29206 function returns with a NULL context exit with zero.
29207
b3563932
TMQMF
292082012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29209
29210 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29211
b288a93d
L
292122012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29213
29214 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29215 (run_program_cmd): This.
29216 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29217 (tst_langinfo): New variable. Use it.
29218
a2421a68
SAS
292192012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29220
29221 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29222 floating point opcodes.
29223
6f796e1b
TS
292242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29225
7402596b
TS
29226 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29227 variable.
29228
d0d4f868
TS
29229 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29230
6f796e1b
TS
29231 * sysdeps/mach/hurd/powerpc: Remove directory.
29232 * sysdeps/mach/powerpc: Likewise.
29233
4da224a2
AS
292342012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29235
29236 * scripts/check-local-headers.sh: Ignore c++ headers.
29237
341dd673
TS
292382012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29239
29240 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29241 __libc_cleanup_region_start argument.
29242
473611b2
JM
292432012-11-01 Joseph Myers <joseph@codesourcery.com>
29244
29245 [BZ #14784]
29246 [BZ #14785]
29247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29248 x * y using scaling, not as x * y + z.
29249 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29250 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29251 * math/libm-test.inc (fma_test): Add more tests.
29252 (fma_test_towardzero): Likewise.
29253 (fma_test_downward): Likewise.
29254 (fma_test_upward): Likewise.
29255
4078da3d
TS
292562012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29257
29258 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29259
903252aa
JM
292602012-10-31 Joseph Myers <joseph@codesourcery.com>
29261
29262 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29263 New variable.
29264
cbc818d0
TS
292652012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29266
29267 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29268
5a03cb1e
AS
292692012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29270
29271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29272 Fix sort order.
29273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29274 Likewise.
29275
90aff2ff
TMQMF
292762012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29277
29278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29279 Fix the order of the list for glibc 2.17.
29280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29281 Likewise.
29282
1818fcb7
AS
292832012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29284
29285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29286
ef82f4da
JM
292872012-10-31 Joseph Myers <joseph@codesourcery.com>
29288
16a0e2ec
JM
29289 [BZ #14610]
29290 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29291 for low part of x being zero before using __atanl (y).
29292 * math/libm-test.inc (atan2_test): Add another test.
29293
0eb69512
JM
29294 * manual/install.texi (Configuring and compiling): Document
29295 general use of test-wrapper and test-wrapper-env.
29296 * INSTALL: Regenerated.
29297
ef82f4da
JM
29298 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29299 (__fma): Do not extract and scale down low bits on after-rounding
29300 systems when result rounded to normal precision would have normal
29301 exponent.
29302 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29303 (__fmal): Do not extract and scale down low bits on after-rounding
29304 systems when result rounded to normal precision would have normal
29305 exponent.
29306 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29307 (__fmal): Do not extract and scale down low bits on after-rounding
29308 systems when result rounded to normal precision would have normal
29309 exponent.
29310 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29311 macro.
29312 (fma_test): Add more tests.
29313 (fma_test_towardzero): Likewise.
29314 (fma_test_downward): Likewise.
29315 (fma_test_upward): Likewise.
29316
954ef0d9
L
293172012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29318
29319 * sysdeps/i386/tininess.h: Renamed to ...
29320 * sysdeps/x86/tininess.h: This.
29321 * sysdeps/x86_64/tininess.h: Removed.
29322
df61ffb2
JM
293232012-10-30 Joseph Myers <joseph@codesourcery.com>
29324
29325 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29326 input. Use $(build-program-cmd).
29327 ($(objpfx)tst-array1-static.out): Likewise.
29328 ($(objpfx)tst-array2.out): Likewise.
29329 ($(objpfx)tst-array3.out): Likewise.
29330 ($(objpfx)tst-array4.out): Likewise.
29331 ($(objpfx)tst-array5.out): Likewise.
29332 ($(objpfx)tst-array5-static.out): Likewise.
29333
01767843
CM
293342012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29335
47cc1490
CM
29336 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29337 if defined.
29338
01767843
CM
29339 * nss/nsswitch.h (nss_interface_function): Provide new
29340 macro for use with NSS functions.
29341 * grp/initgroups.c: Use new macro.
29342 * nss/getXXbyYY.c: Likewise.
29343 * nss/getXXbyYY_r.c: Likewise.
29344 * nss/getXXent.c: Likewise.
29345 * nss/getXXent_r.c: Likewise.
29346 * sysdeps/posix/getaddrinfo.c: Likewise.
29347
8321aa97
AJ
293482012-10-30 Andreas Jaeger <aj@suse.de>
29349
29350 * po/ru.po: Update Russion translation from translation project.
29351
2a27fd6d
JM
293522012-10-30 Joseph Myers <joseph@codesourcery.com>
29353
8627a232
JM
29354 [BZ #14152]
29355 [BZ #14783]
29356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29357 result and shift together with sticky bit instead of replicating
29358 round-to-nearest rounding.
29359 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29360 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29361 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29362 missing underflow exceptions.
29363 (fma_test_towardzero): Add more tests.
29364 (fma_test_downward): Likewise.
29365 (fma_test_upward): Likewise.
29366
2a27fd6d
JM
29367 [BZ #14047]
29368 * sysdeps/generic/tininess.h: New file.
29369 * sysdeps/i386/tininess.h: Likewise.
29370 * sysdeps/sh/tininess.h: Likewise.
29371 * sysdeps/x86_64/tininess.h: Likewise.
29372 * stdlib/tst-strtod-underflow.c: Likewise.
29373 * stdlib/tst-tininess.c: Likewise.
29374 * stdlib/strtod_l.c: Include <tininess.h>.
29375 (round_and_return): Do not set errno for exact underflow cases.
29376 Force an underflow exception when setting errno for underflow.
29377 Determine underflow based on rounding to normal precision if
29378 TININESS_AFTER_ROUNDING.
29379 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29380 ERANGE for exact underflow cases.
29381 * stdlib/Makefile (tests): Add tst-tininess and
29382 tst-strtod-underflow.
29383 ($(objpfx)tst-tininess): Use $(link-libm).
29384 ($(objpfx)tst-strtod-underflow): Likewise.
29385
e7170363
AJ
293862012-10-30 Andreas Jaeger <aj@suse.de>
29387
e5088dc6
AJ
29388 [BZ#14767]
29389 * elf/Makefile (tests): Remove conditional for have-initfini-array
29390 since this is now always required and the variable does not exist
29391 anymore.
29392 (tests-static): Likewise.
29393 (modules-names): Likewise.
29394
e7170363 29395 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
29396
29397 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29398 merged with constructor/destructor.
29399 (init_array): Likewise.
29400 * elf/tst-array2dep.c (fini_array): Likewise.
29401 (init_array): Likewise.
29402
60457d8a
MF
294032012-10-29 Mike Frysinger <vapier@gentoo.org>
29404
29405 * manual/message.texi: Delete @cartouche tags.
29406
8bece752
PT
294072012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29408
94ce799f
PT
29409 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29410 EOPNOTSUPP.
29411 * sysdeps/mach/hurd/fsync.c: Likewise.
29412
8bece752
PT
29413 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29414 [_POSIX_REALTIME_SIGNALS]: Change condition to
29415 [_POSIX_REALTIME_SIGNALS > 0].
29416
86ebe6b1
AJ
294172012-10-27 Andreas Jaeger <aj@suse.de>
29418
29419 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29420 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29421 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29422 [__WORDSIZE != 64]: Likewise.
29423
54399c08
L
294242012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29425
29426 * iconvdata/tst-table.sh: Remove ${SHELL}.
29427 * iconvdata/tst-tables.sh: Likewise.
29428
e2211bed
DM
294292012-10-25 David S. Miller <davem@davemloft.net>
29430
29431 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29432 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29433 of strtoull.
29434
f303f97c
DM
29435 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29436 ifunc-impl-list.c
29437 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29438 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29439 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29440 file.
29441
1e9d84cd
RM
294422012-10-25 Roland McGrath <roland@hack.frob.com>
29443
29444 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29445 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29446 __getdirentries.
29447
df381762
JM
294482012-10-25 Joseph Myers <joseph@codesourcery.com>
29449 Jim Blandy <jimb@codesourcery.com>
29450
29451 * scripts/cross-test-ssh.sh: New file.
29452 * manual/install.texi (Configuring and compiling): Document use of
29453 cross-test-ssh.sh.
29454 * INSTALL: Regenerated.
29455
bff64913
PT
294562012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29457
29458 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29459 EOPNOTSUPP.
29460
25fe8932
JM
294612012-10-25 Joseph Myers <joseph@codesourcery.com>
29462
29463 * Makeconfig (run-program-prefix): Fix comment.
29464
cc1290d0
JM
294652012-10-24 Joseph Myers <joseph@codesourcery.com>
29466 Jim Blandy <jimb@codesourcery.com>
29467
29468 * Makeconfig (test-wrapper): New variable,
29469 (test-wrapper-env): Likewise.
29470 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29471 (run-built-tests): Define to yes.
29472 (run-program-prefix): Use $(test-wrapper).
29473 (built-program-cmd): Likewise.
29474 * Rules (make-test-out): Use $(test-wrapper-env) and
29475 $(host-built-program-cmd).
29476 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29477 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29478 tst-pathopt.sh.
29479 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29480 $(test-wrapper-env) to tst-rtld-load-self.sh.
29481 ($(objpfx)order2.out): Use $(test-wrapper).
29482 ($(objpfx)tst-initorder.out): Likewise.
29483 ($(objpfx)tst-initorder2.out): Likewise.
29484 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29485 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29486 (test_wrapper_env): New variable. Use it to run ld.so.
29487 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29488 Use it to run ld.so.
29489 (test_wrapper_env): Likewise.
29490 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29491 $(test-wrapper) to run-iconv-test.sh.
29492 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29493 (ICONV): Use $test_wrapper.
29494 * posix/Makefile ($(objpfx)globtest.out): Pass
29495 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29496 globtest.sh, not $(run-program-prefix).
29497 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29498 (test_wrapper): Likewise.
29499 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29500 set together with run_via_rtld_prefix.
29501 (run_program_prefix): Define in terms of test_wrapper and
29502 run_via_rtld_prefix.
29503
6e6249d0
RM
295042012-10-24 Roland McGrath <roland@hack.frob.com>
29505
29506 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29507 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29508 Targets removed.
29509
29510 [BZ #14743]
29511 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29512 Declare __clock_getres, __clock_gettime, __clock_settime,
29513 __clock_nanosleep, and __clock_getcpuclockid.
29514 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29515 Remove librt_hidden_def (clock_gettime).
29516 * sysdeps/unix/clock_gettime.c: Likewise.
29517 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29518 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29519 * rt/clock_getres.c: Define __clock_getres as an alias.
29520 * sysdeps/posix/clock_getres.c: Likewise.
29521 * rt/clock_settime.c: Define __clock_settime as an alias.
29522 * sysdeps/unix/clock_settime.c: Likewise.
29523 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29524 * sysdeps/unix/clock_nanosleep.c: Likewise.
29525 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29526 * rt/clock-compat.c: New file.
29527 * rt/Makefile (librt-routines): Add clock-compat and move
29528 $(clock-routines) to ...
29529 (routines): ... here, new variable.
29530 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29531 Don't add get_clockfreq here.
29532 * rt/Versions (libc: GLIBC_2.17): New version set.
29533 Add clock_* symbols here.
29534 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29535 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29536 (GLIBC_2.17): Add clock_* symbols.
29537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29539 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29541 Likewise.
29542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29543 Likewise.
29544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29548 * NEWS: Mention the move.
29549
29550 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29551 Use __open, __read, __close rather than their public counterparts.
29552 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29553 (__get_clockfreq_via_cpuinfo): Likewise.
29554 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29555 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29556
29557 * config.h.in (HAVE_IFUNC): New #undef.
29558 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29559 was successful.
29560 * configure: Regenerated.
29561
0cae3f4b
MF
295622012-10-24 Mike Frysinger <vapier@gentoo.org>
29563
29564 * configure.in: Move READELF check to start of file.
29565 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29566 libc_cv_asm_gnu_indirect_function in the process.
29567 * configure: Regenerated.
29568
8175a253
MF
295692012-10-24 Mike Frysinger <vapier@gentoo.org>
29570
29571 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29572 send the output to /dev/null.
29573 (libc_cv_cc_with_libunwind): Likewise.
29574 (libc_cv_as_noexecstack): Likewise.
29575 * configure: Regenerate.
29576
0708a7d1
JM
295772012-10-24 Joseph Myers <joseph@codesourcery.com>
29578
10b40d85
JM
29579 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29580
0708a7d1
JM
29581 * posix/globtest.sh (TMPDIR): Do not set.
29582 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29583 (testout): Likewise.
29584
9fddec1a
AJ
295852012-10-24 Andreas Jaeger <aj@suse.de>
29586
3a8db22f
AJ
29587 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29588 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29589 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29590 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29591 posix_fadvise64, posix_fallocate64.
29592
9fddec1a
AJ
29593 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29594 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29595 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29596 Likewise.
29597 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29598 Likewise.
29599 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29600
29601 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29602 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29603 <bits/fcntl-linux.h>.
29604 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29605
29606 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29607 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29608 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29609 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29610 [__WORDSIZE != 64]: Likewise.
29611
ebfd1bbd
JM
296122012-10-23 Joseph Myers <joseph@codesourcery.com>
29613
03ac099f
JM
29614 * Makeconfig (run-built-tests): New variable.
29615 * Rules [$(cross-compiling) = yes]: Change condition to
29616 [$(run-built-tests) = no].
29617 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29618 to [$(run-built-tests) = yes].
29619 * elf/Makefile [$(cross-compiling) = no]: Likewise
29620 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29621 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29622 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29623 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29624 * io/Makefile [$(cross-compiling) = no]: Likewise.
29625 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29626 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29627 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29628 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29629 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29630 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29631 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29632 * string/Makefile [$(cross-compiling) = no]: Likewise.
29633
ebfd1bbd
JM
29634 * posix/Makefile ($(objpfx)globtest.out): Pass
29635 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29636 $(rtld-installed-name).
29637 * posix/globtest.sh (elf_objpfx): Remove variable.
29638 (rtld_installed_name): Likewise.
29639 (library_path): Likewise.
29640 (run_program_prefix): New variable. Use for running globtest
29641 binary.
29642
166bca24
JB
296432012-10-23 Jim Blandy <jimb@codesourcery.com>
29644 Joseph Myers <joseph@codesourcery.com>
29645
29646 * Makeconfig (host-built-program-cmd): New variable.
29647 * elf/Makefile (tst-stackguard1-ARGS): Use
29648 $(host-built-program-cmd).
29649 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29650 (tst-spawn-ARGS): Likewise.
29651 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29652
88866099
JM
296532012-10-23 Joseph Myers <joseph@codesourcery.com>
29654 Jim Blandy <jimb@codesourcery.com>
29655
29656 * Makeconfig (run-via-rtld-prefix): New variable.
29657 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29658 (built-program-cmd): Likewise.
29659
b4b4c296
AJ
296602012-10-22 Andreas Jaeger <aj@suse.de>
29661
29662 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29663 __O_RSYNC if it exists, otherwise to O_SYNC.
29664
6fb54a22
JB
296652012-10-22 Jim Blandy <jimb@codesourcery.com>
29666 Joseph Myers <joseph@codesourcery.com>
29667
29668 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29669 /dev/null.
29670 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29671 from /dev/null
29672 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29673 /dev/null.
29674
481b90b9
AJ
296752012-10-22 Andreas Jaeger <aj@suse.de>
29676
2a0e2669
AJ
29677 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29678 Define always.
29679 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29680
76e38f9a
AJ
29681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29682 bits/fcntl-linux.h.
29683
7cd37b43
AJ
29684 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29685 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29686
481b90b9
AJ
29687 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29688 to __O_LARGEFILE.
29689 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29690 to __O_LARGEFILE.
29691
aba75984
JB
296922012-10-21 Jim Blandy <jimb@codesourcery.com>
29693 Joseph Myers <joseph@codesourcery.com>
29694
29695 * config.make.in (NM): New variable.
29696
88d4247f
AJ
296972012-10-21 Andreas Jaeger <aj@suse.de>
29698
29699 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29700 definitions and declarations that are provided by
29701 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29702
f2eed205
L
297032012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29704
29705 [BZ #14683]
29706 * elf/Makefile (tests-static): Add tst-leaks1-static.
29707 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29708 ($(objpfx)tst-leaks1-static): New rule.
29709 ($(objpfx)tst-leaks1-static-mem): Likewise.
29710 (tst-leaks1-static-ENV): New macro.
29711 * elf/dl-open.c (dl_open_worker): Check the main application
29712 only if SHARED is defined.
29713 * elf/tst-leaks1-static.c: New file.
29714
335e6931
AJ
297152012-10-20 Andreas Jaeger <aj@suse.de>
29716
29717 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29718 generic values for Linux.
29719 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29720 and declarations that are provided by <bits/fcntl-linux.h> and
29721 include <bits/fcntl-linux.h>.
29722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29724
ac5c94d3
RM
297252012-10-20 Roland McGrath <roland@hack.frob.com>
29726
29727 * io/fcntl.h: Move include of <bits/types.h> to the top and
29728 include it unconditionally.
29729
de54b33a
L
297302012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29731
228cfb01
L
29732 * wcsmbs/Makefile (tests-ifunc): New variable.
29733 (tests): Add $(tests-ifunc).
29734 * wcsmbs/test-wcschr-ifunc.c: New file.
29735 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29736 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29737 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29738 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29739 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29740
69f07e5f
L
29741 * string/Makefile (tests-ifunc): New variable.
29742 (tests): Add $(tests-ifunc).
29743 * string/test-memccpy.c (TEST_NAME): New macro.
29744 * string/test-memchr.c (TEST_NAME): Likewise.
29745 * string/test-memcmp.c (TEST_NAME): Likewise.
29746 * string/test-memcpy.c (TEST_NAME): Likewise.
29747 * string/test-memmem.c (TEST_NAME): Likewise.
29748 * string/test-memmove.c (TEST_NAME): Likewise.
29749 * string/test-memset.c (TEST_NAME): Likewise.
29750 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29751 * string/test-stpcpy.c (TEST_NAME): Likewise.
29752 * string/test-stpncpy.c (TEST_NAME): Likewise.
29753 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29754 * string/test-strcasestr.c (TEST_NAME): Likewise.
29755 * string/test-strcat.c (TEST_NAME): Likewise.
29756 * string/test-strchr.c (TEST_NAME): Likewise.
29757 * string/test-strcmp.c(TEST_NAME): Likewise.
29758 * string/test-strcpy.c (TEST_NAME): Likewise.
29759 * string/test-strcspn.c (TEST_NAME): Likewise.
29760 * string/test-strlen.c (TEST_NAME): Likewise.
29761 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29762 * string/test-strncmp.c (TEST_NAME): Likewise.
29763 * string/test-strncpy.c (TEST_NAME): Likewise.
29764 * string/test-strnlen.c (TEST_NAME): Likewise.
29765 * string/test-strpbrk.c (TEST_NAME): Likewise.
29766 * string/test-strrchr.c (TEST_NAME): Likewise.
29767 * string/test-strspn.c (TEST_NAME): Likewise.
29768 * string/test-strstr.c (TEST_NAME): Likewise.
29769 * string/test-bcopy-ifunc.c: New file.
29770 * string/test-bzero-ifunc.c: Likewise.
29771 * string/test-memccpy-ifunc.c: Likewise.
29772 * string/test-memchr-ifunc.c: Likewise.
29773 * string/test-memcmp-ifunc.c: Likewise.
29774 * string/test-memcpy-ifunc.c: Likewise.
29775 * string/test-memmem-ifunc.c: Likewise.
29776 * string/test-memmove-ifunc.c: Likewise.
29777 * string/test-mempcpy-ifunc.c: Likewise.
29778 * string/test-memset-ifunc.c: Likewise.
29779 * string/test-rawmemchr-ifunc.c: Likewise.
29780 * string/test-stpcpy-ifunc.c: Likewise.
29781 * string/test-stpncpy-ifunc.c: Likewise.
29782 * string/test-strcasecmp-ifunc.c: Likewise.
29783 * string/test-strcasestr-ifunc.c: Likewise.
29784 * string/test-strcat-ifunc.c: Likewise.
29785 * string/test-strchr-ifunc.c: Likewise.
29786 * string/test-strchrnul-ifunc.c: Likewise.
29787 * string/test-strcmp-ifunc.c: Likewise.
29788 * string/test-strcpy-ifunc.c: Likewise.
29789 * string/test-strcspn-ifunc.c: Likewise.
29790 * string/test-strlen-ifunc.c: Likewise.
29791 * string/test-strncasecmp-ifunc.c: Likewise.
29792 * string/test-strncat-ifunc.c: Likewise.
29793 * string/test-strncmp-ifunc.c: Likewise.
29794 * string/test-strncpy-ifunc.c: Likewise.
29795 * string/test-strnlen-ifunc.c: Likewise.
29796 * string/test-strpbrk-ifunc.c: Likewise.
29797 * string/test-strrchr-ifunc.c: Likewise.
29798 * string/test-strspn-ifunc.c: Likewise.
29799 * string/test-strstr-ifunc.c: Likewise.
29800
de54b33a
L
29801 * debug/Makefile (tests-ifunc): New variable.
29802 (tests): Add $(tests-ifunc).
29803 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29804 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29805 * debug/test-stpcpy_chk-ifunc.c: New file.
29806 * debug/test-strcpy_chk-ifunc.c: Likewise.
29807
88481c16
SP
298082012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29809
29810 [BZ #13601]
29811 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29812 header is not read in.
29813
135948bd
JM
298142012-10-19 Joseph Myers <joseph@codesourcery.com>
29815
89f1c388
JM
29816 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29817 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29818 directly. Pass built executable to script as
29819 $(built-program-cmd).
29820 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29821 $testprogram without using LD_LIBRARY_PATH and $ldso.
29822
e40a0d21
JM
29823 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29824 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29825 $(rtld-installed-name).
29826 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29827 (rtld_installed_name): Likewise.
29828 (library_path): Likewise.
29829 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29830 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29831 $(run-program-prefix) to tst-tables.sh.
29832 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29833 it to run tst-table-from and tst-table-to.
29834 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29835 Pass it to tst-table.sh.
29836 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29837 $(run-program-prefix) to tst-gettext.sh.
29838 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29839 tst-translit.sh.
29840 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29841 tst-gettext2.sh.
29842 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29843 to run tst-gettext.
29844 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29845 to run tst-gettext2.
29846 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29847 to run tst-translit.
29848 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29849 $(run-program-prefix) to tst-mtrace.sh.
29850 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29851 to run tst-mtrace.
29852 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29853 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29854 $(rtld-installed-name).
29855 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29856 (rtld_installed_name): Likewise.
29857 (run_program_prefix): New variable. Use it to run wordexp-test.
29858
728e272a
JM
29859 * Makeconfig (ARCH): Remove all definitions.
29860 (machine): Likewise.
29861 [ARCH]: Remove conditional code.
29862 [!objdir]: Give error.
29863 [!objdir] (objpfx): Remove.
29864 [!objdir] (common-objpfx): Likewise.
29865 [!objdir] (common-objdir): Likewise.
29866 * configure.in (config_makefile): Remove. Hardcode Makefile in
29867 AC_CONFIG_FILES call.
29868 * configure: Regenerated.
29869
d528cdcf
JM
29870 [BZ #13888]
29871 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29872 or TMPDIR.
29873 (testout): Likewise.
29874
135948bd
JM
29875 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29876 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29877 $(rtld-installed-name).
29878 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29879 (rtld_installed_name): Likwise.
29880 (runit): Remove function.
29881 (run_getconf): New variable, Use it for running getconf binary.
29882
38c78296
L
298832012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29884
29885 [BZ #14716]
29886 * string/test-memmem.c (check_result): New function.
29887 (do_one_test): Use it.
29888 (check1): New function.
29889 (test_main): Use it.
29890
d077f65f
MT
298912012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29892
29893 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29894
ced52c71
JM
298952012-10-18 Joseph Myers <joseph@codesourcery.com>
29896
29897 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29898 (_G_LSEEK64): Likewise.
29899 (_G_MMAP64): Likewise.
29900 (_G_FSTAT64): Likewise.
29901 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29902 (_G_LSEEK64): Likewise.
29903 (_G_MMAP64): Likewise.
29904 (_G_FSTAT64): Likewise.
29905 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29906 unconditional. Call __mmap64 directly.
29907 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29908 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29909 __lseek64 directly.
29910 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29911 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29912 __mmap64 directly.
29913 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29914 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29915 __lseek64 directly.
29916 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29917 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29918 __lseek64 directly.
29919 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29920 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29921 __lseek64 directly.
29922 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29923 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29924 __fxstat64 directly.
29925 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29926 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29927 unconditional.
29928 (freopen64) [!_G_OPEN64]: Remove conditional code.
29929 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29930 unconditional.
29931 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29932 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29933 unconditional.
29934 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29935 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29936 unconditional.
29937 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29938 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29939 unconditional.
29940 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29941 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29942 unconditional.
29943 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29944 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29945 unconditional.
29946 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29947 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29948 unconditional.
29949 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29950
b741de23
SP
299512012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29952
29953 [BZ #12140]
29954 * manual/memory.texi (Malloc Tunable Parameters): Add note
29955 about free list pointers overwriting some perturb bytes.
29956 Wording suggested by Roland McGrath.
29957
f9b9d9c9
JM
299582012-10-17 Joseph Myers <joseph@codesourcery.com>
29959
29960 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29961 (lgamma_test): Likewise.
29962 (tgamma_test): Likewise.
29963
172a631a
FW
299642012-10-16 Florian Weimer <fweimer@redhat.com>
29965
29966 [BZ #14700]
29967 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29968 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29969
e9f37252
MK
299702012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29971
29972 * NEWS: Mention BZ #14716.
29973 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29974 when removing AVAILABLE1_USES_J macro.
29975
d394eb74
L
299762012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29977
29978 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29979 (__bswap_64): __uint64_t for unsigned 64-bit int.
29980
ca38dc17
AS
299812012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29982
29983 * include/string.h (memmem): Declare libc hidden alias.
29984 * string/memmem.c (memmem): Define libc hidden alias.
29985 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29986 __read, __close instead of open, read, close.
29987
9a387d1f
L
299882012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29989
ac49ecaf
L
29990 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29991 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29992 global and hidden.
29993 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29994 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29995 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29996 Likewise.
29997 (__rawmemchr_sse2): Likewise.
29998 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29999 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30000 (__strchr_sse2): Likewise.
30001 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30002 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30003 (__strcasecmp_sse2): Likewise.
30004 (__strncasecmp_sse2): Likewise.
30005 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30006 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30007 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30008 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30009 (__strrchr_sse2): Likewise.
30010 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30011 ifunc-impl-list.c.
30012 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30013 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30014 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30015 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30016 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30017 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30018 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30019 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30020 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30021 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30022 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30023 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30024 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30025 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30026 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30027 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30028 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30029 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30030 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30031 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30032 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30033 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30034 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30035 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30036 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30037 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30038 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30039 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30040 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30041 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30042
b090e8ea
L
30043 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30044 global and hidden.
30045 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30046 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30047 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30048 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30049 Likewise.
30050 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30051 Likewise.
30052 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30053 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30054 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30055 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30056 ifunc-impl-list.c.
30057 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30058 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30059 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30060 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30061 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30062 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30063 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30064 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30065 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30066 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30067 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30068 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30069 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30070 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30071 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30072 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30073 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30074 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30075 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30076 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30077 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30078 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30079 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30080 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30081 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30082 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30083 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30084 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30085 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30086 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30087 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30088 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30089 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30090 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30091 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30092 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30093 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30094 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30095 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30096 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30097 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30098
11dd4af6
L
30099 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30100 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30101 * include/ifunc-impl-list.h: New file.
30102 * misc/ifunc-impl-list.c: Likewise.
30103 * misc/Makefile (routines): Add ifunc-impl-list.
30104 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30105 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
30106 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30107 TEST_NAME]: New variables.
11dd4af6
L
30108 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30109 are defined.
30110 (test_init): Call __libc_ifunc_impl_list to initialize
30111 func_list if TEST_IFUNC and TEST_NAME are defined.
30112
9a387d1f
L
30113 * string/Makefile (strop-tests): Add bcopy and bzero.
30114 * string/test-bcopy.c: New file.
30115 * string/test-bzero.c: Likewise.
30116 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30117 defined.
30118 * string/test-memset.c: Support bzero test if TEST_BZERO is
30119 defined.
30120 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30121 __libc_memmove.
30122 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30123 __libc_memset.
30124 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30125 of memset.
30126
472371b9
JM
301272012-10-10 Joseph Myers <joseph@codesourcery.com>
30128
1e4a9536
JM
30129 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30130 * configure: Regenerated.
30131
d173d12e
JM
30132 * Makeconfig (+link-static-before-libc): Don't include
30133 $(link-static-libc).
30134
472371b9
JM
30135 * libio/libio.h (_IO_pos_t): Remove.
30136
89a3ad0b
AO
301372012-10-10 Alexandre Oliva <aoliva@redhat.com>
30138
30139 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30140 McGrath.
30141
e7451425
AO
301422012-10-10 Alexandre Oliva <aoliva@redhat.com>
30143
30144 * crypt/crypt-entry.c: Include fips-private.h.
30145 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30146 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30147 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30148 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30149
4ba74a35
AO
301502012-10-10 Alexandre Oliva <aoliva@redhat.com>
30151
30152 * crypt/crypt-private.h: Include stdbool.h.
30153 (_ufc_setup_salt_r): Return bool.
30154 * crypt/crypt-entry.c: Include errno.h.
30155 (__crypt_r): Return NULL with EINVAL for bad salt.
30156 * crypt/crypt_util.c (bad_for_salt): New.
30157 (_ufc_setup_salt_r): Check that salt is long enough and within
30158 the specified alphabet.
30159 * crypt/badsalttest.c: New file.
30160 * crypt/Makefile (tests): Add it.
30161 ($(objpfx)badsalttest): New.
30162
f96f1242
MK
301632012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30164
30165 * NEWS: Add entry for BZ #14602.
30166
0e8e0c1c
JM
301672012-10-09 Joseph Myers <joseph@codesourcery.com>
30168
30169 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30170 type-generic.
30171 * math/libm-test.inc: Update comment listing what functions and
30172 macros are tested.
30173 (isgreater_test): New function.
30174 (isgreaterequal_test): Likewise.
30175 (isless_test): Likewise.
30176 (islessequal_test): Likewise.
30177 (islessgreater_test): Likewise.
30178 (isunordered_test): Likewise.
30179 (main): Call the new functions.
30180
273edc5e
RM
301812012-10-09 Roland McGrath <roland@hack.frob.com>
30182
b8493de0
RM
30183 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30184 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30185 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30186 * sysdeps/i386/configure: Regenerated.
30187 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30188 * sysdeps/mach/configure: Regenerated.
30189 * sysdeps/mach/hurd/configure: Regenerated.
30190 * sysdeps/powerpc/configure: Regenerated.
30191 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30192 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30193 * sysdeps/s390/s390-32/configure: Regenerated.
30194 * sysdeps/s390/s390-64/configure: Regenerated.
30195 * sysdeps/sh/configure: Regenerated.
30196 * sysdeps/sparc/configure: Regenerated.
30197 * sysdeps/unix/sysv/linux/configure: Regenerated.
30198 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30199 * sysdeps/x86_64/configure: Regenerated.
30200
273edc5e
RM
30201 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30202 defined. Don't check if MAP is NULL.
30203
c8450f70
JM
302042012-10-09 Joseph Myers <joseph@codesourcery.com>
30205
30206 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30207 (_G_stat64): Likewise.
30208 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30209 (_G_stat64): Likewise.
30210 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30211 instead of struct _G_stat64.
30212 * libio/fileops.c (mmap_remap_check): Likewise.
30213 (decide_maybe_mmap): Likewise.
30214 (_IO_new_file_seekoff): Likewise.
30215 (_IO_file_stat): Likewise.
30216 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30217 _G_off64_t.
30218 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30219 instead of struct _G_stat64.
30220 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30221
57e605ba
MK
302222012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30223
30224 [BZ #14602]
30225 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30226 Replace with ...
30227 (CHECK_EOL): New macro.
30228 (two_way_short_needle): Check beginning of haystack for EOL. Use
30229 CHECK_EOL.
30230 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30231 Replace with CHECK_EOL.
30232 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30233 Replace with CHECK_EOL.
30234
ef1bb361
JM
302352012-10-08 Joseph Myers <joseph@codesourcery.com>
30236
30237 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30238 type-generic.
30239 * math/libm-test.inc: Update comment listing what functions and
30240 macros are tested.
30241 (finite_test): New function.
30242 (isinf_test): Likewise.
30243 (isnan_test): Likewise.
30244 (fpclassify_test): Test subnormal input.
30245 (isfinite_test): Likewise.
30246 (isnormal_test): Likewise.
30247 (main): Call the new functions.
30248
55f11534
JN
302492012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30250
30251 [BZ #14660]
30252 * Makerules (%.dynsym): Force C locale when running
30253 $(OBJDUMP) --dynamic-syms.
30254
1ab29350
AS
302552012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30256
30257 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30258 <stdint.h>.
30259
f1ecb7ef
DM
302602012-10-06 David S. Miller <davem@davemloft.net>
30261
30262 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30263 upper 32-bits of the length value in %o2 since we use branch-on-register
30264 tests which consider the entire 64-bit register.
30265
5d41d91a
L
302662012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30267
30268 * string/test-strstr.c (check2): Add a test for page boundary.
30269
3baddb72
DM
302702012-10-05 David S. Miller <davem@davemloft.net>
30271
30272 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30273 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30274 file.
30275 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30276 sysdep_routines.
30277 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30278 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30279 and bzero when HWCAP_SPARC_CRYPTO is present.
30280
9cee5585
L
302812012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30282
d7e0dab9
L
30283 [BZ #14602]
30284 * string/test-strstr.c (check2): New function.
30285 (test_main): Call check2.
30286
03759f47
L
30287 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30288 and bug-strchr1.
30289 * string/bug-strcasestr1.c (do_test): Moved to ...
30290 * string/test-strcasestr.c (check1): Here. New function.
30291 (do_one_test): Break out result checking code into ...
30292 (check_result): This. New function.
30293 (do_one_test): Call check_result.
30294 (test_main): Call check1.
30295 * string/bug-strchr1.c (do_test): Moved to ...
30296 * string/test-strchr.c (check1): Here. New function.
30297 (do_one_test): Break out result checking code into ...
30298 (check_result): This. New function.
30299 (do_one_test): Call check_result.
30300 (test_main): Call check1.
30301 * string/bug-strstr1.c (main): Moved to ...
046f153e 30302 * string/test-strstr.c (check1): Here. New function.
03759f47
L
30303 (do_one_test): Break out result checking code into ...
30304 (check_result): This. New function.
30305 (do_one_test): Call check_result.
30306 (test_main): Call check1.
30307 * string/bug-strcasestr1.c: Removed.
30308 * string/bug-strchr1.c: Likewise.
30309 * string/bug-strstr1.c: Likewise.
30310
53cea63e
L
30311 * elf/Makefile (dl-routines): Add hwcaps.
30312 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30313 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30314 (_dl_important_hwcaps): Moved to ...
30315 * elf/dl-hwcaps.c: Here. New file.
30316 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30317
9cee5585 30318 [BZ #14557]
bb859b06
L
30319 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30320 if IS_IN_rtld isn't defined.
30321
9cee5585
L
30322 * elf/dl-support.c (_dl_sysinfo_map): New.
30323 Include "get-dynamic-info.h" and "setup-vdso.h".
30324 (_dl_non_dynamic_init): Call setup_vdso.
30325 * elf/dynamic-link.h: Don't include <assert.h>.
30326 (elf_get_dynamic_info): Moved to ...
30327 * elf/get-dynamic-info.h: Here. New file.
30328 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30329 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30330 * elf/setup-vdso.h: Here. New file.
30331 * elf/rtld.c: Include "setup-vdso.h".
30332 (dl_main): Call setup_vdso.
30333
23c31b76
JM
303342012-10-05 Joseph Myers <joseph@codesourcery.com>
30335
28234b07
JM
30336 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30337 creal in comment listing functions tested. List finite, isinf,
30338 isnan, isless, islessequal, isgreater, isgreaterequal,
30339 islessgreater, isunordered, lgamma_r and pow10 as functions and
30340 macros not tested. Mention which functions not tested are aliases
30341 for other functions. Fix typo. Note that signs of NaNs are not
30342 tested.
30343
23c31b76
JM
30344 * scripts/config.guess: Update from config.git.
30345 * scripts/config.sub: Likewise.
30346
9043e228
RM
303472012-10-04 Roland McGrath <roland@hack.frob.com>
30348
30349 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30350 * misc/madvise.c (madvise): Renamed to __madvise.
30351 Make madvise a weak alias.
30352 * include/sys/mman.h: Declare __madvise.
30353 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30354 * sysdeps/unix/syscalls.list
30355 (madvise): Make __madvise the strong name, and madvise a weak alias.
30356 * sysdeps/unix/sysv/linux/syscalls.list
30357 (madvise, mmap): Remove redundant entries.
30358 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30359 * malloc/malloc.c (mtrim): Likewise.
30360 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30361
f57f8055
RM
303622012-10-03 Roland McGrath <roland@hack.frob.com>
30363
30364 * sysdeps/mach/hurd/dl-cache.c: File removed.
30365 * config.h.in (USE_LDCONFIG): New #undef.
30366 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30367 * configure: Regenerated.
30368 * elf/Makefile (dl-routines): Add dl-cache only under
30369 [$(use-ldconfig) = yes].
30370 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30371 cache on [USE_LDCONFIG].
30372 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30373 [USE_LDCONFIG].
30374 * elf/rtld.c (dl_main): Likewise.
30375
5bb0c10a
PT
303762012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30377
30378 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30379 _SC_LEVEL4_CACHE_LINESIZE.
30380
010188c6
RM
303812012-10-03 Roland McGrath <roland@hack.frob.com>
30382
30383 * sysdeps/unix/bsd/confstr.h: File removed.
30384
b6c5ec07
AO
303852012-10-02 Alexandre Oliva <aoliva@redhat.com>
30386
30387 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30388 sys/sdt-config.h.
30389
408223d4
RM
303902012-10-02 Roland McGrath <roland@hack.frob.com>
30391
30392 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30393 Make 'mapoff' field ElfW(Off) rather than off_t.
30394
bb9510dc
DL
303952012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30396
fc997c6e
DL
30397 * nscd/Makefile: Remove nscd-cflags and all its users.
30398 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30399 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30400
bb9510dc
DL
30401 [BZ #10631]
30402 * malloc.c (malloc_printerr): Clarify error message.
30403
05699367
L
304042012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30405
30406 [BZ #14648]
30407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30408 Set bit_FMA_Usable if FMA is supported.
30409 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30410 macro.
30411 (bit_FMA4_Usable): Updated.
30412 (index_FMA_Usable): New macro.
30413 (CPUID_FMA): Likewise
30414 (HAS_FMA): Defined with bit_FMA_Usable.
30415
51367701
RM
304162012-10-01 Roland McGrath <roland@hack.frob.com>
30417
30418 * bits/types.h (__swblk_t): Type removed.
30419 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30420 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30421 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30422 (__SWBLK_T_TYPE): Likewise.
30423 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30424 (__SWBLK_T_TYPE): Likewise.
30425 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30426 (__SWBLK_T_TYPE): Likewise.
30427 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30428 (__SWBLK_T_TYPE): Likewise.
30429
4d57bf63 304302012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 30431 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
30432
30433 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30434 (xdr_mapname): Use YPMAXMAP as maxsize.
30435 (xdr_peername): Use YPMAXPEER as maxsize.
30436 (xdr_keydat): Use YPAXRECORD as maxsize.
30437 (xdr_valdat): Use YPMAXRECORD as maxsize.
30438
93c65d43
RM
304392012-10-01 Roland McGrath <roland@hack.frob.com>
30440
497a03d6
RM
30441 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30442
93c65d43
RM
30443 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30444 * csu/init-first.c: ... here.
30445 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30446 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30447 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30448 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30449 * sysdeps/i386/init-first.c: File removed.
30450 * sysdeps/sh/init-first.c: File removed.
30451
bec749fd
JM
304522012-10-01 Joseph Myers <joseph@codesourcery.com>
30453
30454 [BZ #14645]
30455 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30456 if x * y might underflow to zero and z is zero.
30457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30458 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30459 * math/libm-test.inc (min_subnorm_value): New variable.
30460 (fma_test): Add more tests.
30461 (fma_test_towardzero): Likewise.
30462 (fma_test_downward): Likewise
30463 (fma_test_upward): Likewise.
30464 (initialize): Set min_subnorm_value.
30465
8ec5b013
JM
304662012-09-29 Joseph Myers <joseph@codesourcery.com>
30467
30468 [BZ #14638]
30469 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30470 0 + 0.
30471 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30472 mode for addition resulting in exact zero.
30473 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30474 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30475 exact 0 + 0.
30476 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30477 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30478 * math/libm-test.inc (fma_test): Add more tests.
30479 (fma_test_towardzero): New function.
30480 (fma_test_downward): Likewise.
30481 (fma_test_upward): Likewise.
30482 (main): Call the new functions.
30483
b1fa802e
DM
304842012-09-28 David S. Miller <davem@davemloft.net>
30485
30486 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30487
d3b9fd9e
RM
304882012-09-28 Roland McGrath <roland@hack.frob.com>
30489
ea4d37b3
RM
30490 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30491 instead of SIGALRM.
30492
ac51c949
RM
30493 * sysdeps/gnu/_G_config.h: Moved to ...
30494 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30495 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30496 * sysdeps/generic/_G_config.h: ... here.
30497
28c195f7
RM
30498 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30499
848917f9
RM
30500 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30501
6bacf05b
RM
30502 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30503 Conditionalize target on [libnss_test1.so-version].
30504
91363dbb
RM
30505 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30506
cc87f7d8
RM
30507 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30508 (elfobjdir): Move out of conditionals.
30509
b1c608fe
RM
30510 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30511 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30512 (__nss_lookup_function): Conditionalize label remove_from_tree on
30513 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 30514
1d9a6d96
DM
305152012-09-28 David S. Miller <davem@davemloft.net>
30516
30517 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30518 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30519 file.
30520 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30521 sysdep_routines.
30522 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30523 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30524 when HWCAP_SPARC_CRYPTO is present.
30525
72581615
PT
305262012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30527
30528 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30529
715a900c
JL
305302012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30531
30532 [BZ #6530]
30533 * stdio-common/vfprintf.c (process_string_arg): Revert
30534 2000-07-22 change.
30535
305362011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30537
30538 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30539 for testcase.
30540 * stdio-common/tst-sprintf.c: Include <locale.h>
30541 (main): Test sprintf's handling of incomplete multibyte
30542 characters.
30543
9bac1d86
L
305442012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30545
30546 * elf/dl-runtime.c (VERSYMIDX): Removed.
30547 * elf/dl-version.c (VERSYMIDX): Likewise.
30548 * elf/do-rel.h (VERSYMIDX): Likewise.
30549 (VALIDX): Likewise.
30550 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30551 * elf/rtld.c (VALIDX): Likewise.
30552 (ADDRIDX): Likewise.
9bac1d86
L
30553 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30554 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30555 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
30556 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30557 (VALIDX): Likewise.
30558 (ADDRIDX): Likewise.
9bac1d86 30559
b31606c0
PT
305602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30561
30562 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30563
11541177
JL
305642012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30565
30566 [BZ #11438]
30567 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30568 to global scope.
30569 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30570 addresses are in the same scope as 192.0.2/24.
30571 * posix/gai.conf: Document new scope table defaults.
30572
adb26fae
SP
305732012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30574
30575 [BZ #5298]
30576 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30577 for ftell. Compute offsets from write pointers instead.
30578 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30579
4573c6b0
SP
305802012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30581
30582 [BZ #14543]
30583 * libio/Makefile (tests): New test case tst-fseek.
30584 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30585 combination works in wide mode.
30586 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30587 state when the external buffer state changes.
30588
aa9bbfe6
DM
305892012-09-27 David S. Miller <davem@davemloft.net>
30590
30591 [BZ #14376]
30592 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30593 pass reloc->r_addend in as the 'high' argument to
30594 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30595
784421e7
DM
30596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30597
c39bc8b8
PT
305982012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30599
30600 * rt/tst-aio2.c: Include <pthread.h>.
30601 * rt/tst-aio3.c: Likewise.
30602
1ccc2399
SE
306032012-09-27 Steve Ellcey <sellcey@mips.com>
30604
30605 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30606
31ed4153
L
306072012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30608
25f5f885
L
30609 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30610 contents on [SHARED].
31ed4153 30611
b7bfe116
MP
306122012-09-26 Marek Polacek <polacek@redhat.com>
30613
30614 [BZ #14530]
30615 [BZ #13741]
30616 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30617 for C++ and GCC <4.3 as well as for non GCC compilers.
30618
43c4edba
MT
306192012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30620
30621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30622
6a1bf82f
RM
306232012-09-25 Roland McGrath <roland@hack.frob.com>
30624
30625 * Makefile.in (all, install): Declare with .PHONY.
30626 Reported by Michael Hope <michael.hope@linaro.org>.
30627
8ad11b9a
TMQMF
306282012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30629
30630 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30631 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30632 system header.
30633 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30634 Likewise.
30635 (sydep_routines): Add the new and the internal functions.
30636 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30637 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30639 (GLIBC_2.17): Add the new function.
30640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30641 (GLIBC_2.17): Likewise.
30642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30643 (GLIBC_2.17): Likewise.
30644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30645 (GLIBC_2.17): Likewise.
30646 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30647
7e2fca8d
AM
306482012-09-25 Alan Modra <amodra@gmail.com>
30649
30650 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30651 Add release barrier before setting once_control to say
30652 initialisation is done. Add hints on lwarx. Use macro in
30653 place of isync.
30654 (clear_once_control): Add release barrier.
30655
b87c4b24
JM
306562012-09-25 Joseph Myers <joseph@codesourcery.com>
30657
d032e0d2
JM
30658 [BZ #13629]
30659 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30660 specially.
30661 * math/s_clog10.c (__clog10): Likewise.
30662 * math/s_clog10f.c (__clog10f): Likewise.
30663 * math/s_clog10l.c (__clog10l): Likewise.
30664 * math/s_clogf.c (__clogf): Likewise.
30665 * math/s_clogl.c (__clogl): Likewise.
30666 * math/Makefile (libm-calls): Add x2y2m1.
30667 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30668 (__x2y2m1): Likewise.
30669 (__x2y2m1l): Likewise.
30670 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30671 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30672 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30673 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30674 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30675 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30676 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30677 * sysdeps/i386/fpu/libm-test-ulps: Update.
30678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30679
b87c4b24
JM
30680 [BZ #14621]
30681 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30682 int as type of variable DEPTH.
30683 (glob): Use size_t instead of int as type of variables NEWCOUNT
30684 and OLD_PATHC.
30685
6d3bf199
LD
306862012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30687
22bf5c17
LD
30688 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30689 Add s_sincosf-sse2.
30690 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30691 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30692 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30693 macros for using routine as __sincosf_ia32.
30694 Use macro for function declaration and weak_alias.
30695 * sysdeps/i386/fpu/libm-test-ulps: Update.
30696
30697 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30699
30700 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
30701 subnormal argument.
30702 * math/s_cexpf.c (__cexpf): Likewise.
30703 * math/s_csinf.c (__csinf): Likewise.
30704 * math/s_csinhf.c (__csinhf): Likewise.
30705 * math/s_ctanf.c (__ctanf): Likewise.
30706 * math/s_ctanhf.c (__ctanhf): Likewise.
30707 * math/s_ccosh.c (__ccoshf): Likewise.
30708 * math/s_cexp.c (__cexpl): Likewise.
30709 * math/s_csin.c (__csin): Likewise.
30710 * math/s_csinh.c (__csinh): Likewise.
30711 * math/s_ctan.c (__ctan): Likewise.
30712 * math/s_ctanh.c (ctanh): Likewise.
30713 * math/s_ccoshl.c (__ccoshl): Likewise.
30714 * math/s_cexpl.c (__cexpl): Likewise.
30715 * math/s_csinl.c (__csinl): Likewise.
30716 * math/s_csinhl.c (__csinhl): Likewise.
30717 * math/s_ctanl.c (__ctanl): Likewise.
30718 * math/s_ctanhl.c (__ctanhl): Likewise.
30719
203e5603
JM
307202012-09-25 Joseph Myers <joseph@codesourcery.com>
30721
30722 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30723 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30724 (_IO_off_t): Define to __off_t, not _G_off_t.
30725 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30726 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30727 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30728 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30729 type of __dummy and __dummy2 fields.
30730 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30731 (_G_ssize_t): Likewise.
30732 (_G_off_t): Likewise.
30733 (_G_pid_t): Likewise.
30734 (_G_uid_t): Likewise.
30735 (_G_wchar_t): Likewise.
30736 (_G_wint_t): Likewise.
30737 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30738 (_G_ssize_t): Likewise.
30739 (_G_off_t): Likewise.
30740 (_G_pid_t): Likewise.
30741 (_G_uid_t): Likewise.
30742 (_G_wchar_t): Likewise.
30743 (_G_wint_t): Likewise.
30744 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30745 (_G_ssize_t): Likewise.
30746 (_G_off_t): Likewise.
30747 (_G_pid_t): Likewise.
30748 (_G_uid_t): Likewise.
30749 (_G_wchar_t): Likewise.
30750 (_G_wint_t): Likewise.
30751
9fab36eb
SP
307522012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30753
30754 * malloc/arena.c: Include malloc-sysdep.h.
30755 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30756 is sufficient to shrink the heap or an unmap is needed.
30757 * sysdeps/generic/malloc-sysdep.h: New file. Define
30758 new function check_may_shrink_heap.
30759 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30760 new function check_may_shrink_heap.
30761
2b4f00d1
SP
307622012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30763
30764 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30765 comments.
30766
9a9028b1
DL
307672012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30768
57c69bef
DL
30769 * catgets/test-gencat.sh: Add "set -e".
30770 * elf/tst-pathopt.sh: Likewise.
30771 * grp/tst_fgetgrent.sh: Likewise.
30772 * iconvdata/run-iconv-test.sh: Likewise.
30773 * intl/tst-gettext.sh: Likewise.
30774 * intl/tst-gettext2.sh: Likewise.
30775 * intl/tst-gettext4.sh: Likewise.
30776 * intl/tst-gettext6.sh: Likewise.
30777 * intl/tst-translit.sh: Likewise.
30778 * io/ftwtest-sh: Likewise.
30779 * libio/test-freopen.sh: Likewise.
30780 * malloc/tst-mtrace.sh: Likewise.
30781 * posix/globtest.sh: Likewise.
30782 * posix/tst-getconf.sh: Likewise.
30783 * posix/wordexp-tst.sh: Likewise.
30784 * stdio-common/tst-printf.sh: Likewise.
30785 * stdio-common/tst-unbputc.sh: Likewise.
30786 * stdlib/tst-fmtmsg.sh: Likewise.
30787 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30788 * catgets/Makefile: Do not specify -e option when running
30789 testsuite shell scripts.
30790 * elf/Makefile: Likewise.
30791 * grp/Makefile: Likewise.
30792 * iconvdata/Makefile: Likewise.
30793 * intl/Makefile: Likewise.
30794 * io/Makefile: Likewise.
30795 * libio/Makefile: Likewise.
30796 * malloc/Makefile: Likewise.
30797 * posix/Makefile: Likewise.
30798 * stdio-common/Makefile: Likewise.
30799 * stdlib/Makefile: Likewise.
30800 * sysdeps/x86_64/Makefile: Likewise.
30801
9a9028b1
DL
30802 * io/ftwtest-sh: Add copyright header.
30803 * posix/globtest.sh: Likewise.
30804 * posix/tst-getconf.sh: Likewise.
30805 * posix/wordexp-tst.sh: Likewise.
30806 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30807
ced6f16e
L
308082012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30809
94b32c39
L
30810 [BZ #13679]
30811 * Makeconfig (+link): Defined as $(+link-static) if
30812 $(build-shared) isn't yes.
30813 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30814 isn't yes.
30815 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30816
189e935b
L
30817 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30818
ced6f16e
L
30819 [BZ #14562]
30820 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30821 new chunk size with MALLOC_ALIGN_MASK.
30822
a9f8e53a
JM
308232012-09-24 Joseph Myers <joseph@codesourcery.com>
30824
30825 [BZ #5044]
30826 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30827 <rounding-mode.h>.
30828 (__printf_fphex): Determine rounding using get_rounding_mode and
30829 round_away.
30830 * stdio-common/tst-printf-round.c (struct hex_test): New
30831 structure.
30832 (hex_tests): New variable.
30833 (test_hex_in_one_mode): New function.
30834 (do_test): Also run tests for hex float output.
30835
43153109
JM
308362012-09-21 Joseph Myers <joseph@codesourcery.com>
30837
30838 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30839 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30840 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30841 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30842 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30843 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30844 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30845 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30846
8a26625d
JM
308472012-09-20 Joseph Myers <joseph@codesourcery.com>
30848
30849 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30850 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30851 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30852 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30853
f3fd569c
DL
308542012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30855
30856 [BZ #14579]
30857 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30858 mode only.
30859 * elf/tst-rtld-load-self.sh: New test.
30860 * elf/Makefile: Run it.
30861
63bbedd4
JM
308622012-09-18 Joseph Myers <joseph@codesourcery.com>
30863
30864 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30865 (tst-writev-ENV): Remove.
30866 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30867
626f8b6a
CM
308682012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30869
30870 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30871
b7aaa4d6
JM
308722012-09-17 Joseph Myers <joseph@codesourcery.com>
30873
30874 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30875 unconditional.
30876 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30877 Likewise.
30878 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30879 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30880 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30881 Likewise.
30882
65513990
L
308832012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30884
30885 [BZ #14587]
30886 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30887 * config.make.in (have-cpp-asm-debuginfo): Removed.
30888 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30889 * configure: Regenerated.
30890
784761be
JM
308912012-09-14 Joseph Myers <joseph@codesourcery.com>
30892
30893 [BZ #5044]
30894 * stdio-common/printf_fp.c: Include <stdbool.h> and
30895 <rounding-mode.h>.
30896 (___printf_fp): Determine rounding using get_rounding_mode and
30897 round_away.
30898 * stdio-common/tst-printf-round.c: New file.
30899 * stdio-common/Makefile (tests): Add tst-printf-round.
30900 (link-libm): New variable.
30901 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30902
9503345f
L
309032012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30904
30905 [BZ #14576]
30906 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30907 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30908 Likewise.
30909 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30910 Likewise.
30911
ad35fc00
JM
309122012-09-13 Joseph Myers <joseph@codesourcery.com>
30913
30914 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30915 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30916 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30917 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30918
6c9b0f68
JM
309192012-09-12 Joseph Myers <joseph@codesourcery.com>
30920
30921 [BZ #14518]
30922 * include/rounding-mode.h: New file.
30923 * sysdeps/generic/get-rounding-mode.h: Likewise.
30924 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30925 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30926 (MAX_VALUE): New macro.
30927 (MIN_VALUE): Likewise.
30928 (overflow_value): New function.
30929 (underflow_value): Likewise.
30930 (round_and_return): Use overflow_value and underflow_value to
30931 determine return values in overflow and underflow cases. Use
30932 round_away to determine rounding depending on rounding mode.
30933 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30934 determine return values in overflow and underflow cases.
30935 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30936 (struct test_results): New structure.
30937 (struct test): Use struct test_results to store expected results
30938 for all rounding modes.
30939 (TEST): Include expected results for all rounding modes.
30940 (test_in_one_mode): New function.
30941 (do_test): Use test_in_one_mode to compute and check results.
30942 Check results for all rounding modes.
30943 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30944 $(link-libm).
30945
19fcedd5
AM
309462012-12-09 Allan McRae <allan@archlinux.org>
30947
1e9d84cd 30948 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 30949
8bbfd2f1
JM
309502012-09-11 Joseph Myers <joseph@codesourcery.com>
30951
30952 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30953 (_G_int32_t): Likewise.
30954 (_G_uint16_t): Likewise.
30955 (_G_uint32_t): Likewise.
30956 (_G_HAVE_BOOL): Likewise.
30957 (_G_HAVE_ATEXIT): Likewise.
30958 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30959 (_G_HAVE_IO_FILE_OPEN): Likewise.
30960 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30961 (_G_int32_t): Likewise.
30962 (_G_uint16_t): Likewise.
30963 (_G_uint32_t): Likewise.
30964 (_G_HAVE_BOOL): Likewise.
30965 (_G_HAVE_ATEXIT): Likewise.
30966 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30967 (_G_HAVE_IO_FILE_OPEN): Likewise.
30968 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30969 (_G_int32_t): Likewise.
30970 (_G_uint16_t): Likewise.
30971 (_G_uint32_t): Likewise.
30972 (_G_HAVE_BOOL): Likewise.
30973 (_G_HAVE_ATEXIT): Likewise.
30974 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30975 (_G_HAVE_IO_FILE_OPEN): Likewise.
30976
b1dc5912
L
309772012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30978
30979 * csu/libc-tls.c: Update copyright years.
30980
0e886ef9
JM
309812012-09-10 Joseph Myers <joseph@codesourcery.com>
30982
28361c5e
JM
30983 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30984 [!_G_USING_THUNKS]: Remove conditional code.
30985 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30986 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30987
0e886ef9
JM
30988 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30989 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30990 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30991 (_G_VTABLE_LABEL_PREFIX): Likewise.
30992 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30993 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30994 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30995 (_G_VTABLE_LABEL_PREFIX): Likewise.
30996 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30997 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30998 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30999 (_G_VTABLE_LABEL_PREFIX): Likewise.
31000 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31001
bcba7aa2
L
310022012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31003
31004 * libio/Makefile: Include ../Makeconfig before tests.
31005 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31006 only if $(build-shared) is yes.
31007
06585ee8
L
31008 * iconv/gconv_db.c: Update copyright years.
31009
80ccd52c
LD
310102012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31011
31012 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31013 unwind info if defined PIC. Fix special cases description.
31014 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31015
31016 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31017 DP_HI_MASK entry.
31018 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31019
691bc9c1
L
310202012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31021
3d9b46b3
L
31022 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31023
de2139a9
L
31024 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31025 is NULL.
31026
5ca78dd0
L
31027 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31028 (LDLIBS-tst-chk4): This.
31029 (LDFLAGS-tst-chk5): Renamed to ...
31030 (LDLIBS-tst-chk5): This.
31031 (LDFLAGS-tst-chk6): Renamed to ...
31032 (LDLIBS-tst-chk6): This.
31033 (LDFLAGS-tst-lfschk4): Renamed to ...
31034 (LDLIBS-tst-lfschk4): This.
31035 (LDFLAGS-tst-lfschk5): Renamed to ...
31036 (LDLIBS-tst-lfschk5): This.
31037 (LDFLAGS-tst-lfschk6): Renamed to ...
31038 (LDLIBS-tst-lfschk6): This.
31039
691bc9c1
L
31040 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31041 on $(common-objpfx)soversions.mk.
31042
65cafb1c
JM
310432012-09-07 Joseph Myers <joseph@codesourcery.com>
31044
31045 [BZ #10014]
31046 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31047 example host name.
31048
c78ab094
SP
310492012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31050
31051 * malloc/arena.c (arena_get_retry): New function that gets
31052 another arena for the caller to try its request on.
31053 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31054 current arena cannot fulfill the request.
31055 (__libc_memalign): Likewise.
31056 (__libc_memalign): Likewise.
31057 (__libc_pvalloc): Likewise.
31058 (__libc_calloc): Likewise.
31059
01f49f59
JT
310602012-09-05 John Tobey <john.tobey@gmail.com>
31061
31062 [BZ #13542]
31063 * manual/arith.texi (Operations on Complex): Fix description
31064 of carg branch cut.
31065
4c23fed5
JM
310662012-09-06 Joseph Myers <joseph@codesourcery.com>
31067
1d3c8572
JM
31068 [BZ #10014]
31069 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31070 host name.
31071
4c23fed5
JM
31072 [BZ #10038]
31073 * manual/memory.texi (Memory): Make order of menu items match
31074 order of sections.
31075
04570aaa
L
310762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31077
31078 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31079 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31080 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31081
b80af2f4
L
310822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31083
31084 * csu/libc-tls.c (static_dtv): Renamed to ...
31085 (_dl_static_dtv): This. Make it global.
31086 (_dl_initial_dtv): Removed.
31087 (__libc_setup_tls): Updated.
31088 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31089 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31090 DL_INITIAL_DTV.
31091
2abe9f15
PM
310922012-09-06 Petr Machata <pmachata@redhat.com>
31093
31094 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31095 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31096 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31097 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31098
0948c3af
L
310992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31100
31101 [BZ #14545]
31102 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31103 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31104 freeing dtv[-1].
31105
a5055ad1
L
311062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31107
31108 [BZ #14544]
31109 * Makeconfig (link-static-before-libc): Replace $(+prector)
31110 with $(+prectorT).
31111 (link-static-after-libc): Replace $(+postctor) with
31112 $(+postctorT).
31113 (link-bounded): Replace $(+prector)/$(+postctor) with
31114 $(+prectorT)/$(+postctorT).
31115 (+prectorT): New macro.
31116 (+postctorT): Likewise.
31117
ed8c2ecd
JM
311182012-09-06 Joseph Myers <joseph@codesourcery.com>
31119
31120 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31121 (round_str): Handle values above the maximum for IBM long double
31122 as inexact.
31123 * stdlib/tst-strtod-round.c (tests): Regenerated.
31124
14c996c8
AK
311252012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31126
31127 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31128 assembler flag.
31129 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31130 zarch_nohighgprs around the zarch optimized routines.
31131 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31132 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31133 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31134 for zarch.
31135
430d6ce6
DM
311362012-09-05 David S. Miller <davem@davemloft.net>
31137
31138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31139
57f41c40
AS
31140 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31141 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
31142 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31143 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31144 entries.
31145
24d4e01b
AO
311462012-09-05 Alexandre Oliva <aoliva@redhat.com>
31147
31148 * malloc/arena.c: Fold copyright years.
31149 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31150
61d58174
AO
311512012-09-05 Alexandre Oliva <aoliva@redhat.com>
31152
31153 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31154
20196a5e
AO
311552012-09-05 Alexandre Oliva <aoliva@redhat.com>
31156
31157 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31158
5c447383
AO
311592012-09-05 Alexandre Oliva <aoliva@redhat.com>
31160
31161 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31162 change internal state upon failure.
31163
fad64255
AO
311642012-09-05 Alexandre Oliva <aoliva@redhat.com>
31165
31166 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31167 * malloc/memusage.c (mmap): Likewise.
31168 (mmap64, mremap): Likewise. Adjust name in comment.
31169
1ffb8c90
SP
311702012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31171
31172 * libio/fileops.c: Fix typos in comments.
31173 * libio/oldfileops.c: Likewise.
31174 * libio/wfileops.c: Likewise.
31175
6ef9cc37
SP
311762012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31177
31178 [BZ #1349]
31179 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31180 (tst-malloc-usable-ENV): Set environment for test case.
31181 * malloc/hooks.c (malloc_check_get_size): New function to get
31182 requested size.
31183 * malloc/malloc.c (musable): Use malloc_check_get_size.
31184 * malloc/tst-malloc-usable.c: New test case.
31185
4d038ae3
AS
311862012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31187
31188 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31189
c4e85184
AM
311902012-09-05 Allan McRae <allan@archlinux.org>
31191
b9dafc56 31192 [BZ #13966]
c4e85184
AM
31193 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31194 determine header location.
31195 * configure: Regenerated.
31196
e1343020
AS
311972012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31198
31199 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31200 float format.
31201 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
31202 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31203 format.
e1343020
AS
31204 (test): Regenerate.
31205
0a9f1987
DM
312062012-09-04 David S. Miller <davem@davemloft.net>
31207
31208 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31209 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31210 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31211
29237804
FW
312122012-09-04 Florian Weimer <fweimer@redhat.com>
31213
31214 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31215 failures.
31216
edb3cb88
FW
31217 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31218
60160d83
JM
312192012-09-04 Joseph Myers <joseph@codesourcery.com>
31220
31221 [BZ #9914]
31222 * libio/iogetdelim.c: Include <limits.h>.
31223 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31224 + len + 1 would overflow.
31225
bcd6c8dc
AJ
312262012-09-03 Andreas Jaeger <aj@suse.de>
31227
31228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31229 * sysdeps/i386/fpu/libm-test-ulps: Update.
31230
4ffffbd2
LD
312312012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31232
31233 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31234 Add s_sinf-sse2, s_conf-sse2.
31235
31236 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31237 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31238 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31239 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31240
31241 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31242 for using routine as __sinf_ia32.
31243 Use macro for function declaration and weak_alias.
31244 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31245 for using routine as __cosf_ia32.
31246 Use macro for function declaration and weak_alias.
31247
31248 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31249 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31250
31251 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31252 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31254
31255 * math/libm-test.inc (cos_test): Add more test cases.
31256 (sin_test): Likewise.
31257 (sincos_test): Likewise.
31258
511fa286
AK
312592012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31260
31261 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31262 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31263 hidden.
31264 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31265
5f30cfec
L
312662012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31267
31268 [BZ #14538]
31269 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31270 first element of the GOT.
31271 (elf_machine_load_address): Return the difference between
31272 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31273
0786794f
AM
312742012-09-01 Allan McRae <allan@archlinux.org>
31275
5f30cfec
L
31276 [BZ #13412]
31277 * configure.in (AWK): Require gawk version 3.0 or later.
31278 * configure: Regenerated.
0786794f 31279
26889eac
JM
312802012-09-01 Joseph Myers <joseph@codesourcery.com>
31281
31282 * sysdeps/unix/sysv/linux/kernel-features.h
31283 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31284 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31285 [__NR_clock_getres]: Make code unconditional.
31286 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31287 (clock_getcpuclockid): Remove code left unreachable by removal of
31288 conditionals.
31289 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31290 code unconditional.
31291 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31292 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31293 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31294 Make code unconditional.
31295 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31296 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31297 * sysdeps/unix/sysv/linux/clock_settime.c
31298 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31299 conditional code.
31300 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31301 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31302
d22e28b0
L
313032012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31304
31305 [BZ #14476]
31306 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31307 scripts/test-installation.pl.
31308
31309 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31310 and $ld_so_version if it is set.
31311
050af9c4
SP
313122012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31313
31314 [BZ #14516]
31315 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31316 failure if reading from procfs failed.
31317 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31318
ad845c0b
JM
313192012-08-27 Joseph Myers <joseph@codesourcery.com>
31320
31321 * sysdeps/unix/sysv/linux/kernel-features.h
31322 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31323 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31324 Remove conditional code.
31325 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31326 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31327 Remove conditional code.
31328 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31329 * sysdeps/unix/sysv/linux/i386/fxstat.c
31330 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31331 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31332 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31333 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31334 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31335 * sysdeps/unix/sysv/linux/i386/lxstat.c
31336 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31337 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31338 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31339 Remove conditional code.
31340 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31341 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31342 Remove conditional code.
31343 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31344 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31345 <kernel-features.h>.
31346 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31347 Remove.
31348 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31349 Remove conditional code.
31350 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31351 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31352 Remove conditional.
31353
5dbf56af
MF
313542012-08-27 Mike Frysinger <vapier@gentoo.org>
31355
31356 [BZ #5400]
31357 * NEWS: Add fixed bug number.
31358
d6e70f43
JM
313592012-08-27 Joseph Myers <joseph@codesourcery.com>
31360
7efb4737
JM
31361 [BZ #14519]
31362 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31363 underflowing exponent in case of negative sign.
31364 * stdlib/tst-strtod-round-data: Add more tests.
31365 * stdlib/tst-strtod-round.c (tests): Regenerated.
31366
af92131a
JM
31367 [BZ #3479]
31368 * stdlib/strtod_l.c (NDIG): Remove.
31369 (HEXNDIG): Likewise.
31370 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31371 smallest representable value.
31372 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31373 lie within an exact representation of 1/2 ulp of the result.
31374 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31375 unconditionally.
31376 (TENS_P9_IDX): Define unconditionally.
31377 (TENS_P9_SIZE): Likewise.
31378 (TENS_P10_IDX): Likewise.
31379 (TENS_P10_SIZE): Likewise.
31380 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31381 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31382 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31383 entries for 10^2^13 and 10^2^14.
31384 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31385 (TENS_P13_IDX): Define.
31386 (TENS_P13_SIZE): Likewise.
31387 (TENS_P14_IDX): Likewise.
31388 (TENS_P14_SIZE): Likewise.
31389 (_fpioconst_pow10): Change array size to
31390 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31391 unconditional.
31392 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31393 1024]: Add entries for 10^2^13 and 10^2^14.
31394 [LAST_POW10 > _LAST_POW10]: Remove #error.
31395 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31396 (_fpioconst_pow10): Change array size to
31397 FPIOCONST_POW10_ARRAY_SIZE.
31398 * stdlib/gen-fpioconst.c: New file.
31399 * stdlib/gen-tst-strtod-round.c: Likewise.
31400 * stdlib/tst-strtod-round-data: Likewise.
31401 * stdlib/tst-strtod-round.c: Likewise.
31402 * stdlib/Makefile (tests): Add tst-strtod-round.
31403
d6e70f43
JM
31404 [BZ #14459]
31405 * stdlib/strtod_l.c: Include <stdint.h>.
31406 (NDEBUG): Do not define.
31407 (round_and_return): Change EXPONENT parameter to type intmax_t.
31408 Rearrange calculations to avoid internal overflow possibilities.
31409 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31410 Rearrange calculations to avoid internal overflow possibilities.
31411 Assert that number fits inside MPNSIZE limbs.
31412 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31413 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31414 calculations and add assertions to avoid internal overflow
31415 possibilities. Add casts to avoid signed/unsigned operations.
31416 * stdlib/tst-strtod-overflow.c: New file.
31417 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31418
1f529f7d
MP
314192012-08-25 Marek Polacek <polacek@redhat.com>
31420
31421 * time/time.h: Fix some typos in comments.
31422
59a629f1
RM
314232012-08-23 Roland McGrath <roland@hack.frob.com>
31424
31425 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31426 * posix/tst-rfc3484-2.c: Likewise.
31427 * posix/tst-rfc3484-3.c: Likewise.
31428
d3bafbc9
SM
314292012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31430
31431 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31432 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31433
4efcc022
JM
314342012-08-23 Joseph Myers <joseph@codesourcery.com>
31435
31436 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31437 #include of fxstatat64.c.
31438
3cc3ef96
RM
314392012-08-22 Roland McGrath <roland@hack.frob.com>
31440
f04e2132
RM
31441 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31442 * shadow/getspent_r.c: Likewise.
31443 * shadow/getspnam.c: Likewise.
31444 * shadow/getspnam_r.c: Likewise.
31445 * gshadow/getsgent.c: Likewise.
31446 * gshadow/getsgent_r.c: Likewise.
31447 * gshadow/getsgnam.c: Likewise.
31448 * gshadow/getsgnam_r.c: Likewise.
31449 * inet/getnetbyad.c: Likewise.
31450 * inet/getnetbyad_r.c: Likewise.
31451 * inet/getnetbynm.c: Likewise.
31452 * inet/getnetbynm_r.c: Likewise.
31453 * inet/getnetent.c: Likewise.
31454 * inet/getnetent_r.c: Likewise.
31455 * inet/getproto.c: Likewise.
31456 * inet/getproto_r.c: Likewise.
31457 * inet/getprtent.c: Likewise.
31458 * inet/getprtent_r.c: Likewise.
31459 * inet/getprtname.c: Likewise.
31460 * inet/getprtname_r.c: Likewise.
31461 * inet/getrpcbyname.c: Likewise.
31462 * inet/getrpcbyname_r.c: Likewise.
31463 * inet/getrpcbynumber.c: Likewise.
31464 * inet/getrpcbynumber_r.c: Likewise.
31465 * inet/getrpcent.c: Likewise.
31466 * inet/getrpcent_r.c: Likewise.
31467 * inet/getaliasent.c: Likewise.
31468 * inet/getaliasent_r.c: Likewise.
31469 * inet/getaliasname.c: Likewise.
31470 * inet/getaliasname_r.c: Likewise.
31471 * nscd/getgrgid_r.c: Likewise.
31472 * nscd/getgrnam_r.c: Likewise.
31473 * nscd/gethstbyad_r.c: Likewise.
31474 * nscd/gethstbynm3_r.c: Likewise.
31475 * nscd/getpwnam_r.c: Likewise.
31476 * nscd/getpwuid_r.c: Likewise.
31477 * nscd/getsrvbynm_r.c: Likewise.
31478 * nscd/getsrvbypt_r.c: Likewise.
31479 * nscd/gai.c: Likewise.
31480
c53d909c
RM
31481 * configure.in (build_nscd): New substituted variable, set
31482 by --disable-build-nscd and defaults to $use_nscd.
31483 * configure: Regenerated.
31484 * config.make.in (build-nscd): New substituted variable.
31485 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31486 Change conditional to require [$(build-nscd) = yes] as well.
31487 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31488
3cc3ef96
RM
31489 [BZ# 13696]
31490 * configure.in (use_nscd): New substituted variable, set by
31491 --disable-nscd. If enabled, define USE_NSCD.
31492 * configure: Regenerated.
31493 * config.h.in: Add USE_NSCD.
31494 * config.make.in (use-nscd): New substituted variable.
31495 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31496 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31497 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31498 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31499 (CFLAGS-getgrnam_r.c): Likewise.
31500 (CFLAGS-initgroups.c): Likewise.
31501 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31502 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31503 Variables removed.
31504 * inet/getnetgrent_r.c
31505 (nscd_setnetgrent): New function, broken out of ...
31506 (setnetgrent): ... here. Call it.
31507 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31508 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31509 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31510 * nscd/Makefile (routines, aux): Move definitions after include of
31511 Makeconfig. Conditionalize on [$(use-nscd) != no].
31512 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31513 Conditionalize on [USE_NSCD].
31514 (is_nscd, nscd_init_cb): Likewise.
31515 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31516 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31517 * nss/nss_db/db-init.c: Likewise.
31518 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31519 [USE_NSCD].
31520 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31521 (make_request): Use it.
31522 (cache_valid_p): New function.
31523 (__check_pf): Use it.
31524 * NEWS: Add item for --disable-nscd.
31525
07e51550
DL
315262012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31527
31528 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31529 to support sed >= 4.2.1-20-ga9bf076.
31530 * configure: Regenerated.
31531
35a5b08b
RM
315322012-08-22 Roland McGrath <roland@hack.frob.com>
31533
31534 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31535 Conditionalize whole body on [IREL].
31536
8479f23a
JL
315372012-08-22 Jeff Law <law@redhat.com>
31538
31539 [BZ #14505]
31540 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31541 if the family is PF_UNSPEC.
31542
48da0b21
MF
315432012-08-22 Mike Frysinger <vapier@gentoo.org>
31544
31545 * Makerules (lib-version): Rename from V.
31546 (install-lib-nosubdir): Change V to lib-version.
31547
15d0da8c
WS
315482012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31549
31550 [BZ #14252]
31551 * powerpc32/power6/wcschr.c: New file.
31552 * powerpc32/power6/wcscpy.c: New file.
31553 * powerpc32/power6/wcsrchr.c: New file.
31554 * powerpc64/power6/wcschr.c: New file.
31555 * powerpc64/power6/wcscpy.c: New file.
31556 * powerpc64/power6/wcsrchr.c: New file.
31557
bcca0895
MK
315582012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31559
31560 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31561 (two_way_short_needle): Use it.
5a4aaa33
RM
31562 * string/strstr.c (AVAILABLE1_USES_J): Define.
31563 * string/strcasestr.c: Likewise.
99677e57
MK
31564
31565 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31566 array references.
31567 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31568
400726de
MK
31569 [BZ #11607]
31570 * NEWS: Add an entry.
31571 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31572 define their defaults.
31573 (two_way_short_needle): Detect end-of-string on-the-fly.
31574 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31575 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31576 * string/bug-strcasestr1.c: New test.
31577 * string/Makefile: Run it.
31578
20a71f2c
MK
315792012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31580
31581 [BZ #11607]
31582 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31583 the first character.
31584
21ad0558
RM
315852012-08-21 Roland McGrath <roland@hack.frob.com>
31586
31587 * csu/elf-init.c (__libc_csu_irel): Function removed.
31588 * csu/libc-start.c (apply_irel): New function.
31589 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31590
0e1d9911
JM
315912012-08-21 Joseph Myers <joseph@codesourcery.com>
31592
31593 * sysdeps/unix/sysv/linux/kernel-features.h
31594 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31595 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31596 <kernel-features.h>.
31597 [__NR_fadvise64_64]: Make code unconditional.
31598 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31599 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31600 !__NR_fadvise64_64)]: Likewise.
31601 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31602 !__NR_fadvise64_64))]: Likewise.
31603 [__NR_fadvise64]: Make code unconditional.
31604 [!__NR_fadvise64]: Remove conditional code.
31605 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31606 <kernel-features.h>.
31607 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31608 unconditional.
31609 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31610 conditional code.
31611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31612 not include <kernel-features.h>.
31613 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31614 unconditional.
31615 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31616 conditional code.
31617 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31618 include <kernel-features.h>.
31619 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31620 unconditional.
31621 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31622 conditional code.
31623
14a50c9d
WS
316242012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31625
31626 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31627 slight instruction rearrangements per scrollpipe analysis.
31628 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31629
c0f4faf0
RM
316302012-08-20 Roland McGrath <roland@hack.frob.com>
31631
696da859
RM
31632 * manual/syslog.texi (syslog; vsyslog, closelog):
31633 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31634 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31635
c0f4faf0
RM
31636 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31637 DSOCAPS to match condition on defining it.
31638
348363b2
JM
316392012-08-20 Joseph Myers <joseph@codesourcery.com>
31640
a35cbf28
JM
31641 * sysdeps/unix/sysv/linux/kernel-features.h
31642 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31644 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31645 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31647 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31648 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31650 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31651 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31652
445f7ecd
JM
31653 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31654 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31655
348363b2
JM
31656 * sysdeps/unix/sysv/linux/kernel-features.h
31657 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31658 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31659 unconditional.
31660 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31661 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31662 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31663 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31664 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31665 Make code unconditional.
31666 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31667 (__mmap64) [!__NR_mmap2]: Likewise.
31668 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31669 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31670 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31671 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31672 [__NR_mmap2]: Make code unconditional.
31673 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31674 (__mmap64) [!__NR_mmap2]: Likewise.
31675
bc5bc0e5
AK
316762012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31677
31678 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31679
88d506de
AJ
316802012-08-18 Andreas Jaeger <aj@suse.de>
31681
31682 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31683
493387d2
MF
316842012-08-18 Mike Frysinger <vapier@gentoo.org>
31685
31686 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31687 * include/unistd.h (__have_sock_cloexec): Likewise.
31688 (__have_pipe2): Likewise.
31689 (__have_dup3): Likewise.
31690
a277af22
MF
316912012-08-18 Mike Frysinger <vapier@gentoo.org>
31692
31693 [BZ #9685]
31694 * include/unistd.h (__have_pipe2): Change define into an extern int.
31695 (__have_dup3): Likewise.
31696 * socket/have_sock_cloexec.c: Include fcntl.h.
31697 (__have_pipe2): New variable.
31698 (__have_dup3): Likewise.
31699
fdab8fd3
MF
317002012-08-17 Mike Frysinger <vapier@gentoo.org>
31701
31702 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31703
31035e80
MP
317042012-08-17 Marek Polacek <polacek@redhat.com>
31705
31706 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31707 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31708
3bd9e993
RM
317092012-08-17 Roland McGrath <roland@hack.frob.com>
31710
c91c505f
RM
31711 * configure.in: Add AC_SUBST for sysheaders.
31712 * configure: Regenerated.
31713 * config.make.in (sysheaders): New substituted variable.
31714
7c6f9d53
RM
31715 * sysdeps/unix/mkfifo.c: Moved ...
31716 * sysdeps/posix/mkfifo.c: ... here.
31717 * sysdeps/unix/mkfifoat.c: Moved ...
31718 * sysdeps/posix/mkfifoat.c: ... here.
31719
31720 * sysdeps/unix/utime.c: Moved ...
31721 * sysdeps/posix/utime.c: ... here.
31722
31723 * sysdeps/unix/time.c: Moved ...
31724 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
31725 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31726 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
31727
31728 * sysdeps/unix/nice.c: Moved ...
31729 * sysdeps/posix/nice.c: ... here.
31730
31731 * sysdeps/unix/alarm.c: Moved ...
31732 * sysdeps/posix/alarm.c: ... here.
31733
3bd9e993
RM
31734 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31735
d1f09384
JL
317362012-08-17 Jeff Law <law@redhat.com>
31737
31738 * intl/Makefile (codeset_mo): New variable.
31739 ($(codeset_mo)): New target.
31740 (tst-codeset.out): Depend on that. Remove explicit rule.
31741 (tst-gettext3.out, tst-gettext5.out): Likewise.
31742 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31743 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31744 * intl/tst-codeset.sh: Remove.
31745 * intl/tst-gettext3.sh: Likewise.
31746 * intl/tst-gettext5.sh: Likewise.
31747
2ae1ae5c
RM
317482012-08-17 Roland McGrath <roland@hack.frob.com>
31749
c31fdb83
RM
31750 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31751 * sysdeps/unix/syscalls.list: ... here.
31752
a0844057
RM
31753 * sysdeps/posix/getaddrinfo.c
31754 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31755 (gaiconf_init, gaiconf_reload): Use them.
31756 [!_STATBUF_ST_NSEC]
31757 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31758 Define using time_t rather than struct timespec.
31759
750c1f2a
RM
31760 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31761 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31762 Macros removed.
31763 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31764 [!NO_THREADS].
31765 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31766 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31767 Likewise.
31768
2ae1ae5c
RM
31769 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31770 __libc_cleanup_push argument.
31771
e66a42f5
RM
31772 * bits/param.h: New file.
31773 * misc/sys/param.h: New file.
31774 * include/sys/param.h: New file.
31775 * misc/Makefile (headers): Add bits/param.h.
31776 * sysdeps/generic/sys/param.h: File removed.
31777 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31778 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31779 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 31780 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 31781
b7c08a66
RM
31782 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31783 last change.
31784
b2e1c562
RM
31785 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31786 [_IO_MTSAFE_IO].
31787 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31788 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31789 New macros.
31790
c75ccd4c
RM
31791 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31792 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31793 rather than -D_IO_MTSAFE_IO conditionally.
31794 * stdio-common/Makefile (CPPFLAGS): Likewise.
31795 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31796 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31797 Use $(libio-mtsafe).
31798 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31799 of -D_IO_MTSAFE_IO.
31800 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31801 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31802 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31803 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31804 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31805 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31806 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31807 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31808 (CFLAGS-fread_u_chk.c): Likewise.
31809 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31810 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31811 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31812 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31813 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31814 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31815 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31816 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31817 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31818
31819 * libio/Makefile: Test [$(libc-reentrant) = yes]
31820 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31821
31822 * Makeconfig
31823 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31824 * sysdeps/pthread/configure: File removed.
31825 * sysdeps/pthread/Makeconfig: New file.
31826 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31827 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31828
d9195db8
GB
318292012-08-16 Gary Benson <gbenson@redhat.com>
31830
31831 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31832 unmapping the first object in a namespace.
31833
86466cd9
RM
318342012-08-16 Roland McGrath <roland@hack.frob.com>
31835
31836 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31837 (__internal_setnetgrent): ... this. Add internal_function to
31838 definition. Add libc_hidden_def.
31839 (setnetgrent): Update caller.
31840 (internal_endnetgrent): Renamed to ...
31841 (__internal_endnetgrent): ... this. Add internal_function to
31842 definition. Add libc_hidden_def.
31843 (endnetgrent): Update caller.
31844 (internal_getnetgrent_r): Renamed to ...
31845 (__internal_getnetgrent_r): ... this. Add internal_function to
31846 definition. Add libc_hidden_def.
31847 (__getnetgrent_r): Update caller.
31848 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31849
c3c8283c
JM
318502012-08-16 Joseph Myers <joseph@codesourcery.com>
31851
31852 * stdlib/longlong.h: Update from GCC.
31853
db1ee0a8
RM
318542012-08-16 Roland McGrath <roland@hack.frob.com>
31855
31856 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31857 on _QL, which is set by umul_ppmm but never used.
31858 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31859 variables, which are set by GMP macros but never used.
31860 * stdio-common/_itowa.c (_itowa): Likewise.
31861 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31862 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31863
30f69637
CD
318642012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31865
31866 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31867 struct La_sh_regs is not constant.
31868 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31869 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31870 and struct La_sparc64_regs are not constant.
31871
93a78ac4
JM
318722012-08-16 Joseph Myers <joseph@codesourcery.com>
31873
31874 * sysdeps/unix/sysv/linux/kernel-features.h
31875 (__ASSUME_POSIX_TIMERS): Remove.
31876 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31877 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31878 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31879 Make code unconditional.
31880 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31881 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31882 Make code unconditional.
31883 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31884 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31885 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31886 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31887 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31888 Make code unconditional.
31889 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31890 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31891 (__libc_missing_posix_timers): Remove.
31892
dd924cd7
RM
318932012-08-15 Roland McGrath <roland@hack.frob.com>
31894
4b4f2771
RM
31895 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31896 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31897
601c888b
RM
31898 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31899
176790a7
RM
31900 * elf/dl-sym.c: Include <stdlib.h>.
31901
329bc018
RM
31902 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31903 constants, which avoids warnings in 32-bit builds.
31904
e04e272d
RM
31905 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31906 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31907
952bf94a
RM
31908 * misc/lseek.c: File moved to ...
31909 * io/lseek.c: ... here.
31910
7c99b50a
RM
31911 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31912
dd924cd7
RM
31913 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31914 shifting LEN more than 31 bits at once.
31915
b3f479a8
LD
319162012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31917
31918 [BZ #14195]
8c4ae0d4
RM
31919 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31920 segmentation fault for a case of two empty input strings.
b3f479a8
LD
31921 * string/test-strncasecmp.c (check1): Renamed to...
31922 (bz12205): ...this.
31923 (bz14195): Add new testcase for two empty input strings and N > 0.
31924 (test_main): Call new testcase, adapt for renamed function.
31925
9c55864e
AJ
319262012-08-15 Andreas Jaeger <aj@suse.de>
31927
31928 [BZ #14090]
31929 * crypt/md5test2.c: New test, based on test supplied by Serge
31930 Belyshev <belyshev@depni.sinp.msu.ru>.
31931 * crypt/Makefile (xtests): Add md5test-giant..
31932 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31933
02dcb6c5
PE
319342012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31935
31936 [BZ #14090]
31937 * crypt/md5.c (md5_process_block): Don't assume the buffer
31938 length is less than 2**32.
31939 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31940 length is less than 2**64.
31941
a3f95dcc
RM
319422012-08-15 Roland McGrath <roland@hack.frob.com>
31943
be75d758
RM
31944 * string/str-two-way.h: Include <sys/param.h>.
31945 (MAX): Macro removed.
31946
7312ca90
RM
31947 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31948 Move #define and #undef of memmove to just before and after
31949 including <string.h>.
31950
9a0a5486
RM
31951 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31952 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31953 and after including <string.h>. Move declarations of
31954 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31955 to before #include "string/memmove.c".
31956
67cc348d
RM
31957 * include/dirent.h: Declare __getdirentries.
31958
a3f95dcc
RM
31959 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31960 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31961
ca98e171
MF
319622012-08-14 Mike Frysinger <vapier@gentoo.org>
31963
31964 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31965 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31966 * sysdeps/i386/configure: Regenerated.
31967 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31968 STABS_CURRENT_FILE, and STABS_FUN.
31969 (END): Remove call to STABS_FUN_END.
31970 (STABS_CURRENT_FILE1): Delete.
31971 (STABS_CURRENT_FILE): Likewise.
31972 (STABS_FUN): Likewise.
31973 (STABS_FUN_END): Likewise.
31974 (STABS_FUN2): Likewise.
31975 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31976 * sysdeps/x86_64/configure: Regenerated.
31977
5908bf46
RM
319782012-08-14 Roland McGrath <roland@hack.frob.com>
31979
31980 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 31981 * elf/dl-lookup.c: Likewise.
5908bf46 31982
f2c05b9e
JM
319832012-08-14 Joseph Myers <joseph@codesourcery.com>
31984
31985 * sysdeps/unix/sysv/linux/kernel-features.h
31986 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31987 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31988 unconditionally.
31989 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31990 unconditionally.
31991 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31992 condition on __ASSUME_CLONE_THREAD_FLAGS.
31993
e11f5155
AJ
319942012-08-14 Andreas Jaeger <aj@suse.de>
31995
31996 * sysdeps/i386/fpu/libm-test-ulps: Update.
31997
51a9ba86
MK
319982012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31999
2fdd4f78
AJ
32000 * include/atomic.h (atomic_exchange_and_add): Split into ...
32001 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32002 New atomic macros.
51a9ba86 32003
ba6cba9e
MT
320042012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32005
32006 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32007
42443a47
JL
320082012-08-13 Jeff Law <law@redhat.com>
32009
32010 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32011 null byte in the output string.
32012
121dce05
JM
320132012-08-10 Joseph Myers <joseph@codesourcery.com>
32014
32015 * sysdeps/unix/sysv/linux/kernel-features.h
32016 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32017 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32018 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32019 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32020 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32021 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32022 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32023
bf51f568
JL
320242012-08-09 Jeff Law <law@redhat.com>
32025
32026 [BZ #13939]
32027 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32028 When avoid_arena is set, don't retry in the that arena. Pick the
32029 next one, whatever it might be.
32030 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32031 (arena_lock): Pass in new parameter to arena_get2.
32032 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32033 arena_get2.
32034 (__libc_malloc): Unify retrying after main arena failure with
32035 __libc_memalign version.
32036 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32037
f85fa270
L
320382012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32039
32040 [BZ #14166]
32041 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32042 to __redirect_strstr.
32043 (__strstr_sse42): Use typeof __redirect_strstr.
32044 (__strstr_ia32): Likewise.
32045 (__libc_strstr): New prototype.
32046 (strstr): Renamed to ...
32047 (__libc_strstr): This.
32048 (strstr): New strong alias of __libc_strstr.
32049 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32050 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32051 __redirect_time.
32052 Include <time.h>.
32053 (__libc_time): New prototype.
32054 (time_ifunc): Replace time with __libc_time.
32055 (time): New strong alias and hidden definition of __libc_time.
32056 (__GI_time): Remove strong alias.
32057 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32058 Include <stddef.h>.
32059 (memmove): Redefined to __redirect_memmove.
32060 (__memmove_sse2): Use typeof __redirect_memmove.
32061 (__memmove_ssse3): Likewise.
32062 (__memmove_ssse3_back): Likewise.
32063 (__libc_memmove): New prototype.
32064 (memmove): Renamed to ...
32065 (__libc_memmove): This.
32066 (memmove): New strong alias of __libc_memmove.
32067
33b4a91e
MS
320682012-08-08 Mark Salter <msalter@redhat.com>
32069
32070 * elf/elf.h
32071 (R_MN10300_TLS_GD): Define.
32072 (R_MN10300_TLS_LD): Likewise.
32073 (R_MN10300_TLS_LDO): Likewise.
32074 (R_MN10300_TLS_GOTIE): Likewise.
32075 (R_MN10300_TLS_IE): Likewise.
32076 (R_MN10300_TLS_LE): Likewise.
32077 (R_MN10300_TLS_DTPMOD): Likewise.
32078 (R_MN10300_TLS_DTPOFF): Likewise.
32079 (R_MN10300_TLS_TPOFF): Likewise.
32080 (R_MN10300_SYM_DIFF): Likewise.
32081 (R_MN10300_ALIGN): Likewise.
32082 (R_MN10300_NUM): Update.
32083
b36137f1
JM
320842012-08-08 Joseph Myers <joseph@codesourcery.com>
32085
32086 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32087 Remove.
32088
cdd915fd
RM
320892012-08-08 Roland McGrath <roland@hack.frob.com>
32090
a2433aac
RM
32091 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32092
cdd915fd
RM
32093 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32094 sysdeps/unix -> sysdeps/posix move.
32095 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32096
bf9b740a
AM
320972012-08-07 Allan McRae <allan@archlinux.org>
32098
32099 [BZ #14303]
32100 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32101 (SUNOS_CPP): Likewise.
32102 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32103 not found.
32104 (open_input): Call CPP using execvp.
32105
93df14ee
JM
321062012-08-07 Joseph Myers <joseph@codesourcery.com>
32107
32108 * sysdeps/unix/sysv/linux/kernel-features.h
32109 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32110 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32111 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32112 (__ASSUME_WAITID_SYSCALL): Likewise.
32113 * sysdeps/unix/sysv/linux/dl-execstack.c
32114 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32115 code unconditional.
32116 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32117 conditional code.
32118 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32119 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32120 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32121 code.
32122 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32123 unconditional.
32124 [__ASSUME_WAITID_SYSCALL]: Likewise.
32125 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32126
d34689de
RM
321272012-08-07 Roland McGrath <roland@hack.frob.com>
32128
a281decc
RM
32129 * sysdeps/unix/closedir.c: Renamed to ...
32130 * sysdeps/posix/closedir.c: ... here.
32131 * sysdeps/unix/dirfd.c: Renamed to ...
32132 * sysdeps/posix/dirfd.c: ... here.
32133 * sysdeps/unix/dirstream.h: Renamed to ...
32134 * sysdeps/posix/dirstream.h: ... here.
32135 * sysdeps/unix/fdopendir.c: Renamed to ...
32136 * sysdeps/posix/fdopendir.c: ... here.
32137 * sysdeps/unix/opendir.c: Renamed to ...
32138 * sysdeps/posix/opendir.c: ... here.
32139 * sysdeps/unix/readdir.c: Renamed to ...
32140 * sysdeps/posix/readdir.c: ... here.
32141 * sysdeps/unix/readdir_r.c: Renamed to ...
32142 * sysdeps/posix/readdir_r.c: ... here.
32143 * sysdeps/unix/rewinddir.c: Renamed to ...
32144 * sysdeps/posix/rewinddir.c: ... here.
32145 * sysdeps/unix/seekdir.c: Renamed to ...
32146 * sysdeps/posix/seekdir.c: ... here.
32147 * sysdeps/unix/telldir.c: Renamed to ...
32148 * sysdeps/posix/telldir.c: ... here.
32149 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32150 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32151 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32152 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32153
22895b47
RM
32154 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32155 * bits/fcntl.h: ... here.
32156
707a53b6
RM
32157 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32158 not 0.
32159 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32160 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32161 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32162 (struct flock): Move l_start, l_len to the beginning.
32163 Use __pid_t for l_pid.
32164 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32165 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32166 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32167 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32168 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32169 [__USE_LARGEFILE64] (struct flock64): New type.
32170 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32171
f0bd3e25
RM
32172 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32173 * bits/dirent.h: ... here.
32174
d34689de
RM
32175 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32176 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32177
6dad2c06
JM
321782012-08-07 Joseph Myers <joseph@codesourcery.com>
32179
32180 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32181 Change from 2.6.0 to 2.6.16.
32182 * sysdeps/unix/sysv/linux/configure: Regenerated.
32183 * sysdeps/unix/sysv/linux/kernel-features.h
32184 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32185 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32186 version.
32187 (__ASSUME_UTIMES): Likewise.
32188 (__ASSUME_CLONE_STOPPED): Remove.
32189 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32190 architectures, not kernel version.
32191 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32192 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32193 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32194 (__ASSUME_WAITID_SYSCALL): Likewise.
32195 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32196 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32197 * README: State 2.6.16 as minimum Linux kernel version. Do not
32198 refer to older versions.
32199
03af9520
RM
322002012-08-06 Roland McGrath <roland@hack.frob.com>
32201
8e49df1d
RM
32202 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32203 Define alphasort64 as an alias.
32204 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32205 Define versionsort64 as an alias.
32206 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32207 Define scandir64 as an alias.
32208 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32209 Define scandirat64 as an alias.
32210 * dirent/alphasort64.c (alphasort64):
32211 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32212 * dirent/versionsort64.c: Likewise.
32213 * dirent/scandir64.c: Likewise.
32214 * dirent/scandirat64.c: Likewise.
32215 * sysdeps/wordsize-64/alphasort.c: File removed.
32216 * sysdeps/wordsize-64/alphasort64.c: File removed.
32217 * sysdeps/wordsize-64/scandir.c: File removed.
32218 * sysdeps/wordsize-64/scandir64.c: File removed.
32219 * sysdeps/wordsize-64/scandirat.c: File removed.
32220 * sysdeps/wordsize-64/scandirat64.c: File removed.
32221 * sysdeps/wordsize-64/versionsort.c: File removed.
32222 * sysdeps/wordsize-64/versionsort64.c: File removed.
32223 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32224 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32225 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32226 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32227 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32228 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32229 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32230 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32231
32232 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32233 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32234 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32235 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32236 [defined __arch64__ || defined __sparcv9]
32237 (__INO_T_MATCHES_INO64_T): New macro.
32238 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32239 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32240 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32241 * sysdeps/unix/sysv/linux/bits/dirent.h
32242 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32243 (_DIRENT_MATCHES_DIRENT64): New macro.
32244
03af9520
RM
32245 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32246 Define lockf64 as an alias.
32247 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32248 Define fseeko64 as an alias.
32249 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32250 Define ftello64 as an alias.
32251 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32252 Define _IO_fgetpos64 and fgetpos64 as aliases.
32253 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32254 Define _IO_fsetpos64 and fsetpos64 as aliases.
32255 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32256 Conditionalize body on this.
32257 * libio/fseeko64.c: Likewise.
32258 * libio/ftello64.c: Likewise.
32259 * libio/iofgetpos64.c: Likewise.
32260 * libio/iofsetpos64.c: Likewise.
32261 * sysdeps/wordsize-64/lockf.c: File removed.
32262 * sysdeps/wordsize-64/lockf64.c: File removed.
32263 * sysdeps/wordsize-64/fseeko.c: File removed.
32264 * sysdeps/wordsize-64/fseeko64.c: File removed.
32265 * sysdeps/wordsize-64/ftello.c: File removed.
32266 * sysdeps/wordsize-64/ftello64.c: File removed.
32267 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32268 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32269 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32270 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32271 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32272 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32273 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32274 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32275 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32276 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32277 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32278 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32279 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32280 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32281
32282 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32283 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32284 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32285 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32286 [defined __arch64__ || defined __sparcv9]
32287 (__OFF_T_MATCHES_OFF64_T): New macro.
32288 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32289 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32291 (__OFF_T_MATCHES_OFF64_T): New macro.
32292
c5757acd
L
322932012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32294
32295 * stdlib/secure-getenv.c (__secure_getenv): Replace
32296 GLIBC_2_16 with GLIBC_2_17.
32297
3a31811e
L
322982012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32299
32300 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32301 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32302
faa2bccb
DM
323032012-08-03 David S. Miller <davem@davemloft.net>
32304
32305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32306
85fe1997
JM
323072012-08-03 Joseph Myers <joseph@codesourcery.com>
32308
32309 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32310 Remove.
32311 (__ASSUME_CORRECT_SI_PID): Likewise.
32312 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32313 (__ASSUME_TMPFS_NAME): Likewise.
32314 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32315 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32316 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32317 (HAVE_AUX_SECURE): Make definition unconditional.
32318 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32319 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32320
4f75b7a0
RM
323212012-08-03 Roland McGrath <roland@hack.frob.com>
32322
32323 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32324 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32325 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32326 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32327 __eloop_threshold instead of SYMLOOP_MAX.
32328
32329 * sysdeps/generic/eloop-threshold.h: New file.
32330 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32331 of MAXSYMLINKS.
32332 * elf/chroot_canon.c (chroot_canon): Likewise.
32333
7aab07e4
JM
323342012-08-03 Joseph Myers <joseph@codesourcery.com>
32335
32336 [BZ #13717]
32337 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32338 Change to 2.6.0 everywhere.
32339 * sysdeps/unix/sysv/linux/configure: Regenerated.
32340 * sysdeps/unix/sysv/linux/kernel-features.h
32341 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32342 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32343 kernel versions.
32344 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32345 (__ASSUME_FUTEX_REQUEUE): Remove.
32346 (__ASSUME_STATFS64): Define unconditionally.
32347 (__ASSUME_AT_SECURE): Likewise.
32348 (__ASSUME_CORRECT_SI_PID): Likewise.
32349 (__ASSUME_TGKILL): Define without depending on kernel version for
32350 i386.
32351 (__ASSUME_UTIMES): Likewise.
32352 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32353 kernel version.
32354 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32355 (__ASSUME_TMPFS_NAME): Likewise.
32356 * README: Update reference to Linux kernel versions.
32357
b67e9372
MP
323582012-08-02 Marek Polacek <polacek@redhat.com>
32359
1f529f7d 32360 [BZ# 14150]
b67e9372
MP
32361 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32362 libc_cv_asm_type_prefix with %.
32363 * configure: Regenerated.
d2441631
RM
32364 * include/libc-symbols.h: Remove comment about
32365 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
32366 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32367 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32368 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32369 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32370 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32371 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32372 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32373 * elf/tst-unique2mod1.c: Likewise.
32374 * elf/tst-unique1mod2.c: Likewise.
32375 * elf/tst-unique1mod1.c: Likewise.
32376 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32377 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32378 Replace ASM_TYPE_DIRECTIVE with .type.
32379 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32380 * sysdeps/i386/sysdep.h: Likewise.
32381 * sysdeps/x86_64/sysdep.h: Likewise.
32382 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
32383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32384 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 32385 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
32386 * sysdeps/powerpc/powerpc32/sysdep.h:
32387 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
32388 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32389 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32390 * sysdeps/i386/fpu/e_powf.S: Likewise.
32391 * sysdeps/i386/fpu/e_expl.S: Likewise.
32392 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32393 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32394 * sysdeps/i386/fpu/e_pow.S: Likewise.
32395 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32396 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32397 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32398 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32399 * sysdeps/i386/fpu/e_log2.S: Likewise.
32400 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32401 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32402 * sysdeps/i386/fpu/e_powl.S: Likewise.
32403 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32404 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32405 * sysdeps/i386/fpu/e_logl.S: Likewise.
32406 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32407 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32408 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32409 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32410 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32411 * sysdeps/i386/fpu/e_log.S: Likewise.
32412 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32413 * sysdeps/i386/fpu/e_logf.S: Likewise.
32414 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32415 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32416 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32417 * sysdeps/i386/fpu/e_log10.S: Likewise.
32418 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32419 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32420 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32421 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32422 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32423 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32424 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32425 * sysdeps/i386/i686/strtok.S: Likewise.
32426 * sysdeps/i386/i386-mcount.S: Likewise.
32427 * sysdeps/i386/strtok.S: Likewise.
32428 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32429 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32430 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32431 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32432 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32433 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32434 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32435 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32436 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32437 * sysdeps/x86_64/_mcount.S: Likewise.
32438 * sysdeps/x86_64/strtok.S: Likewise.
32439 * sysdeps/sh/_mcount.S: Likewise.
32440
2747bf9a
RM
324412012-08-01 Roland McGrath <roland@hack.frob.com>
32442
32443 * libio/iofopen.c: Include <fcntl.h>.
32444 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32445 (_IO_fopen64, fopen64): Define as aliases.
32446 * libio/iofopen64.c: Include <fcntl.h>.
32447 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32448 Conditionalize body on this.
32449 * sysdeps/wordsize-64/iofopen.c: File removed.
32450 * sysdeps/wordsize-64/iofopen64.c: File removed.
32451
3fb791b8
MP
324522012-08-01 Marek Polacek <polacek@redhat.com>
32453
32454 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32455 Use dlfcn directly instead of a variable.
32456 (binfmt-subdir): Do not define.
32457 (dlfcn): Likewise.
32458
a9f1039f
JM
324592012-08-01 Joseph Myers <joseph@codesourcery.com>
32460
23bddc06
JM
32461 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32462 Remove all definitions.
32463 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32464 <kernel-features.h>.
32465 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32466 (miss_F_GETOWN_EX): Remove all definitions.
32467 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32468 macro definition.
32469 [!__ASSUME_FCNTL64]: Remove conditional code.
32470 [__ASSUME_FCNTL64]: Make code unconditional.
32471 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32472 <kernel-features.h>.
32473 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32474 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32475 (lockf64) [__NR_fcntl64]: Make code unconditional.
32476 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32477
a9f1039f
JM
32478 * sysdeps/unix/sysv/linux/kernel-features.h
32479 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32480 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32481 Make code unconditional.
32482 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32483 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32485 [__NR_vfork]: Make code unconditional.
32486 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32487 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32489 [__NR_vfork]: Make code unconditional.
32490 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32491 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32492
09c0ee5f
RM
324932012-08-01 Roland McGrath <roland@hack.frob.com>
32494
48aec5b9
RM
32495 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32496 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32497
cd97c966
RM
32498 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32499 Define mkstemp64 as an alias.
3f55550c
RM
32500 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32501 Define mkstemps64 as an alias.
cd97c966
RM
32502 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32503 Define mkostemp64 as an alias.
b8625cfc
RM
32504 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32505 Define mkostemps64 as an alias.
cd97c966
RM
32506 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32507 Conditionalize body on this.
32508 * misc/mkostemp64.c: Likewise.
b8625cfc 32509 * misc/mkostemps64.c: Likewise.
3f55550c 32510 * misc/mkstemps64.c: Likewise.
cd97c966
RM
32511 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32512 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32513 * sysdeps/wordsize-64/mkostemp.c: File removed.
32514 * sysdeps/wordsize-64/mkstemp.c: File removed.
32515 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32516 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32517 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32518 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32519
09c0ee5f
RM
32520 [BZ #14138]
32521 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32522 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32523 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32524 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32525
32526 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32527 compat_symbol macros from <shlib-compat.h> rather than the underlying
32528 default_symbol_version and symbol_version macros, so that DEFAULT
32529 lines in shlib-versions are respected.
32530 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32531
7e66ee51
FW
325322012-08-01 Florian Weimer <fweimer@redhat.com>
32533
32534 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32535 Declare with warn_unused_result.
32536 (setgid, setregid, setegid, setresgid): Likewise.
32537 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32538 Likewise.
32539 * WUR-REPORT: Remove set*id functions.
32540
d2a54255
PT
325412012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32542
32543 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32544
7ecdb005
RM
325452012-07-31 Roland McGrath <roland@hack.frob.com>
32546
b4180a5e 32547 [BZ #10191]
789bd351
RM
32548 * include/sys/socket.h (__libc_accept, __libc_accept4):
32549 Add attribute_hidden.
32550 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32551
40ce302d
RM
32552 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32553 use of PTR_MANGLE.
32554 * inet/getnetgrent_r.c (setup): Likewise.
32555
7ecdb005
RM
32556 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32557
e2eabb2c
DM
325582012-07-31 David S. Miller <davem@davemloft.net>
32559
32560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32561
d0419dbf
JM
325622012-07-31 Joseph Myers <joseph@codesourcery.com>
32563
32564 [BZ #13629]
32565 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32566 value between 1.0 and 2.0 and smaller part has absolute value less
32567 than 1.0.
32568 * math/s_clog10.c (__clog10): Likewise.
32569 * math/s_clog10f.c (__clog10f): Likewise.
32570 * math/s_clog10l.c (__clog10l): Likewise.
32571 * math/s_clogf.c (__clogf): Likewise.
32572 * math/s_clogl.c (__clogl): Likewise.
32573 * math/libm-test.inc (clog_test): Add more tests.
32574 (clog10_test): Likewise.
32575 * sysdeps/i386/fpu/libm-test-ulps: Update.
32576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32577
2bc13872
FW
325782012-07-31 Florian Weimer <fweimer@redhat.com>
32579
32580 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32581 Exit with zero in case no suitable GID is found, and write a
32582 message to standard error.
32583
bea9b193
RM
325842012-07-30 Roland McGrath <roland@hack.frob.com>
32585
32586 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32587 rather than to 1.
32588 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32589 (MAXPATHLEN): Removed.
32590 (NOGROUP, NODEV): New macros.
32591 (setbit, clrbit, isset, isclr): New macros.
32592 (howmany, roundup, powerof2): New macros.
32593 (DEV_BSIZE): New macro.
32594
32595 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32596 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32597
32598 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32599 definition on [!__NO_LONG_DOUBLE_MATH].
32600
32601 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32602 PTR_MANGLE and PTR_DEMANGLE.
32603
32604 * socket/accept4.c (accept4): Rename to __libc_accept4.
32605 Define accept4 as a weak alias.
32606
32607 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32608 on [_DIRENT_HAVE_D_TYPE].
32609 * io/ftw.c (ftw_dir): Likewise.
32610
32611 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32612
32613 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32614
32615 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32616 Use the BSD numbers rather than the arbitrary ones we had.
32617 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32618 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32619 (SIGXCPU, SIGXFSZ): New macros.
32620 (_NSIG): Now 32.
32621
32622 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32623 initializer on [_LIBC_REENTRANT].
32624
32625 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32626 definitions inside [_POSIX_MAPPED_FILES].
32627
32628 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32629
32630 * dirent/opendir.c: Include <fcntl.h>.
32631
32632 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32633 (__libc_getspecific): Likewise.
32634 (__libc_key_create): Likewise.
32635
32636 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32637 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32638 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32639 (tmpfile64): Define as alias.
32640 * sysdeps/wordsize-64/tmpfile.c: File removed.
32641 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32642 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32643 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32644
32645 * stdio-common/vfscanf.c: Include <stdbool.h>.
32646 * nss/makedb.c: Likewise.
32647 * stdio-common/_i18n_number.h: Likewise.
32648 * argp/argp-help.c: Likewise.
32649 * posix/wordexp.c: Likewise.
32650 * sysdeps/posix/spawni.c: Likewise.
32651 * nss/nss_files/files-initgroups.c: Likewise.
32652 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32653 * nss/nss_files/files-initgroups.c: Likewise.
32654 * nss/nss_db/db-netgrp.c: Likewise.
32655 * nss/nss_db/db-initgroups.c: Likewise.
32656 * io/fchmodat.c: Include <sys/stat.h>.
32657
32658 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32659 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32660
32661 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32662 [HAVE_MMAP].
32663
32664 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32665 Add multiple inclusion protection.
32666
e5abc686
DM
326672012-07-27 David S. Miller <davem@davemloft.net>
32668
32669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32670
815e6fa3
GB
326712012-07-27 Gary Benson <gbenson@redhat.com>
32672
32673 [BZ #14298]
32674 * elf/rtld.c: Include <stap-probe.h>.
32675 (dl_main): Added static probes "init_start" and "init_complete".
32676 * elf/dl-load.c: Include <stap-probe.h>.
32677 (lose): Take new parameter "nsid".
32678 Added static probe "map_failed".
32679 (_dl_map_object_from_fd): Pass namespace id to lose.
32680 Added static probe "map_start".
32681 (open_verify): Pass namespace id to lose.
32682 * elf/dl-open.c: Include <stap-probe.h>.
32683 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32684 and "reloc_complete".
32685 * elf/dl-close.c: Include <stap-probe.h>.
32686 (_dl_close_worker): Added static probes "unmap_start" and
32687 "unmap_complete".
32688 * elf/rtld-debugger-interface.txt: New file documenting the above.
32689
9f98c16c
RM
326902012-07-26 Roland McGrath <roland@hack.frob.com>
32691
32692 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32693 rather than a string variable.
32694 * sunrpc/rpc_main.c (h_output): Likewise.
32695 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32696
f3c22df3
PT
326972012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32698
32699 * inet/check_native.c: New file.
32700
3129cfc6
JM
327012012-07-26 Joseph Myers <joseph@codesourcery.com>
32702
da865e95
JM
32703 [BZ #13629]
32704 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32705 if larger part has absolute value 1.0.
32706 * math/s_clog10.c (__clog10): Likewise.
32707 * math/s_clog10f.c (__clog10f): Likewise.
32708 * math/s_clog10l.c (__clog10l): Likewise.
32709 * math/s_clogf.c (__clogf): Likewise.
32710 * math/s_clogl.c (__clogl): Likewise.
32711 * math/libm-test.inc (clog_test): Add more tests.
32712 (clog10_test): Likewise.
32713 * sysdeps/i386/fpu/libm-test-ulps: Update.
32714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32715
3129cfc6
JM
32716 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32717 (pltexit): Likewise.
32718 (La_regs): Likewise.
32719 (La_retval): Likewise.
32720 (int_retval): Likewise.
32721 Update #error for removed macros to refer only to definitions in
32722 tst-audit.h.
32723 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32724 macro.
32725 (pltexit): Likewise.
32726 (La_regs): Likewise.
32727 (La_retval): Likewise.
32728 (int_retval): Likewise.
32729 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32730 macro.
32731 (pltexit): Likewise.
32732 (La_regs): Likewise.
32733 (La_retval): Likewise.
32734 (int_retval): Likewise.
32735 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32736 macro.
32737 (pltexit): Likewise.
32738 (La_regs): Likewise.
32739 (La_retval): Likewise.
32740 (int_retval): Likewise.
32741 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32742 macro.
32743 (pltexit): Likewise.
32744 (La_regs): Likewise.
32745 (La_retval): Likewise.
32746 (int_retval): Likewise.
32747 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32748 macro.
32749 (pltexit): Likewise.
32750 (La_regs): Likewise.
32751 (La_retval): Likewise.
32752 (int_retval): Likewise.
32753 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32754 macro.
32755 (pltexit): Likewise.
32756 (La_regs): Likewise.
32757 (La_retval): Likewise.
32758 (int_retval): Likewise.
32759 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32760 macro definitions in tst-audit.h.
32761 * sysdeps/i386/tst-audit.h: New file.
32762 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32763 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32764 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32765 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32766 * sysdeps/sh/tst-audit.h: Likewise.
32767 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32768 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32769 * sysdeps/x86_64/tst-audit.h: Likewise.
32770
bfc07087
AJ
327712012-07-26 Andreas Jaeger <aj@suse.de>
32772
b1b2aaf8
AJ
32773 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32774 ptrace.
32775
32776 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32777 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32778 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32779 PTRACE_O_MASK.
32780 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32781 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32782 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32783
bfc07087
AJ
32784 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32785 value.
32786
32787 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32788 _sigsys.
32789 (si_call_addr, si_syscall, si_arch): Define new macro.
32790 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32791 _sigsys.
32792 (si_call_addr, si_syscall, si_arch): Define new marcro.
32793 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32794 _sigsys.
32795 (si_call_addr, si_syscall, si_arch): Define new macro.
32796 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32797 _sigsys.
32798 (si_call_addr, si_syscall, si_arch): Define new macro.
32799
89b4b02f
JM
328002012-07-25 Joseph Myers <joseph@codesourcery.com>
32801
32802 [BZ #13717]
32803 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32804 Change to 2.4.21 where previously 2.4.1.
32805 * sysdeps/unix/sysv/linux/configure: Regenerated.
32806 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32807 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32808 Linux kernel version.
32809 (__ASSUME_STD_AUXV): Remove.
32810 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32811 kernel version.
32812 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32813 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32814 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32815 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32816 (__ASSUME_NETLINK_SUPPORT): Likewise.
32817 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32818 (__no_netlink_support): Remove conditional definition.
32819 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32820 Remove.
32821 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32822 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32823 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32824 (if_nameindex_ioctl): Remove.
32825 (if_nameindex_netlink): Do not handle __no_netlink_support.
32826 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32827 code.
32828 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32829 Remove conditional code.
32830 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32831 code.
32832 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32833 unconditional.
32834 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32835 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32836 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32837 Remove.
32838 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32839 [!__ASSUME_STD_AUXV]: Remove conditional code.
32840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32841 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32842 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32844 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32845 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32846 code.
32847 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32849 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32850 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32851 conditional code.
32852 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32854 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32855 code.
32856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32857 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32858 conditional code.
32859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32860 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32861 code unconditional.
32862 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32863 conditional code.
32864 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32865 unconditional.
32866 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32867 conditional code.
32868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32869 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32870 unconditional.
32871 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32872 conditional code.
32873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32874 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32875 code unconditional.
32876 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32877 conditional code.
32878 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32879 unconditional.
32880 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32881 conditional code.
32882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32883 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32884 code unconditional.
32885 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32886 conditional code.
32887 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32888 unconditional.
32889 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32890 conditional code.
32891
842a39cd
AS
328922012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32893
32894 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32895 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32896 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32897 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32898 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32899 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32900 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32901 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32902 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32903 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32904 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32905 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32906 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32907 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32908 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32909 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32910 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32911 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32912 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32913 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32914 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32915 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32916 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32917
84b3fd84
FW
329182012-07-25 Florian Weimer <fweimer@redhat.com>
32919
32920 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
32921 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32922 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32923 Introduce __libc_secure_getenv.
0c7936d5
FW
32924 * stdlib/Versions (2.17): Add secure_getenv
32925 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32926 * stdlib/secure-getenv.c: Rename __secure_getenv to
32927 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32928 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
32929 * stdlib/tst-secure-getenv.c: New.
32930 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
32931 * manual/startup.texi (Environment Access): Document
32932 secure_getenv.
84b3fd84
FW
32933 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32934 __libc_secure_getenv.
32935 * inet/ruserpass.c (ruserpass): Likewise.
32936 * malloc/mtrace.c (mtrace): Likewise.
32937 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 32938 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
32939 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32940 * sysdeps/posix/tempname.c: Likewise. Evaluate
32941 HAVE_SECURE_GETENV.
32942 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 32943 __secure_getenv to __libc_secure_getenv.
84b3fd84 32944 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
32945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32946 Likewise.
32947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32948 Likewise.
32949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32951 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 32956
56e49b71
JM
329572012-07-25 Joseph Myers <joseph@codesourcery.com>
32958
32959 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32960 (struct La_i86_retval): Likewise.
32961 (struct La_x86_64_regs): Likewise.
32962 (struct La_x86_64_retval): Likewise.
32963 (struct La_x32_regs): Likewise.
32964 (struct La_x32_retval): Likewise.
32965 (struct La_ppc32_regs): Likewise.
32966 (struct La_ppc32_retval): Likewise.
32967 (struct La_ppc64_regs): Likewise.
32968 (struct La_ppc64_retval): Likewise.
32969 (struct La_sh_regs): Likewise.
32970 (struct La_sh_retval): Likewise.
32971 (struct La_s390_32_regs): Likewise.
32972 (struct La_s390_32_retval): Likewise.
32973 (struct La_s390_64_regs): Likewise.
32974 (struct La_s390_64_retval): Likewise.
32975 (struct La_sparc32_regs): Likewise.
32976 (struct La_sparc32_retval): Likewise.
32977 (struct La_sparc64_regs): Likewise.
32978 (struct La_sparc64_retval): Likewise.
32979 (struct audit_ifaces): Remove architecture-specific pltenter and
32980 pltexit members.
32981 * sysdeps/i386/ldsodefs.h: New file.
32982 * sysdeps/powerpc/ldsodefs.h: Likewise.
32983 * sysdeps/s390/ldsodefs.h: Likewise.
32984 * sysdeps/sh/ldsodefs.h: Likewise.
32985 * sysdeps/sparc/ldsodefs.h: Likewise.
32986 * sysdeps/x86_64/ldsodefs.h: Likewise.
32987
354691b7
MP
329882012-07-25 Marek Polacek <polacek@redhat.com>
32989
32990 [BZ #6808]
32991 * math/libm-test.inc (yn_test): Add another test.
32992 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32993 to ERANGE when the result is +-Inf.
32994 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32995 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32996 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32997 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32998
bf9e2071
JM
329992012-07-24 Joseph Myers <joseph@codesourcery.com>
33000
33001 * conform/data/time.h-data (NULL): Use macro-constant. Require
33002 equal to 0.
33003 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33004 clock_t.
33005 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33006
57633811
TS
330072012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33008
33009 * configure.in <sysdeps resolving>: Correct printing
33010 Implies_before.
33011 * configure: Regenerate.
33012
c23c33b0
TS
330132012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33014
33015 * math/w_ilogb.c: Include <limits.h>.
33016 * math/w_ilogbl.c: Likewise.
33017
b5982523
JM
330182012-07-20 Joseph Myers <joseph@codesourcery.com>
33019
33020 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33021 va_copy. Document allowing for unavailable va_copy only as
33022 pre-C99 compatibility.
33023 * manual/string.texi (Copying and Concatenation): Use va_copy
33024 instead of __va_copy in concat example.
33025
ac4ea442
PT
330262012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33027
33028 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33029 (__sendto): Use create_address_port. Initialize APORT and deallocate
33030 it if not null.
33031
f98eafbd
PT
33032 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33033 with O_NOLINK passed to __file_name_lookup.
33034
898c7aab
PT
33035 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33036 with O_NOLINK passed to __file_name_lookup.
33037
0ced335a
PT
33038 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33039 negative N or less than NGIDS.
33040
b3404dbd
PT
33041 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33042 type to string_t. Set ERANGE as errno and return it if NAME is not big
33043 enough. Use memcpy instead of strncpy.
33044
0f48659e
JM
330452012-07-20 Joseph Myers <joseph@codesourcery.com>
33046
33047 * elf/Makefile (check-data): Remove.
33048 (localplt.data): New vpath directive.
33049 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33050 instead of $(check-data).
33051 * scripts/data/localplt-generic.data: Move to ...
33052 * sysdeps/generic/localplt.data: ... here.
33053 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33054 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33055 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33057 ... here.
33058 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33060 ... here.
33061 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33063 ... here.
33064 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33066 ... here.
33067 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33069 ... here.
33070 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33072 ... here.
33073
d37cbdaa
AZ
330742012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33075
33076 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33077 PPC32 and PPC64 files.
33078 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33079 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33080
46f85fc2
AK
330812012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33082
33083 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33084 __makecontext_ret to ...
33085 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33086 ... here and call exit if uc_link is NULL. New file.
33087 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33088 __makecontext_ret.S.
33089 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33090 __makecontext_ret to ...
33091 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33092 ... here and call exit if uc_link is NULL. New file.
33093 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33094 __makecontext_ret.S.
33095
08f43f9b
AK
330962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33097
33098 * elf/elf.h (R_390_IRELATIVE): New definition.
33099 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33100 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33101 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33102 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33103 (elf_machine_lazy_rel): Likewise.
33104 * sysdeps/s390/dl-irel.h: New file.
33105 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33106 * sysdeps/s390/s390-64/memset.S: New asm code.
33107 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33108 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33109 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33110 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33111 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33112 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33113 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33114 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33115 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33116 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33117 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33118 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33119 * sysdeps/s390/s390-32/memset.S: New asm code.
33120 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33121
3b05db33
MP
331222012-07-17 Marek Polacek <polacek@redhat.com>
33123
33124 [BZ #14349]
33125 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33126 * sysdeps/s390/s390-64/configure.in: Likewise.
33127 * sysdeps/sparc/configure.in: Likewise.
33128 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33129 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33130 * sysdeps/i386/configure.in: Likewise.
33131 * sysdeps/x86_64/configure.in: Likewise.
33132 * sysdeps/sh/configure.in: Likewise.
33133 * sysdeps/s390/s390-32/configure: Regenerated.
33134 * sysdeps/s390/s390-64/configure: Likewise.
33135 * sysdeps/x86_64/configure: Likewise.
33136 * sysdeps/sh/configure: Likewise.
33137 * sysdeps/powerpc/powerpc64/configure: Likewise.
33138 * sysdeps/powerpc/powerpc32/configure: Likewise.
33139 * sysdeps/sparc/configure: Likwise.
33140 * sysdeps/i386/configure: Likewise.
33141
a66877c6
MP
33142 * elf/dl-open.c: Comment fixes.
33143
cfc82fd8
JM
331442012-07-17 Joseph Myers <joseph@codesourcery.com>
33145
bd29910a
JM
33146 * Makefile [CXX] (check-data): Remove.
33147 [CXX] (c++-types.data): New vpath directive.
33148 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33149 vpath. Do not allow for C++ type data being missing.
33150 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33151 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33152 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33153 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33154 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33155 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33156 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33158 ... here.
33159 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33161 ... here.
33162 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33164 ... here.
33165 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33167 ... here.
33168 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33170 ... here.
33171 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33173 ... here.
33174 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33176 ... here.
33177 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33179
cfc82fd8
JM
33180 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33181 definitions to architecture-specific files.
33182 (TLS_IE): Likewise.
33183 (TLS_LD): Likewise.
33184 (TLS_GD): Likewise.
33185 * sysdeps/i386/tls-macros.h: New file.
33186 * sysdeps/powerpc/tls-macros.h: Likewise.
33187 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33188 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33189 * sysdeps/sh/tls-macros.h: Likewise.
33190 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33191 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33192 * sysdeps/x86_64/tls-macros.h: Likewise.
33193
f7db3170
TS
331942012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33195
07cbfc23
TS
33196 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33197 zero value for regular exit case.
33198
f7db3170
TS
33199 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33200 (__start_context): Preserve zero value for regular exit case.
33201
dc97c227
TS
332022012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33203 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33204
33205 * manual/setjmp.texi (setcontext): Clarify normal process
33206 termination when uc_link is the null pointer.
33207 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33208 exit call.
33209
d0cd7d02
AS
332102012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33211
33212 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33213 preprocessor. Test for each exception mask separately.
33214
dd318934
AJ
332152012-07-16 Andreas Jaeger <aj@suse.de>
33216
33217 * po/ru.po: Update from translation team.
33218
8048311a
JM
332192012-07-15 Joseph Myers <joseph@codesourcery.com>
33220
33221 * conform/data/string.h-data (NULL): Use macro-constant. Require
33222 equal to 0.
33223 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33224 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33225 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33226 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33227 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33228
b637d46e
AJ
332292012-07-13 Andreas Jaeger <aj@suse.de>
33230
33231 * po/fr.po: Update from translation team.
33232
541428fe
MP
332332012-07-12 Marek Polacek <polacek@redhat.com>
33234
33235 [BZ #14173]
33236 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33237 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33238 loop condition.
33239
ec332e94
JM
332402012-07-12 Joseph Myers <joseph@codesourcery.com>
33241
33242 [BZ #13717]
33243 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33244 Change to 2.4.1 where previously 2.4.0.
33245 * sysdeps/unix/sysv/linux/configure: Regenerated.
33246 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33247 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33248 version.
33249 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33250 (__ASSUME_AT_CLKTCK): Remove.
33251 (__ASSUME_AT_PAGESIZE): Likewise.
33252 (__ASSUME_AT_XID): Likewise.
33253 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33254 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33255 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33256 unconditionally.
33257 (HAVE_AUX_PAGESIZE): Likewise.
33258 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33259 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33260 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33261
7b6e99be
JB
332622012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33263
33264 [BZ #14307]
33265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33266 the temporary buffer used to invoke __gethostbyname2_r,
33267 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33268 host_data / struct gaih_addrtuple.
33269 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33270 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33271 header file nss/nsswitch.h.
33272 * nss/nsswitch.h (global scope): Add definition of implementation
33273 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33274 resolv/nss_dns/dns-host.c).
33275
608404eb
AJ
332762012-07-11 Andreas Jaeger <aj@suse.de>
33277
33278 * po/fr.po: Update from translation team.
33279
71220aca
AJ
33280 * po/sv.po: Update from translation team
33281 * po/fr.po: Another update from translation team.
33282
28cfe843
AZ
332832012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33284
33285 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33286 for subnormals or multiply small sinh result by itself.
33287 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33289
6b90f981
DM
332902012-07-11 David S. Miller <davem@davemloft.net>
33291
33292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33293
c6825772
AS
332942012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33295
33296 [BZ #14347]
33297 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33298 (INTERNAL_MARK): Shift it here.
33299
7b8e0d49
MP
333002012-07-10 Marek Polacek <polacek@redhat.com>
33301
33302 [BZ #14151]
33303 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33304 libc_cv_asm_global_directive with .globl.
33305 * configure: Regenerated.
33306 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33307 with .globl.
33308 * sysdeps/i386/configure: Regenerated.
33309 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33310 with .globl.
33311 * sysdeps/x86_64/configure: Regenerated.
33312 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33313 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33314 * elf/tst-unique2mod2.c: Likewise.
33315 * elf/tst-unique2mod1.c: Likewise.
33316 * elf/tst-unique1mod2.c: Likewise.
33317 * elf/tst-unique1mod1.c: Likewise.
33318 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33319 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33320 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33321 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33322 * sysdeps/mach/sysdep.h: Likewise.
33323 * sysdeps/i386/sysdep.h: Likewise.
33324 * sysdeps/i386/i386-mcount.S: Likewise.
33325 * sysdeps/x86_64/_mcount.S: Likewise.
33326 * sysdeps/x86_64/sysdep.h: Likewise.
33327 * sysdeps/sh/_mcount.S: Likewise.
33328 * sysdeps/sh/sysdep.h: Likewise.
33329 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33330 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33331 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33332 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33333 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33334 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33335 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33336 * locale/localeinfo.h: Likewise.
33337 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33338 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33339
6c55cda3
RM
333402012-07-09 Roland McGrath <roland@hack.frob.com>
33341
33342 [BZ #14336]
33343 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33344 system".
33345 * manual/message.texi (The Uniforum approach): Likewise.
33346 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33347 (glibc iconv Implementation): Likewise.
33348
638a572e
JM
333492012-07-09 Joseph Myers <joseph@codesourcery.com>
33350
33351 [BZ #14337]
33352 * math/s_clog.c (__clog): Avoid scaling a value down where that
33353 could result in underflow.
33354 * math/s_clog10.c (__clog10): Likewise.
33355 * math/s_clog10f.c (__clog10f): Likewise.
33356 * math/s_clog10l.c (__clog10l): Likewise.
33357 * math/s_clogf.c (__clogf): Likewise.
33358 * math/s_clogl.c (__clogl): Likewise.
33359 * math/libm-test.inc (clog_test): Add more tests.
33360 (clog10_test): Likewise.
33361 * sysdeps/i386/fpu/libm-test-ulps: Update.
33362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33363
261f4859
AS
333642012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33365
0abaf3e4
AS
33366 [BZ #14283]
33367 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33368 by 7 not 8 to examine high bit of fractional part.
33369
261f4859
AS
33370 [BZ #14042]
33371 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33372 for call to __mcount_internal.
33373 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33374 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33375 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33376
f17ac40d
JM
333772012-07-06 Joseph Myers <joseph@codesourcery.com>
33378
9ad63c23
JM
33379 [BZ #14154]
33380 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33381 approximation for values within 0x1p-13f of an odd multiple of
33382 pi/4.
33383 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33384 exception. Add more tests.
33385 * sysdeps/i386/fpu/libm-test-ulps: Update.
33386
f17ac40d
JM
33387 [BZ #6778]
33388 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33389 inputs and return -1 for them. Do not check for +Inf in case not
33390 reachable for +Inf.
33391 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33392 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33393 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33394 and return -1 for them. Do not check for +Inf in case not
33395 reachable for +Inf.
33396 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33397 define.
33398 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33399 and return -1 for them. Do not check for +Inf in case not
33400 reachable for +Inf.
33401 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33402 spurious underflow.
33403 * sysdeps/i386/fpu/libm-test-ulps: Update.
33404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33405
fb21f89b
MF
334062012-07-06 Mike Frysinger <vapier@gentoo.org>
33407
33408 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33409
cdfe2c5e
JM
334102012-07-05 Joseph Myers <joseph@codesourcery.com>
33411
33412 [BZ #14157]
33413 [BZ #14331]
33414 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33415 could result in spurious underflow. Scale down values above
33416 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33417 * math/s_csqrtf.c (__csqrtf): Likewise.
33418 * math/s_csqrtl.c (__csqrtl): Likewise.
33419 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33420 spurious underflow.
33421 * sysdeps/i386/fpu/libm-test-ulps: Update.
33422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33423
70d35b67
AS
334242012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33425
704bc459
AS
33426 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33427 xopen-msg.sed.
33428 * catgets/xopen-msg.awk: New file.
33429 * catgets/xopen-msg.sed: Removed.
33430
70d35b67
AS
33431 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33432 po2text.sed.
33433 * intl/po2test.awk: New file.
33434 * intl/po2test.sed: Removed.
33435
ca61cf32
JM
334362012-07-04 Joseph Myers <joseph@codesourcery.com>
33437
33438 [BZ #14328]
33439 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33440 or multiply small sinh result by itself.
33441 * math/s_ctanf.c (__ctanf): Likewise.
33442 * math/s_ctanh.c (__ctanh): Likewise.
33443 * math/s_ctanhf.c (__ctanhf): Likewise.
33444 * math/s_ctanhl.c (__ctanhl): Likewise.
33445 * math/s_ctanl.c (__ctanl): Likewise.
33446 * math/libm-test.inc (ctan_test_tonearest): New function.
33447 (ctan_test_towardzero): Likewise.
33448 (ctan_test_downward): Likewise.
33449 (ctan_test_upward): Likewise.
33450 (ctanh_test_tonearest): Likewise.
33451 (ctanh_test_towardzero): Likewise.
33452 (ctanh_test_downward): Likewise.
33453 (ctanh_test_upward): Likewise.
33454 (main): Call these new functions.
33455 * sysdeps/i386/fpu/libm-test-ulps: Update.
33456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33457
ca48a46a
MF
334582012-07-03 Mike Frysinger <vapier@gentoo.org>
33459
33460 * .gitignore: Delete /ports entry.
33461
9d63d37d
AJ
334622012-07-03 Andreas Jaeger <aj@suse.de>
33463
33464 * po/bg.po: Update from translation team.
33465 * po/cs.po: Likewise.
33466 * po/de.po: Likewise.
33467 * po/hr.po: Likewise.
33468 * po/nl.pl: Likewise.
33469 * po/pl.po: Likewise.
33470 * po/vi.po: Likewise.
33471
370ca3d2
JM
334722012-07-03 Joseph Myers <joseph@codesourcery.com>
33473
95f5a9a8
JM
33474 * Makeconfig [!+link] (+link-before-libc): New variable.
33475 [!+link] (+link-after-libc): Likewise.
33476 [!+link] (+link-tests): Likewise.
33477 [!+link] (+link): Define in terms of $(+link-before-libc) and
33478 $(+link-after-libc).
33479 [!+link-static] (+link-static-before-libc): New variable.
33480 [!+link-static] (+link-static-after-libc): Likewise.
33481 [!+link-static] (+link-static-tests): Likewise.
33482 [!+link-static] (+link-static): Define in terms of
33483 $(+link-static-before-libc) and $(+link-static-after-libc).
33484 [build-shared] (link-libc-before-gnulib): New variable.
33485 [build-shared] (link-libc-tests): Likewise.
33486 [build-shared] (link-libc): Define in terms of
33487 $(link-libc-before-gnulib).
33488 [!build-shared] (link-libc-tests): New variable.
33489 (link-libc-static-tests): New variable.
33490 [!gnulib] (gnulib-arch): New variable.
33491 [!gnulib] (gnulib-tests): Likewise.
33492 [!gnulib] (static-gnulib-arch): Likewise.
33493 [!gnulib] (static-gnulib-tests): Likewise.
33494 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33495 Define with "=" instead of ":=".
33496 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33497 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33498 * Rules (binaries-all-notests): New variable.
33499 (binaries-all-tests): Likewise.
33500 (binaries-static-notests): Likewise.
33501 (binaries-static-tests): Likewise.
33502 (binaries-all): Define using $(binaries-all-notests) and
33503 $(binaries-all-tests).
33504 (binaries-static): Define using $(binaries-static-notests) and
33505 $(binaries-static-tests).
33506 (binaries-shared-tests): New variable.
33507 (binaries-shared-notests): Likewise.
33508 (binaries-shared): Remove variable.
33509 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33510 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33511 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33512 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33513 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33514 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33515 * elf/Makefile (sln-modules): New variable.
33516 (extra-objs): Add $(sln-modules:=.o).
33517 (ldconfig-modules): Add static-stubs.
33518 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33519 * elf/static-stubs.c: New file.
33520
7a845b2c
JM
33521 [BZ #14283]
33522 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33523 by 7 not 8 to examine high bit of fractional part. Use volatile
33524 variables when splitting into final array of floats if
33525 __FLT_EVAL_METHOD__ != 0.
33526 * math/libm-test.inc (cos_test): Add another test.
33527 (sin_test): Likewise.
33528 * sysdeps/i386/fpu/libm-test-ulps: Update.
33529
e2283f38
JM
33530 [BZ #14273]
33531 * math/libm-test.inc (cosh_test): Add more tests.
33532
370ca3d2
JM
33533 * version.h (RELEASE): Set to "development".
33534 (VERSION): Set to "2.16.90".
33535
ee9247c3
CD
335362012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33537
33538 * NEWS: Update copyright. Remove last-updated date.
33539 Mention math library bug fixes and timezone data changes.
33540 * README: Mention GNU/Hurd, x32, and HPPA support status.
33541
4648c381
TS
335422012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33543
33544 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33545
aac78a43
AJ
335462012-06-27 Andreas Jaeger <aj@suse.de>
33547
33548 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33549
ed3dbfad
AJ
335502012-06-25 Andreas Jaeger <aj@suse.de>
33551
33552 * sysdeps/s390/fpu/libm-test-ulps: Update.
33553
4d0ee855
AS
335542012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33555 Thomas Schwinge <thomas@codesourcery.com>
33556
33557 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33558 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33559 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33560 fanotify_mark.
33561
af1bce34
TS
335622012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33563
a9fa33ba
TS
33564 * sysdeps/mach/start.c: Remove file.
33565 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33566 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33567 * sysdeps/sh/init-first.c: Likewise.
33568
58f902b8
TS
33569 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33570 registers for frame unwinding purposes, add CFI directives.
33571 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33572 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33573 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33574 Likewise.
33575
1518f58b
TS
33576 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33577 __fortify_fail returning.
33578 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33579
db9b5059
TS
33580 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33581 sysdeps/sh/____longjmp_chk.S.
33582 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33583 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33584 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33585 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33586
967705fe
TS
33587 * sysdeps/sh/abort-instr.h: New file.
33588 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33589 process in case exit returns.
33590
a9def8c4
TS
33591 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33592 initialize the GOT register before use.
33593
2a649725
TS
33594 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33595 calculation of ARGC > 4.
33596
af1bce34
TS
33597 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33598 meaningful names to some local labels.
33599
d230f50a
KK
336002012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33601 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33602
33603 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33604 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33605 (__arch_compare_and_exchange_val_16_acq): Likewise.
33606 (__arch_compare_and_exchange_val_32_acq): Likewise.
33607 (atomic_exchange_and_add): Fix gUSA sequence.
33608 (atomic_add): Likewise.
33609 (atomic_add_negative): Likewise.
33610 (atomic_add_zero): Likewise.
33611 (atomic_bit_test_set): Likewise.
33612
0479b305
AS
336132012-06-22 Andreas Schwab <schwab@redhat.com>
33614
33615 [BZ #13579]
33616 * include/link.h (struct link_map): Add l_free_initfini.
33617 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33618 l_initfini.
33619 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33620 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33621 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33622 set.
33623
0e3933b9
CD
336242012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33625
33626 * configure.in: Use AC_LANG_SOURCE.
33627 * configure: Regenerate.
33628
4248b1b1
RM
336292012-06-22 Roland McGrath <roland@hack.frob.com>
33630
33631 * configure.in (libc_cv_localstatedir): New substituted variable.
33632 * configure: Regenerated.
33633 * config.make.in (localstatedir): New variable, substituted from
33634 libc_cv_localstatedir.
33635 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33636 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33637 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33638 * sysdeps/gnu/configure: Regenerated.
33639
006dd861
JL
336402012-06-21 Jeff Law <law@redhat.com>
33641
33642 [BZ #14277]
33643 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33644 free. Simplify list management for _LIBC case.
33645
79662d42
JM
336462012-06-21 Joseph Myers <joseph@codesourcery.com>
33647
b7abb4bf
JM
33648 [BZ #14273]
33649 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33650 Clear sign bit of 64-bit integer value before comparing against
33651 overflow value.
33652
79662d42
JM
33653 * sysdeps/mach/configure: Regenerated.
33654
1f150908
L
336552012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33656
33657 [BZ #14278]
33658 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33659
28363bbf
JL
336602012-06-21 Jeff Law <law@redhat.com>
33661
33662 [BZ #13882]
33663 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33664 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 33665 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
33666 * elf/dl-open.c (dl_open_worker): Likewise.
33667
09615db4
CD
336682012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33669
33670 * scripts/list-sources.sh: Scan PORTS for translations.
33671 * po/libc.pot: Regenerated.
33672
2174c6dd
AJ
336732012-06-21 Andreas Jaeger <aj@suse.de>
33674
33675 [BZ #12194]
33676 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33677 warning.
33678 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33679 * bits/byteswap-16.h (__bswap_16): Likewise.
33680 * bits/byteswap.h (__bswap_constant_16): Likewise.
33681
3ee947b1
L
336822012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33683
33684 [BZ #14117]
a2f34833
L
33685 * sysdeps/i386/fpu_control.h: Removed.
33686 * sysdeps/x86_64/fpu_control.h: Moved to ...
33687 * sysdeps/x86/fpu_control.h: Here.
33688
3ee947b1
L
33689 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33690 (_FPU_SETCW): Likewise.
33691
ed1825f8
L
336922012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33693
25f1282a
L
33694 [BZ #14117]
33695 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33696 * sysdeps/x86/fpu/bits/mathinline.h: This.
33697 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33698
ed1825f8
L
33699 [BZ #14050]
33700 [BZ #14117]
33701 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33702 functions if __x86_64__ is defined.
33703
36d54b74
CLT
337042012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33705
33706 * string/endian.h: Add !__ASSEMBLER__ condition for including
33707 conversion interfaces.
33708
10285c21
JM
337092012-06-15 Joseph Myers <joseph@codesourcery.com>
33710
33711 [BZ #14241]
33712 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33713 of ABS(x) in calculating zero to negative powers other than odd
33714 integers.
33715 * math/libm-test.inc (pow_test): Add more tests.
33716
06c5abbd
AJ
337172012-06-15 Andreas Jaeger <aj@suse.de>
33718
33719 * manual/contrib.texi (Contributors): Update entry of Liubov
33720 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33721 Machado Filho.
33722
a3aeac40
CH
337232012-06-15 Cyril Hrubis <metan@ucw.cz>
33724
33725 * string/string.h: Add __wur to GNU version of strerror_r.
33726
49bdf4c1
L
337272012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33728
33729 [BZ #14229]
33730 * string/Makefile (tests): Add tst-strtok_r.
33731 * string/tst-strtok_r.c: New file.
33732 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33733 RAX_LP/RDX_LP on SAVE_PTR.
33734
834f9b8d
RM
337352012-06-14 Roland McGrath <roland@hack.frob.com>
33736
33737 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33738
75fa1921
JM
337392012-06-14 Joseph Myers <joseph@codesourcery.com>
33740
33741 * libm_test.inc (csqrt_test): Allow more spurious underflow
33742 exceptions.
33743 (j0_test): Likewise.
33744 (j1_test): Likewise.
33745 (y0_test): Likewise.
33746 (y1_test): Likewise.
33747
771766df
CD
337482012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33749
33750 * po/Makefile (libc.pot): Use UTF-8 charset.
33751
ceb9e56b
PP
337522012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33753
33754 [BZ #14210]
33755 Suppress sign-conversion warning from FD_SET.
33756 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33757 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33758 not unsigned long int.
33759 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33760
ddb28975
L
337612012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33762
33763 [BZ #14050]
33764 [BZ #14117]
33765 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33766 __extern_always_inline instead of __extern_inline.
33767 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33768 (__signbit): Likewise.
33769 (__signbitl): Support C++ namespace.
33770 (lrintf): New inline function.
33771 (lrint): Likewise.
33772 (llrintf): Likewise.
33773 (llrint): Likewise.
33774 (fmaxf): Likewise.
33775 (fmax): Likewise.
33776 (fminf): Likewise.
33777 (fmin): Likewise.
33778 (rint): Likewise.
33779 (rintf): Likewise.
33780 (ceil): Likewise.
33781 (ceilf): Likewise.
33782 (floor): Likewise.
33783 (floorf): Likewise.
33784 (nearbyint): Likewise.
33785 (nearbyintf): Likewise.
33786
d7b4fb26
TS
337872012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33788
33789 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33790 non-default versions.
33791
eb55f5c2
RM
337922012-06-11 Roland McGrath <roland@hack.frob.com>
33793
33794 [BZ #14218]
33795 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33796
366af02c
TS
337972012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33798
99ff6e5c
TS
33799 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33800 (FE_UPWARD, FE_DOWNWARD): Don't define.
33801 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33802 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33803
366af02c
TS
33804 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33805 reading it.
33806 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33807 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33808
793ea851
KK
338092012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33810
33811 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33812 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33813 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33814 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33815
a728a38f
L
338162012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33817
33818 [BZ #14117]
c08010c7
L
33819 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33820 * sysdeps/i386/fpu/Implies: New file.
33821 * sysdeps/x86_64/fpu/Implies: Likewise.
33822 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33823 * sysdeps/x86/fpu/bits/fenv.h: This.
33824
a728a38f
L
33825 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33826 __SSE_MATH__.
33827
6e230d11
SP
338282012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33829
33830 [BZ #14134]
33831 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33832 character 0xffff that matches the last element of the
33833 conversion table.
33834
1b671feb
AZ
338352012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33836
33837 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33838 fmodl commit.
33839
6043738b
AZ
338402012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33841
33842 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33843 values higher than 25.6283.
33844
34ae0b32
AZ
338452012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33846
33847 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33848 subnormal exponent extraction and add some __builtin_expect.
33849 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33850 Fix for subnormal mantissa calculation.
33851
1214ec8f
MF
338522012-06-04 Mike Frysinger <vapier@gentoo.org>
33853
33854 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33855 cpu2 is -1 and errno is not ENOSYS.
33856
f3d1f93c
L
338572012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33858
33859 [BZ #14117]
0e4a3cd7
L
33860 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33861 * sysdeps/x86/bits/string.h: This.
33862 * sysdeps/x86_64/bits/string.h: Removed.
33863
6704c645
L
33864 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33865 if not compiling for x86-64, but compiling for >= i486.
33866
48495318
L
33867 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33868 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33869
14adcbfc
L
33870 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33871 New macro from Linux kernel 3.4.0.
33872 (FP_XSTATE_MAGIC2): Likewise.
33873 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33874 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33875 (struct _fpx_sw_bytes): New struct.
33876 (struct _xsave_hdr): Likewise.
33877 (struct _ymmh_state): Likewise.
33878 (struct _xstate): Likewise.
33879
68e408ab
L
33880 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33881 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33882 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33883 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33884 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33885 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33886
f3d1f93c
L
33887 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33888 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33889 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33890 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33891 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33892 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33893
d9dc34cd
TMQMF
338942012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33895
33896 [BZ #13743]
33897 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33898 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33899 (sysdep_headers): Include sys/platform/ppc.h.
33900 * sysdeps/powerpc/test-gettimebase.c: Test for
33901 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33902 * manual/Makefile (appendices): Include platform.texi.
33903 * manual/contrib.texi (Contributors): Update @node pointers.
33904 * manual/maint.texi (Maintenance): Likewise.
33905 (Platform): New node.
33906 * manual/platform.texi: New file. Document the new features.
33907
4af3879c
SP
339082012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33909 Jakub Jelinek <jakub@redhat.com>
33910
33911 [BZ #14188]
33912 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33913 where __builtin_expect is unavailable.
33914
2fd6ff13
DM
339152012-06-03 David S. Miller <davem@davemloft.net>
33916
33917 * stdlib/longlong.h: Updated from GCC.
33918
173f7220
AS
339192012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33920
33921 [BZ #14042]
33922 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33923 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33924 __mcount_internal.
33925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33926 (GLIBC_2.16): Likewise.
33927
f34a1c6f
L
339282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33929
33930 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33931
88a4576f
JM
339322012-06-01 Joseph Myers <joseph@codesourcery.com>
33933
ea32bcdd
JM
33934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33935 (default-abi): New variable.
33936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33937 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33938 variable.
33939 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33940 Likewise.
33941 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33942 Likewise.
33943 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33944 Likewise.
33945
88a4576f
JM
33946 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33947 definition. Document in comment.
33948
402fe938
DM
339492012-06-01 David S. Miller <davem@davemloft.net>
33950
33951 * stdlib/longlong.h: Updated from GCC.
33952
3553723f
L
339532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33954
33955 [BZ #14117]
3bd872c4
L
33956 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33957 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33958 sys/debugreg.h sys/io.h here.
33959 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33960 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33961 sys/io.h.
33962 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33963 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33964 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33965 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33966 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33967 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33968
3553723f
L
33969 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33970 Define only if __x86_64__ is defined.
33971
4842e4fe
JM
339722012-06-01 Joseph Myers <joseph@codesourcery.com>
33973
c5bfe3d5
JM
33974 [BZ #14048]
33975 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33976 Use int64_t for variable i.
33977 * math/libm-test.inc (fmod_test): Add more tests.
33978
4842e4fe
JM
33979 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33980 z computation is not scheduled after fetestexcept.
33981 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33982 Use math_force_eval instead of asm to ensure calculation scheduled
33983 before exception test.
33984 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33985 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33986
efb73488
AJ
339872012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33988
33989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33990 computation is not scheduled after fetestexcept.
33991
29bcce7c
L
339922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33993
33994 [BZ #14117]
33995 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33996 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33997
73a68f94
AZ
339982012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33999
34000 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34001 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34002
67b6df78
L
340032012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34004
edf2933a 34005 [BZ #14117]
ebc64a18
L
34006 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34007 <bits/wordsize.h>.
34008 (__WCHAR_MIN): Support __WORDSIZE == 64.
34009 (__WCHAR_MAX): Likewise.
34010
edf2933a
L
34011 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34012 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34013
57c6cf40
L
34014 [BZ #14183]
34015 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34016 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34017
67b6df78 34018 [BZ #14117]
8eb6281e
L
34019 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34020 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34021
aac639f4
L
34022 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34023 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34024
67b6df78
L
34025 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34026 Defined to 1 if __x86_64__ isn't defined.
34027 (_STAT_VER_LINUX_OLD): New.
34028 (st_atime): Remove duplicate.
34029 (st_mtime): Likewise.
34030 (st_ctime): Likewise.
34031
1c2cfe81
DM
340322012-05-31 David S. Miller <davem@davemloft.net>
34033
34034 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34035 entries.
34036
5be8418c
AS
340372012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34038
e7725326
AS
34039 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34040 gen-libm-test.pl.
34041
5be8418c
AS
34042 [BZ #14132]
34043 * elf/dl-reloc.c: Include <_itoa.h>.
34044 (_dl_reloc_bad_type): Remove use of INTUSE.
34045 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34046 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34047 * stdio-common/psiginfo.c (psiginfo): Likewise.
34048 * stdio-common/psignal.c (psignal): Likewise.
34049 * string/strsignal.c (strsignal): Likewise.
34050 * include/signal.h (_sys_siglist): Declare hidden proto.
34051 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34052 INTVARDEF with libc_hidden_data_def.
34053 * stdio-common/itoa-udigits.c: Likewise.
34054 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34055 (_itoa_lower_digits_internal): Remove declaration.
34056 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34057 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34058 (_sys_sigabbrev_internal): Remove aliases.
34059 (_sys_siglist): Define hidden alias.
34060
507352f1
MT
340612012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34062
34063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34064 bits/sysctl.h.
34065
42bbb1c3
L
340662012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34067
34068 [BZ #14117]
6bd784b6
L
34069 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34070 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34071
8bca20f0
L
34072 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34073 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34074 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34075 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34076 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34077 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34078
f9e890a9
L
34079 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34080 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34081 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34082
471101a1
L
34083 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34084 with __addr.
34085 (insw): Likewise.
34086 (insl): Likewise.
34087 (outsb): Likewise.
34088 (outsw): Likewise.
34089 (outsl): Likewise.
34090
6451c862
L
34091 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34092 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34093 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34094
a254b8c9
L
34095 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34096 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34097 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34098 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34099 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34100 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34101
b8dfdd92
L
34102 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34103 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34104
578cd270
L
34105 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34106 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34107
de662f5f
L
34108 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34109 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34110 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34111
25653439
L
34112 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34113 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34114 to ...
34115 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34116
6bad24a0
L
34117 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34118 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34119 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34120
42bbb1c3
L
34121 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34122 for x86-64.
34123 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34124
2d10d547
JM
341252012-05-31 Joseph Myers <joseph@codesourcery.com>
34126
34127 * math/math.h (M_El): Use two more decimal places.
34128 (M_LOG2El): Likewise.
34129 (M_LOG10El): Likewise.
34130 (M_LN2l): Likewise.
34131 (M_LN10l): Likewise.
34132 (M_PIl): Likewise.
34133 (M_PI_2l): Likewise.
34134 (M_PI_4l): Likewise.
34135 (M_1_PIl): Likewise.
34136 (M_2_PIl): Likewise.
34137 (M_2_SQRTPIl): Likewise.
34138 (M_SQRT2l): Likewise.
34139 (M_SQRT1_2l): Likewise.
34140
f230c29b
DM
341412012-05-31 David S. Miller <davem@davemloft.net>
34142
34143 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34144 values between float registers.
34145 * sysdeps/sparc/sparc64/memset.S: Likewise.
34146 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34147
fed806c3
MF
341482012-05-31 Mike Frysinger <vapier@gentoo.org>
34149
34150 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34151 -D_FORTIFY_SOURCE=1.
34152 (CPPFLAGS-tst-longjmp_chk.c): Define.
34153 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34154 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34155 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34156 CFLAGS-tst-wchar-h.c.
34157
30917259
MP
341582012-05-31 Marek Polacek <polacek@redhat.com>
34159
34160 [BZ #14132]
34161 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34162 __endmntent_internal): Remove declaration.
34163 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34164 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34165 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34166
1c58d5dc
DM
341672012-05-30 David S. Miller <davem@davemloft.net>
34168
34169 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34170 (___Q_simulate_exceptions): Use real FP ops rather than writing
34171 into the %fsr.
34172 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34173 Likewise.
34174
7dc00e0d
L
341752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34176
34177 [BZ #14117]
0bd53985
L
34178 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34179 * sysdeps/x86/bits/xtitypes.h: This.
34180
3a257e66
L
34181 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34182 * sysdeps/x86/bits/wordsize.h: This.
34183
62f62904
L
34184 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34185 * sysdeps/x86/bits/huge_vall.h: This.
34186
404fe9d9
L
34187 * sysdeps/i386/bits/select.h: Removed.
34188 * sysdeps/x86_64/bits/select.h: Renamed to ...
34189 * sysdeps/x86/bits/select.h: This.
34190
d48d0446
L
34191 * sysdeps/i386/bits/setjmp.h: Removed.
34192 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34193 * sysdeps/x86/bits/setjmp.h: This.
34194
7dc00e0d
L
34195 * sysdeps/i386/bits/mathdef.h: Removed.
34196 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34197 * sysdeps/x86/bits/mathdef.h: This.
34198
03277f8f
AS
341992012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34200
34201 [BZ #14132]
34202 * include/sys/socket.h (__connect_internal)
34203 (__libc_sa_len_internal): Remove declaration.
34204 (__connect, __libc_sa_len): Declare hidden_proto.
34205 (SA_LEN): Remove use of INTUSE.
34206 * socket/connect.c: Add libc_hidden_def.
34207 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34208 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34209 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34210 alias.
34211 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34212 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34213 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34214 of adding _internal alias.
34215
13764867
L
342162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34217
34218 [BZ #14117]
6bd97696
L
34219 * sysdeps/i386/bits/link.h: Removed.
34220 * sysdeps/i386/bits/linkmap.h: Likewise.
34221 * sysdeps/x86_64/bits/link.h: Renamed to ...
34222 * sysdeps/x86/bits/link.h: This.
34223 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34224 * sysdeps/x86/bits/linkmap.h: This.
34225
f726f0bb
L
34226 * sysdeps/i386/bits/endian.h: Removed.
34227 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34228 * sysdeps/x86/bits/endian.h: This.
34229
13764867
L
34230 * sysdeps/i386/bits/byteswap.h: Removed.
34231 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34232 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34233 * sysdeps/x86/bits/byteswap.h: This.
34234 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34235 * sysdeps/x86/bits/byteswap-16.h: This.
34236 * sysdeps/i386/Implies: Add x86.
34237 * sysdeps/x86_64/Implies: Likewise.
34238
ae251b0b
DM
342392012-05-30 David S. Miller <davem@davemloft.net>
34240
34241 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34242 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34243 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34244 (FP_TRAPPING_EXCEPTIONS): Define.
34245 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34246 (FP_TRAPPING_EXCEPTIONS): Define.
34247 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34248 subnormals only when inexact has been signalled or underflow
34249 exceptions are enabled.
34250 (_FP_PACK_CANONICAL): Likewise.
34251
d5c90867
L
342522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34253
34254 [BZ #14183]
34255 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34256 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34257
63f1549e
RH
342582012-05-30 Richard Henderson <rth@twiddle.net>
34259
8d8f2279
RH
34260 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34261 with #ifndef NOT_IN_libc.
34262
63f1549e
RH
34263 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34264 marked to avoid plt entry.
34265
0ab0291b
L
342662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34267
34268 [BZ #14112]
34269 * Makeconfig (default-abi): New macro.
34270 (abi-includes): Likewise.
34271 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34272 $(abi-$(default-abi)-lib-soname) for soname if defined.
34273 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34274 abi-variants.
34275 * Makefile (installed-stubs): Likewise.
34276 * include/stubs-biarch.h: Removed.
34277 * scripts/lib-names.awk: Only handle one library at a time.
34278 * scripts/soversions.awk: Remove WORDSIZE support.
34279 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34280 entries.
34281 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34282 Removed.
34283 (syscall-list-default-condition): Likewise.
34284 (syscall-list-default-condition): Likewise.
34285 (syscall-list-includes): Likewise.
34286 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34287 syscall-list-* with abi-*. Handle undefined abi-variants.
34288 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34289 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34290 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34291 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34292 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34293 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34294 Removed.
34295 (syscall-list-32-options): Likewise.
34296 (syscall-list-32-condition): Likewise.
34297 (syscall-list-64-options): Likewise.
34298 (syscall-list-64-condition): Likewise.
34299 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34300 macro.
34301 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34302 Renamed to ...
34303 (abi-*): This.
34304 (abi-64-ld-soname): New macro.
34305 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34306 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34307 Renamed to ...
34308 (abi-*): This.
34309 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34310 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34311
4da0431d
JM
343122012-05-30 Joseph Myers <joseph@codesourcery.com>
34313
3a85279c
JM
34314 * sysdeps/unix/sysv/linux/kernel-features.h
34315 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34316 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34317 include <kernel-features.h>.
34318 [!__NR_ftruncate64]: Remove conditional code.
34319 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34320 [__NR_ftruncate64]: Make code unconditional.
34321 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34322 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34323 include <kernel-features.h>.
34324 [!__NR_ftruncate64]: Remove conditional code.
34325 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34326 [__NR_ftruncate64]: Make code unconditional.
34327 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34329 include <kernel-features.h>.
34330 [!__NR_ftruncate64]: Remove conditional code.
34331 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34332 [__NR_ftruncate64]: Make code unconditional.
34333 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34335 include <kernel-features.h>.
34336 [!__NR_ftruncate64]: Remove conditional code.
34337 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34338 [__NR_ftruncate64]: Make code unconditional.
34339 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34340
4da0431d
JM
34341 * configure.in (libc_cv_fpie): Weaken to a compile test using
34342 LIBC_TRY_CC_OPTION.
34343 * configure: Regenerated.
34344
11ef492c
AK
343452012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34346
34347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34351 Refreshed.
34352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34358 Refreshed.
34359
d66ef399
DM
343602012-05-27 David S. Miller <davem@davemloft.net>
34361
34362 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34363 (___Q_zero): New.
34364 (__Q_simulate_exceptions): Return void. Change to simulate
34365 exceptions by writing into the %fsr.
34366 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34367 (__Qp_handle_exceptions): Likewise.
34368 (numbers): Delete.
34369 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34370 __Qp_handle_exceptions.
34371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34372 __Qp_handle_exceptions.
34373 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34374 as unused and give dummy FP_RND_NEAREST initializer.
34375 (FP_INHIBIT_RESULTS): Define.
34376 (___Q_simulate_exceptions): Update declaration.
34377 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34378 formatting.
34379 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34380 as unused and give dummy FP_RND_NEAREST initializer.
34381 (__Qp_handle_exceptions): Update declaration.
34382 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34383 formatting.
34384
04fb54b5
TS
343852012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34386
34387 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34388 the temporary FPU control word.
34389 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34390 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34391 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34392 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34393 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34394 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34395 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34396 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34397 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34398 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34399 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34400
3f99608f
KK
344012012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34402
34403 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34404 fields.
34405
65a4de4e
CLT
344062012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34407
34408 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34409 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34410 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34411 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34412 Likewise.
34413 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34414 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34415 Likewise.
34416
15749d40
UD
344172012-05-27 Ulrich Drepper <drepper@gmail.com>
34418
34419 * po/h.po: Update from translation team.
34420
25dbcb27
AS
344212012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34422
3d3f8e55
AS
34423 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34424
25dbcb27
AS
34425 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34426 handling of denormals.
34427 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34428 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34429 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34430 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34431 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34432 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34433 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34434 Likewise.
34435
7ad47a80 344362012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
34437
34438 [BZ #14152]
34439 * math/libm-test.inc (fma_test): Don't always expect underflow
34440 exception.
34441
9c6ea9fa
SP
344422012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34443
34444 [BZ #12416]
34445 * elf/tst-execstack.c: Include stackinfo.h.
34446 (do_test): Adjust test case to ensure that pthread_getattr_np
34447 behaviour remains the same after marking stack executable.
34448
a8239222
JM
344492012-05-25 Joseph Myers <joseph@codesourcery.com>
34450
34451 * sysdeps/unix/sysv/linux/kernel-features.h
34452 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34453 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34454 kernel-features.h.
34455 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34456 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34457 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34458 kernel-features.h.
34459 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34460 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34461
918b5606
L
344622012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34463
34464 * configure.in: Define the default includes to being none.
34465 * configure: Regenerated.
34466
3a097cc7
RM
344672012-05-25 Roland McGrath <roland@hack.frob.com>
34468
8422c9a5
RM
34469 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34470 * sysdeps/x86_64/setjmp.S: Likewise.
34471 * sysdeps/i386/bsd-setjmp.S: Likewise.
34472 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34473 * sysdeps/i386/setjmp.S: Likewise.
34474 * sysdeps/i386/__longjmp.S: Likewise.
34475 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34476 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34477
3a097cc7
RM
34478 * include/stap-probe.h: New file.
34479 * configure.in: Handle --enable-systemtap.
34480 * configure: Regenerated.
34481 * config.h.in (USE_STAP_PROBE): New #undef.
34482 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34483 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34484 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34485
21708942
JM
344862012-05-25 Joseph Myers <joseph@codesourcery.com>
34487
34488 [BZ #13717]
34489 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34490 to 2.4.0 where earlier.
34491 * sysdeps/unix/sysv/linux/configure: Regenerated.
34492 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34493 <kernel-features.h>.
34494 [__ASSUME_32BITUIDS]: Make code unconditional.
34495 [!__ASSUME_32BITUIDS]: Remove conditional code.
34496 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34497 <kernel-features.h>.
34498 [__ASSUME_32BITUIDS]: Make code unconditional.
34499 [!__ASSUME_32BITUIDS]: Remove conditional code.
34500 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34501 [__ASSUME_32BITUIDS]: Make code unconditional.
34502 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34503 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34504 <kernel-features.h>.
34505 [__ASSUME_32BITUIDS]: Make code unconditional.
34506 [!__ASSUME_32BITUIDS]: Remove conditional code.
34507 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34508 <kernel-features.h>.
34509 [__ASSUME_32BITUIDS]: Make code unconditional.
34510 [!__ASSUME_32BITUIDS]: Remove conditional code.
34511 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34512 <kernel-features.h>.
34513 [__ASSUME_32BITUIDS]: Make code unconditional.
34514 [!__ASSUME_32BITUIDS]: Remove conditional code.
34515 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34516 <kernel-features.h>.
34517 [__ASSUME_32BITUIDS]: Make code unconditional.
34518 [!__ASSUME_32BITUIDS]: Remove conditional code.
34519 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34520 <kernel-features.h>.
34521 [__ASSUME_32BITUIDS]: Make code unconditional.
34522 [!__ASSUME_32BITUIDS]: Remove conditional code.
34523 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34524 <kernel-features.h>.
34525 [__ASSUME_32BITUIDS]: Make code unconditional.
34526 [!__ASSUME_32BITUIDS]: Remove conditional code.
34527 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34528 <kernel-features.h>.
34529 [__ASSUME_32BITUIDS]: Make code unconditional.
34530 [!__ASSUME_32BITUIDS]: Remove conditional code.
34531 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34532 <kernel-features.h>.
34533 [__ASSUME_32BITUIDS]: Make code unconditional.
34534 [!__ASSUME_32BITUIDS]: Remove conditional code.
34535 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34536 <kernel-features.h>.
34537 [__ASSUME_32BITUIDS]: Make code unconditional.
34538 [!__ASSUME_32BITUIDS]: Remove conditional code.
34539 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34540 <kernel-features.h>.
34541 [__ASSUME_32BITUIDS]: Make code unconditional.
34542 [!__ASSUME_32BITUIDS]: Remove conditional code.
34543 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34544 <kernel-features.h>.
34545 [__NR_setresgid] (__setresgid): Do not declare.
34546 [__ASSUME_32BITUIDS]: Make code unconditional.
34547 [!__ASSUME_32BITUIDS]: Remove conditional code.
34548 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34549 <kernel-features.h>.
34550 [__NR_setresuid] (__setresuid): Do not declare.
34551 [__ASSUME_32BITUIDS]: Make code unconditional.
34552 [!__ASSUME_32BITUIDS]: Remove conditional code.
34553 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34554 <kernel-features.h>.
34555 [__ASSUME_32BITUIDS]: Make code unconditional.
34556 [!__ASSUME_32BITUIDS]: Remove conditional code.
34557 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34558 <kernel-features.h>.
34559 [__ASSUME_32BITUIDS]: Make code unconditional.
34560 [!__ASSUME_32BITUIDS]: Remove conditional code.
34561 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34562 <kernel-features.h>.
34563 [__ASSUME_32BITUIDS]: Make code unconditional.
34564 [!__ASSUME_32BITUIDS]: Remove conditional code.
34565 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34566 <kernel-features.h>.
34567 [__ASSUME_32BITUIDS]: Make code unconditional.
34568 [!__ASSUME_32BITUIDS]: Remove conditional code.
34569 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34570 <kernel-features.h>.
34571 [__ASSUME_32BITUIDS]: Make code unconditional.
34572 [!__ASSUME_32BITUIDS]: Remove conditional code.
34573 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34574 <kernel-features.h>.
34575 [__ASSUME_32BITUIDS]: Make code unconditional.
34576 [!__ASSUME_32BITUIDS]: Remove conditional code.
34577 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34578 <kernel-features.h>.
34579 [__ASSUME_32BITUIDS]: Make code unconditional.
34580 [!__ASSUME_32BITUIDS]: Remove conditional code.
34581 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34582 <kernel-features.h>.
34583 [__ASSUME_32BITUIDS]: Make code unconditional.
34584 [!__ASSUME_32BITUIDS]: Remove conditional code.
34585 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34586 <kernel-features.h>.
34587 [__ASSUME_32BITUIDS]: Make code unconditional.
34588 [!__ASSUME_32BITUIDS]: Remove conditional code.
34589 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34590 <kernel-features.h>.
34591 [__ASSUME_32BITUIDS]: Make code unconditional.
34592 [!__ASSUME_32BITUIDS]: Remove conditional code.
34593 * sysdeps/unix/sysv/linux/kernel-features.h
34594 (__ASSUME_SETRESUID_SYSCALL): Remove.
34595 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34596 (__ASSUME_32BITUIDS): Likewise.
34597 (__ASSUME_LDT_WORKS): Likewise.
34598 (__ASSUME_O_DIRECTORY): Likewise.
34599 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34600 architecture but not kernel version.
34601 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34602 (__ASSUME_MMAP2_SYSCALL): Likewise.
34603 (__ASSUME_STAT64_SYSCALL): Likewise.
34604 (__ASSUME_IPC64): Likewise.
34605 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34606 <kernel-features.h>.
34607 [__ASSUME_32BITUIDS]: Make code unconditional.
34608 [!__ASSUME_32BITUIDS]: Remove conditional code.
34609 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34610 <kernel-features.h>.
34611 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34612 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34613 132096]: Remove conditional code.
34614 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34615 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34616 <kernel-features.h>.
34617 [__ASSUME_32BITUIDS]: Make code unconditional.
34618 [!__ASSUME_32BITUIDS]: Remove conditional code.
34619 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34620 <kernel-features.h>.
34621 [__ASSUME_32BITUIDS]: Make code unconditional.
34622 [!__ASSUME_32BITUIDS]: Remove conditional code.
34623 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34624 <kernel-features.h>.
34625 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34626 unconditional.
34627 (__setresgid): Do not declare.
34628 [__ASSUME_32BITUIDS]: Make code unconditional.
34629 [!__ASSUME_32BITUIDS]: Remove conditional code.
34630 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34631 <kernel-features.h>.
34632 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34633 unconditional.
34634 (__setresuid): Do not declare.
34635 [__ASSUME_32BITUIDS]: Make code unconditional.
34636 [!__ASSUME_32BITUIDS]: Remove conditional code.
34637 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34638 <kernel-features.h>.
34639 [__ASSUME_32BITUIDS]: Make code unconditional.
34640 [!__ASSUME_32BITUIDS]: Remove conditional code.
34641 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34642 <kernel-features.h>.
34643 [__ASSUME_32BITUIDS]: Make code unconditional.
34644 [!__ASSUME_32BITUIDS]: Remove conditional code.
34645
a386f1cc
RH
346462012-05-25 Richard Henderson <rth@twiddle.net>
34647
34648 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34649 dl_hwcap to ifunc resolver.
34650 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34651 elf_ifunc_invoke.
34652 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34653 dl_hwcap to ifunc resolver.
34654 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34655
b6550497
JM
346562012-05-24 Joseph Myers <joseph@codesourcery.com>
34657
34658 [BZ #14153]
34659 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34660 for |x| <= 2**-26, not 2**-57.
34661 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34662 exception.
34663
b0bc23a1
JL
346642012-05-24 Jeff Law <law@redhat.com>
34665
34666 * stdio-common/Makefile (tests): Add bug25.
34667 * stdio-common/bug25.c: New test.
34668
347c92e9
L
346692012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34670
34671 [BZ #13576]
34672 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34673 multiple of MALLOC_ALIGNMENT in size.
34674 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34675
6bcc8b3f
JM
346762012-05-24 Joseph Myers <joseph@codesourcery.com>
34677
34678 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34679 Require >= 256.
34680 (FILENAME_MAX): Use macro-int-constant.
34681 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34682 (_IOFBF): Use macro-int-constant.
34683 (_IOLBF): Likewise.
34684 (_IONBF): Likewise.
34685 (SEEK_CUR): Likewise.
34686 (SEEK_END): Likewise.
34687 (SEEK_SET): Likewise.
34688 (TMP_MAX): Likewise.
34689 (EOF): Use macro-int-constant. Require < 0.
34690 (NULL): Use macro-constant. Require == 0.
34691 (stdin): Require type to be FILE *.
34692 (stdout): Likewise.
34693 (stderr): Likewise.
34694 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34695 macro-int-constant.
34696 (EXIT_SUCCESS): Likewise.
34697 (NULL): Use macro-constant. Require == 0.
34698 (RAND_MAX): Use macro-int-constant.
34699 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34700 [C99-based standards] (strtof): Require function.
34701 [C99-based standards] (strtold): Likewise.
34702 [C99-based standards] (strtoll): Likewise.
34703 [C99-based standards] (strtoull): Likewise.
34704 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34705 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34706 [ISO || ISO99 || ISO11] (math.h): Likewise.
34707 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34708 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34709 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34710
d18ea0c5
AS
347112012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34712
34713 [BZ #14132]
56d25bb8
AS
34714 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34715 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34716 * intl/dgettext.c (DCGETTEXT): Likewise.
34717 * intl/gettext.c (DCGETTEXT): Likewise.
34718 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34719 * posix/regex_internal.h (gettext): Likewise.
34720 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34721 Remove declaration.
34722 * include/argz.h (__argz_count_internal)
34723 (__argz_stringify_internal): Remove declaration.
34724 (__argz_count, __argz_stringify): Declare hidden proto.
34725 * intl/dcgettext.c: Remove use of INTDEF.
34726 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34727 * string/argz-stringify.c: Likewise.
34728 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34729 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34730 Declare hidden proto.
d18ea0c5
AS
34731 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34732 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34733 Declare hidden proto.
34734 * include/stdio.h (__asprintf_internal): Don't declare.
34735 (__asprintf): Don't define as macro. Declare hidden proto.
34736 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34737 (__fsetlocking): Declare hidden proto.
34738 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34739 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34740 hidden proto.
34741 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34742 (_IO_setlinebuf): Remove use of INTUSE.
34743 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34744 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34745 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34746 Remove declaration.
34747 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34748 (_IO_do_flush): Remove use of INTUSE.
34749 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34750 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34751 (_IO_adjust_column, _IO_least_wmarker)
34752 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34753 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34754 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34755 (_IO_default_doallocate, _IO_wdefault_doallocate)
34756 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34757 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34758 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34759 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34760 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34761 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34762 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34763 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34764 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34765 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34766 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34767 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34768 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34769 proto.
34770 (_IO_flush_all_internal, _IO_adjust_column_internal)
34771 (_IO_default_uflow_internal, _IO_default_finish_internal)
34772 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34773 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34774 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34775 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34776 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34777 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34778 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34779 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34780 (_IO_file_close_internal, _IO_file_close_it_internal)
34781 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34782 (_IO_file_init_internal, _IO_file_attach_internal)
34783 (_IO_file_fopen_internal, _IO_file_read_internal)
34784 (_IO_file_sync_internal, _IO_file_seek_internal)
34785 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34786 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34787 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34788 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34789 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34790 (_IO_list_all_internal, _IO_link_in_internal)
34791 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34792 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34793 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34794 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34795 (_IO_do_write_internal, _IO_padn_internal)
34796 (_IO_getline_info_internal, _IO_getline_internal)
34797 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34798 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34799 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34800 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34801 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34802 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34803 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34804 with libc_hidden_ver, remove use of INTUSE.
34805 * libio/genops.c: Likewise.
34806 * libio/freopen.c: Likewise.
34807 * libio/freopen64.c: Likewise.
34808 * libio/iofclose.c: Likewise.
34809 * libio/iofdopen.c: Likewise.
34810 * libio/iofflush.c: Likewise.
34811 * libio/iofflush_u.c: Likewise.
34812 * libio/iofgets.c: Likewise.
34813 * libio/iofgets_u.c: Likewise.
34814 * libio/iofopen.c: Likewise.
34815 * libio/iofopncook.c: Likewise.
34816 * libio/iofread.c: Likewise.
34817 * libio/iofread_u.c: Likewise.
34818 * libio/ioftell.c: Likewise.
34819 * libio/iofwrite.c: Likewise.
34820 * libio/iogetline.c: Likewise.
34821 * libio/iogets.c: Likewise.
34822 * libio/iogetwline.c: Likewise.
34823 * libio/iopadn.c: Likewise.
34824 * libio/iopopen.c: Likewise.
34825 * libio/ioseekoff.c: Likewise.
34826 * libio/ioseekpos.c: Likewise.
34827 * libio/iosetbuffer.c: Likewise.
34828 * libio/iosetvbuf.c: Likewise.
34829 * libio/ioungetc.c: Likewise.
34830 * libio/ioungetwc.c: Likewise.
34831 * libio/iovdprintf.c: Likewise.
34832 * libio/iovsprintf.c: Likewise.
34833 * libio/iovsscanf.c: Likewise.
34834 * libio/memstream.c: Likewise.
34835 * libio/obprintf.c: Likewise.
34836 * libio/oldfileops.c: Likewise.
34837 * libio/oldiofclose.c: Likewise.
34838 * libio/oldiofdopen.c: Likewise.
34839 * libio/oldiofopen.c: Likewise.
34840 * libio/oldiopopen.c: Likewise.
34841 * libio/oldstdfiles.c: Likewise.
34842 * libio/putc.c: Likewise.
34843 * libio/setbuf.c: Likewise.
34844 * libio/setlinebuf.c: Likewise.
34845 * libio/stdfiles.c: Likewise.
34846 * libio/strops.c: Likewise.
34847 * libio/vasprintf.c: Likewise.
34848 * libio/vscanf.c: Likewise.
34849 * libio/vsnprintf.c: Likewise.
34850 * libio/vswprintf.c: Likewise.
34851 * libio/wfiledoalloc.c: Likewise.
34852 * libio/wfileops.c: Likewise.
34853 * libio/wgenops.c: Likewise.
34854 * libio/wmemstream.c: Likewise.
34855 * libio/wstrops.c: Likewise.
34856 * libio/__fpurge.c: Likewise.
34857 * libio/__fsetlocking.c: Likewise.
34858 * assert/assert.c: Likewise.
34859 * debug/fgets_chk.c: Likewise.
34860 * debug/fgets_u_chk.c: Likewise.
34861 * debug/fread_chk.c: Likewise.
34862 * debug/fread_u_chk.c: Likewise.
34863 * debug/gets_chk.c: Likewise.
34864 * debug/obprintf_chk.c: Likewise.
34865 * debug/vasprintf_chk.c: Likewise.
34866 * debug/vdprintf_chk.c: Likewise.
34867 * debug/vsnprintf_chk.c: Likewise.
34868 * debug/vsprintf_chk.c: Likewise.
34869 * malloc/mtrace.c: Likewise.
34870 * misc/error.c: Likewise.
34871 * misc/syslog.c: Likewise.
34872 * stdio-common/asprintf.c: Likewise.
34873 * stdio-common/fxprintf.c: Likewise.
34874 * stdio-common/getw.c: Likewise.
34875 * stdio-common/isoc99_fscanf.c: Likewise.
34876 * stdio-common/isoc99_scanf.c: Likewise.
34877 * stdio-common/isoc99_vfscanf.c: Likewise.
34878 * stdio-common/isoc99_vscanf.c: Likewise.
34879 * stdio-common/isoc99_vsscanf.c: Likewise.
34880 * stdio-common/printf-prs.c: Likewise.
34881 * stdio-common/printf_fp.c: Likewise.
34882 * stdio-common/printf_fphex.c: Likewise.
34883 * stdio-common/printf_size.c: Likewise.
34884 * stdio-common/putw.c: Likewise.
34885 * stdio-common/scanf.c: Likewise.
34886 * stdio-common/sprintf.c: Likewise.
34887 * stdio-common/tmpfile.c: Likewise.
34888 * stdio-common/vfprintf.c: Likewise.
34889 * stdio-common/vfscanf.c: Likewise.
34890 * stdlib/strfmon_l.c: Likewise.
34891 * sunrpc/openchild.c: Likewise.
34892 * sunrpc/xdr_stdio.c: Likewise.
34893 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34894 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34895
d6c33fda
RM
348962012-05-24 Roland McGrath <roland@hack.frob.com>
34897
c1487492
RM
34898 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34899
34900 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34901 in the third column, to generate for the shared library an IFUNC
34902 that uses _dl_vdso_vsym.
34903 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34904 * Makeconfig (object-suffixes-noshared): New variable.
34905
34906 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34907 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34908 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34909 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34910
d6c33fda
RM
34911 [BZ #14132]
34912 * include/sys/time.h (__gettimeofday): Remove macro.
34913 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34914 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34915 Remove INTDEF.
34916 (__gettimeofday): Add libc_hidden_def.
34917 (gettimeofday): Add libc_hidden_weak.
34918 * sysdeps/mach/gettimeofday.c: Likewise.
34919 * sysdeps/posix/gettimeofday.c: Likewise.
34920 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34921 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34922 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34923 (__gettimeofday_internal): Remove strong_alias.
34924 (__gettimeofday): Add libc_hidden_def.
34925 (gettimeofday): Add libc_hidden_weak.
34926 * sysdeps/unix/syscalls.list (gettimeofday):
34927 Remove __gettimeofday_internal alias.
34928
b5a2bbe6
L
349292012-05-24 Daniel Jacobowitz <drow@false.org>
34930 H.J. Lu <hongjiu.lu@intel.com>
34931
34932 [BZ #12495]
34933 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34934 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34935 (largebin_index_32_big): New.
34936 (largebin_index): Use it for 16-byte alignment.
34937 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34938 correction with front_misalign.
34939
cfba4fda
L
349402012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34941
7f907421
L
34942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34944 Likewise.
34945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34946 Likewise.
34947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34948 Likewise.
34949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34950 Likewise.
34951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34952 Likewise.
34953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34954 Likewise.
34955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34956 Likewise.
34957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34958 Likewise.
34959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34960 Likewise.
34961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34962 Likewise.
34963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34964 Likewise.
34965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34966 Likewise.
34967
cfba4fda
L
34968 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34969 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34970
80bad0cc
JM
349712012-05-24 Joseph Myers <joseph@codesourcery.com>
34972
7a25eb06
JM
34973 [BZ #10846]
34974 [BZ #14036]
34975 * math/libm-test.inc (exp_test): Add test from bug 14036.
34976 (pow_test): Add test from bug 10846.
34977
795405f9
JM
34978 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34979 and other flags.
34980 (special_function): Do not include flags in test name.
34981 (parse_args): Likewise.
34982 * sysdeps/i386/fpu/libm-test-ulps: Update.
34983 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34984 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34985 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34987
80bad0cc
JM
34988 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34989 exceptions.
34990 * math/libm-test.inc ("Philosophy"): Update comment about
34991 exception testing.
34992 (UNDERFLOW_EXCEPTION): New macro.
34993 (UNDERFLOW_EXCEPTION_OK): Likewise.
34994 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34995 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34996 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34997 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34998 (INVALID_EXCEPTION_OK): Update value.
34999 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35000 (OVERFLOW_EXCEPTION_OK): Likewise.
35001 (IGNORE_ZERO_INF_SIGN): Likewise.
35002 (test_exceptions): Handle underflow exceptions.
35003 (acos_test): Update for underflow exception expectations.
35004 (cexp_test): Likewise.
35005 (clog_test): Likewise.
35006 (clog10_test): Likewise.
35007 (csqrt_test): Likewise.
35008 (ctan_test): Likewise.
35009 (ctanh_test): Likewise.
35010 (exp_test): Likewise.
35011 (exp10_test): Likewise.
35012 (exp2_test): Likewise.
35013 (expm1_test): Likewise.
35014 (fma_test): Likewise.
35015 (j0_test): Likewise.
35016 (jn_test): Likewise.
35017 (nexttoward_test): Likewise.
35018 (pow_test): Likewise.
35019 (scalbn_test): Likewise.
35020 (scalbln_test): Likewise.
35021 (tan_test): Likewise.
35022 (y1_test): Likewise.
35023 * sysdeps/i386/fpu/libm-test-ulps: Update.
35024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35025
9e0e3d0b
DM
350262012-05-23 David S. Miller <davem@davemloft.net>
35027
35028 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35029 (__libc_sigaction): Remove unused local variables.
35030
ccd0a08f
L
350312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35032
35033 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35034
62bdf9a6
PE
350352012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35036
f8591f80
PE
35037 mktime: avoid signed integer overflow
35038 * time/mktime.c (__mktime_internal): Do not mishandle the case
35039 where diff == INT_MIN.
35040
94c7d826
PE
35041 mktime: simplify computation of average
35042 * time/mktime.c (ranged_convert): Use new time_t_avg function
35043 instead of rolling our own (probably-slower) code.
35044
ce73d683
PE
35045 mktime: do not assume signed right shift propagates sign bit
35046 * time/mktime.c (isdst_differ): New static function.
35047 (__mktime_internal): No need to normalize tm_isdst now.
35048 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35049 tm_isdst values.
35050
72a22e59
PE
35051 mktime: merge another wrapv change from gnulib
35052 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35053 from some compilers.
35054
68605433
PE
35055 mktime: remove incorrect attempt at unusual arithmetics
35056 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35057 The code didn't really work on such machines anyway.
35058 (TYPE_MINIMUM): Assume two's complement.
35059 (twos_complement_arithmetic): Verify that long_int and time_t
35060 are two's complement (or unsigned, in the latter case).
35061
03cf7fe3
PE
35062 mktime: check signed shifts on long_int and time_t, too
35063 * time/mktime.c (SHR): Check that shifts work as desired
35064 on the types long_int and time_t too, as SHR is used on
35065 such types.
35066
f04dfbc2
PE
35067 mktime: do not assume 'long' is wide enough
35068 * time/mktime.c (verify): Move decl up.
35069 (long_int): New type.
35070 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35071 to remove assumption in the code that 'long' is wide enough to
35072 store year values. This assumption is not true on x32 and on
35073 some non-glibc platforms.
35074
62bdf9a6
PE
35075 mktime: merge wrapv change from gnulib
35076 * time/mktime.c (WRAPV): New macro.
35077 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35078 (guess_time_tm, __mktime_internal): Do not assume that signed
35079 integer overflow wraps around; modern compilers generate code
35080 where this assumption is no longer valid.
35081
5e292e4f
L
350822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35083
35084 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35085 Replace "jmp L(pseudo_end)" with "ret".
35086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35087 Likewise.
35088
8caf8c87
AJ
350892012-05-23 Andreas Jaeger <aj@suse.de>
35090
35091 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35092 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35093
1a09dc56
AJ
350942012-05-23 Andreas Jaeger <aj@suse.de>
35095 Maximilian Attems <max@stro.at>
35096
35097 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35098 New macros.
35099
1c87aba0
L
351002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35101
35102 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35103 code so that pseudo_end is just ret and the stack pointer is
35104 correct also for static library in error case.
35105
40e45bd5
JM
351062012-05-23 Joseph Myers <joseph@codesourcery.com>
35107
c2670533
JM
35108 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35109 move to syscalls.list.
35110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35114
40e45bd5
JM
35115 * manual/install.texi (Running make install): Do not mention Linux
35116 kernel version for which pt_chown is not needed.
35117 (Linux): Do not mention problems with nscd with 2.0 kernels.
35118 * INSTALL: Regenerated.
35119
be08eda5
AJ
351202012-05-23 Andreas Jaeger <aj@suse.de>
35121
35122 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35123 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35124 macro.
35125 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35126 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35127 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35128 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35129 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35130 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35131 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35133 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35134 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35135 * sysdeps/unix/sysv/linux/bits/in.h
35136 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35137
a6a056bb
RM
351382012-05-22 Roland McGrath <roland@hack.frob.com>
35139
35140 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35141 (PREPARE_VERSION): Just use assert instead, it will be elided
35142 under [NDEBUG] anyway.
35143
c9009328
L
351442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35145
35146 * sysdeps/unix/sysv/linux/Makefile: Include
35147 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 35148 (sysdep_routines): Remove sysctl.
c9009328
L
35149 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35150 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35151 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35152 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35153 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35154
73338355
AJ
351552012-05-22 Andreas Jaeger <aj@suse.de>
35156
35157 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35158 that pseudo_end is just ret and the stack pointer is correct also
35159 for static library in error case.
35160
d44638b0
PP
351612012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35162
35163 [BZ #14122]
35164 * nss/nsswitch.c (defconfig_entries): New variable.
35165 (__nss_database_lookup): Don't leak defconfig entries.
35166 (nss_parse_service_list): Don't leak on error paths.
35167 (free_database_entries): New function.
35168 (free_defconfig): New function.
35169 (free_mem): Move common code to free_database_entries.
35170
31a39bd8
L
351712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35172
da0331a8
L
35173 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35174 Add arch_prctl.
35175 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35176
31a39bd8
L
35177 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35178 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35180 New macro.
35181 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35182 (INTERNAL_SYSCALL_TYPES): Likewise.
35183 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35184 (LOAD_REGS_TYPES_[1-6]): Likewise.
35185 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35186 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35187
45470df3
AZ
351882012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35189
35190 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35191 copysignl for GLIBC_2_0.
35192 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35193 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35195 logbl for GLIBC_2_0.
35196 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35197 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35198
98a61bcb
L
351992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35200
a4f6e481
L
35201 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35202 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35203
f63d5db6
L
35204 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35205 Use "neg %eax".
35206
98a61bcb
L
35207 * time/mktime.c: Update copyright years.
35208
95770f14
PE
352092012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35210
6226efbd
PE
35211 mktime: merge comment-quoting-style change from gnulib
35212 * time/mktime.c: Quote 'like this' in comments.
35213 The GNU coding standards suggest that we no longer quote `like this',
35214 as "`" and "'" are typically rendered asymmetrically nowadays.
35215 The typical gnulib style is to quote 'like this' when quoting
35216 code, and "like this" when quoting English.
35217
b99e4f78
PE
35218 * time/mktime.c (compile-command): Add "-I.".
35219
643e01e6
PE
35220 mktime: merge mktime-internal.h change from gnulib
35221 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35222
2554247d
PE
35223 mktime: merge time_r change from gnulib
35224 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35225
826dd0ab
PE
35226 mktime: merge DEBUG change from gnulib
35227 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35228 case system <time.h> has a #define.
35229
bd83aabe
PE
35230 mktime: merge <sys/types.h> change from gnulib
35231 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35232 since <time.t> is now guaranteed to define time_t.
35233
95770f14
PE
35234 mktime: merge HAVE_CONFIG_H change from gnulib
35235 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35236
5e1a27a9
L
352372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35238
0e44a77e
L
35239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35240 Use "neg %eax".
35241
5e1a27a9
L
35242 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35243 __rlim_t cast.
35244 (struct rusage): Use anonymous union to pad each field to
35245 __syscall_slong_t.
35246
46259bec
DM
352472012-05-21 David S. Miller <davem@davemloft.net>
35248
35249 * Makefules (o-iterator): Remove .s cases.
35250 (compile-command.s): Delete.
35251 (COMPILE.s): Delete.
35252 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35253
59f0c22e
JM
352542012-05-21 Joseph Myers <joseph@codesourcery.com>
35255
35256 * configure.in (libc_cv_predef_stack_protector): Only consider
35257 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35258 * configure: Regenerated.
35259
20c07380
L
352602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35261
bbb3154b
L
35262 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35263 New macro. Use R*LP on int and pointer.
35264 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
35265 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35266 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
35267 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35268
20c07380
L
35269 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35270 [__WORDSIZE_TIME64_COMPAT32] instead of
35271 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35272 (struct utmp): Likewise.
35273 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35274 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35275 Renamed to ...
35276 (__WORDSIZE_TIME64_COMPAT32): This.
35277 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35278 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35279 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35280 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35281 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35282 (__WORDSIZE_TIME64_COMPAT32): New macro.
35283
d8d1017e
AJ
352842012-05-21 Andreas Jaeger <aj@suse.de>
35285
35286 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35287 only if [SHARED]. Add prototype for __wcschr_ia32.
35288
6c7fb145
RM
352892012-05-21 Roland McGrath <roland@hack.frob.com>
35290
35291 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35292 of %rbp unmolested in the jmp_buf while mangling the low bits.
35293 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35294 unmolested high bits of %rbp while demangling the low bits.
35295 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35296
66274218
AJ
352972012-05-21 Andreas Jaeger <aj@suse.de>
35298
07c58f8f
AJ
35299 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35300 * sunrpc/svc_simple.c: Use it for registerrpc.
35301 * sunrpc/xcrypt.c: Use it for passwd2des.
35302
66274218
AJ
35303 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35304
61f65140
L
353052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35306
35307 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35308 Don't define if [__SYSCALL_WORDSIZE != 32].
35309 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35310 New macro.
35311
5fefb436
AJ
353122012-05-21 Bruno Haible <bruno@clisp.org>
35313 Andreas Jaeger <aj@suse.de>
35314
35315 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35316 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35317 inptr and inend for must_buffer_ch.
35318 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35319 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35320 * stdio-common/Makefile (tests): Remove bug15.
35321 (bug15-ENV): Remove macro.
35322 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35323 anymore.
35324
d8e272ab
AJ
353252012-05-19 Andreas Jaeger <aj@suse.de>
35326 Roland McGrath <roland@hack.frob.com>
35327
35328 * manual/contrib.texi: Completely rewritten. It contains now an
35329 alphabetical list of contributors and their contributions.
35330
4a56a162
RH
353312012-05-21 Richard Henderson <rth@twiddle.net>
35332
35333 * misc/getauxval.c (__getauxval): Use unsigned long int.
35334 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35335 (getauxval): Use unsigned long int.
35336
d024d23c
L
353372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35338
35339 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35340
cbc00a03
RM
353412012-05-21 Roland McGrath <roland@hack.frob.com>
35342
35343 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35344 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35345 __alignof__ (long double).
35346
478143fa
AZ
353472012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35348
35349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35350
c7683a6d
RH
353512012-05-20 Richard Henderson <rth@twiddle.net>
35352
35353 * misc/getauxval.c: New file.
35354 * misc/sys/auxv.h: New file.
35355 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35356 (routines): Add getauxval.
35357 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35358 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35359 * elf/dl-sysdep.c (_dl_auxv): Remove.
35360 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35361 * elf/dl-support.c (_dl_auxv): New variable.
35362 (_dl_aux_init): Initialize it.
35363 * manual/startup.texi (Auxiliary Vector): New node.
35364 * sysdeps/generic/bits/hwcap.h: New file.
35365 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35366 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35367 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35368 * sysdeps/sparc/sysdep.h: ... here. Include it.
35369 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35370 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
35371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35372 Update.
c7683a6d
RH
35373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35376 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35381
a6f1845d
AZ
353822012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35383
35384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35385
cbcbe830
DM
353862012-05-19 David S. Miller <davem@davemloft.net>
35387
35388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35389
e0b16cc2
JM
353902012-05-19 Joseph Myers <joseph@codesourcery.com>
35391
35392 [BZ #14123]
35393 * math/s_ccosh.c: Include <float.h>
35394 (__ccosh): Avoid internal overflow calculating sinh and cosh
35395 values before multiplying by sin and cos values.
35396 * math/s_ccoshf.c: Likewise.
35397 * math/s_ccoshl.c: Likewise.
35398 * math/s_csin.c: Likewise.
35399 * math/s_csinf.c: Likewise.
35400 * math/s_csinl.c: Likewise.
35401 * math/s_csinh.c: Likewise.
35402 * math/s_csinhf.c: Likewise.
35403 * math/s_csinhl.c: Likewise.
35404 * math/libm-test.inc (ccos_test): Add more tests.
35405 (ccosh_test): Likewise.
35406 (csin_test): Likewise.
35407 (csinh_test): Likewise.
35408 * sysdeps/i386/fpu/libm-test-ulps: Update.
35409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35410
6ad13e08
L
354112012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35412
f66f0ce8
L
35413 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35414 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35415
6ad13e08
L
35416 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35417
b1d072a7
JM
354182012-05-19 Joseph Myers <joseph@codesourcery.com>
35419
35420 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35421 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35422 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35423 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35424 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35425 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35426 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35427 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35428 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35429 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35430 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35431 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35432 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35433 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35434 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35435 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35436 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35437 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35438 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35439 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35440 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35441 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35442 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35443 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35444 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35445 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35446 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35447 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35448 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35449 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35450 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35451
9eae47cb
AJ
354522012-05-18 Andreas Jaeger <aj@suse.de>
35453
35454 * csu/.gitignore: Delete.
35455
bb07f69f
L
354562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35457
35458 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35459 (timex): Use __syscall_slong_t.
35460
e6bdb741
AJ
354612012-05-18 Andreas Jaeger <aj@suse.de>
35462 Carlos O'Donell <carlos_odonell@mentor.com>
35463
35464 * manual/install.texi (Configuring and compiling): Update
35465 description about files modified in the source directory.
d6c33fda 35466 * INSTALL: Regenerated.
e6bdb741 35467
1b74487e
L
354682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35469
35470 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35471 value. Use "or" to set return value to -1.
35472 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35473 negate return value.
35474
a88b64b9
TMQMF
354752012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35476
57f41c40
AS
35477 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35478 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
35479 failure if the compiler has Graphite support disabled.
35480 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35481 Likewise.
57f41c40
AS
35482 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35483 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
35484 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35485 Likewise.
35486
3707636e
L
354872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35488
610b8622
L
35489 * sysdeps/x86_64/x32/_itoa.h: New file.
35490
7cd195df
L
35491 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35492 getdents system call only if kernel and user dirents have the
35493 same d_ino and d_off.
35494
94b07d20
L
35495 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35496 LLONG_MAX != LONG_MAX.
35497 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35498 (_fitoa_word): Likewise.
35499
18298070
L
35500 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35501 years.
35502 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35503 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35504 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35505
553c7ea4
L
35506 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35507 include <bits/wordsize.h>. Check __x86_64__ instead of
35508 __WORDSIZE.
35509 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35510 if __x86_64__ is defined. Use anonymous union on fpstate.
35511
3707636e
L
35512 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35513 anonymous union.
35514
b53ef01a
AS
355152012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35516
37fb1dc0
AS
35517 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35518 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35519 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35520 Refer to _rtld_local_ro instead of _rtld_global_ro.
35521 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35522 Likewise.
35523 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35524 Likewise.
35525 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35526 Likewise.
35527 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35528 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35529 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35530
b53ef01a
AS
35531 * sysdeps/powerpc/powerpc32/dl-machine.c
35532 (__elf_machine_runtime_setup) [PROF]: Don't reference
35533 _dl_prof_resolve.
35534
7a185db2
AJ
355352012-05-18 Andreas Jaeger <aj@suse.de>
35536
35537 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35538 function only available for GCCs before 3.4 since GCC 3.4
35539 introduced a builtin.
35540 (lrint): Likewise.
35541 (llrintf): Likewise.
35542 (llrint): Likewise.
35543 (fmaxf): Likewise.
35544 (fmax): Likewise.
35545 (fminf): Likewise.
35546 (fmin): Likewise.
35547 (rint): Likewise.
35548 (rintf): Likewise.
35549 (nearbyint): Likewise.
35550 (nearbyintf): Likewise.
35551 (ceil): Likewise.
35552 (ceilf): Likewise.
35553 (floor): Likewise.
35554 (floorf): Likewise.
35555
3e5aef87
L
355562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35557
428bd707
L
35558 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35559 on both fields and cast pointer to __syscall_ulong_t.
35560
3e5aef87
L
35561 * bits/types.h (__fsword_t): New type.
35562 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35563 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35564 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35565 (__FSWORD_T_TYPE): Likewise.
35566 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35567 (__FSWORD_T_TYPE): Likewise.
35568 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35569 (__FSWORD_T_TYPE): Likewise.
35570 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35571 (__FSWORD_T_TYPE): Likewise.
35572 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35573 __SWORD_TYPE with __fsword_t.
35574 (statfs64): Likewise.
35575
1ba7c3dc
DM
355762012-05-17 David S. Miller <davem@davemloft.net>
35577
35578 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35579
59910343
AJ
355802012-05-17 Andreas Jaeger <aj@suse.de>
35581
35582 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35583 warning.
35584
2e4c1e9e
L
355852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35586
35587 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35588
de7f5ce7
AJ
355892012-05-17 Andreas Jaeger <aj@suse.de>
35590
35591 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35592 when it is used.
35593
286abc3d
CM
355942012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35595
35596 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35597
477cc68e
L
355982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35599
35600 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35601 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35602
1a0994f5
CD
356032012-05-17 Andreas Jaeger <aj@suse.de>
35604 Carlos O'Donell <carlos_odonell@mentor.com>
35605
35606 [BZ #14059]
35607 * sysdeps/x86_64/multiarch/init-arch.h
35608 (bit_YMM_Usable): Rename to...
35609 (bit_AVX_Usable): ... this.
35610 (bit_FMA4_Usable): New macro.
35611 (bit_XMM_state): New macro.
35612 (bit_YMM_state): New macro.
35613 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35614 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35615 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35616 (CPUID_OSXSAVE): New macro.
35617 (CPUID_AVX): New macro.
35618 (CPUID_FMA4): New macro.
35619 (index_YMM_Usable): Rename to...
35620 (index_AVX_Usable): ... this.
35621 (HAS_AVX): Use HAS_ARCH_FEATURE.
35622 (HAS_FMA4): Likewise.
35623 (HAS_YMM_USABLE): Remove.
35624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35625 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35626 are present.
35627 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35628 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35629 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35630 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35631 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35632
0af797de
CM
356332012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35634
35635 * math/libm-test.c: Support platforms without multiple rounding modes.
35636 * math/bug-nextafter.c: Support platforms without FP exceptions.
35637 * math/bug-nexttoward.c: Likewise.
35638 * math/test-fenv.c: Likewise.
35639 * math/test-misc.c: Likewise.
35640 * stdlib/bug-getcontext.c: Likewise.
35641
e39745ff
AJ
356422012-05-17 Andreas Jaeger <aj@suse.de>
35643
35644 * manual/examples/search.c (critter_cmp): Change signature to
35645 avoid warnings.
35646 * manual/string.texi (Collation Functions): Likewise.
35647
48970aba
L
356482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35649
35650 * bits/types.h: Fold copyright years.
35651 * bits/typesizes.h: Likewise.
35652 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35653 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35654 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35655 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35656 * time/time.h: Likewise.
35657
bedee953
PP
356582012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35659
35660 [BZ #208]
35661 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35662 in instead of returning them. Return void.
35663 (__libc_mallinfo): Accumulate over all arenas.
35664 (__malloc_stats): Adjust for change in int_mallinfo interface.
35665
61653dfb
RM
356662012-05-16 Roland McGrath <roland@hack.frob.com>
35667
30b99d79
RM
35668 [BZ #10375]
35669 * configure.in (NM): Add AC_CHECK_TOOL for it.
35670 (libc_extra_cflags): New substituted variable.
35671 Check for -fstack-protector being used implicitly.
35672 * configure: Regenerated.
35673 * config.make.in (config-extra-cflags): New variable,
35674 gets @libc_extra_cflags@.
35675 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35676
61653dfb
RM
35677 [BZ #10375]
35678 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35679 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35680 * configure: Regenerated.
35681 * config.make.in (CPPUNDEFS): New substituted variable.
35682 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35683 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35684 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35685
661768bb
L
356862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35687
35688 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35689 (mq_attr): Use __syscall_slong_t.
35690
d4261567
L
356912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35692
35693 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35694 Check __x86_64__ instead of __WORDSIZE.
35695 (_STAT_VER_LINUX): Likewise.
35696 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35697 __syscall_ulong_t and __syscall_slong_t.
35698 (stat64): Likewise.
35699
cf3ff365
L
357002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35701
35702 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35703
76cf3e4d
L
357042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35705
35706 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35707
a637753a
L
357082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35709
35710 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35711 __syscall_ulong_t.
35712
d5e05119
L
35713 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35714 include <bits/wordsize.h>. Check __x86_64__ instead of
35715 __WORDSIZE.
35716 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35717 defined.
35718 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35719
f62ee380
L
35720 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35721 include <bits/wordsize.h>. Check __x86_64__ instead of
35722 __WORDSIZE.
35723 (user_regs_struct): Use "__extension__ unsigned long long"
35724 instead of "unsigned long" if __x86_64__ is defined.
35725 (user): Likewise. Pad after pointer field if __ILP32__ is
35726 defined.
35727
4e124ced
JM
357282012-05-16 Joseph Myers <joseph@codesourcery.com>
35729
6a3951a0
JM
35730 * configure.in (makeinfo): Require version 4.5 or later. Allow
35731 versions 5 to 9.
35732 * configure: Regenerated.
35733 * manual/install.texi (texinfo): Increase version requirement to
35734 4.5 or later.
35735 * INSTALL: Regenerated.
35736
4e124ced
JM
35737 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35738
953ca31a
L
357392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35740
35741 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35742
617aca05
L
35743 * sysdeps/x86_64/x32/ffs.c: New file.
35744
5762f7ae
L
35745 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35746 __syscall_ulong_t.
35747 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35748 defined. Use __syscall_ulong_t.
35749 (shminfo): Use __syscall_ulong_t.
35750 (shm_info): Likewise.
35751
a26b6856
L
35752 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35753 __syscall_ulong_t.
35754
cb2b9ef7
L
35755 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35756 <bits/wordsize.h>.
35757 (msgqnum_t): Use __syscall_ulong_t.
35758 (msglen_t): Likewise.
35759 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35760 __syscall_ulong_t.
35761
34683bb0
L
35762 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35763 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35764
84a68786
L
35765 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35766
48baa5f1
L
35767 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35768 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35769
180be88b
L
35770 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35771 __syscall_slong_t.
35772
5e90c8ad
L
35773 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35774 include <bits/wordsize.h>. Check __x86_64__ instead of
35775 __WORDSIZE.
35776
23dfb58b
L
35777 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35778 "unsigned long long int" if __x86_64__ is defined.
35779 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35780
ce5d54b0
L
35781 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35782 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35783 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35784
13dc9eac
L
35785 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35786 <stdint.h>.
35787 (GET_PC): Cast to uintptr_t first.
35788 (GET_FRAME): Likewise.
35789 (GET_STACK): Likewise.
35790
a7895d15
L
35791 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35792 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35793 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35794 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35795 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35796 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35797 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35798 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35799 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35800 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35801 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35802 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35803 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35804 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35805 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35806 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35807 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35808 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35809 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35810 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35811 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35812 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35813 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35814 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35815 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35816 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35817 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35818 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35819 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35820
656416c9
AS
358212012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35822
5bd66283
AS
35823 * Makerules (+depfiles): Also collect depfiles from .oS in
35824 $(extra-objs).
35825 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35826 .oS, $(libnldbl-routines)).
35827
656416c9
AS
35828 * Makerules (native-compile-mkdep-flags): Define.
35829 * sunrpc/Makefile (extra-objs): Add $(addprefix
35830 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35831 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35832 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35833 calling $(make-target-directory).
35834
a46f2169
L
358352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35836
35837 * bits/types.h (__snseconds_t): Removed.
35838 * time/time.h (struct timespec): Replace __snseconds_t with
35839 __syscall_slong_t.
35840 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35841 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35842 Likewise.
35843 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35844 (__SNSECONDS_T_TYPE): Likewise.
35845 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35846 (__SNSECONDS_T_TYPE): Likewise.
35847 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35848 (__SNSECONDS_T_TYPE): Likewise.
35849
6af6528b
L
358502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35851
35852 * sysdeps/mach/hurd/bits/typesizes.h
35853 (__SYSCALL_SLONG_TYPE): New macro.
35854 (__SYSCALL_ULONG_TYPE): Likewise.
35855
de986b56
L
358562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35857
35858 * bits/types.h (__syscall_slong_t): New type.
35859 (__syscall_ulong_t): Likewise.
35860
35861 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35862 (__SYSCALL_ULONG_TYPE): Likewise.
35863 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35864 (__SYSCALL_SLONG_TYPE): Likewise.
35865 (__SYSCALL_ULONG_TYPE): Likewise.
35866 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35867 (__SYSCALL_SLONG_TYPE): Likewise.
35868 (__SYSCALL_ULONG_TYPE): Likewise.
35869 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35870 (__SYSCALL_SLONG_TYPE): Likewise.
35871 (__SYSCALL_ULONG_TYPE): Likewise.
35872
85736dc7
L
358732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35874
35875 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35876 Add sigaltstack-offsets.sym.
35877 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35878 <sigaltstack-offsets.h>.
35879 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35880 longjmp_msg pointer.
35881 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35882 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35883 signal stack.
35884 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35885
cc03b296
JM
358862012-05-15 Joseph Myers <joseph@codesourcery.com>
35887
a9538892
JM
35888 * elf/stackguard-macros.h: Remove file.
35889 * sysdeps/generic/stackguard-macros.h: New file.
35890 * sysdeps/i386/stackguard-macros.h: Likewise.
35891 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35892 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35893 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35894 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35895 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35896 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35897 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35898 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35899 <elf/stackguard-macros.h>.
35900
cc03b296
JM
35901 [BZ #14109]
35902 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35903 __aligned__ in attribute.
35904 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35905 (gregset_t): Likewise.
35906
93171016
L
359072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35908
35909 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35910 * sysdeps/x86_64/64/Implies-after: Here. New file.
35911 * sysdeps/x86_64/x32/Implies-after: New file.
35912
d86813a0
L
359132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35914
35915 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35916 and access return value for _dl_profile_fixup. Use R10_LP to
35917 load frame size.
35918
2953ec75
L
359192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35920
35921 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35922
3b550e9e
L
359232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35924
35925 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35926 * sysdeps/x86_64/x32/sysdep.h: New file.
35927
eda41706
L
359282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35929
35930 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35931 * sysdeps/x86_64/setjmp.S: Likewise.
35932
9ea01d93
AZ
359332012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35934
35935 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35936 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35937 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35938 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35939 remove unused global constant.
35940
02a91938
CM
359412012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35942
35943 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35944 include of <not-cancel.h>.
35945
6540185f
RM
359462012-05-15 Roland McGrath <roland@hack.frob.com>
35947
35948 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35949
509072a0
AJ
359502012-05-15 Jeff Law <law@redhat.com>
35951 Andreas Jaeger <aj@suse.de>
35952
35953 [BZ #13594]
35954 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35955 out from...
35956 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35957 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35958 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35959 code changing __hst_map_handle.map.
35960
ba75122d
RM
359612012-05-15 Roland McGrath <roland@hack.frob.com>
35962
35963 * configure.in (sysnames): Look for Implies-before and Implies-after
35964 files.
35965 * configure: Regenerated.
35966
890d8bd8
L
359672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35968
35969 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35970 8-byte data alignment with LP_SIZE alignment.
35971
f6ee6623
L
359722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35973
35974 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35975 into R10_LP.
35976
ea2626f6
L
359772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35978
35979 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35980
085f715e
L
359812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35982
35983 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35984 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35985 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35986 Likewise.
35987 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35988
be8498fc
L
359892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35990
35991 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35992 (stackinfo_sub_sp): Likewise.
35993
70bc83b9
L
359942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35995
35996 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35997 RAX_LP.
35998
9bc0b730
L
359992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36000
36001 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36002 into R*_LP.
36003
6d2850e7
L
360042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36005
36006 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36007 sizes into R*_LP.
36008
3cb84561
L
360092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36010
36011 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36012
54e2ed81
L
360132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36014
36015 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36016 into R11_LP and load __x86_64_shared_cache_size_half into
36017 R8_LP.
36018
8a17f349
L
360192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36020
36021 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36022 R8_LP.
36023
777b1eea
AZ
360242012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36025
36026 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36027 logb for POWER7.
36028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36029 logbf for POWER7.
36030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36031 logbl for POWER7.
36032 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36033 powerpc32/power7/fpu/s_logb.c via #include.
36034 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36035 powerpc32/power7/fpu/s_logbf.c via #include.
36036 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36037 powerpc32/power7/fpu/s_logbl.c via #include.
36038
d20d4ac2
JM
360392012-05-15 Joseph Myers <joseph@codesourcery.com>
36040
36041 * README.libm: Remove file.
36042
6cdef1ab
L
360432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36044
36045 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36046 count for x32. Use R*_LP and omit operand-size suffix.
36047
0b254d8f
L
360482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36049
36050 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36051 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36052 * sysdeps/x86_64/x32/shlib-versions: New file.
36053
ceb809dc
RM
360542012-05-14 Roland McGrath <roland@hack.frob.com>
36055
36056 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36057 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36058 Use _dl_fatal_printf instead.
36059
37f1abd4
JM
360602012-05-14 Joseph Myers <joseph@codesourcery.com>
36061
36062 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36063 set if not set by the user. Do not allow for being unset.
36064 * sysdeps/unix/sysv/linux/configure: Regenerated.
36065
11de3a33
L
360662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36067
36068 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36069 the `q' suffix from lea and replace .quad with ASM_ADDR.
36070
e02f153a
L
360712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36072
36073 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36074 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36075 instead of $17.
36076 (PTR_DEMANGLE): Likewise.
36077
520ae0fd
L
360782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36079
36080 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36081 (LP_OP): Likewise.
36082 (ASM_ADDR): Likewise.
36083 (RAX_LP): Likewise.
36084 (RBP_LP): Likewise.
36085 (RBX_LP): Likewise.
36086 (RCX_LP): Likewise.
36087 (RDI_LP): Likewise.
36088 (RSI_LP): Likewise.
36089 (RSP_LP): Likewise.
36090 (R8_LP): Likewise.
36091 (R9_LP): Likewise.
36092 (R10_LP): Likewise.
36093 (R10_LP): Likewise.
36094 (R11_LP): Likewise.
36095 (R12_LP): Likewise.
36096 (R13_LP): Likewise.
36097 (R14_LP): Likewise.
36098 (R15_LP): Likewise.
36099
b985be81
L
361002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36101
36102 * sysdeps/x86_64/x32/dl-machine.h: New file.
36103
6a4888ff
AJ
361042012-05-14 Andreas Jaeger <aj@suse.de>
36105
36106 * manual/Makefile (subdir): Remove export of subdir.
36107 (all): Remove target.
36108 (.PHONY): Remove all from list.
36109 (mkinstalldirs): Remove.
36110 (.PHONY): Remove installdirs from list.
36111 ($(inst_infodir)/libc.info): Use make-target-directory.
36112 (installdirs): Remove.
36113 (subdir_%): Remove.
36114 (glibc-targets): Remove.
36115 (lib): Remove.
36116 (stubs): Remove.
36117 ($(objpfx)stubs ../po/manual.pot): Remove.
36118 ($(objpfx)stamp%): Remove.
36119 (make-target-directory): Remove.
36120 (subdir_install): Remove.
36121 (routines): Remove.
36122 (aux): Remove.
36123 (sources): Remove.
36124 (objects): Remove.
36125 (headers): Remove.
36126
36127 [BZ #13750]
36128 * manual/.gitignore: Remove, it's not needed anymore.
36129 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36130 all files in it.
36131 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36132 directory.
36133 (texis): Renamed to $(objpfx)texis.
36134 (texis-path): New, contains path to generated files.
36135 (chapters.%): Use texis-path for complete path, add extra argument
36136 libc-texinfo.sh.
36137 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36138 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36139 (summary,texi, stamp-summary): Use complete path of
36140 files. Generate files in build dir.
36141 (dir-add.texi): Build in build dir.
36142 (libm-err.texi,stamp-libm-err): Likewise.
36143 (version.texi, stamp-version): Likewise.
36144 (.%c.texi): Likewise.
36145 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36146 (mostlyclean): Remove target.
36147 (realclean): Remove target.
36148 (generated): Add new variable with contents from mostlyclean and
36149 realclean, remove entries duplicated in common-mostlyclean, add
36150 stamp-libm-err and stamp-version.
36151 (generated-dirs): Add libc directory.
36152 ($(inst_infodir)/libc.info): Install files from build dir.
36153
36154 * manual/install.texi (Configuring and compiling): Adjust since
36155 the info files are not part of the tar ball anymore.
36156
7ac77294
AJ
361572012-05-14 Andreas Jaeger <aj@suse.de>
36158
36159 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36160 variable.
36161
ffb7875d
JM
361622012-05-14 Joseph Myers <joseph@codesourcery.com>
36163
36164 [BZ #13717]
36165 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36166 to 2.2.0 where earlier.
36167 * sysdeps/unix/sysv/linux/configure: Regenerated.
36168 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36169 Remove conditional code.
36170 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36171 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36172 Remove conditional code.
36173 [!__NR_lchown]: Likewise.
36174 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36175 [__NR_lchown]: Likewise.
36176 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36177 comment referencing __ASSUME_LCHOWN_SYSCALL.
36178 * sysdeps/unix/sysv/linux/i386/sigaction.c
36179 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36180 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36181 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36182 Remove conditional code.
36183 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36184 (__protocol_available): Remove #if 0 code.
36185 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36186 conditional code.
36187 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36188 * sysdeps/unix/sysv/linux/kernel-features.h
36189 (__ASSUME_GETCWD_SYSCALL): Don't define.
36190 (__ASSUME_REALTIME_SIGNALS): Likewise.
36191 (__ASSUME_PREAD_SYSCALL): Likewise.
36192 (__ASSUME_PWRITE_SYSCALL): Likewise.
36193 (__ASSUME_POLL_SYSCALL): Likewise.
36194 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36195 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36196 non-SPARC.
36197 (__ASSUME_SIOCGIFNAME): Don't define.
36198 (__ASSUME_MSG_NOSIGNAL): Likewise.
36199 (__ASSUME_SENDFILE): Define unconditionally.
36200 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36201 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36202 conditional code.
36203 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36204 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36205 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36206 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36207 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36208 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36209 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36211 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36214 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36215 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36217 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36220 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36223 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36224 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36226 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36227 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36229 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36230 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36232 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36233 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36234 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36235 Remove conditional code.
36236 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36237 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36238 Remove conditional code.
36239 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36240 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36241 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36242 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36243 Remove conditional code.
36244 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36245 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36246 Remove conditional code.
36247 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36248 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36249 Remove conditional code.
36250 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36251 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36252 Remove conditional code.
36253 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36254 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36255 Remove conditional code.
36256 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36257 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36258 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36259 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36260 * sysdeps/unix/sysv/linux/sigaction.c
36261 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36262 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36263 * sysdeps/unix/sysv/linux/sigpending.c
36264 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36265 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36266 * sysdeps/unix/sysv/linux/sigprocmask.c
36267 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36268 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36269 * sysdeps/unix/sysv/linux/sigsuspend.c
36270 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36271 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36272 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36273 (__libc_missing_rt_sigs): Remove.
36274 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36275 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36276 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36277 Remove conditional code.
36278 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36279 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36280 return 1.
36281 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36282 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36283 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36284 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36285
1bfb7291
AJ
362862012-05-14 Andreas Jaeger <aj@suse.de>
36287
caae5a81
AJ
36288 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36289 it's not used in glibc.
36290 (__coshm1): Likewise.
36291 (__acosh1p): Likewise.
36292 (__sgn): Likewise.
36293
1bfb7291
AJ
36294 * manual/string.texi (Copying and Concatenation): Add missing
36295 variable in concat example.
36296 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36297
c044d724
L
362982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36299
144c5467 36300 [BZ #14103]
c044d724
L
36301 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36302 __builtin_clzl with __builtin_clzll.
36303
2523c62b
L
363042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36305
36306 [BZ #14104]
36307 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36308 libc_freeres_ptr.
36309
d7bb4c42
LD
363102012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36311
36312 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36313 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36314 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36315 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36316
9dc4e1fb
MF
363172012-05-14 Mike Frysinger <vapier@gentoo.org>
36318
36319 * NEWS: Update ia64 info.
36320
c7df0112
AS
363212012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36322
36323 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36324 used as bcopy.
36325
dc70356c
TS
363262012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36327
36328 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36329 * sysdeps/unix/syscalls.list (dup3): Likewise.
36330 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36331 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36332
9fb1a21f
L
363332012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36334
36335 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36336 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36337
4822a2a5
L
363382012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36339
36340 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36341 thread pointer.
36342 (TLS_IE): Use mov/add instead of movq/addq to load thread
36343 pointer.
36344 (TLS_GD_PREFIX): New.
36345 (TLS_GD): Use it.
36346
842b81d6
DM
363472012-05-11 David S. Miller <davem@davemloft.net>
36348
36349 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36350 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36351 (_FPU_SETCW): Likewise.
36352
1cf463cd
L
363532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36354
36355 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36356 is 32-byte aligned.
36357
60cc4a18
AS
363582012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36359
36360 [BZ #11837]
36361 * iconvdata/gb18030.c: Update tables.
36362 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36363 characters specially.
36364 (BODY for TO_LOOP): Add encoding of missing ranges.
36365
febb44a4
TS
363662012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36367
36368 [BZ #13673]
36369 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36370 * sysdeps/mach/hurd/dup3.c: Likewise.
36371 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36372 * sysdeps/powerpc/memmove.c:: Likewise.
36373
0a10fb9e
L
363742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36375
36376 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36377 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36378
df8a552f
L
363792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36380
36381 * elf/elf.h (R_X86_64_RELATIVE64): New.
36382 (R_X86_64_NUM): Updated.
36383 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36384 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36385 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36386 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36387 tst-quad1pie tst-quad2pie
36388 (modules-names): Add tst-quadmod1 tst-quadmod2.
36389 ($(objpfx)tst-quad1): New dependency.
36390 ($(objpfx)tst-quad2): Likewise.
36391 ($(objpfx)tst-quad1pie): Likewise.
36392 ($(objpfx)tst-quad2pie): Likewise.
36393 * sysdeps/x86_64/tst-quad1.c: New file.
36394 * sysdeps/x86_64/tst-quad1pie.c: New file.
36395 * sysdeps/x86_64/tst-quad2.c: Likewise.
36396 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36397 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36398 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36399 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36400 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36401
f34d6f84
ST
364022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36403
f42d41d1
ST
36404 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36405 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36406 * streams/stropts.h (t_scalar_t): Define type.
36407
3c3571fc
ST
36408 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36409 (_PATH_PRESERVE): Set to "/var/lib".
36410 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36411
61f06bd3
ST
36412 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36413 instead of int.
36414
918d4d71
ST
36415 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36416 if __dir_mkfile succeeded.
36417
f34d6f84
ST
36418 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36419 checking for _hurd_dtablesize. Unlock it right after having
36420 finished _hurd_dtable allocation.
36421
10589b4a
TS
364222012-05-10 Thomas Schwinge <thomas@schwinge.name>
36423
674cdbc7
TS
36424 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36425 * sysdeps/mach/hurd/configure: Regenerated.
36426 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36427 special-casing to...
36428 * sysdeps/gnu/configure.in: ... this new file.
36429 * sysdeps/unix/sysv/linux/configure: Regenerated.
36430 * sysdeps/gnu/configure: New generated file.
36431
8e41b99f
TS
36432 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36433 for Linux: use nsec instead of usec, as well as:
36434 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36435 members of type struct timespec.
36436 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36437 New macros.
36438 (struct stat64): Likewise.
36439 (_STATBUF_ST_NSEC): New macro.
36440 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36441
10589b4a
TS
36442 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36443 __strtoul_internal rather than strtoul.
36444
63643c85
PT
364452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36446
36447 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36448 and reject them.
36449
3faebe6a
ST
364502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36451
36452 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36453 which preserves existing values.
36454 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36455
c6474b07
PT
364562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36457
36458 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36459 TIMEOUT values. Return EINVAL for NFDS values either negative or
36460 greater than FD_SETSIZE.
36461
1043890b
ST
364622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36463
36464 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36465 allocated, call __vm_protect to finish enabling the existing space, and
36466 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36467 allocate the remainder.
36468
37ed8b9b
PT
364692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36470
36471 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36472 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36473
db653660
ST
364742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36475
37ed8b9b
PT
36476 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36477 sysdeps/mach/hurd/readlink.c.
b29d4053 36478
db653660
ST
36479 * posix/tst-sysconf.c (posix_options): Only use
36480 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36481 _POSIX_SYNCHRONIZED_IO when they are defined
36482 * sysdeps/mach/hurd/bits/posix_opt.h:
36483 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36484 (_XOPEN_REALTIME): Undefine macro.
36485 (_XOPEN_REALTIME_THREADS): Undefine macro.
36486 (_XOPEN_SHM): Undefine macro.
36487 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36488 macro to -1.
36489 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36490 macro to -1.
36491 (_POSIX_ASYNC_IO): Undefine macro.
36492 (_POSIX_PRIORITIZED_IO): Undefine macro.
36493 (_POSIX_SPIN_LOCKS): Define macro to -1.
36494
ee16e894
ST
36495 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36496 SA_NODEFER, SA_RESETHAND.
36497 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36498 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36499 F_DUPFD_CLOEXEC.
36500
6103ae3b
TS
365012012-05-10 Thomas Schwinge <thomas@schwinge.name>
36502
36503 * elf/Makefile (pldd-modules): Define unconditionally.
36504
80b4e5f3
TS
365052012-05-10 Thomas Schwinge <thomas@schwinge.name>
36506
36507 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36508
edadcbd6
ST
365092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36510
36511 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36512 Return ENOENT when name is empty.
36513 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36514
80694780
TS
365152012-05-10 Thomas Schwinge <thomas@schwinge.name>
36516
1792c087
TS
36517 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36518
80694780
TS
36519 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36520
6b645f0d
ST
365212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36522
80694780
TS
36523 Fix mlock in all cases except non-readable pages.
36524 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36525 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 36526
6b645f0d
ST
36527 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36528 (__mkdir): When path is `/', just fail with EEXIST.
36529 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36530
e468f8a3
TS
365312012-05-10 Thomas Schwinge <thomas@schwinge.name>
36532
36533 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36534 <sys/uio.h> (for writev).
36535 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36536 and <sys/param.h> (for MIN).
36537
a4186cff
PT
365382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36539
36540 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36541 REQUESTED_TIME. Properly set the remaining time and return EINTR
36542 if interrupted.
36543
510bbf14
TS
365442012-05-10 Thomas Schwinge <thomas@schwinge.name>
36545
36546 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36547 Depend on against $(link-rpcuserlibs).
36548
5d5722e8
ST
365492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36550
a4186cff
PT
36551 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36552 (__libc_stack_end): Do not use attribute_relro.
36553 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36554 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 36555 to libthread-provided value.
a4186cff
PT
36556 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36557 attribute_relro.
5d5722e8 36558
37233df9
TS
365592012-05-10 Thomas Schwinge <thomas@schwinge.name>
36560
be971a2b
TS
36561 [BZ #3748]
36562 * bits/libc-lock.h (__libc_once_get): New macro.
36563 * sysdeps/mach/bits/libc-lock.h: Likewise.
36564 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36565 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36566 instead of using implementation details.
36567
37233df9
TS
36568 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36569 * libio/freopen.c: Likewise.
36570 * libio/freopen64.c: Likewise.
36571 * misc/syslog.c: Likewise.
36572 * nscd/connections.c: Likewise.
36573 * nscd/netgroupcache.c: Likewise.
36574 * sysdeps/posix/getcwd.c: Likewise.
36575
38de94a5
RM
365762012-05-10 Roland McGrath <roland@hack.frob.com>
36577
36578 * math/w_ilogbf.c: Add #include <limits.h>.
36579
67530489
ST
365802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36581
a4186cff 36582 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
36583 path instead of returning without unlocking.
36584
67530489
ST
36585 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36586 immediate-write ioctls.
36587 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36588
5aa3a74a
TS
365892012-05-10 Thomas Schwinge <thomas@schwinge.name>
36590
18bad2ae
TS
36591 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36592 __builtin_frame_address instead of making assumptions about the
36593 location of the return address relative to DATA. Force early load of
36594 the return address.
36595 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36596 __builtin_frame_address.
36597
5aa3a74a
TS
36598 dup3 for GNU Hurd.
36599 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36600 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36601 implement dup3 and do some further code clean-ups.
36602 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36603 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36604
ecd0de9a
ST
366052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36606
cd9fa985
ST
36607 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36608
a4186cff
PT
36609 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36610 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36611 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36612 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36613 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36614 d->port.lock.
802ca5a5 36615
a4186cff
PT
36616 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36617 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36618 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 36619
bcf55240
TS
366202012-05-10 Thomas Schwinge <thomas@schwinge.name>
36621
6960eb42
TS
36622 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36623 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36624 definitions.
36625
eb43375f
TS
36626 accept4 for GNU Hurd.
36627 * include/sys/socket.h (__libc_accept4): New prototype.
36628 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36629 to implement __libc_accept4.
36630 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36631 __libc_accept4.
36632 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36633
bcf55240
TS
36634 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36635 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36636 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36637 signal-defines.sym.
36638
6178c55b
ST
366392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36640
a4186cff 36641 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 36642
6f080c2f
TS
366432012-05-10 Thomas Schwinge <thomas@schwinge.name>
36644
36645 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36646 assertion on O_CLOEXEC flag.
36647 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36648 * hurd/intern-fd.c: Likewise.
36649 * hurd/port2fd.c: Likewise.
36650
bcfe3a54
ST
366512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36652
36653 [BZ #3906]
36654 * bits/in.h (IPV6_PKTINFO): Define new macro.
36655 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36656
89c9aa49
AZ
366572012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36658
36659 [BZ #13954]
36660 [BZ #13955]
36661 [BZ #13956]
36662 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36663 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36664 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36665 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36666 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36667 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36668 * math/libm-test.inc (logb_test) : Additional logb tests.
36669
021db4be
AJ
366702012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36671 Andreas Jaeger <aj@suse.de>
36672
36673 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36674 * configure: Regenerated.
36675 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36676 * config.make.in (link-obsolete-rpc): New substituted variable.
36677 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36678 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36679 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36680 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36681 so that libc.a contains the symbols.
36682 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36683 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36684 * sunrpc/auth_none.c: Likewise.
36685 * sunrpc/auth_unix.c: Likewise.
36686 * sunrpc/authdes_prot.c: Likewise.
36687 * sunrpc/authuxprot.c: Likewise.
36688 * sunrpc/clnt_gen.c: Likewise.
36689 * sunrpc/clnt_perr.c: Likewise.
36690 * sunrpc/clnt_raw.c: Likewise.
36691 * sunrpc/clnt_simp.c: Likewise.
36692 * sunrpc/clnt_tcp.c: Likewise.
36693 * sunrpc/clnt_udp.c: Likewise.
36694 * sunrpc/clnt_unix.c: Likewise.
36695 * sunrpc/des_crypt.c: Likewise.
36696 * sunrpc/des_soft.c: Likewise.
36697 * sunrpc/get_myaddr.c: Likewise.
36698 * sunrpc/key_call.c: Likewise.
36699 * sunrpc/key_prot.c: Likewise.
36700 * sunrpc/netname.c: Likewise.
36701 * sunrpc/pm_getmaps.c: Likewise.
36702 * sunrpc/pm_getport.c: Likewise.
36703 * sunrpc/pmap_clnt.c: Likewise.
36704 * sunrpc/pmap_prot.c: Likewise.
36705 * sunrpc/pmap_prot2.c: Likewise.
36706 * sunrpc/pmap_rmt.c: Likewise.
36707 * sunrpc/publickey.c: Likewise.
36708 * sunrpc/rpc_cmsg.c: Likewise.
36709 * sunrpc/rpc_common.c: Likewise.
36710 * sunrpc/rpc_dtable.c: Likewise.
36711 * sunrpc/rpc_prot.c: Likewise.
36712 * sunrpc/rpc_thread.c: Likewise.
36713 * sunrpc/rtime.c: Likewise.
36714 * sunrpc/svc.c: Likewise.
36715 * sunrpc/svc_auth.c: Likewise.
36716 * sunrpc/svc_raw.c: Likewise.
36717 * sunrpc/svc_run.c: Likewise.
36718 * sunrpc/svc_tcp.c: Likewise.
36719 * sunrpc/svc_udp.c: Likewise.
36720 * sunrpc/svc_unix.c: Likewise.
36721 * sunrpc/svcauth_des.c: Likewise.
36722 * sunrpc/xcrypt.c: Likewise.
36723 * sunrpc/xdr.c: Likewise.
36724 * sunrpc/xdr_array.c: Likewise.
36725 * sunrpc/xdr_float.c: Likewise.
36726 * sunrpc/xdr_intXX_t.c: Likewise.
36727 * sunrpc/xdr_mem.c: Likewise.
36728 * sunrpc/xdr_rec.c: Likewise.
36729 * sunrpc/xdr_ref.c: Likewise.
36730 * sunrpc/xdr_sizeof.c: Likewise.
36731 * sunrpc/xdr_stdio.c: Likewise.
36732
b5c086a2
RM
367332012-05-10 Roland McGrath <roland@hack.frob.com>
36734
36735 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36736 change. Update copyright years.
36737
6d74dd09
JM
367382012-05-10 Joseph Myers <joseph@codesourcery.com>
36739
36740 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36741
28e72501
MK
367422012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36743 Joseph Myers <joseph@codesourcery.com>
36744 Paul Pluzhnikov <ppluzhnikov@google.com>
36745
36746 [BZ #14012]
36747 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36748 requiring rpcgen.
36749 [cross-compiling] (extra-libs): Likewise.
36750 [cross-compiling] (extra-libs-others): Likewise.
36751 [cross-compiling] (librpcsvc-routines): Likewise.
36752 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36753 [cross-compiling] (omit-deps): Likewise.
36754 (sunrpc-CPPFLAGS): New variable.
36755 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36756 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36757 (cross-rpcgen-objs): New variable.
36758 (extra-objs): Append $(cross-rpcgen-objs).
36759 ($(cross-rpcgen-objs)): New rule.
36760 ($(objpfx)cross-rpcgen): Likewise.
36761 (rpcgen-cmd): Define to use $(built-program-file). Expand
36762 comment.
36763 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36764 ($(objpfx)x%.stmp): Likewise.
36765 * sunrpc/proto.h [IS_IN_build] (_): Define.
36766 [IS_IN_build] (_libc_intl_domainname): Likewise.
36767
c8c59454
L
367682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36769
36770 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36771 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36772 and R_X86_64_TPOFF64.
36773
6f27cd16
JM
367742012-05-10 Joseph Myers <joseph@codesourcery.com>
36775
36776 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36777 sysdeps/unix/sysv/syscalls.list.
36778 (stime): Likewise.
36779 (utime): Likewise.
36780 * sysdeps/unix/sysv/syscalls.list: Remove file.
36781
02467e1c
PE
367822012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36783
36784 [BZ #3440]
36785 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36786 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36787 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36788 (__LC_IDENTIFICATION): Make these macros useful in #if
36789 expressions, as required by C99.
36790
da392631
AS
367912012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36792
36793 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36794 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36795 after this.
36796
8115f29b
L
367972012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36798
36799 * stdlib/longlong.h: Updated from GCC.
36800
bdd74070
AJ
368012012-05-09 Andreas Jaeger <aj@suse.de>
36802
edfe0dbe
AJ
36803 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36804 default is first entry.
36805 (run_mode): Set type.
36806 (main): Remove informal message about syslog.
36807 (options): Fix typo.
36808
bcfe3a54
ST
36809 [BZ #14053]
36810 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 36811 to asm.
bcfe3a54
ST
36812 (lrint): Likewise.
36813 (llrintf): Likewise.
36814 (llrint): Likewise.
36815 (rint): Likewise.
36816 (rintf): Likewise.
36817 (nearbyint): Likewise.
36818 (nearbyintf): Likewise.
bdd74070 36819
91d8d69e
AJ
368202012-05-09 Andreas Jaeger <aj@suse.de>
36821 Pedro Alves <palves@redhat.com>
36822
36823 * nscd/nscd.c (run_mode): Use enum.
36824 (main): Cleanup coding style issue.
36825
bb90b80b
AJ
368262012-05-09 Alexandre Oliva <aoliva@redhat.com>
36827 Andreas Jaeger <aj@suse.de>
36828
bcfe3a54
ST
36829 * nscd/nscd.c (go_background): Replaced with...
36830 (run_mode): ... this.
bb90b80b 36831 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
36832 (options): Add -F --foreground.
36833 (main): Implement it.
36834 (parse_opt): Parse it.
bb90b80b 36835
1a4b75a1
AJ
368362012-05-09 Andreas Jaeger <aj@suse.de>
36837
36838 [BZ #14083]
36839 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36840 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36841 -Wconversion warning.
36842 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36843 Likewise.
36844
b1cc2472
JM
368452012-05-09 Joseph Myers <joseph@codesourcery.com>
36846
36847 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36848 == 0.
36849 (LC_ALL): Use macro-int-constant.
36850 (LC_COLLATE): Likewise.
36851 (LC_CTYPE): Likewise.
36852 (LC_MESSAGES): Likewise.
36853 (LC_MONETARY): Likewise.
36854 (LC_NUMERIC): Likewise.
36855 (LC_TIME): Likewise.
36856 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36857 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36858 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36859 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36860 Specify type.
36861 [C99-based standards] (float_t): Expect type.
36862 [C99-based standards] (double_t): Expect type.
36863 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36864 type.
36865 [C99-based standards] (HUGE_VALL): Likewise.
36866 [C99-based standards] (INFINITY): Likewise.
36867 [C99-based standards] (NAN): Likewise.
36868 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36869 [C99-based standards] (FP_NAN): Likewise.
36870 [C99-based standards] (FP_NORMAL): Likewise.
36871 [C99-based standards] (FP_SUBNORMAL): Likewise.
36872 [C99-based standards] (FP_ZERO): Likewise.
36873 [C99-based standards] (FP_FAST_FMA): Use
36874 optional-macro-int-constant. Specify type. Require == 1.
36875 [C99-based standards] (FP_FAST_FMAF): Likewise.
36876 [C99-based standards] (FP_FAST_FMAL): Likewise.
36877 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36878 [C99-based standards] (FP_ILOGBNAN): Likewise.
36879 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36880 Specify type.
36881 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36882 [C99-based standards] (math_errhandling): Specify type.
36883 [ISO99 || ISO11] (signgam): Do not allow.
36884 [non-C99-based standards] (copysignf): Do not allow.
36885 [non-C99-based standards] (exp2f): Likewise.
36886 [non-C99-based standards] (log2f): Likewise.
36887 [non-C99-based standards] (modff): Allow.
36888 [non-C99-based standards] (erff): Do not allow.
36889 [non-C99-based standards] (erfcf): Likewise.
36890 [non-C99-based standards] (gammaf): Likewise.
36891 [non-C99-based standards] (hypotf): Likewise.
36892 [non-C99-based standards] (j0f): Likewise.
36893 [non-C99-based standards] (j1f): Likewise.
36894 [non-C99-based standards] (jnf): Likewise.
36895 [non-C99-based standards] (lgammaf): Likewise.
36896 [non-C99-based standards] (tgammaf): Likewise.
36897 [non-C99-based standards] (y0f): Likewise.
36898 [non-C99-based standards] (y1f): Likewise.
36899 [non-C99-based standards] (ynf): Likewise.
36900 [non-C99-based standards] (isnanf): Likewise.
36901 [non-C99-based standards] (acoshf): Likewise.
36902 [non-C99-based standards] (asinhf): Likewise.
36903 [non-C99-based standards] (atanhf): Likewise.
36904 [non-C99-based standards] (cbrtf): Likewise.
36905 [non-C99-based standards] (expm1f): Likewise.
36906 [non-C99-based standards] (ilogbf): Likewise.
36907 [non-C99-based standards] (log1pf): Likewise.
36908 [non-C99-based standards] (logbf): Likewise.
36909 [non-C99-based standards] (nextafterf): Likewise.
36910 [non-C99-based standards] (remainderf): Likewise.
36911 [non-C99-based standards] (rintf): Likewise.
36912 [non-C99-based standards] (scalbf): Likewise.
36913 [non-C99-based standards] (copysignl): Likewise.
36914 [non-C99-based standards] (exp2l): Likewise.
36915 [non-C99-based standards] (log2l): Likewise.
36916 [non-C99-based standards] (modfl): Allow.
36917 [non-C99-based standards] (erfl): Do not allow.
36918 [non-C99-based standards] (erfcl): Likewise.
36919 [non-C99-based standards] (gammal): Likewise.
36920 [non-C99-based standards] (hypotl): Likewise.
36921 [non-C99-based standards] (j0l): Likewise.
36922 [non-C99-based standards] (j1l): Likewise.
36923 [non-C99-based standards] (jnl): Likewise.
36924 [non-C99-based standards] (lgammal): Likewise.
36925 [non-C99-based standards] (tgammal): Likewise.
36926 [non-C99-based standards] (y0l): Likewise.
36927 [non-C99-based standards] (y1l): Likewise.
36928 [non-C99-based standards] (ynl): Likewise.
36929 [non-C99-based standards] (isnanl): Likewise.
36930 [non-C99-based standards] (acoshl): Likewise.
36931 [non-C99-based standards] (asinhl): Likewise.
36932 [non-C99-based standards] (atanhl): Likewise.
36933 [non-C99-based standards] (cbrtl): Likewise.
36934 [non-C99-based standards] (expm1l): Likewise.
36935 [non-C99-based standards] (ilogbl): Likewise.
36936 [non-C99-based standards] (log1pl): Likewise.
36937 [non-C99-based standards] (logbl): Likewise.
36938 [non-C99-based standards] (nextafterl): Likewise.
36939 [non-C99-based standards] (remainderl): Likewise.
36940 [non-C99-based standards] (rintl): Likewise.
36941 [non-C99-based standards] (scalbl): Likewise.
36942 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36943 [non-C99-based standards] (FP_*): Do not allow.
36944 [C99-based standards] (FP_*): Change to
36945 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36946 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36947 allow.
36948 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36949 (SIG_ERR): Likewise.
36950 [X/Open-based standards] (SIG_HOLD): Likewise.
36951 (SIG_IGN): Likewise.
36952 (SIGABRT): Use macro-int-constant. Specify type. Require
36953 positive value.
36954 (SIGFPE): Likewise.
36955 (SIGILL): Likewise.
36956 (SIGINT): Likewise.
36957 (SIGSEGV): Likewise.
36958 (SIGTER): Likewise.
36959 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36960 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36961 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36962 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36963 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36964 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36965 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36966 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36967 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36968 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36969 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36970 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36971 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36972 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36973 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36974 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36975 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36976 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36977 [X/Open-based standards] (SIGTRAP): Likewise.
36978 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36979 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36980 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36981 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36982 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36983 allow.
36984
b9f1922d
IW
369852012-05-08 Ian Wienand <ianw@vmware.com>
36986
36987 [BZ #14080]
36988 * time/tzset.c (__tzset_parse_tz): Update default rules for
36989 daylight time changes in the Energy Policy Act of 2005.
36990
1db86e88
AJ
369912012-05-09 Andreas Jaeger <aj@suse.de>
36992
36993 [BZ #13983]
36994 * elf/ldconfig.c (parse_conf): Change string to make clear that
36995 ldconfig only issued a warning if ld.so.conf does not exist.
36996
dee4a4e3
DM
369972012-05-08 David S. Miller <davem@davemloft.net>
36998
ee0db190
DM
36999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37000 movxtod instead of popping the value on the stack.
37001
dee4a4e3
DM
37002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37003
6a43ec98
CD
370042012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37005
37006 * config.h.in: Add HAVE_ARM_PCS_VFP.
37007
05c2c961
RMG
370082012-05-08 Roland Mc Grath <roland@hack.frob.com>
37009
bcfe3a54
ST
37010 [BZ #13979]
37011 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37012 checking but the checks are disabled for any reason.
05c2c961 37013
4b30f61a
L
370142012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37015
37016 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37017 and ELF64_R_TYPE with ELFW(R_TYPE).
37018
eee2bc67
JM
370192012-05-08 Joseph Myers <joseph@codesourcery.com>
37020
7ea5391a
JM
37021 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37022 (ulimit): Likewise.
37023
eee2bc67
JM
37024 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37025 (settimeofday): Likewise.
37026
abb66a67
MF
370272012-05-08 Mike Frysinger <vapier@gentoo.org>
37028
37029 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37030 a struct th_u2 inside the union, and move tu_block/tu_code into
37031 a new th_u3 union of tu_block/tu_code inside of that. Move
37032 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37033 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37034 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37035 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37036 (th_stuff): Change to th_u1.tu_stuff.
37037 (th_data): Define.
37038 (th_msg): Change to th_u1.th_u2.tu_data.
37039
7f18b530
DM
370402012-05-07 David S. Miller <davem@davemloft.net>
37041
05760585
DM
37042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37043
7f18b530
DM
37044 [BZ #14074]
37045 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37046 (SETUP_PIC_REG): Use it.
37047 (SETUP_PIC_REG_LEAF): Use it.
37048
495fd99f
JM
370492012-05-07 Joseph Myers <joseph@codesourcery.com>
37050
37051 [BZ #13885]
37052 [BZ #13923]
37053 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37054 USE_AS_EXPM1L.
37055 (EXPL_FINITE): Likewise.
37056 (FLDLOG): Likewise.
37057 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37058 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37059 e_expl.S.
37060 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37061 USE_AS_EXPM1L.
37062 (EXPL_FINITE): Likewise.
37063 (FLDLOG): Likewise.
37064 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37065 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37066 e_expl.S.
37067 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37068 test of -max_value argument for long double.
37069 * sysdeps/i386/fpu/libm-test-ulps: Update.
37070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37071
6693d694
DM
370722012-05-06 David S. Miller <davem@davemloft.net>
37073
37074 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37075 quad soft-float symbols whose references which are compiler
37076 generated.
37077 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37078
6c23e11c
JM
370792012-05-06 Joseph Myers <joseph@codesourcery.com>
37080
d8b82cad
JM
37081 [BZ #13884]
37082 [BZ #13914]
37083 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37084 USE_AS_EXP10L.
37085 (EXPL_FINITE): Likewise.
37086 (FLDLOG): Likewise.
37087 (c0): Likewise.
37088 (c1): Likewise.
37089 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37090 Adjust comments for base varying.
37091 (__expl_finite): Change alias to EXPL_FINITE.
37092 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37093 e_expl.S.
37094 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37095 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37096 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37097 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37098 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37099 USE_AS_EXP10L.
37100 (EXPL_FINITE): Likewise.
37101 (FLDLOG): Likewise.
37102 (c0): Likewise.
37103 (c1): Likewise.
37104 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37105 Adjust comments for base varying.
37106 (__expl_finite): Change alias to EXPL_FINITE.
37107 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37108 tests for bugs.
37109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37110
6c23e11c
JM
37111 [BZ #14064]
37112 * math/libm-test.inc (check_float_internal): Correct ulp
37113 calculation for subnormal expected results.
37114
29ba805c
AJ
371152012-05-06 Andreas Jaeger <aj@suse.de>
37116
37117 * Makeconfig (+math-flags): New, set to -frounding-math.
37118 (+cflags): Add +math-flags so that all of glibc gets compiled with
37119 it.
37120
37121 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37122
7b17aeda
JM
371232012-05-05 Joseph Myers <joseph@codesourcery.com>
37124
5779f134
JM
37125 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37126 Disable one test.
37127
41498f4d
JM
37128 [BZ #13787]
37129 [BZ #13922]
37130 [BZ #14036]
37131 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37132 (__ieee754_expl): Allow for and saturate large arguments.
37133 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37134 (u_threshold): Likewise.
37135 (__exp): Call __ieee754_exp before checking for overflow and
37136 underflow.
37137 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37138 (u_threshold): Likewise.
37139 (__expf): Call __ieee754_expf before checking for overflow and
37140 underflow.
37141 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37142 (u_threshold): Likewise.
37143 (__expl): Call __ieee754_expl before checking for overflow and
37144 underflow.
37145 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37146 (__ieee754_expl): Allow for and saturate large arguments.
37147 * math/libm-test.inc (exp_test): Add another test. Do not allow
37148 missing overflow exception on overflow.
37149 (expm1_test): Do not allow missing overflow exception on overflow.
37150
6698b8bf
JM
37151 * sysdeps/i386/fpu/e_expl.c: Move to ...
37152 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37153 rather than using inline asm.
37154 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37155 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37156 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37157
7b17aeda
JM
37158 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37159 (nice): Likewise.
37160 (poll): Likewise.
37161 (signal): Likewise.
37162 (time): Likewise.
37163 (times): Likewise.
37164
f7c85819
JM
371652012-05-04 Joseph Myers <joseph@codesourcery.com>
37166
37167 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37168 sysdeps/unix/common/syscalls.list.
37169 (fchmod): Likewise.
37170 (fchown): Likewise.
37171 (ftruncate): Likewise.
37172 (getrusage): Likewise.
37173 (gettimeofday): Likewise.
37174 (setpgid): Likewise.
37175 (setregid): Likewise.
37176 (setreuid): Likewise.
37177 (sigaction): Likewise.
37178 (truncate): Likewise.
37179 (vhangup): Likewise.
37180 * sysdeps/unix/common/syscalls.list: Remove file.
37181 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37182 * sysdeps/unix/sysv/linux/Implies: Likewise.
37183
336270d0
L
371842012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37185
37186 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37188 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37189 Moved to ...
37190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37191 Here.
37192 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37193 to ...
37194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37195 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37196 to ...
37197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37198 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37199 to ...
37200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37201 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37202 to ...
37203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37204 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37205 to ...
37206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37207 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37208 to ...
37209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37210 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37211 to ...
37212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37213 Here.
37214 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37215 to ...
37216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37217 Here.
37218 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37219 to ...
37220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37221 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37222 Moved to ...
37223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37224 Here.
37225 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37226 to ...
37227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37228
d128e450
JM
372292012-05-04 Joseph Myers <joseph@codesourcery.com>
37230
fa8ee516
JM
37231 * sysdeps/unix/common/bits/dirent.h: Remove file.
37232 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37233
d128e450
JM
37234 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37235 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37236 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37237 * sysdeps/unix/bsd/isatty.c: Likewise.
37238 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37239 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37240 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37241
ff8faaf0 372422012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 37243
62881be4 37244 [BZ #13563]
31dc8730
AZ
37245 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37246 long double comparison inaccuracies.
37247 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37249
6fef930c
AS
372502012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37251
37252 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37253 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37254
8f203e6c
JM
372552012-05-04 Joseph Myers <joseph@codesourcery.com>
37256
37257 [BZ #14049]
37258 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37259 nonzero digits before rounding a hex value.
37260 * stdlib/tst-strtod.c (tests): Add another test.
37261
5197d9c2
AK
372622012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37263
37264 * sysdeps/s390/fpu/libm-test-ulps: Update.
37265
f0c1dedf
AJ
372662012-05-03 Andreas Jaeger <aj@suse.de>
37267
37268 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37269 does not get optimized out.
37270 (malloc_opt_barrier): New.
37271
a65ef2ae 372722012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 37273 Roland McGrath <roland@hack.frob.com>
a65ef2ae 37274
2b942cb7 37275 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 37276 intermediate file deletion.
2b942cb7 37277 (generated): Add .symlist files.
a65ef2ae 37278
54b71e02
JM
372792012-05-03 Joseph Myers <joseph@codesourcery.com>
37280
37281 [BZ #13775]
37282 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37283 Redirect under this condition.
37284 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37285 [__USE_GNU] (__dprintf_chk): Not under this condition.
37286 [__USE_GNU] (__vdprintf_chk): Likewise.
37287 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37288 under this condition.
37289 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37290 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37291 [__USE_XOPEN2K8] (vdprintf): Likewise.
37292 [__USE_GNU] (__dprintf_chk): Not under this condition.
37293 [__USE_GNU] (__vdprintf_chk): Likewise.
37294 [__USE_GNU] (dprintf): Likewise.
37295 [__USE_GNU] (vdprintf): Likewise.
37296
d3dfcc41
RM
372972012-05-03 Roland McGrath <roland@hack.frob.com>
37298
37299 * elf/Makefile (common-generated): Set this instead of generated for
37300 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37301 $(all-built-dso)-derived lists.
37302
7ac30cc5
AJ
373032012-05-03 Andreas Jaeger <aj@suse.de>
37304
0c51e550
AJ
37305 * sysdeps/i386/fpu/libm-test-ulps: Update.
37306
7ac30cc5
AJ
37307 * FAQ: Removed.
37308 * FAQ.in: Likewise.
37309 * scripts/gen-FAQ.pl: Likewise.
37310 * manual/install.texi (Installation): Point to online location of
37311 FAQ.
37312 * Makefile (files-for-dist): Remove FAQ.
37313 (FAQ): Remove.
37314
d4c2917f
AM
373152012-05-02 Allan McRae <allan@archlinux.org>
37316
37317 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37318 (LDFLAGS-reldepmod5.so): Likewise.
37319 (LDFLAGS-reldep6mod1.so): Likewise.
37320 (LDFLAGS-reldep6mod4.so): Likewise.
37321 (LDFLAGS-reldep8mod3.so): Likewise.
37322 (LDFLAGS-unload4mod1.so): Likewise.
37323 (LDFLAGS-unload4mod2.so): Likewise.
37324 (LDFLAGS-tst-initorder): Likewise.
37325 (LDFLAGS-tst-initordera2.so): Likewise.
37326 (LDFLAGS-tst-initordera3.so): Likewise.
37327 (LDFLAGS-tst-initordera4.so): Likewise.
37328 (LDFLAGS-tst-initorderb2.so): Likewise.
37329 (LDFLAGS-noload): Likewise.
37330 (LDFLAGS-next): Likewise.
37331 (LDFLAGS-order2mod1.so): Likewise.
37332 (LDFLAGS-order2mod2.so): Likewise.
37333 (LDFLAGS-tst-initorder2): Likewise.
37334 (LDFLAGS-tst-initorder2a.so): Likewise.
37335 (LDFLAGS-tst-initorder2b.so): Likewise.
37336 (LDFLAGS-tst-initorder2c.so): Likewise.
37337 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37338
d77f993f
DM
373392012-05-02 David S. Miller <davem@davemloft.net>
37340
37341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37342
171a70b4
PP
373432012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37344
37345 [BZ #14055]
37346 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37347
0be196ad
AJ
373482012-05-02 Andreas Jaeger <aj@suse.de>
37349
37350 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37351 since we manipulate rounding mode.
37352 (CPPFLAGS-test-idouble.c): Likewise.
37353 (CPPFLAGS-test-ifloat.c): Likewise.
37354 (CFLAGS-test-ldouble.c): Likewise.
37355 (CFLAGS-test-double.c): Likewise.
37356 (CFLAGS-test-float.c): Likewise.
37357 (CFLAGS-test-misc.c): Likewise.
37358 (CFLAGS-test-test-fenv.c): Likewise.
37359
4f9d04aa
AZ
373602012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37361
2b942cb7
RM
37362 [BZ #2550]
37363 [BZ #2570]
37364 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37365 comparisons to determine direction to adjust input.
4f9d04aa 37366
82a79e7d
RM
373672012-05-01 Roland McGrath <roland@hack.frob.com>
37368
f5a01ca9
RM
37369 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37370 output to the target.
37371
90fe4186
RM
37372 * scripts/localplt.awk: New file.
37373 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37374 (check-localplt-CFLAGS): Variable removed.
37375 ($(all-built-dso:=.jmprel)): New static pattern rule.
37376 (generated): Add those targets.
37377 (localplt-built-dso): New variable.
37378 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37379
37380 * elf/check-localplt.c: File removed.
37381
82397ed6
RM
37382 * scripts/check-execstack.awk: New file.
37383 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37384 (check-execstack-CFLAGS): Variable removed.
37385 ($(objpfx)check-execstack.h): Target removed.
37386 ($(objpfx)execstack-default): New target.
37387 (generated): Add that instead of check-execstack.h.
37388 ($(all-built-dso:=.phdr)): New static pattern rule.
37389 (generated): Add those targets.
37390 * elf/check-execstack.c: File removed.
37391
82a79e7d
RM
37392 * scripts/check-textrel.awk: New file.
37393 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37394 (check-textrel-CFLAGS): Variable removed.
37395 (all-built-dso): Use := to define.o
37396 ($(all-built-dso:=.dyn)): New static pattern rule.
37397 (generated): Add those targets.
37398 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37399 * config.make.in (READELF): New substituted variable.
37400 * elf/check-textrel.c: File removed.
37401
62fde54f 374022012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 37403
615605c9
JM
37404 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37405 allow.
37406 * conform/data/ctype.h-data [C99-based standards] (isblank):
37407 Expect function.
37408 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37409 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37410 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37411 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37412 Specify type. Require positive value.
37413 (EILSEQ): Likewise.
37414 (ERANGE): Likewise.
37415 [ISO || POSIX] (EILSEQ): Do not expect.
37416 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37417 Specify type. Require positive value.
37418 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37419 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37420 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37421 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37422 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37423 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37424 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37425 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37426 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37427 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37428 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37429 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37430 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37431 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37432 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37433 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37434 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37435 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37436 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37437 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37438 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37439 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37440 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37441 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37442 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37443 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37444 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37445 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37446 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37447 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37448 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37449 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37450 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37451 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37452 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37453 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37454 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37455 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37456 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37457 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37458 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37459 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37460 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37461 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37462 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37463 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37464 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37465 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37466 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37467 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37468 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37469 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37470 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37471 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37472 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37473 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37474 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37475 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37476 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37477 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37478 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37479 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37480 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37481 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37482 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37483 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37484 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37485 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37486 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37487 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37488 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37489 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37490 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37491 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37492 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37493 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37494 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37495 Require >= 2.
37496 (FLT_ROUNDS): Expect as macro, not constant.
37497 (FLT_MANT_DIG): Use macro-int-constant.
37498 (DBL_MANT_DIG): Likewise.
37499 (LDBL_MANT_DIG): Likewise.
37500 (FLT_DIG): Likewise.
37501 (DBL_DIG): Likewise.
37502 (LDBL_DIG): Likewise.
37503 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37504 (DBL_MIN_EXP): Likewise.
37505 (LDBL_MIN_EXP): Likewise.
37506 (FLT_MAX_EXP): Use macro-int-constant.
37507 (DBL_MAX_EXP): Likewise.
37508 (LDBL_MAX_EXP): Likewise.
37509 (FLT_MAX_10_EXP): Likewise.
37510 (DBL_MAX_10_EXP): Likewise.
37511 (LDBL_MAX_10_EXP): Likewise.
37512 (FLT_MAX): Use macro-constant.
37513 (DBL_MAX): Likewise.
37514 (LDBL_MAX): Likewise.
37515 (FLT_EPSILON): Use macro-constant. Give upper bound.
37516 (DBL_EPSILON): Likewise.
37517 (LDBL_EPSILON): Likewise.
37518 (FLT_MIN): Likewise.
37519 (DBL_MIN): Likewise.
37520 (LDBL_MIN): Likewise.
37521 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37522 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37523 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37524 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37525 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37526 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37527 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37528 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37529 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37530 [ISO11] (FLT_TRUE_MIN): Likewise.
37531 [ISO11] (LDBL_TRUE_MIN): Likewise.
37532 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37533 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37534 (SCHAR_MIN): Use macro-int-constant. Specify type.
37535 (SCHAR_MAX): Likewise.
37536 (UCHAR_MAX): Likewise.
37537 (CHAR_MIN): Likewise.
37538 (CHAR_MAX): Likewise.
37539 (MB_LEN_MAX): Use macro-int-constant.
37540 (SHRT_MIN): Use macro-int-constant. Specify type.
37541 (SHRT_MAX): Likewise.
37542 (USHRT_MAX): Likewise.
37543 (INT_MAX): Likewise.
37544 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37545 bound negative.
37546 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37547 bound with "U".
37548 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37549 bound with "L".
37550 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37551 bound negative. Suffix upper bound with "L".
37552 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37553 bound with "UL".
37554 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37555 Specify type.
37556 [C99-based standards] (LLONG_MAX): Likewise.
37557 [C99-based standards] (ULLONG_MAX): Likewise.
37558 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37559 == 0.
37560 [ISO11] (max_align_t): Require type.
37561 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37562
c9140a62
JM
37563 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37564 from $CFLAGS, without defining away __attribute__ calls.
37565 (checknamespace): Use $CFLAGS_namespace.
37566
9af0bf29
JM
37567 * conform/conformtest.pl (@keywords): Only include C99 keywords
37568 for standards based on C99 or C11.
37569
343222a2
JM
37570 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37571 Disable tests.
37572 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37573 UNIX98]: Likewise.
37574
661f8cf0
JM
37575 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37576 usability of symbols in #if.
37577
ee74b9cb
JM
37578 * conform/conformtest.pl: If macro or constant types start
37579 "promoted:", expect the symbol to be of the following type
37580 promoted by the integer promotions.
62fde54f 37581
aafc49b3
JM
37582 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37583 in one place. Also handle "macro-constant".
37584
fefdf574
JM
37585 * conform/conformtest.pl: Only accept expected macro values with
37586 "==". Parse all "macro" lines in one place.
37587 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37588
f2d922fe
JM
37589 * conform/conformtest.pl: Handle braced types on "constant" lines
37590 instead of handling "typed-constant".
37591 * conform/data/signal.h-data: Use "constant" instead of
37592 "typed-constant".
37593
d22956c9
JM
37594 * conform/conformtest.pl: Handle "optional-" at start of lines in
37595 one place rather than duplicating several cases. Handle each
37596 format of "macro" line with initial "optional-".
37597
028e2e38
JM
37598 * conform/conformtest.pl: Only accept expected constant or
37599 optional-constant values with "==". Parse all "constant" lines in
37600 one place. Parse all "optional-constant" lines in one place.
37601 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37602 * conform/data/fmtmsg.h-data: Likewise.
37603 * conform/data/netinet/in.h-data: Likewise.
37604 * conform/data/tar.h-data: Likewise.
37605 * conform/data/limits.h-data: Use "==" form on "constant" and
37606 "optional-constant" lines.
37607
1b8f2850
JM
37608 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37609 Use -std=c99 for XOPEN2K.
37610 (@knownproblems): Remove.
37611 (newtoken): Don't check %isknown.
37612
a05a144b
JM
37613 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37614 Do not expect macro.
37615 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37616 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37617 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37618 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37619 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37620 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37621 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37622 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37623 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37624 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37625 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37626 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37627 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37628 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37629 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37630 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37631 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37632 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37633 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37634 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37635 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37636 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37637 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37638 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37639 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37640 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37641 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37642 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37643 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37644 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37645 [XPG3] (acosh): Likewise.
37646 [XPG3] (asinh): Likewise.
37647 [XPG3] (atanh): Likewise.
37648 [XPG3] (cbrt): Likewise.
37649 [XPG3] (expm1): Likewise.
37650 [XPG3] (ilogb): Likewise.
37651 [XPG3] (log1p): Likewise.
37652 [XPG3] (logb): Likewise.
37653 [XPG3] (nextafter): Likewise.
37654 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37655 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37656 [XPG3] (remainder): Likewise.
37657 [XPG3] (rint): Likewise.
37658 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37659 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37660 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37661 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37662 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37663 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37664 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37665 [UNIX98 || XOPEN2K] (scalb): Expect.
37666 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37667 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37668 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37669 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37670 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37671 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37672 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37673 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37674 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37675 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37676 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37677 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37678 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37679 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37680 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37681 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37682 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37683 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37684 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37685 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37686 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37687 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37688 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37689 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37690 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37691 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37692 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37693 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37694 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37695 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37696 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37697 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37698 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37699 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37700 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37701 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37702 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37703 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37704 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37705 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37706 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37707 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37708 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37709 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37710 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37711 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37712 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37713 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37714 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37715 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37716 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37717 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37718 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37719 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37720 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37721 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37722 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37723 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37724 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37725 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37726 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37727 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37728 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37729 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37730 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37731 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37732 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37733 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37734 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37735 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37736 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37737 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37738 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37739 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37740 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37741 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37742 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37743 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37744 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37745 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37746 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37747 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37748 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37749 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37750 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37751 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37752 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37753 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37754 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37755 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37756 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37757 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37758 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37759 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37760 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37761 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37762 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37763 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37764 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37765 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37766 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37767 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37768 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37769 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37770 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37771 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37772 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37773 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37774 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37775 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37776 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37777 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37778 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37779 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37780 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37781 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37782 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37783 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37784 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37785 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37786 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37787 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37788 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37789 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37790 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37791 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37792 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37793 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37794 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37795 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37796 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37797 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37798 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37799 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37800 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37801 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37802 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37803
73c5ebe3
JM
37804 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37805 _XOPEN_SOURCE_EXTENDED for XPG4.
37806
39c33b6c
JM
37807 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37808
62fde54f
JM
37809 * Makeconfig (localtime): Remove variable.
37810 (inst_localtime-file): Likewise.
37811
0741d64c
AS
378122012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37813
37814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37815 Update.
37816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37817 Update.
37818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37819 Update.
37820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37821 Update.
37822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37823 Update.
37824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37825 Update.
37826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37827 Update.
37828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37829 Update.
37830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37831 Update.
37832
7cb029ee
JM
378332012-05-01 Joseph Myers <joseph@codesourcery.com>
37834
37835 [BZ #2550]
37836 [BZ #2570]
37837 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37838 comparisons to determine direction to adjust input.
37839 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37840 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37841 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37842 Likewise.
37843 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37844 Likewise.
37845 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37846 Likewise.
37847 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37848 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37849 Likewise.
37850 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37851 Likewise.
37852 * math/libm-test.inc (nexttoward_test): Add more tests.
37853
412bd966
AS
378542012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37855
37856 [BZ #14040]
37857 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37858 in version GLIBC_2.1, not GLIBC_2.0.
37859 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37860 Likewise.
37861
9568c0c2
JM
378622012-04-30 Joseph Myers <joseph@codesourcery.com>
37863
adfbc8ac
JM
37864 [BZ #13942]
37865 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37866 (1 - x) * (1 + x).
37867 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37868 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37869 * math/libm-test.inc (acos_test): Add more tests.
37870 (asin_test): Likewise.
37871 * sysdeps/i386/fpu/libm-test-ulps: Update.
37872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37873
5ba3cc69
JM
37874 [BZ #14034]
37875 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37876 of square root.
37877 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37878 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37879 * math/libm-test.inc (acos_test_tonearest): New function.
37880 (acos_test_towardzero): Likewise.
37881 (acos_test_downward): Likewise.
37882 (acos_test_upward): Likewise.
37883 (asin_test_tonearest): Likewise.
37884 (asin_test_towardzero): Likewise.
37885 (asin_test_downward): Likewise.
37886 (asin_test_upward): Likewise.
37887 (main): Call the new functions.
37888 * sysdeps/i386/fpu/libm-test-ulps: Update.
37889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37890
9568c0c2
JM
37891 [BZ #13884]
37892 [BZ #13924]
37893 * math/e_exp10.c: Include <float.h>.
37894 (__ieee754_exp10): Handle underflow here rather than multiplying
37895 large negative argument by M_LN10.
37896 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37897 of __ieee754_expf.
37898 * math/e_exp10l.c: Include <float.h>.
37899 (__ieee754_exp10l): Handle underflow here rather than multiplying
37900 large negative argument by M_LN10l.
37901 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37902 spurious overflow exception on underflow.
37903
5ac3ea17
MP
379042012-04-29 Marek Polacek <polacek@redhat.com>
37905
37906 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37907 (__fortify_function): New macro.
37908 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37909 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37910 __extern_always_inline.
37911 * libio/bits/stdio2.h: Likewise.
37912 * libio/bits/stdio.h: Likewise.
37913 * string/string.h: Likewise.
37914 * string/bits/string3.h: Likewise.
37915 * include/stdio.h: Likewise.
37916 * stdlib/bits/stdlib.h: Likewise.
37917 * stdlib/stdlib.h: Likewise.
37918 * rt/bits/mqueue2.h: Likewise.
37919 * rt/mqueue.h: Likewise.
37920 * posix/bits/unistd.h: Likewise.
37921 * posix/unistd.h: Likewise.
37922 * io/bits/poll2.h: Likewise.
37923 * io/bits/fcntl2.h: Likewise.
37924 * io/fcntl.h: Likewise.
37925 * io/sys/poll.h: Likewise.
37926 * misc/bits/syslog.h: Likewise.
37927 * misc/bits/syslog-ldbl.h: Likewise.
37928 * misc/sys/syslog.h: Likewise.
37929 * socket/bits/socket2.h: Likewise.
37930 * socket/sys/socket.h: Likewise.
37931 * debug/tst-chk1.c: Likewise.
37932 * wcsmbs/bits/wchar2.h: Likewise.
37933 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37934 * wcsmbs/wchar.h: Likewise.
37935
ecf0ebfb
AJ
379362012-04-29 Andreas Jaeger <aj@suse.de>
37937
37938 * Makerules (tests): Remove enable-check-abi protection.
37939 (check-abi-warn): Remove.
37940 (check-abi-%): Remove check-abi-warn usage.
37941
37942 * configure.in: Remove check-abi configure option.
37943 * configure: Regenerated.
37944 * config.make.in (enable-check-abi): Remove.
37945
6d5c57fa
AS
379462012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37947
24c5d07e 37948 [BZ #14033]
ded5180a
AS
37949 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37950 double functions to double *_finite functions.
37951
7e0d315d
AS
37952 [BZ #13941]
37953 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37954 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37955 LDBL_MIN_EXP.
37956 * stdio-common/Makefile (tests): Add tst-sprintf3.
37957 * stdio-common/tst-sprintf3.c: New file.
37958
6d5c57fa
AS
37959 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37960 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37961
0749ff8b
JM
379622012-04-28 Joseph Myers <joseph@codesourcery.com>
37963
37964 * conform/conformtest.pl: Remove duplicate typed-constant
37965 handling.
37966
8dbd5d7b
DM
379672012-04-28 David S. Miller <davem@davemloft.net>
37968
37969 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37970 (check-abi-%): Remove AWK script prerequisite and explicit
37971 abilist directory.
37972 (check-abi): Rewrite to just diff the symlist with the abilist.
37973 (config-tls, config-abi-config): Delete, no longer used.
37974 (update-abi-%): Remove AWK script and explicit abilist directory.
37975 (update-abi): Rewrite to simply compare and conditionally copy the
37976 symlist and the sysdep abilist file. Remove update-abi-config
37977 checks.
37978 * abilist/ld.abilist: Remove.
37979 * abilist/libBrokenLocale.abilist: Remove.
37980 * abilist/libanl.abilist: Remove.
37981 * abilist/libcrypt.abilist: Remove.
37982 * abilist/libdl.abilist: Remove.
37983 * abilist/librt.abilist: Remove.
37984 * abilist/libthread_db.abilist: Remove.
37985 * abilist/libutil.abilist: Remove.
37986 * scripts/extract-abilist.awk: Remove.
37987 * scripts/merge-abilist.awk: Remove.
37988 * sysdeps/generic/libcidn.abilist: New file.
37989 * sysdeps/generic/libnss_compat.abilist: New file.
37990 * sysdeps/generic/libnss_db.abilist: New file.
37991 * sysdeps/generic/libnss_dns.abilist: New file.
37992 * sysdeps/generic/libnss_files.abilist: New file.
37993 * sysdeps/generic/libnss_hesiod.abilist: New file.
37994 * sysdeps/generic/libnss_nis.abilist: New file.
37995 * sysdeps/generic/libnss_nisplus.abilist: New file.
37996 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37997 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37998 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37999 file.
38000 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38001 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38002 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38003 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38004 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38005 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38006 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38007 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38008 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38009 file.
38010 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38011 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38012 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38013 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38014 file.
38015 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38016 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38017 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38018 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38019 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38020 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38021 file.
38022 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38023 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38024 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38025 file.
38026 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38027 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38028 New file.
38029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38030 New file.
38031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38032 New file.
38033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38034 New file.
38035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38036 New file.
38037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38038 New file.
38039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38040 New file.
38041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38042 New file.
38043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38044 New file.
38045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38046 New file.
38047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38048 New file.
38049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38050 New file.
38051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38052 New file.
38053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38054 file.
38055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38056 New file.
38057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38058 New file.
38059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38060 file.
38061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38062 New file.
38063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38064 New file.
38065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38066 file.
38067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38068 New file.
38069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38070 New file.
38071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38072 New file.
38073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38074 New file.
38075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38076 New file.
38077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38078 New file.
38079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38081 file.
38082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38083 New file.
38084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38085 file.
38086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38087 file.
38088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38089 file.
38090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38091 file.
38092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38093 file.
38094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38095 New file.
38096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38097 file.
38098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38099 file.
38100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38101 New file.
38102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38103 file.
38104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38106 file.
38107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38108 New file.
38109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38110 file.
38111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38112 file.
38113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38114 file.
38115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38116 file.
38117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38118 file.
38119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38120 New file.
38121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38122 file.
38123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38124 file.
38125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38126 New file.
38127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38128 file.
38129 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38130 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38131 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38132 file.
38133 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38134 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38135 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38136 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38137 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38138 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38139 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38140 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38141 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38142 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38145 file.
38146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38147 New file.
38148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38149 file.
38150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38151 file.
38152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38153 file.
38154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38155 file.
38156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38157 file.
38158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38159 New file.
38160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38161 New file.
38162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38163 file.
38164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38165 New file.
38166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38167 file.
38168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38170 file.
38171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38172 New file.
38173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38174 file.
38175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38176 file.
38177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38178 file.
38179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38180 file.
38181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38182 file.
38183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38184 New file.
38185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38186 New file.
38187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38188 file.
38189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38190 New file.
38191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38192 file.
38193
41d73a1b
JM
381942012-04-28 Joseph Myers <joseph@codesourcery.com>
38195
38196 * conform/conformtest.pl: Fix typo in handling typed-constant from
38197 allow-header.
38198
28aeeda4
JM
381992012-04-27 Joseph Myers <joseph@codesourcery.com>
38200
adae8f5e
JM
38201 * README: Cut down references to pre-2.6 Linux kernels and
38202 Linuxthreads. Update lists of configurations in libc and ports
38203 and sort alphabetically. Say "or newer" with Linux kernel version
38204 requirements.
38205
28aeeda4
JM
38206 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38207
a462cb63
RA
382082012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38209
38210 [BZ #887]
38211 * math/libm-test.inc (logb_test_downward): New test to expose
38212 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38213 rounding mode.
38214
6ad3493e
JM
382152012-04-27 Joseph Myers <joseph@codesourcery.com>
38216
38217 [BZ #14027]
38218 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38219 to be done.
38220 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38221 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38222
2ce4f015
JM
382232012-04-26 Joseph Myers <joseph@codesourcery.com>
38224
5aeb141a
JM
38225 * sysdeps/unix/i386/brk.S: Remove file.
38226 * sysdeps/unix/i386/dl-brk.S: Likewise.
38227 * sysdeps/unix/i386/pipe.S: Likewise.
38228 * sysdeps/unix/i386/sigreturn.S: Likewise.
38229 * sysdeps/unix/i386/syscall.S: Likewise.
38230 * sysdeps/unix/i386/vfork.S: Likewise.
38231 * sysdeps/unix/i386/wait.S: Likewise.
38232
7143acae
JM
38233 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38234 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38235
2ce4f015
JM
38236 * configure.in (arm*-none*): Do not allow without
38237 --enable-hacker-mode.
38238 (netbsd*): Remove case setting base_os.
38239 (386bsd*): Likewise.
38240 (freebsd*): Likewise.
38241 (bsdi*): Likewise.
38242 (osf*): Likewise.
38243 (sunos*): Likewise.
38244 (ultrix*): Likewise.
38245 (newsos*): Likewise.
38246 (dynix*): Likewise.
38247 (*bsd*): Likewise.
38248 (sysv*): Likewise.
38249 (isc*): Likewise.
38250 (esix*): Likewise.
38251 (sco*): Likewise.
38252 (minix*): Likewise.
38253 (irix4*): Likewise.
38254 (irix6*): Likewise.
38255 (solaris[2-9]*): Likewise.
38256 (none): Likewise.
38257 * configure: Regenerated.
38258
0ac229c8
AZ
382592012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38260
38261 [BZ #11521]
38262 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38263 overflow or cancellation in calculating denominator.
38264 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38265 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38266 down expression to avoid unexpected rounding in newer GCCs.
38267 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38268
33f244f4
DM
382692012-04-26 David S. Miller <davem@davemloft.net>
38270
38271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38272 long-double compat symbols.
38273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38286
cfa1f3e8
DM
382872012-04-25 David S. Miller <davem@davemloft.net>
38288
38289 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38290 HWCAP_* values only after the memory barriers have been defined.
38291 (atomic_full_barrier): Define.
38292 (atomic_read_barrier): Define.
38293 (atomic_write_barrier): Define.
38294
6e236b92
SP
382952012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38296
38297 * shlib-versions: Add libgcc_s version information.
38298 * sysdeps/generic/libgcc_s.h: Remove.
38299 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38300 libgcc_s.h.
38301 * sysdeps/gnu/unwind-resume.c: Likewise.
38302 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38303
aab39a09
DM
383042012-04-25 David S. Miller <davem@davemloft.net>
38305
38306 * sysdeps/unix/sparc/brk.S: Delete.
38307 * sysdeps/unix/sparc/dl-brk.S: Delete.
38308 * sysdeps/unix/sparc/pipe.S: Delete.
38309 * sysdeps/unix/sparc/sysdep.S: Delete.
38310 * sysdeps/unix/sparc/sysdep.h: Delete.
38311 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
38312 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38313 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38314 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38315 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
38316 (JUMPTARGET): Remove.
38317 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38318 sysdeps/unix/sparc/sysdep.h
38319 (ENTRY, END): Remove.
38320 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38321
a3cc4f48
JM
383222012-04-25 Joseph Myers <joseph@codesourcery.com>
38323
2ed8cda2
JM
38324 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38325 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38326 -DIS_IN_build.
38327
35d76d59
JM
38328 * timezone/README: Update upstream location and email address for
38329 tzcode and tzdata.
38330 * timezone/zdump.c: Update from tzcode 2012b.
38331 * timezone/zic.c: Likewise.
38332
a3cc4f48
JM
38333 * configure.in (libc_cv_as_needed): Remove test.
38334 * configure: Regenerated.
38335 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38336 conditional definition.
38337 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38338 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38339 * config.make.in (have-as-needed): Remove variable.
38340
ceab42c3
SP
383412012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38342 Paul Pluzhnikov <ppluzhnikov@google.com>
38343
38344 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38345 strings correctly.
38346
3ce2865f
CLT
383472012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38348
38349 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38350 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38351 * sysdeps/sh/strlen.S: Likewise.
38352
f37e0d68
JM
383532012-04-24 Joseph Myers <joseph@codesourcery.com>
38354
ae186e9a
JM
38355 * sysdeps/unix/fork.S: Remove file.
38356 * sysdeps/unix/i386/fork.S: Likewise.
38357 * sysdeps/unix/sparc/fork.S: Likewise.
38358
b96914af
JM
38359 * sysdeps/unix/system.c: Remove file.
38360 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38361
f37e0d68
JM
38362 * sysdeps/unix/getegid.S: Remove file.
38363 * sysdeps/unix/geteuid.S: Likewise.
38364
87ef29ca
RM
383652012-04-24 Roland McGrath <roland@hack.frob.com>
38366
83bcd236
RM
38367 * scripts/check-localplt.awk: New file.
38368 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38369 of diff.
38370 * scripts/data/localplt-generic.data: Add a comment.
38371
87ef29ca
RM
38372 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38373 NODE when __dir_mkfile failed.
38374 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38375 Reported by Ludovic Courtès <ludo@gnu.org>.
38376
e5a6e567
AJ
383772012-04-24 Andreas Jaeger <aj@suse.de>
38378
38379 * Makerules (common-clean): Also remove gen-as-const-headers
38380 files.
38381
c1820385
JM
383822012-04-24 Joseph Myers <joseph@codesourcery.com>
38383
38384 * Makerules (native-compile): Do not change working directory for
38385 build. Use $(OUTPUT_OPTION) in command.
38386 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38387
94e02fc4
AZ
383882012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38389
38390 [BZ #13886]
38391 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38392 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38393 * math/libm-test.inc (floor_test): Add more tests.
38394 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38395
3a533ca3
JM
383962012-04-24 Joseph Myers <joseph@codesourcery.com>
38397
940ab4b3
JM
38398 * sysdeps/unix/getdents.c: Remove file.
38399 * sysdeps/unix/sysv/getdents.c: Likewise.
38400 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38401
90e037bd
JM
38402 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38403 sysdeps/unix/mman/syscalls.list.
38404 (mmap): Likewise.
38405 (mprotect): Likewise.
38406 (msync): Likewise.
38407 (munmap): Likewise.
38408 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38409 * sysdeps/unix/mman/syscalls.list: Remove.
38410 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38411
3a533ca3
JM
38412 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38413 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38414 * configure: Regenerated.
38415 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38416 $(libgcc_s_suffix).
38417 * config.make.in (libgcc_s_suffix): Remove variable.
38418
1ad743de
JM
384192012-04-23 Joseph Myers <joseph@codesourcery.com>
38420
4ad451e2
JM
38421 * sysdeps/unix/sysv/gethostname.c: Move to ...
38422 * sysdeps/posix/gethostname.c: ... here.
38423
5e37ce39
JM
38424 * sysdeps/unix/execve.S: Remove file.
38425
1ad743de
JM
38426 * sysdeps/unix/_exit.S: Remove file.
38427
4e681b5b
AJ
384282012-04-23 Andreas Jaeger <aj@suse.de>
38429
38430 [BZ #13739]
38431 * manual/Makefile: Remove make dist support, there's no
38432 need for a stand-alone documentation tar ball.
38433 (TEXI2DVI): Define always, it's not in Makeconfig.
38434 (dist): Removed.
38435 (tar-it): Removed.
38436 (edition): Removed.
38437 (glibc-doc-$(edition).tar): Removed
38438 (%.Z): Removed.
38439 (%.gz): Removed.
38440 (%.uu): Removed.
38441 (ETAGS): Remove, it's in Makeconfig.
38442 (move-if-change): Remove, it's in Makeconfig.
38443
38686a03 384442012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
38445
38446 [BZ #13970]
38447 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38448 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38449 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38450 (strtod_l, strtof_l, strtold_l): Remove __wur.
38451 It is not necessarily an error to ignore strtol's return value.
38452 One can reliably look at the stored endptr to decide whether
38453 the number had valid syntax.
38454
7c0616fa
AJ
384552012-04-21 Andreas Jaeger <aj@suse.de>
38456
803cb6b7 38457 [BZ #13739]
7c0616fa
AJ
38458 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38459
b0fe253f
JM
384602012-04-21 Joseph Myers <joseph@codesourcery.com>
38461
38462 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38463 * sysdeps/unix/sysv/Versions: Remove file.
38464
8280f22d
MT
384652012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38466
38467 [BZ #13927]
38468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38469
75ce411f 384702012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
38471
38472 [BZ #7064]
38473 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38474 version from __vm86.
38475
097d59fa
JM
384762012-04-20 Joseph Myers <joseph@codesourcery.com>
38477
a90f3bcb
JM
38478 * sysdeps/unix/common/lxstat.c: Remove file.
38479 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38480
edc7ea78
JM
38481 * sysdeps/unix/sysv/Makefile: Remove file.
38482
cb78c221
JM
38483 * sysdeps/unix/sysv/direct.h: Remove file.
38484
efa6a45f
JM
38485 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38486 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38487 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38488 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38489 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38490 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38491 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38492
9c9f2d0c
JM
38493 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38494
4541c83b
JM
38495 * sysdeps/unix/xmknod.c: Remove file.
38496 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38497
f5d153a0
JM
38498 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38499
aa746595
JM
38500 * sysdeps/unix/sysv/i386/time.S: Remove file.
38501
cce5905e
JM
38502 * sysdeps/unix/fxstat.c: Remove file.
38503 * sysdeps/unix/xstat.c: Likewise.
38504 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38505
37fa3841
JM
38506 * sysdeps/unix/sysv/sigaction.c: Remove file.
38507
ff1962a3
JM
38508 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38509 (sysdep_headers): Remove variable.
38510 [termio.h not in sysdep_headers] (generated): Likewise.
38511 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38512 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38513 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38514 * sysdeps/unix/sysv/tcflow.c: Likewise.
38515 * sysdeps/unix/sysv/tcflush.c: Likewise.
38516 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38517 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38518 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38519 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38520 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38521
e7740d31
JM
38522 * sysdeps/unix/siglist.c: Remove file.
38523
ee06f18b
JM
38524 * sysdeps/unix/getppid.S: Remove file.
38525
097d59fa
JM
38526 * sysdeps/unix/mkdir.c: Remove file.
38527 * sysdeps/unix/rmdir.c: Likewise.
38528
ff3d51ec
AS
385292012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38530
38531 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38532 ERR_MAX value.
38533 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38534 errlist-compat value.
38535
50f81fd7
DM
385362012-04-18 David S. Miller <davem@davemloft.net>
38537
38538 * sysdeps/generic/memcopy.h (reg_char): Delete.
38539 * debug/strcat_chk.c: Use char, not reg_char.
38540 * debug/strcpy_chk.c: Likewise.
38541 * debug/strncat_chk.c: Likewise.
38542 * debug/strncpy_chk.c: Likewise.
38543 * string/memchr.c: Likewise.
38544 * string/memrchr.c: Likewise.
38545 * string/rawmemchr.c: Likewise.
38546 * string/strcat.c: Likewise.
38547 * string/strchr.c: Likewise.
38548 * string/strchrnul.c: Likewise.
38549 * string/strcmp.c: Likewise.
38550 * string/strcpy.c: Likewise.
38551 * string/strncat.c: Likewise.
38552 * string/strncmp.c: Likewise.
38553 * string/strncpy.c: Likewise.
38554
8ff41c46
WS
385552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38556
38557 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38558 __builtin_memcopy is called when src and dest ranges are known to not
38559 overlap.
38560
6b652f46
WS
385612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38562
38563 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38564 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38565 fwd_align_merge macro call.
38566 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38567 bwd_align_merge macro call.
38568 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38569
b282631e
WS
385702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38571
38572 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38573 bwd_align_merge macros.
38574 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38575 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38576 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38577
95aa737c
DM
385782012-04-18 David S. Miller <davem@davemloft.net>
38579
38580 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38581
7a99a614
AJ
385822012-04-18 Andreas Jaeger <aj@suse.de>
38583
38584 [BZ# 6794]
38585 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38586 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38587 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38588
38589 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38590 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38591 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38592
38593 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38594 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38595 Adjust for changed ldbl-128 files.
38596
38597 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38598 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38599 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38600
e5270c23
DM
386012012-04-17 David S. Miller <davem@davemloft.net>
38602
38603 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38604
fb5e92c9
AS
386052012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38606
38607 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38608 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38609 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38610 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38611 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38612 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38613
76da7265
AZ
386142012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38615
38616 [BZ #6794]
38617 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38618 * math/libm-test.inc: Add ilogb errno and exception tests.
38619 * math/w_ilogb.c: New file: ilogb wrapper.
38620 * math/w_ilogbf.c: New file: ilogbf wrapper.
38621 * math/w_ilogbl.c: New file: ilogbl wrapper.
38622 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38623 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38624 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38625 exception being thrown with 0.0 as argument.
38626 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38627 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38628 exception being thrown with 0.0 as argument.
38629 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38630 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38631 exception being thrown with 0.0 as argument.
38632 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38633 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38634 exception being thrown with 0.0 as argument.
38635 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38636 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 38637 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
38638 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38639 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38640 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38641 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38642 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38643 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38644
0396e69d
PB
386452012-04-17 Petr Baudis <pasky@ucw.cz>
38646
38647 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38648 with altivec.
38649
750b5926
MP
386502012-04-16 Marek Polacek <polacek@redhat.com>
38651
38652 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38653
751728a1
MP
386542012-04-16 Marek Polacek <polacek@redhat.com>
38655
38656 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38657 operands of fdivp instruction.
38658
34a27407
L
386592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38660
38661 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38662 * elf/tst-auditmod3b.c: Likewise.
38663 * elf/tst-auditmod4b.c: Likewise.
38664 * elf/tst-auditmod5b.c: Likewise.
38665 * elf/tst-auditmod6b.c: Likewise.
38666 * elf/tst-auditmod6c.c: Likewise.
38667 * elf/tst-auditmod7b.c: Likewise.
38668 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38669 * sysdeps/x86_64/preconfigure.in: Likewise.
38670 * sysdeps/x86_64/preconfigure: Regenerated.
38671
7e73e17d
L
386722012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38673
38674 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38675 __ILP32__.
38676
c7a6ab72
AB
386772012-04-13 Antoine Balestrat <merkil33@gmail.com>
38678
38679 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38680 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38681
a9e8e0e0
CL
386822012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38683
38684 [BZ #13973]
38685 * locale/iso-639.def: Fix gl language name. Spotted by
38686 Yaron Shahrabani.
38687
ec98af7d
RM
386882012-04-12 Roland McGrath <roland@hack.frob.com>
38689
38690 [BZ #2074]
38691 * libio/libio.h (__io_write_fn): Update comment.
38692
247c3ede
PB
386932012-04-12 Petr Baudis <pasky@ucw.cz>
38694
38695 [BZ #2074]
38696 * stdio.texi (Hook Functions): The user provided writer function
38697 is not allowed to return -1.
38698
55939d6d
DM
386992012-04-11 David S. Miller <davem@davemloft.net>
38700
38701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38702
90020f5a
MF
387032012-04-11 Mike Frysinger <vapier@gentoo.org>
38704
38705 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38706 Add a leading slash to rtkaio.
38707
288f9098
JM
387082012-04-11 Jim Meyering <meyering@redhat.com>
38709
90020f5a
MF
38710 [BZ #11959]
38711 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38712 It is not necessarily an error to ignore fwrite's return
38713 value. One can reliably use ferror to test for errors after
38714 the fact.
288f9098 38715
4be2b570
L
387162012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38717
38718 * bits/types.h (__snseconds_t): New type.
38719 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38720
38721 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38722 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38723 (__SNSECONDS_T_TYPE): Likewise.
38724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38725 (__SNSECONDS_T_TYPE): Likewise.
38726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38727 (__SNSECONDS_T_TYPE): Likewise.
38728
288f9098 387292012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
38730
38731 [BZ #2636]
38732 * manual/time.texi (Processor Time): Return type of times is
38733 elapsed real time since an arbitrary point in the past.
38734 (CPU Time): Move CLK_TCK from here...
38735 (Processor Time): ...to here. Correct description.
38736 * manual/conf.texi (Constants for Sysconf): Correct description of
38737 _SC_CLK_TCK.
38738
d7dd4413
DM
387392012-04-10 David S. Miller <davem@davemloft.net>
38740
38741 [BZ #13967]
38742 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38743 where the is a gap between DT_REL(A) and DT_JMPREL.
38744
b46068fc
L
387452012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38746
38747 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38748 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38749 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38750
73d65cc3
SP
387512012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38752
38753 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38754 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38755 (dl_main): Handle --inhibit-cache.
38756 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38757 _dl_inhibit_cache.
38758 * elf/dl-load.c (_dl_map_object): Use it.
38759 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38760
bcc8d661
JM
387612012-04-09 Joseph Myers <joseph@codesourcery.com>
38762
8f9a2fae
JM
38763 [BZ #13872]
38764 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38765 (__ieee754_powl): Saturate large exponents rather than testing for
38766 overflow of y*log2(x).
38767 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38768 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38769 exceptions.
38770
bcc8d661
JM
38771 [BZ #11521]
38772 * math/s_ctan.c: Include <float.h>.
38773 (__ctan): Avoid internal overflow or cancellation in calculating
38774 denominator.
38775 * math/s_ctanf.c: Likewise.
38776 * math/s_ctanl.c: Likewise.
38777 * math/s_ctanh.c: Likewise.
38778 * math/s_ctanhf.c: Likewise.
38779 * math/s_ctanhl.c: Likewise.
38780 * math/libm-test.inc (ctan_test): Add more tests.
38781 (ctanh_test): Likewise.
38782 * sysdeps/i386/fpu/libm-test-ulps: Update.
38783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38784
823fbbb4
AJ
387852012-04-09 Andreas Jaeger <aj@suse.de>
38786
03879793
AJ
38787 [BZ #6894]
38788 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38789 is an optional BSD extension.
38790
823fbbb4
AJ
38791 [BZ #10254]
38792 * manual/stdio.texi (Opening Streams): Document additional fopen
38793 parameters.
38794
8de131cb
RM
387952012-04-09 Roland McGrath <roland@hack.frob.com>
38796
38797 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38798 %eax without telling the compiler.
38799
c0ed9d7d
CD
388002012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38801
38802 [BZ # 13963]
38803 * manual/install.texi: Use sourceware.org.
38804
c483f6b4
JM
388052012-04-09 Joseph Myers <joseph@codesourcery.com>
38806
d7dd9453
JM
38807 [BZ #13873]
38808 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38809 (__ieee754_pow): Generate overflow and underflow using huge*huge
38810 and tiny*tiny rather than just returning constant infinity or zero
38811 for large exponents.
38812 * math/libm-test.inc (pow_test): Require overflow exceptions for
38813 applicable cases of large exponents.
38814
c483f6b4
JM
38815 [BZ #706]
38816 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38817 (__ieee754_pow): Use iterative multiplication algorithm only for
38818 integer exponents with absolute value below 1024. Check for odd
38819 integer exponents when using algorithm for real exponents.
38820 * math/libm-test.inc (pow_test): Add more tests.
38821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38822
d2de7579
JM
388232012-04-08 Joseph Myers <joseph@codesourcery.com>
38824
38825 [BZ #13705]
38826 * math/libm-test.inc (exp_test): Do not allow overflow exception
38827 on underflow test.
38828
f77f1232
AJ
388292012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38830
38831 [BZ #13705]
38832 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38833 instead of __kernel_standard_f.
38834
3884932b
MF
388352012-04-08 Mike Frysinger <vapier@gentoo.org>
38836
38837 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38838 * sysdeps/x86_64/memset_chk.S: Likewise.
38839
54472e9c
AJ
388402012-04-08 Andreas Jaeger <aj@suse.de>
38841
6ab0fbfc
AJ
38842 [BZ #10153]
38843 * manual/startup.texi (Environment Access): Describe return value
38844 for putenv and setenv.
38845
61efba8c
AJ
38846 [BZ #6895]
38847 * manual/filesys.texi (Directory Entries): Add description for
38848 DT_LNK.
38849
95c3f29a
AJ
38850 [BZ #6890]
38851 * manual/filesys.texi (Directory Entries): Clarify that it's file
38852 system not operating system in the description of DT_UNKNOWN.
38853
54472e9c
AJ
38854 [BZ #6578]
38855 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38856
624254b1
SC
388572012-04-08 Stephen Compall <s11@member.fsf.org>
38858
38859 [BZ #6649]
38860 * manual/llio.texi (Opening and Closing Files): Add cross
38861 reference to explain mode argument.
38862
1e4920e0
MF
388632012-04-07 Mike Frysinger <vapier@gentoo.org>
38864
38865 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38866 * sysdeps/x86_64/memset_chk.S: Likewise.
38867
5ed848f3
DM
388682012-04-07 David S. Miller <davem@davemloft.net>
38869
38870 * elf/elf.h (R_SPARC_WDISP10): Define.
38871 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38872 R_SPARC_SIZE32.
38873 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38874 R_SPARC_SIZE64 and R_SPARC_H34.
38875
96154cd8
CD
388762012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38877
38878 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38879 conditions and remove no longer applicable assertion.
38880
9904dc47
L
388812012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38882
38883 * bits/byteswap.h: Include <features.h>.
38884 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38885 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38886
f8887d0a
L
388872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38888
38889 * bits/byteswap.h (__bswap_16): Removed.
38890 Include <bits/byteswap-16.h> to get __bswap_16.
38891 * sysdeps/i386/bits/byteswap.h: Likewise.
38892 * sysdeps/s390/bits/byteswap.h: Likewise.
38893 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38894 * bits/byteswap-16.h: New file.
38895 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38896 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38897 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38898 * string/Makefile (headers): Add bits/byteswap-16.h.
38899
62470f60
PP
389002012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38901
38902 [BZ #13895]
38903 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38904 extra indirection.
38905 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38906 * nss/tst-nss-static.c: New.
38907
4dad7bab
RM
389082012-04-06 Robert Millan <rmh@gnu.org>
38909
38910 [BZ #6486]
38911 * manual/llio.texi (File Position Primitive): lseek
38912 refers to WHENCE when it really means OFFSET.
38913
e9142a17
AJ
389142012-04-06 Andreas Jaeger <aj@suse.de>
38915
2c040eff
AJ
38916 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38917 strncmp declarations.
38918
e9142a17
AJ
38919 * abilist/libc.abilist: Add __poll and __ppoll.
38920
ff9f1c5f
DM
389212012-04-05 David S. Miller <davem@davemloft.net>
38922
dcd2ae90
DM
38923 * scripts/check-local-headers.sh: Accept a host triplet in the
38924 path matched by the exclude regexp.
38925
993eb054
DM
38926 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38927 definition.
38928 * sysdeps/powerpc/powerpc32/dl-machine.h
38929 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38930 * sysdeps/s390/s390-32/dl-machine.h
38931 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38932 * sysdeps/sparc/sparc32/dl-machine.h
38933 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38934 * sysdeps/sparc/sparc64/dl-machine.h
38935 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38936
ff9f1c5f
DM
38937 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38938 lazy binding.
48e2e132 38939 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
38940 undefined symbol errors.
38941
48e2e132 38942 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
38943 DT_NEEDED entries.
38944
e80d6f94
MM
389452012-04-05 Michael Matz <matz@suse.de>
38946
38947 [BZ #13592]
38948 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38949
349fa79f
AJ
389502012-04-05 Andreas Jaeger <aj@suse.de>
38951
38952 [BZ #13908]
38953 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38954 comment.
38955
f402708f
KK
389562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38957
38958 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38959 which ROUND is no valid rounding mode.
38960
2ecccfc9
KK
389612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38962
38963 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38964 read again.
38965 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38966
8a53f50f
KK
389672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38968
38969 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38970 an exception using FPU order intentionally.
38971
389722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38973
38974 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38975 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38976 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38977 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38978
d653abb7
SJ
389792012-04-05 Simon Josefsson <simon@josefsson.org>
38980
38981 [BZ #12340]
38982 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38983 EINVAL when BUFLEN is too smal.
38984
c3b1bf7d
TS
389852012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38986
38987 [BZ #13553]
38988 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38989 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38990
b1aa60f3
AJ
389912012-04-03 Andreas Jaeger <aj@suse.de>
38992
c3b1bf7d 38993 [BZ #13938]
67f60a26
AJ
38994 * manual/setjmp.texi (System V contexts): Fix sentence.
38995
b1aa60f3
AJ
38996 [BZ #13926]
38997 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38998 New macro for this case.
38999 [!__GNUC__] (__bswap_64): New inline function for this case.
39000 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39001 * bits/byteswap.h: Likewise.
39002 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39003 ull, guard with __GLIBC_HAVE_LONG_LONG.
39004
39005 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39006 __GLIBC_HAVE_LONG_LONG.
39007
39008 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39009 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39010
39c59c35
TMQMF
390112012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39012
39013 [BZ #13691]
39014 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39015 inptr and inend, rather than using last_ch.
39016
135ffda8
DM
390172012-04-02 David S. Miller <davem@davemloft.net>
39018
39019 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39020 * stdio-common/printf-parse.h (read_int): Change return type to
39021 'int', return -1 on INT_MAX overflow.
39022 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39023 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39024 overflows INT_MAX. Check for overflow of in-format-string precision
39025 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39026 SIZE_MAX not INT_MAX for integer overflow test.
39027 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39028 skip the construct in the format string but do not record anything.
39029 * stdio-common/bug22.c: Adjust to test both width/prevision
39030 INT_MAX overflow as well as total length INT_MAX overflow. Check
39031 explicitly for proper errno values.
39032
228c019e
TS
390332012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39034
302cadd3
TS
39035 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39036 CHAR_MAX.
39037 * string/test-strcmp.c [! WIDE]: Likewise.
39038 * time/tst-mktime2.c: Likewise for INT_MAX.
39039 * string/test-string.h: #include <sys/param.h> for MIN.
39040
228c019e
TS
39041 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39042 * sysdeps/i386/init-first.c (init): Likewise.
39043 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39044 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39045 * sysdeps/sh/init-first.c (init): Likewise.
39046
cfa633f5
UD
390472012-04-01 Ulrich Drepper <drepper@gmail.com>
39048
39049 * po/ru.po: Update from translation team.
d1635ef8 39050 * po/vi.po: Likewise.
cfa633f5 39051
6cd0a5ea
SP
390522012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39053
39054 * resolv/nss_dns/dns-host.c: Merge copyright years.
39055
4b43400f
LD
390562012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39057
39058 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39059 Optimize memcpy with prefetch if
39060 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39061 src, dst pointers have unequal 16 byte alignments.
39062
48c41d04
SP
390632012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39064
39065 [BZ #13928]
39066 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39067 from a CNAME entry and return the minimum ttl for the query.
39068 (gaih_getanswer_slice): Likewise.
39069
b8dc394d
JL
390702012-03-30 Jeff Law <law@redhat.com>
39071
39072 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39073 due to long keys.
39074 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39075 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39076
2f5a5ed0
JL
39077 * resolv/nss_dns/dns-host.c: Update copyright year.
39078
1d39e359
UD
390792012-03-30 Ulrich Drepper <drepper@gmail.com>
39080
c030f70c 39081 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 39082 requests to save a system call. Fix check that all bytes are sent.
c030f70c 39083
1d39e359
UD
39084 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39085 comments for sendmmsg.
39086
390872012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
39088
39089 [BZ #13691]
39090 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39091 with only 1 character between 0x0041 and 0x01b0.
39092 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39093 * wcsmbs/tst-mbsnrtowcs.c: New file.
39094
20fde227
DM
390952012-03-29 David S. Miller <davem@davemloft.net>
39096
39097 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39098 small copies by hand.
39099
984a4237
JL
391002012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39101
39102 [BZ #13761]
57f41c40
AS
39103 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39104 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39105 group memberships.
984a4237 39106
18c9d62b
DM
391072012-03-28 David S. Miller <davem@davemloft.net>
39108
88d85d4f
DM
39109 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39110 that branches into memcpy.
39111 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39112 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39113 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39114 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39115 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39116 bits.
39117 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39118 implementation too.
39119 * sysdeps/sparc/mempcpy.S: New file.
39120
e5aa83e1
DM
39121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39122 the IFUNC routine in the libc case.
39123 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39124
88570753
DM
39125 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39126 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39127 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39128 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39129 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39130 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39131 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39132 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39133
249d7567
DM
39134 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39135 loop to 256 bytes instead of 64 bytes and fix test signedness.
39136
18c9d62b
DM
39137 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39138 * sysdeps/sparc/sparc32/Makefile: rather than here...
39139 * sysdeps/sparc/sparc64/Makefile: and here.
39140
05f3d1f6
UD
391412012-03-28 Ulrich Drepper <drepper@gmail.com>
39142
39143 * malloc/mallocbug.c: Avoid warnings about unused variables.
39144
86ae07a8
JL
391452012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39146
39147 [BZ #13760]
39148 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39149 in the right place. Discard and retry query if response is
39150 larger than input buffer size.
39151
41bf21a1
JM
391522012-03-28 Joseph Myers <joseph@codesourcery.com>
39153
d6270972
JM
39154 [BZ #369]
39155 [BZ #2678]
39156 [BZ #3866]
39157 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39158 x for large integer exponent.
39159 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39160 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39161 sign of result as needed afterwards.
39162 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39163 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39164 result for underflowing pow the same as for overflow.
39165 (__kernel_standard_l): Handle powl overflow and underflow here
39166 rather than calling __kernel_standard.
39167 * math/libm-test.inc (pow_test): Add more tests.
39168
414fca03 39169 [BZ #3868]
41bf21a1
JM
39170 [BZ #13879]
39171 [BZ #13910]
39172 [BZ #13911]
39173 [BZ #13912]
39174 [BZ #13913]
39175 [BZ #13915]
39176 [BZ #13916]
39177 [BZ #13917]
39178 [BZ #13918]
39179 [BZ #13919]
39180 [BZ #13920]
39181 [BZ #13921]
39182 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39183 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39184 (__kernel_standard_l): New function.
39185 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39186 __kernel_standard.
39187 * math/w_acosl.c (__acosl): Likewise.
39188 * math/w_asinl.c (__asinl): Likewise.
39189 * math/w_atan2l.c (__atan2l): Likewise.
39190 * math/w_atanhl.c (__atanhl): Likewise.
39191 * math/w_coshl.c (__coshl): Likewise.
39192 * math/w_exp10l.c (__exp10l): Likewise.
39193 * math/w_exp2l.c (__exp2l): Likewise.
39194 * math/w_fmodl.c (__fmodl): Likewise.
39195 * math/w_hypotl.c (__hypotl): Likewise.
39196 * math/w_j0l.c (__j0l, __y0l): Likewise.
39197 * math/w_j1l.c (__j1l, __y1l): Likewise.
39198 * math/w_jnl.c (__jnl, __ynl): Likewise.
39199 * math/w_lgammal.c (__lgammal): Likewise.
39200 * math/w_log10l.c (__log10l): Likewise.
39201 * math/w_log2l.c (__log2l): Likewise.
39202 * math/w_logl.c (__logl): Likewise.
39203 * math/w_powl.c (__powl): Likewise.
39204 * math/w_remainderl.c (__remainderl): Likewise.
39205 * math/w_scalbl.c (sysv_scalbl): Likewise.
39206 * math/w_sinhl.c (__sinhl): Likewise.
39207 * math/w_sqrtl.c (__sqrtl): Likewise.
39208 * math/w_tgammal.c (__tgammal): Likewise.
39209 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39210 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39211 * math/libm-test.inc (acos_test): Add more tests.
39212 (acosh_test): Likewise.
39213 (asin_test): Likewise.
39214 (atanh_test): Likewise.
39215 (exp_test): Likewise.
39216 (exp10_test): Likewise.
39217 (exp2_test): Likewise.
39218 (expm1_test): Likewise.
39219 (lgamma_test): Likewise.
39220 (log_test): Likewise.
39221 (log10_test): Likewise.
39222 (log1p_test): Likewise.
39223 (log2_test): Likewise.
39224 (pow_test): Do not allow some spurious overflow exceptions.
39225 (sqrt_test): Add more tests.
39226 (tgamma_test): Likewise.
39227 (y0_test): Likewise.
39228 (y1_test): Likewise.
39229 (yn_test): Likewise.
39230
dd62fda6
AB
392312012-03-27 Anton Blanchard <anton@samba.org>
39232
39233 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39234 MAP_HUGETLB.
39235 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39236 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39237 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39238
1e3cdfda
AJ
392392012-03-27 David S. Miller <davem@davemloft.net>
39240
b855ab85
DM
39241 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39242
1e3cdfda
AJ
39243 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39244 have-as-vis3 check.
39245
392462012-03-27 Andreas Jaeger <aj@suse.de>
39247
39248 * sysdeps/x86_64/elf/configure.in: Moved to ...
39249 * sysdeps/x86_64/configure.in: ... here.
39250 * sysdeps/x86_64/elf/start.S: Moved to ...
39251 * sysdeps/x86_64/start.S: ... here.
39252 * sysdeps/x86_64/elf/configure: Delete.
39253
39254 * sysdeps/x86_64/configure.in: Merge contents from
39255 sysdeps/i386/configure.in (without i686 check).
39256
39257 * sysdeps/i386/elf/Versions: Merge into ...
39258 * sysdeps/i386/Versions: ... this.
39259 * sysdeps/i386/elf/Versions: Delete file.
39260 * sysdeps/i386/elf/start.S: Moved to ...
39261 * sysdeps/i386/start.S: ...here.
39262 * sysdeps/i386/elf/configure.in: Merge into...
39263 * sysdeps/i386/configure.in: ...here.
39264 * sysdeps/i386/elf/configure.in: Delete file.
39265 * sysdeps/i386/elf/configure: Delete file.
39266
39267 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39268 * debug/backtracesyms.c: ... here.
39269 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39270 * debug/backtracesymsfd.c: ... here.
39271 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39272 * sysdeps/generic/ifunc-sel.h: ... here.
39273
39274 * sysdeps/unix/i386/start.c: Delete file.
39275 * sysdeps/unix/sparc/start.c: Delete file.
39276 * sysdeps/unix/start.c: Delete file.
39277
39278 * sysdeps/sh/elf/configure.in: Moved to ...
39279 * sysdeps/sh/configure.in: ... here.
39280 * sysdeps/sh/elf/start.S: Moved to ...
39281 * sysdeps/sh/start.S: ... here.
39282 * sysdeps/sh/elf/configure: Delete file.
39283
39284 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39285 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39286 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39287 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39288 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39289 * sysdeps/powerpc/powerpc64/start.S: here.
39290 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39291 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39292 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39293 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39294 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39295
39296 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39297 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39298 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39299 * sysdeps/powerpc/powerpc32/start.S: ... here.
39300 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39301 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39302 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39303
39304 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39305 * sysdeps/powerpc/ifunc-sel.h: ... here.
39306 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39307 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39308
39309 * sysdeps/sparc/elf/configure.in: Moved to ...
39310 * sysdeps/sparc/configure.in: ... here.
39311 * sysdeps/sparc/elf/configure: Delete file.
39312 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39313 * sysdeps/sparc/sparc32/start.S: ... here.
39314 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39315 * sysdeps/sparc/sparc64/start.S: ... here.
39316 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39317 * sysdeps/sparc/sparc32/Makefile: ... this.
39318 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39319 * sysdeps/sparc/sparc64/Makefile: ... this.
39320
39321 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39322 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39323 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39324 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39325 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39326 * sysdeps/s390/s390-32/setjmp.S: ... here.
39327 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39328 * sysdeps/s390/s390-32/configure.in: ... here.
39329 * sysdeps/s390/s390-32/elf/configure: Delete file.
39330 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39331 * sysdeps/s390/s390-32/start.S: ... here.
39332
39333 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39334 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39335 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39336 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39337 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39338 * sysdeps/s390/s390-64/setjmp.S: ... here.
39339 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39340 * sysdeps/s390/s390-64/configure.in: ... here
39341 * sysdeps/s390/s390-64/elf/configure: Delete file.
39342 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39343 * sysdeps/s390/s390-64/start.S: ... here.
39344 * sysdeps/s390/s390-64/elf/configure: Delete.
39345
39346 * configure.in: Remove support for elf directories in sysdeps.
39347
39348 * configure: Regenerated.
39349 * sysdeps/i386/configure: Regenerated.
39350 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39351 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39352 * sysdeps/s390/s390-32/configure: Regenerated.
39353 * sysdeps/s390/s390-64/configure: Regenerated.
39354 * sysdeps/sh/configure: Regenerated.
39355 * sysdeps/sparc/configure: Regenerated.
39356 * sysdeps/x86_64/configure: Regenerated.
39357
a3f61311
AS
393582012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39359
c876e002
AS
39360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39361
a3f61311
AS
39362 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39363 denormal result into account.
39364
ac4c54f0
RM
393652012-03-25 Roland McGrath <roland@hack.frob.com>
39366
39367 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39368 Reported by Allan McRae <allan@archlinux.org>.
39369
6a9b9c02
JL
393702012-03-23 Jeff Law <law@redhat.com>
39371
39372 * nss/getnssent.c (__nss_getent): Fix typo.
39373
4c42a0c1
DM
393742012-03-23 David S. Miller <davem@davemloft.net>
39375
39376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39377
1532c7ac
L
393782012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39379
39380 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39381 to pad to uint64_t for each field.
39382 (dl_tls_index): Replace unsigned long with uint64_t.
39383
3ff42526
PP
393842012-03-23 Daniel Jacobowitz <dmj@google.com>
39385 Paul Pluzhnikov <ppluzhnikov@google.com>
39386
39387 [BZ #6528]
39388 * grp/Makefile (otherlibs): Don't set it.
39389 * inet/Makefile (otherlibs): Likewise.
39390 * login/Makefile (otherlibs): Likewise.
39391 * nscd/Makefile (otherlibs): Likewise.
39392 * posix/Makefile (otherlibs): Likewise.
39393 * pwd/Makefile (otherlibs): Likewise.
39394 * rt/Makefile (otherlibs): Likewise.
39395 * sunrpc/Makefile (otherlibs): Likewise.
39396 * nss/Makefile (otherlibs): Likewise.
39397 Add libnss_files to routines and static-only-routines.
39398 ($(objpfx)getent): Remove rule.
39399 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39400 static-only-routines.
39401
7c69cd14
JM
394022012-03-22 Joseph Myers <joseph@codesourcery.com>
39403
39404 [BZ #13892]
39405 * math/s_cexp.c: Include <float.h>.
39406 (__cexp): Handle exp result overflowing not necessarily
39407 overflowing both real and imaginary parts of result.
39408 * math/s_cexpf.c: Likewise.
39409 * math/s_cexpl.c: Likewise.
39410 * math/libm-test.inc (cexp_test): Add more tests.
39411 * sysdeps/i386/fpu/libm-test-ulps: Update.
39412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39413
81b035fe
L
394142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39415
39416 * include/link.h (ELFW): New macro.
39417 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39418 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39419
1da7940c
L
394202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39421
39422 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39423 with uint64_t.
39424
b749dbb9
L
394252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39426
39427 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39428 declaration.
39429 (struct La_x32_retval): Likewise.
39430
2ff87f3f
L
394312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39432
39433 * sysdeps/x86_64/preconfigure.in: New file.
39434 * sysdeps/x86_64/preconfigure: New generated file.
39435
c0df8e69
JM
394362012-03-22 Joseph Myers <joseph@codesourcery.com>
39437
48e44791
JM
39438 [BZ #13824]
39439 * math/e_exp2l.c: Include <float.h>.
39440 (__ieee754_exp2l): Handle overflow and underflow cases
39441 separately. Only pass fractional part of argument to
39442 __ieee754_expl.
39443 * math/libm-test.inc (exp2_test): Add more tests.
39444
c0df8e69
JM
39445 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39446 negating x to take absolute value.
39447 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39448 Likewise.
39449 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39450 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39451 Likewise.
39452 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39453 computing low part if x was negated.
39454 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39455
c8e43ba7
L
394562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39457
39458 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39459 la_x32_gnu_pltexit.
39460 (pltexit): Cast int_retval to ptrdiff_t.
39461 * elf/tst-auditmod3b.c: Likewise.
39462 * elf/tst-auditmod4b.c: Likewise.
39463 * elf/tst-auditmod5b.c: Likewise.
39464 * elf/tst-auditmod6b.c: Likewise.
39465 * elf/tst-auditmod6c.c: Likewise.
39466 * elf/tst-auditmod7b.c: Likewise.
39467
39468 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39469 and x32_gnu_pltexit.
39470
39471 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39472 __ELF_NATIVE_CLASS.
39473 (La_x32_regs): New macro.
39474 (La_x32_retval): Likewise.
39475 (la_x32_gnu_pltenter): New function prototype.
39476 (la_x32_gnu_pltexit): Likewise.
39477
7998fa78
AS
394782012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39479
dcb33988
AS
39480 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39481 exponent.
39482
233fc563
AS
39483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39484
7998fa78
AS
39485 * configure.in (libc_cv_cc_nofma): Check for option to disable
39486 generation of FMA instructions.
39487 * configure: Regenerate.
39488 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39489 * sysdeps/ieee754/dbl-64/Makefile: New file.
39490 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39491 Remove brandred-fma4.
39492 (CFLAGS-brandred-fma4.c): Remove.
39493 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39494 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39495 define.
39496 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39497 define.
39498
8e95c99a
L
394992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39500
39501 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39502 LLONG_MAX != LONG_MAX.
39503 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39504 (_fitoa_word): Likewise.
39505 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39506 LLONG_MAX != LONG_MAX.
39507 * stdio-common/_itowa.h: Include <_itoa.h>.
39508 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39509 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39510 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39511 only if not defined.
39512 (_ITOA_WORD_TYPE): Likewise.
39513 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39514 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39515
6f4db457
DM
395162012-03-21 David S. Miller <davem@davemloft.net>
39517
39518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39519
7785fe5a
L
395202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39521
39522 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39523 of x86_64 when setting libc_cv_slibdir, libdir and
39524 libc_cv_localedir.
39525 * sysdeps/unix/sysv/linux/configure: Regenerated.
39526
4535cd55
JM
395272012-03-21 Joseph Myers <joseph@codesourcery.com>
39528
39529 * manual/lang.texi (Old Varargs): Remove section.
39530 (How Variadic): Update menu.
39531 (va_start): Do not mention varargs.h.
39532
17228132
TS
395332012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39534 Joseph Myers <joseph@codesourcery.com>
39535
39536 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39537 link test.
39538 * configure: Regenerated.
39539
8149f976
TS
395402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39541
05f3d1f6
UD
39542 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39543 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39544 conformtest.pl
8149f976 39545
1a4ac776
JM
395462012-03-21 Joseph Myers <joseph@codesourcery.com>
39547
be22ce65
JM
39548 * NOTES: Remove.
39549 * Makefile (files-for-dist): Remove NOTES.
39550 (NOTES): Remove rule.
39551 * README: Don't refer to NOTES.
39552 * manual/creature.texi: Don't include macros.texi.
39553 * manual/intro.texi (creature.texi): Remove comment referring to
39554 NOTES.
39555
40b601fb
JM
39556 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39557 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39558 * configure: Regenerated.
39559 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39560 LIBC_TRY_CC_OPTION.
39561 (libc_cv_as_i686): Likewise.
39562 (libc_cv_cc_avx): Likewise.
39563 (libc_cv_cc_sse2avx): Likewise.
39564 (libc_cv_cc_fma4): Likewise.
39565 (libc_cv_cc_novzeroupper): Likewise.
39566 * sysdeps/i386/configure: Regenerated.
39567
1a4ac776
JM
39568 [BZ #13883]
39569 * sysdeps/i386/fpu/s_cexp.S: Remove.
39570 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39571 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39572 * math/libm-test.inc (cexp_test): Add more tests.
39573 * sysdeps/i386/fpu/libm-test-ulps: Update.
39574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39575
a458e7fe
AM
395762012-03-21 Allan McRae <allan@archlinux.org>
39577
39578 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39579
0cb7efc5
JM
395802012-03-21 Joseph Myers <joseph@codesourcery.com>
39581
39582 [BZ #13871]
39583 * math/w_exp2.c: Do not include <float.h>.
39584 (o_threshold, u_threshold): Remove.
39585 (__exp2): Calculate result before checking finiteness and calling
39586 __kernel_standard.
39587 * math/w_exp2f.c: Likewise.
39588 * math/w_exp2l.c: Likewise.
39589 * math/libm-test.inc (exp2_test): Require overflow exception for
39590 1e6 input.
2460d3aa
JM
39591
39592 [BZ #3866]
39593 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39594 range of signed 64-bit integers before using fistpll. Remove
39595 checks for whether integers fit in mantissa bits.
39596 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39597 the range of signed 32-bit integers before using fistpl. Remove
39598 checks for whether integers fit in mantissa bits.
39599 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39600 (__ieee754_powl): Test for y outside the range of signed 64-bit
39601 integers before using fistpll. Reduce 64-bit values to 63-bit
39602 ones as needed.
39603 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39604 divide-by-zero is raised for zero to large negative powers.
39605 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39606 (__ieee754_powl): Test for y outside the range of signed 64-bit
39607 integers before using fistpll. Reduce 64-bit values to 63-bit
39608 ones as needed.
39609 * math/libm-test.inc (pow_test): Add more tests.
39610
eb96ffb0
L
396112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39612
39613 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39614 <stdio-common/_itoa.h>.
39615 * debug/segfault.c: Likewise.
39616 * elf/dl-cache.c: Likewise.
39617 * elf/dl-minimal.c: Likewise.
39618 * elf/dl-misc.c: Likewise.
39619 * elf/dl-sysdep.c: Likewise.
39620 * elf/dl-version.c: Likewise.
39621 * elf/rtld.c: Likewise.
39622 * hurd/hurdsock.c: Likewise.
39623 * hurd/lookup-retry.c: Likewise.
39624 * malloc/malloc.c: Likewise.
39625 * malloc/mtrace.c: Likewise.
39626 * nscd/nscd_getgr_r.c: Likewise.
39627 * nscd/nscd_getpw_r.c: Likewise.
39628 * nscd/nscd_getserv_r.c: Likewise.
39629 * posix/getopt_init.c: Likewise.
39630 * posix/wordexp.c: Likewise.
39631 * stdio-common/_itoa.c: Likewise.
39632 * stdio-common/printf_fphex.c: Likewise.
39633 * stdio-common/vfprintf.c: Likewise.
39634 * string/_strerror.c: Likewise.
39635 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39636 * sysdeps/i386/i686/hp-timing.h: Likewise.
39637 * sysdeps/mach/_strerror.c: Likewise.
39638 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39639 * sysdeps/mach/hurd/sethostid.c: Likewise.
39640 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39641 * sysdeps/mach/xpg-strerror.c: Likewise.
39642 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39643 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39644 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39645 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39646 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39647 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39648 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39649 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39650 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39651 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39652 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39653 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39654 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39655 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39656 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39657 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39658 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39659 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39660 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39661 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39662 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39663
39664 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39665
39666 * stdio-common/_itoa.h: Moved to ...
39667 * sysdeps/generic/_itoa.h: Here.
39668
39669 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39670
39671 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39672 instead of "_itoa.h" and "_itowa.h".
39673 * stdio-common/vfprintf.: Likewise.
39674
d1af992d
L
396752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39676
39677 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39678 <bits/wordsize.h>.
39679 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39680 (__signbit): Likwise.
39681 (llrintf): Likwise.
39682 (llrint): Likwise.
39683
114883e0
L
396842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39685
39686 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39687 __WORDSIZE != 64.
39688
c135cc1b
JM
396892012-03-20 Joseph Myers <joseph@codesourcery.com>
39690
39691 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39692 OVERFLOW_EXCEPTION_OK.
39693 * math/libm-test.inc ("Philosophy"): Update comment about
39694 exception testing.
39695 (OVERFLOW_EXCEPTION): Define.
39696 (OVERFLOW_EXCEPTION_OK): Likewise.
39697 (INVALID_EXCEPTION_OK): Renumber.
39698 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39699 (IGNORE_ZERO_INF_SIGN): Likewise.
39700 (test_exceptions): Handle FE_OVERFLOW.
39701 (exp10_test): Expect overflow exceptions.
39702 (exp2_test): Likewise.
39703 (expm1_test): Likewise.
39704 (nextafter_test): Likewise.
39705 (pow_test): Likewise.
39706 (scalbn_test): Likewise.
39707 (scalbln_test): Likewise.
39708
95443d88
L
397092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39710
39711 * sysdeps/x86_64/bits/atomic.h
39712 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39713 64bit integer.
39714 (atomic_exchange_acq): Likewise.
39715 (__arch_exchange_and_add_body): Likewise.
39716 (__arch_add_body): Likewise.
39717 (atomic_add_negative): Likewise.
39718 (atomic_add_zero): Likewise.
39719
490df6c4
L
397202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39721
c2722551 39722 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
39723 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39724
5e52b189
L
397252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39726
39727 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39728 Check __x86_64__ instead of __WORDSIZE.
39729
a9879d4c
L
397302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39731
39732 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39733
5df98260
DM
397342012-03-19 David S. Miller <davem@davemloft.net>
39735
e1497744
DM
39736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39737
5df98260
DM
39738 * sysdeps/sparc/fpu/fenv_private.h: New file.
39739 * sysdeps/sparc/fpu/math_private.h: Use it.
39740 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39741 Remove.
57f41c40 39742 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
39743 (libc_feholdexcept_setroundl): Remove.
39744 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39745 Remove.
39746 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39747 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39748
b4c35121
L
397492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39750
39751 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39752 int64_t instead of long int.
39753 (INSERT_WORDS64): Likwise.
39754
56965fd7
L
397552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39756
39757 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39758 _Unwind_GetCFA return to _Unwind_Ptr first.
39759
83d1aec8
JM
397602012-03-19 Joseph Myers <joseph@codesourcery.com>
39761
1897ad44
JM
39762 [BZ #13629]
39763 * math/s_clog.c: Include <float.h>.
39764 (__clog): Scale large or subnormal inputs.
39765 * math/s_clogf.c: Likewise.
39766 * math/s_clogl.c: Likewise.
39767 * math/s_clog10.c: Include <float.h>.
39768 (M_LOG10_2): Define.
39769 (__clog10): Scale large or subnormal inputs.
39770 * math/s_clog10f.c: Likewise.
39771 * math/s_clog10l.c: Likewise.
39772 * math/libm-test.inc (clog_test): Add more tests.
39773 (clog10_test): Likewise.
39774 * sysdeps/i386/fpu/libm-test-ulps: Update.
39775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39776
7726d6a9
JM
39777 [BZ #11451]
39778 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39779 x and y.
39780 * math/libm-test.inc (atan2_test): Add another test.
39781
83d1aec8
JM
39782 * Makerules (common-objdir-compile): Remove.
39783 * sysdeps/unix/Makefile (config-generated): Do not add
39784 $(unix-generated) to variable.
39785 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39786 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39787 Remove rule.
39788 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39789 Likewise.
39790 [generic bits/local_lim.h] (before-compile): Do not append to
39791 variable.
39792 [generic bits/local_lim.h] (common-generated): Likewise.
39793 [generic sys/param.h] (before-compile): Do not append to variable.
39794 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39795 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39796 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39797 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39798 include.
39799 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39800 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39801 [generic sys/param.h] ($(addprefix
39802 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39803 [generic sys/param.h] (common-generated): Do not append to
39804 variable.
39805 [generic sys/param.h] (sysdep_headers): Likewise.
39806 [generic bits/errno.h] (before-compile): Do not append to
39807 variable.
39808 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39809 rule.
39810 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39811 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39812 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39813 [generic bits/errno.h] (common-generated): Do not append to
39814 variable.
39815 [generic bits/ioctls.h] (before-compile): Do not append to
39816 variable.
39817 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39818 rule.
39819 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39820 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39821 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39822 rule.
39823 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39824 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39825 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39826 [generic bits/ioctls.h] (common-generated): Do not append to
39827 variable.
39828 [generic sys/syscall.h] (syscall.h): Remove variable.
39829 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39830 rule.
39831 [generic sys/syscall.h] (before-compile): Do not append to
39832 variable.
39833 [generic sys/syscall.h] (common-generated): Likewise.
39834 * sysdeps/unix/errnos-tmpl.c: Remove file.
39835 * sysdeps/unix/errnos.awk: Likewise.
39836 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39837 * sysdeps/unix/ioctls.awk: Likewise.
39838 * sysdeps/unix/mk-local_lim.c: Likewise.
39839 * sysdeps/unix/snarf-ioctls: Likewise.
39840
4851a949
RH
398412012-03-19 Richard Henderson <rth@twiddle.net>
39842
bd37f2ee
RH
39843 * sysdeps/i386/fpu/fenv_private.h: New file.
39844 * sysdeps/i386/fpu/math_private.h: Use it.
39845 (math_opt_barrier, math_force_eval): Remove.
39846 (libc_feholdexcept_setround_53bit): Remove.
39847 (libc_feupdateenv_53bit): Remove.
39848 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39849 (math_opt_barrier, math_force_eval): Remove.
39850 (libc_feholdexcept): Remove.
39851 (libc_feholdexcept_setround): Remove.
39852 (libc_fetestexcept, libc_fesetenv): Remove.
39853 (libc_feupdateenv_test): Remove.
39854 (libc_feupdateenv, libc_feholdsetround): Remove.
39855 (libc_feresetround): Remove.
39856
d0adc922
RH
39857 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39858 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39859
0fe0f1f8
RH
39860 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39861 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39862 (libc_feupdateenv_testl): New.
39863 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39864 (libc_feupdateenv_testf): New.
39865 (libc_feupdateenv): Use libc_feupdateenv_test.
39866 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39867 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39868
eb92c487
RH
39869 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39870 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39871 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39872 (libc_feresetround_noex): New.
39873 (libc_feresetround_noexf): New.
39874 (libc_feresetround_noexl): New.
39875 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39876 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39877 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39878 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39879 SET_RESTORE_ROUND.
39880 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39881 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39882 (__cos): Likewise.
39883 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39884 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39885 SET_RESTORE_ROUND_NOEX.
39886 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39887 SET_RESTORE_ROUND_NOEXF.
39888 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39889 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39890 (libc_feholdsetroundf): New.
39891 (libc_feresetround, libc_feresetroundf): New.
39892
7d2e8012
RH
39893 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39894 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39895 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39896
b4dabbb4
RH
39897 * sysdeps/generic/math_private.h: Include <fenv.h>.
39898 (default_libc_feholdexcept): New.
39899 (default_libc_feholdexcept_setround): New.
39900 (default_libc_fesetenv, default_libc_feupdateenv): New.
39901 (libc_feholdexcept): Only define if undefined.
39902 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39903 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39904 (libc_feholdexcept_setroundl): Likewise.
39905 (libc_feholdexcept_setround_53bit): Likewise.
39906 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39907 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39908 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39909 (libc_feupdateenv_53bit): Likewise.
39910 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39911 (libc_feholdexcept): Convert from macro to inline function.
39912 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39913 (libc_fesetenv, libc_feupdateenv): Likewise.
39914
4851a949
RH
39915 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39916 not previously defined.
39917 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39918 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39919 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39920 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39921 * sysdeps/ieee754/flt-32/math_private.h: New file.
39922 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39923 math_private.h below SET_FLOAT_WORD.
39924 (__isnan, __isinf_ns, __finite): Remove.
39925 (__isnanf, __isinf_nsf, __finitef): Remove.
39926
e79d442e
AS
399272012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39928
39929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39930
90b80344
DM
399312012-03-17 David S. Miller <davem@davemloft.net>
39932
39933 [BZ #6471]
39934 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39935 for 2.16.
39936
edc21804
DM
399372012-03-16 David S. Miller <davem@davemloft.net>
39938
77e927af
DM
39939 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39940 warnings.
39941
374976dd
DM
39942 [BZ #6471]
39943 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39944 properly.
39945 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39946 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39947 sysdep_routines when subdir is sysvipc.
39948 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39949 __getshmlba helper.
39950
edc21804
DM
39951 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39952
473c3ef3
L
399532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39954
39955 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39956 [__LP64__].
39957
eb0f39b6
L
399582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39959
39960 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39961 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39962 (__lround): Renamed to ...
39963 (__llround): This. Replace long int with long long int.
39964 Define lround functions as aliases of llround functions.
39965 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39966
6b6cd74b
L
399672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39968
39969 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39970 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39971 adresses to uintptr_t. Replace "long int" and "unsigned long
39972 int" with "greg_t" on va_arg.
39973
f1a77b01
L
399742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39975
39976 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39977 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39978
39979 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39980 Move e_machine check before EI_CLASS check. Handle x32
39981 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39982 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39983 SKIP_EM_IA_64 and include
39984 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39985
39986 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39987 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39988 (add_system_dir): New macro.
39989
39990 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39991 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39992
11b90b9f
JM
399932012-03-16 Joseph Myers <joseph@codesourcery.com>
39994
c36e1d23
JM
39995 [BZ #2551]
39996 [BZ #2552]
39997 [BZ #2553]
39998 [BZ #2554]
39999 [BZ #2562]
40000 [BZ #2563]
40001 [BZ #2565]
40002 [BZ #2566]
40003 [BZ #2576]
40004 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40005 (y0): Likewise.
40006 * math/w_j0f.c (j0f): Likewise.
40007 (y0f): Likewise.
40008 * math/w_j0l.c (__j0l): Likewise.
40009 (__y0l): Likewise.
40010 * math/w_j1.c (j1): Likewise.
40011 (y1): Likewise.
40012 * math/w_j1f.c (j1f): Likewise.
40013 (y1f): Likewise.
40014 * math/w_j1l.c (__j1l): Likewise.
40015 (__y1l): Likewise.
40016 * math/w_jn.c (jn): Likewise.
40017 (yn): Likewise.
40018 * math/w_jnf.c (jnf): Likewise.
40019 (ynf): Likewise.
40020 * math/w_jnl.c (__jnl): Likewise.
40021 (__ynl): Likewise.
40022 * math/libm-test.inc (j0_test): Add more tests.
40023 (j1_test): Likewise.
40024 (jn_test): Likewise. Add trailing semicolon to existing test.
40025 (y0_test): Likewise.
40026 (y1_test): Likewise.
40027 * sysdeps/i386/fpu/libm-test-ulps: Update.
40028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40029
11b90b9f
JM
40030 [BZ #13851]
40031 [BZ #13854]
40032 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40033 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40034 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40035 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40036 (__tanl): Set errno for infinite argument.
40037 * sysdeps/i386/fpu/mptan.c: Remove.
40038 * sysdeps/i386/fpu/s_tan.S: Likewise.
40039 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40040 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40041 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40042 * math/libm-test.inc (tan_test): Add more tests and enable more
40043 tests for double and long double.
40044 * sysdeps/i386/fpu/libm-test-ulps: Update.
40045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40046
6a1bd2a1
JK
400472012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40048
40049 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40050 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40051
10a803e0
RM
400522012-03-16 Roland McGrath <roland@hack.frob.com>
40053
40054 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40055 * configure.in: Use it for both main tree and add-ons.
40056 * configure: Regenerated.
40057
f196c7f7
L
400582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40059
40060 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40061
8848d99d
JM
400622012-03-16 Joseph Myers <joseph@codesourcery.com>
40063
96cbe7f4
JM
40064 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40065 in comment.
40066
8848d99d
JM
40067 [BZ #13851]
40068 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40069 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40070 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40071 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40072 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40073 infinite argument.
40074 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40075 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40076 != 0 for prec == 2.
40077 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40078 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40079 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40080 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40081 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40082 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40083 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40084 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40085 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40086 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40087 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40088 * math/libm-test.inc (cos_test): Add more tests and enable more
40089 tests for long double.
40090 (sin_test): Likewise.
40091 (sincos_test): Likewise.
40092 * sysdeps/i386/fpu/libm-test-ulps: Update.
40093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40094
dd7f4703
DM
400952012-03-16 David S. Miller <davem@davemloft.net>
40096
40097 * sysdeps/sparc/fpu/math_private.h: New file.
40098
006f1daa
DM
400992012-03-15 David S. Miller <davem@davemloft.net>
40100
c0c83bc8
DM
40101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40102 file.
e6a62e18 40103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
40104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40105 file.
e6a62e18
DM
40106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40111 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40112 sysdep routines.
40113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40114
88cb87d9
DM
40115 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40116 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40117
006f1daa 40118 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
40119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40120 sparc-ifunc.h
006f1daa 40121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
40122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40123 Likewise.
40124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40125 Likewise.
006f1daa
DM
40126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
40129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40130 Likewise.
006f1daa
DM
40131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
40135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40136 Likewise.
40137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40138 Likewise.
006f1daa
DM
40139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40143 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40144 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40145 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40146 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40147 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40148 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40157 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40158 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40159 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40160 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40161 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40162 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40163
11e0098e
AS
401642012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40165
40166 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40167 scaling.
40168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40169
e85b09d0
AJ
401702012-03-15 Andreas Jaeger <aj@suse.de>
40171
40172 [BZ #13852]
40173 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40174 ieee754/flt-32 implementation for sin, cos and sincos.
40175 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40176 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40177 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40178 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40179 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40180 ieee754/flt-32 implementation for tan.
40181
40182 * math/libm-test.inc (cos_test): Enable some large input tests for
40183 float as well
40184 (sin_test): Likewise.
40185 (sincos_test): Likewise.
40186 (tan_test): Add tests for large input.
40187
40188 * sysdeps/i386/fpu/libm-test-ulps: Update.
40189
81c64153
AJ
401902012-03-15 Andreas Jaeger <aj@suse.de>
40191
40192 [BZ #13658]
40193 * math/libm-test.inc (cos_test): Add more test cases.
40194 (sin_test): Likewise.
40195 (sincos_test): Likewise.
40196
7bbfa5c6
AJ
401972012-03-15 Andreas Jaeger <aj@suse.de>
40198
40199 [BZ #13837]
40200 * math/libm-test.inc (cos_test): Add a test case for large input
40201 value.
40202 (sin_test): Likewise.
40203 (sincos_test): Likewise.
40204
57f41c40
AS
402052012-03-15 Andreas Jaeger <aj@suse.de>
40206 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
40207
40208 [BZ #13658]
0671f479 40209 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
40210 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40211 * sysdeps/i386/fpu/branred.c: Likewise.
40212 * sysdeps/i386/fpu/dosincos.c: Likewise.
40213 * sysdeps/i386/fpu/mpa.c: Likewise.
40214 * sysdeps/i386/fpu/s_cos.S: Likewise.
40215 * sysdeps/i386/fpu/s_sin.S: Likewise.
40216 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40217 * sysdeps/i386/fpu/sincos32.c: Likewise.
40218
40219 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40220 Define.
40221 (libc_feupdateenv_53bit): Define.
40222 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40223 Define.
40224 (libc_feupdateenv_53bit): Define.
40225
40226 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40227 53 bit (without extend i386 double precision).
40228
40229 * math/libm-test.inc (sincos_test): Add tests for large input.
40230 (sin): Likewise.
40231 (cos): Likewise.
40232
40233 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40234
9cad04ea
AS
402352012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40236
40237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40238
f7062b9a
DM
402392012-03-15 David S. Miller <davem@davemloft.net>
40240
40241 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40242 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40243 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40244 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
40256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40257 file.
f7062b9a 40258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
40259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40260 file.
f7062b9a 40261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
40262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40263 file.
f7062b9a 40264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
40265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40266 file.
f7062b9a
DM
40267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40268 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40269 fmin/fmax sysdep routines.
40270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40271
7bd951ff
DM
402722012-03-14 David S. Miller <davem@davemloft.net>
40273
559398ab
DM
40274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40278 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40279 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40281 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40284 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40286 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40294 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40295 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40296 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40297 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40298 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40299 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40300 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40301 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
40302 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40303 routines.
40304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40305 file.
559398ab 40306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
40307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40308 file.
559398ab 40309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
40310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40311 file.
559398ab 40312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
40313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40314 file.
559398ab 40315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
40316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40317 file.
559398ab 40318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
40319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40320 file.
40321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40322 file.
40323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40324 file.
40325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40326 file.
40327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40328 New file.
40329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40330 file.
40331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40332 file.
559398ab 40333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
40334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40335 file.
559398ab 40336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
40337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40338 file.
559398ab 40339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
40340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40341 file.
559398ab 40342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
40343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40344 VIS3 routines.
559398ab
DM
40345
40346 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40347 New file.
40348
5a1c1e32
DM
40349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40350
eae47a36
DM
40351 * sysdeps/sparc/configure.in: New file.
40352 * sysdeps/sparc/configure: Generate.
40353 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40354 * configure: Regenerate.
40355 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40356 * config.make.in (have-as-vis3): New.
40357 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40358 available use -Av9d instead of -Av9a.
40359 * sysdeps/sparc/sparc64/Makefile: Likewise.
40360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
40361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40362 New file.
40363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40364 file.
40365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40366 New file.
40367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40368 file.
eae47a36
DM
40369 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40370 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40371 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40372 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40373 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40374
c0c83bc8
DM
40375 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40376 fzeros/fnegs to load 0x80000000 into a float register instead of
40377 using the stack.
7bd951ff
DM
40378 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40379
bd951ccb
JM
403802012-03-14 Joseph Myers <joseph@codesourcery.com>
40381
40382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40383 bits/syscall.h.
40384 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40385 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40386 ($(inst_includedir)/bits/syscall.h): Remove rule.
40387 ($(objpfx)bits/syscall.d): Include instead of
40388 $(objpfx)syscall-list.d.
40389 (generated): Change syscall-list.h and syscall-list.d to
40390 bits/syscall.h and bits/syscall.d.
40391
bb4e6db2
RM
403922012-03-14 Roland McGrath <roland@hack.frob.com>
40393
40394 [BZ #13846]
40395 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40396
aa4a2ae1
JM
403972012-03-14 Joseph Myers <joseph@codesourcery.com>
40398
e456826d
JM
40399 [BZ #13841]
40400 * math/s_csqrt.c: Include <float.h>.
40401 (__csqrt): Scale large or subnormal inputs.
40402 * math/s_csqrtf.c: Likewise.
40403 * math/s_csqrtl.c: Likewise.
40404 * math/libm-test.inc (csqrt_test): Add more tests.
40405 * sysdeps/i386/fpu/libm-test-ulps: Update.
40406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40407
aa4a2ae1
JM
40408 [BZ #13840]
40409 * math/libm-test.inc (hypot_test): Add more tests.
40410
7c10fd35
DM
404112012-03-13 David S. Miller <davem@davemloft.net>
40412
40413 [BZ #13840]
40414 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40415 double-precision for the calculation instead of scaling.
40416
f453b98b
JM
404172012-03-13 Joseph Myers <joseph@codesourcery.com>
40418
40419 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40420 manipulate bits before adding and subtracting TWO52[sx].
40421 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40422 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40423 Likewise.
40424 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40425
09a3453f
DM
404262012-03-13 David S. Miller <davem@davemloft.net>
40427
8e59da90
DM
40428 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40429 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40430 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40431 rtld-global-offsets.h
40432 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40433
2a8ab7f2
DM
40434 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40435 large parameters.
40436
10f62770
DM
40437 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40438
5f0bdb18
DM
40439 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40440 'err' in the ifdef scope in which it is actually used.
40441
09a3453f
DM
40442 * nss/nss_db/db-init.c: Include string.h
40443
b4b2eb5e
DM
404442012-03-12 David S. Miller <davem@davemloft.net>
40445
98bb2f1c
DM
40446 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40447 masking out of the most significant byte of random value used.
40448 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40449 Fix coding style in previous change.
40450
b4b2eb5e
DM
40451 * sysdeps/unix/sysv/linux/kernel-features.h
40452 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40453 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40454 expression.
40455 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40456 later.
40457
6e226b09
DM
404582012-03-11 David S. Miller <davem@davemloft.net>
40459
a1bcbd40
DM
40460 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40461 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40462 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40463 for 'resultvar' otherwise things get truncated on 64-bit.
40464
cb9d6174
DM
40465 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40466 Fix masking out of the most significant byte of random value used.
40467
6e226b09
DM
40468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40469
058c132d
AS
404702012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40471
40472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40473
2d2cd515
DM
404742012-03-09 David S. Miller <davem@davemloft.net>
40475
40476 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40477 variables with appropriate CPP guards.
57f41c40
AS
40478 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40479 from the frame pointer, not the stack pointer. Correct layout
40480 comments. Fix test on resulting framesize and the management of
40481 the outregs buffer for pltexit. Preserve floating point return
40482 values across _dl_call_pltexit call.
2d2cd515
DM
40483 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40484 framesize and the management of the outregs buffer for pltexit.
40485 Preserve floating point return values across _dl_call_pltexit
40486 call.
57f41c40
AS
40487 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40488 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40489 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
40490 (print_exit): Fix format string for return register value.
40491
9a07f9d0
JM
404922012-03-10 Joseph Myers <joseph@codesourcery.com>
40493
40494 * sunrpc/Makefile (others): Add rpcgen.
40495 ($(objpfx)rpcgen): Remove special build rule and dependency on
40496 libc.
40497 * sunrpc/rpcgen.c: New file.
40498
547b5e30
PE
404992012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40500
c524201a
PE
40501 [BZ #13673]
40502 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40503 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40504 * sysdeps/i386/crti.S: Likewise.
40505 * sysdeps/i386/crtn.S: Likewise.
40506 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40507 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40508 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40509 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40510 * sysdeps/sh/crti.S: Likewise.
40511 * sysdeps/sh/crtn.S: Likewise.
40512 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40513
7b6235f2
PE
40514 [BZ #13673]
40515 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40516 with URL.
40517 * locale/programs/locfile-kw.gperf: Likewise.
40518 * locale/programs/charmap-kw.h: Regenerated.
40519 * locale/programs/locfile-kw.h: Likewise.
40520
547b5e30
PE
40521 [BZ #13673]
40522 * intl/plural.y: Replace FSF snail mail address with URL.
40523 * intl/plural.c: Regenerated.
40524
5f0a5dae
RH
405252012-03-09 Richard Henderson <rth@twiddle.net>
40526
40527 * include/math_private.h: Remove file.
40528 * math/math_private.h: Move file ...
40529 * sysdeps/generic/math_private.h: ... here.
40530
b8c03620
RH
40531 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40532 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40533 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40534
4e234f5d 40535 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
40536 and <math_private.h>.
40537 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40538 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40539 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40540 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40541 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40542 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40543 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40544 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40545 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40546 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40548 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40549 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40550 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40551 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40552 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40553 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40554 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40555 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40556 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40557 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40558 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40559 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40560 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40561 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40562 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40563 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40564 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40565 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40566 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40567 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40568 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40569 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40570 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40571 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40572 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40573 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40574 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40575 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40576 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40577 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40578 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40579 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40580 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40581 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40582 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40583 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40584 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40585 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40586 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40587 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40588 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40589 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40590 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40591 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40592 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40593 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40594 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40595 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40596 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40597 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40598 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40599 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40600 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40601 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40602 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40603 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40604 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40605 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40606 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40607 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40608 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40609 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40610 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40611 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40613 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40615 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40616 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40617 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40618 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40619 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40620 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40621 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40622 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40623 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40624 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40625 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40626 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40627 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40628 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40629 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40630 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40631 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40632 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40633 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40634 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40635 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40636 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40637 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40638 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40639 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40640 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40641 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40642 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40643 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40644 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40645 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40646 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40647 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40648 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40649 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40650 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40651 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40652 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40653 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40654 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40655 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40656 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40657 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40658 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40659 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40660 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40661 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40662 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40663 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40664 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40665 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40666 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40667 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40668 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40669 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40670 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40671 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40672 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40673 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40674 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40675 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40676 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40677 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40678 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40679 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40680 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40681 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40682 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40683 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40684 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40685 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40686 * sysdeps/ieee754/k_standard.c: Likewise.
40687 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40688 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40689 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40690 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40691 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40692 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40693 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40694 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40695 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40696 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40697 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40698 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40699 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40700 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40701 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40702 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40703 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40704 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40705 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40706 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40707 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40708 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40709 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40710 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40711 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40712 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40713 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40714 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40715 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40716 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40717 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40718 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40719 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40720 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40721 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40722 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40723 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40724 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40725 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40726 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40727 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40728 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40729 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40730 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40731 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40732 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40733 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40734 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40735 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40736 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40737 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40738 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40739 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40740 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40741 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40742 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40743 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40744 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40745 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40746 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40747 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40748 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40749 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40750 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40751 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40752 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40753 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40754 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40755 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40756 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40757 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40758 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40759 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40760 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40761 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40762 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40763 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40764 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40765 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40766 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40767 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40768 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40769 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40770 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40771 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40772 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40773 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40774 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40775 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40776 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40777 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40778 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40779 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40780 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40781 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40782 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40783 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40784 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40785 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40786 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40787 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40788 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40789 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40790 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40791 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40792 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40793 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40794 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40795 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40796 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40797 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40798 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40799 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40800 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40801 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40802 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40803 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40804 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40805 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40806 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40807 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40808 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40809 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40810 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40811 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40812 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40813 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40814 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40815 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40816 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40817 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40818 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40819 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40820 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40821 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40822 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40823 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40824 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40825 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40826 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40827 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40828 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40829 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40830 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40831 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40832 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40833 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40834 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40835 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40836 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40837 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40838 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40839 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40840 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40841 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40842 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40843 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40844 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40845 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40846 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40847 * sysdeps/ieee754/s_lib_version.c: Likewise.
40848 * sysdeps/ieee754/s_matherr.c: Likewise.
40849 * sysdeps/ieee754/s_signgam.c: Likewise.
40850 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40851 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40852 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40853 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40854 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40855 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40856 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40857 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40858 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40859 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40860 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40861 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40862 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40863 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40864 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40865 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40866 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40867 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40868 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40869 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40870 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 40871
1991fa03
JM
408722012-03-09 Joseph Myers <joseph@codesourcery.com>
40873
40874 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40875 * sunrpc/rpc_main.c: Likewise.
40876 * sunrpc/rpc_svcout.c: Likewise.
40877
60d6f5a6
DM
408782012-03-09 David S. Miller <davem@davemloft.net>
40879
40880 * include/math_private.h: New file.
40881
4962050e
JM
408822012-03-09 Joseph Myers <joseph@codesourcery.com>
40883
02a6f887
JM
40884 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40885 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40886 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40887 from <bits/socket_type.h>.
40888 (enum __socket_type): Don't define here.
40889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40891 bits/socket_type.h.
40892
c6e013c1
JM
40893 [BZ #13566]
40894 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40895 checking __USE_GNU.
40896
4962050e
JM
40897 * Makerules ($(inst_includedir)/%.h): New rule.
40898 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40899 (install-others): Remove variable setting.
40900 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40901
38842f45
RH
409022012-03-08 Richard Henderson <rth@twiddle.net>
40903
67bb6da6
RH
40904 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40905 from macro to inline function; merge with the
40906 !__LIBC_INTERNAL_MATH_INLINES version.
40907 (__ieee754_sqrtf): Likewise.
40908
15194b4b
RH
40909 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40910 to inline function.
40911 (__rintf, __floor, __floorf): Likewise.
40912
64e21ede
RH
40913 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40914 macro to inline function.
40915 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40916
38842f45
RH
40917 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40918 not <math/math_private.h>.
40919
c64bf5fe
DM
409202012-03-08 David S. Miller <davem@davemloft.net>
40921
40922 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40923 copyright year.
40924 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40925
82d86f28
TS
409262012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40927
40928 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40929 normalization.
40930 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40931 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40932
aea5d727
UD
409332012-03-08 Ulrich Drepper <drepper@gmail.com>
40934
40935 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40936 be defined individually, they must be defined as a block. Define
40937 S for printing a string instead of hidint the different by using a
40938 macro for adding the 'l'.
40939 * stdio-common/tst-fphex-wide.c: Adjust.
40940
70bca0a3
MP
409412012-03-07 Marek Polacek <polacek@redhat.com>
40942
40943 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40944
65b81130
MP
409452012-03-08 Marek Polacek <polacek@redhat.com>
40946
40947 [BZ #13806]
40948 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40949 * stdio-common/tst-fphex.c: Define a few macros to make the
40950 test reusable. Use them.
40951 * stdio-common/tst-fphex-wide.c: New file.
40952
07037eeb
JM
409532012-03-08 Joseph Myers <joseph@codesourcery.com>
40954
a7a93d50
JM
40955 [BZ #6911]
40956 * manual/macros.texi (gnusystems): New macro.
40957 (nongnusystems): Likewise.
40958 (gnulinuxhurdsystems): Likewise.
40959 (gnuhurdsystems): Likewise..
40960 (gnulinuxsystems): Likewise.
40961 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40962 variants of the GNU system, not "GNU system".
40963 * manual/conf.texi: Likewise.
40964 * manual/errno.texi: Likewise. Update example of errno macro
40965 expansion.
40966 * manual/filesys.texi: Likewise.
40967 (getumask): Document as specific to GNU/Hurd.
40968 * manual/install.texi: Likewise. Reword some references to
40969 GNU/Linux.
40970 * manual/intro.texi: Likewise.
40971 * manual/io.texi: Likewise.
40972 (File Name Portability): Detail which constraints are inapplicable
40973 to all GNU systems and which are only inapplicable to GNU/Hurd.
40974 * manual/job.texi: Likewise.
40975 * manual/llio.texi: Likewise.
40976 (O_NOCTTY): Document as present on GNU/Linux.
40977 * manual/maint.texi: Likewise.
40978 * manual/memory.texi: Likewise.
40979 * manual/pattern.texi: Likewise.
40980 * manual/pipe.texi: Likewise.
40981 * manual/process.texi: Likewise.
40982 * manual/resource.texi: Likewise.
40983 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40984 child on GNU/Hurd.
40985 * manual/setjmp.texi: Likewise.
40986 * manual/signal.texi: Likewise.
40987 * manual/startup.texi: Likewise.
40988 * manual/stdio.texi: Likewise.
40989 * manual/terminal.texi: Likewise.
40990 (ONLCR): Document as POSIX.
40991 (OXTABS): Document availability on GNU/Linux as XTABS.
40992 (ONOEOT): Document availability separately from other bits.
40993 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40994 * manual/time.texi: Likewise.
40995 * manual/users.texi: Likewise.
40996 * INSTALL: Regenerated.
40997 * sysdeps/gnu/errlist.c: Regenerated.
40998
07037eeb
JM
40999 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41000 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41001 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41002 puts.
41003 * configure: Regenerated.
41004
d1d3431a
JM
410052012-03-07 Joseph Myers <joseph@codesourcery.com>
41006
af6a1e37
JM
41007 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41008 default includes instead of AC_HEADER_CHECK.
41009 * sysdeps/i386/configure: Regenerated.
41010
d1d3431a
JM
41011 [BZ #10716]
41012 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41013 * math/s_cacoshf.c (__cacoshf): Likewise.
41014 * math/s_cacoshl.c (__cacoshl): Likewise.
41015 * math/s_casinh.c (__casinh): Set signs of result from argument.
41016 * math/s_casinhf.c (__casinhf): Likewise.
41017 * math/s_casinhl.c (__casinhl): Likewise.
41018 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41019 (casinh_test): Add more tests.
41020 * sysdeps/i386/fpu/libm-test-ulps: Update.
41021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41022
482ff4da
UD
410232012-03-07 Ulrich Drepper <drepper@gmail.com>
41024
872fda05
UD
41025 * po/zh_TW.po: Update from translation team.
41026
a4300c7a
UD
41027 * login/Makefile (distribute): Remove variable.
41028 * catgets/Makefile: Likewise.
41029 * mach/Makefile: Likewise.
41030 * malloc/Makefile: Likewise.
41031 * misc/Makefile: Likewise.
41032 * iconv/Makefile: Likewise.
41033 * nscd/Makefile: Likewise.
41034 * hurd/Makefile: Likewise.
41035 * manual/Makefile: Likewise.
41036 * locale/Makefile: Likewise.
41037 * intl/Makefile: Likewise.
41038 * conform/Makefile: Likewise.
41039 * nss/Makefile: Likewise.
41040 * time/Makefile: Likewise.
41041 * soft-fp/Makefile: Likewise.
41042 * dirent/Makefile: Likewise.
41043 * gmon/Makefile: Likewise.
41044 * po/Makefile: Likewise.
41045 * rt/Makefile: Likewise.
41046 * socket/Makefile: Likewise.
41047 * math/Makefile: Likewise.
41048 * signal/Makefile: Likewise.
41049 * debug/Makefile: Likewise.
41050 * elf/Makefile: Likewise.
41051 * timezone/Makefile: Likewise.
41052 * stdlib/Makefile: Likewise.
41053 * iconvdata/Makefile: Likewise.
41054 * sunrpc/Makefile: Likewise.
41055 * io/Makefile: Likewise.
41056 * argp/Makefile: Likewise.
41057 * inet/Makefile: Likewise.
41058 * hesiod/Makefile: Likewise.
41059 * grp/Makefile: Likewise.
41060 * csu/Makefile: Likewise.
41061 * wctype/Makefile: Likewise.
41062 * crypt/Makefile: Likewise.
41063 * libio/Makefile: Likewise.
41064 * string/Makefile: Likewise.
41065 * nis/Makefile: Likewise.
41066 * resolv/Makefile: Likewise.
41067 * stdio-common/Makefile: Likewise.
41068 * wcsmbs/Makefile: Likewise.
41069 * dlfcn/Makefile: Likewise.
41070 * posix/Makefile: Likewise.
41071
3b7c4e74 41072 [BZ #6959]
482ff4da
UD
41073 * timezone/Makefile: Don't install timezone files, just the programs
41074 and scripts.
41075
f72ed77d
UD
410762012-03-06 Ulrich Drepper <drepper@gmail.com>
41077
a000466f
UD
41078 * nss/databases.def: Add missing gshadow entry.
41079
f72ed77d
UD
41080 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41081
a53b7a4e
MP
410822012-03-06 Marek Polacek <polacek@redhat.com>
41083
41084 [BZ #13726]
41085 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41086 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41087 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41088 * stdio-common/tst-long-dbl-fphex.c: New file.
41089
e9258400
DM
410902012-03-06 David S. Miller <davem@davemloft.net>
41091
41092 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41093 (set_obp_int): New function.
41094 (get_obp_int): New function.
41095 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
41096 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41097 Avoid unused variable warnings on 'val' and use builtin_expect.
41098 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41099 __builtin_expect.
e9258400
DM
41100 (INLINE_CLONE_SYSCALL): Likewise.
41101
3bd2c723
DM
411022012-03-05 David S. Miller <davem@davemloft.net>
41103
41104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41105
bbb78d03
AS
411062012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41107
884c5db4
AS
41108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41109
bbb78d03
AS
41110 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41111 only for |x| >= 40.
41112 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41113
1c9f702a 411142012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
41115
41116 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41117 Replace gettimeofday with __vdso_gettimeofday.
41118
7be16f82
RM
41119 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41120 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41121 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
41122
41123 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41124 time with __vdso_time.
41125
ed58a00f
JM
411262012-03-05 Joseph Myers <joseph@codesourcery.com>
41127
41128 * manual/lang.texi (size_t): Note types to which size_t may be
41129 equivalent with the GNU C Library, but do not describe when
41130 differences between them are significant.
41131
30ee4ced
AJ
411322012-03-05 Andreas Jaeger <aj@suse.de>
41133
41134 * sysdeps/i386/fpu/libm-test-ulps: Update.
41135
b7cd39e8
JM
411362012-03-05 Joseph Myers <joseph@codesourcery.com>
41137
41138 [BZ #3976]
41139 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41140 (__ieee754_pow): Save and restore rounding mode and use
41141 round-to-nearest for main computations.
41142 * math/libm-test.inc (pow_test_tonearest): New function.
41143 (pow_test_towardzero): Likewise.
41144 (pow_test_downward): Likewise.
41145 (pow_test_upward): Likewise.
41146 (main): Call the new functions.
41147 * sysdeps/i386/fpu/libm-test-ulps: Update.
41148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
41149
41150 [BZ #3976]
41151 * math/libm-test.inc (cosh_test_tonearest): New function.
41152 (cosh_test_towardzero): Likewise.
41153 (cosh_test_downward): Likewise.
41154 (cosh_test_upward): Likewise.
41155 (sinh_test_tonearest): Likewise.
41156 (sinh_test_towardzero): Likewise.
41157 (sinh_test_downward): Likewise.
41158 (sinh_test_upward): Likewise.
41159 (main): Call the new functions.
41160 * sysdeps/i386/fpu/libm-test-ulps: Update.
41161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41162
6c6a98c9
TV
411632012-03-05 Tom de Vries <tom@codesourcery.com>
41164
41165 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41166 default stack guard is set in last bytes.
41167 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41168
21bb2d2e 411692012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 41170
21bb2d2e 41171 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 41172
21bb2d2e
AJ
41173 [BZ #13656]
41174 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41175 possibly allocate from heap instead of stack.
41176 * stdio-common/bug-vfprintf-nargs.c: New file.
41177 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 41178
c6922934
AS
411792012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41180
41181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41182
bc957d53
MP
411832012-03-03 Marek Polacek <polacek@redhat.com>
41184
41185 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41186 * math/math_private.h: Likewise.
41187 * stdlib/tst-strtod.c: Likewise.
41188 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41189 * sysdeps/x86_64/bits/atomic.h: Likewise.
41190
6358490d
DM
411912012-03-02 David S. Miller <davem@davemloft.net>
41192
41193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41197 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41198 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41199 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41200 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41201
01ae168d
RM
412022012-03-02 Roland McGrath <roland@hack.frob.com>
41203
d9a17c07
RM
41204 [BZ #13792]
41205 * manual/examples/README: New file, says the example source files
41206 can be used under GPL>=2.
41207 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41208 line containing just "*/".
41209 * manual/examples/add.c: Add copyright header (GPL>=2).
41210 * manual/examples/argp-ex1.c: Likewise.
41211 * manual/examples/argp-ex2.c: Likewise.
41212 * manual/examples/argp-ex3.c: Likewise.
41213 * manual/examples/argp-ex4.c: Likewise.
41214 * manual/examples/atexit.c: Likewise.
41215 * manual/examples/db.c: Likewise.
41216 * manual/examples/dir.c: Likewise.
41217 * manual/examples/dir2.c: Likewise.
41218 * manual/examples/execinfo.c: Likewise.
41219 * manual/examples/filecli.c: Likewise.
41220 * manual/examples/filesrv.c: Likewise.
41221 * manual/examples/fmtmsgexpl.c: Likewise.
41222 * manual/examples/genpass.c: Likewise.
41223 * manual/examples/inetcli.c: Likewise.
41224 * manual/examples/inetsrv.c: Likewise.
41225 * manual/examples/isockad.c: Likewise.
41226 * manual/examples/longopt.c: Likewise.
41227 * manual/examples/memopen.c: Likewise.
41228 * manual/examples/memstrm.c: Likewise.
41229 * manual/examples/mkfsock.c: Likewise.
41230 * manual/examples/mkisock.c: Likewise.
41231 * manual/examples/mygetpass.c: Likewise.
41232 * manual/examples/pipe.c: Likewise.
41233 * manual/examples/popen.c: Likewise.
41234 * manual/examples/rprintf.c: Likewise.
41235 * manual/examples/search.c: Likewise.
41236 * manual/examples/select.c: Likewise.
41237 * manual/examples/setjmp.c: Likewise.
41238 * manual/examples/sigh1.c: Likewise.
41239 * manual/examples/sigusr.c: Likewise.
41240 * manual/examples/stpcpy.c: Likewise.
41241 * manual/examples/strdupa.c: Likewise.
41242 * manual/examples/strftim.c: Likewise.
41243 * manual/examples/strncat.c: Likewise.
41244 * manual/examples/subopt.c: Likewise.
41245 * manual/examples/swapcontext.c: Likewise.
41246 * manual/examples/termios.c: Likewise.
41247 * manual/examples/testopt.c: Likewise.
41248 * manual/examples/testpass.c: Likewise.
41249 * manual/examples/timeval_subtract.c: Likewise.
41250
01ae168d
RM
41251 [BZ #13792]
41252 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41253 function to ...
41254 * manual/timeval_subtract.c.texi: ... here, new file.
41255
49efa33d
DM
412562012-03-02 David S. Miller <davem@davemloft.net>
41257
41258 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41259
28afd92d
JM
412602012-03-02 Joseph Myers <joseph@codesourcery.com>
41261
804360ed
JM
41262 [BZ #3976]
41263 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41264 (__sin): Save and restore rounding mode and use round-to-nearest
41265 for all computations.
41266 (__cos): Save and restore rounding mode and use round-to-nearest
41267 for all computations.
41268 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41269 <fenv.h>.
41270 (tan): Save and restore rounding mode and use round-to-nearest for
41271 all computations.
41272 * math/libm-test.inc (cos_test_tonearest): New function.
41273 (cos_test_towardzero): Likewise.
41274 (cos_test_downward): Likewise.
41275 (cos_test_upward): Likewise.
41276 (sin_test_tonearest): Likewise.
41277 (sin_test_towardzero): Likewise.
41278 (sin_test_downward): Likewise.
41279 (sin_test_upward): Likewise.
41280 (tan_test_tonearest): Likewise.
41281 (tan_test_towardzero): Likewise.
41282 (tan_test_downward): Likewise.
41283 (tan_test_upward): Likewise.
41284 (main): Call the new functions.
41285 * sysdeps/i386/fpu/libm-test-ulps: Update.
41286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41287
a6d06d7b
JM
41288 [BZ #10135]
41289 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41290 small n, then large n, before computing and testing k+n.
41291 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41292 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41293 Likewise.
41294 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41295 Likewise.
41296 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41297 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41298 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41299 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41300 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41301 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41302 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41303 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41304 * math/libm-test.inc (scalbn_test): Add more tests.
41305 (scalbln_test): Likewise.
41306
07e12bb3
JM
41307 * manual/filesys.texi (mode_t): Describe constraints on size and
41308 signedness, not exact equivalence to a particular type.
41309 (ino_t): Likewise.
41310 (ino64_t): Likewise.
41311 (dev_t): Likewise.
41312 (nlink_t): Likewise.
41313 (blkcnt_t): Likewise.
41314 (blkcnt64_t): Likewise.
41315 * manual/llio.texi (off_t): Likewise.
41316
28afd92d
JM
41317 [BZ #3976]
41318 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41319 (__ieee754_exp): Save and restore rounding mode and use
41320 round-to-nearest for all computations.
41321 * math/libm-test.inc (exp_test_tonearest): New function.
41322 (exp_test_towardzero): Likewise.
41323 (exp_test_downward): Likewise.
41324 (exp_test_upward): Likewise.
41325 (main): Call the new functions.
41326 * sysdeps/i386/fpu/libm-test-ulps: Update.
41327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41328
b1eeb65d
CD
413292012-03-01 Chris Demetriou <cgd@google.com>
41330
41331 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41332 have predictable order.
41333
53362a4b
DM
413342012-03-01 David S. Miller <davem@davemloft.net>
41335
3c969083
DM
41336 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41337
759707de
DM
41338 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41339 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41340 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41341 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41342
dfdb8ff2
DM
41343 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41344 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41345 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41347 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41348 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41349 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41350 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41351 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41352
ead89f96
DM
41353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41354
7f66bd07
DM
41355 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41356 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41357 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41358
53362a4b
DM
41359 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41360 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41361 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41362 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41363 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41364 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41365 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41366 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41367 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41368 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41369 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41370 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41371 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41372 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41373 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41374 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41375 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41376 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41377 * sysdeps/sparc/elf/configure: Regenerated.
41378
7b1902cb
JM
413792012-03-01 Joseph Myers <joseph@codesourcery.com>
41380
bec039bc
JM
41381 * configure.in (AS, LD): Require binutils 2.20 or later.
41382 * configure: Regenerated.
41383 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41384 as required minimum version.
41385 * INSTALL: Regenerated.
41386
7b1902cb
JM
41387 [BZ #2541]
41388 [BZ #4108]
41389 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41390 before squaring exponent.
41391 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41392 bottom long double and 27 bits of top long double before squaring
41393 exponent.
41394 * math/libm-test.inc (erfc_test): Add more tests.
41395 * sysdeps/i386/fpu/libm-test-ulps: Update.
41396 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41398
f775c276
KT
413992012-03-01 Kai Tietz <ktietz@redhat.com>
41400
41401 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41402 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41403 containing bit-fields.
41404 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41405 * soft-fp/single.h (_FP_UNION_S): Likewise.
41406 * soft-fp/double.h (_FP_UNION_D): Likewise.
41407
5b8a4d4a
JM
414082012-02-29 Joseph Myers <joseph@codesourcery.com>
41409
0bab47b6
JM
41410 [BZ #13786]
41411 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41412 not include ../strcmp.S.
41413 [USE_AS_STRNCASECMP_L]: Likewise.
41414 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41415 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41416 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41417 (__strncasecmp_l_ia32): Define as alias to
41418 __strncasecmp_l_nonascii.
41419
0fcad3e2
JM
41420 [BZ #5794]
41421 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41422 * sysdeps/i386/fpu/libm-test-ulps: Update.
41423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41424
5b8a4d4a
JM
41425 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41427
8fdceb2e
JL
414282012-02-29 Jeff Law <law@redhat.com>
41429
41430 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41431 out of bounds read.
41432
1f393a11
MP
414332012-02-29 Marek Polacek <polacek@redhat.com>
41434
41435 [BZ #13706]
41436 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41437 * elf/Makefile: Add rules to run tst-unused-dep.out.
41438
8847f037
DM
414392012-02-28 David S. Miller <davem@davemloft.net>
41440
41441 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41442 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41443 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41444 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41445 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41446 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41447
169d7f11
JM
414482012-02-29 Joseph Myers <joseph@codesourcery.com>
41449
41450 * math/libm-test.inc (llround_test): Move one test from
41451 lround_test. Use TEST_f_L in moved test.
41452 (lround_test): Move misplaced test to llround_test. Add testcase
41453 from bug 2561.
41454
39adf059
UD
414552012-02-28 Ulrich Drepper <drepper@gmail.com>
41456
41457 * sysdeps/x86_64/fpu/e_expf.S: New file.
41458 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41459
71b5d1c5
SB
414602012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41461
41462 [BZ #13637]
41463 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41464 of remain_len that may cause incomplete multi-byte character and
41465 false match.
41466 * posix/bug-regex33.c: New file.
41467 * posix/Makefile (tests): Add bug-regex33.
41468
1f77f049
JM
414692012-02-28 Joseph Myers <joseph@codesourcery.com>
41470
41471 * manual/macros.texi: New file.
41472 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41473 * manual/libc.texinfo: Include macros.texi.
41474 * manual/creatute.texi: Likewise.
41475 * manual/install.texi: Likewise.
41476 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41477 @glibcadj{} in references to the GNU C Library.
41478 * manual/charset.texi: Likewise.
41479 * manual/conf.texi: Likewise.
41480 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41481 when not using those macros.
41482 * manual/creature.texi: Likewise.
41483 * manual/crypt.texi: Likewise.
41484 * manual/errno.texi: Likewise.
41485 * manual/filesys.texi: Likewise.
41486 * manual/header.texi: Likewise.
41487 * manual/install.texi: Likewise.
41488 * manual/intro.texi: Likewise.
41489 * manual/io.texi: Likewise.
41490 * manual/job.texi: Likewise.
41491 * manual/lang.texi: Likewise.
41492 * manual/libc.texiinfo: Likewise.
41493 * manual/llio.texi: Likewise.
41494 * manual/locale.texi: Likewise.
41495 * manual/maint.texi: Likewise.
41496 * manual/math.texi: Likewise.
41497 * manual/memory.texi: Likewise.
41498 * manual/message.texi: Likewise.
41499 * manual/nss.texi: Likewise.
41500 * manual/pattern.texi: Likewise.
41501 * manual/process.texi: Likewise.
41502 * manual/resource.texi: Likewise.
41503 * manual/search.texi: Likewise.
41504 * manual/setjmp.texi: Likewise.
41505 * manual/signal.texi: Likewise.
41506 * manual/socket.texi: Likewise.
41507 * manual/startup.texi: Likewise.
41508 * manual/stdio.texi: Likewise.
41509 * manual/string.texi: Likewise.
41510 * manual/sysinfo.texi: Likewise.
41511 * manual/syslog.texi: Likewise.
41512 * manual/terminal.texi: Likewise.
41513 * manual/time.texi: Likewise.
41514 * manual/users.texi: Likewise.
41515 * INSTALL: Regenerated.
41516 * NOTES: Regenerated.
d40c5d54 41517 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 41518
450bf206
AS
415192012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41520
41521 * include/dirent.h: Include <dirstream.h> before
41522 <dirent/dirent.h>.
41523
741a235b
DM
415242012-02-28 David S. Miller <davem@davemloft.net>
41525
41526 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41527 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41528 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41529 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41530
d6b5aa58
DM
415312012-02-27 David S. Miller <davem@davemloft.net>
41532
1aff59a3
DM
41533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41535 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41536 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41537
d6b5aa58
DM
41538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41539 frame pointer instead of stack pointer relative arg slot.
41540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41541 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41542 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41543
433f48bf
CD
415442012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41545
41546 [BZ #3992]
41547 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41548
d674b76d
DM
415492012-02-27 David S. Miller <davem@davemloft.net>
41550
41551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41555 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41556 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41557 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41558 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41559
0e7727f7
JM
415602012-02-27 Joseph Myers <joseph@codesourcery.com>
41561
41562 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41563 later. Allow versions 5-9.
43be4ca2 41564 * configure: Regenerated.
0e7727f7
JM
41565 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41566 required minimum version and 4.6 as recommended version. Do not
41567 mention bugs in GCC 2.7 and 2.8.
43be4ca2 41568 * INSTALL: Regenerated.
0e7727f7 41569
a78bc654
DM
415702012-02-27 David S. Miller <davem@davemloft.net>
41571
428d5830
DM
41572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41576 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41577 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41578 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41579 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41580
a78bc654
DM
41581 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41582 manipulate bits before adding and subtracting TWO112[sx].
41583 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41584
4579f81c
RM
415852012-02-27 Roland McGrath <roland@hack.frob.com>
41586
36c8acb4
RM
41587 [BZ #13775]
41588 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41589 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41590 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41591 being in POSIX, because they are in 1003.1-2008.
41592
84ad622b
RM
41593 * rt/tst-aio.c: Include <fcntl.h>.
41594 * rt/tst-aio7.c: Likewise.
41595 * rt/tst-aio64.c: Likewise.
41596
4579f81c
RM
41597 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41598
abd923db
JM
415992012-02-27 Joseph Myers <joseph@codesourcery.com>
41600
41601 * manual/install.texi (--with-headers): Describe headers as
41602 interface headers, not private headers.
41603 (Specific advice for GNU/Linux systems): Describe use of headers
41604 from "make headers_install", not private headers from older
41605 kernels.
43be4ca2 41606 * INSTALL: Regenerated.
abd923db
JM
41607 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41608 Change to 2.6.19.
41609 * sysdeps/unix/sysv/linux/configure: Regenerated.
41610
6664049b
JM
41611 * manual/llio.texi (fclean): Remove documentation.
41612
bb8b6697
JM
41613 * manual/Makefile (libc-texi-generated): New variable. Include
41614 version.texi.
41615 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41616 $(libc-texi-generated), not duplicated list of files.
41617 (version.texi, stamp-version): New rules.
41618 (realclean): Remove $(libc-texi-generated), not individual files
41619 from that list. Do not remove dir-add.texinfo.
41620 * manual/libc.texinfo: Comment out uses of edition numbers and
41621 references to printed manual. Remove last-updated dates.
41622 (EDITION): Comment out.
41623 (ISBN): Likewise.
41624 (VERSION, UPDATED): Remove.
41625 (version.texi): Include.
41626
12e5c3b9
AS
416272012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41628
41629 * sysdeps/posix/spawni.c: Include <signal.h>.
41630 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41631 * sysdeps/pthread/aio_fsync.c: Likewise.
41632
4efeffc1 416332012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 41634
ba63ba08
UD
41635 * conform/Makefile (tests): Run only when not cross-compiling and
41636 when fast-check is not defined.
41637
d94a4670
UD
41638 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41639 * conform/data/limits.h-data: Fixes for POSIX2008.
41640 * conform/run-conformtest.sh: Run all tests.
41641 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41642 headers.
41643 * include/bits/dlfcn.h: Likewise.
41644 * include/langinfo.h: Likewise.
41645 * include/monetary.h: Likewise.
41646 * include/sys/poll.h: Likewise.
41647
41648 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41649 for __USE_GNU.
41650 * posix/spawn.h: Define __need_sigset_t.
41651 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41652 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41653 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41654 to get sigevent_t only.
41655 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41656 only for __USE_GNU.
41657 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41658 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41659 process_vm_writev only for __USE_GNU.
41660 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
41661
41662 * conform/Makefile: For now ignore errors from run-conformtest.
41663 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41664 POSIX to avoid namespace pollution. Don't prepend headers.
41665 * conform/data/aio.h-data: Fixes for POSIX testing.
41666 * conform/data/fcntl.h-data: Likewise.
41667 * conform/data/glob.h-data: Likewise.
41668 * conform/data/grp.h-data: Likewise.
41669 * conform/data/pthread.h-data: Likewise.
41670 * conform/data/pwd.h-data: Likewise.
41671 * conform/data/signal.h-data: Likewise.
41672 * conform/data/spawn.h-data: Likewise.
41673 * conform/data/stdio.h-data: Likewise.
41674 * conform/data/stdlib.h-data: Likewise.
41675 * conform/data/stropts.h-data: Likewise.
41676 * conform/data/sys/mman.h-data: Likewise.
41677 * conform/data/sys/stat.h-data: Likewise.
41678 * conform/data/sys/types.h-data: Likewise.
41679 * conform/data/sys/wait.h-data: Likewise.
41680 * conform/data/time.h-data: Likewise.
41681 * conform/data/unistd.h-data: Likewise.
41682 * conform/data/utime.h-data: Likewise.
41683
41684 * io/sys/stat.h: fchmod was always in POSIX.
41685 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41686 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41687 * rt/aio.h: Define __need_timespec before including <time.h>.
41688 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41689 struct. Add forward declaration of pthread_attr_t and use it in
41690 sigevent.
41691 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41692 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41693 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41694 always remove CLK_TCK definition.
41695
c20105c3
AS
416962012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41697
41698 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41699
7a270350
UD
417002012-02-25 Ulrich Drepper <drepper@gmail.com>
41701
31341567
UD
41702 * conform/run-conformtest.sh: New file.
41703 * conform/Makefile: Run run-conformtest for tests.
41704 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41705 support.
41706
41707 * conform/data/uchar.h-data: New file.
41708 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41709 * conform/data/arpa/inet.h-data: Likewise.
41710 * conform/data/assert.h-data: Likewise.
41711 * conform/data/complex.h-data: Likewise.
41712 * conform/data/cpio.h-data: Likewise.
41713 * conform/data/ctype.h-data: Likewise.
41714 * conform/data/dirent.h-data: Likewise.
41715 * conform/data/dlfcn.h-data: Likewise.
41716 * conform/data/errno.h-data: Likewise.
41717 * conform/data/fcntl.h-data: Likewise.
41718 * conform/data/float.h-data: Likewise.
41719 * conform/data/fmtmsg.h-data: Likewise.
41720 * conform/data/fnmatch.h-data: Likewise.
41721 * conform/data/ftw.h-data: Likewise.
41722 * conform/data/glob.h-data: Likewise.
41723 * conform/data/grp.h-data: Likewise.
41724 * conform/data/iconv.h-data: Likewise.
41725 * conform/data/inttypes.h-data: Likewise.
41726 * conform/data/langinfo.h-data: Likewise.
41727 * conform/data/libgen.h-data: Likewise.
41728 * conform/data/limits.h-data: Likewise.
41729 * conform/data/locale.h-data: Likewise.
41730 * conform/data/math.h-data: Likewise.
41731 * conform/data/monetary.h-data: Likewise.
41732 * conform/data/mqueue.h-data: Likewise.
41733 * conform/data/ndbm.h-data: Likewise.
41734 * conform/data/net/if.h-data: Likewise.
41735 * conform/data/netdb.h-data: Likewise.
41736 * conform/data/netinet/in.h-data: Likewise.
41737 * conform/data/nl_types.h-data: Likewise.
41738 * conform/data/poll.h-data: Likewise.
41739 * conform/data/pthread.h-data: Likewise.
41740 * conform/data/pwd.h-data: Likewise.
41741 * conform/data/regex.h-data: Likewise.
41742 * conform/data/sched.h-data: Likewise.
41743 * conform/data/search.h-data: Likewise.
41744 * conform/data/semaphore.h-data: Likewise.
41745 * conform/data/setjmp.h-data: Likewise.
41746 * conform/data/signal.h-data: Likewise.
41747 * conform/data/spawn.h-data: Likewise.
41748 * conform/data/stdarg.h-data: Likewise.
41749 * conform/data/stdio.h-data: Likewise.
41750 * conform/data/stdlib.h-data: Likewise.
41751 * conform/data/string.h-data: Likewise.
41752 * conform/data/strings.h-data: Likewise.
41753 * conform/data/stropts.h-data: Likewise.
41754 * conform/data/sys/ipc.h-data: Likewise.
41755 * conform/data/sys/mman.h-data: Likewise.
41756 * conform/data/sys/msg.h-data: Likewise.
41757 * conform/data/sys/resource.h-data: Likewise.
41758 * conform/data/sys/select.h-data: Likewise.
41759 * conform/data/sys/sem.h-data: Likewise.
41760 * conform/data/sys/shm.h-data: Likewise.
41761 * conform/data/sys/socket.h-data: Likewise.
41762 * conform/data/sys/stat.h-data: Likewise.
41763 * conform/data/sys/statvfs.h-data: Likewise.
41764 * conform/data/sys/time.h-data: Likewise.
41765 * conform/data/sys/timeb.h-data: Likewise.
41766 * conform/data/sys/times.h-data: Likewise.
41767 * conform/data/sys/types.h-data: Likewise.
41768 * conform/data/sys/uio.h-data: Likewise.
41769 * conform/data/sys/un.h-data: Likewise.
41770 * conform/data/sys/utsname.h-data: Likewise.
41771 * conform/data/sys/wait.h-data: Likewise.
41772 * conform/data/syslog.h-data: Likewise.
41773 * conform/data/tar.h-data: Likewise.
41774 * conform/data/termios.h-data: Likewise.
41775 * conform/data/utime.h-data: Likewise.
41776 * conform/data/utmpx.h-data: Likewise.
41777 * conform/data/varargs.h-data: Likewise.
41778 * conform/data/wchar.h-data: Likewise.
41779 * conform/data/wctype.h-data: Likewise.
41780 * conform/data/wordexp.h-data: Likewise.
41781
41782 * include/stropts.h: New file.
41783 * include/uchar.h: New file.
41784 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41785 * include/assert.h: Likewise.
41786 * include/ctype.h: Likewise.
41787 * include/dirent.h: Likewise.
41788 * include/dlfcn.h: Likewise.
41789 * include/fcntl.h: Likewise.
41790 * include/fnmatch.h: Likewise.
41791 * include/glob.h: Likewise.
41792 * include/grp.h: Likewise.
41793 * include/libio.h: Likewise.
41794 * include/locale.h: Likewise.
41795 * include/math.h: Likewise.
41796 * include/net/if.h: Likewise.
41797 * include/netdb.h: Likewise.
41798 * include/netinet/in.h: Likewise.
41799 * include/pthread.h: Likewise.
41800 * include/pwd.h: Likewise.
41801 * include/regex.h: Likewise.
41802 * include/sched.h: Likewise.
41803 * include/search.h: Likewise.
41804 * include/setjmp.h: Likewise.
41805 * include/signal.h: Likewise.
41806 * include/stdio.h: Likewise.
41807 * include/stdlib.h: Likewise.
41808 * include/string.h: Likewise.
41809 * include/sys/cdefs.h: Likewise.
41810 * include/sys/mman.h: Likewise.
41811 * include/sys/msg.h: Likewise.
41812 * include/sys/resource.h: Likewise.
41813 * include/sys/select.h: Likewise.
41814 * include/sys/socket.h: Likewise.
41815 * include/sys/stat.h: Likewise.
41816 * include/sys/statvfs.h: Likewise.
41817 * include/sys/time.h: Likewise.
41818 * include/sys/times.h: Likewise.
41819 * include/sys/uio.h: Likewise.
41820 * include/sys/utsname.h: Likewise.
41821 * include/sys/wait.h: Likewise.
41822 * include/termios.h: Likewise.
41823 * include/time.h: Likewise.
41824 * include/ulimit.h: Likewise.
41825 * include/unistd.h: Likewise.
41826 * include/utime.h: Likewise.
41827 * include/wchar.h: Likewise.
41828 * include/wctype.h: Likewise.
41829 * include/wordexp.h: Likewise.
41830
41831 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41832
7a270350
UD
41833 * time/time.h: TIME_UTC must be a macro.
41834 Make timespec_get available for ISO C11 only as well.
41835
7724defc
UD
418362012-02-24 Ulrich Drepper <drepper@gmail.com>
41837
41838 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41839 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41840
6b1d1d46
JM
418412012-02-24 Joseph Myers <joseph@codesourcery.com>
41842
41843 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 41844
0f8bbd69
JM
418452012-02-24 Joseph Myers <joseph@codesourcery.com>
41846
41847 * manual/texinfo.tex: Update to version 2012-01-19.16.
41848
66ab80bc
JM
418492012-02-24 Joseph Myers <joseph@codesourcery.com>
41850
41851 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41852
74981cc5
RM
418532012-02-24 Roland McGrath <roland@hack.frob.com>
41854
ee968201
RM
41855 [BZ #13738]
41856 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41857 * manual/fdl-1.3.texi: New file.
41858 * manual/fdl-1.1.texi: File removed.
41859
74981cc5
RM
41860 [BZ #13738]
41861 * manual/libc.texinfo (FDL_VERSION): New @set.
41862 Use it for mention of FDL in cover text.
41863 (Documentation License): Use it in @include file name.
41864
7bb764bc
JM
418652012-02-22 Joseph Myers <joseph@codesourcery.com>
41866 Roland McGrath <roland@hack.frob.com>
41867
41868 [BZ #5461]
57f41c40
AS
41869 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41870 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
41871 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41872 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41873 name.
41874 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41875
6cbeae47
JM
418762012-02-22 Joseph Myers <joseph@codesourcery.com>
41877
41878 [BZ #2547]
41879 [BZ #11365]
41880 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41881 manipulate bits before adding and subtracting TWO23[sx].
41882 * math/libm-test.inc (nearbyint_test): Add more tests.
41883
fe45ce09
JM
418842012-02-22 Joseph Myers <joseph@codesourcery.com>
41885
41886 [BZ #2548]
41887 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41888 bits before adding and subtracting TWO23[sx].
41889 * math/libm-test.inc (rint_test): Add more tests.
41890 (rint_test_tonearest): Likewise.
41891 (rint_test_towardzero): Likewise.
41892 (rint_test_downward): Likewise.
41893 (rint_test_upward: Likewise.
41894
ff3b3d82
JM
418952012-02-22 Joseph Myers <joseph@codesourcery.com>
41896
41897 [BZ #10110]
41898 * include/stdc-predef.h: New file. Extracted from features.h.
41899 * include/features.h: Include stdc-predef.h.
41900 * Makefile (headers): Add stdc-predef.h.
41901 * CONFORMANCE (Compiler limitations): Update.
41902
ef0aab35
JM
419032012-02-22 Joseph Myers <joseph@codesourcery.com>
41904
41905 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41906
58639409
DM
419072012-02-21 David S. Miller <davem@davemloft.net>
41908
41909 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41910 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41911
c0e70b25
DM
419122012-02-20 David S. Miller <davem@davemloft.net>
41913
41914 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41915 using a normal save/restore sequence, rather than allocating a
41916 dummy stack frame just to store a frame pointer and restore.
41917 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41918
fb06851d
JM
419192012-02-21 Joseph Myers <joseph@codesourcery.com>
41920
41921 * manual/install.texi: Fix stray word in line-wrapped comment.
41922
7a8b71c3
DM
419232012-02-20 David S. Miller <davem@davemloft.net>
41924
d510c123
DM
41925 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41926 both binutils and gcc support GOTDATA.
41927
0722d7c2
DM
41928 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41929 "rd %pc" in the PIC register setup sequences.
41930
3d2b3019
DM
41931 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41932 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41933 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41934 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41935 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41936 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41937 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41938 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41939 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41940 (SYSCALL_ERROR_HANDLER): Likewise.
41941 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41942 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41943 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41944 (SYSCALL_ERROR_HANDLER): Likewise.
41945
c80098a9
DM
41946 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41947 (HAVE_GCC_GOTDATA): New.
41948 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41949 relocation support in both binutils and gcc.
41950 * sysdeps/sparc/elf/configure: Regenerate.
41951
3a2545a0
DM
41952 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41953 * sysdeps/sparc/sparc32/elf/configure: Delete.
41954 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41955 * sysdeps/sparc/sparc64/elf/configure: Delete.
41956 * sysdeps/sparc/elf/configure.in: New file.
41957 * sysdeps/sparc/elf/configure: Generate.
41958
7a8b71c3
DM
41959 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41960 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41961 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41962 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41963 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41964
f1e86fca
JM
419652012-02-21 Joseph Myers <joseph@codesourcery.com>
41966
41967 * manual/install.texi: Do not mention specific glibc version
41968 numbers.
41969 * manual/libc.texinfo (VERSION, UPDATED): Update.
41970 (@copying): Use @copyright{} and range of years.
41971
0e7dfaef
JM
419722012-02-21 Joseph Myers <joseph@codesourcery.com>
41973
41974 [BZ #13695]
41975 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41976 [crti.S not in sysdirs] (generated): Do not append.
41977 [crti.S not in sysdirs] (omit-deps): Likewise.
41978 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41979 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41980 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41981 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41982 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41983 Likewise.
41984 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41985 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41986 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41987 * csu/defs.awk: Remove file.
41988 * sysdeps/generic/initfini.c: Likewise.
41989 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41990 variable.
41991 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41992 Likewise.
41993
599af3ca
JM
419942012-02-20 Joseph Myers <joseph@codesourcery.com>
41995
41996 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41997 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41998 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41999 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42000 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42001 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42002 <bits/epoll.h>.
42003 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42004 (__EPOLL_PACKED): Define to empty if not defined by
42005 <bits/epoll.h>.
42006 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42008 bits/epoll.h.
42009
0e499750
JM
420102012-02-20 Joseph Myers <joseph@codesourcery.com>
42011
42012 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42013 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42014 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42015 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42016 <bits/timerfd.h>.
42017 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42019 bits/timerfd.h.
42020
5ad91f6e
JM
420212012-02-20 Joseph Myers <joseph@codesourcery.com>
42022
42023 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42024 in C locale.
42025 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42026 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42027 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42029
06b99b02
AJ
420302012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42031
42032 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42033 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42034
7638c0fd
AS
420352012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42036
42037 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42038 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42039 defined.
42040 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42041 Likewise.
42042 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42043 entry for 2.16.
42044
92221550
AJ
420452012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42046
42047 * math/w_acos.c: Use non-signaling floating-point comparisons.
42048 * math/w_acosf.c: Likewise.
42049 * math/w_acosh.c: Likewise.
42050 * math/w_acoshf.c: Likewise.
42051 * math/w_acoshl.c: Likewise.
42052 * math/w_acosl.c: Likewise.
42053 * math/w_asin.c: Likewise.
42054 * math/w_asinf.c: Likewise.
42055 * math/w_asinl.c: Likewise.
42056 * math/w_atanh.c: Likewise.
42057 * math/w_atanhf.c: Likewise.
42058 * math/w_atanhl.c: Likewise.
42059 * math/w_exp2.c: Likewise.
42060 * math/w_exp2f.c: Likewise.
42061 * math/w_exp2l.c: Likewise.
42062 * math/w_j0.c: Likewise.
42063 * math/w_j0f.c: Likewise.
42064 * math/w_j0l.c: Likewise.
42065 * math/w_j1.c: Likewise.
42066 * math/w_j1f.c: Likewise.
42067 * math/w_j1l.c: Likewise.
42068 * math/w_jn.c: Likewise.
42069 * math/w_jnf.c: Likewise.
42070 * math/w_log.c: Likewise.
42071 * math/w_log10.c: Likewise.
42072 * math/w_log10f.c: Likewise.
42073 * math/w_log10l.c: Likewise.
42074 * math/w_log2.c: Likewise.
42075 * math/w_log2f.c: Likewise.
42076 * math/w_log2l.c: Likewise.
42077 * math/w_logf.c: Likewise.
42078 * math/w_logl.c: Likewise.
42079 * math/w_sqrt.c: Likewise.
42080 * math/w_sqrtf.c: Likewise.
42081 * math/w_sqrtl.c: Likewise.
42082 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42083 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42084 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42085 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42086 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42087
ebaf36eb
JM
420882012-02-19 Joseph Myers <joseph@codesourcery.com>
42089
42090 [BZ #9739]
42091 * manual/string.texi (strnlen): Use correct parameter name in
42092 equivalent expression.
42093
71c254a6
JM
420942012-02-19 Joseph Myers <joseph@codesourcery.com>
42095
42096 [BZ #11174]
42097 * manual/users.texi (seteuid): Consistently use neweuid for
42098 argument name.
42099
16d2c631
JM
421002012-02-19 Joseph Myers <joseph@codesourcery.com>
42101
42102 [BZ #13704]
42103 * manual/nss.texi (Services in the NSS configuration): Correct
42104 list of services in example configuration file.
42105
cd837b09
NB
421062012-02-19 Nick Bowler <nbowler@draconx.ca>
42107
42108 [BZ #11322]
42109 * manual/arith.texi: Remove statements about negative zero
42110 behaving identically to zero.
42111
02c4bbad
JM
421122012-02-18 Joseph Myers <joseph@codesourcery.com>
42113
42114 [BZ #5993]
42115 * manual/install.texi: Do not document upgrading from libc5.
42116
366842e7
JM
421172012-02-18 Joseph Myers <joseph@codesourcery.com>
42118
42119 [BZ #4596]
42120 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42121
dd54084d
DM
421222012-02-18 David S. Miller <davem@davemloft.net>
42123
42124 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42125 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42126 %o7 across the call.
42127 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42128 instead.
42129 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42130 SETUP_PIC_REG_LEAF.
42131 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42132 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42133 * sysdeps/sparc/crtn.S: Likewise.
42134
2bcc53a3
UD
421352012-02-17 Ulrich Drepper <drepper@gmail.com>
42136
42137 * aout/Makefile: Remove.
42138
09c093b5
RK
421392012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42140
42141 [BZ #13058]
42142 * manual/examples/argp-ex1.c (main): Format definition in GNU
42143 style.
42144 * manual/examples/argp-ex2.c (main): Likewise.
42145 * manual/examples/argp-ex3.c (main): Likewise.
42146 * manual/examples/argp-ex4.c (main): Likewise.
42147 * manual/examples/longopt.c (main): Use new-style prototype
42148 definition.
42149 * manual/examples/strncat.c (main): Specify return type and use
42150 (void) for arguments.
42151 * manual/examples/subopt.c (main): Use char **argv argument.
42152
2ee633a2
JM
421532012-02-17 Joseph Myers <joseph@codesourcery.com>
42154
42155 [BZ #5077]
42156 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42157 rounding modes.
42158
0520adde
FB
421592012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42160
42161 [BZ #6907]
42162 * manual/string.texi (strchr): Change when strchrnul is
42163 recommended.
42164
3f4081cd
DGM
421652012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42166
42167 [BZ #174]
42168 * manual/locale.texi (setlocale): Document LOCPATH.
42169
d1b10e78
JM
421702012-02-17 Joseph Myers <joseph@codesourcery.com>
42171
42172 [BZ #10210]
42173 * manual/process.texi (execle): Move @dots{} before last argument.
42174
79c6869c
PB
421752012-02-17 Paul Bolle <pebolle@tiscali.nl>
42176
42177 [BZ #12047]
42178 * manual/charset.texi (Generic Charset Conversion): Fix typo
42179 (LC_TYPE -> LC_CTYPE).
42180
cc6e48bc
NB
421812012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42182
42183 [BZ #5805]
42184 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42185 (scalbnf): Likewise.
42186 (scalbnl): Likewise.
42187 (scalbln): Likewise.
42188 (scalblnf): Likewise.
42189 (scalblnl): Likewise.
42190 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42191 (vwarnx): Likewise.
42192 (verr): Likewise.
42193 (verrx): Likewise.
42194 * manual/filesys.texi (telldir): Use braces around return type.
42195 * manual/llio.texi (mmap): Add space after comma.
42196 (mmap64): Likewise.
42197 * manual/math.texi (jn): Use @var{} on parameter names.
42198 (jnf): Likewise.
42199 (jnl): Likewise.
42200 (yn): Likewise.
42201 (ynf): Likewise.
42202 (ynl): Likewise.
42203 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42204 line.
42205 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42206 "...".
42207 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42208 (sched_get_priority_max): Likewise.
42209 * manual/signal.texi (sigvec): Add space after comma.
42210 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42211 names.
42212 (if_indextoname): Likewise.
42213 (if_freenameindex): Likewise.
42214 (sendto): Use ',' instead of '.' in prototype.
42215 * manual/startup.texi (syscall): Use @dots{} instead of literal
42216 "...".
42217 * manual/stdio.texi (__fpending): Separate initial words of
42218 paragraph from @deftypefun line.
42219 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42220 "...".
42221 (vsyslog): Use @var{} on parameter names.
42222 * manual/terminal.texi (stty): Use @var{} on parameter names.
42223 * manual/users.texi (getutmp): Use @var{} on parameter names.
42224 (getutmpx): Likewise.
42225
5b23062f
JM
422262012-02-17 Joseph Myers <joseph@codesourcery.com>
42227
42228 [BZ #6884]
42229 * manual/stdio.texi (fopen): Fix typos in description of
42230 ",ccs=STRING".
42231
8dee4833
AJ
422322012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42233
42234 [BZ #4026]
42235 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42236 get clock_id definition.
42237
9078ce93
TS
422382012-02-17 Thomas Schwinge <thomas@schwinge.name>
42239
42240 [BZ #4822]
42241 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42242 (madvise): Cast every argument to void on its own.
42243
3835c55f
JM
422442012-02-17 Joseph Myers <joseph@codesourcery.com>
42245
42246 [BZ #9902]
42247 * manual/startup.texi (Exit Status): Fix typo.
42248
35c47e37
JM
422492012-02-17 Joseph Myers <joseph@codesourcery.com>
42250
42251 [BZ #10140]
42252 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42253 * manual/examples/argp-ex2.c: Likewise.
42254 * manual/examples/argp-ex3.c: Likewise.
42255
e3b69ca7
RH
422562012-02-16 Richard Henderson <rth@redhat.com>
42257
42258 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42259 * sysdeps/s390/s390-32/initfini.c: Remove.
42260 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42261 * sysdeps/s390/s390-64/initfini.c: Remove.
42262
df83af67
KK
422632012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42264
42265 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42266 compiler output for sysdeps/generic/initfini.c.
42267 * sysdeps/sh/elf/initfini.c: Remove file.
42268
f63f3380
DM
422692012-02-16 David S. Miller <davem@davemloft.net>
42270
fb59b3a4
DM
42271 [BZ #11494]
42272 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42273
f63f3380
DM
42274 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42275 * sysdeps/sparc/crti.S: New file.
42276 * sysdeps/sparc/crtn.S: New file.
42277 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42278 * sysdeps/sparc/sparc64/Makefile: Likewise.
42279
df6a4a4a
MF
422802012-02-15 Mike Frysinger <vapier@gentoo.org>
42281
6dd8f3dc 42282 [BZ #3335]
df6a4a4a
MF
42283 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42284
1cac7236
RM
422852012-02-15 Roland McGrath <roland@hack.frob.com>
42286
d2c736f8
RM
42287 [BZ #4822]
42288 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42289
1cac7236
RM
42290 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42291 (write, read, close): Likewise.
42292 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42293
8e475601
JM
422942012-02-15 Joseph Myers <joseph@codesourcery.com>
42295
42296 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42297 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42298 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42299 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42300 <bits/signalfd.h>.
42301 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42303 bits/signalfd.h.
42304
ed656b40
MP
423052012-02-14 Marek Polacek <polacek@redhat.com>
42306
42307 * sysdeps/x86_64/crti.S: New file.
42308 * sysdeps/x86_64/crtn.S: New file.
42309 * sysdeps/x86_64/elf/initfini.c: Remove file.
42310
2a979d3a
JM
423112012-02-13 Joseph Myers <joseph@codesourcery.com>
42312
42313 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42314 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42315 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42316 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42317 <bits/inotify.h>.
42318 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42320 bits/inotify.h.
42321
2a418ac3
JM
423222012-02-13 Joseph Myers <joseph@codesourcery.com>
42323
42324 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42325 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42326 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42327 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42328 <bits/eventfd.h>.
42329 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42331 bits/eventfd.h.
42332
fb779be7
TS
423332012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42334
e19e83c5
RM
42335 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42336 __feraiseexcept instead of feraiseexcept.
7c35ffed 42337
fb779be7
TS
42338 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42339 nanosleep invocations.
42340 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42341 strings, and add error checking for a nanosleep invocations.
42342
59ba27a6
PE
423432012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42344
42345 Replace FSF snail mail address with URLs, as per GNU coding standards.
42346 Most of the snail mail addresses were wrong anyway, and omitting
42347 them makes the source code easier to maintain. Almost all of the
42348 changes are to license notices and to locale LC_IDENTIFICATION
42349 addresses, except for this one:
42350 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42351 not its snail mail address.
42352
57b957eb
RH
423532012-02-09 Richard Henderson <rth@twiddle.net>
42354
af850b1c
RH
42355 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42356 of kernel-features.h.
42357
57b957eb
RH
42358 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42359
6b73181a
MP
423602012-02-08 Marek Polacek <polacek@redhat.com>
42361
42362 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42363 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42364 * sysdeps/gnu/_G_config.h: Likewise.
42365 * sysdeps/generic/_G_config.h: Likewise.
42366
26ecc33a
AS
423672012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42368
6c6dbc63
AS
42369 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42370 tests.
42371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42372
e216c012
AS
42373 * sysdeps/powerpc/powerpc32/crti.S: New file.
42374 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42375 * sysdeps/powerpc/powerpc64/crti.S: New file.
42376 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42377
26ecc33a
AS
42378 * Makeconfig (have-initfini): Don't set.
42379 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42380 * configure.in (nopic_initfini): Don't substitute.
42381 * config.h.in (HAVE_INITFINI): Don't #undef.
42382 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42383 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42384
3add8e13
JM
423852012-02-08 Joseph Myers <joseph@codesourcery.com>
42386
42387 Support crti.S and crtn.S provided directly by architectures.
42388 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42389 [crti.S in sysdirs] (omit-deps): Likewise.
42390 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42391 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42392 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42393 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42394 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42395 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42396 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42397 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42398 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42399 compiler output for sysdeps/generic/initfini.c.
42400 * sysdeps/i386/elf/Makefile: Remove file.
42401 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42402
a22f12b4
MP
424032012-02-07 Marek Polacek <polacek@redhat.com>
42404
42405 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42406 * sysdeps/gnu/_G_config.h: Likewise.
42407 * sysdeps/mach/hurd/_G_config.h: Likewise.
42408
148cf100
MP
424092012-02-07 Marek Polacek <polacek@redhat.com>
42410
42411 * math/Makefile (tests): Add tst-CMPLX2.
42412 * math/tst-CMPLX2.c: New file.
42413
cfdc0dd7
AS
424142012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42415
84ba42c4
AS
42416 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42417
cfdc0dd7
AS
42418 * math/libm-test.inc (jn_test): Add missing L suffix.
42419
622c86f4
MP
424202012-02-06 Marek Polacek <polacek@redhat.com>
42421
42422 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42423 * sysdeps/i386/fpu/e_powf.S: Likewise.
42424 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42425 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42426 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42427 * sysdeps/i386/fpu/e_pow.S: Likewise.
42428 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42429 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42430 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42431 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42432 * sysdeps/i386/fpu/e_log2.S: Likewise.
42433 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42434 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42435 * sysdeps/i386/fpu/e_powl.S: Likewise.
42436 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42437 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42438 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42439 * sysdeps/i386/fpu/e_logl.S: Likewise.
42440 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42441 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42442 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42443 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42444 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42445 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42446 * sysdeps/i386/fpu/e_log.S: Likewise.
42447 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42448 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42449 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42450 * sysdeps/i386/fpu/e_logf.S: Likewise.
42451 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42452 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42453 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42454 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42455 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42456 * sysdeps/i386/fpu/e_log10.S: Likewise.
42457 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42458 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42459 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42460 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42461 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42462 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42463 * sysdeps/i386/asm-syntax.h: Likewise.
42464 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42465 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42466 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42467 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42468 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42469 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42470 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42471 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42472 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42473 * sysdeps/powerpc/sysdep.h: Likewise.
42474 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42475 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42476
d4a54ac6
JM
424772012-02-06 Joseph Myers <joseph@codesourcery.com>
42478
42479 [BZ #411]
42480 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42481
314054ea
JM
424822012-02-06 Joseph Myers <joseph@codesourcery.com>
42483
42484 * sysdeps/i386/sysdep.h: Include <features.h>.
42485 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42486 version.
42487
d8e0ca50
JM
424882012-02-05 Joseph Myers <joseph@codesourcery.com>
42489
42490 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42491 Define.
42492 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42493 LOAD_PIC_REG_STR.
42494
b1da7dd9
JM
424952012-02-03 Joseph Myers <joseph@codesourcery.com>
42496
42497 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42498 (SETUP_PIC_REG): Use GET_PC_THUNK.
42499 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42500 macro.
42501
9a1d9254
JM
425022012-02-03 Joseph Myers <joseph@codesourcery.com>
42503
42504 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42505 for non-PIC compilation.
42506 (SETUP_PIC_REG): Add .p2align directive.
42507 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42508 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42509 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42510 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42511 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42512 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42513 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42514 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42515 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42516 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42517 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42518 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42519 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42520 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42521 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42522 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42523 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42524 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42525 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42526 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42527 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42528 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42529 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42530 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42531 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42532 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42533 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42534 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42535 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42536 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42537 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42538 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42539 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42540 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42541 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42542 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42543 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42544 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42545 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42546 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42547 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42548
65dc3b75
JM
425492012-02-03 Joseph Myers <joseph@codesourcery.com>
42550
42551 * math/tst-CMPLX.c: Include <stdio.h>.
42552
d55bf177
JM
425532012-01-31 Joseph Myers <joseph@codesourcery.com>
42554
42555 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42556 float.
42557 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42558 * sysdeps/sparc/bits/mathdef.h: Likewise.
42559
69db4f8f
MP
425602012-01-31 Marek Polacek <polacek@redhat.com>
42561
42562 * libio/libio.h: Don't define _PARAMS.
42563 * locale/programs/config.h: Don't define PARAMS.
42564 * stdlib/strtol_l.c: Likewise.
42565 (__strtol_l): Remove PARAMS from the prototype.
42566
41b81892
UD
425672012-01-31 Ulrich Drepper <drepper@gmail.com>
42568
3b49edc0
UD
42569 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42570 names. Just use the correct names. Remove unnecessary wrapper
42571 functions.
42572 * malloc/arena.c: Likewise.
42573 * malloc/hooks.c: Likewise.
42574
41b81892
UD
42575 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42576 ARENA_TEST says not to. Simplify test for creation of a new arena.
42577 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42578
27a25b6e
UD
425792012-01-30 Ulrich Drepper <drepper@gmail.com>
42580
42581 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42582 into tail calls.
42583 (update_get_addr): New function.
42584 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42585 GET_ADDR_MODULE parameter.
42586
c8a89e7d
JM
425872012-01-30 Joseph Myers <joseph@codesourcery.com>
42588
42589 * crypt/cert.c: Remove __STDC__ conditionals.
42590 * crypt/crypt-entry.c: Likewise.
42591 * crypt/crypt_util.c: Likewise.
42592 * libio/filedoalloc.c: Likewise.
42593 * libio/fileops.c: Likewise.
42594 * libio/genops.c: Likewise.
42595 * libio/iofclose.c: Likewise.
42596 * libio/iofdopen.c: Likewise.
42597 * libio/iofopen.c: Likewise.
42598 * libio/iofopen64.c: Likewise.
42599 * libio/iogetdelim.c: Likewise.
42600 * libio/iopopen.c: Likewise.
42601 * libio/obprintf.c: Likewise.
42602 * libio/oldfileops.c: Likewise.
42603 * libio/oldiofclose.c: Likewise.
42604 * libio/oldiofdopen.c: Likewise.
42605 * libio/oldiofopen.c: Likewise.
42606 * libio/oldiopopen.c: Likewise.
42607 * libio/wfiledoalloc.c: Likewise.
42608 * libio/wgenops.c: Likewise.
42609 * locale/programs/xmalloc.c: Likewise.
42610 * misc/syslog.c: Likewise.
42611 * stdio-common/xbug.c: Likewise.
42612 * string/memchr.c: Likewise.
42613 * string/memcmp.c: Likewise.
42614 * string/memrchr.c: Likewise.
42615 * string/rawmemchr.c: Likewise.
42616 * sysdeps/posix/getcwd.c: Likewise.
42617 * time/strftime_l.c: Likewise.
42618
3b100462
JM
426192012-01-30 Joseph Myers <joseph@codesourcery.com>
42620
42621 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
42622 * config.make.in (config-cflags-sse2avx): Define.
42623 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42624 Fix typo.
42625
607998af
CM
426262012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42627
42628 * scripts/config.guess: Update from upstream config git repository.
42629 * scripts/config.sub: Likewise.
42630
3601428f
CM
426312012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42632
3ac8b282
CM
42633 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42634 (EM_NUM): Update.
42635 (R_TILEPRO_*, R_TILEGX_*): New macros.
42636
e034841e
CM
42637 * scripts/firstversions.awk: Fix bug in version range handling.
42638
540d7568
CM
42639 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42640
3601428f
CM
42641 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42642
463de862
CM
42643 * include/sys/epoll.h: New file.
42644 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42645 libc_hidden_def.
42646
73139a76
UD
426472012-01-28 Ulrich Drepper <drepper@gmail.com>
42648
96bc5b45
UD
42649 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42650 Avoid unnecessary __WORDSIZE == 64 test.
42651 (fmaxf): Use VEX format if possible.
42652 (fmax): Likewise.
42653 (fminf): Likewise.
42654 (fmin): Likewise.
42655
56f6f6a2
UD
42656 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42657 * math/math_private.h: Remove libc_fegetround* and
42658 libc_fesetround*.
42659 * sysdeps/i386/configure.in: Check for -msse2avx.
42660 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42661 also if SSE2AVX is defined.
42662 Remove libc_fegetround* and libc_fesetround*.
42663 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42664 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42665 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42666 of HAS_YMM_USABLE.
42667 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42668 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42669 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42670 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42671 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42672
73139a76
UD
42673 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42674
d73f93a4
AZ
426752012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42676
42677 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42678 size is not set.
42679 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42680
6ee65ed6
UD
426812012-01-27 Ulrich Drepper <drepper@gmail.com>
42682
42683 [BZ #13618]
42684 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42685 relocation.
42686 * Makeconfig (libm): Define.
42687 * elf/Makefile: Add rules to build and run tst-relsort1.
42688 * elf/tst-relsort1.c: New file.
42689 * elf/tst-relsort1mod1.c: New file.
42690 * elf/tst-relsort1mod2.c: New file.
42691
8db21882
JM
426922012-01-27 Joseph Myers <joseph@codesourcery.com>
42693
42694 * math/s_ldexp.c: Remove __STDC__ conditionals.
42695 * math/s_ldexpf.c: Likewise.
42696 * math/s_ldexpl.c: Likewise.
42697 * math/s_nextafter.c: Likewise.
42698 * math/s_nexttowardf.c: Likewise.
42699 * math/s_significand.c: Likewise.
42700 * math/s_significandf.c: Likewise.
42701 * math/s_significandl.c: Likewise.
42702 * math/w_jnl.c: Likewise.
42703 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42704 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42705 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42706 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42707 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42708 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42709 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42710 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42711 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42712 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42713 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42714 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42715 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42716 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42717 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42718 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42719 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42720 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42721 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42722 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42723 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42724 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42725 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42726 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42727 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42728 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42729 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42730 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42731 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42732 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42733 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42734 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42735 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42736 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42737 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42738 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42739 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42740 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42741 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42742 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42743 * sysdeps/ieee754/k_standard.c: Likewise.
42744 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42745 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42746 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42747 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42748 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42749 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42750 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42751 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42752 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42753 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42754 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42755 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42756 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42757 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42758 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42759 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42760 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42761 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42762 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42763 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42764 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42765 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42766 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42767 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42768 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42769 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42770 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42771 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42772 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42773 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42774 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42775 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42776 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42777 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42778 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42779 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42780 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42781 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42782 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42783 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42784 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42785 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42786 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42787 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42788 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42789 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42790 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42791 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42792 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42793 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42794 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42795 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42796 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42797 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42798 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42799 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42800 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42801 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42802 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42803 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42804 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42805 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42806 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42807 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42808 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42809 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42810 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42811 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42812 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42813 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42814 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42815 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42816 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42817 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42818 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42819 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42820 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42821 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42822 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42823 * sysdeps/ieee754/s_matherr.c: Likewise.
42824 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42825 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42828
965a54a4
JM
428292012-01-26 Joseph Myers <joseph@codesourcery.com>
42830
42831 * crypt/md5.h: Remove __STDC__ conditionals.
42832 * libio/libioP.h: Likewise.
42833 * locale/programs/config.h: Likewise.
42834 * sysdeps/generic/sysdep.h: Likewise.
42835 * sysdeps/i386/asm-syntax.h: Likewise.
42836 * sysdeps/s390/asm-syntax.h: Likewise.
42837 * sysdeps/unix/sysdep.h: Likewise.
42838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42840
7071ad79
JM
428412012-01-26 Joseph Myers <joseph@codesourcery.com>
42842
42843 * libio/libio.h: Remove __STDC__ conditionals.
42844 * malloc/obstack.h: Likewise.
42845 * math/complex.h: Likewise.
42846 * math/math.h: Likewise.
42847 * sysdeps/generic/_G_config.h: Likewise.
42848 * sysdeps/gnu/_G_config.h: Likewise.
42849 * sysdeps/mach/hurd/_G_config.h: Likewise.
42850 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42851 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42852 * sysdeps/sparc/bits/mathdef.h: Likewise.
42853
afc5ed09
UD
428542012-01-26 Ulrich Drepper <drepper@gmail.com>
42855
42856 [BZ #13583]
42857 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 42858 Clean up HAS_* macros.
afc5ed09 42859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
42860 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42861 possible.
42862 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42863 HAS_AVX.
42864 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42865 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42866 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42867 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42868 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 42869
bdb6de1d
JM
428702012-01-25 Joseph Myers <joseph@codesourcery.com>
42871
42872 * elf/tst-unique3.cc (gets): Remove declaration.
42873 * elf/tst-unique3lib.cc (gets): Likewise.
42874 * elf/tst-unique3lib2.cc (gets): Likewise.
42875 * elf/tst-unique4.cc (gets): Likewise.
42876
b15549e6
UD
428772012-01-24 Ulrich Drepper <drepper@gmail.com>
42878
42879 * include/stdio.h: Add C++ protection. Add gets declarations and
42880 definitions.
42881 * debug/tst-chk1.c: Don't declare gets here.
42882 * stdio-common/tst-gets.c: Likewise.
42883
a037381f
JM
428842012-01-24 Joseph Myers <joseph@codesourcery.com>
42885
42886 * posix/glob: Remove directory.
42887
f1d4aa75
JM
428882012-01-24 Joseph Myers <joseph@codesourcery.com>
42889
42890 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42891
81c0c964
PT
428922012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42893
42894 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42895 of the non-standard EPFNOSUPPORT.
42896
0ea698ae
ST
428972011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42898
42899 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42900 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42901 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42902
d220b117
UD
429032012-01-21 Ulrich Drepper <drepper@gmail.com>
42904
42905 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42906
3e1aa84e
UD
429072012-01-20 Ulrich Drepper <drepper@gmail.com>
42908
42909 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42910 transient errors.
42911 * nscd/grpcache.c (cache_addgr): Likewise.
42912 * nscd/hstcache.c (cache_addhst): Likewise.
42913 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42914 * nscd/pwdcache.c (cache_addpw): Likewise.
42915 * nscd/servicescache.c (cache_addserv): Likewise.
42916
400aa020
UD
429172012-01-16 Ulrich Drepper <drepper@gmail.com>
42918
d77e7869
UD
42919 * malloc/malloc.c: Various cleanups.
42920 * malloc/hooks.c: Likewise.
42921
400aa020
UD
42922 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42923 * stdlib/bug-fmtmsg1.c: New file.
42924
42925 * stdlib/fmtmsg.c (init): Add missing unlock.
42926 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42927
e0a309cf
MP
429282012-01-12 Marek Polacek <polacek@redhat.com>
42929
42930 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42931 and _GNU_SOURCE.
42932
929d11c7
WS
429332012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42934
42935 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42936 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42937 macro to ensure uniqueness of label name.
42938 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42939 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42940
41d0e869
UD
429412012-01-11 Ulrich Drepper <drepper@gmail.com>
42942
0cc5ed3b
UD
42943 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42944
41d0e869
UD
42945 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42946 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42947 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42948 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42949
a47a831a
UD
429502012-01-10 Ulrich Drepper <drepper@gmail.com>
42951
daa891c0
UD
42952 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42953
42954 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42955 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42956 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42957
e58ef0f2
UD
42958 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42959
a47a831a 42960 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
42961 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42962 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 42963 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
42964
42965 * math/bits/math-finite.h: Add ldexp support.
42966
a0bfc9c7
MP
429672012-01-10 Marek Polacek <polacek@redhat.com>
42968
42969 * locale/programs/localedef.h (show_archive_content): Add noreturn
42970 attribute.
42971
d6e97a1d
UD
429722012-01-09 Ulrich Drepper <drepper@gmail.com>
42973
42974 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42975
d5835c26
UD
429762012-01-08 Ulrich Drepper <drepper@gmail.com>
42977
e5f484c6
UD
42978 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42979
d5835c26
UD
42980 * io/Makefile (headers): Add bits/poll2.h.
42981
d1f741e9
WS
429822011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42983
42984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42985 typo #include statement.
42986
ec09c1c4
UD
429872012-01-08 Ulrich Drepper <drepper@gmail.com>
42988
42989 * include/sys/cdefs.h: Define __attribute_alloc_size.
42990 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42991 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42992 * elf/pldd.c: Likewise.
42993 * iconv/iconv_charmap.c: Likewise.
42994 * iconv/iconvconfig.c: Likewise.
42995 * iconv/strtab.c: Likewise.
42996 * locale/programs/locale.c: Likewise.
42997 * locale/programs/localedef.h: Likewise.
42998 * locale/programs/simple-hash.c: Likewise.
42999 * nscd/nscd.h: Likewise.
43000 * nss/makedb.c: Likewise.
43001 * sysdeps/generic/ldconfig.h: Likewise.
43002 * locale/programs/localedef.c: Remove xmalloc prototype.
43003 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43004
20b38e03
PP
430052012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43006
43007 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43008 appropriate.
43009
a0da5fe1
UD
430102012-01-08 Ulrich Drepper <drepper@gmail.com>
43011
1d5a644a 43012 * math/Makefile (tests): Add tst-CMPLX.
669704fd 43013 * math/tst-CMPLX.c: New file.
1d5a644a 43014
8784a6db
UD
43015 * math/complex.h (CMPLXL): Fix typo.
43016
d9a216c0
UD
43017 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43018 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43019 GLIBC_2.16.
43020 * debug/tst-chk1.c: Add poll and ppoll tests.
43021 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43022 * include/sys/poll.h: Add hidden proto for ppoll.
43023 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43024 * sysdeps/mach/hurd/ppoll.c: Likewise.
43025 * io/ppoll.c: Likewise.
43026 * debug/poll_chk.c: New file.
43027 * debug/ppoll_chk.c: New file.
43028 * include/bits/poll2.h: New file.
43029 * io/bits/poll2.h: New file.
43030
ac097f5c
UD
43031 [BZ #1350]
43032 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43033
2119dcfa
UD
43034 * configure.in: static is always set to yes. Remove.
43035 * config.make.in: Don't set build-static.
43036 * Makeconfig: Remove use of build-static.
43037 * dlfcn/Makefile: Likewise.
43038 * elf/Makefile: Likewise.
43039 * math/Makefile: Likewise.
43040 * misc/Makefile: Likewise.
43041 * nptl/Makefile: Likewise.
43042 * sysdeps/mach/hurd/Makefile: Likewise.
43043
121766a9
UD
43044 * configure.in: PWD_P is not used anymore.
43045 * config.make.in: Remove PWD_P entry.
43046
51a1d39c 43047 * configure.in: Remove last remnants of RANLIB.
8720d066 43048 No need to check for signed size_t anymore.
215f4bdc
UD
43049 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43050 and IA-64.
3857022a 43051 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
43052 * aclocal.m4: Likewise.
43053
d3ed7225
UD
43054 * wcsmbs/mbrtoc16.c: Implement using towc function.
43055 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43056 * wcsmbs/wcsmbsload.c: Likewise.
43057 * iconv/gconv_simple.c: Likewise.
43058 * iconv/gconv_int.h: Likewise.
43059 * iconv/gconv_builtin.h: Likewise.
43060 * iconv/iconv_prog.c: Remove CHAR16 handling.
43061
43062 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43063
43064 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43065
a0da5fe1
UD
43066 * configure.in: Remove --with-elf and --enable-bounded options.
43067 Dont set base_machine for ia64. More non-ELF conditions removed.
43068 Remove testing and setting of leading underscore information.
43069 * config.make.in (build-bounded): Set to no.
43070 * config.h.in: Remove NO_UNDERSCORES entry.
43071 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43072 them.
43073 * csu/start.c: Remove !NO_UNDERSCORE code.
43074 * locale/localeinfo.h: Likewise.
43075 * sysdeps/generic/machine-gmon.h: Likewise.
43076 * sysdeps/generic/sysdep.h: Likewise.
43077 * sysdeps/i386/sysdep.h: Likewise.
43078 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43079 * sysdeps/mach/sysdep.h: Likewise.
43080 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43081 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43082 * sysdeps/sh/sysdep.h: Likewise.
43083 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43084 * sysdeps/unix/i386/sysdep.S: Likewise.
43085 * sysdeps/unix/sparc/start.c: Likewise.
43086 * sysdeps/unix/sparc/sysdep.S: Likewise.
43087 * sysdeps/unix/sparc/sysdep.h: Likewise.
43088 * sysdeps/unix/start.c: Likewise.
43089 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43090 * sysdeps/x86_64/sysdep.h: Likewise.
43091
df78418a
UD
430922012-01-07 Ulrich Drepper <drepper@gmail.com>
43093
a784e502
UD
43094 [BZ #13553]
43095 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43096 for non-gcc.
43097 * argp/argp-fmtstream.h: Use const instead __const.
43098 * argp/argp.h: Likewise.
43099 * assert/assert.h: Likewise.
43100 * bits/fenv.h: Likewise.
43101 * bits/sched.h: Likewise.
43102 * bits/sigset.h: Likewise.
43103 * bits/sigthread.h: Likewise.
43104 * catgets/nl_types.h: Likewise.
43105 * conform/data/pthread.h-data: Likewise.
43106 * crypt/crypt-private.h: Likewise.
43107 * crypt/crypt.h: Likewise.
43108 * crypt/crypt_util.c: Likewise.
43109 * ctype/ctype.h: Likewise.
43110 * debug/execinfo.h: Likewise.
43111 * debug/mbsnrtowcs_chk.c: Likewise.
43112 * debug/mbsrtowcs_chk.c: Likewise.
43113 * debug/wcsnrtombs_chk.c: Likewise.
43114 * debug/wcsrtombs_chk.c: Likewise.
43115 * debug/wcstombs_chk.c: Likewise.
43116 * dirent/dirent.h: Likewise.
43117 * dlfcn/dlfcn.h: Likewise.
43118 * elf/neededtest4.c: Likewise.
43119 * grp/grp.h: Likewise.
43120 * gshadow/gshadow.h: Likewise.
43121 * iconv/gconv.h: Likewise.
43122 * iconv/gconv_int.h: Likewise.
43123 * iconv/gconv_simple.c: Likewise.
43124 * iconv/iconv.h: Likewise.
43125 * iconv/loop.c: Likewise.
43126 * iconv/skeleton.c: Likewise.
43127 * include/aio.h: Likewise.
43128 * include/aliases.h: Likewise.
43129 * include/argz.h: Likewise.
43130 * include/arpa/inet.h: Likewise.
43131 * include/assert.h: Likewise.
43132 * include/dirent.h: Likewise.
43133 * include/dlfcn.h: Likewise.
43134 * include/execinfo.h: Likewise.
43135 * include/fcntl.h: Likewise.
43136 * include/fenv.h: Likewise.
43137 * include/glob.h: Likewise.
43138 * include/grp.h: Likewise.
43139 * include/libintl.h: Likewise.
43140 * include/mntent.h: Likewise.
43141 * include/netdb.h: Likewise.
43142 * include/pwd.h: Likewise.
43143 * include/rpc/netdb.h: Likewise.
43144 * include/sched.h: Likewise.
43145 * include/search.h: Likewise.
43146 * include/shadow.h: Likewise.
43147 * include/signal.h: Likewise.
43148 * include/stdio.h: Likewise.
43149 * include/stdlib.h: Likewise.
43150 * include/string.h: Likewise.
43151 * include/sys/socket.h: Likewise.
43152 * include/sys/stat.h: Likewise.
43153 * include/sys/statfs.h: Likewise.
43154 * include/sys/statvfs.h: Likewise.
43155 * include/sys/syslog.h: Likewise.
43156 * include/sys/time.h: Likewise.
43157 * include/sys/uio.h: Likewise.
43158 * include/time.h: Likewise.
43159 * include/unistd.h: Likewise.
43160 * include/utmp.h: Likewise.
43161 * include/wchar.h: Likewise.
43162 * include/wctype.h: Likewise.
43163 * inet/aliases.h: Likewise.
43164 * inet/arpa/inet.h: Likewise.
43165 * inet/netinet/ether.h: Likewise.
43166 * inet/netinet/in.h: Likewise.
43167 * intl/libintl.h: Likewise.
43168 * io/bits/fcntl2.h: Likewise.
43169 * io/fcntl.h: Likewise.
43170 * io/ftw.h: Likewise.
43171 * io/sys/poll.h: Likewise.
43172 * io/sys/stat.h: Likewise.
43173 * io/sys/statfs.h: Likewise.
43174 * io/sys/statvfs.h: Likewise.
43175 * io/utime.h: Likewise.
43176 * libio/bits/stdio.h: Likewise.
43177 * libio/bits/stdio2.h: Likewise.
43178 * libio/libio.h: Likewise.
43179 * libio/libioP.h: Likewise.
43180 * libio/stdio.h: Likewise.
43181 * locale/lc-ctype.c: Likewise.
43182 * locale/locale.h: Likewise.
43183 * login/utmp.h: Likewise.
43184 * malloc/arena.c: Likewise.
43185 * malloc/malloc.c: Likewise.
43186 * malloc/malloc.h: Likewise.
43187 * malloc/mcheck.c: Likewise.
43188 * malloc/mtrace.c: Likewise.
43189 * math/bits/mathcalls.h: Likewise.
43190 * math/fenv.h: Likewise.
43191 * math/math_private.h: Likewise.
43192 * misc/bits/error.h: Likewise.
43193 * misc/bits/syslog.h: Likewise.
43194 * misc/err.h: Likewise.
43195 * misc/error.h: Likewise.
43196 * misc/fstab.h: Likewise.
43197 * misc/mntent.h: Likewise.
43198 * misc/regexp.h: Likewise.
43199 * misc/search.h: Likewise.
43200 * misc/sgtty.h: Likewise.
43201 * misc/sys/mman.h: Likewise.
43202 * misc/sys/syslog.h: Likewise.
43203 * misc/sys/uio.h: Likewise.
43204 * misc/sys/xattr.h: Likewise.
43205 * misc/ttyent.h: Likewise.
43206 * nis/rpcsvc/ypclnt.h: Likewise.
43207 * nss/nss.h: Likewise.
43208 * posix/bits/unistd.h: Likewise.
43209 * posix/fnmatch.h: Likewise.
43210 * posix/glob.h: Likewise.
43211 * posix/sched.h: Likewise.
43212 * posix/spawn.h: Likewise.
43213 * posix/sys/wait.h: Likewise.
43214 * posix/unistd.h: Likewise.
43215 * posix/wordexp.h: Likewise.
43216 * pwd/pwd.h: Likewise.
43217 * resolv/netdb.h: Likewise.
43218 * resource/sys/resource.h: Likewise.
43219 * rt/aio.h: Likewise.
43220 * rt/bits/mqueue2.h: Likewise.
43221 * rt/mqueue.h: Likewise.
43222 * shadow/shadow.h: Likewise.
43223 * signal/signal.h: Likewise.
43224 * socket/send.c: Likewise.
43225 * socket/sendto.c: Likewise.
43226 * socket/sys/socket.h: Likewise.
43227 * stdio-common/printf.h: Likewise.
43228 * stdlib/bits/stdlib.h: Likewise.
43229 * stdlib/fmtmsg.h: Likewise.
43230 * stdlib/monetary.h: Likewise.
43231 * stdlib/stdlib.h: Likewise.
43232 * stdlib/ucontext.h: Likewise.
43233 * streams/stropts.h: Likewise.
43234 * string/argz.h: Likewise.
43235 * string/bits/string2.h: Likewise.
43236 * string/string.h: Likewise.
43237 * string/strings.h: Likewise.
43238 * sunrpc/rpc/auth.h: Likewise.
43239 * sunrpc/rpc/auth_des.h: Likewise.
43240 * sunrpc/rpc/clnt.h: Likewise.
43241 * sunrpc/rpc/netdb.h: Likewise.
43242 * sunrpc/rpc/pmap_clnt.h: Likewise.
43243 * sunrpc/rpc/xdr.h: Likewise.
43244 * sysdeps/generic/inttypes.h: Likewise.
43245 * sysdeps/generic/net/if.h: Likewise.
43246 * sysdeps/generic/sys/swap.h: Likewise.
43247 * sysdeps/gnu/net/if.h: Likewise.
43248 * sysdeps/gnu/utmpx.h: Likewise.
43249 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43250 * sysdeps/i386/i486/bits/string.h: Likewise.
43251 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43252 * sysdeps/s390/bits/string.h: Likewise.
43253 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43254 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43255 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43256 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43257 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43258 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43259 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43260 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43261 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43262 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43263 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43264 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43265 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43266 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43267 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43268 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43269 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43270 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43271 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43272 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43273 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43274 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43275 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43276 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43277 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43278 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43279 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43280 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43281 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43282 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43283 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43284 * sysvipc/sys/ipc.h: Likewise.
43285 * sysvipc/sys/msg.h: Likewise.
43286 * sysvipc/sys/sem.h: Likewise.
43287 * sysvipc/sys/shm.h: Likewise.
43288 * termios/termios.h: Likewise.
43289 * time/sys/time.h: Likewise.
43290 * time/time.h: Likewise.
43291 * wcsmbs/bits/wchar2.h: Likewise.
43292 * wcsmbs/uchar.h: Likewise.
43293 * wcsmbs/wchar.h: Likewise.
43294 * wctype/wctype.h: Likewise.
43295
0269750c
UD
43296 [BZ #13551]
43297 * Makeconfig: Remove all but ELF support including AIX support.
43298 * Makerules: Likewise.
43299 * config.h.in: Likewise.
43300 * config.make.in: Likewise.
43301 * configure: Likewise.
43302 * configure.in: Likewise.
43303 * csu/Makefile: Likewise.
43304 * csu/version.c: Likewise.
43305 * debug/Makefile: Likewise.
43306 * dlfcn/Makefile: Likewise.
43307 * elf/Makefile: Likewise.
43308 * extra-lib.mk: Likewise.
43309 * iconv/Makefile: Likewise.
43310 * include/libc-symbols.h: Likewise.
43311 * include/shlib-compat.h: Likewise.
43312 * resolv/Makefile: Likewise.
43313 * resolv/res_libc.c: Likewise.
43314 * rt/Makefile: Likewise.
43315 * sysdeps/i386/asm-syntax.h: Likewise.
43316 * sysdeps/i386/sysdep.h: Likewise.
43317 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43318 * sysdeps/mach/sysdep.h: Likewise.
43319 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43320 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43321 * sysdeps/s390/asm-syntax.h: Likewise.
43322 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43323 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43324 * sysdeps/sh/sysdep.h: Likewise.
43325 * sysdeps/unix/sparc/sysdep.h: Likewise.
43326 * sysdeps/wordsize-32/divdi3.c: Likewise.
43327 * sysdeps/x86_64/sysdep.h: Likewise.
43328
00bbd29b
UD
43329 * argp/Versions: Remove _argp_unlock_xxx.
43330
43331 [BZ #13559]
43332 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43333 * abilist/libBrokenLocale.abilist: Likewise.
43334 * abilist/libanl.abilist: Likewise.
43335 * abilist/libc.abilist: Likewise.
43336 * abilist/libcrypt.abilist: Likewise.
43337 * abilist/libdl.abilist: Likewise.
43338 * abilist/libm.abilist: Likewise.
43339 * abilist/libnsl.abilist: Likewise.
43340 * abilist/libpthread.abilist: Likewise.
43341 * abilist/libresolv.abilist: Likewise.
43342 * abilist/librt.abilist: Likewise.
43343 * abilist/libthread_db.abilist: Likewise.
43344 * abilist/libutil.abilist: Likewise.
43345 * abilist/libnss_db.abilist: New file.
43346
43347 * scripts/abilist.awk: Add support for indirect functions.
43348
a2693a0e
UD
43349 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43350
3f05895f
UD
43351 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43352
ecb6fb48
UD
43353 * shlib-versions: Remove entries for ports architectures.
43354
664f8cb9
UD
43355 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43356 files in ports.
43357 * elf/stackguard-macros.h: Remove support for IA-64.
43358 * elf/tst-auditmod1.c: Likewise.
43359 * sysdeps/generic/ldsodefs.h: Likewise.
43360
7ae81d88
UD
43361 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43362 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43363 configure files.
43364
bdeba135
UD
43365 [BZ #13552]
43366 * configure.in: Remove --enable-omitfp support.
43367 * FAQ.in: Adjust.
43368 * config.make.in: Likewise.
43369 * Makeconfig: Likewise.
43370 * manual/install.texi: Likewise.
43371
d75a0a62
UD
43372 In case anyone cares, the IA-64 architecture could move to ports.
43373 * sysdeps/ia64/*: Removed.
43374 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 43375 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 43376
dcc9756b
UD
43377 [BZ #13555]
43378 * configure.in: Remove entries for unsupported architectures.
43379
d3761ebc 43380 [BZ #13533]
9954432e
UD
43381 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43382 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43383 routines.
43384 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43385 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43386 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43387 fall back to using wcrtomb.
43388 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43389 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43390 renaming.
43391 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43392 * wcsmbs/tst-c16c32-1.c: New file.
43393
43394 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43395 local variable.
43396
c3a87236
UD
43397 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43398
28926a1b
UD
43399 * elf/tst-unique3.cc: Add explicit declaration of gets.
43400 * elf/tst-unique3lib.cc: Likewise.
43401 * elf/tst-unique3lib2.cc: Likewise.
43402 * elf/tst-unique4.cc: Likewise.
43403
df78418a
UD
43404 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43405
8ecd6b2a
JM
434062012-01-06 Joseph Myers <joseph@codesourcery.com>
43407
43408 [BZ #13566]
43409 * assert/assert.h (static_assert): Don't define for C++.
43410 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43411 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43412
9f115170
UD
434132012-01-03 Ulrich Drepper <drepper@gmail.com>
43414
5e0d0300
UD
43415 * iconv/loop.c (single loop): Fix assertion in storing of
43416 remaining bytes.
43417
9f115170
UD
43418 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43419
81fb02b0
UD
434202012-01-01 Ulrich Drepper <drepper@gmail.com>
43421
43422 * posix/getconf.c: Update copyright year.
43423 * nss/getent.c: Likewise.
a316c1f6 43424 * nss/makedb.c: Likewise.
81fb02b0
UD
43425 * iconv/iconvconfig.c: Likewise.
43426 * iconv/iconv_prog.c: Likewise.
43427 * elf/ldconfig.c: Likewise.
a316c1f6
UD
43428 * elf/pldd.c: Likewise.
43429 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
43430 * catgets/gencat.c: Likewise.
43431 * csu/version.c: Likewise.
43432 * elf/ldd.bash.in: Likewise.
43433 * elf/sprof.c (print_version): Likewise.
43434 * locale/programs/locale.c: Likewise.
43435 * locale/programs/localedef.c: Likewise.
a316c1f6 43436 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
43437 * nscd/nscd.c (print_version): Likewise.
43438 * debug/xtrace.sh: Likewise.
43439 * malloc/memusage.sh: Likewise.
43440 * malloc/mtrace.pl: Likewise.
43441 * debug/catchsegv.sh: Likewise.
43442
2ba92745
JJ
434432011-12-30 Jakub Jelinek <jakub@redhat.com>
43444
43445 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43446 pure attribute.
43447
dadebdae
UD
434482011-12-24 Ulrich Drepper <drepper@gmail.com>
43449
d3761ebc 43450 [BZ #13533]
db6af3eb
UD
43451 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43452 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43453 transformations.
43454 * iconv/gconv_int.h: Likewise.
43455 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43456 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43457 from libc for GLIBC_2.16.
43458 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43459 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43460 * wcsmbs/uchar.h: Really define mbstate_t.
43461 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43462 * wcsmbs/c16rtomb.c: New file.
43463 * wcsmbs/mbrtoc16.c: New file.
43464 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43465 for C/POSIX locale.
43466 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43467 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43468
dadebdae
UD
43469 * wcsmbs/wchar.h: Add missing __restrict.
43470
67371b56
UD
434712011-12-23 Ulrich Drepper <drepper@gmail.com>
43472
74033a25
UD
43473 [BZ #13532]
43474 * time/Makefile (routines): Add timespec_get.
43475 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43476 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43477 timespec for ISO C11.
43478 * time/timespec_get.c: New file.
43479 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43480 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43481
380d7e87
UD
43482 [BZ #13531]
43483 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43484 * stdlib/stdlib.h: Declare aligned_alloc.
43485 * Versions.def: Add GLIBC_2.16 for libc.
43486 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43487
4e9e7a35
UD
43488 [BZ 13527]
43489 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43490 ISO C11.
43491
380d7e87 43492 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
43493 code.
43494
03a71829
UD
43495 [BZ #13528]
43496 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43497
839e283e
UD
43498 [BZ #13529]
43499 * assert/assert.h (static_assert): Define.
43500
ce5294e2 43501 * version.h: Update for 2.16 development version.
90fa7312 43502
8d44e150 43503 [BZ #13526]
d7809905
UD
43504 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43505 _ISOC11_SOURCE.
43506
c0da14cd
UD
43507 * version.h (RELEASE): Bump for 2.15 release.
43508 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43509
530a3249
MP
43510 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43511 Patch by Marek Polacek <mpolacek@redhat.com>.
43512
67371b56
UD
43513 * bits/byteswap.h: Protect long long constants with __extension__.
43514 * sysdeps/i386/bits/byteswap.h: Likewise.
43515 * sysdeps/ia64/bits/byteswap.h: Likewise.
43516 * sysdeps/s390/bits/byteswap.h: Likewise.
43517 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43518
15db4de1
LD
435192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43520
43521 [BZ #13540]
bbe315ea
LD
43522 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43523 destination buffer.
15db4de1
LD
43524 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43525
2b2596b1
MP
435262011-12-23 Marek Polacek <polacek@redhat.com>
43527
43528 * elf/dl-addr.c (determine_info): Add inline keyword.
43529 * elf/tst-auditmod4b.c (check_avx): Likewise.
43530 * elf/tst-auditmod6b.c (check_avx): Likewise.
43531 * elf/tst-auditmod6c.c (check_avx): Likewise.
43532 * elf/tst-auditmod7b.c (check_avx): Likewise.
43533
70c6c246
UD
435342011-12-23 Ulrich Drepper <drepper@gmail.com>
43535
43536 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43537 !__SSE_MATH__.
43538
c044cf14
LD
435392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43540
15db4de1 43541 [BZ #13540]
c044cf14
LD
43542 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43543 processing for last bytes.
43544
6b13d9d9
BH
435452011-08-06 Bruno Haible <bruno@clisp.org>
43546
d455f537
BH
43547 [BZ #13061]
43548 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43549 U+0385, not to U+1FEE.
43550
6b13d9d9
BH
43551 [BZ #13062]
43552 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43553 entry for U+00A5 U+0301.
43554
db910efd
UD
435552011-12-22 Ulrich Drepper <drepper@gmail.com>
43556
27deeafc
UD
43557 [BZ #13166]
43558 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43559 buffer for the output is too small.
43560
aed9d171
UD
43561 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43562 optimization.
43563
db910efd
UD
43564 [BZ #13185]
43565 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43566 SSE flags if possible.
43567
2bd779ae
LD
435682011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43569
e7f9dac3 43570 [BZ #13540]
2bd779ae
LD
43571 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43572 processing for last bytes.
43573
154bfc16
JM
435742011-12-22 Joseph Myers <joseph@codesourcery.com>
43575
43576 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43577 (syscall-list-default-options, syscall-list-default-condition)
43578 (syscall-list-includes): Define.
43579 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43580 list of ABIs and options and #if conditions for each ABI. Do not
43581 handle common syscalls between ABIs specially.
43582 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43583 Remove.
43584 (syscall-list-variants, syscall-list-32bit-options)
43585 (syscall-list-32bit-condition, syscall-list-64bit-options)
43586 (syscall-list-64bit-condition): Define.
43587 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43588 (syscall-list-variants, syscall-list-32bit-options)
43589 (syscall-list-32bit-condition, syscall-list-64bit-options)
43590 (syscall-list-64bit-condition): Define.
43591 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43592 Remove.
43593 (syscall-list-variants, syscall-list-32bit-options)
43594 (syscall-list-32bit-condition, syscall-list-64bit-options)
43595 (syscall-list-64bit-condition): Define.
43596 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43597 Remove.
43598 (syscall-list-variants, syscall-list-32bit-options)
43599 (syscall-list-32bit-condition, syscall-list-64bit-options)
43600 (syscall-list-64bit-condition): Define.
43601
21eaf3a5
UD
436022011-12-22 Ulrich Drepper <drepper@gmail.com>
43603
16c6f992
UD
43604 * locale/iso-639.def: Add brx entry.
43605
41043168
UD
43606 [BZ #13328]
43607 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43608 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43609
21eaf3a5
UD
43610 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43611 __feraiseexcept_renamed.
43612
e3a851a2
UD
436132011-12-21 Ulrich Drepper <drepper@gmail.com>
43614
4920765e
UD
43615 [BZ #13538]
43616 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43617 EPOLLET with unsigned values.
43618 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43619 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43620
e3a851a2
UD
43621 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43622 to large cancellation.
43623 * math/s_cacoshf.c: Likewise.
43624 * math/s_cacoshl.c: Likewise.
43625
b27e24b8
RK
436262011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43627
43628 [BZ #13305]
aebefeee 43629 [BZ #12786]
b27e24b8
RK
43630 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43631 * math/s_cacoshf.c: Likewise.
43632 * math/s_cacoshl.c: Likewise.
43633
ee190f67
UD
436342011-12-21 Ulrich Drepper <drepper@gmail.com>
43635
43636 [BZ #13439]
43637 * iconv/gconv.h: Define __GCONV_SWAP.
43638 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43639 * iconvdata/utf-16.c: Likewise.
43640 * iconvdata/utf-32.c: Likewise.
43641
707f25df
AS
436422011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43643
43644 [BZ #13524]
43645 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43646 numerator after shifting it by one limb.
43647
d2daaa1e
RÁE
436482011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43649
43650 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43651 under [__USE_EXTERN_INLINES].
43652
a4647e72
UD
436532011-12-17 Ulrich Drepper <drepper@gmail.com>
43654
43655 [BZ #13446]
43656 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43657
f0b264f1
AZ
436582011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43659
43660 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43661 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43662 optimized code.
43663 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43664 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43665 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43666 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43667 for strncasecmp/strncasecmp_l compilation.
43668 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43669 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43670
8ef4f244
MP
436712011-12-08 Marek Polacek <mpolacek@redhat.com>
43672
43673 [BZ #13484]
43674 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43675 of __asm__.
43676
97ac2654
UD
436772011-12-17 Ulrich Drepper <drepper@gmail.com>
43678
43679 [BZ #13506]
43680 * time/tzfile.c (__tzfile_read): Check values from file header.
43681
91d2a845
WS
436822011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43683
43684 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43685 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43686 * powerpc/powerpc32/dl-start.S: Likewise.
43687 * powerpc/powerpc32/elf/start.S: Likewise.
43688 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43689 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43690 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43691 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43692 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43693 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43694 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43695 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43696 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43697 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43698 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43699 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43700 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43701 * powerpc/powerpc32/memset.S: Likewise.
43702 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43703 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43704 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43705 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43706 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43707 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43708 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43709 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43710 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43711 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43712 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43713 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43714 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43715
a1267ba1
AZ
437162011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43717
43718 * math/libm-test.inc: Added more nearbyint tests.
43719 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43720 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43721 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43722 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43723
ad8ac1bd
RL
437242011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43725
43726 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43727 FD_CLOEXEC.
43728
1d3e4b61
UD
437292011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43730
43731 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43732 Add wcscpy-ssse3 wcscpy-c.
43733 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43734 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43735 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43736 * sysdeps/x86_64/wcschr.S: New file.
43737 * sysdeps/x86_64/wcsrchr.S: New file.
43738 * string/test-strcmp.c: Remove checking of wcscmp function for
43739 wrong alignments.
43740 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43741 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43742 wcsrchr-sse2 wcsrchr-c.
43743 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43744 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43745 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43746 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43747 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43748 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43749 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43750 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43751 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43752 * wcsmbc/wcschr.c (WCSCHR): New macro.
43753
5b330a2d
UD
437542011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43755
43756 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43757 * wcsmbs/test-wcsrchr.c: New file.
43758 * string/test-strrchr.c: Add wcsrchr support.
43759 (WIDE): New macro.
43760 * wcsmbs/test-wcscpy.c: New file.
43761 * string/test-strcpy.c: Add wcscpy support.
43762 (WIDE): New macro.
26428b7c 43763
f039c043
UD
437642011-12-10 Ulrich Drepper <drepper@gmail.com>
43765
43766 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43767 the inner loop.
43768
850fb039
AS
437692011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43770
43771 [BZ #13472]
43772 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43773
4efbd5cb
UD
437742011-12-04 Ulrich Drepper <drepper@gmail.com>
43775
52ff5dd0 43776 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 43777 Minor optimizations.
52ff5dd0 43778
4efbd5cb
UD
43779 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43780 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43781 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43782
8a426e12
UD
437832011-12-03 Ulrich Drepper <drepper@gmail.com>
43784
aff2453d
UD
43785 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43786 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43787 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43788 for gcc to avoid warnings.
43789 * inet/Makefile (tests): Add tst-checks.
43790 * inet/tst-checks.c: New file.
43791
43792 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43793 warning.
43794
43795 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43796 __wmemcmp_sse2.
43797
43798 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43799 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43800
8a426e12
UD
43801 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43802
9bea3473
UD
438032011-12-02 Ulrich Drepper <drepper@gmail.com>
43804
3a965496
UD
43805 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43806 problem.
43807
9bea3473
UD
43808 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43809
f101631b
UD
438102011-11-29 Joseph Myers <joseph@codesourcery.com>
43811
43812 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43813 conditional on GCC version.
43814 (__arch_compare_and_exchange_val_8_acq)
43815 (__arch_compare_and_exchange_val_16_acq)
43816 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43817 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43818 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43819
a98275aa
UD
438202011-12-02 Joseph Myers <joseph@codesourcery.com>
43821
43822 * sysdeps/sh/backtrace.c: New file.
43823
d4cc29a2
AS
438242011-12-02 Andreas Schwab <schwab@redhat.com>
43825
43826 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43827 parenthesis.
43828
6257af2d
AS
438292011-12-01 Andreas Schwab <schwab@redhat.com>
43830
43831 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43832 falling back to utime.
43833
b5f44c1a
AS
438342011-11-30 Andreas Schwab <schwab@redhat.com>
43835
43836 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43837 expectations for float.
43838
f3a6cc0a
AS
438392011-11-29 Andreas Schwab <schwab@redhat.com>
43840
43841 * locale/weight.h (findidx): Add parameter len.
43842 * locale/weightwc.h (findidx): Likewise.
43843 * posix/fnmatch_loop.c (FCT): Adjust caller.
43844 * posix/regcomp.c (build_equiv_class): Likewise.
43845 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43846 * posix/regexec.c (check_node_accept_bytes): Likewise.
43847 * string/strcoll_l.c (STRCOLL): Likewise.
43848 * string/strxfrm_l.c (STRXFRM): Likewise.
43849
9d65ea3a
UD
438502011-11-17 Ulrich Drepper <drepper@gmail.com>
43851
43852 * Makefile.in: Remove CVSOPT handling.
43853 * configure.in: Remove use of AC_REVISION.
43854 * iconvdata/Makefile (distribute): No need to filter out CVS.
43855 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43856 handling.
43857
5583a086
AS
438582011-11-16 Andreas Schwab <schwab@redhat.com>
43859
43860 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43861 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43862 [USE_AS_STRNCASECMP_L]: Likewise.
43863 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43864 NO_TLS_DIRECT_SEG_REFS.
43865 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43866 Fix argument offsets for non-PIC.
43867 [USE_AS_STRNCASECMP_L]: Likewise.
43868 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43869 NO_TLS_DIRECT_SEG_REFS.
43870
d62a8200
UD
438712011-11-15 Ulrich Drepper <drepper@gmail.com>
43872
9d65ea3a 43873 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
43874 O_CLOEXEC.
43875 * locale/loadlocale.c (_nl_load_locale): Likewise.
43876
09f93bd3
AS
438772011-11-15 Andreas Schwab <schwab@redhat.com>
43878
446514f9
AS
43879 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43880 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43881 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43882 (SYSCALL_GETTIME): Set errno on error.
43883
09f93bd3
AS
43884 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43885 count references to noai6ai_cached.
43886
312be3f9
UD
438872011-11-15 Ulrich Drepper <drepper@gmail.com>
43888
43889 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43890
43891 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43892 FD_CLOEXEC for /proc/self/maps.
43893
43894 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43895 FD_CLOEXEC for /proc/meminfo.
43896
43897 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43898 gai.conf.
43899
43900 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43901 FD_CLOEXEC for given file.
43902
43903 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43904
43905 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43906 FD_CLOEXEC for /etc/hosts.
43907 (_gethtent): Likewise.
43908
43909 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43910
43911 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43912 cancellation and set FD_CLOEXEC for /etc/netgroup.
43913
43914 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43915 reading /etc/publickey.
43916
43917 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43918 allow cancellation when reading /etc/group.
43919
43920 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43921 cancellation.
43922 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43923
43924 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43925 when using data file.
43926
43927 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43928
43929 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43930 (write_nis_obj): Use "c" and "e" in fopen.
43931
43932 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43933
43934 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43935
43936 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43937
43938 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43939
43940 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43941 locale.alias.
43942
43943 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43944
43945 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43946
43947 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43948
43949 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43950 file parsing and set FD_CLOEXEC.
43951
82af0fa8
UD
439522011-11-14 Ulrich Drepper <drepper@gmail.com>
43953
43954 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43955
a5fb313c
AS
439562011-11-14 Andreas Schwab <schwab@redhat.com>
43957
43958 * malloc/arena.c (arena_get2): Don't call reused_arena when
43959 _int_new_arena failed.
43960
6abf3465
UD
439612011-11-14 Ulrich Drepper <drepper@gmail.com>
43962
43963 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43964 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43965 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43966 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43967 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43968 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43969 to compile strcasecmp and strncasecmp.
43970 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43971 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43972
43973 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43974
76e3966e
UD
439752011-11-13 Ulrich Drepper <drepper@gmail.com>
43976
43977 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43978 locale-defines.sym to gen-as-const-headers.
43979 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43980 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43981 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43982 to compile strcasecmp and strncasecmp.
43983 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43984 strcasecmp_l and strncasecmp_l.
43985 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43986 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43987 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43988 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43989 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43990 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43991 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43992 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43993 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43994 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43995 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43996
ab26144e
UD
439972011-11-12 Ulrich Drepper <drepper@gmail.com>
43998
7edb22ef
UD
43999 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44000 result of SYSDEP_GETTIME_CPU to retval.
44001 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44002 parameter list to macro. Remove trailing semicolon. Adjust users.
44003
9694fc44
UD
44004 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44005 variable.
44006
8ad89ef8
UD
44007 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44008 mantissa words.
44009 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44010
0c822ef9
UD
44011 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44012 from unused variable.
44013
874e0564
UD
44014 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44015 DWARF definitions.
44016 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44017 for assembling.
44018
3a2edc79
UD
44019 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44020 over namespaces.
44021
f3c2577f
UD
44022 * sunrpc/rpc_prot.c (rejected): Fix case value.
44023
294ce126
UD
44024 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44025 unsigned long long int to avoid warnings in shift.
44026
5e2b63c6
UD
44027 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44028 of use of trans.
44029 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44030 variable tmp.
44031
e7f4b08e
UD
44032 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44033 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44034 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44035
ab26144e
UD
44036 * nis/nis_table.c (nis_list): Use variable of correct type for
44037 result of __follow_path call.
44038
8a6d5255
AZ
440392011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44040
44041 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44042 of math functions ceil, trunc, floor, round, and sqrt, when
44043 avaliable on the platform.
44044 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44045 name clash.
44046 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44047 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44048 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44049
aaddc98c
MP
440502011-10-30 Marek Polacek <mpolacek@redhat.com>
44051
44052 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44053 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44054
95b7042b
RM
440552011-11-11 Roland McGrath <roland@hack.frob.com>
44056
44057 * include/unistd.h: Fix __readlink return type.
44058 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44059
57769839
UD
440602011-11-11 Ulrich Drepper <drepper@gmail.com>
44061
44062 * stdlib/ucontext.h: Undo last change for makecontext.
44063
edc5984d
AS
440642011-11-11 Andreas Schwab <schwab@redhat.com>
44065
98591e58
AS
44066 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44067
edc5984d
AS
44068 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44069 * setjmp/setjmp.h: Mark functions as non-leaf.
44070 * setjmp/bits/setjmp2.h: Likewise.
44071 * stdlib/ucontext.h: Likewise.
44072
77cdc054
AS
440732011-11-10 Andreas Schwab <schwab@redhat.com>
44074
44075 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44076 (reused_arena): Don't check arena limit.
44077 (arena_get2): Atomically check arena limit.
44078
fe72eebd
UD
440792011-11-08 Ulrich Drepper <drepper@gmail.com>
44080
5f078c32
UD
44081 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44082 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44083
fe72eebd
UD
44084 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44085 instructions.
44086
ae1bc2fa
AS
440872011-11-07 Andreas Schwab <schwab@redhat.com>
44088
7583a88d
AS
44089 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44090 handler when locking.
44091
ae1bc2fa
AS
44092 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44093 Fix size of allocated buffer.
44094
10fb0bfa
AS
440952011-11-04 Andreas Schwab <schwab@redhat.com>
44096
998832a4
AS
44097 [BZ #10103]
44098 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44099 declarations for long double functions.
44100 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44101
10fb0bfa
AS
44102 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44103
3d7ba52b
AS
441042011-11-03 Andreas Schwab <schwab@redhat.com>
44105
a9ae54a1
AS
44106 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44107 installed.
44108
3d7ba52b
AS
44109 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44110 is disabled.
44111
bc8db248
ST
441122011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44113
44114 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44115
45b96dd6
AS
441162011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44117
647776f6
AS
44118 * include/alloca.h (stackinfo_alloca_round): Define.
44119 (extend_alloca): Use it.
44120 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44121 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44122 here.
44123
d91a8b93
AS
44124 * scripts/check-local-headers.sh: Ignore libaudit.h.
44125
45b96dd6
AS
44126 * nscd/Makefile (extra-objs): Make recursively expanded.
44127
432d41ce
UD
441282011-11-01 Ulrich Drepper <drepper@gmail.com>
44129
34372fc6
UD
44130 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44131 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44132
fadb59f8
UD
44133 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44134 * posix/tst-rfc3484-2.c: Likewise.
44135 * posix/tst-rfc3484-3.c: Likewise.
44136
78239589
UD
44137 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44138 process_vm_writev.
44139 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44140 process_vm_writev.
44141 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44142 process_vm_writev from libc using GLIBC_2.15 version.
44143
432d41ce
UD
44144 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44145
02f9c6cf
PP
441462011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44147
44148 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44149 stack usage.
44150
3a2c0242
UD
441512011-10-31 Ulrich Drepper <drepper@gmail.com>
44152
f4ec4833
UD
44153 [BZ #13367]
44154 * nss/getent.c (initgroups_keys): Show error message in case no group
44155 names are given.
44156
3a2c0242
UD
44157 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44158 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44159 __bump_nl_timestamp.
44160 * nscd/connections (nscd_init): When host database is served open
44161 netlink socket and request notification about configuration changes.
44162 (main_loop_poll): Track netlink file descriptor and bump timestamp
44163 in case data becomes available.
44164 (main_loop_epoll): Likewise.
44165 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44166 (database_pers_head): Add extra_data fileds.
44167 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44168 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44169 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44170 Adjust caller.
44171 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44172 in6ai data, call __free_in6ai.
44173 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44174 Add -DHAVE_NETLINK.
44175 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44176 interface information. Reuse previous data if netlink timestamp
44177 is not changed.
44178 (__bump_nl_timestamp): New function.
44179 (__free_in6ai): New function.
44180
636064eb
UD
441812011-10-30 Ulrich Drepper <drepper@gmail.com>
44182
44183 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44184 close_not_cancel_no_status here.
44185 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44186
9beb2334
UD
441872011-10-29 Ulrich Drepper <drepper@gmail.com>
44188
6ef76f3b
UD
44189 [BZ #13276]
44190 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44191 return value.
44192
0ffc4f3e 44193 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
44194 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44195 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44196
cb95113e
UD
441972011-07-03 Andreas Jaeger <aj@suse.de>
44198
44199 [BZ #10709]
44200 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44201 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44202 * math/libm-test.inc (sin_test): Add test case.
44203
a1b560ff
UD
442042011-10-29 Ulrich Drepper <drepper@gmail.com>
44205
c9aaface
UD
44206 [BZ #13337]
44207 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44208 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44209
d272e7f1
UD
44210 * elf/chroot_canon.c (chroot_canon): Cleanups.
44211
1bc33071
UD
44212 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44213
1760874d
TJ
44214 [BZ #13335]
44215 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44216 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44217
51d91b18
UD
44218 * string/test-strchr.c: Make usable for strchrnul testing.
44219 * string/test-strchrnul.c: New file.
44220 * string/Makefile (strop-tests): Add strchrnul.
44221
a1b560ff 44222 * po/it.po: Update from translation team.
b611fb81 44223 * po/es.po: Likewise.
a1b560ff 44224
a5b81e1f
UD
442252011-10-28 Ulrich Drepper <drepper@gmail.com>
44226
fd52bc6d
UD
44227 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44228 the three constants needed as parameters. Drop the others.
44229 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44230 __m128i_strloadu_tolower.
52e4b9eb
UD
44231 Create and initialize variable zero and use it in all the places
44232 where _mm_setzero_si128 was used.
fd52bc6d 44233
a5b81e1f
UD
44234 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44235 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44236 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44237 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44238 anymore.
44239 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44240 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44241 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44242 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44243 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44244 __mpranred, __mptan.
44245 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44246 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44247 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44248 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44249 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44250 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44251 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44252 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44253 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44254
b4343346
AS
442552011-10-28 Andreas Schwab <schwab@redhat.com>
44256
0c92d8a8
AS
44257 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44258 redefine if SHARED.
44259 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44260
b4343346
AS
44261 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44262 wide char related routines to wcsmbs subdir.
44263
3871f58f
AS
442642011-10-27 Andreas Schwab <schwab@redhat.com>
44265
44266 [BZ #13344]
44267 * misc/sys/cdefs.h (__THROWNL): Define.
44268 * posix/unistd.h: Use __THREADNL instead of __THREAD
44269 for memory synchronization functions.
44270
94d44d9f
RM
442712011-10-26 Roland McGrath <roland@hack.frob.com>
44272
21b64b15 44273 [BZ #13349]
94d44d9f
RM
44274 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44275 doesn't exist.
44276 * manual/stdio.texi (Obstack Streams): Node removed.
44277
f6ce9294
AS
442782011-10-26 Andreas Schwab <schwab@redhat.com>
44279
80479147
AS
44280 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44281 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44282 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44283
f6ce9294
AS
44284 * math/math_private.h (math_force_eval): Allow non-addressable
44285 arguments.
44286 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44287
618280a1
UD
442882011-10-25 Ulrich Drepper <drepper@gmail.com>
44289
e0016b11
UD
44290 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44291 file is not needed.
44292
44293 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44294 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44295 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44296 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44297 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44298 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44299 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44300 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44301 Add AVX variants.
44302 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44303 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44304 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44305 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44306 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44307 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44308 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44309 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44310 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44311 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44312 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44313 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44314 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44315 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44316 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44317 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44318 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44319 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44320 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44321
44322 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44323 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44324
618280a1
UD
44325 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44326 place. Use VEX encoding when compiling for AVX.
44327
37822576
AS
443282011-10-25 Andreas Schwab <schwab@redhat.com>
44329
1f1e1947
AS
44330 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44331 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44332
37822576
AS
44333 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44334
31ea014d
UD
443352011-10-25 Ulrich Drepper <drepper@gmail.com>
44336
d7826aa1 44337 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 44338 useless if() expression.
d7826aa1
UD
44339 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44340 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44341 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44342 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44343 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44344 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44345 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44346 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44347 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44348 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44349 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44350 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44351 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44352 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44353 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44354 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44355 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44356 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44357 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44358
31ea014d
UD
44359 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44360
16437fec
AS
443612011-10-25 Andreas Schwab <schwab@redhat.com>
44362
44363 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44364 condition.
44365 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44366
31d3cc00
UD
443672011-10-25 Ulrich Drepper <drepper@gmail.com>
44368
44369 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44370 .text section. Avoid duplicate constants.
44371 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44372 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44373 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44374 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44375 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44376 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44378 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44379 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44380 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44381 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44382 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44383 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44384 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44385 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44386 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44387 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44388 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44389 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44390 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44391 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44392 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44393 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44394 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44395 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44396 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44397 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44398 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44399 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44400 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44401 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44402 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44403 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44404 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44405 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44406 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44407 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44408 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44409 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44410 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44411 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44412 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44413 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44414 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44415 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44416
58985aa9
UD
444172011-10-24 Ulrich Drepper <drepper@gmail.com>
44418
202c9deb
UD
44419 * sysdeps/x86_64/dla.h: Move to ...
44420 * sysdeps/x86_64/fpu/dla.h: ...here.
44421 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44422 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 44423
af968f62
UD
44424 * config.make.in: Add have-mfma4 entry.
44425 * configure.in: Substitute libc_cv_cc_fma4.
44426 * math/Makefile (dbl-only-routines): Add sincostab.
44427 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44428 Use __sincostab not sincos.
44429 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44430 name is a macro.
44431 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44434 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44435 using __copysign.
44436 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44437 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44438 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44439 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44440 and __inv.
44441 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44442 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44443 __copysign.
44444 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44445 define aliases when function name is a macro.
44446 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44447 sysdeps/ieee754/dbl-64/sincos.tbl.
44448 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44449 fma4-enabled routines.
44450 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44451 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44452 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44453 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44454 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44455 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44456 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44457 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44458 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44459 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44460 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44461 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44462 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44463 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44464 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44465 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44466 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44467 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44468 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44469 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44470 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44471 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44472 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44473 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44474 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44475 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44476 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44477 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44478 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44479 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44480
58985aa9
UD
44481 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44482 rename.
44483 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44484 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44486 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44487 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44488 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44489 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44490 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44491
a201fbcf
AS
444922011-10-24 Andreas Schwab <schwab@redhat.com>
44493
44494 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44495
fc2ee42a
LD
444962011-10-23 Ulrich Drepper <drepper@gmail.com>
44497
bb3129bd
UD
44498 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44499
0275fff8
UD
44500 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44501 prediction.
44502 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44503
2fa2ae85
UD
44504 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44505 Remove unused variable magic_bits.
44506 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44507
fc2ee42a
LD
44508 * string/strnlen.c: Define and use STRNLEN macro.
44509 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44510 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44511 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44512 * wcsmbs/wcslen.c: Define and use WCSLEN.
44513 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44514 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44515 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44516 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44517 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44518 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44519 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44520
ce7dd29f
LD
445212011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44522
44523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44524 strnlen-sse2-no-bsf.
44525 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44526 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44527 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44528 Add strnlen support.
44529 (USE_AS_STRNLEN): New macro.
44530 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44531 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44532 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44533 * sysdeps/x86_64/wcslen.S: New file.
44534
979c70a3
MZ
445352011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44536
44537 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44538 XMM-moves are used for copying on small sizes.
44539
2d09f82f
LD
445402011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44541
44542 * wcsmbs/Makefile (strop-tests): Add wcschr.
44543 * wcsmbs/test-wcschr.c: New file.
44544 * string/test-strchr.c: Update.
44545 Add wcschr support.
44546 (WIDE): New macro.
44547
619fccca
LD
445482011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44549
2d09f82f 44550 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
44551 * wcsmbs/test-wcslen.c: New file.
44552 * string/test-strlen.c: Update.
44553 Add wcslen support.
44554 (WIDE): New macro.
44555
09f699ea
UD
445562011-10-23 Ulrich Drepper <drepper@gmail.com>
44557
44558 * po/it.po: Update from translation team.
44559
95584d3b
LD
445602011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44561
44562 * sysdeps/x86_64/wcscmp.S: Update.
44563 Fix wrong comparison semantics.
44564 wcscmp shall use signed comparison not unsigned.
44565 Don't use substraction to avoid overflow bug.
44566 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44567 * wcsmbc/wcscmp.c: Likewise.
44568 * string/test-strcmp.c: Likewise.
44569 Add new tests to check cases with negative values.
44570
c8b3296b
UD
445712011-10-23 Ulrich Drepper <drepper@gmail.com>
44572
44573 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44574 * sysdeps/x86_64/dla.h: ...here. New file.
44575 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44576 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44578 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44579 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44580 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44582 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44583 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44584
246ad57a
AS
445852011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44586
44587 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44588 __ynl_finite aliases.
44589
a1a87169
UD
445902011-10-22 Ulrich Drepper <drepper@gmail.com>
44591
0d355eb7
UD
44592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44593
a1a87169
UD
44594 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44595 define DLA_FMA.
44596 [DLA_FMA] (EMULV): Use DLA_FMA.
44597 [DLA_FMA] (MUL12): Use EMULV.
44598 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44599 that are not needed.
44600 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44601 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44602 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44603 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44604 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44605 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44606 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44607
ee2aafe0
AS
446082011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44609
44610 * math/s_nan.c: Undef __nan.
44611 * math/s_nanf.c: Undef __nanf.
44612 * math/s_nanl.c: Undef __nanl.
44613 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44614 "math_private.h".
44615
bc62c2fb
UD
446162011-10-22 Ulrich Drepper <drepper@gmail.com>
44617
77425c63
UD
44618 * math/s_catan.c: Add branch predictions.
44619 * math/s_catanf.c: Likewise.
44620 * math/s_catanh.c: Likewise.
44621 * math/s_catanhf.c: Likewise.
44622 * math/s_catanhl.c: Likewise.
44623 * math/s_catanl.c: Likewise.
44624 * math/s_cexp.c: Likewise.
44625 * math/s_cexpf.c: Likewise.
44626 * math/s_cexpl.c: Likewise.
44627 * math/s_clog.c: Likewise.
44628 * math/s_clog10.c: Likewise.
44629 * math/s_clog10f.c: Likewise.
44630 * math/s_clog10l.c: Likewise.
44631 * math/s_clogf.c: Likewise.
44632 * math/s_clogl.c: Likewise.
44633 * math/s_csqrt.c: Likewise.
44634 * math/s_csqrtf.c: Likewise.
44635 * math/s_csqrtl.c: Likewise.
44636 * math/s_ctanf.c: Likewise.
44637 * math/s_ctanh.c: Likewise.
44638 * math/s_ctanhf.c: Likewise.
44639 * math/s_ctanhl.c: Likewise.
44640 * math/s_ctanl.c: Likewise.
44641
bc62c2fb
UD
44642 * math/math_private.h: Define __nan, __nanf, __nanl.
44643 * math/s_cacosh.c: Include <math_private.h>.
44644 * math/s_cacoshl.c: Likewise.
44645 * math/s_casinh.c: Likewise.
44646 * math/s_casinhf.c: Likewise.
44647 * math/s_casinhl.c: Likewise.
44648 * math/s_ccos.c: Rely entire on ccosh.
44649 * math/s_ccosf.c: Rely entire on ccoshf.
44650 * math/s_ccosl.c: Rely entirely on ccoshl.
44651 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44652 Remove tests for FE_INVALID.
44653 * math/s_ccoshf.c: Likewise.
44654 * math/s_ccoshl.c: Likewise.
44655 * math/s_csin.c: Likewise.
44656 * math/s_csinf.c: Likewise.
44657 * math/s_csinh.c Likewise.
44658 * math/s_csinhf.c: Likewise.
44659 * math/s_csinhl.c: Likewise.
44660 * math/s_csinl.c: Likewise.
44661 * math/s_ctan.c: Likewise.
44662 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44663 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44664 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44665
8ec250a4
UD
446662011-10-21 Ulrich Drepper <drepper@gmail.com>
44667
c196fed8
UD
44668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44669 compilation problems.
44670
8ec250a4
UD
44671 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44672 __builtin_expect.
44673
8d4f46c6
UD
446742011-10-20 Ulrich Drepper <drepper@gmail.com>
44675
ed72b654
UD
44676 * sysdeps/i386/configure.in: Test for -mfma4 option.
44677 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44678 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44679 COMMON_CPUID_INDEX_80000001.
44680 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44681 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44682 use it if FMA3 is not supported.
44683 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44684
8d4f46c6
UD
44685 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44686 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44687
d45c60c2
AS
446882011-10-20 Andreas Schwab <schwab@redhat.com>
44689
44690 [BZ #12892]
44691 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44692 it would create a cycle with a link time dependency.
44693
d9a4d2ab
UD
446942011-10-19 Ulrich Drepper <drepper@gmail.com>
44695
855d1560
UD
44696 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44697 instruction.
44698 * string/Makefile (strop-tests): Add rawmemchr.
44699 * string/test-rawmemchr.c: New file.
44700
d9a4d2ab
UD
44701 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44702 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44703 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44704 when compiling str{,n}casecmp and when AVX is available. Hook up
44705 new optimized code in initializers.
44706
8f3b1ffe
AS
447072011-10-19 Andreas Schwab <schwab@redhat.com>
44708
44709 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44710 __feraiseexcept instead of feraiseexcept.
44711
d38f1dba
UD
447122011-10-18 Ulrich Drepper <drepper@gmail.com>
44713
d9a8d0ab
UD
44714 * math/math_private.h: Define defaults for libc_fetestexcept and
44715 libc_feupdateenv.
44716 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44717 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44718 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44719 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44720 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44721 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44722 libc_fetestexcept and libc_feupdateenv.
44723
4855e3dd
UD
44724 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44725 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44726 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44727 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44728 libc_feholdexcept_setround.
44729
581d30e3
UD
44730 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44731 Add s_nearbyint-c and s_nearbyintf-c.
44732 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44733 nearbyintf inlines.
44734 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44735 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44736 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44737 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44738
d38f1dba
UD
44739 * math/math_private.h: Define defaults for libc_fegetround,
44740 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44741 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44742 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44743 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44744 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44745 standard functions.
44746 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44747 Remove comments and hacks for old compiler versions.
44748 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44749 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44750 libc_feholdexceptl.
44751
caa6c9d8
AS
447522011-10-18 Andreas Schwab <schwab@redhat.com>
44753
44754 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
44755 (__feraiseexcept_renamed): Add __NTH.
44756 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
44757 namespace violations.
44758
97c066e6
UD
447592011-10-17 Ulrich Drepper <drepper@gmail.com>
44760
99ce7b04
UD
44761 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44762
1004d182
UD
44763 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44764
228a984d
UD
44765 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44766 recently added interfaces.
44767 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44768
c8553a6a
UD
44769 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44770 about macro parameter expansion.
44771
ed22dcf6
UD
44772 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44773 __NO_MATH_INLINES is defined. Cleanups.
44774
44775 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44776 and __floorf is target has SSE4.1.
44777 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44778 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44779 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44780 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44781
b171c137
UD
44782 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44783 name.
44784 (floorf): Likewise.
44785
97c066e6
UD
44786 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44787
629f62ef
AS
447882011-10-17 Andreas Schwab <schwab@redhat.com>
44789
49a43d80
AS
44790 * misc/sys/cdefs.h: Fix last change.
44791
629f62ef
AS
44792 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44793 database lookup.
44794
e453f6cd
UD
447952011-10-16 Ulrich Drepper <drepper@gmail.com>
44796
aa78043a
UD
44797 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44798
ad0f5cad
UD
44799 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44800 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44801 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44802 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44803 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44804 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44805 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44806 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44807 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44808 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44809 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44810 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44811 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44812 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44813 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44814 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44815 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44816 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44817 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44818 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44819 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44820 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44821
44822 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44823 ceil, ceilf, floor, floorf.
44824
44825 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44826 Perform IRELATIVE relocations last.
44827
e453f6cd
UD
44828 * elf/do-rel.h: Add another parameter nrelative, replacing the
44829 local variable with the same name. Change name of the function
44830 to end in Rel or Rela (uppercase).
44831 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44832 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44833 elf_dynamic_do_##reloc function.
44834
fd5bdc09
UD
448352011-10-15 Ulrich Drepper <drepper@gmail.com>
44836
79b195b5
UD
44837 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44838 is sufficient, at least on modern CPUs.
44839
d4a28569
UD
44840 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44841
b61099b5
UD
44842 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44843 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44844
bcf01e6d
UD
44845 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44846 __expl_finite.
44847 * math/bits/math-finite.h: Add entries for exp.
44848 * math/e_expl.c: Add __*_finite alias.
44849 * sysdeps/i386/fpu/e_exp.S: Likewise.
44850 * sysdeps/i386/fpu/e_expf.S: Likewise.
44851 * sysdeps/i386/fpu/e_expl.c: Likewise.
44852 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44853 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44854 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44855 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44856 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44857 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44858 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44859
ba1a0d59
UD
44860 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44861 is sufficient, at least on modern CPUs.
44862
fd5bdc09
UD
44863 * ctype/ctype-info.c (__ctype_init): Define.
44864 * include/ctype.h (__ctype_init): Declare.
44865 (__ctype_b_loc): The variable is always initialized.
44866 (__ctype_toupper_loc): Likewise.
44867 (__ctype_tolower_loc): Likewise.
44868 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44869 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44870
7872cfb0
AS
448712011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44872
b468825a
AS
44873 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44874
7872cfb0
AS
44875 * configure.in: Also look in $cxxmachine/include for C++ system
44876 headers.
44877
be13f7bf
LD
448782011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44879
44880 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44881 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44882 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44883 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44884 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44885 (USE_AS_WMEMCMP): New macro.
44886 Fixing indents.
44887 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44888 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44889 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44890 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44891 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44892 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44893 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44894 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44895 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44896 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44897 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44898 (USE_AS_WMEMCMP): New macro.
44899 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44900 * sysdeps/string/test-memcmp.c: Update.
44901 Fix simple_wmemcmp.
44902 Add new tests.
44903 * wcsmbs/wmemcmp.c: Update.
44904 (WMEMCMP): New macro.
44905 Fix overflow bug.
44906
556a2007
AJ
449072011-10-12 Andreas Jaeger <aj@suse.de>
44908
44909 [BZ #13268]
44910 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44911
538faaa7
UD
449122011-10-15 Ulrich Drepper <drepper@gmail.com>
44913
ab6737ff
UD
44914 * libio/iofwide.c (do_length): Avoid warning.
44915
538faaa7
UD
44916 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44917
396a21b1
UD
449182011-10-14 Ulrich Drepper <drepper@gmail.com>
44919
cdf2901f
UD
44920 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44921
38ad40ce
UD
44922 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44923 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44924 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44925 * sysdeps/i386/i686/fpu/e_log.S: New file.
44926 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44927 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44928
396a21b1
UD
44929 * ctype/ctype.h: Add support for inlined isXXX functions when
44930 compiling C++ code.
44931
6b1f68c9
AS
449322011-10-14 Andreas Schwab <schwab@redhat.com>
44933
349290c0
AS
44934 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44935
6b1f68c9
AS
44936 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44937
f2282d42
RM
449382011-10-13 Roland McGrath <roland@hack.frob.com>
44939
44940 [BZ #13291]
44941 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44942
5298ffa8
AS
449432011-10-13 Andreas Schwab <schwab@redhat.com>
44944
714fad23
AS
44945 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44946 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44947 feraiseexcept.
44948
81dcc7fb
AS
44949 * sysdeps/x86_64/memrchr.S: Check for zero size.
44950
5298ffa8
AS
44951 * string/stratcliff.c: Add memrchr tests.
44952
951fbcec
LD
449532011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44954
44955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44956 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44957 rawmemchr-sse2 rawmemchr-sse2-bsf.
44958 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44959 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44960 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44961 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44962 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44963 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44964 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44965 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44966 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44967 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44968 * string/memrchr.c (MEMRCHR): New macro.
44969
0ac5ae23
UD
449702011-10-12 Ulrich Drepper <drepper@gmail.com>
44971
44972 Add integration with gcc's -ffinite-math-only and optimize wrapper
44973 functions in libm.
44974 * Versions.def: Define GLIBC_2.15 version for libm.
44975 * math/Makefile (headers): Add bits/math-finite.h.
44976 * math/bits/math-finite.h: New file.
44977 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44978 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44979 * math/e_acoshl.c: Add __*_finite alias.
44980 * math/e_acosl.c: Likewise.
44981 * math/e_asinl.c: Likewise.
44982 * math/e_atan2l.c: Likewise.
44983 * math/e_atanhl.c: Likewise.
44984 * math/e_coshl.c: Likewise.
44985 * math/e_exp10.c: Likewise.
44986 * math/e_exp10f.c: Likewise.
44987 * math/e_exp10l.c: Likewise.
44988 * math/e_exp2l.c: Likewise.
44989 * math/e_fmodl.c: Likewise.
44990 * math/e_gammal_r.c: Likewise.
44991 * math/e_hypotl.c: Likewise.
44992 * math/e_j0l.c: Likewise.
44993 * math/e_j1l.c: Likewise.
44994 * math/e_jnl.c: Likewise.
44995 * math/e_lgammal_r.c: Likewise.
44996 * math/e_log10l.c: Likewise.
44997 * math/e_log2l.c: Likewise.
44998 * math/e_logl.c: Likewise.
44999 * math/e_powl.c: Likewise.
45000 * math/e_sinhl.c: Likewise.
45001 * math/e_sqrtl.c: Likewise.
45002 * math/e_scalb.c: Completely rewritten and optimized.
45003 * math/e_scalbf.c: Likewise.
45004 * math/e_scalbl.c: Likewise.
45005 * math/w_acos.c: Likewise.
45006 * math/w_acosf.c: Likewise.
45007 * math/w_acosl.c: Likewise.
45008 * math/w_acosh.c: Likewise.
45009 * math/w_acoshf.c: Likewise.
45010 * math/w_acoshl.c: Likewise.
45011 * math/w_asin.c: Likewise.
45012 * math/w_asinf.c: Likewise.
45013 * math/w_asinl.c: Likewise.
45014 * math/w_atan2.c: Likewise.
45015 * math/w_atan2f.c: Likewise.
45016 * math/w_atan2l.c: Likewise.
45017 * math/w_atanh.c: Likewise.
45018 * math/w_atanhf.c: Likewise.
45019 * math/w_atanhl.c: Likewise.
45020 * math/w_exp10.c: Likewise.
45021 * math/w_exp10f.c: Likewise.
45022 * math/w_exp10l.c: Likewise.
45023 * math/w_fmod.c: Likewise.
45024 * math/w_fmodf.c: Likewise.
45025 * math/w_fmodl.c: Likewise.
45026 * math/w_j0.c: Likewise.
45027 * math/w_j0f.c: Likewise.
45028 * math/w_j0l.c: Likewise.
45029 * math/w_j1.c: Likewise.
45030 * math/w_j1f.c: Likewise.
45031 * math/w_j1l.c: Likewise.
45032 * math/w_jn.c: Likewise.
45033 * math/w_jnf.c: Likewise.
45034 * math/w_log.c: Likewise.
45035 * math/w_logf.c: Likewise.
45036 * math/w_logl.c: Likewise.
45037 * math/w_log10.c: Likewise.
45038 * math/w_log10f.c: Likewise.
45039 * math/w_log10l.c: Likewise.
45040 * math/w_log2.c: Likewise.
45041 * math/w_log2f.c: Likewise.
45042 * math/w_log2l.c: Likewise.
45043 * math/w_pow.c: Likewise.
45044 * math/w_powf.c: Likewise.
45045 * math/w_powl.c: Likewise.
45046 * math/w_remainder.c: Likewise.
45047 * math/w_remainderf.c: Likewise.
45048 * math/w_remainderl.c: Likewise.
45049 * math/w_scalb.c: Likewise.
45050 * math/w_scalbf.c: Likewise.
45051 * math/w_scalbl.c: Likewise.
45052 * math/w_sqrt.c: Likewise.
45053 * math/w_sqrtf.c: Likewise.
45054 * math/w_sqrtl.c: Likewise.
45055 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45056 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45057 used.
45058 * math/math_private.h: Declare __kernel_standard_f.
45059 * math/w_cosh.c: Remove cruft and optimize a bit.
45060 * math/w_coshf.c: Likewise.
45061 * math/w_coshl.c: Likewise.
45062 * math/w_exp2.c: Likewise.
45063 * math/w_exp2f.c: Likewise.
45064 * math/w_exp2l.c: Likewise.
45065 * math/w_hypot.c: Likewise.
45066 * math/w_hypotf.c: Likewise.
45067 * math/w_hypotl.c: Likewise.
45068 * math/w_lgamma.c: Likewise.
45069 * math/w_lgamma_r.c: Likewise.
45070 * math/w_lgammaf.c: Likewise.
45071 * math/w_lgammaf_r.c: Likewise.
45072 * math/w_lgammal.c: Likewise.
45073 * math/w_lgammal_r.c: Likewise.
45074 * math/w_sinh.c: Likewise.
45075 * math/w_sinhf.c: Likewise.
45076 * math/w_sinhl.c: Likewise.
45077 * math/w_tgamma.c: Likewise.
45078 * math/w_tgammaf.c: Likewise.
45079 * math/w_tgammal.c: Likewise.
45080 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45081 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45082 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45083 Minor optimizations. Pretty printing. Remove cruft.
45084 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45085 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45086 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45087 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45088 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45089 * sysdeps/i386/fpu/e_asin.S: Likewise.
45090 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45091 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45092 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45093 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45094 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45095 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45096 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45097 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45098 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45099 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45100 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45101 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45102 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45103 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45104 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45105 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45106 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45107 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45108 * sysdeps/i386/fpu/e_log.S: Likewise.
45109 * sysdeps/i386/fpu/e_log10.S: Likewise.
45110 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45111 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45112 * sysdeps/i386/fpu/e_log2.S: Likewise.
45113 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45114 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45115 * sysdeps/i386/fpu/e_logf.S: Likewise.
45116 * sysdeps/i386/fpu/e_logl.S: Likewise.
45117 * sysdeps/i386/fpu/e_pow.S: Likewise.
45118 * sysdeps/i386/fpu/e_powf.S: Likewise.
45119 * sysdeps/i386/fpu/e_powl.S: Likewise.
45120 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45121 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45122 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45123 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45124 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45125 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45126 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45127 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45128 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45129 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45130 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45131 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45132 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45133 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45134 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45135 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45136 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45137 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45138 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45139 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45140 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45141 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45142 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45143 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45144 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45145 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45146 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45147 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45148 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45149 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45150 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45151 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45152 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45153 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45154 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45155 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45156 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45157 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45158 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45159 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45160 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45161 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45162 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45163 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45164 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45165 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45166 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45167 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45168 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45169 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45170 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45171 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45172 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45173 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45174 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45175 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45176 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45177 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45178 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45179 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45180 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45181 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45182 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45183 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45184 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45185 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45186 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45187 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45188 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45189 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45190 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45191 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45192 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45193 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45194 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45195 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45196 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45197 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45198 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45199 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45200 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45201 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45202 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45203 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45204 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45205 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45206 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45207 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45208 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45209 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45210 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45211 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45212 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45213 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45214 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45215 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45216 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45217 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45218 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45219 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45220 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45221 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45222 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45223 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45224 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45225 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45226 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45227 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45228 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45229 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45230 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45231 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45232 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45233 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45234 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45235 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45236 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45237 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45238 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45239 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45240 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45241 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45242 (__isnanf): Likewise.
45243 (__isinf_ns): Likewise.
45244 (__isinf_nsf): Likewise.
45245 (__finite): Likewise.
45246 (__finitef): Likewise.
45247 (__ieee754_sqrt): Define as macro.
45248 (__ieee754_sqrtf): Define as macro.
45249 (__ieee754_sqrtl): Define as macro.
45250 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45251 inlined copy.
45252 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45253 __FINITE_MATH_ONLY__ consistent.
45254 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45255
12cc2fcd
AS
452562011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45257
a843a204
AS
45258 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45259 of rawmemchr.
45260
12cc2fcd
AS
45261 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45262
c853acd5
UD
452632011-10-09 Ulrich Drepper <drepper@gmail.com>
45264
45265 * po/ja.po: Update from translation team.
45266
c658d255
RM
452672011-10-08 Roland McGrath <roland@hack.frob.com>
45268
110946e4
RM
45269 * locale/programs/locarchive.c (prepare_address_space): New function.
45270 (create_archive, enlarge_archive, open_archive): Use it.
45271
50604220
RM
45272 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45273 inside [SHARED], where it is used.
45274
c658d255
RM
45275 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45276
45277 * nss/getent.c (netgroup_keys): Remove unused variable.
45278 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45279
6a621eb7
UD
452802011-10-08 Ulrich Drepper <drepper@gmail.com>
45281
7edb55ce
UD
45282 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45283 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45284 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45285 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45286 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45287 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45288 * math/Makefile (libm-calls): Add s_isinf_ns.
45289 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45290 * math/multc3.c: Likewise.
45291 * math/s_casin.c: Likewise.
45292 * math/s_casinf.c: Likewise.
45293 * math/s_casinl.c: Likewise.
45294 * math/s_ccos.c: Likewise.
45295 * math/s_ccosf.c: Likewise.
45296 * math/s_ccosl.c: Likewise.
45297 * math/s_ctan.c: Likewise.
45298 * math/s_ctanf.c: Likewise.
45299 * math/s_ctanh.c: Likewise.
45300 * math/s_ctanhf.c: Likewise.
45301 * math/s_ctanhl.c: Likewise.
45302 * math/s_ctanl.c: Likewise.
45303 * math/w_fmod.c: Likewise.
45304 * math/w_fmodf.c: Likewise.
45305 * math/w_fmodl.c: Likewise.
45306 * math/w_remainder.c: Likewise.
45307 * math/w_remainderf.c: Likewise.
45308 * math/w_remainderl.c: Likewise.
45309 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45310 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45311 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45312 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45313 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45314 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45315 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45316 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45317
187da0ae
UD
45318 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45319 of the number.
45320 * stdio-common/printf_fphex.c: Likewise.
45321 * stdio-common/printf_size.c: Likewise.
45322
9277c064
UD
45323 * math/e_exp10.c: Include math_private.h using <...> not "...".
45324 * math/e_exp10f.c: Likewise.
45325 * math/e_exp10l.c: Likewise.
45326 * math/e_exp2l.c: Likewise.
45327 * math/e_j0l.c: Likewise.
45328 * math/e_j1l.c: Likewise.
45329 * math/e_jnl.c: Likewise.
45330 * math/e_lgammal_r.c: Likewise.
45331 * math/e_rem_pio2l.c: Likewise.
45332 * math/e_scalb.c: Likewise.
45333 * math/e_scalbf.c: Likewise.
45334 * math/e_scalbl.c: Likewise.
45335 * math/k_cosl.c: Likewise.
45336 * math/k_sinl.c: Likewise.
45337 * math/k_tanl.c: Likewise.
45338 * math/s_cacoshf.c: Likewise.
45339 * math/s_catan.c: Likewise.
45340 * math/s_catanf.c: Likewise.
45341 * math/s_catanh.c: Likewise.
45342 * math/s_catanhf.c: Likewise.
45343 * math/s_catanhl.c: Likewise.
45344 * math/s_catanl.c: Likewise.
45345 * math/s_ccosh.c: Likewise.
45346 * math/s_ccoshf.c: Likewise.
45347 * math/s_ccoshl.c: Likewise.
45348 * math/s_cexp.c: Likewise.
45349 * math/s_cexpf.c: Likewise.
45350 * math/s_cexpl.c: Likewise.
45351 * math/s_clog.c: Likewise.
45352 * math/s_clog10.c: Likewise.
45353 * math/s_clog10f.c: Likewise.
45354 * math/s_clog10l.c: Likewise.
45355 * math/s_clogf.c: Likewise.
45356 * math/s_clogl.c: Likewise.
45357 * math/s_csin.c: Likewise.
45358 * math/s_csinf.c: Likewise.
45359 * math/s_csinh.c: Likewise.
45360 * math/s_csinhf.c: Likewise.
45361 * math/s_csinhl.c: Likewise.
45362 * math/s_csinl.c: Likewise.
45363 * math/s_csqrt.c: Likewise.
45364 * math/s_csqrtf.c: Likewise.
45365 * math/s_csqrtl.c: Likewise.
45366 * math/s_ctan.c: Likewise.
45367 * math/s_ctanf.c: Likewise.
45368 * math/s_ctanh.c: Likewise.
45369 * math/s_ctanhf.c: Likewise.
45370 * math/s_ctanhl.c: Likewise.
45371 * math/s_ctanl.c: Likewise.
45372 * math/s_ldexp.c: Likewise.
45373 * math/s_ldexpf.c: Likewise.
45374 * math/s_ldexpl.c: Likewise.
45375 * math/s_significand.c: Likewise.
45376 * math/s_significandf.c: Likewise.
45377 * math/s_significandl.c: Likewise.
45378 * math/w_acos.c: Likewise.
45379 * math/w_acosf.c: Likewise.
45380 * math/w_acosh.c: Likewise.
45381 * math/w_acoshf.c: Likewise.
45382 * math/w_acoshl.c: Likewise.
45383 * math/w_acosl.c: Likewise.
45384 * math/w_asin.c: Likewise.
45385 * math/w_asinf.c: Likewise.
45386 * math/w_asinl.c: Likewise.
45387 * math/w_atan2.c: Likewise.
45388 * math/w_atan2f.c: Likewise.
45389 * math/w_atan2l.c: Likewise.
45390 * math/w_atanh.c: Likewise.
45391 * math/w_atanhf.c: Likewise.
45392 * math/w_atanhl.c: Likewise.
45393 * math/w_cosh.c: Likewise.
45394 * math/w_coshf.c: Likewise.
45395 * math/w_coshl.c: Likewise.
45396 * math/w_dremf.c: Likewise.
45397 * math/w_exp10.c: Likewise.
45398 * math/w_exp10f.c: Likewise.
45399 * math/w_exp10l.c: Likewise.
45400 * math/w_exp2.c: Likewise.
45401 * math/w_exp2f.c: Likewise.
45402 * math/w_fmod.c: Likewise.
45403 * math/w_fmodf.c: Likewise.
45404 * math/w_fmodl.c: Likewise.
45405 * math/w_hypot.c: Likewise.
45406 * math/w_hypotf.c: Likewise.
45407 * math/w_hypotl.c: Likewise.
45408 * math/w_j0.c: Likewise.
45409 * math/w_j0f.c: Likewise.
45410 * math/w_j0l.c: Likewise.
45411 * math/w_j1.c: Likewise.
45412 * math/w_j1f.c: Likewise.
45413 * math/w_j1l.c: Likewise.
45414 * math/w_jn.c: Likewise.
45415 * math/w_jnf.c: Likewise.
45416 * math/w_jnl.c: Likewise.
45417 * math/w_lgamma.c: Likewise.
45418 * math/w_lgamma_r.c: Likewise.
45419 * math/w_lgammaf.c: Likewise.
45420 * math/w_lgammaf_r.c: Likewise.
45421 * math/w_lgammal.c: Likewise.
45422 * math/w_lgammal_r.c: Likewise.
45423 * math/w_log.c: Likewise.
45424 * math/w_log10.c: Likewise.
45425 * math/w_log10f.c: Likewise.
45426 * math/w_log10l.c: Likewise.
45427 * math/w_log2.c: Likewise.
45428 * math/w_log2f.c: Likewise.
45429 * math/w_log2l.c: Likewise.
45430 * math/w_logf.c: Likewise.
45431 * math/w_logl.c: Likewise.
45432 * math/w_pow.c: Likewise.
45433 * math/w_powf.c: Likewise.
45434 * math/w_powl.c: Likewise.
45435 * math/w_remainder.c: Likewise.
45436 * math/w_remainderf.c: Likewise.
45437 * math/w_remainderl.c: Likewise.
45438 * math/w_scalb.c: Likewise.
45439 * math/w_scalbf.c: Likewise.
45440 * math/w_scalbl.c: Likewise.
45441 * math/w_sinh.c: Likewise.
45442 * math/w_sinhf.c: Likewise.
45443 * math/w_sinhl.c: Likewise.
45444 * math/w_sqrt.c: Likewise.
45445 * math/w_sqrtf.c: Likewise.
45446 * math/w_sqrtl.c: Likewise.
45447 * math/w_tgamma.c: Likewise.
45448 * math/w_tgammaf.c: Likewise.
45449 * math/w_tgammal.c: Likewise.
45450
6a621eb7
UD
45451 * po/ja.po: Update from translation team.
45452
bf582445
AJ
454532011-09-29 Andreas Jaeger <aj@suse.de>
45454
f9efbf3a
AJ
45455 [BZ #13179]
45456 * sunrpc/netname.c (netname2host): Fix logic.
45457
bf582445
AJ
45458 [BZ #6779]
45459 [BZ #6783]
45460 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45461 correctly.
45462 * math/w_remainder.c (__remainder): Likewise.
45463 * math/w_remainderf.c (__remainderf): Likewise.
45464 * math/libm-test.inc (remainder_test): Add test cases.
45465
48693bea
AK
454662011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45467
45468 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45469 sdiv_qrnnd.
45470
42622229
LD
454712011-10-07 Ulrich Drepper <drepper@gmail.com>
45472
45473 * string/test-memcmp.c: Avoid unncessary #defines.
45474 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45475
093ecf92
LD
454762011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45477
45478 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45479 Use new sse2 version for core i3 - i7 as it's faster
45480 than sse42 version.
45481 (bit_Prefer_PMINUB_for_stringop): New.
45482 * sysdeps/x86_64/rawmemchr.S: Update.
45483 Replace with faster SSE2 version.
45484 * sysdeps/x86_64/memrchr.S: New file.
45485 * sysdeps/x86_64/memchr.S: Update.
45486 Replace with faster SSE2 version.
45487
fde56e5c
MP
454882011-09-12 Marek Polacek <mpolacek@redhat.com>
45489
45490 * elf/dl-load.c (lose): Add cast to avoid warning.
45491
21fd49a9
UD
454922011-10-07 Ulrich Drepper <drepper@gmail.com>
45493
5a06e643
UD
45494 * po/ca.po: Update from translation team.
45495
684ae515
UD
45496 * inet/getnetgrent_r.c: Hook up nscd.
45497 * nscd/Makefile (routines): Add nscd_netgroup.
45498 (nscd-modules): Add netgroupcache.
45499 (CFLAGS-netgroupcache.c): Define.
45500 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45501 (cache_search): Add const to second parameter.
45502 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45503 INNETGR.
45504 (dbs): Add netgrdb entry.
45505 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45506 (verify_persistent_db): Handle netgrdb.
45507 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45508 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45509 GETFDNETGR.
45510 (netgroup_response_header): Define.
45511 (innetgroup_response_header): Define.
45512 (datahead): Add netgroup_response_header and innetgroup_response_header
45513 elements.
45514 * nscd/nscd.conf: Add entries for netgroup cache.
45515 * nscd/nscd.h (dbtype): Add netgrdb.
45516 (_PATH_NSCD_NETGROUP_DB): Define.
45517 (netgroup_iov_disabled): Declare.
45518 (xmalloc, xcalloc, xrealloc): Move declarations here.
45519 (cache_search): Adjust prototype.
45520 Add netgroup-related prototypes.
45521 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45522 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45523 (__nscd_innetgr): Declare.
45524 * nscd/selinux.c (perms): Use access_vector_t as element type and
45525 add netgroup-related initializers.
45526 * nscd/netgroupcache.c: New file.
45527 * nscd/nscd_netgroup.c: New file.
45528 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45529 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45530 For four parameters use innetgr.
45531 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45532 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45533 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45534 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45535
21fd49a9
UD
45536 * nscd/connections.c (register_traced_file): Don't register file
45537 for disabled databases.
45538
054c0457
UD
455392011-10-06 Ulrich Drepper <drepper@gmail.com>
45540
32b63198
UD
45541 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45542
054c0457
UD
45543 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45544 from tree and freeing node.
45545
64031225
JO
455462011-09-25 Jiri Olsa <jolsa@redhat.com>
45547
45548 * nss/nsswitch.c (__nss_database_lookup): Handle
45549 nss_parse_service_list out of memory case.
45550
0490345c
JO
455512011-09-15 Jiri Olsa <jolsa@redhat.com>
45552
45553 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45554 out of memory case.
45555
3a62d00d
AS
455562011-10-04 Andreas Schwab <schwab@redhat.com>
45557
45558 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45559 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45560 pass it down.
45561 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45562 elf_machine_rela, elf_machine_lazy_rel.
45563 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45564 (ELF_DYNAMIC_DO_REL): Likewise.
45565 (ELF_DYNAMIC_DO_RELA): Likewise.
45566 (ELF_DYNAMIC_RELOCATE): Likewise.
45567 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45568 to ELF_DYNAMIC_DO_REL.
45569 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45570 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45571 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45572 elf_machine_rela.
45573 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45574 skip_ifunc, don't call ifunc function if non-zero.
45575 (elf_machine_rela): Likewise.
45576 (elf_machine_lazy_rel): Likewise.
45577 (elf_machine_lazy_rela): Likewise.
45578 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45579 (elf_machine_lazy_rel): Likewise.
45580 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45581 Likewise.
45582 (elf_machine_lazy_rel): Likewise.
45583 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45584 Likewise.
45585 (elf_machine_lazy_rel): Likewise.
45586 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45587 (elf_machine_lazy_rel): Likewise.
45588 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45589 (elf_machine_lazy_rel): Likewise.
45590 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45591 (elf_machine_lazy_rel): Likewise.
45592 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45593 (elf_machine_lazy_rel): Likewise.
45594 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45595 (elf_machine_lazy_rel): Likewise.
45596 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45597 (elf_machine_lazy_rel): Likewise.
45598
68577918
UD
455992011-09-28 Ulrich Drepper <drepper@gmail.com>
45600
45601 * nss/nss_files/files-init.c (_nss_files_init): Use static
45602 initialization for all the *_traced_file variables.
45603
68822d74
AS
456042011-09-28 Andreas Schwab <schwab@redhat.com>
45605
45606 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45607
2056100b
RM
456082011-09-27 Roland McGrath <roland@hack.frob.com>
45609
45610 [BZ #13226]
45611 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45612
32c76b63
AS
456132011-09-27 Andreas Schwab <schwab@redhat.com>
45614
45615 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45616 Reread the line before reparsing it.
45617
bf972c9d
AS
456182011-09-26 Andreas Schwab <schwab@redhat.com>
45619
45620 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45621
e057a1b5
JM
456222011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45623 Maxim Kuvyrkov <maxim@codesourcery.com>
45624 Joseph Myers <joseph@codesourcery.com>
45625
45626 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45627 if needed for __stack_chk_guard.
45628
bc7e1c36
RM
456292011-09-19 Roland McGrath <roland@hack.frob.com>
45630
ecb1482f
RM
45631 * sysdeps/posix/spawni.c (script_execute): Always define it.
45632 It will be optimized away if unused.
45633 (maybe_script_execute): New function.
45634 (__spawni): Call it.
45635
bc7e1c36
RM
45636 * Makerules: Don't include tls.make.
45637 (config-tls): Always set to thread.
45638 * tls.make.c: File removed.
45639
1c3b002b
MF
456402011-09-19 Mike Frysinger <vapier@gentoo.org>
45641
45642 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45643 * config.make.in (CPPFLAGS-config): New substituted variable.
45644
2840865d
UD
456452011-09-15 Ulrich Drepper <drepper@gmail.com>
45646
88738eb6
UD
45647 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45648
cbf645a6 45649 [BZ #13192]
2840865d
UD
45650 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45651 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45652
b402e91a
RM
456532011-09-15 Roland McGrath <roland@hack.frob.com>
45654
45655 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45656 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45657 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45658 (CALL_FAIL): Likewise.
45659 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45660 (CALL_FAIL): Macro removed.
45661 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45662
4c1a1f71
UD
456632011-09-15 Ulrich Drepper <drepper@gmail.com>
45664
45665 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45666 for __FINITE_MATH_ONLY__ == 1.
45667
edc121be
AS
456682011-09-15 Andreas Schwab <schwab@redhat.com>
45669
45670 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45671 __ieee754_sqrt instead of sqrt.
45672 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45673 __ieee754_sqrtf instead of sqrtf.
45674 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45675 __floorf instead of floorf.
45676 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45677 __floorf, __truncf instead of floorf, truncf.
45678
cd205654
UD
456792011-09-14 Ulrich Drepper <drepper@gmail.com>
45680
ee4d0315
UD
45681 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45682
cd205654
UD
45683 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45684 __extern_always_inline.
45685 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45686 32-bit.
45687
48b67d71
AS
456882011-09-14 Andreas Schwab <schwab@redhat.com>
45689
45690 * elf/rtld.c (dl_main): Also relocate in dependency order when
45691 doing symbol dependency testing.
45692
1ae12c75
AS
456932011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45694
45695 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45696 Always define `refsym'.
45697
995a80df
AS
456982011-09-13 Andreas Schwab <schwab@redhat.com>
45699
e529793b
AS
45700 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45701 (__FD_ELT): Renamed from __FDELT.
45702 * misc/bits/select2.h (__FD_ELT): Likewise.
45703 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45704 __FD_MASK instead of __FDELT, __FDMASK.
45705 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45706 Likewise.
45707 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45708 Likewise.
45709
52d4fef8
AS
45710 * elf/Makefile (gen-ldd): Fix pattern.
45711
995a80df
AS
45712 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45713 (init_tls): Likewise.
45714
8682f8b0
UD
457152011-09-12 Ulrich Drepper <drepper@gmail.com>
45716
45717 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45718
de82006d
AS
457192011-09-12 Andreas Schwab <schwab@redhat.com>
45720
a7c8e6a1
AS
45721 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45722 `struct cmsghdr *' instead of `void *'.
45723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45724 Likewise.
45725
0f31fe77
AS
457262011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45727
45728 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45729 if non-absolute.
45730 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45731 ldd_rewrite_script.
0f31fe77 45732
32b4c839
UD
457332011-09-11 Ulrich Drepper <drepper@gmail.com>
45734
83cd1420
UD
45735 * configure.in: Remove --with-tls option.
45736 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45737 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45738 out in case it is missing.
45739 * sysdeps/ia64/elf/configure.in: Likewise.
45740 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45741 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45742 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45743 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45744 * sysdeps/sh/elf/configure.in: Likewise.
45745 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45746 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45747 * sysdeps/x86_64/elf/configure.in: Likewise.
45748 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45749 * sysdeps/mach/hurd/tls.h: Likewise.
45750
633f745d
UD
45751 [BZ #13067]
45752 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45753
f318beb8
UD
45754 [BZ #13090]
45755 * configure.in: Fix use of AC_INIT.
45756
32b4c839
UD
45757 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45758
3ce1f295
UD
457592011-09-10 Ulrich Drepper <drepper@gmail.com>
45760
bb016596
UD
45761 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45762 __set_errno.
8e58439c
UD
45763 * malloc/hooks.c: Likewise.
45764
aebae053 45765 [BZ #11929]
02d46fc4
UD
45766 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45767 variables statically.
45768 (narenas): Initialize.
45769 (list_lock): Initialize.
bb016596
UD
45770 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45771 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
45772 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45773 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45774 Add initializers to main_arena and mp_.
45775 (malloc_state): Remove pagesize member. Change all users to use
45776 GLRO(dl_pagesize).
45777
45778 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45779 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45780 is always initialized.
45781
22a89187
UD
45782 * malloc/malloc.c: Removed unused configurations and dead code.
45783 * malloc/arena.c: Likewise.
45784 * malloc/hooks.c: Likewise.
02d46fc4 45785 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 45786
d063d164
UD
45787 * include/tls.h: Removed. USE___THREAD must always be defined.
45788 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45789 * elf/dl-libc.c: Likewise.
45790 * elf/dl-tsd.c: Likewise.
45791 * include/errno.h: Likewise.
45792 * include/netdb.h: Likewise.
45793 * include/resolv.h: Likewise.
45794 * inet/herrno-loc.c: Likewise.
45795 * inet/herrno.c: Likewise.
45796 * malloc/arena.c: Likewise.
45797 * malloc/hooks.c: Likewise.
45798 * malloc/malloc.c: Likewise.
45799 * resolv/res-state.c: Likewise.
45800 * resolv/res_libc.c: Likewise.
45801 * sysdeps/i386/dl-machine.h: Likewise.
45802 * sysdeps/ia64/dl-machine.h: Likewise.
45803 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45804 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45805 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45806 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45807 * sysdeps/sh/dl-machine.h: Likewise.
45808 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45809 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45810 * sysdeps/unix/i386/sysdep.S: Likewise.
45811 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45812 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45813 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45814 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45815 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45816 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45817 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45819 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45821 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45822 * sysdeps/x86_64/dl-machine.h: Likewise.
45823 * tls.make.c: Likewise.
45824
3ce1f295
UD
45825 * configure.in: Remove --with-__thread option. Make tests for
45826 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45827 tls_model attribute fail if no support is available. Remove
45828 USE_IN_LIBIO.
45829 * Makeconfig: Adjust for dropped configure option. All features are
45830 now mandatory.
45831 * Makerules: Likewise.
45832 * Versions.def: Likewise.
45833 * argp/argp-fmtstream.c: Likewise.
45834 * argp/argp-fmtstream.h: Likewise.
45835 * argp/argp-help.c: Likewise.
45836 * assert/assert.c: Likewise.
45837 * config.h.in: Likewise.
45838 * config.make.in: Likewise.
45839 * configure: Likewise.
45840 * configure.in: Likewise.
45841 * csu/Versions: Likewise.
45842 * csu/init.c: Likewise.
45843 * elf/tst-audit2.c: Likewise.
45844 * elf/tst-tls10.c: Likewise.
45845 * elf/tst-tls10.h: Likewise.
45846 * elf/tst-tls11.c: Likewise.
45847 * elf/tst-tls12.c: Likewise.
45848 * elf/tst-tls14.c: Likewise.
45849 * elf/tst-tlsmod11.c: Likewise.
45850 * elf/tst-tlsmod12.c: Likewise.
45851 * elf/tst-tlsmod13.c: Likewise.
45852 * elf/tst-tlsmod13a.c: Likewise.
45853 * elf/tst-tlsmod14a.c: Likewise.
45854 * elf/tst-tlsmod15b.c: Likewise.
45855 * elf/tst-tlsmod16a.c: Likewise.
45856 * elf/tst-tlsmod16b.c: Likewise.
45857 * elf/tst-tlsmod7.c: Likewise.
45858 * elf/tst-tlsmod8.c: Likewise.
45859 * elf/tst-tlsmod9.c: Likewise.
45860 * gmon/gmon.c: Likewise.
45861 * grp/fgetgrent_r.c: Likewise.
45862 * grp/putgrent.c: Likewise.
45863 * hurd/fopenport.c: Likewise.
45864 * include/libc-symbols.h: Likewise.
45865 * include/tls.h: Likewise.
45866 * intl/gettextP.h: Likewise.
45867 * intl/loadinfo.h: Likewise.
45868 * locale/global-locale.c: Likewise.
45869 * locale/localeinfo.h: Likewise.
45870 * mach/devstream.c: Likewise.
45871 * malloc/arena.c: Likewise.
45872 * malloc/set-freeres.c: Likewise.
45873 * misc/err.c: Likewise.
45874 * misc/getttyent.c: Likewise.
45875 * misc/mntent_r.c: Likewise.
45876 * posix/getopt.c: Likewise.
45877 * posix/wordexp.c: Likewise.
45878 * pwd/fgetpwent_r.c: Likewise.
45879 * resolv/Versions: Likewise.
45880 * resolv/res_hconf.c: Likewise.
45881 * shadow/fgetspent_r.c: Likewise.
45882 * shadow/putspent.c: Likewise.
45883 * stdio-common/printf_fphex.c: Likewise.
45884 * stdio-common/tmpfile.c: Likewise.
45885 * stdlib/abort.c: Likewise.
45886 * stdlib/fmtmsg.c: Likewise.
45887 * sunrpc/auth_unix.c: Likewise.
45888 * sunrpc/clnt_perr.c: Likewise.
45889 * sunrpc/clnt_tcp.c: Likewise.
45890 * sunrpc/clnt_udp.c: Likewise.
45891 * sunrpc/clnt_unix.c: Likewise.
45892 * sunrpc/openchild.c: Likewise.
45893 * sunrpc/svc_simple.c: Likewise.
45894 * sunrpc/svc_tcp.c: Likewise.
45895 * sunrpc/svc_udp.c: Likewise.
45896 * sunrpc/svc_unix.c: Likewise.
45897 * sunrpc/xdr.c: Likewise.
45898 * sunrpc/xdr_array.c: Likewise.
45899 * sunrpc/xdr_rec.c: Likewise.
45900 * sunrpc/xdr_ref.c: Likewise.
45901 * sunrpc/xdr_stdio.c: Likewise.
45902
1248c1c4
PB
459032011-09-09 Ulrich Drepper <drepper@gmail.com>
45904
45905 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45906
459072011-07-03 Andreas Jaeger <aj@suse.de>
45908
45909 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45910 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45911 regenerate with gen-libm-tests.pl.
45912
459132010-05-12 Petr Baudis <pasky@suse.cz>
45914
45915 [BZ #11589]
45916 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45917 around j0() zero points by switching to j1().
45918 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45919 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45920 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45921 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45922
f22e1074
UD
459232011-09-09 Ulrich Drepper <drepper@gmail.com>
45924
f19009c1
UD
45925 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45926 instead of 0.
45927 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 45928 instead of 0.
f19009c1
UD
45929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45930 Patch in part by Pavel Roskin <proski@gnu.org>.
45931
3f8cc204
UD
45932 [BZ #13138]
45933 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45934 realloc.
45935 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45936 Free memory block if necessary.
45937
f22e1074
UD
45938 [BZ #12847]
45939 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45940 be NULL. Don't lock in this case.
45941
0a2349f9
RM
459422011-09-09 Roland McGrath <roland@hack.frob.com>
45943
45944 * elf/elf.h (ELFOSABI_GNU): New macro.
45945 (ELFOSABI_LINUX): Define to that.
45946
f3cdd467
DZ
459472011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45948
45949 * string/strncat.c (strncat): Undef the symbol in case it has been
45950 defined in bits/string.h.
45951
74718d13
UD
459522011-09-09 Ulrich Drepper <drepper@gmail.com>
45953
633e9e0f
UD
45954 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45955
0a2349f9 45956 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
45957 link map.
45958
f9924780
AJ
459592011-08-17 Andreas Jaeger <aj@suse.de>
45960
45961 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45962
7f5517aa
PP
459632011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45964 Ian Lance Taylor <iant@google.com>
45965
45966 * math/libm-test.inc (lround_test): New testcase.
45967 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45968
762011fe
UD
459692011-09-08 Ulrich Drepper <drepper@gmail.com>
45970
92963737
UD
45971 * Makefile: Remove support for automatic cvs check-ins.
45972 * Makerules: Likewise.
45973 * config.make.in: Likewise.
45974 * configure.in: Likewise.
45975 * intl/Makefile: Likewise.
45976 * locale/Makefile: Likewise.
45977 * po/Makefile: Likewise.
45978 * posix/Makefile: Likewise.
45979 * sysdeps/gnu/Makefile: Likewise.
45980 * sysdeps/mach/hurd/Makefile: Likewise.
45981 * sysdeps/sparc/sparc32/Makefile: Likewise.
45982
b0727fd8
JS
45983 [BZ #13118]
45984 * posix/Makefile (bug-regex32-ENV): Define.
45985 Patch by John Stanley <jpsinthemix@verizon.net>.
45986
a0f33f99
UD
45987 * misc/Makefile (headers): Add bits/select2.h.
45988 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45989 * misc/bits/select2.h: New file.
45990 * include/bits/select2.h: New file.
45991 * debug/Makefile (routines): Add fdelt_chk.
45992 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45993 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45994 FD_ISSET.
45995 * debug/fdelt_chk.c: New file.
45996
762011fe
UD
45997 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45998 * wcsmbs/test-wmemcmp.c: Likewise.
45999 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 46000 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
46001
460022011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46003
46004 * string/Makefile (strop-tests): Add memcmp.
46005 * string/test-wmemcmp.c: New file.
46006 * string/test-memcmp.c: Add wmemcmp support.
46007
7f513ec8
RM
460082011-09-08 Roland McGrath <roland@hack.frob.com>
46009
0442afb4
RM
46010 [BZ #13153]
46011 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46012 2011-07-19 change.
46013
7f513ec8
RM
46014 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46015 garbage value in a __mach_port_mod_refs call in the cases of the
46016 task-self and thread-self ports.
46017
a12b2239
ST
460182011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46019
46020 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46021
610f9ab4
AS
460222011-09-08 Andreas Schwab <schwab@redhat.com>
46023
7f513ec8 46024 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 46025
48882a1a
LD
460262011-09-07 Ulrich Drepper <drepper@gmail.com>
46027
b49865be
UD
46028 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46029
fdc86bc9
UD
46030 * elf/dl-libc.c (dlerror_run): Pass back error code from
46031 dl_catch_error.
46032
c966526a
UD
46033 [BZ #13123]
46034 * elf/dl-load.c (lose): Free l_origin if it is valid.
46035
48882a1a
LD
46036 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46037 names.
46038 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46039 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46040 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46041 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46042 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46043 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46044
77a2a8b4
AZ
460452011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46046
46047 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46048 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46049 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46050 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46051 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46052 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46053 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46054 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46055 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46056 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46057
24f579d8
AM
460582011-08-15 Alan Modra <amodra@gmail.com>
46059
46060 [BZ #13092]
46061 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46062 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46063 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46064 ppc_mcount to static-only-routines.
46065 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46066 __mcount_internal.
46067 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46068 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46069
3d4837df
UD
460702011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46071
46072 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46073 for finite and infinity parameters.
46074
22700377
WS
460752011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46076
46077 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46078 and add nop instructions for throughput optimization.
46079 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46080
5025581e
WS
460812011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46082
46083 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46084 aligned copy for power7 with vector-scalar instructions.
46085 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46086
08a300c9
L
460872011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46088
46089 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46090 AVX check.
46091
59178ef9
AS
460922011-09-07 Andreas Schwab <schwab@redhat.com>
46093
46094 [BZ #13144]
46095 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46096 last change.
46097
e38ba7ab
UD
460982011-09-07 Ulrich Drepper <drepper@gmail.com>
46099
46100 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46101 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46102 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46103 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46104 clock_gettime.
46105
d53a73ac
UD
461062011-09-06 Ulrich Drepper <drepper@gmail.com>
46107
fc8bffcc
UD
46108 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46109 Forgot to demangle the pointer.
46110
ceaa0c5d
UD
46111 * sysdeps/i386/sysdep.h: Define atom_text_section.
46112 * sysdeps/x86_64/sysdep.h: Likewise.
46113 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46114 section with atom_text_section.
46115 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46116 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46117 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46118 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46119 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46120
a77d3c17
UD
46121 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46122 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46123 already be defined. Change to take two parameters and don't assign
46124 result to variable. Adjust all users.
46125 Define INTERNAL_GETTIME if not already defined.
46126 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46127 call.
46128 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46129 HAVE_CLOCK_GETTIME_VSYSCALL.
46130 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46131
d53a73ac
UD
46132 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46133 gettimeofday vsyscall, just use time.
46134
a8f84144
AS
461352011-09-06 Andreas Schwab <schwab@redhat.com>
46136
46137 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46138 <errno.h>.
46139
ef606249
UD
461402011-09-06 Ulrich Drepper <drepper@gmail.com>
46141
46142 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46143 syscall on x86-64.
46144 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46145 syscall.
46146 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46147 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46148 syscall if possible.
46149
6585cb60
UD
461502011-09-05 Ulrich Drepper <drepper@gmail.com>
46151
46152 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46153 e_ident. Don't pass to find_mapsXX.
46154 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46155
a5f524e4
LD
461562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46157
46158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46159 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46160 * sysdeps/x86_64/multiarch/strchr.S: Update.
46161 Check bit_slow_BSF bit.
46162 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46163 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46164 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46165
554881ef
UD
461662011-09-05 Ulrich Drepper <drepper@gmail.com>
46167
d96de963
UD
46168 [BZ #13134]
46169 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46170 before glibc 2.15.
46171 (tryshell): Define.
46172 (__spawni): Change last parameter to be flag. Test
46173 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46174 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46175 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46176 * posix/spawni.c: Likewise.
46177 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46178 * posix/spawnp.c: Likewise. Change normal version to use
46179 SPAWN_XFLAGS_USE_PATH.
46180 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46181 SPAWN_XFLAGS_TRY_SHELL.
46182
d48e5868
UD
46183 [BZ #13150]
46184 * posix/glob.h: Remove gcc 1.x support.
46185
554881ef
UD
46186 [BZ #13068]
46187 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46188
693fb948
LD
461892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46190
46191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46192 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46193 strrchr-sse2-bsf
46194 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46195 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46196 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46197 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46198 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46199 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46200
1b48c537
UD
462012011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46202
49d42c37
UD
46203 * sysdeps/x86_64/wcscmp.S: New file.
46204
1b48c537
UD
46205 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46206 wcscmp-c wcscmp-sse2
46207 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46208 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46209 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46210 * wcsmbs/wcscmp.c: Allow renaming.
46211
15c95c5d
DM
462122011-09-05 David S. Miller <davem@davemloft.net>
46213
46214 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46215 stack slot, rather than the struct return pointer slot.
46216 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46217 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46219 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46220
2f0ad8f3
UD
462212011-09-05 Ulrich Drepper <drepper@gmail.com>
46222
d88ae418
UD
46223 * po/ja.po: Update from translation team.
46224
2f0ad8f3
UD
46225 [BZ #13144]
46226 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46227 kernel in 64-bit binaries.
46228
5f4318d1
DM
462292011-09-01 David S. Miller <davem@davemloft.net>
46230
46231 * elf/elf.h (HWCAP_SPARC_*): Move to..
46232 * sysdeps/sparc/sysdep.h: this new file and add new values.
46233 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46234 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46235 _DL_HWCAP_COUNT to 24.
46236 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46237 entries.
46238 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46239 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46240 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46241 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46242 instead of magic constants.
46243 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46244
3ba57516
DM
462452011-08-31 David S. Miller <davem@davemloft.net>
46246
46247 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46248 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46249 Reimplement to do errno handling inline.
46250 (SYSCALL_ERROR_HANDLER): New macro.
46251 (__SYSCALL_STRING): Do not do errno handling in asm.
46252 (__CLONE_SYSCALL_STRING): Delete.
46253 (__INTERNAL_SYSCALL_STRING): Delete.
46254 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46255 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46256 (PSEUDO): Reimplement to do errno handling inline.
46257 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46258 (SYSCALL_ERROR_HANDLER): New macro.
46259 (__SYSCALL_STRING): Do not do errno handling in asm.
46260 (__CLONE_SYSCALL_STRING): Delete.
46261 (__INTERNAL_SYSCALL_STRING): Delete.
46262 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46263 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46264 i386.
46265 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46266 (inline_syscall*): Add 'err' argument.
46267 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46268 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46269 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46270 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46271
46272 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46273 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46274
2bc17433
AS
462752011-08-30 Andreas Schwab <schwab@redhat.com>
46276
46277 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46278
fbeb5f4d
JO
462792011-08-29 Jiri Olsa <jolsa@redhat.com>
46280
46281 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46282 directive.
46283
ad69cc26
DM
462842011-08-24 David S. Miller <davem@davemloft.net>
46285
46286 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46287
39dd69df
AS
462882011-08-24 Andreas Schwab <schwab@redhat.com>
46289
46290 * elf/Makefile: Add rules to build and run unload8 test.
46291 * elf/unload8.c: New file.
46292 * elf/unload8mod1.c: New file.
46293 * elf/unload8mod1x.c: New file.
46294 * elf/unload8mod2.c: New file.
46295 * elf/unload8mod3.c: New file.
46296
46297 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46298 it wasn't used.
46299
2c0b250a
DM
463002011-08-23 David S. Miller <davem@davemloft.net>
46301
46302 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46303 subtract stack bias.
46304 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46305 %sp not %fp in calculations.
46306 (_JMPBUF_UNWINDS_ADJ): Likewise.
46307
22044b48
DM
46308 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46309 (aio_suspend): Call it to force an exception region around the
46310 AIO_MISC_WAIT() invocation.
46311
2cae4995
AS
463122011-08-23 Andreas Schwab <schwab@redhat.com>
46313
46314 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46315 backslash.
46316
873a772e
AJ
463172011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46318
46319 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46320 protection macro.
46321 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46322 and <dl-machine.h>.
46323 (Elf64_FuncDesc): Remove.
46324
25ad0df1
DM
463252011-08-22 David S. Miller <davem@davemloft.net>
46326
46327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46328 sigaltstack check, add missing cfi directives.
46329 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46330 missing cfi directives, and sigaltstack handling.
46331
e888bcbe
AS
463322011-08-16 Andreas Schwab <schwab@redhat.com>
46333
46334 [BZ #11724]
46335 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46336 object is seen twice.
46337 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46338
46339 * elf/Makefile (distribute): Add tst-initorder2.c.
46340 (tests): Add tst-initorder2.
46341 (modules-names): Add tst-initorder2a tst-initorder2b
46342 tst-initorder2c tst-initorder2d. Add rules to build them.
46343 ($(objpfx)tst-initorder2.out): New rule.
46344 * elf/tst-initorder2.c: New file.
46345 * elf/tst-initorder2.exp: New file.
46346
87162f46
AS
463472011-08-22 Andreas Schwab <schwab@redhat.com>
46348
70538b7f
AS
46349 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46350
f55ffe58
AS
46351 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46352 dependencies back to end of function.
46353
87162f46
AS
46354 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46355 $(elfobjdir)/ld.so.
46356
91b392a4
UD
463572011-08-21 Ulrich Drepper <drepper@gmail.com>
46358
46359 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46360 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46361 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46362 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46363 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46364 of __vdso_gettimeofday.
46365 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46366 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46367 attribute_hidden.
46368 (_libc_vdso_platform_setup): Remove initialization of
46369 __vdso_gettimeofday and __vdso_time.
46370
5c43483f
UD
463712011-08-20 Ulrich Drepper <drepper@gmail.com>
46372
775a77e7
UD
46373 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46374 and fgetc_unlocked.
46375 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46376 getc_unlocked.
89f447ed 46377
49c74ba9
UD
46378 * elf/dl-open.c (add_to_global): Report additions to the global scope
46379 for LD_DEBUG=scopes.
46380 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 46381 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 46382
5c43483f
UD
46383 [BZ #13114]
46384 * stdio-common/Makefile (tests): Add bug24.
46385 * stdio-common/bug24.c: New file.
46386
a101b025
AJ
463872011-08-19 Andreas Jaeger <aj@suse.de>
46388
46389 [BZ #13114]
46390 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46391 non-existant file when using close-on-exec mode.
46392
c88f1766
UD
463932011-08-20 Ulrich Drepper <drepper@gmail.com>
46394
0276a718
UD
46395 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46396 the very first instruction.
46397
c88f1766
UD
46398 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46399 the CFI state in the end.
46400 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46401 inclusion of dl-trampoline.h.
46402 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46403
51ccffa0
AS
464042011-08-19 Andreas Schwab <schwab@redhat.com>
46405
94d7165f
AS
46406 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46407 expectations for long double.
46408
51ccffa0
AS
46409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46410 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46411
fd708658 464122011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
46413
46414 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46415 artificual limit depends upon the system page size.
46416
44f0a71e
UD
464172011-08-17 Ulrich Drepper <drepper@gmail.com>
46418
46419 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46420 * resolv/Makefile: Define CFLAGS-libresolv.
46421
8de79a24
AS
464222011-08-17 Andreas Schwab <schwab@redhat.com>
46423
46424 * nss/makedb.c (compute_tables): Make variables used in nested
46425 function static.
46426
27724598
UD
464272011-08-17 Ulrich Drepper <drepper@gmail.com>
46428
c5305d88
UD
46429 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46430 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46431 if buffer was too small.
46432
27724598
UD
46433 * elf/pldd.c (main): Attach to all threads in the process.
46434 Rewrite /proc handling to use *at functions.
46435
076fe015
UD
464362011-08-16 Ulrich Drepper <drepper@gmail.com>
46437
174baab3
UD
46438 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46439 specifies first scope to show.
46440 (dl_open_worker): Update callers. Move printing scope of new
46441 object to before the relocation.
44f0a71e 46442 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
46443 * sysdeps/generic/ldsodefs.h: Update declaration.
46444
076fe015
UD
46445 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46446 string for the scope number.
46447
a60df2c3
UD
464482011-08-14 Ulrich Drepper <drepper@gmail.com>
46449
46450 * nscd/servicescache.c (cache_addserv): Make sure written is always
46451 initialized.
46452
5e4287d1
RM
464532011-08-14 Roland McGrath <roland@hack.frob.com>
46454
85ae0589
RM
46455 * sysdeps/i386/i486/bits/atomic.h
46456 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46457 statement expression, so as to suppress "set but not used" warning.
46458 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46459
69f63097
RM
46460 * string/strncat.c (STRNCAT): Use prototype definition.
46461
675456ef
RM
46462 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46463 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46464 -Iprograms here.
46465 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46466 (localedef-modules): Add localedef.
46467 (locale-modules): Add locale.
46468
5e4287d1
RM
46469 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46470 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46471 to avoid a warning.
46472
9c96ff23
DM
464732011-08-14 David S. Miller <davem@davemloft.net>
46474
46475 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46476 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46477
f9ddf089
UD
464782011-08-13 Ulrich Drepper <drepper@gmail.com>
46479
44f0a71e 46480 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
46481 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46482 * elf/rtld.c (dl_main): Set l_name of vDSO.
46483 Call _dl_show_scope when DL_DEBUG_SCOPES.
46484 (process_dl_debug): Recognize scopes flag and also set it for all.
46485 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46486 Declare _dl_show_scope.
46487
1dc27704
UD
46488 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46489 (do_dlopen): Pass caller_dlopen to dl_open.
46490 (__libc_dlopen_mode): Initialize caller_dlopen.
46491
f9ddf089
UD
46492 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46493 of libc. Make tolower call locale-independent. Optimize a bit by
46494 using isdigit instead of isalnum.
46495 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46496
9ac533d3
UD
464972011-08-12 Ulrich Drepper <drepper@gmail.com>
46498
46499 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46500 was a dependency or dynamically loaded.
46501
89edf2e9
UD
465022011-08-11 Ulrich Drepper <drepper@gmail.com>
46503
8e999d29
UD
46504 * intl/l10nflist.c: Allow architecture-specific pop function.
46505 * sysdeps/x86_64/l10nflist.c: New file.
46506
89edf2e9
UD
46507 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46508 classification.
46509
14d96785
AS
465102011-08-10 Andreas Schwab <schwab@redhat.com>
46511
46512 * include/dirent.h: Add libc_hidden_proto for scandirat and
46513 scandirat64. Don't declare __scandirat64.
46514 * dirent/scandirat.c: Add libc_hidden_def.
46515 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46516 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46517
6761ac04
DM
465182011-08-10 David S. Miller <davem@davemloft.net>
46519
46520 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46521 enum.
46522 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46523 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46524 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46525
c55fbd1e
UD
465262011-08-09 Ulrich Drepper <drepper@gmail.com>
46527
46528 * Versions.def [libc]: Add GLIBC_2.15.
46529 * dirent/Makefile (routines): Add scandirat and scandirat64.
46530 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46531 GLIBC_2.15.
46532 * dirent/dirent.h: Declare scandirat and scandirat64.
46533 * dirent/scandirat.c: New file.
46534 * dirent/scandirat64.c: New file.
46535 * sysdeps/wordsize-64/scandirat.c: New file.
46536 * sysdeps/wordsize-64/scandirat64.c: New file.
46537 * dirent/opendir.c: Define opendirat.
46538 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46539 using scandirat.
46540 * dirent/scandir64.c: Adjust for scandir.c change.
46541 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46542 __scandirat64, and __scandir_cancel_handler.
46543 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46544 additional parameter and use openat instead of open (outside of ld.so).
46545 Add new __opendir as wrapper around __opendirat.
46546 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46547 here without requiring old scandirat implementation.
46548
879165f2
UD
465492011-08-08 Ulrich Drepper <drepper@gmail.com>
46550
46551 * dirent/scandir.c (cancel_handler): Renamed to
46552 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46553 defined. Adjust users.
46554 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46555 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46556
cb7e923b
UD
465572011-08-04 Ulrich Drepper <drepper@gmail.com>
46558
16292edd
UD
46559 * string/test-string.h (IMPL): Use __STRING to expand name and then
46560 stringify it.
46561
cb7e923b
UD
46562 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46563 of cleanups.
46564
cff82933
LD
465652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46566
46567 * string/Makefile: Update.
46568 (strop-tests): Append strncat.
46569 * string/test-wcscmp.c: New file.
46570 New comprehensive test for wcscmp.
46571 * string/test-strcmp.c: Update.
46572 (WIDE): New define.
46573
9be9bfcc
AS
465742011-07-22 Andreas Schwab <schwab@redhat.com>
46575
46576 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46577 line.
46578
2e96f1c7
AS
465792011-07-26 Andreas Schwab <schwab@redhat.com>
46580
46581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46582 encoding to ACE if AI_IDN.
46583
85188888
JJ
465842011-08-01 Jakub Jelinek <jakub@redhat.com>
46585
46586 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46587 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46588
5fa16e9b
LD
465892011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46590
46591 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46592 Fix overflow bug in strncat.
46593 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46594
46595 * string/test-strncat.c: Update.
46596 Add new tests for checking overflow bugs.
46597
465982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46599
46600 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46601 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46602 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46603 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46604 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46605 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46606 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46607 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46608 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46609
46610 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46611 (USE_AS_STRCAT): Define.
46612 Add strcat and strncat support.
46613 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46614
8c1a459f
AS
466152011-07-25 Andreas Schwab <schwab@redhat.com>
46616
46617 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46618 __n bigger than INT_MAX+1.
46619 (__strncmp_g): Likewise.
46620
bba33c28
UD
466212011-07-23 Ulrich Drepper <drepper@gmail.com>
46622
798be72d
UD
46623 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46624 * libio/stido.h: Likewise.
46625
8accd4dc
UD
46626 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46627 (AF_NFC): Define.
46628 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46629 (AF_NFC): Define.
46630
cbff0d96
UD
46631 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46632 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46633 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46634 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46635 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46636
9191c04a
UD
46637 [BZ #13021]
46638 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46639 installed.
46640
bba33c28
UD
46641 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46642 typo.
46643 (_dl_x86_64_save_sse): Likewise.
46644
90f139dd
UD
466452011-07-22 Ulrich Drepper <drepper@gmail.com>
46646
1aae088a
UD
46647 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46648 OSXSAVE.
46649 (_dl_x86_64_save_sse): Likewise.
46650
8e2045f5
UD
46651 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46652
90f139dd
UD
46653 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46654
1d002f25
AS
466552011-07-21 Andreas Schwab <schwab@redhat.com>
46656
46657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46658 change.
46659 (_dl_x86_64_save_sse): Use correct AVX check.
46660
21137f89
UD
466612011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46662
46663 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46664 bug in strncpy/strncat.
46665 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46666
a65c0b7a
UD
466672011-07-21 Ulrich Drepper <drepper@gmail.com>
46668
46669 * string/tester.c (test_strcat): Add tests for different alignments
46670 of source and destination.
46671 (test_strncat): Likewise.
46672
6986b98a
UD
466732011-07-20 Ulrich Drepper <drepper@gmail.com>
46674
90bb2039
UD
46675 [BZ #12852]
46676 * posix/glob.c (glob): Check passed in values before using them in
46677 expressions to avoid some overflows.
46678 (glob_in_dir): Likewise.
46679
5644ef54
UD
46680 [BZ #13007]
46681 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46682 check for AVX enablement so that we don't crash with old kernels and
46683 new hardware.
46684 * elf/tst-audit4.c: Add same checks here.
46685 * elf/tst-audit6.c: Likewise.
46686
46687 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 46688
bfc9dc9b
AS
466892011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46690
46691 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46692
702e64bb
UD
466932011-07-20 Ulrich Drepper <drepper@gmail.com>
46694
46695 * po/cs.po: Update from translation team.
46696 * po/bg.po: Likewise.
46697
295e904f
MP
466982011-07-12 Marek Polacek <mpolacek@redhat.com>
46699
46700 * misc/sys/cdefs.h: Add support for const attribute.
46701 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46702 to gnu_dev_{major,minor,makedev} functions.
46703
3ff94596
MP
467042011-07-20 Marek Polacek <mpolacek@redhat.com>
46705
46706 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46707
28b59fca
AS
467082011-07-20 Andreas Schwab <schwab@redhat.com>
46709
46710 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46711 strlen results.
46712
19df733e
AK
467132011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46714
46715 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46716 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46717 register in order to avoid conflicts with the soft frame pointer
46718 being held in r11 when necessary.
46719 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46720 (INTERNAL_VSYSCALL_NCS): Likewise.
46721
c8835729
MP
467222011-07-14 Marek Polacek <mpolacek@redhat.com>
46723
46724 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46725 * elf/dl-fini.c (_dl_fini): Adjust caller.
46726 * elf/dl-close.c (_dl_close_worker): Likewise.
46727 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46728
b902330c
MP
467292011-07-15 Marek Polacek <mpolacek@redhat.com>
46730
8991e135
MP
46731 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46732 "aux_cache->nlibs < 0".
46733
b902330c
MP
46734 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46735 in the reload-count case.
46736
99710781
LD
467372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46738
46739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46740 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46741 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46742 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46743 * sysdeps/x86_64/multiarch/strcat.S: New file.
46744 * sysdeps/x86_64/multiarch/strncat.S: New file.
46745 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46746 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46747 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46748 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46749 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46750 (USE_AS_STRCAT): Define.
46751 Add strcat and strncat support.
46752 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46753 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46754 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46755 * string/strncat.c: Update.
46756 (USE_AS_STRNCAT): Define.
46757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46758 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46759 and i7.
46760 * sysdeps/x86_64/multiarch/init-arch.h
46761 (bit_Prefer_PMINUB_for_stringop): New.
46762 (index_Prefer_PMINUB_for_stringop): Likewise.
46763 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46764 bit_Prefer_PMINUB_for_stringop.
46765
7dc6bd90
UD
467662011-07-19 Ulrich Drepper <drepper@gmail.com>
46767
46768 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46769 buffer64.
46770 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46771 of casting of buffer.
46772 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46773 buffer32 and buffer64.
46774 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46775 writes instead of casting of buffer.
46776 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46777 buffer32.
46778 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46779 casting of buffer.
46780
e0e72284
AS
467812011-07-19 Andreas Schwab <schwab@redhat.com>
46782
46783 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46784
feb1eb0b
UD
467852011-07-19 Ulrich Drepper <drepper@gmail.com>
46786
46787 * nscd/nscd.c (termination_handler): Don't do anything for a database
46788 if it has not yet been initialized.
46789
298711ff
UD
467902011-07-18 Ulrich Drepper <drepper@gmail.com>
46791
46792 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46793
467942011-07-15 Marek Polacek <mpolacek@redhat.com>
46795
46796 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46797
f9d68389
UD
467982011-07-18 Ulrich Drepper <drepper@gmail.com>
46799
46800 * po/nl.po: Update from translation team.
46801 * po/sv.po: Likewise.
46802
db290cf5
RM
468032011-07-16 Roland McGrath <roland@hack.frob.com>
46804
46805 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46806 now disallowed by GCC.
5c550700 46807
fd5e21c7
RM
46808 * configure.in (use-default-link): Default to yes if a test -shared
46809 link meets our qualifications.
46810 * configure: Regenerated.
46811
5c550700
RM
46812 * config.make.in (output-format): New variable.
46813 * configure.in: Check for ld --print-output-format support.
46814 * configure: Regenerated.
46815 * Makerules ($(common-objpfx)format.lds)
46816 [$(output-format) != unknown]: Just use $(output-format),
46817 instead of the linker-script munging.
46818
9fa2c032
RM
468192011-07-14 Roland McGrath <roland@hack.frob.com>
46820
a6928d51
RM
46821 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46822 of $(common-objpfx)shlib.lds.
46823 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46824
661607b3
RM
46825 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46826 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46827
9fa2c032
RM
46828 * configure.in (-z relro check): Adjust test code to add a large
46829 writable data section after it.
46830 * configure: Regenerated.
46831
defe9061
RM
468322011-07-11 Roland McGrath <roland@hack.frob.com>
46833
46834 * configure.in (-z relro check): Fix test code to make the variable
46835 truly const.
46836 * configure: Regenerated.
46837
319b9ad4
UD
468382011-07-11 Ulrich Drepper <drepper@gmail.com>
46839
46840 * nscd/nscd.h (struct traced_file): Define.
46841 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46842 elements. Add traced_files.
46843 (inotify_fd): Declare.
46844 (register_traced_file): Declare.
46845 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46846 (inotify_fd): Export.
46847 (resolv_conf_descr): Remove.
46848 (nscd_init): Move inotify descriptor creation to main.
46849 Don't register files for notification here.
46850 (register_traced_file): New function.
46851 (invalidate_cache): Don't use reset_res to determine whether to call
46852 res_init, go through the list of registered files.
46853 (main_loop_poll): The inotify descriptors are now stored in the
46854 structures for the traced files.
46855 (main_loop_epoll): Likewise
46856 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46857 to __nss_disable_nscd.
46858 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46859 for a database anymore. Check the records for all the registered
46860 files instead.
46861 * nss/Makefile (libnss_files-routines): Add files-init.
46862 (libnss_db-routines): Add db-init.
46863 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46864 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46865 * nss/nss_db/db-init.c: New file.
46866 * nss/nss_files/files-init.c: New file.
46867 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46868 __nss_lookup_function.
46869 (__nss_lookup_function): Call nss_load_library.
46870 (nss_load_all_libraries): New function.
46871 (__nss_disable_nscd): Take parameter with callback function for files
46872 to register. Set is_nscd. Load all the DSOs for the NSS modules
46873 used for the cached services.
46874 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46875 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46876 options for features to all the files in nscd.
46877
46878 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46879
23bee3e8
RM
468802011-07-10 Roland McGrath <roland@hack.frob.com>
46881
46882 * csu/elf-init.c (__libc_csu_init): Comment typo.
46883
46a5b7f0
UD
468842011-07-09 Ulrich Drepper <drepper@gmail.com>
46885
46886 * po/pl.po: Update from translation team.
46887 * po/ja.po: Likewise.
46888 * po/ru.po: Likewise.
46889 * po/ko.po: Likewise.
46890 * po/fr.po: Likewise.
46891
d30cf5bb
RM
468922011-07-09 Roland McGrath <roland@hack.frob.com>
46893
113ddea4
RM
46894 * configure.in (.ctors/.dtors header and trailer check):
46895 Use an empirical test on a built program.
46896 * configure: Regenerated.
46897
574920b4
RM
46898 * configure.in (-z relro check): Use an empirical test on a built DSO.
46899 Detect, but do not require, on ia64.
46900 * configure: Regenerated.
46901
d30cf5bb
RM
46902 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46903 Update tests that use readelf to use $READELF instead.
46904 * configure: Regenerated.
46905
8538fdb3
UD
469062011-07-08 Ulrich Drepper <drepper@gmail.com>
46907
46908 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46909 if the result is not used.
46910
04d08991
AJ
469112011-07-05 Andreas Jaeger <aj@suse.de>
46912
46913 [BZ#9696]
46914 * stdlib/tst-strtod.c: Add testcase.
46915
de283087
AD
469162011-07-07 Ulrich Drepper <drepper@gmail.com>
46917
4e5f31c8 46918 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 46919 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
46920 The latter has a higher limit. Take additional parameter to pass to
46921 the new function.
46922 (__pathconf): Pass file to __statfs_link_max.
46923 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46924 __statfs_link_max.
46925 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46926 __statfs_link_max.
46927
de283087
AD
46928 [BZ #12868]
46929 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46930 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46931 Handle Lustre.
46932 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46933 (__statfs_filesize_max): Likewise.
46934 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46935
c75fa153
AJ
469362011-07-05 Andreas Jaeger <aj@suse.de>
46937
46938 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46939
1a544854
UD
469402011-07-06 Marek Polacek <mpolacek@redhat.com>
46941
46942 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46943 `status' variable.
46944 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46945 Likewise.
46946
6f0eec67
UD
469472011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46948
46949 * Makefile (strop-tests): Add strncat.
46950 * string/test-strncat.c: New file.
46951
aae30307
UD
469522011-06-30 Marek Polacek <mpolacek@redhat.com>
46953
46954 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46955
c0cfb5eb
UD
469562011-06-21 Andreas Jaeger <aj@suse.de>
46957
46958 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46959 Copy rule from iconvdata/Makefile.
46960
01636b21
UD
469612011-07-06 Ulrich Drepper <drepper@gmail.com>
46962
46963 [BZ #12922]
46964 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46965 but no long options are defined, just return 'W'.
46966
9895c8bc
UD
469672011-06-22 Marek Polacek <mpolacek@redhat.com>
46968
46969 [BZ #9696]
46970 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46971
5d4cf042
UD
469722011-07-06 Ulrich Drepper <drepper@gmail.com>
46973
46974 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46975 netgroups to read.
960e5535 46976 (innetgr): Likewise.
5d4cf042 46977
751eb97e
RM
469782011-07-05 Roland McGrath <roland@hack.frob.com>
46979
46980 * config.make.in (install_root): Default to $(DESTDIR).
46981
f15f1e45
UD
469822011-07-05 Ulrich Drepper <drepper@gmail.com>
46983
46984 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46985
4e34ac6a
RM
469862011-07-02 Roland McGrath <roland@hack.frob.com>
46987
5e9b6af4
RM
46988 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46989
84f9ea0f
RM
46990 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46991 containing directory rather than embedding absolute directory names.
46992
ea5ee9f7
RM
46993 * scripts/check-local-headers.sh: Rewritten using awk.
46994 Match by word, not by line. Print error messages for matches.
46995 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46996
1b74661a
RM
46997 * Makerules [shlib-lds-flags empty]:
46998 ($(common-objpfx)libc_pic.opts): New target.
46999 ($(common-objpfx)libc_pic.os.clean): New target.
47000 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47001
47002 * config.make.in (OBJCOPY): New variable.
47003 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47004 * configure: Regenerated.
47005
f781ef40
RM
47006 * config.make.in (use-default-link): New variable.
47007 * configure.in (use_default_link): Grok --with-default-link to set it.
47008 * configure: Regenerated.
47009 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47010 (shlib-lds, shlib-lds-flags): Define to empty.
47011
2d4fa81e
RM
47012 * Makerules (shlib-lds): New variable.
47013 (shlib-lds-flags): New variable.
47014 (build-shlib, build-moduile, build-module-asneeded): Use it.
47015 ($(common-objpfx)libc.so): Use $(shlib-lds).
47016 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47017 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47018
31fffa6b
RM
47019 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47020 DT_FLAGS/DT_FLAGS_1 with zero flags.
47021
4e34ac6a
RM
47022 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47023 linker script munging.
47024
fcfc776b
UD
470252011-07-02 Ulrich Drepper <drepper@gmail.com>
47026
47027 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47028 as 128-bit value.
47029 * crypt/sha512.c (sha512_process_block): Perform total addition using
47030 128-bit if possible.
47031 (__sha512_finish_ctx): Likewise.
47032 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47033 as 64-bit value.
47034 * crypt/sha256.c (SWAP64): Define.
47035 (sha256_process_block): Perform total addition using 64-bit if
47036 possible.
47037 (__sha256_finish_ctx): Likewise.
47038
99231d9a
UD
470392011-07-01 Ulrich Drepper <drepper@gmail.com>
47040
47041 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47042 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47043 * nscd/hstcache.c (cache_addhst): Likewise.
47044 * nscd/grpcache.c (cache_addgr): Likewise.
47045 * nscd/aicache.c (addhstaiX): Likewise
47046 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47047
445b4a53
TK
470482011-07-01 Thorsten Kukuk <kukuk@suse.de>
47049
47050 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47051 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47052 * nscd/hstcache.c (cache_addhst): Likewise.
47053 * nscd/grpcache.c (cache_addgr): Likewise.
47054 * nscd/aicache.c (addhstaiX): Likewise
47055
6d4d8e8e
AS
470562011-07-01 Andreas Schwab <schwab@redhat.com>
47057
47058 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47059 domain only when needed.
47060
89f654c5
AS
470612011-06-30 Andreas Schwab <schwab@redhat.com>
47062
47063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47064 is always restored.
47065
cf3b23ff
UD
470662011-06-29 Ulrich Drepper <drepper@gmail.com>
47067
47068 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47069 are re-adding the entry.
47070 * nscd/servicescache.c (cache_addserv): Likewise.
47071
751626f9
AJ
470722011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47073
47074 * sysdeps/generic/dl-irel.h: fix protection against multiple
47075 inclusions.
47076 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47077
9113ea1f
UD
470782011-06-28 Ulrich Drepper <drepper@gmail.com>
47079
5c0b8d90
UD
47080 [BZ #12935]
47081 * malloc/memusage.sh: Fix quoting in message.
47082 * debug/xtrace.sh: Likewise.
47083
9113ea1f
UD
47084 * configure.in: Remove support for --experimental-malloc option, make
47085 it the default.
47086 * config.make.in: Likewise.
47087 * malloc/Makefile: Likewise.
47088
a4172181
AS
470892011-06-27 Andreas Schwab <schwab@redhat.com>
47090
47091 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47092 two-byte characters.
47093
78a7eee7
RM
470942011-06-27 Roland McGrath <roland@hack.frob.com>
47095
62bede13
RM
47096 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47097 AC_CACHE_CHECK invocation.
47098 * configure: Regenerated.
47099
78a7eee7
RM
47100 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47101
5ce33a62
UD
471022011-06-27 Ulrich Drepper <drepper@gmail.com>
47103
034807a9
UD
47104 [BZ #12350]
47105 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47106 bit from old_res_options.
47107
4902da17
UD
47108 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47109
5ce33a62
UD
47110 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47111 value type for setfct.
47112
c2344f56
L
471132011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47114
47115 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47116 __gettimeofday instead of gettimeofday.
47117
68468076
UD
471182011-06-26 Ulrich Drepper <drepper@gmail.com>
47119
47120 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47121
acb0d739
L
471222011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47123
47124 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47125
47126 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47127 info.
47128
8912479f
L
471292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47130
47131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47132 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47133 strcpy-sse2-unaligned strncpy-sse2-unaligned
47134 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47135 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47136 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47137 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47138 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47139 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47140 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47141 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47142 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47143 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47144 (STRCPY): Support SSE2 and SSSE3 versions.
47145
d5495a11
UD
471462011-06-24 Ulrich Drepper <drepper@gmail.com>
47147
47148 [BZ #12874]
47149 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47150 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47151 kernels which artificially limit size of requests.
47152
0b1cbaae
L
471532011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47154
47155 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47156 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47157 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47158 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47159 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47160 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47161 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47162 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47163 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47164 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47165 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47166 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47167 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47168 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47169 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47171 Enable unaligned load optimization for Intel Core i3, i5 and i7
47172 processors.
47173 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47174 Define.
47175 (index_Fast_Unaligned_Load): Define.
47176 (HAS_FAST_UNALIGNED_LOAD): Define.
47177
07f494a0
MP
471782011-06-23 Marek Polacek <mpolacek@redhat.com>
47179
47180 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47181
fa3fc0fe
UD
471822011-06-22 Ulrich Drepper <drepper@gmail.com>
47183
47184 [BZ #12907]
47185 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47186 until it is clear that the information is realy needed.
47187 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47188
e12df166
AS
471892011-06-22 Andreas Schwab <schwab@redhat.com>
47190
47191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47192
852eb34d
UD
471932011-06-22 Ulrich Drepper <drepper@gmail.com>
47194
84e2a551
UD
47195 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47196 /sys/devices/system/cpu/online if it is usable.
47197
852eb34d
UD
47198 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47199 reading the information from the /proc filesystem to once a second.
47200
6e502e19
UD
472012011-06-21 Andreas Jaeger <aj@suse.de>
47202
47203 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47204 NULL after inclusion of kernel headers.
47205
75d39ff2
UD
472062011-06-21 Ulrich Drepper <drepper@gmail.com>
47207
51f9aa6a
UD
47208 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47209 calls to internal_setent.
47210
c0244a9d
UD
47211 [BZ #12885]
47212 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47213 addresses using gethostbyname4_r ignore IPv4 addresses.
47214
c5e3c2ae
UD
47215 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47216 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47217
75d39ff2
UD
47218 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47219
42675c6f
DM
472202011-06-20 David S. Miller <davem@davemloft.net>
47221
47222 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47223 inclusions.
47224 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47225
47226 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47227 (elf_irel): Use it.
47228 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47229 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47230 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47231 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47232 * sysdeps/x86_64/dl-irel.h: Likewise.
47233
47234 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47235 * elf/dl-sym.c: Likewise.
47236
57912a71
UD
472372011-06-15 Ulrich Drepper <drepper@gmail.com>
47238
47239 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47240 need to dereference resplen2.
47241
ee22793d
AS
472422011-06-14 Andreas Schwab <schwab@redhat.com>
47243
47244 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47245
a9e836b0
UD
472462011-06-15 Ulrich Drepper <drepper@gmail.com>
47247
77fb9117
UD
47248 * Makeconfig: Define vardbdir and inst_vardbdir.
47249 * nss/Makefile: Add rules to install db-Makefile.
47250
40c1b22c
UD
47251 * nss/nss_db/db-XXX.c: Cleanup.
47252
9f2da732
UD
47253 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47254 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47255 GLIBC_PRIVATE.
47256 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47257 * nss/makedb.c: Implement -g option to specify that value strings
47258 are generated and should not be added to table iterated over for
47259 get*ent calls.
47260 * nss/nss_db/db-initgroups.c: New file.
47261
82e9a1f7
UD
47262 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47263 interface.
47264
c41af17e
UD
47265 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47266 (internal_getgrouplist): Adjust to name change.
47267 Update use_initgroups_entry if this is not the first call.
47268 * nss/databases.def: Add initgroups entry.
47269
a9e836b0
UD
47270 * nss/makedb.c (compute_tables): Check result of multiple hash table
47271 sizes to minimize maximum chain length.
47272
2666d441
UD
472732011-06-14 Ulrich Drepper <drepper@gmail.com>
47274
47275 * Versions.def: Add entry for libnss_db.
47276 * shlib-versions: Likewise.
47277 * nss/Makefile: Add rules to build libnss_db.
47278 * nss/Versions: Add libnss_db information. Organize libnss_files
47279 entries better.
47280 * nss/db-Makefile: Add gshadow support. Change rules for the new
47281 makedb progra. Some minor improvements to generate smaller files.
47282 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47283 here from...
47284 * nss/makedb.c: ...here.
47285 Improve database format to be smaller and require less memory at
47286 runtime.
47287 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47288 db anymore.
47289 * nss/nss_db/db-netgrp.c: Likewise.
47290 * nss/nss_db/db-open.c: Likewise.
47291 * nss/nss_files/flies-XXX.x: Adjust comments.
47292 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47293 * nss/nss_files/files-grp.c: Likewise.
47294 * nss/nss_files/files-hosts.c: Likewise.
47295 * nss/nss_files/files-network.c: Likewise.
47296 * nss/nss_files/files-proto.c: Likewise.
47297 * nss/nss_files/files-pwd.c: Likewise.
47298 * nss/nss_files/files-rpc.c: Likewise.
47299 * nss/nss_files/files-service.c: Likewise.
47300 * nss/nss_files/files-sgrp.c: Likewise.
47301 * nss/nss_files/files-spwd.c: Likewise.
47302 * nss/nss_db/db-alias.c: Removed.
47303 * nss/nss_db/dummy-db.h: Removed.
47304
9ee76b5a
UD
473052011-06-02 Ulrich Drepper <drepper@gmail.com>
47306
47307 * nss/makedb.c: Rewritten to not use database library.
47308 * nss/Makefile: Update to build new makedb program.
47309
c71ca1f8
AJ
473102011-06-14 Andreas Jaeger <aj@suse.de>
47311
47312 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47313 memset declaration.
47314
3154bfb8
UD
473152011-06-10 Andreas Schwab <schwab@redhat.com>
47316
47317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47318 tmpbuf.
47319
b350afab
RM
473202011-06-10 Roland McGrath <roland@hack.frob.com>
47321
decd4e50
RM
47322 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47323 * elf/Makefile ($(objpfx)ld.so): Likewise.
47324
5615eaf2
RM
47325 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47326 Don't list ld.so twice in dependencies.
47327
47328 * posix/bug-regex31.c: Include <stdlib.h>.
47329
47330 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47331
47332 * nis/nss_compat/compat-spwd.c
47333 (getspent_next_nss_netgr): Remove unused variable.
47334 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47335
47336 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47337 nonmembers" output to use the right array.
47338
47339 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47340
47341 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47342
47343 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47344 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47345 * catgets/gencat.c (read_input_file): Likewise.
47346 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47347
47348 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47349 variable definition inside #if's controlling its use.
47350
47351 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47352
47353 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47354
47355 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47356
47357 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47358 unreachable code.
47359
47360 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47361
b68e08db
RM
47362 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47363 * configure: Regenerated.
47364
b350afab
RM
47365 * Makerules: Revert last change.
47366 * elf/Makefile: Likewise.
47367
28368601
RM
473682011-06-09 Roland McGrath <roland@hack.frob.com>
47369
47370 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47371 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47372 (reloc-link): Likewise.
47373
11988f8f
UD
473742011-06-09 Ulrich Drepper <drepper@gmail.com>
47375
47376 * elf/Makefile: Add rules to build pldd.
47377 * elf/pldd.c: New file.
47378 * elf/pldd-xx.c: New file.
47379
e80fab37
UD
473802011-06-07 Ulrich Drepper <drepper@gmail.com>
47381
47382 * version.h: Update for 2.15 development version.
47383
9b849836
DM
473842011-06-07 David S. Miller <davem@davemloft.net>
47385
47386 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47387 ifuncs.
47388 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47389 elf_machine_lazy_rel): Likewise.
47390 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47391 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47392 elf_machine_lazy_rel): Likewise.
47393 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47394 dl_hwcap via passed in argument.
47395 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47396 Likewise.
47397
5a31b283
AK
473982011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47399
47400 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47401
069e52f8
RM
474022011-06-06 Roland McGrath <roland@hack.frob.com>
47403
47404 [BZ #12849]
47405 * manual/fdl-1.1.texi: New file, verbatim from:
47406 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47407 * manual/lgpl-2.1.texi: New file, verbatim from:
47408 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47409 * manual/Makefile (licenses): New variable, list those new file names.
47410 (texis): Use it.
47411 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47412
47413 * manual/fdl.texi: File removed.
47414 * manual/lesser.texi: File removed.
47415 * manual/libc.texinfo (Copying, Documentation License):
47416 Use new @include file names, put @appendix directive before @include.
47417
f16846a5
JJ
474182011-06-04 Jakub Jelinek <jakub@redhat.com>
47419
47420 [BZ #12841]
47421 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47422 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47423 (mq_open): Add __NTH.
47424
3d29045b
L
474252011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47426
47427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47428 Assume Intel Core i3/i5/i7 processor if AVX is available.
47429
8c297311
UD
474302011-05-31 Ulrich Drepper <drepper@gmail.com>
47431
47432 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47433 typo.
47434
c8fc0c91
UD
474352011-05-31 Andreas Schwab <schwab@redhat.com>
47436
47437 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47438 memory. Use alloca_account. Fix memory leak when retrying.
47439
5b27a807
UD
474402011-05-31 Ulrich Drepper <drepper@gmail.com>
47441
356f8bc6
UD
47442 * version.h (RELEASE): Bump for 2.14 release.
47443 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47444
5b27a807
UD
47445 * config.make.in (RANLIB): Remove entry.
47446
01f16ab0
UD
474472011-05-30 Ulrich Drepper <drepper@gmail.com>
47448
41fce8bd
UD
47449 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47450 (libc.pot): Work around missing support for .ksh extension in xgettext.
47451
4769ae77
UD
47452 [BZ #12684]
47453 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47454 if both request failed.
47455 (send_dg): In case of server errors clear resplen or *resplen2.
47456
6b1e7d19
UD
47457 [BZ #12454]
47458 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47459 when there are multiple maps.
47460 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47461 (_dl_fini): Remove test here.
47462
01f16ab0
UD
47463 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47464
b1ebd700
UD
474652011-05-29 Ulrich Drepper <drepper@gmail.com>
47466
7ae22829
UD
47467 [BZ #12350]
47468 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47469 bit from old_res_options.
47470 (gaih_inet): Likewise.
47471
553149f6 47472 [BZ #11099]
18a84741 47473 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
47474 as signed.
47475
652ffab1
UD
47476 * resolv/res_init.c (res_setoptions): Make the code more compact.
47477
16985fd0
UD
47478 [BZ #11558]
47479 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47480 set RES_USEVC.
47481
0464f746
UD
47482 [BZ #11634]
47483 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47484
7d17596c
UD
47485 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47486
cf6bbbd7
UD
47487 [BZ #11781]
47488 * malloc/malloc.h: Declare malloc hook variables as volatile.
47489
13f1ab36
UD
47490 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47491 in last patch.
47492
b1ebd700
UD
47493 [BZ #11799]
47494 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 47495 raise in the comment.
80e2212d
UD
47496 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47497 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47498 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 47499
ce67228d
UD
475002011-05-28 Ulrich Drepper <drepper@gmail.com>
47501
8887a920
UD
47502 [BZ #12811]
47503 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47504 grow the buffers more if it already has to be sufficient.
47505 (build_wcs_upper_buffer): Likewise.
47506 * posix/regexec.c (check_matching): Likewise.
47507 (clean_state_log_if_needed): Likewise.
47508 (extend_buffers): Don't enlarge buffers beyond size of the input
47509 buffer.
47510 Patches mostly by Emil Wojak <emil@wojak.eu>.
47511 * posix/bug-regex32.c: New file.
47512 * posix/Makefile (tests): Add bug-regex32.
47513
4f031072
UD
47514 * locale/findlocale.c (_nl_find_locale): Return right away if
47515 _nl_explode_name failed.
47516 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47517
d0478f0c
UD
47518 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47519
de81b246
UD
47520 * debug/xtrace.sh: Unify messages.
47521 * malloc/memusage.sh: Likewise.
47522
c738465a
UD
47523 [BZ #12813]
47524 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47525 time symbol from vDSO. Substitute with vsyscall if not available.
47526 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47527 __vdso_time.
47528
f1f929d7
UD
47529 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47530 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47531 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47532 Add sendmmsg and internal_sendmmsg.
47533 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47534 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47535 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47536
ce67228d
UD
47537 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47538 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47539 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47540
e57420c6
UD
475412011-05-27 Ulrich Drepper <drepper@gmail.com>
47542
a8509ca5
UD
47543 [BZ #12813]
47544 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47545 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47546 available.
47547 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47548 __vdso_getcpu.
47549
e57420c6
UD
47550 [BZ #12814]
47551 * iconvdata/Makefile (tests): Add bug-iconv9.
47552 * iconvdata/bug-iconv9.c: New file.
47553
4d07db15
AS
475542011-05-27 Andreas Schwab <schwab@redhat.com>
47555
47556 [BZ #12814]
47557 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47558
ea486f69
JJ
475592011-05-25 Jakub Jelinek <jakub@redhat.com>
47560
47561 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47562 (struct user_regs_struct): Change intcs field back to cs.
47563
6f038433
UD
475642011-05-25 Ulrich Drepper <drepper@gmail.com>
47565
47566 * po/ja.po: Update from translation team.
47567
67f86a25
UD
475682011-05-23 Ulrich Drepper <drepper@gmail.com>
47569
47570 [BZ #12795]
47571 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47572 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47573
def7fbd6
AS
475742011-05-20 Andreas Schwab <schwab@redhat.com>
47575
47576 * stdlib/longlong.h: Update from GCC.
47577
f50ef8f1
AS
475782011-05-23 Andreas Schwab <schwab@redhat.com>
47579
47580 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47581 parameter name.
47582 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47583 Add parameter name.
47584 (__sysconf): Pass it down.
47585
de7ce8f1
UD
475862011-05-22 Ulrich Drepper <drepper@gmail.com>
47587
f2962a71
UD
47588 [BZ #12671]
47589 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47590 some situations.
47591 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47592 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47593 add in in __libc_use_alloca calls. Adjust callers.
47594 (glob): Use malloc in some situations.
47595
de7ce8f1
UD
47596 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47597 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47598 pltexit.
47599
aec84f53
UD
476002011-05-21 Ulrich Drepper <drepper@gmail.com>
47601
05bb4a68
UD
47602 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47603 and CLOCK_BOOTTIME_ALARM.
47604
7ea72f99
UD
47605 [BZ #12782]
47606 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47607 is returned.
47608
7e4afad5
UD
47609 * string/_strerror.c (__strerror_r): Print negative errors as signed
47610 numbers.
47611
8e211fec
UD
47612 [BZ #12777]
47613 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47614 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47615 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47616
f7d82dc9
UD
47617 * configure.in: Fix typo in redirection and correct removal of test
47618 files in two cases.
47619
cc9e536d
UD
47620 [BZ #12788]
47621 * locale/setlocale.c (new_composite_name): Fix test to check for
47622 identical name of all categories.
47623
aec84f53
UD
47624 [BZ #12792]
47625 * libio/filedoalloc.c (local_isatty): New function.
47626 (_IO_file_doallocate): Use local_isatty.
47627 * stdio-common/perror.c (perror): In case a new stream is used
47628 forward the stream error.
47629 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47630 error flag.
47631
78e64fdc
RT
476322011-05-20 Ulrich Drepper <drepper@gmail.com>
47633
34a9094f
UD
47634 [BZ #11869]
47635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47636 alloca.
47637 * include/alloca.h (extend_alloca_account): Define.
47638
78e64fdc
RT
47639 [BZ #11857]
47640 * posix/regex.h: Fix comments with documentation of user-accessible
47641 fields after compilation and describe correct free'ing of pattern
47642 after re_compile_pattern.
47643 Patch by Reuben Thomas <rrt@sc3d.org>.
47644
457bddfc
RA
476452011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47646
47647 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47648 and -mno-altivec to prevent the compiler from using Altivec and/or
47649 VSX instructions when the corresponding registers are not available.
47650
a4527b51
AS
476512011-05-19 Andreas Schwab <schwab@redhat.com>
47652
47653 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47654
ed690b2f
UD
476552011-05-19 Ulrich Drepper <drepper@gmail.com>
47656
47657 * libio/freopen.c (freopen): Use __dup2, not dup2.
47658 * libio/freopen64.c (freopen64): Likewise.
47659
8db73634
L
476602011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47661
47662 [BZ #12775]
47663 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47664 * math/Makefile (tests): Add test-powl.
47665 (CFLAGS-test-powl.c): Define.
47666 * math/test-powl.c: New file.
47667
0a197a9d
L
476682011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47669
47670 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47671
ee30c380
UD
476722011-05-17 Ulrich Drepper <drepper@gmail.com>
47673
47674 [BZ #11837]
47675 * iconvdata/gb18030.c: Update to GB18020-2005.
47676
6ce75379
UD
476772011-05-16 Ulrich Drepper <drepper@gmail.com>
47678
a4b89fd8
AR
47679 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47680 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47681 Patch by Aharon Robbins <arnold@skeeve.com>.
47682
ea389b12
UD
47683 [BZ #11892]
47684 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47685 on the stack.
47686
68a3f91f
UD
47687 [BZ #11895]
47688 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47689 through underflows.
47690
15cc7dd1
UD
47691 [BZ #12766]
47692 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47693 point to strings before performing equality test for error_one_per_line
47694 mode.
47695
f3799213
UD
47696 [BZ #11697]
47697 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47698
d79a9c94
UD
47699 [BZ #11820]
47700 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47701 (struct user_fpregs_struct): Avoid __uint*_t types.
47702
56e5eb46
UD
47703 [BZ #6420]
47704 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47705 symbol info. Use it instead of calling _dl_addr locally.
47706 (lock_and_info): New function.
47707 (tr_freehook): Call lock_and_info and pass symbol info as additional
47708 parameter to tr_where.
47709 (tr_mallochook): Likewise.
47710 (tr_reallochook): Likewise.
47711 (tr_memalignhook): Likewise.
47712
6ce75379
UD
47713 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47714 used and couldn't be at all thread-safe.
47715
f8a3b5bf
UD
477162011-05-15 Ulrich Drepper <drepper@gmail.com>
47717
94b7cc37
UD
47718 * libio/freopen.c (freopen): Don't close old file descriptor
47719 before the new one is opened. Instead dup the new file descriptor
47720 to the old one after the new stream is created.
47721 * libio/freopen64.c (freopen64): Likewise.
47722 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47723 * libio/fileops.c (_IO_new_file_close_it): Handle new
47724 _IO_FLAGS2_NOCLOSE flag.
47725 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47726 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47727 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47728 _IO_FLAGS2_NOCLOSE flag.
47729 * include/unistd.h: Add hidden_proto for dup3.
47730 Define __have_dup3.
47731 * io/dup3.c: Define hidden symbol.
47732 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47733
bd25564e
UD
47734 [BZ #7101]
47735 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47736 when an incomplete long option is used.
47737 * posix/tst-getopt_long1.c: New file.
47738 * posix/Makefile (tests): Add tst-getopt_long1.
47739
c84cfef4
UD
47740 [BZ #10138]
47741 * scripts/config.guess: Update from autoconf-2.68.
47742 * scripts/config.sub: Likewise.
47743
3b85df27
UD
47744 [BZ #10157]
47745 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47746 tests into ...
47747 (has_cpuclock): ...this. New function.
47748 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47749 macro here based on has_cpuclock code.
47750
15a856b1
UD
47751 [BZ #10149]
47752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47753 First byte (not low byte) is now always NUL.
47754 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47755
05f399e6
UD
47756 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47757 Use non-cancelable interfaces.
47758
10a52685 47759 [BZ #9809]
94ecc67d
UD
47760 * locale/iso-639.def: Add entry for Sorani.
47761
f8a3b5bf
UD
47762 [BZ #11901]
47763 * include/stdlib.h: Move include protection to the right place.
47764 Define abort_msg_s. Declare __abort_msg with it.
47765 * stdlib/abort.c (__abort_msg): Adjust type.
47766 * assert/assert.c (__assert_fail_base): New function. Majority
47767 of code from __assert_fail. Allocate memory for __abort_msg with
47768 mmap.
47769 (__assert_fail): Now call __assert_fail_base.
47770 * assert/assert-perr.c: Remove bulk of implementation. Use
47771 __assert_fail_base.
47772 * include/assert.hL Declare __assert_fail_base.
47773 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47774 mmap.
47775 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47776
1af4e298
UD
477772011-05-14 Ulrich Drepper <drepper@gmail.com>
47778
f8a3b5bf 47779 [BZ #11952]
d26dfc60
MG
47780 [BZ #12453]
47781 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47782 until all modules are registered in the DTV.
47783 * elf/Makefile: Add rules to build and run tst-tls19.
47784 * elf/tst-tls19.c: New file.
47785 * elf/tst-tls19mod1.c: New file.
47786 * elf/tst-tls19mod2.c: New file.
47787 * elf/tst-tls19mod3.c: New file.
47788 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47789
2fc54d6f
UD
47790 [BZ #12083]
47791 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47792 correctly.
47793
98d76b46
UD
47794 [BZ #12601]
47795 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47796 two-byte sequence errors.
47797 * iconvdata/Makefile (tests): Add bug-iconv8.
47798 * iconvdata/bug-iconv8.c: New file.
47799
da3c19ef
UD
47800 [BZ #12626]
47801 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47802 buf2 definition.
47803
ca408c15
UD
47804 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47805
d6f67f7d
UD
47806 [BZ #12432]
47807 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47808 (dummy_getcfa): New function.
47809 (init): Get _Unwind_GetCFA address, use dummy if not found.
47810 (backtrace_helper): In recursion check, also check whether CFA changes.
47811 (__backtrace): Completely initialize arg.
47812
1af4e298 47813 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
47814 storing incomplete byte sequence in state object. Avoid testing for
47815 guaranteed too small input if we know there is enough data available.
1af4e298 47816
da62f81b
AS
478172011-05-11 Andreas Schwab <schwab@redhat.com>
47818
47819 * Makeconfig (+link-pie): Indent.
47820 * Rules (binaries-pie): Define if $(have-fpie) and
47821 $(build-shared).
47822 (binaries-shared): Also filter out $(binaries-pie).
47823 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47824 * nscd/Makefile (others-pie): Add nscd.
47825 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47826 ($(objpfx)nscd): Remove command override.
47827 * login/Makefile (others-pie): Add pt_chown.
47828 ($(objpfx)pt_chown): Remove command override.
47829 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47830 remove command overrides.
47831
fcabc0f8
UD
478322011-05-13 Ulrich Drepper <drepper@gmail.com>
47833
20030ae6
UD
47834 * libio/tst_putwc.c: Fix error messages.
47835
fcabc0f8
UD
47836 [BZ #12724]
47837 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47838 currently writing and seek to current position when not.
47839 * libio/Makefile (tests): Add bug-fclose1.
47840 * libio/bug-fclose1.c: New file.
47841
320a5dc0
PB
478422011-05-12 Ulrich Drepper <drepper@gmail.com>
47843
47844 [BZ #12511]
47845 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47846 don't set DF_1_NODELETE here.
47847 (do_lookup_x): When entering new entry test for copy relocation
47848 and if necessary set DF_1_NODELETE flag.
47849 * elf/tst-unique4.cc: New file.
47850 * elf/tst-unique4.h: New file.
47851 * elf/tst-unique4lib.cc: New file.
47852 * elf/Makefile: Add rules to build and run tst-unique4.
47853 Patch by Piotr Bury <pbury@goahead.com>.
47854
22836f52
UD
478552011-05-11 Ulrich Drepper <drepper@gmail.com>
47856
f574184a
UD
47857 [BZ #12052]
47858 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47859
e1fb097f
UD
47860 [BZ #12625]
47861 * misc/mntent_r.c (addmntent): Flush the stream after the output
47862
22836f52
UD
47863 [BZ #12393]
47864 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47865 (is_trusted_path_normalize): Skip initial colon. Append slash
47866 to empty buffer. Duplicate is_trusted_path code but allow
47867 constructed patch to be prefix.
47868 (is_dst): Allow $ORIGIN followed by /.
47869 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47870 Correct testing of result of is_trusted_path_normalize
47871 (decompose_rpath): Fix warning.
47872
7b3b0b2a
UD
478732011-05-10 Ulrich Drepper <drepper@gmail.com>
47874
47875 [BZ #11257]
47876 * grp/initgroups.c (internal_getgrouplist): When we found the service
47877 list through the initgroups entry in nsswitch.conf do not always
47878 continue on a successful lookup. Don't always use the
eac80ce2 47879 __nss_group_database value if it is set.
7b3b0b2a
UD
47880 * nss/nsswitch.conf (initgroups): Change action for successful db
47881 lookup to continue for compatibility.
47882
2a81eaa5
UD
478832011-05-09 Ulrich Drepper <drepper@gmail.com>
47884
be97a69e
UD
47885 [BZ #11532]
47886 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47887 and CP774 modules.
47888 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47889 and CP774 modules.
47890 * iconvdata/tst-tables.sh: Likewise.
47891 * iconvdata/cp770.c: New file.
47892 * iconvdata/cp771.c: New file.
47893 * iconvdata/cp772.c: New file.
47894 * iconvdata/cp773.c: New file.
47895 * iconvdata/cp774.c: New file.
47896 * iconvdata/testdata/CP770: New file.
47897 * iconvdata/testdata/CP770..UTF8: New file.
47898 * iconvdata/testdata/CP771: New file.
47899 * iconvdata/testdata/CP771..UTF8: New file.
47900 * iconvdata/testdata/CP772: New file.
47901 * iconvdata/testdata/CP772..UTF8: New file.
47902 * iconvdata/testdata/CP773: New file.
47903 * iconvdata/testdata/CP773..UTF8: New file.
47904 * iconvdata/testdata/CP774: New file.
47905 * iconvdata/testdata/CP774..UTF8: New file.
47906
47907 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47908 END CHARMAP line.
47909 * iconvdata/gen-8bit-gap.sh: Likewise.
47910 * iconvdata/gen-8bit.sh: Likewise.
47911
c1e9e399
UD
47912 * locale/iso-639.def: Add ary entry.
47913
24c55fb3 47914 [BZ #11258]
96b4b1b0
UD
47915 * locale/C-translit.h.in: Add U20A1 transliteration.
47916
bdc2f971
KB
47917 [BZ #12178]
47918 * locale/iso-639.def: Add wae entry.
47919 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47920
2952b117
UD
47921 [BZ #12545]
47922 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47923 for n.
47924
2a81eaa5
UD
47925 [BZ #12711]
47926 * locale/C-translit.h.in: Add entry for U20B9.
47927 Patch by pravin.d.s@gmail.com.
47928
28377d1b
UD
479292011-05-08 Ulrich Drepper <drepper@gmail.com>
47930
7fb90fb8
UD
47931 [BZ #12713]
47932 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47933 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
47934 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47935 in rtld. Use *stat64.
7fb90fb8 47936 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 47937 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 47938 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
47939 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47940 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47941 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47942 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47943 __fstatat64 macros.
7fb90fb8
UD
47944 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47945 * dirent/rewinddir.c: Add libc_hidden_def.
47946 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 47947 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 47948
28377d1b
UD
47949 * include/dirent.h (__alloc_dir): Add flags parameter.
47950 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47951 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47952 __alloc_dir.
47953 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47954 from fdopendir if O_CLOEXEC is already set.
47955
66bdbaa4
AM
479562011-03-15 Alan Modra <amodra@gmail.com>
47957
47958 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47959 l_tls_firstbyte_offset non-zero. Save padding offset in
47960 l_tls_firstbyte_offset for later use.
47961 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47962 freeing static tls block.
47963
95721191
JN
479642011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47965
47966 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47967 where #ifdef was intended. The intent is to prevent ARG_MAX from
47968 being defined by the kernel headers.
47969
f87dfb1f
UD
479702011-05-07 Ulrich Drepper <drepper@gmail.com>
47971
47972 [BZ #12734]
47973 * resolv/resolv.h: Define RES_NOTLDQUERY.
47974 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47975 no-tld-query and set RES_NOTLDQUERY.
47976 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47977 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47978 modern BIND to search name as TLD unless forbidden.
47979
47c3cd7a
UD
479802011-05-07 Petr Baudis <pasky@suse.cz>
47981 Ulrich Drepper <drepper@gmail.com>
47982
47983 [BZ #12393]
47984 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47985 (is_trusted_path): ...to here.
c1e9ea35 47986 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 47987 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 47988 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 47989
8a35c912
PP
479902011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47991
47992 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47993 __BEGIN/__END_DECLS.
47994
acd41f47
UD
479952011-05-06 Ulrich Drepper <drepper@gmail.com>
47996
47997 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47998 NSS_STATUS_NOTFOUND if no record was found.
47999
597df647
AS
480002011-05-05 Andreas Schwab <schwab@redhat.com>
48001
48002 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48003 (headers-not-in-tirpc): Remove rpc/netdb.h
48004 * resolv/netdb.h: Revert last change.
48005
b9af1301
PP
480062011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48007
48008 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48009 circular dependency between libgcc.a and libc.a.
48010
4e34d5f5
AS
480112011-05-05 Andreas Schwab <schwab@redhat.com>
48012
48013 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48014 * nis/Makefile: Don't install rpcsvc/*.
48015 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48016 instead of <rpc/types.h>.
48017 (MAXHOSTNAMELEN): Define.
48018
00ee369c
AS
480192011-05-03 Andreas Schwab <schwab@redhat.com>
48020
48021 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48022
0b592a30
MB
480232011-04-28 Maciej Babinski <mbabinski@google.com>
48024
48025 [BZ #12714]
48026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48027 gethostbyname4_r when IPv6 results are possible.
48028
6e04cbbe
UD
480292011-05-02 Ulrich Drepper <drepper@gmail.com>
48030
48031 [BZ #12723]
48032 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48033 _PC_PIPE_BUF handling.
48034
e4ecafe0
BH
480352011-04-30 Bruno Haible <bruno@clisp.org>
48036
48037 [BZ #12717]
48038 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48039 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48040 to 'int'.
48041 * inet/getnameinfo.c (getnameinfo): Likewise.
48042
125ee683
UD
480432011-04-29 Ulrich Drepper <drepper@gmail.com>
48044
48045 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48046 to groups setting in database lookup.
48047 * nss/nsswitch.conf: Add initgroups entry.
48048
b722481a
EB
480492011-04-22 Ulrich Drepper <drepper@gmail.com>
48050
48051 [BZ #12685]
48052 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48053 mode string.
48054 Patch by Eric Blake <eblake@redhat.com>.
48055
4df46dbd
L
480562011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48057
48058 * sunrpc/Makefile (need-export-routines): Add svc_run.
48059 (routines): Remove svc_run.
48060 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48061 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48062 * sunrpc/svc_run.c (svc_run): Likewise.
48063 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48064
e84142d2
UD
480652011-04-21 Ulrich Drepper <drepper@gmail.com>
48066
48067 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48068 problem in reallocation in last patch.
48069
877175d8
UD
480702011-04-20 Ulrich Drepper <drepper@gmail.com>
48071
48072 * sunrpc/Makefile: Move inclusion of Rules.
48073
ab8eed78
UD
480742011-04-19 Ulrich Drepper <drepper@gmail.com>
48075
48076 * nss/nss_files/files-initgroups.c: New file.
48077 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48078 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48079 _nss_files_initgroups_dyn.
48080
e3d8f584
RS
480812011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48082
48083 * elf/elf.h (R_ARM_IRELATIVE): Define.
48084
af190f45
UD
480852011-04-19 Ulrich Drepper <drepper@gmail.com>
48086
48087 * po/ru.po: Update from translation team.
48088
53cf59ef
UD
480892011-04-17 Ulrich Drepper <drepper@gmail.com>
48090
48091 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48092 dependencies.
48093
4c559bcd
MF
480942011-02-06 Mike Frysinger <vapier@gentoo.org>
48095
48096 [BZ #12653]
48097 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48098 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48099 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48100 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48101 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48102
4420675c
AS
481032011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48104
48105 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48106 differing bytes.
48107 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48108 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48109 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48110
75ea32ab
UD
481112011-04-17 Ulrich Drepper <drepper@gmail.com>
48112
48113 [BZ #12420]
48114 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48115 storing it.
48116 * stdlib/bug-getcontext.c: New file.
48117 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48118
27390476
AK
481192011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48120
48121 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48122 instructions into .machine "z9-109".
48123 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48124 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48125
10442705
AK
481262011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48127
48128 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48129 between environment variables and auxiliary vector.
48130
7b57bfe5
UD
481312011-04-16 Ulrich Drepper <drepper@gmail.com>
48132
48133 * Makefile: Add rules to build linkobj/libc.so.
48134 * include/libc-symbols.h: Define libc_hidden_nolink.
48135 * include/rpc/auth.h: Mark functions which are to be hidden.
48136 * include/rpc/auth_des.h: Likewise.
48137 * include/rpc/auth_unix.h: Likewise.
48138 * include/rpc/clnt.h: Likewise.
48139 * include/rpc/des_crypt.h: Likewise.
48140 * include/rpc/key_prot.h: Likewise.
48141 * include/rpc/pmap_clnt.h: Likewise.
48142 * include/rpc/pmap_prot.h: Likewise.
48143 * include/rpc/pmap_rmt.h: Likewise.
48144 * include/rpc/rpc_msg.h: Likewise.
48145 * include/rpc/svc.h: Likewise.
48146 * include/rpc/svc_auth.h: Likewise.
48147 * include/rpc/xdr.h: Likewise.
48148 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48149 * nss/Makefile: Likewise.
48150 * sunrpc/Makefile: Don't install headers. Build library with normal
48151 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48152 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48153 for the compat linking library. Remove use of INTDEF/INTUSE.
48154 * sunrpc/auth_none.c: Likewise.
48155 * sunrpc/auth_unix.c: Likewise.
48156 * sunrpc/authdes_prot.c: Likewise.
48157 * sunrpc/authuxprot.c: Likewise.
48158 * sunrpc/clnt_gen.c: Likewise.
48159 * sunrpc/clnt_perr.c: Likewise.
48160 * sunrpc/clnt_raw.c: Likewise.
48161 * sunrpc/clnt_simp.c: Likewise.
48162 * sunrpc/clnt_tcp.c: Likewise.
48163 * sunrpc/clnt_udp.c: Likewise.
48164 * sunrpc/clnt_unix.c: Likewise.
48165 * sunrpc/des_crypt.c: Likewise.
48166 * sunrpc/des_soft.c: Likewise.
48167 * sunrpc/get_myaddr.c: Likewise.
48168 * sunrpc/key_call.c: Likewise.
48169 * sunrpc/key_prot.c: Likewise.
48170 * sunrpc/netname.c: Likewise.
48171 * sunrpc/pm_getmaps.c: Likewise.
48172 * sunrpc/pm_getport.c: Likewise.
48173 * sunrpc/pmap_clnt.c: Likewise.
48174 * sunrpc/pmap_prot.c: Likewise.
48175 * sunrpc/pmap_prot2.c: Likewise.
48176 * sunrpc/pmap_rmt.c: Likewise.
48177 * sunrpc/publickey.c: Likewise.
48178 * sunrpc/rpc_cmsg.c: Likewise.
48179 * sunrpc/rpc_common.c: Likewise.
48180 * sunrpc/rpc_dtable.c: Likewise.
48181 * sunrpc/rpc_prot.c: Likewise.
48182 * sunrpc/rpc_thread.c: Likewise.
48183 * sunrpc/rtime.c: Likewise.
48184 * sunrpc/svc.c: Likewise.
48185 * sunrpc/svc_auth.c: Likewise.
48186 * sunrpc/svc_authux.c: Likewise.
48187 * sunrpc/svc_raw.c: Likewise.
48188 * sunrpc/svc_run.c: Likewise.
48189 * sunrpc/svc_simple.c: Likewise.
48190 * sunrpc/svc_tcp.c: Likewise.
48191 * sunrpc/svc_udp.c: Likewise.
48192 * sunrpc/svc_unix.c: Likewise.
48193 * sunrpc/svcauth_des.c: Likewise.
48194 * sunrpc/xcrypt.c: Likewise.
48195 * sunrpc/xdr.c: Likewise.
48196 * sunrpc/xdr_array.c: Likewise.
48197 * sunrpc/xdr_float.c: Likewise.
48198 * sunrpc/xdr_intXX_t.c: Likewise.
48199 * sunrpc/xdr_mem.c: Likewise.
48200 * sunrpc/xdr_rec.c: Likewise.
48201 * sunrpc/xdr_ref.c: Likewise.
48202 * sunrpc/xdr_sizeof.c: Likewise.
48203 * sunrpc/xdr_stdio.c: Likewise.
48204
e6c61494
UD
482052011-04-10 Ulrich Drepper <drepper@gmail.com>
48206
48207 [BZ #12650]
48208 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48209 * sysdeps/ia64/dl-tls.h: Likewise.
48210 * sysdeps/powerpc/dl-tls.h: Likewise.
48211 * sysdeps/s390/dl-tls.h: Likewise.
48212 * sysdeps/sh/dl-tls.h: Likewise.
48213 * sysdeps/sparc/dl-tls.h: Likewise.
48214 * sysdeps/x86_64/dl-tls.h: Likewise.
48215 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48216
34fe483e
AS
482172011-03-14 Andreas Schwab <schwab@redhat.com>
48218
48219 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48220 rpath element also skip the following colon.
48221 (expand_dynamic_string_token): Add is_path parameter and pass
48222 down to DL_DST_REQUIRED and _dl_dst_substitute.
48223 (decompose_rpath): Call expand_dynamic_string_token with
48224 non-zero is_path. Ignore empty rpaths.
48225 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48226 with zero is_path.
48227
f12a32e6
AS
482282011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48229
48230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48231 Make cancelable.
48232
38a7d692
UD
482332011-04-09 Ulrich Drepper <drepper@gmail.com>
48234
48235 [BZ #12655]
48236 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48237 Patch by Filipe David Manana <fdmanana@apache.org>.
48238
e451d22b
AS
482392011-04-07 Andreas Schwab <schwab@redhat.com>
48240
48241 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48242 Maintain aligned stack.
48243 (CHECK_RSP): Remove unused macro.
48244
dedc7c7b
UD
482452011-04-03 Ulrich Drepper <drepper@gmail.com>
48246
48247 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48248 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48249
94521213
UD
482502011-04-02 Ulrich Drepper <drepper@gmail.com>
48251
48252 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48253
8cb700c0 48254 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 48255
0354e355
L
482562011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48257
48258 [BZ #12518]
48259 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48260 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48261 * sysdeps/x86_64/memmove.c: New file.
48262 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48263 (memcpy): Renamed to ...
48264 (__new_memcpy): This.
48265 (memcpy): Provide GLIBC_2_14 memcpy.
48266 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48267 (memcpy): Provide GLIBC_2_2_5 memcpy.
48268
8593482f
UD
482692011-04-01 Ulrich Drepper <drepper@gmail.com>
48270
48271 [BZ #12631]
48272 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48273
81a5726b
AS
482742011-03-30 Andreas Schwab <schwab@redhat.com>
48275
48276 * misc/syncfs.c: New file.
48277 * misc/Makefile (routines): Add syncfs.
48278 * posix/unistd.h: Declare syncfs.
48279 * sysdeps/unix/syscalls.list: Add syncfs.
48280
00e5419f
AS
482812011-04-01 Andreas Schwab <schwab@redhat.com>
48282
48283 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48284 open_by_handle_at.
48285 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48286 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48287 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48288 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48289 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48290 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48291 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48292
748876bf
UD
482932011-04-01 Ulrich Drepper <drepper@gmail.com>
48294
658e451d
UD
48295 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48296 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48297 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48298 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48299 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48301 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48302
748876bf
UD
48303 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48304 sync_file_range.c with -fexceptions.
48305 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48306 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48307 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48308 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48309 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48310 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48311 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
48312 sync_file_range as cancellation point
48313 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48314 now a wrapper around __call_sync_file_range with cancellation handling.
48315 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48316 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48317 function name to __call_sync_file_range.
48318 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48319 Add call_sync_file_range.
748876bf 48320
6e63d5e1
AS
483212011-04-01 Andreas Schwab <schwab@redhat.com>
48322
48323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 48324 bits/timex.h.
6e63d5e1 48325
46998f74
UD
483262011-04-01 Ulrich Drepper <drepper@gmail.com>
48327
4c1423ed
UD
48328 * iconv/iconv.h: Fix typo in comment.
48329 * io/fcntl.h: Likewise.
48330 * libio/stdio.h: Likewise.
48331 * posix/spawn.h: Likewise.
48332 * posix/unistd.h: Likewise.
48333 * stdlib/stdlib.h: Likewise.
48334 * time/time.h: Likewise.
48335 * wcsmbs/wchar.h: Likewise.
48336
158648c0
UD
48337 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48338 open_by_handle): Add.
48339 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48340 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48341 Augment a few comments.
48342 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48344 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48346 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48347 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48348 open_by_handle.
48349
46998f74
UD
48350 * io/fcntl.h (AT_EMPTY_PATH): Define.
48351
83fe108b
UD
483522011-03-30 Ulrich Drepper <drepper@gmail.com>
48353
48354 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48355 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48356 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48357 to...
48358 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
48359 * Versions.def: Add GLIBC_2.14.
48360 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48361 Export.
83fe108b 48362
bb242059
UD
483632011-03-22 Ulrich Drepper <drepper@gmail.com>
48364
48365 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48366 round counter.
48367 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48368
c97a1282
L
483692011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48370
48371 [BZ #12597]
48372 * string/test-strncmp.c (do_page_test): New function.
48373 (check2): Likewise.
48374 (test_main): Call check2.
48375 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48376
2a115601
UD
483772011-03-20 Ulrich Drepper <drepper@gmail.com>
48378
48379 [BZ #12587]
48380 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48381 Handle cache information in CPU leaf 4.
48382 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48383
8126d904
UD
483842011-03-18 Ulrich Drepper <drepper@gmail.com>
48385
042c49c6 48386 [BZ #12583]
8126d904
UD
48387 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48388 character representation.
48389 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48390
ccfe366e
RA
483912011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48392
48393 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48394 END(__isnan) to END(__isnanf) to match function entry point/label
48395 EALIGN(__isnanf,...).
48396
c6e13027
JJ
483972011-03-10 Jakub Jelinek <jakub@redhat.com>
48398
48399 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48400
33f85a3f
UD
484012011-03-10 Ulrich Drepper <drepper@gmail.com>
48402
028478fa
UD
48403 [BZ #12510]
48404 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48405 copy from the symbol referenced in the relocation to initialize the
48406 used variable.
48407 Patch by Piotr Bury <pbury@goahead.com>.
48408 * elf/Makefile: Add rules to build and tst-unique3.
48409 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48410 * elf/tst-unique3.cc: New file.
48411 * elf/tst-unique3.h: New file.
48412 * elf/tst-unique3lib.cc: New file.
48413 * elf/tst-unique3lib2.cc: New file.
48414
33f85a3f
UD
48415 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48416
03592fc7
MF
484172011-03-10 Mike Frysinger <vapier@gentoo.org>
48418
48419 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48420 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48421 to _start.
03592fc7 48422
6a5ee102
UD
484232011-03-06 Ulrich Drepper <drepper@gmail.com>
48424
48425 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48426 to-be-loaded object along a path to loader is ld.so.
48427
7e4ba49c
HJ
484282011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48429 Ulrich Drepper <drepper@gmail.com>
48430
48431 * sysdeps/x86_64/memset.S: After aligning destination, code
48432 branches to different locations depending on the value of
48433 misalignment, when multiarch is enabled. Fix this.
48434
484352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48436
48437 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48438 Set _x86_64_preferred_memory_instruction for AMD processsors.
48439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48440 Set bit_Prefer_SSE_for_memop for AMD processors.
48441
13a804de
UD
484422011-03-04 Ulrich Drepper <drepper@gmail.com>
48443
48444 * libio/fmemopen.c (fmemopen): Optimize a bit.
48445
9d25c392
AS
484462011-03-03 Andreas Schwab <schwab@redhat.com>
48447
48448 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48449
a5543c6a
RM
484502011-03-03 Roland McGrath <roland@redhat.com>
48451
48452 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48453
012d35f7
DM
484542011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48455
7e4ba49c 48456 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
48457 __bzero_ultra1 instead of __memset_ultra1.
48458
4bff6e01
AS
484592011-02-23 Andreas Schwab <schwab@redhat.com>
48460 Ulrich Drepper <drepper@gmail.com>
48461
48462 [BZ #12509]
48463 * include/link.h (struct link_map): Add l_orig_initfini.
48464 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48465 returning unsuccessfully.
48466 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48467 close of a file loaded at startup, restore the original l_initfini
48468 list.
48469 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48470 list, store the pointer.
48471 * elf/Makefile ($(objpfx)noload-mem): New rule.
48472 (noload-ENV): Define.
48473 (tests): Add $(objpfx)noload-mem.
48474 * elf/noload.c: Include <memcheck.h>.
48475 (main): Call mtrace. Close all opened handles.
48476
f2092faf
AS
484772011-02-17 Andreas Schwab <schwab@redhat.com>
48478
48479 [BZ #12454]
48480 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48481 dependencies are missing.
48482
6c8a2e88
ST
484832011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48484
f2092faf 48485 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
48486 Hurd needs munmap.
48487 * sysdeps/mach/hurd/ifreq.h: New file.
48488
84a42118
PB
484892011-01-27 Petr Baudis <pasky@suse.cz>
48490 Ulrich Drepper <drepper@gmail.com>
48491
071f805e 48492 [BZ 12445]#
84a42118
PB
48493 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48494 to extend_alloca().
48495 * stdio-common/bug23.c: New file.
48496 * stdio-common/Makefile (tests): Add bug23.
48497
e23fe25b
AS
484982010-09-28 Andreas Schwab <schwab@redhat.com>
48499 Ulrich Drepper <drepper@gmail.com>
48500
48501 [BZ #12489]
48502 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48503 before performing relro protection. At old place add assertion
48504 to make sure nothing changed.
48505
d3f02e10
NS
485062011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48507 Glauber de Oliveira Costa <glommer@gmail.com>
48508
48509 * elf/elf.h: Add new ARM TLS relocs.
48510
d55fd7a5
RA
485112011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48512
48513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48514 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48515 cast from r3.
48516 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48517 'tests' variable.
48518 * sysdeps/wordsize-64/tst-writev.c: New file.
48519
2206397e
RA
485202011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48521
48522 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48523 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48524 insns in _dl_start to prevent a TOC reference before relocs are
48525 resolved.
48526
e9433893
UD
485272011-02-15 Ulrich Drepper <drepper@gmail.com>
48528
48529 [BZ #12469]
48530 * Makeconfig: Remove RANLIB definition.
48531 * Makerules: Don't use RANLIB.
48532 * aclocal.m4: Remove ranlib test.
48533 * configure.in: No need to check for ranlib.
48534 * elf/rtld-Rules: Don't use RANLIB.
48535
f75286c6
ST
485362011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48537
8e31c82d
ST
48538 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48539 protection macro.
48540 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48541 inclusion protection macro.
48542
f75286c6
ST
48543 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48544 SIGRTMIN and SIGRTMAX and print information in that case only when
48545 SIGRTMIN is defined.
48546
c1d0e639
JJ
485472011-02-11 Jakub Jelinek <jakub@redhat.com>
48548
48549 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48550 arginfo fn returning -1.
48551
48552 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48553 and thousands string is zero terminated.
48554
edf9294e
AS
485552011-02-03 Andreas Schwab <schwab@redhat.com>
48556
48557 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48558 sysdeps/unix/sysv/linux/bits/socket.h.
48559
2b7e92df
ST
485602011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48561
edf9294e
AS
48562 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48563 (__CPU_COUNT): Remove old macros.
48564 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48565 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48566 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
48567 (__sched_cpualloc, __sched_cpufree): Add declarations.
48568
a4c7ea7b
UD
485692011-02-05 Ulrich Drepper <drepper@gmail.com>
48570
48571 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48572 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48573 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48574 (readdhstai): Return value of addhstaiX call.
48575 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48576 (addgrbyX): Return value returned by cache_addgr.
48577 (readdgrbyname): Return value returned by addgrbyX.
48578 (readdgrbygid): Likewise.
48579 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48580 (addpwbyX): Return value returned by cache_addpw.
48581 (readdpwbyname): Return value returned by addhstbyX.
48582 (readdpwbyuid): Likewise.
48583 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48584 (addservbyX): Return value returned by cache_addserv.
48585 (readdservbyname): Return value returned by addservbyX:
48586 (readdservbyport): Likewise.
48587 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48588 (addhstbyX): Return value returned by cache_addhst.
48589 (readdhstbyname): Return value returned by addhstbyX.
48590 (readdhstbyaddr): Likewise.
48591 (readdhstbynamev6): Likewise.
48592 (readdhstbyaddrv6): Likewise.
48593 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48594 (readdinitgroups): Return value returned by addinitgroupsX.
48595 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48596 (prune_cache): Keep track of timeout value of re-added entries.
48597 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48598 * nscd/nscd.h: Adjust prototypes of readd* functions.
48599
a0bf67cc
RM
486002011-02-04 Roland McGrath <roland@redhat.com>
48601
48602 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48603 (nis_stats): Likewise.
48604 * nis/nis_modify.c (nis_modify): Likewise.
48605 * nis/nis_remove.c (nis_remove): Likewise.
48606 * nis/nis_add.c (nis_add): Likewise.
48607
48608 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48609
48610 * posix/fnmatch_loop.c: Add some consts.
48611
48612 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48613
435b95eb
L
486142011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48615
48616 [BZ #12460]
48617 * config.make.in (config-cflags-novzeroupper): Define.
48618 * configure.in: Substitute libc_cv_cc_novzeroupper.
48619 * elf/Makefile (AVX-CFLAGS): Define.
48620 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48621 (CFLAGS-tst-auditmod4a.c): Likewise.
48622 (CFLAGS-tst-auditmod4b.c): Likewise.
48623 (CFLAGS-tst-auditmod6b.c): Likewise.
48624 (CFLAGS-tst-auditmod6c.c): Likewise.
48625 (CFLAGS-tst-auditmod7b.c): Likewise.
48626 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48627
8517b15e
UD
486282011-02-02 Ulrich Drepper <drepper@gmail.com>
48629
48630 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48631 function to the callback.
48632 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48633
10a656fe
AS
486342011-02-02 Andreas Schwab <schwab@redhat.com>
48635
48636 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48637 of errno.
48638
968dad0a
UD
486392011-01-19 Ulrich Drepper <drepper@gmail.com>
48640
9f94d2ea 48641 [BZ #11724]
968dad0a
UD
48642 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48643 of constructors.
48644 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48645 of destructors.
48646 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48647
48648 [BZ #11724]
48649 * elf/Makefile: Add rules to build and run new test.
48650 * elf/tst-initorder.c: New file.
48651 * elf/tst-initorder.exp: New file.
48652 * elf/tst-initordera1.c: New file.
48653 * elf/tst-initordera2.c: New file.
48654 * elf/tst-initordera3.c: New file.
48655 * elf/tst-initordera4.c: New file.
48656 * elf/tst-initorderb1.c: New file.
48657 * elf/tst-initorderb2.c: New file.
48658 * elf/tst-order-a1.c: New file.
48659 * elf/tst-order-a2.c: New file.
48660 * elf/tst-order-a3.c: New file.
48661 * elf/tst-order-a4.c: New file.
48662 * elf/tst-order-b1.c: New file.
48663 * elf/tst-order-b2.c: New file.
48664 * elf/tst-order-main.c: New file.
48665 New test case by George Gensure <werkt0@gmail.com>.
48666
86e92359
UD
486672010-10-01 Andreas Schwab <schwab@redhat.com>
48668
48669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48670 decoding ACE if AI_CANONIDN.
48671
5d5732b0
UD
486722011-01-18 Ulrich Drepper <drepper@gmail.com>
48673
48674 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48675
a77e8cbc
UD
486762011-01-17 Ulrich Drepper <drepper@gmail.com>
48677
6392473f
UD
48678 * version.h (RELEASE): Bump for 2.13 release.
48679 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48680
620a0529
UD
48681 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48682
18ba70a5
UD
48683 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48684 MADV_NOHUGEPAGE.
32465c3e
UD
48685 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48686 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48687 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48688 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48689 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48690 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48691
c0dafcf1
UD
48692 * posix/getconf.c: Update copyright year.
48693 * catgets/gencat.c: Likewise.
48694 * csu/version.c: Likewise.
48695 * debug/catchsegv.sh: Likewise.
48696 * debug/xtrace.sh: Likewise.
48697 * elf/ldconfig.c: Likewise.
48698 * elf/ldd.bash.in: Likewise.
48699 * elf/sprof.c (print_version): Likewise.
48700 * iconv/iconv_prog.c: Likewise.
48701 * iconv/iconvconfig.c: Likewise.
48702 * locale/programs/locale.c: Likewise.
48703 * locale/programs/localedef.c: Likewise.
48704 * malloc/memusage.sh: Likewise.
48705 * malloc/mtrace.pl: Likewise.
48706 * nscd/nscd.c (print_version): Likewise.
48707 * nss/getent.c: Likewise.
48708
a77e8cbc
UD
48709 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48710 PF_CAIF, and PF_ALG.
48711 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48712
77e8bddf
AS
487132011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48714
1f20b93a
AS
48715 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48716 (modules-names): Use them.
48717 (ifunc-test-modules, ifunc-pie-tests): Define.
48718 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48719 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48720 (test-extras): Likewise.
48721 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48722 $(compile-command.c).
48723 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48724 (all-built-dso): Define.
48725 (check-textrel.out, check-execstack.out): Depend on it.
48726
77e8bddf
AS
48727 * configure.in: Don't override --enable-multi-arch.
48728
bc425b33
UD
487292011-01-15 Ulrich Drepper <drepper@gmail.com>
48730
48731 [BZ #6812]
48732 * nscd/hstcache.c (tryagain): Define.
48733 (cache_addhst): Return tryagain not notfound for temporary errors.
48734 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48735 failed.
48736
794c3ad3
UD
487372011-01-14 Ulrich Drepper <drepper@gmail.com>
48738
70181fdd
UD
48739 [BZ #10563]
48740 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48741 to make the syscall.
48742 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48743
794c3ad3
UD
48744 [BZ #12378]
48745 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48746 and fall back to matching as normal character if the string ends before
48747 the matching ']' is found. This is what POSIX requires.
48748 * posix/testfnm.c: Adjust test result.
48749 * posix/globtest.sh: Adjust test result. Add new test.
48750 * posix/tst-fnmatch.input: Likewise.
48751 * posix/tst-fnmatch2.c: Add new test.
48752
68dc9497
AS
487532010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48754
48755 * elf/Makefile (check-execstack): Revert last change. Depend on
48756 check-execstack.h.
48757 (check-execstack.h): New target.
48758 (generated): Add check-execstack.h.
48759 * elf/check-execstack.c: Include "check-execstack.h".
48760 (main): Revert last change.
48761 (handle_file): Return zero if GNU_STACK is absent and
48762 DEFAULT_STACK_PERMS doesn't include PF_X.
48763
451f001b
UD
487642011-01-13 Ulrich Drepper <drepper@gmail.com>
48765
cfa28e56
UD
48766 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48767 in child fails because the descriptor is already closed.
8cf8ce17
UD
48768 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48769 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48770 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 48771
1086d70d
UD
48772 [BZ #12397]
48773 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48774 syscall.
48775
451f001b
UD
48776 [BZ #10484]
48777 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48778 temporary buffer used to handle multi lookups locally.
a85b5cb4 48779 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 48780
08769175
UD
487812011-01-12 Ulrich Drepper <drepper@gmail.com>
48782
48783 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48784 loader is ld.so.
48785
5e49c52e
UD
487862011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48787
48788 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48789 alignment for SSE2.
48790
60522a5f
UD
487912011-01-12 Ulrich Drepper <drepper@gmail.com>
48792
48793 [BZ #12394]
48794 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48795 characters. When rounding increased number of integer digits recompute
48796 number of groups.
48797 * stdio-common/tst-grouping.c: New file.
48798 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48799
f257bbd7
UD
488002011-01-09 Ulrich Drepper <drepper@gmail.com>
48801
48802 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48803 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48804
48805 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48806 void.
48807 * bits/select.h: Likewise.
48808
fa9c15cb
UD
488092011-01-08 Ulrich Drepper <drepper@gmail.com>
48810
48811 * po/ja.po: Update from translation team.
48812
16c2895f
DM
488132011-01-04 David S. Miller <davem@sunset.davemloft.net>
48814
48815 [BZ #11155]
48816 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48817 implementation just like for lxstat, fxstatat, et al.
48818
2543fef2
JM
488192010-12-27 Jim Meyering <meyering@redhat.com>
48820
48821 [BZ #12348]
48822 * posix/regexec.c (build_trtable): Return failure indication upon
48823 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48824
98727dbe
UD
488252010-12-25 Ulrich Drepper <drepper@gmail.com>
48826
5bd6dc5c
UD
48827 [BZ #12201]
48828 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48829 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48830 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48831 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48832
97983464
UD
48833 [BZ #12207]
48834 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48835
98727dbe
UD
48836 [BZ #12204]
48837 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48838 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48839
4a531bb0
L
488402010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48841
48842 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48843 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48844 script has SORT_BY_INIT_PRIORITY.
48845 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48846 NO_CTORS_DTORS_SECTIONS is defined.
48847 * elf/soinit.c: Likewise.
48848 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48849 NO_CTORS_DTORS_SECTIONS is defined.
48850 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48851 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48852 * sysdeps/sh/init-first.c: Likewise.
48853 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48854
07eb4b71
UD
488552010-12-24 Ulrich Drepper <drepper@gmail.com>
48856
48857 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48858 always use the slow path.
48859
30950a5f
RA
488602010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48861
48862 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48863 similar rule which adds the sysdep directories to the header search in
48864 order to pick up the correct platform stackinfo.h.
48865 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48866 perform test if it is, otherwise return successfully without testing.
48867 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48868 DEFAULT_STACK_PERMS define in stackinfo.h.
48869 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48870 defined in stackinfo.h.
48871 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48872 DEFAULT_STACK_PERMS defined in stackinfo.h.
48873 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48874 * sysdeps/ia64/stackinfo.h: Likewise.
48875 * sysdeps/s390/stackinfo.h: Likewise.
48876 * sysdeps/sh/stackinfo.h: Likewise.
48877 * sysdeps/sparc/stackinfo.h: Likewise.
48878 * sysdeps/x86_64/stackinfo.h: Likewise.
48879 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48880 PF_X for powerpc64. Retain PF_X for powerpc32.
48881
db753e2c
UD
488822010-12-19 Ulrich Drepper <drepper@gmail.com>
48883
14b697f7
UD
48884 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48885 accurately.
db753e2c
UD
48886 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48887 GETDENTS_64BIT_ALIGNED.
48888
28300719
UD
488892010-12-14 Ulrich Drepper <dreper@gmail.com>
48890
14b697f7 48891 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 48892
4f197237
AS
488932010-12-10 Andreas Schwab <schwab@redhat.com>
48894
dbb0472f
AS
48895 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48896 _GNU_SOURCE.
48897
4f197237
AS
48898 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48899 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48900 Remove __restrict.
48901 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48902 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48903
fb88ac72
UD
489042010-12-09 Ulrich Drepper <drepper@gmail.com>
48905
48906 [BZ #11655]
48907 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48908 are initialized.
48909
42acbb92
JJ
489102010-12-09 Jakub Jelinek <jakub@redhat.com>
48911
48912 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48913
c038d98d
UD
489142010-12-03 Ulrich Drepper <drepper@gmail.com>
48915
48916 * po/it.po: Update from translation team.
48917
3a4a2499
L
489182010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48919
48920 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48921 unused codes.
48922
1e24cf6e
UD
489232010-11-30 Ulrich Drepper <drepper@gmail.com>
48924
48925 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48926
a7690819
AS
489272010-11-24 Andreas Schwab <schwab@redhat.com>
48928
48929 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48930 specially.
48931 (gaih_getanswer_slice): Likewise.
48932
3bf8d1b1
JJ
489332010-10-20 Jakub Jelinek <jakub@redhat.com>
48934
48935 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48936
6db52fbb
PB
489372010-05-31 Petr Baudis <pasky@suse.cz>
48938
48939 [BZ #11149]
48940 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48941 silently even in the chroot mode.
48942
eaca7569
UD
489432010-11-22 Ulrich Drepper <drepper@gmail.com>
48944
48945 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48946 last patch a bit. Pretty printing
48947
3056dcdb
UD
489482010-05-31 Petr Baudis <pasky@suse.cz>
48949
48950 [BZ #10085]
48951 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48952 initialization of skip_initgroups_dyn.
48953
cf7c9078
UD
489542010-11-19 Ulrich Drepper <drepper@gmail.com>
48955
48956 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48957 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48958
a1fb5e3e
UD
489592010-11-16 Ulrich Drepper <drepper@gmail.com>
48960
48961 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48962
3540d66b
AS
489632010-11-11 Andreas Schwab <schwab@redhat.com>
48964
48965 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48966 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48967 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48968 ($(objpfx)tst-fnmatch-mem): New rule.
48969 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48970 * posix/tst-fnmatch.c (main): Call mtrace.
48971
13b69574
L
489722010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48973
48974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48975 Support Intel processor model 6 and model 0x2c.
48976
da93d214
LM
489772010-11-10 Luis Machado <luisgpm@br.ibm.com>
48978
48979 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48980 signed comparison.
48981
8ca52c6e
L
489822010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48983
48984 [BZ #12205]
48985 * string/test-strncasecmp.c (check_result): New function.
48986 (do_one_test): Use it.
48987 (check1): New function.
48988 (test_main): Use it.
48989 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48990 Support strcasecmp and strncasecmp.
48991
69da074d
UD
489922010-11-08 Ulrich Drepper <drepper@gmail.com>
48993
48994 [BZ #12194]
48995 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48996 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48997
ff02d528
L
489982010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48999
49000 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49001 IFUNC support.
49002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49003 memset-x86-64.
49004 * sysdeps/x86_64/multiarch/bzero.S: New file.
49005 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49006 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49007 * sysdeps/x86_64/multiarch/memset.S: New file.
49008 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49010 Set bit_Prefer_SSE_for_memop for Intel processors.
49011 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49012 Define.
49013 (index_Prefer_SSE_for_memop): Define.
49014 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49015
344d0b54
LM
490162010-11-04 Luis Machado <luisgpm@br.ibm.com>
49017
49018 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49019 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49020
c0dde15b
UD
490212010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49022
49023 [BZ #12191]
49024 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49025 (__x86_64_raw_data_cache_size_half): Likewise.
49026 (__x86_64_raw_shared_cache_size): Likewise.
49027 (__x86_64_raw_shared_cache_size_half): Likewise.
49028
49029 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49030 (__x86_64_raw_data_cache_size_half): Likewise.
49031 (__x86_64_raw_shared_cache_size): Likewise.
49032 (__x86_64_raw_shared_cache_size_half): Likewise.
49033 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49034 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49035 and __x86_64_raw_shared_cache_size_half. Round
49036 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49037 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49038 to multiple of 256 bytes.
49039
0e516e0e
MS
490402010-11-03 Ulrich Drepper <drepper@gmail.com>
49041
49042 [BZ #12167]
49043 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49044 of inacessible symlinks. Verify result of symlink before returning it.
49045 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49046 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49047
0e012e87
ER
490482010-10-28 Erich Ritz <erichritz@gmail.com>
49049
49050 * math/math.h (isinf): Fix typo in comment.
49051
de0ff7bc
UD
490522010-11-01 Ulrich Drepper <drepper@gmail.com>
49053
49054 * po/da.po: Update from translation team.
49055
fa41c84d
UD
490562010-10-26 Ulrich Drepper <drepper@gmail.com>
49057
49058 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49059 is added to the list.
49060
f0967738
AK
490612010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49062 Ulrich Drepper <drepper@gmail.com>
49063
49064 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49065 the global list here. Move code to...
49066 (_dl_add_to_namespace_list): ...here. New function.
49067 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49068 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49069 * elf/dl-load.c (lose): Don't remove the element from the list.
49070 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49071 (_dl_map_object): Likewise.
49072
490732010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
49074
49075 [BZ #12159]
49076 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49077 into all bytes of SSE register.
49078 Patch by Richard Li <richardpku@gmail.com>.
49079
f0967738 490802010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
49081
49082 [BZ #12140]
49083 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49084 perturbing.
49085
d0b9e94f
MB
490862010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49087
49088 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49089 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49090 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49091 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49093 submachine.
49094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49095
8e9f92e9
AS
490962010-10-22 Andreas Schwab <schwab@redhat.com>
49097
49098 * include/dlfcn.h (__RTLD_SECURE): Define.
49099 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49100 mode & __RTLD_SECURE instead.
49101 (open_path): Rename preloaded parameter to secure.
49102 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49103 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49104 * elf/dl-deps.c (openaux): Likewise.
49105 * elf/rtld.c (struct map_args): Remove is_preloaded.
49106 (map_doit): Don't use it.
49107 (dl_main): Likewise.
49108 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49109 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49110
bc96fbda
AS
491112010-09-09 Andreas Schwab <schwab@redhat.com>
49112
49113 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49114 (sysd-rules-targets): Remove duplicates.
49115 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49116 rtld-%.$o dependency.
49117
22cd1c9b
AS
491182010-10-18 Andreas Schwab <schwab@redhat.com>
49119
49120 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49121 _dl_map_object do it.
49122
18edac48
UD
491232010-10-19 Ulrich Drepper <drepper@gmail.com>
49124
49125 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49126 fast fma builtins, define the macros in the C99 standard.
49127 (FP_FAST_FMAF): Likewise.
49128 (FP_FAST_FMAL): Likewise.
49129 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49130
49131 * bits/mathdef.h: Update copyright year.
49132 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49133
d2050124
MM
491342010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49135
49136 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49137 builtins, define the macros in the C99 standard.
49138 (FP_FAST_FMAF): Likewise.
49139 (FP_FAST_FMAL): Likewise.
49140 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49141 multiply/add.
49142 (FP_FAST_FMAF): Likewise.
49143
475facd1
JJ
491442010-10-15 Jakub Jelinek <jakub@redhat.com>
49145
49146 [BZ #3268]
49147 * math/libm-test.inc (fma_test): Some new testcases.
49148 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49149 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49150 y and infinite z. Do multiplication by C already in long double.
49151 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49153 y and infinite z. Do bitwise or of inexact bit into u.d.
49154 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49155 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49156 * sysdeps/i386/fpu/s_fma.S: Removed.
49157 * sysdeps/i386/fpu/s_fmal.S: Removed.
49158
7c08a05c
JJ
491592010-10-16 Jakub Jelinek <jakub@redhat.com>
49160
49161 [BZ #3268]
49162 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49163 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49164 computation is not scheduled after fetestexcept. Fix value
49165 of minimum denormal long double.
49166
f3f7372d
JJ
491672010-10-14 Jakub Jelinek <jakub@redhat.com>
49168
49169 [BZ #3268]
49170 * math/libm-test.inc (fma_test): Add some more tests.
49171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49172 correctly.
49173
14d43591
AS
491742010-10-15 Andreas Schwab <schwab@redhat.com>
49175
49176 * scripts/data/localplt-s390-linux-gnu.data: New file.
49177 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49178
5e908464
JJ
491792010-10-13 Jakub Jelinek <jakub@redhat.com>
49180
49181 [BZ #3268]
49182 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49183 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49184 instead of dbl-64.
49185 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49186 inlines.
49187 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49189 if one of x and y is very large and the other is subnormal.
49190 * sysdeps/s390/fpu/s_fmaf.c: New file.
49191 * sysdeps/s390/fpu/s_fma.c: New file.
49192 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49193 * sysdeps/powerpc/fpu/s_fma.S: New file.
49194 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49195 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49196 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49197
491982010-10-12 Jakub Jelinek <jakub@redhat.com>
49199
49200 [BZ #3268]
49201 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49202 fma tests.
49203 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49204 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49205 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49206 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49207 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49208 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49209 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49210
b833d51f
UD
492112010-10-12 Ulrich Drepper <drepper@redhat.com>
49212
49213 [BZ #12078]
49214 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49215 * posix/bug-regex31.input: Add test case.
49216
1751705d
UD
492172010-10-11 Ulrich Drepper <drepper@gmail.com>
49218
e9b9cbf5
UD
49219 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49220 * posix/bug-regex31.input: New file.
49221
49222 [BZ #12078]
49223 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49224 (parse_sub_exp): Fix last change, use postorder.
49225
ef06edbe
UD
49226 * posix/bug-regex31.c: New file.
49227 * posix/Makefile: Add rules to build and run bug-regex31.
49228
a129c80d
UD
49229 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49230
49231 [BZ #12078]
49232 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49233
b76b818e
UD
49234 [BZ #12108]
49235 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49236 to have entries in sys_siglist.
49237
1751705d
UD
49238 [BZ #12093]
49239 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49240 be NULL.
49241
9ff8d36f
JJ
492422010-10-07 Jakub Jelinek <jakub@redhat.com>
49243
49244 [BZ #3268]
49245 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49246 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49247 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49248 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49249 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49250 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49251 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49252 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49253 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49254 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49255 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49256 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49257 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49258 * math/ftestexcept.c (fetestexcept): Likewise.
49259 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49260 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49261 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49262 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49263 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49264 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49265 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49266
af325969
UD
492672010-10-11 Ulrich Drepper <drepper@gmail.com>
49268
c579b202 49269 [BZ #12107]
af325969
UD
49270 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49271 newline.
49272
67a67b95
UD
492732010-10-06 Ulrich Drepper <drepper@gmail.com>
49274
49275 * string/bug-strstr1.c: New file.
49276 * string/Makefile: Add rules to build and run bug-strstr1.
49277
5fb308bc
EB
492782010-10-05 Eric Blake <eblake@redhat.com>
49279
49280 [BZ #12092]
49281 * string/str-two-way.h (two_way_long_needle): Always clear memory
49282 when skipping input due to the shift table.
49283
45db99c7
UD
492842010-10-03 Ulrich Drepper <drepper@gmail.com>
49285
3b111893
UD
49286 [BZ #12005]
49287 * malloc/mcheck.c: Handle large requests.
49288
45db99c7
UD
49289 [BZ #12077]
49290 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49291 for strncmp and strncasecmp.
49292 * string/stratcliff.c: Add tests for strcmp and strncmp.
49293 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49294
cf7a1eb8
NI
492952010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49296
49297 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49298 __set_fpscr.
49299
6484ba5e
AJ
493002010-09-30 Andreas Jaeger <aj@suse.de>
49301
49302 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49303 (CGROUP_SUPER_MAGIC): Define.
49304 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49305 Handle btrfs and cgroup file systems.
49306 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49307 Likewise.
49308
91c42559
LM
493092010-09-27 Luis Machado <luisgpm@br.ibm.com>
49310
49311 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49312 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49313
87a97932
AK
493142010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49315
49316 [BZ #12067]
49317 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49318 trying to locate the ELF header.
49319
c21cc9bc
AS
493202010-09-27 Andreas Schwab <schwab@redhat.com>
49321
49322 [BZ #11611]
49323 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49324 Mask out sign-bit copies when constructing f_fsid.
49325
315970f6
PB
493262010-09-24 Petr Baudis <pasky@suse.cz>
49327
49328 * debug/stack_chk_fail_local.c: Add missing licence exception.
49329 * debug/warning-nop.c: Likewise.
49330
1ac7a2c7
JM
493312010-09-15 Joseph Myers <joseph@codesourcery.com>
49332
49333 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49334 implementing getdents64 using getdents syscall, set d_type if
49335 __ASSUME_GETDENTS32_D_TYPE.
49336
56801c50
AS
493372010-09-16 Andreas Schwab <schwab@redhat.com>
49338
49339 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49340 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49341
dda51327
UD
493422010-09-21 Ulrich Drepper <drepper@redhat.com>
49343
49344 [BZ #12037]
49345 * posix/unistd.h: Undo change of feature selection for ftruncate from
49346 2010-01-11.
49347
8ffcee4a
UD
493482010-09-20 Ulrich Drepper <drepper@redhat.com>
49349
a545ecd9 49350 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
49351 detection.
49352
e24f0a8b
AS
493532010-09-20 Andreas Schwab <schwab@redhat.com>
49354
49355 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49356 fanotify_mark.
49357 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49358
7291c56f
AS
493592010-09-14 Andreas Schwab <schwab@redhat.com>
49360
49361 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49362 variables after CHECK_SP call.
49363 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49364
bc5fb037
AS
493652010-09-13 Andreas Schwab <schwab@redhat.com>
49366 Ulrich Drepper <drepper@redhat.com>
49367
49368 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49369 re-relocationg ld.so.
49370 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49371 _dl_init_paths call.
49372 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49373 here anymore.
49374
e66e7419
UD
493752010-09-14 Ulrich Drepper <drepper@redhat.com>
49376
49377 * resolv/res_init.c (__res_vinit): Count the default server we added.
49378
c044aa75
CLT
493792010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49380 Ulrich Drepper <drepper@redhat.com>
49381
49382 [BZ #11968]
49383 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49384 (____longjmp_chk): Use %ebx for saving value across system call.
49385 Add unwind info.
49386
32cf4069
AS
493872010-09-06 Andreas Schwab <schwab@redhat.com>
49388
49389 * manual/Makefile: Don't mix pattern rules with normal rules.
49390
817328ee
AS
493912010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49392
49393 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49394 operation.
49395 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49396 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49397 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49398 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49399 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49400 Likewise.
49401
29fddf61
UD
494022010-09-04 Ulrich Drepper <drepper@redhat.com>
49403
49404 [BZ #11979]
49405 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49406 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49407
0959ffc9
UD
494082010-09-02 Ulrich Drepper <drepper@redhat.com>
49409
49410 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49411 * sysdeps/x86_64/addmul_1.S: Likewise.
49412 * sysdeps/x86_64/lshift.S: Likewise.
49413 * sysdeps/x86_64/mul_1.S: Likewise.
49414 * sysdeps/x86_64/rshift.S: Likewise.
49415 * sysdeps/x86_64/sub_n.S: Likewise.
49416 * sysdeps/x86_64/submul_1.S: Likewise.
49417
ece29840
ST
494182010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49419
0959ffc9
UD
49420 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49421 Define __sched_param instead of SCHED_* and sched_param when
ece29840 49422 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 49423 * bits/sched.h [__need_schedparam]
ece29840 49424 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
49425 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49426 (__defined_schedparam): Define to 1.
ece29840
ST
49427 (__sched_param): New structure, identical to sched_param.
49428 (__need_schedparam): Undefine.
49429
e53a31fe
MF
494302010-08-31 Mike Frysinger <vapier@gentoo.org>
49431
fdc0c10d
MF
49432 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49433 (epoll_create1): Declare.
49434
e53a31fe
MF
49435 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49436
a726d796
AS
494372010-08-31 Andreas Schwab <schwab@redhat.com>
49438
49439 [BZ #7066]
49440 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49441 shifting retval into place.
49442
2f3e3dc7
UD
494432010-09-01 Ulrich Drepper <drepper@redhat.com>
49444
f2933da9
UD
49445 * nis/rpcsvc/nis.h: Update copyright notice.
49446 * nis/rpcsvc/nis.x: Likewise.
49447 * nis/rpcsvc/nis_callback.h: Likewise.
49448 * nis/rpcsvc/nis_callback.x: Likewise.
49449 * nis/rpcsvc/nis_object.x: Likewise.
49450 * nis/rpcsvc/nis_tags.h: Likewise.
49451 * nis/rpcsvc/yp.h: Likewise.
49452 * nis/rpcsvc/yp.x: Likewise.
49453 * nis/rpcsvc/ypupd.h: Likewise.
49454 * nis/yp_xdr.c: Likewise.
49455 * nis/ypupdate_xdr.c: Likewise.
49456
2f3e3dc7
UD
49457 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49458 mainly the body of pmap_getport. Add parameters to specify timeouts.
49459 (pmap_getport): Use __libc_rpc_getport.
49460 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49461 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49462 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49463
f3dcc2f9
AS
494642010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49465
49466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49467 fanotify_mark.
49468
6d34eb5b
RM
494692010-08-27 Roland McGrath <roland@redhat.com>
49470
49471 * sysdeps/i386/i686/multiarch/Makefile
49472 (CFLAGS-varshift.c): New variable.
49473
9ea3de11
UD
494742010-08-27 Ulrich Drepper <drepper@redhat.com>
49475
c96d23fc
UD
49476 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49477 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49478
9ea3de11
UD
49479 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49480
49481 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49482
623aac7f
L
494832010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49484
49485 * sysdeps/x86_64/strlen.S: Unroll the loop.
49486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49487 strlen-sse2 strlen-sse2-bsf.
49488 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49489 __strlen_no_bsf if bit_Slow_BSF is set.
49490 (__strlen_sse42): Removed.
49491 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49492 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49493
8b2b7715
RM
494942010-08-25 Roland McGrath <roland@redhat.com>
49495
49496 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49497 * sysdeps/x86_64/multiarch/varshift.c: New file.
49498 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49499 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49500 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49501 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49502
e73015f2
L
495032010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49504
49505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49506 strlen-sse2 strlen-sse2-bsf.
49507 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49508 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49509 (__strlen_sse2): Removed.
49510 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49511 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49513 bit_Slow_BSF for Atom.
49514 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49515 (index_Slow_BSF): Define.
49516 (HAS_SLOW_BSF): Define.
49517
df24a73e
UD
495182010-08-25 Ulrich Drepper <drepper@redhat.com>
49519
49520 [BZ #10851]
49521 * resolv/res_init.c (__res_vinit): When no server address at all
49522 is given default to loopback.
49523
f2ac4868
RM
495242010-08-24 Roland McGrath <roland@redhat.com>
49525
09055553
RM
49526 * configure.in: Remove config-name.h generation.
49527 * configure: Regenerated.
49528 * config-name.in: File removed.
49529 * scripts/config-uname.sh: New file.
49530 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49531 ($(objdir)config-name.h): New target.
49532
f2ac4868
RM
49533 * sunrpc/rpc_parse.h: Avoid nested comment.
49534
73f27d5e
RH
495352010-08-24 Richard Henderson <rth@redhat.com>
49536 Ulrich Drepper <drepper@redhat.com>
49537 H.J. Lu <hongjiu.lu@intel.com>
49538
49539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49541 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49542 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49543 _mm_alignr_epi8 with _mm_loadu_si128.
49544 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49545 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49546 (__m128i_shift_right): Removed.
49547 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49548 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49549 * sysdeps/x86_64/multiarch/varshift.h: New file.
49550 * sysdeps/x86_64/multiarch/varshift.S: New file.
49551
84b9230c
MF
495522010-08-21 Mike Frysinger <vapier@gentoo.org>
49553
49554 * configure.in: Move assembler checks to before sysdep dir checking.
49555
9bbd0ddc
PB
495562010-08-20 Petr Baudis <pasky@suse.cz>
49557
49558 * LICENSES: Sync the sunrpc license.
49559
9da4bb31
UD
495602010-08-19 Ulrich Drepper <drepper@redhat.com>
49561
a7ab6ec8
UD
49562 * sunrpc/auth_des.c: Update copyright notice once again.
49563 * sunrpc/auth_none.c: Likewise.
49564 * sunrpc/auth_unix.c: Likewise.
49565 * sunrpc/authdes_prot.c: Likewise.
49566 * sunrpc/authuxprot.c: Likewise.
49567 * sunrpc/bindrsvprt.c: Likewise.
49568 * sunrpc/clnt_gen.c: Likewise.
49569 * sunrpc/clnt_perr.c: Likewise.
49570 * sunrpc/clnt_raw.c: Likewise.
49571 * sunrpc/clnt_simp.c: Likewise.
49572 * sunrpc/clnt_tcp.c: Likewise.
49573 * sunrpc/clnt_udp.c: Likewise.
49574 * sunrpc/clnt_unix.c: Likewise.
49575 * sunrpc/des_crypt.c: Likewise.
49576 * sunrpc/des_soft.c: Likewise.
49577 * sunrpc/get_myaddr.c: Likewise.
49578 * sunrpc/getrpcport.c: Likewise.
49579 * sunrpc/key_call.c: Likewise.
49580 * sunrpc/key_prot.c: Likewise.
49581 * sunrpc/openchild.c: Likewise.
49582 * sunrpc/pm_getmaps.c: Likewise.
49583 * sunrpc/pm_getport.c: Likewise.
49584 * sunrpc/pmap_clnt.c: Likewise.
49585 * sunrpc/pmap_prot.c: Likewise.
49586 * sunrpc/pmap_prot2.c: Likewise.
49587 * sunrpc/pmap_rmt.c: Likewise.
49588 * sunrpc/rpc/auth.h: Likewise.
49589 * sunrpc/rpc/auth_unix.h: Likewise.
49590 * sunrpc/rpc/clnt.h: Likewise.
49591 * sunrpc/rpc/des_crypt.h: Likewise.
49592 * sunrpc/rpc/key_prot.h: Likewise.
49593 * sunrpc/rpc/netdb.h: Likewise.
49594 * sunrpc/rpc/pmap_clnt.h: Likewise.
49595 * sunrpc/rpc/pmap_prot.h: Likewise.
49596 * sunrpc/rpc/pmap_rmt.h: Likewise.
49597 * sunrpc/rpc/rpc.h: Likewise.
49598 * sunrpc/rpc/rpc_des.h: Likewise.
49599 * sunrpc/rpc/rpc_msg.h: Likewise.
49600 * sunrpc/rpc/svc.h: Likewise.
49601 * sunrpc/rpc/svc_auth.h: Likewise.
49602 * sunrpc/rpc/types.h: Likewise.
49603 * sunrpc/rpc/xdr.h: Likewise.
49604 * sunrpc/rpc_clntout.c: Likewise.
49605 * sunrpc/rpc_cmsg.c: Likewise.
49606 * sunrpc/rpc_common.c: Likewise.
49607 * sunrpc/rpc_cout.c: Likewise.
49608 * sunrpc/rpc_dtable.c: Likewise.
49609 * sunrpc/rpc_hout.c: Likewise.
49610 * sunrpc/rpc_main.c: Likewise.
49611 * sunrpc/rpc_parse.c: Likewise.
49612 * sunrpc/rpc_parse.h: Likewise.
49613 * sunrpc/rpc_prot.c: Likewise.
49614 * sunrpc/rpc_sample.c: Likewise.
49615 * sunrpc/rpc_scan.c: Likewise.
49616 * sunrpc/rpc_scan.h: Likewise.
49617 * sunrpc/rpc_svcout.c: Likewise.
49618 * sunrpc/rpc_tblout.c: Likewise.
49619 * sunrpc/rpc_util.c: Likewise.
49620 * sunrpc/rpc_util.h: Likewise.
49621 * sunrpc/rpcinfo.c: Likewise.
49622 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49623 * sunrpc/rpcsvc/key_prot.x: Likewise.
49624 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49625 * sunrpc/rpcsvc/mount.x: Likewise.
49626 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49627 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49628 * sunrpc/rpcsvc/rex.x: Likewise.
49629 * sunrpc/rpcsvc/rstat.x: Likewise.
49630 * sunrpc/rpcsvc/rusers.x: Likewise.
49631 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49632 * sunrpc/rpcsvc/spray.x: Likewise.
49633 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49634 * sunrpc/rtime.c: Likewise.
49635 * sunrpc/svc.c: Likewise.
49636 * sunrpc/svc_auth.c: Likewise.
49637 * sunrpc/svc_authux.c: Likewise.
49638 * sunrpc/svc_raw.c: Likewise.
49639 * sunrpc/svc_run.c: Likewise.
49640 * sunrpc/svc_simple.c: Likewise.
49641 * sunrpc/svc_tcp.c: Likewise.
49642 * sunrpc/svc_udp.c: Likewise.
49643 * sunrpc/svc_unix.c: Likewise.
49644 * sunrpc/svcauth_des.c: Likewise.
49645 * sunrpc/xcrypt.c: Likewise.
49646 * sunrpc/xdr.c: Likewise.
49647 * sunrpc/xdr_array.c: Likewise.
49648 * sunrpc/xdr_float.c: Likewise.
49649 * sunrpc/xdr_mem.c: Likewise.
49650 * sunrpc/xdr_rec.c: Likewise.
49651 * sunrpc/xdr_ref.c: Likewise.
49652 * sunrpc/xdr_sizeof.c: Likewise.
49653 * sunrpc/xdr_stdio.c: Likewise.
49654
9da4bb31
UD
49655 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49656 handling.
49657
bdaa77bc
AS
496582010-08-19 Andreas Schwab <schwab@redhat.com>
49659
49660 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49661
fe2f79db
LM
496622010-08-19 Luis Machado <luisgpm@br.ibm.com>
49663
49664 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49665 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49666 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49667 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49668 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49669 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49670 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49671 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49672 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49673 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49674 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49675 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49676 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49677 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49678
b9b42ee0
AB
496792010-07-26 Anton Blanchard <anton@samba.org>
49680
49681 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49682 * malloc/arena.c (heap_trim): Likewise.
49683
1c06ba31
UD
496842010-08-16 Ulrich Drepper <drepper@redhat.com>
49685
49686 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49687 here. Not...
49688 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49689 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49690
f8392f40
L
496912010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49692
49693 * sysdeps/i386/elf/Makefile: New file.
49694
3162f12e
AS
496952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49696
49697 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49698 from fanotify_init.
49699 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49700 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49701
28c90b2c
UD
497022010-08-15 Ulrich Drepper <drepper@redhat.com>
49703
49704 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49705 of strncasecmp_l.
1feccb6c 49706 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 49707
ca6bb004
UD
497082010-08-14 Ulrich Drepper <drepper@redhat.com>
49709
e9f82e0d
UD
49710 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49711 strncase_l-nonascii.
49712 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49713 Add strncase_l-ssse3.
49714 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49715 * sysdeps/x86_64/strcmp.S: Likewise.
49716 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49717 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49718 * sysdeps/x86_64/strncase.S: New file.
49719 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49720 * sysdeps/x86_64/strncase_l.S: New file.
49721 * string/Makefile (strop-tests): Add strncasecmp.
49722 * string/test-strncasecmp.c: New file.
49723
49724 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49725 warning.
49726
ca6bb004
UD
49727 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49728 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49729
052fa7b3
AS
497302010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49731
49732 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49733
962dba78
UD
497342010-08-12 Ulrich Drepper <drepper@redhat.com>
49735
49736 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49737 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49738 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49739
bebff237
AM
497402010-05-01 Alan Modra <amodra@gmail.com>
49741
49742 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49743 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49744 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49745 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49746 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49747 tidying. Don't tail-call __sigjmp_save for static lib.
49748 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49749 save location.
49750 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49751 (CALL_MCOUNT): Add eh info, and nop after bl.
49752 (TAIL_CALL_SYSCALL_ERROR): New macro.
49753 (PSEUDO_RET): Use it.
49754 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49755 Correct save location of integer regs and cr.
49756 (_dl_profile_resolve): Correct cr save location. Delete nops
49757 after bl when SHARED. Reduce cfi size a little by better
49758 placement of cfi directives.
49759 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49760 make a stack frame. Instead use parm save area as a temp.
49761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49762 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49764 Don't make a stack frame for parent, use parm save area.
49765 Increase child stack frame to 112 bytes. Don't save unused reg,
49766 and adjust reg usage. Set up cfi on error recovery and
49767 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49769 (__makecontext): Add dummy nop after jump to exit.
49770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49771 Use correct parm save area and cr save, reduce stack frame.
49772 Correct cfi for possible PSEUDO_RET frame setup.
49773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49774 Branch to local label emitted by PSEUDO_RET rather than
49775 __syscall_error.
49776
02637374
AS
497772010-08-12 Andreas Schwab <schwab@redhat.com>
49778
49779 [BZ #11904]
49780 * locale/programs/locale.c (print_assignment): New function.
49781 (show_locale_vars): Use it.
49782
c3e2f19b
UD
497832010-08-11 Ulrich Drepper <drepper@redhat.com>
49784
3cdaa6ad
UD
49785 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49786 field.
49787 (struct statfs64): Likewise.
49788 (_STATFS_F_FLAGS): Define.
49789 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49790 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49791 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49792 (ST_VALID): Define locally.
49793 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49794 __statvfs_getflags, use the provided value.
49795 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49796 __ASSUME_STATFS_F_FLAGS.
49797
754f7da3
UD
49798 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49799
10b3bedc
UD
49800 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49801 Add sys/fanotify.h.
49802 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49803 fanotify_mask for GLIBC_2.13.
49804 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49805 fanotify_init and fanotify_mark.
49806 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49807 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49808
c08fb0d7
UD
49809 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49810 Add prlimit.
49811 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49812 prlimit64 for GLIBC_2.13.
49813 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49814 prlimit64.
49815 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49816 syscall.
49817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49818 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49819 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49820 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49821 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49822 add prlimit alias.
49823 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49824
15bac72b
UD
49825 [BZ #11903]
49826 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49827 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49828
c3e2f19b
UD
49829 * nss/Makefile: Add rules to build and run tst-nss-test1.
49830 * shlib-versions: Add entry for libnss_test1.
49831 * nss/nss_test1.c: New file.
49832 * nss/tst-nss-test1.c: New file.
49833
49834 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49835 (__nss_configure_lookup): Set appropriate entry in
49836 __nss_configure_lookup to true.
49837 * nss/nsswitch.h: Define enum with indeces of databases in
49838 databases and __nss_database_custom arrays. Declare
49839 __nss_database_custom.
49840 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49841 to avoid using nscd when custom rules are installed.
49842 * nss/getXXbyYY_r.c: Likewise.
49843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49844
49845 * nss/nss_files/files-parse.c: Whitespace fixes.
49846
f15ce4d8
UD
498472010-08-09 Ulrich Drepper <drepper@redhat.com>
49848
49849 [BZ #11883]
49850 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49851 * posix/fnmatch_loop.c: Likewise.
49852
d22e4cc9
AK
498532010-07-17 Andi Kleen <ak@linux.intel.com>
49854
49855 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49856 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49857 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49858 * Versions.def [GLIBC_2.13]: Add.
49859
805bc17d
UD
498602010-08-06 Ulrich Drepper <drepper@redhat.com>
49861
49862 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49863 Also fail if tpwd after pwuid call is NULL.
49864
5a42321d
ST
498652010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49866
49867 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49868 when converting to ms.
49869
fd3ebeda
ST
498702010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49871
49872 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49873 EOPNOTSUPP errors with ENOTTY.
49874 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49875 EOPNOTSUPP errors with ENOTTY.
49876
73507d3a
UD
498772010-07-31 Ulrich Drepper <drepper@redhat.com>
49878
49879 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49880 Add strcasecmp_l-ssse3.
49881 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49882 strcasecmp.
49883 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49884 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49885 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49886
fe36dd02
UD
498872010-07-30 Ulrich Drepper <drepper@redhat.com>
49888
66f6765a
UD
49889 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49890
42e08a54
UD
49891 * string/Makefile (strop-tests): Add strcasecmp.
49892 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49893 strcasecmp_l-nonascii.
49894 (gen-as-const-headers): Add locale-defines.sym.
49895 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49896 * sysdeps/x86_64/strcasecmp.S: New file.
49897 * sysdeps/x86_64/strcasecmp_l.S: New file.
49898 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49899 * sysdeps/x86_64/locale-defines.sym: New file.
49900 * string/test-strcasecmp.c: New file.
49901
fe36dd02
UD
49902 * string/test-strcasestr.c: Test both ends of the range of characters.
49903 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49904
48cbc0d6
RM
499052010-07-29 Roland McGrath <roland@redhat.com>
49906
76e6d6bc 49907 [BZ #11856]
48cbc0d6
RM
49908 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49909
880113d9
UD
499102010-07-27 Ulrich Drepper <drepper@redhat.com>
49911
49912 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49913 for ld.so.
49914
deb9cabb
AS
499152010-07-27 Andreas Schwab <schwab@redhat.com>
49916
49917 * manual/memory.texi (Malloc Tunable Parameters): Document
49918 M_PERTURB.
49919
1c7570ff
RM
499202010-07-26 Roland McGrath <roland@redhat.com>
49921
49922 [BZ #11840]
49923 * configure.in (-fgnu89-inline check): Set and substitute
49924 gnu89_inline, not libc_cv_gnu89_inline.
49925 * configure: Regenerated.
49926 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49927
24fb0f88
UD
499282010-07-26 Ulrich Drepper <drepper@redhat.com>
49929
49930 * string/test-strnlen.c: New file.
49931 * string/Makefile (strop-tests): Add strnlen.
49932 * string/tester.c (test_strnlen): Add a few more test cases.
49933 * string/tst-strlen.c: Better error reporting.
49934
49935 * sysdeps/x86_64/strnlen.S: New file.
49936
8e96b93a
UD
499372010-07-24 Ulrich Drepper <drepper@redhat.com>
49938
49939 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49940 lower-latency instructions.
49941
dbc676d4
UD
499422010-07-23 Ulrich Drepper <drepper@redhat.com>
49943
49944 * string/test-strcasestr.c: New file.
49945 * string/test-strstr.c: New file.
49946 * string/Makefile (strop-tests): Add strstr and strcasestr.
49947 * string/str-two-way.h: Don't undefine MAX.
49948 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49949
f6a31e0e
AS
499502010-07-21 Andreas Schwab <schwab@redhat.com>
49951
49952 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49953 strcasestr-nonascii.
49954 (CFLAGS-strcasestr-nonascii.c): Define.
49955 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49956 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49957 Remove unused attribute.
49958
5dbc3b6c
RM
499592010-07-20 Roland McGrath <roland@redhat.com>
49960
49961 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49962 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49963 ld.so.cache was broken. With it, there is no way to disable dsocaps
49964 like LD_HWCAP_MASK can disable hwcaps.
49965
23d101d8
EPM
499662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49967
49968 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49969
cc9f2e47
UD
499702010-07-16 Ulrich Drepper <drepper@redhat.com>
49971
49972 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49973 call in strcasestr.
49974 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49975 __strcasestr_sse42_nonascii.
49976 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49977 strcasestr-nonascii.c.
49978 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49979
77c1b069
LM
499802010-06-15 Luis Machado <luisgpm@br.ibm.com>
49981
49982 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49983 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49984 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49985 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49986
440566c3
UD
499872010-07-09 Ulrich Drepper <drepper@redhat.com>
49988
49989 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49990 fcntl.
49991
5be9d05d
AS
499922010-07-06 Andreas Schwab <schwab@redhat.com>
49993
c30b7ee2 49994 [BZ #11577]
5be9d05d
AS
49995 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49996 dl_signal_cerror.
49997
8a492a67
UD
499982010-07-06 Ulrich Drepper <drepper@redhat.com>
49999
50000 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50001 _PC_PIPE_BUF using F_GETPIPE_SZ.
50002
713df3d5
RM
500032010-07-05 Roland McGrath <roland@redhat.com>
50004
50005 * manual/arith.texi (Rounding Functions): Fix rint description
50006 implicit in round description.
50007
702e8f14
UD
500082010-07-02 Ulrich Drepper <drepper@redhat.com>
50009
50010 * elf/Makefile: Fix linking for a few tests to make recent linker
50011 happy.
50012
52ed8be9
AS
500132010-06-30 Andreas Schwab <schwab@redhat.com>
50014
50015 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50016 $(common-objpfx)libc_nonshared.a.
50017
f47c9a11
LM
500182010-06-21 Luis Machado <luisgpm@br.ibm.com>
50019
50020 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50021 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50022 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50023 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50024 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50025 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50026 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50027 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50042 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50043 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50044 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50045 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50046 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50047 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50048 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50049 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50050 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50051 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50052 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50053 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50068
6fb8cbcb
L
500692010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50070
50071 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50072 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50073 * string/memmove.c (memmove): Renamed to ...
50074 (MEMMOVE): ...this. Default to memmove.
50075 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50076 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50077 (END_CHK): Define.
50078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50079 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50080 mempcpy-ssse3-back memmove-ssse3-back.
50081 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50082 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50083 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50084 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50085 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50086 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50087 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50088 * sysdeps/x86_64/multiarch/memmove.c: New file.
50089 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50090 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50091 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50092 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50093 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50094 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50095 Define.
50096 (index_Fast_Copy_Backward): Define.
50097 (HAS_ARCH_FEATURE): Define.
50098 (HAS_FAST_REP_STRING): Define.
50099 (HAS_FAST_COPY_BACKWARD): Define.
50100
4e733bac 501012010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
50102
50103 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50104 Restore proper fallback handling.
50105
63c4ed22
UD
501062010-06-19 Ulrich Drepper <drepper@redhat.com>
50107
ac2b484c
UD
50108 [BZ #11701]
50109 * posix/group_member.c (__group_member): Correct checking loop.
50110
63c4ed22
UD
50111 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50112 OOM in getpwuid_r correctly. Return error number when the caller
50113 should return, otherwise -1.
50114 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50115 call returning > 0 value.
50116 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50117
765ade4b
AS
501182010-06-07 Andreas Schwab <schwab@redhat.com>
50119
50120 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50121 libc_nonshared.a from targets in modules-names.
50122
80da2e09
KS
501232010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50124
50125 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50126 requires it.
50127
158db122
LM
501282010-06-10 Luis Machado <luisgpm@br.ibm.com>
50129
50130 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50131 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50132 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50133 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50134
caa78cf8
AS
501352010-06-02 Andreas Schwab <schwab@redhat.com>
50136
50137 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50138
b2ef2c01
UD
501392010-06-14 Ulrich Drepper <drepper@redhat.com>
50140
50141 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50142 and F_GETPIPE_SZ.
50143 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50144 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50145 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50147 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50148 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50149
fbd643b6
RM
501502010-06-14 Roland McGrath <roland@redhat.com>
50151
50152 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50153
f32f2869
JJ
501542010-06-07 Jakub Jelinek <jakub@redhat.com>
50155
50156 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50157 __REDIRECT followed by __THROW.
50158 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50159 * posix/getopt.h (getopt): Likewise.
50160
2a50c078
EPM
501612010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50162
50163 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50164 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50165 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50166 in AT_FLAGS.
50167 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50168 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50169
eb5ad2eb
LM
501702010-05-28 Luis Machado <luisgpm@br.ibm.com>
50171
50172 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50173
3c88fe1e
L
501742010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50175
50176 [BZ #11640]
50177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50178 Properly check family and model.
50179
d2f73151
TY
501802010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50181
50182 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50183
ebd2e13d
LM
501842010-05-24 Luis Machado <luisgpm@br.ibm.com>
50185
50186 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50187
b32b8b45
UD
501882010-05-21 Ulrich Drepper <drepper@redhat.com>
50189
50190 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50191 symbol reference.
50192
9acbe24d
AS
501932010-05-19 Andreas Schwab <schwab@redhat.com>
50194
50195 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50196 symbol reference.
50197
f0ccf6ea
AS
501982010-05-21 Andreas Schwab <schwab@redhat.com>
50199
3d04ff3a
AS
50200 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50201 and internal_recvmmsg.
50202 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50203 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50204 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50205 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50206
f0ccf6ea
AS
50207 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50208 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50209 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50210
5b08ac57
AS
502112010-05-20 Andreas Schwab <schwab@redhat.com>
50212
50213 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50214
4828935d
LM
502152010-05-17 Luis Machado <luisgpm@br.ibm.com>
50216
50217 POWER7 optimizations.
50218 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50219 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50220
373d545e
UD
502212010-05-19 Ulrich Drepper <drepper@redhat.com>
50222
50223 * version.h: Update for 2.13 development version.
50224
21a2b1ae
AS
502252010-05-12 Andrew Stubbs <ams@codesourcery.com>
50226
50227 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50228 exceptions. Return 0.
50229
3f7dcb2b
RM
502302010-05-07 Roland McGrath <roland@redhat.com>
50231
50232 * elf/ldconfig.c (main): Add a const.
50233
5f24d53a 502342010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 50235
a160f8d8
UD
50236 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50237 (args_options): Add no-idn option.
50238 (ahosts_keys_int): Add idn_flags to ai_flags.
50239 (parse_option): Handle 'i' option to clear idn_flags.
50240
5f24d53a
UD
50241 * malloc/malloc.c (_int_free): Possible race in the most recently
50242 added check. Only act on the data if no current modification
50243 happened.
265bb1ce
UD
50244
50245See ChangeLog.17 for earlier changes.