]> sourceware.org Git - glibc.git/blame - ChangeLog
stdio-common/Makefile: readd bug26 testcase
[glibc.git] / ChangeLog
CommitLineData
ae61fc7b
AM
12014-12-16 Allan McRae <allan@archlinux.org>
2
3 * stdio-common/Makefile (tests): Re-add bug26.
4
363a9899
OB
52014-12-15 Ondřej Bílka <neleai@seznam.cz>
6
7 [BZ #17657]
8 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9 static array.
10
d52c62df
TR
112014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
12
13 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
14 (__lll_lock_wait): Likewise.
15 (__lll_timedlock_wait): Likewise.
16 (__lll_timedwait_tid): Likewise.
17 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
18 (__lll_robust_timedlock_wait): Likewise.
19 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
20 (lll_cond_trylock): Likewise.
21 (__lll_lock): Likewise.
22 (__lll_robust_lock): Likewise.
23 (__lll_cond_lock): Likewise.
24 (lll_robust_cond_lock): Likewise.
25 (__lll_timedlock): Likewise.
26 (__lll_robust_timedlock): Likewise.
27 (__lll_unlock): Likewise.
28 (__lll_robust_unlock): Likewise.
29 (lll_wait_tid): Likewise.
30 (lll_timedwait_tid): Likewise.
31
045a6bcd
TR
322014-12-15 Torvald Riegel <triegel@redhat.com>
33
34 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
35
7f786dc1
TR
362014-12-15 Torvald Riegel <triegel@redhat.com>
37
38 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
39
e7e21cba
AZ
402014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
41
42 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
43 * stdio-common/tst-sprintf.c: Likewise.
44
bc89c0fc
TR
452014-12-15 Torvald Riegel <triegel@redhat.com>
46
47 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
48
a5357b7c
JL
492014-12-15 Jeff Law <law@redhat.com>
50
51 [BZ #16617]
52 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
53 on the heap. (CVE-2012-3406)
54 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
55 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
56 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
57
3a12c70f
WN
582014-12-15 Will Newton <will.newton@linaro.org>
59
60 * manual/install.texi: Bump required version of texinfo
61 to 4.7 from 4.5.
62 * INSTALL: Regenerated.
63 * configure.ac: Check for makeinfo version 4.7 and above.
64 * configure: Regenerated.
65
e4f639e4
RM
662014-12-12 Roland McGrath <roland@hack.frob.com>
67
68 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
69 PREFIX, string constant to insert between directory and name.
70 * sysdeps/posix/shm_open.c: Update caller.
71 * sysdeps/posix/shm_unlink.c: Likewise.
72 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
73 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
74 (SEM_SHM_PREFIX): New macro.
75 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
76 [$(have-thread-library) = no].
77 * nptl/Makefile (libpthread-routines): Add shm-directory.
78 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
79 * sysdeps/nptl/shm-directory.h: New file.
80 * sysdeps/posix/shm-directory.c
81 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
82 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
83 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
84 INTERNAL_SYSCALL.
85 (__where_is_shmfs): Function removed.
86 (mountpoint, defaultmount, defaultdir, __namedsem_once):
87 Variables removed.
88 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
89 Use SHM_GET_NAME.
90 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
91
92 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
93 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
94 unconditional for use inside libpthread.
95 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
96
439c43f6
RM
972014-12-12 Roland McGrath <roland@hack.frob.com>
98
c76d1ff5
RM
99 * nptl/pthread_getaffinity.c: New file.
100 * nptl/pthread_setaffinity.c: New file.
101 * nptl/pthread_getname.c: New file.
102 * nptl/pthread_setname.c: New file.
103
439c43f6
RM
104 * nptl/pthread_create.c (START_THREAD_DEFN)
105 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
106
48e435cd
SL
1072014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
108 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
109
110 * resolv/res_send.c (send_vc): Disable warning resplen may
111 be used uninitialized.
112
9d9c0019
SL
1132014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
114
115 * nptl/tst-mutex6.c
116 (ATTR_NULL): New define checks ATTR against NULL.
117 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
118 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
119
9173840b
JL
1202014-12-11 James Lemke <jwlemke@codesourcery.com>
121
122 [BZ #17581]
123 * malloc/hooks.c
124 (mem2mem_check): Revert my previous change.
125 (malloc_check_get_size): Revert my previous change.
126 (mem2chunk_check): Revert my previous change.
127
78e21c5d
RM
1282014-12-11 Roland McGrath <roland@hack.frob.com>
129
130 * sysdeps/posix/shm-directory.c: New file.
131 * sysdeps/posix/shm-directory.h: New file.
132 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
133 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
134 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
135 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
136 Transmute EPERM to EACCES.
137 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
138 from ...
139 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
140 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
141
f82c43af
KK
1422014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
143
144 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
145 pointer and cast to uintptr_t.
146 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
147 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
148 Add cast to avoid warning.
149 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
150
fc00cf7b
JM
1512014-12-11 Joseph Myers <joseph@codesourcery.com>
152
153 * nptl/semaphore.h: Move to ...
154 * sysdeps/pthread/semaphore.h: ... here.
155 * Makefile (installed-headers): Change nptl/semaphore.h to
156 sysdeps/pthread/semaphore.h.
157
1c4053db
RM
1582014-12-11 Roland McGrath <roland@hack.frob.com>
159
73b0c1a1
RM
160 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
161 generated error format strings.
162
1c4053db
RM
163 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
164 -Wformat-extra-args warnings for scanf formats.
165 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
166 test of zero-length format (duh).
167 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
168 corner-case scanf format test.
169 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
170 generated fprintf format string.
171 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
172 corner-case sprintf format tests.
173 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
174 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
175 -Wformat-extra-args warnings throughout.
176 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
177 (CFLAGS-scanf4.c): Likewise.
178 (CFLAGS-scanf7.c): Likewise.
179 (CFLAGS-tst-sprintf.c): Likewise.
180 (CFLAGS-tst-printf.c): Likewise.
181 (CFLAGS-tst-printfsz.c): Likewise.
182
47d51f4f
JM
1832014-12-11 Joseph Myers <joseph@codesourcery.com>
184
a1edbf3c
JM
185 * include/cpio.h: New file.
186 * include/fmtmsg.h: Likewise.
187
47d51f4f
JM
188 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
189 corresponding format argument to size_t.
190 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
191 arguments.
192 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
193 corresponding format argument to size_t.
194 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
195 arguments.
196 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
197 corresponding format argument to size_t.
198 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
199 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
200 (CFLAGS-tst-mbswcs2.c): Likewise.
201 (CFLAGS-tst-mbswcs3.c): Likewise.
202 (CFLAGS-tst-mbswcs4.c): Likewise.
203 (CFLAGS-tst-mbswcs5.c): Likewise.
204 (CFLAGS-tst-trans.c): Likewise
205
e9813cfb
RM
2062014-12-11 Roland McGrath <roland@hack.frob.com>
207
208 * posix/regexbug1.c (main): Use "%s" format with regerror results,
209 rather than assuming they won't contain any '%'s.
210
f627ca82
CM
2112014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
212
213 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
214 inhibit_loop_to_libcall to avoid recursive calls.
215 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
216 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
217
7f296942
AZ
2182014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
219
220 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
221 prototype.
222
d0276e18
SE
2232014-12-11 Steve Ellcey <sellcey@imgtec.com>
224
225 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
226 integer value instead of boolean.
227
fc56e970
SE
2282014-12-11 Steve Ellcey <sellcey@imgtec.com>
229
230 * malloc/malloc.c: Fix powerof2 check.
231
40e53917
SL
2322014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
233
234 * locale/programs/locfile.h (maybe_swap_uint32):
235 Remove inline and add unused attribute.
236
1ea166df
SL
2372014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
238
9d9c0019 239 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
240 Truncating assembler expression to a .long expression.
241
acf869f4
AS
2422014-12-11 Andreas Schwab <schwab@suse.de>
243
244 * elf/rtld.c (struct map_args): Constify str member.
245 (do_preload): Constify fname argument.
246
9d969099
AZ
2472014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
248
249 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
250 constants definition.
251
da5bcaa4
AS
2522014-12-11 Andreas Schwab <schwab@suse.de>
253
b0a3c164
AS
254 [BZ #16657]
255 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
256 FORCE_ELISION instead of DO_ELISION.
257 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
258 Remove.
259 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
260 Likewise.
261
da5bcaa4
AS
262 * iconvdata/gconv-modules: Remove duplicate entry.
263
6d248857
WN
2642014-12-11 Will Newton <will.newton@linaro.org>
265
266 Merge gettext 0.19.3 into intl/.
267
268 This involves a number of cosmetic changes to comments
269 and ANSI function definitions and prototypes throughout
270 all the files. The gettext copyright header is used but
271 with the date ranges taken from the glibc copy.
272
273 * NEWS: Add gettext merge to 2.21.
274 * intl/bindtextdom.c: Switch to gettext copyright.
275 Use ANSI definitions and prototypes.
276 Use gl_* locking primitives rather than __libc_* ones.
277 Use __builtin_expect rather than __glibc_likely/unlikely.
278 * intl/dcgettext.c: Switch to gettext copyright.
279 Use ANSI definitions and prototypes.
280 * intl/dcigettext.c: Switch to gettext copyright.
281 Use ANSI definitions and prototypes.
282 (INTDIV0_RAISES_SIGFPE): New define.
283 Use gl_* locking primitives rather than __libc_* ones.
284 Include eval-plural.h instead of plural-eval.c.
285 Use __builtin_expect rather than __glibc_likely/unlikely.
286 * intl/dcngettext.c: Switch to gettext copyright.
287 Use ANSI definitions and prototypes.
288 * intl/dgettext.c: Likewise.
289 * intl/dngettext.c: Likewise.
290 * intl/plural-eval.c: Renamed to...
291 * intl/eval-plural.h: ...this.
292 * intl/explodename.c: Switch to gettext copyright.
293 Use ANSI definitions and prototypes.
294 (_nl_explode_name): Use strchr instead of __rawmemchr.
295 * intl/finddomain.c: Switch to gettext copyright.
296 Use ANSI definitions and prototypes.
297 Use gl_* locking primitives rather than __libc_* ones.
298 (_nl_find_domain): Use malloc rather than alloca for
299 allocation of temporary locale name.
300 * intl/gettext.c: Switch to gettext copyright.
301 Use ANSI definitions and prototypes.
302 * intl/gettextP.h: Switch to gettext copyright.
303 Use ANSI definitions and prototypes.
304 Use gl_* locking primitives rather than __libc_* ones.
305 * intl/gmo.h: Switch to gettext copyright.
306 (struct sysdep_string): Move struct segment_pair outside of
307 struct definition.
308 * intl/hash-string.c: Use ANSI definitions and prototypes.
309 * intl/hash-string.h: Switch to gettext copyright.
310 Use ANSI definitions and prototypes.
311 * intl/l10nflist.c: Switch to gettext copyright.
312 Use ANSI definitions and prototypes.
313 (_nl_normalize_codeset): Avoid integer overflow.
314 * intl/loadinfo.h: Switch to gettext copyright.
315 Use ANSI definitions and prototypes.
316 (LIBINTL_DLL_EXPORTED): New define.
317 (PATH_SEPARATOR): New define.
318 * intl/loadmsgcat.c: Switch to gettext copyright.
319 * intl/localealias.c: Switch to gettext copyright.
320 Use ANSI definitions and prototypes.
321 (_nl_expand_alias): Use PATH_SEPARATOR.
322 * intl/ngettext.c: Switch to gettext copyright.
323 Use ANSI definitions and prototypes.
324 * intl/plural-exp.c: Likewise.
325 * intl/plural-exp.h: Switch to gettext copyright.
326 Use ANSI definitions and prototypes.
327 (struct expression): Move definition of enum operator outside
328 of struct definition.
329 * intl/plural.c: Regenerate.
330 * intl/plural.y: Switch to gettext copyright.
331 Use ANSI definitions and prototypes.
332 Port to bison 3.0.
333 * intl/textdomain.c: Switch to gettext copyright.
334 Use ANSI definitions and prototypes.
335 Use gl_* locking primitives rather than __libc_* ones.
336
48c43298
SE
3372014-12-10 Steve Ellcey <sellcey@imgtec.com>
338
339 * debug/warning-nop.c: Add used atrribute.
340
2b89bce9
JM
3412014-12-10 Joseph Myers <joseph@codesourcery.com>
342
c153ac9f
JM
343 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
344
2b89bce9
JM
345 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
346 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
347 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
348
2cfbdb9a
JM
3492014-12-10 Joseph Myers <joseph@codesourcery.com>
350 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
351
352 [BZ #17634]
353 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
354 Undefine after defining function. Define as weak alias of
355 __wcschr. Use libc_hidden_weak.
356 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
357 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
358 (libc_hidden_def): Also define __GI___wcschr alias.
359 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
360 __wcschr and define as weak alias of __wcschr.
361 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
362 __wcschr.
363 [!WCSCHR] (DEFAULT_WCSCHR): Define.
364 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
365 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
366 libc_hidden_weak. Do not use libc_hidden_def.
367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
368 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
369 __GI___wcschr alias.
370 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
371 [IS_IN (libc)] (wcschr): Define as macro expanding to
372 __redirect_wcschr.
373 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
374 [IS_IN (libc)] (__wcschr_power6): Likewise.
375 [IS_IN (libc)] (__wcschr_power7): Likewise.
376 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
377 instead of wcschr.
378 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
379 __libc_wcschr.
380 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
381 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
382 __wcschr and define as weak alias of __wcschr. Use
383 libc_hidden_builtin_def.
384 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
385 as weak alias of __wcschr. Use libc_hidden_weak.
386 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
387 wcschr.
388 * time/era.c (_nl_init_era_entries): Likewise.
389 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
390 variable.
391 (test-xfail-XPG3/time.h/linknamespace): Likewise.
392 (test-xfail-XPG4/time.h/linknamespace): Likewise.
393
1b8bf351
JM
3942014-12-10 Joseph Myers <joseph@codesourcery.com>
395
396 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
397 format for long int variable.
398
f5f46d51
AK
3992014-12-10 Anders Kaseorg <andersk@MIT.EDU>
400
401 [BZ #10672]
07008f7d 402 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
403 qsort stable.
404
217a74a8
AS
4052014-12-10 Andreas Schwab <schwab@suse.de>
406
407 [BZ #12847]
408 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
409 user-controlled locks.
410
aa76a5c7
RE
4112014-12-10 Richard Earnshaw <rearnsha@arm.com>
412
413 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
414 register.
415
2084e7ca
JM
4162014-12-10 Joseph Myers <joseph@codesourcery.com>
417
a4ecc9eb
JM
418 * configure.ac (--disable-werror): New configure option.
419 (enable_werror): New AC_SUBST.
420 * configure: Regenerated.
421 * config.make.in (enable-werror): New variable.
422 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
423 -Wno-error=undef.
424 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
425 * manual/install.texi (Configuring and compiling): Document
426 --disable-werror.
427 * INSTALL: Regenerated.
428 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
429 (CFLAGS-tst-chk2.c): Likewise.
430 (CFLAGS-tst-chk3.c): Likewise.
431 (CFLAGS-tst-chk4.cc): Likewise.
432 (CFLAGS-tst-chk5.cc): Likewise.
433 (CFLAGS-tst-chk6.cc): Likewise.
434 (CFLAGS-tst-lfschk1.c): Likewise.
435 (CFLAGS-tst-lfschk2.c): Likewise.
436 (CFLAGS-tst-lfschk3.c): Likewise.
437 (CFLAGS-tst-lfschk4.cc): Likewise.
438 (CFLAGS-tst-lfschk5.cc): Likewise.
439 (CFLAGS-tst-lfschk6.cc): Likewise.
440
0f88636c
JM
441 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
442 (main): Disable -Wdeprecated-declarations around calls to
443 register_printf_function.
444
c81e9deb
JM
445 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
446 (do_test): Disable -Wdiv-by-zero around some calls to
447 fwrite_unlocked and fread_unlocked.
448
2084e7ca
JM
449 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
450 (DIAG_POP_NEEDS_COMMENT): Likewise.
451 (_DIAG_STR1): Likewise.
452 (_DIAG_STR): Likewise.
453 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
454 * stdio-common/bug21.c: Include <libc-internal.h>.
455 (do_test): Disable -Wformat around call to sscanf.
456 * stdio-common/scanf14.c: Include <libc-internal.h>.
457 (main): Disable -Wformat around some calls to scanf functions.
458
df7ecc6b
TR
4592014-12-09 Torvald Riegel <triegel@redhat.com>
460
461 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
462
2aa3862e
AZ
4632014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
464
465 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
466 stack variable alignment.
467
c5c2b7c3
JM
4682014-12-06 Joseph Myers <joseph@codesourcery.com>
469
470 [BZ #17682]
471 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
472 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
473 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
474 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
475 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
476 __getrlimit instead of getrlimit.
477 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
478 __gettimeofday instead of gettimeofday.
479 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
480 Likewise.
481 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
482 Likewise.
483 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
484 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
485 Remove variable.
486 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
487 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
488
9752c3cd
AZ
4892014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
490
491 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
492 for wide-character tests.
493
4bee4cd9
RM
4942014-12-04 Roland McGrath <roland@hack.frob.com>
495
496 * io/openat64.c: #include <libc-internal.h>
497 (__openat64): Prototypify. Use ignore_value on MODE.
498 * io/openat.c: Likewise.
499 * misc/reboot.c: #include <libc-internal.h>
500 (reboot): Prototypify. Use ignore_value on HOWTO.
501 * misc/ptrace.c: #include <libc-internal.h>
502 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
503
84dbedb6
JM
5042014-12-04 Joseph Myers <joseph@codesourcery.com>
505
506 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
507 XPG4, UNIX98 and XOPEN2K.
508 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
509 Remove variable.
510 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
511
b7a3e1c4 5122014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 513
af50dfc1 514 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
515 * libio/iofopen.c: Likewise.
516 * libio/wfileops.c: Likewise.
517
fe8b4d98
SP
518 [BZ #17653]
519 * libio/fileops.c (_IO_new_file_underflow): Unset cached
520 offset on EOF.
521 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
522 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
523 (fgets_func): Function pointer to fgets and fgetws.
524 (do_ftell_test): Add test to verify ftell value after read
525 EOF.
526 (do_test): Set fgets_func.
527
61b4f792
SP
528 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
529 O_TRUNC flag for w and w+ modes.
530 (do_rewind_test): Likewise.
531 (do_ftell_test): Likewise.
532 (do_write_test): Likewise.
533
be349d70
SP
534 [BZ #17647]
535 * libio/fileops.c (do_ftell): Seek only when there are
536 unflushed writes.
537 * libio/wfileops.c (do_ftell_wide): Likewise.
538 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
539 test case.
540 (do_one_test): Call it.
541
e3d6dba5
JM
5422014-12-03 Joseph Myers <joseph@codesourcery.com>
543
544 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
545 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
546 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
547 Remove variable.
548 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
549 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
550 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
551
7f994279
JM
5522014-12-02 Joseph Myers <joseph@codesourcery.com>
553
28a91e8f
JM
554 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
555 Remove variable.
556 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
557
7f994279
JM
558 [BZ #17668]
559 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
560 as weak alias of __getifaddrs. Use libc_hidden_weak.
561 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
562 __freeifaddrs. Use libc_hidden_weak.
563 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
564 define as weak alias of __getifaddrs. Use libc_hidden_weak.
565 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
566 __freeifaddrs. Use libc_hidden_weak.
567 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
568 __getifaddrs and define as weak alias of __getifaddrs. Use
569 libc_hidden_weak.
570 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
571 __freeifaddrs. Use libc_hidden_weak.
572 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
573 Remove variable.
574 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
575 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
576
bbe4c142
PJ
5772014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
578
579 [BZ #17601]
580 * sysdeps/mips/start.S (__start): Use indirect jump to call
581 __libc_start_main.
582
66cadc05
JM
5832014-12-02 Joseph Myers <joseph@codesourcery.com>
584
909e16d9
JM
585 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
586
4e0b9016
JM
587 * nptl/tst-mutex1.c: Include <stdbool.h>.
588 [!ATTR] (ATTR_NULL): New macro.
589 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
590 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
591 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
592
b1aff6a4
JM
593 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
594 to char *.
595
266865c0
JM
596 [BZ #17665]
597 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
598 Change conditional to [__USE_MISC].
599
84e5e756
JM
600 [BZ #17664]
601 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
602 fgets_unlocked.
603 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
604 __fgets_unlocked.
605 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
606 fgets_unlocked.
607 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
608 Remove variable.
609 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
610 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
611 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
612 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
613 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
614 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
615 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
616 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
617 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
618
66cadc05
JM
619 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
620
2e8a2de2 6212014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
622
623 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
624 Remove strpbrk objects.
625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
626 (__libc_ifunc_impl_list): Remove strpbrk implementation.
627 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
628 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
629 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
630 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
631
bb2542e0
AZ
632 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
633 Remove strcspn objects.
634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
635 (__libc_ifunc_impl_list): Remove strcspn implementation.
636 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
637 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
638 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
639 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
640
641 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
642 Remove strspn objetcs.
643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
644 (__libc_ifunc_impl_list): Remove strspn implementation.
645 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
646 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
647 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
648 * sysdeps/powerpc/powerpc64/strspn.S: New file.
649
08f1e1d2
JL
6502014-12-01 James Lemke <jwlemke@codesourcery.com>
651
652 [BZ #17581]
653 * malloc/hooks.c
654 (mem2mem_check): Add a terminator to the chain of checking blocks.
655 (malloc_check_get_size): Use it here.
656 (mem2chunk_check): Ditto.
657
a8a7d7d2
RS
6582014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
659
660 * sysdeps/powerpc/powerpc64/strtok.S: New file.
661 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
662
97114a38
CD
6632014-11-29 Carlos O'Donell <carlos@redhat.com>
664
c8dc1727
CD
665 * bits/ioctl-types.h: Indent preprocessor directives correctly.
666
6d03458e
CD
667 * nptl/nptl-init.c: Include libc-internal.h.
668 (__pthread_initialize_minimal_internal): Use ROUND_UP.
669
97114a38
CD
670 * elf/ldconfig.c (search_dir): Expand comment.
671
0e7e69ba
JM
6722014-11-29 Joseph Myers <joseph@codesourcery.com>
673
674 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
675 variable.
676 (linknamespace-symlist-stdlibs-tests): Likewise.
677 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
678 instead of $(objpfx)symlist-stdlibs.
679 (linknamespace-libs-isoc): New variable.
680 (linknamespace-libs): Use $(linknamespace-libs-isoc).
681 (linknamespace-libs-ISO): New variable.
682 (linknamespace-libs-ISO99): Likewise.
683 (linknamespace-libs-ISO11): Likewise.
684 (linknamespace-libs-XPG3): Likewise.
685 (linknamespace-libs-XPG4): Likewise.
686 (linknamespace-libs-POSIX): Likewise.
687 (linknamespace-libs-UNIX98): Likewise.
688 (linknamespace-libs-XOPEN2K): Likewise.
689 (linknamespace-libs-POSIX2008): Likewise.
690 (linknamespace-libs-XOPEN2K8): Likewise.
691 ($(objpfx)symlist-stdlibs): Replace by
692 $(linknamespace-symlist-stdlibs-tests). Use
693 $(linknamespace-libs-$*) as set of libraries.
694 ($(linknamespace-header-tests)): Update dependencies. Use
695 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
696 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
697 * conform/linknamespace.pl: Remove comment about considering
698 definitions of symbols from irrelevant libraries.
699
d8dd0080
L
7002014-11-28 H.J. Lu <hongjiu.lu@intel.com>
701
702 [BZ #13862]
703 * elf/dl-tls.c: Include <atomic.h>.
704 (oom): Remove #ifdef SHARED/#endif.
705 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
706 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
707 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
708 big enough.
709 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
710 * nptl/Makefile (tests): Add tst-stack4.
711 (modules-names): Add tst-stack4mod.
712 ($(objpfx)tst-stack4): New.
713 (tst-stack4mod.sos): Likewise.
714 ($(objpfx)tst-stack4.out): Likewise.
715 ($(tst-stack4mod.sos)): Likewise.
716 (clean): Likewise.
717 * nptl/tst-stack4.c: New file.
718 * nptl/tst-stack4mod.c: Likewise.
719
167da422
B
7202014-11-27 J. Brown <jb999@gmx.de>
721
722 * sysdeps/x86/bits/string.h: Add recent CPUs.
723
9114625b
JM
7242014-11-27 Joseph Myers <joseph@codesourcery.com>
725
6b5189eb
JM
726 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
727 sigblock.
728
49051f8e
JM
729 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
730 feof.
731
9114625b
JM
732 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
733 variable.
734
e7300fef
SL
7352014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
736
737 * nscd/connections.c: Include libc-internal.h because of macro
738 usage ignore_value.
739
1721f0a4
SP
7402014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
741
742 * string/bits/string3.h (__warn_memset_zero_len): Don't
743 declare for gcc newer than 5.0.
744 (memset): Don't test for zero-length __LEN for gcc newer than
745 5.0.
746
be970916
JM
7472014-11-27 Joseph Myers <joseph@codesourcery.com>
748
d88548f4
JM
749 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
750 size_t for %zu format.
751
be970916
JM
752 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
753 difference, not %ju.
754
3b20fd5c
JM
7552014-11-26 Joseph Myers <joseph@codesourcery.com>
756
8915eace
JM
757 * include/libc-internal.h (ignore_value): New macro.
758 * nscd/connections.c (restart): Wrap calls to setuid and setgid
759 with ignore_value.
760
f1a5a0e3
JM
761 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
762 definition.
763
59ef1715
JM
764 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
765 pthread_cleanup_push to void *.
766
a6f3079b
JM
767 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
768 Undefine.
769
706688aa
JM
770 [BZ #16619]
771 [BZ #16740]
772 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
773 instead of 1L << 52.
774
12da14a5
JM
775 * libio/bug-rewind.c (do_test): Check fwscanf return values.
776 * libio/bug-rewind2.c (do_test): Likewise.
777
bd5dadac
JM
778 * debug/test-stpcpy_chk-ifunc.c: Remove file.
779 * debug/test-strcpy_chk-ifunc.c: Likewise.
780 * wcsmbs/test-wcschr-ifunc.c: Likewise.
781 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
782 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
783 * wcsmbs/test-wcslen-ifunc.c: Likewise.
784 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
785 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
786 * Rules [$(multi-arch) = no] (tests): Do not filter out
787 $(tests-ifunc).
788 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
789 * debug/Makefile (tests-ifunc): Remove variable.
790 (tests): Do not add $(tests-ifunc).
791 * wcsmbs/Makefile (tests-ifunc): Remove variable.
792 (tests): Do not add $(tests-ifunc).
793 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
794 [TEST_IFUNC]: Remove conditionals.
795 * string/test-string.h (TEST_IFUNC): Remove macro.
796 [TEST_IFUNC]: Remove conditionals.
797
3b20fd5c
JM
798 * string/test-strchr.c [!WIDE] (L): New macro.
799 [WIDE] (L): Likewise.
800 (check1): Use CHAR instead of char. Use L on string and character
801 constants.
802
704f7947
AZ
8032014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
804
805 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
806 tests.
807 * sysdeps/powerpc/bits/atomic.h
808 (__arch_atomic_exchange_and_add_32_acq): Add definition.
809 (__arch_atomic_exchange_and_add_32_rel): Likewise.
810 (atomic_exchange_and_add_acq): Likewise.
811 (atomic_exchange_and_add_rel): Likewise.
812 * sysdeps/powerpc/powerpc32/bits/atomic.h
813 (__arch_atomic_exchange_and_add_64_acq): Add definition.
814 (__arch_atomic_exchange_and_add_64_rel): Likewise.
815 * sysdeps/powerpc/powerpc64/bits/atomic.h
816 (__arch_atomic_exchange_and_add_64_acq): Add definition.
817 (__arch_atomic_exchange_and_add_64_rel): Likewise.
818
cdcb42d7
TR
8192014-11-26 Torvald Riegel <triegel@redhat.com>
820
821 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
822 Change synchronization of __sched_fifo_min_prio and
823 __sched_fifo_max_prio.
824 * nptl/pthread_mutexattr_getprioceiling.c
825 (pthread_mutexattr_getprioceiling): Likewise.
826 * nptl/pthread_mutexattr_setprioceiling.c
827 (pthread_mutexattr_setprioceiling): Likewise.
828 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
829 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
830 Likewise.
831
c82f5c0c
JM
8322014-11-26 Joseph Myers <joseph@codesourcery.com>
833
834 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
835 void.
836
439e1ad6
JM
8372014-11-25 Joseph Myers <joseph@codesourcery.com>
838
839 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
840 third argument const.
841
b1eda10e
PE
8422014-11-25 Paul Eggert <eggert@cs.ucla.edu>
843
844 fnmatch: work around GCC compiler warning bug with uninit var
845 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
846 This works around a bug with x86-64 GCC 4.9.2 and earlier
847 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
848 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
849 used uninitialized in this function [-Wmaybe-uninitialized]".
850
bde2667a
JM
8512014-11-25 Joseph Myers <joseph@codesourcery.com>
852
853 * posix/bug-regex31.c (main): Return RES not 0.
854
5fbb5691
AB
8552014-11-25 Anton Blanchard <anton@samba.org>
856
857 * sysdeps/powerpc/bits/atomic.h
858 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
859
467fec0b
BM
8602014-11-24 Sterling Augustine <saugustine@google.com>
861
862 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
863
e9ff8efb
RC
8642014-11-24 Ryan Cumming <etaoins@gmail.com>
865
866 [BZ #17608]
867 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
868
9744496f
JM
8692014-11-24 Joseph Myers <joseph@codesourcery.com>
870
871 [BZ #17633]
872 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
873 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
874 variable.
875 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
876 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
877
6423d475
WD
8782014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
879
880 * string/strncpy.c (strncpy): Improve performance by using memset.
881
8822014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
883
884 * string/strcpy.c (strcpy):
885 Improve performance by using strlen and memcpy.
886
5d178c37
LH
8872014-11-24 Leonhard Holz <leonhard.holz@web.de>
888
889 * string/strcoll_l.c (get_next_seq): __always_inline.
890 * string/strcoll_l.c (do_compare): __always_inline.
891
279bc5b3
SP
8922014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
893
7a9ebfa1
SP
894 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
895 defined.
896 * include/mqueue.h: Likewise.
897 * include/stdlib.h: Likewise.
898
4f41c682
SP
899 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
900 (get_null_defines): Adjust.
901 * sunrpc/Makefile: Adjust comment.
902 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
903 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
904 (CFLAGS-interp.c): Likewise.
905 (CFLAGS-ldconfig.c): Likewise.
906 (CPPFLAGS-.os): Likewise.
907 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
908 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
909 * extra-modules.mk (extra-modules.mk): Likewise.
910 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
911 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
912 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
913 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
914 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
915 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
916 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
917 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
918 * iconvdata/Makefile (CPPFLAGS): Likewise.
919 (cpp-srcs-left): Add libof for all iconvdata routines.
920 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
921 * include/assert.h: Likewise.
922 * include/ctype.h: Likewise.
923 * include/errno.h: Likewise.
924 * include/libc-symbols.h: Likewise.
925 * include/math.h: Likewise.
926 * include/netdb.h: Likewise.
927 * include/resolv.h: Likewise.
928 * include/stdio.h: Likewise.
929 * include/stdlib.h: Likewise.
930 * include/string.h: Likewise.
931 * include/sys/stat.h: Likewise.
932 * include/wctype.h: Likewise.
933 * intl/l10nflist.c: Likewise.
934 * libidn/idn-stub.c: Likewise.
935 * libio/libioP.h: Likewise.
936 * nptl/libc_multiple_threads.c: Likewise.
937 * nptl/pthreadP.h: Likewise.
938 * posix/regex_internal.h: Likewise.
939 * resolv/res_hconf.c: Likewise.
940 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
941 * sysdeps/arm/memmove.S: Likewise.
942 * sysdeps/arm/sysdep.h: Likewise.
943 * sysdeps/generic/_itoa.h: Likewise.
944 * sysdeps/generic/symbol-hacks.h: Likewise.
945 * sysdeps/gnu/errlist.awk: Likewise.
946 * sysdeps/gnu/errlist.c: Likewise.
947 * sysdeps/i386/i586/memcpy.S: Likewise.
948 * sysdeps/i386/i586/memset.S: Likewise.
949 * sysdeps/i386/i686/memcpy.S: Likewise.
950 * sysdeps/i386/i686/memmove.S: Likewise.
951 * sysdeps/i386/i686/mempcpy.S: Likewise.
952 * sysdeps/i386/i686/memset.S: Likewise.
953 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
954 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
955 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
956 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
957 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
958 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
959 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
960 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
961 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
962 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
963 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
964 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
965 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
966 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
967 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
968 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
969 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
970 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
971 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
972 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
973 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
974 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
975 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
976 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
977 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
978 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
979 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
980 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
981 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
982 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
983 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
984 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
986 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
987 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
988 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
989 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
990 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
991 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
992 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
993 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
994 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
995 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
996 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
997 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
998 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
999 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1000 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1001 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1002 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1003 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1004 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1005 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1006 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1007 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1008 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1009 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1010 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1011 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1012 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1013 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1014 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1015 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1016 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1017 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1018 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1019 * sysdeps/posix/closedir.c: Likewise.
1020 * sysdeps/posix/opendir.c: Likewise.
1021 * sysdeps/posix/readdir.c: Likewise.
1022 * sysdeps/posix/rewinddir.c: Likewise.
1023 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1024 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1025 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1026 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1027 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1028 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1029 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1030 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1031 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1032 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1033 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1034 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1035 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1036 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1037 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1038 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1039 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1040 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1041 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1042 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1043 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1044 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1045 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1046 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1047 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1048 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1049 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1050 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1051 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1052 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1053 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1055 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1057 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1058 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1059 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1060 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1061 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1062 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1063 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1064 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1065 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1066 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1067 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1068 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1069 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1070 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1071 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1072 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1073 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1074 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1075 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1076 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1077 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1078 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1079 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1080 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1081 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1082 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1083 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1084 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1085 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1086 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1087 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1088 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1089 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1090 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1091 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1092 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1093 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1094 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1095 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1096 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1097 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1098 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1099 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1100 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1101 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1102 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1103 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1104 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1105 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1106 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1107 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1108 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1109 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1110 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1111 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1112 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1113 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1114 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1115 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1116 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1117 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1118 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1119 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1121 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1122 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1123 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1124 * sysdeps/unix/alpha/sysdep.S: Likewise.
1125 * sysdeps/unix/alpha/sysdep.h: Likewise.
1126 * sysdeps/unix/make-syscalls.sh: Likewise.
1127 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1128 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1129 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1130 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1131 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1132 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1133 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1134 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1135 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1136 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1137 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1138 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1139 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1140 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1141 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1142 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1143 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1144 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1145 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1146 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1147 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1148 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1149 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1150 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1151 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1152 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1153 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1156 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1157 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1158 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1159 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1160 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1161 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1162 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1163 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1164 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1165 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1166 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1167 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1168 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1169 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1170 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1171 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1172 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1173 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1174 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1175 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1176 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1177 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1178 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1179 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1180 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1181 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1182 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1183 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1185 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1186 * sysdeps/x86_64/memcpy.S: Likewise.
1187 * sysdeps/x86_64/memmove.c: Likewise.
1188 * sysdeps/x86_64/memset.S: Likewise.
1189 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1190 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1191 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1192 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1193 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1194 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1195 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1196 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1197 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1198 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1199 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1200 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1201 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1202 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1203 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1204 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1205 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1206 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1207 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1208 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1209 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1210 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1211 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1212 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1213 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1214 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1215 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1216 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1217 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1218 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1219 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1220 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1221 * sysdeps/x86_64/strcmp.S: Likewise.
1222
76ca86a5
SP
1223 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1224
a3848485
SP
1225 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1226 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1227 * elf/rtld-Rules: Likewise.
1228 * elf/setup-vdso.h: Likewise.
1229 * include/assert.h: Likewise.
1230 * include/bits/stdlib-float.h: Likewise.
1231 * include/errno.h: Likewise.
1232 * include/sys/stat.h: Likewise.
1233 * include/unistd.h: Likewise.
1234 * sysdeps/aarch64/setjmp.S: Likewise.
1235 * sysdeps/alpha/setjmp.S: Likewise.
1236 * sysdeps/arm/__longjmp.S: Likewise.
1237 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1238 * sysdeps/arm/setjmp.S: Likewise.
1239 * sysdeps/arm/sysdep.h: Likewise.
1240 * sysdeps/generic/_itoa.h: Likewise.
1241 * sysdeps/generic/dl-sysdep.h: Likewise.
1242 * sysdeps/generic/ldsodefs.h: Likewise.
1243 * sysdeps/i386/dl-tls.h: Likewise.
1244 * sysdeps/i386/setjmp.S: Likewise.
1245 * sysdeps/m68k/setjmp.c: Likewise.
1246 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1247 * sysdeps/mach/hurd/opendir.c: Likewise.
1248 * sysdeps/posix/getcwd.c: Likewise.
1249 * sysdeps/posix/opendir.c: Likewise.
1250 * sysdeps/posix/profil.c: Likewise.
1251 * sysdeps/powerpc/dl-procinfo.h: Likewise.
1252 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1253 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1254 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1255 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1256 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1257 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1258 * sysdeps/s390/dl-tls.h: Likewise.
1259 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1260 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1261 * sysdeps/sh/sh3/setjmp.S: Likewise.
1262 * sysdeps/sh/sh4/setjmp.S: Likewise.
1263 * sysdeps/unix/alpha/sysdep.h: Likewise.
1264 * sysdeps/unix/arm/sysdep.S: Likewise.
1265 * sysdeps/unix/i386/sysdep.S: Likewise.
1266 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1267 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1268 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1269 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1270 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1271 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1272 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1273 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1274 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1275 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1276 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1277 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1278 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1281 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1282 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1283 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1284 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1285 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1286 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1287 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1288 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1289 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1290 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1291 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1293 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1294 * sysdeps/x86_64/setjmp.S: Likewise.
1295
a109996e
SP
1296 * include/math.h: Use IS_IN instead of IS_IN_libm.
1297 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1298 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1299 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1300 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1301 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1302 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1303 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1304 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1305 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1306 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1307 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1308 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1309 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1310 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1311 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1312 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1313 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1314 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1315 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1316 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1317 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1318 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1319 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1320 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1321 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1322 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1323 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1324 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1325 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1326 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1327 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1328 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1329 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1331 Likewise.
1332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1333 Likewise.
1334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1335 Likewise.
1336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1337 Likewise.
1338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1339 Likewise.
1340 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1341 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1342 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1343 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1344 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1345 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1351 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1352 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1353 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1354 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1355 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1356 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1357 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1358 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1359 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1360 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1361 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1362 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1363 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1364 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1366 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1367
ce9f10f7
SP
1368 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1369 * nptl/pthreadP.h: Likewise.
1370 * nptl_db/structs.def: Likewise.
1371 * sysdeps/arm/sysdep.h: Likewise.
1372 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1373 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1374 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1375 * sysdeps/unix/alpha/sysdep.h: Likewise.
1376 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1377 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1378 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1379 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1380 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1381 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1382 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1383 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1384 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1385 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1386 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1387 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1388 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1389 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1394 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1395 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1396 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1397 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1398 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1399 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1400 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1401 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1402
016afc75
SP
1403 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1404 * nptl/pthreadP.h: Likewise.
1405 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1406 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1407 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1408 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1409 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1410 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1411 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1412 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1413 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1414 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1415 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1416 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1418 Likewise.
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1420 Likewise.
1421 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1422 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1423 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1424 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1425 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1426 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1427 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1428 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1429
9b42a0b3
SP
1430 * dlfcn/dladdr.c: Use IS_IN.
1431 * dlfcn/dladdr1.c: Likewise.
1432 * dlfcn/dlclose.c: Likewise.
1433 * dlfcn/dlerror.c: Likewise.
1434 * dlfcn/dlinfo.c: Likewise.
1435 * dlfcn/dlmopen.c: Likewise.
1436 * dlfcn/dlopen.c: Likewise.
1437 * dlfcn/dlsym.c: Likewise.
1438 * dlfcn/dlvsym.c: Likewise.
1439
85f36372
SP
1440 * include/ifaddrs.h: Use IS_IN.
1441 * inet/check_pf.c: Likewise.
1442 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1443 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1444
fb6784e3
SP
1445 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1446 IS_IN_ldconfig.
1447 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1448 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1449
2886d2d1
SP
1450 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1451 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1452 IS_IN (libc).
1453
9a484857
SP
1454 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1455
a10178bd
SP
1456 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1457 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1458 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1459 * include/libc-symbols.h (IS_IN_LIB): New macro.
1460 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1461 * include/netdb.h: Likewise.
1462 * include/stap-probe.h: Remove all uses of IN_LIB.
1463
279bc5b3
SP
1464 * Makeconfig (module-cppflags-real): Define MODULE_NAME
1465 instead of IN_MODULE.
1466 * include/libc-symbols.h (IN_MODULE): Define using
1467 MODULE_NAME.
1468 (PASTE_NAME, PASTE_NAME1): New macros.
1469 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1470 of IN_LIB.
1471 (STAP_PROBE_ASM): Likewise.
1472
e0cfa510
ST
14732014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
1474
1475 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1476 __mach_init in dlopened libc.
1477
34d97d87
MF
14782014-11-22 Mike Frysinger <vapier@gentoo.org>
1479
1480 * sysdeps/arm/preconfigure.ac: Delete EABI check.
1481 * sysdeps/arm/preconfigure: Regenerate.
1482
33cd1f74
RM
14832014-11-21 Roland McGrath <roland@hack.frob.com>
1484
1485 * nptl/pthread_create.c (__pthread_create_2_1): Set
1486 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1487 when copying values from IATTR into PD.
1488
8c230039
WN
14892014-11-21 Will Newton <will.newton@linaro.org>
1490 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1491
6d3db89b
AP
1492 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1493 Refactor inline-asm. Also add comment.
1494
01194ba1
WN
1495 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1496 ElfW macro instead of hardcoded Elf64 types.
1497 (la_aarch64_gnu_pltenter): Likewise.
1498 * sysdeps/aarch64/dl-machine.h
1499 (elf_machine_runtime_setup): Use ElfW(Addr).
1500
8c230039
WN
1501 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1502 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1503 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1504 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1505 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1506 (R_AARCH64_TLS_DTPMOD64): Rename to ..
1507 (R_AARCH64_TLS_DTPMOD): This.
1508 (R_AARCH64_TLS_DTPREL64): Rename to ...
1509 (R_AARCH64_TLS_DTPREL): This.
1510 (R_AARCH64_TLS_TPREL64): Rename to ...
1511 (R_AARCH64_TLS_TPREL): This.
1512 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1513 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1514 R_AARCH64_TLS_TPREL64.
1515 (elf_machine_rela): Likewise.
1516
0d79fa53
TR
15172014-11-21 Torvald Riegel <triegel@redhat.com>
1518
1519 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1520 by setting it to 0. 64b atomics are not supported currently.
1521
b59d114b
AO
15222014-11-21 Alexandre Oliva <aoliva@redhat.com>
1523
1524 [BZ #16469]
1525 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1526 search domain names.
1527
f3d945d5
AO
15282014-11-21 Alexandre Oliva <aoliva@redhat.com>
1529
1530 [BZ #16469]
1531 * NEWS: Update.
1532 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1533 trailing dot.
1534 * posix/tst-getaddrinfo5.c: New.
1535 * posix/Makefile (tests): Add it.
1536
49698902
AO
15372014-11-21 Alexandre Oliva <aoliva@redhat.com>
1538
1539 [BZ #14498]
1540 * NEWS: Fixed.
1541 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1542 after parsing line but before break_if_match.
1543 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1544 if there is a protocol mismatch.
1545
81959214
MS
15462014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1547
1548 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1549 because the potential race is on the user-supplied stream.
1550
7729e0e9
AO
15512014-11-21 Alexandre Oliva <aoliva@redhat.com>
1552
1553 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1554 string literal if not passed a buffer.
1555 * manual/job.texi (ctermid): Update reasoning, note deviation
1556 from posix, suggest mtasurace when not passed a buffer, for
1557 future non-preliminary safety notes.
1558
a4ea5e28
AO
15592014-11-21 Alexandre Oliva <aoliva@redhat.com>
1560
1561 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1562 of not passing it a buffer.
1563 Reported by Peng Haitao.
1564
a2b581cb
AO
15652014-11-21 Alexandre Oliva <aoliva@redhat.com>
1566
1567 * manual/Makefile ($(objpfx)stamp-summary): Require
1568 check-safety.sh to pass.
1569 * manual/check-safety.sh: Wish for verification that every
1570 @deftypefn and @deftypefun is followed by a @safety remark.
1571
f214ff74
RM
15722014-11-20 Roland McGrath <roland@hack.frob.com>
1573
7f0dfae0
RM
1574 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1575
2f531bbb
RM
1576 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1577 PTHREAD_CANCEL_ASYNCHRONOUS.
1578 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1579 send SIGCANCEL.
1580
f214ff74
RM
1581 * nptl/default-sched.h: New file.
1582 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1583 * nptl/pthread_create.c: Include it.
1584 (__pthread_create_2_1): Use collect_default_sched instead of making
1585 Linux syscalls here directly.
1586
e37c91d4
TR
15872014-11-20 Torvald Riegel <triegel@redhat.com>
1588
1589 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1590 __pthread_once): Use C11 atomics.
1591
1eccfecd
TR
15922014-11-20 Torvald Riegel <triegel@redhat.com>
1593
1594 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1595
ff871426
TR
15962014-11-20 Torvald Riegel <triegel@redhat.com>
1597
1598 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1599 atomic_thread_fence_acquire, atomic_thread_fence_release,
1600 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1601 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1602 atomic_compare_exchange_weak_relaxed,
1603 atomic_compare_exchange_weak_acquire,
1604 atomic_compare_exchange_weak_release,
1605 atomic_exchange_acquire, atomic_exchange_release,
1606 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1607 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1608 atomic_fetch_and_acquire,
1609 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1610
1ea339b6
TR
16112014-11-20 Torvald Riegel <triegel@redhat.com>
1612
1613 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1614 USE_ATOMIC_COMPILER_BUILTINS): Define.
1615 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1616 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1617 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1618 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1619 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1620 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1621 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1622 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1623 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1624 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1625 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1626 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1627 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1628 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1629 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1630 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1631 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1632 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1633 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1634 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1635 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1636 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1637 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1638 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1639 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1640 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1641 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1642 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1643 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1644 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1645 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1646 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1647 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1648 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1649 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1650 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1651 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1652 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1653 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1654 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1655
cbd463e2
RM
16562014-11-19 Roland McGrath <roland@hack.frob.com>
1657
d960211f
RM
1658 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1659 the sched_priority value here. It was already checked when the user
1660 called pthread_attr_setschedparam.
1661
cbd463e2
RM
1662 * nptl/tst-bad-schedattr.c: New file.
1663 * nptl/Makefile (tests): Add it.
1664
a39208bd
CD
16652014-11-19 Carlos O'Donell <carlos@redhat.com>
1666 Florian Weimer <fweimer@redhat.com>
1667 Joseph Myers <joseph@codesourcery.com>
1668 Adam Conrad <adconrad@0c3.net>
1669 Andreas Schwab <schwab@suse.de>
1670 Brooks <bmoses@google.com>
1671
1672 [BZ #17625]
1673 * wordexp-test.c (__dso_handle): Add prototype.
1674 (__register_atfork): Likewise.
1675 (__app_register_atfork): New function.
1676 (registered_forks): New global.
1677 (register_fork): New function.
1678 (test_case): Add 3 new tests for WRDE_CMDSUB.
1679 (main): Call __app_register_atfork.
1680 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1681 fork count is non-zero fail the test.
1682 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1683 is set.
1684 (parse_dollars): Remove check for WRDE_NOCMD.
1685 (parse_dquote): Likewise.
1686
9cd47470
SP
16872014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1688
130ac68c
SP
1689 * Makeconfig (built-modules): List non-library modules to be
1690 built.
1691 (module-cppflags): Include libc-modules.h for
1692 everything except shlib-versions.v.i.
1693 (CPPFLAGS): Use it.
1694 (before-compile): Add libc-modules.h.
1695 ($(common-objpfx)libc-modules.h,
1696 $(common-objpfx)libc-modules.stmp): New targets.
1697 (common-generated): Add libc-modules.h and libc-modules.stmp.
1698 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1699 * include/libc-symbols.h: Don't include libc-modules.h.
1700 * include/libc-modules.h: Remove file.
1701 * scripts/gen-libc-modules.awk: New script to generate
1702 libc-modules.h.
1703 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1704 Depend on libc-modules.stmp.
1705
286663c3
SP
1706 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1707
9cd47470
SP
1708 * Makeconfig (in-module): Get value of libof set for the
1709 translation unit.
1710 (CPPFLAGS): Use $(in-module).
1711 * Makerules: Don't suffix routine names for nonlib.
1712 * include/libc-modules.h: New file.
1713 * include/libc-symbols.h: Include libc-modules.h
1714 (IS_IN): New macro to replace IS_IN_* macros.
1715 * elf/Makefile: Set libof-* for each routine.
1716 * elf/rtld-Rules: Likewise.
1717 * extra-modules.mk: Likewise.
1718 * iconv/Makefile: Likewise.
1719 * iconvdata/Makefile: Likewise.
1720 * locale/Makefile: Likewise.
1721 * malloc/Makefile: Likewise.
1722 * nss/Makefile: Likewise.
1723 * sysdeps/gnu/Makefile: Likewise.
1724 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1725 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1726 * sysdeps/s390/s390-64/Makefile: Likewise.
1727 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1728 CPPFLAGS for nscd instead of nonlib.
1729
32fed10f
RM
17302014-11-18 Roland McGrath <roland@hack.frob.com>
1731
d71035bd
RM
1732 * nptl/createthread.c: New file.
1733
6540b991
RM
1734 * nptl/createthread.c: Moved ...
1735 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1736
32fed10f
RM
1737 * nptl/createthread.c: Add proper top-line comment.
1738 (do_clone): Folded into ...
1739 (create_thread): ... here. Take new arguments STOPPED_START and
1740 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1741 increment __nptl_threads, do event-reporting logic, do
1742 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1743 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1744 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1745 just send SIGCANCEL.
1746 * nptl/pthread_create.c: Forward-declare create_thread before
1747 including createthread.c.
1748 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1749 declaration, and new macro START_THREAD_SELF to replace argument.
1750 Remove return statement.
1751 (report_thread_creation): New function.
1752 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1753 synchronization logic, and __nptl_nthreads increment here, around
1754 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1755 PD->parent_cancelhandling here, before create_thread. When
1756 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1757 __deallocate_stack, and ENOMEM translation here.
1758
107a5bf0
JM
17592014-11-18 Joseph Myers <joseph@codesourcery.com>
1760
1761 [BZ #17616]
1762 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1763 (mptwo): Rename to __mptwo.
1764 (__inv): Use __mptwo instead of mptwo.
1765 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1766 (mptwo): Rename to __mptwo.
1767 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1768 of mpone and __mptwo instead of mptwo.
1769 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1770 instead of mpone.
1771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1772 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1773 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1774 of mpone and __mptwo instead of mptwo.
1775 (__mpranred): Use __mpone instead of mpone.
1776 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1777 variable.
1778 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1779 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1780 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1781 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1782 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1783 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1784 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1785 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1786 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1787 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1788 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1789 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1790 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1791 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1792 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1793 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1794 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1795 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1796 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1797
3b679ab3
TV
17982014-11-18 Tom de Vries <tom@codesoucery.com>
1799
1800 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1801 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
1802
18032014-11-17 Richard Henderson <rth@redhat.com>
1804
1805 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1806 (_FP_PACK_RAW_2): Remove.
1807 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1808 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1809 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1810 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1811 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1812 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1813 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1814 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1815 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1816 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1817 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1818 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1819 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1820 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1821 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1822 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1823
0781a777
RM
18242014-11-14 Roland McGrath <roland@hack.frob.com>
1825
1826 * signal/signal.h [__USE_MISC]
1827 (struct sigvec): Remove type.
1828 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1829 (sigvec): Remove declaration.
1830 * sysdeps/posix/sigvec.c: Moved ...
1831 * signal/sigvec.c: ... here, replacing old file.
1832 (struct sigvec): New type, copied from old signal.h definition.
1833 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1834 (__sigvec): Convert definition to prototype.
1835 (sigvec): Replace weak_alias with compat_symbol.
1836 * signal/Versions (libc: GLIBC_2.21): New version set.
1837 * include/signal.h: Remove __sigvec declaration.
1838 * sysdeps/unix/bsd/sigvec.c: Remove file.
1839 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1840 * manual/signal.texi (BSD Handler): Remove subsection.
1841 Move siginterrupt up to ...
1842 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1843 (Blocking in BSD): Fold subsection into its parent.
1844 * NEWS: Mention sigvec removal.
1845
a4733812
JM
18462014-11-14 Joseph Myers <joseph@codesourcery.com>
1847
5ae4fe60
JM
1848 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1849 (DLA_FMS): Make definition conditional only on [__FMA4__].
1850 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1851 definition.
1852
6a0dd472
JM
1853 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1854 Make definition conditional only on [PROF].
1855 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1856 definition.
1857 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1858 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1859
a4733812
JM
1860 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1861 !__GNUC__].
1862 * include/signal.h (__sigpause): Move declaration above call to
1863 libc_hidden_proto.
1864 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1865 variable.
1866 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1867 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1868
cf7246dd
DM
18692014-11-14 David S. Miller <davem@davemloft.net>
1870
1871 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1872 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1873
c1b0aadc
JM
18742014-11-14 Joseph Myers <joseph@codesourcery.com>
1875
4863355a
JM
1876 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1877 * configure: Regenerated.
1878 * manual/install.texi (Tools for Compilation): Document a
1879 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1880 compiler verified to work.
1881 * INSTALL: Regenerated.
1882
c1b0aadc
JM
1883 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1884 redeclare with asm name.
1885 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1886 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1887 including <string.h>.
1888 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1889 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1890 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1891 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1892 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1893 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1894 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1895
2a1cfd94
JM
18962014-11-13 Joseph Myers <joseph@codesourcery.com>
1897
bf438382
JM
1898 * stdlib/strtol.c (__strtol): Use prototype definition.
1899
2a1cfd94
JM
1900 [BZ #17594]
1901 * stdlib/strtol.c (SYM__): New macro.
1902 (SYM__1): Likewise.
1903 (__strtol): Likewise.
1904 (strtol): Rename to __strtol and define as weak alias of
1905 __strtol. Use libc_hidden_weak.
1906
20ed0d26
SL
19072014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1908
1909 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1910 Use numbered labels in inline assembly.
1911
53244a4e
SL
19122014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1913
1914 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1915 Add setjmp LIBC_PROBE.
1916 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1917 Likewise.
1918 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1919 Add longjmp, longjmp_target LIBC_PROBE.
1920 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1921 Likewise.
1922
47df8251
SL
19232014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1924
1925 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1926 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1927 to get rid of unused variable warning.
1928
618cebef
SL
19292014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1930
1931 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1932 Check for unwind_backtrace == NULL only in SHARED case.
1933 (__backchain_backtrace): Compile only in SHARED case.
1934 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1935 Likewise.
1936 (__backchain_backtrace): Declare as static.
1937
c6aab2cb
RM
19382014-11-12 Roland McGrath <roland@hack.frob.com>
1939
1940 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1941 (__libc_multiple_threads_ptr): Variable moved ...
1942 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1943
5a6fa4d7
JM
19442014-11-12 Joseph Myers <joseph@codesourcery.com>
1945
24f4f825
JM
1946 * conform/GlibcConform.pm: New file.
1947 * conform/conformtest.pl: Use GlibcConform module.
1948 * conform/linknamespace.pl: New file.
1949 * conform/list-header-symbols.pl: Likewise.
1950 * conform/Makefile (linknamespace-symlists-base): New variable.
1951 (linknamespace-symlists-tests): Likewise.
1952 (linknamespace-header-base): Likewise.
1953 (linknamespace-header-tests): Likewise.
1954 (tests-special): Add new tests.
1955 ($(linknamespace-symlists-tests)): New rule.
1956 (linknamespace-libs): New variable.
1957 ($(objpfx)symlist-stdlibs): New rule.
1958 ($(linknamespace-header-tests)): Likewise.
1959 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1960 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1961 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1962 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1963 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1964 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1965 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1966 (test-xfail-ISO/math.h/linknamespace): Likewise.
1967 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1968 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1969 (test-xfail-ISO/time.h/linknamespace): Likewise.
1970 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1971 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1972 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1973 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1974 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1975 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1976 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1977 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1978 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1979 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1980 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1981 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1982 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1983 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1984 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1985 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1986 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1987 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1988 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1989 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1990 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1991 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1992 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1993 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1994 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1995 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1996 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1997 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1998 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1999 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2000 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2001 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2002 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2003 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2004 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2005 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2006 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2007 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2008 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2009 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2010 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2011 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2012 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2013 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2014 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2015 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2016 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2017 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2018 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2019 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2020 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2021 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2022 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2023 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2024 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2025 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2026 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2027 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2028 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2029 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2030 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2031 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2032 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2033 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2034 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2035 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2036 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2037 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2038 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2039 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2040 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2041 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2042 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2043 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2044 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2045 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2046 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2047 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2048 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2049 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2050 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2051 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2052 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2053 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2054 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2055 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2056 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2057 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2058 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2059 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2060 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2061 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2062 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2063 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2064 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2065 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2066 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2067 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2068 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2069 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2070 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2071 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2072 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2073 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2074 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2075 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2076 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2077 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2078 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2079 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2080 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2081 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2082 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2083 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2084 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2085 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2086 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2087 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2088 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2089 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2090 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2091 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2092 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2093 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2094 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2095 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2096 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2097 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2098 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2099 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2100 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2101 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2102 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2103 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2104 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2105 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2106 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2107 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2108 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2109 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2110 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2111 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2112 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2113 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2114 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2115 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2116 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2117 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2118 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2119 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2120
cc67478e
JM
2121 [BZ #17589]
2122 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2123 of fgets_unlocked.
2124
9975e3d3
JM
2125 [BZ #17585]
2126 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2127 (memmem): Rename to __memmem and define as weak alias of
2128 __memmem. Use libc_hidden_weak.
2129 (__memmem): Use libc_hidden_def.
2130 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
2131 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2132 memmem.
2133
c4eae752
JM
2134 [BZ #17582]
2135 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2136 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
2137 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2138 and define as weak alias of __fgets_unlocked. Use
2139 libc_hidden_weak.
2140 (__fgets_unlocked): Use libc_hidden_def.
2141 * include/stdio.h (__fgets_unlocked): Declare. Use
2142 libc_hidden_proto.
2143 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2144 __fgets_unlocked instead of fgets_unlocked.
2145 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2146 (GET_NPROCS_CONF_PARSER): Likewise.
2147 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2148 (GET_NPROCS_CONF_PARSER): Likewise.
2149
01cad84e
JM
2150 [BZ #17574]
2151 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2152 weak alias of __wmemset. Use libc_hidden_weak.
2153 (__wmemset): Use libc_hidden_def.
2154 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
2155 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2156 of wmemset.
2157
939da411
JM
2158 [BZ #17573]
2159 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2160 with asm name __mempcpy.
2161 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2162
293d9a41
JM
2163 [BZ #17572]
2164 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2165 and define as weak alias of __rawmemchr.
2166 (__rawmemchr): Do not define as strong alias of rawmemchr.
2167
bef8fd60
JM
2168 [BZ #17571]
2169 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2170 alias of __qsort_r.
2171 (qsort): Call __qsort_r instead of qsort_r.
2172 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2173 (__qsort_r): Declare. Call libc_hidden_proto.
2174 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2175 instead of qsort_r.
2176 * nscd/gai.c (__qsort_r): Define to qsort_r.
2177 * posix/tst-rfc3484.c (__qsort_r): Likewise.
2178 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2179 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2180
c52ff39e
JM
2181 [BZ #17570]
2182 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2183 define as weak alias of __malloc_info.
2184
2f5c1b00
JM
2185 [BZ #17584]
2186 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2187 as weak alias of __rewinddir. Don't use libc_hidden_def.
2188 (__rewinddir): Use libc_hidden_def.
2189 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2190 as weak alias of __rewinddir. Don't use libc_hidden_def.
2191 (__rewinddir): Use libc_hidden_def.
2192 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2193 weak alias of __rewinddir. Don't use libc_hidden_def.
2194 (__rewinddir): Use libc_hidden_def.
2195 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2196 (__rewinddir): Use libc_hidden_proto.
2197 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2198 rewinddir.
2199 (__getcwd): Use __rewinddir instead of rewinddir.
2200
5a6fa4d7
JM
2201 [BZ #17583]
2202 * libio/fileno.c (fileno): Rename to __fileno and define as weak
2203 alias of __fileno. Use libc_hidden_weak.
2204 (__fileno): Use libc_hidden_def.
2205 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2206 * libio/ftello.c (ftello): Rename to __ftello and define as weak
2207 alias of __ftello.
2208 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2209 __ftello.
2210 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2211 (__fread_unlocked): Define as strong alias of _IO_fread. Use
2212 libc_hidden_def.
2213 (fread_unlocked): Don't use libc_hidden_ver.
2214 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2215 and define as weak alias of __fread_unlocked. Don't use
2216 libc_hidden_def.
2217 (__fread_unlocked): Use libc_hidden_def.
2218 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
2219 (ftello): Don't use libc_hidden_proto.
2220 (__ftello): Declare. Use libc_hidden_proto.
2221 (fread_unlocked): Don't use libc_hidden_proto.
2222 (__fread_unlocked): Declare. Use libc_hidden_proto.
2223 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2224 and __ftello instead of fileno, fread_unlocked and ftello.
2225
2581b98e
SP
22262012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2227
2228 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2229 GOT12.
2230 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2231 Likewise.
2232 (_dl_start_user): Likewise.
2233 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2234
533bb7c2
SP
22352014-11-12 Carlos O'Donell <carlos@redhat.com>
2236 Siddhesh Poyarekar <siddhesh@redhat.com>
2237
2238 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2239 Move argv and envp down instead of moving argc up.
2240 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2241
fffa1cf8
LH
22422014-11-12 Leonhard Holz <leonhard.holz@web.de>
2243
2244 [BZ #17506]
2245 * test-skeleton.c (main): Return successful if one of
2246 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2247 * string/tst-strcoll-overflow.c: Define expected status.
2248
fb89b46d
TU
22492014-11-12 Tatiana Udalova <t.udalova@samsung.com>
2250
2251 [BZ #17475]
2252 * locale/iso-639.def: Define Bhili and Tulu language codes.
2253
5c40c3ba
AH
22542014-11-11 Alan Hayward <alan.hayward@arm.com>
2255
2256 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2257
b17fe01b 22582014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
2259
2260 [BZ #17555]
2261 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2262
bd805071
AS
22632014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2264
2265 * configure.ac: Updated check of minimal required version to
2266 2.22.
2267 * manual/install.texi (Tools for Compilation): Updated version
2268 number.
2269 * configure: Regenerated.
2270 * INSTALL: Likewise.
2271
1400983e
AS
22722014-11-07 Andreas Schwab <schwab@linux-m68k.org>
2273
2274 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2275 __tls_get_addr.
2276
2c46a66a
JM
22772014-11-07 Joseph Myers <joseph@codesourcery.com>
2278
2279 * include/sys/wait.h (__libc_waitpid): Remove declaration.
2280 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2281 (__waitpid): Don't define as alias. Use libc_hidden_def not
2282 libc_hidden_weak.
2283 (waitpid): Define as alias of __waitpid.
2284 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2285 __waitpid.
2286 (__waitpid): Don't define as alias. Use libc_hidden_def not
2287 libc_hidden_weak.
2288 (waitpid): Define as alias of __waitpid.
2289 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2290 __libc_waitpid alias.
2291 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2292 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2293 Likewise.
2294 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2295 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2296 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2297 alias.
2298 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2299 __waitpid.
2300 (__waitpid): Don't define as alias. Use libc_hidden_def not
2301 libc_hidden_weak.
2302 (waitpid): Define as alias of __waitpid.
2303
da53d6db
CD
23042014-11-06 Carlos O'Donell <carlos@redhat.com>
2305
a2887bdb
CD
2306 * manual/llio.texi: Add comment that write safety has been
2307 fixed in Linux.
2308
da53d6db
CD
2309 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2310 (localplt-build-dso): Add elf/ld.so.
2311 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2312 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2313 and free for ld.so.
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2315 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2317 Likewise.
2318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2319 Likewise.
2320 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2321 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2322 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2323 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2324 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2325 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2326 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2327 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2328 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2329 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2330 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2331
9cf27b8d
JM
23322014-11-05 Joseph Myers <joseph@codesourcery.com>
2333
2334 [BZ #14132]
2335 * include/libc-symbols.h (INTUSE): Remove macro.
2336 (INTDEF): Likewise.
2337 (INTVARDEF): Likewise.
2338 (_INTVARDEF): Likewise.
2339 (INTDEF2): Likewise.
2340 (INTVARDEF2): Likewise.
2341 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2342 rtld_hidden_def instead of INTVARDEF.
2343 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2344 (_dl_starting_up_internal): Remove declaration.
2345 (_dl_starting_up): Use rtld_hidden_proto.
2346 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2347 declaration.
2348 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2349 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2350 _dl_starting_up.
2351 * elf/dl-writev.h (_dl_writev): Likewise.
2352 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2353 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2354 _dl_starting_up_internal.
2355
af83568d
AZ
23562014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2357
2358 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2359 test-skeleton.c.
2360
b01ee67c
WN
23612014-11-05 Will Newton <will.newton@linaro.org>
2362
2363 * benchtests/Makefile: (bench-malloc): Add malloc thread
2364 scalability benchmark.
2365 * benchtests/bench-malloc-threads.c: New file.
2366
be9d4ccc
RE
23672014-11-05 Richard Earnshaw <rearnsha@arm.com>
2368
2369 * sysdeps/aarch64/strchrnul.S: New file.
2370
7110166d
AZ
23712014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2372
2373 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2374 definition.
2375 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2376 Likwise.
2377 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2378 Likewise.
2379 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2380 Likewise.
2381 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2382 Likewise.
2383 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2384 Likewise.
2385
23862014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
2387
2388 * catgets/test-gencat.c: Use test-skeleton.c.
2389 * catgets/tst-catgets.c: Likewise.
2390 * csu/tst-empty.c: Likewise.
2391 * elf/tst-audit2.c: Likewise.
2392 * elf/tst-global1.c: Likewise.
2393 * elf/tst-pathopt.c: Likewise.
2394 * elf/tst-piemod1.c: Likewise.
2395 * elf/tst-tls10.c: Likewise.
2396 * elf/tst-tls11.c: Likewise.
2397 * elf/tst-tls12.c: Likewise.
2398 * gnulib/tst-gcc.c: Likewise.
2399 * iconvdata/tst-e2big.c: Likewise.
2400 * iconvdata/tst-loading.c: Likewise.
2401 * iconv/tst-iconv1.c: Likewise.
2402 * iconv/tst-iconv2.c: Likewise.
2403 * inet/test-inet6_opt.c: Likewise.
2404 * inet/tst-gethnm.c: Likewise.
2405 * inet/tst-network.c: Likewise.
2406 * inet/tst-ntoa.c: Likewise.
2407 * intl/tst-codeset.c: Likewise.
2408 * intl/tst-gettext2.c: Likewise.
2409 * intl/tst-gettext3.c: Likewise.
2410 * intl/tst-ngettext.c: Likewise.
2411 * intl/tst-translit.c: Likewise.
2412 * io/test-stat.c: Likewise.
2413 * libio/test-fmemopen.c: Likewise.
2414 * libio/tst-freopen.c: Likewise.
2415 * libio/tst-sscanf.c: Likewise.
2416 * libio/tst-ungetwc1.c: Likewise.
2417 * libio/tst-ungetwc2.c: Likewise.
2418 * libio/tst-widetext.c: Likewise.
2419 * localedata/tst-ctype.c: Likewise.
2420 * localedata/tst-digits.c: Likewise.
2421 * localedata/tst-leaks.c: Likewise.
2422 * localedata/tst-mbswcs1.c: Likewise.
2423 * localedata/tst-mbswcs2.c: Likewise.
2424 * localedata/tst-mbswcs3.c: Likewise.
2425 * localedata/tst-mbswcs4.c: Likewise.
2426 * localedata/tst-mbswcs5.c: Likewise.
2427 * localedata/tst-setlocale.c: Likewise.
2428 * localedata/tst-trans.c: Likewise.
2429 * localedata/tst-wctype.c: Likewise.
2430 * localedata/tst-xlocale1.c: Likewise.
2431 * login/tst-grantpt.c: Likewise.
2432 * malloc/tst-calloc.c: Likewise.
2433 * malloc/tst-malloc.c: Likewise.
2434 * malloc/tst-mallocstate.c: Likewise.
2435 * malloc/tst-mcheck.c: Likewise.
2436 * malloc/tst-mtrace.c: Likewise.
2437 * malloc/tst-obstack.c: Likewise.
2438 * math/atest-exp2.c: Likewise.
2439 * math/atest-exp.c: Likewise.
2440 * math/atest-sincos.c: Likewise.
2441 * math/test-matherr.c: Likewise.
2442 * math/test-misc.c: Likewise.
2443 * math/test-powl.c: Likewise.
2444 * math/tst-definitions.c: Likewise.
2445 * misc/tst-dirname.c: Likewise.
2446 * misc/tst-efgcvt.c: Likewise.
2447 * misc/tst-fdset.c: Likewise.
2448 * misc/tst-hsearch.c: Likewise.
2449 * misc/tst-mntent2.c: Likewise.
2450 * nptl/tst-sem7.c: Likewise.
2451 * nptl/tst-sem8.c: Likewise.
2452 * nptl/tst-sem9.c: Likewise.
2453 * nss/test-netdb.c: Likewise.
2454 * posix/tst-fnmatch.c: Likewise.
2455 * posix/tst-getlogin.c: Likewise.
2456 * posix/tst-gnuglob.c: Likewise.
2457 * posix/tst-mmap.c: Likewise.
2458 * pwd/tst-getpw.c: Likewise.
2459 * resolv/tst-inet_ntop.c: Likewise.
2460 * rt/tst-timer.c: Likewise.
2461 * stdio-common/test-fseek.c: Likewise.
2462 * stdio-common/test-popen.c: Likewise.
2463 * stdio-common/test-vfprintf.c: Likewise.
2464 * stdio-common/tst-cookie.c: Likewise.
2465 * stdio-common/tst-fileno.c: Likewise.
2466 * stdio-common/tst-gets.c: Likewise.
2467 * stdio-common/tst-obprintf.c: Likewise.
2468 * stdio-common/tst-perror.c: Likewise.
2469 * stdio-common/tst-sprintf2.c: Likewise.
2470 * stdio-common/tst-sprintf3.c: Likewise.
2471 * stdio-common/tst-sprintf.c: Likewise.
2472 * stdio-common/tst-swprintf.c: Likewise.
2473 * stdio-common/tst-tmpnam.c: Likewise.
2474 * stdio-common/tst-unbputc.c: Likewise.
2475 * stdio-common/tst-wc-printf.c: Likewise.
2476 * stdlib/tst-environ.c: Likewise.
2477 * stdlib/tst-fmtmsg.c: Likewise.
2478 * stdlib/tst-limits.c: Likewise.
2479 * stdlib/tst-rand48-2.c: Likewise.
2480 * stdlib/tst-rand48.c: Likewise.
2481 * stdlib/tst-random2.c: Likewise.
2482 * stdlib/tst-random.c: Likewise.
2483 * stdlib/tst-strtol.c: Likewise.
2484 * stdlib/tst-strtoll.c: Likewise.
2485 * stdlib/tst-tls-atexit.c: Likewise.
2486 * stdlib/tst-xpg-basename.c: Likewise.
2487 * string/test-ffs.c: Likewise.
2488 * string/tst-bswap.c: Likewise.
2489 * string/tst-inlcall.c: Likewise.
2490 * string/tst-strtok.c: Likewise.
2491 * string/tst-strxfrm.c: Likewise.
2492 * sysdeps/x86_64/tst-audit10.c: Likewise.
2493 * sysdeps/x86_64/tst-audit3.c: Likewise.
2494 * sysdeps/x86_64/tst-audit4.c: Likewise.
2495 * sysdeps/x86_64/tst-audit5.c: Likewise.
2496 * time/tst-ftime_l.c: Likewise.
2497 * time/tst-getdate.c: Likewise.
2498 * time/tst-mktime3.c: Likewise.
2499 * time/tst-mktime.c: Likewise.
2500 * time/tst-posixtz.c: Likewise.
2501 * time/tst-strptime2.c: Likewise.
2502 * time/tst-strptime3.c: Likewise.
2503 * wcsmbs/tst-btowc.c: Likewise.
2504 * wcsmbs/tst-mbrtowc.c: Likewise.
2505 * wcsmbs/tst-mbsrtowcs.c: Likewise.
2506 * wcsmbs/tst-wchar-h.c: Likewise.
2507 * wcsmbs/tst-wcpncpy.c: Likewise.
2508 * wcsmbs/tst-wcrtomb.c: Likewise.
2509 * wcsmbs/tst-wcsnlen.c: Likewise.
2510 * wcsmbs/tst-wcstof.c: Likewise.
2511
2004e7fb
JM
25122014-11-04 Joseph Myers <joseph@codesourcery.com>
2513
ab97ee8f
JM
2514 [BZ #14132]
2515 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2516 INTDEF.
2517 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2518 declaration.
2519 (_dl_mcount): Use rtld_hidden_proto.
2520 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2521 _dl_mcount.
2522 * elf/rtld.c (_rtld_global_ro): Likewise.
2523
c5684fdb
JM
2524 [BZ #14132]
2525 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2526 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2527 of _dl_init_internal.
2528 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2529 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2530 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2531 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2532 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2533 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2534 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2535 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2536 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2537 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2538 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2539 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2540 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2541 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2542 * sysdeps/tile/dl-start.S (_start): Likewise.
2543 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2544 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2545
4243cbea
JM
2546 [BZ #14132]
2547 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2548 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2549 (rtld_progname): Make macro definition unconditional.
2550 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2551 INTDEF.
2552 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2553 (dl_main): Likewise.
2554 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2555 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2556 instead of _dl_argv_internal.
2557 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2558 __GI__dl_argv instead of INTUSE(_dl_argv).
2559 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2560 __GI__dl_argv instead of _dl_argv_internal.
2561
2004e7fb
JM
2562 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2563 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2564 macro.
2565 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2566 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2567 New macro.
2568 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2569 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2570 macro.
2571 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2572 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2573
97827bfc
AS
25742014-11-04 Andreas Schwab <schwab@suse.de>
2575
2576 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2577
5e4df284
AZ
25782014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2579
2580 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2581 mtvsrd instruction in binary form.
2582
04b76b5a
AS
25832014-11-03 Andreas Schwab <schwab@suse.de>
2584
2585 [BZ #17522]
2586 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2587 for less than MB_LEN_MAX use a local buffer of that size.
2588 * libio/tst-fputws.c: New file.
2589 * libio/Makefile (tests): Add tst-fputws.
2590
4c6da7da
JM
25912014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2592
2593 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2594 the size of the fpu_fr.fpu_dregs[] array.
2595
1679ba8e
JM
25962014-11-01 Joseph Myers <joseph@codesourcery.com>
2597
2598 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2599 (__nanosleep): Do not define as alias.
2600 (nanosleep): Define as alias of __nanosleep.
2601 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2602 __libc_nanosleep name.
2603
2626c183
JM
26042014-10-31 Joseph Myers <joseph@codesourcery.com>
2605
2606 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2607 install.texi in comment.
2608
7f981fc2
TR
26092014-10-31 Torvald Riegel <triegel@redhat.com>
2610
2611 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2612 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2613 ... add here and use lwsync or sync ...
2614 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2615 ... and add here using lwsync.
2616
d6f373d2
MF
26172014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2618
2619 * elf/dl-machine-reject-phdr.h: New file.
2620 * elf/dl-load.c: #include that.
2621 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2622 if that returned true.
2623
67c37987
RM
26242014-10-31 Roland McGrath <roland@hack.frob.com>
2625
2626 [BZ #17496]
2627 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2628 gen-as-const-headers chunk. Add a big scare comment after the last
2629 safe place to touch before-compile.
2630
94a42455 26312014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 2632
f3f5d895
JM
2633 * manual/install.texi (Tools for Compilation): Update autoconf
2634 version requirements.
2635 * INSTALL: Regenerated.
2636
f62ff286
JM
2637 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2638 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2639 (__libc_pselect): Likewise.
94a42455
JM
2640
2641 [BZ #14138]
2642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2646
ff9dbdc0
TR
26472014-10-31 Torvald Riegel <triegel@redhat.com>
2648
2649 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2650 correct barrier instruction.
2651 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2652 Likewise.
2653 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2654 Likewise.
2655
b4f66884
RM
26562014-10-30 Roland McGrath <roland@hack.frob.com>
2657
2658 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2659 after defining inlines. Instead, just use parens to defeat macro
2660 expansion of __isctype in its declaration.
2661
e19c95fd
JM
26622014-10-30 Joseph Myers <joseph@codesourcery.com>
2663
2664 * include/sys/uio.h (__libc_readv): Remove declaration.
2665 (__libc_writev): Likewise.
2666 * misc/readv.c (__libc_readv): Rename to __readv.
2667 (__readv): Do not define as alias.
2668 (readv): Define as alias of __readv.
2669 * misc/writev.c (__libc_writev): Rename to __writev.
2670 (__writev): Do not define as alias.
2671 (writev): Define as alias of __writev.
2672 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2673 (__readv): Do not define as alias.
2674 (readv): Define unconditionally as alias of __readv.
2675 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2676 (__writev): Do not define as alias.
2677 (writev): Define unconditionally as alias of __writev.
2678 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2679 name.
2680 (writev): Do not define __libc_writev name.
2681
65b00b6c
RM
26822014-10-30 Roland McGrath <roland@hack.frob.com>
2683
2684 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2685 (convert_charseq): New function, broken out of ...
2686 (use_from_charmap): ... here. Call it.
2687 (use_to_charmap): Use convert_charseq and free instead of duplicating
2688 its code with a variable-length stack struct.
2689
d4e157aa
JM
26902014-10-30 Joseph Myers <joseph@codesourcery.com>
2691
2692 * include/fcntl.h (__libc_creat): Remove declaration.
2693 * io/creat.c (__libc_creat): Rename to creat.
2694 (creat): Do not define as alias.
2695 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2696 of creat instead of __libc_creat.
2697 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2698 to creat.
2699 (creat): Do not define as alias.
2700 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2701 __libc_creat.
2702 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2703 __libc_creat name.
2704 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2705 Likewise.
2706
0c6891a0
CD
27072014-10-29 Carlos O'Donell <carlos@redhat.com>
2708
2709 * manual/llio.texi: Add comments discussing why write() may be
2710 considered MT-unsafe on Linux.
2711
cc00cece
CD
27122014-10-28 Carlos O'Donell <carlos@redhat.com>
2713
2714 * dl-load.c (local_strdup): Remove.
2715 (expand_dynamic_string_token): Use __strdup.
2716 (decompose_rpath): Likewise.
2717 (_dl_map_object): Likewise.
2718
51e623f2
JM
27192014-10-28 Joseph Myers <joseph@codesourcery.com>
2720
2721 [BZ #14132]
2722 * sysdeps/generic/unwind-dw2-fde.c
2723 (__register_frame_info_bases_internal): Do not declare.
2724 (__register_frame_info_table_bases_internal): Likewise.
2725 (__deregister_frame_info_bases_internal): Likewise.
2726 (__register_frame_info_bases): Declare and use hidden_proto before
2727 definition. Use hidden_def instead of INTDEF.
2728 (__register_frame_info_table_bases): Likewise.
2729 (__deregister_frame_info_bases): Likewise.
2730 (__register_frame_info): Do not use INTUSE.
2731 (__register_frame): Likewise.
2732 (__register_frame_info_table): Likewise.
2733 (__register_frame_table): Likewise.
2734 (__deregister_frame_info): Likewise.
2735 (__deregister_frame): Likewise.
2736
03d41216
GC
27372014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2738
2739 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2740 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2741 not undefine.
2742 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2743 Likewise.
2744 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2745 Likewise.
2746
a4b3624d
JM
27472014-10-27 Joseph Myers <joseph@codesourcery.com>
2748
2749 [BZ #14138]
2750 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2751 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2752 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2753 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2754 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2755 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2756 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2757 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2758 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2759 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2760 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2761 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2762 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2763 syscall.
2764 (setfsuid): Likewise.
2765 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2766 (setfsuid): Likewise.
2767 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2768 (setfsuid): Likewise.
2769 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2770 Likewise.
2771 (setfsuid): Likewise.
2772 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2773 (setfsuid): Likewise.
2774 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2775 Likewise.
2776 (setfsuid): Likewise.
2777
3574f2fd
AS
27782014-10-27 Andreas Schwab <schwab@suse.de>
2779
2780 [BZ #17501]
2781 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2782 check for Slow_SSE4_2 feature bit.
2783 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2784 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2785 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2786 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2787
70996a37
RM
27882014-10-24 Roland McGrath <roland@hack.frob.com>
2789
461a7b1e
RM
2790 * configure.ac: Validate compiler version with a empirical test of
2791 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2792 $CC -v output.
2793 * configure: Regenerated.
2794
70996a37
RM
2795 * inet/htons.c (htons): Prototypify.
2796 * inet/htonl.c (htonl): Likewise.
2797
e80514b5
WD
27982014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2799
2800 * string/strncat.c (strncat): Improve performance by using strlen.
2801
6e46de42
WD
28022014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2803
2804 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2805
6a9ad2fa
WD
28062014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2807
2808 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2809 Call libc_fetestexcept_aarch64.
2810
1c8810ed
WD
28112014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2812
2813 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2814 Call libc_feholdexcept_aarch64.
2815
8b1af712
WD
28162014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2817
2818 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2819 Call get_rounding_mode.
2820
a7b00c11
WD
28212014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2822
2823 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2824 Simplify logic.
2825
3a84f1a6
WD
28262014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2827
2828 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2829 Simplify logic.
2830
48eb7a94
JM
28312014-10-24 Joseph Myers <joseph@codesourcery.com>
2832
c8bc4038
JM
2833 [BZ #14138]
2834 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2835 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2836 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2837 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2838 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2839 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2840 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2841 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2842 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2843 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2844 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2845 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2846 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2847 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2848 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2849 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2850 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2851 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2852 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2853 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2854 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2855 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2856 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2857 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2858 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2859 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2860 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2861 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2862 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2863 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2864 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2865 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2866 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2867 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2868 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2869 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2870 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2871 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2872 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2873 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2874 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2875 syscall.
2876 (geteuid): Likewise.
2877 (getgid): Likewise.
2878 (getuid): Likewise.
2879 (getresgid): Likewise.
2880 (getresuid): Likewise.
2881 (getgroups): Likewise.
2882 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2883 (geteuid): Likewise.
2884 (getgid): Likewise.
2885 (getuid): Likewise.
2886 (getresgid): Likewise.
2887 (getresuid): Likewise.
2888 (getgroups): Likewise.
2889 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2890 (geteuid): Likewise.
2891 (getgid): Likewise.
2892 (getuid): Likewise.
2893 (getresgid): Likewise.
2894 (getresuid): Likewise.
2895 (getgroups): Likewise.
2896 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2897 Likewise.
2898 (geteuid): Likewise.
2899 (getgid): Likewise.
2900 (getuid): Likewise.
2901 (getresgid): Likewise.
2902 (getresuid): Likewise.
2903 (getgroups): Likewise.
2904 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2905 (geteuid): Likewise.
2906 (getgid): Likewise.
2907 (getuid): Likewise.
2908 (getresgid): Likewise.
2909 (getresuid): Likewise.
2910 (getgroups): Likewise.
2911 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2912 Likewise.
2913 (geteuid): Likewise.
2914 (getgid): Likewise.
2915 (getuid): Likewise.
2916 (getgroups): Likewise.
2917
48eb7a94
JM
2918 [BZ #14138]
2919 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2920 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2921 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2922 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2923 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2924 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2925 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2926 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2927 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2928 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2929 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2930 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2931 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2932 __chown.
2933 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2934 (lchown): Likewise.
2935 (fchown): Likewise.
2936 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2937 Likewise.
2938 (lchown): Likewise.
2939 (fchown): Likewise.
2940 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2941 (lchown): Likewise.
2942 (fchown): Likewise.
2943 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2944 Likewise.
2945 (lchown): Likewise.
2946 (fchown): Likewise.
2947
ea9a7c8b
WD
29482014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2949
2950 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2951 Simplify logic.
2952
e226de33
WD
29532014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2954
2955 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2956 Cleanup logic.
2957
6e3d8ed3
WD
29582014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2959
2960 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2961 Remove unused include.
2962
eb04247d
WD
29632014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2964
2965 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2966 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2967 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2968 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2969
13d84554
CD
29702014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2971 Helge Deller <deller@gmx.de>
2972
2973 [BZ #17508]
2974 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2975 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2976 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2977
15f9c5df
JM
29782014-10-23 Joseph Myers <joseph@codesourcery.com>
2979
2980 [BZ #14132]
2981 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2982 Remove macro definition.
2983 (__ashrdi3_v_glibc20): Likewise.
2984 (__lshrdi3_v_glibc20): Likewise.
2985 (__cmpdi2_v_glibc20): Likewise.
2986 (__ucmpdi2_v_glibc20): Likewise.
2987 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2988 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2989 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2990 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2991 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2992 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2993
c6dfed24
RM
29942014-10-22 Roland McGrath <roland@hack.frob.com>
2995
2996 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2997 old GNU extension [0] syntax.
2998 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2999 alloca rather than an array member with variable length.
3000 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3001 * nscd/nscd.c (invalidate_db): New function, broken out of ...
3002 (parse_opt): ... here. Likewise use alloca there.
3003 Validate the -i argument before checking for rootness.
3004 (send_shutdown): New function, broken out of ...
3005 (parse_opt): ... here.
3006
8c2b1ed8
RM
30072014-10-22 Roland McGrath <roland@hack.frob.com>
3008
3009 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3010 macro to get at the _rt_local_ro field.
3011 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3012 ([PIC] case) or _dl_hwcap ([!PIC] case).
3013 * sysdeps/arm/setjmp.S: Likewise.
3014
3015 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3016 * sysdeps/arm/configure.ac: New check to define it.
3017 * sysdeps/arm/configure: Regenerated.
3018 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3019 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3020 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3021 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3022 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3023 Use move/movt pair instead of a load.
3024 (LDST_GLOBAL): Macro removed.
3025 (LDR_GLOBAL): New macro replaces it.
3026 (LDR_HIDDEN): New macro.
3027 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3028 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3029
3030 * setjmp/tst-setjmp-static.c: New file.
3031 * setjmp/Makefile (tests): Add it.
3032 (tests-static): New variable.
3033
b5af9297
MR
30342014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
3035
3036 [BZ #17485]
3037 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3038
a13d0d74
JM
30392014-10-21 Joseph Myers <joseph@codesourcery.com>
3040
3041 [BZ #14132]
3042 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3043
f05e73f6
RM
30442014-10-21 Roland McGrath <roland@hack.frob.com>
3045
3046 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3047
6ab1d1ea
RM
30482014-10-20 Roland McGrath <roland@hack.frob.com>
3049
3050 * io/fts.c (dirent_not_directory): New function.
3051 (fts_build): Call it.
3052
ab49e763
RM
30532014-10-20 Roland McGrath <roland@hack.frob.com>
3054
e436eb79
RM
3055 * nptl/version.c (__nptl_main): Use normal __write rather than
3056 INTERNAL_SYSCALL.
3057 (banner): Update copyright years.
3058
6af246cf
RM
3059 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3060 gettimeofday.
3061 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3062 * nptl/pthread_cond_timedwait.c: Likewise.
3063 * nptl/pthread_mutex_timedlock.c: Likewise.
3064 * nptl/sem_timedwait.c: Likewise.
3065
ab49e763
RM
3066 * sysdeps/nptl/bits/libc-lock.h
3067 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3068 (__libc_lock_init_recursive): Return void, not 0.
3069 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3070 (__libc_rwlock_init): Likewise.
3071 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3072
f50277c1
TR
30732014-10-20 Torvald Riegel <triegel@redhat.com>
3074
3075 [BZ #15215]
3076 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3077 (__pthread_once_slow): ... here.
3078 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3079 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3080
63668b70
TR
30812014-10-20 Torvald Riegel <triegel@redhat.com>
3082
3083 [BZ #15215]
3084 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3085 __PTHREAD_ONCE_FORK_GEN_INCR): New.
3086 * sysdeps/nptl/fork.c (__libc_fork): Use them.
3087 * nptl/pthread_once.c (__pthread_once): Likewise.
3088 Update comments.
3089
42b7f5d4
JM
30902014-10-20 Joseph Myers <joseph@codesourcery.com>
3091
3092 [BZ #14138]
3093 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3094 name.
3095 (writev): Use __libc_writev as strong name.
3096 * sysdeps/unix/sysv/linux/readv.c: Remove file.
3097 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3098
b0643088
RM
30992014-10-17 Roland McGrath <roland@hack.frob.com>
3100
114c4e09
RM
3101 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3102
674b8978
RM
3103 * sysdeps/i386/nptl/tls.h
3104 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3105 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3106 New macros.
3107 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3108 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3109 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3110 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3111 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3112 Call CHECK_THREAD_SYSINFO instead of doing an assert.
3113
184ee940
RM
3114 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3115 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3116 on [__NR_futex].
3117 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3118 broken out of ...
3119 (__pthread_mutex_init): ... here. Call it.
3120 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3121 Conditionalize PI cases on [__NR_futex].
3122 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3123 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3124 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3125
327ae257
RM
3126 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3127 conditional on [SIGSETXID].
3128 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3129 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3130 is defined. Likewise for SIGSETXID.
3131 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3132 Conditionalize definitions on [SIGSETXID].
3133 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3134 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3135 unblocking on [SIGCANCEL].
3136
b0643088
RM
3137 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3138 [__NR_set_robust_list].
3139
33cc770b
SP
31402014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3141
3142 * string/strcoll_l.c (get_next_seq): Fix up formatting.
3143 (do_compare): Likewise.
3144
0742aef6
LH
31452014-10-17 Leonhard Holz <leonhard.holz@web.de>
3146
3147 [BZ #15884]
3148 * string/strcoll_l.c: Don't include stdio.h.
3149 (coll_seq): Remove members idxarr and rulearr.
3150 (get_next_seq_cached): Remove function.
3151 (get_next_seq): Likewise.
3152 (get_next_seq_nocache): Rename to get_next_seq.
3153 (do_compare): Remove function.
3154 (do_compare_nocache): Rename to do_compare.
3155 (STRCOLL): Remove weight and rules cache.
3156
ee54ce44
RM
31572014-10-16 Roland McGrath <roland@hack.frob.com>
3158
3159 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3160 * sysdeps/arm/sfp-machine.h: ... to here.
3161 * sysdeps/arm/Implies: Remove arm/soft-fp.
3162
a75d3b02
JM
31632014-10-14 Joseph Myers <joseph@codesourcery.com>
3164
3165 * conform/data/sys/utsname.h-data (*_t): Allow.
3166 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3167 [POSIX] (WEXITED): Do not expect constant.
3168 [POSIX] (WSTOPPED): Likewise.
3169 [POSIX] (WNOHANG): Likewise.
3170 [POSIX] (WNOWAIT): Likewise.
3171 [POSIX] (siginfo_t): Do not expect type or elements.
3172 [POSIX] (pid_t): Do not expect type.
3173 [POSIX] (signal.h): Do not allow header.
3174 [POSIX] (sys/resource.h): Likewise.
3175 [POSIX] (si_*): Do not allow pattern.
3176 [POSIX] (W*): Likewise.
3177 [POSIX] (P_*): Likewise.
3178 [POSIX] (BUS_*): Likewise.
3179 [POSIX] (CLD_*): Likewise.
3180 [POSIX] (FPE_*): Likewise.
3181 [POSIX] (ILL_*): Likewise.
3182 [POSIX] (POLL_*): Likewise.
3183 [POSIX] (SEGV_*): Likewise.
3184 [POSIX] (SI_*): Likewise.
3185 [POSIX] (TRAP_*): Likewise.
3186 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3187 variable.
3188
fda389c8
SP
31892014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3190
3191 [BZ #12926]
3192 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3193 infinite loop when __recvmsg returns 0.
3194
6bc6bd3b
JM
31952014-10-10 Joseph Myers <joseph@codesourcery.com>
3196
fcb32af1
JM
3197 * CANCEL-FCT-WAIVE: Remove file.
3198 * CANCEL-FILE-WAIVE: Likewise.
3199
6bc6bd3b
JM
3200 [BZ #14132]
3201 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3202 instead of INTVARDEF.
3203 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3204 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3205 rtld_hidden_data_def instead of INTVARDEF.
3206 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3207 * elf/dl-deps.c (expand_dst): Likewise.
3208 * elf/dl-load.c (_dl_dst_count): Likewise.
3209 (_dl_dst_substitute): Likewise.
3210 (decompose_rpath): Likewise.
3211 (_dl_init_paths): Likewise.
3212 (open_path): Likewise.
3213 (_dl_map_object): Likewise.
3214 * elf/rtld.c (dl_main): Likewise.
3215 (process_dl_audit): Likewise.
3216 (process_envvars): Likewise.
3217 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3218 Remove declaration.
3219 (__libc_enable_secure): Use rtld_hidden_proto.
3220
b8c80a7e
KS
32212014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3222
3223 * elf/dl-load.c
3224 (add_path): New function broken out of _dl_rtld_di_serinfo.
3225 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
3226
ff12c11f
JM
32272014-10-09 Joseph Myers <joseph@codesourcery.com>
3228
5c0508a3
JM
3229 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3230 parentheses around macro arguments.
3231 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3232 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3233 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3234 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3235 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3236 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3237 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3238 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3239 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3240 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3241 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3242 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3243 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3244 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3245 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3246 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3247 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3248 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3249 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3250 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3251 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3252 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3253 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3254 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3255 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3256 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3257 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3258 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3259 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3260 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3261 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3262 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3263 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3264 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3265 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3266 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3267 Likewise.
3268 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3269 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3270 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3271 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3272 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3273 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3274 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3275 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3276 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3277 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3278 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3279 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3280 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3281 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3282 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3283 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3284 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3285 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3286 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3287 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3288 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3289 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3290 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3291 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3292 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3293 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3294 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3295 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3296 (_FP_FRAC_SRS_1): Likewise.
3297 (_FP_FRAC_CLZ_1): Likewise.
3298 (_FP_MUL_MEAT_1_imm): Likewise.
3299 (_FP_MUL_MEAT_1_wide): Likewise.
3300 (_FP_MUL_MEAT_1_hard): Likewise.
3301 (_FP_SQRT_MEAT_1): Likewise.
3302 (_FP_FRAC_ASSEMBLE_1): Likewise.
3303 (_FP_FRAC_DISASSEMBLE_1): Likewise.
3304 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3305 (__FP_CLZ_2): Likewise.
3306 (_FP_MUL_MEAT_2_wide): Likewise.
3307 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3308 (_FP_MUL_MEAT_2_gmp): Likewise.
3309 (_FP_MUL_MEAT_2_120_240_double): Likewise.
3310 (_FP_SQRT_MEAT_2): Likewise.
3311 (_FP_FRAC_ASSEMBLE_2): Likewise.
3312 (_FP_FRAC_DISASSEMBLE_2): Likewise.
3313 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3314 (_FP_FRAC_CLZ_4): Likewise.
3315 (_FP_MUL_MEAT_4_wide): Likewise.
3316 (_FP_MUL_MEAT_4_gmp): Likewise.
3317 (_FP_SQRT_MEAT_4): Likewise.
3318 (_FP_FRAC_ASSEMBLE_4): Likewise.
3319 (_FP_FRAC_DISASSEMBLE_4): Likewise.
3320 * soft-fp/op-common.h (_FP_CMP): Likewise.
3321 (_FP_CMP_EQ): Likewise.
3322 (_FP_CMP_UNORD): Likewise.
3323 (_FP_TO_INT): Likewise.
3324 (_FP_FROM_INT): Likewise.
3325 [!__FP_CLZ] (__FP_CLZ): Likewise.
3326 (_FP_DIV_HELP_imm): Likewise.
3327 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3328 Likewise.
3329 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3330 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3331 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3332 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3333 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3334 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3335 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3336 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3337 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3338 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3339 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3340 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3341 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3342 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3343 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3344 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3345 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3346 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3347 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3348 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3349 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3350 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3351 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3352 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3353 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3354 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3355 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3356 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3357 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3358 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3359 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3360 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3361 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3362 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3363 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3364 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3365 (FP_UNPACK_RAW_SP): Likewise.
3366 (FP_PACK_RAW_S): Likewise.
3367 (FP_PACK_RAW_SP): Likewise.
3368 (FP_UNPACK_S): Likewise.
3369 (FP_UNPACK_SP): Likewise.
3370 (FP_UNPACK_SEMIRAW_S): Likewise.
3371 (FP_UNPACK_SEMIRAW_SP): Likewise.
3372 (FP_PACK_S): Likewise.
3373 (FP_PACK_SP): Likewise.
3374 (FP_PACK_SEMIRAW_S): Likewise.
3375 (FP_PACK_SEMIRAW_SP): Likewise.
3376 (_FP_SQRT_MEAT_S): Likewise.
3377 (FP_CMP_S): Likewise.
3378 (FP_CMP_EQ_S): Likewise.
3379 (FP_CMP_UNORD_S): Likewise.
3380 (FP_TO_INT_S): Likewise.
3381 (FP_FROM_INT_S): Likewise.
3382
a736ec37
JM
3383 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3384
ff12c11f
JM
3385 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3386 (FP_EX_INVALID_IMZ): Likewise.
3387 (FP_EX_INVALID_IMZ_FMA): Likewise.
3388 (FP_EX_INVALID_ISI): Likewise.
3389 (FP_EX_INVALID_ZDZ): Likewise.
3390 (FP_EX_INVALID_IDI): Likewise.
3391 (FP_EX_INVALID_SQRT): Likewise.
3392 (FP_EX_INVALID_CVI): Likewise.
3393 (FP_EX_INVALID_VC): Likewise.
3394 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3395 "invalid" exceptions.
3396 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3397 (_FP_ADD_INTERNAL): Likewise.
3398 (_FP_MUL): Likewise.
3399 (_FP_FMA): Likewise.
3400 (_FP_DIV): Likewise.
3401 (_FP_CMP_CHECK_NAN): Likewise.
3402 (_FP_SQRT): Likewise.
3403 (_FP_TO_INT): Likewise.
3404 (FP_EXTEND): Likewise.
3405
b6dcfe8c
AM
34062014-10-09 Allan McRae <allan@archlinux.org>
3407
3408 * po/fr.po: Update French translation from translation project.
3409
2d6a47ba
JM
34102014-10-09 Joseph Myers <joseph@codesourcery.com>
3411
cb831245
JM
3412 [BZ #14132]
3413 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3414 of INTDEF.
3415 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3416 (__cxa_atexit): Use libc_hidden_proto.
3417 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3418
5deeb190
JM
3419 [BZ #14132]
3420 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3421 declaration.
3422 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3423 [!_ISOMAC] (__iswspace_l_internal): Likewise.
3424 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3425 [!_ISOMAC] (__iswctype_internal): Likewise.
3426 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3427 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3428 alias.
3429 (fcntl): Remove __fcntl_internal alias.
3430 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3431 __connect_internal alias.
3432 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3433 Likewise.
3434
454ac701
JM
3435 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3436 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3437 FP_DENORM_ZERO.
3438 (_FP_CHECK_FLUSH_ZERO): New macro.
3439 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3440 (_FP_CMP): Likewise.
3441 (_FP_CMP_EQ): Likewise.
3442 (_FP_TO_INT): Do not set inexact for subnormal arguments if
3443 FP_DENORM_ZERO.
3444 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3445 (FP_TRUNC): Likewise.
3446
0022e688
JM
3447 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3448 treated as invalid conversion, not as normal exponent.
3449
73e28d9c
JM
3450 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3451 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
3452 (_FP_CMP_EQ): Likewise.
3453 (_FP_CMP_UNORD): Likewise.
3454 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3455 (FP_CMP_EQ_D): Likewise.
3456 (FP_CMP_UNORD_D): Likewise.
3457 * soft-fp/extended.h (FP_CMP_E): Likewise.
3458 (FP_CMP_EQ_E): Likewise.
3459 (FP_CMP_UNORD_E): Likewise.
3460 * soft-fp/quad.h (FP_CMP_Q): Likewise.
3461 (FP_CMP_EQ_Q): Likewise.
3462 (FP_CMP_UNORD_Q): Likewise.
3463 * soft-fp/single.h (FP_CMP_S): Likewise.
3464 (FP_CMP_EQ_S): Likewise.
3465 (FP_CMP_UNORD_S): Likewise.
3466 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3467 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3468 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3469 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3470 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3471 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3472 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3473 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3474 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3475 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3476 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3477 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3478 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3479 to FP_CMP_Q.
3480 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3481 FP_CMP_Q.
3482 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3483 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3484 FP_CMP_EQ_Q.
3485 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3486 FP_CMP_Q.
3487 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3488 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3489 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3490 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3491 FP_CMP_EQ_Q.
3492 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3493 FP_CMP_Q.
3494 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3495 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3496 FP_CMP_EQ_Q.
3497 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3498 FP_CMP_Q.
3499 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3500 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3501 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3502 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3503 FP_CMP_EQ_Q.
3504
43059f42
JM
3505 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3506 a subnormal result, set the underflow exception if trapping on
3507 underflow is enabled.
3508 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3509 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3510 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3511 redefine to 0.
3512 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3513 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3514 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3515 * soft-fp/extendxftf2.c (__extendxftf2): Use
3516 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3517
2d6a47ba
JM
3518 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3519 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3520 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3521 FP_HANDLE_EXCEPTIONS.
3522 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3523 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3524 FP_HANDLE_EXCEPTIONS.
3525 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3526 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3527 FP_HANDLE_EXCEPTIONS.
3528 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3529 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3530 FP_HANDLE_EXCEPTIONS.
3531
620f462e
JM
35322014-10-08 Joseph Myers <joseph@codesourcery.com>
3533
3534 [BZ #14132]
3535 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3536 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3537 use INTUSE.
3538 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3539 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3540 Remove alias.
3541 (__adjtimex): Define using libc_hidden_ver.
3542 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3543 Remove declaration.
3544 (ntp_gettime): Call __adjtimex directly.
3545 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3546 Remove declaration.
3547 (ntp_gettimex): Call __adjtimex directly.
3548 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3549 __adjtimex_internal alias.
3550
c763c5d2
RM
35512014-10-08 Roland McGrath <roland@hack.frob.com>
3552
3553 [BZ #17460]
3554 * nscd/nscd.c (more_help): Rewrite list of tables collection
3555 using xstrdup and asprintf.
3556
3557 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3558
7b8fb2b8
RM
35592014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3560 Roland McGrath <roland@hack.frob.com>
3561
3562 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3563 (do_lookup_unique): ... local function 'enter' here; update callers.
3564
abb280f7
JM
35652014-10-06 Joseph Myers <joseph@codesourcery.com>
3566
f7b42517
JM
3567 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3568 compat_symbol calls on [SHARED].
3569 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3570 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3571 Remove.
3572 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3573 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3574 (oldsetrlimit): Remove.
3575 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3577 (lchown): New syscall entry.
3578 (oldsetrlimit): Remove.
3579 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3580 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3581 (oldsetrlimit): Remove.
3582 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3583
abb280f7
JM
3584 [BZ #14138]
3585 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3586 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3587 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3588 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3589 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3590 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3591 (fchown): Likewise.
3592 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3593 (fchown): Likewise.
3594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3595 Likewise.
3596
47d46237
AZ
35972014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3598
3599 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3600 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3601 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3602 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3603 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3604 Likewise.
3605 (__old_sem_post): Likewise.
3606
36072014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 3608
845a7343
CM
3609 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3610 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3611 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3612 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3613 Use INLINE_VSYSCALL macro.
3614 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3615 __vdso_clock_gettime.
3616 * sysdeps/unix/sysv/linux/tile/init-first.c
3617 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3618 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3619 __vdso_clock_gettime.
3620
83d641ef
CM
3621 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3622 to set up frame more cleanly.
3623
d9cd52e6
CM
3624 * sysdeps/tile/memcmp.c: New file.
3625
4b68ea11
CM
3626 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3627
c86f7b80
CM
3628 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3629 * sysdeps/tile/tilegx/strcasestr.c: New file.
3630 * sysdeps/tile/tilegx/strnlen.c: New file.
3631 * sysdeps/tile/tilegx/strstr.c: New file.
3632
1c4c1a6f
CM
3633 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3634
99d86ea3
AS
36352014-10-06 Arjun Shankar <arjun.is@lostca.se>
3636
3637 * nptl/tst-setuid3.c: Write errors to stdout.
3638
06210a44
KS
36392014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3640
3641 * elf/dl-deps.c
3642 (preload): New functions broken out of _dl_map_object_deps.
3643 (_dl_map_object_deps): Remove a nested function. Update call sites.
3644
6268f532
JM
36452014-10-01 Joseph Myers <joseph@codesourcery.com>
3646
3647 [BZ #14138]
3648 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3649 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3650
b925285f
SE
36512014-10-01 Steve Ellcey <sellcey@mips.com>
3652
3653 * sysdeps/mips/strcmp.S: New.
3654
754a15c6
JM
36552014-09-30 Joseph Myers <joseph@codesourcery.com>
3656
3657 [BZ #14138]
3658 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3659 (linkat): Likewise.
3660 (mkdirat): Likewise.
3661 (readlinkat): Likewise.
3662 (renameat): Likewise.
3663 (symlinkat): Likewise.
3664 (unlinkat): Likewise.
3665 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3666 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3667 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3668 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3669 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3670 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3671 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3672
85bb81c9
WN
36732014-09-30 Will Newton <will.newton@linaro.org>
3674
dc6fe23b
WN
3675 * math/math.h: Define long double math functions if
3676 _LIBC_TEST is defined.
3677 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3678
85bb81c9
WN
3679 * localedata/Makefile: Move assignment to tests-special
3680 into an ifdef testing run-built-tests.
3681 * timezone/Makefile: Likewise.
3682
b7e02da4
JM
36832014-09-29 Joseph Myers <joseph@codesourcery.com>
3684
3685 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3686 with $(BASH) not $(SHELL).
3687
62058ce6
CD
36882014-09-29 Carlos O'Donell <carlos@redhat.com>
3689 Matthew LeGendre <legendre1@llnl.gov>
3690
3691 [BZ #17411]
3692 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3693 l_reloc_result.
3694
8e257a29
KS
36952014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3696
3697 * stdio-common/printf_fp.c
3698 (hack_digit): New function, broken out of ...
3699 (__printf_fp): ... local function here. Update call sites.
3700 hack_digit now takes an additional parameter that is a pointer
3701 to a struct of the referenced locals. Those locals moved inside
3702 the struct and references updated.
3703
f4a58f0d
L
37042014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3705
3706 * aclocal.m4: Require autoconf 2.69.
3707 * configure: Regenerated.
3708 * sysdeps/aarch64/configure: Likewise.
3709 * sysdeps/alpha/configure: Likewise.
3710 * sysdeps/arm/armv7/configure: Likewise.
3711 * sysdeps/arm/configure: Likewise.
3712 * sysdeps/ia64/configure: Likewise.
3713 * sysdeps/mach/configure: Likewise.
3714 * sysdeps/mips/configure: Likewise.
3715 * sysdeps/s390/configure: Likewise.
3716 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3718
3719 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3720 file.
3721 * sysdeps/ia64/configure.ac: Likewise.
3722
93ae1eba
JM
37232014-09-26 Joseph Myers <joseph@codesourcery.com>
3724
1810d3ab
JM
3725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3726 specify symbol version for ld.so. Do not include entry for
3727 libpthread.
3728 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3729 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3730 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3731
93ae1eba
JM
3732 [BZ #14171]
3733 * Makeconfig [$(build-shared) = yes]
3734 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3735 makefiles.
3736 [$(build-shared) = yes && $(soversions.mk-done) = t]
3737 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3738 [$(build-shared) = yes && $(soversions.mk-done) = t]
3739 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3740 to Makerules.
3741 [$(build-shared) = yes && $(soversions.mk-done) = t]
3742 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3743 here.
3744 [$(build-shared) = yes && $(soversions.mk-done) = t]
3745 (common-generated): Don't append gnu/lib-names.h and
3746 gnu/lib-names.stmp here.
3747 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3748 (lib-names-h-abi): New variable.
3749 [$(build-shared) = yes && $(soversions.mk-done) = t]
3750 (lib-names-stmp-abi): Likewise.
3751 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3752 abi-variants] (before-compile): Append
3753 $(common-objpfx)$(lib-names-h-abi).
3754 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3755 abi-variants] (common-generated): Append gnu/lib-names.h.
3756 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3757 abi-variants] (install-others-nosubdir): Depend on
3758 $(inst_includedir)/$(lib-names-h-abi).
3759 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3760 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3761 [$(build-shared) = yes && $(soversions.mk-done) = t]
3762 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3763 [$(build-shared) = yes && $(soversions.mk-done) = t]
3764 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3765 [$(build-shared) = yes && $(soversions.mk-done) = t]
3766 (common-generated): Append $(lib-names-h-abi) and
3767 $(lib-names-stmp-abi).
3768 * scripts/lib-names.awk: Do not handle multi being set.
3769 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3770 Remove variable.
3771 (abi-lp64_be-ld-soname): Likewise.
3772 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3773 Likewise.
3774 (abi-hard-ld-soname): Likewise.
3775 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3776 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3777 Remove variable.
3778 (abi-o32_hard-ld-soname): Likewise.
3779 (abi-o32_soft_2008-ld-soname): Likewise.
3780 (abi-o32_hard_2008-ld-soname): Likewise.
3781 (abi-n32_soft-ld-soname): Likewise.
3782 (abi-n32_hard-ld-soname): Likewise.
3783 (abi-n32_soft_2008-ld-soname): Likewise.
3784 (abi-n32_hard_2008-ld-soname): Likewise.
3785 (abi-n64_soft-ld-soname): Likewise.
3786 (abi-n64_hard-ld-soname): Likewise.
3787 (abi-n64_soft_2008-ld-soname): Likewise.
3788 (abi-n64_hard_2008-ld-soname): Likewise.
3789 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3790 Likewise.
3791 (abi-64-v2-ld-soname): Likewise.
3792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3793 ld.so entries.
3794 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3795 variable.
3796 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3797 entry.
3798 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3799 variable.
3800 (abi-64-ld-soname): Likewise.
3801 (abi-x32-ld-soname): Likewise.
3802 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3803 entry.
3804 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3805
68870f12
JM
38062014-09-23 Joseph Myers <joseph@codesourcery.com>
3807
3808 [BZ #14138]
3809 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3810 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3811 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3812 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3813 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3814 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3815 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3816 syscall entry for GLIBC_2.2 symbol version.
3817 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3818 Likewise.
3819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3820 (setrlimit): Likewise.
3821 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3822 Likewise.
3823
ea58f202
WN
38242014-09-23 Will Newton <will.newton@linaro.org>
3825
3826 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3827 _LINUX_ARM_SYSDEP_H include guard too.
3828 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3829 define.
3830
69eb9a18
RV
38312014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3832
3833 * sysdeps/unix/sysv/linux/eventfd.c:
3834 Make first argument unsigned.
3835 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3836 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3837
20e5a5f7
OB
38382014-09-20 Ondřej Bílka <neleai@seznam.cz>
3839
3840 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3841 * socket/sys/socket.h: Likewise
3842 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3843
d3c827e7
AK
38442014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3845
3846 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3847
fe1cc35a
AS
38482014-09-17 Arjun Shankar <arjun.is@lostca.se>
3849
3850 * time/tst-ftime.c: New test.
3851 * time/Makefile (tests): Add tst-ftime.
3852
4e8afe69
JM
38532014-09-17 Joseph Myers <joseph@codesourcery.com>
3854
c4fe3ea7
JM
3855 * soft-fp/extended.h: Fix comment formatting.
3856 * soft-fp/op-1.h: Likewise.
3857 * soft-fp/op-2.h: Likewise.
3858 * soft-fp/op-4.h: Likewise.
3859 * soft-fp/op-8.h: Likewise.
3860 * soft-fp/op-common.h: Likewise.
3861 * soft-fp/soft-fp.h: Likewise.
3862
4e8afe69
JM
3863 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3864
af296fcd
JM
38652014-09-16 Joseph Myers <joseph@codesourcery.com>
3866
3867 [BZ #6652]
3868 * Makeconfig (soversions-default-setname): Remove variable.
3869 ($(common-objpfx)soversions.i): Don't pass default_setname to
3870 soversions.awk.
3871 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3872 oldest_abi to abi-versions.awk.
3873 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3874 * config.make.in (oldest-abi): Remove variable.
3875 * configure.ac (--enable-oldest-abi): Remove configure option.
3876 * configure: Regenerated.
3877 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3878 text.
3879 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3880 * scripts/soversions.awk: Do not handle default_setname variable.
3881 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3882 variable.
3883 * sysdeps/mach/hurd/configure: Regenerated.
3884 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3885 variable.
3886 * sysdeps/unix/sysv/linux/configure: Regenerated.
3887
545583d6
SP
38882014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3889
d330b980
SP
3890 * elf/Makefile (CFLAGS-interp.c): Remove.
3891 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3892 path string.
3893 * elf/interp.c: Include generated runtime-linker.h
3894
02657da2
SP
3895 * Makerules (lib%.so): Don't include $(+interp) in
3896 prerequisites.
3897 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3898 * dlfcn/eval.c: Remove file.
3899
653b1080
SP
3900 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3901 macros.
3902
602f80ec
SP
3903 [BZ #17266]
3904 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3905 4.2 and newer.
3906
545583d6
SP
3907 [BZ #17370]
3908 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3909
884ddc50
SP
39102014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3911 Jakub Jelinek <jakub@redhat.com>
3912
3913 [BZ #17266]
3914 * libio/stdio.h: Check definition of __fortify_function
3915 instead of __extern_always_inline to include bits/stdio2.h.
3916 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3917 check if __extern_always_inline is defined.
3918 [__USE_MISC || __USE_XOPEN]: Likewise.
3919 [__USE_ISOC99] Likewise.
3920 * misc/sys/cdefs.h (__fortify_function): Define only if
3921 __extern_always_inline is defined.
3922 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3923 __extern_always_inline and __extern_inline only for g++-4.3
3924 and newer or a compatible gcc.
3925
a7b87268
AS
39262014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3927
3928 [BZ #17371]
3929 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3930 last change to handle zero prefix length.
3931
3f41521d
SP
39322014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3933
61fe374a
SP
3934 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3935 _SC_REGEX_VERSION.
3936
3f41521d
SP
3937 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3938 _POSIX_RAW_SOCKETS.
3939
d8f879ee
AM
39402014-09-13 Allan McRae <allan@archlinux.org>
3941
3942 * po/ru.po: Update Russian translation from translation project.
3943
c079afb7
RM
39442014-09-12 Roland McGrath <roland@hack.frob.com>
3945
a62b3c15
RM
3946 * locale/programs/locale.c (show_locale_vars): Inline local function
3947 into its sole call site. Clean up some style nits.
3948 (print_item): New function, broken out of ...
3949 (show_info): ... local function here. Clean up style nits.
3950
d7e49b19
RM
3951 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3952 out of ...
3953 (set_class_defaults): ... local function set_default here.
3954 Define set_default as a macro locally to pass constant parameters.
3955 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3956 rather than a shared local.
3957
c079afb7
RM
3958 * stdlib/rpmatch.c (try): New function, broken out of ...
3959 (rpmatch): ... local function here. Also, prototypify definition.
3960
0bd72468
JM
39612014-09-12 Joseph Myers <joseph@codesourcery.com>
3962
ba90e050
JM
3963 * scripts/soversions.awk: Do not handle configuration names.
3964 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3965 vendor and os variables to soversions.awk.
3966 * configure.ac: Do not modify gnu-* host_os.
3967 * configure: Regenerated
3968 * shlib-versions: Remove first column with configuration names.
3969 * nptl/shlib-versions: Likewise.
3970 * nptl_db/shlib-versions: Likewise.
3971 * sysdeps/hppa/shlib-versions: Likewise.
3972 * sysdeps/m68k/shlib-versions: Likewise.
3973 * sysdeps/mach/hurd/shlib-versions: Likewise.
3974 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3975 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3976 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3977 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3978 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3979 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3980 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3981 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3983 Likewise.
3984 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3985 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3986 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3987 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3988 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3989 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3990 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3991 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3992
73a39112
JM
3993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3994 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3996 Regenerated.
3997 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3999 Condition symbol version definitions on [HAVE_ELFV2_ABI].
4000
c729e7c1
JM
4001 * shlib-versions: Remove OS-specific entries. Moved to files in
4002 sysdeps.
4003 * sysdeps/mach/hurd/shlib-versions: New file.
4004 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4005
dc932a24
JM
4006 * nptl/shlib-versions: Remove architecture-specific entries.
4007 Moved to files in sysdeps.
4008 * shlib-versions: Likewise.
4009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4010 file.
4011 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4012 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4013 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4014 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4015
0bd72468
JM
4016 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4017 (UDP_NO_CHECK6_RX): Likewise.
4018
920238e0
SP
40192014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4020
4021 * sysdeps/posix/sysconf.c (__sysconf): Spell
4022 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4023
ba7b4d29
FW
40242014-08-12 Florian Weimer <fweimer@redhat.com>
4025
4026 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4027 loading.
4028 * iconv/Versions (__gconv_transliterate): Export for use from
4029 gconv modules.
4030 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4031 (struct __gconv_trans_data, __gconv_trans_fct,
4032 __gconv_trans_context_fct, __gconv_trans_query_fct,
4033 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4034 definitions.
4035 (struct __gconv_step_data): Remove __trans member.
4036 (__gconv_transliterate): Declaration moved from gconv_int.h. No
4037 longer hidden. Remove unused trans_data argument.
4038 * iconv/gconv_int.h (struct trans_struct): Remove definition.
4039 (__gconv_translit_find): Remove declaration.
4040 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
4041 prototype.
4042 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4043 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4044 trans_data argument. Add hidden definition.
4045 (__gconv_translit_find): Remove.
4046 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4047 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4048 * iconv/skeleton.c: Remove transliteration initialization.
4049 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4050 __gconv_step_data initialization.
4051 * libio/iofwide.c (__libio_translit_): Remove.
4052 (_IO_fwide): Adjust struct __gconv_step_data initialization.
4053 * wcsmbs/btowc.c (__btowc): Likewise.
4054 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4055 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4056 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4057 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4058 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4059 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4060 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4061 * wcsmbs/wctob.c (wctob): Likewise.
4062
5379aebd
SP
40632014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4064
4065 [BZ #16194]
4066 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4067 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
4068 register usage.
4069 * sysdeps/x86/Makefile: Adjust.
4070
8c0ab919
RM
40712014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4072 Roland McGrath <roland@hack.frob.com>
4073
4074 * locale/weight.h: Add include guard.
4075 (findidx): Make static rather than auto; take new parameters
4076 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4077 * locale/weightwc.h: Likewise.
4078 * posix/fnmatch_loop.c
4079 (FCT): Change type of EXTRA from int32_t to wint_t.
4080 Don't include either header inside the function.
4081 Call FINDIDX rather than findidx, and pass new arguments.
4082 #undef FINDIDX at the end of the file.
4083 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4084 FINDIDX before including fnmatch_loop.c for the non-wide version.
4085 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4086 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4087 for the wide version.
4088 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4089 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4090 Pass new arguments to findidx.
4091 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4092 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4093 Don't #include it inside the function. Pass new arguments to findidx.
4094 * posix/regex_internal.h
4095 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4096 (re_string_elem_size_at): Don't #include it inside the function.
4097 Pass new arguments to findidx.
4098 * string/strcoll_l.c: #include WEIGHT_H at top level.
4099 (get_next_seq): Don't #include it inside the function.
4100 Pass new arguments to findidx.
4101 (get_next_seq_nocache): Likewise.
4102 * string/strxfrm_l.c: #include WEIGHT_H at top level.
4103 (STRXFRM): Don't #include it inside the function.
4104 Pass new arguments to findidx.
4105
52ffbdf2
FW
41062014-09-11 Florian Weimer <fweimer@redhat.com>
4107
4108 [BZ #17344]
4109 * malloc/malloc.c (unlink): Turn asserts into a call to
4110 malloc_printerr.
4111
984c0ea9
TL
41122014-09-11 Tim Lammens <tim.lammens@gmail.com>
4113
4114 [BZ #17370]
4115 * libio/wfileops (do_ftell_wide): Free OUT.
4116
3daee107
CM
41172014-09-10 Chris Metcalf <cmetcalf@tilera.com>
4118
4119 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4120
58b930ae
SP
41212014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4122
4123 [BZ #17363]
4124 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4125 group if the current group is empty.
4126
3b473fec
AZ
41272014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4128
71ae8647
AZ
4129 * benchtests/bench-memset.c (test_main): Add more test from size
4130 from 32 to 512 bytes.
4131 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4132 Add POWER8 memset object.
4133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4134 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4135 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4136 implementation.
4137 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4138 Likewise.
4139 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4140 multiarch POWER8 memset optimization.
4141 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4142 POWER8 memset optimization.
4143
3b473fec
AZ
4144 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4145 Remove bzero multiarch objects.
4146 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4147 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4148 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4149 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4150 Remove define.
4151 [__bzero]: Redefine to specific name.
4152 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4153 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4154 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4155 define.
4156 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4157 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4158
e6fb9587
FW
41592014-09-10 Florian Weimer <fweimer@redhat.com>
4160
4161 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4162 warnings into errors.
4163
4164 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4165 __cxa_thread_atexit_impl prototype.
4166
9d3a350b
SE
41672014-09-09 Steve Ellcey <sellcey@mips.com>
4168
4169 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4170 Fix capitalization of error message.
4171
0febba23
SE
41722014-09-09 Steve Ellcey <sellcey@mips.com>
4173
4174 * sysdeps/mips/preconfigure: Modify ABI tests.
4175
645a0e9c
CD
41762014-09-07 Carlos O'Donell <carlos@systemhalted.org>
4177
4178 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4179
d83f0734
CD
41802014-09-07 Roland McGrath <roland@hack.frob.com>
4181 Carlos O'Donell <carlos@systemhalted.org>
4182
4183 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4184 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4185 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4186 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4187 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4188 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4189 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4190 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4191 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4192 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4193 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4194 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4195 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4196 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4197 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4198 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4199 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4200 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4201 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4202 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4203 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4204 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4205 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4206 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4207 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4208 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4209 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4210 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4211 Deconditionalize the code that was previously under [RESET_PID].
4212 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4213 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4214 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4215 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4216 include sysdep.h.
4217
21c83793
AM
42182014-09-08 Allan McRae <allan@archlinux.org>
4219
4220 * version.h (RELEASE): Set to "development".
4221 (VERSION): Set to "2.20.90"
4222
1cd9b65c
AM
42232014-09-07 Allan McRae <allan@archlinux.org
4224
b8079dd0
AM
4225 * version.h (RELEASE): Set to "stable".
4226 (VERSION): Set to "2.20"
4227 * include/features.h (__GLIBC_MINOR__): Set to 20.
4228
c46303ef
AM
4229 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4230 Liebler.
4231
1cd9b65c
AM
4232 * po/ko.po: Update Korean translation from translation project.
4233
8622092d
CM
42342014-09-06 Chris Metcalf <cmetcalf@tilera.com>
4235
4236 [BZ #17354]
4237 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4238 macro for handling signed relocations.
4239
41488498
FW
42402014-09-03 Florian Weimer <fweimer@redhat.com>
4241
4242 [BZ #17325]
4243 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4244 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4245 assert.
4246 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4247 * iconvdata/ibm935.c (BODY): Likewise.
4248 * iconvdata/ibm937.c (BODY): Likewise.
4249 * iconvdata/ibm939.c (BODY): Likewise.
4250 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4251 assert.
4252 * iconvdata/Makefile (iconv-test.out): Pass module list to test
4253 script.
4254 * iconvdata/run-iconv-test.sh: New test loop for checking for
4255 decoder crashers.
4256
a78b712d
KR
42572014-09-02 Khem Raj <raj.khem@gmail.com>
4258
4259 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4260 libm_hidden_ver.
4261
cb08abc6
AM
42622014-09-01 Allan McRae <allan@archlinux.org>
4263
2c31e102
AM
4264 * po/eo.po: Update Esperanto translation from translation project.
4265
cb08abc6
AM
4266 * po/ca.po: Update Catalan translation from translation project.
4267
17a62de1
ST
42682014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4269
4270 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4271 __proc_dostop call.
4272
9570bc53
MW
42732014-08-27 Mark Wielaard <mjw@redhat.com>
4274
4275 [BZ #17319]
4276 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4277 to call set_thread_area instead of hand written asm.
4278 (__NR_set_thread_area): Removed define.
4279 (TLS_FLAG_WRITABLE): Likewise.
4280 (__ASSUME_SET_THREAD_AREA): Remove check.
4281 (TLS_EBX_ARG): Remove define.
4282 (TLS_LOAD_EBX): Likewise.
4283
b0f955c9
ST
42842014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4285
4286 Simplify atomicity of socket creation in bind.
4287
4288 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4289 looking up the name after linking the file.
4290
529bf515
AM
42912014-08-27 Allan McRae <allan@archlinux.org>
4292
4293 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4294
a1a6a401
FW
42952014-08-26 Florian Weimer <fweimer@redhat.com>
4296
4297 [BZ #17187]
4298 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4299 trans_compare, open_translit, __gconv_translit_find):
4300 Remove module loading code.
4301
686ab290
AM
43022014-08-26 Allan McRae <allan@archlinux.org>
4303
e4e7cfd2
AM
4304 * po/vi.po: Update Vietnamese translation from translation project.
4305
6aa09f71
AM
4306 * po/uk.po: Update Ukrainian translation from translation project.
4307
edc0660e
AM
4308 * po/fr.po: Update French translation from translation project.
4309
7eea72ac
AM
4310 * po/ru.po: Update Russian translation from translation project.
4311
93c49eff
AM
4312 * po/pl.po: Update Polish translation from translation project.
4313
46acaf63
AM
4314 * po/cs.po: Update Czech translation from translation project.
4315
a9f5ce98
AM
4316 * po/de.po: Update German translation from translation project.
4317
373f2b78
AM
4318 * po/bg.po: Update Bulgarian translation from translation project.
4319
e7548bd8
AM
4320 * po/sv.po: Update Sweedish translation from translation project.
4321
c526bf4d
AM
4322 * po/nl.po: Update Dutch translation from translation project.
4323
686ab290
AM
4324 * po/es.po: Update Spanish translation from translation project.
4325
eb72478a
SP
43262014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4327
dd763fdb
SP
4328 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4329
318c7a58
SP
4330 * catgets/Makefile (CPPFLAGS-gencat): Remove.
4331 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4332 (CPPFLAGS-iconvconfig): Likewise.
4333 * timezone/Makefile (CPPFLAGS-zic): Likewise.
4334
eb72478a
SP
4335 * include/libc-symbols.h: Remove unnecessary check for
4336 NOT_IN_libc.
4337 * nptl/pthreadP.h: Likewise.
4338 * sysdeps/aarch64/setjmp.S: Likewise.
4339 * sysdeps/alpha/setjmp.S: Likewise.
4340 * sysdeps/arm/sysdep.h: Likewise.
4341 * sysdeps/i386/setjmp.S: Likewise.
4342 * sysdeps/m68k/setjmp.c: Likewise.
4343 * sysdeps/posix/getcwd.c: Likewise.
4344 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4345 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4346 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4347 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4348 * sysdeps/sh/sh3/setjmp.S: Likewise.
4349 * sysdeps/sh/sh4/setjmp.S: Likewise.
4350 * sysdeps/unix/alpha/sysdep.h: Likewise.
4351 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4352 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4353 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4354 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4357 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4358 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4359 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4360 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4362 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4363 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4364 * sysdeps/x86_64/setjmp.S: Likewise.
4365
d44a052c
JM
43662014-08-13 Joseph Myers <joseph@codesourcery.com>
4367
4368 [BZ #17263]
4369 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4370 <stdint.h>.
4371 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4372 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4373
508ce3ac
SP
43742014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4375
e44c8b0e
SP
4376 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4377
508ce3ac
SP
4378 [BZ #17262]
4379 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4380 and __x86_64__ when disabling x87 inline functions.
4381
b4acef1f
L
43822014-08-12 H.J. Lu <hongjiu.lu@intel.com>
4383
4384 [BZ #17259]
4385 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4386 asm statement with __cpuid_count.
4387
61b1ef6e
MF
43882014-08-12 Mike Frysinger <vapier@gentoo.org>
4389
4390 * configure.ac: Change __ehdr_start code to dereference the struct.
4391 Run readelf on the output to look for relocations.
4392 * configure: Regenerated.
4393
898c62f4
JM
43942014-08-12 Joseph Myers <joseph@codesourcery.com>
4395
4396 [BZ #17261]
4397 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4398 value to 0.
4399 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4400
9a8a5720
RM
44012014-08-12 Roland McGrath <roland@hack.frob.com>
4402
4403 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4404
4e75751c
BO
44052014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
4406
4407 [BZ #16892]
4408 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4409 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4410
bb2ce416
SA
44112014-08-12 Sean Anderson <seanga2@gmail.com>
4412
4413 * malloc/malloc.c: Fix typo in comment.
4414
7950a4ee
AM
44152014-08-09 Allan McRae <allan@archlinux.org>
4416
4417 * Regenerate libc.po.
4418
f469c49f
MF
44192014-08-08 Mike Frysinger <vapier@gentoo.org>
4420
4421 * intl/tst-gettext2.sh: Check every lang file for creation.
4422
656b84c2
WD
44232014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4424
4425 * sysdeps/aarch64/fpu/math_private.h
4426 (libc_feholdsetround_noex_aarch64_ctx): New function.
4427
538e9e45
W
44282014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4429
4430 * sysdeps/arm/armv6/strcpy.S (strcpy):
4431 Fix performance issue in misaligned cases.
4432
d4795e4a
AZ
44332014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4434
4435 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4436 Move definition from termios.h.
4437 (struct termio): Likewise.
4438 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4439 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4440 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4441 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4442 Likewise.
4443 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4444 Move definition to ioctl-types.h
4445 (struct termio): Likewise.
4446 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4447 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4448 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4449 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4450 Likewise.
4451
64accb62
RH
44522014-08-05 Richard Henderson <rth@redhat.com>
4453
27bb6dc0
RH
4454 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4455 exceptions.
4456 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4457 Add fraiseexcpt.
4458 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4459 Use __feraiseexcept.
4460 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4461 Protect libm symbols with IS_IN_libm.
4462
64accb62
RH
4463 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4464
e5292691
BO
44652014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
4466
4467 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4468
5b4bd2d4
WN
44692014-08-04 Will Newton <will.newton@linaro.org>
4470
4471 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4472 file.
4473
fcadaeef
MF
44742014-08-04 Mike Frysinger <vapier@gentoo.org>
4475
4476 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4477 variants for each function.
4478
43a94c64
RM
44792014-08-04 Roland McGrath <roland@hack.frob.com>
4480
4481 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4482 appended ...
4483 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4484 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4485 appended ...
4486 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4487 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4488 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4489 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4490 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4491 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4492 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4493 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4494 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4495 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4496 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4497 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4498 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4499 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4500 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4501 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4502 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4503 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4504 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4505 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4506 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4507 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4508 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4509 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4510 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4511 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4512 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4513 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4514 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4515 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4516 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4517 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4518 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4519 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4520 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4521 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4522 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4523 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4524 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4525 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4526 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4527 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4528 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4529 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4530 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4531 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4532 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4533 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4534 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4535 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4536 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4537 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4538 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4539 Update #include.
4540 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4541 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4542
8f3c1fa4
RM
45432014-08-04 Roland McGrath <roland@hack.frob.com>
4544
4545 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4546 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4547 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4548 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4549 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4550 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4551
ca08746f
RM
45522014-08-04 Roland McGrath <roland@hack.frob.com>
4553
4554 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4555 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4556 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4557 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4558
9c925ff9
RM
45592014-08-04 Roland McGrath <roland@hack.frob.com>
4560
4561 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4562 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4563 (__libc_vfork): Define function under this name.
4564 (__vfork): Define as an alias.
4565 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4566 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4567
e641054c
RM
45682014-08-04 Roland McGrath <roland@hack.frob.com>
4569
4570 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4571 that was previously under [RESET_PID].
4572 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4573
dacdc867
AS
45742014-08-04 Andreas Schwab <schwab@suse.de>
4575
4576 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4577
41f725ff
MF
45782014-08-03 Mike Frysinger <vapier@gentoo.org>
4579
4580 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4581 (main): Likewise.
4582
277cfb31
RM
45832014-08-01 Roland McGrath <roland@hack.frob.com>
4584
4585 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4586
4896f049
RH
45872014-08-01 Richard Henderon <rth@redhat.com>
4588
4589 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4590 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4591 typo in exact zero test.
4592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4593 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4594 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4595
6f64e7d7
RM
45962014-08-01 Roland McGrath <roland@hack.frob.com>
4597
4598 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4599 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4600 * sysdeps/arm/sysdep.h: ... here.
4601 [!__ASSEMBLER__]: Include <stdint.h>.
4602
3f3dd810
SP
46032014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4604
a476ac4b
SP
4605 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4606 (HAVE_WCTYPE_H): Likewise.
4607 (HAVE_ISWCTYPE): Likewise.
4608 (ENABLE_NLS): Likewise.
4609 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4610 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4611
78dd658a
SP
4612 * posix/regex_internal.c: Check if DEBUG is defined and is
4613 set.
4614
3f3dd810
SP
4615 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4616 (HAVE_MBSRTOWCS): Likewise.
4617 * posix/fnmatch.c: Include string.h unconditionally.
4618
95ee7fb1
SL
46192014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4620
4621 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4622 reversal.
4623
23fe486b
RM
46242014-07-31 Roland McGrath <roland@hack.frob.com>
4625
f61a113f
RM
4626 * sysdeps/generic/safe-fatal.h: New file.
4627 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4628 * nptl/forward.c: Include it.
4629 (__pthread_unwind): Use __safe_fatal as default action, rather
4630 than a bogus use of INTERNAL_SYSCALL that could never work.
4631
9fe7e787
RM
4632 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4633 * configure.ac (libc_cv_builtin_trap): New test.
4634 * configure: Regenerated.
4635 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4636 (ABORT_INSTRUCTION): Define using __builtin_trap.
4637
23fe486b
RM
4638 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4639 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4640 * sysdeps/nptl/nptl-signals.h: New file.
4641 * nptl/pthreadP.h: Include <nptl-signals.h>.
4642
f349489e
SL
46432014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4644
4645 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4646 (ONE_DIRECTION): Define.
4647 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4648 (ONE_DIRECTION): Define.
4649 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4650 (ONE_DIRECTION): Define.
4651
2f438e20
SL
46522014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4653
4654 * sysdeps/s390/Makefile: Delete file.
4655 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4656 * sysdeps/s390/__longjmp.c: Delete file.
4657 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4658 Remove fields __flags and __reserved.
4659 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4660 and add versioning.
4661 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4662 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4663 * sysdeps/s390/rtld-setjmp.S: Likewise.
4664 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4665 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4666 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4667 * sysdeps/s390/s390-32/setjmp.S: ... here.
4668 Add versioning.
4669 (__sigsetjmp): Remove setting __flags field.
4670 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4671 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4672 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4673 * sysdeps/s390/s390-64/setjmp.S: ... here.
4674 Add versioning.
4675 (__sigsetjmp): Remove setting __flags field.
4676 * sysdeps/s390/setjmp.S: Delete file.
4677 * sysdeps/s390/sigjmp.c: Likewise.
4678 * sysdeps/s390/v1-longjmp.c: Likewise.
4679 * sysdeps/s390/v1-setjmp.h: Likewise.
4680 * sysdeps/s390/v1-sigjmp.c: Likewise.
4681 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4682 Remove v1-longjmp_chk.
4683 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4684 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4685 Include debug/longjmp_chk.c and add versioning.
4686 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4687 Include nptl/pt-longjmp.c and add versioning.
4688 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4689 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4690 Include __longjmp.c.
4691 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4692 Move to ...
4693 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4694 (__getcontext): Remove setting __flags field.
4695 Add versioning.
4696 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4697 Don't restore upper high grps.
4698 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4699 Likewise.
4700 (__swapcontext): Remove setting uc_flags field.
4701 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4702 Delete file.
4703 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4704 Include __longjmp.c.
4705 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4706 Move to ...
4707 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4708 (__getcontext): Remove setting __flags field.
4709 Add versioning.
4710 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4711 (__swapcontext): Remove setting uc_flags field.
4712 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4713 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4714 Remove fields uc_high_gprs and __reserved.
4715 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4716 New file with reverted content.
4717 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4718 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4719 Regenerated.
4720 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4721 Regenerated.
4722
6c9578a2
AS
47232014-07-31 Andreas Schwab <schwab@suse.de>
4724
4725 * config.h.in (HAVE_IFUNC): Define to 0.
4726 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4727 definedness.
4728
05f3633d
LM
47292014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4730
4731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4732 memmove-avx-unaligned, memcpy-avx-unaligned and
4733 mempcpy-avx-unaligned.
4734 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4735 Add tests for AVX memcpy functions.
4736 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4737 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4738 memcpy_chk.
4739 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4740 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4741 memmove_chk.
4742 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4743 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4744 mempcpy_chk.
4745 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4746 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4747 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4748
a53fbd8e
AZ
47492013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4750
4751 [BZ #17213]
4752 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4753 powerpc64le.
4754
0961f7e1
JL
47552014-07-29 Jeff Layton <jlayton@poochiereds.net>
4756
4757 [BZ #16839]
4758 * manual/llio.texi: Add section about open file description locks.
4759 * manual/examples/ofdlocks.c: Example of open file description
4760 lock usage.
4761 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4762 F_OFD_SETLK, and F_OFD_SETLKW.
4763
cc5fb300
AM
47642014-07-23 Allan McRae <allan@archlinux.org>
4765
4766 * po/es.po: Update Spanish translation from translation project.
4767
23329dca
AS
47682014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4769
4770 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4771
9c82da17
MR
47722014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4773
4774 [BZ #17078]
4775 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4776 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4777 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4778
29c4f53e
JM
47792014-07-17 Joseph Myers <joseph@codesourcery.com>
4780
831b9896
JM
4781 [BZ #17088]
4782 * math/fesetenv.c (__fesetenv)
4783 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4784 * math/feupdateenv.c (__feupdateenv)
4785 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4786
b21c2d50
JM
4787 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4788 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4789 (__ASSUME_SOCKETCALL): Do not define.
4790
067764ef
JM
4791 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4792 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4793 (__ASSUME_SOCKETCALL): Do not define.
4794 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4795 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4796 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4797 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4798 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4799 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4800 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4801 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4802
642530c1
JM
4803 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4804 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4805 (__ASSUME_SOCKETCALL): Do not define.
4806 (__ASSUME_IPC64): Define unconditionally.
4807 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4808 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4809 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4810 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4811 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4812 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4813 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4814 Likewise.
4815
03f77315
JM
4816 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4817 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4818 (__ASSUME_SOCKETCALL): Do not define.
4819 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4820 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4821 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4822 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4823 (__ASSUME_REQUEUE_PI): Define unconditionally.
4824 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4825 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4826 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4827 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4828 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4829 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4830
083b1f7c
JM
4831 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4832 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4833 (__ASSUME_SOCKETCALL): Do not define.
4834 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4835 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4836 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4837 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4838 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4839 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4840
5be44ea6
JM
4841 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4842 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4843 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4844 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4845 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4846 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4847 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4848 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4849 (__ASSUME_GETCPU_SYSCALL): Likewise.
4850
d95ffd4c
JM
4851 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4852 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4853 cases for individual architectures.
4854 * sysdeps/gnu/configure: Regenerated.
4855 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4856 LIBC_SLIBDIR_RTLDDIR.
4857 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4858 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4859 LIBC_SLIBDIR_RTLDDIR.
4860 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4862 LIBC_SLIBDIR_RTLDDIR.
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4864 Regenerated.
4865 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4866 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4867 file.
4868 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4869 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4870 file.
4871 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4872 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4873 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4874 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4875
29c4f53e
JM
4876 * sysdeps/aarch64/shlib-versions: Move to ...
4877 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4878 * sysdeps/alpha/shlib-versions: Move to ...
4879 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4880 * sysdeps/arm/shlib-versions: Move to ...
4881 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4882 * sysdeps/hppa/shlib-versions: Move all contents except for
4883 libgcc_s entry to ...
4884 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4885 entry from ...
4886 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4887 * sysdeps/ia64/shlib-versions: Move to ...
4888 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4889 entry from ...
4890 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4891 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4892 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4893 * sysdeps/microblaze/shlib-versions: Move to ...
4894 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4895 * sysdeps/mips/shlib-versions: Move to ...
4896 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4897 entry from ...
4898 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4899 * sysdeps/tile/shlib-versions: Move to ...
4900 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4901 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4902 from ...
4903 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4904 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4905 entry from ...
4906 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4907
32bead5b
WN
49082014-07-17 Will Newton <will.newton@linaro.org>
4909
57977c4b
WN
4910 * sysdeps/arm/bits/atomic.h
4911 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4912 (__arch_compare_and_exchange_bool_16_int): Likewise.
4913 (__arch_compare_and_exchange_bool_64_int): Likewise.
4914
32bead5b
WN
4915 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4916 into an #else block.
4917
37fccd41
RM
49182014-07-16 Roland McGrath <roland@hack.frob.com>
4919
4920 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4921 just Linux configurations. Test empirically that the compiler sets
4922 __ARM_EABI__, rather than using the tuple to decide.
4923 * sysdeps/arm/preconfigure: Regenerated.
4924 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4925 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4926 contents appended ...
4927 * sysdeps/arm/configure.ac: ... here.
4928 * sysdeps/arm/configure: Regenerated.
4929
b365f3ec
RM
49302014-07-15 Roland McGrath <roland@hack.frob.com>
4931
8badf496
RM
4932 * nptl/pthread_kill.c: New file.
4933 * nptl/pthread_sigmask.c: New file.
4934 * nptl/pthread_sigqueue.c: New file.
4935
3df6f22e
RM
4936 * sysdeps/nptl/lowlevellock.h: New file.
4937 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4938 * sysdeps/nptl/lowlevellock-futex.h: New file.
4939
b365f3ec
RM
4940 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4941 Remove dead declarations.
4942
f2fef657
L
49432014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4944
4945 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4946 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4947 config-cflags-avx2.
4948 * sysdeps/x86_64/configure.ac: Likewise.
4949 * sysdeps/i386/configure: Regenerated.
4950 * sysdeps/x86_64/configure: Likewise.
4951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4952 memset-avx2 only if config-cflags-avx2 is yes.
4953 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4954 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4955 defined.
4956 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4957 only if HAVE_AVX2_SUPPORT is defined.
4958 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4959
f6c44d47
AM
49602014-07-14 Alan Modra <amodra@gmail.com>
4961
4962 [BZ #17153]
4963 * elf/elf.h (DT_PPC64_NUM): Correct value.
4964 * NEWS: Add to fixed bug list.
4965
7ee03f00
JM
49662014-07-13 Jim Meyering <meyering@fb.com>
4967
4968 [BZ 17150]
4969 regex: don't deref NULL upon heap allocation failure
4970 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4971 failure in one more place.
4972 To trigger the segfault, configure grep -with-included-regex,
4973 build it, and run these commands:
4974 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4975
9d39d517
AS
49762014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4977
4978 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4979
a75b89b7
RH
49802014-07-11 Richard Henderson <rth@redhat.com>
4981
4982 * sysdeps/aarch64/libm-test-ulps: Update.
4983
771eb141
FW
49842014-07-10 Florian Weimer <fweimer@redhat.com>
4985
4986 [BZ #17135]
4987 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4988 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4989 (__nptl_setxid): Initialize error member. Call
4990 __nptl_setxid_error.
4991 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4992 * nptl/descr.h (struct xid_command): Add error member.
4993 * nptl/tst-setuid3.c: New file.
4994 * nptl/Makefile (tests): Add it.
4995
bc1da176
AZ
49962014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4997
4998 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4999 New define.
5000 (__lll_trylock): Use __lll_base_trylock.
5001 (__lll_cond_trylock): Likewise.
5002
887865fc
RM
50032014-07-10 Roland McGrath <roland@hack.frob.com>
5004
c0c6bac9
RM
5005 * nptl/pthread_create.c (start_thread): Use atomic_or and
5006 lll_futex_wake directly rather than lll_robust_dead.
5007 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5008 (lll_robust_dead): Macro removed.
6a42be57 5009 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
5010 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5011 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5012 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5013 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5014 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5015 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5016 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5017 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5018 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5019 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5020 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5021 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5022 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5023 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5024
887865fc
RM
5025 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5026 Use atomic_compare_and_exchange_val_acq directly rather than
5027 lll_robust_trylock.
5028 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5029 (__lll_robust_trylock, lll_robust_trylock): Removed.
5030 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5031 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5032 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5033 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5034 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5035 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5036 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5037 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5038 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5039 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5040 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5041 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5042 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5043 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5044
58536726
FW
50452014-07-02 Florian Weimer <fweimer@redhat.com>
5046
5047 * manual/locale.texi (Locale Names): New section documenting
5048 locale name syntax. Adjust menu and node chaining accordingly.
5049 (Choosing Locale): Reference Locale Names, Locale Categories.
5050 Mention setting LC_ALL=C. Reflect that name syntax is now
5051 documented.
5052 (Locale Categories): New section title. Reference Locale Names.
5053 LC_ALL is an environment variable, but not a category.
5054 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5055 description, now in Locale Name. Reference that section. Locale
5056 name syntax is now documented.
5057
4e8f95a0
FW
50582014-07-02 Florian Weimer <fweimer@redhat.com>
5059
5060 [BZ #17137]
5061 * locale/findlocale.c (name_present, valid_locale_name): New
5062 functions.
5063 (_nl_find_locale): Use the loc_name variable to store name
5064 candidates. Call name_present and valid_locale_name to check and
5065 validate locale names. Return an error if the locale is invalid.
5066
d1836456
FW
50672014-07-02 Florian Weimer <fweimer@redhat.com>
5068
5069 * locale/setlocale.c (setlocale): Use strdup for allocating
5070 composite name copy.
5071
d69b7f5a
SP
50722014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5073
888c679b
SP
5074 Sync up with gnulib.
5075 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5076 [!_LIBC && ENABLE_NLS]: Include gettext.h.
5077 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5078 and _GL_ARG_NONNULL.
5079 [USE_UNLOCKED_IO]: Include unlocked-io.h.
5080 [!_LIBC]: Include code for Windows and Cygwin.
5081 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5082 Include prototype for int strerror_r.
5083 [!_LIBC] (is_open): New function.
5084 (flush_stdout): New function.
5085 (print_errno_message): Use it.
5086 (error): Likewise.
5087 (error_at_line): Likewise.
5088 (error_tail) Add function attribute macros. Use
5089 __builtin_expect.
5090
180e0e4b
SP
5091 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5092
d22f1fe2
SP
5093 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5094
12f2254b
SP
5095 * io/ftw.c: Include sys/param.h unconditionally.
5096
c3c7c360
SP
5097 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5098
d62aa75a
SP
5099 [BZ #17125]
5100 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5101 libc_freeres_ptr.
5102 (freecache): New function to free CACHE on exit.
5103
d69b7f5a
SP
5104 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5105 initialization.
5106
5efe06a1
DM
51072014-07-09 David S. Miller <davem@davemloft.net>
5108
5109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5110
7000d82e
DM
5111 * sysdeps/sparc/nptl/internaltypes.h: Delete.
5112 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5113 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5114 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5115 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5116 * sysdeps/sparc/nptl/sem_init.c: Likewise.
5117 * sysdeps/sparc/nptl/sem_post.c: Likewise.
5118 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5119 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5120 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5121 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5122 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5123 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5124
c213442d
AS
51252014-07-09 Andreas Schwab <schwab@suse.de>
5126
4a2552c3
AS
5127 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5128 output.
5129 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5130 (do_test): Likewise.
5131
c213442d
AS
5132 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5133
82374e65
WN
51342014-07-09 Will Newton <will.newton@linaro.org>
5135
5136 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5137 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5138 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5139 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5140 * sysdeps/hppa/start.S (_start): Likewise.
5141
6680738a
SP
51422014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5143
6ee3eab4
SP
5144 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5145
6680738a
SP
5146 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5147 defined.
5148
80b5c505
SP
51492014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5150
e35c53e3
SP
5151 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5152 after checking that it is non-NULL.
5153
80b5c505
SP
5154 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5155
91f4b564
AZ
51562014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5157
27b75f56
AZ
5158 * sysdeps/powerpc/memmove.c: Remove file.
5159 * sysdeps/powerpc/powerpc32/power4/memcopy.h
5160 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5161 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5162 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5163 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5164 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5165 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5166 string memmove instead of removed powerpc one.
5167
e7f95bb5
AZ
5168 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5169 [weak_alias]: Fix compiler warning due trailing data.
5170 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5171 [weak_alias]: Likewise.
5172 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5173 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5174
91f4b564
AZ
5175 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5176 (__libc_ifunc_impl_list): Add memmove functions.
5177
7c33f1e5
SP
51782014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5179
5180 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5181 Remove code.
5182 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5183 Likewise
5184 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5185 Likewise
5186 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5187 Likewise
5188 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5189 Likewise
5190 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5191 Likewise
5192 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5193 Likewise
5194 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5195 Likewise
5196 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5197 Likewise
5198 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5199 Likewise
5200 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5201 Likewise
5202 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5203 Likewise
5204 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5205 Likewise
5206 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5207 Likewise
5208 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5209 Likewise
5210 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5211 Likewise
5212 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5213 Likewise
5214
3f17b03b
AZ
52152014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5216
87868c24
AZ
5217 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5218 to avoid alignment traps in non-cacheable memory.
5219 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5220
07aedd78
AZ
5221 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5222 multiarch objects.
5223 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5224 file: multiarch power7 memmove.
5225 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5226 multiarch default memmove.
5227 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5228 multiarch memove for powerpc32/power4.
5229
17762f66
AZ
5230 * string/bcopy.c: Use full path to include memmove.c.
5231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5232 multiarch objects.
5233 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5234 bcopy for powerpc64.
5235 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5236 bcopy for powerpc64.
5237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5238 and memmove implementations.
5239 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5240 optimized multiarch memmove for POWER7/powerpc64.
5241 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5242 default multiarch memmove for powerpc64.
5243 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5244 multiarch for powerpc64.
5245 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5246 for POWER7/powerpc64.
5247 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5248 memmove for POWER7/powerpc64.
5249
d6f68bbe
AZ
5250 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5251 glibc default one.
5252
3f17b03b
AZ
5253 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5254 __ELF_NATIVE_CLASS equal to 64.
5255
08192659
RM
52562014-07-07 Roland McGrath <roland@hack.frob.com>
5257
f4c4021b
RM
5258 * sysdeps/nptl/lowlevellock.h: File removed.
5259
f083450f
RM
5260 * NEWS: NPTL is no longer an add-on!
5261 * nptl/internaltypes.h: Moved ...
5262 * sysdeps/nptl/internaltypes.h: ... here.
5263 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5264 * sysdeps/nptl/fork.c: Likewise.
5265 * sysdeps/nptl/gai_misc.h: Likewise.
5266 * sysdeps/nptl/librt-cancellation.c: Likewise.
5267 * sysdeps/nptl/jmp-unwind.c: Likewise.
5268 * sysdeps/nptl/setxid.h: Likewise.
5269 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5270 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5271 * sysdeps/unix/sysv/linux/arm/Implies: New file.
5272 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5273 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5274 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5275 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5276 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5277 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5278 * sysdeps/unix/sysv/linux/mips/Implies: New file.
5279 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5280 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5281 * sysdeps/unix/sysv/linux/sh/Implies: New file.
5282 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5283 * sysdeps/unix/sysv/linux/tile/Implies: New file.
5284 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5285 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5286 * nptl/Makeconfig: Moved ...
5287 * sysdeps/nptl/Makeconfig: ... here.
5288 * nptl/configure: File removed.
5289 * nptl/ANNOUNCE: File removed.
5290 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5291 * sysdeps/unix/sysv/linux/configure: Regenerated.
5292
08192659
RM
5293 * nptl/Makefile (routines): Add libc_pthread_init,
5294 libc_multiple_threads, register-atfork and unregister-atfork.
5295 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5296 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5297 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5298 pthread-pi-defines.sym, structsem.sym.
5299 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5300 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5301 [$(subdir) = nptl] (tests): Add tst-setgetname.
5302 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5303 * sysdeps/unix/sysv/linux/sigaction.c: Just include
5304 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5305 [!LIBC_SIGACTION]: Remove aliases.
5306 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5307 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5308 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5309 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5310 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5311 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5312 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5313 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5314 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5315 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5316 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5317 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5318 __libc_allocate_rtsig_private.
5319 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5320 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5321 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5322 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5323 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5324 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5325 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5326 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5327 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5328 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5329 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5330 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5331 * nptl/internaltypes.h: ... here.
5332 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5333 * sysdeps/nptl/jmp-unwind.c: ... here.
5334 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5335 * nptl/libc-lowlevellock.c: ... here.
5336 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5337 * nptl/libc_multiple_threads.c: ... here.
5338 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5339 * nptl/libc_pthread_init.c: ... here.
5340 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5341 * nptl/lowlevelbarrier.sym: ... here.
5342 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5343 * nptl/lowlevelcond.sym: ... here.
5344 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5345 * nptl/lowlevellock.c: ... here.
5346 * nptl/lowlevellock.h: Moved ...
5347 * sysdeps/nptl/lowlevellock.h: ... here.
5348 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5349 * nptl/lowlevelrobustlock.c: ... here.
5350 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5351 * nptl/lowlevelrobustlock.sym: ... here.
5352 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5353 * nptl/lowlevelrwlock.sym: ... here.
5354 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5355 * nptl/pt-fork.c: ... here.
5356 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5357 * nptl/pthread-pi-defines.sym: ... here.
5358 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5359 * nptl/pthread_attr_getaffinity.c: ... here.
5360 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5361 * nptl/pthread_attr_setaffinity.c: ... here.
5362 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5363 * nptl/pthread_mutex_cond_lock.c: ... here.
5364 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5365 Update #include.
5366 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5367 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5368 * nptl/pthread_once.c: ... here, replacing old file.
5369 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5370 * nptl/pthread_yield.c: ... here.
5371 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5372 * nptl/register-atfork.c: ... here.
5373 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5374 * nptl/sem_post.c: ... here.
5375 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5376 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5377 * nptl/sem_timedwait.c: ... here.
5378 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5379 * nptl/sem_trywait.c: ... here.
5380 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5381 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5382 * nptl/sem_wait.c: ... here.
5383 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5384 * nptl/structsem.sym: ... here.
5385 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5386 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5387 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5388 * nptl/unregister-atfork.c: ... here.
5389 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5390 * nptl/unwindbuf.sym: ... here.
5391 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5392 * sysdeps/nptl/fork.c: ... here.
5393 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5394 * sysdeps/nptl/fork.h: ... here.
5395 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5396 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5397 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5398 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5399 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5400 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5401 * sysdeps/unix/sysv/linux/getpid.c: ... here.
5402 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5403 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5404 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5405 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5406 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5407 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5408 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5409 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5410 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5411 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5412 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5413 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5414 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5415 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5416 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5417 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5418 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5419 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5420 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5421 * sysdeps/unix/sysv/linux/raise.c: ... here.
5422 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5423 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5424 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5425 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5426 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5427 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5428 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5429 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5430 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5431 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5432 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5433 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5434 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5435 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5436 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5437
96baf6ff
SP
54382014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5439
5440 * sysdeps/generic/memcopy.h: Add comment for
5441 MEMCPY_OK_FOR_FWD_MEMMOVE.
5442
6b7b14b2
WN
54432014-07-04 Will Newton <will.newton@linaro.org>
5444
1570a72b
WN
5445 * string/memchr.c: Merge from gnulib.
5446 [_LIBC]: Remove conditionals.
5447 (__ptr_t): Remove define.
5448 (LONG_MAX_32_BITS): Likewise.
5449 (LONG_MAX): Likewise.
5450 (MEMCHR): Use ANSI prototype and optimize algorithm.
5451
6b7b14b2
WN
5452 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5453
38851324
SP
54542014-07-03 Roland McGrath <roland@hack.frob.com>
5455
3d9eb57c
RM
5456 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5457 (lll_futex_timed_wait_bitset): Fix syscall argument count.
5458
78b984ae
RM
5459 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5460 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5461 in a bare environment with no <stdlib.h> installed.
5462 * sysdeps/nptl/configure: Regenerated.
5463
2d5976a5
RM
5464 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5465
c1f5acd4
RM
5466 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5467 AC_EGREP_CPP for kernel header checks, so they only succeed if
5468 including <linux/version.h> actually works right.
5469 * sysdeps/unix/sysv/linux/configure: Regenerated.
5470
4d614fe5
RM
5471 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5472 value so it's not diagnosed as unused.
5473
38851324
SP
5474 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5475 thing) with "ifeq ($(subdir),rt)".
5476
b3ec00e5
RH
54772014-07-03 Richard Henderson <rth@redhat.com>
5478
69862e25
RH
5479 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5480 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5481 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5482
d5e16ade
RH
5483 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5484 (math_force_eval): New.
5485
ca7b945c
RH
5486 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5487 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5488
cd1175a3
RH
5489 * sysdeps/alpha/fpu/s_round.c: Remove file.
5490 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5491
b3ec00e5
RH
5492 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5493 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5494 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5495 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5496 (_dl_start, print_statistics): Likewise.
5497 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5498 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5499
5500 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5501 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5502 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5503 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5504 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5505 (HP_SMALL_TIMING_AVAIL): Define.
5506 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5507 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5508 (HP_SMALL_TIMING_AVAIL): Define.
5509 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5510 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5511
5512 * sysdeps/aarch64/hp-timing.h: New file.
5513
5514 * sysdeps/generic/hp-timing.h: Remove dead comment.
5515 * sysdeps/generic/hp-timing-common.h: New file.
5516 * sysdeps/alpha/hp-timing.h: Include it.
5517 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5518 * sysdeps/i386/i686/hp-timing.h: Likewise.
5519 * sysdeps/ia64/hp-timing.h: Likewise.
5520 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5521 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5522 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5523 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5524 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5525 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5526 (hp_timing_t): New.
5527
5528 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5529 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5530 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5531 * elf/rtld.c (_dl_start_final): Likewise.
5532 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5533 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5534 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5535 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5536 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5537 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5538 (HP_TIMING_DIFF_INIT): Remove.
5539 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5540 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5541 (HP_TIMING_DIFF_INIT): Remove.
5542 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5543 * sysdeps/i386/i686/hp-timing.c: Remove file.
5544 * sysdeps/x86_64/hp-timing.c: Remove file.
5545 * sysdeps/ia64/hp-timing.c: Remove file.
5546 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5547 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5548 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5549 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5550
5551 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5552 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5553 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5554 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5555 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5556 (HP_TIMING_ACCUM): Remove.
5557 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5558 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5559 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5560
5561 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5562 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5563 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5564 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5565 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5566 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5567 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5568 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5569
5570 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5571
225f410f
MR
55722014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5573
5574 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5575
3247f285
SP
55762014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5577
5578 Sync up with gettext.
5579 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5580 [_MSC_VER]: Include malloc.h
5581 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5582 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5583 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5584 TEMP_FAILURE_RETRY. Cast return of alloca.
5585 [!_LIBC] Call gl_rwlock_init.
5586 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5587
d12704c7
SP
55882014-07-02 Roland McGrath <roland@hack.frob.com>
5589
5590 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5591 before checking its value.
5592
99f8dc92
SP
55932014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5594
05fdac77
SP
5595 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5596
99f8dc92
SP
5597 * debug/memcpy_chk.c: Don't include pagecopy.h.
5598 * debug/mempcpy_chk.c: Likewise.
5599 * string/memcpy.c: Likewise.
5600 * string/memmove.c: Likewise.
5601 * sysdeps/powerpc/memmove.c: Likewise.
5602 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5603 definition of PAGE_COPY_FWD_MAYBE here...
5604 * sysdeps/generic/pagecopy.h: ... from here.
5605 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5606
bc8ea385
VR
56072014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5608 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5609
5610 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5612 optimizations.
5613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5614 (__libc_ifunc_impl_list): Likewise.
5615 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5616 multiarch strcat for PPC64.
5617 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5618 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5619
fe5f34e4
RM
56202014-07-02 Roland McGrath <roland@hack.frob.com>
5621
5622 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5623
256aa665
SP
56242014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5625
d4eb8195
SP
5626 * intl/loadmsgcat.c: Remove declaration of
5627 get_sysdep_segment_value.
5628 (get_sysdep_segment_value): Use ISO C style.
5629 (_nl_load_domain): Use ISO C style. Get rid of redundant
5630 semicolon. Fix typo and formatting in comment.
5631 (_nl_unload_domain): Use ISO C style.
5632
256aa665
SP
5633 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5634
b100f9aa
WN
56352014-07-02 Will Newton <will.newton@linaro.org>
5636
5637 * malloc/obstack.c: Merge from gnulib master.
5638 [HAVE_CONFIG_H]: Remove conditional code.
5639 [!_LIBC]: Include config.h.
5640 [!ELIDE_CODE]: Don't include inttypes.h, include
5641 stdint.h unconditionally.
5642 (print_and_abort): Mark as _Noreturn.
5643 (_obstack_allocated_p): Mark as __attribute_pure__.
5644 (obstack_free): Rename to __obstack_free.
5645 [!__attribute__]: Remove conditional code.
5646 * malloc/obstack.h: Merge from gnulib master.
5647 [__cplusplus]: Move conditional down.
5648 [!__attribute_pure__]: Define __attribute_pure__ here
5649 if it is not already defined.
5650 (_obstack_memory_used): Mark as __attribute_pure__.
5651 [!__obstack_free]: Define as obstack_free.
5652 [__GNUC__]: Remove check for ancient NeXT gcc.
5653
c4c41244
PE
56542014-07-02 Will Newton <will.newton@linaro.org>
5655 Paul Eggert <eggert@cs.ucla.edu>
5656
5657 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5658
e1e041c4
SP
56592014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5660
5661 * resolv/gethnamaddr.c: Add comment warning that the file is
5662 not maintained.
5663
ccf431ff
CD
56642014-07-01 Carlos O'Donell <carlos@redhat.com>
5665
d34570a6
CD
5666 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5667 entries.
5668
ccf431ff
CD
5669 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5670 entry for aio_cancel and aio_cancel64.
5671 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5672 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5673 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5674 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5675 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5676 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5677 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5678 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5679 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5680 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5681 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5682 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5683 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5684
ca06321d
RM
56852014-07-01 Roland McGrath <roland@hack.frob.com>
5686
5687 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5688 * nptl/pthread_mutex_lock.c: Likewise.
5689 * nptl/pthread_mutex_timedlock.c: Likewise.
5690 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5691
a1ac3184
RH
56922014-07-01 Richard henderson <rth@redhat.com>
5693
631021e0
RH
5694 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5695 (__isnan, __isnanl): Remove.
5696 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5697
a1ac3184
RH
5698 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5699
0c1d731f
SL
57002014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5701
5702 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5703
76985d3e
SP
57042014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5705
5706 * resolv/nss_dns/dns-host.c (getanswer_r)
5707 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5708
b0cb3096
JM
57092014-07-01 Joseph Myers <joseph@codesourcery.com>
5710
5711 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5712 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5713 undefine.
5714 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5715 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5716
4d76cb39
RM
57172014-07-01 Roland McGrath <roland@hack.frob.com>
5718
5719 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5720 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5721
5722 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5723 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5724
5725 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5726 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5727 ... here.
5728 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5729 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5730
5731 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5732 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5733 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5734 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5735
5736 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5737 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5738 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5739 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5740 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5741 Moved ...
5742 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5743 ... here.
5744 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5745 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5746 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5747 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5748 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5749 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5750 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5751 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5752 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5753 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5754 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5755 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5756 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5757 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5758 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5759 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5760 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5761 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5762 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5763 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5764 ... here.
5765 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5766 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5767 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5768 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5769 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5770 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5771 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5772 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5773
0cdcad17
DH
57742014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5775
5776 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5777 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5778 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5779 Add sysdep.
5780
9b71d0e3
AZ
57812014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5782
5783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5784
665390c2
JM
57852014-06-30 Joseph Myers <joseph@codesourcery.com>
5786
ae05a9d7
JM
5787 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5788 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5789
a7672a2f
JM
5790 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5791
665390c2
JM
5792 * sysdeps/arm/libm-test-ulps: Regenerated.
5793
d7a05d07
MR
57942014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5795 Roland McGrath <roland@hack.frob.com>
5796
5797 * test-skeleton.c (signal_handler): Kill the whole process group
5798 before killing the child individually.
5799 (main): Report any failure on `setpgid'.
5800
46f1d8a6
RM
58012014-06-30 Roland McGrath <roland@hack.frob.com>
5802
5803 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5804 from _TLS_H to _ARM_NPTL_TLS_H.
5805 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5806 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5807
9c37ec0b
JM
58082014-06-30 Joseph Myers <joseph@codesourcery.com>
5809
ce9c5b3e
JM
5810 [BZ #16539]
5811 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5812 (__expm1l): Return argument unchanged when small but not
5813 subnormal.
5814
3a6e9887
JM
5815 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5816 include macro name.
5817 (_FP_UNPACK_RAW_1_P): Likewise.
5818 (_FP_PACK_RAW_1): Likewise.
5819 (_FP_PACK_RAW_1_P): Likewise.
5820 (_FP_MUL_MEAT_1_wide): Likewise.
5821 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5822 (_FP_MUL_MEAT_1_hard): Likewise.
5823 (_FP_DIV_MEAT_1_imm): Likewise.
5824 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5825 (_FP_DIV_MEAT_1_udiv): Likewise.
5826 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5827 (_FP_UNPACK_RAW_2): Likewise.
5828 (_FP_UNPACK_RAW_2_P): Likewise.
5829 (_FP_PACK_RAW_2): Likewise.
5830 (_FP_PACK_RAW_2_P): Likewise.
5831 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5832 (_FP_MUL_MEAT_2_wide): Likewise.
5833 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5834 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5835 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5836 (_FP_MUL_MEAT_2_gmp): Likewise.
5837 (_FP_DIV_MEAT_2_udiv): Likewise.
5838 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5839 (_FP_FRAC_SRL_4): Likewise.
5840 (_FP_FRAC_SRST_4): Likewise.
5841 (_FP_FRAC_SRS_4): Likewise.
5842 (_FP_UNPACK_RAW_4): Likewise.
5843 (_FP_UNPACK_RAW_4_P): Likewise.
5844 (_FP_PACK_RAW_4): Likewise.
5845 (_FP_PACK_RAW_4_P): Likewise.
5846 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5847 (_FP_MUL_MEAT_4_wide): Likewise.
5848 (_FP_MUL_MEAT_4_gmp): Likewise.
5849 (umul_ppppmnnn): Likewise.
5850 (_FP_DIV_MEAT_4_udiv): Likewise.
5851 (__FP_FRAC_ADD_4): Likewise.
5852 (__FP_FRAC_SUB_3): Likewise.
5853 (__FP_FRAC_SUB_4): Likewise.
5854 (__FP_FRAC_DEC_3): Likewise.
5855 (__FP_FRAC_DEC_4): Likewise.
5856 (__FP_FRAC_ADDI_4): Likewise.
5857 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5858 (_FP_FRAC_SRL_8): Likewise.
5859 (_FP_FRAC_SRS_8): Likewise.
5860
9c37ec0b
JM
5861 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5862 include macro name.
5863 (FP_UNPACK_RAW_EP): Likewise.
5864 (FP_PACK_RAW_E): Likewise.
5865 (FP_PACK_RAW_EP): Likewise.
5866 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5867 (_FP_ISSIGNAN): Likewise.
5868 (_FP_ADD_INTERNAL): Likewise.
5869 (_FP_FMA): Likewise.
5870 (_FP_CMP): Likewise.
5871 (_FP_SQRT): Likewise.
5872 (_FP_TO_INT): Likewise.
5873 (_FP_FROM_INT): Likewise.
5874 (FP_EXTEND): Likewise.
5875 (_FP_DIV_MEAT_N_loop): Likewise.
5876
2125f674
MR
58772014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5878
5879 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5880 throughout.
5881
edea4028
JM
58822014-06-29 Joseph Myers <joseph@codesourcery.com>
5883
5884 [BZ #17097]
5885 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5886 result with correct sign in case of exponents that produce
5887 overflow except for X very close to 1.
5888
dd0ba018
PE
58892014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5890
5891 mktime: merge #if/#ifdef usage from glibc
5892 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5893 as that works with both Glibc's and Gnulib's style.
5894 See thread starting at Siddhesh Poyarekar's bug report at:
5895 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5896
64df73c2
SP
58972014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5898
5899 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5900 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5901 * sysdeps/tile/tilegx/memmove.c: Remove file.
5902
f1eafb41
JM
59032014-06-27 Joseph Myers <joseph@codesourcery.com>
5904
5905 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5906 abi-name definition.
5907 * scripts/soversions.awk: Do not handle or generate ABI lines.
5908 * shlib-versions: Remove ABI entries.
5909 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5910 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5911
58eb0862
RM
59122014-06-27 Roland McGrath <roland@hack.frob.com>
5913
37caf178
RM
5914 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5915 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5916 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5917 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5918 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5919 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5920 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5921 Moved ...
5922 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5923 ... here.
5924 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5925 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5926 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5927 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5928 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5929 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5930 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5931 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5932 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5933 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5934 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5935 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5936 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5937 Moved ...
5938 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5939 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5940 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5941 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5942 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5943 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5944 Moved ...
5945 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5946 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5947 Moved ...
5948 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5949 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5950 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5951 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5952 Moved ...
5953 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5954 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5955 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5956 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5957 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5958 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5959 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5960 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5961 Moved ...
5962 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5963 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5964 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5965 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5966 Moved ...
5967 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5968 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5969 Moved ...
5970 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5971 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5972 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5973 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5974 Moved ...
5975 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5976 ... here.
5977 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5978 Identical file removed.
5979 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5980 Moved ...
5981 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5982 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5983 Identical file removed.
5984 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5985 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5986 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5987 Moved ...
5988 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5989 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5990 Identical file removed.
5991 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5992 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5993 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5994 Identical file removed.
5995 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5996 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5997 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5998 Identical file removed.
5999 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6000 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6001 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6002 Identical file removed.
6003 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6004 Moved ...
6005 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6006 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6007 Identical file removed.
6008 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6009 Moved ...
6010 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6011 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6012 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6013 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6014 Identical file removed.
6015 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6016 Moved ...
6017 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6018 ... here.
6019 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6020 Identical file removed.
6021 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6022 Moved ...
6023 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6024 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6025 Identical file removed.
6026 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6027 Moved ...
6028 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6029 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6030 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6031 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6032 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6033 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6034 Moved ...
6035 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6036 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6037 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6038
58eb0862
RM
6039 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6040 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6041 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6042 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6043 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6044
6f12d062
AS
60452014-06-27 Arjun Shankar <arjun.is@lostca.se>
6046
6047 [BZ #17092]
6048 * nscd/nscd.c (monitor_child): Return exit status of child
6049 instead of return value from wait syscall.
6050
be254932
JM
60512014-06-27 Joseph Myers <joseph@codesourcery.com>
6052
cb403c34
JM
6053 * configure.ac (libc_commonpagesize): Remove variable.
6054 (libc_relro_required): Likewise.
6055 (libc_cv_z_relro): Remove configure test.
6056 * configure: Regenerated.
6057 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6058 variable.
6059 (libc_relro_required): Likewise.
6060 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6061 (libc_relro_required): Likewise.
6062 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6063 (libc_relro_required): Likewise.
6064 * sysdeps/arm/preconfigure: Regenerated.
6065 * sysdeps/ia64/preconfigure: Remove file.
6066 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6067 variable.
6068 (libc_relro_required): Likewise.
6069
be254932
JM
6070 [BZ #16561]
6071 [BZ #16562]
6072 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6073 (__ieee754_yn): Set FE_TONEAREST mode internally and then
6074 recompute overflowing results in original rounding mode.
6075 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6076 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6077 recompute overflowing results in original rounding mode.
6078 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6079 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6080 recompute overflowing results in original rounding mode.
6081 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6082 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6083 recompute overflowing results in original rounding mode.
6084 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6085 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6086 recompute overflowing results in original rounding mode.
6087 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6088 (libc_feholdsetround_ctx): New macro.
6089 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6090 * sysdeps/i386/fpu/libm-test-ulps: Update.
6091 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6092
b351d85a
JM
60932014-06-26 Joseph Myers <joseph@codesourcery.com>
6094
6095 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6096 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6097 corresponding .cpsetup call.
6098
3cb4de47
RM
60992014-06-26 Roland McGrath <roland@hack.frob.com>
6100
6101 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6102 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6103 * sysdeps/arm/Makefile [$(subdir) = csu]
6104 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6105 (static-only-routines): Add aeabi_read_tp here.
6106 (shared-only-routines): Add libc-aeabi_read_tp here.
6107 (CFLAGS-libc-start.c): Add -fexceptions here.
6108 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6109 (sysdep_routines, static-only-routines, shared-only-routines):
6110 Don't add to these here.
6111 (CFLAGS-libc-start.c): Likewise.
6112
6113 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6114 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6115 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6116 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6117 * sysdeps/arm/Makefile [$(subdir) = rt]
6118 (librt-sysdep_routines, librt-shared-only-routines):
6119 Append rt-aeabi_unwind_cpp_pr1 here.
6120 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6121 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6122 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6123 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6124 Append nptl-aeabi_unwind_cpp_pr1 here.
6125 (tests): Filter out tst-cleanupx4 here.
6126 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6127 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6128 Don't do those here.
6129
354426bb
JM
61302014-06-26 Joseph Myers <joseph@codesourcery.com>
6131
6132 * scripts/list-sources.sh: Do not handle ports specially.
6133
28b0a8c9
RM
61342014-06-26 Roland McGrath <roland@hack.frob.com>
6135
a3dd035d
RM
6136 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6137 * sysdeps/arm/feupdateenv.c: Likewise.
6138
28b0a8c9
RM
6139 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6140
e66a8203
JM
61412014-06-26 Joseph Myers <joseph@codesourcery.com>
6142
6143 * manual/texinfo.tex: Update to version 2014-05-05.10 with
6144 trailing whitespace removed.
6145 * scripts/config.guess: Update to version 2014-03-23.
6146 * scripts/config.sub: Update to version 2014-05-01
6147 * scripts/install-sh: Update to version 2013-12-25.23.
6148 * scripts/move-if-change: Update from gnulib.
6149
74171115
SP
61502014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6151
b97c9ce5
SP
6152 * debug/memmove_chk.c: Remove pagecopy.h include.
6153
4000f892
SP
61542014-06-26 Paul Eggert <eggert@cs.ucla.edu>
6155
74171115
SP
6156 * time/mktime.c (leapyear): Remove inline keyword. The code is now
6157 identical to gnulib mktime.
6158
a8779c28
JM
61592014-06-26 Joseph Myers <joseph@codesourcery.com>
6160
e64708de
JM
6161 * configure.ac: Do not test for machine being rs6000. Do not test
6162 for powerpc*-*soft.
6163 * configure: Regenerated.
6164
a8779c28
JM
6165 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6166 test.
6167 * configure: Regenerated.
6168 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6169 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6170 Remove configure test.
6171 * sysdeps/arm/configure: Regenerated.
6172 * sysdeps/nptl/configure.ac: Do not check
6173 libc_cv_asm_cfi_directives.
6174 * sysdeps/nptl/configure: Regenerated.
6175 * sysdeps/x86_64/nptl/configure.ac: Remove file.
6176 * sysdeps/x86_64/nptl/configure: Remove generated file.
6177 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6178 unconditional.
6179 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6180
2aac0a86
SP
61812014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6182
059bf913
SP
6183 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6184 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6185 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6186 it is defined.
6187
4cf5b6d0
SP
6188 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6189 instead of whether it is defined.
6190 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6191 * sysdeps/hppa/dl-machine.h: Likewise.
6192 * sysdeps/ia64/dl-machine.h: Likewise.
6193 * sysdeps/m68k/dl-machine.h: Likewise.
6194 * sysdeps/microblaze/dl-machine.h: Likewise.
6195 * sysdeps/mips/dl-machine.: Likewise.
6196 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6197 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6198 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6199 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6200 * sysdeps/sh/dl-machine.h: Likewise.
6201 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6202 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6203 * sysdeps/tile/dl-machine.h: Likewise.
6204 * sysdeps/x86_64/dl-machine.h: Likewise.
6205
2aac0a86
SP
6206 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6207 code.
6208 (verify_persistent_db): Likewise.
6209
6ad2df0b
RM
62102014-06-26 Roland McGrath <roland@hack.frob.com>
6211
d8a483f3
RM
6212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6213 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6215 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6217 Moved ...
6218 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6219 ... here.
6220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6221 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6223 Identical file removed.
6224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6225 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6227 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6229 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6231 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6233 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6235 Moved ...
6236 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6238 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6240 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6242 Moved ...
6243 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6245 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6247 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6249 Identical file removed.
6250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6251 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6253 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6255 Moved ...
6256 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6257 ... here.
6258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6259 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6261 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6263 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6265 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6267 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6269 Moved ...
6270 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6272 Moved ...
6273 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6275 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6277 Moved ...
6278 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6280 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6281
52ae23b4
RM
6282 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6283 folded into ...
6284 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6285 * sysdeps/unix/sysv/linux/s390/Versions
6286 (libpthread: GLIBC_2.19): New version set.
6287 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6288 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6289 (librt: GLIBC_2.3.3): New version set.
6290 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6291 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6292 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6293 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6294 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6295 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6296 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6297 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6298 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6299 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6300 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6301 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6302 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6303 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6304 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6305 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6306 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6307 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6308 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6309 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6310 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6311 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6312 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6313 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6314 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6315 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6316 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6317 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6318 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6319 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6320 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6321 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6322 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6323 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6324 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6325 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6326 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6327 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6328 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6329 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6330 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6331 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6332 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6333 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6334 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6335
39507e4a
RM
6336 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6337 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6338 (__libc_vfork): Define the function under this name.
6339 [!NOT_IN_libc] (__vfork): Make this an alias.
6340 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6341 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6342 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6343 (__libc_vfork): Define the function under this name.
6344 [!NOT_IN_libc] (__vfork): Make this an alias.
6345 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6346 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6347 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6348 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6349 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6350 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6351
e549ee56
RM
6352 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6353 code that was previously under [RESET_PID].
6354 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6355 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6356 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6357
6ad2df0b
RM
6358 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6359 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6360 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6361 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6362 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6363 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6364 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6365 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6366 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6367 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6368 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6369 Moved ...
6370 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6371 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6372 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6373 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6374 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6375 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6376 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6377 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6378 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6379 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6380 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6381 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6382 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6383 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6384 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6385 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6386 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6387 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6388 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6389 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6390 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6391 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6392 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6393 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6394 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6395 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6396 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6397 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6398 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6399
7c1c1d8e
RM
64002014-06-25 Roland McGrath <roland@hack.frob.com>
6401
6402 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6403 that was previously under [RESET_PID].
6404 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6405
3e239be6
JM
64062014-06-25 Joseph Myers <joseph@codesourcery.com>
6407
74385da5
JM
6408 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6409 not undefine and redefine.
6410 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6411 [O_CLOEXEC]: Make code unconditional.
6412 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6413 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6414 <kernel-features.h>.
6415 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6416 conditional variable definition.
6417 (shm_open) [O_CLOEXEC]: Make code unconditional.
6418 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6419 code.
6420
c2570a0b
JM
6421 * configure.ac (USE_REGPARMS): Don't define here.
6422 * configure: Regenerated.
6423 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6424 * sysdeps/i386/configure: Regenerated.
6425
11b076bb
JM
6426 * nptl/createthread.c: Don't include kernel-features.h.
6427 * nptl/pthread_cancel.c: Likewise.
6428 * nptl/pthread_condattr_setclock.c: Likewise.
6429 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6430 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6431 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6432 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6433 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6434 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6435 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6436 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6437 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6438 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6439 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6440 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6441 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6442 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6443 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6444 * nscd/gai.c: Likewise.
6445 * nss/nss_db/db-open.c: Likewise.
6446 * sysdeps/generic/ldsodefs.h: Likewise.
6447 * sysdeps/sh/nptl/tls.h: Likewise.
6448 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6449 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6450 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6451 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6452 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6453 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6454 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6455 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6456 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6457 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6458 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6459 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6460 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6461 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6462 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6463 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6464 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6465 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6466 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6467 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6468 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6469 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6470 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6471 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6472 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6473 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6474 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6475 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6476 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6477 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6478 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6479 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6480 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6481 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6482 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6483 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6484 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6485 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6486 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6487 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6488 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6489 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6490 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6491 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6492 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6493 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6494 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6495 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6496 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6497 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6498 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6499 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6500 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6501 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6502 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6503 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6504 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6505 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6528 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6529 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6530 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6531 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6532 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6533 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6534 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6535 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6536 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6537 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6538 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6539 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6540 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6541 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6542 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6543 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6544 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6545 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6546 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6547 * sysdeps/unix/sysv/linux/system.c: Likewise.
6548 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6549 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6550 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6551 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6552 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6553 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6554 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6555
92072d57
JM
6556 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6557 * configure: Regenerated.
6558 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6559
3e239be6
JM
6560 * configure.ac (base_machine): Do not set specially for particular
6561 machines here.
6562 * configure: Regenerated.
6563 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6564 settings from configure.ac.
6565 * sysdeps/i386/preconfigure: New file.
6566 * sysdeps/s390/preconfigure: Likewise.
6567 * sysdeps/sh/preconfigure: Likewise.
6568 * sysdeps/sparc/preconfigure: Likewise.
6569
06d50baa
RM
65702014-06-25 Roland McGrath <roland@hack.frob.com>
6571
74836003
RM
6572 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6573 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6574 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6575 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6576 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6577 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6578 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6579 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6580 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6581 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6582 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6583 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6584 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6585 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6586 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6587 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6588 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6589 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6590 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6591
6592 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6593 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6594 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6595 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6596 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6597 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6598 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6599 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6600 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6601 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6602 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6603 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6604 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6605 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6606 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6607 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6608 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6609 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6610 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6611 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6612 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6613 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6614 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6615 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6616 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6617 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6618 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6619 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6620 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6621 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6622 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6623 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6624 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6625 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6626 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6627 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6628 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6629 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6630
06d50baa
RM
6631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6632 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6634 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6636 Moved ...
6637 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6638 ... here.
6639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6640 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6642 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6644 Moved ...
6645 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6647 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6649 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6651 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6653 Moved ...
6654 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6656 Moved ...
6657 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6659 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6661 Moved ...
6662 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6664 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6666 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6668 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6670 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6672 Moved ...
6673 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6674 ... here.
6675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6676 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6678 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6680 Moved ...
6681 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6683 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6685 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6687 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6689 Moved ...
6690 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6692 Moved ...
6693 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6695 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6697 Moved ...
6698 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6700 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6702 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6703
a4ccbc9b
JM
67042014-06-25 Joseph Myers <joseph@codesourcery.com>
6705
0828edbf
JM
6706 * timezone/checktab.awk: Update from tzcode 2014e.
6707 * timezone/private.h: Likewise.
6708 * timezone/tzfile.h: Likewise.
6709 * timezone/zdump.c: Likewise.
6710 * timezone/zic.c: Likewise.
6711
a4ccbc9b
JM
6712 * sysdeps/unix/sysv/linux/kernel-features.h
6713 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6714 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6715 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6716 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6717 Remove conditional code.
6718
9aea0cb8
WN
67192014-06-25 Will Newton <will.newton@linaro.org>
6720
6721 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6722 (_dl_arm_cap_flags): Add HWCAP2 values.
6723 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6724 (_DL_HWCAP_COUNT): Increase to 37.
6725 (_DL_HWCAP_LAST): New define.
6726 (_DL_HWCAP2_LAST): New define.
6727 (_dl_procinfo): Add support for printing
6728 AT_HWCAP2 entries.
6729 (_dl_string_hwcap): Use _dl_hwcap_string.
6730
6eaa65ce
AZ
67312014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6732
6733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6734
0f5b7185
JM
67352014-06-25 Joseph Myers <joseph@codesourcery.com>
6736
cfd2ea50
JM
6737 * README: Do not mention ports directory.
6738
cecf2ed4
JM
6739 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6740 Remove macro.
6741 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6742 <kernel-features.h>.
6743 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6744 conditional variable definition.
6745 (__futimes): Update comment.
6746 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6747 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6748
a638de82
JM
6749 [BZ #16560]
6750 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6751 arguments close to 0.
6752 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6753 Likewise.
6754 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6755 Likewise.
6756 * math/auto-libm-test-in: Add more tests of exp10.
6757 * math/auto-libm-test-out: Regenerated.
6758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6759
0f5b7185
JM
6760 * sysdeps/unix/sysv/linux/kernel-features.h
6761 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6762 * sysdeps/unix/sysv/linux/readv.c: Do not include
6763 <kernel-features.h>.
6764 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6765 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6766 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6767 unconditional.
6768 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6769 conditional code.
6770 * sysdeps/unix/sysv/linux/writev.c: Do not include
6771 <kernel-features.h>.
6772 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6773 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6774 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6775 unconditional.
6776 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6777 conditional code.
6778
c7aec4be
WN
67792014-06-25 Will Newton <will.newton@linaro.org>
6780
6781 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6782 comment changes throughout the file. Remove checks
6783 for HAVE_*_H definitions that are not required.
6784 (__gen_tempname): Call abort if an unknown kind value is
6785 passed.
6786
c5241f95
AS
67872014-06-25 Andreas Schwab <schwab@suse.de>
6788
6789 [BZ #17086]
6790 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6791 scalbln, scalblnf, scalblnl in libc.
6792
911422da
SP
67932014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6794
6795 [BZ #17086]
6796 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6797 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6798 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6799
0d749bbe
RM
68002014-06-24 Roland McGrath <roland@hack.frob.com>
6801
6802 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6803 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6804 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6805 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6806 Update #include.
6807 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6808 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6809 Update #include.
6810 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6811 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6812 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6813 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6814 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6815 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6816 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6817 * sysdeps/x86/bits/semaphore.h: ... here.
6818 * sysdeps/x86/nptl/elide.h: Moved ...
6819 * sysdeps/x86/elide.h: ... here.
6820 * sysdeps/x86_64/nptl/Implies: File removed.
6821 * sysdeps/i386/nptl/Implies: File removed.
6822
0ea5d373
JM
68232014-06-24 Joseph Myers <joseph@codesourcery.com>
6824
4060283d
JM
6825 [BZ #16539]
6826 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6827 return the argument for normal arguments with exponent below -64.
6828 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6829 Likewise.
6830 * math/auto-libm-test-in: Add another test of expm1.
6831 * math/auto-libm-test-out: Regenerated.
6832
e7dd3c8c
JM
6833 [BZ #16287]
6834 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6835 calling __erfcl for arguments at least 16.
6836 * math/auto-libm-test-in: Add more tests of erf.
6837 * math/auto-libm-test-out: Regenerated.
6838
0ea5d373
JM
6839 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6840 individual architectures.
6841 * sysdeps/unix/sysv/linux/configure: Regenerated.
6842 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6843 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6844 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6845 (ldd_rewrite_script): Define variable.
6846 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6848 file.
6849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6850 generated file.
6851 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6852 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6853 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6854 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6855 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6856 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6857 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6858 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6859
2307e126
SP
68602014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6861
6862 [BZ #17084]
6863 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6864 Rename member __data.d to __data.__elision_data.
6865
c0a4ed77
W
68662014-06-24 Wilco <wdijkstr@arm.com>
6867
6868 * NEWS: Add 16918 to fixed bug list.
6869
b8c00573
W
68702014-06-24 Wilco <wdijkstr@arm.com>
6871
6872 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6873
b5570d92
W
68742014-06-24 Wilco <wdijkstr@arm.com>
6875
6876 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6877 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6878 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6879 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6880 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6881 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6882 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6883 Use _FPU_MASK_RM.
6884
947bdca2
W
68852014-06-24 Wilco <wdijkstr@arm.com>
6886
6887 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6888
00f669ed
W
68892014-06-24 Wilco <wdijkstr@arm.com>
6890
6891 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6892 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6893 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6894 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6895
db59bad3
W
68962014-06-24 Wilco <wdijkstr@arm.com>
6897
6898 [BZ #16918]
6899 * sysdeps/arm/feupdateenv.c (feupdateenv):
6900 Rewrite to reduce FPSCR accesses and fix return value.
6901
001f7b77
W
69022014-06-24 Wilco <wdijkstr@arm.com>
6903
6904 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6905 Optimize to avoid unnecessary FPSCR writes.
6906 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6907 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6908 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6909 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6910
4841e6a6
W
69112014-06-24 Wilco <wdijkstr@arm.com>
6912
6913 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6914 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6915 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6916 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6917 Call libc_fetestexcept_vfp.
6918 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6919 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6920 __SOFTFP__ ifdef so that they can be built for softfp.
6921
0813022c
SP
69222014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6923
08e5862f
SP
6924 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6925 argument type signed char.
6926
0813022c
SP
6927 * Makerules (check-abi): Dump diff of symlist if the test
6928 fails.
6929
3fc7236a
RM
69302014-06-23 Roland McGrath <roland@hack.frob.com>
6931
aba8ef95
RM
6932 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6933 using abort.
6934
3fc7236a
RM
6935 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6936 Remove unused variable ST.
6937
4da6db51
JM
69382014-06-23 Joseph Myers <joseph@codesourcery.com>
6939
4648909d
JM
6940 [BZ #16354]
6941 [BZ #17061]
6942 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6943 small arguments before calling __expm1.
6944 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6945 small arguments before calling __expm1f.
6946 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6947 small arguments before calling __expm1l.
6948 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6949 Likewise.
6950 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6951 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6952 spurious underflow for some cosh tests.
6953 * math/auto-libm-test-out: Regenerated.
6954 * sysdeps/i386/fpu/libm-test-ulps: Update.
6955
46a3d3c7
JM
6956 [BZ #17050]
6957 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6958 (__ieee754_y1): Set errno if return value overflows.
6959 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6960 (__ieee754_y1f): Set errno if return value overflows.
6961 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6962 (__ieee754_y1l): Set errno if return value overflows.
6963 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6964 (__ieee754_y1l): Set errno if return value overflows.
6965 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6966 * math/auto-libm-test-out: Regenerated.
6967
863893ec
JM
6968 * math/gen-auto-libm-tests.c: Document use of
6969 ignore-zero-inf-sign.
6970 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6971 (input_flags): Add ignore-zero-inf-sign.
6972 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6973 * math/gen-libm-test.pl (generate_testfile): Handle
6974 ignore-zero-inf-sign.
6975 * math/auto-libm-test-in: Mark some cpow tests with
6976 ignore-zero-inf-sign and some with xfail-rounding.
6977 * math/auto-libm-test-out: Regenerated.
6978 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6979 * sysdeps/i386/fpu/libm-test-ulps: Update.
6980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6981
4da6db51
JM
6982 [BZ #16315]
6983 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6984 overflowing or underflowing operations take place with sign of
6985 result.
6986 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6987 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6988 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6989 (__ieee754_pow): Recompute overflowing and underflowing results in
6990 original rounding mode.
6991 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6992 (__powl_helper): Allow negative argument X and scale negated value
6993 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6994 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6995 overflowing or underflowing operations take place with sign of
6996 result.
6997 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6998 Include <math.h>.
6999 * math/auto-libm-test-in: Add more tests of pow.
7000 * math/auto-libm-test-out: Regenerated.
7001 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7002 (pow_tonearest_test_data): Remove.
7003 (pow_test_tonearest): Likewise.
7004 (pow_towardzero_test_data): Likewise.
7005 (pow_test_towardzero): Likewise.
7006 (pow_downward_test_data): Likewise.
7007 (pow_test_downward): Likewise.
7008 (pow_upward_test_data): Likewise.
7009 (pow_test_upward): Likewise.
7010 (main): Don't call removed functions.
7011 * sysdeps/i386/fpu/libm-test-ulps: Update.
7012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7013
5686b236
RM
70142014-06-23 Roland McGrath <roland@hack.frob.com>
7015
7016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7017 Moved ...
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7020 Moved ...
7021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7023 Moved ...
7024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7026 Moved ...
7027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7029 File removed.
7030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7031 File removed.
7032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7033 File removed.
7034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7035 File removed.
7036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7037 File removed.
7038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7039 File removed.
7040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7041 File removed.
7042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7043 File removed.
7044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7045 File removed.
7046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7047 File removed.
7048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7049 File removed.
7050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7051 File removed.
7052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7053 Moved ...
7054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7056 Moved ...
7057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7058 ... here.
7059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7060 Moved ...
7061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7063 Moved ...
7064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7066 Moved ...
7067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7069 Moved ...
7070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7072 Moved ...
7073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7075 Moved ...
7076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7078 Moved ...
7079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7082 ... here.
7083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7084 Moved ...
7085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7087 Moved ...
7088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7089 ... here.
7090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7091 Moved ...
7092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7093 ... here.
7094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7095 Moved ...
7096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7097 ... here.
7098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7099 Moved ...
7100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7102 Moved ...
7103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7107 Moved ...
7108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7109 ... here.
7110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7111 Moved ...
7112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7113 ... here.
7114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7115 Moved ...
7116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7118 Moved ...
7119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7121 Moved ...
7122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7124 Moved ...
7125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7127 Moved ...
7128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7129 ... here.
7130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7131 Moved ...
7132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7134 Moved ...
7135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7137 Moved ...
7138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7140 Moved ...
7141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7145 Moved ...
7146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7148 Moved ...
7149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7151 Moved ...
7152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7153 ... here.
7154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7155 Moved ...
7156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7157 ... here.
7158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7159 Moved ...
7160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7161 ... here.
7162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7163 Moved ...
7164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7166 Moved ...
7167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7169 Moved ...
7170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7172 Moved ...
7173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7174 ... here.
7175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7176 Moved ...
7177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7178 ... here.
7179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7180 Moved ...
7181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7182 ... here.
7183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7184 Moved ...
7185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7187 Moved ...
7188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7189
e6d90d67
WD
71902014-06-23 Will Newton <will.newton@linaro.org>
7191 Wilco <wdijkstr@arm.com>
7192
7193 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7194 implementation. Include get-rounding-mode.h.
7195 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7196 [!libc_feholdsetround_noex_ctx]: Define
7197 libc_feholdsetround_noex_ctx.
7198 [!libc_feholdsetround_noexf_ctx]: Define
7199 libc_feholdsetround_noexf_ctx.
7200 [!libc_feholdsetround_noexl_ctx]: Define
7201 libc_feholdsetround_noexl_ctx.
7202 (libc_feholdsetround_ctx): New function.
7203 (libc_feresetround_ctx): New function.
7204 (libc_feholdsetround_noex_ctx): New function.
7205 (libc_feresetround_noex_ctx): New function.
7206
d42df555
RM
72072014-06-23 Roland McGrath <roland@hack.frob.com>
7208
88a46474
RM
7209 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7210 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7211 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7212 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7213 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7214 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7215
15bed472
RM
7216 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7217 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7218 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7219 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7220 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7221 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7222 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7223 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7224 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7225 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7226 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7227 Moved ...
7228 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7229 ... here.
7230 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7231 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7232 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7233 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7234 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7235 Moved ...
7236 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7237 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7238 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7239 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7240 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7241 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7242 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7243 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7244 Moved ...
7245 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7246 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7247 Moved ...
7248 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7249 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7250 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7251 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7252 Moved ...
7253 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7254 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7255 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7256 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7257 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7258 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7259 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7260 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7261 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7262 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7263 Moved ...
7264 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7265 ... here.
7266 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7267 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7268 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7269 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7270 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7271 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7272 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7273 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7274 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7275 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7276 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7277 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7278 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7279 Moved ...
7280 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7281 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7282 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7283 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7284 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7285 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7286 Moved ...
7287 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7288 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7289 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7290 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7291 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7292
d42df555
RM
7293 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7294 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7295 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7296 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7297 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7298 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7299 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7300 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7301 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7302 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7303 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7304 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7305 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7306 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7307 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7308 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7309 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7310 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7311 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7312 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7313 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7314 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7315 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7316 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7317 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7318 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7319 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7320 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7321
76e5216e
JM
73222014-06-23 Joseph Myers <joseph@codesourcery.com>
7323
7324 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7325 (FALLOC_FL_COLLAPSE_RANGE): New macro.
7326 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7327 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7328 (IPV6_PMTUDISC_INTERFACE): Likewise.
7329 (IPV6_PMTUDISC_OMIT): Likewise.
7330
7a81cbcc
AS
73312014-06-23 Andreas Schwab <schwab@suse.de>
7332
7333 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7334 Remove unused errout label.
7335
db224009
AZ
73362014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7337
7338 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7339 macro: hardware supports Vector Crypto instructions.
7340
f393b4aa
WN
73412014-06-23 Will Newton <will.newton@linaro.org>
7342
cc7d0447
WN
7343 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7344 rather than __builtin_expect.
7345
d6d06225
WN
7346 * elf/dl-lookup.c (undefined_msg): Remove variable.
7347 (_dl_lookup_symbol_x): Replace undefined_msg with string
7348 literal.
7349
f393b4aa
WN
7350 * elf/dl-lookup.c (do_lookup_unique): New function.
7351 (do_lookup_x): Move STB_GNU_UNIQUE handling code
7352 to a separate function.
7353
ac60763e
AS
73542014-06-23 Andreas Schwab <schwab@suse.de>
7355
7356 [BZ #17079]
7357 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7358 before reading the next line.
7359
c5c13355
WN
73602014-06-23 Will Newton <will.newton@linaro.org>
7361
7362 * test-skeleton.c (signal_handler): Use printf and %m
7363 rather than perror. Use printf rather than fprintf to
7364 stderr. Use puts rather than fputs to stderr.
7365 (main): Likewise.
7366
bd3675f9
LC
73672014-06-22 Ludovic Courtès <ludo@gnu.org>
7368
7369 * nscd/nscd.c (thread_info_t): Remove typedef.
7370 (thread_info): Remove variable.
7371
d03efb2f
AM
73722014-06-21 Allan McRae <allan@archlinux.org>
7373
7374 * NEWS: Mention CVE-2014-4043.
7375
bc4a86fa
RM
73762014-06-20 Roland McGrath <roland@hack.frob.com>
7377
dc9a54f8
RM
7378 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7379 * nptl/smp.h: ... here.
7380
bd7022c4
RM
7381 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7382
26ffd5e6
RM
7383 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7384 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7385 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7386 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7387
93a6d082
RM
7388 * nptl/allocatestack.c: Include <stack-aliasing.h>.
7389 * nptl/stack-aliasing.h: New file.
7390 * sysdeps/i386/i686/stack-aliasing.h: New file.
7391 * sysdeps/i386/i686/nptl/Makefile: File removed.
7392 * sysdeps/x86_64/stack-aliasing.h: New file.
7393 * sysdeps/x86_64/nptl/Makefile
7394 (CFLAGS-pthread_create.c): Variable removed.
7395
bc4a86fa
RM
7396 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7397 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7398 old file.
7399 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7400 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7401 old file.
7402
2272ffc1
JM
74032014-06-21 Joseph Myers <joseph@codesourcery.com>
7404
7405 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7406 (__ASSUME_SIGFRAME_V2): Remove macro.
7407 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7408 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7409 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7410 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7411 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7412 Declare as function. Remove conditional macro definitions.
7413 (__default_rt_sa_restorer): Likewise.
7414 (__default_sa_restorer_v1): Remove declaration.
7415 (__default_sa_restorer_v2): Likewise.
7416 (__default_rt_sa_restorer_v1): Likewise.
7417 (__default_rt_sa_restorer_v2): Likewise.
7418 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7419 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7420 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7421
4b88139b
RM
74222014-06-20 Roland McGrath <roland@hack.frob.com>
7423
7424 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7425 (libpthread-routines): Add sysdep.
7426 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7427 * sysdeps/unix/sysv/linux/sparc/Versions
7428 (libpthread: GLIBC_2.3.3): New version set.
7429 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7430 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7431 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7432 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7433 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
7434 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7435 Moved ...
7436 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7437 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7438 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7439 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7440 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7441 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7442 * sysdeps/sparc/nptl/sem_init.c: ... here.
7443 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7444 * sysdeps/sparc/nptl/sem_post.c: ... here.
7445 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7446 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7447 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7448 * sysdeps/sparc/nptl/sem_wait.c: ... here.
7449 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7450 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7451 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7452 (libpthread-routines): Add cpu_relax.
7453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7454 File removed.
7455 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7456 (librt: GLIBC_2.3.3): New version set.
7457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7458 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7459 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7460 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7462 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7463 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7464 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7465 Moved ...
7466 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7467 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7468 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7470 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7471 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7472 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7473 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7474 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7475 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7476 Moved ...
7477 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7478 Update #include.
7479 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7480 Moved ...
7481 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7482 Update #include.
7483 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7484 Moved ...
7485 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7486 Update #include.
7487 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7488 Moved ...
7489 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7490 Update #include.
7491 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7492 Moved ...
7493 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7494 Update #include.
7495 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7496 Moved ...
7497 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7498 Update #include.
7499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7500 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7502 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7504 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7506 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7507 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7508 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7510 Moved ...
7511 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7512 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7513 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7514 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7515 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7516
d7109027
JM
75172014-06-20 Joseph Myers <joseph@codesourcery.com>
7518
9bc6103d
JM
7519 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7520 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7521 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7522 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7523 * nscd/nscd.c: Likewise.
7524 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7525 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7526 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7527 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7528
d7109027
JM
7529 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7530 <kernel-features.h>.
7531 (init_mq_netlink): Remove conditional have_sock_cloexec
7532 definitions. Remove code conditional on have_sock_cloexec < 0.
7533 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7534 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7535 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7536 <kernel-features.h>.
7537 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7538 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7539
d92d8f8a
L
75402014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7541
7542 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7543 Add tests for memset_chk and memset.
7544
7545 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7546 with AVX2_Usable.
7547
4e6d2347
MR
75482014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7549
257ce712
MR
7550 [BZ #16046]
7551 * elf/tst-dl-iter-static.c: New file.
7552 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7553
4e6d2347
MR
7554 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7555 error.
7556
a2a76afe
JM
75572014-06-20 Joseph Myers <joseph@codesourcery.com>
7558
7fd00f99
JM
7559 * sysdeps/unix/sysv/linux/kernel-features.h
7560 (__ASSUME_F_GETOWN_EX): Remove macro.
7561 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7562 <kernel-features.h>.
7563 (miss_F_GETOWN_EX): Remove variable or macro.
7564 (do_fcntl): Do not check miss_F_GETOWN_EX.
7565 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7566
4a103975
JM
7567 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7568 Remove macro.
7569 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7570 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7571 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7572
a2a76afe
JM
7573 * sysdeps/unix/sysv/linux/kernel-features.h
7574 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7575 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7576 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7577 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7578
90e5dd48
MR
75792014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7580
7581 [BZ #17075]
7582 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7583 Fix calculation of the symbol's value.
7584 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7585 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7586 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7587 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7588 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7589 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7590 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7591 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7592 (modules-names): Add `tst-armtlsdescmod',
7593 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7594 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7595 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7596 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7597 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7598 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7599 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7600 ($(objpfx)tst-armtlsdescloc): New dependency.
7601 ($(objpfx)tst-armtlsdescextnow): Likewise.
7602 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7603 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7604 TLS scheme support.
7605 * sysdeps/arm/configure: Regenerate.
7606
809fdf0d
JM
76072014-06-20 Joseph Myers <joseph@codesourcery.com>
7608
7609 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7610 (__atfct_seterrno_2): Likewise.
7611 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7612 <kernel-features.h>.
7613 (__ASSUME_ATFCTS): Do not undefine and redefine.
7614 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7615 (__have_atfcts): Remove conditional definition.
7616 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7617 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7618 unreachable if [__ASSUME_ATFCTS].
7619 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7620 not undefine and redefine.
7621 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7622 <kernel-features.h>.
7623 (faccessat) [__NR_faccessat]: Make code unconditional.
7624 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7625 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7626 <kernel-features.h>.
7627 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7628 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7629 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7630 <kernel-features.h>.
7631 (fchownat) [__NR_fchownat]: Make code unconditional.
7632 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7633 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7634 <kernel-features.h>.
7635 (futimesat) [__NR_futimesat]: Make code unconditional.
7636 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7637 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7638 <kernel-features.h>.
7639 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7640 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7641 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7642 <kernel-features.h>.
7643 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7644 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7645 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7646 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7647 <kernel-features.h>.
7648 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7649 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7650 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7651 <kernel-features.h>.
7652 (linkat) [__NR_linkat]: Make code unconditional.
7653 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7654 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7655 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7656 <kernel-features.h>.
7657 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7658 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7659 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7660 <kernel-features.h>.
7661 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7662 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7663 * sysdeps/unix/sysv/linux/openat.c: Do not include
7664 <kernel-features.h>.
7665 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7666 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7667 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7668 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7669 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7670 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7671 <kernel-features.h>.
7672 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7673 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7674 result of INLINE_SYSCALL directly, not via int variable.
7675 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7676 <kernel-features.h>.
7677 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7678 (renameat) [__NR_renameat]: Make code unconditional.
7679 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7680 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7681 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7682 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7683 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7684 (__ASSUME_ATFCTS): Do not undefine and redefine.
7685 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7686 <kernel-features.h>.
7687 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7688 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7689 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7690 <kernel-features.h>.
7691 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7692 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7693 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7694 (__ASSUME_ATFCTS): Do not undefine and redefine.
7695 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7696 <kernel-features.h>.
7697 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7698 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7699 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7700 <kernel-features.h>.
7701 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7702 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7703
224c6c51
L
77042014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7705
7706 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7707
aa6ec754
AS
77082014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7709
7710 [BZ #17069]
7711 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7712 constructed tree before returning error.
7713 * posix/bug-regexp36.c: Expand test case.
7714
d8c2869d
SL
77152014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7716
3ef6b850
SL
7717 [BZ #6803]
7718 * math/libm-test.inc (scalbln_test_date):
7719 Add errno expectations.
7720 * math/w_scalblnf.c: New File.
7721 Add wrapper which checks for setting errno to ERANGE.
7722 Add weak_alias for corresponding scalbln function.
7723 * math/w_scalbln.c: Likewise.
7724 * math/w_scalblnl.c: Likewise.
7725 * math/Makefile (libm-calls): Add w_scalbln.
7726 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7727 Remove weak_alias for corresponding scalbln function.
7728 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7729 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7730 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7731 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7732 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7733 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7734 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7735 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7736 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7737 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7738 Remove long_double_symbol for scalblnl function in libm, libc.
7739 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7740 Add wrapper which checks for setting errno to ERANGE.
7741 Add long_double_symbol for scalblnl function in libm, libc.
7742 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7743 Remove long_double_symbol for scalblnl in libm.
7744 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7745 Add wrapper which checks for setting errno to ERANGE.
7746 Add long_double_symbol for scalblnl function in libm.
7747 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7748 Do not use wrapper because of own implementation.
7749
c8daec5c
L
77502014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7751
7752 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7753 3 bytes for __pad1 for x32.
7754 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7755
5c74e47c
LM
77562014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7757 H.J. Lu <hongjiu.lu@intel.com>
7758
7759 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7760 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7761 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7762 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7763 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7764
4d43ef1e
AS
77652014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7766
7767 [BZ #17069]
7768 * posix/regcomp.c (parse_expression): Deallocate partially
7769 constructed tree before returning error.
7770 * posix/Makefile.c (tests): Add bug-regex36.
7771 (generated): Add bug-regex36.mtrace.
7772 (tests-special): Add $(objpfx)bug-regex36-mem.out
7773 (bug-regex36-ENV): New variable.
7774 ($(objpfx)bug-regex36-mem.out): New rule.
7775 * posix/bug-regex36.c: New file.
7776
51a7380b
WN
77772014-06-19 Will Newton <will.newton@linaro.org>
7778
7779 * malloc/malloc.c (systrim): If extra is zero then return
7780 early.
7781
91b84fe5
SP
77822014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7783
7784 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7785
f940b965
RE
77862014-06-19 Richard Earnshaw <rearnsha@arm.com>
7787
7788 * sysdeps/aarch64/strchr.S: New file.
7789
4ba7a00f
JM
77902014-06-18 Joseph Myers <joseph@codesourcery.com>
7791
7792 [BZ #17022]
7793 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7794 from arguments -2 or below.
7795 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7796 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7797
b3a9f56b
AS
77982014-06-18 Andreas Schwab <schwab@suse.de>
7799
7800 [BZ #17062]
7801 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7802 of a bracket expr not to run off the end of the string.
7803 * posix/Makefile (tests): Add tst-fnmatch3.
7804 * posix/tst-fnmatch3.c: New file.
7805
85d89278
JM
78062014-06-18 Joseph Myers <joseph@codesourcery.com>
7807
7808 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7809 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7810 [$(cross-compiling) = no]: Likewise.
7811 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7812 [$(cross-compiling) = no]: Likewise.
7813
754c5a08
RS
78142014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7815
7816 [BZ #17031]
7817 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7818 double, adjusted for any remainder from the high double.
7819 * math/libm-test.inc (nearbyint): Add tests.
7820 (rint): Likewise.
7821
556f529d
AZ
78222014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7823
7824 * nptl/sysdeps/powerpc/Makefile: Moved ...
7825 * sysdeps/powerpc/nptl/Makefile: ... here.
7826 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7827 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7828 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7829 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7830 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7831 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7832 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7833 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7834 * nptl/sysdeps/powerpc/tls.h: Moved ...
7835 * sysdeps/powerpc/nptl/tls.h: ... here.
7836
91c03c53
JM
78372014-06-16 Joseph Myers <joseph@codesourcery.com>
7838
7839 [BZ #16681]
7840 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7841 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7842 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7843 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7844 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7845 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7846 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7847 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7848 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7849
a76e63c5
AS
78502014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7851
7852 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7853
f2f6d82f
AS
78542014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7855
ea8a15f6
AS
7856 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7857 defined operator.
7858
f2f6d82f
AS
7859 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7860 $TIMEOUTFACTOR.
7861
a7291117
FW
78622014-06-16 Florian Weimer <fweimer@redhat.com>
7863
7864 [BZ #17058]
7865 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7866 non-executed part of the test.
7867
3d7c00e3
AS
78682014-06-16 Andreas Schwab <schwab@suse.de>
7869
7870 * string/bits/string2.h (strdup, strndup): Update feature guard.
7871
6957fb31
DM
78722014-06-14 David S. Miller <davem@davemloft.net>
7873
7874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7875
11b9e55b
AS
78762014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7877
1d2a0492
AS
7878 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7879 that was previously under [RESET_PID].
7880 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7881
11b9e55b
AS
7882 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7883 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7884 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7885 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7886 (__libc_vfork): New strong alias.
7887 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7888
0f6901d0
AK
78892014-06-14 Andi Kleen <ak@linux.intel.com>
7890
7891 * sysdeps/generic/elide.h: New file.
7892
38bbbb9f
SL
78932014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7894
7895 * Makefile (installed-headers): Adjust path of pthread.h header.
7896
45193bb8
RM
78972014-06-13 Roland McGrath <roland@hack.frob.com>
7898
9a25fd1e
RM
7899 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7900 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7901 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7902 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7903
4004f7e4
RM
7904 * nptl/sysdeps/s390/Makefile: Moved ...
7905 * sysdeps/s390/nptl/Makefile: ... here.
7906 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7907 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7908 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7909 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7910 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7911 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7912 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7913 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7914 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7915 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7916 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7917 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7918 * nptl/sysdeps/s390/tls.h: Moved ...
7919 * sysdeps/s390/nptl/tls.h: ... here.
7920
45193bb8
RM
7921 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7922 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7923
f6fdf533
DM
79242014-06-13 David S. Miller <davem@davemloft.net>
7925
7926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7927 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7929 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7931 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7933 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7934 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7935 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7936 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7937 Remove RESET_PID cpp guards.
7938 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7939 Remove RESET_PID cpp guards.
7940 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7941
f5d71e14
AS
79422014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7943
7944 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7945 __sp to uintptr_t.
7946
b7aa8caa
AK
79472014-06-13 Andi Kleen <ak@linux.intel.com>
7948
4b266200
AZ
7949 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7950 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7951 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7952 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7953 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7954 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7955 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7956 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7957 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7958 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7959 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7960 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7961 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7962 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7963 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7964 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7965 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7966 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7967 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7968 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
7969
7970 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
7971 (pthread_rwlock_rdlock): Add elision.
7972 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7973 (pthread_rwlock_wrlock): Add elision.
7974 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7975 (pthread_rwlock_trywrlock): Add elision.
7976 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7977 (pthread_rwlock_tryrdlock): Add elision.
7978 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7979 (pthread_rwlock_tryrdlock): Add elision unlock.
7980 * nptl/sysdeps/pthread/pthread.h:
7981 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7982 (PTHREAD_RWLOCK_INITIALIZER,
7983 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7984 Handle new elision field.
7985 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7986 * sysdeps/arm/nptl/bits/pthreadtypes.h
7987 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7988 * sysdeps/sh/nptl/bits/pthreadtypes.h
7989 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7990 * sysdeps/tile/nptl/bits/pthreadtypes.h
7991 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7992 * sysdeps/a/nptl/bits/pthreadtypes.h
7993 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7994 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7995 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7996 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7997 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7998 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7999 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8000 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8001 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8002 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8003 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8004 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8005 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8006 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8007 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8008 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8009 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8010 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8011 (elision_init): Set try_xbegin to zero when no RTM.
8012 * sysdeps/x86/nptl/bits/pthreadtypes.h
8013 (pthread_rwlock_t): Change __pad1 to __rwelision.
8014 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 8015
a832bdd3
AK
80162014-06-13 Andi Kleen <ak@linux.intel.com>
8017
8018 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8019 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8020 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8021 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8022
995a46bb
MI
80232014-06-13 Meador Inge <meadori@codesourcery.com>
8024
8025 [BZ #16996]
03ed7738 8026 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
8027 that the cached result has been set before returning it.
8028
45262aee
RM
80292014-06-12 Roland McGrath <roland@hack.frob.com>
8030
febf6cc5
RM
8031 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8032 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8033 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8034 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8035 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8036 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8037
e2682246
RM
8038 * nptl/sysdeps/sparc/Makefile: Moved ...
8039 * sysdeps/sparc/nptl/Makefile: ... here.
8040 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8041 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8042 * nptl/sysdeps/sparc/tls.h: Moved ...
8043 * sysdeps/sparc/nptl/tls.h: ... here.
8044 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8045 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8046 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8047 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8048 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8049 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8050 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8051 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8052 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8053 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8054 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8055 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8056 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8057 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8058 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8059 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8060 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8061 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8062 Update #include.
8063 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8064 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8065 Update #include.
8066 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8067 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8068 Update #include.
8069 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8070 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8071 Update #include.
8072
b0725f43
RM
8073 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8074
b14368b8
RM
8075 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8076 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8077
c5620eb3
RM
8078 * sysdeps/pthread/posix-timer.h: Include <list.h>.
8079 (struct list_links): Type removed.
8080 (struct thread_node, struct timer_node): Replace struct list_links
8081 with struct list_head.
8082 (list_unlink_ip): Likewise.
8083 * sysdeps/pthread/timer_routines.c
8084 (timer_free_list, thread_free_list, thread_active_list): Likewise.
8085 (list_append, list_insbefore): Likewise.
8086 (list_init): Function removed.
8087 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
8088 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8089 * sysdeps/pthread/Makefile: ... here, new file.
8090
8091 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8092 * sysdeps/nptl/Implies: ... here.
8093 * sysdeps/unix/sysv/linux/Implies: Add nptl.
8094 * nptl/sysdeps/pthread/list.h: Moved ...
8095 * include/list.h: ... here.
8096 * nptl/sysdeps/pthread/createthread.c: Moved ...
8097 * nptl/createthread.c: ... here.
8098 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8099 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8100 * nptl/pt-longjmp.c: ... here.
8101 * nptl/sysdeps/pthread/Makefile: Moved ...
8102 * sysdeps/nptl/Makefile: ... here.
8103 * nptl/sysdeps/pthread/Subdirs: Moved ...
8104 * sysdeps/nptl/Subdirs: ... here.
8105 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8106 * sysdeps/nptl/aio_misc.h: ... here.
8107 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8108 * sysdeps/nptl/bits/libc-lock.h: ... here.
8109 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8110 * sysdeps/nptl/bits/libc-lockP.h: ... here.
8111 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8112 * sysdeps/nptl/bits/stdio-lock.h: ... here.
8113 * nptl/sysdeps/pthread/configure: Moved ...
8114 * sysdeps/nptl/configure: ... here.
8115 * nptl/sysdeps/pthread/configure.ac: Moved ...
8116 * sysdeps/nptl/configure.ac: ... here.
8117 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8118 * sysdeps/nptl/gai_misc.h: ... here.
8119 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8120 * sysdeps/nptl/librt-cancellation.c: ... here.
8121 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8122 * sysdeps/nptl/malloc-machine.h: ... here.
8123 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8124 * sysdeps/nptl/pthread-functions.h: ... here.
8125 * nptl/sysdeps/pthread/pthread.h: Moved ...
8126 * sysdeps/nptl/pthread.h: ... here.
8127 * nptl/sysdeps/pthread/setxid.h: Moved ...
8128 * sysdeps/nptl/setxid.h: ... here.
8129 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8130 * sysdeps/nptl/sigfillset.c: ... here.
8131 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8132 * sysdeps/nptl/tcb-offsets.h: ... here.
8133 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8134 * sysdeps/nptl/tst-mqueue8x.c: ... here.
8135 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8136 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8137 * nptl/sysdeps/pthread/allocalim.h: Moved ...
8138 * sysdeps/pthread/allocalim.h: ... here.
8139 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8140 * sysdeps/pthread/bits/sigthread.h: ... here.
8141 * nptl/sysdeps/pthread/flockfile.c: Moved ...
8142 * sysdeps/pthread/flockfile.c: ... here.
8143 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8144 * sysdeps/pthread/ftrylockfile.c: ... here.
8145 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8146 * sysdeps/pthread/funlockfile.c: ... here.
8147 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8148 * sysdeps/pthread/posix-timer.h: ... here.
8149 * nptl/sysdeps/pthread/timer_create.c: Moved ...
8150 * sysdeps/pthread/timer_create.c: ... here.
8151 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8152 * sysdeps/pthread/timer_delete.c: ... here.
8153 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8154 * sysdeps/pthread/timer_getoverr.c: ... here.
8155 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8156 * sysdeps/pthread/timer_gettime.c: ... here.
8157 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8158 * sysdeps/pthread/timer_routines.c: ... here.
8159 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8160 * sysdeps/pthread/timer_settime.c: ... here.
8161 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8162 * sysdeps/pthread/tst-timer.c: ... here.
8163 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8164 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8165
e876b090
RM
8166 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8167 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8168
f6b07b3d
RM
8169 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8170 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8171 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8172 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8173 Update #include target.
8174 * nptl/sysdeps/i386/i686/Makefile: Moved ...
8175 * sysdeps/i386/i686/nptl/Makefile: ... here.
8176 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8177 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8178 Update #include target.
8179 * nptl/sysdeps/i386/i686/tls.h: Moved ...
8180 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
8181 * nptl/sysdeps/i386/Makefile: Moved ...
8182 * sysdeps/i386/nptl/Makefile: ... here.
8183 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8184 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8185 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8186 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8187 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8188 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8189 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8190 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8191 * sysdeps/i386/nptl/pthreaddef.h: ... here.
8192 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8193 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8194 * nptl/sysdeps/i386/tls.h: Moved ...
8195 * sysdeps/i386/nptl/tls.h: ... here.
8196
45262aee
RM
8197 * sysdeps/sh/Makefile [$(subdir) = csu]
8198 (gen-as-const-headers): Add tcb-offsets.sym.
8199 * nptl/sysdeps/sh/Makefile: File removed.
8200 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8201 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8202 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8203 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8204 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8205 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8206 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8207 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8208 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8209 * sysdeps/sh/nptl/pthreaddef.h: ... here.
8210 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8211 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8212 * nptl/sysdeps/sh/tls.h: Moved ...
8213 * sysdeps/sh/nptl/tls.h: ... here.
8214 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8215 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8216 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8217 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8218 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8219 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8220 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8221 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8222 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8223 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8224 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8225 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8226 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8227 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8228 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8229 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8230 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8231 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8232 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8233 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8234 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8235 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8236 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8237 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8238 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8239 Moved ...
8240 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8241 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8242 Moved ...
8243 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8244 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8245 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8246 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8247 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8248 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8249 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8250 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8251 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8252 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8253 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8254 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8255 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8256 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8257 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8258 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8259 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8260 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8261 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8262
35a5e3e3
SL
82632014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8264
8265 * posix/spawn_faction_addopen.c: Include string.h.
8266
14642b85
RM
82672014-06-11 Roland McGrath <roland@hack.frob.com>
8268
8269 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8270 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8271 * nptl/sysdeps/x86_64/Makefile: Moved ...
8272 * sysdeps/x86_64/nptl/Makefile: ... here.
8273 * nptl/sysdeps/x86_64/configure: Moved ...
8274 * sysdeps/x86_64/nptl/configure: ... here.
8275 * nptl/sysdeps/x86_64/configure.ac: Moved ...
8276 * sysdeps/x86_64/nptl/configure.ac: ... here.
8277 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8278 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8279 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8280 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8281 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8282 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8283 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8284 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8285 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8286 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8287 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8288 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8289 * nptl/sysdeps/x86_64/tls.h: Moved ...
8290 * sysdeps/x86_64/nptl/tls.h: ... here.
8291 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8292 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8293 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8294 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8295
8296 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8297
31c44fea
AZ
82982014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8299
8300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8301
e81a4f9a
JM
83022014-06-11 Joseph Myers <joseph@codesourcery.com>
8303
8304 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8305 type.
8306 [POSIX] (off_t): Likewise.
8307 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8308 [POSIX] (S_ISBLK): Require macro.
8309 [POSIX] (S_ISCHR): Likewise.
8310 [POSIX] (S_ISDIR): Likewise.
8311 [POSIX] (S_ISFIFO): Likewise.
8312 [POSIX] (S_ISREG): Likewise.
8313 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8314 optional-macro.
8315 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8316 type.
8317 [POSIX] (time_t): Likewise.
8318 [POSIX] (timer_t): Likewise.
8319
89e435f3
FW
83202014-06-11 Florian Weimer <fweimer@redhat.com>
8321
8322 [BZ #17048]
8323 * posix/spawn_int.h (struct __spawn_action): Make the path string
8324 non-const to support deallocation.
8325 * posix/spawn_faction_addopen.c
8326 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8327 * posix/spawn_faction_destroy.c
8328 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
8329 path in all spawn_do_open actions.
8330 * posix/tst-spawn.c (do_test): Exercise the copy operation in
8331 posix_spawn_file_actions_addopen.
8332
c3a2ebe1
CM
83332014-06-11 Chris Metcalf <cmetcalf@tilera.com>
8334
8335 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8336 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8337 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8338 conditional code always true.
8339 (__libc_vfork): New alias.
8340
9503784a
RM
83412014-06-11 Roland McGrath <roland@hack.frob.com>
8342
c9cab3d2
RM
8343 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8344 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8345
d3996c79
RM
8346 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8347
ba5ec611
RM
8348 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8349 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8350
f12b4814
RM
8351 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8352 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8353
9503784a
RM
8354 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8355 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8356
e23d3d26
VR
83572014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8358
8359 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8360 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8361 multiarch strcmp for PPC64.
8362 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8363 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8365 multiarch optimizations.
8366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8367 (__libc_ifunc_impl_list): Likewise.
8368
42b1161e
SP
83692014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8370
8371 * benchtests/scripts/validate_benchout.py: New script.
8372 * benchtests/Makefile (bench-func): Call it.
8373 * benchtests/scripts/benchout.schema.json: New file.
8374
2d0fc4dc
CM
83752014-06-10 Chris Metcalf <cmetcalf@tilera.com>
8376
4a594c34
AZ
8377 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8378 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8379 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8380 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8381 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8382 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8383 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8384 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8385 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8386 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8387 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8388 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8389 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8390 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8391 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8392 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 8394 Moved ...
4a594c34 8395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 8396 ... here.
4a594c34 8397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 8398 Moved ...
4a594c34
AZ
8399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 8401 Moved ...
4a594c34 8402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 8403 ... here.
4a594c34 8404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 8405 Moved ...
4a594c34 8406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 8407 ... here.
4a594c34 8408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 8409 Moved ...
4a594c34
AZ
8410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 8412 Moved ...
4a594c34 8413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 8414 ... here.
4a594c34 8415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 8416 Moved ...
4a594c34 8417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 8418 ... here.
4a594c34 8419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 8420 Moved ...
4a594c34
AZ
8421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 8423 Moved ...
4a594c34 8424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 8425 ... here.
4a594c34 8426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 8427 Moved ...
4a594c34 8428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 8429 ... here.
4a594c34 8430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 8431 Moved ...
4a594c34 8432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 8433 ... here.
4a594c34 8434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 8435 Moved ...
4a594c34
AZ
8436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 8438 Moved ...
4a594c34 8439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 8440 ... here.
4a594c34 8441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 8442 Moved ...
4a594c34 8443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 8444 ... here.
4a594c34 8445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 8446 Moved ...
4a594c34 8447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 8448 ... here.
4a594c34 8449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 8450 Moved ...
4a594c34
AZ
8451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 8453 Moved ...
4a594c34 8454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 8455 ... here.
4a594c34 8456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 8457 Moved ...
4a594c34 8458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 8459 ... here.
4a594c34 8460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 8461 Moved ...
4a594c34
AZ
8462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 8464 Moved ...
4a594c34 8465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 8466 ... here.
4a594c34 8467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 8468 Moved ...
4a594c34
AZ
8469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 8471 Moved ...
4a594c34
AZ
8472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 8474 Moved ...
4a594c34 8475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 8476 ... here.
4a594c34 8477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 8478 Moved ...
4a594c34 8479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 8480 ... here.
4a594c34 8481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 8482 Moved ...
4a594c34 8483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 8484 ... here.
4a594c34 8485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 8486 Moved ...
4a594c34
AZ
8487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 8489 Moved ...
4a594c34 8490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 8491 ... here.
4a594c34 8492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 8493 Moved ...
4a594c34 8494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 8495 ... here.
4a594c34
AZ
8496 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8497 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8498 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8499 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8500 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 8501 Moved ...
4a594c34 8502 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 8503 ... here.
4a594c34
AZ
8504 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8505 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8506 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8507 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8508 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8509 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8510 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8511 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8512 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8513 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8514 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8515 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8516 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 8517 Moved ...
4a594c34
AZ
8518 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8519 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 8520 Moved ...
4a594c34
AZ
8521 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8522 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8523 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8524 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 8525 Moved ...
4a594c34
AZ
8526 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8527 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8528 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8529 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8530 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8531 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8532 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 8533
0570cfed
W
85342014-06-10 Wilco <wdijkstr@arm.com>
8535
8536 * math/test-fenv-return.c: New file.
8537 * math/Makefile: Add new test test-fenv-return.
8538
f8ba1b56
JM
85392014-06-10 Joseph Myers <joseph@codesourcery.com>
8540
8541 [BZ #17042]
8542 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8543 when x - 1 is zero.
8544 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8545 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8546 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8547 0.0L for an argument of 1.0L.
8548 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8549 Likewise.
8550 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8551 value when x - 1 is zero.
8552 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8553 * sysdeps/i386/fpu/libm-test-ulps: Update.
8554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8555
2c3520d9
BO
85562014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8557
8558 [BZ #15119]
8559 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8560
acaa4d24
RM
85612014-06-09 Roland McGrath <roland@hack.frob.com>
8562
8563 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8564 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8565
962b744d
RM
85662014-06-09 Roland McGrath <roland@hack.frob.com>
8567
d752f0cc
RM
8568 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8569 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8570
34eda6d1
RM
8571 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8572 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8573
50f0a637
RM
8574 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8575 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8576
08f41f04
RM
8577 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8578 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8579
962b744d
RM
8580 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8581 if not already defined.
8582 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8583 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8584 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8585 (TLS_INIT_TP): Use it.
8586 (TLS_DEFINE_INIT_TP): New macro.
8587 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8588
09f19b05
JM
85892014-06-09 Joseph Myers <joseph@codesourcery.com>
8590
8591 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8592 constant.
8593 [POSIX] (IXANY): Likewise.
8594 [POSIX] (OLCUC): Likewise.
8595 [POSIX || POSIX2008] (CBAUD): Do not allow.
8596 [POSIX || POSIX2008] (DEFECHO): Likewise.
8597 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8598 [POSIX || POSIX2008] (ECHOKE): Likewise.
8599 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8600 [POSIX || POSIX2008] (EXTA): Likewise.
8601 [POSIX || POSIX2008] (EXTB): Likewise.
8602 [POSIX || POSIX2008] (FLUSHO): Likewise.
8603 [POSIX || POSIX2008] (LOBLK): Likewise.
8604 [POSIX || POSIX2008] (PENDIN): Likewise.
8605 [POSIX || POSIX2008] (SWTCH): Likewise.
8606 [POSIX || POSIX2008] (VDISCARD): Likewise.
8607 [POSIX || POSIX2008] (VDSUSP): Likewise.
8608 [POSIX || POSIX2008] (VLNEXT): Likewise.
8609 [POSIX || POSIX2008] (VREPRINT): Likewise.
8610 [POSIX || POSIX2008] (VSTATUS): Likewise.
8611 [POSIX || POSIX2008] (VWERASE): Likewise.
8612 (B*): Change to B[0123456789]*.
8613 * conform/data/time.h-data [POSIX || UNIX98]
8614 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8615 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8616 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8617 [POSIX] (tm_*): Do not allow.
8618
686554bf
JM
86192014-06-07 Joseph Myers <joseph@codesourcery.com>
8620
8621 * Makefile (install): Don't set LANGUAGE.
8622 * Makefile.in (install): Likewise.
8623 * assert/Makefile (test-assert-ENV): Remove variable.
8624 (test-assert-perr-ENV): Likewise.
8625 * elf/Makefile (neededtest4-ENV): Likewise.
8626 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8627 [$(cross-compiling) = no]: Don't set LANGUAGE.
8628 * io/ftwtest-sh (LANG): Remove variable.
8629 * libio/Makefile (tst-widetext-ENV): Likewise.
8630 * manual/install.texi (Running make install): Don't refer to
8631 environment settings for make install.
8632 * INSTALL: Regenerated.
8633 * nptl/tst-tls6.sh: Don't set LANG.
8634 * posix/globtest.sh (LANG): Remove variable.
8635 * string/Makefile (tester-ENV): Likewise.
8636 (inl-tester-ENV): Likewise.
8637 (noinl-tester-ENV): Likewise.
8638 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8639 [$(cross-compiling) = no]: Don't set LANGUAGE.
8640 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8641 without explicit environment settings.
8642
68e6b6b1
RM
86432014-06-06 Roland McGrath <roland@hack.frob.com>
8644
8645 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8646 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8647 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8648 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8649
4d3ae034
CM
86502014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8651
8652 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8653 other files in the crypt directory.
8654 * crypt/crypt.c: Remove duplicate includes.
8655 * crypt/crypt-entry.c: Likewise.
8656 * crypt/crypt_util.c: Likewise.
8657
8540f6d2
JM
86582014-06-06 Joseph Myers <joseph@codesourcery.com>
8659
8660 * Makeconfig (run-program-env): New variable.
8661 (run-program-prefix-before-env): Likewise.
8662 (run-program-prefix-after-env): Likewise.
8663 (run-program-prefix): Define in terms of new variables.
8664 (built-program-cmd-before-env): New variable.
8665 (built-program-cmd-after-env): Likewise.
8666 (built-program-cmd): Define in terms of new variables.
8667 (test-program-prefix-before-env): New variable.
8668 (test-program-prefix-after-env): Likewise.
8669 (test-program-prefix): Define in terms of new variables.
8670 (test-program-cmd-before-env): New variable.
8671 (test-program-cmd-after-env): Likewise.
8672 (test-program-cmd): Define in terms of new variables.
8673 * Rules (make-test-out): Use $(run-program-env).
8674 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8675 (help): Do not mention environment variables. Mention
8676 --timeoutfactor option.
8677 (timeoutfactor): New variable.
8678 (blacklist_exports): Remove function.
8679 (exports): Remove variable.
8680 (command): Do not include ${exports}.
8681 * manual/install.texi (Configuring and compiling): Do not mention
8682 test wrappers preserving environment variables. Mention that last
8683 assignment to a variable must take precedence.
8684 * INSTALL: Regenerated.
8685 * benchtests/Makefile (run-bench): Use $(run-program-env).
8686 * catgets/Makefile ($(objpfx)test1.cat): Use
8687 $(built-program-cmd-before-env), $(run-program-env) and
8688 $(built-program-cmd-after-env).
8689 ($(objpfx)test2.cat): Do not specify environment variables
8690 explicitly.
8691 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8692 $(run-program-env) and $(built-program-cmd-after-env).
8693 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8694 $(run-program-env) and $(test-program-cmd-after-env).
8695 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8696 explicitly.
8697 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8698 run_program_env and test_program_cmd_after_env arguments.
8699 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8700 * elf/tst-pathopt.sh: Use run_program_env argument.
8701 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8702 $(test-wrapper-env) and $(run-program-env).
8703 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8704 run_program_env arguments.
8705 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8706 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8707 $(test-program-prefix-before-env), $(run-program-env) and
8708 $(test-program-prefix-after-env).
8709 ($(objpfx)tst-gettext2.out): Likewise.
8710 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8711 run_program_env and test_program_prefix_after_env arguments.
8712 * intl/tst-gettext2.sh: Likewise.
8713 * intl/tst-gettext4.sh: Do not set environment variables
8714 explicitly.
8715 * intl/tst-gettext6.sh: Likewise.
8716 * intl/tst-translit.sh: Likewise.
8717 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8718 $(test-program-prefix-before-env), $(run-program-env) and
8719 $(test-program-prefix-after-env).
8720 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8721 run_program_env and test_program_prefix_after_env arguments.
8722 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8723 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8724 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8725 explicitly with each use of ${test_wrapper_env}.
8726 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8727 $(test-program-prefix-before-env), $(run-program-env) and
8728 $(test-program-prefix-after-env).
8729 * posix/tst-getconf.sh: Do not set environment variables
8730 explicitly.
8731 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8732 run_program_env and test_program_prefix_after_env arguments.
8733 * stdio-common/tst-printf.sh: Do not set environment variables
8734 explicitly.
8735 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8736 $(test-program-prefix-before-env), $(run-program-env) and
8737 $(test-program-prefix-after-env).
8738 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8739 run_program_env and test_program_prefix_after_env arguments.
8740 Split $test calls into $test_pre and $test.
8741 * timezone/Makefile (build-testdata): Use
8742 $(built-program-cmd-before-env), $(run-program-env) and
8743 $(built-program-cmd-after-env).
8744
ed36bfa1
AZ
87452014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8746
8747 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8748 strlen for non SHARED builds.
8749
fc75bf46
SP
87502014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8751
8752 * nptl/allocatestack.c (check_list): Inlined function...
8753 (__reclaim_stacks): ... here.
8754
d89b3d80
OB
87552014-06-05 Ondřej Bílka <neleai@seznam.cz>
8756
8757 [BZ #15698]
8758 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8759 memory overrun.
8760
2bf18041
JM
87612014-06-05 Joseph Myers <joseph@codesourcery.com>
8762
8763 * Rules (make-test-out): Include
8764 LOCPATH=$(common-objpfx)localedata in default environment.
8765 * debug/Makefile (tst-chk1-ENV): Remove variable.
8766 (tst-chk2-ENV): Likewise.
8767 (tst-chk3-ENV): Likewise.
8768 (tst-chk4-ENV): Likewise.
8769 (tst-chk5-ENV): Likewise.
8770 (tst-chk6-ENV): Likewise.
8771 (tst-lfschk1-ENV): Likewise.
8772 (tst-lfschk2-ENV): Likewise.
8773 (tst-lfschk3-ENV): Likewise.
8774 (tst-lfschk4-ENV): Likewise.
8775 (tst-lfschk5-ENV): Likewise.
8776 (tst-lfschk6-ENV): Likewise.
8777 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8778 (tst-iconv7-ENV): Likewise.
8779 * intl/Makefile (LOCPATH-ENV): Likewise.
8780 (tst-codeset-ENV): Likewise.
8781 (tst-gettext3-ENV): Likewise.
8782 (tst-gettext5-ENV): Likewise.
8783 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8784 (tst-fopenloc-ENV): Likewise.
8785 (tst-fgetws-ENV): Remove variable.
8786 (tst-ungetwc1-ENV): Likewise.
8787 (tst-ungetwc2-ENV): Likewise.
8788 (bug-ungetwc2-ENV): Likewise.
8789 (tst-swscanf-ENV): Likewise.
8790 (bug-ftell-ENV): Likewise.
8791 (tst-fgetwc-ENV): Likewise.
8792 (tst-fseek-ENV): Likewise.
8793 (tst-ftell-partial-wide-ENV): Likewise.
8794 (tst-ftell-active-handler-ENV): Likewise.
8795 (tst-ftell-append-ENV): Likewise.
8796 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8797 (tst-regexloc-ENV): Likewise.
8798 (bug-regex1-ENV): Likewise.
8799 (tst-regex-ENV): Likewise.
8800 (tst-regex2-ENV): Likewise.
8801 (bug-regex5-ENV): Likewise.
8802 (bug-regex6-ENV): Likewise.
8803 (bug-regex17-ENV): Likewise.
8804 (bug-regex18-ENV): Likewise.
8805 (bug-regex19-ENV): Likewise.
8806 (bug-regex20-ENV): Likewise.
8807 (bug-regex22-ENV): Likewise.
8808 (bug-regex23-ENV): Likewise.
8809 (bug-regex25-ENV): Likewise.
8810 (bug-regex26-ENV): Likewise.
8811 (bug-regex30-ENV): Likewise.
8812 (bug-regex32-ENV): Likewise.
8813 (bug-regex33-ENV): Likewise.
8814 (bug-regex34-ENV): Likewise.
8815 (bug-regex35-ENV): Likewise.
8816 (tst-rxspencer-ENV): Likewise.
8817 (tst-rxspencer-no-utf8-ENV): Likewise.
8818 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8819 (tst-sscanf-ENV): Likewise.
8820 (tst-swprintf-ENV): Likewise.
8821 (tst-swscanf-ENV): Likewise.
8822 (test-vfprintf-ENV): Likewise.
8823 (scanf13-ENV): Likewise.
8824 (bug14-ENV): Likewise.
8825 (tst-grouping-ENV): Likewise.
8826 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8827 (tst-strtod3-ENV): Likewise.
8828 (tst-strtod4-ENV): Likewise.
8829 (tst-strtod5-ENV): Likewise.
8830 (testmb2-ENV): Likewise./
8831 * string/Makefile (tst-strxfrm-ENV): Likewise.
8832 (tst-strxfrm2-ENV): Likewise.
8833 (bug-strcoll1-ENV): Likewise.
8834 (test-strcasecmp-ENV): Likewise.
8835 (test-strncasecmp-ENV): Likewise.
8836 * time/Makefile (tst-strptime-ENV): Likewise.
8837 (tst-ftime_l-ENV): Likewise.
8838 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8839 (tst-mbrtowc-ENV): Likewise.
8840 (tst-wcrtomb-ENV): Likewise.
8841 (tst-mbrtowc2-ENV): Likewise.
8842 (tst-c16c32-1-ENV): Likewise.
8843 (tst-mbsnrtowcs-ENV): Likewise.
8844
cd1fb604
OB
88452014-06-05 Ondřej Bílka <neleai@seznam.cz>
8846
8847 * manual/resource.texi (How to get information about the memory
8848 subsystem?): Fix typo.
8849 Reported by Peon de la Parra Ivan <peon@keba.com>
8850
b42eca7d
GY
88512014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8852
8853 [BZ #16882]
8854 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8855 (pthread_spin_lock): Branch out of spin loop to proper location.
8856 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8857 (pthread_spin_lock): Likewise.
8858
902b71f9
DM
8859 * nptl/tst-spin4.c: New test.
8860 * nptl/Makefile (tests): Add tst-spin4.
8861
f9d2d032
AS
88622014-06-03 Andreas Schwab <schwab@suse.de>
8863
8864 [BZ #15946]
8865 * resolv/res_send.c (send_dg): Reload file descriptor after
8866 calling reopen.
8867
cf7bfd28
SL
88682014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8869
8870 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8871
111cc714
RH
88722014-06-03 Richard Henderson <rth@redhat.com>
8873
89b4bd6b
RH
8874 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8875 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8876 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8877 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8878 in the SAVE_PID block.
8879 (__libc_vfork): New alias.
71840409 8880 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 8881
111cc714
RH
8882 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8883 child in registers, not on the stack. Remove RESET_PID conditionals.
8884 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8885
ccc39911
MS
88862014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8887
8888 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8889
693096cc
W
88902014-06-03 Wilco <wdijkstr@arm.com>
8891
8892 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8893 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8894 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8895 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8896 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8897 Likewise.
8898
0b4366bc
W
88992014-06-03 Wilco <wdijkstr@arm.com>
8900
8901 * sysdeps/aarch64/fpu/math_private.h
8902 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8903 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8904 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8905 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8906 Fix declarations.
8907
8747cd03
KS
89082014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8909
8910 * crypt/crypt-private.h: Include ufc-crypt.h.
8911 (__b64_from_24bit): Declare extern.
8912 * crypt/crypt_util.c(__b64_from_24bit): New function.
8913 (b64t): New static const variable.
8914 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8915 (b64t): Remove variable.
8916 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8917 * crypt/sha256-crypt.c: Include crypt-private.h.
8918 (b64t): Remove variable.
8919 (__sha256_crypt_r): Remove b64_from_24bit and replace
8920 with __b64_from_24bit.
8921 * crypt/sha512-crypt.c: Likewise.
8922
d936d379
RM
89232014-06-02 Roland McGrath <roland@hack.frob.com>
8924
8925 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8926 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8927 Label the code __libc_vfork rather than __vfork.
8928 [!NOT_IN_libc] (vfork): Define as weak alias.
8929 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8930 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8931 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8932
9fa76613
SP
89332014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8934
8935 * malloc/malloc.c (malloc_info): Fix format specifier for
8936 n_mmaps.
8937
a88dadbe
W
89382014-06-02 Wilco <wdijkstr@arm.com>
8939
8940 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8941 FPCR write.
8942
c95b3011
W
89432014-06-02 Wilco <wdijkstr@arm.com>
8944
8945 [BZ #17009]
8946 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8947 Rewrite to reduce FPCR/FPSR accesses.
8948
6b4d7a90
DM
89492014-06-01 David S. Miller <davem@davemloft.net>
8950
8951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8952
30f3d07c
DM
89532014-05-31 David S. Miller <davem@davemloft.net>
8954
8955 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8956 to occur in round to nearest mode when |x| >= 2.0
8957
74f31c18
RH
89582014-05-30 Richard Henderson <rth@twiddle.net>
8959
f0712b54
RH
8960 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8961 (PSEUDO_RET_NOERRNO): Remove.
8962 (ret): Don't redefine.
8963 (ret_NOERRNO): Define in terms of ret.
8964 (ret_ERRVAL): Likewise.
8965
74f31c18
RH
8966 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8967 use of PSEUDO_RET; perform the error check directly.
8968
30477995
MM
89692014-05-30 Marko Myllynen <myllynen@redhat.com>
8970
8971 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8972 with __int128_t.
8973
62a58816
SP
89742014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8975
8976 * malloc/malloc (malloc_info): Fix formatting.
8977
4d653a59
SP
89782014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8979 Roland McGrath <roland@hack.frob.com>
8980
8981 * malloc/malloc (malloc_info): Also print mmapped statistics.
8982
5190c17f
RM
89832014-05-30 Roland McGrath <roland@hack.frob.com>
8984
8985 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8986 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8987
987c0269
OB
89882014-05-30 Ondřej Bílka <neleai@seznam.cz>
8989
8990 * malloc/malloc.c (malloc_info): Inline mi_arena.
8991
af4e8ef9
RH
89922014-05-29 Richard Henderson <rth@twiddle.net>
8993
1670e207
RH
8994 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8995 Remove comma before expanding ASM_ARGS_##nr.
8996 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8997 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8998 of ASM_ARGS_##nr.
8999 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9000 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9001 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9002 (ASM_ARGS_1): Add leading comma.
9003
11a28aee
RH
9004 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9005 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9006 to __errno_location.
9007 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9008 Remove the expected plt for __errno_location.
9009
a17e5ffb 9010 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 9011 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
9012 call to __read_tp.
9013
b5be4597
RH
9014 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9015 Always allocate 64 bytes of stack frame. Use ldp/stp to create
9016 it and break it down.
9017 (DOCARGS_0, DOCARGS_1): Do nothing.
9018 (DOCARGS_2): Update to store into the new stack frame.
9019 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9020 (UNDOCARGS_1): Update to restore from the new stack frame.
9021 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9022 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9023
645d44ab
RH
9024 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9025 (SINGLE_THREAD_P): New parameter for result regno.
9026 (PSEUDO): Update to match; use cbz instead of beq.
9027
a8b4f04a
RH
9028 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9029 Use ENTRY to define the _nocancel entry point. Share the syscall
9030 and syscall error check paths with the cancel path.
9031 (PSEUDO_END): New.
9032
af4e8ef9
RH
9033 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9034 whitespace; tabs before and after asm mnemonics.
9035
26b0d2e1
EW
90362014-05-29 Eric Wong <normalperson@yhbt.net>
9037
9038 [BZ #15132]
9039 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9040 Call fstat64 or stat64 internally, depending on arguments passed.
9041 Replace stat buffer argument with file descriptor argument.
9042 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9043 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9044 Pass fd to __internal_statvfs instead of calling fstat64.
9045 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9046 Pass fd to __internal_statvfs64 instead of calling fstat64.
9047 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9048 Pass -1 to __internal_statvfs instead of calling stat64.
9049 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9050 Pass -1 to __internal_statvfs64 instead of calling stat64.
9051
1efe2bd9
RM
90522014-05-28 Roland McGrath <roland@hack.frob.com>
9053
0d3b7a19
RM
9054 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9055 that was previously under [RESET_PID].
9056 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9057
1efe2bd9
RM
9058 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9059 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9060
a6bea3ca
RM
90612014-05-27 Roland McGrath <roland@hack.frob.com>
9062
30b6629e
RM
9063 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9064
a6bea3ca
RM
9065 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9066 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9067
3dfb9a5c
OB
90682014-05-27 Ondřej Bílka <neleai@seznam.cz>
9069
9070 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9071
774f9285
AS
90722014-05-27 Andreas Schwab <schwab@suse.de>
9073
9074 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9075 TLS_INIT_TP macro.
9076 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9077 * elf/rtld.c (init_tls, dl_main): Likewise.
9078 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9079 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9080 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9081 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9082 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9083 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9084 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9085 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9086 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9087 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9088 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9089 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9090 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9091 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9092 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9093 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9094 * sysdeps/generic/tls.h: Update description.
9095
36ffe739
WN
90962014-05-27 Will Newton <will.newton@linaro.org>
9097
9098 [BZ #16990]
9099 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9100 and restore r2 rather than just restoring.
9101
2482ae43
SP
91022014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9103
9104 [BZ #16724]
9105 * libio/tst-ftell-append.c: New test case.
9106 * libio/Makefile (tests): Add test case.
9107 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9108 append mode.
9109 * libio/wfileops.c (do_ftell_wide): Likewise.
9110
3d1024e8
AZ
91112014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9112
bab90016
AZ
9113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9114
c7a8d667
AZ
9115 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9116 ...
9117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9119 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9120 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9121 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9122 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9123 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9124 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9125 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9126 Moved ...
9127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9128 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9129 Moved ...
9130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9131 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9132 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9133 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9134 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9135 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9136 ...
9137 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9138 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9139 Moved ...
9140 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9141 here.
9142 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9143 ...
9144 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9145 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9146 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9147
daee7851
AZ
9148 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9149 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9150 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9151 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9152
50a40819
AZ
9153 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9154 merge into ...
9155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9156 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9157 ...
9158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9159 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9160 ...
9161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9162 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9163 Moved ...
9164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9165 here.
9166 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9167 Moved ...
9168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9169 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9170 Moved ...
9171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9172
8464c2a1
AZ
9173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9174 conditional [RESET_PID].
9175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9176 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9177 removed.
9178 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9179 removed.
9180
3d1024e8
AZ
9181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9182 <tcb-offsets.h>.
9183 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9184 (__libc_vfork): New strong alias.
9185 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9186 removed.
9187 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9188 Removed.
9189
9190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9191 <tcb-offsets.h>.
9192 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9193 (__libc_vfork): New strong alias.
9194 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9195 removed.
9196 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9197 removed.
9198
fdfd175d
CD
91992014-05-26 Carlos O'Donell <carlos@redhat.com>
9200
9201 * malloc/malloc.c (mi_arena): New function.
9202 (malloc_info): Remove nested function mi_arena. Call non-nosted
9203 function mi_arena.
9204
d298c416
AZ
92052014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9206
9207 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9208 by insrwi.
9209 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9210 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9211 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9212 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9213 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9214 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9215 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9216
b60ea6ff
AS
92172014-05-26 Andreas Schwab <schwab@suse.de>
9218
9219 [BZ #16984]
9220 * locale/programs/repertoire.c (repertoire_read): Add slash
9221 between I18NPATH element and file name.
9222 * locale/programs/locfile.c (locfile_read): Likewise.
9223
67365926
SL
92242014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9225
9226 * nptl/pthread_mutexattr_settype.c
9227 (__pthread_mutexattr_settype):
9228 Disable lock elision for PTHREAD_MUTEX_NORMAL.
9229
f8bdf1f0
SL
92302014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9231
9232 * nptl/tst-mutex5 (do_test):
9233 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9234
15eaf6ff
SP
92352014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9236
9237 * benchtests/README: Document 'init' directive.
9238 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9239 BENCH_INIT.
9240 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9241 (parse_file): Recognize 'init' directive.
9242
75f11331
KM
92432014-05-26 Kyle McMartin <kyle@redhat.com>
9244
9245 [BZ #16796]
9246 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9247 alignment of struct pthread.
9248
c3ec475c
SP
92492014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9250
9251 [BZ #16878]
9252 * nscd/netgroupcache.c (addgetnetgrentX): Look for
9253 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9254 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9255 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9256
82aab97c
RH
92572014-05-25 Richard Henderson <rth@twiddle.net>
9258
aa2f176d
RH
9259 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9260 (SINGLE_THREAD_P_PIC): Remove.
9261 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9262 (SINGLE_THREAD_P_PIC): Remove.
9263
ca3cfa40
RH
9264 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9265 branch to syscall error ...
9266 (PSEUDO): ... here.
9267 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9268 from __local_syscall_error to .Lsyscall_error.
9269 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9270 (SYSCALL_ERROR): Update label name.
9271
6e6c2d01
RH
9272 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9273 Do not use DOARGS/UNDOARGS.
9274 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9275 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9276 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9277 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9278 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9279
c69abcee
RH
9280 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9281 block comment.
9282
82aab97c
RH
9283 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9284 define if !NOT_IN_libc.
9285 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9286 define with non-default symbol versions.
9287
8820e3ac
RH
92882014-05-23 Richard Henderson <rth@twiddle.net>
9289
900e445f
RH
9290 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9291 (vfork, __vfork): Define via compat_symbol.
9292
8820e3ac
RH
9293 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9294 [!HAVE_IFUNC] (vfork_compat): Remove.
9295 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9296
e59252a5
JM
92972014-05-23 Joseph Myers <joseph@codesourcery.com>
9298
9299 [BZ #16978]
9300 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9301 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9302 variable.
9303
132c7f5f
RH
93042014-05-23 Richard Henderson <rth@twiddle.net>
9305
bc89e962
RH
9306 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9307 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9308 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9309 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9310
9311 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9312 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9313 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9314 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9315 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9316 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9317 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9318 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9319 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9320 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9321 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9322 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9323 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9324 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9325 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9326 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9327 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9328 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9329 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9330 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9331 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9332 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9333 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9334 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9335 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9336 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9337 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9338 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9339 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9340 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9341 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9342 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9343 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9344 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9345 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9346 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9347 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9348 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9349 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9350 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9351 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9352 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9353 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9354 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9355 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9356 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9357 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9358 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9359 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9360 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9361 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9362 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9363 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9364 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9365 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9366 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9367
e2fa4bc2
RH
9368 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9369 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9370 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
9371 before exiting on error.
9372 (__libc_vfork): New strong alias.
9373 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9374 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9375
279b24e2
RH
9376 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9377 that was previously under [RESET_PID].
9378 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9379
132c7f5f
RH
9380 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9381
b72592e7
JM
93822014-05-23 Joseph Myers <joseph@codesourcery.com>
9383
9384 [BZ #16977]
9385 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9386 value when x - 1 is zero.
9387 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9388 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9389 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9390 0.0L for an argument of 1.0L.
9391 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9392 Likewise.
9393 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9394 value when x - 1 is zero.
9395 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9396 * sysdeps/i386/fpu/libm-test-ulps: Update.
9397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9398
2302d679
RV
93992014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9400
9401 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9402 alphasort and versionsort.
9403
32999d63
AZ
94042014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9405
9406 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9407 macro.
9408 [copysignf]: Likewise.
9409
019324d0
SP
94102014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9411
9412 * crypt/md5-crypt.c: Fix formatting.
9413
34fff5c2
KS
94142014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9415
9416 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9417 (b64_from_24bit): New function.
9418
3d2badac
AZ
94192014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9420
9421 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9422 libc_hidden_builtin_def to ifunc.
9423 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9424 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9425
f7bb179f 94262014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
9427
9428 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9429 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9430
4134b50d
JM
94312014-05-21 Joseph Myers <joseph@codesourcery.com>
9432
bb7d0337
JM
9433 * nscd/Depend (linuxthreads): Remove.
9434 (nptl): Add.
9435 * resolv/Depend (linuxthreads): Remove.
9436 * rt/Depend (linuxthreads): Remove.
9437
4134b50d
JM
9438 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9439 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9440 $(common-objpfx)elf/.
9441 (link-libc-before-gnulib): Likewise.
9442 (elfobjdir): Remove variable.
9443 * Makefile (install): Use $(elf-objpfx) instead of
9444 $(common-objpfx)elf/.
9445 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9446 $(elfobjdir)/.
9447 (link-libc-deps): Likewise.
9448 ($(common-objpfx)libc.so): Likewise.
9449 ($(common-objpfx)linkobj/libc.so): Likewise.
9450 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9451 instead of $(common-objpfx)elf/.
9452 (symbolic-link-list): Likewise.
9453 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9454 [$(cross-compiling) = no]: Likewise.
9455 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9456 $(elfobjdir)/.
9457 (static-gnulib-arch): Likewise.
9458 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9459 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9460 $(common-objpfx)elf/.
9461
3612eb8f
RH
94622014-05-21 Richard Henderson <rth@redhat.com>
9463
a6b3657b
RH
9464 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9465 (SINGLE_THREAD_P): Use the correct width load. Fold
9466 into the ldr offset.
9467
3612eb8f
RH
9468 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9469 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9470
175cef41
JM
94712014-05-20 Joseph Myers <joseph@codesourcery.com>
9472
9473 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9474 (libgcc_s_resume): Use __attribute_used__.
9475 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9476 Likewise.
9477
e13bccd3
AZ
94782014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9479
9480 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9481 optimization when used with float constants.
9482
7c112a38
AZ
9483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9484
ae75a883
AJ
94852014-05-20 Aurelien Jarno <aurelien@aurel32.net>
9486
9487 [BZ #16915]
9488 * locale/nl_langinfo_l.c: Make direct reference to every
9489 _nl_current_CATEGORY symbol.
9490 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9491 (tests-static): Add tst-langinfo-static.
9492 (tests-special): Add tst-langinfo-static.out.
9493 ($(objpfx)tst-langinfo.out): Redirect output.
9494 ($(objpfx)tst-langinfo-static.out): New.
9495 * localedata/tst-langinfo.sh: Send output to stdout.
9496 * localedata/tst-langinfo-static.c: New file.
9497
4406c41c
AJ
9498 [BZ #16965]
9499 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9500 when the shift amount is modulo the limb size.
9501
4c0a1e63
RH
95022014-05-20 Richard Henderson <rth@redhat.com>
9503
de9d8f20
RH
9504 [BZ #16967]
9505 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9506 Change type of sa_flags from unsigned int to int.
9507
4c0a1e63
RH
9508 [BZ #16966]
9509 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
9510
9511 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9512
a60339aa
WN
95132014-05-20 Will Newton <will.newton@linaro.org>
9514
9515 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9516 Test the return value of the system call in the nocancel case.
9517
7d05a816
YR
95182014-05-20 Will Newton <will.newton@linaro.org>
9519 Yvan Roux <yvan.roux@linaro.org>
9520
9521 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9522 #include of asm/ptrace.h.
9523 (PTRACE_GET_THREAD_AREA): Remove #undef.
9524 (PTRACE_GETHBPREGS): Likewise.
9525 (PTRACE_SETHBPREGS): Likewise.
9526 (struct user_regs_struct): New structure.
9527 (struct user_fpsimd_struct): New structure.
9528 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9529 #include of asm/ptrace.h and second #include of sys/user.h.
9530 (PTRACE_GET_THREAD_AREA): Remove #undef.
9531 (PTRACE_GETHBPREGS): Likewise.
9532 (PTRACE_SETHBPREGS): Likewise.
9533 (ELF_NGREG): Use new struct user_regs_struct.
9534 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9535
af121e37
AZ
95362014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9537
9538 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9539 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9540
834caf06
JM
95412014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9542
9543 [BZ #16958]
9544 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9545 membar to avoid block loads/stores to overlap previous stores.
9546
e184a918
RH
95472014-05-17 Richard Henderson <rth@redhat.com>
9548
9549 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9550 Create the __##syscall_name##_nocancel entry point.
9551 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9552 Remove; let the sysdep-cancel.h code create it.
9553
f56c7a6a
DM
95542014-05-17 David S. Miller <davem@davemloft.net>
9555
9556 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9557 Protect with __USE_GNU.
9558 (TIOCSET_TEMPT): Likewise.
9559 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9560 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9561 these are already provided in bits/ioctl-types.h
9562
f75616b2
RM
95632014-05-16 Roland McGrath <roland@hack.frob.com>
9564
3edeca86
RM
9565 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9566 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9567
f75616b2
RM
9568 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9569 Use wait4 regardless of [__NR_waitpid].
9570
deb0f7f6
MR
95712014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9572
9573 PR libgcc/60166
9574 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9575 (_FP_NANSIGN_Q): Set the quiet bit.
9576
79520f4b
JM
95772014-05-16 Joseph Myers <joseph@codesourcery.com>
9578
9579 * benchtests/Makefile
9580 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9581 not $(common-objpfx)math/libm.so.
9582 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9583 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9584 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9585 $(common-objpfx)dlfcn/libdl.so.
9586 ($(objpfx)tst-audit8): Depend on $(libm), not
9587 $(common-objpfx)math/libm.so.
9588 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9589 not $(common-objpfx)dlfcn/libdl.so.
9590 * math/Makefile
9591 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9592 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9593 [$(build-shared) = yes].
9594 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9595 $(common-objpfx)nptl/libpthread.so.
9596 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9597 $(common-objpfx)math/libm.so$(libm.so-version) or
9598 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9599 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9600 $(common-objpfx)dlfcn/libdl.so.
9601 * setjmp/Makefile (link-libm): Remove variable.
9602 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9603 * stdio-common/Makefile (link-libm): Remove variable.
9604 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9605 * stdlib/Makefile (link-libm): Remove variable.
9606 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9607 ($(objpfx)tst-strtod-round): Likewise.
9608 ($(objpfx)tst-tininess): Likewise.
9609 ($(objpfx)tst-strtod-underflow): Likewise.
9610 ($(objpfx)tst-strtod6): Likewise.
9611 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9612 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9613 $(common-objpfx)dlfcn/libdl.so.
9614
026b0fe4
AZ
96152014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9616
9617 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9618 BSD terminal modes definitions.
9619
def4bcb2
RM
96202014-05-16 Roland McGrath <roland@hack.frob.com>
9621
fe39b021
RM
9622 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9623 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9624
1d1fc46e 9625 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
9626 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9627 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9628 Don't do #include_next.
9629 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9630 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9631 Don't do #include_next.
9632 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9633 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9634 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9635 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9636
c72399fb
AM
96372014-05-16 Allan McRae <allan@archlinux.org>
9638
d51d659d
AM
9639 * po/sv.po: Update Swedish translation from translation project.
9640
c72399fb
AM
9641 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9642 in sed expression.
9643
d0583c40
AJ
96442014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9645
9646 [BZ #16917]
9647 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9648 errno if the TIOCGPTN ioctl fails with an error different than
9649 EINVAL.
9650 * login/tst-ptsname.c: New file.
9651 * login/Makefile (tests): Add tst-ptsname.
9652
d16e6ec7
AJ
9653 [BZ #16943]
9654 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9655 and prlimit64.
9656
cf26a0cb
SP
96572014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9658
9659 [BZ #16849]
9660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9661 herrno to return EAI_AGAIN.
9662
5675da1e
RM
96632014-05-14 Roland McGrath <roland@hack.frob.com>
9664
a5d87b3d
RM
9665 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9666 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9667 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9668 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9669 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9670 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9671 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9672 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9673 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9674 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9675 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9676 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9677 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9678 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9679 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9680 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9681 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9682 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9683 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9684 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9685 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9686 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9687 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9688 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9689 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9690 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9691 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9692 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9693 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9694 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9696 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9698 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9700 Moved ...
9701 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9703 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9705 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9707 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9709 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9711 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9713 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9715 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9717 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9719 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9721 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9723 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9725 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9727 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9729 Moved ...
9730 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9732 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9734 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9736 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9738 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9740 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9742 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9744 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9746 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9748 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9750 Moved ...
9751 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9753 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9754
039890a6
RM
9755 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9756 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9757 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9758 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9759 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9760 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9761 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9762 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9763 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9764 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9765 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9766 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9767 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9768 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9769 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9770 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9771 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9772 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9773 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9774 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9775 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9776 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9777 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9778 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9779 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9780 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9781 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9782 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9783 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9784 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9785 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9786
65c89320
RM
9787 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9788 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9789
348f8e8c
RM
9790 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9791 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9792 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9793 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9794 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9795 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9796 Moved ...
9797 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9798 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9799 Moved ...
9800 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9801 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9802 Moved ...
9803 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9804 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9805 Moved ...
9806 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9807 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9808 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9809 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9810 Moved ...
9811 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9812 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9813 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9814 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9815 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9816 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9817 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9818 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9819 Moved ...
9820 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9821 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9822 Moved ...
9823 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9824 ... here.
9825 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9826 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9827 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9828 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9829 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9830 Moved ...
9831 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9832 ... here.
9833 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9834 Moved ...
9835 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9836 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9837 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9838 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9839 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9840 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9841 Moved ...
9842 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9843 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9844 Moved ...
9845 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9846 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9847 Moved ...
9848 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9849 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9850 Moved ...
9851 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9852 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9853 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9854 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9855 Moved ...
9856 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9857 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9858 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9859 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9860 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9861 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9862 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9863 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9864 Moved ...
9865 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9866 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9867 Moved ...
9868 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9869 ... here.
9870 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9871 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9872 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9873 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9874 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9875 Moved ...
9876 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9877 ... here.
9878 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9879 Moved ...
9880 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9881 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9882 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9883 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9884 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9885 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9886 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9887 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9888 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9889 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9890 Moved ...
9891 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9892 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9893 Moved ...
9894 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9895 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9896 Moved ...
9897 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9898 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9899 Moved ...
9900 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9901 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9902 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9903 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9904 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9905 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9906 Moved ...
9907 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9908 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9909 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9910 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9911 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9912 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9913 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9914 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9915 Moved ...
9916 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9917 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9918 Moved ...
9919 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9920 ... here.
9921 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9922 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9923 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9924 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9925 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9926 Moved ...
9927 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9928 ... here.
9929 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9930 Moved ...
9931 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9932 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9933 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9934 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9935 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9936 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9937 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9938 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9939 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9940 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9941 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9942
5085af05
RM
9943 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9944 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9945
708f0813
RM
9946 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9947 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9948
c96067bc
RM
9949 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9950 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9951 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9952 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9953 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9954 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9955 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9956 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9957 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9958 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9959 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9960 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9961 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9962 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9963 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9964 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9965 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9966 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9967 Moved ...
9968 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9969 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9970 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9971 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9972 Moved ...
9973 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9974 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9975 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9976 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9977 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9978 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9979 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9980 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9981 Moved ...
9982 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9983 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9984 Moved ...
9985 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9986 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9987 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9988 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9989 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9990 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9991 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9992 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9993 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9994 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9995 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9996 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9997 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9998 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9999 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10000 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10001 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10002
ec136444
RM
10003 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10004 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10005 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10006 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10007 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10008
2fbdf533
RM
10009 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10010 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10011 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10012 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10013 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10014 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10015 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10016 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10017 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10018 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10019
4c68138b
RM
10020 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10021 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10022
4eaae765
RM
10023 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10024 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
10025 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10026 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10027 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10028 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10029 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10030 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10031 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10032 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10033 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10034 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10035 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10036 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10037 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10038 Update #include.
10039 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10040 Likewise.
10041 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10042 Likewise.
10043 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10044 Likewise.
10045 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10046 Likewise.
10047 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10048 Likewise.
10049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10050 Likewise.
10051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10052 Likewise.
10053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10054 Likewise.
10055 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10056 Likewise.
4ef6befa
RM
10057 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10058 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10059 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10060 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10061 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
10062 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10063 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10064 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10065 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10066 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10067 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10068 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10069 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10070 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
10071 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 10072
941d7dfd
RM
10073 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10074 that was previously under [RESET_PID].
10075 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10076 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10077 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10078
1b731c35
RM
10079 * sysdeps/i386/nptl/Implies: New file.
10080 * sysdeps/x86_64/nptl/Implies: New file.
10081 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10082 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10083 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10084 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10085
e2787137
RM
10086 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10087 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10088 (__libc_vfork): New strong alias.
10089 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10090 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10091
10092 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10093 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10094 (__libc_vfork): New strong alias.
10095 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10096 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10097
5675da1e
RM
10098 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10099 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10100 (__libc_vfork): New strong alias.
10101 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10102 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10103 * nptl/pt-vfork.c: New file.
10104 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10105 (libpthread: GLIBC_2.20): New version set (empty).
10106
4f02e2b8
WN
101072014-05-14 Will Newton <will.newton@linaro.org>
10108
10109 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10110 rather than #if.
10111
0bf061d3
JM
101122014-05-14 Joseph Myers <joseph@codesourcery.com>
10113
1a84c3d6
JM
10114 [BZ #16564]
10115 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10116 arguments with exponent 65 or above.
10117 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10118 arguments 0x1p113L or above.
10119 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10120 to arguments 0x1p107L or above.
10121 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10122 positive arguments with exponent 65 or above.
10123 * math/auto-libm-test-in: Add more tests of log1p.
10124 * math/auto-libm-test-out: Regenerated.
10125
01dbacd2
JM
10126 [BZ #16928]
10127 * math/s_cacos.c (__cacos): Ensure zero real part of result from
10128 non-finite arguments is +0.
10129 * math/s_cacosf.c (__cacosf): Likewise.
10130 * math/s_cacosl.c (__cacosl): Likewise.
10131 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10132 * sysdeps/i386/fpu/libm-test-ulps: Update.
10133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10134
913d03c8
JM
10135 [BZ #16927]
10136 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10137 value.
10138 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10139 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10140 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10141 for explicit high bit of mantissa when testing for argument equal
10142 to 1.
10143 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10144 * sysdeps/i386/fpu/libm-test-ulps: Update.
10145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10146
0bf061d3
JM
10147 [BZ #16516]
10148 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10149 (__erf): Scale by 16 instead of 8 in potentially underflowing
10150 case. Ensure exception if result actually underflows.
10151 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10152 (__erff): Scale by 16 instead of 8 in potentially underflowing
10153 case. Ensure exception if result actually underflows.
10154 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10155 (efx8): Remove variable.
10156 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10157 case. Ensure exception if result actually underflows.
10158 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10159 (efx8): Remove variable.
10160 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10161 case. Ensure exception if result actually underflows.
10162 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10163 (efx8): Remove variable.
10164 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10165 case. Ensure exception if result actually underflows.
10166 * math/auto-libm-test-in: Add more tests of erf.
10167 * math/auto-libm-test-out: Regenerated.
10168
73ba67cb
AS
101692014-05-14 Andreas Schwab <schwab@suse.de>
10170
3d8c8bff
AS
10171 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10172 Remove code conditionalized on USE___THREAD.
10173
73ba67cb
AS
10174 * config.h.in (HAVE_PT_CHOWN): Define as 0.
10175 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10176 not definedness.
10177
5c521ecd
JM
101782014-05-14 Joseph Myers <joseph@codesourcery.com>
10179
5e7698c6
JM
10180 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10181 Define unconditionally.
10182 (__ASSUME_O_CLOEXEC): Likewise.
10183 (__ASSUME_SOCK_CLOEXEC): Likewise.
10184 (__ASSUME_IN_NONBLOCK): Likewise.
10185 (__ASSUME_PIPE2): Likewise.
10186 (__ASSUME_EVENTFD2): Likewise.
10187 (__ASSUME_SIGNALFD4): Likewise.
10188 (__ASSUME_DUP3): Likewise.
10189 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10190 (__ASSUME_DUP3): Do not define.
10191 (__ASSUME_EVENTFD2): Likewise.
10192 (__ASSUME_IN_NONBLOCK): Likewise.
10193 (__ASSUME_O_CLOEXEC): Likewise.
10194 (__ASSUME_PIPE2): Likewise.
10195 (__ASSUME_SIGNALFD4): Likewise.
10196 (__ASSUME_SOCK_CLOEXEC): Likewise.
10197 (__ASSUME_UTIMES): Undefine.
10198 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10199 (__ASSUME_UTIMES): Do not define.
10200 (__ASSUME_O_CLOEXEC): Likewise.
10201 (__ASSUME_SOCK_CLOEXEC): Likewise.
10202 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10203 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10204 0x020621].
10205 (__ASSUME_PIPE2): Likewise.
10206 (__ASSUME_EVENTFD2): Likewise.
10207 (__ASSUME_SIGNALFD4): Likewise.
10208 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10209 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10210 Do not define.
10211 (__ASSUME_EVENTFD2): Likewise.
10212 (__ASSUME_SIGNALFD4): Likewise.
10213 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10214 (__ASSUME_32BITUIDS): Likewise.
10215 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10216 (__ASSUME_IPC64): Likewise.
10217 (__ASSUME_ST_INO_64_BIT): Likewise.
10218 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10219 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10220 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10221 (__ASSUME_UTIMES): Do not define.
10222 (__ASSUME_PSELECT): Likewise.
10223 (__ASSUME_PPOLL): Likewise.
10224 (__ASSUME_O_CLOEXEC): Likewise.
10225 (__ASSUME_SOCK_CLOEXEC): Likewise.
10226 (__ASSUME_IN_NONBLOCK): Likewise.
10227 (__ASSUME_PIPE2): Likewise.
10228 (__ASSUME_EVENTFD2): Likewise.
10229 (__ASSUME_SIGNALFD4): Likewise.
10230 (__ASSUME_DUP3): Likewise.
10231 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10232 (__ASSUME_UTIMES): Likewise.
10233 (__ASSUME_O_CLOEXEC): Likewise.
10234 (__ASSUME_SOCK_CLOEXEC): Likewise.
10235 (__ASSUME_IN_NONBLOCK): Likewise.
10236 (__ASSUME_PIPE2): Likewise.
10237 (__ASSUME_EVENTFD2): Likewise.
10238 (__ASSUME_SIGNALFD4): Likewise.
10239 (__ASSUME_DUP3): Likewise.
10240 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10241 (__ASSUME_UTIMES): Likewise.
10242 (__ASSUME_O_CLOEXEC): Likewise.
10243 (__ASSUME_SOCK_CLOEXEC): Likewise.
10244 (__ASSUME_IN_NONBLOCK): Likewise.
10245 (__ASSUME_PIPE2): Likewise.
10246 (__ASSUME_EVENTFD2): Likewise.
10247 (__ASSUME_SIGNALFD4): Likewise.
10248 (__ASSUME_DUP3): Likewise.
10249 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10250 Likewise.
10251 (__ASSUME_UTIMES): Likewise.
10252 (__ASSUME_EVENTFD2): Likewise.
10253 (__ASSUME_SIGNALFD4): Likewise.
10254 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10255 (__ASSUME_O_CLOEXEC): Likewise.
10256 (__ASSUME_SOCK_CLOEXEC): Likewise.
10257 (__ASSUME_IN_NONBLOCK): Likewise.
10258 (__ASSUME_PIPE2): Likewise.
10259 (__ASSUME_EVENTFD2): Likewise.
10260 (__ASSUME_SIGNALFD4): Likewise.
10261 (__ASSUME_DUP3): Likewise.
10262 (__ASSUME_UTIMES): Undefine.
10263
5c521ecd
JM
10264 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10265 feclearexcept. Remove symbol versioning code.
10266 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
10267 symbol versioning code.
10268 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
10269 symbol versioning code.
10270 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10271 feupdateenv. Remove symbol versioning code.
10272 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10273 fegetexceptflag. Remove symbol versioning code.
10274 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10275 fesetexceptflag. Remove symbol versioning code.
10276 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10277 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
10278 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10279 (__posix_fadvise64_l32): Remove prototype.
10280 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10281 code.
10282
5da9dfad
RM
102832014-05-13 Roland McGrath <roland@hack.frob.com>
10284
10285 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10286 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10287 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10288 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10289
893b4f37
SK
102902014-05-13 Sami Kerola <kerolasa@iki.fi>
10291
10292 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10293 current working directory
10294
e0db6517
RM
102952014-05-13 Roland McGrath <roland@hack.frob.com>
10296
58aa195d
RM
10297 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10298 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10299 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10300 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10301 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10302 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10303 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10304 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10305 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10306 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10307 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10308 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10309 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10310 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10311 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10312 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10313 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10314 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10315 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10316 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10317 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10318 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10319 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10320 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10321 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10322 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10323 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10324 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10325 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10326 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10327 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10328 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10329 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10330 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10331 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10332 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10333 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10334 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10335 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10336 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10337 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10338 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10339
8c6d01f0
RM
10340 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10341 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10342
10343 * sysdeps/unix/sysv/linux/arm/Makefile
10344 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10345 Add rt-aeabi_unwind_cpp_pr1.
10346 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10347 Add nptl-aeabi_unwind_cpp_pr1.
10348 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10349 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10350 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10351 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10352 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10353 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10354
10355 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10356 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10357 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10358 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10359
bba6da4e
RM
10360 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10361 Deconditionalize the code that was previously under [RESET_PID].
10362 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10363
e0db6517
RM
10364 * sysdeps/generic/exit-thread.h: New file.
10365 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10366 * include/unistd.h (__exit_thread): Remove declaration.
10367 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10368 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10369 * csu/libc-start.c: Include <exit-thread.h>.
10370 (LIBC_START_MAIN): Pass no argument to __exit_thread.
10371 * nptl/pthread_create.c: Include <exit-thread.h>.
10372 (start_thread): Call __exit_thread in place of __exit_thread_inline.
10373 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10374 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10375 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10376 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10377 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10378 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10379 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10380 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10381 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10382 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10383 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10384 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10385 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10386 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10387 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10388 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10389
01eb16fd
AS
103902014-05-13 Andreas Schwab <schwab@suse.de>
10391
10392 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10393
637461d9
JM
103942014-05-12 Joseph Myers <joseph@codesourcery.com>
10395
10396 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10397 (__ASSUME_UTIMES): Do not condition on kernel version.
10398 (__ASSUME_PSELECT): Define unconditionally.
10399 (__ASSUME_PPOLL): Likewise.
10400 (__ASSUME_ATFCTS): Likewise.
10401 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10402 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10403 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10404 (__ASSUME_UTIMENSAT): Define unconditionally.
10405 (__ASSUME_PRIVATE_FUTEX): Likewise.
10406 (__ASSUME_FALLOCATE): Likewise.
10407 (__ASSUME_O_CLOEXEC): Likewise.
10408 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10409 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10410 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10411 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10412 (__ASSUME_IN_NONBLOCK): Likewise.
10413 (__ASSUME_PIPE2): Likewise.
10414 (__ASSUME_EVENTFD2): Likewise.
10415 (__ASSUME_SIGNALFD4): Likewise.
10416 (__ASSUME_DUP3): Likewise.
10417 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10418 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10419 (__ASSUME_AT_RANDOM): Likewise.
10420 (__ASSUME_PREADV): Likewise.
10421 (__ASSUME_PWRITEV): Likewise.
10422 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10423 (__ASSUME_F_GETOWN_EX): Define unconditionally.
10424 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10425 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10426 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10427 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10428 (__ASSUME_O_CLOEXEC): Define unconditionally.
10429 (__ASSUME_PSELECT): Do not undefine conditionally.
10430 (__ASSUME_PPOLL): Likewise.
10431 (__ASSUME_ATFCTS): Likewise.
10432 (__ASSUME_SET_ROBUST_LIST): Likewise.
10433 (__ASSUME_UTIMENSAT): Likewise.
10434 (__ASSUME_FDATASYNC): Define unconditionally.
10435 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10436 (__ASSUME_SIGFRAME_V2): Likewise.
10437 )__ASSUME_EVENTFD2): Likewise.
10438 (__ASSUME_SIGNALFD4): Likewise.
10439 (__ASSUME_PSELECT): Do not undefine conditionally.
10440 (__ASSUME_PPOLL): Likewise.
10441 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10442 (__ASSUME_PSELECT): Define unconditionally.
10443 (__ASSUME_PPOLL): Likewise.
10444 (__ASSUME_O_CLOEXEC): Likewise.
10445 (__ASSUME_SOCK_CLOEXEC): Likewise.
10446 (__ASSUME_IN_NONBLOCK): Likewise.
10447 (__ASSUME_PIPE2): Likewise.
10448 (__ASSUME_EVENTFD2): Likewise.
10449 (__ASSUME_SIGNALFD4): Likewise.
10450 (__ASSUME_DUP3): Likewise.
10451 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10452 (__ASSUME_O_CLOEXEC): Likewise.
10453 (__ASSUME_SOCK_CLOEXEC): Likewise.
10454 (__ASSUME_IN_NONBLOCK): Likewise.
10455 (__ASSUME_PIPE2): Likewise.
10456 (__ASSUME_EVENTFD2): Likewise.
10457 (__ASSUME_SIGNALFD4): Likewise.
10458 (__ASSUME_DUP3): Likewise.
10459 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10460 (__ASSUME_EVENTFD2): Likewise.
10461 (__ASSUME_SIGNALFD4): Likewise.
10462 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10463
315eb1d8
AS
104642014-05-12 Andreas Schwab <schwab@suse.de>
10465
10466 [BZ #16932]
10467 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10468 (_nss_nis_gethostbyname4_r): Return error if item length is larger
10469 than maximum RPC packet size.
10470 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10471 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10472 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10473 (_nss_nis_getservbyport_r): Likewise.
10474
91df99f7
WN
104752014-05-12 Will Newton <will.newton@linaro.org>
10476
10477 * malloc/Makefile (tests): Add tst-mallopt.
10478 * malloc/tst-mallopt.c: New file.
10479
0a982a29
RM
104802014-05-09 Roland McGrath <roland@hack.frob.com>
10481
10482 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10483 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10484
0ded08a5
AZ
104852014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10486
10487 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10488 (tst-tlsmod6.so): Likewise.
10489
55d4d550
RM
104902014-05-09 Roland McGrath <roland@hack.frob.com>
10491
10492 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10493
77d08aca
JM
104942014-05-09 Joseph Myers <joseph@codesourcery.com>
10495
10496 [BZ #16064]
10497 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10498 and <dl-procinfo.h>.
10499 (__fegetenv): Save SSE state in envp->__eip if supported.
10500 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10501 envp->__eip if supported.
10502 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10503 and <dl-procinfo.h>.
10504 (__fesetenv): Always set __eip, __cs_selector, __opcode,
10505 __data_offset and __data_selector in environment to 0. Set SSE
10506 state if supported.
10507 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10508 test-fenv-sse.
10509 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10510 -mfpmath=sse.
10511 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10512
28162f4d
WN
105132014-05-09 Will Newton <will.newton@linaro.org>
10514
10515 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10516 and libc_relro_required for ARM.
10517 * sysdeps/arm/preconfigure: Regenerate.
10518
5a414ff7
DV
105192014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10520 Stefan Liebler <stli@linux.vnet.ibm.com>
10521
10522 * config.make.in (enable-lock-elision): New Makefile variable.
10523 * configure.ac: Likewise.
10524 * configure: Regenerate.
10525 * sysdeps/s390/configure.ac:
10526 Add check for gcc transactions support.
10527 * sysdeps/s390/configure: Regenerate.
10528 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10529 Build elision files if enabled.
10530 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10531 Add lock elision support for s390.
10532 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10533 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10534 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10535 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10536 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10537 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10538 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10539 Likewise.
10540 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10541 Likewise.
10542 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10543 Likewise.
10544 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10545 Likewise.
10546 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10547 (__lll_timedlock_elision, __lll_lock_elision)
10548 (__lll_unlock_elision, __lll_trylock_elision)
10549 (lll_timedlock_elision, lll_lock_elision)
10550 (lll_unlock_elision, lll_trylock_elision): Add.
10551 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10552 (pthread_mutex_t): Add lock elision support for s390.
10553
1a2f40e5
W
105542014-05-14 Wilco <wdijkstr@arm.com>
10555
10556 * sysdeps/arm/fclrexcpt.c: Cleanup.
10557 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10558 * sysdeps/arm/feenablxcpt.c: Cleanup.
10559 * sysdeps/arm/fegetenv.c: Cleanup.
10560 * sysdeps/arm/fegetexcept.c: Cleanup.
10561 * sysdeps/arm/fegetround.c: Cleanup.
10562 * sysdeps/arm/feholdexcpt.c: Cleanup.
10563 * sysdeps/arm/fesetenv.c: Cleanup.
10564 * sysdeps/arm/fesetround.c: Cleanup.
10565 * sysdeps/arm/feupdateenv.c: Cleanup.
10566 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10567 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10568 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10569 * sysdeps/arm/ftestexcept.c: Cleanup.
10570 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10571 * sysdeps/arm/setfpucw.c: Cleanup.
10572
f63c86fe
WN
105732014-05-09 Will Newton <will.newton@linaro.org>
10574
10575 * sysdeps/arm/armv7/strcmp.S: New file.
10576 * NEWS: Mention addition of ARMv7 optimized strcmp.
10577
7a1a51b5
RM
105782014-05-08 Roland McGrath <roland@hack.frob.com>
10579
95afbbe5
RM
10580 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10581 look for %.ac rather than %.in.
10582
10583 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10584 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10585 * sysdeps/mach/hurd/configure: Regenerated.
10586 * sysdeps/unix/sysv/linux/configure: Regenerated.
10587
7a1a51b5
RM
10588 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10589
5057ad3b
SE
105902014-05-07 Steve Ellcey <sellcey@mips.com>
10591
10592 [BZ# 16922]
10593 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10594 (LONG_SUB): Ditto.
10595 (PTR_SUB): Ditto.
10596
8dc97517
AS
105972014-05-07 Andreas Schwab <schwab@suse.de>
10598
10599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10600 when skipping over non-matching result from nscd.
10601
ce0c5b8f
OB
106022014-05-07 Ondřej Bílka <neleai@seznam.cz>
10603
10604 [BZ #16876]
10605 * nptl/sockperf.c (client): Check socket return value.
8dc97517 10606
a1189263
OB
10607 [BZ #16877]
10608 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10609 nscd security class.
ce0c5b8f 10610
0f58d252
RM
106112014-05-06 Roland McGrath <roland@hack.frob.com>
10612
10613 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10614 * sysdeps/arm/unwind.h: ... here.
10615
83df9ad0
AJ
106162014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10617
ce0c5b8f
OB
10618 [BZ# 16916]
10619 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10620 Define.
83df9ad0 10621
f360f94a
VR
106222014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10623
10624 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10625 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10626 multiarch strncpy for PPC64.
10627 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10628 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10630 multiarch optimizations.
10631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10632 (__libc_ifunc_impl_list): Likewise.
10633 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10634 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10635 multiarch stpncpy for PPC64.
10636 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10637 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10638
978a41c3
AS
106392014-05-06 Andreas Schwab <schwab@suse.de>
10640
10641 [BZ #16912]
10642 * gmon/mcount.c (_MCOUNT_DECL): Use
10643 atomic_compare_and_exchange_bool_acq instead of
10644 catomic_compare_and_exchange_bool_acq.
10645
eb1ed03d
RM
106462014-05-05 Roland McGrath <roland@hack.frob.com>
10647
fe658845
RM
10648 * elf/Makefile (others, install-bin): Remove pldd.
10649 (pldd-modules): Variable removed.
10650 ($(objpfx)pldd): Target removed.
10651 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10652 (others, install-bin): Append pldd here.
10653 ($(objpfx)pldd): New target.
10654
eb1ed03d
RM
10655 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10656 to 0, so the first #if test emitted later doesn't see it undefined.
10657 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10658 * sysdeps/gnu/errlist.c: Regenerated.
10659
19c4bec0
AZ
106602014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10661
10662 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10663 [libc_hidden_builtin_def]: Define to empty value.
10664 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10665 [libc_hidden_builtin_def]: Likewise.
10666 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10667 [libc_hidden_builtin_def]: Likewise.
10668 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10669 [libc_hidden_builtin_def]: Likewise.
10670 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10671 __redirect_memcpy and define ifunc as default hidden symbol.
10672 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10673 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10674
7776e669
AC
106752014-05-04 Adam Conrad <adconrad@0c3.net>
10676
10677 * locale/iso-4217.def: Reintroduce XDR currency.
10678
d69aeb12
AM
106792014-05-04 Allan McRae <allan@archlinux.org>
10680
10681 * po/eo.po: Update Esperanto translation from translation project.
10682
8f1df5cf
CD
106832014-05-02 Carlos O'Donell <carlos@redhat.com>
10684
10685 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10686 and FEATURE_INDEX_MAX to 1.
10687 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10688
13e402e7
SE
106892014-05-01 Steve Ellcey <sellcey@mips.com>
10690
10691 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10692 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10693 * iconvdata/big5.c (ONE_DIRECTION): Define.
10694 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10695 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10696 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10697 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10698 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10699 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10700 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10701 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10702 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10703 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10704 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10705 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10706 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10707 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10708 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10709 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10710 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10711 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10712 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10713 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10714 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10715 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10716 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10717 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10718 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10719 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10720 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10721 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10722 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10723 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10724 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10725 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10726 * iconvdata/johab.c (ONE_DIRECTION): Define.
10727 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10728 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10729 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10730 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10731 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10732 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10733 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10734 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10735 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10736 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10737
c727f032
RM
107382014-05-01 Roland McGrath <roland@hack.frob.com>
10739
8f2f08d0
RM
10740 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10741 (_IO_JUMPS_OFFSET): Define to 0.
10742
c727f032
RM
10743 * nptl/sysdeps/pthread/bits/libc-lock.h
10744 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10745 (__libc_lock_define_initialized_recursive): Always define using
10746 initializer. Modern compilers treat uninitialized (implicit zero) and
10747 explicit zero initializers the same (i.e. put the datum in bss).
10748
a849e800
AS
107492014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10750
10751 * nscd/nscd-client.h: Include <string.h>.
10752
5331255b
DM
107532014-05-01 David S. Miller <davem@davemloft.net>
10754
10755 [BZ #16885]
10756 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10757 multiple zero bytes exist at the end of a string.
10758 Reported by Aurelien Jarno <aurelien@aurel32.net>
10759
10760 * string/test-strcmp.c (check): Add explicit test for situations where
10761 there are multiple zero bytes after the first.
10762
4fdfe821
AS
107632014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10764
10765 [BZ #16890]
10766 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10767 when compiling wprintf.
10768 * stdio-common/tstdiomisc.c (t3): New function.
10769 (main): Call it.
10770
0cdddc25
SE
107712014-05-01 Steve Ellcey <sellcey@mips.com>
10772
10773 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10774 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10775 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10776 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10777
6426d77e
SE
107782014-05-01 Steve Ellcey <sellcey@mips.com>
10779
10780 * stdlib/longlong.h: Updated from GCC.
10781
6d96f5e4
WN
107822014-05-01 Will Newton <will.newton@linaro.org>
10783 Bernard Ogden <bernie.ogden@linaro.org>
10784
7470db0c
WN
10785 * NEWS: Update fixed bug list.
10786
6d96f5e4
WN
10787 [BZ #15119]
10788 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10789
211d653c
DM
107902014-04-30 David S. Miller <davem@davemloft.net>
10791
4fa262fa
DM
10792 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10793 (libc_feholdexcept_setround_sparc_ctx): New function.
10794 (libc_fesetenv_sparc_ctx): Likewise.
10795 (libc_feupdateenv_sparc_ctx): Likewise.
10796 (libc_feholdsetround_sparc_ctx): Likewise.
10797 (libc_feholdexcept_setround_ctx): Define.
10798 (libc_feholdexcept_setroundf_ctx): Likewise.
10799 (libc_feholdexcept_setroundl_ctx): Likewise.
10800 (libc_fesetenv_ctx): Likewise.
10801 (libc_fesetenvf_ctx): Likewise.
10802 (libc_fesetenvl_ctx): Likewise.
10803 (libc_feupdateenv_ctx): Likewise.
10804 (libc_feupdateenvf_ctx): Likewise.
10805 (libc_feupdateenvl_ctx): Likewise.
10806 (libc_feresetround_ctx): Likewise.
10807 (libc_feresetroundf_ctx): Likewise.
10808 (libc_feresetroundl_ctx): Likewise.
10809 (libc_feholdsetround_ctx): Likewise.
10810 (libc_feholdsetroundf_ctx): Likewise.
10811 (libc_feholdsetroundl_ctx): Likewise.
10812
1d3d93ef
DM
10813 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10814 with __USE_GNU instead of XOPEN cpp guards.
10815
8aa583c3
DM
10816 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10817 0.
10818
211d653c
DM
10819 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10820 with XOPEN cpp guards.
10821
60c8f1f6
JB
108222014-04-30 Julian Brown <julian@codesourcery.com>
10823
10824 [BZ #16888]
10825 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10826 handling.
10827
9a461d46
JM
108282014-04-30 Joseph Myers <joseph@codesourcery.com>
10829
d0f5b3f8
JM
10830 [BZ #9894]
10831 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10832 Change to 2.6.32.
10833 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10834 * sysdeps/unix/sysv/linux/configure: Regenerated.
10835 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10836 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10837 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10838 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10839 * README: Update reference to required Linux kernel version.
10840 * manual/install.texi (Linux): Update reference to required Linux
10841 kernel headers version.
10842 * INSTALL: Regenerated.
10843
9a461d46
JM
10844 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10845 header inclusion.
10846 [POSIX] (limits.h): Likewise.
10847 [POSIX] (math.h): Likewise.
10848 [POSIX] (sys/wait.h): Likewise.
10849 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10850 function.
10851 [POSIX] (stddef.h): Do not allow header inclusion.
10852
1775babf
AZ
108532014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10854
57f41c40 10855 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 10856
8f630cca
YY
108572014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10858
10859 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10860 Return immediately after lll_futex_wake.
10861
1cdeb237
SP
108622014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10863
bc8f194c
SP
10864 [BZ #16791]
10865 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10866 structure.
10867 (datahead_init_pos): Call datahead_init_common early.
10868 (datahead_init_neg): Likewise.
10869
1cdeb237
SP
10870 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10871 datahead_init_neg): New functions.
10872 * nscd/aicache.c (addhstaiX): Use them.
10873 * nscd/grpcache.c (cache_addgr): Likewise.
10874 * nscd/hstcache.c (cache_addhst): Likewise.
10875 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10876 * nscd/netgroupcache.c (do_notfound): Likewise.
10877 (addgetnetgrentX): Likewise.
10878 (addinnetgrX): Likewise.
10879 * nscd/pwdcache.c (cache_addpw): Likewise.
10880 * nscd/servicescache.c (cache_addserv): Likewise.
10881
16b293a7
SP
108822014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10883 Atsushi Onoe <atsushi@onoe.org>
10884
10885 [BZ #14308]
10886 [BZ #12994]
10887 [BZ #13651]
10888 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10889 one response is valid.
10890 * resolv/res_send.c (send_dg): Check for validity of other
10891 response if the current response is a referral.
10892
a28a9b94
SE
108932014-04-29 Steve Ellcey <sellcey@mips.com>
10894
10895 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10896
2ca180e9
SL
108972014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10898
10899 [BZ #16823]
10900 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10901 Always divide by positive zero when computing -Inf result.
10902 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10903 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10904
18f2945a
AZ
109052014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10906
10907 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10908 FPSCR if value do not change.
10909 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10910 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10911 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10912 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10913 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10914 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10915 function.
10916
5abebba4
CD
109172014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10918
10919 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10920 * sysdeps/unix/sysv/linux/hppa: Move directory from
10921 ports/systeps/unix/sysv/linux/hppa.
10922 * README: Update listing for hppa-*-linux-gnu.
10923
f7ed60c2
OB
109242014-04-28 Ondřej Bílka <neleai@seznam.cz>
10925
fff763a5
OB
10926 [BZ #16754]
10927 * manual/stdio.texi (Hook functions): Fix types of stream hook
10928 functions.
f7ed60c2
OB
10929 [BZ #16854]
10930 * socket/sys/socket.h: Fix typo in comment.
10931
df639d73
WD
109322014-04-28 Wilco <wdijkstr@arm.com>
10933
f7ed60c2 10934 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
10935 * sysdeps/arm/math_private.h: New file.
10936 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10937
48332d82
L
109382014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10939
10940 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10941 with __int128_t.
10942 (La_x86_64_retval): Likewise.
10943
e5e0d9a4
IB
109442014-04-24 Ian Bolton <ian.bolton@arm.com>
10945
10946 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10947 fpsr if value didn't change.
10948 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10949 to fpcr if value didn't change.
10950 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10951 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10952 fpsr or fpcr if value didn't change.
10953 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10954 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10955 fpcr if value didn't change.
10956 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10957 to fpsr if value didn't change.
10958
bacc75f7
SP
109592014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10960
10961 * nptl/tst-sem3.c: Use test-skeleton.c
10962 (main): Rename to do_test. Use return instead of
10963 exit.
10964 * nptl/tst-sem4.c: Use test-skeleton.c
10965 (main): Rename to do_test.
10966
a059d359
DM
109672014-04-22 David S. Miller <davem@davemloft.net>
10968
10969 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10970 (struct sigaction): New struct member __glibc_reserved0, change
10971 type of sa_flags to int.
10972
ea6c92f3
YZ
109732014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10974
10975 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10976 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10977
766c4a36
SP
109782014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10979
10980 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10981 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10982
140cc7ab
VK
109832014-04-22 Will Newton <will.newton@linaro.org>
10984 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10985
10986 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10987 (__longjmp): Add longjmp and longjmp_target SystemTap
10988 probes.
10989 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10990 (__sigsetjmp): Add setjmp SystemTap probe.
10991
c54e5cf7
CD
109922014-04-17 Carlos O'Donell <carlos@redhat.com>
10993
10994 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10995 match manual order.
10996
75ffb047
AZ
109972014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10998
10999 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11000
2cd925f7
AZ
11001 * sysdeps/powerpc/fpu/fenv_private.h
11002 (libc_feholdexcept_setroundl_ctx): Define to
11003 libc_feholdexcept_setround_ppc_ctx.
11004 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11005 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11006 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11007 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11008
39e6cd8d
IB
110092014-04-17 Ian Bolton <ian.bolton@arm.com>
11010
11011 * sysdeps/aarch64/math-tests.h: New file.
11012
f9281df9
SY
110132014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
11014
11015 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11016 New.
11017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11018 Check and set bit_AVX2_Usable.
11019 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11020 macro.
11021 (bit_AVX2): Likewise.
11022 (index_AVX2_Usable): Likewise.
11023 (CPUID_AVX2): Likewise.
11024 (HAS_AVX2): Likewise.
11025
37d35007
WN
110262014-04-17 Will Newton <will.newton@linaro.org>
11027
7c677662
WN
11028 * manual/setjmp.texi (System V contexts): Add note that
11029 calling setcontext on a context created by a call to a
11030 signal handler is undefined. Update text to note that
11031 setcontext from a signal handler is possible but not
11032 recommended.
11033
37d35007 11034 [BZ #16629]
e04a4e9d
WN
11035 * stdlib/tst-setcontext.c: Include signal.h.
11036 (main): Check that the signal stack before and
11037 after swapcontext is the same.
11038
37d35007
WN
11039 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11040 Re-implement to restore registers in user code and avoid
11041 rt_sigreturn system call.
11042
423a7160
W
110432014-04-17 Wilco <wdijkstr@arm.com>
11044
11045 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11046 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11047 * math/test-fenv.c: Skip exception trap tests on targets which only
11048 support non-stop mode.
11049
bc93ab29
IB
110502014-04-17 Ian Bolton <ian.bolton@arm.com>
11051 Wilco Dijkstra <wilco.dijkstra@arm.com>
11052
11053 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11054 (libc_feholdsetround_aarch64_ctx)
11055 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11056 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11057 (libc_feresetround_ctx, libc_feresetroundf_ctx)
11058 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11059 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11060 (libc_feresetround_noexl_ctx): Define.
11061
95fc5fa3
RH
110622014-04-16 Richard Henderson <rth@redhat.com>
11063
ddb04724
RH
11064 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11065
d77c0899
RH
11066 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11067 unwind tables.
11068
a3df56fc
RH
11069 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11070 const from the non-libc, non-ldso copy.
11071
95fc5fa3
RH
11072 * sysdeps/alpha/libm-test-ulps: Regenerate.
11073
7e0b6763
IB
110742014-04-16 Ian Bolton <ian.bolton@arm.com>
11075 Wilco Dijkstra <wilco.dijkstra@arm.com>
11076
11077 * sysdeps/aarch64/fpu/math_private.h: New file.
11078
a9ea2e0c
MS
110792014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
11080
11081 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11082
ea8ba7cd
IZ
110832014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
11084
7e54fd04 11085 [BZ #16275]
ea8ba7cd
IZ
11086 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11087 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11088 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11089 Intel MPX bound registers before _dl_profile_fixup.
11090 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11091 registers after _dl_profile_fixup. Save and restore bound
11092 registers bnd0/bnd1 when calling _dl_call_pltexit.
11093 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11094 (LR_BND_OFFSET): Likewise.
11095 (LRV_BND0_OFFSET): Likewise.
11096 (LRV_BND1_OFFSET): Likewise.
11097
9f2a4fbc
ST
110982014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11099
11100 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11101 to...
11102 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
11103 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11104 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11105 fields.
9f2a4fbc 11106
fd15a59b
ST
111072014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11108
11109 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11110
f19dfa0a
SL
111112014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11112
11113 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11114
4fa8bc3b
SL
111152014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11116
11117 [BZ #14770]
11118 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11119 * sysdeps/s390/configure: Regenerate.
11120
8ea587db
SL
11121 [BZ #16824]
11122 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11123 Set round-to-nearest internally to reduce error accumulation.
11124
aa5f0ff1
AM
111252014-04-16 Alan Modra <amodra@gmail.com>
11126
11127 [BZ #16740]
11128 [BZ #16619]
11129 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11130 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 11131 * NEWS: Update fixed bug list.
aa5f0ff1 11132
bb9c256f
SP
111332014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11134
11135 * benchtests/Makefile: Depend on libraries in build directory.
11136 (bench-math): Separate out math tests.
11137 (bench-pthread): Separate out pthread tests.
11138 (bench): Include math and pthread tests.
11139
f737dfd0
CD
111402014-04-14 Carlos O'Donell <carlos@redhat.com>
11141
11142 [BZ #16831]
11143 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11144 _dl_debug_initialize.
11145
0699f766
CD
11146 * configure.ac: Remove SELinux header check.
11147 * configure: Regenerate.
11148 * nscd/selinux.c (perms): Array of const char* to permission names.
11149 (nscd_request_avc_has_perm): Call security_deny_unknown to find
11150 default policy. Call string_to_security_class and string_to_av_perm to
11151 translate strings. Enforce default policy and call avs_has_perm with
11152 results of translated strings.
11153
809bd45f
DM
111542014-04-13 David S. Miller <davem@davemloft.net>
11155
11156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11157
89e691f2
AM
111582014-04-12 Allan McRae <allan@archlinux.org>
11159
11160 [BZ #16838]
11161 * manual/string.texi (Collation Functions): Fix qsort argument
11162 order in example.
11163 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11164
9c9daaeb
CM
111652014-04-11 Chris Metcalf <cmetcalf@tilera.com>
11166
11167 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11168 Make the test a no-op if there are no exceptions defined.
11169
95561fb9
PP
111702014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
11171
fe8d072c 11172 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
11173 enable-hardcoded-path-in-tests
11174
970c602a
WN
111752014-04-11 Will Newton <will.newton@linaro.org>
11176
11177 * benchtests/Makefile (extra-objs): Add json-lib.o.
11178 (bench-func): Tidy up JSON output.
11179 * benchtests/bench-skeleton.c: Include json-lib.h.
11180 (main): Use JSON library functions to do output of
11181 benchmark results.
11182 * benchtests/bench-timing-type.c (main): Output the
11183 timing type simply, leaving formatting to the user.
11184 * benchtests/json-lib.c: New file.
11185 * benchtests/json-lib.h: Likewise.
11186
36875b06
TR
111872014-04-11 Torvald Riegel <triegel@redhat.com>
11188
11189 [BZ #15215]
11190 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11191 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
11192 memory barriers. Add comments.
11193 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11194 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11195 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11196 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11197 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11198 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11199
579db35a
SL
112002014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11201
11202 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11203 * sysdeps/s390/s390-64/configure.ac: ... this ...
11204 * sysdeps/s390/configure.ac: ... to here.
11205 * sysdeps/s390/s390-32/configure: Delete file.
11206 * sysdeps/s390/s390-64/configure: Delete file.
11207 * sysdeps/s390/configure: Regenerate.
11208
c12e9f37
JAPH
112092014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
11210
11211 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11212
439bda32
WN
112132014-04-11 Will Newton <will.newton@linaro.org>
11214
11215 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11216 to zero if it is not defined elsewhere. (mtrim): Test
11217 the value of MALLOC_DEBUG with #if rather than #ifdef.
11218
6a5d6ea1
TR
112192014-04-10 Torvald Riegel <triegel@redhat.com>
11220
11221 * benchtests/pthread_once-inputs: New file.
11222 * benchtests/pthread_once-source.c: New file.
11223 * benchtests/README: Update documentation.
11224
a4c75cfd
IZ
112252014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
11226 H.J. Lu <hongjiu.lu@intel.com>
11227
7e54fd04 11228 [BZ #16275]
a4c75cfd
IZ
11229 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11230 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11231 * sysdeps/x86_64/configure: Regenerated.
11232 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11233 macro.
11234 (REGISTER_SAVE_RAX): Likewise.
11235 (REGISTER_SAVE_RCX): Likewise.
11236 (REGISTER_SAVE_RDX): Likewise.
11237 (REGISTER_SAVE_RSI): Likewise.
11238 (REGISTER_SAVE_RDI): Likewise.
11239 (REGISTER_SAVE_R8): Likewise.
11240 (REGISTER_SAVE_R9): Likewise.
11241 (REGISTER_SAVE_BND0): Likewise.
11242 (REGISTER_SAVE_BND1): Likewise.
11243 (REGISTER_SAVE_BND2): Likewise.
11244 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
11245 bound registers when calling _dl_fixup.
11246
27822ce6
AZ
112472014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11248
11249 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
11250 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11251 of its definition.
27822ce6
AZ
11252 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11253 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11254 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11255 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11256 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11257 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11258 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11259
a88ddc90
PTB
112602014-04-09 Peter Brett <peter@peter-b.co.uk>
11261
11262 [BZ #15514]
11263 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11264 pathconf(_PC_NAME_MAX).
11265
01f8eac2
AZ
112662014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11267
11268 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11269 Remove macro usage.
11270 (__PTHREAD_SPINS): Move definition to ...
11271 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11272 (__PTHREAD_SPINS): ... here.
11273 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11274 (__PTHREAD_SPIN): Likewise.
11275 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11276 (__PTHREAD_SPIN): Likewise.
11277 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11278 (__PTHREAD_SPIN): Likewise.
11279 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11280 (__PTHREAD_SPIN): Likewise.
11281 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11282 (__PTHREAD_SPIN): Likewise.
11283 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11284 (__PTHREAD_SPIN): Likewise.
11285 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11286 (__PTHREAD_SPIN): Likewise.
11287 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11288 (__PTHREAD_SPIN): Likewise.
11289 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11290 (__PTHREAD_SPIN): Likewise.
11291 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11292 (__PTHREAD_SPIN): Likewise.
11293 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11294 (__PTHREAD_SPIN): Likewise.
11295 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11296 (__PTHREAD_SPIN): Likewise.
11297
de21c33c
AZ
11298 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11299 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11300 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11301 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11302 imply folder.
11303 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11304 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11305 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11306 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11307 correct imply path.
11308 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11309 strlen symbol for non multi-arch builds.
11310 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11311 missing hidden_def and weak_alias.
11312
862c472e
CD
113132014-04-08 Carlos O'Donell <carlos@redhat.com>
11314
11315 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11316
8667f90e
WN
113172014-04-07 Will Newton <will.newton@linaro.org>
11318
11319 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11320 and contents. [!_LIBC] Remove #ifndef and contents.
11321 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
11322 * string/memccpy.c (__memccpy): Use ANSI prototype.
11323 * string/memfrob.c (memfrob): Likewise.
11324 * string/strcoll.c (STRCOLL): Likewise.
11325 * string/strlen.c (strlen): Likewise.
11326 * string/strtok.c (STRTOK): Likewise.
11327 * string/strcat.c: Remove unused #include of memcopy.h.
11328 (strcat): Use ANSI prototype.
11329 * string/strchr.c: Remove unused #include of memcopy.h.
11330 (strchr): Use ANSI prototype.
11331 * string/strcmp.c: Remove unused #include of memcopy.h.
11332 (strcmp): Use ANSI prototype.
11333 * string/strcpy.c: Remove unused #include of memcopy.h.
11334 (strcpy): Use ANSI prototype.
11335
7ffa9423
AZ
113362014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11337
11338 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11339 * config.make.in (config-extra-cppflags): Set it from
11340 libc_extra_cppflags.
11341 * configure.ac (libc_extra_cflags): Make it accumulate over
11342 configure fragments.
11343 (libc_extra_cppflags): New flag.
11344 * configure. Regenerate.
11345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
11346 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11347 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
11348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11349
8bd70862
AZ
11350 [BZ #16815]
11351 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11352 result for FE_DOWNWARD rounding mode.
11353 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11354 Likewise.
11355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11356
d42f3448
CM
113572014-04-04 Chris Metcalf <cmetcalf@tilera.com>
11358
11359 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11360 in function argument name.
11361
1c21d115
DS
113622014-04-03 David Svoboda <svoboda@cert.org>
11363
11364 [BZ #5666]
11365 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11366 explicitly.
11367
fcccd512
RM
113682014-04-03 Roland McGrath <roland@hack.frob.com>
11369
11370 * elf/dl-unmap-segments.h: New file.
11371 * sysdeps/generic/ldsodefs.h
11372 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11373 * elf/dl-close.c: Include <dl-unmap-segments.h>.
11374 * elf/dl-fptr.c: Likewise.
11375 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11376 * sysdeps/aarch64/tlsdesc.c: Likewise.
11377 * sysdeps/arm/tlsdesc.c: Likewise.
11378 * sysdeps/i386/tlsdesc.c: Likewise.
11379 * sysdeps/tile/dl-runtime.c: Likewise.
11380 * sysdeps/x86_64/tlsdesc.c: Likewise.
11381 * elf/dl-load.h: New file.
11382 * elf/dl-load.c: Include it.
11383 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11384 Macros moved to dl-load.h.
11385 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11386 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11387 Use _dl_unmap_segments in place of __munmap.
11388 Break out segment-mapping loop into ...
11389 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11390
f6488e2b
WN
113912014-04-03 Will Newton <will.newton@linaro.org>
11392
11393 * elf/dl-lookup.c (do_lookup_x): Remove comment
11394 referring to nested function and move variable
11395 declarations down to before first use.
11396
6f05bafe
JM
113972014-04-02 Joseph Myers <joseph@codesourcery.com>
11398
a84e78c8
JM
11399 [BZ #16799]
11400 [BZ #16800]
11401 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11402 with 0 numerator.
11403 * math/s_catanf.c (__catanf): Likewise.
11404 * math/s_catanh.c (__catanh): Likewise.
11405 * math/s_catanhf.c (__catanhf): Likewise.
11406 * math/s_catanhl.c (__catanhl): Likewise.
11407 * math/s_catanl.c (__catanl): Likewise.
11408 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11409 by positive zero when computing -Inf result.
11410 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11411 (catanh_test): Likewise.
11412 * sysdeps/i386/fpu/libm-test-ulps: Update.
11413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11414
6f05bafe
JM
11415 [BZ #16789]
11416 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11417 instead of using underflowing value in computing result.
11418 * math/s_clog10.c (__clog10): Likewise.
11419 * math/s_clog10f.c (__clog10f): Likewise.
11420 * math/s_clog10l.c (__clog10l): Likewise.
11421 * math/s_clogf.c (__clogf): Likewise.
11422 * math/s_clogl.c (__clogl): Likewise.
11423 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11424 (clog10_test): Likewise.
11425 * sysdeps/i386/fpu/libm-test-ulps: Update.
11426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11427
b0abbc21
AM
114282014-04-02 Alan Modra <amodra@gmail.com>
11429
11430 [BZ #16739]
11431 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11432 output when value is near a power of two. Use int64_t for lx and
11433 remove casts. Use decimal rather than hex exponent constants.
11434 Don't use long double multiplication when double will suffice.
11435 * math/libm-test.inc (nextafter_test_data): Add tests.
11436 * NEWS: Add 16739 and 16786 to bug list.
11437
af6b1797
AM
11438 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11439
483818d7
AM
11440 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11441
f6c55796
WN
114422014-04-01 Will Newton <will.newton@linaro.org>
11443
11444 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11445 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
11446
13f7fe35
FW
114472014-04-01 Florian Weimer <fweimer@redhat.com>
11448
11449 [BZ #13347]
11450 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11451 * nptl/tst-setuid2.c: New file.
11452 * nptl/Makefile (xtests): Add tst-setuid2.
11453
c859b32e
AM
114542014-04-01 Alan Modra <amodra@gmail.com>
11455
11456 [BZ #16786]
11457 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11458
54fa2475
JM
114592014-03-31 Joseph Myers <joseph@codesourcery.com>
11460
8795b4a4
JM
11461 [BZ #6803]
11462 [BZ #6804]
11463 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11464 set errno as appropriate.
11465 * math/w_scalbf.c (__scalbf): Likewise.
11466 * math/w_scalbl.c (__scalbl): Likewise.
11467 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11468 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11469 * math/libm-test.inc (scalb_test_data): Add errno expectations.
11470 Add more NaN tests.
11471
54fa2475
JM
11472 [BZ #16349]
11473 * math/w_atan2.c: Include <errno.h>.
11474 (__atan2): Set errno for result underflowing to zero.
11475 * math/w_atan2f.c: Include <errno.h>.
11476 (__atan2f): Set errno for result underflowing to zero.
11477 * math/w_atan2l.c: Include <errno.h>.
11478 (__atan2l): Set errno for result underflowing to zero.
11479 * math/auto-libm-test-in: Don't allow missing errno for some atan2
11480 tests.
11481 * math/auto-libm-test-out: Regenerated.
11482
757d9dd5
AZ
114832014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11484
11485 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11486 Encode instruction correctly in little endian.
11487 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11488 Likewise.
11489 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11490 Likewise.
11491 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11492 Likewise.
11493 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11494 Likewise.
11495
d7a68734
JM
114962014-03-31 Joseph Myers <joseph@codesourcery.com>
11497
47c5adeb
JM
11498 [BZ #9894]
11499 * sysdeps/unix/sysv/linux/kernel-features.h
11500 [__sparc__ && !__arch64__ && !__sparc_v9__]
11501 (__ASSUME_SET_ROBUST_LIST): Do not define.
11502 [__sparc__ && !__arch64__ && !__sparc_v9__]
11503 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11504 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11505 Likewise.
11506 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11507 (__ASSUME_FUTEX_LOCK_PI): Undefine.
11508 (__ASSUME_REQUEUE_PI): Likewise.
11509 (__ASSUME_SET_ROBUST_LIST): Likewise.
11510 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11511 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11512 Undefine.
11513 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11514 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11515 Likewise.
11516 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11517 Likewise.
11518 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11519 Likewise.
11520 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11521 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11522 Undefine.
11523 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11524 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11525 Likewise.
11526
d7a68734
JM
11527 [BZ #16648]
11528 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11529 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11530 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11531
c760f5c2
WN
115322014-03-31 Will Newton <will.newton@linaro.org>
11533
11534 * benchtests/Makefile (bench): Add ffs and ffsll to list
11535 of tests.
11536 * benchtests/ffs-inputs: New file.
11537 * benchtests/ffsll-inputs: Likewise.
11538
ea6029b1
JM
115392014-03-29 Joseph Myers <joseph@codesourcery.com>
11540
11541 [BZ #16770]
11542 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11543 too large before casting to int.
11544 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11545 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11546 * math/libm-test.inc (scalb_test_data): Add more tests.
11547
cf806aff
SP
115482014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11549
56737508
SP
11550 * benchtests/Makefile (DETAILED_OPT): New make option.
11551 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11552 set.
11553 * benchtests/bench-skeleton.c: Include stdbool.h.
11554 (main): Store and print timings per input.
11555 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11556 member to each argument value.
11557 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11558 (_print_arg_data): Initialize per-input timing to 0.
11559
cb5e4aad
SP
11560 * benchtests/Makefile (timing-type): New binary.
11561 (bench-clean): Also remove bench-timing-type.
11562 (bench): New target for timing-type.
11563 (bench-func): Print output in JSON format.
11564 * benchtests/bench-skeleton.c (main): Print output in JSON
11565 format.
11566 * benchtests/bench-timing-type.c: New file.
11567 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11568 (TIMING_PRINT_STATS): Remove.
11569 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11570 name separately.
11571
cf806aff
SP
11572 * benchtests/bench-modf.c: Remove.
11573 * benchtests/modf-inputs: New inputs file.
11574
289e0779
JM
115752014-03-28 Joseph Myers <joseph@codesourcery.com>
11576
11577 [BZ #16362]
11578 * math/s_clog10.c (M_PI_LOG10E): New macro.
11579 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11580 imaginary parts are 0.
11581 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11582 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11583 imaginary parts are 0.
11584 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11585 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11586 imaginary parts are 0.
11587 * math/libm-test.inc (clog10_test_data): Update expected results
11588 for when real and imaginary parts are 0.
11589
277ae3f1
PP
115902014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11591
11592 * elf/dl-load.c: Finish conversion of __builtin_expect into
11593 __glibc_{un}likely.
11594
03a7091f
JM
115952014-03-27 Joseph Myers <joseph@codesourcery.com>
11596
11597 [BZ #16348]
11598 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11599 1+x for argument with exponent below -67.
11600 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11601 Likewise.
11602 * math/auto-libm-test-in: Add more tests of exp.
11603 * math/auto-libm-test-out: Regenerated.
11604
ea7d8b95
SP
116052014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11606
dd3022d7
SP
11607 [BZ #16759]
11608 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11609 (nscd_getnetgrent): Use it.
11610
ea7d8b95
SP
11611 [BZ #16760]
11612 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11613 of stpcpy.
11614
df5b85da
AK
116152014-03-27 Andi Kleen <ak@linux.intel.com>
11616
57f41c40
AS
11617 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11618 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11619 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11620 (lll_robust_unlock): Remove out of line section. Use cfi
11621 intrinsics.
df5b85da 11622 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
11623 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11624 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11625 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11626 (lll_robust_unlock): Remove out of line section. Use cfi
11627 intrinsics.
df5b85da
AK
11628 (LLL_STUB_UNWIND_INFO*): Remove.
11629
fbd6b5a4
SP
116302014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11631
11632 [BZ #16758]
11633 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11634 blank values.
11635
1b26b855
PP
116362014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11637
11638 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11639
9be36fb8
JM
116402014-03-26 Joseph Myers <joseph@codesourcery.com>
11641
11642 [BZ #16198]
11643 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11644 fnstenv.
11645 * math/test-fenv-preserve.c: New file.
11646 * math/Makefile (tests): Add test-fenv-preserve.
11647
60a2f3c1
WN
116482014-03-26 Will Newton <will.newton@linaro.org>
11649
11650 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11651
a5e5f1e2
RM
116522014-03-25 Roland McGrath <roland@hack.frob.com>
11653
11654 * scripts/versionlist.awk: Partition the version sets and emit all
11655 GLIBC_* (sorted) before all others (sorted).
11656
00f4012a
JM
116572014-03-25 Joseph Myers <joseph@codesourcery.com>
11658
11659 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11660 GLIBC_2.2.5 version.
11661
7bc5a741
AZ
116622014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11663
11664 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11665 calls.
11666
7578473b
AZ
11667 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11668 previous change.
11669
f3f1dab3
AZ
11670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11671
6da36183
AS
116722014-03-25 Andreas Schwab <schwab@suse.de>
11673
11674 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11675 label to be used after in6ailist is initialized.
11676
f3f1dab3 116772014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 11678
7578473b 11679 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
11680 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11681
046651c1
JM
116822014-03-25 Joseph Myers <joseph@codesourcery.com>
11683
11684 [BZ #16357]
11685 [BZ #16599]
11686 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11687 min_plus_half.
11688 (fp_formats): Update initializers.
11689 (init_fp_formats): Initialize new field.
11690 (output_for_one_input_case): Allow underflow for results up to
11691 min_plus_half.
11692 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11693 * math/auto-libm-test-in: Don't mark some underflows from asin and
11694 atanh as spurious.
11695 * math/auto-libm-test-out: Regenerated.
11696 * sysdeps/i386/fpu/libm-test-ulps: Update.
11697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11698
003e49ed
AS
116992014-03-25 Andreas Schwab <schwab@suse.de>
11700
11701 * libio/Makefile (tst-ftell-partial-wide-ENV)
11702 (tst-ftell-active-handler-ENV): Define.
11703
de031874
SL
117042014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11705
11706 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11707
55a81e3b
PP
117082014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11709
11710 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11711
f3426898
JM
117122014-03-24 Joseph Myers <joseph@codesourcery.com>
11713
11714 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11715 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11716 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11717
a42faf59
PP
117182014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11719
11720 [BZ #16634]
a42faf59 11721 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
11722 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11723 (open_path): Change from boolean 'secure' to complete flag 'mode'
11724 (_dl_map_object): Adjust.
a42faf59
PP
11725 * elf/Makefile (tests): Add tst-dlopen-aout.
11726 * elf/tst-dlopen-aout.c: New test.
11727
50936127
SL
117282014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11729
11730 [BZ #16714]
11731 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11732 (struct stat): Rename member pad0 to __glibc_reserved0.
11733
26011b5c
SL
11734 [BZ #16712]
11735 * sysdeps/s390/s390-32/bits/wordsize.h
11736 (__WORDSIZE32_SIZE_ULONG): New define.
11737 * sysdeps/s390/s390-64/bits/wordsize.h
11738 (__WORDSIZE32_SIZE_ULONG): Likewise.
11739 * sysdeps/generic/stdint.h (SIZE_MAX):
11740 Define as UL if __WORDSIZE32_SIZE_ULONG.
11741
a2d86bf1
SL
11742 [BZ #16713]
11743 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11744 (__glibc_reserved0): New variable.
11745 (sa_flags): Change type to int.
11746
78b6eebc
SL
11747 * posix/Makefile (before-compile): Use += before-compile instead
11748 of a :=.
11749
f1399b5a
SL
11750 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11751 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11752
a071766e
AS
117532014-03-20 Andreas Schwab <schwab@suse.de>
11754
11755 [BZ #16743]
11756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11757 non-matching result from nscd.
11758
27c673b8
SP
117592014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11760
11761 * scripts/bench.py: Moved to ...
11762 * benchtests/scripts/bench.py: ... here.
11763 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11764
44152e4b
AS
117652014-03-24 Andreas Schwab <schwab@suse.de>
11766
11767 [BZ #16002]
11768 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11769 alloca_account and account alloca use for struct in6ailist.
11770
b376a11a
JM
117712014-03-24 Joseph Myers <joseph@codesourcery.com>
11772
11773 [BZ #16284]
11774 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11775 rounding mode to recompute results that overflow to infinity or
11776 underflow to zero.
11777 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11778 bug 16284.
11779 * math/auto-libm-test-out: Regenerated.
11780 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11781 (ccosh_test): Likewise.
11782 (csin_test_data): Use plus_oflow.
11783 (csin_test): Use ALL_RM_TEST.
11784 (csinh_test_data): Use plus_oflow.
11785 (csinh_test): Use ALL_RM_TEST.
11786 * sysdeps/i386/fpu/libm-test-ulps: Update.
11787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11788
f7be7376
JM
117892014-03-21 Joseph Myers <joseph@codesourcery.com>
11790
1ca2d03e
JM
11791 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11792 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11793 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11794
f7be7376
JM
11795 [BZ #16731]
11796 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11797 when x - 1 is zero.
11798 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11799 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11800 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11801 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11802 argument is 1.
11803 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11804 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11805 zero.
11806 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11807 * sysdeps/i386/fpu/libm-test-ulps: Update.
11808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11809
fdf4534d
SP
118102014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11811
df26ea53
SP
11812 * scripts/bench.pl: Remove file.
11813 * scripts/bench.py: New benchmark script.
11814 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11815 * benchtests/README: Mention python dependency.
11816 * scripts/pylintrc: New file.
11817 * scripts/pylint: New file.
11818
fdf4534d
SP
11819 * bits/mathdef.h: Use #ifdef instead of #if.
11820 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11821 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11822 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11823 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11824 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11825 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11826
6f23d093
AZ
118272014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11828 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11829
11830 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11832 and strpbrk-ppc64 objects.
11833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11834 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11835 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11836 multiarch strpbrk for POWER7.
11837 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11838 multiarch strpbrk for PPC64.
11839 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11840 ifunc selector.
11841 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11842 strpbrk for POWER7.
11843
8c92dfff
JM
118442014-03-20 Joseph Myers <joseph@codesourcery.com>
11845
11846 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11847 (atan_test): Likewise.
11848 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11849 (atanh_test): Use ALL_RM_TEST.
11850 (atan2_test_data): Likewise.
11851 (cabs_test): Likewise.
11852 (cacosh_test): Likewise.
11853 (carg_test): Likewise.
11854 (casin_test): Likewise.
11855 (casinh_test): Likewise.
11856 (cbrt_test): Likewise.
11857 (csqrt_test): Likewise.
11858 (erf_test): Likewise.
11859 (erfc_test): Likewise.
11860 (pow10_test): Likewise.
11861 (exp2_test): Likewise.
11862 (hypot_test): Likewise.
11863 (j0_test): Likewise.
11864 (j1_test): Likewise.
11865 (lgamma_test): Likewise.
11866 (gamma_test): Likewise.
11867 (sincos_test): Likewise.
11868 (tanh_test): Likewise.
11869 (y0_test): Likewise.
11870 (y1_test): Likewise.
11871 * sysdeps/i386/fpu/libm-test-ulps: Update.
11872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11873
6eaf95cb
AZ
118742014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11875
a387428c
SP
11876 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
11878 and strcspn-ppc64 objects.
11879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11880 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11881 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11882 multiarch strcspn for POWER7.
11883 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11884 multiarch strcspn for PPC64.
11885 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11886 ifunc selector.
11887 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11888 strcspn for POWER7.
11889
ae3a5dff
JM
118902014-03-20 Joseph Myers <joseph@codesourcery.com>
11891
11892 * math/gen-libm-test.pl (generate_testfile): Expect only function
11893 name as argument to AUTO_TESTS_* and pass results for all rounding
11894 modes to parse_args.
11895 (parse_auto_input): Separate inputs of automatic tests from
11896 outputs before storing in %auto_tests.
11897 * math/libm-test.inc (acos_test_data): Update call to
11898 AUTO_TESTS_f_f.
11899 (acos_test): Use ALL_RM_TEST.
11900 (acos_tonearest_test_data): Remove.
11901 (acos_test_tonearest): Likewise.
11902 (acos_towardzero_test_data): Likewise.
11903 (acos_test_towardzero): Likewise.
11904 (acos_downward_test_data): Likewise.
11905 (acos_test_downward): Likewise.
11906 (acos_upward_test_data): Likewise.
11907 (acos_test_upward): Likewise.
11908 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11909 (asin_test_data): Likewise.
11910 (asin_test): Use ALL_RM_TEST.
11911 (asin_tonearest_test_data): Remove.
11912 (asin_test_tonearest): Likewise.
11913 (asin_towardzero_test_data): Likewise.
11914 (asin_test_towardzero): Likewise.
11915 (asin_downward_test_data): Likewise.
11916 (asin_test_downward): Likewise.
11917 (asin_upward_test_data): Likewise.
11918 (asin_test_upward): Likewise.
11919 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11920 (atan_test_data): Likewise.
11921 (atanh_test_data): Likewise.
11922 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11923 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11924 (carg_test_data): Likewise.
11925 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11926 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11927 (ccosh_test_data): Likewise.
11928 (cexp_test_data): Likewise.
11929 (clog_test_data): Likewise.
11930 (clog10_test_data): Likewise.
11931 (cos_test_data): Update call to AUTO_TESTS_f_f.
11932 (cos_test): Use ALL_RM_TEST.
11933 (cos_tonearest_test_data): Remove.
11934 (cos_test_tonearest): Likewise.
11935 (cos_towardzero_test_data): Likewise.
11936 (cos_test_towardzero): Likewise.
11937 (cos_downward_test_data): Likewise.
11938 (cos_test_downward): Likewise.
11939 (cos_upward_test_data): Likewise.
11940 (cos_test_upward): Likewise.
11941 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11942 (cosh_test): Use ALL_RM_TEST.
11943 (cosh_tonearest_test_data): Remove.
11944 (cosh_test_tonearest): Likewise.
11945 (cosh_towardzero_test_data): Likewise.
11946 (cosh_test_towardzero): Likewise.
11947 (cosh_downward_test_data): Likewise.
11948 (cosh_test_downward): Likewise.
11949 (cosh_upward_test_data): Likewise.
11950 (cosh_test_upward): Likewise.
11951 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11952 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11953 (ctan_test_data): Likewise.
11954 (ctan_test): Use ALL_RM_TEST.
11955 (ctan_tonearest_test_data): Remove.
11956 (ctan_test_tonearest): Likewise.
11957 (ctan_towardzero_test_data): Likewise.
11958 (ctan_test_towardzero): Likewise.
11959 (ctan_downward_test_data): Likewise.
11960 (ctan_test_downward): Likewise.
11961 (ctan_upward_test_data): Likewise.
11962 (ctan_test_upward): Likewise.
11963 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11964 (ctanh_test): Use ALL_RM_TEST.
11965 (ctanh_tonearest_test_data): Remove.
11966 (ctanh_test_tonearest): Likewise.
11967 (ctanh_towardzero_test_data): Likewise.
11968 (ctanh_test_towardzero): Likewise.
11969 (ctanh_downward_test_data): Likewise.
11970 (ctanh_test_downward): Likewise.
11971 (ctanh_upward_test_data): Likewise.
11972 (ctanh_test_upward): Likewise.
11973 (erf_test_data): Update call to AUTO_TESTS_f_f.
11974 (erfc_test_data): Likewise.
11975 (exp_test_data): Likewise.
11976 (exp_test): Use ALL_RM_TEST.
11977 (exp_tonearest_test_data): Remove.
11978 (exp_test_tonearest): Likewise.
11979 (exp_towardzero_test_data): Likewise.
11980 (exp_test_towardzero): Likewise.
11981 (exp_downward_test_data): Likewise.
11982 (exp_test_downward): Likewise.
11983 (exp_upward_test_data): Likewise.
11984 (exp_test_upward): Likewise.
11985 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11986 (exp10_test): Use ALL_RM_TEST.
11987 (exp10_tonearest_test_data): Remove.
11988 (exp10_test_tonearest): Likewise.
11989 (exp10_towardzero_test_data): Likewise.
11990 (exp10_test_towardzero): Likewise.
11991 (exp10_downward_test_data): Likewise.
11992 (exp10_test_downward): Likewise.
11993 (exp10_upward_test_data): Likewise.
11994 (exp10_test_upward): Likewise.
11995 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11996 (expm1_test_data): Likewise.
11997 (expm1_test): Use ALL_RM_TEST.
11998 (expm1_tonearest_test_data): Remove.
11999 (expm1_test_tonearest): Likewise.
12000 (expm1_towardzero_test_data): Likewise.
12001 (expm1_test_towardzero): Likewise.
12002 (expm1_downward_test_data): Likewise.
12003 (expm1_test_downward): Likewise.
12004 (expm1_upward_test_data): Likewise.
12005 (expm1_test_upward): Likewise.
12006 (fma_test_data): Update call to AUTO_TESTS_fff_f.
12007 (fma_test): Use ALL_RM_TEST.
12008 (fma_towardzero_test_data): Remove.
12009 (fma_test_towardzero): Likewise.
12010 (fma_downward_test_data): Likewise.
12011 (fma_test_downward): Likewise.
12012 (fma_upward_test_data): Likewise.
12013 (fma_test_upward): Likewise.
12014 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12015 (j0_test_data): Update call to AUTO_TESTS_f_f.
12016 (j1_test_data): Likewise.
12017 (jn_test_data): Update call to AUTO_TESTS_if_f.
12018 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12019 (log_test_data): Update call to AUTO_TESTS_f_f.
12020 (log10_test_data): Likewise.
12021 (log1p_test_data): Likewise.
12022 (log2_test_data): Likewise.
12023 (pow_test_data): Update call to AUTO_TESTS_ff_f.
12024 (pow_tonearest_test_data): Likewise.
12025 (sin_test_data): Update call to AUTO_TESTS_f_f.
12026 (sin_test): Use ALL_RM_TEST.
12027 (sin_tonearest_test_data): Remove.
12028 (sin_test_tonearest): Likewise.
12029 (sin_towardzero_test_data): Likewise.
12030 (sin_test_towardzero): Likewise.
12031 (sin_downward_test_data): Likewise.
12032 (sin_test_downward): Likewise.
12033 (sin_upward_test_data): Likewise.
12034 (sin_test_upward): Likewise.
12035 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12036 (sinh_test_data): Update call to AUTO_TESTS_f_f.
12037 (sinh_test): Use ALL_RM_TEST.
12038 (sinh_tonearest_test_data): Remove.
12039 (sinh_test_tonearest): Likewise.
12040 (sinh_towardzero_test_data): Likewise.
12041 (sinh_test_towardzero): Likewise.
12042 (sinh_downward_test_data): Likewise.
12043 (sinh_test_downward): Likewise.
12044 (sinh_upward_test_data): Likewise.
12045 (sinh_test_upward): Likewise.
12046 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12047 (sqrt_test): Use ALL_RM_TEST.
12048 (sqrt_tonearest_test_data): Remove.
12049 (sqrt_test_tonearest): Likewise.
12050 (sqrt_towardzero_test_data): Likewise.
12051 (sqrt_test_towardzero): Likewise.
12052 (sqrt_downward_test_data): Likewise.
12053 (sqrt_test_downward): Likewise.
12054 (sqrt_upward_test_data): Likewise.
12055 (sqrt_test_upward): Likewise.
12056 (tan_test_data): Update call to AUTO_TESTS_f_f.
12057 (tan_test): Use ALL_RM_TEST.
12058 (tan_tonearest_test_data): Remove.
12059 (tan_test_tonearest): Likewise.
12060 (tan_towardzero_test_data): Likewise.
12061 (tan_test_towardzero): Likewise.
12062 (tan_downward_test_data): Likewise.
12063 (tan_test_downward): Likewise.
12064 (tan_upward_test_data): Likewise.
12065 (tan_test_upward): Likewise.
12066 (tanh_test_data): Update call to AUTO_TESTS_f_f.
12067 (tgamma_test_data): Likewise.
12068 (y0_test_data): Likewise.
12069 (y1_test_data): Likewise.
12070 (yn_test_data): Update call to AUTO_TESTS_if_f.
12071 (main): Do not call removed functions.
12072
d71aeee8
JM
120732014-03-19 Joseph Myers <joseph@codesourcery.com>
12074
12075 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12076 (ldexp_test_data): Remove.
12077 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
12078 scalbn_test_data.
12079 (scalb_test): Use ALL_RM_TEST.
12080
baaf1ded
AS
120812014-03-19 Andreas Schwab <schwab@suse.de>
12082
12083 * nscd/nscd.service: Also invalidate netgroup cache on reload.
12084
b1115e91
JM
120852014-03-19 Joseph Myers <joseph@codesourcery.com>
12086
12087 [BZ #16649]
12088 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12089 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12090 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12091 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12092 (__ASSUME_PREADV): Undefine.
12093 (__ASSUME_PWRITEV): Likewise.
12094
0283ecca
RM
120952014-03-18 Roland McGrath <roland@hack.frob.com>
12096
7d375303
RM
12097 * bits/mman-linux.h: Add comment about non-Linux use.
12098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12099 bits/mman-linux.h resting place.
12100
0283ecca
RM
12101 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12102 * bits/mman-linux.h: ... here.
12103
aebe1003
AZ
121042014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12105
12106 * conform/conformtest.pl: Add standard definition when calling C
12107 preprocessor on data files.
12108 (checknamespace): Remove unused variable.
12109
b29b6bb8
JM
121102014-03-18 Joseph Myers <joseph@codesourcery.com>
12111
12112 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12113 minus_oflow, plus_uflow and minus_uflow in expected results.
12114 * math/libm-test.inc (scalbn_test_data): Add more tests of
12115 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
12116 minus_uflow.
12117 (scalbn_test): Use ALL_RM_TEST.
12118 (scalbln_test_data): Add more tests of negative arguments. Use
12119 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12120 (scalbln_test): Use ALL_RM_TEST.
12121
c8f8fa15
RM
121222014-03-18 Roland McGrath <roland@hack.frob.com>
12123
12124 * scripts/abilist.awk: Ignore symbols marked with .hidden.
12125
fede7a5f
WN
121262014-03-18 Will Newton <will.newton@linaro.org>
12127
12128 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12129 inaccurate comment.
12130
80cf0a58
JM
121312014-03-18 Joseph Myers <joseph@codesourcery.com>
12132
12133 * Makerules [!subdir] (check-abi): Exit with error status if a
12134 test failed.
12135
b3620862
JM
121362014-03-17 Joseph Myers <joseph@codesourcery.com>
12137
12138 * math/libm-test.inc (nearbyint_test_data): Include all tests used
12139 for rint. Include results for all rounding modes.
12140 (nearbyint_test): Use ALL_RM_TEST.
12141 (rint_test_data): Include all tests used for nearbyint.
12142
788bba36
WN
121432014-03-17 Will Newton <will.newton@linaro.org>
12144
04ec140a
WN
12145 * nptl/sysdeps/pthread/pthread.h: Revert previous
12146 change.
12147
7579d8d5
WN
12148 * sysdeps/generic/ldsodefs.h: Revert previous
12149 change.
12150
c15cf13a
WN
12151 * libio/genops.c: Revert previous change.
12152 * libio/libioP.h: Likewise.
12153 * stdio-common/vfprintf.c: Likewise.
12154
d0ac1324
WN
12155 * sysdeps/generic/math_private.h: Revert previous
12156 change.
12157
9290130a
WN
12158 * sysdeps/generic/math_private.h: Check whether
12159 HAVE_RM_CTX is defined with #ifdef rather
12160 than #if.
12161
afb466fc
WN
12162 * argp/argp-fmtstream.h: Check whether
12163 __STRICT_ANSI__ is defined with #ifdef rather
12164 than #if.
12165 * argp/argp.h: Likewise.
12166
f7efd7c3
WN
12167 * libio/genops.c: Check whether
12168 _IO_JUMPS_OFFSET is defined with #ifdef rather
12169 than #if.
12170 * libio/libioP.h: Likewise.
12171 * stdio-common/vfprintf.c: Likewise.
12172
53f1bed3
WN
12173 * sysdeps/generic/ldsodefs.h: Check whether
12174 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12175 than #if.
12176
788bba36
WN
12177 * nptl/sysdeps/pthread/pthread.h: Check
12178 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12179 its value.
12180
fcd89ebe
SP
121812014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12182
ae42bbc5
SP
12183 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12184 setting O_APPEND.
12185 * libio/tst-ftell-active-handler.c (do_append_test): Add a
12186 test case.
12187
ea33158c
SP
12188 [BZ #16680]
12189 * libio/fileops.c (_IO_file_open): Seek to end of file but
12190 don't cache the offset.
12191 (get_file_offset): Remove function.
12192 (do_ftell): Use cached offset when available.
12193 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12194 don't cache the offset.
12195 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12196 case.
12197 (do_one_test): Call it.
12198 (do_ftell_test): Fix up expected old offset for a+ mode.
12199 * libio/wfileops.c (do_ftell_wide): Used cached offset when
12200 available.
12201
b1dbb426
SP
12202 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12203 up test status with function return status.
12204 (do_write_test): Likewise.
12205 (do_append_test): Likewise.
12206
fcd89ebe
SP
12207 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12208 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12209 Remove.
12210
9962a2d3
JM
122112014-03-17 Joseph Myers <joseph@codesourcery.com>
12212
12213 * math/gen-libm-test.pl (parse_args): Handle results specified for
12214 each rounding mode separately.
12215 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12216 tests and results from lrint_tonearest_test_data,
12217 lrint_towardzero_test_data, lrint_downward_test_data and
12218 lrint_upward_test_data.
12219 (lrint_test): Use ALL_RM_TEST.
12220 (lrint_tonearest_test_data): Remove.
12221 (lrint_test_tonearest): Likewise.
12222 (lrint_towardzero_test_data): Likewise.
12223 (lrint_test_towardzero): Likewise.
12224 (lrint_downward_test_data): Likewise.
12225 (lrint_test_downward): Likewise.
12226 (lrint_upward_test_data): Likewise.
12227 (lrint_test_upward): Likewise.
12228 (llrint_test_data): Merge in per-rounding-mode tests and results
12229 from llrint_tonearest_test_data, llrint_towardzero_test_data,
12230 llrint_downward_test_data and llrint_upward_test_data.
12231 (llrint_test): Use ALL_RM_TEST.
12232 (llrint_tonearest_test_data): Remove.
12233 (llrint_test_tonearest): Likewise.
12234 (llrint_towardzero_test_data): Likewise.
12235 (llrint_test_towardzero): Likewise.
12236 (llrint_downward_test_data): Likewise.
12237 (llrint_test_downward): Likewise.
12238 (llrint_upward_test_data): Likewise.
12239 (llrint_test_upward): Likewise.
12240 (rint_test_data): Merge in per-rounding-mode tests and results
12241 from rint_tonearest_test_data, rint_towardzero_test_data,
12242 rint_downward_test_data and rint_upward_test_data. Add
12243 per-rounding-mode results for tests not in those arrays.
12244 (rint_test): Use ALL_RM_TEST.
12245 (rint_tonearest_test_data): Remove.
12246 (rint_test_tonearest): Likewise.
12247 (rint_towardzero_test_data): Likewise.
12248 (rint_test_towardzero): Likewise.
12249 (rint_downward_test_data): Likewise.
12250 (rint_test_downward): Likewise.
12251 (rint_upward_test_data): Likewise.
12252 (rint_test_upward): Likewise.
12253 (main): Don't call removed functions.
12254
5006148e
RM
122552014-03-14 Roland McGrath <roland@hack.frob.com>
12256
12257 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12258 "Compiled on ..." crapola. It is anti-useful.
12259
d6fe5e58
JM
122602014-03-14 Joseph Myers <joseph@codesourcery.com>
12261
12262 * scripts/evaluate-test.sh: Handle fourth argument to determine
12263 whether test run should stop on failure.
12264 * Makeconfig (stop-on-test-failure): New variable.
12265 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12266 $(stop-on-test-failure).
12267 * Makefile (tests): Give a summary of results from testing and
12268 exit with failure status if they include an ERROR or FAIL.
12269 (xtests): Likewise.
12270 * manual/install.texi (Configuring and compiling): Mention
12271 stop-on-test-failure=y.
12272 * INSTALL: Regenerated.
12273
498a2233
RM
122742014-03-14 Roland McGrath <roland@hack.frob.com>
12275
22dbc19d
RM
12276 * scripts/versionlist.awk: New file.
12277 * Makerules [$(build-shared) = yes]
12278 (postclean-generated): Add Versions.def, not Versions.def.v and
12279 Versions.def.v.i.
12280 ($(common-objpfx)Versions.def.v.i): Target removed.
12281 ($(common-objpfx)Versions.def): New target.
12282 ($(common-objpfx)Versions.all): Depend on that rather that
12283 $(common-objpfx)Versions.def.v.
12284 * Versions.def: File removed.
12285
498a2233
RM
12286 * Makeconfig (+gccwarn): Add -Wundef.
12287 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12288 a dl-sysdep.h breaking its contract.
12289 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12290 * include/stackinfo.h: New file.
12291 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12292 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12293 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12294 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12295 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12296 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12297 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12298 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12299 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12300 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12301 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12302 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12303 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12304 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12305 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12306
c7de5025
AZ
123072014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12308
12309 [BZ #16707]
12310 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12311 implementation.
12312 * math/libm-test.inc (round_test_data): Add more tests.
12313
98fb27a3
AZ
12314 [BZ #16706]
12315 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12316 implementation.
12317 * math/libm-test.inc (nearbyint_test_data): Add more tests.
12318
374f7f61
AZ
12319 [BZ #16701]
12320 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12321 implementation.
12322 * math/libm-test.inc (ceil_test_data): Add more tests.
12323
4655c291
AZ
12324 * math/libm-test.inc (trunc_test_data): Add more tests related to
12325 BZ#16414.
12326
d7329d4b
RM
123272014-03-14 Roland McGrath <roland@hack.frob.com>
12328
12329 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12330 with #if rather than #ifdef.
12331 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12332
aa4de9ce
L
123332014-03-14 H.J. Lu <hongjiu.lu@intel.com>
12334
12335 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12336 first. Disable AVX-512 GCC support if assembler doesn't support
12337 it.
12338 * sysdeps/x86_64/configure: Regenerated.
12339
2e03fae7
CD
123402014-03-13 Carlos O'Donell <carlos@redhat.com>
12341
12342 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12343 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12344 (__old_pthread_attr_setstack): Likewise.
12345 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12346 [!_STACK_GROWS_DOWN]: Likewise.
12347
43ca83ec
MF
123482014-03-13 Mike Frysinger <vapier@gentoo.org>
12349
12350 * config.make.in (have-bash2): Delete.
12351 * configure.ac (libc_cv_have_bash2): Delete.
12352 * configure: Regenerate.
12353 * elf/Makefile (common-ldd-rewrite): Rename to ...
12354 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
12355 (sh-ldd-rewrite): Delete.
12356 (bash-ldd-rewrite): Delete.
12357 (have-bash2): Delete checks.
57f41c40
AS
12358 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12359 ldd-rewrite.
c66e48b4
MF
12360
12361 * config.make.in (have-ksh): Delete.
12362 (KSH): Delete.
12363 * configure.ac (libc_cv_have_ksh): Delete.
12364 * configure: Regenerate.
12365
b93834ef
MF
12366 * elf/Makefile: Delete $(have-ksh) check.
12367 ($(objpfx)sotruss): Change KSH to BASH.
12368 * elf/sotruss.ksh: Rename to ...
12369 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
12370 function style to match POSIX. Drop ksh vim mode setting.
12371
f3a4632a
MF
12372 * manual/time.texi (Specifying the Time Zone with TZ): Change
12373 Tuesday to Thursday.
12374
5896c8bd
MF
12375 * debug/tst-longjmp_chk2.c: Update header comment.
12376 (stackoverflow_handler): Add comment. Call assert on pass value.
12377
2d63a517
IZ
123782014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
12379
7e54fd04 12380 [BZ #16194]
2d63a517
IZ
12381 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12382 (HAVE_AVX512_ASM_SUPPORT): Likewise.
12383 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12384 (La_x86_64_vector): Add zmm.
12385 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12386 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12387 ($(objpfx)tst-audit10): New target.
12388 ($(objpfx)tst-audit10.out): Likewise.
12389 (tst-audit10-ENV): New.
12390 (AVX512-CFLAGS): Likewise.
12391 (CFLAGS-tst-audit10.c): Likewise.
12392 (CFLAGS-tst-auditmod10a.c): Likewise.
12393 (CFLAGS-tst-auditmod10b.c): Likewise.
12394 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12395 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12396 * sysdeps/x86_64/configure: Regenerated.
12397 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12398 AVX-512 zmm register support.
12399 (_dl_x86_64_save_sse): Likewise.
12400 (_dl_x86_64_restore_sse): Likewise.
12401 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12402 size vector registers.
12403 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12404 (ZMM_SIZE): Likewise.
12405 * sysdeps/x86_64/tst-audit10.c: New file.
12406 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12407 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12408
44c4e5d5
RM
124092014-03-13 Roland McGrath <roland@hack.frob.com>
12410
12411 * configure.ac (HAVE_EHDR_START): New check.
12412 * configure: Regenerated.
12413 * config.h.in (HAVE_EHDR_START): New #undef.
12414 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12415 assuming the lowest-addressed segment maps the start of the file.
12416
acd6e389
JM
124172014-03-13 Joseph Myers <joseph@codesourcery.com>
12418
12419 * INSTALL: Regenerated.
12420
6f918f36
WN
124212014-03-13 Will Newton <will.newton@linaro.org>
12422
12423 * manual/setjmp.texi (System V contexts): Improve
12424 clarity and grammar of documentation.
12425
798212a0
PP
124262014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
12427
12428 [BZ #16381]
798212a0 12429 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 12430 (tests-pie): Add tst-pie2.
798212a0
PP
12431 * elf/tst-pie2.c: New file.
12432 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12433 for ET_EXEC.
12434 * elf/rtld.c (map_doit): Load executable as lt_executable.
12435 (dl_main): Likewise.
12436
abe6d90c
JM
124372014-03-12 Joseph Myers <joseph@codesourcery.com>
12438
12439 [BZ #16642]
12440 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12441 (__ASSUME_PSELECT): Undefine.
12442
dd3946c6
AZ
124432014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12444
12445 [BZ #16689]
12446 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12447 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12448 static build.
12449 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12450 selector for static builds.
12451
c44496df
SP
124522014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12453
12454 [BZ #16695]
12455 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12456 key in the buffer.
12457
27c7220a
AZ
124582014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12459
57f41c40
AS
12460 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12461 IFUNC selector for static builds.
27c7220a 12462
600fa361
JM
124632014-03-11 Joseph Myers <joseph@codesourcery.com>
12464
76c96cf7
JM
12465 * sysdeps/mips/math_private.h [__mips_hard_float]
12466 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12467 libc_feresetround_mips_ctx.
12468 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12469 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12470 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12471
600fa361
JM
12472 [BZ #16677]
12473 * math/s_nextafter.c (__nextafter): Do not return value from
12474 overflowing computation.
12475 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12476 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12477 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12478 Likewise.
12479 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12480 Likewise.
12481 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12482 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12483
d7706c32
RM
124842014-03-11 Roland McGrath <roland@hack.frob.com>
12485
12486 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12487 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12488 Move sfi_sp use from the load-multiple (that no longer sets sp) to
12489 the new mov targetting sp.
12490
4facea47
AZ
124912014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12492
12493 [BZ #16683]
12494 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12495 Define it for static builds as well.
12496 (NO_BZERO_IMPL): Likewise.
12497
e65caf1f
VR
124982014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12499
12500 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12501 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12502 multiarch strspn for PPC64.
12503 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12504 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12506 (__libc_ifunc_impl_list): Likewise.
12507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12508 multiarch optimizations
12509 * string/strspn.c (strspn): Using macro to redefine symbol name.
12510
ba9cc071
AZ
125112014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12512 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12513
12514 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12515 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12516 multiarch strncat for PPC64.
12517 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12518 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12520 (__libc_ifunc_impl_list): Likewise.
12521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12522 multiarch optimizations
12523
8b4ff974
SP
125242014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12525
12526 [BZ #16639]
12527 * nscd/nscd.service: Make service type forking.
12528
54b46a4b
AZ
125292014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12530
12531 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12532 sign in non default rounding modes.
12533 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12534
e9996ef7
JM
125352014-03-08 Joseph Myers <joseph@codesourcery.com>
12536
12537 * math/libm-test.inc (ALL_RM_TEST): New macro.
12538 (ceil_test): Use ALL_RM_TEST.
12539 (cimag_test): Likewise.
12540 (conj_test): Likewise.
12541 (copysign_test): Likewise.
12542 (cproj_test): Likewise.
12543 (creal_test): Likewise.
12544 (fabs_test): Likewise.
12545 (floor_test): Likewise.
12546 (fmax_test): Likewise.
12547 (fmin_test): Likewise.
12548 (fmod_test): Likewise.
12549 (fpclassify_test): Likewise.
12550 (frexp_test): Likewise.
12551 (ilogb_test): Likewise.
12552 (isfinite_test): Likewise.
12553 (finite_test): Likewise.
12554 (isgreater_test): Likewise.
12555 (isgreaterequal_test): Likewise.
12556 (isinf_test): Likewise.
12557 (isless_test): Likewise.
12558 (islessequal_test): Likewise.
12559 (islessgreater_test): Likewise.
12560 (isnan_test): Likewise.
12561 (isnormal_test): Likewise.
12562 (issignaling_test): Likewise.
12563 (isunordered_test): Likewise.
12564 (logb_test): Likewise.
12565 (logb_downward_test_data): Remove.
12566 (logb_test_downward): Likewise.
12567 (lround_test): Use ALL_RM_TEST.
12568 (llround_test): Likewise.
12569 (modf_test): Likewise.
12570 (nexttoward_test): Likewise.
12571 (remainder_test): Likewise.
12572 (drem_test): Likewise.
12573 (remainder_tonearest_test_data): Likewise.
12574 (remainder_test_tonearest): Likewise.
12575 (drem_test_tonearest): Likewise.
12576 (remainder_towardzero_test_data): Likewise.
12577 (remainder_test_towardzero): Likewise.
12578 (drem_test_towardzero): Likewise.
12579 (remainder_downward_test_data): Likewise.
12580 (remainder_test_downward): Likewise.
12581 (drem_test_downward): Likewise.
12582 (remainder_upward_test_data): Likewise.
12583 (remainder_test_upward): Likewise.
12584 (drem_test_upward): Likewise.
12585 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12586 (round_test): Use ALL_RM_TEST.
12587 (signbit_test): Likewise.
12588 (trunc_test): Likewise.
12589 (significand_test): Likewise.
12590 (main): Don't call removed functions.
12591
bc61d27c
JM
125922014-03-07 Joseph Myers <joseph@codesourcery.com>
12593
5c780849
JM
12594 [BZ #16674]
12595 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12596 || __USE_XOPEN2K8].
12597 (ILL_ILLOPN): Likewise.
12598 (ILL_ILLADR): Likewise.
12599 (ILL_ILLTRP): Likewise.
12600 (ILL_PRVOPC): Likewise.
12601 (ILL_PRVREG): Likewise.
12602 (ILL_COPROC): Likewise.
12603 (ILL_BADSTK): Likewise.
12604 (FPE_INTDIV): Likewise.
12605 (FPE_INTOVF): Likewise.
12606 (FPE_FLTDIV): Likewise.
12607 (FPE_FLTOVF): Likewise.
12608 (FPE_FLTUND): Likewise.
12609 (FPE_FLTRES): Likewise.
12610 (FPE_FLTINV): Likewise.
12611 (FPE_FLTSUB): Likewise.
12612 (SEGV_MAPERR): Likewise.
12613 (SEGV_ACCERR): Likewise.
12614 (BUS_ADRALN): Likewise.
12615 (BUS_ADRERR): Likewise.
12616 (BUS_OBJERR): Likewise.
12617 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12618 (TRAP_TRACE): Likewise.
12619 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12620 __USE_XOPEN2K8].
12621 (CLD_KILLED): Likewise.
12622 (CLD_DUMPED): Likewise.
12623 (CLD_TRAPPED): Likewise.
12624 (CLD_STOPPED): Likewise.
12625 (CLD_CONTINUED): Likewise.
12626 (POLL_IN): Likewise.
12627 (POLL_OUT): Likewise.
12628 (POLL_MSG): Likewise.
12629 (POLL_ERR): Likewise.
12630 (POLL_PRI): Likewise.
12631 (POLL_HUP): Likewise.
12632 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12633 Likewise.
12634 (ILL_ILLOPN): Likewise.
12635 (ILL_ILLADR): Likewise.
12636 (ILL_ILLTRP): Likewise.
12637 (ILL_PRVOPC): Likewise.
12638 (ILL_PRVREG): Likewise.
12639 (ILL_COPROC): Likewise.
12640 (ILL_BADSTK): Likewise.
12641 (FPE_INTDIV): Likewise.
12642 (FPE_INTOVF): Likewise.
12643 (FPE_FLTDIV): Likewise.
12644 (FPE_FLTOVF): Likewise.
12645 (FPE_FLTUND): Likewise.
12646 (FPE_FLTRES): Likewise.
12647 (FPE_FLTINV): Likewise.
12648 (FPE_FLTSUB): Likewise.
12649 (SEGV_MAPERR): Likewise.
12650 (SEGV_ACCERR): Likewise.
12651 (BUS_ADRALN): Likewise.
12652 (BUS_ADRERR): Likewise.
12653 (BUS_OBJERR): Likewise.
12654 (BUS_MCEERR_AR): Likewise.
12655 (BUS_MCEERR_AO): Likewise.
12656 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12657 (TRAP_TRACE): Likewise.
12658 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12659 __USE_XOPEN2K8].
12660 (CLD_KILLED): Likewise.
12661 (CLD_DUMPED): Likewise.
12662 (CLD_TRAPPED): Likewise.
12663 (CLD_STOPPED): Likewise.
12664 (CLD_CONTINUED): Likewise.
12665 (POLL_IN): Likewise.
12666 (POLL_OUT): Likewise.
12667 (POLL_MSG): Likewise.
12668 (POLL_ERR): Likewise.
12669 (POLL_PRI): Likewise.
12670 (POLL_HUP): Likewise.
12671 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12672 (ILL_ILLOPN): Likewise.
12673 (ILL_ILLADR): Likewise.
12674 (ILL_ILLTRP): Likewise.
12675 (ILL_PRVOPC): Likewise.
12676 (ILL_PRVREG): Likewise.
12677 (ILL_COPROC): Likewise.
12678 (ILL_BADSTK): Likewise.
12679 (FPE_INTDIV): Likewise.
12680 (FPE_INTOVF): Likewise.
12681 (FPE_FLTDIV): Likewise.
12682 (FPE_FLTOVF): Likewise.
12683 (FPE_FLTUND): Likewise.
12684 (FPE_FLTRES): Likewise.
12685 (FPE_FLTINV): Likewise.
12686 (FPE_FLTSUB): Likewise.
12687 (SEGV_MAPERR): Likewise.
12688 (SEGV_ACCERR): Likewise.
12689 (BUS_ADRALN): Likewise.
12690 (BUS_ADRERR): Likewise.
12691 (BUS_OBJERR): Likewise.
12692 (BUS_MCEERR_AR): Likewise.
12693 (BUS_MCEERR_AO): Likewise.
12694 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12695 (TRAP_TRACE): Likewise.
12696 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12697 __USE_XOPEN2K8].
12698 (CLD_KILLED): Likewise.
12699 (CLD_DUMPED): Likewise.
12700 (CLD_TRAPPED): Likewise.
12701 (CLD_STOPPED): Likewise.
12702 (CLD_CONTINUED): Likewise.
12703 (POLL_IN): Likewise.
12704 (POLL_OUT): Likewise.
12705 (POLL_MSG): Likewise.
12706 (POLL_ERR): Likewise.
12707 (POLL_PRI): Likewise.
12708 (POLL_HUP): Likewise.
12709 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12710 Likewise.
12711 (ILL_ILLOPN): Likewise.
12712 (ILL_ILLADR): Likewise.
12713 (ILL_ILLTRP): Likewise.
12714 (ILL_PRVOPC): Likewise.
12715 (ILL_PRVREG): Likewise.
12716 (ILL_COPROC): Likewise.
12717 (ILL_BADSTK): Likewise.
12718 (ILL_BADIADDR): Likewise.
12719 (ILL_BREAK): Likewise.
12720 (FPE_INTDIV): Likewise.
12721 (FPE_INTOVF): Likewise.
12722 (FPE_FLTDIV): Likewise.
12723 (FPE_FLTOVF): Likewise.
12724 (FPE_FLTUND): Likewise.
12725 (FPE_FLTRES): Likewise.
12726 (FPE_FLTINV): Likewise.
12727 (FPE_FLTSUB): Likewise.
12728 (FPE_DECOVF): Likewise.
12729 (FPE_DECDIV): Likewise.
12730 (FPE_DECERR): Likewise.
12731 (FPE_INVASC): Likewise.
12732 (FPE_INVDEC): Likewise.
12733 (SEGV_MAPERR): Likewise.
12734 (SEGV_ACCERR): Likewise.
12735 (SEGV_PSTKOVF): Likewise.
12736 (BUS_ADRALN): Likewise.
12737 (BUS_ADRERR): Likewise.
12738 (BUS_OBJERR): Likewise.
12739 (BUS_MCEERR_AR): Likewise.
12740 (BUS_MCEERR_AO): Likewise.
12741 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12742 (TRAP_TRACE): Likewise.
12743 (TRAP_BRANCH): Likewise.
12744 (TRAP_HWBKPT): Likewise.
12745 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12746 __USE_XOPEN2K8].
12747 (CLD_KILLED): Likewise.
12748 (CLD_DUMPED): Likewise.
12749 (CLD_TRAPPED): Likewise.
12750 (CLD_STOPPED): Likewise.
12751 (CLD_CONTINUED): Likewise.
12752 (POLL_IN): Likewise.
12753 (POLL_OUT): Likewise.
12754 (POLL_MSG): Likewise.
12755 (POLL_ERR): Likewise.
12756 (POLL_PRI): Likewise.
12757 (POLL_HUP): Likewise.
12758 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12759 (ILL_ILLOPN): Likewise.
12760 (ILL_ILLADR): Likewise.
12761 (ILL_ILLTRP): Likewise.
12762 (ILL_PRVOPC): Likewise.
12763 (ILL_PRVREG): Likewise.
12764 (ILL_COPROC): Likewise.
12765 (ILL_BADSTK): Likewise.
12766 (FPE_INTDIV): Likewise.
12767 (FPE_INTOVF): Likewise.
12768 (FPE_FLTDIV): Likewise.
12769 (FPE_FLTOVF): Likewise.
12770 (FPE_FLTUND): Likewise.
12771 (FPE_FLTRES): Likewise.
12772 (FPE_FLTINV): Likewise.
12773 (FPE_FLTSUB): Likewise.
12774 (SEGV_MAPERR): Likewise.
12775 (SEGV_ACCERR): Likewise.
12776 (BUS_ADRALN): Likewise.
12777 (BUS_ADRERR): Likewise.
12778 (BUS_OBJERR): Likewise.
12779 (BUS_MCEERR_AR): Likewise.
12780 (BUS_MCEERR_AO): Likewise.
12781 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12782 (TRAP_TRACE): Likewise.
12783 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12784 __USE_XOPEN2K8].
12785 (CLD_KILLED): Likewise.
12786 (CLD_DUMPED): Likewise.
12787 (CLD_TRAPPED): Likewise.
12788 (CLD_STOPPED): Likewise.
12789 (CLD_CONTINUED): Likewise.
12790 (POLL_IN): Likewise.
12791 (POLL_OUT): Likewise.
12792 (POLL_MSG): Likewise.
12793 (POLL_ERR): Likewise.
12794 (POLL_PRI): Likewise.
12795 (POLL_HUP): Likewise.
12796 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12797 (ILL_ILLOPN): Likewise.
12798 (ILL_ILLADR): Likewise.
12799 (ILL_ILLTRP): Likewise.
12800 (ILL_PRVOPC): Likewise.
12801 (ILL_PRVREG): Likewise.
12802 (ILL_COPROC): Likewise.
12803 (ILL_BADSTK): Likewise.
12804 (FPE_INTDIV): Likewise.
12805 (FPE_INTOVF): Likewise.
12806 (FPE_FLTDIV): Likewise.
12807 (FPE_FLTOVF): Likewise.
12808 (FPE_FLTUND): Likewise.
12809 (FPE_FLTRES): Likewise.
12810 (FPE_FLTINV): Likewise.
12811 (FPE_FLTSUB): Likewise.
12812 (SEGV_MAPERR): Likewise.
12813 (SEGV_ACCERR): Likewise.
12814 (BUS_ADRALN): Likewise.
12815 (BUS_ADRERR): Likewise.
12816 (BUS_OBJERR): Likewise.
12817 (BUS_MCEERR_AR): Likewise.
12818 (BUS_MCEERR_AO): Likewise.
12819 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12820 (TRAP_TRACE): Likewise.
12821 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12822 __USE_XOPEN2K8].
12823 (CLD_KILLED): Likewise.
12824 (CLD_DUMPED): Likewise.
12825 (CLD_TRAPPED): Likewise.
12826 (CLD_STOPPED): Likewise.
12827 (CLD_CONTINUED): Likewise.
12828 (POLL_IN): Likewise.
12829 (POLL_OUT): Likewise.
12830 (POLL_MSG): Likewise.
12831 (POLL_ERR): Likewise.
12832 (POLL_PRI): Likewise.
12833 (POLL_HUP): Likewise.
12834 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12835 (ILL_ILLOPN): Likewise.
12836 (ILL_ILLADR): Likewise.
12837 (ILL_ILLTRP): Likewise.
12838 (ILL_PRVOPC): Likewise.
12839 (ILL_PRVREG): Likewise.
12840 (ILL_COPROC): Likewise.
12841 (ILL_BADSTK): Likewise.
12842 (FPE_INTDIV): Likewise.
12843 (FPE_INTOVF): Likewise.
12844 (FPE_FLTDIV): Likewise.
12845 (FPE_FLTOVF): Likewise.
12846 (FPE_FLTUND): Likewise.
12847 (FPE_FLTRES): Likewise.
12848 (FPE_FLTINV): Likewise.
12849 (FPE_FLTSUB): Likewise.
12850 (SEGV_MAPERR): Likewise.
12851 (SEGV_ACCERR): Likewise.
12852 (BUS_ADRALN): Likewise.
12853 (BUS_ADRERR): Likewise.
12854 (BUS_OBJERR): Likewise.
12855 (BUS_MCEERR_AR): Likewise.
12856 (BUS_MCEERR_AO): Likewise.
12857 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12858 (TRAP_TRACE): Likewise.
12859 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12860 __USE_XOPEN2K8].
12861 (CLD_KILLED): Likewise.
12862 (CLD_DUMPED): Likewise.
12863 (CLD_TRAPPED): Likewise.
12864 (CLD_STOPPED): Likewise.
12865 (CLD_CONTINUED): Likewise.
12866 (POLL_IN): Likewise.
12867 (POLL_OUT): Likewise.
12868 (POLL_MSG): Likewise.
12869 (POLL_ERR): Likewise.
12870 (POLL_PRI): Likewise.
12871 (POLL_HUP): Likewise.
12872 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12873 (ILL_ILLOPN): Likewise.
12874 (ILL_ILLADR): Likewise.
12875 (ILL_ILLTRP): Likewise.
12876 (ILL_PRVOPC): Likewise.
12877 (ILL_PRVREG): Likewise.
12878 (ILL_COPROC): Likewise.
12879 (ILL_BADSTK): Likewise.
12880 (ILL_DBLFLT): Likewise.
12881 (ILL_HARDWALL): Likewise.
12882 (FPE_INTDIV): Likewise.
12883 (FPE_INTOVF): Likewise.
12884 (FPE_FLTDIV): Likewise.
12885 (FPE_FLTOVF): Likewise.
12886 (FPE_FLTUND): Likewise.
12887 (FPE_FLTRES): Likewise.
12888 (FPE_FLTINV): Likewise.
12889 (FPE_FLTSUB): Likewise.
12890 (SEGV_MAPERR): Likewise.
12891 (SEGV_ACCERR): Likewise.
12892 (BUS_ADRALN): Likewise.
12893 (BUS_ADRERR): Likewise.
12894 (BUS_OBJERR): Likewise.
12895 (BUS_MCEERR_AR): Likewise.
12896 (BUS_MCEERR_AO): Likewise.
12897 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12898 (TRAP_TRACE): Likewise.
12899 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12900 __USE_XOPEN2K8].
12901 (CLD_KILLED): Likewise.
12902 (CLD_DUMPED): Likewise.
12903 (CLD_TRAPPED): Likewise.
12904 (CLD_STOPPED): Likewise.
12905 (CLD_CONTINUED): Likewise.
12906 (POLL_IN): Likewise.
12907 (POLL_OUT): Likewise.
12908 (POLL_MSG): Likewise.
12909 (POLL_ERR): Likewise.
12910 (POLL_PRI): Likewise.
12911 (POLL_HUP): Likewise.
12912 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12913 (ILL_ILLOPN): Likewise.
12914 (ILL_ILLADR): Likewise.
12915 (ILL_ILLTRP): Likewise.
12916 (ILL_PRVOPC): Likewise.
12917 (ILL_PRVREG): Likewise.
12918 (ILL_COPROC): Likewise.
12919 (ILL_BADSTK): Likewise.
12920 (FPE_INTDIV): Likewise.
12921 (FPE_INTOVF): Likewise.
12922 (FPE_FLTDIV): Likewise.
12923 (FPE_FLTOVF): Likewise.
12924 (FPE_FLTUND): Likewise.
12925 (FPE_FLTRES): Likewise.
12926 (FPE_FLTINV): Likewise.
12927 (FPE_FLTSUB): Likewise.
12928 (SEGV_MAPERR): Likewise.
12929 (SEGV_ACCERR): Likewise.
12930 (BUS_ADRALN): Likewise.
12931 (BUS_ADRERR): Likewise.
12932 (BUS_OBJERR): Likewise.
12933 (BUS_MCEERR_AR): Likewise.
12934 (BUS_MCEERR_AO): Likewise.
12935 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12936 (TRAP_TRACE): Likewise.
12937 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12938 __USE_XOPEN2K8].
12939 (CLD_KILLED): Likewise.
12940 (CLD_DUMPED): Likewise.
12941 (CLD_TRAPPED): Likewise.
12942 (CLD_STOPPED): Likewise.
12943 (CLD_CONTINUED): Likewise.
12944 (POLL_IN): Likewise.
12945 (POLL_OUT): Likewise.
12946 (POLL_MSG): Likewise.
12947 (POLL_ERR): Likewise.
12948 (POLL_PRI): Likewise.
12949 (POLL_HUP): Likewise.
12950 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12951 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12952
bc61d27c
JM
12953 [BZ #16670]
12954 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12955 before #include of <time.h>.
12956 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12957 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12958 (test-xfail-UNIX98/sched.h/conform): Likewise.
12959
302949e2
MS
129602014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12961
12962 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12963 error absence of trapping exception support.
12964 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12965
a00f522a
JM
129662014-03-07 Joseph Myers <joseph@codesourcery.com>
12967
6f99f280
JM
12968 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12969 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12970 * timezone/Makefile (testdata): Move definition above include of
12971 Rules.
12972 (test-zones): New variable.
12973 (tests-special): Add zone files.
12974 (build-testdata): Use $(evaluate-test).
12975
0b20a9e8
JM
12976 * elf/Makefile (tests-special): Rename tests to end with .out.
12977 ($(objpfx)noload-mem): Likewise.
12978 ($(objpfx)tst-leaks1-mem): Likewise.
12979 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12980 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12981 $(objpfx)test-iconvconfig.out.
12982 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12983 set -e inside subshell and redirect output to file.
12984 * iconvdata/Makefile (generated): Rename tests to end with .out.
12985 Correct type.
12986 (tests-special): Rename tests to end with .out.
12987 ($(objpfx)mtrace-tst-loading): Likewise.
12988 * intl/Makefile (generated): Likewise.
12989 (tests-special): Likewise.
12990 ($(objpfx)mtrace-tst-gettext): Likewise.
12991 * misc/Makefile (generated): Likewise.
12992 (tests-special): Likewise.
12993 ($(objpfx)tst-error1-mem): Likewise.
12994 * nptl/Makefile (tests-special): Likewise.
12995 ($(objpfx)tst-stack3-mem): Likewise.
12996 (generated): Likewise.
12997 * posix/Makefile (generated): Likewise.
12998 (tests-special): Likewise.
12999 (xtests-special): Likewise.
13000 ($(objpfx)tst-fnmatch-mem): Likewise.
13001 ($(objpfx)bug-regex2-mem): Likewise.
13002 ($(objpfx)bug-regex14-mem): Likewise.
13003 ($(objpfx)bug-regex21-mem): Likewise.
13004 ($(objpfx)bug-regex31-mem): Likewise.
13005 ($(objpfx)tst-vfork3-mem): Likewise.
13006 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13007 ($(objpfx)tst-pcre-mem): Likewise.
13008 ($(objpfx)tst-boost-mem): Likewise.
13009 ($(objpfx)bug-ga2-mem): Likewise.
13010 ($(objpfx)bug-glob2-mem): Likewise.
13011 * resolv/Makefile (generate): Likewise.
13012 (tests-special): Likewise.
13013 (xtests-special): Likewise.
13014 (generated): Likewise.
13015 ($(objpfx)mtrace-tst-leaks): Likewise.
13016 ($(objpfx)mtrace-tst-leaks2): Likewise.
13017
265d52ab
JM
13018 * scripts/merge-test-results.sh: New file.
13019 * Makefile (tests-special-notdir): New variable.
13020 (tests): Run merge-test-results.sh.
13021 (xtests): Likewise.
13022 * Rules (tests-special-notdir): New variable.
13023 (xtests-special-notdir): Likewise.
13024 (tests): Run merge-test-results.sh
13025 (xtests): Likewise.
13026
54ee292d
JM
13027 * Makeconfig (test-xfail-name): New variable.
13028 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13029 compute variable name for expected failures.
13030 * conform/Makefile (conformtest-headers-data): New variable.
13031 (conformtest-standards): Likewise.
13032 (conformtest-headers-ISO): Likewise.
13033 (conformtest-headers-ISO99): Likewise.
13034 (conformtest-headers-ISO11): Likewise.
13035 (conformtest-headers-POSIX): Likewise.
13036 (conformtest-headers-XPG3): Likewise.
13037 (conformtest-headers-XPG4): Likewise.
13038 (conformtest-headers-UNIX98): Likewise.
13039 (conformtest-headers-XOPEN2K): Likewise.
13040 (conformtest-headers-POSIX2008): Likewise.
13041 (conformtest-headers-XOPEN2K8): Likewise.
13042 (conformtest-header-list-base): Likewise.
13043 (conformtest-header-list-tests): Likewise.
13044 (conformtest-header-base): Likewise.
13045 (conformtest-header-tests): Likewise.
13046 (tests-special): Add $(conformtest-header-list-tests). If
13047 [$(fast-check) && !$(cross-compiling)], add
13048 $(conformtest-header-tests) instead of
13049 $(objpfx)run-conformtest.out.
13050 (generated): Add $(conformtest-header-list-base). If
13051 [$(fast-check) && !$(cross-compiling)], add
13052 $(conformtest-header-base). Remove previous setting.
13053 ($(conformtest-header-list-tests)): New target.
13054 (test-xfail-run-conformtest): Remove variable.
13055 ($(objpfx)run-conformtest.out): Remove target.
13056 (test-xfail-ISO11/complex.h/conform): New variable.
13057 (test-xfail-ISO11/stdalign.h/conform): Likewise.
13058 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13059 (test-xfail-XPG3/varargs.h/conform): Likewise.
13060 (test-xfail-XPG4/varargs.h/conform): Likewise.
13061 (test-xfail-UNIX98/varargs.h/conform): Likewise.
13062 (test-xfail-XPG4/ndbm.h/conform): Likewise.
13063 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13064 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13065 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13066 (test-xfail-XPG3/fcntl.h/conform): Likewise.
13067 (test-xfail-XPG3/ftw.h/conform): Likewise.
13068 (test-xfail-XPG3/grp.h/conform): Likewise.
13069 (test-xfail-XPG3/langinfo.h/conform): Likewise.
13070 (test-xfail-XPG3/limits.h/conform): Likewise.
13071 (test-xfail-XPG3/pwd.h/conform): Likewise.
13072 (test-xfail-XPG3/search.h/conform): Likewise.
13073 (test-xfail-XPG3/signal.h/conform): Likewise.
13074 (test-xfail-XPG3/stdio.h/conform): Likewise.
13075 (test-xfail-XPG3/stdlib.h/conform): Likewise.
13076 (test-xfail-XPG3/string.h/conform): Likewise.
13077 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13078 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13079 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13080 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13081 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13082 (test-xfail-XPG3/sys/types.h/conform): Likewise.
13083 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13084 (test-xfail-XPG3/termios.h/conform): Likewise.
13085 (test-xfail-XPG3/time.h/conform): Likewise.
13086 (test-xfail-XPG3/unistd.h/conform): Likewise.
13087 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13088 (test-xfail-XPG4/fcntl.h/conform): Likewise.
13089 (test-xfail-XPG4/langinfo.h/conform): Likewise.
13090 (test-xfail-XPG4/netdb.h/conform): Likewise.
13091 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13092 (test-xfail-XPG4/signal.h/conform): Likewise.
13093 (test-xfail-XPG4/stdio.h/conform): Likewise.
13094 (test-xfail-XPG4/stdlib.h/conform): Likewise.
13095 (test-xfail-XPG4/stropts.h/conform): Likewise.
13096 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13097 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13098 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13099 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13100 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13101 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13102 (test-xfail-XPG4/sys/time.h/conform): Likewise.
13103 (test-xfail-XPG4/sys/types.h/conform): Likewise.
13104 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13105 (test-xfail-XPG4/termios.h/conform): Likewise.
13106 (test-xfail-XPG4/ucontext.h/conform): Likewise.
13107 (test-xfail-XPG4/unistd.h/conform): Likewise.
13108 (test-xfail-XPG4/utmpx.h/conform): Likewise.
13109 (test-xfail-POSIX/sched.h/conform): Likewise.
13110 (test-xfail-POSIX/signal.h/conform): Likewise.
13111 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13112 (test-xfail-POSIX/tar.h/conform): Likewise.
13113 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13114 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13115 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13116 (test-xfail-UNIX98/netdb.h/conform): Likewise.
13117 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13118 (test-xfail-UNIX98/sched.h/conform): Likewise.
13119 (test-xfail-UNIX98/signal.h/conform): Likewise.
13120 (test-xfail-UNIX98/stdio.h/conform): Likewise.
13121 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13122 (test-xfail-UNIX98/stropts.h/conform): Likewise.
13123 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13124 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13125 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13126 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13127 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13128 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13129 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13130 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13131 (test-xfail-UNIX98/unistd.h/conform): Likewise.
13132 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13133 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13134 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13135 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13136 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13137 (test-xfail-XOPEN2K/math.h/conform): Likewise.
13138 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13139 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13140 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13141 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13142 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13143 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13144 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13145 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13146 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13147 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13148 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13149 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13150 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13151 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13152 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13153 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13154 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13155 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13156 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13157 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13158 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13159 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13160 (test-xfail-POSIX2008/signal.h/conform): Likewise.
13161 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13162 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13163 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13164 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13165 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13166 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13167 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13168 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13169 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13170 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13171 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13172 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13173 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13174 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13175 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13176 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13177 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13178 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13179 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13180 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13181 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13182 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13183 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13184 (conformtest-cc-flags): Likewise.
13185 ($(conformtest-header-tests): New target.
13186 * conform/check-header-lists.sh: New file.
13187 * conform/run-conformtest.sh: Remove.
13188
a00f522a
JM
13189 * conform/conformtest.pl: Allow ' and \ in values given for
13190 constants.
13191 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13192 inclusion.
13193 [POSIX] (sys/types.h): Likewise.
13194 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13195 inclusion.
13196 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13197 inclusion.
13198 * conform/data/signal.h-data (SIGIO): Remove expectation.
13199 [XPG3] (SIGBUS): Do not expect.
13200 [POSIX || XPG3] (SIGPOLL): Likewise.
13201 [POSIX || XPG3] (SIGPROF): Likewise.
13202 [POSIX || XPG3] (SIGSYS): Likewise.
13203 [XPG3] (SIGTRAP): Likewise.
13204 [POSIX || XPG3] (SIGURG): Likewise.
13205 [POSIX || XPG3] (SIGVTALRM): Likewise.
13206 [POSIX || XPG3] (SIGXCPU): Likewise.
13207 [POSIX || XPG3] (SIGXFSZ): Likewise.
13208 [POSIX] (SA_SIGINFO): Expect.
13209 [XPG3] (siginfo_t): Do not expect type or contents.
13210 [POSIX] (si_pid): Do not expect element.
13211 [POSIX] (si_uid): Likewise.
13212 [POSIX] (si_addr): Likewise.
13213 [POSIX] (si_status): Likewise.
13214 [POSIX] (si_band): Likewise.
13215 [XPG4] (si_value): Likewise.
13216 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13217 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13218 [POSIX || XPG3] (ILL_ILLADR): Likewise.
13219 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13220 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13221 [POSIX || XPG3] (ILL_PRVREG): Likewise.
13222 [POSIX || XPG3] (ILL_COPROC): Likewise.
13223 [POSIX || XPG3] (ILL_BADSTK): Likewise.
13224 [POSIX || XPG3] (FPE_INTDIV): Likewise.
13225 [POSIX || XPG3] (FPE_INTOVF): Likewise.
13226 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13227 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13228 [POSIX || XPG3] (FPE_FLTUND): Likewise.
13229 [POSIX || XPG3] (FPE_FLTRES): Likewise.
13230 [POSIX || XPG3] (FPE_FLTINV): Likewise.
13231 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13232 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13233 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13234 [POSIX || XPG3] (BUS_ADRALN): Likewise.
13235 [POSIX || XPG3] (BUS_ADRERR): Likewise.
13236 [POSIX || XPG3] (BUS_OBJERR): Likewise.
13237 [POSIX || XPG3] (CLD_EXITED): Likewise.
13238 [POSIX || XPG3] (CLD_KILLED): Likewise.
13239 [POSIX || XPG3] (CLD_DUMPED): Likewise.
13240 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13241 [POSIX || XPG3] (CLD_STOPPED): Likewise.
13242 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13243 [POSIX || XPG3] (POLL_IN): Likewise.
13244 [POSIX || XPG3] (POLL_OUT): Likewise.
13245 [POSIX || XPG3] (POLL_MSG): Likewise.
13246 [POSIX || XPG3] (POLL_ERR): Likewise.
13247 [POSIX || XPG3] (POLL_PRI): Likewise.
13248 [POSIX || XPG3] (POLL_HUP): Likewise.
13249 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13250 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13251 (SIG*): Do not allow.
13252 [XPG3] (si_*): Likewise.
13253 [XPG3] (SI_*): Likewise.
13254 [XPG3 || XPG4] (sigev_*): Likewise.
13255 [XPG3 || XPG4] (SIGEV_*): Likewise.
13256 [XPG3 || XPG4] (sival_*): Likewise.
13257 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13258 [POSIX || XPG3] (BUS_*): Likewise.
13259 [POSIX || XPG3] (CLD_*): Likewise.
13260 [POSIX || XPG3] (FPE_*): Likewise.
13261 [POSIX || XPG3] (ILL_*): Likewise.
13262 [POSIX || XPG3] (POLL_*): Likewise.
13263 [POSIX || XPG3] (SEGV_*): Likewise.
13264 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13265 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13266 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13267 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13268 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13269 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13270 Specify type and value.
13271 (TVERSLEN): Likewise.
13272 (REGTYPE): Likewise.
13273 (AREGTYPE): Likewise.
13274 (LNKTYPE): Likewise.
13275 (SYMTYPE): Likewise.
13276 (CHRTYPE): Likewise.
13277 (BLKTYPE): Likewise.
13278 (DIRTYPE): Likewise.
13279 (FIFOTYPE): Likewise.
13280 (CONTTYPE): Likewise.
13281 (TSUID): Likewise.
13282 (TSGID): Likewise.
13283 (TSVTX): Likewise.
13284 (TUREAD): Likewise.
13285 (TUWRITE): Likewise.
13286 (TUEXEC): Likewise.
13287 (TGREAD): Likewise.
13288 (TGWRITE): Likewise.
13289 (TGEXEC): Likewise.
13290 (TOREAD): Likewise.
13291 (TOWRITE): Likewise.
13292 (TOEXEC): Likewise.
13293 [POSIX] (TSVTX): Expect constant.
13294
aa97dee1
JM
132952014-03-06 Joseph Myers <joseph@codesourcery.com>
13296
f214606a
JM
13297 * Makefile (tests): Change dependencies to ....
13298 (tests-special): ... additions to this variable.
13299 (tests): Depend on $(tests-special).
13300 * Makerules (check-abi-list): New variable.
13301 (check-abi): Depend on $(check-abi-list).
13302 [$(subdir) = elf] (tests-special): Add
13303 $(objpfx)check-abi-libc.out.
13304 [$(build-shared) = yes && subdir] (tests-special): Add
13305 $(check-abi-list).
13306 [$(build-shared) = yes && subdir] (tests): Do not depend on
13307 check-abi.
13308 * Rules (tests): Depend on $(tests-special).
13309 (xtests): Depend on $(xtests-special).
13310 * catgets/Makefile (tests): Change dependencies to ....
13311 (tests-special): ... additions to this variable.
13312 * conform/Makefile (tests): Change dependencies to ....
13313 (tests-special): ... additions to this variable.
13314 * elf/Makefile (tests): Change dependencies to ....
13315 (tests-special): ... additions to this variable.
13316 * grp/Makefile (tests): Change dependencies to ....
13317 (tests-special): ... additions to this variable.
13318 * iconv/Makefile (xtests): Change dependencies to ....
13319 (xtests-special): ... additions to this variable.
13320 * iconvdata/Makefile (tests): Change dependencies to ....
13321 (tests-special): ... additions to this variable.
13322 * intl/Makefile (tests): Change dependencies to ....
13323 (tests-special): ... additions to this variable. Also add
13324 $(objpfx)tst-gettext.out.
13325 * io/Makefile (tests): Change dependencies to ....
13326 (tests-special): ... additions to this variable.
13327 * libio/Makefile (tests): Change dependencies to ....
13328 (tests-special): ... additions to this variable.
13329 * malloc/Makefile (tests): Change dependencies to ....
13330 (tests-special): ... additions to this variable.
13331 * misc/Makefile (tests): Change dependencies to ....
13332 (tests-special): ... additions to this variable.
13333 * nptl/Makefile (tests): Change dependencies to ....
13334 (tests-special): ... additions to this variable.
13335 * nptl_db/Makefile (tests): Change dependencies to ....
13336 (tests-special): ... additions to this variable.
13337 * posix/Makefile (tests): Change dependencies to ....
13338 (tests-special): ... additions to this variable.
13339 (xtests): Change dependencies to ....
13340 (xtests-special): ... additions to this variable.
13341 * resolv/Makefile (tests): Change dependencies to ....
13342 (tests-special): ... additions to this variable.
13343 (xtests): Change dependencies to ....
13344 (xtests-special): ... additions to this variable.
13345 * stdio-common/Makefile (tests): Change dependencies to ....
13346 (tests-special): ... additions to this variable.
13347 (do-tst-unbputc): Remove target.
13348 (do-tst-printf): Likewise.
13349 * stdlib/Makefile (tests): Change dependencies to ....
13350 (tests-special): ... additions to this variable.
13351 * string/Makefile (tests): Change dependencies to ....
13352 (tests-special): ... additions to this variable.
13353 * sysdeps/x86/Makefile (tests): Change dependencies to ....
13354 (tests-special): ... additions to this variable.
13355
81700b53
JM
13356 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13357 whole file.
13358 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13359 whole file.
13360 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13361 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13362
2ea18461
JM
13363 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13364 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13365 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13366 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13367 * conform/data/libgen.h-data [XPG3]: Likewise.
13368 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13369 * conform/data/ndbm.h-data [XPG3]: Likewise.
13370 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13371 * conform/data/netdb.h-data [XPG3]: Likewise.
13372 * conform/data/netinet/in.h-data [XPG3]: Likewise.
13373 * conform/data/poll.h-data [XPG3]: Likewise.
13374 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13375 * conform/data/strings.h-data [XPG3]: Likewise.
13376 * conform/data/stropts.h-data [XPG3]: Likewise.
13377 * conform/data/sys/mman.h-data [XPG3]: Likewise.
13378 * conform/data/sys/resource.h-data [XPG3]: Likewise.
13379 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13380 Likewise.
13381 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13382 * conform/data/sys/time.h-data [XPG3]: Likewise.
13383 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13384 * conform/data/sys/uio.h-data [XPG3]: Likewise.
13385 * conform/data/sys/un.h-data [XPG3]: Likewise.
13386 * conform/data/syslog.h-data [XPG3]: Likewise.
13387 * conform/data/ucontext.h-data [XPG3]: Likewise.
13388 * conform/data/utmpx.h-data [XPG3]: Likewise.
13389 * conform/data/varargs.h-data [UNIX98]: Enable file.
13390
355bc986
JM
13391 * manual/Makefile (INSTALL_INFO): Remove variable setting.
13392
215db402
JM
13393 * math/libm-test.inc (struct test_f_f_data): Move expected results
13394 into structure for each rounding mode.
13395 (struct test_ff_f_data): Likewise.
13396 (struct test_ff_f_data_nexttoward): Likewise.
13397 (struct test_fi_f_data): Likewise.
13398 (struct test_fl_f_data): Likewise.
13399 (struct test_if_f_data): Likewise.
13400 (struct test_fff_f_data): Likewise.
13401 (struct test_c_f_data): Likewise.
13402 (struct test_f_f1_data): Likewise.
13403 (struct test_fF_f1_data): Likewise.
13404 (struct test_ffI_f1_data): Likewise.
13405 (struct test_c_c_data): Likewise.
13406 (struct test_cc_c_data): Likewise.
13407 (struct test_f_i_data): Likewise.
13408 (struct test_ff_i_data): Likewise.
13409 (struct test_f_l_data): Likewise.
13410 (struct test_f_L_data): Likewise.
13411 (struct test_fFF_11_data): Likewise.
13412 (RM_): New macro.
13413 (RM_FE_DOWNWARD): Likewise.
13414 (RM_FE_TONEAREST): Likewise.
13415 (RM_FE_TOWARDZERO): Likewise.
13416 (RM_FE_UPWARD): Likewise.
13417 (RUN_TEST_LOOP_f_f): Update references to expected results.
13418 (RUN_TEST_LOOP_2_f): Likewise.
13419 (RUN_TEST_LOOP_fff_f): Likewise.
13420 (RUN_TEST_LOOP_c_f): Likewise.
13421 (RUN_TEST_LOOP_f_f1): Likewise.
13422 (RUN_TEST_LOOP_fF_f1): Likewise.
13423 (RUN_TEST_LOOP_fI_f1): Likewise.
13424 (RUN_TEST_LOOP_ffI_f1): Likewise.
13425 (RUN_TEST_LOOP_c_c): Likewise.
13426 (RUN_TEST_LOOP_cc_c): Likewise.
13427 (RUN_TEST_LOOP_f_i): Likewise.
13428 (RUN_TEST_LOOP_f_i_tg): Likewise.
13429 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13430 (RUN_TEST_LOOP_f_b): Likewise.
13431 (RUN_TEST_LOOP_f_b_tg): Likewise.
13432 (RUN_TEST_LOOP_f_l): Likewise.
13433 (RUN_TEST_LOOP_f_L): Likewise.
13434 (RUN_TEST_LOOP_fFF_11): Likewise.
13435 * math/gen-libm-test.pl (parse_args): Output four copies of
13436 expected results for each test.
13437
67737b8f
JM
13438 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13439 (__ASSUME_UTIMES): Remove.
13440 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13441 (__ASSUME_UTIMES): Likewise.
13442
aa97dee1
JM
13443 * math/gen-auto-libm-tests.c: Update comment on output format.
13444 (output_for_one_input_case): Generate before-rounding and
13445 after-rounding information as conditions on output flags not
13446 floating-point format.
13447 * math/auto-libm-test-out: Regenerated.
13448 * math/gen-libm-test.pl (cond_value): New function.
13449 (or_cond_value): Use cond_value.
13450 (generate_testfile): Handle conditional exceptions.
13451
e6b6a857
JM
134522014-03-05 Joseph Myers <joseph@codesourcery.com>
13453
2f0a0f44
JM
13454 * math/libm-test.inc (max_valid_error): New variable.
13455 (init_max_error): Take new argument specifying whether function
13456 results are exactly determined. Set max_valid_error and bound
13457 other variables for errors based on this argument.
13458 (set_max_error): Do not record results above max_valid_error.
13459 (check_float_internal): Only accept errors of up to 0.5ulps if
13460 also at most max_valid_error.
13461 (START): Take new argument EXACT and pass it to init_max_error.
13462 (acos_test): Update call to START.
13463 (acos_test_tonearest): Likewise.
13464 (acos_test_towardzero): Likewise.
13465 (acos_test_downward): Likewise.
13466 (acos_test_upward): Likewise.
13467 (acosh_test): Likewise.
13468 (asin_test): Likewise.
13469 (asin_test_tonearest): Likewise.
13470 (asin_test_towardzero): Likewise.
13471 (asin_test_downward): Likewise.
13472 (asin_test_upward): Likewise.
13473 (asinh_test): Likewise.
13474 (atan_test): Likewise.
13475 (atanh_test): Likewise.
13476 (atan2_test): Likewise.
13477 (cabs_test): Likewise.
13478 (cacos_test): Likewise.
13479 (cacosh_test): Likewise.
13480 (carg_test): Likewise.
13481 (casin_test): Likewise.
13482 (casinh_test): Likewise.
13483 (catan_test): Likewise.
13484 (catanh_test): Likewise.
13485 (cbrt_test): Likewise.
13486 (ccos_test): Likewise.
13487 (ccosh_test): Likewise.
13488 (ceil_test): Likewise.
13489 (cexp_test): Likewise.
13490 (cimag_test): Likewise.
13491 (clog_test): Likewise.
13492 (clog10_test): Likewise.
13493 (conj_test): Likewise.
13494 (copysign_test): Likewise.
13495 (cos_test): Likewise.
13496 (cos_test_tonearest): Likewise.
13497 (cos_test_towardzero): Likewise.
13498 (cos_test_downward): Likewise.
13499 (cos_test_upward): Likewise.
13500 (cosh_test): Likewise.
13501 (cosh_test_tonearest): Likewise.
13502 (cosh_test_towardzero): Likewise.
13503 (cosh_test_downward): Likewise.
13504 (cosh_test_upward): Likewise.
13505 (cpow_test): Likewise.
13506 (cproj_test): Likewise.
13507 (creal_test): Likewise.
13508 (csin_test): Likewise.
13509 (csinh_test): Likewise.
13510 (csqrt_test): Likewise.
13511 (ctan_test): Likewise.
13512 (ctan_test_tonearest): Likewise.
13513 (ctan_test_towardzero): Likewise.
13514 (ctan_test_downward): Likewise.
13515 (ctan_test_upward): Likewise.
13516 (ctanh_test): Likewise.
13517 (ctanh_test_tonearest): Likewise.
13518 (ctanh_test_towardzero): Likewise.
13519 (ctanh_test_downward): Likewise.
13520 (ctanh_test_upward): Likewise.
13521 (erf_test): Likewise.
13522 (erfc_test): Likewise.
13523 (exp_test): Likewise.
13524 (exp_test_tonearest): Likewise.
13525 (exp_test_towardzero): Likewise.
13526 (exp_test_downward): Likewise.
13527 (exp_test_upward): Likewise.
13528 (exp10_test): Likewise.
13529 (exp10_test_tonearest): Likewise.
13530 (exp10_test_towardzero): Likewise.
13531 (exp10_test_downward): Likewise.
13532 (exp10_test_upward): Likewise.
13533 (pow10_test): Likewise.
13534 (exp2_test): Likewise.
13535 (expm1_test): Likewise.
13536 (expm1_test_tonearest): Likewise.
13537 (expm1_test_towardzero): Likewise.
13538 (expm1_test_downward): Likewise.
13539 (expm1_test_upward): Likewise.
13540 (fabs_test): Likewise.
13541 (fdim_test): Likewise.
13542 (floor_test): Likewise.
13543 (fma_test): Likewise.
13544 (fma_test_towardzero): Likewise.
13545 (fma_test_downward): Likewise.
13546 (fma_test_upward): Likewise.
13547 (fmax_test): Likewise.
13548 (fmin_test): Likewise.
13549 (fmod_test): Likewise.
13550 (fpclassify_test): Likewise.
13551 (frexp_test): Likewise.
13552 (hypot_test): Likewise.
13553 (ilogb_test): Likewise.
13554 (isfinite_test): Likewise.
13555 (finite_test): Likewise.
13556 (isgreater_test): Likewise.
13557 (isgreaterequal_test): Likewise.
13558 (isinf_test): Likewise.
13559 (isless_test): Likewise.
13560 (islessequal_test): Likewise.
13561 (islessgreater_test): Likewise.
13562 (isnan_test): Likewise.
13563 (isnormal_test): Likewise.
13564 (issignaling_test): Likewise.
13565 (isunordered_test): Likewise.
13566 (j0_test): Likewise.
13567 (j1_test): Likewise.
13568 (jn_test): Likewise.
13569 (ldexp_test): Likewise.
13570 (lgamma_test): Likewise.
13571 (gamma_test): Likewise.
13572 (lrint_test): Likewise.
13573 (lrint_test_tonearest): Likewise.
13574 (lrint_test_towardzero): Likewise.
13575 (lrint_test_downward): Likewise.
13576 (lrint_test_upward): Likewise.
13577 (llrint_test): Likewise.
13578 (llrint_test_tonearest): Likewise.
13579 (llrint_test_towardzero): Likewise.
13580 (llrint_test_downward): Likewise.
13581 (llrint_test_upward): Likewise.
13582 (log_test): Likewise.
13583 (log10_test): Likewise.
13584 (log1p_test): Likewise.
13585 (log2_test): Likewise.
13586 (logb_test): Likewise.
13587 (logb_test_downward): Likewise.
13588 (lround_test): Likewise.
13589 (llround_test): Likewise.
13590 (modf_test): Likewise.
13591 (nearbyint_test): Likewise.
13592 (nextafter_test): Likewise.
13593 (nexttoward_test): Likewise.
13594 (pow_test): Likewise.
13595 (pow_test_tonearest): Likewise.
13596 (pow_test_towardzero): Likewise.
13597 (pow_test_downward): Likewise.
13598 (pow_test_upward): Likewise.
13599 (remainder_test): Likewise.
13600 (drem_test): Likewise.
13601 (remainder_test_tonearest): Likewise.
13602 (drem_test_tonearest): Likewise.
13603 (remainder_test_towardzero): Likewise.
13604 (drem_test_towardzero): Likewise.
13605 (remainder_test_downward): Likewise.
13606 (drem_test_downward): Likewise.
13607 (remainder_test_upward): Likewise.
13608 (drem_test_upward): Likewise.
13609 (remquo_test): Likewise.
13610 (rint_test): Likewise.
13611 (rint_test_tonearest): Likewise.
13612 (rint_test_towardzero): Likewise.
13613 (rint_test_downward): Likewise.
13614 (rint_test_upward): Likewise.
13615 (round_test): Likewise.
13616 (scalb_test): Likewise.
13617 (scalbn_test): Likewise.
13618 (scalbln_test): Likewise.
13619 (signbit_test): Likewise.
13620 (sin_test): Likewise.
13621 (sin_test_tonearest): Likewise.
13622 (sin_test_towardzero): Likewise.
13623 (sin_test_downward): Likewise.
13624 (sin_test_upward): Likewise.
13625 (sincos_test): Likewise.
13626 (sinh_test): Likewise.
13627 (sinh_test_tonearest): Likewise.
13628 (sinh_test_towardzero): Likewise.
13629 (sinh_test_downward): Likewise.
13630 (sinh_test_upward): Likewise.
13631 (sqrt_test): Likewise.
13632 (sqrt_test_tonearest): Likewise.
13633 (sqrt_test_towardzero): Likewise.
13634 (sqrt_test_downward): Likewise.
13635 (sqrt_test_upward): Likewise.
13636 (tan_test): Likewise.
13637 (tan_test_tonearest): Likewise.
13638 (tan_test_towardzero): Likewise.
13639 (tan_test_downward): Likewise.
13640 (tan_test_upward): Likewise.
13641 (tanh_test): Likewise.
13642 (tgamma_test): Likewise.
13643 (trunc_test): Likewise.
13644 (y0_test): Likewise.
13645 (y1_test): Likewise.
13646 (yn_test): Likewise.
13647 (significand_test): Likewise.
13648
e6b6a857
JM
13649 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13650 individual tests in comment.
13651 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13652 (prev_max_error): New variable.
13653 (prev_real_max_error): Likewise.
13654 (prev_imag_max_error): Likewise.
13655 (compare_ulp_data): Don't refer to test names in comment.
13656 (find_test_ulps): Remove function.
13657 (find_function_ulps): Likewise.
13658 (find_complex_function_ulps): Likewise.
13659 (init_max_error): Take function name as argument. Look up ulps
13660 for that function.
13661 (print_ulps): Remove function.
13662 (print_max_error): Use prev_max_error instead of calling
13663 find_function_ulps.
13664 (print_complex_max_error): Use prev_real_max_error and
13665 prev_imag_max_error instead of calling find_complex_function_ulps.
13666 (check_float_internal): Take max_ulp parameter instead of calling
13667 find_test_ulps. Don't call print_ulps.
13668 (check_float): Update call to check_float_internal.
13669 (check_complex): Update calls to check_float_internal.
13670 (START): Pass argument to init_max_error.
13671 * math/gen-libm-test.pl (%results): Don't include "kind"
13672 information.
13673 (parse_ulps): Don't handle ulps of individual tests.
13674 (print_ulps_file): Likewise.
13675 (output_ulps): Likewise.
13676 * math/README.libm-test: Update.
13677 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13678 individual tests.
13679 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13680 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13681 * sysdeps/arm/libm-test-ulps: Likewise.
13682 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13683 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13684 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13685 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13686 * sysdeps/microblaze/libm-test-ulps: Likewise.
13687 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13688 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13689 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13690 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13691 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13692 * sysdeps/sh/libm-test-ulps: Likewise.
13693 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13694 * sysdeps/tile/libm-test-ulps: Likewise.
13695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13696
45adef3c
JM
136972014-03-04 Joseph Myers <joseph@codesourcery.com>
13698
13699 * math/libm-test.inc (print_complex_max_error): Check separately
13700 whether real and imaginary errors are within allowed range and
13701 pass 0 to print_complex_function_ulps instead of value within
13702 allowed range.
13703
000232b9
SP
137042014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13705
d4b17258
SP
13706 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13707 formatting.
13708 (get_handles_fopen): Likewise.
13709 (do_write_test): Likewise.
13710
091eff71
SP
13711 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13712
fa3cd248
SP
13713 * libio/fileops.c (do_ftell): Use cached offset when
13714 available.
13715 * libio/iofwide.c (do_ftell_wide): Likewise.
13716 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13717 _IO_file_attach.
13718 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13719
000232b9
SP
13720 [BZ #16532]
13721 * libio/libioP.h (get_file_offset): New function.
13722 * libio/fileops.c (get_file_offset): Likewise.
13723 (do_ftell): Likewise.
13724 (_IO_new_file_seekoff): Split out ftell logic.
13725 * libio/wfileops.c (do_ftell_wide): Likewise.
13726 (_IO_wfile_seekoff): Split out ftell logic.
13727 * libio/tst-ftell-active-handler.c: New test case.
13728 * libio/Makefile (tests): Add it.
13729
116f4d1a
RM
137302014-03-03 Roland McGrath <roland@hack.frob.com>
13731
13732 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13733 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13734
532a6035
SP
137352014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13736
13737 [BZ #16639]
13738 * nscd/connections.c (nscd_init): Call do_exit.
13739 (start_threads): Call do_exit and notify_parent.
13740 (begin_drop_privileges): Call do_exit.
13741 (finish_drop_privileges): Likewise.
13742 * nscd/selinux.c (preserve_capabilities): Likewise.
13743 (install_real_capabilities): Likewise.
13744 (nscd_selinux_enabled): Likewise.
13745 (avc_create_thread): Likewise.
13746 (avc_alloc_lock): Likewise.
13747 (nscd_avc_init): Likewise.
13748 * nscd/nscd.c (parent_fd): New static variable.
13749 (main): Create a pipe between parent and child processes.
13750 Skip closing parent_fd.
13751 (monitor_child): New function.
13752 (do_exit): Likewise.
13753 (notify_parent): Likewise.
13754 * nscd/nscd.h (notify_parent): Likewise.
13755 (do_exit): Likewise.
13756
d6285c9f
CD
137572014-03-03 Carlos O'Donell <carlos@redhat.com>
13758
13759 * malloc/malloc.c (__libc_calloc): Revert last change.
13760
2b85d2a0
AZ
137612014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13762
13763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13764
c7debbdf
RS
137652014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13766
13767 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13769 implementation.
13770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13771 (__libc_ifunc_impl_list): Likewise.
13772 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13773 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13774 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13775 * string/strrchr.c: Define STRRCHR.
13776
235eed86
OB
137772014-02-28 Ondřej Bílka <neleai@seznam.cz>
13778
13779 * benchtest/bench-strtok.c (simple_strtok): Delete.
13780 (strtok_string): Use as benchmark.
13781 * string/strtok (STRTOK): New macro.
13782
8e25d1e7
CD
137832014-02-28 Carlos O'Donell <carlos@redhat.com>
13784
ef563f92
CD
13785 * manual/threads.texi: Add header and standard comments to all
13786 functions.
13787
8e25d1e7
CD
13788 * elf/dl-lookup.c (check_match): New function.
13789 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13790 (do_lookup_x): Remove nested function check_match. Use non-nested
13791 function check_match.
13792
ff71cc37
RM
137932014-02-28 Roland McGrath <roland@hack.frob.com>
13794
f08e9a26
RM
13795 * csu/Makefile (generated, before-compile): Use += rather than =.
13796 * catgets/Makefile (generated, generated-dirs): Likewise.
13797 * debug/Makefile (generated): Likewise.
13798 * dlfcn/Makefile (generated): Likewise.
13799 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13800 * iconvdata/Makefile (before-compile, generated): Likewise.
13801 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13802 * libio/Makefile (generated): Likewise.
13803 * malloc/Makefile (generated): Likewise.
13804 * manual/Makefile (generated, generated-dirs): Likewise.
13805 * misc/Makefile (generated): Likewise.
13806 * posix/Makefile (generated): Likewise.
13807 * resolv/Makefile (generated): Likewise.
13808 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13809 * timezone/Makefile (generated, generated-dirs): Likewise.
13810
ff71cc37
RM
13811 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13812
fe13a20c
AZ
138132014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13814
57f41c40
AS
13815 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13816 power8 implementation.
13817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13818 file: POWER8 llround ifunc implementation.
13819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13820 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
13821 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13822 POWER8 llround implementation.
13823
57f41c40
AS
13824 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13825 power8 implementation.
13826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13827 file: POWER8 llrint ifunc implementation.
13828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13829 Add POWER8 implementation.
1ad8950a
AZ
13830 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13831 POWER8 llrint implementation.
13832
57f41c40
AS
13833 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13834 power8 implementation.
13835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13836 file: POWER8 finite ifunc implementation.
13837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13838 Add POWER8 implementation.
cac626d6
AZ
13839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13840 Likewise.
13841 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13842 POWER8 finite implementation.
13843 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13844
57f41c40
AS
13845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13846 power8 implementation.
13847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13848 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
13849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13850 POWER8 implementation.
13851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13852 Likewise.
57f41c40
AS
13853 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13854 isinf implementation.
4393fc11
AZ
13855 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13856
57f41c40
AS
13857 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13858 (INIT_ARCH): Add hwcap2 initialization.
13859 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13860 power8 implementation.
13861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13862 file: POWER8 isnan ifunc implementation.
487972ae
AZ
13863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13864 POWER8 implementation.
13865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13866 Likewise.
57f41c40
AS
13867 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13868 isnan implementation.
487972ae
AZ
13869 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13870
7d92b787
JY
138712014-02-27 Joey Ye <joey.ye@arm.com>
13872
13873 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13874 (_FP_NANFRAC_Q): Set to zero.
13875
1cadc858
SP
138762014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13877
13878 [BZ #16623]
13879 * math/auto-libm-test-in: New test inputs.
13880 * math/auto-libm-test-out: Regenerate.
13881 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13882 and DA.
13883 (__cos): Likewise.
13884 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13885
f8c17e79
JM
138862014-02-27 Joseph Myers <joseph@codesourcery.com>
13887
13888 * scripts/evaluate-test.sh: Take new argument indicating whether
13889 failure is expected.
13890 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13891 indicating whether failure is expected.
13892 * conform/Makefile (test-xfail-run-conformtest): New variable.
13893 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13894 level.
13895 * posix/Makefile (test-xfail-annexc): New variable.
13896 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13897
a5f891ac
JM
138982014-02-26 Joseph Myers <joseph@codesourcery.com>
13899
13900 * argp/Makefile: Include Makeconfig immediately after defining
13901 subdir.
13902 * assert/Makefile: Likewise.
13903 * benchtests/Makefile: Likewise.
13904 * catgets/Makefile: Likewise.
13905 * conform/Makefile: Likewise.
13906 * crypt/Makefile: Likewise.
13907 * csu/Makefile: Likewise.
13908 (all): Remove target.
13909 * ctype/Makefile: Include Makeconfig immediately after defining
13910 subdir.
13911 * debug/Makefile: Likewise.
13912 * dirent/Makefile: Likewise.
13913 * dlfcn/Makefile: Likewise.
13914 * gmon/Makefile: Likewise.
13915 * gnulib/Makefile: Likewise.
13916 * grp/Makefile: Likewise.
13917 * gshadow/Makefile: Likewise.
13918 * hesiod/Makefile: Likewise.
13919 * hurd/Makefile: Likewise.
13920 (all): Remove target.
13921 * iconvdata/Makefile: Include Makeconfig immediately after
13922 defining subdir.
13923 * inet/Makefile: Likewise.
13924 * intl/Makefile: Likewise.
13925 * io/Makefile: Likewise.
13926 * libio/Makefile: Likewise.
13927 (all): Remove target.
13928 * locale/Makefile: Include Makeconfig immediately after defining
13929 subdir.
13930 * login/Makefile: Likewise.
13931 * mach/Makefile: Likewise.
13932 (all): Remove target.
13933 * malloc/Makefile: Include Makeconfig immediately after defining
13934 subdir.
13935 (all): Remove target.
13936 * manual/Makefile: Include Makeconfig immediately after defining
13937 subdir.
13938 * math/Makefile: Likewise.
13939 * misc/Makefile: Likewise.
13940 * nis/Makefile: Likewise.
13941 * nss/Makefile: Likewise.
13942 * po/Makefile: Likewise.
13943 (all): Remove target.
13944 * posix/Makefile: Include Makeconfig immediately after defining
13945 subdir.
13946 * pwd/Makefile: Likewise.
13947 * resolv/Makefile: Likewise.
13948 * resource/Makefile: Likewise.
13949 * rt/Makefile: Likewise.
13950 * setjmp/Makefile: Likewise.
13951 * shadow/Makefile: Likewise.
13952 * signal/Makefile: Likewise.
13953 * socket/Makefile: Likewise.
13954 * soft-fp/Makefile: Likewise.
13955 * stdio-common/Makefile: Likewise.
13956 * stdlib/Makefile: Likewise.
13957 * streams/Makefile: Likewise.
13958 * string/Makefile: Likewise.
13959 * sunrpc/Makefile: Likewise.
13960 (all): Remove target.
13961 * sysvipc/Makefile: Include Makeconfig immediately after defining
13962 subdir.
13963 * termios/Makefile: Likewise.
13964 * time/Makefile: Likewise.
13965 * timezone/Makefile: Likewise.
13966 (all): Remove target.
13967 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13968 subdir.
13969 * wctype/Makefile: Likewise.
13970
5b456e9d
SE
139712014-02-26 Steve Ellcey <sellcey@mips.com>
13972
13973 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13974 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13975 (libc_feholdexcept_setround_mips): Ditto.
13976 (libc_feholdsetround): New.
13977 (libc_feholdsetroundf): New.
13978 (libc_feholdsetroundl): New.
13979 (libc_feupdateenv_test_mips): New.
13980 (libc_feupdateenv_test): New.
13981 (libc_feupdateenv_testf): New.
13982 (libc_feupdateenv_testl): New.
13983 (libc_feresetround): New.
13984 (libc_feresetroundf): New.
13985 (libc_feresetroundl): New.
13986 (libc_fetestexcept_mips): New.
13987 (libc_fetestexcept): New.
13988 (libc_fetestexceptf): New.
13989 (libc_fetestexceptl): New.
13990 (HAVE_RM_CTX): New.
13991 (libc_feholdexcept_setround_mips_ctx): New.
13992 (libc_feholdexcept_setround_ctx): New.
13993 (libc_feholdexcept_setroundf_ctx): New.
13994 (libc_feholdexcept_setroundl_ctx): New.
13995 (libc_fesetenv_mips_ctx): New.
13996 (libc_fesetenv_ctx): New.
13997 (libc_fesetenv_ctxf): New.
13998 (libc_fesetenv_ctxl): New.
13999 (libc_feupdateenv_mips_ctx): New.
14000 (libc_feupdateenv_ctx): New.
14001 (libc_feupdateenvf_ctx): New.
14002 (libc_feupdateenvl_ctx): New.
14003 (libc_feholdsetround_mips_ctx): New.
14004 (libc_feholdsetround_ctx): New.
14005 (libc_feholdsetroundf_ctx): New.
14006 (libc_feholdsetroundl_ctx): New.
14007 (libc_feresetround_mips_ctx): New.
14008 (libc_feresetround_ctx): New.
14009 (libc_feresetroundf_ctx): New.
14010 (libc_feresetroundl_ctx): New.
14011
085d0e35
CD
140122014-02-26 Carlos O'Donell <carlos@redhat.com>
14013
f067bf1f
CD
14014 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14015
085d0e35
CD
14016 * manual/ipc.texi: New file.
14017 * manual/Makefile (chapters): Add ipc.
14018 * manual/job.texi: Add "Inter-Process Communication" to next.
14019 * manual/process.texi: Add "Inter-Process Communication" to prev.
14020
86e58c08
AZ
140212014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14022
14023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14024
4248f0da
OB
140252014-02-26 Ondřej Bílka <neleai@seznam.cz>
14026
14027 * malloc/malloc.c (__libc_calloc): Simplify implementation.
14028
cf822e3c
OB
14029 * manual/arith.texi: Fix spaces after sentences.
14030 * manual/charset.texi: Likewise.
14031 * manual/errno.texi: Likewise.
14032 * manual/install.texi: Likewise.
14033 * manual/llio.texi: Likewise.
14034 * manual/locale.texi: Likewise.
14035 * manual/maint.texi: Likewise.
14036 * manual/math.texi: Likewise.
14037 * manual/memory.texi: Likewise.
14038 * manual/message.texi: Likewise.
14039 * manual/probes.texi: Likewise.
14040 * manual/resource.texi: Likewise.
14041 * manual/signal.texi: Likewise.
14042 * manual/socket.texi: Likewise.
14043 * manual/stdio.texi: Likewise.
14044 * manual/string.texi: Likewise.
14045 * manual/time.texi: Likewise.
14046 * manual/users.texi: Likewise.
14047
ade40b10
CD
140482014-02-25 Carlos O'Donell <carlos@redhat.com>
14049
14050 [BZ #16632]
14051 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14052 _DEFAULT_SOURCE is defined.
14053
d0503676
CD
140542014-02-25 Ulrich Drepper <drepper@gmail.com>
14055 Carlos O'Donell <carlos@redhat.com>
14056
14057 [BZ #16613]
14058 * elf/dl-tls.c (_dl_count_modids): New function.
14059 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14060 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14061 audit library and increment generation counter.
14062 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14063 * elf/tst-audit9.c: New file.
14064 * elf/tst-auditmod9a.c: New file.
14065 * elf/tst-auditmod9b.c: New file.
14066 * elf/Makefile: Add rules to build and run tst-audit9.
14067
4cbf380c
FW
140682014-02-25 Florian Weimer <fweimer@redhat.com>
14069
14070 [BZ #15347]
14071 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14072
80a56cc3
WN
140732014-02-25 Will Newton <will.newton@linaro.org>
14074
14075 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14076 (__longjmp): Restore sp and lr before restoring callee
14077 saved registers. Add longjmp and longjmp_target
14078 SystemTap probe point.
14079 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14080 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14081 Define to zero to match jmpbuf layout.
14082 * sysdeps/arm/setjmp.S: Include stap-probe.h.
14083 (__sigsetjmp): Save sp and lr before saving callee
14084 saved registers. Add setjmp SystemTap probe point.
14085
3ea0f74e
SL
140862014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14087
14088 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14089
b04acb26
AS
140902014-02-24 Andreas Schwab <schwab@suse.de>
14091
14092 [BZ #15804]
14093 * elf/pldd.c (wait_for_ptrace_stop): New function.
14094 (main): Call it after attaching.
14095
098ad55c
RM
140962014-02-22 Roland McGrath <roland@hack.frob.com>
14097
d4ec6ae1
RM
14098 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14099 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14100 Versions files is now verboten.
14101 * hurd/Versions (libc: GLIBC_2.0):
14102 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14103 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14104 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14105 * mach/Versions: Likewise.
14106
098ad55c
RM
14107 * csu/Versions: Remove unused %include.
14108 * resolv/Versions: Likewise.
14109
acd7f096
JM
141102014-02-21 Joseph Myers <joseph@codesourcery.com>
14111
f0881698
JM
14112 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14113 ($(objpfx)check-local-headers.out): Likewise.
14114 ($(objpfx)begin-end-check.out): Likewise.
14115 * Makerules (check-abi-%.out): Likewise.
14116 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14117 ($(objpfx)test2.cat): Likewise.
14118 ($(objpfx)de/libc.cat): Likewise.
14119 ($(objpfx)test-gencat.out): Likewise.
14120 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14121 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14122 ($(objpfx)noload-mem): Likewise.
14123 ($(objpfx)tst-pathopt.out): Likewise.
14124 ($(objpfx)tst-rtld-load-self.out): Likewise.
14125 ($(objpfx)tst-array1-cmp.out): Likewise.
14126 ($(objpfx)tst-array1-static-cmp.out): Likewise.
14127 ($(objpfx)tst-array2-cmp.out): Likewise.
14128 ($(objpfx)tst-array3-cmp.out): Likewise.
14129 ($(objpfx)tst-array4-cmp.out): Likewise.
14130 ($(objpfx)tst-array5-cmp.out): Likewise.
14131 ($(objpfx)tst-array5-static-cmp.out): Likewise.
14132 ($(objpfx)check-textrel.out): Likewise.
14133 ($(objpfx)check-execstack.out): Likewise.
14134 ($(objpfx)check-localplt.out): Likewise.
14135 ($(objpfx)order2-cmp.out): Likewise.
14136 ($(objpfx)tst-leaks1-mem): Likewise.
14137 ($(objpfx)tst-leaks1-static-mem): Likewise.
14138 ($(objpfx)tst-initorder-cmp.out): Likewise.
14139 ($(objpfx)tst-initorder2-cmp.out): Likewise.
14140 ($(objpfx)tst-unused-dep.out): Likewise.
14141 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14142 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14143 * iconv/Makefile (test-iconvconfig): Likewise.
14144 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14145 ($(objpfx)iconv-test.out): Likewise.
14146 ($(objpfx)tst-tables.out): Likewise.
14147 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14148 ($(objpfx)tst-gettext.out): Likewise.
14149 ($(objpfx)tst-translit.out): Likewise.
14150 ($(objpfx)tst-gettext2.out): Likewise.
14151 ($(objpfx)tst-gettext4.out): Likewise.
14152 ($(objpfx)tst-gettext6.out): Likewise.
14153 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14154 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14155 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14156 ($(objpfx)tst-fopenloc-mem.out): Likewise.
14157 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14158 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14159 * posix/Makefile ($(objpfx)globtest.out): Likewise.
14160 ($(objpfx)wordexp-tst.out): Likewise.
14161 ($(objpfx)annexc.out): Likewise.
14162 ($(objpfx)tst-fnmatch-mem): Likewise.
14163 ($(objpfx)bug-regex2-mem): Likewise.
14164 ($(objpfx)bug-regex14-mem): Likewise.
14165 ($(objpfx)bug-regex21-mem): Likewise.
14166 ($(objpfx)bug-regex31-mem): Likewise.
14167 ($(objpfx)tst-vfork3-mem): Likewise.
14168 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14169 ($(objpfx)tst-pcre-mem): Likewise.
14170 ($(objpfx)tst-boost-mem): Likewise.
14171 ($(objpfx)tst-getconf.out): Likewise.
14172 ($(objpfx)bug-ga2-mem): Likewise.
14173 ($(objpfx)bug-glob2-mem): Likewise.
14174 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14175 ($(objpfx)mtrace-tst-leaks2): Likewise.
14176 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14177 ($(objpfx)tst-printf.out): Likewise.
14178 ($(objpfx)tst-setvbuf1.out): Likewise.
14179 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14180 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14181 ($(objpfx)tst-fmtmsg.out): Likewise.
14182 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14183 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14184
acd7f096
JM
14185 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14186 * bits/sigaction.h [__USE_MISC]: Likewise.
14187 * bits/waitstatus.h: Update #endif comments.
14188 * ctype/ctype.h: Likewise.
14189 * dirent/dirent.h: Likewise.
14190 [__USE_MISC]: Remove redundant conditionals.
14191 * grp/grp.h: Update #endif comments.
14192 [__USE_GNU]: Remove redundant conditionals.
14193 [__USE_MISC]: Likewise.
14194 * inet/netinet/in.h [__USE_GNU]: Likewise.
14195 * io/sys/stat.h [__USE_MISC]: Likewise.
14196 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14197 * libio/bits/stdio.h: Update #endif comments.
14198 [__USE_MISC]: Remove redundant conditionals.
14199 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14200 * libio/stdio.h: Update #endif comments.
14201 [__USE_MISC]: Remove redundant conditionals.
14202 * math/bits/math-finite.h [__USE_MISC]: Likewise.
14203 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14204 * math/math.h: Update #else and #endif comments.
14205 [__USE_MISC]: Remove redundant conditionals.
14206 * misc/sys/uio.h: Update #endif comments.
14207 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14208 * posix/glob.h [__USE_MISC]: Likewise.
14209 * posix/sys/types.h: Update #endif comments.
14210 [__USE_MISC]: Remove redundant conditionals.
14211 * posix/sys/wait.h: Update #endif comments.
14212 [__USE_MISC]: Remove redundant conditionals.
14213 * posix/unistd.h: Update #endif comments.
14214 [__USE_MISC]: Remove redundant conditionals.
14215 * pwd/pwd.h [__USE_GNU]: Likewise.
14216 [__USE_MISC]: Likewise.
14217 * resolv/netdb.h [__USE_GNU]: Likewise.
14218 * signal/signal.h: Update #endif comments.
14219 [__USE_MISC]: Remove redundant conditionals.
14220 * stdlib/stdlib.h: Update #else and #endif comments.
14221 [__USE_MISC]: Remove redundant conditionals.
14222 [__USE_GNU]: Likewise.
14223 * string/bits/string2.h [__USE_MISC]: Likewise.
14224 * string/string.h: Update #endif comments.
14225 [__USE_MISC]: Remove redundant conditionals.
14226 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14227 Likewise.
14228 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14229 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14230 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14231 Likewise.
14232 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14233 Likewise.
14234 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14235 comments.
14236 [__USE_MISC]: Remove redundant conditionals.
14237 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14238 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14239 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14240 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14241 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14242 Likewise.
14243 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14244 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14245 Likewise.
14246 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14247 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14248 Likewise.
14249 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14250 Likewise.
14251 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14252 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14253 Likewise.
14254 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14255 Likewise.
14256 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14257 * sysdeps/x86/bits/string.h: Update #endif comments.
14258 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14259 conditionals.
14260 * time/sys/time.h: Update #endif comments.
14261 * time/time.h: Likewise.
14262 [__USE_MISC]: Remove redundant conditionals.
14263
a5d82e4e
YG
142642014-02-21 Yury Gribov <y.gribov@samsung.com>
14265
14266 [BZ #16600]
14267 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14268
9a80491d
AS
142692014-02-21 Andreas Schwab <schwab@linux-m68k.org>
14270
14271 * Versions.def (librt): Add GLIBC_2.17.
14272
105fa381
AC
142732014-02-21 Adam Conrad <adconrad@0c3.net>
14274
14275 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14276 synonym for _SYS_AUXV_H to allow direct inclusion.
14277 * sysdeps/sparc/bits/hwcap.h: Likewise.
14278 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14279 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14280 * sysdeps/sparc/sysdep.h: Likewise.
14281
b8cd1c4e
SP
142822014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14283
14284 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14285
bd939d23
RS
142862014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14287
14288 * benchtests/bench-strrchr.c: Print length instead of position.
14289
5d7b57ca
JM
142902014-02-20 Joseph Myers <joseph@codesourcery.com>
14291
bc688c10
JM
14292 [BZ #16611]
14293 * sysdeps/unix/sysv/linux/kernel-features.h
14294 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14295 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14296 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14297 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14298 Likewise.
14299 [__i386__ || __powerpc__ || __sh__ || __sparc__]
14300 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14301 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14302 (__ASSUME_SENDMMSG): Define instead of using previous
14303 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14304 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14305 (__ASSUME_SENDMMSG_SYSCALL): Define.
14306 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14307 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14308 Likewise.
14309 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14310 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14311 Likewise.
14312 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14313 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14314 Likewise.
14315 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14316 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14317 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14318 [__ASSUME_SENDMMSG]: Change conditionals to
14319 [__ASSUME_SENDMMSG_SOCKETCALL].
14320 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14321 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14322 Define.
14323 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14324 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14325 Likewise.
14326 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14327 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14328 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14329 [!__ASSUME_SENDMMSG]: Change conditional to
14330 [!__ASSUME_SENDMMSG_SOCKETCALL].
14331 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14332 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14333 Define.
14334
0e31b18c
JM
14335 [BZ #16610]
14336 * sysdeps/unix/sysv/linux/kernel-features.h
14337 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14338 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14339 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14340 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14341 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14342 [__i386__ || __sparc__]
14343 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14344 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14345 (__ASSUME_RECVMMSG): Define instead of using previous
14346 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14347 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14348 (__ASSUME_RECVMMSG_SYSCALL): Define.
14349 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14350 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14351 Likewise.
14352 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14353 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14354 Likewise.
14355 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14356 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14357 Likewise.
14358 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14359 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14360 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14361 [__ASSUME_RECVMMSG]: Change condition to
14362 [__ASSUME_RECVMMSG_SOCKETCALL].
14363 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14364 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14365 Define.
14366 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14367 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14368 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14369 Likewise.
14370 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14371 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14372 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14373 [!__ASSUME_RECVMMSG]: Change condition to
14374 [!__ASSUME_RECVMMSG_SOCKETCALL].
14375 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14376 (__ASSUME_RECVMMSG_SYSCALL): Define.
14377
dd481ccf
JM
14378 [BZ #16609]
14379 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14380 __powerpc__ || __s390__ || __sh__ || __sparc__]
14381 (__ASSUME_SOCKETCALL): Define.
14382 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14383 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14384 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14385 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14386 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14387 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14388 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14389 (__ASSUME_ACCEPT4): Define instead of using previous
14390 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14391 __powerpc__ || __sparc__ || __s390__)] condition.
14392 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14393 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14394 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14395 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14396 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14397 [!__ASSUME_ACCEPT4]: Change condition to
14398 [!__ASSUME_ACCEPT4_SOCKETCALL].
14399 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14400 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
14401 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14402 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14403 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14404 __ASSUME_ACCEPT4_SYSCALL.
14405 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14406 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14407 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14408 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14409 __ASSUME_ACCEPT4_SYSCALL.
14410 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14411 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14412 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14413 [__ASSUME_ACCEPT4]: Change condition to
14414 [__ASSUME_ACCEPT4_SOCKETCALL].
14415 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14416 (__ASSUME_SOCKETCALL): Define.
14417 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14418 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14419 (__ASSUME_SOCKETCALL): Define.
14420 (__ASSUME_ACCEPT4): Remove.
14421 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14422 Define.
14423 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14424 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14425 Likewise.
14426 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14427 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14428
5d7b57ca
JM
14429 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14430 macro.
14431 (HWCAP_ARM_LPAE): Likewise.
14432 (HWCAP_ARM_EVTSTRM): Likewise.
14433 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14434 Add vpfd32, lpae and evtstrm.
14435 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14436 Increase to 22.
14437
63689d61
JM
144382014-02-19 Joseph Myers <joseph@codesourcery.com>
14439
14440 * math/auto-libm-test-in: Add tests of clog10.
14441 * math/auto-libm-test-out: Regenerated.
14442 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14443 * sysdeps/i386/fpu/libm-test-ulps: Update.
14444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14445
ab09bf61
AS
144462014-02-18 Andreas Schwab <schwab@suse.de>
14447
14448 [BZ #16574]
14449 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14450 Store non-zero if the second buffer was newly allocated.
14451 (send_dg): Likewise.
14452 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14453 to send_vc and send_dg.
14454 (res_nsend): Pass NULL for ansp2_malloced.
14455 * resolv/res_query.c (__libc_res_nquery): Add parameter
14456 answerp2_malloced and pass it down to __libc_res_nsend.
14457 (res_nquery): Pass additional NULL to __libc_res_nquery.
14458 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14459 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
14460 second answer buffer if answerp2_malloced was set.
14461 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14462 (__libc_res_nquerydomain): Add parameter
14463 answerp2_malloced and pass it down to __libc_res_nquery.
14464 (res_nquerydomain): Pass additional NULL to
14465 __libc_res_nquerydomain.
14466 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14467 additional NULL to __libc_res_nsend and __libc_res_nquery.
14468 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14469 additional NULL to __libc_res_nsearch.
14470 (_nss_dns_gethostbyname4_r): Revert last change. Use new
14471 parameter of __libc_res_nsearch to check for separately allocated
14472 second buffer.
14473 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14474 __libc_res_nquery.
14475 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14476 additional NULL to __libc_res_nquery.
14477 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14478 __libc_res_nsearch.
14479 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14480 * include/resolv.h: Update prototypes of __libc_res_nquery,
14481 __libc_res_nsearch, __libc_res_nsend.
14482
a4fb7861
JM
144832014-02-18 Joseph Myers <joseph@codesourcery.com>
14484
c6af2d89
JM
14485 * math/auto-libm-test-in: Add tests of fma.
14486 * math/auto-libm-test-out: Regenerated.
14487 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14488 (fma_towardzero_test_data): Likewise.
14489 (fma_downward_test_data): Likewise.
14490 (fma_upward_test_data): Likewise.
14491 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14492 mpc_mode.
14493 (rounding_modes): Add values for new field.
14494 (func_calc_method): Add value mpfr_fff_f.
14495 (func_calc_desc): Add mpfr_fff_f union field.
14496 (test_function): Add field exact_args.
14497 (FUNC): Add macro argument EXACT_ARGS.
14498 (FUNC_mpfr_f_f): Update call to FUNC.
14499 (FUNC_mpfr_f_f): Likewise.
14500 (FUNC_mpfr_ff_f): Likewise.
14501 (FUNC_mpfr_if_f): Likewise.
14502 (FUNC_mpc_c_f): Likewise.
14503 (FUNC_mpc_c_c): Likewise.
14504 (test_functions): Add fma. Update calls to FUNC.
14505 (handle_input_arg): Add argument exact_args.
14506 (add_test): Update call to handle_input_arg.
14507 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
14508 (output_for_one_input_case): Update call to calc_generic_results.
14509 Recalculate exact zero results in each rounding mode.
14510
a4fb7861
JM
14511 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14512 non-negative before setting low bit.
14513 * math/auto-libm-test-in: Mark one asin test possibly having
14514 spurious underflow.
14515 * math/auto-libm-test-out: Regenerated.
14516 * sysdeps/i386/fpu/libm-test-ulps: Update.
14517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14518
ef114eaf
DH
145192014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14520
2b7f4f2c
SP
14521 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14522 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14523 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
14524 * README: Add missing listing for microblaze*-*-linux-gnu.
14525
8125aedc
AM
145262014-02-16 Ondřej Bílka <neleai@seznam.cz>
14527
14528 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14529 duplicate code
14530
c70a4b1d
MF
145312014-02-16 Mike Frysinger <vapier@gentoo.org>
14532
14533 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14534 * sysdeps/unix/sysv/linux/ia64: Move directory from
14535 ports/sysdeps/unix/sysv/linux/ia64.
14536 * README: Update listing for ia64-*-linux-gnu.
14537
591aeaf7
TD
145382014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14539 Joseph Myers <joseph@codesourcery.com>
14540
14541 * Makeconfig (test-name): New variable.
14542 (evaluate-test): Likewise.
14543 * Makerules (do-test-clean): Remove .test-result files.
14544 (common-mostlyclean): Likewise.
14545 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14546 * scripts/evaluate-test.sh: New file.
14547
6e89caf1
JM
145482014-02-14 Joseph Myers <joseph@codesourcery.com>
14549
7f98f180
JM
14550 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14551 separate $(objpfx)tst-fopenloc-cmp.out and
14552 $(objpfx)tst-fopenloc-mem.out targets.
14553 (tests): Update dependencies.
14554 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14555 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14556 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14557 (tst-rxspencer-no-utf8-ARGS): New variable.
14558 (tst-rxspencer-no-utf8-ENV): Likewise.
14559 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14560 instead of $(objpfx)tst-rxspencer-mem.
14561 ($(objpfx)tst-rxspencer-mem): Change target to
14562 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14563 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14564 * posix/tst-rxspencer-no-utf8.c: New file.
14565
6e89caf1
JM
14566 * elf/Makefile ($(objpfx)order.out): Remove rule.
14567 [$(run-built-tests) = yes] (tests): Depend on
14568 $(objpfx)order-cmp.out.
14569 ($(objpfx)order-cmp.out): New rule.
14570 [$(run-built-tests) = yes] (tests): Depend on
14571 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14572 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14573 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14574 $(objpfx)tst-array5-static-cmp.out.
14575 ($(objpfx)tst-array1.out): Remove rule.
14576 ($(objpfx)tst-array1-cmp.out): New rule.
14577 ($(objpfx)tst-array1-static.out): Remove rule.
14578 ($(objpfx)tst-array1-static-cmp.out): New rule.
14579 ($(objpfx)tst-array2.out): Remove rule.
14580 ($(objpfx)tst-array2-cmp.out): New rule.
14581 ($(objpfx)tst-array3.out): Remove rule.
14582 ($(objpfx)tst-array3-cmp.out): New rule.
14583 ($(objpfx)tst-array4.out): Remove rule.
14584 ($(objpfx)tst-array4-cmp.out): New rule.
14585 ($(objpfx)tst-array5.out): Remove rule.
14586 ($(objpfx)tst-array5-cmp.out): New rule.
14587 ($(objpfx)tst-array5-static.out): Remove rule.
14588 ($(objpfx)tst-array5-static-cmp.out): New rule.
14589 [$(run-built-tests) = yes] (tests): Depend on
14590 $(objpfx)order2-cmp.out.
14591 ($(objpfx)order2.out): Remove rule.
14592 ($(objpfx)order2-cmp.out): New rule.
14593 ($(objpfx)tst-initorder.out): Remove rule.
14594 [$(run-built-tests) = yes] (tests): Depend on
14595 $(objpfx)tst-initorder-cmp.out.
14596 ($(objpfx)tst-initorder-cmp.out): New rule.
14597 ($(objpfx)tst-initorder2.out): Remove rule.
14598 [$(run-built-tests) = yes] (tests): Depend on
14599 $(objpfx)tst-initorder2-cmp.out.
14600 ($(objpfx)tst-initorder2-cmp.out): New rule.
14601 [$(run-built-tests) = yes] (tests): Depend on
14602 $(objpfx)tst-unused-dep-cmp.out.
14603 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14604 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14605 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14606 on $(objpfx)tst-setvbuf1-cmp.out.
14607 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14608 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14609 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14610 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14611 ($(objpfx)tst-svc.out): Remove rule.
14612 ($(objpfx)tst-svc-cmp.out): New rule.
14613
ed9a38e2
JM
146142014-02-13 Joseph Myers <joseph@codesourcery.com>
14615
14616 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14617 * ctype/ctype.h [__USE_MISC]: Likewise.
14618 * dirent/dirent.h [__USE_MISC]: Likewise.
14619 * grp/grp.h [__USE_MISC]: Likewise.
14620 * io/fcntl.h [__USE_MISC]: Likewise.
14621 * io/sys/stat.h [__USE_MISC]: Likewise.
14622 * libio/stdio.h [__USE_MISC]: Likewise.
14623 * posix/unistd.h [__USE_MISC]: Likewise.
14624 * pwd/pwd.h [__USE_MISC]: Likewise.
14625 * stdlib.h [__USE_MISC]: Likewise.
14626 * string/bits/string2.h [__USE_MISC]: Likewise.
14627 * string/string.h [__USE_MISC]: Likewise.
14628 * time/time.h [__USE_MISC]: Likewise.
14629
d6680619
AS
146302014-02-13 Andreas Schwab <schwab@suse.de>
14631
14632 [BZ #16574]
14633 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14634 second answer buffer if it was separately allocated.
14635
ace614b8
JM
146362014-02-12 Joseph Myers <joseph@codesourcery.com>
14637
743151ae
JM
14638 * sysdeps/mips/math-tests.h: Include <features.h>.
14639 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14640 (ROUNDING_TESTS_long_double): Do not define.
14641 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14642 (EXCEPTION_TESTS_long_double): Likewise.
14643 * sysdeps/mips/mips64/libm-test-ulps: Update.
14644
498afc54
JM
14645 * include/features.h (__USE_BSD): Remove macro definitions.
14646 (__USE_SVID): Likewise.
14647 (_BSD_SOURCE): Likewise.
14648 (_SVID_SOURCE): Likewise.
14649 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14650 from definition of _DEFAULT_SOURCE.
14651 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14652 [_DEFAULT_SOURCE].
14653 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14654 * bits/mman.h [__USE_BSD]: Likewise.
14655 * bits/termios.h [__USE_BSD]: Likewise.
14656 * bits/waitstatus.h [__USE_BSD]: Likewise.
14657 * ctype/ctype.h [__USE_SVID]: Likewise.
14658 * dirent/dirent.h [__USE_BSD]: Likewise.
14659 * grp/grp.h [__USE_SVID]: Likewise.
14660 [__USE_BSD]: Likewise.
14661 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14662 * io/fcntl.h [__USE_BSD]: Likewise.
14663 * io/ftw.h [__USE_BSD]: Likewise.
14664 * io/sys/stat.h [__USE_BSD]: Likewise.
14665 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14666 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14667 * libio/stdio.h [__USE_SVID]: Likewise.
14668 [__USE_BSD]: Likewise.
14669 * math/math.h [__USE_SVID]: Likewise.
14670 [__USE_BSD]: Likewise.
14671 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14672 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14673 * misc/search.h [__USE_SVID]: Likewise.
14674 * misc/sys/mman.h [__USE_BSD]: Likewise.
14675 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14676 * misc/sys/uio.h [__USE_BSD]: Likewise.
14677 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14678 * posix/glob.h [__USE_BSD]: Likewise.
14679 * posix/regex.h [__USE_BSD]: Likewise.
14680 * posix/sys/types.h [__USE_BSD]: Likewise.
14681 [__USE_SVID]: Likewise.
14682 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14683 * posix/sys/wait.h [__USE_BSD]: Likewise.
14684 [__USE_SVID]: Likewise.
14685 * posix/unistd.h [__USE_BSD]: Likewise.
14686 [__USE_SVID]: Likewise.
14687 * pwd/pwd.h [__USE_SVID]: Likewise.
14688 * resolv/netdb.h [__USE_BSD]: Likewise.
14689 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14690 * signal/signal.h [__USE_BSD]: Likewise.
14691 [__USE_SVID]: Likewise.
14692 * socket/sys/socket.h [__USE_BSD]: Likewise.
14693 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14694 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14695 [__USE_SVID]: Likewise.
14696 * string/bits/string2.h [__USE_BSD]: Likewise.
14697 [__USE_SVID]: Likewise.
14698 * string/bits/string3.h [__USE_BSD]: Likewise.
14699 * string/endian.h [__USE_BSD]: Likewise.
14700 * string/string.h [__USE_SVID]: Likewise.
14701 [__USE_BSD]: Likewise.
14702 * string/strings.h [__USE_BSD]: Likewise.
14703 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14704 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14705 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14706 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14707 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14708 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14709 Likewise.
14710 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14711 Likewise.
14712 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14713 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14714 Likewise.
14715 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14716 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14717 Likewise.
14718 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14719 Likewise.
14720 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14721 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14722 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14723 Likewise.
14724 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14725 Likewise.
14726 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14727 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14728 * termios/termios.h [__USE_BSD]: Likewise.
14729 * time/sys/time.h [__USE_BSD]: Likewise.
14730 * time/time.h [__USE_BSD]: Likewise.
14731 [__USE_SVID]: Likewise.
14732
dd7b064c
JM
14733 * Makefile (subdir_targets): Remove subdir_lint.out.
14734
a2c4c199
JM
14735 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14736 (do-tst-printf): Likewise.
14737 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14738 $(objpfx)tst-printf.out.
14739
8756f740
JM
14740 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14741
1b6dd3f1
JM
14742 * Makerules (check-abi-%): Change target to
14743 $(objpfx)check-abi-%.out.
14744 (check-abi target): Update dependencies.
14745 (check-abi-pattern variable): Redirect output of diff to $@.
14746 (check-abi variable): Likewise.
14747 * elf/Makefile (check-abi): Update dependencies.
14748
ace614b8
JM
14749 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14750 unused.
14751 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14752 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14753 subnormal range.
14754 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14755 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14756 value has largest subnormal exponent.
14757 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14758 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14759 * sysdeps/aarch64/soft-fp/sfp-machine.h
14760 (_FP_TININESS_AFTER_ROUNDING): New macro.
14761 * sysdeps/alpha/soft-fp/sfp-machine.h
14762 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14763 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14764 Likewise.
14765 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14766 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14767 * sysdeps/mips/soft-fp/sfp-machine.h
14768 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14769 * sysdeps/powerpc/soft-fp/sfp-machine.h
14770 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14771 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14772 Likewise.
14773 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14774 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14775 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14776 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14777 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14778 Likewise.
14779
fbfdf9cb
DAS
147802014-02-12 Dylan Alex Simon <dylan@dylex.net>
14781
14782 [BZ #16545]
14783 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14784 model 1.
14785
68b7efaa
RH
147862014-02-12 Richard Henderson <rth@redhat.com>
14787
c70a4b1d 14788 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
14789 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14790 * sysdeps/unix/sysv/linux/alpha: Move directory from
14791 ports/sysdeps/unix/sysv/linux/alpha.
14792 * README: Update listing for alpha-*-linux-gnu.
14793
cb4a2928
JM
147942014-02-11 Joseph Myers <joseph@codesourcery.com>
14795
c941736c
JM
14796 * include/features.h: Update comment documenting feature test
14797 macros.
14798 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14799 _DEFAULT_SOURCE.
14800 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14801 (_SVID_SOURCE): Likewise.
14802 (_DEFAULT_SOURCE): Update description of default features.
14803 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14804 with _GNU_SOURCE.
14805 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14806 (S_ISVTX): Likewise.
14807 * manual/math.texi (Mathematical Constants): Likewise.
14808 * manual/signal.texi (Interrupted Primitives): Likewise.
14809 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14810 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14811 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14812 Don't refer to _SVID_SOURCE in warning text.
14813
e8d8d7ec
JM
14814 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14815
cb4a2928
JM
14816 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14817 already defined.
14818 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14819 * sysdeps/mips/dl-lookup.c: Remove.
14820 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14821
7e6424e3
AK
148222014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14823
14824 [BZ #16447]
14825 * math/auto-libm-test-in: Add testcase for expl.
14826 * math/auto-libm-test-out: Regenerate.
14827 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14828 calculation of unsafe.
14829 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14830
75eff3fe
MS
148312014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14832
14833 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14834 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14835 ports/sysdeps/unix/sysv/linux/aarch64.
14836 * README: Update listing for aarch64*-*-linux-gnu.
14837
d35f1e80
WN
148382014-02-11 Will Newton <will.newton@linaro.org>
14839
14840 * manual/probes.texi (Mathematical Function Probes): Use
14841 "triggered" instead of "hit".
14842
7b3436d4
WN
14843 * manual/probes.texi (Internal Probes): Add documentation
14844 of setjmp, longjmp and longjmp_target probes.
14845
b4f12ca3
WN
14846 * include/stap-probe.h: Add comment about probe argument
14847 format.
14848
c13a72b7
WN
14849 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14850 definition. (tr_where, tr_freehook, tr_mallochook,
14851 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14852
195b8165
DM
148532014-02-11 David S. Miller <davem@davemloft.net>
14854
14855 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14856 processing int_tests.
14857
2ad7600b
JM
148582014-02-10 Joseph Myers <joseph@codesourcery.com>
14859
14860 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14861 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14862 * sysdeps/unix/sysv/linux/mips: Move directory from
14863 ports/sysdeps/unix/sysv/linux/mips.
14864 * README: Update listing for mips-*-linux-gnu and
14865 mips64-*-linux-gnu.
14866
73588a72
AS
148672014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14868
14869 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14870 * sysdeps/unix/sysv/linux/m68k: Move directory from
14871 ports/sysdeps/unix/sysv/linux/m68k.
14872 * README: Update listing for m68k-*-linux-gnu.
14873
4372980f
CM
148742014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14875
14876 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14877 * sysdeps/unix/sysv/linux/generic: Move directory from
14878 ports/sysdeps/unix/sysv/linux/generic.
14879 * sysdeps/unix/sysv/linux/tile: Move directory from
14880 ports/sysdeps/unix/sysv/linux/tile.
14881 * README: Update listing for tile*-*-linux-gnu.
14882
a1ffb40e
OB
148832014-02-10 Ondřej Bílka <neleai@seznam.cz>
14884
57f41c40
AS
14885 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14886 __builtin_expect.
a1ffb40e
OB
14887 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14888 * catgets/open_catalog.c (__open_catalog): Likewise.
14889 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14890 * debug/confstr_chk.c: Likewise.
14891 * debug/fread_chk.c (__fread_chk): Likewise.
14892 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14893 * debug/getgroups_chk.c: Likewise.
14894 * debug/mbsnrtowcs_chk.c: Likewise.
14895 * debug/mbsrtowcs_chk.c: Likewise.
14896 * debug/mbstowcs_chk.c: Likewise.
14897 * debug/memcpy_chk.c: Likewise.
14898 * debug/memmove_chk.c: Likewise.
14899 * debug/mempcpy_chk.c: Likewise.
14900 * debug/memset_chk.c: Likewise.
14901 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14902 * debug/strcat_chk.c (__strcat_chk): Likewise.
14903 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14904 * debug/strncat_chk.c (__strncat_chk): Likewise.
14905 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14906 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14907 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14908 * debug/wcpncpy_chk.c: Likewise.
14909 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14910 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14911 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14912 * debug/wcsncpy_chk.c: Likewise.
14913 * debug/wcsnrtombs_chk.c: Likewise.
14914 * debug/wcsrtombs_chk.c: Likewise.
14915 * debug/wcstombs_chk.c: Likewise.
14916 * debug/wmemcpy_chk.c: Likewise.
14917 * debug/wmemmove_chk.c: Likewise.
14918 * debug/wmempcpy_chk.c: Likewise.
14919 * debug/wmemset_chk.c: Likewise.
14920 * dirent/scandirat.c (SCANDIRAT): Likewise.
14921 * dlfcn/dladdr1.c (dladdr1): Likewise.
14922 * dlfcn/dladdr.c (dladdr): Likewise.
14923 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14924 * dlfcn/dlerror.c (__dlerror): Likewise.
14925 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14926 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14927 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14928 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14929 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14930 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14931 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14932 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14933 Likewise.
14934 * elf/dl-conflict.c: Likewise.
14935 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14936 * elf/dl-dst.h: Likewise.
14937 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14938 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14939 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14940 * elf/dl-init.c (call_init, _dl_init): Likewise.
14941 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
14942 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14943 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14944 Likewise.
a1ffb40e
OB
14945 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14946 Likewise.
14947 * elf/dl-minimal.c (__libc_memalign): Likewise.
14948 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14949 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14950 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14951 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
14952 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14953 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
14954 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14955 * elf/dl-writev.h (_dl_writev): Likewise.
14956 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
14957 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14958 (dl_main): Likewise.
a1ffb40e
OB
14959 * elf/setup-vdso.h (setup_vdso): Likewise.
14960 * grp/compat-initgroups.c (compat_call): Likewise.
14961 * grp/fgetgrent.c (fgetgrent): Likewise.
14962 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14963 * grp/putgrent.c (putgrent): Likewise.
14964 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14965 Likewise.
14966 * hurd/hurdinit.c: Likewise.
14967 * iconvdata/8bit-gap.c (struct): Likewise.
14968 * iconvdata/ansi_x3.110.c : Likewise.
14969 * iconvdata/big5.c : Likewise.
14970 * iconvdata/big5hkscs.c : Likewise.
14971 * iconvdata/cp1255.c: Likewise.
14972 * iconvdata/cp1258.c : Likewise.
14973 * iconvdata/cp932.c : Likewise.
14974 * iconvdata/euc-cn.c: Likewise.
14975 * iconvdata/euc-jisx0213.c : Likewise.
14976 * iconvdata/euc-jp.c: Likewise.
14977 * iconvdata/euc-jp-ms.c : Likewise.
14978 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14979 * iconvdata/gb18030.c : Likewise.
14980 * iconvdata/gbbig5.c (const): Likewise.
14981 * iconvdata/gbgbk.c: Likewise.
14982 * iconvdata/gbk.c : Likewise.
14983 * iconvdata/ibm1364.c : Likewise.
14984 * iconvdata/ibm930.c : Likewise.
14985 * iconvdata/ibm932.c: Likewise.
14986 * iconvdata/ibm933.c : Likewise.
14987 * iconvdata/ibm935.c : Likewise.
14988 * iconvdata/ibm937.c : Likewise.
14989 * iconvdata/ibm939.c : Likewise.
14990 * iconvdata/ibm943.c: Likewise.
14991 * iconvdata/iso_11548-1.c: Likewise.
14992 * iconvdata/iso-2022-cn.c : Likewise.
14993 * iconvdata/iso-2022-cn-ext.c : Likewise.
14994 * iconvdata/iso-2022-jp-3.c: Likewise.
14995 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14996 * iconvdata/iso-2022-kr.c : Likewise.
14997 * iconvdata/iso646.c (gconv_end): Likewise.
14998 * iconvdata/iso_6937-2.c : Likewise.
14999 * iconvdata/iso_6937.c : Likewise.
15000 * iconvdata/iso8859-1.c: Likewise.
15001 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15002 * iconvdata/shift_jisx0213.c : Likewise.
15003 * iconvdata/sjis.c : Likewise.
15004 * iconvdata/t.61.c : Likewise.
15005 * iconvdata/tcvn5712-1.c : Likewise.
15006 * iconvdata/tscii.c: Likewise.
15007 * iconvdata/uhc.c : Likewise.
15008 * iconvdata/unicode.c (gconv_end): Likewise.
15009 * iconvdata/utf-16.c (gconv_end): Likewise.
15010 * iconvdata/utf-32.c (gconv_end): Likewise.
15011 * iconvdata/utf-7.c (base64): Likewise.
15012 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15013 * iconv/gconv_close.c (__gconv_close): Likewise.
15014 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
15015 * iconv/gconv_simple.c (internal_ucs4_loop_single)
15016 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15017 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15018 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15019 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
15020 * iconv/iconv.c (iconv): Likewise.
15021 * iconv/iconv_close.c: Likewise.
15022 * iconv/loop.c (SINGLE): Likewise.
15023 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15024 * include/atomic.h: Likewise.
15025 * inet/inet6_option.c (option_alloc): Likewise.
15026 * intl/bindtextdom.c (set_binding_values): Likewise.
15027 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15028 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15029 * intl/localealias.c (read_alias_file): Likewise.
15030 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
15031 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15032 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
15033 * libio/fmemopen.c (fmemopen): Likewise.
15034 * libio/iofgets.c (_IO_fgets): Likewise.
15035 * libio/iofgets_u.c (fgets_unlocked): Likewise.
15036 * libio/iofgetws.c (fgetws): Likewise.
15037 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15038 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
15039 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15040 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
15041 * locale/findlocale.c (_nl_find_locale): Likewise.
15042 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15043 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15044 Likewise.
15045 * locale/setlocale.c (setlocale): Likewise.
15046 * login/programs/pt_chown.c (main): Likewise.
15047 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15048 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
15049 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15050 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
15051 * math/e_exp2l.c: Likewise.
15052 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15053 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15054 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15055 * math/s_catan.c (__catan): Likewise.
15056 * math/s_catanf.c (__catanf): Likewise.
15057 * math/s_catanh.c (__catanh): Likewise.
15058 * math/s_catanhf.c (__catanhf): Likewise.
15059 * math/s_catanhl.c (__catanhl): Likewise.
15060 * math/s_catanl.c (__catanl): Likewise.
15061 * math/s_ccosh.c (__ccosh): Likewise.
15062 * math/s_ccoshf.c (__ccoshf): Likewise.
15063 * math/s_ccoshl.c (__ccoshl): Likewise.
15064 * math/s_cexp.c (__cexp): Likewise.
15065 * math/s_cexpf.c (__cexpf): Likewise.
15066 * math/s_cexpl.c (__cexpl): Likewise.
15067 * math/s_clog10.c (__clog10): Likewise.
15068 * math/s_clog10f.c (__clog10f): Likewise.
15069 * math/s_clog10l.c (__clog10l): Likewise.
15070 * math/s_clog.c (__clog): Likewise.
15071 * math/s_clogf.c (__clogf): Likewise.
15072 * math/s_clogl.c (__clogl): Likewise.
15073 * math/s_csin.c (__csin): Likewise.
15074 * math/s_csinf.c (__csinf): Likewise.
15075 * math/s_csinh.c (__csinh): Likewise.
15076 * math/s_csinhf.c (__csinhf): Likewise.
15077 * math/s_csinhl.c (__csinhl): Likewise.
15078 * math/s_csinl.c (__csinl): Likewise.
15079 * math/s_csqrt.c (__csqrt): Likewise.
15080 * math/s_csqrtf.c (__csqrtf): Likewise.
15081 * math/s_csqrtl.c (__csqrtl): Likewise.
15082 * math/s_ctan.c (__ctan): Likewise.
15083 * math/s_ctanf.c (__ctanf): Likewise.
15084 * math/s_ctanh.c (__ctanh): Likewise.
15085 * math/s_ctanhf.c (__ctanhf): Likewise.
15086 * math/s_ctanhl.c (__ctanhl): Likewise.
15087 * math/s_ctanl.c (__ctanl): Likewise.
15088 * math/w_pow.c: Likewise.
15089 * math/w_powf.c: Likewise.
15090 * math/w_powl.c: Likewise.
15091 * math/w_scalb.c (sysv_scalb): Likewise.
15092 * math/w_scalbf.c (sysv_scalbf): Likewise.
15093 * math/w_scalbl.c (sysv_scalbl): Likewise.
15094 * misc/error.c (error_tail): Likewise.
15095 * misc/pselect.c (__pselect): Likewise.
15096 * nis/nis_callback.c (__nis_create_callback): Likewise.
15097 * nis/nis_call.c (__nisfind_server): Likewise.
15098 * nis/nis_creategroup.c (nis_creategroup): Likewise.
15099 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15100 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15101 * nis/nis_getservlist.c (nis_getservlist): Likewise.
15102 * nis/nis_lookup.c (nis_lookup): Likewise.
15103 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
15104 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15105 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 15106 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
15107 * nis/nss_compat/compat-grp.c (getgrent_next_file)
15108 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15109 * nis/nss_compat/compat-initgroups.c (add_group)
15110 (internal_getgrent_r): Likewise.
15111 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15112 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15113 * nis/nss_compat/compat-spwd.c (getspent_next_file)
15114 (internal_getspnam_r): Likewise.
15115 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15116 (_nss_nis_getaliasbyname_r): Likewise.
15117 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15118 (_nss_nis_getntohost_r): Likewise.
15119 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15120 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15121 (_nss_nis_getgrgid_r): Likewise.
15122 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15123 (internal_nis_gethostent_r, internal_gethostbyname2_r)
15124 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15125 (_nss_nis_gethostbyname4_r): Likewise.
15126 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15127 (initgroups_netid): Likewise.
a1ffb40e 15128 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
15129 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15130 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15131 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15132 (_nss_nis_getprotobynumber_r): Likewise.
15133 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15134 (_nss_nis_getsecretkey): Likewise.
15135 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15136 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15137 (_nss_nis_getpwuid_r): Likewise.
15138 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15139 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15140 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15141 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15142 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15143 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
15144 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15145 Likewise.
57f41c40
AS
15146 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15147 (_nss_nisplus_getntohost_r): Likewise.
15148 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15149 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15150 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15151 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 15152 Likewise.
57f41c40
AS
15153 * nis/nss_nisplus/nisplus-initgroups.c
15154 (_nss_nisplus_initgroups_dyn): Likewise.
15155 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15156 (_nss_nisplus_getnetbyaddr_r): Likewise.
15157 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15158 (_nss_nisplus_getprotobynumber_r): Likewise.
15159 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15160 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
15161 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15162 Likewise.
57f41c40
AS
15163 * nis/nss_nisplus/nisplus-service.c
15164 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15165 (_nss_nisplus_getservbyport_r): Likewise.
15166 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15167 (_nss_nisplus_getspnam_r): Likewise.
15168 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15169 Likewise.
a1ffb40e
OB
15170 * nscd/aicache.c (addhstaiX): Likewise.
15171 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
15172 * nscd/connections.c (register_traced_file, send_ro_fd)
15173 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15174 (main_loop_epoll): Likewise.
a1ffb40e
OB
15175 * nscd/grpcache.c (addgrbyX): Likewise.
15176 * nscd/hstcache.c (addhstbyX): Likewise.
15177 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15178 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
15179 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15180 (addinnetgrX): Likewise.
15181 * nscd/nscd-client.h (__nscd_acquire_maplock)
15182 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
15183 * nscd/nscd_getai.c (__nscd_getai): Likewise.
15184 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15185 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15186 Likewise.
15187 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15188 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
15189 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15190 (__nscd_get_map_ref): Likewise.
a1ffb40e 15191 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
15192 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15193 Likewise.
a1ffb40e
OB
15194 * nscd/pwdcache.c (addpwbyX): Likewise.
15195 * nscd/selinux.c (preserve_capabilities): Likewise.
15196 * nscd/servicescache.c (addservbyX): Likewise.
15197 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15198 * posix/fnmatch.c (fnmatch): Likewise.
15199 * posix/getopt.c (_getopt_internal_r): Likewise.
15200 * posix/glob.c (glob, glob_in_dir): Likewise.
15201 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
15202 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15203 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
15204 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15205 * resolv/res_init.c: Likewise.
15206 * resolv/res_mkquery.c (res_nmkquery): Likewise.
15207 * resolv/res_query.c (__libc_res_nquery): Likewise.
15208 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15209 Likewise.
15210 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15211 * stdio-common/perror.c (perror): Likewise.
15212 * stdio-common/printf_fp.c (___printf_fp): Likewise.
15213 * stdio-common/tmpnam.c (tmpnam): Likewise.
15214 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15215 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
15216 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15217 Likewise.
a1ffb40e
OB
15218 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15219 * stdlib/putenv.c (putenv): Likewise.
15220 * stdlib/setenv.c (__add_to_environ): Likewise.
15221 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15222 * stdlib/strtol_l.c (INTERNAL): Likewise.
15223 * string/memmem.c (memmem): Likewise.
15224 * string/strerror.c (strerror): Likewise.
15225 * string/strnlen.c (__strnlen): Likewise.
15226 * string/test-memmem.c (simple_memmem): Likewise.
15227 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15228 * sunrpc/pm_getport.c (__get_socket): Likewise.
15229 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15230 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
15231 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15232 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
15233 Likewise.
15234 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15235 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15236 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15237 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15238 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
15239 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15240 Likewise.
15241 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15242 Likewise.
a1ffb40e
OB
15243 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15244 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15245 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15246 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15247 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15248 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15249 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15250 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15251 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15252 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15253 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15254 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15255 Likewise.
15256 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15257 Likewise.
15258 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15259 Likewise.
15260 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15261 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15262 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15263 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15264 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15265 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15266 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15267 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15268 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15269 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15270 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15271 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15272 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15273 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
15275 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15276 Likewise.
a1ffb40e
OB
15277 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15278 Likewise.
15279 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15280 Likewise.
15281 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15282 Likewise.
15283 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15284 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15285 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15286 Likewise.
15287 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15288 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15289 * sysdeps/posix/opendir.c (__opendirat): Likewise.
15290 * sysdeps/posix/sleep.c: Likewise.
15291 * sysdeps/posix/tempname.c: Likewise.
15292 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15293 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15294 Likewise.
57f41c40
AS
15295 * sysdeps/powerpc/powerpc32/dl-machine.h
15296 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
15297 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15298 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15299 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15300 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15301 Likewise.
15302 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15303 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15304 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15305 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15306 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15307 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15308 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15309 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15310 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15311 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15312 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15313 (elf_machine_lazy_rel): Likewise.
a1ffb40e 15314 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15315 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15316 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15317 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15318 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15319 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15320 * sysdeps/unix/grantpt.c (grantpt): Likewise.
15321 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15322 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15323 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15324 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15325 Likewise.
15326 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15327 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15328 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15329 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15330 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15331 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15332 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15333 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15334 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15335 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15336 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15337 Likewise.
15338 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15339 (__posix_fallocate64_l64): Likewise.
15340 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15341 (posix_fallocate): Likewise.
57f41c40
AS
15342 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15343 Likewise.
a1ffb40e 15344 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
15345 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15346 (getifaddrs_internal): Likewise.
a1ffb40e
OB
15347 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15348 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15349 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15350 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15351 * sysdeps/unix/sysv/linux/posix_fallocate64.c
15352 (__posix_fallocate64_l64): Likewise.
15353 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15354 Likewise.
15355 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
15356 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15357 (__get_clockfreq): Likewise.
a1ffb40e
OB
15358 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15359 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15360 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15361 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15362 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15363 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15364 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15365 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15366 Likewise.
15367 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15368 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15369 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15370 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15371 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15372 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15373 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15374 Likewise.
15375 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15376 (posix_fallocate): Likewise.
15377 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15378 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15379 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15380 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15381 (elf_machine_rela, elf_machine_rela_relative)
15382 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15383 * time/asctime.c (asctime_internal): Likewise.
15384 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15385 * time/tzset.c (__tzset_parse_tz): Likewise.
15386 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15387 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15388 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15389 * wcsmbs/wcsmbsload.h: Likewise.
15390
f3d338c9
OB
15391 [BZ #15894]
15392 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15393
57f41c40
AS
15394 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15395 (arena_get2): Remove THREAD_STATS conditionals.
15396 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15397 (__malloc_stats, int): Likewise.
bdfe308a 15398
d674667c
MF
153992014-02-08 Mike Frysinger <vapier@gentoo.org>
15400
15401 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15402 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
15403
6349768c
MF
15404 * manual/setjmp.texi: Fix typos/grammar errors.
15405
0b7c7473
MF
15406 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15407 Only return early when n is <= 0. Delete unused return statement.
15408
ac8cc9e3
MF
15409 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15410 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15411 * debug/tst-longjmp_chk3.c: New file.
15412
c5bb8e23
MF
15413 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15414 (test_main): Replace code with set_fortify_handler call.
15415 * debug/test-strcpy_chk.c: Likewise.
15416 * debug/tst-chk1.c: Likewise.
15417 * debug/tst-longjmp_chk.c: Likewise.
15418 * test-skeleton.c: Include fcntl.h & paths.h
15419 (set_fortify_handler): Define.
15420
10444e42
MF
15421 * debug/tst-longjmp_chk.c: Add header comment and include
15422 ../test-skeleton.c.
15423 (do_test): Mark static.
15424 (TEST_FUNCTION): Define.
15425
1e805e8d
MF
15426 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15427 (IP_PMTUDISC_INTERFACE): Likewise.
15428 (IP_MULTICAST_IF): Likewise.
15429 (IP_MULTICAST_TTL): Likewise.
15430 (IP_MULTICAST_LOOP): Likewise.
15431 (IP_ADD_MEMBERSHIP): Likewise.
15432 (IP_DROP_MEMBERSHIP): Likewise.
15433 (IP_UNBLOCK_SOURCE): Likewise.
15434 (IP_BLOCK_SOURCE): Likewise.
15435 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15436 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15437 (IP_MSFILTER): Likewise.
15438 (MCAST_JOIN_GROUP): Likewise.
15439 (MCAST_BLOCK_SOURCE): Likewise.
15440 (MCAST_UNBLOCK_SOURCE): Likewise.
15441 (MCAST_LEAVE_GROUP): Likewise.
15442 (MCAST_JOIN_SOURCE_GROUP): Likewise.
15443 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15444 (MCAST_MSFILTER): Likewise.
15445 (IP_MULTICAST_ALL): Likewise.
15446 (IP_UNICAST_IF): Likewise.
15447
73f79bb7
MF
15448 * timezone/Makefile: Delete $(have-ksh) check.
15449 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15450 * timezone/tzselect.ksh: Add +x mode bits.
15451
8da79b60
MF
15452 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15453 (ANON_INODE_FS_MAGIC): Likewise.
15454 (BDEVFS_MAGIC): Likewise.
15455 (BINFMTFS_MAGIC): Likewise.
15456 (BTRFS_TEST_MAGIC): Likewise.
15457 (CRAMFS_MAGIC_WEND): Likewise.
15458 (DEBUGFS_MAGIC): Likewise.
15459 (ECRYPTFS_SUPER_MAGIC): Likewise.
15460 (EXT3_SUPER_MAGIC): Likewise.
15461 (EXT4_SUPER_MAGIC): Likewise.
15462 (FUTEXFS_SUPER_MAGIC): Likewise.
15463 (HOSTFS_SUPER_MAGIC): Likewise.
15464 (HUGETLBFS_MAGIC): Likewise.
15465 (MINIX3_SUPER_MAGIC): Likewise.
15466 (MTD_INODE_FS_MAGIC): Likewise.
15467 (NILFS_SUPER_MAGIC): Likewise.
15468 (OPENPROM_SUPER_MAGIC): Likewise.
15469 (PIPEFS_MAGIC): Likewise.
15470 (PSTOREFS_MAGIC): Likewise.
15471 (QNX6_SUPER_MAGIC): Likewise.
15472 (RAMFS_MAGIC): Likewise.
15473 (REISERFS_SUPER_MAGIC_STRING): Likewise.
15474 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15475 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15476 (SECURITYFS_MAGIC): Likewise.
15477 (SELINUX_MAGIC): Likewise.
15478 (SMACK_MAGIC): Likewise.
15479 (SOCKFS_MAGIC): Likewise.
15480 (SQUASHFS_MAGIC): Likewise.
15481 (STACK_END_MAGIC): Likewise.
15482 (TMPFS_MAGIC): Likewise.
15483 (USBDEVICE_SUPER_MAGIC): Likewise.
15484 (V9FS_MAGIC): Likewise.
15485 (XENFS_SUPER_MAGIC): Likewise.
15486 (CRAMFS_MAGIC): Fix typo in comment.
15487 (EXT2_SUPER_MAGIC): Update comment.
15488 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15489
464263cc
JM
154902014-02-08 Joseph Myers <joseph@codesourcery.com>
15491
c6bfe5c4
JM
15492 * sysdeps/arm: Move directory from ports/sysdeps/arm.
15493 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15494 * sysdeps/unix/sysv/linux/arm: Move directory from
15495 ports/sysdeps/unix/sysv/linux/arm.
15496 * README: Update listing for arm-*-linux-gnueabi.
15497
464263cc
JM
15498 * README: Remove mention of am33.
15499
32749f6c
RM
155002014-02-07 Roland McGrath <roland@hack.frob.com>
15501
15502 * bits/sigset.h (__sigemptyset): Use a statement expression rather
15503 than the comma operator, to avoid "rhs of comma has no effect"
15504 compiler warnings.
15505 (__sigfillset, __sigandset, __sigorset): Likewise.
15506 * include/signal.h (__sigemptyset): Likewise.
15507 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15508
d5b396c1
AM
155092014-02-07 Allan McRae <allan@archlinux.org>
15510
15511 * version.h (RELEASE): Set to "development".
15512 (VERSION): Set to "2.19.90"
15513 * NEWS: Add 2.20 section.
15514
3bfff2ed
CD
155152014-02-06 Carlos O'Donell <carlos@redhat.com>
15516
15517 [BZ #16529]
15518 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15519
ee7cc385
SP
155202014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15521
15522 * manual/contrib.texi: Update entry for Carlos O'Donell,
15523 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15524
f877c4f2
CD
155252014-02-05 Carlos O'Donell <carlos@rehdat.com>
15526
27e839f6
CD
15527 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15528
f877c4f2
CD
15529 * sysdeps/unix/sysv/linux/kernel-features.h
15530 [__LINUX_KERNEL_VERSION >= 0x020621]
15531 (__ASSUME_PROC_PID_TASK_COMM): Define.
15532
68159946
SP
155332014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15534
ba17cdbd
SP
15535 [BZ #16398]
15536 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15537 conversion when destination buffer does not have enough space.
15538 * libio/tst-ftell-partial-wide.c: New test case.
15539 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15540
68159946
SP
15541 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15542 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15543 Leonard and Allan McRae.
15544
2b528732
DM
155452014-02-04 David S. Miller <davem@davemloft.net>
15546
15547 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15548 32-bit.
15549
0ff82463
AZ
155502014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15551
57f41c40
AS
15552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15553 New file
c01603f7
AZ
15554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15555 New file
57f41c40
AS
15556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15557 New file.
15558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15559 New file.
c01603f7
AZ
15560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15561 New file.
57f41c40
AS
15562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15563 New file.
15564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15565 New file.
c01603f7
AZ
15566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15567 New file.
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15569 New file.
15570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15571 New file.
15572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15573 New file.
15574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15575 New file.
15576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15577 New file.
15578
155792014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15580
0ff82463
AZ
15581 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15582 * shlib-versions: Likewise.
15583
1695c773
AZ
155842014-02-04 Roland McGrath <roland@hack.frob.com>
15585 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15586
15587 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15588 (abilist-pattern): New variable, set to %-le.abilist.
15589
15590 * Makerules (abilist-pattern): New variable.
15591 (vpath): Use $(abilist-pattern) in place of %.abilist.
15592 (check-abi-% pattern rule): Likewise.
15593 (check-abi, update-abi): Likewise.
15594
6c0ce4b4
EW
155952014-02-04 Eric Wong <normalperson@yhbt.net>
15596
15597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15598
481e3524
CD
155992014-02-03 Carlos O'Donell <carlos@redhat.com>
15600
15601 * manual/startup.texi: Add next, previous, and top entries for
15602 the `Program Arguments' and `Environment Variables' nodes.
15603
375592d3
AO
156042014-02-03 Alexandre Oliva <aoliva@redhat.com>
15605
15606 * manual/macros.texi: Add comments before MTASC-safety macros.
15607
f54838ba
AO
15608 * manual/users.texi: Document MTASC-safety properties.
15609
57f41c40
AS
15610 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15611 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
15612 @deftypefun, and add @safety note.
15613 * manual/signal.texi: Move comments that analyze the above
15614 functions to their home place.
15615
fd3daba4
AM
156162014-02-03 Allan McRae <allan@archlinux.org>
15617
15618 * po/sl.po: Update Slovenian translation from translation project.
15619
597636d7
AO
156202014-02-02 Alexandre Oliva <aoliva@redhat.com>
15621
15622 * manual/time.texi (timegm): Add missing blank after @c.
15623 Reported by Joseph Myers <joseph@codesourcery.com>.
15624
ee196e3c
AO
156252014-02-01 Alexandre Oliva <aoliva@redhat.com>
15626
15627 * manual/check-safety.sh: New.
15628 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15629
f8d529d5
AO
15630 * manual/terminal.texi: Document MTASC-safety properties.
15631
de55fdf4
AO
15632 * manual/filesys.texi: Document MTASC-safety properties.
15633
c3299c08
AO
15634 * manual/errno.texi: Document MTASC-safety properties.
15635
06e90b14
AO
15636 * manual/intro.texi: Document safety identifiers and
15637 conditionals.
15638
1acd4371
AO
15639 * manual/string.texi (wcstok): Fix prototype.
15640 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15641
23e5b8cb
AO
15642 * manual/time.texi: Document MTASC-safety properties.
15643
11087373
AO
15644 * manual/string.texi: Document MTASC-safety properties.
15645
5da2c93d
AO
15646 * manual/threads.texi: Document MTASC-safety properties.
15647
171e9210
AO
15648 * manual/stdio.texi: Document MTASC-safety properties.
15649
d9e02532
AO
15650 * manual/syslog.texi: Document MTASC-safety properties.
15651
6af8bab7
AO
15652 * manual/sysinfo.texi: Document MTASC-safety properties.
15653
663b02d7
AO
15654 * manual/startup.texi: Document MTASC-safety properties.
15655
973f180b
AO
15656 * manual/socket.texi: Document MTASC-safety properties.
15657
8f3c25c8
AO
15658 * manual/signal.texi: Document MTASC-safety properties.
15659
542210fb
AO
156602014-01-31 Alexandre Oliva <aoliva@redhat.com>
15661
15662 * manual/setjmp.texi: Document MTASC-safety properties.
15663
433c45a2
AO
15664 * manual/search.texi: Document MTASC-safety properties.
15665
c8ce789c
AO
15666 * manual/resource.texi: Document MTASC-safety properties.
15667
19f5d29c
AO
15668 * manual/process.texi: Document MTASC-safety properties.
15669
e2dfb7f4
AO
15670 * manual/platform.texi: Document MTASC-safety properties.
15671
8c1413f5
AO
15672 * manual/pipe.texi: Document MTASC-safety properties.
15673
03483ada
AO
15674 * manual/pattern.texi: Document MTASC-safety properties.
15675
29e7e2df
AO
15676 * manual/message.texi: Document MTASC-safety properties.
15677
9f529d7c
AO
15678 [BZ #12751]
15679 * manual/memory.texi: Document MTASC-safety properties.
15680
27aaa791
AO
15681 * manual/math.texi: Document MTASC-safety properties.
15682
f2d58726
AO
15683 * manual/locale.texi: Document MTASC-safety properties.
15684
2cc3615c
AO
15685 * manual/llio.texi: Document MTASC-safety properties.
15686
d9f0ec97
AO
15687 * manual/libdl.texi: New.
15688
e7c4409a
AO
15689 * manual/lang.texi: Document MTASC-safety properties.
15690
27bdc63c
AO
15691 * manual/job.texi: Document MTASC-safety properties.
15692
a7b90ea9
AO
15693 * manual/getopt.texi: Document MTASC-safety properties.
15694
c49130e3
AO
15695 * manual/ctype.texi: Document MTASC-safety properties.
15696
0d23a5c1
MR
156972014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15698
15699 [BZ #16046]
15700 * csu/libc-tls.c (static_map): Remove variable.
15701 (__libc_setup_tls): Use main executable's link map for TLS data.
15702 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15703 casing for LM_ID_BASE and GL(dl_nns).
15704 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15705 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15706 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15707 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15708 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15709 member.
15710 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15711 l_phnum members.
15712
0037bb60
AO
157132014-01-30 Alexandre Oliva <aoliva@redhat.com>
15714
15715 * manual/debug.texi: Document MTASC-safety properties.
15716
409e00bd
L
157172014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15718
15719 [BZ #16510]
15720 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15721 of __x86_64__ when disabling x87 inline functions.
15722
86e60666
AO
157232014-01-29 Alexandre Oliva <aoliva@redhat.com>
15724
15725 * manual/charset.texi: Document MTASC-safety properties.
15726
76167637
AO
15727 * manual/crypt.texi: Document MTASC-safety properties.
15728
e567f2a0
AO
15729 * manual/conf.texi: Document MTASC-safety properties.
15730
b719dafd
AO
15731 * manual/arith.texi: Document MTASC-safety properties.
15732
4a16c662
AO
15733 * manual/argp.texi: Document MTASC-safety properties.
15734
0a57b83e
AO
15735 * manual/macros.texi: Introduce macros to document multi
15736 thread, asynchronous signal and asynchronous cancellation
15737 safety properties.
15738 * manual/intro.texi: Introduce the properties themselves.
15739
feab2397
KK
157402014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15741
15742 * sysdeps/sh/sh4/Makefile: New file.
15743
1c0d11bc
AS
157442014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15745
15746 * math/gen-libm-test.pl ($srcdir): New variable.
15747 ($auto_input): Use it.
15748
af37a8a3
SP
157492014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15750
d7b00f98
SP
15751 [BZ #16506]
15752 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15753 access beyond array bounds when parsing netgroups file.
15754
af37a8a3
SP
15755 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15756 the old buffer before realloc.
15757
0c00f062
AM
157582014-01-27 Allan McRae <allan@archlinux.org>
15759
15760 * po/fr.po: Update French translation from translation project.
15761
7d69a1b0
KK
157622014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15763
15764 * sysdeps/sh/libm-test-ulps: Regenerate.
15765
6e697ff7
DM
157662014-01-24 David S. Miller <davem@davemloft.net>
15767
15768 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15769
9cadb35c
KK
157702014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15771
15772 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15773 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15774
5d41dadf
SP
157752013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15776
15777 [BZ #16474]
15778 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15779 string pointers after reallocation.
15780
0bad441c
KK
157812014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15782
15783 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15784 __SH4A__ instead of __SH_FPU_ANY__.
15785
7007c661
KK
157862014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15787
15788 * sysdeps/sh/fpu_control.h: New file.
15789 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15790 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15791 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15792 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15793 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15794 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15795 * sysdeps/sh/sys/ucontext.h: Remove.
15796 * sysdeps/sh/sys: Remove directory.
15797
0f0c35e4
AK
157982014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15799
15800 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15801 s390/sys/ucontext.h.
15802 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15803 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15804
4959e284
L
158052014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15806
15807 [BZ #15605]
15808 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15809
d98720e0
AZ
158102014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15811
15812 [BZ#16431]
15813 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15814 Adjust the vDSO correctly for internal calls.
15815 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15816
91cbd0bc
AM
158172014-01-20 Allan McRae <allan@archlinux.org>
15818
15819 * po/ca.po: Update Catalan translation from translation project.
15820
7a02cfad
MF
158212014-01-16 Mike Frysinger <vapier@gentoo.org>
15822
15823 * sysdeps/s390/sotruss-lib.c: New file.
15824
736c304a
AZ
158252014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15826
15827 [BZ#16430]
6e077ee5 15828 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
15829 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15830 local calls issues by not having a PLT stub required for IFUNC calls.
15831 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15832
94d0cea0
JM
158332014-01-16 Joseph Myers <joseph@codesourcery.com>
15834
15835 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15836 * math/test-fpucw-static.c: Likewise.
15837
980cb518
SP
158382013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15839
15840 [BZ #16453]
15841 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15842
2393fc01
AZ
158432014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15844
15845 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15846 implementation for powerpc.
15847
d359bcc2
OB
158482014-01-15 Ondřej Bílka <neleai@seznam.cz>
15849
15850 [BZ #14782]
15851 * sysdeps/posix/system.c (__libc_system): Do not enable
15852 asynchronous cancellation.
15853
7beb48cb
AK
158542014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15855
15856 [BZ #16427]
15857 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15858 handling only for numbers special also in the IEEE case.
15859
c20d5bf5
AK
158602014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15861
15862 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15863
e83bd4ee
AM
158642014-01-11 Allan McRae <allan@archlinux.org>
15865
76d0ea69
AM
15866 * po/bg.po: Update Bulgarian translation from translation project.
15867
e83bd4ee
AM
15868 * po/de.po: Update German translation from translation project.
15869
bc2ba20a
RM
158702014-01-10 Roland McGrath <roland@hack.frob.com>
15871
15872 * sysdeps/generic/gcc-compat.h: New file.
15873
649ecea2
SP
158742014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15875
15876 * benchtests/asin-inputs: Correct slow inputs.
15877 * benchtests/acos-inputs: Likewise.
15878
1b19c006
AM
158792014-01-10 Allan McRae <allan@archlinux.org>
15880
a46dab08
AM
15881 * po:sv.po: Update Swedish translation from translation project.
15882
421df74a
AM
15883 * po/vi.po: Update Vietnamese translation from translation project.
15884
d61c51a7
AM
15885 * po/eo.po: Update Esperanto translation from translation project.
15886
0339a319
AM
15887 * po/cs.po: Update Czech translation from translation project.
15888
94ad3e99
AM
15889 * po/nl.po: Update Dutch translation from translation project.
15890
e349ca71
AM
15891 * po/pl.po: Update Polish translation from translation project.
15892
ddf930c1
AM
15893 * po/ru.po: Update Russian translation from translation project.
15894
1b19c006
AM
15895 * po/uk.po: Update Ukrainian translation from translation project.
15896
9f236c49
BM
158972014-01-08 Brooks Moses <bmoses@google.com>
15898
15899 * elf/dl-load.c: Fix comment typo.
15900
cd6701cf
CD
159012014-01-08 Carlos O'Donell <carlos@redhat.com>
15902
15903 * po/header.pot: Rename to...
15904 * po/pot.header: ... this.
15905 * po/Makefile: Use pot.header.
15906
66671c84
YK
159072014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15908 Maxim Kuvyrkov <maxim@kugelworks.com>
15909
15910 [BZ #16394]
cd6701cf
CD
15911 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15912 SRC and DEST against LEN.
66671c84 15913
38f34581
AZ
159142014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15915
15916 [BZ #16414]
15917 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15918 implementation.
15919 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15920
159212014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
15922
15923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15924
4c327f2a
JM
159252014-01-08 Joseph Myers <joseph@codesourcery.com>
15926
15927 [BZ #16408]
15928 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15929 for large positive arguments.
15930
b821f414
JM
159312014-01-07 Joseph Myers <joseph@codesourcery.com>
15932
1f0f2067
JM
15933 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15934
a5a326f6
JM
15935 * math/auto-libm-test-in: Mark various tests with
15936 xfail-rounding:ldbl-128ibm.
15937 * math/auto-libm-test-out: Regenerated.
15938
b821f414
JM
15939 [BZ #16407]
15940 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15941 Increase overflow threshold.
15942
94c8a4bc
OB
159432014-01-07 Ondřej Bílka <neleai@seznam.cz>
15944
15945 [BZ #14286]
15946 * stdio-common/vfprintf.c: Check for integer overflow.
15947
87ded0c3
AK
159482014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15949
15950 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15951 the first argument and return value of __tls_get_addr_internal.
15952
c5eebdd0
AK
159532014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15954
15955 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15956 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15957
05d138ef
AK
159582014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15959
15960 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15961 * sysdeps/s390/rtld-global-offsets.sym: New file.
15962 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15963 GLIBC_2.19 symbol.
15964 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15965 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15966 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15967 ... this.
15968 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15969 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15970 ... this.
15971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15972 Regenerate.
15973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15974 Regenerate.
15975 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15976 halfs of GPRs for high_gprs contexts.
15977 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15978 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15979 field.
15980 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15981 uc_flags field.
15982 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15983 64 bit versions:
15984 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15985 for high GPRs (uc_high_gprs) and for future extensions
15986 (__reserved).
15987 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15988 for future extensions (__reserved).
15989 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15990 64 bit versions:
15991 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15992 SC_HIGHGPRS offset definition.
15993 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15994 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15995
93a45ff1
AK
15996 * Versions.def: Add GLIBC_2.19 for libpthread.
15997 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15998 siglongjmp for libpthread with GLIBC_2.19 symver.
15999 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16000 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16001 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16002 * sysdeps/s390/__longjmp.c: New file.
16003 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16004 * sysdeps/s390/longjmp.c: New file.
16005 * sysdeps/s390/setjmp.S: New file.
16006 * sysdeps/s390/sigjmp.S: New file.
16007 * sysdeps/s390/v1-longjmp.c: New file.
16008 * sysdeps/s390/v1-setjmp.h: New file.
16009 * sysdeps/s390/v1-sigjmp.c: New file.
16010 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16011 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16012 GLIBC_2.19 version.
16013 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16014 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16015 versioned symbols for ____longjmp_chk.
16016 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16017 Likewise.
16018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16019 Regenerate.
16020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16021 Regenerate.
16022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16023 Regenerate.
16024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16025 Regenerate.
16026 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16027 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16028 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16029 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16030 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16031 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16032 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16033 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16034 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16035 * sysdeps/s390/rtld-__longjmp.c: New file.
16036 * sysdeps/s390/rtld-setjmp.S: New file.
16037
eb3fc44b
JM
160382014-01-06 Joseph Myers <joseph@codesourcery.com>
16039
16040 [BZ #16400]
16041 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16042 Return -__logl (x) for small positive arguments without evaluating
16043 a polynomial.
16044
9341dde4
MF
160452014-01-06 Mike Frysinger <vapier@gentoo.org>
16046
16047 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16048 Rename to ...
16049 (__ptrace_peeksiginfo_args): ... this.
16050 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16051 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16052 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16053
4cff0293
AM
160542014-01-06 Allan McRae <allan@archlinux.org>
16055
16056 * inet/netinet/in.h: Fix typo in comment.
16057
75595dcf
AJ
160582014-01-05 Andreas Jaeger <aj@suse.de>
16059
16060 * sysdeps/i386/fpu/libm-test-ulps: Update.
16061
79c1e109
AM
160622014-01-05 Allan McRae <allan@archlinux.org>
16063
dd804818
AM
16064 * po/libc.pot: Regenerated.
16065
79c1e109
AM
16066 * malloc/memusagestat.c: Fix gettext call formatting.
16067
0c813d1f
SK
160682014-01-04 Sami Kerola <kerolasa@iki.fi>
16069
16070 * nscd/nscd.c: Improve usage() output.
16071
20f4a8d9
MF
160722014-01-04 Mike Frysinger <vapier@gentoo.org>
16073
16074 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16075 * sysdeps/unix/sysv/linux/configure: Regenerated.
16076 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16077 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16078
22562bb2
JM
160792014-01-03 Joseph Myers <joseph@codesourcery.com>
16080
16081 [BZ #16390]
16082 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16083 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16084
d7ad2d9b
AZ
160852014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16086
16087 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16088 extra tokens at end of #undef directive.
16089 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16090 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16091 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16092
7dd009d8
JM
160932014-01-03 Joseph Myers <joseph@codesourcery.com>
16094
24db925a
JM
16095 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16096
7dd009d8
JM
16097 * math/auto-libm-test-in: Mark various tests with
16098 xfail-rounding:ldbl-128ibm.
16099 * math/auto-libm-test-out: Regenerated.
16100
396e3ecf
JM
161012014-01-02 Joseph Myers <joseph@codesourcery.com>
16102
819e5d50
JM
16103 [BZ #16386]
16104 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16105 numbers with subnormal high part when calculating exponent.
16106
90b6a1e5
JM
16107 [BZ #16385]
16108 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16109 fabs.
16110
396e3ecf
JM
16111 [BZ #16384]
16112 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16113 M_LN2l.
16114 (__ieee754_acoshl): Use __log1pl not __log1p.
16115
6c8dbf00
OB
161162013-01-02 Ondřej Bílka <neleai@seznam.cz>
16117
57f41c40
AS
16118 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16119 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16120 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16121 (grow_heap, heap_trim, _int_new_arena, get_free_list)
16122 (reused_arena, arena_get2): Convert to GNU style.
16123 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16124 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16125 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 16126 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
16127 * malloc/malloc.c (__malloc_assert, malloc_init_state)
16128 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16129 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16130 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16131 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16132 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 16133 * malloc/malloc.h: Likewise.
57f41c40
AS
16134 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16135 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 16136 * malloc/mcheck.h: Likewise.
57f41c40
AS
16137 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16138 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
16139 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16140 * malloc/morecore.c (__default_morecore): Likewise.
16141 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
16142 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16143 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16144 (print_and_abort): Likewise.
6c8dbf00
OB
16145 * malloc/obstack.h: Likewise.
16146 * malloc/set-freeres.c (__libc_freeres): Likewise.
16147 * malloc/tst-mallocstate.c (main): Likewise.
16148 * malloc/tst-mtrace.c (main): Likewise.
16149 * malloc/tst-realloc.c (do_test): Likewise.
16150
d4124212
SP
161512013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16152
9a3c6a6f
SP
16153 [BZ #16366]
16154 * nscd/netgroupcache.c (do_notfound): New function.
16155 (addgetnetgrentX): Use it.
16156
d4124212
SP
16157 [BZ # 16365]
16158 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16159 NSS_STATUS_NOTFOUND.
16160
97b9a009
JM
161612014-01-01 Joseph Myers <joseph@codesourcery.com>
16162
16163 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16165
d4697bc9
AM
161662014-01-01 Allan McRae <allan@archlinux.org>
16167
ddb3687f
AM
16168 * scripts/update-copyrights: Update configure input file suffix.
16169
88726d48
AM
16170 * NEWS: Update copyright year.
16171 * catgets/gencat.c: Likewise.
16172 * csu/version.c: Likewise.
16173 * debug/catchsegv.sh: Likewise.
16174 * debug/pcprofiledump.c: Likewise.
16175 * debug/xtrace.sh: Likewise.
16176 * elf/ldconfig.c: Likewise.
16177 * elf/ldd.bash.in: Likewise.
16178 * elf/pldd.c: Likewise.
16179 * elf/sotruss.ksh: Likewise.
16180 * elf/sprof.c: Likewise.
16181 * iconv/iconv_prog.c: Likewise.
16182 * iconv/iconvconfig.c: Likewise.
16183 * locale/programs/locale.c: Likewise.
16184 * locale/programs/localedef.c: Likewise.
16185 * login/programs/pt_chown.c: Likewise.
16186 * malloc/memusage.sh: Likewise.
16187 * malloc/memusagestat.c: Likewise.
16188 * malloc/mtrace.pl: Likewise.
16189 * manual/libc.texinfo: Likewise.
16190 * nscd/nscd.c: Likewise.
16191 * nss/getent.c: Likewise.
16192 * nss/makedb.c: Likewise.
16193 * posix/getconf.c: Likewise.
16194 * scripts/test-installation.pl: Likewise.
16195
d4697bc9
AM
16196 * All files with FSF copyright notices: Update copyright dates
16197 using scripts/update-copyrights.
16198 * intl/plural.c: Regenerated.
16199 * locale/programs/charmap-kw.h: Likewise.
16200 * locale/programs/locfile-kw.h: Likewise.
16201
c8590f9d
MF
162022013-12-31 Mike Frysinger <vapier@gentoo.org>
16203
16204 * sysdeps/unix/sysv/linux/configure: Regenerated.
16205 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16206 the linux/fanotify.h header.
16207 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16208 HAVE_LINUX_FANOTIFY_H is defined.
16209
b19221b9
SP
162102013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16211
dd1d85e5
SP
16212 * benchtests/cos-inputs: New inputs.
16213 * benchtests/sin-inputs: Likewise.
16214
1acbb90f
SP
16215 * benchtests/atan-inputs: New inputs. Fix name of multiple
16216 precision fallback inputs.
16217
4c012ed3
SP
16218 * benchtests/atanh-inputs: New inputs.
16219 * benchtests/tanh-inputs: Likewise.
16220
eff98324
SP
16221 * benchtests/acosh-inputs: New inputs.
16222 * benchtests/asinh-inputs: Likewise.
16223
ce641152
SP
16224 * benchtests/cosh-inputs: New inputs.
16225 * benchtests/sinh-inputs: Likewise.
16226
b19221b9
SP
16227 * benchtests/acos-inputs: Add more inputs.
16228 * benchtests/asin-inputs: Likewise.
16229
030a4976 162302013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 16231
030a4976 16232 [BZ #16375]
9dcc8f11
VS
16233 * manual/arith.texi: Fix spelling.
16234 * manual/charset.texi: Likewise.
16235 * manual/errno.texi: Likewise.
16236 * manual/filesys.texi: Likewise.
16237 * manual/lang.texi: Likewise.
16238 * manual/llio.texi: Likewise.
16239 * manual/locale.texi: Likewise.
16240 * manual/message.texi: Likewise.
16241 * manual/resource.texi: Likewise.
16242 * manual/search.texi: Likewise.
16243 * manual/setjmp.texi: Likewise.
16244 * manual/stdio.texi: Likewise.
16245 * manual/string.texi: Likewise.
16246 * manual/sysinfo.texi: Likewise.
16247 * manual/time.texi: Likewise.
16248
11520a57
CD
162492013-12-27 Carlos O'Donell <carlos@redhat.com>
16250
16251 * po/sl.po: New file.
16252
471103ae
MF
162532013-12-27 Mike Frysinger <vapier@gentoo.org>
16254
16255 * .gitignore: Add core/.gdbinit/.gdb_history.
16256
6c9642ed
AM
162572013-12-27 Allan McRae <allan@archlinux.org>
16258
16259 [BZ #16369]
16260 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16261 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16262
3f637079
BM
162632013-12-24 Brooks Moses <bmoses@google.com>
16264
16265 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16266 all compilers that claim C++98 compliance, not just GCC.
16267 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16268 Likewise.
16269
abc26e99
MK
162702013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16271
16272 * NEWS: Restore accidentally deleted bug-fix entries.
16273
362b47fe
MK
162742013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16275 Ondřej Bílka <neleai@seznam.cz>
16276
16277 [BZ #15073]
16278 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 16279 have_lock.
362b47fe 16280
b9bcbbcb
OB
162812013-12-23 Ondřej Bílka <neleai@seznam.cz>
16282
16283 [BZ #12986]
16284 * manual/stdio.texi (String Input Conversions): Clarify that character
16285 classes are not supported.
16286
fb55fcd2
AZ
162872013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16288
16289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16290
ef7344f0
JM
162912013-12-22 Joseph Myers <joseph@codesourcery.com>
16292
4f40e4b3
JM
16293 [BZ #16337]
16294 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16295 Calculate results for small negative arguments directly rather
16296 than using reflection formula with special underflow handling.
16297
ef7344f0
JM
16298 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16299 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16300 sysdeps/unix/bsd/bsd4.4/syscalls.list.
16301 (fchflags): Likewise.
16302 (revoke): Likewise.
16303 (setlogin): Likewise.
16304 (sigaltstack): Likewise.
16305 (wait4): Likewise.
16306 (sigblock): Remove.
16307 (sigsetmask): Likewise.
16308 (wait3): Likewise.
16309 (waitpid): Likewise.
16310 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16311 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16312 file.
16313 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16314 * sysdeps/unix/bsd/Makefile: ... here.
16315 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16316 * sysdeps/unix/bsd/Versions: ... here.
16317 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16318 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16319 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16320 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16321 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16322 * sysdeps/unix/bsd/sigblock.c: ... here.
16323 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16324 * sysdeps/unix/bsd/sigsetmask.c: ... here.
16325 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16326 * sysdeps/unix/bsd/sigvec.c: ... here.
16327 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16328 * sysdeps/unix/bsd/tcdrain.c: ... here.
16329 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16330 * sysdeps/unix/bsd/tcgetattr.c: ... here.
16331 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16332 * sysdeps/unix/bsd/tcsetattr.c: ... here.
16333 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16334 * sysdeps/unix/bsd/wait.c: ... here.
16335 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16336 * sysdeps/unix/bsd/wait3.c: ... here.
16337 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16338 * sysdeps/unix/bsd/waitpid.c: ... here.
16339
5b0626b9
JM
163402013-12-21 Joseph Myers <joseph@codesourcery.com>
16341
16342 [BZ #16356]
16343 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16344 round-to-nearest for [!USE_AS_EXPM1L].
16345 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16346 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
16347 more tests of exp and exp10. Expect some exp10 tests to miss
16348 exceptions or fail in directed rounding modes.
16349 * math/auto-libm-test-out: Regenerated.
16350 * math/libm-test.inc (exp10_tonearest_test_data): New array.
16351 (exp10_test_tonearest): New function.
16352 (exp10_towardzero_test_data): New array.
16353 (exp10_test_towardzero): New function.
16354 (exp10_downward_test_data): New array.
16355 (exp10_test_downward): New function.
16356 (exp10_upward_test_data): New array.
16357 (exp10_test_upward): New function.
16358 (main): Call the new functions.
16359 * sysdeps/i386/fpu/libm-test-ulps: Update.
16360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16361
7fda5682
JM
163622013-12-20 Joseph Myers <joseph@codesourcery.com>
16363
31e3a405
JM
16364 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16365 asinh, atan, atan2, atanh, cbrt, cos and cosh.
16366 * math/auto-libm-test-out: Regenerated.
16367 * math/libm-test.inc (acosh_test_data): Add more tests.
16368 (atanh_test_data): Likewise.
16369 (ceil_test_data): Likewise.
16370 (copysign_test_data): Likewise.
16371 * sysdeps/i386/fpu/libm-test-ulps: Update.
16372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16373
85bff96a
JM
16374 * timezone/checktab.awk: Update from tzcode 2013i.
16375 * timezone/private.h: Likewise.
16376 * timezone/scheck.c: Likewise.
16377 * timezone/tzfile.h: Likewise.
16378 * timezone/tzselect.ksh: Likewise.
16379 * timezone/zdump.c: Likewise.
16380 * timezone/zic.c: Likewise.
16381
b7867a3b
JM
16382 * math/auto-libm-test-in: Add tests of cpow.
16383 * math/auto-libm-test-out: Regenerated.
16384 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 16385 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
16386 mpc_cc_c.
16387 (func_calc_desc): Add mpc_cc_c union field.
16388 (test_functions): Add cpow.
16389 (special_fill_2pi): New function.
16390 (special_real_inputs): Add 2pi.
16391 (calc_generic_results): Handle mpc_cc_c.
16392 * sysdeps/i386/fpu/libm-test-ulps: Update.
16393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16394
7fda5682
JM
16395 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16396 csqrt, ctan and ctanh.
16397 * math/auto-libm-test-out: Regenerated.
16398 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16399 (TEST_COND_x86): Likewise.
16400 (ccos_test_data): Use AUTO_TESTS_c_c.
16401 (ccosh_test_data): Likewise.
16402 (cexp_test_data): Likewise.
16403 (clog_test_data): Likewise.
16404 (csqrt_test_data): Likewise.
16405 (ctan_test_data): Likewise.
16406 (ctan_tonearest_test_data): Likewise.
16407 (ctan_towardzero_test_data): Likewise.
16408 (ctan_downward_test_data): Likewise.
16409 (ctan_upward_test_data): Likewise.
16410 (ctanh_test_data): Likewise.
16411 (ctanh_tonearest_test_data): Likewise.
16412 (ctanh_towardzero_test_data): Likewise.
16413 (ctanh_downward_test_data): Likewise.
16414 (ctanh_upward_test_data): Likewise.
16415 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16416 mpc_c_c.
16417 (func_calc_desc): Add mpc_c_c union field.
16418 (FUNC_mpc_c_c): New macro.
16419 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16420 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16421 ctanh.
16422 (special_fill_min_subnorm_p120): New function.
16423 (special_real_inputs): Add min_subnorm_p120.
16424 (calc_generic_results): Handle mpc_c_c.
16425 * sysdeps/i386/fpu/libm-test-ulps: Update.
16426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16427
5ff8d60e
SP
164282013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16429
57f41c40
AS
16430 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16431 (do_sin_slow): New functions.
16432 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16433 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 16434
84ba214c
SP
16435 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16436 Use M to change sign of result instead of X. Assume X is
16437 positive.
16438 (csloww1): Likewise.
16439 (__sin): Adjust.
16440 (__cos): Adjust.
16441
975195e4
SP
16442 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16443 arguments A and DA.
16444 (__sin): Adjust.
16445 (__cos): Likewise.
16446
5ff8d60e
SP
16447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16448 (__cos): Likewise.
16449 (sloww1): Don't adjust sign of DX.
16450 (csloww1): Likewise.
16451 (sloww2): Use X directly and don't adjust sign of DX.
16452 (csloww2): Likewise.
16453
eb983568
JM
164542013-12-19 Joseph Myers <joseph@codesourcery.com>
16455
64a17f1a
JM
16456 * math/auto-libm-test-in: Add tests of cabs and carg.
16457 * math/auto-libm-test-out: Regenerated.
16458 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16459 (carg_test_data): Likewise.
16460 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16461 mpc_c_f.
16462 (func_calc_desc): Add mpc_c_f union field.
16463 (test_functions): Add cabs and carg.
16464 (calc_generic_results): Handle mpc_c_f.
16465
eb983568
JM
16466 * sysdeps/powerpc/powerpc32/libgcc-compat.S
16467 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16468 as a macro and a compat symbol.
16469 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16470 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16471 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16472 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16473 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16474 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16475 not use .hidden.
16476 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16477 Likewise.
16478 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16479 Likewise.
16480 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16481 Likewise.
16482 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16483 Likewise.
16484 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16485 Likewise.
16486 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16487 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16488 from GLIBC_2.3.2.
16489
6eeb678a
AZ
164902013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16491
16492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16493
6f6fc482
JM
164942013-12-19 Joseph Myers <joseph@codesourcery.com>
16495
21fea2e2
JM
16496 * manual/texinfo.tex: Update to version 2013-11-26.10 with
16497 trailing whitespace removed.
16498 * scripts/config.guess: Update to version 2013-11-29.
16499 * scripts/config.sub: Update to version 2013-10-01.
16500
6f6fc482
JM
16501 * math/auto-libm-test-in: Add tests of sincos.
16502 * math/auto-libm-test-out: Regenerated.
16503 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16504 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16505 mpfr_f_11.
16506 (func_calc_desc): Add mpfr_f_11 union field.
16507 (test_functions): Add sincos.
16508 (calc_generic_results): Handle mpfr_f_11.
16509 * sysdeps/i386/fpu/libm-test-ulps: Update.
16510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16511
83f5c32d
AS
165122013-12-19 Andreas Schwab <schwab@suse.de>
16513
16514 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16515 CALL_MCOUNT.
16516 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16517 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16518 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16519
c688b419
JM
165202013-12-19 Joseph Myers <joseph@codesourcery.com>
16521
335ee092
JM
16522 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16523 * sysdeps/i386/fpu/libm-test-ulps: Update.
16524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16525
f88acd39
JM
16526 [BZ #16293]
16527 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16528 round-to-nearest mode when using frndint.
16529 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16530 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16531 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16532 Likewise.
16533 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16534 sinh test to fail.
16535 * math/auto-libm-test-out: Regenerated.
16536 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16537 (TEST_COND_x86): Likewise.
16538 (expm1_tonearest_test_data): New array.
16539 (expm1_test_tonearest): New function.
16540 (expm1_towardzero_test_data): New array.
16541 (expm1_test_towardzero): New function.
16542 (expm1_downward_test_data): New array.
16543 (expm1_test_downward): New function.
16544 (expm1_upward_test_data): New array.
16545 (expm1_test_upward): New function.
16546 (main): Run the new test functions.
16547 * sysdeps/i386/fpu/libm-test-ulps: Update.
16548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16549
c688b419
JM
16550 * include/features.h: Update comment documenting feature test
16551 macros. Mention _DEFAULT_SOURCE in comment.
16552 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16553 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16554 _BSD_SOURCE and _SVID_SOURCE.
16555 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16556 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16557 !_SVID_SOURCE]: Likewise.
16558 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16559 (__USE_POSIX_IMPLICITLY): Define.
16560 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16561 (_POSIX_SOURCE): Undefine and redefine.
16562 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16563 (_POSIX_C_SOURCE): Likewise.
16564 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16565 (Feature Test Macros): Update documentation of default features.
16566
9f6e964c
RS
165672013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16568
16569 * benchtests/Makefile: Add bench-strtok.
16570 * benchtests/bench-strtok.c: New file: strtok benchtest.
16571
ee0a148a
AM
165722013-12-19 Allan McRae <allan@archlinux.org>
16573
16574 * manual/install.texi: Suppress menu for plain text output.
16575 * INSTALL: Regenerated.
16576
b9ab448f
BM
165772013-12-18 Brooks Moses <bmoses@google.com>
16578
16579 [BZ #15846]
16580 * misc/getauxval.c: Include errno.h.
16581 (__getauxval): Set errno to ENOENT if the requested type is not
16582 found.
16583 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16584 don't declare with __attribute_const__.
16585 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16586 * manual/startup.texi: Document that getauxval sets errno.
16587
23776487
JM
165882013-12-18 Joseph Myers <joseph@codesourcery.com>
16589
f889953b
JM
16590 * math/auto-libm-test-in: Add tests of jn and yn.
16591 * math/auto-libm-test-out: Regenerated.
16592 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16593 (yn_test_data): Likewise.
16594 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16595 mpfr_if_f.
16596 (func_calc_desc): Add mpfr_if_f union field.
16597 (FUNC_mpfr_if_f): New macro.
16598 (test_functions): Add jn and yn.
16599 (calc_generic_results): Assert type of second input for
16600 mpfr_ff_f. Handle mpfr_if_f.
16601 (output_for_one_input_case): Disable all checking for arguments
16602 fitting floating-point types in case of an integer argument.
16603 * sysdeps/i386/fpu/libm-test-ulps: Update.
16604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16605
23776487
JM
16606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16607 Don't expect fegetround reference in libm.so.
16608
cb756c6d
MS
166092013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16610
16611 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16612 $(config-cflags-nofma).
16613
2dec468f
JM
166142013-12-18 Joseph Myers <joseph@codesourcery.com>
16615
5953eb3a
JM
16616 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16617 * math/auto-libm-test-out: Regenerated.
16618
2dec468f
JM
16619 [BZ #16338]
16620 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16621 to determine exponent and adjust argument to have exponent of -1.
16622 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16623 log2.
16624 * math/auto-libm-test-out: Regenerated.
16625 * sysdeps/i386/fpu/libm-test-ulps: Update.
16626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16627
4d84e6ad
OB
166282013-12-18 Ondřej Bílka <neleai@seznam.cz>
16629
16630 * manual/probes.texi: Remove cases when per-thread arenas are
16631 disabled.
16632
1818483b
AS
166332013-12-18 Andreas Schwab <schwab@suse.de>
16634
16635 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16636 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16637 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16638 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16639 * sysdeps/i386/i686/multiarch/Makefile: Update.
16640 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16641
25de95bf
JM
166422013-12-17 Joseph Myers <joseph@codesourcery.com>
16643
16644 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16645 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16646
674762d9
PE
166472013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16648
ed27ed83 16649 [BZ #15968]
0748546f
PE
16650 Support TZ transition times < 00:00:00.
16651 This is needed for version-3 tz-format files; it supports time
16652 stamps past 2037 for America/Godthab (the only entry in the tz
16653 database for which this change is relevant).
16654 * manual/time.texi (TZ Variable): Document transition times
16655 from -167:59:59 through -00:00:01.
16656 * time/tzset.c (tz_rule): Time of day is now signed.
16657 (__tzset_parse_tz): Parse negative time of day.
16658
4480e934
PE
16659 Document TZ transition times >= 25:00:00.
16660 * manual/time.texi (TZ Variable): Document transition times from
16661 25:00:00 through 167:59:59. These are already supported, and this
16662 support will help with version-3 tz-format files.
16663
69947401
PE
16664 * manual/time.texi (TZ Variable): Modernize North America example
16665 to reflect current (i.e., 2007-and-later) daylight saving rules.
16666
674762d9
PE
16667 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16668
7011c262
JM
166692013-12-17 Joseph Myers <joseph@codesourcery.com>
16670
2fc6557e
JM
16671 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16672 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16673 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16674 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16675 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16676 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16677 * sysdeps/unix/bsd/clock.c: Likewise.
16678 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16679 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16680 * sysdeps/unix/bsd/init-posix.c: Likewise.
16681 * sysdeps/unix/bsd/poll.c: Likewise.
16682 * sysdeps/unix/bsd/ptsname.c: Likewise.
16683 * sysdeps/unix/bsd/seekdir.c: Likewise.
16684 * sysdeps/unix/bsd/setegid.c: Likewise.
16685 * sysdeps/unix/bsd/seteuid.c: Likewise.
16686 * sysdeps/unix/bsd/setgid.c: Likewise.
16687 * sysdeps/unix/bsd/setrgid.c: Likewise.
16688 * sysdeps/unix/bsd/setruid.c: Likewise.
16689 * sysdeps/unix/bsd/setsid.c: Likewise.
16690 * sysdeps/unix/bsd/setuid.c: Likewise.
16691 * sysdeps/unix/bsd/sigaction.c: Likewise.
16692 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16693 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16694 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16695 * sysdeps/unix/bsd/telldir.c: Likewise.
16696 * sysdeps/unix/bsd/times.c: Likewise.
16697 * sysdeps/unix/bsd/usleep.c: Likewise.
16698
029c7b25
JM
16699 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16700 ($(objpfx)libbsd-compat.a): Remove rule.
16701
7011c262
JM
16702 * include/features.h (__FAVOR_BSD): Do not define.
16703 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16704 features conflicting with POSIX.
16705 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16706 (_BSD_SOURCE): Remove description of not being a subset of other
16707 feature test macros.
16708 * manual/job.texi (getpgrp): Do not document BSD version.
16709 (getpgid): Do not document by reference to BSD getpgrp.
16710 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16711 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16712 * signal/signal.h [__FAVOR_BSD]: Likewise.
16713 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16714 instead of making contents conditional on [__FAVOR_BSD].
16715 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16716
affb6f78
AZ
167172013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16718
16719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16720
c88769dd
JM
167212013-12-17 Joseph Myers <joseph@codesourcery.com>
16722
6432a540
JM
16723 [BZ #16314]
16724 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16725 values below 2**-450, not 2**-500.
16726 * math/auto-libm-test-in: Don't allow spurious underflow from
16727 hypot.
16728 * math/auto-libm-test-out: Regenerated.
16729
c88769dd
JM
16730 [BZ #16316]
16731 [BZ #16330]
16732 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16733 values of ha and hb and sort them after adjusting subnormal
16734 arguments.
16735 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16736 Likewise.
16737 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16738 values of ea and eb and sort them after adjusting subnormal
16739 arguments.
16740 * math/auto-libm-test-in: Do not expect some hypot tests of
16741 subnormals to fail. Add more hypot tests.
16742 * math/auto-libm-test-out: Regenerated.
16743
29618f6b
KK
167442013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16745
16746 [BZ #13304]
16747 * sysdeps/sh/s_fma.c: New file.
16748 * sysdeps/sh/s_fmaf.c: New file.
16749 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16750 version.
16751 * sysdeps/sh/Implies: Add sh/soft-fp.
16752
eacfdfbf
RM
167532013-12-16 Roland McGrath <roland@hack.frob.com>
16754
16755 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16756 level of indirection to members `objname', `errstring', `malloced'.
16757 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16758 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16759 it as the __longjmp argument (just pass 1 instead).
16760 (_dl_catch_error): Initialize C with argument pointers and address of
16761 volatile local ERRCODE rather than copying values out of C at return.
16762
ff362e5b
JM
167632013-12-16 Joseph Myers <joseph@codesourcery.com>
16764
16765 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16766 * math/auto-libm-test-out: Regenerated.
16767 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16768 (hypot_test_data): Likewise.
16769 (pow_test_data): Likewise.
16770 (pow_tonearest_test_data): Likewise.
16771 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16772 mpfr_ff_f.
16773 (func_calc_desc): Add mpfr_ff_f union field.
16774 (FUNC_mpfr_ff_f): New macro.
16775 (test_functions): Add atan2, hypot and pow.
16776 (special_fill_min): New function.
16777 (special_fill_minus_min): Likewise.
16778 (special_fill_min_subnorm): Likewise.
16779 (special_fill_minus_min_subnorm): Likewise.
16780 (special_real_inputs): Add min, -min, min_subnorm and
16781 -min_subnorm.
16782 (calc_generic_results): Handle mpfr_ff_f.
16783 * sysdeps/i386/fpu/libm-test-ulps: Update.
16784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16785
5764c27f
WN
167862013-12-16 Will Newton <will.newton@linaro.org>
16787
16788 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16789 (Aligned Memory Blocks): Add documentation for aligned_alloc
16790 and suggest it as an alternative to posix_memalign.
16791 (Hooks for Malloc): Document __memalign_hook is also called
16792 for aligned_alloc. (Summary of Malloc): Add summary for
16793 aligned alloc. Document __memalign_hook is also called
16794 for aligned_alloc.
16795
0a096e44
WN
167962013-12-16 Will Newton <will.newton@linaro.org>
16797
16798 * manual/memory.texi (Malloc Examples): Clarify default
16799 alignment documentation. Suggest posix_memalign rather
16800 than memalign or valloc.
16801 (Aligned Memory Blocks): Remove suggestion to use memalign
16802 or valloc. Remove obsolete comment about BSD.
16803 Document memalign errno values and mark the function obsolete.
16804 Document posix_memalign returned error codes. Mark valloc
16805 as obsolete. (Hooks for Malloc): __memalign_hook is also
16806 called for posix_memalign and valloc.
16807 (Summary of Malloc): Add posix_memalign to function summary.
16808 __memalign_hook is also called for posix_memalign and valloc.
16809
8d561986
SP
168102013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16811
16812 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16813 TAYLOR_SIN.
16814 (__sin): Adjust.
16815 (__cos): Likewise.
16816 (sloww): Use mynumber union. Expand ternary operator into
16817 if-else statements.
16818 (cslow): use mynumber union.
16819
73616a74
AM
168202013-12-16 Allan McRae <allan@archlinux.org>
16821
9e8ac24b
AM
16822 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16823 * configure: Regenerated.
16824
6f8e37eb
AM
16825 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16826
8894bad3
AM
16827 [BZ #14120]
16828 * configure.ac: Added --enable-maintainer-mode. Check for
16829 autoconf when enabled.
16830 * configure: Regenerated.
16831
73616a74
AM
16832 * nscd/nscd.service: New file.
16833 * nscd/nscd.tmpfiles: New file.
16834
584b18eb
OB
168352013-12-14 Ondřej Bílka <neleai@seznam.cz>
16836
16837 [BZ #12100]
16838 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16839 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16840 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16841 (strstr): Add __strstr_sse2_unaligned ifunc.
16842 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16843 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16844 (strcasestr): Remove __strcasestr_sse42 ifunc.
16845 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16846 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16848
8a5c7897
KK
168492013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16850
16851 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16852 * sysdeps/sh/bits/fenv.h: ... here.
16853 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16854
fd712ef3
AZ
168552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16856
16857 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16858
42fcb46c
AZ
16859 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16860 hypotf multiarch implementations.
16861 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16862 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16863 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16864 multiarch hypot for PPC64.
16865 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16866 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16867 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16868 multiarch hypotf for PPC64.
16869
83efded4
AZ
16870 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16871 modff multiarch implementations.
16872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16875 multiarch modf for PPC64.
16876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16879 multiarch modff for PPC64.
16880
43e246d2
AZ
16881 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16882 and logl multiarch implementations.
16883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16886 multiarch logb for PPC64.
16887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16890 multiarch logb for PPC64.
16891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16894 multiarch logb for PPC64.
16895
8fdad123
AZ
16896 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16897 isinff multiarch implementation.
16898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16899 file.
16900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16902 multiarch isinf for PPC64.
16903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16904 file.
16905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16906 multiarch isinff for PPC64.
16907
1481d706
AZ
16908 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16909 finitef multiarch implementation.
16910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16911 file.
16912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16914 multiarch finite for PPC64.
16915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16916 file.
16917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16918 multiarch finitef for PPC64.
16919
5ccd5fc8
AZ
16920 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16921 lrint multiarch implementation.
16922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16923 file.
16924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16926 multiarch llrint for PPC64.
16927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16928 multiarch lrint for PPC64.
16929
2568f3fa
AZ
16930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16931 copysignf multiarch implementation.
16932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16933 file.
16934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16935 file.
16936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16937 multiarch copysign for PPC64.
16938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16939 multiarch copysignf for PPC64.
16940
1cb341fd
AZ
16941 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16942 multiarch implementation.
16943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16944 file.
16945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16946 file.
16947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16948 file.
16949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16950 file.
16951 multiarch llround for PPC64.
16952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16953 multiarch trunc for PPC64.
16954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16955 multiarch truncf for PPC64.
16956
59a3e194
AZ
16957 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16958 multiarch implementation.
16959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16960 file.
16961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16962 file.
16963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16964 file.
16965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16966 file.
16967 multiarch llround for PPC64.
16968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16969 multiarch round for PPC64.
16970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16971 multiarch roundf for PPC64.
16972
357fd3b4
AZ
16973 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16974 multiarch implementation.
16975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16976 file.
16977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16978 file.
16979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16980 file.
16981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16982 file.
16983 multiarch llround for PPC64.
16984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16985 multiarch floor for PPC64.
16986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16987 multiarch floorf for PPC64.
16988
96770f12
AZ
16989 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16990 multiarch implementation.
16991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16992 file.
16993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16994 file.
16995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16996 file.
16997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16998 file.
16999 multiarch llround for PPC64.
17000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17001 multiarch ceil for PPC64.
17002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17003 multiarch ceilf for PPC64.
17004
c3627f6e
AZ
17005 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17006 multiarch implementation.
17007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17008 file.
17009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17010 file.
17011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17012 file.
17013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17014 multiarch llround for PPC64.
17015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17016 multiarch lround for PPC64.
17017
b2284ad7
AZ
17018 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17019 multiarch implementation.
17020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17023 file.
17024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17027 multiarch isnan for PPC64.
17028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17029 multiarch isnanf for PPC64.
17030
69bbc63d
AZ
17031 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17032 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17033 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17034 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17035 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17037
c24517c9
AZ
17038 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17039 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17040 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17041 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17042
a52374e8
AZ
17043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17044 multiarch implementations.
17045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17046 (__libc_ifunc_impl_list): Likewise.
17047 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17048 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17049 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17050 multiarch stpcpy for PPC64.
17051
7f5ec113
AZ
17052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17053 multiarch implementations.
17054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17055 (__libc_ifunc_impl_list): Likewise.
17056 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17057 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17058 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17059 multiarch strcpy for PPC64.
17060
e28bcd42
AZ
17061 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17062 redefine function name.
17063 (_wordcopy_fwd_dest_aligned): Likewise.
17064 (_wordcopy_bwd_aligned): Likewise.
17065 (_wordcopy_bwd_dest_aligned): Likewise.
17066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17067 multiarch implementations.
17068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17069 (__libc_ifunc_impl_list): Likewise.
17070 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17071 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17072 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17073 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17074 multiarch wcscpy for PPC64.
17075
92cacfce
AZ
17076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17077 multiarch implementations.
17078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17079 (__libc_ifunc_impl_list): Likewise.
17080 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17081 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17082 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17083 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17084 multiarch wcscpy for PPC64.
17085
7b714620
AZ
17086 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17087 multiarch implementations.
17088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17089 (__libc_ifunc_impl_list): Likewise.
17090 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17091 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17092 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17093 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17094 multiarch wcsrchr for PPC64.
17095
16fd2ae3
AZ
17096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17097 multiarch implementations.
17098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17099 (__libc_ifunc_impl_list): Likewise.
17100 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17101 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17102 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17103 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17104 multiarch wcschr for PPC64.
17105
9ee2969b
AZ
17106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17107 multiarch implementations.
17108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17109 (__libc_ifunc_impl_list): Likewise.
17110 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17111 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17112 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17113 multiarch strchrnul for PPC64.
17114
372dc060
AZ
17115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17116 implementations.
17117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17118 (__libc_ifunc_impl_list): Likewise.
17119 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17120 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17121 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17122 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17123 strchr for PPC64.
17124
24c2c3b9
AZ
17125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17126 implementations.
17127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17128 (__libc_ifunc_impl_list): Likewise.
17129 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17130 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17131 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17132 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17133 strncmp for PPC64.
17134
1c92d9a0
AZ
17135 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17136 multiarch implementations.
17137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17138 (__libc_ifunc_impl_list): Likewise.
17139 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17140 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17141 strncasecmp for PPC64.
17142 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17143 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17144 multiarch strncasecmp_l for PPC64.
17145
17de3ee3
AZ
17146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17147 multiarch implementations.
17148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17149 (__libc_ifunc_impl_list): Likewise.
17150 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17151 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17152 multiarch strcasecmp for PPC64.
17153 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17154 file.
17155 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17156 multiarch strcasecmp_l for PPC64.
17157
62982bf9
AZ
17158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17159 implementations.
17160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17161 (__libc_ifunc_impl_list): Likewise.
17162 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17163 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17164 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17165 strnlen for PPC64.
17166
a65f4904
AZ
17167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17168 implementations.
17169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17170 (__libc_ifunc_impl_list): Likewise.
17171 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17172 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17173 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17174 strlen for PPC64.
17175
1fd005ad
AZ
17176 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17177 implementations.
17178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17179 (__libc_ifunc_impl_list): Likewise.
17180 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17181 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17182 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17183 rawmemrchr for PPC64.
17184
cd05ba91
AZ
17185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17186 implementation.
17187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17188 (__libc_ifunc_impl_list): Likewise.
17189 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17190 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17191 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17192 memrchr for PPC64.
17193
870f8676
AZ
17194 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17195 implementation.
17196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17197 (__libc_ifunc_impl_list): Likewise.
17198 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17199 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17200 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17201 memchr for PPC64.
17202
f00be62b
AZ
17203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17204 implementation.
17205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17206 (__libc_ifunc_impl_list): Likewise.
17207 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17208 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17209 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17210 mempcpy for PPC64.
17211
8a29a3d0
AZ
17212 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17213 avoid cretion of __bzero symbol.
17214 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17215 Likewise.
17216 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17217 Likewise.
17218 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17219 Likewise.
17220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17221 multiarch implementations.
17222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17223 (__libc_ifunc_impl_list): Likewise.
17224 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17225 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17226 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17227 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17228 bzero for PPC32.
17229 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17230 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17231 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17232 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17233 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17234 memset for PPC64.
17235 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17236
07253fcf
AZ
17237 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17238 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17239 implementations.
17240 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17241 (__libc_ifunc_impl_list): Likewise.
17242 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17243 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17244 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17245 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17246 memcmp for PPC64.
17247
b5beafbc
AZ
17248 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17249 multiarch for POWER/PPC64.
17250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17251 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17252 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17253 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17254 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17255 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17256 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17257 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17258 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17259 memcpy for PPC64.
17260
5e6a4d4b
AZ
17261 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17262 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17263 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17264 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17265 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17266 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17267 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17268 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17269 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17270 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17271 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17272 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17273 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17274 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17275 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17283
ddfab6dc
KK
172842013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17285
17286 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17287
19b5525e
SP
172882013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17289
17290 * benchtests/Makefile (bench): Add exp2 and log2.
17291 (LDLIBS-bench-exp2): Add -lm.
17292 (LDLIBS-bench-log2): Likewise.
17293 * benchtests/exp2-inputs: New inputs file.
17294 * benchtests/log2-inputs: New inputs file.
17295 * benchtests/log-inputs: Add new inputs.
17296 * benchtests/tan-inputs: Likewise.
17297
196f7f5d
SP
172982013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17299
7a74607f
SP
17300 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17301 definition...
57f41c40
AS
17302 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17303 (csloww2): ... from here.
7a74607f 17304
196f7f5d
SP
17305 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17306 instead of structures.
17307 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17308 (POLYNOMIAL): Likewise.
17309 (TAYLOR_SLOW): Likewise.
17310 (__sin): Likewise.
17311 (__cos): Likewise.
17312 (slow1): Likewise.
17313 (slow2): Likewise.
17314 (sloww): Likewise.
17315 (sloww1); Likewise.
17316 (sloww2): Likewise.
17317 (bsloww1): Likewise.
17318 (bsloww2): Likewise.
17319 (cslow2): Likewise.
17320 (csloww): Likewise.
17321 (csloww1): Likewise.
17322 (csloww2): Likewise.
17323
0dfa665c
OB
173242013-12-10 Ondřej Bílka <neleai@seznam.cz>
17325
17326 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
17327 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17328 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
17329 * malloc/hooks.c (realloc_check): Likewise.
17330
5782a80f
OB
17331 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17332 * malloc/arena.c: Remove PER_THREAD conditional.
17333 [!PER_THREAD]: Remove code.
17334 (ptmalloc_unlock_all2): Likewise.
17335 (ptmalloc_init): Likewise.
17336 (_int_new_arena): Likewise.
17337 (arena_get2): Likewise.
17338 * malloc/hooks.c (__malloc_get_state): Likewise.
17339 (__malloc_set_state): Likewise.
17340 * malloc/malloc.c: Likewise.
17341 (struct malloc_state): Likewise.
17342 (struct malloc_par): Likewise.
17343 (__libc_realloc): Likewise.
17344 (__libc_mallopt): Likewise.
17345
aeb95445
AZ
173462013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17347
17348 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17349
e8349efd
OB
173502013-12-09 Ondřej Bílka <neleai@seznam.cz>
17351
17352 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17353 macro to a function. Check for zero perturb_byte.
17354 (_int_malloc, _int_free): Remove zero perturb_byte checks.
17355
f3eeb3fc 17356 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
17357 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17358 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
17359 force_reg by atomic_forced_read.
17360 * malloc/arena.c (ptmalloc_init): Likewise.
17361 * malloc/hooks.c (top_check): Likewise.
17362
be2f9009
AZ
173632013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17364
17365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17366
e7b914bd
MT
173672013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
17368
17369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17370
9f0be4f8
JM
173712013-12-08 Joseph Myers <joseph@codesourcery.com>
17372
17373 * math/auto-libm-test-in: Add tests of lgamma.
17374 * math/auto-libm-test-out: Regenerated.
17375 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17376 (M_LOG_2_SQRT_PIl): Likewise.
17377 (lgamma_test_data): Use AUTO_TESTS_f_f1.
17378 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17379 mpfr_f_f1.
17380 (func_calc_desc): Add mpfr_f_f1 union field.
17381 (ARGS1): New macro.
17382 (ARGS2): Likewise.
17383 (ARGS3): Likewise.
17384 (ARGS4): Likewise.
17385 (RET1): Likewise.
17386 (RET2): Likewise.
17387 (CALC): Likewise.
17388 (FUNC): Likewise.
17389 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17390 (test_functions): Add lgamma.
17391 (calc_generic_results): Handle mpfr_f_f1.
17392 * sysdeps/i386/fpu/libm-test-ulps: Update.
17393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17394
24eeafdb
AZ
173952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17396
17397 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17398 __mpn_add_n for PowerPC64/POWER7.
17399 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17400 __mpn_sub_n for PowerPC64/POWER7.
17401
4a2c0fd4
AZ
17402 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17403 __mpn_addmul_1 for PowerPC64.
17404 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17405 __mpn_submul_1 for PowerPC64.
17406 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17407 for PowerPC64.
17408 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17409 for PowerPC64.
17410
4b5b548c
FS
174112013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
17412
17413 [BZ #15089]
17414 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17415
0a3ac0aa
AZ
174162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17417
17418 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17419
ccdc8438
AZ
17420 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17421 add multiarch folders.
17422 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17423 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17424 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17425 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17426 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17427 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17428 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17429 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17430 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17431 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17432 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17439
2e973d99
AZ
17440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17441 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17443 New file.
17444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17445 New file.
17446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17447 multiarch __ieee754_hypot for PowerPC32.
17448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17449 New file.
17450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17451 New file.
17452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17453 multiarch __ieee754_hypotf for PowerPC32.
17454
2d9470b2
AZ
17455 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17456 long_double_symbol only if __logbl is defined.
17457 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17458 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17460 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17461 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17462 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17463 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17464 path for implementation.
17465 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17466 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17468 logb, and logbl multiarch implementations for PowerPC32.
17469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17470 file.
17471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17472 file.
17473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17474 multiarch logb for PowerPC32.
17475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17476 file.
17477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17478 file.
17479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17480 multiarch logbf for PowerPC32.
17481 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17483 file.
17484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17485 multiarch logbl implementation for PowerPC32.
17486
5212ffce
AZ
17487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17488 and modff multiarch implementations.
17489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17490 New file.
17491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17492 New file.
17493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17494 multiarch modf for PowerPC32.
17495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17496 New file.
17497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17498 New file.
17499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17500 multiarch modff for PowerPC32.
17501
79dccf31
AZ
17502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17503 and lrintf multiarch implementations.
17504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17505 New file.
17506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17507 New file.
17508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17509 multiarch lrint for PowerPC32.
17510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17511 file: multiarch lrintf for PowerPC32.
17512
deb66480
AZ
17513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17514 and lroundf multiarch implementations.
17515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17516 New file.
17517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17518 New file.
17519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17520 New file.
17521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17522 multiarch lround for PowerPC32.
17523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17524 file: multiarch lroundf for PowerPC32.
17525
264b036b
AZ
17526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17527 copysign and copysignf multiarch implementations.
17528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17529 New file.
17530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17531 New file.
17532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17533 file: multiarch copysign for PowerPC32.
17534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17535 file: multiarch copysignf for PowerPC32.
17536
d47db6c9
AZ
17537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17538 and truncf multiarch implementations.
17539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17540 New file.
17541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17542 file.
17543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17544 multiarch trunc for PowerPC32.
17545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17546 New file.
17547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17548 New file.
17549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17550 multiarch truncf for PowerPC32.
17551
ddb60b5a
AZ
17552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17553 and roundf multiarch implementations.
17554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17555 New file.
17556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17557 file.
17558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17559 multiarch round for PowerPC32.
17560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17561 New file.
17562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17563 New file.
17564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17565 multiarch roundf for PowerPC32.
17566
bedcf49b
AZ
17567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17568 and floorf multiarch implementations.
17569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17570 New file.
17571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17572 file.
17573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17574 multiarch floor for PowerPC32.
17575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17576 New file.
17577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17578 New file.
17579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17580 multiarch floorf for PowerPC32.
17581
35ae5b40
AZ
17582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17583 and ceilf multiarch implementations.
17584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17585 New file.
17586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17587 file.
17588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17589 multiarch ceil for PowerPC32.
17590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17591 New file.
17592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17593 file.
17594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17595 multiarch ceilf for PowerPC32.
17596
ae1a4cd9
AZ
17597 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17598 is defined.
17599 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17600 FINITEF is defined.
17601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17602 and finitef multiarch implementations.
17603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17604 New file.
17605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17606 file.
17607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17608 multiarch finite for PowerPC32.
17609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17610 New file.
17611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17612 file: multiarch finitef for PowerPC32.
17613
64fffd65
AZ
17614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17615 and isinff multiarch implementations.
17616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17617 file.
17618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17619 file.
17620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17621 multiarch isinf for PowerPC32.
17622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17623 New file.
17624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17625 multiarch isinff for PowerPC32.
17626
8e4e7ba2
AZ
17627 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17628 alias when __isnan is defined.
17629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17630 and isnanf multiarch implementations.
17631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17632 file.
17633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17634 file.
17635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17636 file.
17637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17638 file.
17639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17640 multiarch isnan for PowerPC32.
17641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17642 New file.
17643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17644 New file.
17645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17646 multiarch isnanf for PowerPC32.
17647
ddba588e
AZ
17648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17649 and sqrtf multiarch implementations.
17650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17651 file.
17652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17653 file.
17654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17655 multiarch sqrt for PowerPC32.
17656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17657 file.
17658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17659 file.
17660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17661 multiarch sqrtf for PowerPC32.
17662
0f96a2f0
AZ
17663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17664 and llroundf multiarch implementations.
17665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17666 New file.
17667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17668 New file.
17669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17670 New file.
17671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17672 file: multiarch llround for PowerPC32.
17673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17674 file: multiarch llroundf for PowerPC32.
17675
c9b5d79e
AZ
17676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17677 multiarch PowerPC32 fpu implementations.
17678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17679 New file.
17680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17681 New file.
17682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17683 multiarch llrint for PowerPC32.
17684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17685 New file.
17686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17687 New file.
17688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17689 file.
17690
9cbb3aab
AZ
17691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17692
ea5a72f8
AZ
17693 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17694 file.
17695 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17696 file.
17697 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17698 file.
17699 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17700 multiarch wordcopy for PPC32.
17701 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17702 wordcopy objects.
17703 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17704 (__libc_ifunc_impl_list): Likewise.
17705 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17706 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17707 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17708 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17709 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17710 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17711
93be09e7
AZ
17712 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17713 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17714 file.
17715 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17716 file.
17717 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17718 file.
17719 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17720 multiarch wcscpy for PPC32.
17721 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17722 multiarch objects.
17723 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17724 (__libc_ifunc_impl_list): Likewise.
17725 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17726 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17727 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17728 sysdeps/powerpc/power6/wcscpy.c.
17729
bb04e529
AZ
17730 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17731 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17732 file.
17733 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17734 file.
17735 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17736 file.
17737 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17738 multiarch wcsrchr for PPC32.
17739 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17740 multiarch objects.
17741 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17742 (__libc_ifunc_impl_list): Likewise.
17743 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17744 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17745 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17746 sysdeps/powerpc/power6/wcsrchr.c.
17747
05b5cd1c
AZ
17748 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17749 file.
17750 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17751 file.
17752 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17753 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17754 multiarch wcschr for PPc32.
17755 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17756 multiarch objects.
17757 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17758 (__libc_ifunc_impl_list): Likewise.
17759 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17760 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17761 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17762 sysdeps/powerpc/power6/wcschr.c.
17763
ba964147
AZ
17764 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17765 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17766 file.
17767 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17768 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17769 file: multiarch strchr for PPC32.
17770 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17771 multiarch objects.
17772 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17773 (__libc_ifunc_impl_list): Likewise.
17774
31c81aaa
AZ
17775 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17776 name.
17777 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17778 file.
17779 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17780 file.
17781 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17782 multiarch strchrnul for PPC32.
17783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17784 multiarch objects.
17785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17786 (__libc_ifunc_impl_list): Likewise.
17787
0d0607d9
AZ
17788 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17789 file.
17790 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17791 multiarch strncasecmp for PPC32.
17792 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17793 file.
17794 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17795 multiarch strncasecmp_l for PPC32.
17796 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17797 strncasecmp multiarch objects.
17798 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17799 (__libc_ifunc_impl_list): Likewise.
17800
4dfd5c86
AZ
17801 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17802 file.
17803 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17804 multiarch strncasecmp for PPC32.
17805 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17806 New file.
17807 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17808 multiarch strcasecmp_l for PPC32.
17809 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17810 multiarch objects.
17811 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17812 (__libc_ifunc_impl_list): Likewise.
17813
a19e01a3
AZ
17814 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17815 file.
17816 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17817 file.
17818 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17819 multiarch strncmp for PPC32.
17820 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17821 multiarch objects.
17822 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17823 (__libc_ifunc_impl_list): Likewise.
17824
ae9cf7a2
AZ
17825 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17826 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17827 file.
17828 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17829 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17831 multiarch objects.
17832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17833 (__libc_ifunc_impl_list): Likewise.
17834
3148bb7d
AZ
17835 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17836 file.
17837 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17838 file.
17839 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17841 multiarch objects.
17842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17843 (__libc_ifunc_impl_list): Likewise.
17844
7af8b946
AZ
17845 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17846 file.
17847 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17848 file.
17849 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17850 multiarch rawmemchr for PPC32.
17851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17852 multiarch objects.
17853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17854 (__libc_ifunc_impl_list): Likewise.
17855
03a6aa6a
AZ
17856 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17857 file.
17858 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17859 file.
17860 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17861 file: memrchr multiarch for PPC32.
17862 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17863 multiarch objects.
17864 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17865 (__libc_ifunc_impl_list): Likewise.
17866
1c62e6d9
AZ
17867 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17868 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17869 file.
17870 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17871 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17872 multiarch memchr for PPC32.
17873 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17874 multiarch objects.
17875 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17876 (__libc_ifunc_impl_list): Likewise.
17877
87da8bdb
AZ
17878 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17879 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17880 file.
17881 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17882 file.
17883 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17884 file: multiarch mempcpy for PPC32.
17885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17886 multiarch objects.
17887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17888 (__libc_ifunc_impl_list): Likewise.
17889
20ed4714
AZ
17890 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17891 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17892 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17893 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17894 multiarch bzero for PPC32.
17895 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17896 file.
17897 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17898 file.
17899 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17900 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17901 file: multiarch memset for PPC32.
17902 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17903 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17904 memset multiarch objects.
17905 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17906 (__libc_ifunc_impl_list): Likewise.
17907
ab3e3a46
AZ
17908 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17909 file.
17910 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17911 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17912 memcmp for PPC32.
17913 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17914 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17915 multiarch objects.
17916 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17917 (__libc_ifunc_impl_list): Likewise.
17918
930de6f0
AZ
17919 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17920 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17921 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17922 file.
17923 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17924 file.
17925 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17926 file.
17927 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17928 multiarch memcpy for PPC32.
17929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17930 multiarch objects.
17931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17932 (__libc_ifunc_impl_list): Likewise.
17933
4c628e00
AZ
17934 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17935 support multiarch for POWER/PPC32.
17936 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17937 Likewise.
17938 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17940 Implies file to make multiarch folder appers before the fpu and
17941 default folder for power4 configuration.
17942
f4479220
SP
179432013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17944
17945 * scripts/bench.pl: Append volatile keyword to type.
17946
8517800f
KK
179472013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17948
17949 * sysdeps/sh/sotruss-lib.c: New file.
17950 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17951
180138f1
AZ
179522013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17953
17954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17955
bbf37bdc
JM
179562013-12-05 Joseph Myers <joseph@codesourcery.com>
17957
e47cc4e0
JM
17958 [BZ #6810]
17959 * math/w_tgamma.c: Include <errno.h>.
17960 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17961 * math/w_tgammaf.c: Include <errno.h>.
17962 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17963 * math/w_tgammal.c: Include <errno.h>.
17964 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17965 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17966 underflow. Add more tgamma tests.
17967 * math/auto-libm-test-out: Regenerated.
17968 * sysdeps/i386/fpu/libm-test-ulps: Update.
17969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17970
bbf37bdc
JM
17971 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17972 sin, sinh, tan, tanh, tgamma, y0 and y1.
17973 * math/auto-libm-test-out: Regenerated.
17974 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17975 (TEST_COND_x86): Likewise.
17976 (M_E2l): Remove macro.
17977 (M_E3l): Likewise.
17978 (M_2_SQRT_PIl): Likewise.
17979 (M_SQRT_PIl): Likewise.
17980 (M_1_DIV_El): Likewise.
17981 (log_test_data): Use AUTO_TESTS_f_f.
17982 (log10_test_data): Likewise.
17983 (log1p_test_data): Likewise.
17984 (log2_test_data): Likewise.
17985 (sin_test_data): Likewise.
17986 (sin_tonearest_test_data): Likewise.
17987 (sin_towardzero_test_data): Likewise.
17988 (sin_downward_test_data): Likewise.
17989 (sin_upward_test_data): Likewise.
17990 (sinh_test_data): Likewise.
17991 (sinh_tonearest_test_data): Likewise.
17992 (sinh_towardzero_test_data): Likewise.
17993 (sinh_downward_test_data): Likewise.
17994 (sinh_upward_test_data): Likewise.
17995 (tan_test_data): Likewise.
17996 (tan_tonearest_test_data): Likewise.
17997 (tan_towardzero_test_data): Likewise.
17998 (tan_downward_test_data): Likewise.
17999 (tan_upward_test_data): Likewise.
18000 (tanh_test_data): Likewise.
18001 (tgamma_test_data): Likewise.
18002 (y0_test_data): Likewise.
18003 (y1_test_data): Likewise.
18004 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18005 (special_real_inputs): Add pi/4.
18006 * sysdeps/i386/fpu/libm-test-ulps: Update.
18007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18008
eb5ad6b9
AZ
180092013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18010
18011 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18012 "longjmp_target" static probes.
18013 (__longjmp): Rename to __longjmp_symbol.
18014 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18015 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18016 on which longjmp to generate.
18017 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18018 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18019 probe.
18020 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18021 (__sigjmp_save): Rename to __sigjmp_save_symbol.
18022 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18023 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18024 and __sigjmp_save_symbol based on which sigsetjmp to generated.
18025 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18027 __longjmp_symbol based on which __longjmp to generate.
18028 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18029 probe.
18030 (setjmp): Rename to setjmp_symbol.
18031 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18032 (_setjmp): Rename to _setjmp_symbol.
18033 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18034 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18035 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18036 which setjmp to generate.
18037 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18038 "longjmp_target" static probes.
18039
d136c6dc
SP
180402013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18041
9298ecba
SP
18042 * benchtests/README: Add note about output arguments.
18043 * benchtests/bench-sincos.c: Remove file.
18044 * benchtests/sincos-inputs: New file.
18045 * scripts/bench.pl: Identify output arguments and define
18046 static variables for them.
18047
232983e9
SP
18048 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18049
d136c6dc
SP
18050 [BZ #15941]
18051 * Makefile (INSTALL): Add install-plain.texi as the primary
18052 dependency.
18053 * manual/install-plain.texi: New file.
18054 * manual/install.texi: Include node directive only for
18055 non-plaintext output.
18056
699ff837
JM
180572013-12-04 Joseph Myers <joseph@codesourcery.com>
18058
ab07cea8
JM
18059 * stdlib/longlong.h: Update from GCC.
18060
699ff837
JM
18061 [BZ #6807]
18062 [BZ #15901]
18063 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18064 * math/w_j0f.c (y0f): Likewise.
18065 * math/w_j0l.c (__y0l): Likewise.
18066 * math/w_j1.c (y1): Likewise.
18067 * math/w_j1f.c (y1f): Likewise.
18068 * math/w_j1l.c (__y1l): Likewise
18069 * math/w_jn.c (yn): Likewise.
18070 * math/w_jnf.c (ynf): Likewise.
18071 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18072 Bessel function pole errors in _POSIX_ mode. Use NAN as return
18073 value for Bessel function domain errors outside _SVID_ mode.
18074 Adjust sign of return value for yn (negative integer, 0).
18075 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18076 by zero in return for negative x and set sign appropriately for
18077 negative n.
18078 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18079 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18080 * math/libm-test.inc (y0_test_data): Add more tests and adjust
18081 expectations in error cases.
18082 (y1_test_data): Likewise.
18083 (yn_test_data): Likewise.
18084 * sysdeps/i386/fpu/libm-test-ulps: Update.
18085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18086
5b118558
UW
180872013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18088
18089 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18090 "64" to "64-v1". Add "64-v2".
18091 (abi-64-options): Rename to ...
18092 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
18093 (abi-64-condition): Rename to ...
18094 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
18095 (abi-64-ld-soname): Rename to ...
18096 (abi-64-v1-ld-soname): ... this.
18097 (abi-64-v2-options): Define.
18098 (abi-64-v2-condition): Likewise.
18099 (abi-64-v2-ld-soname): Likewise.
18100 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18101 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18105
61cd8fe4
UW
181062013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18107 Alan Modra <amodra@gmail.com>
18108
18109 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18110 New versions for use with the ELFv2 ABI.
18111 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18112 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18113 declaration.
18114 (struct La_ppc64v2_retval): Likewise.
18115 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18116 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18117 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18118 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18119 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18120 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18121 Do not save or restore CR.
18122 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18123 (_dl_profile_resolve): Do no save or restore CR. Support extended
18124 return values for ELFv2 ABI. Fix location of FPR return registers.
18125 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18126 updated values for _CALL_ELF == 2.
18127 (La_regs, La_retval, int_retval): Likewise.
18128
8b8a692c
UW
181292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18130
18131 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18132 (FRAME_MIN_SIZE_PARM): Likewise.
18133 (FRAME_BACKCHAIN): Likewise.
18134 (FRAME_CR_SAVE): Likewise.
18135 (FRAME_LR_SAVE): Likewise.
18136 (FRAME_TOC_SAVE): Likewise.
18137 (FRAME_PARM_SAVE): Likewise.
18138 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18139 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18140 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18141 (call_mcount_parm_offset): New macro.
18142 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18143 (PROF): Use symbolic stack frame offsets.
18144 (TAIL_CALL_SYSCALL_ERROR): Likewise.
18145 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18146 Redefine in terms of FRAME_MIN_SIZE.
18147 (_dl_runtime_resolve): Use symbolic stack frame offsets.
18148 (_dl_profile_resolve): Likewise. Update comment.
18149 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18150 symbols stack frame offsets.
18151 (__sigsetjmp): Likewise.
18152 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18153 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18154 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18155 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18156
18157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18158 (FRAME_BACKCHAIN): Remove.
18159 (FRAME_CR_SAVE): Likewise.
18160 (FRAME_LR_SAVE): Likewise.
18161 (FRAME_COMPILER_DW): Likewise.
18162 (FRAME_LINKER_DW): Likewise.
18163 (FRAME_TOC_SAVE): Likewise.
18164 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
18165 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18166 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18167 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
18168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18169 (CHECK_SP): Use symbolic stack frame offsets.
18170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18171 zone" instead of caller's parameter save area for temp storage.
18172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18173 Likewise. Also, use symbolic stack frame offsets.
18174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18175 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18176 our own stack frame instead of the caller's.
18177 (__socket): Use symbolic stack frame offsets.
18178
122b66de
UW
181792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18180 Alan Modra <amodra@gmail.com>
18181
18182 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18183 Define.
57f41c40
AS
18184 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18185 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
18186 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18187 New function.
18188 (elf_machine_fixup_plt): Call it.
18189 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
18190 reloc arguments.
18191 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
18192 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18193 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
18194 r2 before calling target.
18195
696caf1d
UW
181962013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18197 Alan Modra <amodra@gmail.com>
18198
18199 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18200 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18201 versions of macros to support ELFv2 ABI.
18202 (LOCALENTRY): New macro.
18203 (ENTRY, EALIGN): Use it.
18204 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18205 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18206 fall through into ENTRY entry point.
18207 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18208 Only define if _CALL_ELF != 2.
18209
18210 (elf_machine_matches_host): Verify ABI version matches.
18211 (RTLD_START): Use LOCALENTRY.
18212 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18213 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18214 (PLT_ENTRY_WORDS): New macro.
18215 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18216 (elf_machine_runtime_setup): Support ELFv2 ABI.
18217 (elf_machine_fixup_plt): Likewise.
18218 (elf_machine_plt_conflict): Likewise.
18219 (resolve_ifunc): Likewise.
18220 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18221 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18222 Likewise.
18223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18224 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18226 (makecontext): Support ELFv2 ABI.
18227 * elf/elf.h (EF_PPC64_ABI): Define.
18228
d31beafa
UW
182292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18230
57f41c40
AS
18231 * sysdeps/powerpc/powerpc64/sysdep.h
18232 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18233 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18234 (ENTRY) [ASSEMBLER]: ... but instead here ...
18235 (EALIGN) [ASSEMBLER]: ... and here.
18236 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18237 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18238 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
18239 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18240 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
18241 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18242 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
18243 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18245 Use PPC64_LOAD_FUNCPTR.
18246
b525166b
UW
18247 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18248
7ec07d9a
AM
182492013-12-04 Alan Modra <amodra@gmail.com>
18250
18251 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18252 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18253 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18254 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18255
18256 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18257 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18258 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18259 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18260 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18261 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18262
5162e7dd
UW
182632013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18264
18265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18266 (__makecontext): Fix incorrect CFI when backtracing out of
18267 context created via makecontext.
18268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18269 (__setcontext): Fix incorrect CFI during switch to new context.
18270 (__novec_setcontext): Likewise.
18271
19e3372b
OB
182722013-12-04 Ondřej Bílka <neleai@seznam.cz>
18273
18274 [BZ #4772]
18275 * time/strptime_l.c (__strptime_internal): Allow modifiers
18276 in strptime.
18277 * time/tst-strptime.c (day_tests): Add testcase.
18278
ecaf142d
SP
182792013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18280
18281 * scripts/bench.pl: Skip over blank lines.
18282
fbf964ae
PE
182832013-12-04 Paul Eggert <eggert@cs.ucla.edu>
18284
18285 [BZ #926]
18286 * manual/time.texi (Calendar Time): Clarify what timezone functions
18287 use.
18288
fa60a674
AZ
182892013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18290
18291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18292
d674f0ef
OB
182932013-12-04 Ondřej Bílka <neleai@seznam.cz>
18294
18295 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18296 implementation.
18297 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18298 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18299 * debug/memset_chk.c (__memset_chk): Likewise.
18300 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18301 * debug/strncpy_chk.c: Likewise.
18302
17dea188
JM
183032013-12-03 Joseph Myers <joseph@codesourcery.com>
18304
749008ff
JM
18305 [BZ #15268]
18306 [BZ #15425]
18307 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18308 (__ieee754_exp): For possibly underflowing results, check size of
18309 result and force underflow exception if required.
18310 * math/auto-libm-test-in: Add more tests of exp.
18311 * math/auto-libm-test-out: Regenerated.
18312 * sysdeps/i386/fpu/libm-test-ulps: Update.
18313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18314
17dea188
JM
18315 [BZ #16283]
18316 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18317 * math/w_exp2f.c (__exp2f): Likewise.
18318 * math/w_exp2l.c (__exp2l): Likewise.
18319 * math/auto-libm-test-in: Do not allow missing errno on exp2
18320 underflow.
18321 * math/auto-libm-test-out: Regenerated.
18322
b20de2c3
OB
183232013-12-03 Ondřej Bílka <neleai@seznam.cz>
18324
18325 [BZ #16274]
18326 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18327 handle filename validation.
18328 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18329 (do_open): Delete.
18330
d8e2dbe3
JM
183312013-12-03 Joseph Myers <joseph@codesourcery.com>
18332
34e16df5
JM
18333 [BZ #6786]
18334 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18335 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18336 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18337 <float.h>.
18338 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18339 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18340 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18341 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18342 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18343 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18344 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18345 * math/auto-libm-test-in: Don't allow missing errno from erfc.
18346 Add more erfc tests.
18347 * math/auto-libm-test-out: Regenerated.
18348 * sysdeps/i386/fpu/libm-test-ulps: Update.
18349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18350
d8e2dbe3
JM
18351 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18352 exp2, expm1, j0 and j1.
18353 * math/auto-libm-test-out: Regenerated.
18354 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18355 (erfc_test_data): Likewise.
18356 (exp_test_data): Likewise.
18357 (exp_tonearest_test_data): Likewise.
18358 (exp_towardzero_test_data): Likewise.
18359 (exp_downward_test_data): Likewise.
18360 (exp_upward_test_data): Likewise.
18361 (exp10_test_data): Likewise.
18362 (exp2_test_data): Likewise.
18363 (expm1_test_data): Likewise.
18364 (j0_test_data): Likewise.
18365 (j1_test_data): Likewise.
18366 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18367 (input_flag_type): Add flag_xfail_rounding.
18368 (input_flags): Add xfail-rounding.
18369 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18370 (output_for_one_input_case): Handle flag_xfail_rounding.
18371 * sysdeps/i386/fpu/libm-test-ulps: Update.
18372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18373
18d14251
AJ
183742013-12-03 Aurelien Jarno <aurelien@aurel32.net>
18375
3d2e6075 18376 [BZ #16289]
18d14251
AJ
18377 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18378 division by 0.
18379
520d437b
SP
183802013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18381
18382 [BZ #16195]
18383 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18384 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18385 (STAP_PROBE0): New macro.
18386 (STAP_PROBE1): Likewise.
18387 (STAP_PROBE2): Likewise.
18388 (STAP_PROBE3): Likewise.
18389 (STAP_PROBE4): Likewise.
18390
416e0145
OB
183912013-12-02 Ondřej Bílka <neleai@seznam.cz>
18392
18393 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18394
9d17796a
SE
183952013-12-02 Steve Ellcey <sellcey@mips.com>
18396
18397 * benchtests/Makefile (bench): Add sqrt.
18398 (LDLIBS-bench-sqrt): New.
18399 * benchtests/sqrt-input: New.
18400
f524d6a8
PS
184012013-12-02 Pavel Simerda <psimerda@redhat.com>
18402
639a0ef8
PS
18403 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18404 (GAIH_EAI): Likewise.
18405 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18406 (gaih_inet): Likewise.
18407 (getaddrinfo): Don't use GAIH_EAI.
18408
f524d6a8
PS
18409 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18410 (struct gaih): Remove definition.
18411
df3aedaf
SP
184122013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18413
18414 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18415 Use HERRNOP directly.
18416
1ab19dec
AZ
184172013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18418
b42ad38d 18419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 18420
176b0c79
JM
184212013-11-30 Joseph Myers <joseph@codesourcery.com>
18422
18423 * math/gen-auto-libm-tests.c (test_functions): Add more
18424 single-argument functions.
18425 (special_fill_pi_2): New function.
18426 (special_fill_minus_pi_2): Likewise.
18427 (special_fill_pi_6): Likewise.
18428 (special_fill_minus_pi_6): Likewise.
18429 (special_fill_pi_3): Likewise.
18430 (special_fill_2pi_3): Likewise.
18431 (special_fill_e): Likewise.
18432 (special_fill_1_e): Likewise.
18433 (special_fill_e_minus_1): Likewise.
18434 (special_real_inputs): Add more special inputs.
18435 (output_for_one_input_case): Do not require ERANGE on underflow to
18436 zero if round-to-nearest result does not underflow to zero, unless
18437 exact results required.
18438 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18439 atan, atanh, cbrt, cos and cosh.
18440 * math/auto-libm-test-out: Regenerated.
18441 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18442 (acos_tonearest_test_data): Likewise.
18443 (acos_towardzero_test_data): Likewise.
18444 (acos_downward_test_data): Likewise.
18445 (acos_upward_test_data): Likewise.
18446 (acosh_test_data): Likewise.
18447 (asin_test_data): Likewise.
18448 (asin_tonearest_test_data): Likewise.
18449 (asin_towardzero_test_data): Likewise.
18450 (asin_upward_test_data): Likewise.
18451 (asinh_test_data): Likewise.
18452 (atan_test_data): Likewise.
18453 (atanh_test_data): Likewise.
18454 (cbrt_test_data): Likewise.
18455 (cos_test_data): Likewise.
18456 (cos_tonearest_test_data): Likewise.
18457 (cos_towardzero_test_data): Likewise.
18458 (cos_downward_test_data): Likewise.
18459 (cos_upward_test_data): Likewise.
18460 (cosh_test_data): Likewise.
18461 (cosh_tonearest_test_data): Likewise.
18462 (cosh_towardzero_test_data): Likewise.
18463 (cosh_downward_test_data): Likewise.
18464 (cosh_upward_test_data): Likewise.
18465 * sysdeps/i386/fpu/libm-test-ulps: Update.
18466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18467
ffb536d0
JM
184682013-11-29 Joseph Myers <joseph@codesourcery.com>
18469
2a77a467
JM
18470 [BZ #6787]
18471 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18472 * math/w_exp10f.c (__exp10f): Likewise.
18473 * math/w_exp10l.c (__exp10l): Likewise.
18474 * math/libm-test.inc (exp10_test_data): Add more tests and expect
18475 errno settings in existing tests.
18476
ea3bc4e8
JM
18477 [BZ #14032]
18478 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18479 precision control set to double precision.
18480 * sysdeps/i386/fpu/w_sqrt.c: New file.
18481 * math/auto-libm-test-in: Add more tests.
18482 * math/auto-libm-test-out: Update.
18483
0712c9d8
JM
18484 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18485 (sqrt_test_tonearest): New function.
18486 (sqrt_towardzero_test_data): New variable.
18487 (sqrt_test_towardzero): New function.
18488 (sqrt_downward_test_data): New variable.
18489 (sqrt_test_downward): New function.
18490 (sqrt_upward_test_data): New variable.
18491 (sqrt_test_upward): New function.
18492 (main): Call the new functions.
18493
ffb536d0
JM
18494 * math/gen-auto-libm-tests.c: New file.
18495 * math/auto-libm-test-in: Likewise.
18496 * math/auto-libm-test-out: New generated file.
18497 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18498 variables.
18499 (%beautify): Add generated representations of zero.
18500 (top level): Set $auto_input and call parse_auto_input.
18501 (beautify): Remove trailing "f" from hex float constants.
18502 (parse_args): Handle XFAIL_TEST.
18503 (convert_condition): New function.
18504 (or_value): Likewise.
18505 (or_cond_value): Likewise.
18506 (generate_testfile): Handle AUTO_TESTS_* lines.
18507 (parse_auto_input): New function.
18508 * math/libm-test.inc (XFAIL_TEST): New macro.
18509 (ERRNO_UNCHANGED): Update value.
18510 (ERRNO_EDOM): Likewise.
18511 (ERRNO_ERANGE): Likewise.
18512 (IGNORE_RESULT): Likewise.
18513 (TEST_COND_flt_32): New macro.
18514 (TEST_COND_dbl_64): Likewise.
18515 (TEST_COND_ldbl_96_intel): Likewise.
18516 (TEST_COND_ldbl_96_m68k): Likewise.
18517 (TEST_COND_ldbl_128): Likewise.
18518 (TEST_COND_ldbl_128ibm): Likewise.
18519 (TEST_COND_long32): Likewise.
18520 (TEST_COND_long64): Likewise.
18521 (TEST_COND_before_rounding): Likewise.
18522 (TEST_COND_after_rounding): Likewise.
18523 (enable_test): Handle XFAIL_TEST flag.
18524 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18525 with finite results.
18526 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18527 auto-libm-test-out.
18528
acd98a8e
AK
185292013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18530 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18531
18532 [BZ #16214]
18533 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18534 __tls_get_addr_internal instead of __tls_get_offset in order to
18535 avoid GOT pointer dependency. Make rtld export
18536 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18537 __tls_get_addr since we are a __tls_get_offset platform.
18538 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18539 GOT pointer being set up before.
18540 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18541
3c1c46a6
JM
185422013-11-28 Joseph Myers <joseph@codesourcery.com>
18543
7475aef5
JM
18544 * manual/math.texi (Errors in Math Functions): Document accuracy
18545 goals.
18546
8bca7cd8
JM
18547 [BZ #15004]
18548 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18549 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18550 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18551 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18552 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18553 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18554 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18555 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18556 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18557 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18558 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18559 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18560 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18561 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18562 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18563 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18564
91a1f3fe
JM
18565 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18566 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18567 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18568 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18569 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18570 Likewise.
18571 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18572 Likewise.
18573 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18574 Likewise.
18575 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18576 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18577 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18578 atomic-feupdateenv and flt-rounds.
18579 * sysdeps/powerpc/nofpu/Versions (libc): Add
18580 __atomic_feholdexcept, __atomic_feclearexcept,
18581 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18582 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18583 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18584 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18585 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18586 here.
18587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18588 Update.
18589
c5df7609
JM
18590 * manual/arith.texi (FP Exceptions): Document that exceptions may
18591 not be raised when matherr is used.
18592 (Math Error Reporting): Document overflow in directed rounding
18593 modes. Document that errno may not be set when finite values are
18594 returned on overflow. Document intent to set errno on underflow
18595 only for underflow to zero.
18596
3c1c46a6
JM
18597 [BZ #16271]
18598 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18599 round-to-nearest then adjust result for other rounding modes.
18600 * include/fenv.h (fegetround): Use libm_hidden_proto.
18601 * math/fegetround.c (fegetround): Use libm_hidden_def.
18602 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18603 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18604 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18605 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18606 Likewise.
18607 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18608 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18609 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18610 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18611
5a4c6d53
SP
186122013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18613
18614 [BZ #16077]
18615 * nss/Versions (libnss_files): Add
18616 _nss_files_gethostbyname3_r.
18617 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18618 New function.
18619 (HOST_DB_LOOKUP): Remove macro.
18620 (_nss_files_gethostbyname_r): Implement function without the
18621 HOST_DB_LOOKUP macro.
18622 (_nss_files_gethostbyname2_r): Likewise.
18623
897b98ba
OB
186242013-11-28 Ondřej Bílka <neleai@seznam.cz>
18625
18626 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18627
6f476861
UB
186282013-11-26 Uros Bizjak <ubizjak@gmail.com>
18629
18630 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18631 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18632 warning.
18633
bd12ab55
AZ
186342013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18635
18636 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18637 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18638 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18639 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18640 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18641 __fe_nomask_env_priv and attribute_hidden.
18642 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18643 (libc_feupdateenv_test_ppc): Likewise.
18644 (libc_feresetround_ppc): Likewise.
18645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18646 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18647 compat_symbol macro.
18648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18649 (__fe_nomask_env): Likewise.
18650 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18651
52bb6543
OB
186522013-11-26 Ondřej Bílka <neleai@seznam.cz>
18653
18654 * string/Makefile: Remove ifunc tests.
18655 * string/test-string.h: Define TEST_IFUNC.
18656 * string/test-bcopy-ifunc.c: Remove.
18657 * string/test-bzero-ifunc.c: Likewise.
18658 * string/test-memccpy-ifunc.c: Likewise.
18659 * string/test-memchr-ifunc.c: Likewise.
18660 * string/test-memcmp-ifunc.c: Likewise.
18661 * string/test-memcpy-ifunc.c: Likewise.
18662 * string/test-memmem-ifunc.c: Likewise.
18663 * string/test-memmove-ifunc.c: Likewise.
18664 * string/test-mempcpy-ifunc.c: Likewise.
18665 * string/test-memrchr-ifunc.c: Likewise.
18666 * string/test-memset-ifunc.c: Likewise.
18667 * string/test-rawmemchr-ifunc.c: Likewise.
18668 * string/test-stpcpy-ifunc.c: Likewise.
18669 * string/test-stpncpy-ifunc.c: Likewise.
18670 * string/test-strcasecmp-ifunc.c: Likewise.
18671 * string/test-strcasestr-ifunc.c: Likewise.
18672 * string/test-strcat-ifunc.c: Likewise.
18673 * string/test-strchr-ifunc.c: Likewise.
18674 * string/test-strchrnul-ifunc.c: Likewise.
18675 * string/test-strcmp-ifunc.c: Likewise.
18676 * string/test-strcpy-ifunc.c: Likewise.
18677 * string/test-strcspn-ifunc.c: Likewise.
18678 * string/test-strlen-ifunc.c: Likewise.
18679 * string/test-strncasecmp-ifunc.c: Likewise.
18680 * string/test-strncat-ifunc.c: Likewise.
18681 * string/test-strncmp-ifunc.c: Likewise.
18682 * string/test-strncpy-ifunc.c: Likewise.
18683 * string/test-strnlen-ifunc.c: Likewise.
18684 * string/test-strpbrk-ifunc.c: Likewise.
18685 * string/test-strrchr-ifunc.c: Likewise.
18686 * string/test-strspn-ifunc.c: Likewise.
18687 * string/test-strstr-ifunc.c: Likewise.
18688
ab260039 186892013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
18690
18691 * benchtests/Makefile: Remove ifunc tests.
18692 * benchtests/bench-string.h: Define TEST_IFUNC.
18693 * benchtests/bench-bcopy-ifunc.c: Remove.
18694 * benchtests/bench-bzero-ifunc.c: Likewise.
18695 * benchtests/bench-memccpy-ifunc.c: Likewise.
18696 * benchtests/bench-memchr-ifunc.c: Likewise.
18697 * benchtests/bench-memcmp-ifunc.c: Likewise.
18698 * benchtests/bench-memcpy-ifunc.c: Likewise.
18699 * benchtests/bench-memmem-ifunc.c: Likewise.
18700 * benchtests/bench-memmove-ifunc.c: Likewise.
18701 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18702 * benchtests/bench-memrchr-ifunc.c: Likewise.
18703 * benchtests/bench-memset-ifunc.c: Likewise.
18704 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18705 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18706 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18707 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18708 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18709 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18710 * benchtests/bench-strcat-ifunc.c: Likewise.
18711 * benchtests/bench-strchr-ifunc.c: Likewise.
18712 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18713 * benchtests/bench-strcmp-ifunc.c: Likewise.
18714 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18715 * benchtests/bench-strcpy-ifunc.c: Likewise.
18716 * benchtests/bench-strcspn-ifunc.c: Likewise.
18717 * benchtests/bench-strlen-ifunc.c: Likewise.
18718 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18719 * benchtests/bench-strncat-ifunc.c: Likewise.
18720 * benchtests/bench-strncmp-ifunc.c: Likewise.
18721 * benchtests/bench-strncpy-ifunc.c: Likewise.
18722 * benchtests/bench-strnlen-ifunc.c: Likewise.
18723 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18724 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 18725 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
18726 * benchtests/bench-strspn-ifunc.c: Likewise.
18727 * benchtests/bench-strstr-ifunc.c: Likewise.
18728
187292013-11-26 Ondřej Bílka <neleai@seznam.cz>
18730
ab260039
OB
18731 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18732
d1d9eaf4 187332013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 18734
d1d9eaf4
OB
18735 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18736 * rt/aio.h: Likewise.
18737 * sysdeps/gnu/bits/utmp.h: Likewise.
18738 * sysdeps/gnu/bits/utmpx.h: Likewise.
18739 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18740 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18741 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18742 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18743 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18744 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18745 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18746 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18747 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18748 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18749 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18750 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18751 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18753 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18754 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18755 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18756 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18757 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18758 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18759 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18760 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18761 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18762 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18763 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18764 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18765 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18766 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18767 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18768 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18769 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18770 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18771 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18772 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18773 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18774 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18775 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18776 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18777 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18778 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18779 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18780 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18781
a7624ed9
CD
187822013-11-25 Carlos O'Donell <carlos@redhat.com>
18783
18784 [BZ #16245]
18785 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18786 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18787
63cfe52b
JM
187882013-11-25 Joseph Myers <joseph@codesourcery.com>
18789
18790 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18791 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18792 Likewise.
18793
41e8926a
AZ
187942013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18795
18796 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18797 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18798 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18799 (__fesetround): Remove define.
18800 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18801 rounding and exceptions handling.
18802 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18803 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18804 (__fe_nomask_env): Likewise.
18805 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18806 __fegetround instead of fegetround.
18807 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18808 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18809
6851bd4d
RM
188102013-11-21 Roland McGrath <roland@hack.frob.com>
18811
070906ff
RM
18812 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18813 it's there.
18814
6851bd4d
RM
18815 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18816
84ae135d
MI
188172013-11-21 Meador Inge <meadori@codesourcery.com>
18818
18819 [BZ #11157]
18820 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18821 (encrypt_r): Likewise.
18822 * malloc/obstack.h (obstack_free): Likewise.
18823 * posix/unistd.h (encrypt): Likewise.
18824
daf75146
GM
188252013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18826
18827 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18828 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18829 DL_CALL_DT_FINI() that call the functions directly.
18830 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18831 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18832 * elf/dl-fini.c: Likewise.
18833
10ad46bc
OB
188342013-11-20 Ondřej Bílka <neleai@seznam.cz>
18835
18836 * malloc/hooks.c (memalign_check): Add alignment rounding.
18837 * malloc/malloc.c (_mid_memalign): New function.
18838 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18839 Implement by calling _mid_memalign.
18840 * manual/probes.texi (Memory Allocation Probes): Remove
18841 memory_valloc_retry and memory_pvalloc_retry.
18842
f3fd2628
SP
188432013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18844
4712799f
SP
18845 * locale/programs/locarchive.c (open_archive): Add const
18846 qualifier to ARCHIVEFNAME and copy default fname to
18847 DEFAULT_FNAME.
18848
0417b20f
SP
18849 [BZ #15601]
18850 * libio/tst-widetext.input: Rename Oriya to Odia.
18851 * locale/iso-639.def: Likewise.
18852
f3fd2628
SP
18853 * manual/probes.texi (Mathematical Function Probes): Add
18854 documentation for sin, cos, asin and acos probes.
18855 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18856 (__sin32): Add slowasin probe.
18857 (__cos32): Add slowacos probe.
18858 (__mpsin): Add slowsin probe.
18859 (__mpcos): Add slowcos probe.
18860
73c1ce4f
JM
188612013-11-19 Joseph Myers <joseph@codesourcery.com>
18862
18863 [BZ #15483]
18864 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18865 thread-local __sim_exceptions_thread and global
18866 __sim_exceptions_global.
18867 (__sim_disabled_exceptions): Change to thread-local
18868 __sim_disabled_exceptions_thread and global
18869 __sim_disabled_exceptions_global.
18870 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18871 and global __sim_round_mode_global.
18872 (__simulate_exceptions): Use thread-local floating-point state and
18873 set global state from it as needed.
18874 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18875 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18876 __sim_round_mode_thread.
18877 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18878 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18879 and global __sim_exceptions_global.
18880 (__sim_disabled_exceptions): Change to thread-local
18881 __sim_disabled_exceptions_thread and global
18882 __sim_disabled_exceptions_global.
18883 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18884 and global __sim_round_mode_global.
18885 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18886 (SIM_SET_GLOBAL): Likewise.
18887 * sysdeps/powerpc/soft-fp/sfp-machine.h
18888 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18889 __sim_round_mode_thread.
18890 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18891 __sim_disabled_exceptions_thread.
18892 (__sim_exceptions): Change to __sim_exceptions_thread.
18893 (__sim_disabled_exceptions): Change to
18894 __sim_disabled_exceptions_thread.
18895 (__sim_round_mode): Change to __sim_round_mode_thread.
18896 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18897 thread-local floating-point state and set global state from it as
18898 needed.
18899 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18900 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18901 (__sim_disabled_exceptions): Remove extern declaration.
18902 (feenableexcept): Use thread-local floating-point state and set
18903 global state from it as needed.
18904 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18905 extern declaration.
18906 (__sim_disabled_exceptions): Likewise.
18907 (__sim_round_mode): Likewise.
18908 (__fegetenv): Use thread-local floating-point state.
18909 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18910 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18911 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18912 floating-point state and set global state from it as needed.
18913 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18914 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18915 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18916 Likewise.
18917 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18918 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18919 Likewise.
18920 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18921 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18922 Use __sim_round_mode_thread.
18923 * math/test-fenv-tls.c: New file.
18924 * math/Makefile (tests): Add test-fenv-tls.
18925 ($(objpfx)test-fenv-tls): Depend on
18926 $(common-objpfx)nptl/libpthread.so.
18927
b5449b12
AS
189282013-11-19 Andreas Schwab <schwab@suse.de>
18929
18930 * locale/programs/locale.c (show_info): Decode wordarray elements.
18931 * locale/categories.def (LC_MONETARY): Add element for
18932 _NL_MONETARY_CRNCYSTR.
18933 * locale/C-monetary.c (conversion_rate): New variable.
18934 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18935 element.
18936
e186536b
CM
189372013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18938
18939 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18940 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18941
5c349950
PP
189422013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18943
18944 * elf/Makefile (tst-auxv): New test.
18945 * elf/tst-auxv.c: New
18946 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18947
699df45b
JM
189482013-11-18 Joseph Myers <joseph@codesourcery.com>
18949
18950 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18951 (hidden_proto): Caller changed.
18952 (hidden_tls_proto): New macro.
18953 (libc_hidden_tls_proto): Likewise.
18954 (rtld_hidden_tls_proto): Likewise.
18955 (libm_hidden_tls_proto): Likewise.
18956 (libresolv_hidden_tls_proto): Likewise.
18957 (librt_hidden_tls_proto): Likewise.
18958 (libdl_hidden_tls_proto): Likewise.
18959 (libnss_files_hidden_tls_proto): Likewise.
18960 (libnsl_hidden_tls_proto): Likewise.
18961 (libnss_nisplus_hidden_tls_proto): Likewise.
18962 (libutil_hidden_tls_proto): Likewise.
18963
b7589107
OB
189642013-11-18 Ondřej Bílka <neleai@seznam.cz>
18965
18966 [BZ #10253]
18967 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18968 (decompose_rpath): Defer expansion to fillin_rpath.
18969 (_dl_init_paths): Pass linkmap to fillin_rpath.
18970
250c23bd
RS
189712013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18972
18973 * benchtests/Makefile: Add strsep.
18974 * benchtests/bench-strsep.c: New file: strsep benchtest.
18975 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18976
a7931fcf
AS
189772013-11-18 Andreas Schwab <schwab@suse.de>
18978
18979 * locale/programs/locale.c (show_info) [case byte]: Check for
18980 '\377' instead of '\177'.
18981 * locale/C-monetary.c (not_available): Always use "\377".
18982 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18983 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18984 detect unavailable sign_posn locale elements.
18985 * locale/localeconv.c (__localeconv): For grouping and
18986 mon_grouping handle "\177" and "\377" like no grouping.
18987 (INT_ELEM): New macro. Use it to set all numeric members.
18988 * locale/programs/ld-monetary.c (monetary_read)
18989 <tok_mon_grouping>: Normalize single -1 to the empty string.
18990 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18991 Likewise.
18992
728dab0e
OB
189932013-11-07 Ondřej Bílka <neleai@seznam.cz>
18994
18995 [BZ #16055]
18996 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18997 when we match (nil).
18998 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18999
66294491
JM
190002013-11-16 Joseph Myers <joseph@codesourcery.com>
19001
ce665817
JM
19002 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19003 (NO_TEST_INLINE): Update value.
19004 (ERRNO_UNCHANGED): Likewise.
19005 (ERRNO_EDOM): Likewise.
19006 (ERRNO_ERANGE): Likewise.
19007 (IGNORE_RESULT): Likewise.
19008 (check_float_internal): Check signs of NaN results if
19009 TEST_NAN_SIGN used.
19010 (check_complex): Pass TEST_NAN_SIGN flag through to second
19011 check_float_internal call.
19012 (copysign_test_data): Add tests with quiet NaNs as second
19013 argument. Use TEST_NAN_SIGN.
19014 (fabs_test_data): Add test of negative quiet NaN argument. Use
19015 TEST_NAN_SIGN.
19016 (signbit_test_data): Add tests of quiet NaN argument.
19017 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19018
ee1466a9
JM
19019 * math/gen-libm-test.pl (show_exceptions): Take extra argument
19020 $ignore_result.
19021 (parse_args): Handle function results specified as IGNORE.
19022 * math/libm-test.inc (IGNORE_RESULT): New macro.
19023 (check_float_internal): Do not check numerical result if flag
19024 IGNORE_RESULT set.
19025 (check_complex): Pass through IGNORE_RESULT to second
19026 check_float_internal call.
19027 (check_int): Do not check numerical result if flag IGNORE_RESULT
19028 set.
19029 (check_long): Likewise.
19030 (check_bool): Likewise.
19031 (check_longlong): Likewise.
19032 (lrint_test_data): Add tests of infinite and NaN arguments.
19033 (lrint_tonearest_test_data): Likewise.
19034 (lrint_towardzero_test_data): Likewise.
19035 (lrint_downward_test_data): Likewise.
19036 (lrint_upward_test_data): Likewise.
19037 (llrint_test_data): Likewise.
19038 (llrint_tonearest_test_data): Likewise.
19039 (llrint_towardzero_test_data): Likewise.
19040 (llrint_downward_test_data): Likewise.
19041 (llrint_upward_test_data): Likewise.
19042 (lround_test_data): Likewise.
19043 (llround_test_data): Likewise.
19044
14407b7e
JM
19045 * math/libm-test.inc (NO_TEST_INLINE): New macro.
19046 (ERRNO_UNCHANGED): Update value.
19047 (ERRNO_EDOM): Likewise.
19048 (ERRNO_ERANGE): Likewise.
19049 (NO_TEST_INLINE_FLOAT): New macro.
19050 (NO_TEST_INLINE_DOUBLE): Likewise.
19051 (enable_test): New function.
19052 (RUN_TEST_f_f): Check enable_test before running test.
19053 (RUN_TEST_2_f): Likewise.
19054 (RUN_TEST_fff_f): Likewise.
19055 (RUN_TEST_c_f): Likewise.
19056 (RUN_TEST_f_f1): Likewise.
19057 (RUN_TEST_fF_f1): Likewise.
19058 (RUN_TEST_fI_f1): Likewise.
19059 (RUN_TEST_ffI_f1): Likewise.
19060 (RUN_TEST_c_c): Likewise.
19061 (RUN_TEST_cc_c): Likewise.
19062 (RUN_TEST_f_i): Likewise.
19063 (RUN_TEST_f_i_tg): Likewise.
19064 (RUN_TEST_ff_i_tg): Likewise.
19065 (RUN_TEST_f_b): Likewise.
19066 (RUN_TEST_f_b_tg): Likewise.
19067 (RUN_TEST_f_l): Likewise.
19068 (RUN_TEST_f_L): Likewise.
19069 (RUN_TEST_fFF_11): Likewise.
19070 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19071 conditionals.
19072 (cosh_test_data): Likewise.
19073 (exp_test_data): Likewise.
19074 (expm1_test_data): Likewise.
19075 (hypot_test_data): Likewise.
19076 (pow_test_data): Likewise.
19077 (sinh_test_data): Likewise.
19078 (tanh_test_data): Likewise.
19079 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19080 flags argument.
19081
ca07f197
JM
19082 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19083 tests with quiet NaN input and output.
19084 (acosh_test_data): Likewise.
19085 (asin_test_data): Likewise.
19086 (asinh_test_data): Likewise.
19087 (atan_test_data): Likewise.
19088 (atanh_test_data): Likewise.
19089 (atan2_test_data): Likewise.
19090 (cbrt_test_data): Likewise.
19091 (cos_test_data): Likewise.
19092 (cosh_test_data): Likewise.
19093 (erf_test_data): Likewise.
19094 (erfc_test_data): Likewise.
19095 (exp_test_data): Likewise.
19096 (exp10_test_data): Likewise.
19097 (exp2_test_data): Likewise.
19098 (expm1_test_data): Likewise.
19099 (hypot_test_data): Likewise.
19100 (j0_test_data): Likewise.
19101 (j1_test_data): Likewise.
19102 (jn_test_data): Likewise.
19103 (lgamma_test_data): Likewise.
19104 (log_test_data): Likewise.
19105 (log10_test_data): Likewise.
19106 (log1p_test_data): Likewise.
19107 (log2_test_data): Likewise.
19108 (pow_test_data): Likewise.
19109 (scalb_test_data): Likewise.
19110 (sin_test_data): Likewise.
19111 (sincos_test_data): Likewise.
19112 (sinh_test_data): Likewise.
19113 (tan_test_data): Likewise.
19114 (tanh_test_data): Likewise.
19115 (tgamma_test_data): Likewise.
19116 (y0_test_data): Likewise.
19117 (y1_test_data): Likewise.
19118 (yn_test_data): Likewise.
19119
66294491
JM
19120 [BZ #16167]
19121 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19122 argument being NaN and avoid computations with second argument in
19123 that case.
19124 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19125 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19126 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19127
1820b143
CL
191282013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
19129
19130 * locale/iso-639.def: Add Chitwani Tharu (the).
19131
714bd261
AS
191322013-11-14 Andreas Schwab <schwab@suse.de>
19133
19134 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19135 word instead of empty string.
19136
7ab44563
AZ
191372013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19138
19139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19140 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19142 (__fe_nomask_env): Likewise.
19143
e8470ea2
SE
191442013-11-13 Steve Ellcey <sellcey@mips.com>
19145
19146 * benchtests/bench-timing.h: Include time.h.
19147
17c1d9f0
L
191482013-11-13 H.J. Lu <hongjiu.lu@intel.com>
19149
19150 [BZ #15997]
19151 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19152 to 3.4.0 for x32.
19153 * sysdeps/unix/sysv/linux/configure: Regenerated.
19154
9310c284
JM
191552013-11-13 Joseph Myers <joseph@codesourcery.com>
19156
19157 [BZ #16151]
19158 * stdlib/strtod_l.c (round_and_return): Do not consider
19159 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19160 exponent one less than half the least subnormal exponent.
19161 * stdlib/test-strtod-round-data: Add more tests.
19162 * stdlib/tst-strtod-round.c (tests): Regenerated.
19163
7a2ad8cf
AZ
191642013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19165
19166 [BZ #14143]
19167 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19168 (__fe_mask_env): Likewise.
19169 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19170 libm_hidden_proto and add function prototype.
19171 (__fe_mask_env): Add function prototype.
19172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19173 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19175 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19177 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19178
50727aa7
MS
191792013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19180
b2f386c1 19181 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
19182 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19183
a615be46
MS
191842013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19185
19186 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19187 of htab_find_slot().
19188
7ddace62
DM
191892013-11-11 David S. Miller <davem@davemloft.net>
19190
19191 [BZ #16150]
19192 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19193 symbol in the non-vis3 case in static builds.
19194 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19195 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19196 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19197 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19198
9182aa67
JK
191992013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19200
19201 [BZ #387]
19202 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19203 it is empty.
19204
450a2e2d
AZ
192052013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19206
b2f386c1
SP
19207 * benchtests/Makefile: Add bench-strtod.
19208 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 19209
8ec3f656
AS
192102013-11-11 Andreas Schwab <schwab@suse.de>
19211
19212 [BZ #16153]
19213 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19214 terminating NUL in key length.
19215
76a9b998
AZ
192162013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19217
19218 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19219 Add artificial ODP entry for vDSO symbol for PPC64.
19220 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19221 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19222
e4368156
OB
192232013-11-07 Ondřej Bílka <neleai@seznam.cz>
19224
19225 [BZ #15374]
19226 * nss/getent.c (services_keys): Recognize services starting with digit.
19227
8d6bb57c
DM
192282013-11-06 David S. Miller <davem@davemloft.net>
19229
19230 [BZ #15985]
19231 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19232 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19233
e256c421
WN
192342013-11-06 Will Newton <will.newton@linaro.org>
19235
19236 * manual/memory.texi (Malloc Examples): Remove register
19237 keyword from examples.
19238
f6e12daa 192392013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 19240
f6e12daa 19241 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 19242
9d880655
AS
192432013-11-04 Joseph Myers <joseph@codesourcery.com>
19244
fd2f9486 19245 [BZ #6981]
9d880655
AS
19246 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19247 depending on [__GCC_IEC_559 > 0].
19248 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19249 depending on [__GCC_IEC_559_COMPLEX > 0].
19250
ae129d3c
CL
192512013-11-03 Chris Leonard <cjl@sugarlabs.org>
19252
19253 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19254 to iso-639.def.
19255
4a15c2a4 192562013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
19257
19258 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19259
8b35e35d
OB
192602013-11-01 Ondřej Bílka <neleai@seznam.cz>
19261
19262 [BZ #16112]
19263 * malloc/malloc (malloc_info): Do not handle first bin as
19264 special case.
19265
1d70fd6c
CL
192662013-11-01 Chris Leonard <cjl@sugarlabs.org>
19267
19268 * locale/iso-639.def: Add Central Nahuatl (nhn).
19269
8c5c2600
BH
192702013-11-01 Bruno Haible <bruno@clisp.org>
19271
19272 [BZ #7003]
19273 * manual/math.texi (BSD Random): Specify range upper bound as
19274 in POSIX.
19275
da5579c2
CL
192762013-10-31 Chris Leonard <cjl@sugarlabs.org>
19277
19278 * locale/iso-639.def: Add Meadow Mari (mhr).
19279
5d30d853
OB
192802013-10-31 Ondřej Bílka <neleai@seznam.cz>
19281
19282 [BZ #14752], [BZ #15763]
19283 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19284 Validate name.
19285 * rt/tst_shm.c: Add test for escaping directory.
19286
a4966c61
AS
192872013-10-31 Andreas Schwab <schwab@suse.de>
19288
8a43e768 19289 [BZ #15917]
a4966c61
AS
19290 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19291 followed by 'x' as part of digit sequence.
19292 * stdio-common/tst-sscanf.c (double_tests2): New tests.
19293
28d708c4
MAP
192942013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19295
19296 [BZ #16037]
19297 * configure.ac: allow GNU Make 4.0 and greater.
19298 * configure: Regenerated.
19299
a56ee40b
WN
193002013-10-30 Will Newton <will.newton@linaro.org>
19301
19302 [BZ #16038]
19303 * malloc/hooks.c (memalign_check): Limit alignment to the
19304 maximum representable power of two.
19305 * malloc/malloc.c (__libc_memalign): Likewise.
19306 * malloc/tst-memalign.c (do_test): Add test for very
19307 large alignment values.
19308 * malloc/tst-posix_memalign.c (do_test): Likewise.
19309
c6e4925d
OB
193102013-10-30 Ondřej Bílka <neleai@seznam.cz>
19311
19312 [BZ #11087]
19313 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19314 (munmap_chunk): Likewise.
19315 (mremap_chunk): Likewise.
19316
193172013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 19318
8a43e768 19319 [BZ #15799]
bbea82f7
OB
19320 * stdlib/div.c (div): Remove obsolete code.
19321 * stdlib/ldiv.c (ldiv): Likewise.
19322 * stdlib/lldiv.c (lldiv): Likewise.
19323
977f4b31
SP
193242013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19325
19326 [BZ #16071]
19327 * nss/nss_files/files-XXX.c (get_contents_ret): New
19328 enumerator.
19329 (get_contents): New function.
19330 (internal_getent): Use it. Expand size of LINEBUFLEN.
19331
cb8a6dbd
MF
193322013-10-30 Mike Frysinger <vapier@gentoo.org>
19333
19334 * configure.in: Moved to ...
19335 * configure.ac: ... here. Change reference to configure.in
19336 to configure.ac.
19337 * sysdeps/arm/preconfigure.ac: ... here.
19338 configure.in to configure.ac.
19339 * sysdeps/gnu/configure.in: Moved to ...
19340 * sysdeps/gnu/configure.ac: ... here.
19341 * sysdeps/i386/configure.in: Moved to ...
19342 * sysdeps/i386/configure.ac: ... here.
19343 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19344 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19345 * sysdeps/mach/configure.in: Moved to ...
19346 * sysdeps/mach/configure.ac: ... here.
19347 * sysdeps/mach/hurd/configure.in: Moved to ...
19348 * sysdeps/mach/hurd/configure.ac: ... here.
19349 * sysdeps/powerpc/configure.in: Moved to ...
19350 * sysdeps/powerpc/configure.ac: ... here.
19351 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19352 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19353 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19354 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19355 * sysdeps/s390/s390-32/configure.in: Moved to ...
19356 * sysdeps/s390/s390-32/configure.ac: ... here.
19357 * sysdeps/s390/s390-64/configure.in: Moved to ...
19358 * sysdeps/s390/s390-64/configure.ac: ... here.
19359 * sysdeps/sh/configure.in: Moved to ...
19360 * sysdeps/sh/configure.ac: ... here.
19361 * sysdeps/sparc/configure.in: Moved to ...
19362 * sysdeps/sparc/configure.ac: ... here.
19363 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19364 * sysdeps/unix/sysv/linux/configure.ac: ... here.
19365 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19366 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19367 * sysdeps/x86_64/configure.in: Moved to ...
19368 * sysdeps/x86_64/configure.ac: ... here.
19369 * sysdeps/x86_64/preconfigure.in: Moved to ...
19370 * sysdeps/x86_64/preconfigure.ac: ... here.
19371 * aclocal.m4: Change reference to configure.in to configure.ac.
19372 * config.h.in: Likewise.
19373 * manual/install.texi: Likewise.
19374 * manual/maint.texi: Likewise.
19375 * Makefile: Likewise.
19376 * malloc/Makefile: Likewise.
19377 * nscd/Makefile: Likewise.
19378 * Makeconfig: Change reference to configure.in and
19379 preconfigure.in to configure.ac and preconfigure.ac
19380 respectively.
19381 * INSTALL: Regenerated.
19382 * configure: Likewise.
19383 * sysdeps/gnu/configure: Likewise.
19384 * sysdeps/i386/configure: Likewise.
19385 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19386 * sysdeps/mach/configure: Likewise.
19387 * sysdeps/mach/hurd/configure: Likewise.
19388 * sysdeps/powerpc/configure: Likewise.
19389 * sysdeps/powerpc/powerpc32/configure: Likewise.
19390 * sysdeps/powerpc/powerpc64/configure: Likewise.
19391 * sysdeps/s390/s390-32/configure: Likewise.
19392 * sysdeps/s390/s390-64/configure: Likewise.
19393 * sysdeps/sh/configure: Likewise.
19394 * sysdeps/sparc/configure: Likewise.
19395 * sysdeps/unix/sysv/linux/configure: Likewise.
19396 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19397 * sysdeps/x86_64/configure: Likewise.
19398 * sysdeps/x86_64/preconfigure: Likewise.
19399
36a4953a
AS
194002013-10-29 Andreas Schwab <schwab@suse.de>
19401
19402 * stdio-common/Makefile (tst-swscanf-ENV): Define.
19403
c79a1204
SP
194042013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19405
dfa1b402
SP
19406 * benchtests/pow-inputs: Add new inputs.
19407
54f73d9c
SP
19408 * benchtests/exp-inputs: Add new inputs.
19409
c79a1204
SP
19410 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19411 conditional check for return value.
19412 (__cos32): Likewise.
19413
67beb545 194142013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
19415
19416 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19417 to provide a boost for large inputs with word alignment.
19418 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19419 implementation based on optimized PPC64 strcpy.
19420 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19421 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19422 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19423 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19424
151659f6
OB
194252013-10-25 Ondřej Bílka <neleai@seznam.cz>
19426
482a077e 19427 [BZ #2801]
151659f6
OB
19428 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19429
10b0f26b
OB
194302013-10-25 Ondřej Bílka <neleai@seznam.cz>
19431
19432 [BZ #14876]
19433 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19434 * time/tst-strptime.c (day_tests): Add testcase.
19435
ca42d35e
OB
194362013-10-25 Ondřej Bílka <neleai@seznam.cz>
19437
482a077e 19438 [BZ #14029]
ca42d35e
OB
19439 * manual/pattern.texi: Acknowledge that fnmatch can fail.
19440
52e6d801
FB
194412013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
19442
19443 [BZ #16074]
19444 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19445 MAP_FAILED on error.
19446
7cbcdb36
SP
194472013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19448
19449 [BZ #16072]
19450 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19451 heap for large requests.
19452
894f3f10
AM
194532013-10-25 Aurelien Jarno <aurelien@aurel32.net>
19454
19455 [BZ #9954]
19456 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19457 result if the result has no associated interface.
19458 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19459 interface for all 127.X.Y.Z addresses.
19460
b85545a6
CL
194612013-10-24 Chris Leonard <cjl@sugarlabs.org>
19462
19463 * locale/iso-639.def: Add Ligurian (lij)
19464
d1f23d46
OB
194652013-10-21 Ondřej Bílka <neleai@seznam.cz>
19466
19467 [BZ #15825]
19468 * sunrpc/rpc_main.c: Document rpcgen -5.
19469
4db5b08f
MS
194702013-10-19 Michael Stahl <mstahl@redhat.com>
19471
19472 * elf/rtld.c (do_preload): Print the reason why preloading failed.
19473
a471e96a
OB
194742013-10-19 Ondřej Bílka <neleai@seznam.cz>
19475
d1f23d46 19476 [BZ #10278]
a471e96a
OB
19477 * posix/glob.c: Match only directories when trailing slash is present.
19478 * posix/tst-gnuglob.c (my_opendir): Do not open files.
19479 (main): Add testcase.
19480
45c30c61
OB
194812013-10-19 Ondřej Bílka <neleai@seznam.cz>
19482
19483 [BZ #15670]
19484 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19485
484c12fb
CD
194862013-10-18 Carlos O'Donell <carlos@redhat.com>
19487
3d7dc513
CD
19488 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19489 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19490 AUTH_DES and cindex for FIPS 140-2.
19491 (DES Encryption): Add cindex FIPS 46-3.
19492
484c12fb
CD
19493 * locale/locarchive.h (struct locarhandle): Add fname.
19494 * locale/programs/localedef.c (main): Pass ARGV[remaining]
19495 if an optional argument was specified to --list-archive,
19496 otherwise NULL.
19497 * locale/programs/locarchive.c (show_archive_content): Take new
19498 argument fname and pass it via ah.fname to open_archive.
19499 * locale/programs/localedef.h: Update decl.
19500 (open_archive): If AH->fname is non-null, open that file
19501 rather than the default file name, and don't ignore ENOENT.
19502 (create_archive): Set AH.fname to NULL.
19503 (delete_locales_from_archive): Likewise.
19504 (add_locales_to_archive): Likewise.
19505 * locale/programs/locfile.c (write_all_categories): Likewise.
19506
3c8325fb
JM
195072013-10-18 Joseph Myers <joseph@codesourcery.com>
19508 Aldy Hernandez <aldyh@redhat.com>
19509
19510 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19511 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19512 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19513 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19514 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19515 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19516 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19517 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19518 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19519 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19520 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19521 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19522 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19523 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19524 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19525 Likewise.
19526 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19527 Likewise.
19528 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19529 Likewise.
19530 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19531 Likewise.
19532 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19533 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19534 Likewise.
19535 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19536 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19537 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19538 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19539 Likewise.
19540 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19541 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19542 * sysdeps/powerpc/preconfigure: Likewise.
19543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19544 Likewise.
19545 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19546 Replace contents of file by #include of <fenv_libc.h>.
19547 * sysdeps/powerpc/soft-fp/sfp-machine.h
19548 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19549 and <sys/prctl.h>.
19550 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19551 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19552 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19553 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19554 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19555 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19556 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19557 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19558 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19559 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19560 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19561 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19563 Allow copysignl PLT reference to be missing.
19564
5abe0682
RS
195652013-10-18 Richard Sandiford <richard@codesourcery.com>
19566 Joseph Myers <joseph@codesourcery.com
19567
19568 [BZ #15948]
19569 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19570 single character.
19571 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19572
c7738d08
SP
195732013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19574
19575 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19576 * elf/tst-tls1.c: Likewise.
19577 * elf/tst-tls10.h: Likewise.
19578 * elf/tst-tls14.c: Likewise.
19579 * elf/tst-tls2.c: Likewise.
19580 * elf/tst-tls3.c: Likewise.
19581 * elf/tst-tls4.c: Likewise.
19582 * elf/tst-tls5.c: Likewise.
19583 * elf/tst-tls6.c: Likewise.
19584 * elf/tst-tls7.c: Likewise.
19585 * elf/tst-tls8.c: Likewise.
19586 * elf/tst-tls9.c: Likewise.
19587 * elf/tst-tlsmod1.c: Likewise.
19588 * elf/tst-tlsmod13.c: Likewise.
19589 * elf/tst-tlsmod13a.c: Likewise.
19590 * elf/tst-tlsmod14a.c: Likewise.
19591 * elf/tst-tlsmod16a.c: Likewise.
19592 * elf/tst-tlsmod16b.c: Likewise.
19593 * elf/tst-tlsmod2.c: Likewise.
19594 * elf/tst-tlsmod3.c: Likewise.
19595 * elf/tst-tlsmod4.c: Likewise.
19596 * elf/tst-tlsmod5.c: Likewise.
19597 * elf/tst-tlsmod6.c: Likewise.
19598
0bfcf2c7
OB
195992013-10-18 Ondřej Bílka <neleai@seznam.cz>
19600
19601 [BZ #12486]
19602 * malloc/malloc.c: remove checks for statistics.
19603
264aad1e
OB
196042013-10-17 Ondřej Bílka <neleai@seznam.cz>
19605
19606 [BZ #15277]
19607 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19608 * inet/tst-network.c: Add testcase.
19609
b957ced8
AS
196102013-10-17 Andreas Schwab <schwab@suse.de>
19611
19612 [BZ #15218]
19613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19614 to determine canonical name.
19615
c5d5d574
OB
196162013-10-17 Ondřej Bílka <neleai@seznam.cz>
19617
19618 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19619 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19620 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19621 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19622 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19623 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19624 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19625 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19626 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19627 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19628 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19629 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19630 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19631 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19632 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19633 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19634 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19635 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19636 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19637 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19638 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19639 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19640 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19641 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19642 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19643 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19644 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19645 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19646 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19647 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19648 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19649 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19650 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19651 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19652 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19653 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19654 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19655 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19656 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19657 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19658 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19659 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19660 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19661 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19662 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19663 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19664 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19665 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19666 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19667 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19668 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19669 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19670 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19671 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19672 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19673 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19674 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19675 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19676
e5c2c2d0
JM
196772013-10-17 Joseph Myers <joseph@codesourcery.com>
19678
19679 [BZ #16041]
19680 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19681 make result into a quiet NaN.
19682
51ca9e29
JM
196832013-10-16 Joseph Myers <joseph@codesourcery.com>
19684
19685 * soft-fp/adddf3.c: Fix horizontal whitespace.
19686 * soft-fp/addsf3.c: Likewise.
19687 * soft-fp/addtf3.c: Likewise.
19688 * soft-fp/divdf3.c: Likewise.
19689 * soft-fp/divsf3.c: Likewise.
19690 * soft-fp/divtf3.c: Likewise.
19691 * soft-fp/double.h: Likewise.
19692 * soft-fp/eqdf2.c: Likewise.
19693 * soft-fp/eqsf2.c: Likewise.
19694 * soft-fp/eqtf2.c: Likewise.
19695 * soft-fp/extenddftf2.c: Likewise.
19696 * soft-fp/extended.h: Likewise.
19697 * soft-fp/extendsfdf2.c: Likewise.
19698 * soft-fp/extendsftf2.c: Likewise.
19699 * soft-fp/extendxftf2.c: Likewise.
19700 * soft-fp/fixdfdi.c: Likewise.
19701 * soft-fp/fixdfsi.c: Likewise.
19702 * soft-fp/fixdfti.c: Likewise.
19703 * soft-fp/fixsfdi.c: Likewise.
19704 * soft-fp/fixsfsi.c: Likewise.
19705 * soft-fp/fixsfti.c: Likewise.
19706 * soft-fp/fixtfdi.c: Likewise.
19707 * soft-fp/fixtfsi.c: Likewise.
19708 * soft-fp/fixtfti.c: Likewise.
19709 * soft-fp/fixunsdfdi.c: Likewise.
19710 * soft-fp/fixunsdfsi.c: Likewise.
19711 * soft-fp/fixunsdfti.c: Likewise.
19712 * soft-fp/fixunssfdi.c: Likewise.
19713 * soft-fp/fixunssfsi.c: Likewise.
19714 * soft-fp/fixunssfti.c: Likewise.
19715 * soft-fp/fixunstfdi.c: Likewise.
19716 * soft-fp/fixunstfsi.c: Likewise.
19717 * soft-fp/fixunstfti.c: Likewise.
19718 * soft-fp/floatdidf.c: Likewise.
19719 * soft-fp/floatdisf.c: Likewise.
19720 * soft-fp/floatditf.c: Likewise.
19721 * soft-fp/floatsidf.c: Likewise.
19722 * soft-fp/floatsisf.c: Likewise.
19723 * soft-fp/floatsitf.c: Likewise.
19724 * soft-fp/floattidf.c: Likewise.
19725 * soft-fp/floattisf.c: Likewise.
19726 * soft-fp/floattitf.c: Likewise.
19727 * soft-fp/floatundidf.c: Likewise.
19728 * soft-fp/floatundisf.c: Likewise.
19729 * soft-fp/floatunditf.c: Likewise.
19730 * soft-fp/floatunsidf.c: Likewise.
19731 * soft-fp/floatunsisf.c: Likewise.
19732 * soft-fp/floatunsitf.c: Likewise.
19733 * soft-fp/floatuntidf.c: Likewise.
19734 * soft-fp/floatuntisf.c: Likewise.
19735 * soft-fp/floatuntitf.c: Likewise.
19736 * soft-fp/fmadf4.c: Likewise.
19737 * soft-fp/fmasf4.c: Likewise.
19738 * soft-fp/fmatf4.c: Likewise.
19739 * soft-fp/gedf2.c: Likewise.
19740 * soft-fp/gesf2.c: Likewise.
19741 * soft-fp/getf2.c: Likewise.
19742 * soft-fp/ledf2.c: Likewise.
19743 * soft-fp/lesf2.c: Likewise.
19744 * soft-fp/letf2.c: Likewise.
19745 * soft-fp/muldf3.c: Likewise.
19746 * soft-fp/mulsf3.c: Likewise.
19747 * soft-fp/multf3.c: Likewise.
19748 * soft-fp/negdf2.c: Likewise.
19749 * soft-fp/negsf2.c: Likewise.
19750 * soft-fp/negtf2.c: Likewise.
19751 * soft-fp/op-1.h: Likewise.
19752 * soft-fp/op-2.h: Likewise.
19753 * soft-fp/op-4.h: Likewise.
19754 * soft-fp/op-8.h: Likewise.
19755 * soft-fp/op-common.h: Likewise.
19756 * soft-fp/quad.h: Likewise.
19757 * soft-fp/single.h: Likewise.
19758 * soft-fp/soft-fp.h: Likewise.
19759 * soft-fp/sqrtdf2.c: Likewise.
19760 * soft-fp/sqrtsf2.c: Likewise.
19761 * soft-fp/sqrttf2.c: Likewise.
19762 * soft-fp/subdf3.c: Likewise.
19763 * soft-fp/subsf3.c: Likewise.
19764 * soft-fp/subtf3.c: Likewise.
19765 * soft-fp/truncdfsf2.c: Likewise.
19766 * soft-fp/trunctfdf2.c: Likewise.
19767 * soft-fp/trunctfsf2.c: Likewise.
19768 * soft-fp/trunctfxf2.c: Likewise.
19769 * soft-fp/unorddf2.c: Likewise.
19770 * soft-fp/unordsf2.c: Likewise.
19771 * soft-fp/unordtf2.c: Likewise.
19772
9ebb0332
JM
197732013-10-15 Joseph Myers <joseph@codesourcery.com>
19774
19775 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19776 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19777
4b1a6d8b
OB
197782013-10-15 Ondřej Bílka <neleai@seznam.cz>
19779
19780 * elf/dl-libc.c: Clear initfini list after freeing.
19781
1e145589
JM
197822013-10-14 Joseph Myers <joseph@codesourcery.com>
19783
19784 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19785 * soft-fp/addsf3.c: Likewise.
19786 * soft-fp/addtf3.c: Likewise.
19787 * soft-fp/divdf3.c: Likewise.
19788 * soft-fp/divsf3.c: Likewise.
19789 * soft-fp/divtf3.c: Likewise.
19790 * soft-fp/double.h: Likewise.
19791 * soft-fp/eqdf2.c: Likewise.
19792 * soft-fp/eqsf2.c: Likewise.
19793 * soft-fp/eqtf2.c: Likewise.
19794 * soft-fp/extenddftf2.c: Likewise.
19795 * soft-fp/extended.h: Likewise.
19796 * soft-fp/extendsfdf2.c: Likewise.
19797 * soft-fp/extendsftf2.c: Likewise.
19798 * soft-fp/extendxftf2.c: Likewise.
19799 * soft-fp/fixdfdi.c: Likewise.
19800 * soft-fp/fixdfsi.c: Likewise.
19801 * soft-fp/fixdfti.c: Likewise.
19802 * soft-fp/fixsfdi.c: Likewise.
19803 * soft-fp/fixsfsi.c: Likewise.
19804 * soft-fp/fixsfti.c: Likewise.
19805 * soft-fp/fixtfdi.c: Likewise.
19806 * soft-fp/fixtfsi.c: Likewise.
19807 * soft-fp/fixtfti.c: Likewise.
19808 * soft-fp/fixunsdfdi.c: Likewise.
19809 * soft-fp/fixunsdfsi.c: Likewise.
19810 * soft-fp/fixunsdfti.c: Likewise.
19811 * soft-fp/fixunssfdi.c: Likewise.
19812 * soft-fp/fixunssfsi.c: Likewise.
19813 * soft-fp/fixunssfti.c: Likewise.
19814 * soft-fp/fixunstfdi.c: Likewise.
19815 * soft-fp/fixunstfsi.c: Likewise.
19816 * soft-fp/fixunstfti.c: Likewise.
19817 * soft-fp/floatdidf.c: Likewise.
19818 * soft-fp/floatdisf.c: Likewise.
19819 * soft-fp/floatditf.c: Likewise.
19820 * soft-fp/floatsidf.c: Likewise.
19821 * soft-fp/floatsisf.c: Likewise.
19822 * soft-fp/floatsitf.c: Likewise.
19823 * soft-fp/floattidf.c: Likewise.
19824 * soft-fp/floattisf.c: Likewise.
19825 * soft-fp/floattitf.c: Likewise.
19826 * soft-fp/floatundidf.c: Likewise.
19827 * soft-fp/floatundisf.c: Likewise.
19828 * soft-fp/floatunsidf.c: Likewise.
19829 * soft-fp/floatunsisf.c: Likewise.
19830 * soft-fp/floatuntidf.c: Likewise.
19831 * soft-fp/floatuntisf.c: Likewise.
19832 * soft-fp/floatuntitf.c: Likewise.
19833 * soft-fp/fmadf4.c: Likewise.
19834 * soft-fp/fmasf4.c: Likewise.
19835 * soft-fp/fmatf4.c: Likewise.
19836 * soft-fp/gedf2.c: Likewise.
19837 * soft-fp/gesf2.c: Likewise.
19838 * soft-fp/getf2.c: Likewise.
19839 * soft-fp/ledf2.c: Likewise.
19840 * soft-fp/lesf2.c: Likewise.
19841 * soft-fp/letf2.c: Likewise.
19842 * soft-fp/muldf3.c: Likewise.
19843 * soft-fp/mulsf3.c: Likewise.
19844 * soft-fp/multf3.c: Likewise.
19845 * soft-fp/negdf2.c: Likewise.
19846 * soft-fp/negsf2.c: Likewise.
19847 * soft-fp/negtf2.c: Likewise.
19848 * soft-fp/op-1.h: Likewise.
19849 * soft-fp/op-2.h: Likewise.
19850 * soft-fp/op-4.h: Likewise.
19851 * soft-fp/op-8.h: Likewise.
19852 * soft-fp/op-common.h: Likewise.
19853 * soft-fp/quad.h: Likewise.
19854 * soft-fp/single.h: Likewise.
19855 * soft-fp/soft-fp.h: Likewise.
19856 * soft-fp/sqrtdf2.c: Likewise.
19857 * soft-fp/sqrtsf2.c: Likewise.
19858 * soft-fp/sqrttf2.c: Likewise.
19859 * soft-fp/subdf3.c: Likewise.
19860 * soft-fp/subsf3.c: Likewise.
19861 * soft-fp/subtf3.c: Likewise.
19862 * soft-fp/truncdfsf2.c: Likewise.
19863 * soft-fp/trunctfdf2.c: Likewise.
19864 * soft-fp/trunctfsf2.c: Likewise.
19865 * soft-fp/trunctfxf2.c: Likewise.
19866 * soft-fp/unorddf2.c: Likewise.
19867 * soft-fp/unordsf2.c: Likewise.
19868 * soft-fp/unordtf2.c: Likewise.
19869
17c48a60
OB
198702013-10-14 Ondřej Bílka <neleai@seznam.cz>
19871
19872 [BZ #15672]
19873 * misc/error.c (error_tail): Fix possible buffer overflow.
19874
cabba934
OB
198752013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19876
19877 [BZ #13028]
19878 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19879 address.
19880
94bf958a
PM
198812013-10-14 P. J. McDermott <pj@pehjota.net>
19882
19883 [BZ #832]
19884 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19885 testing pipefail option.
19886
71b4dea7
JM
198872013-10-12 Joseph Myers <joseph@codesourcery.com>
19888
19889 * soft-fp/double.h: Indent preprocessor directives inside #if.
19890 * soft-fp/extended.h: Likewise.
19891 * soft-fp/op-2.h: Likewise.
19892 * soft-fp/op-4.h: Likewise.
19893 * soft-fp/op-common.h: Likewise.
19894 * soft-fp/quad.h: Likewise.
19895 * soft-fp/single.h: Likewise.
19896 * soft-fp/soft-fp.h: Likewise.
19897
55602758
YC
198982013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19899
19900 * iconv/iconv_prog.c: Fix typos.
19901 * stdio-common/psiginfo-data.h: Likewise.
19902
9cd83302
RT
199032013-10-12 Reuben Thomas <rrt@sc3d.org>
19904
19905 [BZ #15764]
19906 * locale/setlocale.c: Fix typo.
19907
99fd9f47
JM
199082013-10-12 Joseph Myers <joseph@codesourcery.com>
19909
b7ea74f0
JM
19910 [BZ #16036]
19911 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19912 signaling NaN arguments.
19913 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19914 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19915
8a509447
JM
19916 [BZ #14910]
19917 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19918 unordered operands.
19919 * soft-fp/gesf2.c (__gesf2): Likewise.
19920 * soft-fp/getf2.c (__getf2): Likewise.
19921 * soft-fp/ledf2.c (__ledf2): Likewise.
19922 * soft-fp/lesf2.c (__lesf2): Likewise.
19923 * soft-fp/letf2.c (__letf2): Likewise.
19924
98998e9f
JM
19925 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19926 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19927 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19928 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19929 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19930 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19931 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19932 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19933 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19934 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19935 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19936 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19937 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19938 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19939 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19940 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19941 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19942 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19943 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19944 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19945 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19946 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19947 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19948 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19949 * soft-fp/floattidf.c (__floattidf): Likewise.
19950 * soft-fp/floattisf.c (__floattisf): Likewise.
19951 * soft-fp/floattitf.c (__floattitf): Likewise.
19952 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19953 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19954 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19955 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19956 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19957 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19958 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19959 * soft-fp/gesf2.c (__gesf2): Likewise.
19960 * soft-fp/getf2.c (__getf2): Likewise.
19961 * soft-fp/ledf2.c (__ledf2): Likewise.
19962 * soft-fp/lesf2.c (__lesf2): Likewise.
19963 * soft-fp/letf2.c (__letf2): Likewise.
19964
8edc4a11
JM
19965 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19966 Undefine and redefine.
19967 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19968 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19969 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19970 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19971 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19972 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19973 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19974 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19975 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19976 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19977 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19978 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19979 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19980 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19981 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19982
8399acaf
JM
19983 [BZ #16032]
19984 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19985 without decrementing exponent if mantissa >= that for the
19986 denominator, not >.
19987 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19988 denominator, not >. Decrement exponent in < case instead of
19989 incrementing in >= case.
19990 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19991 without decrementing exponent if mantissa >= that for the
19992 denominator, not >.
19993
99fd9f47
JM
19994 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19995 computing saturated result for unsigned overflow.
19996
10e1cf6b
SP
199972013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19998 Jeff Law <law@redhat.com>
19999
20000 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20001 (atan2Mp): Add systemtap probe marker.
20002 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20003 (__ieee754_log): Add systemtap probe marker.
20004 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20005 (atanMp): Add systemtap probe marker.
20006 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20007 (tanMp): Add systemtap probe marker.
20008 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20009 (__slowexp): Add systemtap probe marker.
20010 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20011 (__slowpow): Add systemtap probe marker.
20012 * manual/probes.texi: Document probes.
20013
3d110c7c
EB
200142013-10-11 Eric Biggers <ebiggers3@gmail.com>
20015
20016 [BZ #15362]
20017 * libio/fileops.c (_IO_new_file_write): Return count of bytes
20018 written.
20019 (_IO_new_file_xsputn): Don't return EOF if nothing has been
20020 written.
20021 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20022 written to buffer but not flushed.
20023 * libio/iofwrite_u.c: Likewise.
20024 * libio/iopadn.c: Return bytes returned even if EOF was
20025 encountered.
20026 * libio/iowpadn.c: Likewise.
20027 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20028 if _IO_padn does not write the whole buffer.
20029 [!COMPILE_WPRINTF] (PAD): Likewise.
20030
75b4202a
DM
200312013-10-10 David S. Miller <davem@davemloft.net>
20032
20033 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20034 directory block.
20035
6c6352e6
JM
200362013-10-10 Joseph Myers <joseph@codesourcery.com>
20037
33b853c3
JM
20038 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
20039 instead of FSF address.
20040 * soft-fp/fixdfti.c: Likewise.
20041 * soft-fp/fixsfti.c: Likewise.
20042 * soft-fp/fixtfti.c: Likewise.
20043 * soft-fp/fixunsdfti.c: Likewise.
20044 * soft-fp/fixunssfti.c: Likewise.
20045 * soft-fp/fixunstfti.c: Likewise.
20046 * soft-fp/floattidf.c: Likewise.
20047 * soft-fp/floattisf.c: Likewise.
20048 * soft-fp/floattitf.c: Likewise.
20049 * soft-fp/floatuntidf.c: Likewise.
20050 * soft-fp/floatuntisf.c: Likewise.
20051 * soft-fp/floatuntitf.c: Likewise.
20052 * soft-fp/trunctfxf2.c: Likewise.
20053
6c6352e6
JM
20054 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
20055 * soft-fp/fixdfti.c: Likewise.
20056 * soft-fp/fixsfti.c: Likewise.
20057 * soft-fp/fixtfti.c: Likewise.
20058 * soft-fp/fixunsdfti.c: Likewise.
20059 * soft-fp/fixunssfti.c: Likewise.
20060 * soft-fp/fixunstfti.c: Likewise.
20061 * soft-fp/floattidf.c: Likewise.
20062 * soft-fp/floattisf.c: Likewise.
20063 * soft-fp/floattitf.c: Likewise.
20064 * soft-fp/floatuntidf.c: Likewise.
20065 * soft-fp/floatuntisf.c: Likewise.
20066 * soft-fp/floatuntitf.c: Likewise.
20067 * soft-fp/trunctfxf2.c: Likewise.
20068
3bf78b71
DM
200692013-10-10 David S. Miller <davem@davemloft.net>
20070
20071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20072
6f10289e
JM
200732013-10-10 Joseph Myers <joseph@codsourcery.com>
20074
bd878fc0
JM
20075 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20076 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20077 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20078 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20079 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20080 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20081 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20082
6f10289e
JM
20083 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20084 for NaNs before doing comparisons on argument.
20085 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20086 Likewise.
20087
321e2684
WN
200882013-10-10 Will Newton <will.newton@linaro.org>
20089
20090 * malloc/hooks.c (memalign_check): Ensure the value of bytes
20091 passed to _int_memalign does not overflow.
20092
40fefba1
TR
200932013-10-10 Torvald Riegel <triegel@redhat.com>
20094
20095 * scripts/bench.pl: Add include-sources directive.
20096 * benchtests/README: Update documentation.
20097
2ae21ed2
JM
200982013-10-10 Joseph Myers <joseph@codesourcery.com>
20099
dcc2dd3f
JM
20100 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20101 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20102 instead of FP_INIT_ROUNDMODE.
20103 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20104 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20105
2ae21ed2
JM
20106 [BZ #16034]
20107 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
20108 copy class of input value.
20109 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
20110 not handle exceptions.
20111 * soft-fp/negsf2.c (__negsf2): Likewise.
20112 * soft-fp/negtf2.c (__negtf2): Likewise.
20113 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20114
cb8f9562
JM
201152013-10-09 Joseph Myers <joseph@codesourcery.com>
20116
20117 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20118 semicolon. From Linux kernel.
20119
5b60c59d
AB
201202013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
20121
20122 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20123
b86835ca
YC
201242013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
20125
20126 [BZ #156]
20127 * manual/socket.texi: Added statement about buffer
20128 for gethostbyname2_r.
20129
e7044ea7
OB
201302013-10-08 Ondřej Bílka <neleai@seznam.cz>
20131
20132 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20133 Use .p2align directive instead, throughout.
20134 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20135 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20136 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20137 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20138 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20139 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20140 * sysdeps/x86_64/strchr.S: Likewise.
20141 * sysdeps/x86_64/strrchr.S: Likewise.
20142
09544cbc
SP
201432013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20144
88576635
SP
20145 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20146
e7b2d1dd
SP
20147 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20148
09544cbc
SP
20149 * sysdeps/generic/math_private.h (__mpsin1): Remove
20150 declaration.
20151 (__mpcos1): Likewise.
20152 (__mpsin): New argument __range_reduce.
20153 (__mpcos): Likewise.
20154 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20155 (slow): Use __mpsin and __mpcos.
20156 (slow1): Likewise.
20157 (slow2): Likewise.
20158 (sloww): Likewise.
20159 (sloww1): Likewise.
20160 (sloww2): Likewise.
20161 (bsloww): Likewise.
20162 (bsloww1): Likewise.
20163 (bsloww2): Likewise.
20164 (cslow2): Likewise.
20165 (csloww): Likewise.
20166 (csloww1): Likewise.
20167 (csloww2): Likewise.
20168 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20169 range_reduce. Merge in __mpsin1.
20170 (__mpcos): Likewise.
20171 (__mpsin1): Remove.
20172 (__mpcos1): Likewise.
20173
7602d070
JM
201742013-10-07 Joseph Myers <joseph@codesourcery.com>
20175
20176 * locale/loadlocale.c (_nl_intern_locale_data): Use
20177 LOCFILE_ALIGNED_P.
20178 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20179 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20180 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20181 obstack data is appropriately aligned.
20182 (obstack_int32_grow_fast): Likewise.
20183 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20184 * locale/programs/locfile.c (add_locale_uint32): Likewise.
20185 (add_locale_uint32_array): Likewise.
20186
a357259b
SP
201872013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20188
20189 * benchtests/Makefile: Remove ARGLIST and RET variables.
20190 ($(objpfx)bench-%.c): Pass only function name to the script.
20191 * benchtests/README: Update documentation.
20192 * benchtests/acos-inputs: Add new directives.
20193 * benchtests/acosh-inputs: Likewise.
20194 * benchtests/asin-inputs: Likewise.
20195 * benchtests/asinh-inputs: Likewise.
20196 * benchtests/atan-inputs: Likewise.
20197 * benchtests/atanh-inputs: Likewise.
20198 * benchtests/cos-inputs: Likewise.
20199 * benchtests/cosh-inputs: Likewise.
20200 * benchtests/exp-inputs: Likewise.
20201 * benchtests/log-inputs: Likewise.
20202 * benchtests/pow-inputs: Likewise.
20203 * benchtests/rint-inputs: Likewise.
20204 * benchtests/sin-inputs: Likewise.
20205 * benchtests/sinh-inputs: Likewise.
20206 * benchtests/tan-inputs: Likewise.
20207 * benchtests/tanh-inputs: Likewise.
20208 * scripts/bench.pl: Add support for new directives.
20209
9ec1b13d
AM
202102013-10-07 Alan Modra <amodra@gmail.com>
20211
20212 * README: Fix careless merge.
20213
8b7d57cd
AM
202142013-10-05 Alan Modra <amodra@gmail.com>
20215
20216 * NEWS: Mention powerpc64le support and bugs fixed.
20217 * README: Both big-endian and little-endian powerpc64 supported.
20218
7b7bab13
ST
202192013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20220
57f41c40
AS
20221 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20222 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
20223 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20224 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20225
d39baad1
RA
202262013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
20227
20228 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20229 match prototype.
20230
cd78f7e7
JM
202312013-10-04 Joseph Myers <joseph@codesourcery.com>
20232
29d73d86
JM
20233 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20234 Move -mhard-float appending from
20235 ports/sysdeps/powerpc/powerpc32/Makefile.
20236 [$(with-fp) = yes] (ASFLAGS): Likewise.
20237 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20238 * sysdeps/powerpc/nofpu: Move directory from
20239 ports/sysdeps/powerpc/nofpu.
20240 * sysdeps/powerpc/soft-fp: Move directory from
20241 ports/sysdeps/powerpc/soft-fp.
20242 * sysdeps/powerpc/powerpc32/405: Move directory from
20243 ports/sysdeps/powerpc/powerpc32/405.
20244 * sysdeps/powerpc/powerpc32/440: Move directory from
20245 ports/sysdeps/powerpc/powerpc32/440.
20246 * sysdeps/powerpc/powerpc32/464: Move directory from
20247 ports/sysdeps/powerpc/powerpc32/464.
20248 * sysdeps/powerpc/powerpc32/476: Move directory from
20249 ports/sysdeps/powerpc/powerpc32/476.
20250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20251 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20253 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20255 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20257 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20259 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20260 * README: Update for powerpc-*-linux-gnu software floating point
20261 support in libc.
20262
e246b347
JM
20263 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20264 case to powerpc/powerpc32*.
20265 * sysdeps/unix/sysv/linux/configure: Regenerated.
20266
89c2003e
JM
20267 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20268 (_FPU_MASK_OM): Define as 0x04.
20269 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20270 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20271 0x00c10080.
20272 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20273 0x0000003c.
20274 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20275
cd78f7e7
JM
20276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20277 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20278 getcontext_e500.
20279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20280 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20281 setcontext_e500.
20282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20283 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20284 and setcontext_e500.
20285
c755294d
CL
202862013-10-04 Chris Leonard <cjl@sugarlabs,.org>
20287
20288 * locale/iso-3166.def: Update iso-1366.def and related occurrences
20289
e16d221c
SP
202902013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20291
20292 * manual/threads.texi (Default Thread Attributes): Fix typo.
20293
215c7d43
WN
202942013-10-04 Will Newton <will.newton@linaro.org>
20295
20296 * malloc/Makefile: Add tst-memalign.
20297 * malloc/tst-memalign.c: New file.
20298
27d0461b
WN
20299 * malloc/tst-posix_memalign.c: Add comments.
20300 (do_test): Add comments and call free on all potentially
20301 allocated pointers. Add space after cast.
20302
1bc92709
WN
20303 * malloc/tst-pvalloc.c: Add comments.
20304 (do_test): Add comments and call free on all potentially
20305 allocated pointers. Remove duplicate check for NULL pointer.
20306 Add space after cast.
20307
66a9be9d
WN
20308 * malloc/tst-valloc.c: Add comments.
20309 (do_test): Add comments and call free on all potentially
20310 allocated pointers. Remove duplicate check for NULL pointer.
20311 Add space after cast.
20312
4cb81307
AM
203132013-10-04 Alan Modra <amodra@gmail.com>
20314
20315 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20316 Use stdint types in rather than __attribute__((mode())).
20317 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20318
f8e3e9f3
AM
203192013-10-04 Alan Modra <amodra@gmail.com>
20320
20321 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20322 Correct handling of unaligned relocs for little-endian.
20323 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20324
8f9ebb08
AM
203252013-10-04 Alan Modra <amodra@gmail.com>
20326
20327 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20328 * configure: Regenerate.
20329 * nptl/shlib-versions: Powerpc*le starts at 2.18.
20330 * shlib-versions: Likewise.
20331
0edf96c2
AM
203322013-10-04 Alan Modra <amodra@gmail.com>
20333
20334 * string/tester.c (test_memrchr): Increment reported test cycle.
20335
e0f7a380
AM
203362013-10-04 Alan Modra <amodra@gmail.com>
20337
20338 * string/test-memcpy.c (do_one_test): When reporting errors, print
20339 string address and don't overrun end of string.
20340
466b0393
AM
203412013-10-04 Alan Modra <amodra@gmail.com>
20342
20343 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20344 insrdi. Make better use of reg selection to speed exit slightly.
20345 Schedule entry path a little better. Remove useless "are we done"
20346 checks on entry to main loop. Handle wrapping around zero address.
20347 Correct main loop count. Handle single left-over word from main
20348 loop inline rather than by using loop_small. Remove extra word
20349 case in loop_small caused by wrong loop count. Add little-endian
20350 support.
20351 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20352 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
20353 cache hint.
20354 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20355 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20356 support. Avoid rlwimi.
20357 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20358
3be87c77
AM
203592013-10-04 Alan Modra <amodra@gmail.com>
20360
20361 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 20362 insrdi. Formatting.
3be87c77
AM
20363 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20364 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20365 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20366 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20367 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20368 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20369
759cfef3
AM
203702013-10-04 Alan Modra <amodra@gmail.com>
20371
20372 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20373 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20374 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20375 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20376 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20377 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20378 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20379 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20380 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
20381 use of regs. Use power7 mtocrf. Tidy function tails.
20382
fe6e95d7
AM
203832013-10-04 Alan Modra <amodra@gmail.com>
20384
20385 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20386 Formatting. Consistently use rXXX register defines or rN defines.
20387 Use early exit labels that avoid restoring unused non-volatile regs.
20388 Make cr field use more consistent with rWORDn compares. Rename
20389 regs used as shift registers for unaligned loop, using rN defines
20390 for short lifetime/multiple use regs.
20391 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20392 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
20393 addi 1,1,64 to pop stack frame. Simplify return value code.
20394 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20395
664318c3
AM
203962013-10-04 Alan Modra <amodra@gmail.com>
20397
20398 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20399 support. Correct typos, formatting. Optimize tail. Use insrdi
20400 rather than rlwimi.
20401 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20402 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20403 little-endian support. Correct typos.
20404 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
20405 rather than rlwimi.
20406 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
20407 in loop and entry code to keep "and." results.
20408 (strchr): Add little-endian support. Comment. Move cntlzd
20409 earlier in tail.
20410 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20411
43b84013
AM
204122013-10-04 Alan Modra <amodra@gmail.com>
20413
20414 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20415 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20416 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20417 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20418
8a7413f9
AM
204192013-10-04 Alan Modra <amodra@gmail.com>
20420
20421 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20422 (rTMP): Define as r11.
20423 (strcmp): Add little-endian support. Optimise tail.
20424 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20425 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20426 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20427 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20428 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20429 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20430 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20431
33ee81de
AM
204322013-10-04 Alan Modra <amodra@gmail.com>
20433
20434 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20435 little-endian support. Remove unnecessary "are we done" tests.
20436 Handle "s" wrapping around zero and extremely large "size".
20437 Correct main loop count. Handle single left-over word from main
20438 loop inline rather than by using small_loop. Correct comments.
20439 Delete "zero" tail, use "end_max" instead.
20440 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20441
db9b4570
AM
204422013-10-04 Alan Modra <amodra@gmail.com>
20443
20444 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20445 support. Don't branch over align.
20446 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20447 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20448 support. Rearrange tmp reg use to suit. Comment.
20449 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20450
f7c399cf
AM
204512013-10-04 Alan Modra <amodra@gmail.com>
20452
20453 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20454
0b2c2ace
AM
204552013-10-04 Alan Modra <amodra@gmail.com>
20456
20457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20458 conditional form of branch and link when obtaining pc.
20459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20460
02f04a6c
AM
204612013-10-04 Alan Modra <amodra@gmail.com>
20462
20463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20464 HIWORD/LOWORD.
20465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20467
9b874b2f
AM
204682013-10-04 Alan Modra <amodra@gmail.com>
20469
20470 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20471 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20472 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20473 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20474 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20475 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20476 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20477 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20478 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20479 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20480
be1e5d31
AB
204812013-10-04 Anton Blanchard <anton@au1.ibm.com>
20482 Alistair Popple <alistair@ozlabs.au.ibm.com>
20483 Alan Modra <amodra@gmail.com>
20484
20485 [BZ #15723]
20486 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20487 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20488 _dl_hwcap access for little-endian.
20489 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
20490 destroy vmx regs when saving unaligned.
20491 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20492 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
20493 destroy vmx regs when saving unaligned.
20494
fef13a78
AM
204952013-10-04 Alan Modra <amodra@gmail.com>
20496
20497 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20498 Don't use a union to pack hi/low value.
20499
76a66d51
AB
205002013-10-04 Anton Blanchard <anton@au1.ibm.com>
20501
20502 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20503 for little-endian.
20504 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20505 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20506 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20507 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20508 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20509
6a31fe7f
AM
205102013-10-04 Alan Modra <amodra@gmail.com>
20511
20512 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20513 constants to usual value for .cst8 section, and remove redundant
20514 high address load.
20515 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20516 constant for 0x1p52. Load little-endian words of double from
20517 correct stack offsets.
20518
7b88401f
AM
205192013-10-04 Alan Modra <amodra@gmail.com>
20520
20521 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20522 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20523 words of double from correct stack offsets.
20524 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20525 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20526 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20527 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20528 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20529 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20530 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20531 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20532 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20533 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20534 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20535 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20536 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20537 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20538 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20539 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20540 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20541
9c008155
AM
205422013-10-04 Alan Modra <amodra@gmail.com>
20543
20544 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20545 64-bit int/double union.
20546 (_FPU_SETCW): Likewise.
20547 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20548 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20549
da13146d
AM
205502013-10-04 Alan Modra <amodra@gmail.com>
20551
20552 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20553 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20554
603e8410
AM
205552013-10-04 Alan Modra <amodra@gmail.com>
20556
20557 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20558 use vector int constants.
20559 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20560
4a28b3ca
AB
205612013-10-04 Anton Blanchard <anton@au1.ibm.com>
20562
20563 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20564 array with long long.
20565 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20566 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20567 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20568 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20569 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20570 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20571 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20572 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20573 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20574 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20575 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20576 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20577 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20578
2ca85d2b
AB
205792013-10-04 Anton Blanchard <anton@au1.ibm.com>
20580
20581 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20582 (__signbit): Likewise. Correct for little-endian.
20583 (__signbitl): Call __signbit.
20584 (lrint): Correct for little-endian.
20585 (lrintf): Call lrint.
20586
62a728ae
AM
205872013-10-04 Alan Modra <amodra@gmail.com>
20588
20589 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20590 union 32-bit int array member with 64-bit int array.
20591 (t515, tm256): Double rather than long double.
20592 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20593
32c301df
AM
205942013-10-04 Alan Modra <amodra@gmail.com>
20595
20596 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20597 Delete.
20598 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20599 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20600 version of math_ldbl.h.
20601
650ef4bd
AM
206022013-10-04 Alan Modra <amodra@gmail.com>
20603
20604 [BZ #15734], [BZ #15735]
20605 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20606 all uses of ieee875 long double macros and unions. Simplify test
20607 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20608 ldbl_extract_mantissa value for ix,iy exponents. Properly
20609 normalize after ldbl_extract_mantissa, and don't add hidden bit
20610 already handled. Don't treat low word of ieee854 mantissa like
20611 low word of IBM long double and mask off bit when testing for
20612 zero.
20613 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20614 all uses of ieee875 long double macros and unions. Simplify tests
20615 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20616 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20617 two1022, instead use their values. Recognise that tests for large
20618 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20619 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20620 Rewrite all uses of ieee875 long double macros and unions. Simplify
20621 test for 0.0L and nan. Correct negation.
20622 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20623 ieee875 long double macros and unions. Correct output for large
20624 magnitude x. Correct absolute value calculation.
20625 (__erfcl): Likewise.
20626 * math/libm-test.inc: Add tests for errors discovered in IBM long
20627 double versions of fmodl, remainderl, erfl and erfcl.
20628
765714ca
AM
206292013-10-04 Alan Modra <amodra@gmail.com>
20630
20631 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20632 all uses of ieee854 long double macros and unions. Simplify tests
20633 for long doubles that are fully specified by the high double.
20634 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20635 Likewise.
20636 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20637 Remove dead code too.
20638 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20639 (__ieee754_ynl): Likewise.
20640 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20641 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20642 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20643 Remove dead code too.
20644 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20645 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20646 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20647 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20648 Simplify.
20649 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20650 Simplify.
20651 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20652 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20653 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20654 Comment on variable precision.
20655 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20656 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20657 Likewise.
20658 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20659 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20660 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20661 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20662 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20663
4ebd120c
AM
206642013-10-04 Alan Modra <amodra@gmail.com>
20665
20666 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20667 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20668 all uses of ieee854 long double macros and unions.
20669 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20670 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20671 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20672 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20673 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20674 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20675 Likewise.
20676 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20677 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20678 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20679 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20680 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20681 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20682 Simplify sign and nan test too.
20683 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20684 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20685 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20686 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20687 Likewise.
20688 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20689 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20690 Likewise.
20691 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20692 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20693 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20694 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20695 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20696 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20697
1b6adf88
AM
206982013-10-04 Alan Modra <amodra@gmail.com>
20699
20700 * stdio-common/printf_size.c (__printf_size): Don't use
20701 union ieee854_long_double in fpnum union.
20702 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20703 signbit macro to retrieve sign from long double.
20704 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20705 retrieve sign from long double.
20706 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20707 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20708 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20709 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20710 * math/test-misc.c (main): Don't use union ieee854_long_double.
20711
4cf69995
AM
207122013-10-04 Alan Modra <amodra@gmail.com>
20713
20714 [BZ #15680]
20715 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20716 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20717 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20718 calculation. Remove unnecessary test for denormal exponent.
20719 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20720 Correct handling of denormals. Avoid undefined shift behaviour.
20721 Correct normalisation of low mantissa when low double is denormal.
20722 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20723 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20724 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20725 Correct normalisation of low mantissa. Test for overflow of high
20726 mantissa and normalise.
20727 (ldbl_nearbyint): Use more readable constant for two52.
20728 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20729 (__mpn_construct_long_double): Fix test for overflow of high
20730 mantissa and correct normalisation. Avoid undefined shift.
20731
9605ca6c
AM
207322013-10-04 Alan Modra <amodra@gmail.com>
20733
20734 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20735 (union ibm_extended_long_double): Define as an array of ieee754_double.
20736 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20737 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20738 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20739 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20740 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20741 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20742 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20743 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20744 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20745 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20746 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20747
975569d0
JM
207482013-10-03 Joseph Myers <joseph@codesourcery.com>
20749
d3d23756
JM
20750 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20751 page size instead of calling getpagesize.
20752
975569d0
JM
20753 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20754 (LOCFILE_ALIGN_MASK): Likewise.
20755 (LOCFILE_ALIGN_UP): Likewise.
20756 (LOCFILE_ALIGNED_P): Likewise.
20757 * locale/programs/ld-collate.c (collate_output): Use the new
20758 macros instead of __alignof__ (int32_t).
20759 * locale/weight.h (findidx): Likewise.
20760
b1fe1f2b
OB
207612013-10-03 Ondřej Bílka <neleai@seznam.cz>
20762
20763 [BZ #431]
20764 * manual/string.texi: Fix strncat and wcsncat.
20765
5f855e35
BM
207662013-10-03 Brooks Moses <bmoses@google.com>
20767
20768 [BZ #15915]
20769 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20770 * Makerules: ...here, and adjust associated comments.
20771
3cef6009
WN
207722013-10-02 Will Newton <will.newton@linaro.org>
20773
20774 * malloc/Makefile: Add tst-pvalloc.
20775 * malloc/tst-pvalloc.c: New file.
20776
7815420b
WN
207772013-10-02 Will Newton <will.newton@linaro.org>
20778
20779 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20780 improve test coverage.
20781
4868b204
WN
207822013-10-02 Will Newton <will.newton@linaro.org>
20783
20784 * malloc/Makefile: Add tst-posix_memalign.
20785 * malloc/tst-posix_memalign.c: New file.
20786
29c793b3
EB
207872013-10-01 Eric Blake <eblake@redhat.com>
20788
20789 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20790 Use __THROWNL rather than __THROW on static functions.
20791
fd967522
PM
207922013-09-30 Petr Machata <pmachata@redhat.com>
20793
20794 * elf/elf.h (R_AARCH64_ABS16): New macro.
20795 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20796 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20797 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20798 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20799 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20800 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20801 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20802 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20803 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20804 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20805 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20806 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20807 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20808 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20809 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20810 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20811 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20812 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20813 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20814 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20815 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20816 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20817 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20818 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20819 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20820 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20821 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20822 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20823 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20824 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20825 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20826 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20827 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20828 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20829 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20830 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20831 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20832 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20833 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20834 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20835 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20836 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20837 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20838 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20839 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20840 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20841 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20842 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20843 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20844 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20845 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20846 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20847 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20848 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20849 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20850 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20851 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20852 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20853 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20854 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20855 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20856 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20857 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20858 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20859 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20860 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20861 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20862 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20863 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20864 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20865 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20866 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20867 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20868 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20869 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20870 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20871 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20872 (R_AARCH64_TLSDESC_LDR): Likewise.
20873 (R_AARCH64_TLSDESC_ADD): Likewise.
20874 (R_AARCH64_TLSDESC_CALL): Likewise.
20875
b2179107
AS
208762013-09-30 Andreas Schwab <schwab@suse.de>
20877
20878 [BZ #15048]
20879 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20880 the nss database lookup.
20881 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20883
47f28d0a
MF
208842013-09-28 Mike Frysinger <vapier@gentoo.org>
20885
20886 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20887
208882013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
20889
20890 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20891 ${Bash-specific parameter/pattern/string} parameter expansion.
20892 * sysdeps/unix/make-syscalls.sh: Likewise.
20893
f4518a17
KK
208942013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20895
20896 * sysdeps/sh/stackguard-macros.h: New file.
20897
dc1a95c7
OB
208982013-09-26 Ondřej Bílka <neleai@seznam.cz>
20899
20900 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20901 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20902 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20903 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20904 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20905 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20906
5ebbff8f
AZ
209072013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20908
20909 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20910 Fix thread ID register.
20911
4fd2cf9f
JM
209122013-09-25 Joseph Myers <joseph@codesourcery.com>
20913
20914 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20915 [POSIX || UNIX98]: Require rather than permitting all symbols from
20916 <time.h>.
20917 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20918 element of struct sched_param.
20919 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20920 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20921 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20922 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20923 constant.
20924
12c22bc4
OL
209252013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20926
20927 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20928 argument calculation.
20929
a03d8ea7
JM
209302013-09-24 Joseph Myers <joseph@codesourcery.com>
20931
20932 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20933 Expect macro.
20934 [POSIX] (pthread_attr_t): Do not require type.
20935 [POSIX] (pthread_cond_t): Likewise.
20936 [POSIX] (pthread_condattr_t): Likewise.
20937 [POSIX] (pthread_key_t): Likewise.
20938 [POSIX] (pthread_mutex_t): Likewise.
20939 [POSIX] (pthread_mutexattr_t): Likewise.
20940 [POSIX] (pthread_once_t): Likewise.
20941 [POSIX] (pthread_t): Likewise.
20942 [POSIX-based standards] (pthread_atfork): Expect function.
20943
6055173a
JM
209442013-09-24 Joseph Myers <joseph@codesourcery.com>
20945 Richard Sandiford <richard@codesourcery.com>
20946
20947 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20948 (swap_endianness_p): New extern variable.
20949 (set_big_endian): New inline function.
20950 (maybe_swap_uint32): Likewise.
20951 (maybe_swap_uint32_array): Likewise.
20952 (maybe_swap_uint32_obstack): Likewise.
20953 * locale/programs/locfile.c: Include <stdbool.h>.
20954 (swap_endianness_p): New variable.
20955 (add_locale_uint32): Call maybe_swap_uint32.
20956 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20957 (write_locale_data): Call maybe_swap_uint32_array.
20958 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20959 maybe_swap_uint32.
20960 (obstack_int32_grow_fast): Likewise.
20961 (output_weightwc): Call maybe_swap_uint32_obstack.
20962 (collate_output): Likewise.
20963 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20964 (OPT_LITTLE_ENDIAN): Likewise.
20965 (options): Add --little-endian and --big-endian options.
20966 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20967 * locale/programs/locarchive.c: Include "locfile.h".
20968 (GET): New macro.
20969 (SET): Likewise.
20970 (INC): Likewise.
20971 (create_archive): Use the new macros to access fields of
20972 structures directly mapped from or written to locale archives.
20973 (oldlocrecentcmp): Likewise.
20974 (enlarge_archive): Likewise.
20975 (insert_name): Likewise.
20976 (add_alias): Likewise.
20977 (add_locale): Likewise.
20978 (delete_locales_from_archive): Likewise.
20979 (show_archive_content): Likewise.
20980 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20981 locale data.
20982
39bf0bb4
RM
209832013-09-24 Roland McGrath <roland@hack.frob.com>
20984
20985 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20986 http://www.gnu.org/doc/freemanuals.texi.
20987 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20988
f02eed10
WN
209892013-09-24 Will Newton <will.newton@linaro.org>
20990
20991 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20992 macro.
20993
a3a6c312
JM
209942013-09-23 Joseph Myers <joseph@codesourcery.com>
20995
20996 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20997 unsigned char.
20998
107375ac
MR
209992013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
21000
21001 * manual/threads.texi (POSIX Threads): Fix a typo.
21002
141f3a77
SP
210032013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21004
303e567a
SP
21005 [BZ #14547]
21006 * string/tst-strcoll-overflow.c: New test case.
21007 * string/Makefile (xtests): Add tst-strcoll-overflow.
21008 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21009 cache if string sizes may cause integer overflow.
21010
141f3a77
SP
21011 [BZ #14547]
21012 * string/strcoll_l.c (coll_seq): New members rule, idx,
21013 save_idx and back_us.
21014 (get_next_seq_nocache): New function.
21015 (do_compare_nocache): New function.
21016 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21017 when malloc fails.
21018
c61b4d41
CD
210192013-09-23 Carlos O'Donell <carlos@redhat.com>
21020
0b1f8e35
CD
21021 [BZ #15754]
21022 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21023 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21024 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21025
c61b4d41
CD
21026 [BZ #15754]
21027 * elf/Makefile (tests): Add tst-ptrguard1.
21028 (tests-static): Add tst-ptrguard1-static.
21029 (tst-ptrguard1-ARGS): Define.
21030 (tst-ptrguard1-static-ARGS): Define.
21031 * elf/tst-ptrguard1.c: New file.
21032 * elf/tst-ptrguard1-static.c: New file.
21033 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21034 * sysdeps/i386/stackguard-macros.h: Likewise.
21035 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21036 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21037 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21038 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21039 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21040 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21041
210422013-09-23 Hector Marco <hecmargi@upv.es>
21043 Ismael Ripoll <iripoll@disca.upv.es>
21044 Carlos O'Donell <carlos@redhat.com>
21045
21046 [BZ #15754]
21047 * sysdeps/generic/stackguard-macros.h: Define
21048 __pointer_chk_guard_local and POINTER_CHK_GUARD.
21049 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21050 Define __pointer_chk_guard_local.
21051 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21052 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21053
f5f4e7b4
VV
210542013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
21055
21056 [BZ #15859]
21057 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21058
5bb43a43
AS
210592013-09-20 Andreas Schwab <schwab@linux-m68k.org>
21060
21061 * include/string.h (__ffs): Declare as hidden.
21062 * string/ffs.c (__ffs): Define as hidden.
21063 * sysdeps/i386/ffs.c (__ffs): Likewise.
21064 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21065 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21066 * sysdeps/s390/ffs.c (__ffs): Likewise.
21067 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21068
3ea5be54
AO
210692013-09-20 Alexandre Oliva <aoliva@redhat.com>
21070
ffb89e53
AO
21071 * NEWS: Mention malloc probes.
21072
322dea08
AO
21073 * malloc/arena.c (new_heap): New memory_heap_new probe.
21074 (grow_heap): New memory_heap_more probe.
21075 (shrink_heap): New memory_heap_less probe.
21076 (heap_trim): New memory_heap_free probe.
21077 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21078 (systrim): New memory_sbrk_less probe.
21079 * manual/probes.texi: Document them.
21080
655673f3
AO
21081 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21082 * manual/probes.texi: Document it.
21083
35fed6f1
AO
21084 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21085 (__libc_realloc): Add memory_realloc_retry probe.
21086 (__libc_memalign): Add memory_memalign_retry probe.
21087 (__libc_valloc): Add memory_valloc_retry probe.
21088 (__libc_pvalloc): Add memory_pvalloc_retry probe.
21089 (__libc_calloc): Add memory_calloc_retry probe.
21090 * manual/probes.texi: Document them.
21091
6999d38c
AO
21092 * malloc/arena.c (get_free_list): Add probe
21093 memory_arena_reuse_free_list.
21094 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21095 and memory_arena_reuse.
21096 (arena_get2) [!PER_THREAD]: Likewise.
21097 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21098 memory_arena_reuse_realloc.
21099 * manual/probes.texi: Document them.
21100
0653427f
AO
21101 * malloc/malloc.c (__libc_free): Add
21102 memory_mallopt_free_dyn_thresholds probe.
21103 (__libc_mallopt): Add multiple memory_mallopt probes.
21104 * manual/probes.texi: Document them.
21105
3ea5be54
AO
21106 * malloc/malloc.c: Include stap-probe.h.
21107 (__libc_mallopt): Add memory_mallopt probe.
21108 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21109 * manual/probes.texi: New.
21110 * manual/Makefile (chapters): Add probes.
21111 * manual/threads.texi: Set next node.
21112
e35696c3 211132013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 21114
e35696c3
CL
21115 [BZ #15963, #13985]
21116 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21117 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21118 Add `Chinese' to `nan' entry name.
21119
4aafb73c
SP
211202013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21121
21122 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21123 (POLYNOMIAL): Likewise.
21124 (TAYLOR_SINCOS): Likewise.
21125 (TAYLOR_SLOW): Likewise.
21126 (__sin): Use TAYLOR_SINCOS.
21127 (__cos): Likewise.
21128 (slow): Use TAYLOR_SLOW.
21129 (sloww): Likewise.
21130 (bsloww): Likewise.
21131 (csloww): Likewise.
21132
d84f25c7
LD
211332013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21134
21135 * stdlib/strtod_l.c: Fix buffer overrun.
21136
5eea0404
SP
211372013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21138
7849ff93
SP
21139 * benchtests/Makefile (bench): Add sincos.
21140 * benchtests/bench-sincos.c: New file.
21141
cfa3c886
SP
21142 * math/libm-test.inc (cos_test_data): New test inputs.
21143 (sin_test_data): Likewise.
21144
b348e1e3
SP
21145 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21146 macro.
21147 (__sin): Use it.
21148 (__cos): Likewise.
21149 (slow1): Likewise.
21150 (slow2): Likewise.
21151 (sloww1): Likewise.
21152 (sloww2): Likewise.
21153 (bsloww1): Likewise.
21154 (bsloww2): Likewise.
21155 (cslow2): Likewise.
21156 (csloww1): Likewise.
21157 (csloww2): Likewise.
21158
6cce25f8
SP
21159 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21160 function.
21161 (__sin): Use it.
21162 (__cos): Likewise.
21163
5eea0404
SP
21164 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21165 gotos.
21166 (__cos): Likewise.
21167
9c21573c
MR
211682013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
21169
21170 * config.h.in (HAVE_MIPS_NAN2008): New macro.
21171 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21172 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21173 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21174 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21175 * elf/cache.c (print_entry): Handle the new cache flags.
21176
24d22e65
JM
211772013-09-18 Joseph Myers <joseph@codesourcery.com>
21178 Aldy Hernandez <aldyh@redhat.com>
21179
21180 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21181 Change condition to [_SOFT_FLOAT].
21182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21183 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21187 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21188 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21189 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21190 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21191 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21192 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21193 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21194 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21195 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21196 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21197 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21198 declaration.
21199
d13ef066
JM
212002013-09-18 Joseph Myers <joseph@codesourcery.com>
21201
2e071de0
JM
21202 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21203 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21204 (__longjmp): Use LOAD_GP to load saved GPRs.
21205 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21206 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21207 (__sigsetjmp): Use SAVE_GP to save GPRs.
21208
d13ef066
JM
21209 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21210 Do not append -msoft-float.
21211 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21212
97a0650b
SP
212132013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21214
21215 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21216
11ca09e9
JM
212172013-09-17 Joseph Myers <joseph@codesourcery.com>
21218
21219 [BZ #15966]
21220 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21221 (_FPU_GETCW): Use initial "__" on variable and field names but not
21222 on macro parameter name.
21223 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
21224 parentheses around reference to macro parameter.
21225
08ffcf34
RS
212262013-09-13 Richard Sandiford <richard@codesourcery.com>
21227
21228 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21229 prototype.
21230 (ctype_startup): Use uint32_t in cast and sizeof for
21231 ctype->charnames.
21232
ae7080d3
JL
212332013-09-11 Jia Liu <proljc@gmail.com>
21234
21235 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21236 __daddr_t_defined.
21237 [__FreeBSD__]: Likewise.
21238
5905e7b3
OB
212392013-09-11 Ondřej Bílka <neleai@seznam.cz>
21240
21241 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21242 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21243 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21244 (strchr): Remove __strchr_sse42 ifunc selection.
21245 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21246 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21247
b987c776
WN
212482013-09-11 Will Newton <will.newton@linaro.org>
21249
21250 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21251 parameter to RES. Remove hardcoded 1000 value.
21252 * benchtests/bench-skeleton.c (main): Pass RES parameter
21253 to TIMING_INIT and multiply result by 1000.
21254
ddf985af
AZ
212552013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21256
21257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21258
ffdd3181
AS
212592013-09-11 Andreas Schwab <schwab@suse.de>
21260
21261 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21262 if not defined.
21263 (O_TMPFILE) [__USE_GNU]: Define.
21264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21265 Define.
21266
b73ed247
WN
212672013-09-11 Will Newton <will.newton@linaro.org>
21268
21269 [BZ #15857]
21270 * malloc/malloc.c (__libc_memalign): Check the value of bytes
21271 does not overflow.
21272
55e17aad
WN
212732013-09-11 Will Newton <will.newton@linaro.org>
21274
21275 [BZ #15856]
21276 * malloc/malloc.c (__libc_valloc): Check the value of bytes
21277 does not overflow.
21278
1159a193
WN
212792013-09-11 Will Newton <will.newton@linaro.org>
21280
21281 [BZ #15855]
21282 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21283 does not overflow.
21284
5905e7b3 212852013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
21286
21287 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21288 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21289 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21290 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21291 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21292
cdfc721b
AM
212932013-09-10 Allan McRae <allan@archlinux.org>
21294
aa04af00
AM
21295 [BZ #15748]
21296 * manual/arith.texi (Parsing of Floats): Clarify
21297 cross-reference.
21298
cdfc721b
AM
21299 [BZ #15849]
21300 * manual/install.texi (Running make install): Mention
21301 --enable-pt-chown.
21302 * INSTALL: Regenerated.
21303
95e7cf29
MR
213042013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21305
21306 * csu/init-first.c (_init): Remove the !SHARED condition around
21307 FPU control word initialization.
21308 * elf/dl-support.c (_dl_fpu_control): New variable.
21309 (_dl_aux_init) <AT_FPUCW>: Initialize it.
21310 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21311 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21312 * math/test-fpucw-static.c: New file.
21313 * math/test-fpucw-ieee.c: New file.
21314 * math/test-fpucw-ieee-static.c: New file.
21315 * math/Makefile (tests): Add `test-fpucw-ieee' and
21316 `$(tests-static)'.
21317 (tests-static): New variable.
21318 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21319 dependency to...
21320 [($(build-shared),yes)]
21321 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21322 ... this.
21323 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21324 New dependency.
21325
83e43bf0
AM
213262013-09-09 Allan McRae <allan@archlinux.org>
21327
a9f5ce09
AM
21328 [BZ #15939]
21329 * manual/string.texi (Collation Functions): Fix typo in
21330 strcoll example.
21331 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21332
34829bc2
AM
21333 [BZ #15893]
21334 * stdlib/isomac.c (get_null_defines): Fix memory leak.
21335
3932737d
AM
21336 [BZ #15892]
21337 * libio/memstream.c (open_memstream): Fix memory leak.
21338 * libio/wmemstream.c (open_wmemstream): Likewise.
21339
83e43bf0
AM
21340 [BZ #15895]
21341 * nscd/netgroupcache.c: Fix nesting of ifdefs.
21342
0c66b8e9
WN
213432013-09-09 Will Newton <will.newton@linaro.org>
21344
21345 * malloc/Makefile: Add tst-realloc to tests.
21346 * malloc/tst-realloc.c: New file.
21347
f6b00fd1
AM
213482013-09-09 Allan McRae <allan@archlinux.org>
21349
21350 [BZ #15844]
21351 * COPYING: Update from GNU website to fix FSF address.
21352 * COPYING.LIB: Likewise.
21353
eec55e16
DM
213542013-09-06 David S. Miller <davem@davemloft.net>
21355
21356 * po/zh_TW.po: Update Chinese (traditional) translation from
21357 translation project.
21358
1ecbb381
RS
213592013-09-06 Richard Sandiford <richard@codesourcery.com>
21360 Joseph Myers <joseph@codesourcery.com>
21361
21362 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21363 "localeinfo.h".
21364 (obstack_chunk_alloc): New macro.
21365 (obstack_chunk_free): Likewise.
21366 (record_offset): New function.
21367 (init_locale_data): Likewise.
21368 (align_locale_data): Likewise.
21369 (add_locale_empty): Likewise.
21370 (add_locale_raw_data): Likewise.
21371 (add_locale_raw_obstack): Likewise.
21372 (add_locale_string): Likewise.
21373 (add_locale_wstring): Likewise.
21374 (add_locale_uint32): Likewise.
21375 (add_locale_uint32_array): Likewise.
21376 (add_locale_char): Likewise.
21377 (start_locale_structure): Likewise.
21378 (end_locale_structure): Likewise.
21379 (start_locale_prelude): Likewise.
21380 (end_locale_prelude): Likewise.
21381 (write_locale_data): Take locale_file structure rather than an
21382 iovec.
21383 * locale/programs/locfile.h: Include "obstack.h".
21384 (struct locale_file): Change to store locale file contents instead
21385 of header.
21386 (init_locale_data): New prototype.
21387 (align_locale_data): Likewise.
21388 (add_locale_empty): Likewise.
21389 (add_locale_raw_data): Likewise.
21390 (add_locale_raw_obstack): Likewise.
21391 (add_locale_string): Likewise.
21392 (add_locale_wstring): Likewise.
21393 (add_locale_uint32): Likewise.
21394 (add_locale_uint32_array): Likewise.
21395 (add_locale_char): Likewise.
21396 (start_locale_structure): Likewise.
21397 (end_locale_structure): Likewise.
21398 (start_locale_prelude): Likewise.
21399 (end_locale_prelude): Likewise.
21400 (write_locale_data): Update prototype.
21401 * locale/programs/3level.h (struct TABLE): Remove result field.
21402 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21403 Use new locale_file interface.
21404 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21405 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21406 * locale/programs/ld-address.c (address_output): Use new
21407 locale_file interface.
21408 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21409 NO_ADD_LOCALE.
21410 (collate_finish): Don't call collseq_table_finalize.
21411 (collate_output): Use new locale_file interface.
21412 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21413 in file.
21414 (NO_FINALIZE): Change to NO_ADD_LOCALE.
21415 (TABLE): Move defines earlier in file.
21416 (ELEMENT): Likewise.
21417 (DEFAULT): Likewise.
21418 (wctrans_table_add): Move macro and inline function earlier in
21419 file.
21420 (struct wctype_table): Move type earlier in file.
21421 (add_locale_wctype_table): New static prototype.
21422 (struct locale_ctype_t): Use logical types instead of struct iovec
21423 pointers for members.
21424 (ctype_output): Use new locale_file interface.
21425 (wctype_table_finalize): Change to add_locale_wctype_table. Use
21426 new locale_file interface.
21427 (allocate_arrays): Update for use of new locale_file interface.
21428 * locale/programs/ld-identification.c (identification_output): Use
21429 new locale_file interface.
21430 * locale/programs/ld-measurement.c (measurement_output): Likewise.
21431 * locale/programs/ld-messages.c (messages_output): Likewise.
21432 * locale/programs/ld-monetary.c (monetary_output): Likewise.
21433 * locale/programs/ld-name.c (name_output): Likewise.
21434 * locale/programs/ld-numeric.c (numeric_output): Likewise.
21435 * locale/programs/ld-paper.c (paper_output): Likewise.
21436 * locale/programs/ld-telephone.c (telephone_output): Likewise.
21437 * locale/programs/ld-time.c (time_output): Likewise.
21438
e029e2e5
AZ
214392013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21440
21441 * benchtests/Makefile: Add memrchr benchmark.
21442 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21443 benchmark as memrchr.
21444 * benchtests/bench-memrchr-ifunc.c: New file.
21445 * benchtests/bench-memrchr.c: New file.
21446
bbf6e8e4
WN
214472013-09-06 Will Newton <will.newton@linaro.org>
21448
21449 * benchtests/Makefile (string-bench): Add memcpy.
21450
6c82a2f8
CD
214512013-09-05 Carlos O'Donell <carlos@redhat.com>
21452 Cong Wang <amwang@redhat.com>
21453
e732c5f0 21454 [BZ #15850]
6c82a2f8
CD
21455 * sysdeps/unix/sysv/linux/bits/in.h
21456 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21457 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21458 before __USE_KERNEL_IPV6_DEFS uses.
21459 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21460 IPPROTO_BEETPH.
21461 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21462 sockaddr_in6, or ipv6_mreq.
21463
5430fc65
AZ
214642013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21465
21466 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21467 memory access for final bytes in some large inputs.
21468 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21469
4660856c
AZ
214702013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21471
21472 * string/test-memrchr.c: New file.
21473 * string/test-memrchr-ifunc.c: New file.
21474 * string/Makefile: Add new memrchr testcase.
21475
bb8ea713
MF
214762013-09-05 Mike Frysinger <vapier@gentoo.org>
21477
21478 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21479 fanotify_init returns EPERM.
21480
b92a20b5
JM
214812013-09-04 Joseph Myers <joseph@codesourcery.com>
21482
21483 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21484 errors.
21485 (top level): Treat second token from macro or constant entries for
21486 allowed headers as allowed.
21487 * include/complex.h: Condition internal declarations on
21488 [!_ISOMAC].
21489 * include/fenv.h: Condition include of <stdbool.h> and internal
21490 declarations on [!_ISOMAC].
7447ccd9
CL
21491
214922013-09-04 Chris Leonard <cjl@sugarlabs,.org>
21493
3e181dda 21494 [BZ #15923]
7447ccd9
CL
21495 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21496
3f2e46a4
JM
214972013-09-04 Joseph Myers <joseph@codesourcery.com>
21498
21499 * configure.in (--enable-versioning): Remove configure option.
21500 (libc_cv_asm_symver_directive): Remove configure test.
21501 (libc_cv_ld_version_script_option): Likewise.
21502 (VERSIONING): Remove variable and AC_SUBST.
21503 (DO_VERSIONING): Remove AC_DEFINE.
21504 * configure: Regenerated.
21505 * config.h.in (DO_VERSIONING): Remove macro.
21506 * Makerules [$(versioning) = yes]: Change conditionals to
21507 [$(build-shared) = yes].
21508 * config.make.in (versioning): Remove variable.
21509 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21510 [$(build-shared) = yes].
21511 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21512 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21513 * elf/Makefile [$(versioning) = yes]: Change conditionals to
21514 [$(build-shared) = yes].
21515 * extra-lib.mk [$(versioning) = yes]: Likewise.
21516 * hurd/Makefile [$(versioning) = yes]: Likewise.
21517 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21518 [SHARED].
21519 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21520 [SHARED].
21521 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21522 [SHARED && !NO_HIDDEN].
21523 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21524 [SHARED].
21525 [SHARED && DO_VERSIONING]: Likewise..
21526 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21527 [$(build-shared) = yes].
21528 * manual/install.texi (--disable-versioning): Remove
21529 documentation.
21530 * INSTALL: Regenerated.
21531 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21532 to [SHARED].
21533 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21534 [$(build-shared) = yes].
21535 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21536 * sysdeps/i386/i686/multiarch/strstr-c.c
21537 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21538 [SHARED && !NO_HIDDEN].
21539 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21540 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21541 * sysdeps/powerpc/powerpc32/dl-machine.c
21542 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21543 * sysdeps/powerpc/powerpc32/sysdep.h
21544 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21545 to [SHARED && PIC && !NO_HIDDEN].
21546 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21547 conditional to [SHARED].
21548
44558701
WN
215492013-09-04 Will Newton <will.newton@linaro.org>
21550
21551 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21552 * benchtests/bench-string.h: Include bench-timing.h instead
21553 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21554 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21555 call to HP_TIMING_DIFF_INIT.
21556 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21557 instead of hp-timing.h macros.
21558 * benchtests/bench-memchr.c: Likewise.
21559 * benchtests/bench-memcmp.c: Likewise.
21560 * benchtests/bench-memcpy.c: Likewise.
21561 * benchtests/bench-memmem.c: Likewise.
21562 * benchtests/bench-memmove.c: Likewise.
21563 * benchtests/bench-memset.c: Likewise.
21564 * benchtests/bench-rawmemchr.c: Likewise.
21565 * benchtests/bench-strcasecmp.c: Likewise.
21566 * benchtests/bench-strcasestr.c: Likewise.
21567 * benchtests/bench-strcat.c: Likewise.
21568 * benchtests/bench-strchr.c: Likewise.
21569 * benchtests/bench-strcmp.c: Likewise.
21570 * benchtests/bench-strcpy.c: Likewise.
21571 * benchtests/bench-strcpy_chk.c: Likewise.
21572 * benchtests/bench-strlen.c: Likewise.
21573 * benchtests/bench-strncasecmp.c: Likewise.
21574 * benchtests/bench-strncat.c: Likewise.
21575 * benchtests/bench-strncmp.c: Likewise.
21576 * benchtests/bench-strncpy.c: Likewise.
21577 * benchtests/bench-strnlen.c: Likewise.
21578 * benchtests/bench-strpbrk.c: Likewise.
21579 * benchtests/bench-strrchr.c: Likewise.
21580 * benchtests/bench-strspn.c: Likewise.
21581 * benchtests/bench-strstr.c: Likewise.
21582
cae16d66
WN
215832013-09-04 Will Newton <will.newton@linaro.org>
21584
21585 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21586
ffa3cd7f
JM
215872013-09-03 Joseph Myers <joseph@codesourcery.com>
21588
21589 [BZ #15427]
21590 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21591 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21592 * math/libm-test.inc (lgamma_test_data): Add more tests.
21593 * sysdeps/i386/fpu/libm-test-ulps: Update.
21594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21595
8f02859f
OB
215962013-09-03 Ondřej Bílka <neleai@seznam.cz>
21597
21598 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21599 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21600 Add ifunc.
21601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21602 Add strcmp-sse2-unaligned
21603 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21604
18d43716
MF
216052013-09-02 Mike Frysinger <vapier@gentoo.org>
21606
21607 * Versions.def (libc): Add GLIBC_2.19.
21608
ac444012
MF
216092013-09-02 Mike Frysinger <vapier@gentoo.org>
21610
21611 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21612 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21613
b7835e32
JM
216142013-09-02 Joseph Myers <joseph@codesourcery.com>
21615
21616 [BZ #14155]
21617 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21618 intermediate calculations in recurrence.
21619 (__ieee754_ynf): Likewise.
21620 * math/libm-test.inc (jn_test_data): Do not allow spurious
21621 underflow exception. Add more tests.
21622 (yn_test_data): Add more tests.
21623 * sysdeps/i386/fpu/libm-test-ulps: Update.
21624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21625
8220f4f0
OB
216262013-09-02 Ondřej Bílka <neleai@seznam.cz>
21627
21628 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21629
f24a6d08
OB
216302013-08-30 Ondřej Bílka <neleai@seznam.cz>
21631
21632 * csu/init-first.c: Fix then/than typos.
21633 * locale/programs/ld-collate.c: Likewise.
21634 * locale/programs/linereader.h: Likewise.
21635 * manual/charset.texi: Likewise.
21636 * manual/filesys.texi: Likewise.
21637 * manual/stdio.texi: Likewise.
21638 * manual/string.texi: Likewise.
21639 * stdlib/fmtmsg.c: Likewise.
21640 * sysdeps/i386/stpncpy.S: Likewise.
21641 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21642 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21643 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21644 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21645
382466e0
OB
216462013-08-30 Ondřej Bílka <neleai@seznam.cz>
21647
21648 * elf/dl-open.c: Fix typos.
21649 * iconvdata/gbbig5.c: Likewise.
21650 * iconvdata/iso-2022-jp.c: Likewise.
21651 * iconv/gconv_int.h: Likewise.
21652 * iconv/loop.c: Likewise.
21653 * nis/rpcsvc/nis.h: Likewise.
21654 * resolv/ns_name.c: Likewise.
21655 * stdio-common/vfscanf.c: Likewise.
21656 * streams/stropts.h: Likewise.
21657 * sunrpc/rpc_thread.c: Likewise.
21658 * sysdeps/i386/strpbrk.S: Likewise.
21659 * sysdeps/ieee754/k_standard.c: Likewise.
21660 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21661 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21662 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21663 * sysdeps/mach/hurd/profil.c: Likewise.
21664 * sysdeps/s390/dl-procinfo.h: Likewise.
21665 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21666 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21667 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21668 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21669 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21670
0186c6e9
OB
216712013-08-30 Ondřej Bílka <neleai@seznam.cz>
21672
21673 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21674 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21675
d4e16af1
OB
216762013-08-29 Ondřej Bílka <neleai@seznam.cz>
21677
21678 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21679 aix specific files.
21680 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21681 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21682 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21683 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21684 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21685 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21686 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21687 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21688
88335980
TS
216892013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21690 Roland McGrath <roland@hack.frob.com>
21691
21692 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21693 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21694
ed479b02
ST
216952013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21696
21697 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21698 __executable_start symbol instead of _start.
21699
f1cc4c86
TS
217002013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21701
d821f07c
TS
21702 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21703 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21704 Move macros to...
21705 * sysdeps/gnu/ldsodefs.h: ... this new file.
21706
c54290cf
TS
21707 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21708 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21709 instead of ELFOSABI_LINUX.
21710
0007fc9b 21711 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
21712 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21713 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21714 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21715 Likewise.
21716 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21717 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21718 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21719 Likewise.
21720 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21721 (ibm_extended_long_double): Add ieee_nan member.
21722 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21723 (do_test): New function.
21724
f1cc4c86
TS
21725 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21726 TEST_TRUNC.
21727 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21728 functions, renamed from truncdfsf_test, trunctfsf_test,
21729 trunctfdf_test.
21730 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21731 functions.
21732 (do_test): Run all these.
21733
6f65e668
OB
217342013-08-29 Ondřej Bílka <neleai@seznam.cz>
21735
21736 * argp/argp-help.c: Fix typos.
21737 * argp/argp-parse.c: Likewise.
21738 * debug/backtracesyms.c: Likewise.
21739 * elf/elf.h: Likewise.
21740 * malloc/malloc.c: Likewise.
21741 * nis/nis_print.c: Likewise.
21742 * resolv/res_comp.c: Likewise.
21743 * stdlib/stdlib.h: Likewise.
21744 * sunrpc/clnt_tcp.c: Likewise.
21745 * sunrpc/clnt_udp.c: Likewise.
21746 * sunrpc/clnt_unix.c: Likewise.
21747 * sysdeps/unix/bsd/ptsname.c: Likewise.
21748 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21749 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
21750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21751 Likewise.
21752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21753 Likewise.
21754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21755 Likewise.
6f65e668
OB
21756 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21757
3a309239
SP
217582013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21759
21760 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21762
3b813b29
MF
217632013-08-27 Mike Frysinger <vapier@gentoo.org>
21764
21765 [BZ #15897]
21766 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21767 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21768 ($(objpfx)bug-dl-leaf): New rule.
21769 ($(objpfx)bug-dl-leaf.so): Likewise.
21770 ($(objpfx)bug-dl-leaf.out): Likewise.
21771 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21772 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21773 * dlfcn/bug-dl-leaf.c: New test.
21774 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21775 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21776 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21777 (dlclose): Likewise.
21778 (dlmopen): Likewise.
21779
8cc3269f
RM
217802013-08-27 Roland McGrath <roland@hack.frob.com>
21781
7f9d0034
RM
21782 * include/netdb.h [!_ISOMAC]:
21783 Don't include <tls.h>.
21784 (h_errno, __libc_h_errno): Move declaration and macros out of
21785 [_LIBC_REENTRANT].
21786
fb431262
RM
21787 * include/resolv.h [_RESOLV_H_]:
21788 Don't include <tls.h>.
21789 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21790 * resolv/res_libc.c: Don't include <tls.h>.
21791 (_res): Use __attribute__ ((nocommon)) in place of
21792 __attribute__ ((section (".bss"))).
21793
bd81123a
RM
21794 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21795 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21796
c4e42566
RM
21797 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21798
f890a59b
RM
21799 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21800 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21801
21802 * resolv/res_mkquery.c: Include <sys/time.h>.
21803
5d1f0a09
RM
21804 * inet/ifreq.c: Moved to ...
21805 * sysdeps/unix/ifreq.c: ... here.
21806 * inet/ifreq.c: New file, true stub version.
21807
6fcf28b3
RM
21808 * socket/sa_len.c: New file.
21809 * socket/Makefile (aux): Add it.
21810 * sysdeps/unix/sysv/linux/Makefile
21811 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21812 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21813 and #include <socket/sa_len.c>.
21814 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21815 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21816
e041fb8b
RM
21817 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21818 * bits/socket.h: ... here.
21819
8cc3269f
RM
21820 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21821 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21822 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21823
5d228a43
AS
218242013-08-27 Andreas Schwab <schwab@suse.de>
21825
45b8accc
AS
21826 [BZ #15736]
21827 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21828 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21829 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21830 * string/test-strcasecmp.c (test_main): Run tests in several
21831 locales.
21832 * string/test-strncasecmp.c (test_main): Likewise.
21833
5d228a43
AS
21834 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21835 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21836 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21837 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21838 (__strncasecmp_ssse3) [PIC]: Likewise.
21839
59d112a4
RM
218402013-08-26 Roland McGrath <roland@hack.frob.com>
21841
53234cc3
RM
21842 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21843
59d112a4
RM
21844 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21845 instead of explicitly declaring xdecrypt.
21846 * nis/nss_nis/nis-publickey.c: Likewise.
21847
595aba70
SP
218482013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21849
21850 [BZ #15890]
21851 * nscd/aicache.c: Include res_hconf.h.
21852 (addhstaiX): Initialize res_hconf.
21853
ffabd393
AS
218542013-08-26 Andreas Schwab <schwab@suse.de>
21855
21856 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21857 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21858
e0a69f5c
SP
218592013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21860
21861 * nscd/aicache.c (addhstaiX): Fix indentation.
21862
8c12f01d
MF
218632013-08-25 Mike Frysinger <vapier@gentoo.org>
21864
21865 * configure.ac: Quote $build_pt_chown test.
21866 * configure: Regenerated.
21867
8fe89494
JM
218682013-08-23 Joseph Myers <joseph@codesourcery.com>
21869
21870 [BZ #15532]
21871 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21872 * math/s_cexpf.c (__cexpf): Likewise.
21873 * math/s_cexpl.c (__cexpl): Likewise.
21874 * math/libm-test.inc (cexp_test_data): Correct expected return
21875 value for NaN + i0. Add another test.
21876
75b181d6
DM
218772013-08-22 David S. Miller <davem@davemloft.net>
21878
21879 * po/ca.po: Update Catalan translation from translation project.
936241e4 21880 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 21881
acd06bb1
JM
218822013-08-21 Joseph Myers <joseph@codesourcery.com>
21883
21884 [BZ #15797]
21885 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21886 is infinite, not alongside NaN test.
21887 * math/s_fdimf.c (__fdimf): Likewise.
21888 * math/s_fdiml.c (__fdiml): Likewise.
21889 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21890 errno is unchanged.
21891
c0c3f78a
OB
218922013-08-21 Ondřej Bílka <neleai@seznam.cz>
21893
21894 * argp/argp-help.c: Fix typos.
21895 * crypt/speeds.c: Likewise.
21896 * csu/check_fds.c: Likewise.
21897 * elf/dl-load.c: Likewise.
21898 * elf/dl-open.c: Likewise.
21899 * elf/reldep3.c: Likewise.
21900 * elf/reldep.c: Likewise.
21901 * elf/sprof.c: Likewise.
21902 * iconv/iconv_charmap.c: Likewise.
21903 * iconv/skeleton.c: Likewise.
21904 * iconv/strtab.c: Likewise.
21905 * io/lockf64.c: Likewise.
21906 * libio/libioP.h: Likewise.
21907 * resolv/gai_notify.c: Likewise.
21908 * resolv/ns_name.c: Likewise.
21909 * resolv/ns_samedomain.c: Likewise.
21910 * resolv/res_send.c: Likewise.
21911 * stdlib/random.c: Likewise.
21912 * sunrpc/rpc/xdr.h: Likewise.
21913 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21914 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21915 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21916 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21917 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21918 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21920 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21921 * sysdeps/mach/hurd/check_fds.c: Likewise.
21922 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21923 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21924 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21925 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21926 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21927 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21928 * sysdeps/pthread/aio_notify.c: Likewise.
21929 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21930 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21931 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21932 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21933 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21934
46ed1038
LD
219352013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21936
21937 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21938 version if bit_Slow_SSE4_2 is set.
21939 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21940 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21941
d400dcac
AZ
219422013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21943
21944 [BZ #15867]
21945 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21946 trampoline stack frame information.
21947 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21948 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21949 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21950 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21951 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21952 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21953 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21954 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21955 sa_flags value.
21956 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21957 interrupting a syscall and set with option SA_SIGINFO.
21958
42c8fdd8
JM
219592013-08-20 Joseph Myers <joseph@codesourcery.com>
21960
c980f2f4
JM
21961 [BZ #15531]
21962 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21963 argument is infinite.
21964 * math/s_cprojf.c (__cprojf): Likewise.
21965 * math/s_cprojl.c (__cprojl): Likewise.
21966 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21967 * math/libm-test.inc (cproj_test_data): Add more tests.
21968
0716c4fc
JM
21969 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21970
42c8fdd8
JM
21971 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21972 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21973 size. Use __ffs to determine corresponding shift.
21974
b31469d0
JM
219752013-08-20 Joseph Myers <joseph@codesourcery.com>
21976 Roland McGrath <roland@hack.frob.com>
21977
21978 * Makefile (INSTALL): Remove trailing blank lines from output of
21979 makeinfo.
21980
4e39af6e
AK
219812013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21982
21983 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21984 Align 32 bit compat elf_greg to 8 bytes.
21985
f315524e
AA
219862013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21987
21988 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21989
1326ba1a
SP
219902013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21991
21992 * string/strcoll_l.c (coll_seq): New structure.
21993 (get_next_seq_cached): New function.
21994 (get_next_seq): New function.
21995 (do_compare): New function.
21996 (STRCOLL): Use GNU style definition. Simplify implementation
21997 by using get_next_seq, get_next_seq_cached and do_compare.
21998
91ce4085
FW
219992013-08-16 Florian Weimer <fweimer@redhat.com>
22000
22001 [BZ #14699]
22002 CVE-2013-4237
22003 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22004 member.
22005 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22006 member.
22007 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22008 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22009 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
22010 conditional.
22011 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22012 GETDENTS_64BIT_ALIGNED.
22013 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22014 * manual/filesys.texi (Reading/Closing Directory): Document
22015 ENAMETOOLONG return value of readdir_r. Recommend readdir more
22016 strongly.
22017 * manual/conf.texi (Limits for Files): Add portability note to
22018 NAME_MAX, PATH_MAX.
22019 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22020
ca0a6bc4
AS
220212013-08-13 Andreas Schwab <schwab@suse.de>
22022
22023 [BZ #15749]
22024 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22025 of fabs.
22026 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22027 LDBL_MAX_EXP >= 16384]: Add tests for it.
22028
6c1fd795
DM
220292013-08-12 David S. Miller <davem@davemloft.net>
22030
22031 * version.h (RELEASE): Set to "development".
22032 (VERSION): Set to "2.18.90".
22033 * NEWS: Add 2.19 section.
22034
31ad488d
DM
220352013-08-03 David S. Miller <davem@davemloft.net>
22036
22037 * po/ko.po: Update Korean translation from translation project.
22038
db24e684
DM
220392013-08-01 David S. Miller <davem@davemloft.net>
22040
22041 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
22042 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22043 Bilka.
22044
f723285b
DM
220452013-07-30 David S. Miller <davem@davemloft.net>
22046
22047 * po/fr.po: Update French translation from translation project.
22048
3cbc52db
DM
220492013-07-28 David S. Miller <davem@davemloft.net>
22050
30bbc0cc
DM
22051 * po/cs.po: Update Czech translation from translation project.
22052
3cbc52db
DM
22053 * po/sv.po: Update Swedish translation from translation project.
22054
d492e6d0
DM
220552013-07-27 David S. Miller <davem@davemloft.net>
22056
f1a7f492
DM
22057 * po/eo.po: Update Esperanto translation from translation project.
22058
90e62a4a
DM
22059 * po/vi.po: Update Vietnamese translation from translation project.
22060
d492e6d0
DM
22061 * po/de.po: Update German translation from translation project.
22062
d4baa62d
DM
220632013-07-26 David S. Miller <davem@davemloft.net>
22064
641aa7b4
DM
22065 * po/bg.po: Update Bulgarian translation from translation project.
22066
d4baa62d
DM
22067 * po/nl.po: Update Dutch translation from translation project.
22068 * po/pl.po: Update Polish translation from translation project.
22069 * po/ru.po: Update Russian translation from translation project.
22070
61a9dcb9
DM
220712013-07-24 David S. Miller <davem@davemloft.net>
22072
22073 * po/libc.pot: Update.
22074
7b1f8b58
AZ
220752013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22076
22077 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22078 variable page size.
22079 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22080 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22081 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22082
a8fc7a03
AK
220832013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22084
22085 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22086
e4608715
CD
220872013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22088 Andreas Schwab <schwab@suse.de>
22089 Roland McGrath <roland@hack.frob.com>
22090 Joseph Myers <joseph@codesourcery.com>
22091 Carlos O'Donell <carlos@redhat.com>
22092
22093 [BZ #15755]
22094 * config.h.in: Define HAVE_PT_CHOWN.
22095 * config.make.in (build-pt-chown): New variable.
22096 * configure.in (--enable-pt_chown): New configure option.
22097 * configure: Regenerate.
22098 * login/Makefile: Include Makeconfig. Build pt_chown only if
22099 build-pt-chown is enabled.
22100 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22101 pt_chown to fix pty ownership.
22102 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22103 CLOSE_ALL_FDS.
22104 * manual/install.texi (Configuring and compiling): Mention
22105 --enable-pt_chown. Add @findex for grantpt.
22106 * INSTALL: Regenerate.
22107
da2d62df
DM
221082013-07-20 David S. Miller <davem@davemloft.net>
22109
22110 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22111 difference between 32-bit and 64-bit.
22112
d7e06450
CD
221132013-07-15 Carlos O'Donell <carlos@redhat.com>
22114
22115 [BZ #15711]
22116 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22117 Avoid system header dependency with -ffreestanding.
22118 ($(objpfx)bits/syscall%d): Likewise.
22119
f959cfd7
DM
221202013-07-13 David S. Miller <davem@davemloft.net>
22121
22122 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22123 underflows from atanl/atan2l due to bug 15319.
22124 (casinh_test_data): Likewise.
22125
c61f8513
DM
221262013-07-07 David S. Miller <davem@davemloft.net>
22127
22128 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22129
72c90ed0
JA
221302013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
22131
22132 * sysdeps/i386/fpu/libm-test-ulps: Update.
22133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22134
52dfbe13
SP
221352013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22136
22137 * configure.in (--enable-lock-elision): Fix message text.
22138 * INSTALL: Regenerate.
22139 * configure: Regenerate.
22140
3f169543
AZ
221412013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22142
22143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22144
521c6785
AJ
221452013-07-03 Andreas Jaeger <aj@suse.de>
22146
22147 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22148 define.
22149 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22150 (ptrace_peeksiginfo_args): Add.
22151 (__ptrace_peeksiginfo_flags): Add.
22152 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22153 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22154 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22155
d2cc15cb
AM
221562013-07-03 Allan McRae <allan@archlinux.org>
22157
22158 * sysdeps/i386/fpu/libm-test-ulps: Update.
22159
3aaeeca7
DM
221602013-07-02 David S. Miller <davem@davemloft.net>
22161
22162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22163
5314ed1a
MT
221642013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
22165
22166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22167
67338156
JM
221682013-07-02 Joseph Myers <joseph@codesourcery.com>
22169
22170 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22172
1717da59
AK
221732013-07-02 Andi Kleen <ak@linux.intel.com>
22174
22175 * config.h.in (ENABLE_LOCK_ELISION): Add.
22176 * configure.in (--enable-lock-elision): Add option.
22177 * manual/install.texi: Document --enable lock elision.
22178 * configure: Regenerate
22179 * INSTALL: Regenerate.
22180
1c81621c
L
221812013-07-02 H.J. Lu <hongjiu.lu@intel.com>
22182
22183 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22184 SSE4.2 strcasecmp for libc.a.
22185 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22186
77f01ab5
JM
221872013-07-02 Joseph Myers <joseph@codesourcery.com>
22188
22189 [BZ #13304]
22190 * soft-fp/op-common.h (_FP_FMA): New macro.
22191 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22192 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
22193 (_FP_MUL_MEAT_1_imm): ... here.
22194 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
22195 (_FP_MUL_MEAT_1_wide): ... here.
22196 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
22197 (_FP_MUL_MEAT_1_hard): ... here.
22198 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22199 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
22200 (_FP_MUL_MEAT_2_wide): ... here.
22201 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
22202 (_FP_MUL_MEAT_2_wide_3mul): ... here.
22203 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
22204 (_FP_MUL_MEAT_2_gmp): ... here.
22205 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22206 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
22207 (_FP_MUL_MEAT_4_wide): ... here.
22208 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
22209 (_FP_MUL_MEAT_4_gmp): ... here.
22210 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22211 (_FP_WFRACBITS_DW_S): Likewise.
22212 (_FP_WFRACXBITS_DW_S): Likewise.
22213 (_FP_HIGHBIT_DW_S): Likewise.
22214 (FP_FMA_S): Likewise.
22215 (_FP_FRAC_HIGH_DW_S): Likewise.
22216 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22217 (_FP_WFRACBITS_DW_D): Likewise.
22218 (_FP_WFRACXBITS_DW_D): Likewise.
22219 (_FP_HIGHBIT_DW_D): Likewise.
22220 (FP_FMA_D): Likewise.
22221 (_FP_FRAC_HIGH_DW_D): Likewise.
22222 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22223 (_FP_WFRACBITS_DW_E): Likewise.
22224 (_FP_WFRACXBITS_DW_E): Likewise.
22225 (_FP_HIGHBIT_DW_E): Likewise.
22226 (FP_FMA_E): Likewise.
22227 (_FP_FRAC_HIGH_DW_E): Likewise.
22228 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22229 (_FP_WFRACBITS_DW_Q): Likewise.
22230 (_FP_WFRACXBITS_DW_Q): Likewise.
22231 (_FP_HIGHBIT_DW_Q): Likewise.
22232 (FP_FMA_Q): Likewise.
22233 (_FP_FRAC_HIGH_DW_Q): Likewise.
22234 * soft-fp/fmasf4.c: New file.
22235 * soft-fp/fmadf4.c: Likewise.
22236 * soft-fp/fmatf4.c: Likewise.
22237
6308fd9a
LD
222382013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22239
22240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22241 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22242 Silvermont.
22243 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22244 macro.
22245 (index_Slow_SSE4_2): Likewise.
22246 (index_Prefer_PMINUB_for_stringop): Likewise.
22247 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22248 bit_Slow_SSE4_2 is set.
22249 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22250 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22251
89cd9569
RA
222522013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22253
22254 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22255 rtld_global._dl_hwcap2.
22256 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22257 POWER8.
22258 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22259 POWER8 feature descriptions defined in _dl_hwcap2.
22260 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22261 string handling for POWER8 feature bits.
22262 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22263 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22264 _dl_powerpc_cap_flags.
22265 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22266 * sysdeps/powerpc/rtld-global-offsets.sym
22267 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22268 _dl_hwcap2 in the rtld_global_ro structure.
22269
1ae8bfe0
RA
222702013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22271
22272 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22273 hardware capabilities in support of AT_HWCAP2.
22274 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22275 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22276 GLRO(dl_hwcap2).
22277 (_dl_show_auxv): Add support for calling _dl_procinfo to display
22278 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
22279 explicitly the unknown a_type display mechanism is used.
22280 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22281 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22282 struct member.
22283 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22284 to macro prototype for AT_HWCAP2 support.
22285 * sysdeps/i386/dl-procinfo.h: Likewise.
22286 * sysdeps/s390/dl-procinfo.h: Likewise.
22287 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22288 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
22289 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
22290 return -1 for unknown a_type display fallback.
22291 * sysdeps/sparc/dl-procinfo.h: Likewise.
22292 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22293 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22294
8fbec010
JM
222952013-06-28 Joseph Myers <joseph@codesourcery.com>
22296
22297 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22298 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22299
0432680e
PY
223002013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
22301
22302 [BZ #12492]
22303 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22304 mprotect making __stack_prot writable.
22305
ce61a2ad
NF
223062013-06-28 Nathan Froyd <froydnj@codesourcery.com>
22307 Joseph Myers <joseph@codesourcery.com>
22308
22309 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22310 as being properly aligned.
22311
f91f1c0f
MR
223122013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
22313
3d0f5d0c
MR
22314 * dlfcn/modstatic5.c: New file.
22315 * dlfcn/tststatic5.c: New file.
22316 * dlfcn/Makefile (tests): Add tststatic5.
22317 (tests-static): Likewise.
22318 (modules-names): Add modstatic5.
22319 (tststatic5-ENV): New variable.
22320 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22321
f91f1c0f
MR
22322 [BZ #15022]
22323 * elf/dl-support.c (_dl_main_map): New variable.
22324 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22325 (_dl_nns, _dl_load_adds): Set to 1.
22326 (_dl_initial_searchlist): Refer to _dl_main_map.
22327 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22328 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22329 call to _dl_get_origin.
22330 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22331 around call_map.
22332 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22333 * dlfcn/modstatic3.c: New file.
22334 * dlfcn/tststatic3.c: New file.
22335 * dlfcn/tststatic4.c: New file.
22336 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22337 (tests-static): Likewise.
22338 (modules-names): Add modstatic3.
22339 (tststatic3-ENV, tststatic4-ENV): New variables.
22340 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22341 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22342
cbe7d24b
JM
223432013-06-26 Joseph Myers <joseph@codesourcery.com>
22344
22345 * configure.in (CC): Require GCC version 4.4 or later.
22346 * configure: Regenerated.
22347 * manual/install.texi (Tools for Compilation): Update GCC version
22348 requirement.
22349 * INSTALL: Regenerated.
22350
11b8a0e1
LD
223512013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22352
22353 [BZ #15674]
bb5bb87c
L
22354 * string/test-memcmp.c (check2): New.
22355 (main): Call check2.
22356
11b8a0e1
LD
22357 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22358
b0037103
MR
223592013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
22360
22361 [BZ #15022]
22362 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22363 over to...
22364 (dl_open_worker) [!SHARED]: ... here.
22365
c18c701d
RA
223662013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22367
22368 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22369
1d17fa5f
RH
223702013-06-25 Richard Henderson <rth@redhat.com>
22371
22372 * locale/programs/locarchive.c: Include <libc-internal.h>
22373
8fcb833a
JM
223742013-06-25 Joseph Myers <joseph@codesourcery.com>
22375
22376 * manual/texinfo.tex: Update to version 2013-06-21.17, with
22377 trailing whitespace removed.
22378
17db6e8d
MF
223792013-06-24 Mike Frysinger <vapier@gentoo.org>
22380
22381 [BZ #10283]
17db6e8d
MF
22382 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22383 * locale/programs/locarchive.c: Include libc-mmap.h.
22384 (prepare_address_space): Take two new outputs (the mmap base and len).
22385 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
22386 values.
22387 (create_archive): Declare new mmap base and len values for
22388 prepare_address_space, and store the result in ah.
22389 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22390 (enlarge_archive): If ah->mmap_base is not NULL, use that and
22391 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22392 Declare new mmap base and len values for
22393 prepare_address_space, and store the result in new_ah.
22394 (open_archive): Declare new mmap base and len values for
22395 prepare_address_space, and store the result in ah.
22396 (close_archive): If ah->mmap_base is not NULL, use that and
22397 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22398 * sysdeps/generic/libc-mmap.h: New file.
22399
d605071e
MF
224002013-06-24 Mike Frysinger <vapier@gentoo.org>
22401
22402 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22403 (ALIGN_UP): Likewise.
22404 (PTR_ALIGN_DOWN): Likewise.
22405 (PTR_ALIGN_UP): Likewise.
22406
2f063a6e
RA
224072013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22408
22409 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22410 entry mapped to PPC_PLATFORM_POWER8.
22411 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22412 POWER8.
22413 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22414 (_dl_string_platform): Add case for exporting platform position for
22415 POWER8.
22416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22417 search path to sysdeps/powerpc/powerpc32/power8 directory.
22418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22419 search path to sysdeps/powerpc/powerpc64/power8 directory.
22420 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22421 power7 directories.
22422 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22423 power7 directories.
22424
a31ee4b3
SP
224252013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22426
a74ca98f
SP
22427 * INSTALL: Regenerate.
22428
a31ee4b3
SP
22429 * nscd/connections.c (nscd_init): Fix comment.
22430
695c378f
JM
224312013-06-22 Joseph Myers <joseph@codesourcery.com>
22432
d8412221
JM
22433 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22434
695c378f
JM
22435 [BZ #15667]
22436 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22437 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22438
d1d54715
MR
224392013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22440
22441 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22442 DL_DST_REQ_STATIC.
22443 (DL_DST_REQ_STATIC): Remove macro.
22444
8fdda7af
JM
224452013-06-21 Joseph Myers <joseph@codesourcery.com>
22446
22447 [BZ #7006]
22448 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22449 with a shift of 0 bits.
22450
f3bc5e5a
MR
224512013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22452
22453 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22454 $(tststatic-ENV).
22455
be09e8c9
KK
224562013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22457
22458 [BZ #15655]
22459 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22460
85c2e611
AZ
224612013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22462
22463 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22464 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22465 accepts -fno-tree-loop-distribute-patterns.
22466 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22467 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22468 recursive call.
22469 * string/memset.c (memset): Likewise.
22470 * string/test-memmove.c (simple_memmove): Disable loop transformation
22471 to library calls.
22472 * string/test-memset.c (simple_memset): Likewise.
22473 * benchtests/bench-memmove.c (simple_memmove): Likewise.
22474 * benchtests/bench-memset.c (simple_memset): Likewise.
22475 * configure: Regenerated.
22476
c91e0825
JM
224772013-06-20 Joseph Myers <joseph@codesourcery.com>
22478
b8c792af
JM
22479 * math/test-misc.c (main): Ignore fesetround failure when failures
22480 of subsequent rounding tests would be ignored.
22481
c91e0825
JM
22482 [BZ #15654]
22483 * math/fedisblxcpt.c (fedisableexcept): Return 0.
22484 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22485 * math/fegetenv.c (__fegetenv): Return 0.
22486 * math/fegetexcept.c (fegetexcept): Return 0.
22487 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22488 FE_TONEAREST.
22489 * math/feholdexcpt.c (feholdexcept): Return 0.
22490 * math/fesetenv.c (__fesetenv): Return 0.
22491 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22492 argument FE_TONEAREST.
22493 * math/feupdateenv.c (__feupdateenv): Return 0.
22494 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22495
bfcacbde
RM
224962013-06-18 Roland McGrath <roland@hack.frob.com>
22497
22498 * elf/rtld-Rules (rtld-compile-command.S): New variable.
22499 (rtld-compile-command.s, rtld-compile-command.c): New variables.
22500 ($(objpfx)rtld-%.os rules): Use them.
22501
e55a9b25
AZ
225022013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22503
22504 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22505 fields.
22506
346d65b3
RM
225072013-06-17 Roland McGrath <roland@hack.frob.com>
22508
12086fb4
RM
22509 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22510 length of target pattern, then descending length of dependency pattern.
22511 * configure.in (AWK): Require gawk 3.1.2 or newer.
22512 * manual/install.texi (Tools for Compilation): Say that we do.
22513 * configure: Regenerated.
22514
346d65b3
RM
22515 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22516 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22517 * scripts/sysd-rules.awk: ... this new script.
22518 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22519 than a glob-style pattern.
22520
1a846317
JM
225212013-06-17 Joseph Myers <joseph@codesourcery.com>
22522
22523 * math/test-misc.c (main): Do not treat incorrectly rounded
22524 conversions as failure unless ROUNDING_TESTS passes.
22525
8fc75e6f
JM
225262013-06-15 Joseph Myers <joseph@codesourcery.com>
22527
3711a167
JM
22528 [BZ #15631]
22529 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22530 restore exception state around main square root computation, then
22531 check for inexactness explicitly.
22532
8fc75e6f
JM
22533 * math/libm-test.inc (fma_test_data): Add another test.
22534
61dd6208
SP
225352013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22536
adf23d2c
SP
22537 * manual/threads.texi (Non-POSIX Extensions): New document
22538 node. Document pthread_getattr_default_np and
22539 pthread_setattr_default_np.
22540
61dd6208
SP
22541 * Versions.def (libpthread): Add GLIBC_2.18.
22542 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22544 Likewise.
22545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22546 Likewise.
22547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22548 Likewise.
22549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22550 Likewise.
22551 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22552 Likewise.
22553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22554 Likewise.
22555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22556 Likewise.
22557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22558 Likewise.
22559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22560 Likewise.
22561
d086fc7b
LD
225622013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22563
22564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22565 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22566
747ef469
SP
225672013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22568 H.J. Lu <hjl.tools@gmail.com>
22569
22570 [BZ #15627]
22571 * sysdeps/x86_64/rtld-memset.c: Remove file.
22572 * sysdeps/x86_64/rtld-memset.S: New file.
22573
1b2feed2
JM
225742013-06-14 Joseph Myers <joseph@codesourcery.com>
22575
22576 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22577 (test_in_one_mode): Take arguments for whether the rounding mode
22578 is supported for each floating-point type.
22579 (do_test): Pass new arguments to test_in_one_mode using
22580 ROUNDING_TESTS.
22581
a58ad3f8
RM
225822013-06-13 Roland McGrath <roland@hack.frob.com>
22583
22584 * posix/tst-waitid.c (do_test): Distinguish different instances of
22585 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22586 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22587 before entering the kernel for waitpid.
22588
c204ab28
SP
225892013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22590
22591 * NEWS: Fix note on clock function precision. Text by Roland
22592 McGrath.
22593
f4a29fba
RM
225942013-06-13 Roland McGrath <roland@hack.frob.com>
22595
22596 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22597 it into place only when and if the sanity check passes.
22598
1f24b9ad
JM
225992013-06-13 Joseph Myers <joseph@codesourcery.com>
22600
22601 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22602 output for whether conversion result is exact. Take argument
22603 indicating whether type is IBM long double.
22604 (round_for_all): Change need_exact field to ibm_ld.
22605 * stdlib/tst-strtod-round.c (struct exactness): New type.
22606 (struct test): Change bool ld_ok field to struct exactness exact.
22607 (TEST): Update all definitions for change to field.
22608 (tests): Regenerate array contents.
22609 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22610 field value. Check for IBM long double here.
22611 (do_test): Update calls to test_in_one_mode.
22612
58206c68
SP
226132013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22614
22615 [BZ #12515]
22616 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22617 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22618
2d6f4c5b 226192013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
22620
22621 [BZ #15605]
22622 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22623 generated by the compiler on loop optimizations.
22624 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22625 general definitions.
22626
94f2c076
JM
226272013-06-12 Joseph Myers <joseph@codesourcery.com>
22628
22629 * math/bug-nextafter.c: Include <math-tests.h>.
22630 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22631 the relevant type.
22632 * math/bug-nexttoward.c: Include <math-tests.h>.
22633 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22634 the relevant type.
22635 * math/test-misc.c: Include <math-tests.h>.
22636 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22637 the relevant type.
22638
e0e50a0a
AJ
226392013-06-12 Andreas Jaeger <aj@suse.de>
22640
22641 * po/ia.po: Update Interlingua translation from translation
22642 project.
22643
25061094
SP
226442013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22645
22646 * include/fenv.h: Include stdbool.h.
22647 (struct rm_ctx): New structure.
22648 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22649 Define macro.
22650 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22651 (SET_RESTORE_ROUNDF): Likewise.
22652 (SET_RESTORE_ROUNDL): Likewise.
22653 (SET_RESTORE_ROUND_NOEX): Likewise.
22654 (SET_RESTORE_ROUND_NOEXF): Likewise.
22655 (SET_RESTORE_ROUND_NOEXL): Likewise.
22656 (SET_RESTORE_ROUND_53BIT): Likewise.
22657 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22658 (libc_feresetround_noexf_ctx): Likewise.
22659 (libc_feresetround_noexl_ctx): Likewise.
22660 (libc_feholdsetround_53bit_ctx): Likewise.
22661 (libc_feresetround_53bit_ctx): Likewise.
22662 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22663 (libc_feholdexcept_setround_sse_ctx): New function.
22664 (libc_fesetenv_sse_ctx): Likewise.
22665 (libc_feupdateenv_sse_ctx): Likewise.
22666 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22667 (libc_feholdexcept_setround_387_ctx): Likewise.
22668 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22669 (libc_feholdsetround_387_prec_ctx): Likewise.
22670 (libc_feholdsetround_387_ctx): Likewise.
22671 (libc_feholdsetround_387_53bit_ctx): Likewise.
22672 (libc_feholdsetround_sse_ctx): Likewise.
22673 (libc_feresetround_sse_ctx): Likewise.
22674 (libc_feresetround_387_ctx): Likewise.
22675 (libc_feupdateenv_387_ctx): Likewise.
22676 (libc_feholdexcept_setroundf_ctx): Define macro.
22677 (libc_fesetenvf_ctx): Likewise.
22678 (libc_feupdateenvf_ctx): Likewise.
22679 (libc_feholdsetroundf_ctx): Likewise.
22680 (libc_feresetroundf_ctx): Likewise.
22681 (libc_feholdexcept_setround_ctx): Likewise.
22682 (libc_fesetenv_ctx): Likewise.
22683 (libc_feupdateenv_ctx): Likewise.
22684 (libc_feholdsetround_ctx): Likewise.
22685 (libc_feresetround_ctx): Likewise.
22686 (libc_feholdexcept_setroundl_ctx): Likewise.
22687 (libc_feupdateenvl_ctx): Likewise.
22688 (libc_feholdsetroundl_ctx): Likewise.
22689 (libc_feresetroundl_ctx): Likewise.
22690 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22691 (libc_feresetround_53bit_ctx): Likewise.
22692
59b30555
SP
226932013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22694
22695 * locale/iso-639.def: Convert to UTF-8.
22696
f1d73d30
JM
226972013-06-11 Joseph Myers <joseph@codesourcery.com>
22698
22699 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22700 (EXCEPTION_TESTS_double): Likewise.
22701 (EXCEPTION_TESTS_long_double): Likewise.
22702 (EXCEPTION_TESTS): Likewise.
22703 * math/libm-test.inc (test_exceptions): Only test exceptions if
22704 EXCEPTION_TESTS (FLOAT).
22705
94aca5e7
SP
227062013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22707
22708 * benchtests/Makefile (string-bench): Add strcpy_chk and
22709 stpcpy_chk.
22710 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22711 * benchtests/bench-stpcpy_chk.c: New file.
22712 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22713 * benchtests/bench-strcpy_chk.c: New file.
22714 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22715 code.
22716 (do_test): Likewise.
22717
fac0c5f2
RA
227182013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22719
22720 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22721 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22722 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22723 with tabs where appropriate.
22724 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22725 dl-procinfo.h.
22726 [PPC_PLATFORM_PPC440]: Likewise.
22727 [PPC_PLATFORM_PPC464]: Likewise.
22728 [PPC_PLATFORM_PPC476]: Likewise.
22729 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22730 ppc464, and ppc476 platform strings merging from ports/
22731 dl-procinfo.h.
22732
f22bc486
AS
227332013-06-11 Andreas Schwab <schwab@suse.de>
22734
22735 [BZ #14991]
22736 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22737 (from_ucs4_idx): Regenerate.
22738 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22739 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22740 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22741 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22742 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22743 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22744 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22745 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22746 from FROM_LOOP and TO_LOOP specific macros.
22747 (BODY): Handle combining characters.
22748 * iconvdata/BIG5HKSCS.irreversible: Update.
22749 * iconvdata/BIG5HKSCS.precomposed: New file.
22750 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22751 characters.
22752 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22753
c1f75dc3
SP
227542013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22755
4eacded2
SP
22756 * include/sys/time.h: Fix indentation and add copyright header.
22757
fec799f8
SP
22758 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22759 (do_test): Likewise.
22760 * string/test-memchr.c (do_one_test): Likewise.
22761 (do_test): Likewise.
22762 * string/test-memcmp.c (do_one_test): Likewise.
22763 (do_test): Likewise.
22764 * string/test-memcpy.c (do_one_test): Likewise.
22765 (do_test): Likewise.
22766 * string/test-memmem.c (do_one_test): Likewise.
22767 (do_test): Likewise.
22768 (do_random_tests): Likewise.
22769 * string/test-memmove.c (do_one_test): Likewise.
22770 (do_test): Likewise.
22771 * string/test-memset.c (do_one_test): Likewise.
22772 (do_test): Likewise.
22773 * string/test-rawmemchr.c (do_one_test): Likewise.
22774 (do_test): Likewise.
22775 * string/test-strcasecmp.c (do_one_test): Likewise.
22776 (do_test): Likewise.
22777 * string/test-strcasestr.c (do_one_test): Likewise.
22778 (do_test): Likewise.
22779 * string/test-strcat.c (do_one_test): Likewise.
22780 (do_test): Likewise.
22781 * string/test-strchr.c (do_one_test): Likewise.
22782 (do_test): Likewise.
22783 * string/test-strcmp.c (do_one_test): Likewise.
22784 (do_test): Likewise.
22785 * string/test-strcpy.c (do_one_test): Likewise.
22786 (do_test): Likewise.
22787 * string/test-string.h: Likewise.
22788 (test_init): Likewise.
22789 * string/test-strlen.c (do_one_test): Likewise.
22790 (do_test): Likewise.
22791 * string/test-strncasecmp.c (do_one_test): Likewise.
22792 (do_test): Likewise.
22793 * string/test-strncat.c (do_one_test): Likewise.
22794 (do_test): Likewise.
22795 * string/test-strncmp.c (do_one_test): Likewise.
22796 (do_test_limit): Likewise.
22797 (do_test): Likewise.
22798 * string/test-strncpy.c (do_one_test): Likewise.
22799 (do_test): Likewise.
22800 * string/test-strnlen.c (do_one_test): Likewise.
22801 (do_test): Likewise.
22802 * string/test-strpbrk.c (do_one_test): Likewise.
22803 (do_test): Likewise.
22804 * string/test-strrchr.c (do_one_test): Likewise.
22805 (do_test): Likewise.
22806 * string/test-strspn.c (do_one_test): Likewise.
22807 (do_test): Likewise.
22808 * string/test-strstr.c (do_one_test): Likewise.
22809 (do_test): Likewise.
22810
97020474
SP
22811 * benchtests/Makefile (string-bench): Add string benchmarks.
22812 * benchtests/bench-bcopy-ifunc.c: New file.
22813 * benchtests/bench-bcopy.c: New file.
22814 * benchtests/bench-bzero-ifunc.c: New file.
22815 * benchtests/bench-bzero.c: New file.
22816 * benchtests/bench-memccpy-ifunc.c: New file.
22817 * benchtests/bench-memccpy.c: New file.
22818 * benchtests/bench-memchr-ifunc.c: New file.
22819 * benchtests/bench-memchr.c: New file.
22820 * benchtests/bench-memcmp-ifunc.c: New file.
22821 * benchtests/bench-memcmp.c: New file.
22822 * benchtests/bench-memmem-ifunc.c: New file.
22823 * benchtests/bench-memmem.c: New file.
22824 * benchtests/bench-memmove-ifunc.c: New file.
22825 * benchtests/bench-memmove.c: New file.
22826 * benchtests/bench-mempcpy-ifunc.c: New file.
22827 * benchtests/bench-mempcpy.c: New file.
22828 * benchtests/bench-memset-ifunc.c: New file.
22829 * benchtests/bench-memset.c: New file.
22830 * benchtests/bench-rawmemchr-ifunc.c: New file.
22831 * benchtests/bench-rawmemchr.c: New file.
22832 * benchtests/bench-stpcpy-ifunc.c: New file.
22833 * benchtests/bench-stpcpy.c: New file.
22834 * benchtests/bench-stpncpy-ifunc.c: New file.
22835 * benchtests/bench-stpncpy.c: New file.
22836 * benchtests/bench-strcasecmp-ifunc.c: New file.
22837 * benchtests/bench-strcasecmp.c: New file.
22838 * benchtests/bench-strcasestr-ifunc.c: New file.
22839 * benchtests/bench-strcasestr.c: New file.
22840 * benchtests/bench-strcat-ifunc.c: New file.
22841 * benchtests/bench-strcat.c: New file.
22842 * benchtests/bench-strchr-ifunc.c: New file.
22843 * benchtests/bench-strchr.c: New file.
22844 * benchtests/bench-strchrnul-ifunc.c: New file.
22845 * benchtests/bench-strchrnul.c: New file.
22846 * benchtests/bench-strcmp-ifunc.c: New file.
22847 * benchtests/bench-strcmp.c: New file.
22848 * benchtests/bench-strcpy-ifunc.c: New file.
22849 * benchtests/bench-strcpy.c: New file.
22850 * benchtests/bench-strcspn-ifunc.c: New file.
22851 * benchtests/bench-strcspn.c: New file.
22852 * benchtests/bench-strlen-ifunc.c: New file.
22853 * benchtests/bench-strlen.c: New file.
22854 * benchtests/bench-strncasecmp-ifunc.c: New file.
22855 * benchtests/bench-strncasecmp.c: New file.
22856 * benchtests/bench-strncat-ifunc.c: New file.
22857 * benchtests/bench-strncat.c: New file.
22858 * benchtests/bench-strncmp-ifunc.c: New file.
22859 * benchtests/bench-strncmp.c: New file.
22860 * benchtests/bench-strncpy-ifunc.c: New file.
22861 * benchtests/bench-strncpy.c: New file.
22862 * benchtests/bench-strnlen-ifunc.c: New file.
22863 * benchtests/bench-strnlen.c: New file.
22864 * benchtests/bench-strpbrk-ifunc.c: New file.
22865 * benchtests/bench-strpbrk.c: New file.
22866 * benchtests/bench-strrchr-ifunc.c: New file.
22867 * benchtests/bench-strrchr.c: New file.
22868 * benchtests/bench-strspn-ifunc.c: New file.
22869 * benchtests/bench-strspn.c: New file.
22870 * benchtests/bench-strstr-ifunc.c: New file.
22871 * benchtests/bench-strstr.c: New file.
22872
c1f75dc3
SP
22873 * benchtests/Makefile: Disable parallel execution of targets.
22874 (string-bench): Add memcpy.
22875 (benchset): New variable to store a list of benchmark sets.
22876 (bench-func): Renamed from bench.
22877 (bench-set): New target.
22878 (bench): Depend on bench-func and bench-set.
22879 * benchtests/README: Add section on benchmark sets.
22880 * benchtests/bench-memcpy-ifunc.c: New file.
22881 * benchtests/bench-memcpy.c: New file.
22882 * benchtests/bench-string.h: New file.
22883
50fd745b
AS
228842013-06-11 Andreas Schwab <schwab@suse.de>
22885
22886 [BZ #15577]
22887 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22888 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22889 values in the triple.
22890 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22891 terminator in the group key.
22892
3ee7e9fe
AJ
228932013-06-11 Andreas Jaeger <aj@suse.de>
22894
22895 * po/zh_TW.po: Update Chinese (traditional) translation from
22896 translation project.
22897
89fb6835
SP
228982013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22899
22900 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22901 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22902 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22903 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22904 (clock_getcpuclockid): Likewise.
22905 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22906 Add weak_alias and libc_hidden_def.
22907 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22908 * rt/clock_gettime.c (clock_gettime): Rename to
22909 __clock_gettime. Add weak_alias and libc_hidden_def.
22910 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22911 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22912 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22913 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22914 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22915 Likewise.
22916 * rt/clock_settime.c (clock_settime): Rename to
22917 __clock_settime. Add weak_alias and libc_hidden_def.
22918 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22919
0efa6f8b
JM
229202013-06-10 Joseph Myers <joseph@codesourcery.com>
22921
b8c61b4b
JM
22922 * mach/err_boot.sub: Remove trailing whitespace.
22923 * mach/err_ipc.sub: Likewise.
22924 * mach/err_mach.sub: Likewise.
22925
0efa6f8b
JM
22926 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22927 (ROUNDING_TESTS_double): Likewise.
22928 (ROUNDING_TESTS_long_double): Likewise.
22929 (ROUNDING_TESTS): Likewise.
22930 * math/libm-test.inc: Include <math-tests.h>.
22931 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22932 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22933 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22934 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22935
50b818bf
SP
229362013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22937
22938 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22939 of assigning.
22940
60d2f8f3
JM
229412013-06-08 Joseph Myers <joseph@codesourcery.com>
22942
4902d2c3
JM
22943 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22944 otherwise empty TRANS lines.
22945 * sysdeps/gnu/errlist.c: Regenerated.
22946
60d2f8f3
JM
22947 * catgets/gencat.c (error_print): Use (void) in function
22948 definition.
22949 * crypt/crypt_util.c (__init_des): Likewise.
22950 * crypt/speeds.c (Stop): Likewise.
22951 (main): Likewise.
22952 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22953 * inet/ruserpass.c (token): Likewise.
22954 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22955 * intl/localealias.c (extend_alias_table): Likewise.
22956 * intl/plural-exp.c (init_germanic_plural): Likewise.
22957 * libio/fcloseall.c (__fcloseall): Likewise.
22958 * libio/genops.c (_IO_flush_all): Likewise.
22959 (_IO_flush_all_linebuffered): Likewise.
22960 (_IO_cleanup): Likewise.
22961 (_IO_iter_begin): Likewise.
22962 (_IO_iter_end): Likewise.
22963 (_IO_list_lock): Likewise.
22964 (_IO_list_unlock): Likewise.
22965 (_IO_list_resetlock): Likewise.
22966 * libio/getchar.c (getchar): Likewise.
22967 * libio/getchar_u.c (getchar_unlocked): Likewise.
22968 * libio/getwchar.c (getwchar): Likewise.
22969 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22970 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22971 * login/getpt.c (__getpt): Likewise.
22972 * login/tst-utmp.c (main): Likewise.
22973 * malloc/hooks.c (__malloc_check_init): Likewise.
22974 * malloc/malloc.c (__malloc_stats): Likewise.
22975 * malloc/mtrace.c (tr_break): Likewise.
22976 (mtrace): Likewise.
22977 (muntrace): Likewise.
22978 * misc/fstab.c (endfsent): Likewise.
22979 * misc/getclktck.c (__getclktck): Likewise.
22980 * misc/getdtsz.c (__getdtablesize): Likewise.
22981 * misc/gethostid.c (gethostid): Likewise.
22982 * misc/getpagesize.c (__getpagesize): Likewise.
22983 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22984 (__get_nprocs): Likewise.
22985 (__get_phys_pages): Likewise.
22986 (__get_avphys_pages): Likewise.
22987 * misc/getttyent.c (getttyent): Likewise.
22988 (setttyent): Likewise.
22989 (endttyent): Likewise.
22990 * misc/getusershell.c (getusershell): Likewise.
22991 (endusershell): Likewise.
22992 (setusershell): Likewise.
22993 (initshells): Likewise.
22994 * misc/hsearch.c (__hdestroy): Likewise.
22995 * misc/sync.c (sync): Likewise.
22996 * misc/syslog.c (closelog_internal): Likewise.
22997 (closelog): Likewise.
22998 * misc/ttyslot.c (ttyslot): Likewise.
22999 * misc/vhangup.c (vhangup): Likewise.
23000 * posix/fork.c (__fork): Likewise.
23001 * posix/getegid.c (__getegid): Likewise.
23002 * posix/geteuid.c (__geteuid): Likewise.
23003 * posix/getgid.c (__getgid): Likewise.
23004 * posix/getpid.c (__getpid): Likewise.
23005 * posix/getppid.c (__getppid): Likewise.
23006 * posix/getuid.c (__getuid): Likewise.
23007 * posix/pause.c (pause): Likewise.
23008 * posix/setpgrp.c (setpgrp): Likewise.
23009 * posix/setsid.c (__setsid): Likewise.
23010 * posix/test-vfork.c (noop): Likewise.
23011 * resolv/gethnamaddr.c (_endhtent): Likewise.
23012 (_gethtent): Likewise.
23013 (ht_endhostent): Likewise.
23014 (gethostent): Likewise.
23015 (dns_service): Likewise.
23016 * stdlib/drand48.c (drand48): Likewise.
23017 * stdlib/lrand48.c (lrand48): Likewise.
23018 * stdlib/mrand48.c (mrand48): Likewise.
23019 * stdlib/rand.c (rand): Likewise.
23020 * stdlib/random.c (__random): Likewise.
23021 * stdlib/setenv.c (clearenv): Likewise.
23022 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23023 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23024 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23025 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23026 (__get_nprocs): Likewise.
23027 (__get_phys_pages): Likewise.
23028 (__get_avphys_pages): Likewise.
23029 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23030 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23031 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23032 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23033 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23034 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23035 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23036 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23037 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23038 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23039 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23040 * sysdeps/mach/hurd/sync.c (sync): Likewise.
23041 * sysdeps/posix/clock.c (clock): Likewise.
23042 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23043 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23044 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23045 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23046 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23047 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23048 (__get_nprocs_conf): Likewise.
23049 (__get_phys_pages): Likewise.
23050 (__get_avphys_pages): Likewise.
23051 * time/clock.c (clock): Likewise.
23052 * time/tzset.c (__tzname_max): Likewise.
23053
2e09a79a
JM
230542013-06-07 Joseph Myers <joseph@codesourcery.com>
23055
23056 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23057 (__bswap_32): Do not use "register".
23058 * crypt/crypt.c (_ufc_doit_r): Likewise.
23059 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23060 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23061 * gmon/gmon.c (__monstartup): Likewise.
23062 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23063 * hurd/hurdmalloc.c (more_memory): Likewise.
23064 (malloc): Likewise.
23065 (free): Likewise.
23066 (realloc): Likewise.
23067 (malloc_fork_prepare): Likewise.
23068 (malloc_fork_parent): Likewise.
23069 (malloc_fork_child): Likewise.
23070 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23071 (_svcauth_des): Likewise.
23072 * inet/inet_lnaof.c (inet_lnaof): Likewise.
23073 * inet/inet_net.c (inet_network): Likewise.
23074 * inet/inet_netof.c (inet_netof): Likewise.
23075 * inet/rcmd.c (__validuser2_sa): Likewise.
23076 * io/fts.c (fts_open): Likewise.
23077 (fts_load): Likewise.
23078 (fts_close): Likewise.
23079 (fts_read): Likewise.
23080 (fts_children): Likewise.
23081 (fts_build): Likewise.
23082 (fts_stat): Likewise.
23083 (fts_sort): Likewise.
23084 (fts_alloc): Likewise.
23085 (fts_lfree): Likewise.
23086 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23087 (_IO_file_xsgetn): Likewise.
23088 (_IO_file_xsgetn_mmap): Likewise.
23089 * libio/iofopncook.c (_IO_cookie_read): Likewise.
23090 (_IO_cookie_write): Likewise.
23091 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23092 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23093 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23094 * malloc/obstack.c (_obstack_begin): Likewise.
23095 (_obstack_begin_1): Likewise.
23096 (_obstack_newchunk): Likewise.
23097 (_obstack_allocated_p): Likewise.
23098 (obstack_free): Likewise.
23099 (_obstack_memory_used): Likewise.
23100 * misc/getttyent.c (getttynam): Likewise.
23101 (getttyent): Likewise.
23102 (skip): Likewise.
23103 (value): Likewise.
23104 * misc/getusershell.c (initshells): Likewise.
23105 * misc/syslog.c (__vsyslog_chk): Likewise.
23106 * misc/ttyslot.c (ttyslot): Likewise.
23107 * nis/nis_hash.c (__nis_hash): Likewise.
23108 * posix/fnmatch_loop.c (FCT): Likewise.
23109 * posix/getconf.c (print_all): Likewise.
23110 (main): Likewise.
23111 * posix/getopt.c (exchange): Likewise.
23112 * posix/glob.c (globfree): Likewise.
23113 (prefix_array): Likewise.
23114 (__glob_pattern_type): Likewise.
23115 * resolv/arpa/nameser.h (NS_GET16): Likewise.
23116 (NS_GET32): Likewise.
23117 (NS_PUT16): Likewise.
23118 (NS_PUT32): Likewise.
23119 * resolv/gethnamaddr.c (getanswer): Likewise.
23120 (gethostbyname2): Likewise.
23121 (gethostbyaddr): Likewise.
23122 (_gethtent): Likewise.
23123 (_gethtbyname2): Likewise.
23124 (_gethtbyaddr): Likewise.
23125 * resolv/ns_print.c (dst_s_get_int16): Likewise.
23126 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23127 * resolv/res_init.c (__res_vinit): Likewise.
23128 (net_mask): Likewise.
23129 * resolv/res_mkquery.c (outchar): Likewise.
23130 (PRINT): Likewise.
23131 * stdio-common/printf_fp.c (outchar): Likewise.
23132 (PRINT): Likewise.
23133 * stdio-common/printf_fphex.c (outchar): Likewise.
23134 (PRINT): Likewise.
23135 * stdio-common/printf_size.c (outchar): Likewise.
23136 (PRINT): Likewise.
23137 * stdio-common/test_rdwr.c (main): Likewise.
23138 * stdio-common/tfformat.c (matches): Likewise.
23139 * stdio-common/vfprintf.c (outchar): Likewise.
23140 (printf_unknown): Likewise.
23141 (buffered_vfprintf): Likewise.
23142 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23143 * stdio-common/xbug.c (AppendToBuffer): Likewise.
23144 (ReadFile): Likewise.
23145 * stdlib/qsort.c (SWAP): Likewise.
23146 (_quicksort): Likewise.
23147 * stdlib/setenv.c (__add_to_environ): Likewise.
23148 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23149 * stdlib/strtol_l.c (__strtol_l): Likewise.
23150 * stdlib/tst-strtod.c (main): Likewise.
23151 * stdlib/tst-strtol.c (main): Likewise.
23152 * stdlib/tst-strtoll.c (main): Likewise.
23153 * string/bits/string2.h (__strcmp_cc): Likewise.
23154 (__strcmp_cg): Likewise.
23155 (__strcspn_c1): Likewise.
23156 (__strcspn_c2): Likewise.
23157 (__strcspn_c3): Likewise.
23158 (__strspn_c1): Likewise.
23159 (__strspn_c2): Likewise.
23160 (__strspn_c3): Likewise.
23161 (__strsep_1c): Likewise.
23162 (__strsep_2c): Likewise.
23163 (__strsep_3c): Likewise.
23164 * string/memccpy.c (__memccpy): Likewise.
23165 * string/stpcpy.c (__stpcpy): Likewise.
23166 * string/strcmp.c (strcmp): Likewise.
23167 * string/strrchr.c (strrchr): Likewise.
23168 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23169 Likewise.
23170 * sysdeps/mach/hurd/getcwd.c
23171 (_hurd_canonicalize_directory_name_internal): Likewise.
23172 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23173 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23174 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23175 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23176 Likewise, in both definitions.
23177 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23178 definitions.
23179 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23180 64] (__bswap_64): Likewise.
23181 * time/test_time.c (main): Likewise.
23182 * time/tzfile.c (__tzfile_read): Likewise.
23183 (__tzfile_compute): Likewise.
23184 * time/tzset.c (__tzset_parse_tz): Likewise.
23185 (tzset_internal): Likewise.
23186 (compute_change): Likewise.
23187 * wcsmbs/wcscat.c (__wcscat): Likewise.
23188 * wcsmbs/wcschr.c (wcschr): Likewise.
23189 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23190 * wcsmbs/wcscspn.c (wcscspn): Likewise.
23191 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23192 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23193 * wcsmbs/wcsspn.c (wcsspn): Likewise.
23194 * wcsmbs/wcsstr.c (wcsstr): Likewise.
23195 * wcsmbs/wmemchr.c (wmemchr): Likewise.
23196 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23197 * wcsmbs/wmemset.c (wmemset): Likewise.
23198
9e54314b
JM
231992013-06-06 Joseph Myers <joseph@codesourcery.com>
23200
23201 * scripts/config.guess: Update to version 2013-05-16.
23202 * scripts/config.sub: Update to version 2013-04-24.
23203 * scripts/install-sh: Update to version 2011-11-20.07.
23204 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23205 * scripts/move-if-change: Update to version 2012-01-06 07:23.
23206
350635a5
OB
232072013-06-06 Ondřej Bílka <neleai@seznam.cz>
23208
23209 * debug/fgetws_u_chk.c: Fix leading whitespaces.
23210 * elf/sln.c: Likewise.
23211 * hurd/hurd/ioctl.h: Likewise.
23212 * hurd/hurdmalloc.c: Likewise.
23213 * hurd/xattr.c: Likewise.
23214 * include/shlib-compat.h: Likewise.
23215 * inet/ruserpass.c: Likewise.
23216 * libio/iofgets_u.c: Likewise.
23217 * libio/iofgetws_u.c: Likewise.
23218 * locale/programs/ld-identification.c: Likewise.
23219 * locale/programs/ld-time.c: Likewise.
23220 * mach/msg-destroy.c: Likewise.
23221 * nss/nss_files/files-netgrp.c: Likewise.
23222 * resolv/res_data.c: Likewise.
23223 * soft-fp/op-1.h: Likewise.
23224 * soft-fp/op-2.h: Likewise.
23225 * soft-fp/op-4.h: Likewise.
23226 * soft-fp/op-common.h: Likewise.
23227 * stdio-common/printf_fphex.c: Likewise.
23228 * stdlib/strtod_l.c: Likewise.
23229 * sunrpc/rpc/clnt.h: Likewise.
23230 * sysdeps/generic/framestate.c: Likewise.
23231 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23232 * sysdeps/i386/bsd-setjmp.S: Likewise.
23233 * sysdeps/i386/__longjmp.S: Likewise.
23234 * sysdeps/i386/setjmp.S: Likewise.
23235 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23236 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23237 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23238 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23239 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23240 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23241 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23242 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23243 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23244 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23245 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23246 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23247 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23248 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23249 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23250 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23251 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23252 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23253 * sysdeps/ieee754/support.c: Likewise.
23254 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23255 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23256 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23257 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23258 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23259 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23260 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23261 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23262 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23263 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23264 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23265 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23266 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23267 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23268 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23269 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23270 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23272
44a988af
OB
232732013-06-05 Ondřej Bílka <neleai@seznam.cz>
23274
25506f09 23275 * posix/transbug.c: Remove executable mode.
44a988af 23276
9c84384c
JM
232772013-06-05 Joseph Myers <joseph@codesourcery.com>
23278
23279 * crypt/speeds.c: Remove trailing whitespace.
23280 * dlfcn/default.c: Likewise.
23281 * elf/ifuncdep2.c: Likewise.
23282 * elf/ifuncmain1.c: Likewise.
23283 * elf/ifuncmain1vis.c: Likewise.
23284 * elf/testobj.h: Likewise.
23285 * elf/tst-stackguard1.c: Likewise.
23286 * gmon/sys/gmon.h: Likewise.
23287 * hurd/hurdmsg.c: Likewise.
23288 * hurd/new-fd.c: Likewise.
23289 * hurd/ports-get.c: Likewise.
23290 * iconvdata/ibm1008_420.c: Likewise.
23291 * inet/tst-getni1.c: Likewise.
23292 * inet/tst-getni2.c: Likewise.
23293 * libio/ioungetc.c: Likewise.
23294 * libio/wfiledoalloc.c: Likewise.
23295 * manual/libm-err-tab.pl: Likewise.
23296 * math/w_dremf.c: Likewise.
23297 * misc/ftruncate.c: Likewise.
23298 * posix/bug-glob2.c: Likewise.
23299 * posix/tst-pcre.c: Likewise.
23300 * posix/wait4.c: Likewise.
23301 * resolv/README: Likewise.
23302 * resolv/res_debug.h: Likewise.
23303 * resolv/tst-inet_ntop.c: Likewise.
23304 * setjmp/bug269-setjmp.c: Likewise.
23305 * soft-fp/extended.h: Likewise.
23306 * soft-fp/op-1.h: Likewise.
23307 * soft-fp/op-2.h: Likewise.
23308 * soft-fp/op-4.h: Likewise.
23309 * soft-fp/op-8.h: Likewise.
23310 * soft-fp/testit.c: Likewise.
23311 * stdio-common/bug16.c: Likewise.
23312 * stdlib/random.c: Likewise.
23313 * sunrpc/rpcsvc/rquota.x: Likewise.
23314 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23315 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23316 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23317 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23318 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23319 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23320 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23321 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23322 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23323 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23324 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23325 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23326 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23327 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23328 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23329 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23330 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23331 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23332 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23333 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23334 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23335 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23336 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23337 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23338 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23339 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23340 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23341 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23342 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23343 * sysdeps/ieee754/s_lib_version.c: Likewise.
23344 * sysdeps/mach/hurd/check_fds.c: Likewise.
23345 * sysdeps/mach/hurd/getsockname.c: Likewise.
23346 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23347 * sysdeps/mach/hurd/recvfrom.c: Likewise.
23348 * sysdeps/powerpc/bits/link.h: Likewise.
23349 * sysdeps/powerpc/dl-procinfo.c: Likewise.
23350 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23351 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23352 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23353 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23354 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23355 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23356 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23357 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23358 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23359 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23360 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23361 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23362 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23363 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23364 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23365 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23366 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23367 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23368 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23369 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23370 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23371 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23372 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23373 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23374 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23375 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23376 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23377 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23378 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23379 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23380 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23381 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23382 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23383 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23384 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23385 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23386 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23387 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23388 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23389 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23390 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23391 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23392 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23393 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23394 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23395 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23396 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23397 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23398 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23399 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23400 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23401 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23402 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23403 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23404 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23405 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23406 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23407 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23408 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23409 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23410 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23411 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23412 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23413 * sysdeps/powerpc/sysdep.h: Likewise.
23414 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23415 * sysdeps/s390/s390-64/sub_n.S: Likewise.
23416 * sysdeps/sh/dl-trampoline.S: Likewise.
23417 * sysdeps/sh/memset.S: Likewise.
23418 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23419 * sysdeps/sh/strlen.S: Likewise.
23420 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23421 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23422 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23423 * sysdeps/sparc/sparc32/rem.S: Likewise.
23424 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23425 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23426 * sysdeps/sparc/sparc32/strchr.S: Likewise.
23427 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23428 * sysdeps/sparc/sparc32/urem.S: Likewise.
23429 * sysdeps/sparc/sparc64/add_n.S: Likewise.
23430 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23431 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23432 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23433 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23434 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23435 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23436 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23437 * sysdeps/unix/bsd/times.c: Likewise.
23438 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23439 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23443 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23444 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23445 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23446 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23447 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23448 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23449 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23450 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23451 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23452 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23453 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23454 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23455 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23456 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23457 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23458 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23459 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23460 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23461 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23462 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23463 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23464 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23465 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23466 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23467 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23468 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23469 * sysdeps/x86_64/strcspn.S: Likewise.
23470
869378a5
RA
234712013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23472
23473 * locale/C-translit.h: Revert #include <stdint.h> because this is a
23474 generated file. Regenerate properly from gen-translit.pl.
23475 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
23476 locale/C-translit.h.
23477
840e2943
AS
234782013-06-05 Andreas Schwab <schwab@suse.de>
23479
23480 [BZ #15100]
23481 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23482 week as 6 instead of -1.
23483 * time/tst-strptime.c (day_tests): Add test case.
23484
4c60cb0c
SP
234852013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23486
23487 * sysdeps/generic/math_private.h
23488 (libc_feholdexcept_setround_53bit): Replace with
23489 libc_feholdsetround_53bit.
23490 (libc_feupdateenv_53bit): Replace with
23491 libc_feresetround_53bit.
23492 (SET_RESTORE_ROUND_53BIT): Adjust.
23493
d180203e
SP
234942013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23495
96df079a
SP
23496 * string/test-strchrnul.c: Add copyright header.
23497
d180203e
SP
23498 * posix/tst-getaddrinfo4.c: Increase test timeout.
23499
8b0ccb2d
CD
235002013-06-03 Carlos O'Donell <carlos@redhat.com>
23501
23502 [BZ #15536]
23503 * math/libm-test.inc (MAX_EXP): Remove
23504 (MIN_EXP): Define.
23505 (ulp): Use MIN_EXP - MANT_DIG.
23506 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23507
3b3c4d40
CD
235082013-05-31 Carlos O'Donell <carlos@redhat.com>
23509
23510 * po/be.po: Revert last change.
23511 * po/zh_CN.po: Likewise.
23512 * po/header.pot: Likewise.
23513
fab7ce3f
JM
235142013-05-31 Joseph Myers <joseph@codesourcery.com>
23515
23516 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23517 link-libc-deps to empty as target-specific variable.
23518 * Makerules (link-libc-args): New variable.
23519 (libc-for-link): Likewise.
23520 (link-libc-deps): Likewise.
23521 (lib%.so): Depend on $(link-libc-deps). Link with
23522 $(link-libc-args).
23523 (build-module): Link with $(link-libc-args).
23524 (build-module-asneeded): Likewise.
23525 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23526 list of objects.
23527 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23528 target-specific variable.
23529 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23530 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23531 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23532 libc.
23533 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23534 libc and ld.so.
23535 ($(objpfx)libpcprofile.so): Likewise.
23536 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23537 libc_nonshared.a.
23538 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23539 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23540 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23541 $(link-libc-deps).
23542 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23543 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23544 * login/Makefile ($(objpfx)libutil.so): Likewise.
23545 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23546 * math/Makefile ($(objpfx)libm.so): Likewise.
23547 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23548 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23549 variable instead of depending directly on libc.
23550 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23551 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23552 $(link-libc-deps).
23553 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23554 libc.
23555 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23556 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23557 ($(objpfx)libanl.so): Likewise.
23558 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23559 ld.so.
23560 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23561 $(link-libc-deps).
23562 * sysdeps/i386/fpu/Makefile: Remove file.
23563 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23564 ($(objpfx)libm.so): Remove dependency on ld.so.
23565
eca5920c
PF
235662013-05-30 Patsy Franklin <pfrankli@redhat.com>
23567
23568 [BZ # 15553]
23569 * nis/yp_xdr.c (XDRMAXNAME): Define.
23570 (XDRMAXRECORD): Define.
23571 (xdr_domainname): Use XDRMAXNAME.
23572 (xdr_mapname): Likewise.
23573 (xdr_peername): Likewise.
23574 (xdr_keydat): Use XDRMAXRECORD.
23575 (xdr_valdat): Likewise.
23576
235772013-05-30 Jeff Law <law@redhat.com>
96945714
JL
23578
23579 [BZ #14256]
23580 * manual/errno.texi (ESTALE): Update to account for more than
23581 just NFS file systems.
23582 * sysdeps/gnu/errlist.c: Regenerated.
23583
b9375348
SP
235842013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23585
23586 [BZ #15465]
23587 * elf/Makefile (tests): Add tst-null-argv.
23588 (modules-names): Add tst-null-argv-lib.
23589 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23590 (tst-null-argv-ENV): Set environment for tst-null-argv.
23591 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23592 (RTLD_PROGNAME): New macro.
23593 * elf/tst-null-argv.c: New test case.
23594 * elf/tst-null-argv-lib.c: Library for test case.
23595 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23596 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23597 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23598 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23599 * elf/dl-init.c (call_init): Likewise.
23600 (_dl_init): Likewise.
23601 * elf/dl-load.c (print_search_path): Likewise.
23602 (_dl_map_object): Likewise.
23603 * elf/dl-lookup.c (do_lookup_x): Likewise.
23604 (add_dependency): Likewise.
23605 (_dl_lookup_symbol_x): Likewise.
23606 (_dl_debug_bindings): Likewise.
23607 * elf/dl-open.c (_dl_show_scope): Likewise.
23608 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23609 * elf/dl-version.c (match_symbol): Likewise.
23610 (_dl_check_map_versions): Likewise.
23611 * elf/rtld.c (dl_main): Likewise.
23612 (print_unresolved): Use RTLD_PROGNAME.
23613 (print_missing_version): Likewise.
23614 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23615 (elf_machine_rela): Likewise.
23616 * sysdeps/powerpc/powerpc32/dl-machine.c
23617 (__process_machine_rela): Likewise.
23618 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23619 Likewise.
23620 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23621 Likewise.
23622 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23623 Likewise.
23624 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23625 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23626 Likewise.
23627 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23628 Likewise.
23629 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23630
8a9f20c8
CD
236312013-05-28 Carlos O'Donell <carlos@redhat.com>
23632
23633 * po/be.po: Add descriptive title.
23634 * po/zh_CN.po: Likewise.
23635 * po/header.pot: Likewise.
23636
0e60d68e
MF
236372013-05-28 Mike Frysinger <vapier@gentoo.org>
23638
23639 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23640 error message.
23641 (enlarge_archive): Likewise.
23642
56b672e9
BN
236432013-05-28 Ben North <ben@redfrontdoor.org>
23644
23645 * manual/arith.texi (frexp): It is the magnitude of the return
23646 value which lies in [0.5, 1), not the return value itself.
23647
5e056687
AZ
236482013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23649
23650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23651
2b66ef5d
TS
236522013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23653
528c2405
TS
23654 * stdio-common/bug26.c (main): Correct fscanf template.
23655
07b4c13d
TS
23656 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23657 declare _dl_skip_args.
23658
ec9dd97c
TS
23659 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23660 Don't declare.
23661
2b66ef5d
TS
23662 * manual/platform.texi: Add missing @end deftypefun.
23663
4f8dfe27
JM
236642013-05-24 Joseph Myers <joseph@codesourcery.com>
23665
0323d086
JM
23666 [BZ #15529]
23667 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23668 bit of mantissa of 2^16382.
23669 * math/libm-test.inc (hypot_test_data): Add more tests.
23670
dd4259b9
JM
23671 * math/libm-test.inc: Add drem and pow10 to list of tested
23672 functions.
23673 (pow10_test): New function.
23674 (drem_test): Likewise.
23675 (drem_test_tonearest): Likewise.
23676 (drem_test_towardzero): Likewise.
23677 (drem_test_downward): Likewise.
23678 (drem_test_upward): Likewise.
23679 (main): Call the new functions.
23680
4f8dfe27
JM
23681 * math/libm-test.inc (finite_test_data): Remove.
23682 (finite_test): Run tests from isfinite_test_data.
23683 (gamma_test_data): Remove.
23684 (gamma_test): Run tests from lgamma_test_data.
23685 * sysdeps/i386/fpu/libm-test-ulps: Update.
23686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23687
d116b7c4
AZ
236882013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23689
23690 * manual/platform.texi: Add PowerPC PPR function set documentation.
23691 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23692 implementation.
23693
e96e3767
CD
236942013-05-24 Carlos O'Donell <carlos@redhat.com>
23695
23696 * math/libm-test.inc (MAX_EXP): Define.
23697 (ULPDIFF): Define.
23698 (ulp): New function.
23699 (check_float_internal): Use ULPDIFF.
23700 (cpow_test): Disable failing test.
23701 (check_ulp): Test ulp() implemetnation.
23702 (main): Call check_ulp before starting tests.
23703
b679a606
JM
237042013-05-24 Joseph Myers <joseph@codesourcery.com>
23705
e8bdba36
JM
23706 * math/gen-libm-test.pl (generate_testfile): Do not handle
23707 START_DATA and END_DATA.
23708 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23709 END_DATA.
23710 (acos_tonearest_test_data): Likewise.
23711 (acos_towardzero_test_data): Likewise.
23712 (acos_downward_test_data): Likewise.
23713 (acos_upward_test_data): Likewise.
23714 (acosh_test_data): Likewise.
23715 (asin_test_data): Likewise.
23716 (asin_tonearest_test_data): Likewise.
23717 (asin_towardzero_test_data): Likewise.
23718 (asin_downward_test_data): Likewise.
23719 (asin_upward_test_data): Likewise.
23720 (asinh_test_data): Likewise.
23721 (atan_test_data): Likewise.
23722 (atanh_test_data): Likewise.
23723 (atan2_test_data): Likewise.
23724 (cabs_test_data): Likewise.
23725 (cacos_test_data): Likewise.
23726 (cacosh_test_data): Likewise.
23727 (carg_test_data): Likewise.
23728 (casin_test_data): Likewise.
23729 (casinh_test_data): Likewise.
23730 (catan_test_data): Likewise.
23731 (catanh_test_data): Likewise.
23732 (cbrt_test_data): Likewise.
23733 (ccos_test_data): Likewise.
23734 (ccosh_test_data): Likewise.
23735 (ceil_test_data): Likewise.
23736 (cexp_test_data): Likewise.
23737 (cimag_test_data): Likewise.
23738 (clog_test_data): Likewise.
23739 (clog10_test_data): Likewise.
23740 (conj_test_data): Likewise.
23741 (copysign_test_data): Likewise.
23742 (cos_test_data): Likewise.
23743 (cos_tonearest_test_data): Likewise.
23744 (cos_towardzero_test_data): Likewise.
23745 (cos_downward_test_data): Likewise.
23746 (cos_upward_test_data): Likewise.
23747 (cosh_test_data): Likewise.
23748 (cosh_tonearest_test_data): Likewise.
23749 (cosh_towardzero_test_data): Likewise.
23750 (cosh_downward_test_data): Likewise.
23751 (cosh_upward_test_data): Likewise.
23752 (cpow_test_data): Likewise.
23753 (cproj_test_data): Likewise.
23754 (creal_test_data): Likewise.
23755 (csin_test_data): Likewise.
23756 (csinh_test_data): Likewise.
23757 (csqrt_test_data): Likewise.
23758 (ctan_test_data): Likewise.
23759 (ctan_tonearest_test_data): Likewise.
23760 (ctan_towardzero_test_data): Likewise.
23761 (ctan_downward_test_data): Likewise.
23762 (ctan_upward_test_data): Likewise.
23763 (ctanh_test_data): Likewise.
23764 (ctanh_tonearest_test_data): Likewise.
23765 (ctanh_towardzero_test_data): Likewise.
23766 (ctanh_downward_test_data): Likewise.
23767 (ctanh_upward_test_data): Likewise.
23768 (erf_test_data): Likewise.
23769 (erfc_test_data): Likewise.
23770 (exp_test_data): Likewise.
23771 (exp_tonearest_test_data): Likewise.
23772 (exp_towardzero_test_data): Likewise.
23773 (exp_downward_test_data): Likewise.
23774 (exp_upward_test_data): Likewise.
23775 (exp10_test_data): Likewise.
23776 (exp2_test_data): Likewise.
23777 (expm1_test_data): Likewise.
23778 (fabs_test_data): Likewise.
23779 (fdim_test_data): Likewise.
23780 (finite_test_data): Likewise.
23781 (floor_test_data): Likewise.
23782 (fma_test_data): Likewise.
23783 (fma_towardzero_test_data): Likewise.
23784 (fma_downward_test_data): Likewise.
23785 (fma_upward_test_data): Likewise.
23786 (fmax_test_data): Likewise.
23787 (fmin_test_data): Likewise.
23788 (fmod_test_data): Likewise.
23789 (fpclassify_test_data): Likewise.
23790 (frexp_test_data): Likewise.
23791 (gamma_test_data): Likewise.
23792 (hypot_test_data): Likewise.
23793 (ilogb_test_data): Likewise.
23794 (isfinite_test_data): Likewise.
23795 (isgreater_test_data): Likewise.
23796 (isgreaterequal_test_data): Likewise.
23797 (isinf_test_data): Likewise.
23798 (isless_test_data): Likewise.
23799 (islessequal_test_data): Likewise.
23800 (islessgreater_test_data): Likewise.
23801 (isnan_test_data): Likewise.
23802 (isnormal_test_data): Likewise.
23803 (issignaling_test_data): Likewise.
23804 (isunordered_test_data): Likewise.
23805 (j0_test_data): Likewise.
23806 (j1_test_data): Likewise.
23807 (jn_test_data): Likewise.
23808 (ldexp_test_data): Likewise.
23809 (lgamma_test_data): Likewise.
23810 (lrint_test_data): Likewise.
23811 (lrint_tonearest_test_data): Likewise.
23812 (lrint_towardzero_test_data): Likewise.
23813 (lrint_downward_test_data): Likewise.
23814 (lrint_upward_test_data): Likewise.
23815 (llrint_test_data): Likewise.
23816 (llrint_tonearest_test_data): Likewise.
23817 (llrint_towardzero_test_data): Likewise.
23818 (llrint_downward_test_data): Likewise.
23819 (llrint_upward_test_data): Likewise.
23820 (log_test_data): Likewise.
23821 (log10_test_data): Likewise.
23822 (log1p_test_data): Likewise.
23823 (log2_test_data): Likewise.
23824 (logb_test_data): Likewise.
23825 (logb_downward_test_data): Likewise.
23826 (lround_test_data): Likewise.
23827 (llround_test_data): Likewise.
23828 (modf_test_data): Likewise.
23829 (nearbyint_test_data): Likewise.
23830 (nextafter_test_data): Likewise.
23831 (nexttoward_test_data): Likewise.
23832 (pow_test_data): Likewise.
23833 (pow_tonearest_test_data): Likewise.
23834 (pow_towardzero_test_data): Likewise.
23835 (pow_downward_test_data): Likewise.
23836 (pow_upward_test_data): Likewise.
23837 (remainder_test_data): Likewise.
23838 (remainder_tonearest_test_data): Likewise.
23839 (remainder_towardzero_test_data): Likewise.
23840 (remainder_downward_test_data): Likewise.
23841 (remainder_upward_test_data): Likewise.
23842 (remquo_test_data): Likewise.
23843 (rint_test_data): Likewise.
23844 (rint_tonearest_test_data): Likewise.
23845 (rint_towardzero_test_data): Likewise.
23846 (rint_downward_test_data): Likewise.
23847 (rint_upward_test_data): Likewise.
23848 (round_test_data): Likewise.
23849 (scalb_test_data): Likewise.
23850 (scalbn_test_data): Likewise.
23851 (scalbln_test_data): Likewise.
23852 (signbit_test_data): Likewise.
23853 (sin_test_data): Likewise.
23854 (sin_tonearest_test_data): Likewise.
23855 (sin_towardzero_test_data): Likewise.
23856 (sin_downward_test_data): Likewise.
23857 (sin_upward_test_data): Likewise.
23858 (sincos_test_data): Likewise.
23859 (sinh_test_data): Likewise.
23860 (sinh_tonearest_test_data): Likewise.
23861 (sinh_towardzero_test_data): Likewise.
23862 (sinh_downward_test_data): Likewise.
23863 (sinh_upward_test_data): Likewise.
23864 (sqrt_test_data): Likewise.
23865 (tan_test_data): Likewise.
23866 (tan_tonearest_test_data): Likewise.
23867 (tan_towardzero_test_data): Likewise.
23868 (tan_downward_test_data): Likewise.
23869 (tan_upward_test_data): Likewise.
23870 (tanh_test_data): Likewise.
23871 (tgamma_test_data): Likewise.
23872 (trunc_test_data): Likewise.
23873 (y0_test_data): Likewise.
23874 (y1_test_data): Likewise.
23875 (yn_test_data): Likewise.
23876 (significand_test_data): Likewise.
23877
b679a606
JM
23878 * math/gen-libm-test.pl (@functions): Remove variable.
23879 (generate_testfile): Don't handle START and END lines.
23880 * math/libm-test.inc (START): New macro.
23881 (END): Likewise.
23882 (END_COMPLEX): Likewise.
23883 (acos_test): Use END macro without arguments.
23884 (acos_test_tonearest): Likewise.
23885 (acos_test_towardzero): Likewise.
23886 (acos_test_downward): Likewise.
23887 (acos_test_upward): Likewise.
23888 (acosh_test): Likewise.
23889 (asin_test): Likewise.
23890 (asin_test_tonearest): Likewise.
23891 (asin_test_towardzero): Likewise.
23892 (asin_test_downward): Likewise.
23893 (asin_test_upward): Likewise.
23894 (asinh_test): Likewise.
23895 (atan_test): Likewise.
23896 (atanh_test): Likewise.
23897 (atan2_test): Likewise.
23898 (cabs_test): Likewise.
23899 (cacos_test): Use END_COMPLEX macro without arguments.
23900 (cacosh_test): Likewise.
23901 (carg_test): Use END macro without arguments.
23902 (casin_test): Use END_COMPLEX macro without arguments.
23903 (casinh_test): Likewise.
23904 (catan_test): Likewise.
23905 (catanh_test): Likewise.
23906 (cbrt_test): Use END macro without arguments.
23907 (ccos_test): Use END_COMPLEX macro without arguments.
23908 (ccosh_test): Likewise.
23909 (ceil_test): Use END macro without arguments.
23910 (cexp_test): Use END_COMPLEX macro without arguments.
23911 (cimag_test): Use END macro without arguments.
23912 (clog_test): Use END_COMPLEX macro without arguments.
23913 (clog10_test): Likewise.
23914 (conj_test): Likewise.
23915 (copysign_test): Use END macro without arguments.
23916 (cos_test): Likewise.
23917 (cos_test_tonearest): Likewise.
23918 (cos_test_towardzero): Likewise.
23919 (cos_test_downward): Likewise.
23920 (cos_test_upward): Likewise.
23921 (cosh_test): Likewise.
23922 (cosh_test_tonearest): Likewise.
23923 (cosh_test_towardzero): Likewise.
23924 (cosh_test_downward): Likewise.
23925 (cosh_test_upward): Likewise.
23926 (cpow_test): Use END_COMPLEX macro without arguments.
23927 (cproj_test): Likewise.
23928 (creal_test): Use END macro without arguments.
23929 (csin_test): Use END_COMPLEX macro without arguments.
23930 (csinh_test): Likewise.
23931 (csqrt_test): Likewise.
23932 (ctan_test): Likewise.
23933 (ctan_test_tonearest): Likewise.
23934 (ctan_test_towardzero): Likewise.
23935 (ctan_test_downward): Likewise.
23936 (ctan_test_upward): Likewise.
23937 (ctanh_test): Likewise.
23938 (ctanh_test_tonearest): Likewise.
23939 (ctanh_test_towardzero): Likewise.
23940 (ctanh_test_downward): Likewise.
23941 (ctanh_test_upward): Likewise.
23942 (erf_test): Use END macro without arguments.
23943 (erfc_test): Likewise.
23944 (exp_test): Likewise.
23945 (exp_test_tonearest): Likewise.
23946 (exp_test_towardzero): Likewise.
23947 (exp_test_downward): Likewise.
23948 (exp_test_upward): Likewise.
23949 (exp10_test): Likewise.
23950 (exp2_test): Likewise.
23951 (expm1_test): Likewise.
23952 (fabs_test): Likewise.
23953 (fdim_test): Likewise.
23954 (finite_test): Likewise.
23955 (floor_test): Likewise.
23956 (fma_test): Likewise.
23957 (fma_test_towardzero): Likewise.
23958 (fma_test_downward): Likewise.
23959 (fma_test_upward): Likewise.
23960 (fmax_test): Likewise.
23961 (fmin_test): Likewise.
23962 (fmod_test): Likewise.
23963 (fpclassify_test): Likewise.
23964 (frexp_test): Likewise.
23965 (gamma_test): Likewise.
23966 (hypot_test): Likewise.
23967 (ilogb_test): Likewise.
23968 (isfinite_test): Likewise.
23969 (isgreater_test): Likewise.
23970 (isgreaterequal_test): Likewise.
23971 (isinf_test): Likewise.
23972 (isless_test): Likewise.
23973 (islessequal_test): Likewise.
23974 (islessgreater_test): Likewise.
23975 (isnan_test): Likewise.
23976 (isnormal_test): Likewise.
23977 (issignaling_test): Likewise.
23978 (isunordered_test): Likewise.
23979 (j0_test): Likewise.
23980 (j1_test): Likewise.
23981 (jn_test): Likewise.
23982 (ldexp_test): Likewise.
23983 (lgamma_test): Likewise.
23984 (lrint_test): Likewise.
23985 (lrint_test_tonearest): Likewise.
23986 (lrint_test_towardzero): Likewise.
23987 (lrint_test_downward): Likewise.
23988 (lrint_test_upward): Likewise.
23989 (llrint_test): Likewise.
23990 (llrint_test_tonearest): Likewise.
23991 (llrint_test_towardzero): Likewise.
23992 (llrint_test_downward): Likewise.
23993 (llrint_test_upward): Likewise.
23994 (log_test): Likewise.
23995 (log10_test): Likewise.
23996 (log1p_test): Likewise.
23997 (log2_test): Likewise.
23998 (logb_test): Likewise.
23999 (logb_test_downward): Likewise.
24000 (lround_test): Likewise.
24001 (llround_test): Likewise.
24002 (modf_test): Likewise.
24003 (nearbyint_test): Likewise.
24004 (nextafter_test): Likewise.
24005 (nexttoward_test): Likewise.
24006 (pow_test): Likewise.
24007 (pow_test_tonearest): Likewise.
24008 (pow_test_towardzero): Likewise.
24009 (pow_test_downward): Likewise.
24010 (pow_test_upward): Likewise.
24011 (remainder_test): Likewise.
24012 (remainder_test_tonearest): Likewise.
24013 (remainder_test_towardzero): Likewise.
24014 (remainder_test_downward): Likewise.
24015 (remainder_test_upward): Likewise.
24016 (remquo_test): Likewise.
24017 (rint_test): Likewise.
24018 (rint_test_tonearest): Likewise.
24019 (rint_test_towardzero): Likewise.
24020 (rint_test_downward): Likewise.
24021 (rint_test_upward): Likewise.
24022 (round_test): Likewise.
24023 (scalb_test): Likewise.
24024 (scalbn_test): Likewise.
24025 (scalbln_test): Likewise.
24026 (signbit_test): Likewise.
24027 (sin_test): Likewise.
24028 (sin_test_tonearest): Likewise.
24029 (sin_test_towardzero): Likewise.
24030 (sin_test_downward): Likewise.
24031 (sin_test_upward): Likewise.
24032 (sincos_test): Likewise.
24033 (sinh_test): Likewise.
24034 (sinh_test_tonearest): Likewise.
24035 (sinh_test_towardzero): Likewise.
24036 (sinh_test_downward): Likewise.
24037 (sinh_test_upward): Likewise.
24038 (sqrt_test): Likewise.
24039 (tan_test): Likewise.
24040 (tan_test_tonearest): Likewise.
24041 (tan_test_towardzero): Likewise.
24042 (tan_test_downward): Likewise.
24043 (tan_test_upward): Likewise.
24044 (tanh_test): Likewise.
24045 (tgamma_test): Likewise.
24046 (trunc_test): Likewise.
24047 (y0_test): Likewise.
24048 (y1_test): Likewise.
24049 (yn_test): Likewise.
24050 (significand_test): Likewise.
24051
bae143d2
OB
240522013-05-24 Ondřej Bílka <neleai@seznam.cz>
24053
24054 [BZ #15381]
24055 * libio/genops.c (_IO_no_init): Initialize wide struct info.
24056
9323d39b
EM
240572013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
24058
d4ea44a0 24059 [BZ #14894]
9323d39b
EM
24060 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24061 __ppc_mdoio and __ppc_mdoom.
24062 * manual/platform.texi: Document new functions __ppc_yield,
24063 __ppc_mdoio and __ppc_mdoom.
24064
13e23af7
CD
240652013-05-22 Carlos O'Donell <carlos@redhat.com>
24066
24067 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24068 (main): Mention "tls" pseudo-hwcap is legacy.
24069 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24070
351fe550
JM
240712013-05-22 Joseph Myers <joseph@codesourcery.com>
24072
24073 * math/gen-libm-test.pl (parse_args): Output only string of
24074 arguments as text for test name, not full call or descriptions of
24075 tests for extra outputs.
24076 (generate_testfile): Do not pass function name to parse_args.
24077 Generate this_func variable from START.
24078 * math/libm-test.inc (struct test_f_f_data): Rename test_name
24079 field to arg_str.
24080 (struct test_ff_f_data): Likewise.
24081 (test_ff_f_data_nexttoward): Likewise.
24082 (struct test_fi_f_data): Likewise.
24083 (struct test_fl_f_data): Likewise.
24084 (struct test_if_f_data): Likewise.
24085 (struct test_fff_f_data): Likewise.
24086 (struct test_c_f_data): Likewise.
24087 (struct test_f_f1_data): Likewise. Remove field extra_name.
24088 (struct test_fF_f1_data): Likewise.
24089 (struct test_ffI_f1_data): Likewise.
24090 (struct test_c_c_data): Rename test_name field to arg_str.
24091 (struct test_cc_c_data): Likewise.
24092 (struct test_f_i_data): Likewise.
24093 (struct test_ff_i_data): Likewise.
24094 (struct test_f_l_data): Likewise.
24095 (struct test_f_L_data): Likewise.
24096 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
24097 and extra2_name.
24098 (COMMON_TEST_SETUP): New macro.
24099 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24100 (COMMON_TEST_CLEANUP): Likewise.
24101 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24102 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
24103 macros.
24104 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24105 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
24106 macros.
24107 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24108 (RUN_TEST_fff_f): Take argument string. Call new setup and
24109 cleanup macros.
24110 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24111 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
24112 macros.
24113 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24114 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
24115 macros.
24116 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24117 (RUN_TEST_fF_f1): Take argument string. Call new setup and
24118 cleanup macros.
24119 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24120 (RUN_TEST_fI_f1): Take argument string. Call new setup and
24121 cleanup macros.
24122 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24123 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
24124 cleanup macros.
24125 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24126 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
24127 macros.
24128 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24129 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
24130 macros.
24131 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24132 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
24133 macros.
24134 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24135 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
24136 cleanup macros.
24137 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24138 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
24139 cleanup macros.
24140 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24141 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
24142 macros.
24143 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24144 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
24145 cleanup macros.
24146 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24147 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
24148 macros.
24149 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24150 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
24151 macros.
24152 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24153 (RUN_TEST_fFF_11): Take argument string. Call new setup and
24154 cleanup macros.
24155 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24156
85118d4d
EBM
241572013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24158
24159 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24160 to _sifields.sigfault.
24161 (si_addr_lsb): Define new macro.
24162 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24163 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24164 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24165
7a44c18f
CD
241662013-05-03 Carlos O'Donell <carlos at redhat.com>
24167
24168 [BZ #15441]
24169 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24170 returns -1.
24171 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24172 null return -1.
24173 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24174 loading the domain.
24175
b50a7181
JM
241762013-05-22 Joseph Myers <joseph@codesourcery.com>
24177
24178 * math/gen-libm-test.pl (parse_args): Do not include expected
24179 result in test name.
24180 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24181 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24182 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24183 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24184 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24186
051063c8
SP
241872013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24188
3ce9e010
SP
24189 * benchtests/Makefile: Sort function entries.
24190
051063c8
SP
24191 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24192 tanh, asinh, acosh, atanh.
24193 * benchtests/acos-inputs: New file.
24194 * benchtests/acosh-inputs: New file.
24195 * benchtests/asin-inputs: New file.
24196 * benchtests/asinh-inputs: New file.
24197 * benchtests/atanh-inputs: New file.
24198 * benchtests/cosh-inputs: New file.
24199 * benchtests/log-inputs: New file.
24200 * benchtests/sinh-inputs: New file.
24201 * benchtests/tanh-inputs: New file.
24202
47c22455
DL
242032013-05-21 Dmitry V. Levin <ldv@altlinux.org>
24204
24205 [BZ #15339]
24206 * posix/tst-getaddrinfo4.c: New test.
24207 * posix/Makefile (tests): Add it.
24208
3d04f5db
SP
242092013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24210
24211 [BZ #15339]
24212 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24213 when no services were used.
24214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24215 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24216
d5dd6189
AS
242172013-05-21 Andreas Schwab <schwab@suse.de>
24218
24219 [BZ #15014]
24220 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24221 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24222 successful.
24223 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24224 redundant variable declarations and reallocation of buffer when
24225 parsing as IPv6 address. Always set NSS status when called from
24226 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
24227 buffer too small. Correct computation of needed size.
24228 * nss/Makefile (tests): Add test-digits-dots.
24229 * nss/test-digits-dots.c: New test.
24230
fef94eab
SP
242312013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24232
24233 * benchtests/Makefile: Remove instructions for adding
24234 benchmark tests.
24235 * benchtests/README: New file to explain how to execute and
24236 enhance the benchmark tests.
24237
e39adf43
AS
242382013-05-21 Andreas Schwab <schwab@suse.de>
24239
24240 [BZ #15493]
24241 * setjmp/Makefile (tests): Add tst-sigsetjmp.
24242 * setjmp/tst-sigsetjmp.c: New test.
24243
b2b671b6
OB
242442013-05-20 Ondřej Bílka <neleai@seznam.cz>
24245
24246 * sysdeps/x86_64/memset.S (memset): New implementation.
24247 (__bzero): Likewise.
24248 (__memset_tail): New function.
24249
2d48b41c
OB
242502013-05-20 Ondřej Bílka <neleai@seznam.cz>
24251
24252 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24253 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24254 __memcpy_sse2_unaligned ifunc selection.
24255 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24256 Add memcpy-sse2-unaligned.S.
24257 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24258 Add: __memcpy_sse2_unaligned.
24259
f16cc3eb
JM
242602013-05-19 Joseph Myers <joseph@codesourcery.com>
24261
3e694268
JM
24262 [BZ #15490]
24263 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24264 math_force_eval before restoring floating-point envrionment.
24265 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24266 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24267 Likewise.
24268 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24269 <math_private.h>.
24270 (__nearbyintl): Use math_force_eval before restoring
24271 floating-point environment.
24272 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24273
db62a907
JM
24274 * math/gen-libm-test.pl (special_functions): Remove.
24275 (parse_args): Don't handle TEST_extra. Handle functions with no
24276 return value.
24277 * math/libm-test.inc (struct test_sincos_data): Replace with
24278 struct test_fFF_11_data.
24279 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24280 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24281 (sincos_test_data): Change element type to struct
24282 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
24283 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24284 RUN_TEST_LOOP_sincos.
24285 * math/README.libm-test: Don't mention special handling of
24286 individual functions.
24287 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24288 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24289 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24290 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24291 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24293
f16cc3eb
JM
24294 * math/gen-libm-test.pl (get_variable): Remove function.
24295 (parse_args): Don't show pointer parameters to call in test
24296 names. Use "extra output N" in test names for extra outputs
24297 rather than naming variables.
24298
3779b5b6
JM
242992013-05-18 Joseph Myers <joseph@codesourcery.com>
24300
2ee094ff
JM
24301 [BZ #15488]
24302 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24303 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24304 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24305 double tests.
24306 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24307 disable.
24308 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24309 check_long_double.
24310
3779b5b6
JM
24311 * math/gen-libm-test.pl (@tests): Remove variable.
24312 ($count): Likewise.
24313 (new_test): Remove function.
24314 (show_exceptions): New function.
24315 (special_functions): Use show_exceptions instead of new_test.
24316 (parse_args): Likewise.
24317 (generate_testfile): Pass only function name in generated call to
24318 print_max_error or print_complex_max_error.
24319 (get_ulps): Do not handle complex tests specially.
24320 (output_test): Rename to ...
24321 (get_all_ulps_for_test): ... this. Return a string rather than
24322 printing to a file. Require ulps to be present.
24323 (output_ulps): Generate arrays rather than #defines.
24324 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24325 (struct ulp_data): New type.
24326 (BUILD_COMPLEX_ULP): Remove macro.
24327 (compare_ulp_data): New function.
24328 (find_ulps): Likewise.
24329 (find_test_ulps): Likewise.
24330 (find_function_ulps): Likewise.
24331 (find_complex_function_ulps): Likewise.
24332 (print_max_error): Determine allowed ulps using
24333 find_function_ulps.
24334 (print_complex_max_error): Determine allowed ulps using
24335 find_complex_function_ulps.
24336 (check_float_internal): Determine max ulps using find_test_ulps.
24337 (check_float): Do not take max_ulp parameter. Update call to
24338 check_float_internal.
24339 (check_complex): Likewise.
24340 (check_int): Do not take max_ulp parameter.
24341 (check_long): Likewise.
24342 (check_bool): Likewise.
24343 (check_longlong): Likewise.
24344 (struct test_f_f_data): Remove max_ulp field.
24345 (struct test_ff_f_data): Likewise.
24346 (struct test_ff_f_data_nexttoward): Likewise.
24347 (struct test_fi_f_data): Likewise.
24348 (struct test_fl_f_data): Likewise.
24349 (struct test_if_f_data): Likewise.
24350 (struct test_fff_f_data): Likewise.
24351 (struct test_c_f_data): Likewise.
24352 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24353 (struct test_fF_f1_data): Likewise.
24354 (struct test_ffI_f1_data): Likewise.
24355 (struct test_c_c_data): Remove max_ulp field.
24356 (struct test_cc_c_data): Likewise.
24357 (struct test_f_i_data): Likewise.
24358 (struct test_ff_i_data): Likewise.
24359 (struct test_f_l_data): Likewise.
24360 (struct test_f_L_data): Likewise.
24361 (struct test_sincos_data): Likewise.
24362 (RUN_TEST_f_f): Do not handle ulps.
24363 (RUN_TEST_LOOP_f_f): Likewise.
24364 (RUN_TEST_2_f): Likewise.
24365 (RUN_TEST_LOOP_2_f): Likewise.
24366 (RUN_TEST_fff_f): Likewise.
24367 (RUN_TEST_LOOP_fff_f): Likewise.
24368 (RUN_TEST_c_f): Likewise.
24369 (RUN_TEST_LOOP_c_f): Likewise.
24370 (RUN_TEST_f_f1): Likewise.
24371 (RUN_TEST_LOOP_f_f1): Likewise.
24372 (RUN_TEST_fF_f1): Likewise.
24373 (RUN_TEST_LOOP_fF_f1): Likewise.
24374 (RUN_TEST_fI_f1): Likewise.
24375 (RUN_TEST_LOOP_fI_f1): Likewise.
24376 (RUN_TEST_ffI_f1): Likewise.
24377 (RUN_TEST_LOOP_ffI_f1): Likewise.
24378 (RUN_TEST_c_c): Likewise.
24379 (RUN_TEST_LOOP_c_c): Likewise.
24380 (RUN_TEST_cc_c): Likewise.
24381 (RUN_TEST_LOOP_cc_c): Likewise.
24382 (RUN_TEST_f_i): Likewise.
24383 (RUN_TEST_LOOP_f_i): Likewise.
24384 (RUN_TEST_f_i_tg): Likewise.
24385 (RUN_TEST_LOOP_f_i_tg): Likewise.
24386 (RUN_TEST_ff_i_tg): Likewise.
24387 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24388 (RUN_TEST_f_b): Likewise.
24389 (RUN_TEST_LOOP_f_b): Likewise.
24390 (RUN_TEST_f_b_tg): Likewise.
24391 (RUN_TEST_LOOP_f_b_tg): Likewise.
24392 (RUN_TEST_f_l): Likewise.
24393 (RUN_TEST_LOOP_f_l): Likewise.
24394 (RUN_TEST_f_L): Likewise.
24395 (RUN_TEST_LOOP_f_L): Likewise.
24396 (RUN_TEST_sincos): Likewise.
24397 (RUN_TEST_LOOP_sincos): Likewise.
24398
8269107f
JM
243992013-05-17 Joseph Myers <joseph@codesourcery.com>
24400
bb38759d
JM
24401 [BZ #15480]
24402 [BZ #15485]
24403 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24404 main case of finite arguments, set rounding mode to FE_TONEAREST
24405 and discard exceptions.
24406 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24407 exceptions.
24408 (remainder_tonearest_test_data): New variable.
24409 (remainder_test_tonearest): New function.
24410 (remainder_towardzero_test_data): New variable.
24411 (remainder_test_towardzero): New function.
24412 (remainder_downward_test_data): New variable.
24413 (remainder_test_downward): New function.
24414 (remainder_upward_test_data): New variable.
24415 (remainder_test_upward): New function.
24416 (main): Call the new test functions.
24417
a00bdcf0
JM
24418 * math/libm-test.inc (struct test_f_f1_data): Remove field
24419 extra_init.
24420 (struct test_fF_f1_data): Likewise.
24421 (struct test_ffI_f1_data): Likewise.
24422 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
24423 based on value of EXTRA_EXPECTED.
24424 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24425 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
24426 EXTRA_VAR based on value of EXTRA_EXPECTED.
24427 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24428 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
24429 EXTRA_VAR based on value of EXTRA_EXPECTED.
24430 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24431 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
24432 EXTRA_VAR based on value of EXTRA_EXPECTED.
24433 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24434 * math/gen-libm-test.pl (parse_args): Don't output initializers
24435 for extra output values.
24436
de407f79
JM
24437 * math/libm-test.inc (check_int): Expect result to be exactly
24438 equal to expected value and do not handle ulps.
24439 (check_long): Likewise.
24440 (check_longlong): Likewise.
24441
8269107f
JM
24442 * math/libm-test.inc (ceil_test_data): Test for "inexact"
24443 exceptions.
24444 (cimag_test_data): Likewise.
24445 (conj_test_data): Likewise.
24446 (copysign_test_data): Likewise.
24447 (cproj_test_data): Likewise.
24448 (creal_test_data): Likewise.
24449 (fabs_test_data): Likewise.
24450 (fdim_test_data): Likewise.
24451 (finite_test_data): Likewise.
24452 (floor_test_data): Likewise.
24453 (fmax_test_data): Likewise.
24454 (fmin_test_data): Likewise.
24455 (fmod_test_data): Likewise.
24456 (fpclassify_test_data): Likewise.
24457 (frexp_test_data): Likewise.
24458 (ilogb_test_data): Likewise.
24459 (isfinite_test_data): Likewise.
24460 (isgreater_test_data): Likewise.
24461 (isgreaterequal_test_data): Likewise.
24462 (isinf_test_data): Likewise.
24463 (isless_test_data): Likewise.
24464 (islessequal_test_data): Likewise.
24465 (islessgreater_test_data): Likewise.
24466 (isnan_test_data): Likewise.
24467 (isnormal_test_data): Likewise.
24468 (issignaling_test_data): Likewise.
24469 (isunordered_test_data): Likewise.
24470 (ldexp_test_data): Likewise.
24471 (lrint_test_data): Likewise.
24472 (lrint_test_data) [TEST_FLOAT]: Disable one test.
24473 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24474 (lrint_tonearest_test_data): Test for "inexact" exceptions.
24475 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24476 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24477 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24478 test input.
24479 (lrint_towardzero_test_data): Test for "inexact" exceptions.
24480 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24481 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24482 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24483 that test input.
24484 (lrint_downward_test_data): Test for "inexact" exceptions.
24485 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24486 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24487 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24488 test input.
24489 (lrint_upward_test_data): Test for "inexact" exceptions.
24490 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24491 test input.
24492 (llrint_test_data): Test for "inexact" exceptions.
24493 (llrint_test_data) [TEST_FLOAT]: Disable one test.
24494 (llrint_tonearest_test_data): Test for "inexact" exceptions.
24495 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24496 (llrint_towardzero_test_data): Test for "inexact" exceptions.
24497 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24498 (llrint_downward_test_data): Test for "inexact" exceptions.
24499 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24500 (llrint_upward_test_data): Test for "inexact" exceptions.
24501 (logb_test_data): Likewise.
24502 (logb_downward_test_data): Likewise.
24503 (nextafter_test_data): Likewise.
24504 (nexttoward_test_data): Likewise.
24505 (remainder_test_data): Likewise.
24506 (remquo_test_data): Likewise.
24507 (scalbn_test_data): Likewise.
24508 (scalbln_test_data): Likewise.
24509 (signbit_test_data): Likewise.
24510 (sqrt_test_data): Likewise.
24511 (significand_test_data): Likewise.
24512
48a18de1
SP
245132013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24514
24515 [BZ #15424]
24516 * benchtests/bench-modf.c (struct args): Mark arg0 as
24517 volatile.
24518 * scripts/bench.pl: Mark members of struct args as volatile.
24519
13d3b41a
AZ
245202013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24521
68191c1d 24522 [BZ # 15497]
13d3b41a
AZ
24523 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24524 negative infinity on POWER6 or lower.
24525 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24526
2848b105
MR
245272013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24528
24529 [BZ #15442]
24530 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24531 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24532 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24533 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24534 (_FP_SETQNAN): New macro.
24535 (_FP_SETQNAN_SEMIRAW): Likewise.
24536 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24537 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24538 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24539 (FP_EXTEND): Use _FP_FRAC_SNANP.
24540 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24541 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24542 into account.
24543 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24544 New macro.
24545 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24546 Likewise.
24547
323e5cb7
JM
245482013-05-16 Joseph Myers <joseph@codesourcery.com>
24549
c58b274f
JM
24550 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24551 with DIVIDE_BY_ZERO_EXCEPTION.
24552 (gamma_test_data): Likewise.
24553 (lgamma_test_data): Likewise.
24554 (log_test_data): Likewise.
24555 (log10_test_data): Likewise.
24556 (log2_test_data): Likewise.
24557 (tgamma_test_data): Likewise.
24558
0ab34904
JM
24559 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24560 (acos_test_tonearest): Likewise.
24561 (acos_test_towardzero): Likewise.
24562 (acos_test_downward): Likewise.
24563 (acos_test_upward): Likewise.
24564 (acosh_test): Likewise.
24565 (asin_test): Likewise.
24566 (asin_test_tonearest): Likewise.
24567 (asin_test_towardzero): Likewise.
24568 (asin_test_downward): Likewise.
24569 (asin_test_upward): Likewise.
24570 (asinh_test): Likewise.
24571 (atan_test): Likewise.
24572 (atanh_test): Likewise.
24573 (atan2_test): Likewise.
24574 (cabs_test): Likewise.
24575 (cacos_test): Likewise.
24576 (cacosh_test): Likewise.
24577 (casin_test): Likewise.
24578 (casinh_test): Likewise.
24579 (catan_test): Likewise.
24580 (catanh_test): Likewise.
24581 (cbrt_test): Likewise.
24582 (ccos_test): Likewise.
24583 (ccosh_test): Likewise.
24584 (cexp_test): Likewise.
24585 (clog_test): Likewise.
24586 (clog10_test): Likewise.
24587 (cos_test): Likewise.
24588 (cos_test_tonearest): Likewise.
24589 (cos_test_towardzero): Likewise.
24590 (cos_test_downward): Likewise.
24591 (cos_test_upward): Likewise.
24592 (cosh_test): Likewise.
24593 (cosh_test_tonearest): Likewise.
24594 (cosh_test_towardzero): Likewise.
24595 (cosh_test_downward): Likewise.
24596 (cosh_test_upward): Likewise.
24597 (cpow_test): Likewise.
24598 (csin_test): Likewise.
24599 (csinh_test): Likewise.
24600 (csqrt_test): Likewise.
24601 (ctan_test): Likewise.
24602 (ctan_test_tonearest): Likewise.
24603 (ctan_test_towardzero): Likewise.
24604 (ctan_test_downward): Likewise.
24605 (ctan_test_upward): Likewise.
24606 (ctanh_test): Likewise.
24607 (ctanh_test_tonearest): Likewise.
24608 (ctanh_test_towardzero): Likewise.
24609 (ctanh_test_downward): Likewise.
24610 (ctanh_test_upward): Likewise.
24611 (erf_test): Likewise.
24612 (erfc_test): Likewise.
24613 (exp_test): Likewise.
24614 (exp_test_tonearest): Likewise.
24615 (exp_test_towardzero): Likewise.
24616 (exp_test_downward): Likewise.
24617 (exp_test_upward): Likewise.
24618 (exp10_test): Likewise.
24619 (exp2_test): Likewise.
24620 (expm1_test): Likewise.
24621 (fmod_test): Likewise.
24622 (gamma_test): Likewise.
24623 (hypot_test): Likewise.
24624 (j0_test): Likewise.
24625 (j1_test): Likewise.
24626 (jn_test): Likewise.
24627 (lgamma_test): Likewise.
24628 (log_test): Likewise.
24629 (log10_test): Likewise.
24630 (log1p_test): Likewise.
24631 (log2_test): Likewise.
24632 (logb_test_downward): Likewise.
24633 (pow_test): Likewise.
24634 (pow_test_tonearest): Likewise.
24635 (pow_test_towardzero): Likewise.
24636 (pow_test_downward): Likewise.
24637 (pow_test_upward): Likewise.
24638 (remainder_test): Likewise.
24639 (remquo_test): Likewise.
24640 (sin_test): Likewise.
24641 (sin_test_tonearest): Likewise.
24642 (sin_test_towardzero): Likewise.
24643 (sin_test_downward): Likewise.
24644 (sin_test_upward): Likewise.
24645 (sincos_test): Likewise.
24646 (sinh_test): Likewise.
24647 (sinh_test_tonearest): Likewise.
24648 (sinh_test_towardzero): Likewise.
24649 (sinh_test_downward): Likewise.
24650 (sinh_test_upward): Likewise.
24651 (sqrt_test): Likewise.
24652 (tan_test): Likewise.
24653 (tan_test_tonearest): Likewise.
24654 (tan_test_towardzero): Likewise.
24655 (tan_test_downward): Likewise.
24656 (tan_test_upward): Likewise.
24657 (tanh_test): Likewise.
24658 (tgamma_test): Likewise.
24659 (y0_test): Likewise.
24660 (y1_test): Likewise.
24661 (yn_test): Likewise.
24662
323e5cb7
JM
24663 * math/gen-libm-test.pl (adjust_arg): Remove function.
24664 (special_function): Remove argument $in_func. Only handle
24665 generating output for tables of tests, not inside functions.
24666 (parse_args): Likewise.
24667 (generate_testfile): Remove variable $in_func. Update call to
24668 parse_args.
24669 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24670 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24671 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24672 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24673 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24674 (MAX_VALUE_INIT): Rename macro to max_value.
24675 (MIN_VALUE_INIT): Rename macro to min_value.
24676 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24677 (plus_zero): Remove variable.
24678 (minus_zero): Likewise.
24679 (plus_infty): Likewise.
24680 (minus_infty): Likewise.
24681 (qnan_value): Likewise.
24682 (max_value): Likewise.
24683 (min_value): Likewise.
24684 (min_subnorm_value): Likewise.
24685
e054f494
RA
246862013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24687
24688 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24689 uint64_t or uint32_t usage.
24690 * crypt/sha256-block.c: Likewise.
24691 * crypt/sha256-crypt.c: Likewise.
24692 * crypt/sha256.c: Likewise.
24693 * crypt/sha512-block.c: Likewise.
24694 * crypt/sha512-crypt.c: Likewise.
24695 * crypt/sha512.c: Likewise.
24696 * debug/backtrace-tst.c: Likewise.
24697 * debug/pcprofiledump.c: Likewise.
24698 * elf/cache.c: Likewise.
24699 * elf/dl-cache.c: Likewise.
24700 * elf/dl-misc.c: Likewise.
24701 * elf/dl-profile.c: Likewise.
24702 * elf/dl-support.c: Likewise.
24703 * elf/ldconfig.c: Likewise.
24704 * elf/sprof.c: Likewise.
24705 * iconv/dummy-repertoire.c: Likewise.
24706 * iconv/iconv_charmap.c: Likewise.
24707 * iconv/skeleton.c: Likewise.
24708 * iconvdata/8bit-generic.c: Likewise.
24709 * iconvdata/cp737.h: Likewise.
24710 * iconvdata/cp775.h: Likewise.
24711 * iconvdata/ibm1008.h: Likewise.
24712 * iconvdata/ibm1025.h: Likewise.
24713 * iconvdata/ibm1046.h: Likewise.
24714 * iconvdata/ibm1097.h: Likewise.
24715 * iconvdata/ibm1112.h: Likewise.
24716 * iconvdata/ibm1122.h: Likewise.
24717 * iconvdata/ibm1123.h: Likewise.
24718 * iconvdata/ibm1124.h: Likewise.
24719 * iconvdata/ibm1129.h: Likewise.
24720 * iconvdata/ibm1130.h: Likewise.
24721 * iconvdata/ibm1132.h: Likewise.
24722 * iconvdata/ibm1133.h: Likewise.
24723 * iconvdata/ibm1137.h: Likewise.
24724 * iconvdata/ibm1140.h: Likewise.
24725 * iconvdata/ibm1141.h: Likewise.
24726 * iconvdata/ibm1142.h: Likewise.
24727 * iconvdata/ibm1143.h: Likewise.
24728 * iconvdata/ibm1144.h: Likewise.
24729 * iconvdata/ibm1145.h: Likewise.
24730 * iconvdata/ibm1146.h: Likewise.
24731 * iconvdata/ibm1147.h: Likewise.
24732 * iconvdata/ibm1148.h: Likewise.
24733 * iconvdata/ibm1149.h: Likewise.
24734 * iconvdata/ibm1153.h: Likewise.
24735 * iconvdata/ibm1154.h: Likewise.
24736 * iconvdata/ibm1155.h: Likewise.
24737 * iconvdata/ibm1156.h: Likewise.
24738 * iconvdata/ibm1157.h: Likewise.
24739 * iconvdata/ibm1158.h: Likewise.
24740 * iconvdata/ibm1160.h: Likewise.
24741 * iconvdata/ibm1161.h: Likewise.
24742 * iconvdata/ibm1162.h: Likewise.
24743 * iconvdata/ibm1163.h: Likewise.
24744 * iconvdata/ibm1164.h: Likewise.
24745 * iconvdata/ibm1166.h: Likewise.
24746 * iconvdata/ibm1167.h: Likewise.
24747 * iconvdata/ibm12712.h: Likewise.
24748 * iconvdata/ibm1390.h: Likewise.
24749 * iconvdata/ibm1399.h: Likewise.
24750 * iconvdata/ibm16804.h: Likewise.
24751 * iconvdata/ibm4517.h: Likewise.
24752 * iconvdata/ibm4899.h: Likewise.
24753 * iconvdata/ibm4909.h: Likewise.
24754 * iconvdata/ibm4971.h: Likewise.
24755 * iconvdata/ibm5347.h: Likewise.
24756 * iconvdata/ibm803.h: Likewise.
24757 * iconvdata/ibm856.h: Likewise.
24758 * iconvdata/ibm901.h: Likewise.
24759 * iconvdata/ibm902.h: Likewise.
24760 * iconvdata/ibm9030.h: Likewise.
24761 * iconvdata/ibm9066.h: Likewise.
24762 * iconvdata/ibm921.h: Likewise.
24763 * iconvdata/ibm922.h: Likewise.
24764 * iconvdata/ibm9448.h: Likewise.
24765 * iconvdata/isiri-3342.h: Likewise.
24766 * iconvdata/jis0201.h: Likewise.
24767 * include/link.h: Likewise.
24768 * include/netdb.h: Likewise.
24769 * inet/check_native.c: Likewise.
24770 * inet/check_pf.c: Likewise.
24771 * inet/getipv4sourcefilter.c: Likewise.
24772 * inet/getnameinfo.c: Likewise.
24773 * inet/getsourcefilter.c: Likewise.
24774 * inet/htonl.c: Likewise.
24775 * inet/setipv4sourcefilter.c: Likewise.
24776 * inet/setsourcefilter.c: Likewise.
24777 * inet/test-inet6_opt.c: Likewise.
24778 * inet/tst-network.c: Likewise.
24779 * locale/C-collate.c: Likewise.
24780 * locale/C-ctype.c: Likewise.
24781 * locale/C-time.c: Likewise.
24782 * locale/C-translit.h: Likewise.
24783 * locale/loadarchive.c: Likewise.
24784 * locale/programs/3level.h: Likewise.
24785 * locale/programs/charmap.c: Likewise.
24786 * locale/programs/charmap.h: Likewise.
24787 * locale/programs/ld-address.c: Likewise.
24788 * locale/programs/ld-collate.c: Likewise.
24789 * locale/programs/ld-ctype.c: Likewise.
24790 * locale/programs/ld-identification.c: Likewise.
24791 * locale/programs/ld-measurement.c: Likewise.
24792 * locale/programs/ld-messages.c: Likewise.
24793 * locale/programs/ld-monetary.c: Likewise.
24794 * locale/programs/ld-name.c: Likewise.
24795 * locale/programs/ld-numeric.c: Likewise.
24796 * locale/programs/ld-paper.c: Likewise.
24797 * locale/programs/ld-telephone.c: Likewise.
24798 * locale/programs/ld-time.c: Likewise.
24799 * locale/programs/linereader.c: Likewise.
24800 * locale/programs/locale.c: Likewise.
24801 * locale/programs/locarchive.c: Likewise.
24802 * locale/programs/locfile.h: Likewise.
24803 * locale/programs/repertoire.c: Likewise.
24804 * locale/programs/simple-hash.c: Likewise.
24805 * locale/programs/simple-hash.h: Likewise.
24806 * malloc/memusage.c: Likewise.
24807 * malloc/memusagestat.c: Likewise.
24808 * nis/nis_defaults.c: Likewise.
24809 * nis/nis_hash.c: Likewise.
24810 * nis/nis_print.c: Likewise.
24811 * nis/nis_xdr.c: Likewise.
24812 * nscd/connections.c: Likewise.
24813 * nscd/hstcache.c: Likewise.
24814 * nscd/nscd_gethst_r.c: Likewise.
24815 * nscd/nscd_getserv_r.c: Likewise.
24816 * nscd/nscd_helper.c: Likewise.
24817 * nscd/servicescache.c: Likewise.
24818 * nss/makedb.c: Likewise.
24819 * nss/nss_db/db-XXX.c: Likewise.
24820 * nss/nss_db/db-initgroups.c: Likewise.
24821 * nss/nss_db/db-netgrp.c: Likewise.
24822 * nss/nss_files/files-network.c: Likewise.
24823 * nss/nss_files/files-parse.c: Likewise.
24824 * posix/bug-regex5.c: Likewise.
24825 * posix/fnmatch_loop.c: Likewise.
24826 * posix/regcomp.c: Likewise.
24827 * posix/regexec.c: Likewise.
24828 * posix/tst-rfc3484-2.c: Likewise.
24829 * posix/tst-rfc3484-3.c: Likewise.
24830 * posix/tst-rfc3484.c: Likewise.
24831 * resolv/nss_dns/dns-canon.c: Likewise.
24832 * resolv/nss_dns/dns-network.c: Likewise.
24833 * resolv/res_init.c: Likewise.
24834 * resolv/res_mkquery.c: Likewise.
24835 * resolv/tst-aton.c: Likewise.
24836 * stdlib/cxa_atexit.c: Likewise.
24837 * stdlib/cxa_finalize.c: Likewise.
24838 * stdlib/gen-fpioconst.c: Likewise.
24839 * stdlib/strtol_l.c: Likewise.
24840 * string/tst-endian.c: Likewise.
24841 * sunrpc/auth_des.c: Likewise.
24842 * sunrpc/clnt_udp.c: Likewise.
24843 * sunrpc/rtime.c: Likewise.
24844 * sunrpc/svcauth_des.c: Likewise.
24845 * sunrpc/xdr.c: Likewise.
24846 * sunrpc/xdr_intXX_t.c: Likewise.
24847 * sunrpc/xdr_rec.c: Likewise.
24848 * sysdeps/generic/ldconfig.h: Likewise.
24849 * sysdeps/generic/ldsodefs.h: Likewise.
24850 * sysdeps/generic/memusage.h: Likewise.
24851 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24852 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24853 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24854 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24855 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24856 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24857 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24858 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24859 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24860 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24861 * sysdeps/posix/getaddrinfo.c: Likewise.
24862 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24863 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24864 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24865 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24866 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24867 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24868 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24869 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24870 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24871 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24872 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24873 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24874 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24875 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24876 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24877 * sysdeps/x86_64/dl-tls.h: Likewise.
24878 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24879 * time/alt_digit.c: Likewise.
24880 * time/era.c: Likewise.
24881 * wcsmbs/tst-c16c32-1.c: Likewise.
24882
8c75f674
JM
248832013-05-16 Joseph Myers <joseph@codesourcery.com>
24884
24885 * math/libm-test.inc (struct test_sincos_data): New type.
24886 (RUN_TEST_LOOP_sincos): New macro.
24887 (sincos_test_data): New variable.
24888 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24889
e6e49e59
RH
248902013-05-16 Richard Henderson <rth@redhat.com>
24891
24892 * math/atest-exp2.c (LIMB64): New macro.
24893 (CONSTSZ): New macro.
24894 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24895 (hexdig): Move ...
24896 (print_mpn_fp): ... to function scope.
24897 (read_mpn_hex): Remove.
24898 (get_log2): Remove.
24899 (exp2_mpn): Use mp_log2.
24900 (main): Use mp_exp1.
24901
15c7c18d
JM
249022013-05-16 Joseph Myers <joseph@codesourcery.com>
24903
105a07df
JM
24904 * math/libm-test.inc: Remove comment about not testing "inexact"
24905 exceptions.
24906 (INEXACT_EXCEPTION): New macro.
24907 (NO_INEXACT_EXCEPTION): Likewise.
24908 (INVALID_EXCEPTION_OK): Update value.
24909 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24910 (OVERFLOW_EXCEPTION_OK): Likewise.
24911 (UNDERFLOW_EXCEPTION_OK): Likewise.
24912 (IGNORE_ZERO_INF_SIGN): Likewise.
24913 (ERRNO_UNCHANGED): Likewise.
24914 (ERRNO_EDOM): Likewise.
24915 (ERRNO_ERANGE): Likewise.
24916 (test_exceptions): Handle testing "inexact" exceptions.
24917 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24918 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24919 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24920 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24921 INEXACT_EXCEPTION.
24922 (rint_towardzero_test_data): Likewise.
24923 (rint_downward_test_data): Likewise.
24924 (rint_upward_test_data): Likewise.
24925
e9eee333
JM
24926 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24927 with OVERFLOW_EXCEPTION.
24928 (exp10_test_data): Likewise.
24929 (exp2_test_data): Likewise.
24930 (expm1_test_data): Likewise.
24931 (lgamma_test_data): Likewise.
24932 (pow_test_data): Likewise.
24933 (tgamma_test_data): Likewise.
24934 (yn_test_data): Remove duplicate test of overflow.
24935
1c38ff73
JM
24936 * math/libm-test.inc (struct test_cc_c_data): New type.
24937 (RUN_TEST_LOOP_cc_c): New macro.
24938 (cpow_test_data): New variable.
24939 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24940
15c7c18d
JM
24941 * math/libm-test.inc (struct test_f_L_data): New type.
24942 (RUN_TEST_LOOP_f_L): New macro.
24943 (llrint_test_data): New variable.
24944 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24945 (llrint_tonearest_test_data): New variable.
24946 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24947 (llrint_towardzero_test_data): New variable.
24948 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24949 (llrint_downward_test_data): New variable.
24950 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24951 (llrint_upward_test_data): New variable.
24952 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24953 (llround_test_data): New variable.
24954 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24955
f137ff13
PC
249562013-05-13 Peter Collingbourne <pcc@google.com>
24957
24958 * math/atest-exp2.c (get_log2): Remove const attribute.
24959
3608cb24
JM
249602013-05-15 Joseph Myers <joseph@codesourcery.com>
24961
24962 * math/libm-test.inc (struct test_f_l_data): New type.
24963 (RUN_TEST_LOOP_f_l): New macro.
24964 (lrint_test_data): New variable.
24965 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24966 (lrint_tonearest_test_data): New variable.
24967 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24968 (lrint_towardzero_test_data): New variable.
24969 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24970 (lrint_downward_test_data): New variable.
24971 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24972 (lrint_upward_test_data): New variable.
24973 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24974 (lround_test_data): New variable.
24975 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24976
39b1f617
PC
249772013-05-15 Peter Collingbourne <pcc@google.com>
24978
1deff3dc
PC
24979 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24980 (EXTRACT_WORDS64) Use where appropriate.
24981 (INSERT_WORDS64) Likewise.
24982
791f3ba0
PC
24983 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24984 constraints with x constraints.
24985 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24986
39b1f617
PC
24987 * malloc/obstack.c (_obstack_compat): Add initializer.
24988
12fba011
EM
249892013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24990
24991 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24992 si_trapno and add si_addr_lsb to _sifields.sigfault.
24993 (si_trapno): Remove macro.
24994 (si_addr_lsb): Define new macro.
24995 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24996
d369f531
JM
249972013-05-15 Joseph Myers <joseph@codesourcery.com>
24998
b861c6c4
JM
24999 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25000 instead of TEST_f_l.
25001 (llrint_test_tonearest): Likewise.
25002 (llrint_test_towardzero): Likewise.
25003 (llrint_test_downward): Likewise.
25004 (llrint_test_upward): Likewise.
25005 (llround_test): Likewise.
25006
7abeee12
JM
25007 * math/libm-test.inc (struct test_f_i_data): Add comment.
25008 (RUN_TEST_LOOP_f_b): New macro.
25009 (RUN_TEST_LOOP_f_b_tg): Likewise.
25010 (finite_test_data): New variable.
25011 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25012 (isfinite_test_data): New variable.
25013 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25014 (isinf_test_data): New variable.
25015 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25016 (isnan_test_data): New variable.
25017 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25018 (isnormal_test_data): New variable.
25019 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25020 (issignaling_test_data): New variable.
25021 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25022 (signbit_test_data): New variable.
25023 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25024
cbe8c4d3
JM
25025 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25026 with INVALID_EXCEPTION.
25027 (acosh_test_data): Likewise.
25028 (asin_test_data): Likewise.
25029 (atanh_test_data): Likewise.
25030 (fmod_test_data): Likewise.
25031 (log_test_data): Likewise.
25032 (log10_test_data): Likewise.
25033 (log2_test_data): Likewise.
25034 (pow_test_data): Likewise.
25035 (sqrt_test_data): Likewise.
25036 (y0_test_data): Likewise.
25037 (y1_test_data): Likewise.
25038 (yn_test_data): Likewise.
25039
5575c0e5
JM
25040 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25041 function contents.
25042
d369f531
JM
25043 * math/libm-test.inc (struct test_ff_i_data): New type.
25044 (RUN_TEST_LOOP_ff_i_tg): New macro.
25045 (isgreater_test_data): New variable.
25046 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25047 (isgreaterequal_test_data): New variable.
25048 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25049 (isless_test_data): New variable.
25050 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25051 (islessequal_test_data): New variable.
25052 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25053 (islessgreater_test_data): New variable.
25054 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25055 (isunordered_test_data): New variable.
25056 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25057
781fd748
DM
250582013-05-14 David S. Miller <davem@davemloft.net>
25059
25060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25061
87aa21df
JM
250622013-05-14 Joseph Myers <joseph@codesourcery.com>
25063
5e908270
JM
25064 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25065
f71172e5
JM
25066 * math/libm-test.inc (struct test_fF_f1_data): Change type of
25067 extra_test to int.
25068 (struct test_f_i_data): Change type of max_ulp to int.
25069
8cfa635a
JM
25070 * math/libm-test.inc (test_ffI_f1_data): New type.
25071 (RUN_TEST_LOOP_ffI_f1): New macro.
25072 (remquo_test_data): New variable.
25073 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25074
2bcb36b2
JM
25075 * setjmp/tst-setjmp-fp.c: New file.
25076 * setjmp/Makefile (tests): Add tst-setjmp-fp.
25077 (link-libm): New variable.
25078 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25079
acbd839a
JM
25080 * math/libm-test.inc (struct test_f_i_data): New type.
25081 (RUN_TEST_LOOP_f_i): New macro.
25082 (RUN_TEST_LOOP_f_i_tg): Likewise.
25083 (fpclassify_test_data): New variable.
25084 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25085 (ilogb_test_data): New variable.
25086 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25087
e414d745
JM
25088 * math/libm-test.inc (scalbln_test): Correct function name in END
25089 call.
25090
d9c2a0fd
JM
25091 * math/libm-test.inc (struct test_f_f1_data): Add comment.
25092 (RUN_TEST_LOOP_fI_f1): New macro.
25093 (frexp_test_data): New variable.
25094 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25095
9dc9095d
JM
25096 * math/libm-test.inc (struct test_fF_f1_data): New type.
25097 (RUN_TEST_LOOP_fF_f1): New macro.
25098 (modf_test_data): New variable.
25099 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25100
87aa21df
JM
25101 * math/libm-test.inc (struct test_f_f1_data): New type.
25102 (RUN_TEST_LOOP_f_f1): New macro.
25103 (gamma_test_data): New variable.
25104 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25105 (lgamma_test_data): New variable.
25106 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25107
141af660
CD
251082013-05-13 Carlos O'Donell <carlos@redhat.com>
25109
25110 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25111 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25112 (main): Comment "tls" pseudo-hwcap.
25113
6d33265c
JM
251142013-05-13 Joseph Myers <joseph@codesourcery.com>
25115
68fc074c
JM
25116 * math/libm-test.inc (struct test_fl_f_data): New type.
25117 (RUN_TEST_LOOP_fl_f): New variable.
25118 (scalbln_test_data): New variable.
25119 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25120
243216e1
JM
25121 * math/libm-test.inc (struct test_fi_f_data): New type.
25122 (RUN_TEST_LOOP_fi_f): New macro.
25123 (ldexp_test_data): New variable.
25124 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25125 (scalbn_test_data): New variable.
25126 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25127
6a1992e2
JM
25128 * math/libm-test.inc (struct test_c_f_data): New type.
25129 (RUN_TEST_LOOP_c_f): New macro.
25130 (cabs_test_data): New variable.
25131 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25132 (carg_test_data): New variable.
25133 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25134 (cimag_test_data): New variable.
25135 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25136 (creal_test_data): New variable.
25137 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25138
0e400df5
JM
25139 * math/libm-test.inc (struct test_if_f_data): New type.
25140 (RUN_TEST_LOOP_if_f): New macro.
25141 (jn_test_data): New variable.
25142 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25143 (yn_test_data): New variable.
25144 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25145
6d33265c
JM
25146 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25147
f98ece5f
AZ
251482013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25149
25150 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25151 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25152
0f7d347b
SP
251532013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25154
43fe811b
SP
25155 * benchtests/Makefile (CPPFLAGS-nonlib): Add
25156 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25157 (bench-deps): Add bench-timing.h.
25158 * benchtests-bench-skeleton.c: Include bench-timing.h.
25159 (main): Use TIMING_* macros instead of clock_gettime.
25160 * benchtests/bench-timing.h: New file.
25161
0f7d347b
SP
25162 [BZ #14582]
25163 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25164 Renamed from _LIB_VERSION.
25165 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25166
601a3a5f
JM
251672013-05-12 Joseph Myers <joseph@codesourcery.com>
25168
4f184d30
JM
25169 * math/libm-test.inc (struct test_fff_f_data): New type.
25170 (RUN_TEST_LOOP_fff_f): New macro.
25171 (fma_test_data): New variable.
25172 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25173 (fma_towardzero_test_data): New variable.
25174 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25175 (fma_downward_test_data): New variable.
25176 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25177 (fma_upward_test_data): New variable.
25178 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25179
08198877
JM
25180 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25181 (struct test_c_c_data): New type.
25182 (RUN_TEST_LOOP_c_c): New macro.
25183 (cacos_test_data): New variable.
25184 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25185 (cacosh_test_data): New variable.
25186 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25187 (casin_test_data): New variable.
25188 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25189 (casinh_test_data): New variable.
25190 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25191 (catan_test_data): New variable.
25192 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25193 (catanh_test_data): New variable.
25194 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25195 (ccos_test_data): New variable.
25196 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25197 (ccosh_test_data): New variable.
25198 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25199 (cexp_test_data): New variable.
25200 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25201 (clog_test_data): New variable.
25202 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25203 (clog10_test_data): New variable.
25204 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25205 (conj_test_data): New variable.
25206 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25207 (cproj_test_data): New variable.
25208 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25209 (csin_test_data): New variable.
25210 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25211 (csinh_test_data): New variable.
25212 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25213 (csqrt_test_data): New variable.
25214 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25215 (ctan_test_data): New variable.
25216 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25217 (ctan_tonearest_test_data): New variable.
25218 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25219 (ctan_towardzero_test_data): New variable.
25220 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25221 (ctan_downward_test_data): New variable.
25222 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25223 (ctan_upward_test_data): New variable.
25224 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25225 (ctanh_test_data): New variable.
25226 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25227 (ctanh_tonearest_test_data): New variable.
25228 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25229 (ctanh_towardzero_test_data): New variable.
25230 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25231 (ctanh_downward_test_data): New variable.
25232 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25233 (ctanh_upward_test_data): New variable.
25234 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25235 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25236 of BUILD_COMPLEX.
25237
601a3a5f
JM
25238 * math/libm-test.inc (struct test_ff_f_data): New type.
25239 (struct test_ff_f_data_nexttoward): Likewise.
25240 (RUN_TEST_LOOP_2_f): New macro.
25241 (RUN_TEST_LOOP_ff_f): Likewise.
25242 (atan2_test_data): New variable.
25243 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25244 (copysign_test_data): New variable.
25245 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25246 (fdim_test_data): New variable.
25247 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25248 (fmax_test_data): New variable.
25249 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25250 (fmin_test_data): New variable.
25251 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25252 (fmod_test_data): New variable.
25253 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25254 (hypot_test_data): New variable.
25255 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25256 (nextafter_test_data): New variable.
25257 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25258 (nexttoward_test_data): New variable.
25259 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25260 (pow_test_data): New variable.
25261 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25262 (pow_tonearest_test_data): New variable.
25263 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25264 (pow_towardzero_test_data): New variable.
25265 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25266 (pow_downward_test_data): New variable.
25267 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25268 (pow_upward_test_data): New variable.
25269 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25270 (remainder_test_data): New variable.
25271 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25272 (scalb_test_data): New variable.
25273 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25274 * sysdeps/i386/fpu/libm-test-ulps: Update.
25275
74c57478
JM
252762013-05-11 Joseph Myers <joseph@codesourcery.com>
25277
8329e4da
JM
25278 * math/libm-test.inc (fma_test): Use max_value instead of local
25279 variable fltmax.
25280 (nextafter_test): Likewise.
25281
74c57478
JM
25282 * math/libm-test.inc (acos_towardzero_test_data): New variable.
25283 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25284 (acos_downward_test_data): New variable.
25285 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25286 (acos_upward_test_data): New variable.
25287 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25288 (acosh_test_data): New variable.
25289 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25290 (asin_test_data): New variable.
25291 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25292 (asin_tonearest_test_data): New variable.
25293 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25294 (asin_towardzero_test_data): New variable.
25295 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25296 (asin_downward_test_data): New variable.
25297 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25298 (asin_upward_test_data): New variable.
25299 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25300 (asinh_test_data): New variable.
25301 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25302 (atan_test_data): New variable.
25303 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25304 (atanh_test_data): New variable.
25305 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25306 (cbrt_test_data): New variable.
25307 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25308 (ceil_test_data): New variable.
25309 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25310 (cos_test_data): New variable.
25311 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25312 (cos_tonearest_test_data): New variable.
25313 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25314 (cos_towardzero_test_data): New variable.
25315 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25316 (cos_downward_test_data): New variable.
25317 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25318 (cos_upward_test_data): New variable.
25319 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25320 (cosh_test_data): New variable.
25321 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25322 (cosh_tonearest_test_data): New variable.
25323 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25324 (cosh_towardzero_test_data): New variable.
25325 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25326 (cosh_downward_test_data): New variable.
25327 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25328 (cosh_upward_test_data): New variable.
25329 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25330 (erf_test_data): New variable.
25331 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25332 (erfc_test_data): New variable.
25333 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25334 (exp_test_data): New variable.
25335 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25336 (exp_tonearest_test_data): New variable.
25337 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25338 (exp_towardzero_test_data): New variable.
25339 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25340 (exp_downward_test_data): New variable.
25341 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25342 (exp_upward_test_data): New variable.
25343 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25344 (exp10_test_data): New variable.
25345 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25346 (exp2_test_data): New variable.
25347 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25348 (expm1_test_data): New variable.
25349 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25350 (fabs_test_data): New variable.
25351 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25352 (floor_test_data): New variable.
25353 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25354 (j0_test_data): New variable.
25355 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25356 (j1_test_data): New variable.
25357 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25358 (log_test_data): New variable.
25359 (log_test): Run tests with RUN_TEST_LOOP_f_f.
25360 (log10_test_data): New variable.
25361 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25362 (log1p_test_data): New variable.
25363 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25364 (log2_test_data): New variable.
25365 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25366 (logb_test_data): New variable.
25367 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25368 (logb_downward_test_data): New variable.
25369 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25370 (nearbyint_test_data): New variable.
25371 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25372 (rint_test_data): New variable.
25373 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25374 (rint_tonearest_test_data): New variable.
25375 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25376 (rint_towardzero_test_data): New variable.
25377 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25378 (rint_downward_test_data): New variable.
25379 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25380 (rint_upward_test_data): New variable.
25381 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25382 (round_test_data): New variable.
25383 (round_test): Run tests with RUN_TEST_LOOP_f_f.
25384 (sin_test_data): New variable.
25385 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25386 (sin_tonearest_test_data): New variable.
25387 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25388 (sin_towardzero_test_data): New variable.
25389 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25390 (sin_downward_test_data): New variable.
25391 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25392 (sin_upward_test_data): New variable.
25393 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25394 (sinh_test_data): New variable.
25395 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25396 (sinh_tonearest_test_data): New variable.
25397 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25398 (sinh_towardzero_test_data): New variable.
25399 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25400 (sinh_downward_test_data): New variable.
25401 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25402 (sinh_upward_test_data): New variable.
25403 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25404 (sqrt_test_data): New variable.
25405 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25406 (tan_test_data): New variable.
25407 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25408 (tan_tonearest_test_data): New variable.
25409 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25410 (tan_towardzero_test_data): New variable.
25411 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25412 (tan_downward_test_data): New variable.
25413 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25414 (tan_upward_test_data): New variable.
25415 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25416 (tanh_test_data): New variable.
25417 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25418 (tgamma_test_data): New variable.
25419 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25420 (trunc_test_data): New variable.
25421 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25422 (y0_test_data): New variable.
25423 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25424 (y1_test_data): New variable.
25425 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25426 (significand_test_data): New variable.
25427 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25428
7187d844
CG
254292013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
25430
25431 [BZ #12387]
25432 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25433
f63fae73
PT
254342013-05-10 Pino Toscano <toscano.pino@tiscali.it>
25435
25436 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25437
8a67a4b3
AJ
254382013-05-10 Andreas Jaeger <aj@suse.de>
25439
25440 [BZ #15448]
25441 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25442 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25443
51df539d
JM
254442013-05-10 Joseph Myers <joseph@codesourcery.com>
25445
25446 * math/gen-libm-test.pl (adjust_arg): New function.
25447 (special_functions): Handle generating output in both functions
25448 and arrays.
25449 (parse_args): Likewise.
25450 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
25451 $in_func argument to parse_args.
25452 * math/libm-test.inc (struct test_f_f_data): New type.
25453 (IF_ROUND_INIT_): New macro.
25454 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25455 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25456 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25457 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25458 (ROUND_RESTORE_): Likewise.
25459 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25460 (ROUND_RESTORE_FE_TONEAREST): Likewise.
25461 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25462 (ROUND_RESTORE_FE_UPWARD): Likewise.
25463 (RUN_TEST_LOOP_f_f): New macro.
25464 (acos_test_data): New variable.
25465 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25466 (acos_tonearest_test_data): New variable.
25467 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25468
5c637fe5
SP
254692013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25470
25471 * benchtests/bench-skeleton.c (startup): Fix coding style.
25472
ab2b9461
JM
254732013-05-10 Joseph Myers <joseph@codesourcery.com>
25474
25475 [BZ #6809]
25476 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25477 negative infinity argument.
25478 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25479 negative infinity argument.
25480 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25481 negative infinity argument.
25482 * math/libm-test.inc (tgamma_test): Expect errno to be set for
25483 domain errors.
25484
4c0fe6fe
FW
254852013-05-10 Florian Weimer <fweimer@redhat.com>
25486
25487 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25488 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25489 * iconv/iconv_prog.c (main): Likewise.
25490 * locale/programs/charmap-dir.c (charmap_readdir)
25491 (fopen_uncompressed): Likewise.
25492 * locale/programs/locfile.c (siblings_uncached)
25493 (write_locale_data): Use lstat64 instead of lstat.
25494 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25495 stat.
25496
a3375d29
AJ
254972013-05-10 Andreas Jaeger <aj@suse.de>
25498
25499 [BZ #15395]
25500 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25501 localization.
25502 Include <locale.h>.
25503
36129722
CD
255042013-05-09 Carlos O'Donell <carlos@redhat.com>
25505
25506 * elf/dl-close.c (_dl_close_worker): Add comments.
25507
faa7f811
JM
255082013-05-09 Joseph Myers <joseph@codesourcery.com>
25509
ed41ffef
JM
25510 [BZ #15359]
25511 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25512 high part of pi/2.
25513 (__ieee754_rem_pio2l): Update comments.
25514
d0213cd0
JM
25515 [BZ #15429]
25516 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25517 high part of pi/2.
25518 (__ieee754_rem_pio2l): Update comments.
25519
0d3e777a
JM
25520 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25521 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25522
24f56066
JM
25523 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25524 M_PI_4l.
25525
faa7f811
JM
25526 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25527 (M_PI_34_LOG10El): Likewise.
25528 (M_PI2_LOG10El): Likewise.
25529 (M_PI4_LOG10El): Likewise.
25530 (M_PI_LOG10El): Likewise.
25531
e9a5e0fd
AZ
255322013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25533
25534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25535
d8cd06db
JM
255362013-05-08 Joseph Myers <joseph@codesourcery.com>
25537
a0d9f9d7
JM
25538 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25539 (MINUS_ZERO_INIT): Likewise.
25540 (PLUS_INFTY_INIT): Likewise.
25541 (MINUS_INFTY_INIT): Likewise.
25542 (QNAN_VALUE_INIT): Likewise.
25543 (MAX_VALUE_INIT): Likewise.
25544 (MIN_VALUE_INIT): Likewise.
25545 (MIN_SUBNORM_VALUE_INIT): Likewise.
25546 (plus_zero): Initialize with PLUS_ZERO_INIT.
25547 (minus_zero): Initialize with MINUS_ZERO_INIT.
25548 (plus_infty): Initialize with PLUS_INFTY_INIT.
25549 (minus_infty): Initialize with MINUS_INFTY_INIT.
25550 (qnan_value): Initialize with QNAN_VALUE_INIT.
25551 (max_value): Initialize with MAX_VALUE_INIT.
25552 (min_value): Initialize with MIN_VALUE_INIT.
25553 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25554
ae08db3b
JM
25555 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25556 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25557 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25558 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25559
f44bf14a
JM
25560 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25561 (RUN_TEST_2_f): Likewise.
25562 (RUN_TEST_ff_f): Likewise.
25563 (RUN_TEST_fi_f): Likewise.
25564 (RUN_TEST_fl_f): Likewise.
25565 (RUN_TEST_fff_f): Likewise.
25566 (RUN_TEST_c_f): Likewise.
25567 (RUN_TEST_f_f1): Likewise.
25568 (RUN_TEST_fF_f1): Likewise.
25569 (RUN_TEST_fI_f1): Likewise.
25570 (RUN_TEST_ffI_f1): Likewise.
25571 (RUN_TEST_c_c): Likewise.
25572 (RUN_TEST_cc_c): Likewise.
25573 (RUN_TEST_f_i): Likewise.
25574 (RUN_TEST_f_i_tg): Likewise.
25575 (RUN_TEST_ff_i_tg): Likewise.
25576 (RUN_TEST_f_b): Likewise.
25577 (RUN_TEST_f_b_tg): Likewise.
25578 (RUN_TEST_f_l): Likewise.
25579 (RUN_TEST_f_L): Likewise.
25580 (RUN_TEST_sincos): Likewise.
25581 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25582 whether to show exceptions. Do not include ");\n" in return
25583 value.
25584 (special_functions): Output call to RUN_TEST_sincos instead of
25585 check_float calls. Update calls to new_test.
25586 (parse_args): Output call to single RUN_TEST_* macro instead of
25587 check_* calls and other assignments. Update calls to new_test.
25588
d8cd06db
JM
25589 [BZ #2546]
25590 [BZ #2560]
25591 [BZ #5159]
25592 [BZ #15426]
25593 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25594 input to result for tgamma overflow.
25595 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25596 (gamma_coeff): New variable.
25597 (NCOEFF): New macro.
25598 (gamma_positive): New function.
25599 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25600 underflow here. Use gamma_positive instead of exp (lgamma) for
25601 other arguments.
25602 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25603 (gamma_coeff): New variable.
25604 (NCOEFF): New macro.
25605 (gammaf_positive): New function.
25606 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25607 underflow here. Use gamma_positive instead of exp (lgamma) for
25608 other arguments.
25609 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25610 (gamma_coeff): New variable.
25611 (NCOEFF): New macro.
25612 (gammal_positive): New function.
25613 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25614 underflow here. Use gamma_positive instead of exp (lgamma) for
25615 other arguments.
25616 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25617 (gamma_coeff): New variable.
25618 (NCOEFF): New macro.
25619 (gammal_positive): New function.
25620 (__ieee754_gammal_r): Handle positive infinity, overflow and
25621 underflow here. Handle NaN the same as positive infinity. Remove
25622 check x < 0xffffffff for negative integers. Use gamma_positive
25623 instead of exp (lgamma) for other arguments.
25624 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25625 (gamma_coeff): New variable.
25626 (NCOEFF): New macro.
25627 (gammal_positive): New function.
25628 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25629 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25630 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25631 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25632 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25633 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25634 * sysdeps/generic/math_private.h (__gamma_productf): New
25635 prototype.
25636 (__gamma_product): Likewise.
25637 (__gamma_productl): Likewise.
25638 * math/Makefile (libm-calls): Add gamma_product.
25639 * math/libm-test.inc (tgamma_test): Add more tests.
25640 * sysdeps/i386/fpu/libm-test-ulps: Update.
25641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25642
bb7cf681
OB
256432013-05-08 Ondřej Bílka <neleai@seznam.cz>
25644
25645 * benchtests/bench-skeleton.c (main): Preheat CPU.
25646
ba853947
AJ
256472013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25648
25649 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25650
8347c74c
RM
256512013-05-07 Roland McGrath <roland@hack.frob.com>
25652
25653 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25654 and _dl_skip_args_internal.
25655
e8dd4791
CD
256562013-05-07 Carlos O'Donell <carlos@redhat.com>
25657
25658 * manual/message.texi (Message Translation): Talk about users.
25659 Message to key mapping impacts design.
25660
c7405830
RM
256612013-05-06 Roland McGrath <roland@hack.frob.com>
25662
a9173057
RM
25663 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25664
976e2f03
RM
25665 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25666
9723ffc5
RM
25667 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25668 * sysdeps/wordsize-64/glob64.c: ... here.
25669
962e6658
RM
25670 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25671 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25672 New macros.
25673
ee586a6d
RM
25674 * debug/getlogin_r_chk.c: Moved to ...
25675 * login/getlogin_r_chk.c: ... here.
25676 * debug/Makefile (routines): Move getlogin_r_chk to ...
25677 * login/Makefile (routines): ... here.
25678 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25679 * login/Versions (libc: GLIBC_2.4): ... here.
25680
355f9165
RM
25681 * io/poll.c (__poll): Renamed from poll.
25682 Add libc_hidden_def.
25683 (poll): Define as weak alias.
25684
bd9ffde6
RM
25685 * debug/ptsname_r_chk.c: Moved to ...
25686 * login/ptsname_r_chk.c: ... here.
25687 * debug/Makefile (routines): Move ptsname_r_chk to ...
25688 * login/Makefile (routines): ... here.
25689 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25690 * login/Versions (libc: GLIBC_2.4): ... here.
25691
8fb16a04
RM
25692 * posix/getlogin.c: Moved to ...
25693 * login/getlogin.c: ... here.
25694 * posix/getlogin_r.c: Moved to ...
25695 * login/getlogin_r.c: ... here.
25696 * posix/getlogin_r.c: Moved to ...
25697 * login/getlogin_r.c: ... here.
25698 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25699 * login/Makefile (routines): ... here.
25700 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25701 * login/Versions (libc: GLIBC_2.0): ... here.
25702
b99b892f
RM
25703 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25704 (setrlimit): Define as weak alias.
25705
c7405830
RM
25706 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25707 Call __ names for open, ftruncate, and close.
25708 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25709 (truncate): Define as weak alias.
25710
5bf96de5
JM
257112013-05-06 Joseph Myers <joseph@codesourcery.com>
25712
9ea3513c
JM
25713 * math/gen-libm-test.pl (parse_args): Initialize x before each
25714 test of frexp, modf and remquo.
25715
5bf96de5
JM
25716 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25717 test signgam value.
25718
16e616a7
AZ
257192013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25720
25721 [BZ #15418]
25722 [BZ #15419]
25723 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25724 internal tests.
25725 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25726
d5e82754
RM
257272013-05-06 Roland McGrath <roland@hack.frob.com>
25728
25729 * elf/dl-writev.h: New file.
25730 * elf/dl-misc.c: Include it.
25731 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25732 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25733
a7548d41
JM
257342013-05-04 Joseph Myers <joseph@codesourcery.com>
25735
b7dab1e4
JM
25736 * math/libm-test.inc (noXFails): Remove variable.
25737 (noXPasses): Likewise.
25738 (BUILD_COMPLEX_INT): Remove macro.
25739 (print_screen): Remove xfail argument.
25740 (print_screen_max_error): Likewise.
25741 (update_stats): Likewise.
25742 (print_max_error): Likewise. Update calls to other affected
25743 functions.
25744 (print_complex_max_error): Likewise.
25745 (test_single_exception): Update calls to print_screen.
25746 (test_single_errno): Likewise.
25747 (check_float_internal): Remove xfail argument. Update calls to
25748 other affected functions.
25749 (check_float): Likewise.
25750 (check_complex): Likewise.
25751 (check_int): Likewise.
25752 (check_long): Likewise.
25753 (check_bool): Likewise.
25754 (check_longlong): Likewise.
25755 (main): Don't print noXFails and noXPasses.
25756 * math/gen-libm-test.pl (top level): Don't mention expected
25757 failure handling in comment.
25758 (new_test): Don't handle expected failures.
25759 (parse_args): Don't mention expected failure handling in comment.
25760 (generate_testfile): Don't handle expected failures.
25761 (parse_ulps): Likewise.
25762 (print_ulps_file): Likewise.
25763 (get_failure): Remove function.
25764 (output_test): Don't handle expected failures.
25765 * make/README.libm-test: Don't mention expected failure handling.
25766
a7548d41
JM
25767 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25768 (minus_zero): Likewise.
25769 (plus_infty): Likewise.
25770 (minus_infty): Likewise.
25771 (qnan_value): Likewise.
25772 (max_value): Likewise.
25773 (min_value): Likewise.
25774 (min_subnorm_value): Likewise.
25775 (initialize): Do not initialize those variables dynamically.
25776
60bfd54c
RM
257772013-05-03 Roland McGrath <roland@hack.frob.com>
25778
cc0e6ed8
RM
25779 * io/open.c (__open_2): Moved to ...
25780 * io/open_2.c: ... this new file.
25781 * io/open64.c (__open64_2): Moved to ...
25782 * io/open64_2.c: ... this new file.
25783 * io/openat.c (__openat_2): Moved to ...
25784 * io/openat_2.c: ... this new file.
25785 * io/openat64.c (__openat64_2): Moved to ...
25786 * io/openat64_2.c: ... this new file.
25787 * io/Makefile (routines): Add them.
25788 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25789 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25790 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25791 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25792 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25793 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25794 (__openat64): Add hidden_ver.
25795 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25796 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25797
60bfd54c
RM
25798 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25799 Separately conditionalize setting of GLRO(dl_sysinfo) so
25800 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25801 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25802
83e7640f
AZ
258032013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25804
25805 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25806 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25807 definition.
25808 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25809 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25810 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25811 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25812 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25813
d5dc2af3
JM
258142013-05-03 Joseph Myers <joseph@codesourcery.com>
25815
c31a5b1e
JM
25816 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25817 test signgam value.
25818
d5dc2af3
JM
25819 * math/libm-test.inc (hypot_test): Do not use
25820 IGNORE_ZERO_INF_SIGN.
25821
164fd39d
AJ
258222013-05-03 Andreas Jaeger <aj@suse.de>
25823
25824 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25825 Linux 3.9.
25826 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25827 (PF_MAX): Adjust for VSOCK change.
25828
8237f48c
AZ
258292013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25830
25831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25832
9df02941
CD
258332013-05-02 Carlos O'Donell <carlos@redhat.com>
25834
25835 [BZ #15264]
25836 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25837 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25838 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25839
d422395e
DM
258402013-05-02 David S. Miller <davem@davemloft.net>
25841
25842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25843
a07c5731
OB
258442013-05-01 Ondřej Bílka <neleai@seznam.cz>
25845
25846 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25847
1324e37f
RM
258482013-05-01 Roland McGrath <roland@hack.frob.com>
25849
25850 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25851
0695940b
RS
258522013-05-01 Richard Smith <richard@metafoo.co.uk>
25853
bb5f27ad 25854 [BZ #14952]
0695940b
RS
25855 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25856 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25857 Use __attribute__ ((__gnu_inline__)).
25858 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25859 Don't use __attribute__ ((__gnu_inline__)).
25860
10de07f5
JM
258612013-05-01 Joseph Myers <joseph@codesourcery.com>
25862
25863 [BZ #15423]
25864 * math/s_catan.c (__catan): Handle small real or imaginary part of
25865 input specially to avoid spurious underflow.
25866 * math/s_catanf.c (__catanf): Likewise.
25867 * math/s_catanh.c (__catanh): Likewise.
25868 * math/s_catanhf.c (__catanhf): Likewise.
25869 * math/s_catanhl.c (__catanhl): Likewise.
25870 * math/s_catanl.c (__catanl): Likewise.
25871 * math/libm-test.inc (catan_test): Add more tests.
25872 (catanh_test): Likewise.
25873 * sysdeps/i386/fpu/libm-test-ulps: Update.
25874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25875
cb4d5414
AZ
258762013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25877
25878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25879
caf84319
JM
258802013-04-30 Joseph Myers <joseph@codesourcery.com>
25881
25882 [BZ #15416]
25883 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25884 accurately for denominator in atan2.
25885 * math/s_catanf.c (__catanf): Likewise.
25886 * math/s_catanh.c (__catanh): Likewise.
25887 * math/s_catanhf.c (__catanhf): Likewise.
25888 * math/s_catanhl.c (__catanhl): Likewise.
25889 * math/s_catanl.c (__catanl): Likewise.
25890 * math/libm-test.inc (catan_test): Add more tests.
25891 (catanh_test): Likewise.
25892 * sysdeps/i386/fpu/libm-test-ulps: Update.
25893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25894
d569c6ee
SP
258952013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25896
6dbe713d
SP
25897 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25898
f0ee064b
SP
25899 * benchtests/Makefile (bench): Remove slow benchmarks.
25900 * benchtests/atan-inputs: Add slow benchmark inputs.
25901 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25902 (BENCH_FUNC): Accept variant offset.
25903 (VARIANT): Define.
25904 * benchtests/bench-skeleton.c (main): Run benchmark for each
25905 variant.
25906 * benchtests/cos-inputs: Add slow benchmark inputs.
25907 * benchtests/exp-inputs: Likewise.
25908 * benchtests/pow-inputs: Likewise.
25909 * benchtests/sin-inputs: Likewise.
25910 * benchtests/slowatan-inputs: Remove.
25911 * benchtests/slowatan.c: Remove.
25912 * benchtests/slowcos-inputs: Remove.
25913 * benchtests/slowcos.c: Remove.
25914 * benchtests/slowexp-inputs: Remove.
25915 * benchtests/slowexp.c: Remove.
25916 * benchtests/slowpow-inputs: Remove.
25917 * benchtests/slowpow.c: Remove.
25918 * benchtests/slowsin-inputs: Remove.
25919 * benchtests/slowsin.c: Remove.
25920 * benchtests/slowtan-inputs: Remove.
25921 * benchtests/slowtan.c: Remove.
25922 * benchtests/tan-inputs: Add slow benchmark inputs.
25923 * scripts/bench.pl: Parse comments and directives.
25924
d569c6ee
SP
25925 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25926 in CPPFLAGS.
25927 ($(objpfx)bench-%.c): Remove *-ITER.
25928 * benchtests/bench-modf.c: Remove definition of ITER.
25929 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25930 (main): Loop for DURATION seconds instead of fixed number of
25931 iterations.
25932 * scripts/bench.pl: Don't expect iterations in parameters.
25933
a6a242fe
RM
259342013-04-29 Roland McGrath <roland@hack.frob.com>
25935
25936 * io/fchdir.c (__fchdir): Renamed from fchdir.
25937 (fchdir): Define as weak alias.
25938
f2da7793
JM
259392013-04-29 Joseph Myers <joseph@codesourcery.com>
25940
25941 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25942 (ERRNO_EDOM): Likewise.
25943 (ERRNO_ERANGE): Likewise.
25944 (noErrnoTests): New variable.
25945 (init_max_error): Set errno to 0.
25946 (test_single_errno): New function.
25947 (test_errno): Likewise.
25948 (check_float_internal): Call test_errno. Set errno to 0.
25949 (check_complex): Refer to errno tests in comment.
25950 (check_int): Call test_errno. Set errno to 0.
25951 (check_long): Likewise.
25952 (check_bool): Likewise.
25953 (check_longlong): Likewise.
25954 (cos_test): Use ERRNO_* flags for errno tests instead of
25955 check_int.
25956 (expm1_test): Likewise.
25957 (fmod_test): Likewise.
25958 (ilogb_test): Likewise.
25959 (lgamma_test): Likewise.
25960 (pow_test): Likewise.
25961 (remainder_test): Likewise.
25962 (sin_test): Likewise.
25963 (tan_test): Likewise.
25964 (yn_test): Likewise.
25965 (initialize): Set errno to 0.
25966 (main): Print number of errno tests.
25967 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25968
b1a36ceb
AJ
259692013-04-29 Andreas Jaeger <aj@suse.de>
25970
c3ed8088
AJ
25971 [BZ #15084]
25972 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25973 and RES_USEVC.
25974
f1a24198
AJ
25975 [BZ #15085]
25976 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25977 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25978 unimplemented.
25979
9ce3b2cb
AJ
25980 [BZ #15380]
25981 * stdlib/random.c (__initstate): Return NULL if
25982 __initstate fails.
25983
f1a24198 25984 [BZ #15086]
b1a36ceb
AJ
25985 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25986 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25987 RES_SNGLKUPREOP.
25988
7e7b6f36
AZ
259892013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25990
25991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25992
4d14f449
JM
259932013-04-29 Joseph Myers <joseph@codesourcery.com>
25994
25995 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25996 of individual tests.
25997 (casin_test): Likewise.
25998 (casinh_test): Likewise.
25999
5b4217d7
JM
260002013-04-27 Joseph Myers <joseph@codesourcery.com>
26001
26002 [BZ #15409]
26003 * math/s_catan.c (__catan): Handle arguments with large real or
26004 imaginary part separately without squaring.
26005 * math/s_catanf.c (__catanf): Likewise.
26006 * math/s_catanh.c (__catanh): Likewise.
26007 * math/s_catanhf.c (__catanhf): Likewise.
26008 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26009 and redefine.
26010 (__catanhl): Handle arguments with large real or imaginary part
26011 separately without squaring.
26012 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26013 and redefine.
26014 (__catanl): Handle arguments with large real or imaginary part
26015 separately without squaring.
26016 * math/libm-test.inc (catan_test): Add more tests.
26017 (catanh_test): Likewise.
26018 * sysdeps/i386/fpu/libm-test-ulps: Update.
26019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26020
4220c3ef
AJ
260212013-04-27 Andreas Jaeger <aj@suse.de>
26022
26023 [BZ #15007]
26024 * stdlib/stdlib.h: Update guards for qecvt.
26025 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26026 <stdlib.h>.
26027
4721b2d1
AM
260282013-04-27 Allan McRae <allan@archlinux.org>
26029
26030 * sysdeps/i386/fpu/libm-test-ulps: Update.
26031
f0302940
JM
260322013-04-26 Joseph Myers <joseph@codesourcery.com>
26033
9457fd95
JM
26034 [BZ #15406]
26035 * math/s_catan.c: Include <float.h>.
26036 (__catan): Ensure underflow exception occurs for underflowed
26037 result.
26038 * math/s_catanf.c: Include <float.h>.
26039 (__catanf): Ensure underflow exception occurs for underflowed
26040 result.
26041 * math/s_catanh.c: Include <float.h>.
26042 (__catanh): Ensure underflow exception occurs for underflowed
26043 result.
26044 * math/s_catanhf.c: Include <float.h>.
26045 (__catanhf): Ensure underflow exception occurs for underflowed
26046 result.
26047 * math/s_catanhl.c: Include <float.h>.
26048 (__catanhl): Ensure underflow exception occurs for underflowed
26049 result.
26050 * math/s_catanl.c: Include <float.h>.
26051 (__catanl): Ensure underflow exception occurs for underflowed
26052 result.
26053 * math/libm-test.inc (catan_test): Add more tests.
26054 (catanh_test): Likewise.
26055
f0302940
JM
26056 [BZ #15405]
26057 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26058 underflowed result.
26059 * math/s_ccoshf.c (__ccoshf): Likewise.
26060 * math/s_ccoshl.c (__ccoshl): Likewise.
26061 * math/s_csin.c (__csin): Likewise.
26062 * math/s_csinf.c (__csinf): Likewise.
26063 * math/s_csinh.c (__csinh): Likewise.
26064 * math/s_csinhf.c (__csinhf): Likewise.
26065 * math/s_csinhl.c (__csinhl): Likewise.
26066 * math/s_csinl.c (__csinl): Likewise.
26067 * math/libm-test.inc (ccos_test): Add more tests.
26068 (ccosh_test): Likewise.
26069 (csin_test): Likewise.
26070 (csinh_test): Likewise.
26071
aa630f59
AZ
260722013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26073
26074 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26075 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26076 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26077 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26078 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26079 powerpc/power5+/fpu folders.
26080 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26081
26082
1b835983
MT
260832013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26084
26085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26086
73709b26
JM
260872013-04-25 Joseph Myers <joseph@codesourcery.com>
26088
26089 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26090 additions to variable.
26091 [$(config-machine) = x86_64] (modules-names): Likewise.
26092 ($(objpfx)tst-audit3): Remove dependency.
26093 ($(objpfx)tst-audit3.out): Likewise.
26094 ($(objpfx)tst-audit4): Likewise.
26095 ($(objpfx)tst-audit4.out): Likewise.
26096 ($(objpfx)tst-audit5): Likewise.
26097 ($(objpfx)tst-audit5.out): Likewise.
26098 ($(objpfx)tst-audit6): Likewise.
26099 ($(objpfx)tst-audit6.out): Likewise.
26100 ($(objpfx)tst-audit7): Likewise.
26101 ($(objpfx)tst-audit7.out): Likewise.
26102 (tst-audit3-ENV): Remove variable.
26103 (tst-audit4-ENV): Likewise.
26104 (tst-audit5-ENV): Likewise.
26105 (tst-audit6-ENV): Likewise.
26106 (tst-audit7-ENV): Likewise.
26107 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26108 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26109 addition to variable.
26110 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26111 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26112 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26113 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26114 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26115 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26116 tst-audit3, tst-audit4 and tst-audit5.
26117 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26118 tst-audit6 and tst-audit7.
26119 [$(subdir) = elf] (modules-names): Add audit modules for those
26120 tests.
26121 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26122 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26123 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26124 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26125 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26126 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26127 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26128 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26129 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26130 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26131 [$(subdir) = elf] (tst-audit3-ENV): New variable.
26132 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26133 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26134 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26135 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26136 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26137 Likewise.
26138 [$(subdir) = elf && $(config-cflags-avx) = yes]
26139 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26140 [$(subdir) = elf && $(config-cflags-avx) = yes]
26141 (CFLAGS-tst-auditmod4a.c): Likewise.
26142 [$(subdir) = elf && $(config-cflags-avx) = yes]
26143 (CFLAGS-tst-auditmod4b.c): Likewise.
26144 [$(subdir) = elf && $(config-cflags-avx) = yes]
26145 (CFLAGS-tst-auditmod6b.c): Likewise.
26146 [$(subdir) = elf && $(config-cflags-avx) = yes]
26147 (CFLAGS-tst-auditmod6c.c): Likewise.
26148 [$(subdir) = elf && $(config-cflags-avx) = yes]
26149 (CFLAGS-tst-auditmod7b.c): Likewise.
26150 * elf/tst-audit3.c: Move to ...
26151 * sysdeps/x86_64/tst-audit3.c: ... here.
26152 * elf/tst-audit4.c: Move to ...
26153 * sysdeps/x86_64/tst-audit4.c: ... here.
26154 * elf/tst-audit5.c: Move to ...
26155 * sysdeps/x86_64/tst-audit5.c: ... here.
26156 * elf/tst-audit6.c: Move to ...
26157 * sysdeps/x86_64/tst-audit6.c: ... here.
26158 * elf/tst-audit7.c: Move to ...
26159 * sysdeps/x86_64/tst-audit7.c: ... here.
26160 * elf/tst-auditmod3a.c: Move to ...
26161 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26162 * elf/tst-auditmod3b.c: Move to ...
26163 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26164 * elf/tst-auditmod4a.c: Move to ...
26165 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26166 * elf/tst-auditmod4b.c: Move to ...
26167 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26168 * elf/tst-auditmod5a.c: Move to ...
26169 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26170 * elf/tst-auditmod5b.c: Move to ...
26171 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26172 * elf/tst-auditmod6a.c: Move to ...
26173 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26174 * elf/tst-auditmod6b.c: Move to ...
26175 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26176 * elf/tst-auditmod6c.c: Move to ...
26177 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26178 * elf/tst-auditmod7a.c: Move to ...
26179 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26180 * elf/tst-auditmod7b.c: Move to ...
26181 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26182
1ef74943
PP
261832013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26184
26185 [BZ #15366]
26186 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26187 define unconditionally.
26188 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26189 define unconditionally.
26190 (INT8_C, INT16_C, etc.): Likewise.
26191
93fd48c5
MR
261922013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
26193
ae9552cf
MR
26194 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26195 __ehdr_start with hidden visibility.
26196
93fd48c5
MR
26197 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26198
418601aa
CD
261992013-04-24 Carlos O'Donell <carlos@redhat.com>
26200
26201 * math/libm-test.inc (cos_test): Use accurate hex constants.
26202 (sincost_test): Likewise.
26203
2f38fbfe
JM
262042013-04-24 Joseph Myers <joseph@codesourcery.com>
26205
5e221800
JM
26206 * math/libm-test.inc (catan_test): Add more tests.
26207 (catanh_test): Likewise.
26208
77f143fd
JM
26209 * math/s_catanf.c (__catanf): Use suffixed floating-point
26210 constants.
26211 * math/s_catanhf.c (__catanhf): Likewise.
26212 * math/s_catanhl.c (__catanhl): Likewise.
26213 * math/s_catanl.c (__catanl): Likewise.
26214
2f38fbfe
JM
26215 [BZ #15394]
26216 * math/s_catan.c (__catan): Calculate imaginary part of result
26217 with log1p not log unless computing log of number close to 0.
26218 * math/s_catanf.c (__catanf): Likewise.
26219 * math/s_catanl.c (__catanl): Likewise.
26220 * math/s_catanh.c (__catanh): Calculate real part of result with
26221 log1p not log unless computing log of number close to 0.
26222 * math/s_catanhf.c (__catanhf): Likewise.
26223 * math/s_catanhl.c (__catanhl): Likewise.
26224 * math/libm-test.inc (catan_test): Add more tests.
26225 (catanh_test): Likewise.
26226 * sysdeps/i386/fpu/libm-test-ulps: Update.
26227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26228
45d69176
SP
262292013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26230
26231 * benchtests/Makefile: Mention files in which fast and slow
26232 paths of math functions are implemented.
26233
87f51853
RM
262342013-04-23 Roland McGrath <roland@hack.frob.com>
26235
26236 * sysdeps/posix/timespec_get.c: New file.
26237
3c026539
AZ
262382013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26239
26240 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26241 POWER.
26242 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26243 for POWER.
26244 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26245 powerpc/power5/fpu folders.
26246 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26247 * benchtests/Makefile: Add modf testcase.
26248 * benchtests/bench-modf.c: New file: Benchmark test for mo
26249
ff491d14
SP
262502013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26251
26252 [BZ #14888]
26253 * time/Makefile (tests): Add tst-strptime-whitespace.
26254 * time/strptime_l.c (get_number): Use ISSPACE.
26255 (__strptime_internal): Likewise.
26256 * time/tst-strptime-whitespace.c: New test case.
26257
7ed3f4e8
AS
262582013-04-23 Andreas Schwab <schwab@linux-m68k.org>
26259
26260 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26261 member.
26262 (_nss_files_init): Set it here.
26263
5c95f7b6
HC
262642013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
26265
26266 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26267 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26268 unsigned.
26269
d34c9158
JBG
262702013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
26271
26272 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26273
2169712d
SP
262742013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26275
26276 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26277 size just once.
26278
29c5de99
DM
262792013-04-21 David S. Miller <davem@davemloft.net>
26280
26281 * po/ru.po: Update Russion translation from translation project.
26282
ccdad15d
AC
262832013-04-17 Adam Conrad <adconrad@0c3.net>
26284
26285 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26286 and setfsgid.
26287
0f122b8d
CD
262882013-04-17 Carlos O'Donell <carlos@redhat.com>
26289
5c5b07da 26290 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 26291 * configure: Regenerate.
5c5b07da 26292 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
26293 Add example to error message.
26294 * sysdeps/i386/configure: Regenerate.
26295
037714dd
SP
262962013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26297
26298 * benchtests/Makefile (bench): Add cos, tan, slowcos and
26299 slowtan.
26300 * benchtests/cos-inputs: New file.
26301 * benchtests/slowcos-inputs: New file.
26302 * benchtests/slowcos.c: New file.
26303 * benchtests/slowtan-inputs: New file.
26304 * benchtests/slowtan.c: New file.
26305 * benchtests/tan-inputs: New file.
26306
e913141d
RM
263072013-04-16 Roland McGrath <roland@hack.frob.com>
26308
26309 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26310 considered kosher.
26311
a2964074
SP
263122013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26313
4856bcd2
SP
26314 * benchtests/Makefile: Include cppflags-iterator.mk to add
26315 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26316
a2964074
SP
26317 * Makefile.in (bench-clean): New target.
26318 * benchtests/Makefile (bench-clean): Likewise.
26319
9fbf9aca
DH
263202013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
26321
26322 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26323
207d1e2a
TS
263242013-04-15 Thomas Schwinge <thomas@codesourcery.com>
26325
26326 * stdio-common/tstdiomisc.c: Fix coding-style violation.
26327
306dfba9
AS
263282013-04-15 Andreas Schwab <schwab@suse.de>
26329
26330 * nscd/grpcache.c (cache_addgr): Properly check for short write.
26331 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26332 * nscd/pwdcache.c (cache_addpw): Likewise.
26333 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
26334 more than recsize.
26335
206a6699
SP
263362013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26337
26338 * benchtests/Makefile (bench): Write all output to
26339 bench-out.tmp together.
26340
0582f6b3
AS
263412013-04-15 Andreas Schwab <schwab@suse.de>
26342
26343 * nscd/nscd.c (main): Don't fork again after closing files.
26344
acb4325f
SP
263452013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26346
5cb26d0a
SP
26347 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26348
acb4325f
SP
26349 * benchtests/Rules (bench-deps): Collect dependencies into a
26350 single variable. Add Makefile to dependencies.
26351 ($(objpfx)bench-%.c): Depend on bench-deps.
26352
47792506
RM
263532013-04-12 Roland McGrath <roland@hack.frob.com>
26354 Xavier Roche <roche+kml2@exalead.com>
26355
26356 [BZ #15361]
26357 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26358 just that it's a file descriptor.
26359 * manual/llio.texi (Synchronizing AIO Operations): Update description
26360 for EBADF error from aio_fsync.
26361
8fc1bee5
SP
263622013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26363
26364 * Rules (bench): Move target definition...
26365 * benchtests/Makefile: ... here.
26366
aba5e333
CD
263672013-04-11 Carlos O'Donell <carlos@redhat.com>
26368
26369 * math/libm-test.inc (cos_test): Fix PI/2 test.
26370 (sincos_test): Likewise.
26371 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26372 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26373
273cdee8
AS
263742013-04-11 Andreas Schwab <schwab@suse.de>
26375
6ecec3b6
AS
26376 [BZ #13988]
26377 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26378 accept exponent character only when digits were seen.
26379 * stdio-common/Makefile (tests): Add bug26.
26380 * stdio-common/bug26.c: New file.
26381
273cdee8
AS
26382 [BZ #14293]
26383 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26384 non-freeable.
26385
8da491f5
SP
263862013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26387
01dc6df9
SP
26388 * Makeconfig (rtld-prefix): Define built linker prefix.
26389 * Rules (run-bench): Use it.
26390 * math/Makefile (run-regen-ulps): Likewise.
26391
8da491f5
SP
26392 * Rules (bench): Remove eval.
26393
abe7f530
SP
263942013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26395 Roland McGrath <roland@hack.frob.com>
26396 Ondrej Bilka <neleai@seznam.cz>
26397
26398 [BZ #15346]
26399 * time/getdate.c: Include ctype.h and alloca.h.
26400 (__getdate_r): Trim leading and trailing spaces of input.
26401 * time/tst-getdate.c (tests): Add tests with leading and
26402 trailing spaces.
26403
61c23e62
RM
264042013-04-08 Roland McGrath <roland@hack.frob.com>
26405
26406 [BZ #14280]
26407 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26408 when computing value.
26409
7208a313
CD
264102013-04-06 Carlos O'Donell <carlos@redhat.com>
26411
085b2d41
CD
26412 * math/README.libm-test (How can I generate "libm-test-ulps"?):
26413 Use testrun.sh to run libm tests.
26414
7208a313
CD
26415 [BZ #15309]
26416 * elf/dl-open.c (dl_open_worker): memset all of seen array.
26417
872c0acd
MM
264182013-04-06 Marko Myllynen <myllynen@redhat.com>
26419
26420 [BZ #15264]
26421 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26422
26510bdd
CD
264232013-04-06 Carlos O'Donell <carlos@redhat.com>
26424
26425 * Makefile.in (regen-ulps): New target.
26426 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26427 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26428 [ifneq (no,$(PERL)] (regen-ulps): New target.
26429 [ifeq (no,$(PERL)] (regen-ulps): New target.
26430 * math/libm-test.inc (ulps_file_name): Define.
26431 (output_dir): New variable.
26432 (options): Add "output-dir" option.
26433 (parse_opt): Handle 'o' case.
26434 (main): If output_dir is non-NULL use it as a prefix
26435 otherwise use "".
26436 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26437
a01f19c8
CD
264382013-04-06 Carlos O'Donell <carlos@redhat.com>
26439
26440 [BZ #10060, #10062]
26441 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26442 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26443 fail configure if __sync_val_compare_and_swap is not inlined.
26444 * sysdeps/i386/configure: Regenerate.
26445 * configure.in: Build for i686 when configured for i386.
26446 * configure: Regenerate.
26447 * README: Remove i386 reference.
26448
b7a329a5
CD
264492013-04-06 Carlos O'Donell <carlos@redhat.com>
26450
26451 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26452 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26453
bf0f50df
TS
264542013-04-05 Thomas Schwinge <thomas@codesourcery.com>
26455
ee091edf
TS
26456 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26457 (lmsnanval): New variables.
26458 (F): Add conversion tests.
26459 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26460 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26461
a8b792d6
TS
26462 * stdio-common/tstdiomisc.c (F): Properly collect individual
26463 tests' results.
26464
a1cbf437
TS
26465 [BZ #14686, #15336]
26466 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26467 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26468 Instead, use input NaN values or generate a qNaN by arithmetic
26469 operation. Also fix bugs to comply with the standard.
26470 * math/libm-test.inc (remainder_test): Add more tests.
26471
8b43a0c9
TS
26472 [BZ #15335, #15342]
26473 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26474 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26475 input NaN values or generate a qNaN by arithmetic operation.
26476
d91da4ce
TS
26477 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26478 unreachable code.
26479
bf0f50df
TS
26480 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26481 definitions.
26482
05e166c8
JM
264832013-04-03 Joseph Myers <joseph@codesourcery.com>
26484
26485 [BZ #14478]
26486 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26487 underflowed result.
26488 * math/s_cexpf.c (__cexpf): Likewise.
26489 * math/s_cexpl.c (__cexpl): Likewise.
26490 * math/libm-test.inc (cexp_test): Add more tests.
26491
1cef1b19
AS
264922013-04-03 Andreas Schwab <schwab@suse.de>
26493
26494 [BZ #15330]
26495 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26496 order arrays from heap if bigger than alloca cutoff.
26497
74d87055
TS
264982013-04-03 Thomas Schwinge <thomas@codesourcery.com>
26499
26500 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26501 (SNAN_TESTS_double): Refer to GCC PR56831.
26502 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26503 GCC PR56828.
26504
d755bba4
SP
265052013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26506
90d5d5bb
SP
26507 * Rules (bench): Move bench.out after the run is complete.
26508
73e0cd5d
SP
26509 * Rules (bench): Echo currently running benchmark.
26510
64aabd4b
SP
26511 * benchtests/Makefile (bench): Add atan and slowatan.
26512 * benchtests/atan-inputs: New file.
26513 * benchtests/slowatan-inputs: New file.
26514 * benchtests/slowatan.c: New file.
26515
c871eccd
SP
26516 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26517 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26518 its value.
26519
d755bba4
SP
26520 [BZ #15305]
26521 * sysdeps/unix/sysv/linux/kernel-features.h
26522 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26523 __ASSUME_XFS_RESTRICTED_CHOWN.
26524 * sysdeps/unix/sysv/linux/pathconf.c
26525 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26526 Save and restore errno.
26527
52ce4860
JM
265282013-04-02 Joseph Myers <joseph@codesourcery.com>
26529
26530 [BZ #15327]
26531 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26532 arguments using __kernel_casinh.
26533 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26534 arguments using __kernel_casinhf.
26535 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26536 arguments using __kernel_casinhl.
26537 * math/libm-test.inc (cacosh_test): Add more tests.
26538 * sysdeps/i386/fpu/libm-test-ulps: Update.
26539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26540
81f311c2
SP
265412013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26542
e7906a47
SP
26543 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26544 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26545
92e3664b
SP
26546 * bench/Makefile (bench): Add sin and slowsin.
26547 * benchtests/sin-inputs: New file.
26548 * benchtests/slowsin-inputs: New file.
26549 * benchtests/slowsin.c: New file.
26550
81f311c2
SP
26551 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26552 (bench): Add slowexp and slowpow.
26553 (exp-ITER): Increase iterations.
26554 (pow-ITER): Likewise.
26555 * benchtests/exp-inputs: Change input.
26556 * benchtests/pow-inputs: Likewise.
26557 * benchtests/slowexp-inputs: New file.
26558 * benchtests/slowexp.c: New file.
26559 * benchtests/slowpow-inputs: New file.
26560 * benchtests/slowpow.c: New file.
26561
ab0f1aa9
AZ
265622013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26563
26564 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26565 instructions.
26566 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26567 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26568 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26569 * benchtests/Makefile: Add rint benchtest.
26570 * benchtests/rint-inputs: Input for rint benchtest.
26571
57267616
TS
265722013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26573
26574 * Versions.def (libm): Add GLIBC_2.18.
26575 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26576 hidden libm prototypes.
26577 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26578 * math/Makefile (libm-calls): Add s_issignaling.
26579 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26580 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26581 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26582 declaration.
26583 * math/math.h [__USE_GNU] (issignaling): New macro.
26584 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26585 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26586 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26587 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26588 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26589 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26590 * manual/arith.texi (issignaling): New section.
26591 * manual/libm-err-tab.pl (@all_functions): Update comment.
26592 * math/gen-libm-test.pl (parse_args): Apply special handling for
26593 issignaling.
26594 * math/libm-test.inc (print_float, issignaling_test): New
26595 functions.
26596 (check_float_internal): Add issignaling checks.
26597 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26598 default definition.
26599 * sysdeps/powerpc/math-tests.h: New file.
26600 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26601 tests.
26602 * math/test-snan.c (TEST_FUNC): Likewise.
26603
6142896d
DM
266042013-03-30 David S. Miller <davem@davemloft.net>
26605
26606 * po/de.po: Update from translation team.
26607
ccc8cadf
JM
266082013-03-30 Joseph Myers <joseph@codesourcery.com>
26609
26610 [BZ #10357]
26611 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26612 imaginary part less than 1.0 and real part less than 0.5
26613 specially.
26614 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26615 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26616 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26617 (cacos_test): Add more tests.
26618 (casin_test): Likewise.
26619 (casinh_test): Likewise.
26620 * sysdeps/i386/fpu/libm-test-ulps: Update.
26621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26622
0f6a8d4b
SP
266232013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26624
0d1029de
SP
26625 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26626 ONE with its value.
26627
c2d94018
SP
26628 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26629 (__pow_mp): Replace ONE and MONE with their values.
26630 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26631 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26632 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26633 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26634 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26635 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26636
27ec37f1
SP
26637 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26638
a64d7e0e
SP
26639 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26640 (__pow_mp): Replace ZERO and MZERO with their values.
26641 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26642 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26643 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26644 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26645 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26646 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26647 (__sqr): Likewise.
26648
d26dd3eb
SP
26649 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26650
0f6a8d4b
SP
26651 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26652
e57b0c61
RM
266532013-03-28 Roland McGrath <roland@hack.frob.com>
26654
26655 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26656 Declare with __attribute__ ((weak)).
26657 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26658 Call __call_tls_dtors only if it's not NULL.
26659
356b3480
RM
266602013-03-28 Roland McGrath <roland@hack.frob.com>
26661
288f7d79
RM
26662 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26663 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26664 magic __ehdr_start linker symbol if it's defined.
26665 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26666 them up here if it was already done.
26667
dc0a0263
RM
26668 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26669 (_dl_aux_init): Use const in cast when setting it.
26670 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26671 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26672 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26673
3d3436ae
RM
26674 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26675 Declare them here.
26676 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26677 * csu/libc-tls.c: Nor here.
26678 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26679
356b3480
RM
26680 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26681 (__libc_message): Never call vsyslog.
26682
b0f1246a
AM
266832013-03-28 Alan Modra <amodra@gmail.com>
26684
26685 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26686 Define as empty.
26687 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26688 Likewise.
26689
fbbe2b9a
AZ
266902013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26691
26692 [BZ #15214]
26693 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26694 underflow.
26695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26696
1728ab37
SP
266972013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26698
7a86be6e
SP
26699 [BZ #15304]
26700 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26701 Don't add gid passed as argument.
26702
1728ab37
SP
26703 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26704
3a7182a1
JM
267052013-03-27 Joseph Myers <joseph@codesourcery.com>
26706
26707 [BZ #15307]
26708 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26709 imaginary part between 1.0 and 1.5 and real part less than 0.5
26710 specially.
26711 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26712 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26713 * math/libm-test.inc (cacos_test): Add more tests.
26714 (casin_test): Likewise.
26715 (casinh_test): Likewise.
26716 * sysdeps/i386/fpu/libm-test-ulps: Update.
26717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26718
6f2e90e7
SP
267192013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26720
5739f705
SP
26721 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26722 constants.
26723 (norm): Likewise.
26724 (denorm): Likewise.
26725 (__dbl_mp): Likewise.
26726 (add_magnitudes): Likewise.
26727 (sub_magnitudes): Likewise.
26728 (__add): Likewise.
26729 (__sub): Likewise.
26730 (__mul): Likewise.
26731 (__sqr): Likewise.
26732 (__inv): Likewise.
26733 (__dvd): Likewise.
26734
e375e83d
SP
26735 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26736 commented code.
26737 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26738 (__dubcos): Likewise.
26739 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26740 (__ieee754_acos): Likewise.
26741 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26742 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26743 (__exp1): Likewise.
26744 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26745 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26746 (log1): Likewise.
26747 (my_log2): Likewise.
26748 (checkint): Likewise.
26749 * sysdeps/ieee754/dbl-64/e_remainder.c
26750 (__ieee754_remainder): Likewise.
26751 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26752 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26753 (bsloww): Likewise.
26754 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26755
6f2e90e7
SP
26756 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26757 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26758 MANTISSA_STORE_T to store computations on mantissa. Use
26759 macros for rounding and division.
26760 (denorm): Likewise.
26761 (__dbl_mp): Likewise.
26762 (add_magnitudes): Likewise.
26763 (sub_magnitudes): Likewise.
26764 (__mul): Likewise.
26765 (__sqr): Likewise.
26766 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26767 powers of two in terms of TWOPOW macro.
26768 (mp_no): Make type of mantissa as MANTISSA_T.
26769 [!RADIXI]: Define RADIXI.
26770 [!TWO52]: Define TWO52.
26771 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26772
fce14d4e
AZ
267732013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26774
26775 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26776 llroundl symbol when building for PPC32.
26777
9ad027fb
MW
267782013-03-24 Mark H Weaver <mhw@netris.org>
26779
26780 * manual/arith.texi (Normalization Functions): Fix prototypes for
26781 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26782
e42a38dd
AZ
267832013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26784
26785 [BZ #13889]
26786 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26787 high value to check if expl overflow.
26788 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26789 to check for underflow and overflow.
26790 * math/libm-test.inc: Add exp test.
26791
2e0fb521
DL
267922013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26793
26794 [BZ #11120]
26795 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26796 with NOT_IN_libc.
26797
b5784d95
AZ
267982013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26799
26800 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26801 symbol.
26802
5aa4a1a1
TS
268032013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26804
bdef0be7
TS
26805 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26806 wrap blocks consisting of several statements.
26807
5aa4a1a1
TS
26808 * sysdeps/generic/math-tests.h: New file.
26809 * sysdeps/i386/fpu/math-tests.h: Likewise.
26810 * math/test-snan.c: Include it.
26811 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26812
98c48fe5
JM
268132013-03-21 Joseph Myers <joseph@codesourcery.com>
26814
26815 [BZ #15285]
26816 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26817 (__ieee754_j0l): Do not improve calculations using cos of twice
26818 input for inputs above LDBL_MAX / 2.0L.
26819 (__ieee754_y0l): Likewise.
26820 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26821 (__ieee754_j1l): Do not improve calculations using cos of twice
26822 input for inputs above LDBL_MAX / 2.0L.
26823 (__ieee754_y1l): Likewise.
26824 * math/libm-test.inc (j0_test): Add another test.
26825 (j1_test): Likewise.
26826 (y0_test): Likewise.
26827 (y1_test): Likewise.
26828 * sysdeps/i386/fpu/libm-test-ulps: Update.
26829
3775a8bc
SP
268302013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26831
26832 * Rules ($(objpfx)bench-%.c): Include code from a C source
26833 file.
26834
0a1b2ae6
JM
268352013-03-21 Joseph Myers <joseph@codesourcery.com>
26836
26837 [BZ #15287]
26838 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26839 imaginary part 1.0 and real part less than 0.5 specially.
26840 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26841 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26842 * math/libm-test.inc (cacos_test): Add more tests.
26843 (casin_test): Likewise.
26844 (casinh_test): Likewise.
26845 * sysdeps/i386/fpu/libm-test-ulps: Update.
26846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26847
b33d4ce4
SP
268482013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26849
26850 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26851 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26852
bef0b507
JM
268532013-03-20 Joseph Myers <joseph@codesourcery.com>
26854
26855 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26856 * config.make.in (config-cflags-sse4): Remove variable.
26857 (config-cflags-avx): Likewise.
26858 (config-cflags-sse2avx): Likewise.
26859 (config-cflags-novzeroupper): Likewise.
26860 (config-asflags-i686): Likewise.
26861 (have-mfma4): Likewise.
26862 (have-as-vis3): Likewise.
26863 (MIG): Likewise.
26864 * configure.in (MIG): Do not AC_SUBST.
26865 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26866 (libc_cv_cc_sse4): Do not AC_SUBST.
26867 (libc_cv_cc_avx): Likewise.
26868 (libc_cv_cc_sse2avx): Likewise.
26869 (libc_cv_cc_novzeroupper): Likewise.
26870 (libc_cv_cc_fma4): Likewise.
26871 (libc_cv_as_i686): Likewise.
26872 (libc_cv_sparc_as_vis3): Likewise.
26873 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26874 LIBC_CONFIG_VAR.
26875 (config-asflags-i686): Likewise.
26876 (config-cflags-avx): Likewise.
26877 (config-cflags-sse2avx): Likewise.
26878 (have-mfma4): Likewise.
26879 (config-cflags-novzeroupper): Likewise.
26880 * sysdeps/mach/configure.in (MIG): Likewise.
26881 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26882 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26883 LIBC_CONFIG_VAR.
26884 (config-cflags-avx): Likewise.
26885 (config-cflags-sse2avx): Likewise.
26886 (have-mfma4): Likewise.
26887 (config-cflags-novzeroupper): Likewise.
26888 * configure: Regenerated.
26889 * sysdeps/i386/configure: Likewise.
26890 * sysdeps/mach/configure: Likewise.
26891 * sysdeps/sparc/configure: Likewise.
26892 * sysdeps/x86_64/configure: Likewise.
26893
912cc4b3
RM
268942013-03-20 Roland McGrath <roland@hack.frob.com>
26895
26896 [BZ #14812]
26897 * locale/programs/localedef.c (options): Put N_ translation marker
26898 on argument names, not just descriptions.
26899
04eed2b0
MS
269002013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26901
26902 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26903
a065ceff
OB
269042013-03-20 Ondřej Bílka <neleai@seznam.cz>
26905
9bb2a810 26906 [BZ #14176]
a065ceff
OB
26907 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26908
a600e5ce
RM
269092013-03-19 Roland McGrath <roland@hack.frob.com>
26910
26911 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26912 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26913 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26914 [!BEFORE_ABORT] (before_abort): New function.
26915 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26916 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26917 (writev_for_fatal): New function.
26918 (WRITEV_FOR_FATAL): New macro; call that.
26919 (backtrace_and_maps): New function.
26920 (BEFORE_ABORT): New macro; call that.
26921 (struct str_list): Type removed.
26922 (__libc_message, __libc_fatal): Functions removed.
26923 Include <sysdeps/posix/libc_fatal.c> instead.
26924
6b18bea6
JM
269252013-03-19 Joseph Myers <joseph@codesourcery.com>
26926
26927 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26928 constants.
26929 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26930 double constants.
26931
aaa8cb4b
AS
269322013-03-19 Andreas Schwab <schwab@suse.de>
26933
44673770
AS
26934 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26935 * sysdeps/gnu/configure: Regenerate.
26936
aaa8cb4b
AS
26937 * configure.in: Substitute libc_cv_rtlddir.
26938 * configure: Regenerate.
26939 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26940 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26941 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26942 * elf/Makefile (install-others, CFLAGS-interp.c)
26943 (ldso_install, common-ldd-rewrite): Likewise.
26944 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26945 $(inst_slibdir)/$(rtld-installed-name).
26946 * scripts/rellns-sh: Add -p option.
26947 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26948 for source.
26949
d3cfc668
SP
269502013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26951
26952 * manual/nptl.texi: Renamed to ...
26953 * manual/threads.texi: ... this.
26954 * manual/Makefile (chapters): Update.
26955
0e2b9cdd
RM
269562013-03-18 Roland McGrath <roland@hack.frob.com>
26957
26958 [BZ #14812]
26959 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26960 on argument names, not just descriptions.
0e2b9cdd
RM
26961 * malloc/memusagestat.c (options): Likewise.
26962 * nss/getent.c (options): Likewise.
63270c24
RM
26963
269642013-03-18 Benno Schulenberg <bensberg@justemail.net>
26965
26966 [BZ #14812]
26967 * iconv/iconv_prog.c (options): Put N_ translation marker
26968 on argument names, not just descriptions.
26969 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 26970
b2e1393c
OB
269712013-03-18 Ondrej Bilka <neleai@seznam.cz>
26972
26973 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26974 implementation which is faster on all x86_64 architectures.
26975 Tested on AMD, Intel Nehalem, SNB, IVB.
26976 * sysdeps/x86_64/strnlen.S: Likewise.
26977
26978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26979 Remove all multiarch strlen and strnlen versions.
26980 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26981 Remove strlen and strnlen related parts.
26982
26983 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26984 Inline strlen part.
26985 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26986
26987 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26988 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26989 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26990 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26991 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26992 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26993
ec4ff04d
CD
269942013-03-17 Carlos O'Donell <carlos@redhat.com>
26995
26996 * manual/memory.texi (Malloc Tunable Parameters):
26997 Sort parameters alphabetically. Add comments for missing entries.
26998
cd18e90a
DM
269992013-03-17 David S. Miller <davem@davemloft.net>
27000
27001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27002
2a185d32
JM
270032013-03-16 Joseph Myers <joseph@codesourcery.com>
27004
d2f9799e
JM
27005 [BZ #15283]
27006 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27007 for arguments at most half maximum finite value.
27008 * math/libm-test.inc (j0_test): Add more tests.
27009 (j1_test): Likewise.
27010 (y0_test): Likewise.
27011 (y1_test): Likewise.
27012 * sysdeps/i386/fpu/libm-test-ulps: Update.
27013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27014
2a185d32
JM
27015 [BZ #14155]
27016 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27017 1 / x and functions P and Q for arguments above 0x1p256L.
27018 (__ieee754_y0l): Likewise.
27019 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27020 (__ieee754_y1l): Likewise.
27021 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27022 (j1_test): Likewise.
27023 (y0_test): Likewise.
27024 (y1_test): Likewise.
27025
6cbec759
TS
270262013-03-16 Thomas Schwinge <thomas@codesourcery.com>
27027
27028 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27029 variable.
27030
bc16e260
RM
270312013-03-15 Roland McGrath <roland@hack.frob.com>
27032
aefc9b8c
RM
27033 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27034 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27035 zero since it's initialized to EXEC_PAGESIZE.
27036
bc16e260
RM
27037 * sysdeps/unix/sysv/linux/ldsodefs.h
27038 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27039 * sysdeps/generic/ldsodefs.h: ... here.
27040
a57da955
TS
270412013-03-15 Thomas Schwinge <thomas@codesourcery.com>
27042
af00a34d
TS
27043 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27044
495ded2c
TS
27045 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27046 math/test-snan.c.
27047 * math/test-snan.c: Renamed from
27048 sysdeps/powerpc/fpu/test-powerpc-snan.c.
27049 * math/Makefile (tests): Add test-snan.
27050 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27051 test-powerpc-snan.
27052
777b0332
TS
27053 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27054 SUFFIX. Initialize qNaN_var with __builtin_nan family of
27055 functions.
27056 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
27057 __builtin_nan family of functions.
27058 * math/libm-test.inc (initialize): Initialize qnan_value with
27059 __builtin_nan family of functions.
27060 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27061 Remove variables.
27062 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27063 Remove functions.
27064 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
27065 storage class. Initialize qNaN_var and sNaN_var with
27066 __builtin_nan and __builtin_nans families of functions,
27067 respectively.
27068
64d063b8
TS
27069 * math/libm-test.inc (acosh_test): Also test with qNaN input.
27070 (sqrt_test): Remove duplicate test with qNaN input.
27071 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27072 (round_test, signbit_test, significand_test): Note missing +/-Inf
27073 as well as qNaN tests.
27074
67e971f1
TS
27075 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27076 qNaN_var. Fix a few strings, too.
27077 * math/libm-test.inc (nan_value): Rename to qnan_value.
27078 * math/gen-libm-test.pl (%beautify): Adjust to that.
27079 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27080 * math/test-misc.c (main): Likewise.
27081 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27082 to __qnan_bytes, and __qnan_union, respectively.
27083 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27084 Likewise.
27085 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27086 and lqnanval, respectively.
27087 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27088 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27089 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27090 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27091
64487e12
TS
27092 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27093 * math/test-misc.c (main) [__x86_64__]: Enable test for long
27094 doubles.
27095
e015e27b
TS
27096 * math/test-misc.c (main): Fix copy'n'pastos.
27097 * misc/tst-efgcvt.c (special): Likewise.
27098
a57da955
TS
27099 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27100 Remove declarations.
27101
1e380345
SP
271022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27103
27104 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27105 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27106 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27107 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27108
ef26eece
AZ
271092013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27110
27111 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27112 macro to return vdso values correctly in IFUNC implementations.
27113 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27114 Optimization by using IFUNC.
27115
8cfdb7e0
SP
271162013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27117 Richard Henderson <rth@redhat.com>
27118 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27119
27120 * Makefile.in (bench): New target.
27121 * NEWS: Mention the benchmark framework.
27122 * Rules (bench): Likewise.
27123 (binaries-bench): Generate binaries for functions to
27124 benchmark.
27125 * benchtests/Makefile: New makefile for benchmark tests.
27126 * benchtests/bench-skeleton.c: New skeleton file for benchmark
27127 programs.
27128 * benchtests/exp-inputs: New input file for EXP function.
27129 * benchtests/pow-inputs: New input file for POW function.
27130 * scripts/bench.pl: New script to generate source files for
27131 benchmark programs.
27132
bcda9880
SP
271332013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27134
d22ca8cd
SP
27135 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27136 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27137 computations on mantissa. Use macros for rounding and
27138 division.
27139 (denorm): Likewise.
27140 (__dbl_mp): Likewise.
27141 (add_magnitudes): Likewise.
27142 (sub_magnitudes): Likewise.
27143 (__mul): Likewise.
27144 (__sqr): Likewise.
27145 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27146 powers of two in terms of TWOPOW macro.
27147 (mp_no): Make type of mantissa as MANTISSA_T.
27148 [!RADIXI]: Define RADIXI.
27149 [!TWO52]: Define TWO52.
27150 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27151
bcda9880
SP
27152 * manual/nptl.texi (cindex): Modify threads to pthreads.
27153
06d5adfb
JM
271542013-03-15 Joseph Myers <joseph@codesourcery.com>
27155
27156 * sysdeps/x86_64/preconfigure: Regenerated.
27157
41c7328e
JM
271582013-03-14 Joseph Myers <joseph@codesourcery.com>
27159
27160 [BZ #14155]
27161 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27162 0x1p28 and above.
27163 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27164 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27165 0x1p28 and above.
27166 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27167 * math/libm-test.inc (j0_test): Do not allow one spurious
27168 underflow exception.
27169 (y1_test): Likewise.
27170
e25cfa60
SP
271712013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27172
0409959c
SP
27173 * manual/Makefile (chapters): Add nptl.
27174 * manual/debug.texi (Debugging Support): Add link to Threads
27175 chapter.
27176 * manual/nptl.texi: New file.
27177
e25cfa60
SP
27178 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27179
58a1335e
PB
271802013-03-14 Petr Baudis <pasky@ucw.cz>
27181
27182 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27183 for non-NULL pointer before the memory validity test. Pointed
27184 out by Holger Brunck <holger.brunck@keymile.com>.
27185
9dc7c64f
AS
271862013-03-13 Andreas Schwab <schwab@suse.de>
27187
27188 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27189 instead of .os.
27190
54206aa6
JM
271912013-03-13 Joseph Myers <joseph@codesourcery.com>
27192
27193 * timezone/zic.c: Update from tzcode 2013b.
27194
e98cdb38
CD
271952013-03-12 Carlos O'Donell <carlos@redhat.com>
27196
27197 * manual/install.texi (Configuring and compiling):
27198 Mention i686 and i586.
27199 * INSTALL: Regenerate.
27200
9967e003
RM
272012013-03-12 Roland McGrath <roland@hack.frob.com>
27202
27203 * sysdeps/init_array/elf-init.c: New file.
27204 * csu/elf-init.c
27205 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27206 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27207
27208 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27209 __gmon_start__ as global, but as static with a .preinit_array pointer.
27210 * sysdeps/init_array/gmon-start.c: New file. Use that.
27211 * sysdeps/init_array/crti.S: New file, empty except for comments.
27212 * sysdeps/init_array/crtn.S: Likewise.
27213
e6b5a293 272142013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
27215
27216 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27217 definining bcopy.
80f844c9
OB
27218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27219 Remove Prefer_SSE_for_memop.
27220 * sysdeps/x86_64/multiarch/init-arch.h: Remove
27221 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27222 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
27223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27224 memset-x86-64.
80f844c9 27225 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 27226 Remove bzero, memset ifunc support.
80f844c9
OB
27227 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27228 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27229 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27230 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27231
fb6b0fcb
AS
272322013-03-11 Andreas Schwab <schwab@suse.de>
27233
27234 [BZ #15234]
27235 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27236 by SHLIB_COMPAT.
27237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27238 (GLIBC_2.16): Remove pthread_atfork.
27239
3e6bd4b1
PP
272402013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27241
27242 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27243 (ptestcases.h): Likewise.
27244
222d7f00
RM
272452013-03-08 Roland McGrath <roland@hack.frob.com>
27246
27247 * Makeconfig ($(common-objpfx)config.status): Depend on
27248 sysdeps/*/preconfigure{,.in} too.
27249
1ba4f030
JM
272502013-03-08 Joseph Myers <joseph@codesourcery.com>
27251
a222d91a
JM
27252 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27253 (__free_hook): Use void * instead of __malloc_ptr_t.
27254 (__malloc_hook): Likewise.
27255 (__realloc_hook): Likewise.
27256 (__memalign_hook): Likewise.
27257 (__after_morecore_hook): Likewise.
27258 * malloc/arena.c (save_malloc_hook): Likewise.
27259 (save_free_hook): Likewise.
27260 * malloc/hooks.c (malloc_hook_ini): Likewise.
27261 (realloc_hook_ini): Likewise.
27262 (memalign_hook_ini): Likewise.
27263 * malloc/malloc.c (malloc_hook_ini): Likewise.
27264 (realloc_hook_ini): Likewise.
27265 (memalign_hook_ini): Likewise.
27266 (__free_hook): Likewise.
27267 (__malloc_hook): Likewise.
27268 (__realloc_hook): Likewise.
27269 (__memalign_hook): Likewise.
27270 (__libc_malloc): Likewise.
27271 (__libc_free): Likewise.
27272 (__libc_realloc): Likewise.
27273 (__libc_memalign): Likewise.
27274 (__libc_valloc): Likewise.
27275 (__libc_pvalloc): Likewise.
27276 (__libc_calloc): Likewise.
27277 (__posix_memalign): Likewise.
27278 * malloc/morecore.c (__sbrk): Likewise.
27279 (__default_morecore): Likewise.
27280
5cc45e10
JM
27281 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27282
dd54b864
JM
27283 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27284 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27285 __malloc_ptrdiff_t.
27286
1ba4f030
JM
27287 * malloc/malloc.h (__malloc_size_t): Remove macro.
27288 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27289 __malloc_size_t.
27290 (old_memalign_hook): Likewise.
27291 (old_realloc_hook): Likewise.
27292 (struct hdr): Likewise.
27293 (flood): Likewise.
27294 (mallochook): Likewise.
27295 (memalignhook): Likewise.
27296 (reallochook): Likewise.
27297 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27298 (tr_old_realloc_hook): Likewise.
27299 (tr_old_memalign_hook): Likewise.
27300 (tr_mallochook): Likewise.
27301 (tr_reallochook): Likewise.
27302 (tr_memalignhook): Likewise.
27303
edf66e57
AZ
273042013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27305
27306 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27307 default_ldbl_pack and using as default implementation.
27308 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27309 implementation.
27310 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27311 redundant definition.
27312 (ldbl_insert_mantissa): Likewise.
27313 (ldbl_canonicalize): Likewise.
27314 (ldbl_nearbyint): Likewise.
27315 (ldbl_pack): Rename to ldbl_pack_ppc.
27316 (ldbl_unpack): Rename to ldbl_unpack_ppc.
27317 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27318 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27319
6d9145d8
SP
273202013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27321
27322 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27323 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27324 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27325 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27326 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27327 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27328 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27329 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27330
4dd4e157
AJ
273312013-03-07 Andreas Jaeger <aj@suse.de>
27332
27333 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27334 bits/mman-linux.h.
27335
adbb8027
SP
273362013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27337
ce544b5b
SP
27338 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27339 Include mpa.h and declare __MPEXP.
27340 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27341 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27342 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27343 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27344 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27345 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27346 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27347
4cc149fd
SP
27348 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27349 (__slowpow): Use long double EXPL and LOGL functions to
27350 compute POW.
27351 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27352 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27353 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27354 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27355 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27356 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27357
e6ebd4a7
SP
27358 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27359 intermediate variable to calculate exponent.
27360 (__sqr): Likewise.
27361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27362 Likewise.
27363 (__sqr): Likewise.
27364
82a9811d
SP
27365 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27366 [!NO__SQR]: Define __sqr.
27367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27368 and NO__SQR. Remove all code except __mul and __sqr. Include
27369 sysdeps/ieee754/dbl-64/mpa.c.
27370 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27371
adbb8027
SP
27372 [BZ #12723]
27373 * posix/Makefile (tests): Add tst-pathconf.
27374 * posix/tst-pathconf.c: New test case.
27375 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27376 _PC_PIPE_BUF.
27377 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27378
39120df9
PF
273792013-03-06 Patsy Franklin <pfrankli@redhat.com>
27380
27381 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27382
67525cb8
AJ
273832013-03-06 Andreas Jaeger <aj@suse.de>
27384
664a9ce4
AJ
27385 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27386 definition via __MAP_ANONYMOUS.
27387
8e39047d
AJ
27388 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27389 it's not part of Linux headers.
27390
67525cb8
AJ
27391 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27392 (MAP_HUGE_MASK): Define.
27393
27394 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27395 Define.
27396 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27397 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27398 Define.
27399 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27400 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27401 Define.
27402 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27403 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27404 Define.
27405 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27406
27407 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27408 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27409 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27410 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27411 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27412 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27413
27414 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27415 Handle f2fs.
27416
27417 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27418 Handle f2fs and efivarfs.
27419
27420 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27421 f2fs.
27422
27423 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27424 (EFIVARFS_MAGIC): Add.
27425 (F2FS_LINK_MAX): Add.
27426
e1b42695
PP
274272013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27428
27429 * stdio-common/vfprintf.c: Replace __builtin_expect with
27430 __glibc_unlikely.
27431
2d67d91a
JM
274322013-03-06 Joseph Myers <joseph@codesourcery.com>
27433
27434 [BZ #13550]
27435 * sysdeps/generic/bp-sym.h: Remove file.
27436 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27437 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27438 <bp-sym.h> and <bp-asm.h>.
27439 (__longjmp): Don't use BP_SYM.
27440 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27441 and <bp-asm.h>.
27442 (memcpy): Don't use BP_SYM.
27443 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27444 <bp-sym.h> and <bp-asm.h>.
27445 (memcpy): Don't use BP_SYM.
27446 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27447 <bp-asm.h>.
27448 (memcpy): Don't use BP_SYM.
27449 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27450 <bp-asm.h>.
27451 (memset): Don't use BP_SYM.
27452 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27453 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27454 (__bzero): Don't use BP_SYM.
27455 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27456 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27457 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27458 <bp-sym.h> and <bp-asm.h>.
27459 (memcmp): Don't use BP_SYM. Remove comment about bounded
27460 pointers.
27461 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27462 <bp-sym.h> and <bp-asm.h>.
27463 (memcpy): Don't use BP_SYM.
27464 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27465 <bp-sym.h> and <bp-asm.h>.
27466 (memset): Don't use BP_SYM.
27467 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27468 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27469 (__bzero): Don't use BP_SYM.
27470 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27471 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27472 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27473 <bp-sym.h> and <bp-asm.h>.
27474 (strncmp): Don't use BP_SYM. Remove comment about bounded
27475 pointers.
27476 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27477 <bp-sym.h> and <bp-asm.h>.
27478 (memcpy): Don't use BP_SYM.
27479 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27480 <bp-sym.h> and <bp-asm.h>.
27481 (memset): Don't use BP_SYM.
27482 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27483 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27484 (__bzero): Don't use BP_SYM.
27485 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27486 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27487 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27488 <bp-sym.h> and <bp-asm.h>.
27489 (__memchr): Don't use BP_SYM.
27490 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27491 <bp-sym.h> and <bp-asm.h>.
27492 (memcmp): Don't use BP_SYM. Remove comment about bounded
27493 pointers.
27494 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27495 <bp-sym.h> and <bp-asm.h>.
27496 (memcpy): Don't use BP_SYM.
27497 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27498 <bp-sym.h> and <bp-asm.h>.
27499 (__mempcpy): Don't use BP_SYM.
27500 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27501 <bp-sym.h> and <bp-asm.h>.
27502 (__memrchr): Don't use BP_SYM.
27503 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27504 <bp-sym.h> and <bp-asm.h>.
27505 (memset): Don't use BP_SYM.
27506 (__bzero): Likewise.
27507 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27508 <bp-sym.h> and <bp-asm.h>.
27509 (__rawmemchr): Don't use BP_SYM.
27510 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27511 <bp-sym.h> and <bp-asm.h>.
27512 (__STRCMP): Don't use BP_SYM.
27513 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27514 <bp-sym.h> and <bp-asm.h>.
27515 (strchr): Don't use BP_SYM.
27516 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27517 <bp-sym.h> and <bp-asm.h>.
27518 (__strchrnul): Don't use BP_SYM.
27519 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27520 <bp-sym.h> and <bp-asm.h>.
27521 (strlen): Don't use BP_SYM.
27522 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27523 <bp-sym.h> and <bp-asm.h>.
27524 (strncmp): Don't use BP_SYM. Remove comment about bounded
27525 pointers.
27526 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27527 <bp-sym.h> and <bp-asm.h>.
27528 (__strnlen): Don't use BP_SYM.
27529 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27530 <bp-sym.h> and <bp-asm.h>.
27531 (__GI__setjmp): Don't use BP_SYM.
27532 (_setjmp): Likewise.
27533 (__sigsetjmp): Likewise.
27534 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27535 (L(start_addresses)): Don't use BP_SYM.
27536 (_start): Likewise.
27537 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27538 <bp-asm.h>.
27539 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27540 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27541 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27542 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27543 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27544 <bp-asm.h>.
27545 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27546 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27547 about bounded pointers.
27548 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27549 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27550 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27551 <bp-asm.h>.
27552 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27553 about bounded pointers. Remove GKM FIXME comments.
27554 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27555 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27556 <bp-asm.h>.
27557 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27558 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27559 Remove GKM FIXME comments.
27560 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27561 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27562 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27563 <bp-asm.h>.
27564 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27565 about bounded pointers. Remove GKM FIXME comment.
27566 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27567 and <bp-asm.h>.
27568 (strncmp): Don't use BP_SYM. Remove comment about bounded
27569 pointers.
27570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27571 <bp-sym.h> and <bp-asm.h>.
27572 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27574 <bp-sym.h> and <bp-asm.h>.
27575 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27576 comment.
27577
cdcf361f
PP
275782013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27579
27580 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27581 call free(NULL).
27582
3c4a2b15
DM
275832013-03-05 David S. Miller <davem@davemloft.net>
27584
27585 * po/es.po: Update from translation team.
27586
cdcf361f 275872013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
27588
27589 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27590 <bits/mman-linux.h>.
27591 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27592 is fine.
27593 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27594 <bits/mman-linux.h> to end of file.
27595 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27596 is fine.
27597 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27598 <bits/mman-linux.h> to end of file.
27599 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27600 is fine.
27601 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27602 <bits/mman-linux.h> to end of file.
27603
27604 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27605 (MCL_CURRENT, MCL_FUTURE): Define here.
27606
5f67c04f
AK
276072013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27608
8a4473cc 27609 [BZ #15232]
5f67c04f
AK
27610 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27611 attribute_hidden.
27612 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27613
c3e94a95
AK
276142013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27615
27616 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27617 fourth parameter needed for rt_sigprocmask syscall.
27618 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27619 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27620 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27621 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27622 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27623 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27624
cfb6382a
JM
276252013-03-04 Joseph Myers <joseph@codesourcery.com>
27626
27627 [BZ #13550]
27628 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27629 comment about bounded pointers.
27630 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27631 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27632
539d8e01
AJ
276332013-03-04 Andreas Jaeger <aj@suse.de>
27634
27635 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27636 common definitions.
27637
27638 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27639 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27640 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27641 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27642 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
27643 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27644
2e167a70 276452013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
27646
27647 [BZ #15055]
27648 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27649 __ieee754_sqrl instead of __sqrl.
27650
68508633
JM
276512013-03-01 Joseph Myers <joseph@codesourcery.com>
27652
27653 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27654 * sysdeps/powerpc/fpu_control.h: ... here.
27655 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27656 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27657 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27658 * sysdeps/powerpc/bits/mathinline.h: ... here.
27659
7775448e
RM
276602013-03-01 Roland McGrath <roland@hack.frob.com>
27661
27662 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27663 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27664 to just [NEED_DL_SYSINFO_DSO].
27665 * elf/dl-support.c: Likewise.
27666 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27667 * elf/rtld.c (dl_main): Likewise.
27668 * elf/setup-vdso.h (setup_vdso): Likewise.
27669 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27670 * sysdeps/unix/sysv/linux/dl-sysdep.c
27671 (_dl_discover_osversion): Likewise.
27672
4e9b5995
CD
276732013-03-01 Carlos O'Donell <carlos@redhat.com>
27674
27675 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27676 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27677
e23872c8
SP
276782013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27679
e5c74c63
SP
27680 * NEWS: Mention libm performance improvements and non-x86 PI
27681 futex support.
27682
e23872c8
SP
27683 * csu/libc-start.c (__pthread_initialize_minimal): Change
27684 function arguments.
27685 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27686
b5510883
JM
276872013-02-28 Joseph Myers <joseph@codesourcery.com>
27688
27689 [BZ #13550]
27690 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27691 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27692 <bp-sym.h> and <bp-asm.h>.
27693 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27694 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27695 and <bp-asm.h>.
27696 (memcpy): Don't use BP_SYM.
27697 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27698 <bp-asm.h>.
27699 (__mpn_add_n): Don't use BP_SYM.
27700 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27701 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27702 and <bp-asm.h>.
27703 (__mpn_addmul_1): Don't use BP_SYM.
27704 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27705 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27706 <bp-sym.h>.
27707 (_setjmp): Don't use BP_SYM.
27708 (__novmx_setjmp): Likewise.
27709 (__GI__setjmp): Likewise.
27710 (__vmx_setjmp): Likewise.
27711 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27712 <bp-sym.h>.
27713 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27714 (__bzero): Don't use BP_SYM.
27715 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27716 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27717 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27718 <bp-sym.h> and <bp-asm.h>.
27719 (memcpy): Don't use BP_SYM.
27720 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27721 <bp-sym.h> and <bp-asm.h>.
27722 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27723 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27724 <bp-sym.h> and <bp-asm.h>.
27725 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27726 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27727 <bp-asm.h>.
27728 (__mpn_lshift): Don't use BP_SYM.
27729 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27730 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27731 <bp-asm.h>.
27732 (memset): Don't use BP_SYM.
27733 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27734 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27735 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27736 <bp-asm.h>.
27737 (__mpn_mul_1): Don't use BP_SYM.
27738 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27739 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27740 <bp-sym.h> and <bp-asm.h>.
27741 (memcmp): Don't use BP_SYM.
27742 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27743 <bp-sym.h> and <bp-asm.h>.
27744 (memcpy): Don't use BP_SYM.
27745 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27746 <bp-sym.h> and <bp-asm.h>.
27747 (memset): Don't use BP_SYM.
27748 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27749 <bp-sym.h> and <bp-asm.h>.
27750 (strncmp): Don't use BP_SYM.
27751 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27752 <bp-sym.h> and <bp-asm.h>.
27753 (memcpy): Don't use BP_SYM.
27754 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27755 <bp-sym.h> and <bp-asm.h>.
27756 (memset): Don't use BP_SYM.
27757 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27758 <bp-sym.h> and <bp-asm.h>.
27759 (__memchr): Don't use BP_SYM.
27760 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27761 <bp-sym.h> and <bp-asm.h>.
27762 (memcmp): Don't use BP_SYM.
27763 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27764 <bp-sym.h> and <bp-asm.h>.
27765 (memcpy): Don't use BP_SYM.
27766 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27767 <bp-sym.h> and <bp-asm.h>.
27768 (__mempcpy): Don't use BP_SYM.
27769 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27770 <bp-sym.h> and <bp-asm.h>.
27771 (__memrchr): Don't use BP_SYM.
27772 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27773 <bp-sym.h> and <bp-asm.h>.
27774 (memset): Don't use BP_SYM.
27775 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27776 <bp-sym.h> and <bp-asm.h>.
27777 (__rawmemchr): Don't use BP_SYM.
27778 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27779 <bp-sym.h> and <bp-asm.h>.
27780 (__STRCMP): Don't use BP_SYM.
27781 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27782 <bp-sym.h> and <bp-asm.h>.
27783 (strchr): Don't use BP_SYM.
27784 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27785 <bp-sym.h> and <bp-asm.h>.
27786 (__strchrnul): Don't use BP_SYM.
27787 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27788 <bp-sym.h> and <bp-asm.h>.
27789 (strlen): Don't use BP_SYM.
27790 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27791 <bp-sym.h> and <bp-asm.h>.
27792 (strncmp): Don't use BP_SYM.
27793 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27794 <bp-sym.h> and <bp-asm.h>.
27795 (__strnlen): Don't use BP_SYM.
27796 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27797 <bp-asm.h>.
27798 (__mpn_rshift): Don't use BP_SYM.
27799 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27800 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27801 <bp-sym.h> and <bp-asm.h>.
27802 (__sigsetjmp): Don't use BP_SYM.
27803 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27804 (L(start_addresses)): Don't use BP_SYM.
27805 (_start): Likewise.
27806 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27807 <bp-asm.h>.
27808 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27809 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27810 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27811 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27812 <bp-asm.h>.
27813 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27814 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27815 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27816 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27817 <bp-asm.h>.
27818 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27819 comments.
27820 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27821 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27822 <bp-asm.h>.
27823 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27824 FIXME comments.
27825 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27826 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27827 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27828 <bp-asm.h>.
27829 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27830 comment.
27831 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27832 and <bp-asm.h>.
27833 (strncmp): Don't use BP_SYM,
27834 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27835 <bp-asm.h>.
27836 (__mpn_sub_n): Don't use BP_SYM.
27837 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27838 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27839 and <bp-asm.h>.
27840 (__mpn_submul_1): Don't use BP_SYM.
27841 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27843 <bp-sym.h> and <bp-asm.h>.
27844 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27846 <bp-sym.h> and <bp-asm.h>.
27847 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27848 comment.
27849
8d19fe64
SP
278502013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27851
27852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27853 Use ZK to minimize writes to Z.
27854 (sub_magnitudes): Simplify code a bit.
27855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27856 Use ZK to minimize writes to Z.
27857 (sub_magnitudes): Simplify code a bit.
27858
85bd816a
RM
278592013-02-27 Roland McGrath <roland@hack.frob.com>
27860
27861 * csu/gmon-start.c: Add special exception to license text.
27862
b5977bf2
RH
278632013-02-27 Richard Henderson <rth@redhat.com>
27864
27865 * scripts/config.guess: Update from config.git.
27866 * scripts/config.sub: Likewise.
27867
11d6e2f2
SP
278682013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27869
09c14ed2
SP
27870 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27871
a688864e
SP
27872 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27873
6295157a
SP
27874 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27875
b8de2202
SP
27876 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27877
11d6e2f2
SP
27878 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27879
7e80ddb8
RM
278802013-02-26 Roland McGrath <roland@hack.frob.com>
27881
27882 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27883 [$(build-shared = yes].
7e80ddb8 27884
7da6d9ed
SP
278852013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27886
45f05884
SP
27887 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27888 (__mul): Reduce iterations for calculating mantissa.
27889
2236d359
SP
27890 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27891 MPTWO.
27892 (__mpranred): Likewise.
27893
7da6d9ed
SP
27894 [BZ #15160]
27895 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27896 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27897
b7688c42
PE
278982013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27899
27900 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27901 Define __attribute__.
27902
53a5c423
SP
279032013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27904
27905 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27906 unused.
27907 * posix/regex_internal.h (__attribute): Remove.
27908 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27909 (re_string_context_at): Likewise.
27910 (bitset_not): Use __attribute__ and mark function as possibly
27911 unused.
27912 (bitset_merge): Likewise.
27913 (bitset_mask): Likewise.
27914 (re_string_char_size_at): Likewise.
27915 (re_string_wchar_at): Likewise.
27916 (re_string_elem_size_at): Likewise.
27917
60f5a8b5
SP
279182013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27919
2a983a2e
SP
27920 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27921 code.
27922 (cc32): Likewise.
27923
e69804d1
SP
27924 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27925 (__acr): Likewise.
27926 (__cpy): Likewise.
27927 (norm): Likewise.
27928 (denorm): Likewise.
27929 (__dbl_mp): Likewise.
27930 (add_magnitudes): Likewise.
27931 (sub_magnitudes): Likewise.
27932 (__mul): Likewise.
27933 (__inv): Likewise.
27934
2f22a1e8
SP
27935 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27936 style.
27937
8930ddc7
SP
27938 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27939 style.
27940
dc60cb11
SP
27941 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27942 code.
27943
60f5a8b5
SP
27944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27945 up changes with default code.
27946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27947 Likewise.
27948
b4d1fd33
AM
279492013-02-24 Allan McRae <allan@archlinux.org>
27950
faf6f8bc
AM
27951 * manual/socket.texi (The Internet Namespace): Order menu items
27952 to match that in the file.
27953
b4d1fd33
AM
27954 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27955 node listing of the info page menu.
27956
2366713d
JM
279572013-02-21 Joseph Myers <joseph@codesourcery.com>
27958
27959 [BZ #13550]
27960 * sysdeps/i386/bp-asm.h: Remove file.
27961 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27962 (PARMS): Do not use macros from bp-asm.h.
27963 (S1): Likewise.
27964 (S2): Likewise.
27965 (SIZE): Likewise.
27966 (__mpn_add_n): Do not use BP_SYM
27967 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27968 "bp-asm.h".
27969 (PARMS): Do not use macros from bp-asm.h.
27970 (S1): Likewise.
27971 (SIZE): Likewise.
27972 (__mpn_addmul_1): Do not use BP_SYM
27973 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27974 "bp-asm.h".
27975 (PARMS): Do not use macros from bp-asm.h.
27976 (SIGMSK): Likewise.
27977 (_setjmp): Likewise. Do not use BP_SYM.
27978 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27979 "bp-asm.h".
27980 (PARMS): Do not use macros from bp-asm.h.
27981 (SIGMSK): Likewise.
27982 (setjmp): Likewise. Do not use BP_SYM.
27983 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27984 "bp-asm.h".
27985 (PARMS): Do not use macros from bp-asm.h.
27986 (__frexp): Do not use BP_SYM.
27987 (frexp): Likewise.
27988 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27989 "bp-asm.h".
27990 (PARMS): Do not use macros from bp-asm.h.
27991 (__frexpf): Do not use BP_SYM.
27992 (frexpf): Likewise.
27993 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27994 "bp-asm.h".
27995 (PARMS): Do not use macros from bp-asm.h.
27996 (__frexpl): Do not use BP_SYM.
27997 (frexpl): Likewise.
27998 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27999 "bp-asm.h".
28000 (PARMS): Do not use macros from bp-asm.h.
28001 (__remquo): Do not use BP_SYM.
28002 (remquo): Likewise.
28003 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28004 "bp-asm.h".
28005 (PARMS): Do not use macros from bp-asm.h.
28006 (__remquof): Do not use BP_SYM.
28007 (remquof): Likewise.
28008 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28009 "bp-asm.h".
28010 (PARMS): Do not use macros from bp-asm.h.
28011 (__remquol): Do not use BP_SYM.
28012 (remquol): Likewise.
28013 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28014 "bp-asm.h".
28015 (PARMS): Do not use macros from bp-asm.h.
28016 (DEST): Likewise.
28017 (SRC): Likewise.
28018 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
28019 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28020 "bp-asm.h".
28021 (PARMS): Do not use macros from bp-asm.h.
28022 (strlen): Do not use BP_SYM.
28023 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28024 "bp-asm.h".
28025 (PARMS): Do not use macros from bp-asm.h.
28026 (S1): Likewise.
28027 (S2): Likewise.
28028 (SIZE): Likewise.
28029 (__mpn_add_n): Do not use BP_SYM.
28030 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28031 "bp-asm.h".
28032 (PARMS): Do not use macros from bp-asm.h.
28033 (S1): Likewise.
28034 (SIZE): Likewise.
28035 (__mpn_addmul_1): Do not use BP_SYM.
28036 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28037 weak_alias.
28038 (bzero): Likewise.
28039 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28040 "bp-asm.h".
28041 (PARMS): Do not use macros from bp-asm.h.
28042 (S): Likewise.
28043 (SIZE): Likewise.
28044 (__mpn_lshift): Do not use BP_SYM.
28045 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28046 "bp-asm.h".
28047 (PARMS): Do not use macros from bp-asm.h.
28048 (DEST): Likewise.
28049 (SRC): Likewise.
28050 (LEN): Likewise.
28051 (memcpy): Likewise. Do not use BP_SYM.
28052 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28053 libc_hidden_def and weak_alias.
28054 (mempcpy): Do not use BP_SYM in weak_alias.
28055 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28056 "bp-asm.h".
28057 (PARMS): Do not use macros from bp-asm.h.
28058 (DEST): Likewise.
28059 (LEN): Likewise.
28060 [!BZERO_P] (CHR): Likewise.
28061 (memset): Likewise. Do not use BP_SYM.
28062 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28063 "bp-asm.h".
28064 (PARMS): Do not use macros from bp-asm.h.
28065 (S1): Likewise.
28066 (SIZE): Likewise.
28067 (__mpn_mul_1): Do not use BP_SYM.
28068 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28069 "bp-asm.h".
28070 (PARMS): Do not use macros from bp-asm.h.
28071 (S): Likewise.
28072 (SIZE): Likewise.
28073 (__mpn_rshift): Do not use BP_SYM.
28074 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28075 "bp-asm.h".
28076 (PARMS): Do not use macros from bp-asm.h.
28077 (STR): Likewise.
28078 (CHR): Likewise.
28079 (strchr): Likewise. Do not use BP_SYM.
28080 (index): Do not use BP_SYM in weak_alias.
28081 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28082 "bp-asm.h".
28083 (PARMS): Do not use macros from bp-asm.h.
28084 (DEST): Likewise.
28085 (SRC): Likewise.
28086 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
28087 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28088 "bp-asm.h".
28089 (PARMS): Do not use macros from bp-asm.h.
28090 (strlen): Do not use BP_SYM.
28091 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28092 "bp-asm.h".
28093 (PARMS): Do not use macros from bp-asm.h.
28094 (S1): Likewise.
28095 (S2): Likewise.
28096 (SIZE): Likewise.
28097 (__mpn_sub_n): Do not use BP_SYM.
28098 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28099 "bp-asm.h".
28100 (PARMS): Do not use macros from bp-asm.h.
28101 (S1): Likewise.
28102 (SIZE): Likewise.
28103 (__mpn_submul_1): Do not use BP_SYM.
28104 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28105 "bp-asm.h".
28106 (PARMS): Do not use macros from bp-asm.h.
28107 (S1): Likewise.
28108 (S2): Likewise.
28109 (SIZE): Likewise.
28110 (__mpn_add_n): Do not use BP_SYM.
28111 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28112 weak_alias.
28113 (bzero): Likewise.
28114 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28115 "bp-asm.h".
28116 (PARMS): Do not use macros from bp-asm.h.
28117 (BLK2): Likewise.
28118 (LEN): Likewise.
28119 (memcmp): Do not use BP_SYM.
28120 (bcmp): Do not use BP_SYM in weak_alias.
28121 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28122 "bp-asm.h".
28123 (PARMS): Do not use macros from bp-asm.h.
28124 (DEST): Likewise.
28125 (SRC): Likewise.
28126 (LEN): Likewise.
28127 (memcpy): Likewise. Do not use BP_SYM.
28128 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28129 "bp-asm.h".
28130 (PARMS): Do not use macros from bp-asm.h.
28131 (DEST): Likewise.
28132 (SRC): Likewise.
28133 (LEN): Likewise.
28134 (memmove): Likewise. Do not use BP_SYM.
28135 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28136 "bp-asm.h".
28137 (PARMS): Do not use macros from bp-asm.h.
28138 (DEST): Likewise.
28139 (SRC): Likewise.
28140 (LEN): Likewise.
28141 (__mempcpy): Likewise. Do not use BP_SYM.
28142 (mempcpy): Do not use BP_SYM in weak_alias.
28143 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28144 "bp-asm.h".
28145 (PARMS): Do not use macros from bp-asm.h.
28146 (DEST): Likewise.
28147 (LEN): Likewise.
28148 [!BZERO_P] (CHR): Likewise.
28149 (memset): Likewise. Do not use BP_SYM.
28150 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28151 "bp-asm.h".
28152 (PARMS): Do not use macros from bp-asm.h.
28153 (STR2): Likewise.
28154 (strcmp): Do not use BP_SYM.
28155 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28156 "bp-asm.h".
28157 (PARMS): Do not use macros from bp-asm.h.
28158 (STR): Likewise.
28159 (DELIM): Likewise.
28160 [USE_AS_STRTOK_R] (SAVE): Likewise.
28161 (FUNCTION): Likewise. Do not use BP_SYM.
28162 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28163 aliases.
28164 (strtok_r): Likewise.
28165 (__GI___strtok_r): Likewise.
28166 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28167 (PARMS): Do not use macros from bp-asm.h.
28168 (S): Likewise.
28169 (SIZE): Likewise.
28170 (__mpn_lshift): Do not use BP_SYM.
28171 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28172 (PARMS): Do not use macros from bp-asm.h.
28173 (STR): Likewise.
28174 (CHR): Likewise.
28175 (__memchr): Do not use BP_SYM.
28176 (memchr): Do not use BP_SYM in weak_alias.
28177 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28178 (PARMS): Do not use macros from bp-asm.h.
28179 (BLK2): Likewise.
28180 (LEN): Likewise.
28181 (memcmp): Do not use BP_SYM.
28182 (bcmp): Do not use BP_SYM in weak_alias.
28183 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28184 (PARMS): Do not use macros from bp-asm.h.
28185 (S1): Likewise.
28186 (SIZE): Likewise.
28187 (__mpn_mul_1): Do not use BP_SYM.
28188 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28189 "bp-asm.h".
28190 (PARMS): Do not use macros from bp-asm.h.
28191 (STR): Likewise.
28192 (CHR): Likewise.
28193 (__rawmemchr): Do not use BP_SYM.
28194 (rawmemchr): Do not use BP_SYM in weak_alias.
28195 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28196 (PARMS): Do not use macros from bp-asm.h.
28197 (S): Likewise.
28198 (SIZE): Likewise.
28199 (__mpn_rshift): Do not use BP_SYM.
28200 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28201 (PARMS): Do not use macros from bp-asm.h.
28202 (SIGMSK): Likewise.
28203 (__sigsetjmp): Likewise. Do not use BP_SYM.
28204 * sysdeps/i386/start.S: Do not include "bp-sym.h".
28205 (_start): Do not use BP_SYM.
28206 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28207 (PARMS): Do not use macros from bp-asm.h.
28208 (DEST): Likewise.
28209 (SRC): Likewise.
28210 (__stpcpy): Likewise. Do not use BP_SYM.
28211 (stpcpy): Do not use BP_SYM in weak_alias.
28212 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28213 "bp-asm.h".
28214 (PARMS): Do not use macros from bp-asm.h.
28215 (DEST): Likewise.
28216 (SRC): Likewise.
28217 (LEN): Likewise.
28218 (__stpncpy): Likewise. Do not use BP_SYM.
28219 (stpncpy): Do not use BP_SYM in weak_alias.
28220 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28221 (PARMS): Do not use macros from bp-asm.h.
28222 (STR): Likewise.
28223 (CHR): Likewise.
28224 (strchr): Likewise. Do not use BP_SYM.
28225 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28226 "bp-asm.h".
28227 (PARMS): Do not use macros from bp-asm.h.
28228 (STR): Likewise.
28229 (CHR): Likewise.
28230 (__strchrnul): Likewise. Do not use BP_SYM.
28231 (strchrnul): Do not use BP_SYM in weak_alias.
28232 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28233 "bp-asm.h".
28234 (PARMS): Do not use macros from bp-asm.h.
28235 (STOP): Likewise.
28236 (strcspn): Do not use BP_SYM.
28237 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28238 "bp-asm.h".
28239 (PARMS): Do not use macros from bp-asm.h.
28240 (STR): Likewise.
28241 (STOP): Likewise.
28242 (strpbrk): Likewise. Do not use BP_SYM.
28243 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28244 "bp-asm.h".
28245 (PARMS): Do not use macros from bp-asm.h.
28246 (STR): Likewise.
28247 (CHR): Likewise.
28248 (strrchr): Likewise. Do not use BP_SYM.
28249 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28250 (PARMS): Do not use macros from bp-asm.h.
28251 (SKIP): Likewise.
28252 (strspn): Do not use BP_SYM.
28253 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28254 (PARMS): Do not use macros from bp-asm.h.
28255 (STR): Likewise.
28256 (DELIM): Likewise.
28257 (SAVE): Likewise.
28258 (FUNCTION): Likewise. Do not use BP_SYM.
28259 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28260 aliases.
28261 (strtok_r): Likewise.
28262 (__GI___strtok_r): Likewise.
28263 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28264 (PARMS): Do not use macros from bp-asm.h.
28265 (S1): Likewise.
28266 (S2): Likewise.
28267 (SIZE): Likewise.
28268 (__mpn_sub_n): Do not use BP_SYM.
28269 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28270 "bp-asm.h".
28271 (PARMS): Do not use macros from bp-asm.h.
28272 (S1): Likewise.
28273 (SIZE): Likewise.
28274 (__mpn_submul_1): Do not use BP_SYM.
28275 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28276 <bp-sym.h>.
28277 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28278 and <bp-asm.h>.
28279 (PARMS): Do not use macros from bp-asm.h.
28280 (FLAGS): Likewise.
28281 (PTID): Likewise.
28282 (TLS): Likewise.
28283 (CTID): Likewise.
28284 (__clone): Do not use BP_SYM.
28285 (clone): Do not use BP_SYM in weak_alias.
28286 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28287 and <bp-asm.h>.
28288 (PARMS): Do not use macros from bp-asm.h.
28289 (LEN): Likewise.
28290 (__mmap64): Do not use BP_SYM.
28291 (mmap64): Do not use BP_SYM in weak_alias.
28292 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28293 <bp-sym.h> and <bp-asm.h>.
28294 (PARMS): Do not use macros from bp-asm.h.
28295 (__posix_fadvise64_l64): Do not use BP_SYM.
28296 * sysdeps/unix/sysv/linux/i386/semtimedop.S
28297 (PARMS): Do not use macros from bp-asm.h.
28298 (NSOPS): Likewise.
28299 (semtimedop): Do not use BP_SYM.
28300 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28301 and <bp-asm.h>.
28302
582a3cff
AM
283032013-02-21 Allan McRae <allan@archlinux.org>
28304
28305 * manual/message.texi (Charset conversion in gettext):
28306 Move @end statement to beginning of line.
28307
bab8a695
SP
283082013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28309
80945231
SP
28310 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28311 static.
28312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28313 Likewise.
28314
bab8a695
SP
28315 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28316 (denorm): Likewise.
28317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28319
e21d7aa7
AK
283202013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28321
28322 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28323 tail-call to the resolved function if pltexit isn't needed.
28324
4c7a4263
SP
283252013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28326
28327 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28328 or Y being zero as being unlikely.
28329 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28330 Likewise.
28331
41f49342
CD
283322013-02-20 Carlos O'Donell <carlos@redhat.com>
28333
28334 * manual/nss.texi (System Databases and Name Service Switch):
28335 Remove frobnicate @pxref.
28336
50022a93
TS
283372013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28338
28339 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28340 __attribute__ ((unused)) to __attribute__ ((__unused__)).
28341
08cbd996
PM
283422013-02-20 Petr Machata <pmachata@redhat.com>
28343
28344 * elf/elf.h (R_ARM_TARGET1): New macro.
28345 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28346 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28347 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28348 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28349 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28350 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28351 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28352 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28353 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28354 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28355 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28356 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28357 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28358 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28359 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28360 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28361 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28362 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28363 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28364 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28365 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28366 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28367 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28368 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28369 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28370 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28371 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28372 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28373 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28374 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28375 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28376 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28377 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28378 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28379 (R_ARM_THM_GOT_BREL12): Likewise.
28380 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28381 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28382 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28383 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28384 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28385 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28386 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28387 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28388 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28389
c7b275d6
TS
283902013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28391
28392 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28393 __attribute_used__ to __attribute__ ((unused)).
28394
20cd7fb3
SP
283952013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28396
28397 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28398 powerpc mpa.c.
28399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28400 comment formatting.
28401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28402
92945b52
JM
284032013-02-19 Joseph Myers <joseph@codesourcery.com>
28404
28405 [BZ #13550]
28406 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28407 Remove macro.
28408 (ENTER): Remove both macro definitions.
28409 (LEAVE): Likewise.
28410 (CHECK_BOUNDS_LOW): Likewise.
28411 (CHECK_BOUNDS_HIGH): Likewise.
28412 (CHECK_BOUNDS_BOTH): Likewise.
28413 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28414 (RETURN_BOUNDED_POINTER): Likewise.
28415 (RETURN_NULL_BOUNDED_POINTER): Likewise.
28416 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28417 (POP_ERRNO_LOCATION_RETURN): Likewise.
28418 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28419 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28420 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28421 macros.
28422 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28423 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28424 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28425 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28426 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28427 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28428 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28429 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28430 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28431 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28432 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28433 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28434 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28435 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28436 removed macros.
28437 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28438 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28439 macros.
28440 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28441 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28442 * sysdeps/i386/i586/memset.S (memset): Likewise.
28443 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28444 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28445 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28446 macros.
28447 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28448 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28449 Change uses of L(2) to L(out).
28450 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28451 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28452 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28453 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28454 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28455 removed macros.
28456 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28457 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28458 macros.
28459 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28460 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28461 (RETURN): Do not use macro LEAVE.
28462 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28463 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28464 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28465 * sysdeps/i386/i686/memset.S (memset): Likewise.
28466 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28467 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28468 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28469 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28470 Likewise.
28471 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28472 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
28473 L(1_2) and L(1_3) into L(1).
28474 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28475 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28476 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28477 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28478 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28479 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28480 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28481 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28482 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28483 macros.
28484 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28485 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28486 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28487 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28488 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28489 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28490 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28491 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28492 * sysdeps/i386/strcspn.S (strcspn): Likewise.
28493 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28494 * sysdeps/i386/strrchr.S (strrchr): Likewise.
28495 * sysdeps/i386/strspn.S (strspn): Likewise.
28496 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28497 conditional code.
28498 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28499 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28500 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28501 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
28502 L(1_3) into L(1_1).
28503 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28504 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28505 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28506 macros.
28507 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28508
2389741a
JJ
285092013-02-19 Jakub Jelinek <jakub@redhat.com>
28510
28511 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28512 macro.
28513
2016b3cd
SP
285142013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28515
e4f22324
SP
28516 * math/atest-exp.c (exp_mpn): Remove ROUND.
28517 * math/atest-exp2.c (exp_mpn): Likewise.
28518 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28519
2016b3cd
SP
28520 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28521 * stdlib/tst-tls-atexit-lib.c: Likewise.
28522 * stdlib/tst-tls-atexit.c: Likewise.
28523
4be9b544
MF
285242013-02-18 Mike Frysinger <vapier@gentoo.org>
28525
28526 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28527 and __attribute_alloc_size__.
28528
2f62b9ee
MF
285292013-02-18 Mike Frysinger <vapier@gentoo.org>
28530
28531 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28532 __attribute_alloc_size__.
28533 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28534 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28535
6ff444c4
MF
285362013-02-18 Mike Frysinger <vapier@gentoo.org>
28537
28538 * include/programs/xmalloc.h: New file.
28539 * catgets/gencat.c: Include it.
28540 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28541 * elf/pldd.c: Likewise.
28542 * iconv/iconv_charmap.c: Likewise.
28543 * iconv/iconvconfig.c: Likewise.
28544 * iconv/strtab.c: Likewise.
28545 * locale/programs/locale.c: Likewise.
28546 * locale/programs/localedef.h: Likewise.
28547 * locale/programs/simple-hash.c: Likewise.
28548 * nscd/nscd.h: Likewise.
28549 * nss/makedb.c: Likewise.
28550 * sysdeps/generic/ldconfig.h: Likewise.
28551
be179c8a
SP
285522013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28553
ba384f6e
SP
28554 * Versions.def: Add GLIBC_2.18.
28555 * include/link.h (struct link_map): New member l_tls_dtor_count.
28556 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28557 (__call_tls_dtors): Likewise.
28558 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28559 __cxa_thread_atexit_impl.
28560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28561 Likewise.
28562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28563 Likewise.
28564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28565 Likewise.
28566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28567 Likewise.
28568 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28570 Likewise.
28571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28572 Likewise.
28573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28575 Likewise.
28576 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28577 (tests): Add test case tst-tls-atexit.
28578 (modules-names): Add shared library for tst-tls-atexit.
85891aca 28579 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
28580 (GLIBC_PRIVATE): Add __call_tls_dtors.
28581 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28582 for libstdc++.
28583 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28584 * stdlib/tst-tls-atexit.c: New test case.
28585 * stdlib/tst-tls-atexit-lib.c: New test case.
28586
ffaa74cf 28587 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 28588
be179c8a
SP
28589 * elf/Versions (ld): Add _dl_find_dso_for_object.
28590 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28591 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28592 (dl_open_worker): Use _dl_find_dso_for_object.
28593 * elf/dl-sym.c (do_sym): Likewise.
28594 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28595
f78b5caa
AK
285962013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28597
28598 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28599 Syntactic changes only.
28600 (_dl_runtime_profile): Do a tail-call to the resolved function.
28601
29691210
JM
286022013-02-17 Joseph Myers <joseph@codesourcery.com>
28603
28604 [BZ #13550]
28605 * sysdeps/x86_64/bp-asm.h: Remove file.
28606 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28607 <bp-sym.h> and <bp-asm.h>.
28608 (__clone): Do not use BP_SYM.
28609 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28610 <bp-sym.h> and <bp-asm.h>.
28611 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28612 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28613 "bp-asm.h".
28614 (_setjmp): Do not use BP_SYM.
28615 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28616 "bp-asm.h".
28617 (setjmp): Do not use BP_SYM.
28618 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28619 libc_hidden_def.
28620 (mempcpy): Do not use BP_SYM in weak_alias.
28621 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28622 "bp-asm.h".
28623 (strchr): Do not use BP_SYM.
28624 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28625 "bp-asm.h".
28626 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28627 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28628 (_start): Do not use BP_SYM.
28629 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28630 "bp-asm.h".
28631 (strcat): Do not use BP_SYM.
28632 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28633 "bp-asm.h".
28634 (STRCMP): Do not use BP_SYM.
28635 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28636 "bp-asm.h".
28637 (STRCPY): Do not use BP_SYM.
28638 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28639 "bp-asm.h".
28640 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28641 "bp-asm.h".
28642 (FUNCTION): Do not use BP_SYM.
28643 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28644 weak_alias.
28645 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28646
f238fd19
AJ
286472013-02-17 Andreas Jaeger <aj@suse.de>
28648
28649 * time/Versions: Sort entries.
28650 * string/Versions: Likewise.
28651 * resolv/Versions: Likewise.
28652 * posix/Versions: Likewise.
28653 * iconv/Versions: Likewise.
28654 * elf/Versions: Likewise.
28655 * wcsmbs/Versions: Likewise.
28656
bd07f23c 286572013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 28658
22af19f9
SP
28659 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28660 loop termination condition.
28661
4709fe76
SP
28662 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28663 variable to calculate EZ.
28664 (__sqr): Likewise.
2d0e0f29
SP
28665
28666 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28667 the lower precision input.
28668
daaa7713
JM
286692013-02-15 Joseph Myers <joseph@codesourcery.com>
28670
28671 [BZ #13550]
28672 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28673 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28674 (run-via-rtld-prefix): Do not handle %-bp tests.
28675 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28676 (all-object-suffixes): Remove .ob.
28677 (bppfx): Remove variable.
28678 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28679 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28680 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28681 [$(build-bounded) = yes] (libtype.ob): Likewise.
28682 * Makerules (elide-routines.ob): Remove variable.
28683 (do-tests-clean): Do not handle *-bp.out.
28684 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28685 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28686 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28687 (tests): Do not include $(tests-bp.out).
28688 (xtests): Do not include $(xtests-bp.out).
28689 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28690 [$(build-bounded) = yes] ($(addprefix
28691 $(objpfx),$(binaries-bounded))): Remove rule.
28692 ($(objpfx)%-bp.out): Remove rule.
28693 * config.make.in (build-bounded): Remove variable.
28694 * crypt/Makefile [$(build-bounded) = yes]
28695 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28696 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28697 append to variable.
28698 [$(build-bounded) = yes] (install-lib): Likewise.
28699 [$(build-bounded) = yes] (generated): Likewise.
28700 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28701 Remove rule.
28702 * intl/Makefile [$(build-bounded) = yes]
28703 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28704 * math/Makefile [$(build-bounded) = yes]
28705 ($(tests:%=$(objpfx)%-bp): Likewise.
28706 * misc/Makefile [$(build-bounded) = yes]
28707 ($(objpfx)tst-tsearch-bp): Likewise.
28708 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28709 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28710 Remove dependency.
28711 * string/Makefile (o-objects.ob): Remove variable.
28712 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28713 (CFLAGS-.ob): Remove variable.
28714 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28715 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28716 both definitions of variable.
28717 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28718 (ASFLAGS-.ob): Remove variable.
28719
e97ed6dd
JM
287202013-02-14 Joseph Myers <joseph@codesourcery.com>
28721
2bdd4ca6
JM
28722 [BZ #13550]
28723 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28724 Remove __BOUNDED_POINTERS__ from condition.
28725 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28726 * string/bits/string2.h [!__NO_STRING_INLINES &&
28727 !__BOUNDED_POINTERS__]: Likewise.
28728 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28729 Likewise.
28730 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28731 Remove conditional code.
28732 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28733 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28734 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28735 condition.
28736
e97ed6dd
JM
28737 [BZ #13550]
28738 * csu/libc-start.c: Do not include <bp-sym.h>.
28739 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28740 * elf/dl-open.c: Do not include <bp-sym.h>.
28741 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28742 * math/fegetenv.c: Do not include <bp-sym.h>.
28743 (fegetenv): Do not use BP_SYM in versioned symbols.
28744 * nptl/sysdeps/pthread/bits/libc-lockP.h
28745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28746 <bp-sym.h>.
28747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28748 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28750 (__pthread_mutex_destroy): Likewise.
28751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28752 (__pthread_mutex_lock): Likewise.
28753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28754 (__pthread_mutex_trylock): Likewise.
28755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28756 (__pthread_mutex_unlock): Likewise.
28757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28758 (__pthread_mutexattr_init): Likewise.
28759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28760 (__pthread_mutexattr_destroy): Likewise.
28761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28762 (__pthread_mutexattr_settype): Likewise.
28763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28764 (__pthread_rwlock_init): Likewise.
28765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28766 (__pthread_rwlock_destroy): Likewise.
28767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28768 (__pthread_rwlock_rdlock): Likewise.
28769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28770 (__pthread_rwlock_tryrdlock): Likewise.
28771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28772 (__pthread_rwlock_wrlock): Likewise.
28773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28774 (__pthread_rwlock_trywrlock): Likewise.
28775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28776 (__pthread_rwlock_unlock): Likewise.
28777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28778 (__pthread_key_create): Likewise.
28779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28780 (__pthread_setspecific): Likewise.
28781 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28782 (__pthread_getspecific): Likewise.
28783 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28784 Likewise.
28785 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28786 (_pthread_cleanup_push_defer): Likewise.
28787 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28788 (_pthread_cleanup_pop_restore): Likewise.
28789 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28790 (pthread_setcancelstate): Likewise.
28791 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28792 <bp-sym.h>.
28793 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28794 (memchr): Do not use BP_SYM in weak_alias.
28795 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28796 (fegetenv): Do not use BP_SYM in versioned symbols.
28797 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28798 (fesetenv): Do not use BP_SYM in versioned symbols.
28799 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28800 (feupdateenv): Do not use BP_SYM in versioned symbols.
28801 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28802 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28803 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28804 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28805 (open64): Do not use BP_SYM in weak_alias.
28806 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28807 (fegetenv): Do not use BP_SYM in versioned symbols.
28808 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28809 (fesetenv): Do not use BP_SYM in versioned symbols.
28810 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28811 (feupdateenv): Do not use BP_SYM in versioned symbols.
28812 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28813 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28814 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28815 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28816 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28817 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28818 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28819 <bp-sym.h>.
28820 (__libc_start_main): Do not use BP_SYM.
28821
d6752ccd
SP
288222013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28823
cb57ce60
SP
28824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28825 redundant return line.
28826 (norm): Likewise.
28827 (denorm): Likewise.
28828 (dbl_mp): Likewise.
28829 (sub_magnitudes): Likewise.
28830 (__add): Likewise.
28831 (__sub): Likewise.
28832 (__mul): Likewise.
28833 (__inv): Likewise.
28834 (__dvd): Likewise.
28835 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28836 (norm): Likewise.
28837 (denorm): Likewise.
28838 (dbl_mp): Likewise.
28839 (sub_magnitudes): Likewise.
28840 (__add): Likewise.
28841 (__sub): Likewise.
28842 (__mul): Likewise.
28843 (__inv): Likewise.
28844 (__dvd): Likewise.
28845
f414520d
SP
28846 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28847 instead of __mul.
28848 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28849 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28850 (cc32): Likewise.
28851
d6752ccd
SP
28852 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28853 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28854 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28855 of __mul for squares.
28856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28857 function
28858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28859 Likewise.
28860 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28861 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28862
70d9946a
JM
288632013-02-13 Joseph Myers <joseph@codesourcery.com>
28864
28865 [BZ #13550]
28866 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28867 code.
28868 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28869 prototype or function definition. Rename ubp_* variables and
28870 parameters. Remove argv definitions conditional on
28871 [__BOUNDED_POINTERS__].
28872 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28873 * elf/dl-runtime.c (_dl_fixup): Likewise.
28874 * include/set-hooks.h (RUN_HOOK): Likewise.
28875 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28876 definition.
28877 * string/strcpy.c (strcpy): Do not use __unbounded.
28878 * sysdeps/generic/frame.h (struct layout): Likewise.
28879 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28880 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28881 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28882 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28883 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28884 (__backtrace): Likewise.
28885 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28886 use __ptrvalue.
28887 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28888 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28889 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28890 Likewise.
28891 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28892 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28893 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28894 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28895 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28896 Do not use __unbounded.
28897 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28898 Rename __unboundedrlimits parameter to rlimits in prototype.
28899 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28900 Do not use __unbounded.
28901 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28902 not use __ptrvalue.
28903 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28904 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28905 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28906 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28907 __ptrvalue or __unbounded.
28908 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28909 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28910 use __unbounded.
28911 (__new_msgctl): Do not use __ptrvalue.
28912 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28913 __unbounded.
28914 (__libc_msgrcv): Do not use __ptrvalue.
28915 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28916 startup_info): Do not use __unbounded.
28917 (__libc_start_main): Likewise. Rename ubp_* variables and
28918 parameters. Remove argv definitions conditional on
28919 [__BOUNDED_POINTERS__].
28920 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28921 __ptrvalue.
28922 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28923 use __unbounded.
28924 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28925 or __ptrvalue.
28926 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28927 use __unbounded.
28928 (__new_shmctl): Do not use __ptrvalue.
28929 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28930 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28931 Likewise.
28932 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28933 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28934 (__libc_sigaction): Likewise.
28935 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28936 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28937 Likewise.
28938 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28939
cc7834d6
OB
289402013-02-13 Ondřej Bílka <neleai@seznam.cz>
28941
ffb1ec7b 28942 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
28943
28944 * string/mempcpy.c: Implement by calling memcpy.
28945
bdf02814
SP
289462013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28947
c2af38aa
SP
28948 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28949
4e92d59e
SP
28950 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28951 evaluation.
28952
909279a5
SP
28953 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28954 values in the mantissa.
28955
bdf02814
SP
28956 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28957 minimize writes to Z.
28958 (sub_magnitudes): Simplify code a bit.
28959
cd525923
RM
289602013-02-12 Roland McGrath <roland@hack.frob.com>
28961
28962 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28963 from the message. The linker prefixes all warnings with that already.
28964
7e2f0d2d
AS
289652013-02-12 Andreas Schwab <schwab@suse.de>
28966
a445af0b
AS
28967 [BZ #15078]
28968 * posix/regexec.c (extend_buffers): Add parameter min_len.
28969 (check_matching): Pass minimum needed length.
28970 (clean_state_log_if_needed): Likewise.
28971 (get_subexp): Likewise.
28972 * posix/Makefile (tests): Add bug-regex34.
28973 (bug-regex34-ENV): Define.
28974 * posix/bug-regex34.c: New file.
28975
7e2f0d2d
AS
28976 [BZ #11561]
28977 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28978 elements compare against the byte sequence of it, not its name.
28979 * posix/Makefile (tests): Add bug-regex35.
28980 (bug-regex35-ENV): Define.
28981 * posix/bug-regex35.c: New file.
28982
a175b684
TV
289832013-02-11 Tom de Vries <tom@codesourcery.com>
28984
28985 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28986 comment.
28987 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28988 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28989 (CHECK_EOL): Add undef.
28990
310998fe 289912013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
28992
28993 * bits/stdlib-bsearch.h: New file.
28994 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 28995 * stdlib/stdlib.h: Likewise.
41eda41d 28996
8ded91fb
RM
289972013-02-11 Roland McGrath <roland@hack.frob.com>
28998
28999 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29000 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29001 declaration.
29002 * manual/search.texi (Array Search Function): Add missing const in
29003 lfind prototype.
29004 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29005 declaration to use rlim_t.
29006 (Basic Scheduling Functions): Remove erroneous const from
29007 sched_getparam prototype. Remove erroneous * from
29008 sched_get_priority_max and sched_get_priority_min prototypes.
29009 (Resource Usage): Fix summary @comment on vtimes to refer to
29010 sys/vtimes.h rather than vtimes.h.
29011 Add missing *s in vtimes prototype.
29012 (Limits on Resources): Fix ulimit prototype to return long int.
29013 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29014 prototypes to use long int rather than double.
29015 (BSD Random): Fix initstate and setstate to use char *, not void *.
29016 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29017 prototype to make second argument 'struct aiocb64 *const[]'.
29018 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29019 (Status of AIO Operations): Remove erroneous const in aio_return and
29020 aio_return64 prototypes.
29021 (Synchronizing I/O): Fix sync prototype to return void.
29022 * manual/startup.texi (Suboptions): Remove an erroneous const in
29023 getsubopt prototype.
29024 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29025 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29026 use size_t rather than int.
29027 (Scanning All Users): Likewise for getpwent_r.
29028 (Setting Groups): Add missing const to setgroups prototype.
29029 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29030 * manual/socket.texi (Host Names): Fix gethostbyaddr and
29031 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29032 'const void *' rather than 'const char *'.
29033 (Host Address Functions): Likewise for inet_ntop.
29034 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29035 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29036 ssize_t for return value.
29037 (Sending Data): Likewise for send, sendto, sendmsg.
29038 (Socket Option Functions): Add a missing const in setsockopt prototype.
29039 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29040 use wchar_t for the argument.
29041 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29042 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29043 take no arguments.
29044 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29045 double/float/long double for second argument.
29046 Fix return types of significand, significandf, significandl.
29047 * manual/filesys.texi (Setting Permissions): Use mode_t for second
29048 argument in fchmod prototype.
29049 (File Owner): Use uid_t and gid_t in fchown prototype.
29050 (File Times): Add const to utimes, futimes, and lutimes prototypes.
29051 (Making Special Files): Use mode_t and dev_t in mknod prototype.
29052 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29053 use 'const struct dirent **' as argument types to CMP function pointer
29054 argument.
29055 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29056 (File Times): Fix summary magic @comment for struct utimbuf and utime
29057 to refer to utime.h, not time.h.
29058 * manual/string.texi (Argz Functions): Add missing const in
29059 argz_extract and argz_next prototypes.
29060 (Finding Tokens in a String): Likewise for basename.
29061 (String/Array Comparison): Fix typo in wcscasecmp prototype.
29062 (Copying and Concatenation): Fix typo in wmemmove prototype.
29063 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29064 (Signal Stack): Remove erroneous const in sigstack prototype.
29065 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29066 prototype.
29067 (Simple Calendar Time): Likewise for stime.
29068 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29069 prototype.
29070 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29071 say sys/sysctl.h instead.
29072 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29073 and vsyslog prototypes.
29074
fe77fe6d
TV
290752013-02-11 Tom de Vries <tom@codesourcery.com>
29076
29077 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29078 Remove.
29079
3a09b620
RM
290802013-02-11 Roland McGrath <roland@hack.frob.com>
29081
29082 * misc/sys/mman.h: Fix typo in mremap comment.
29083
550a0b89
RM
290842013-02-08 Roland McGrath <roland@hack.frob.com>
29085
29086 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29087 the '\0' terminator.
29088
a2da1673
JM
290892013-02-08 Joseph Myers <joseph@codesourcery.com>
29090
29091 [BZ #13550]
29092 * debug/segfault.c: Don't include <bp-checks.h>.
29093 * sysdeps/generic/bp-checks.h: Remove file.
29094 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29095 (__GETDENTS): Don't use CHECK_N.
29096 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29097 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29098 (__getgroups): Don't use CHECK_N.
29099 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29100 (setgroups): Don't use CHECK_N.
29101 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29102 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29103 (__libc_msgrcv): Don't use CHECK_N.
29104 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29105 (__libc_msgsnd): Don't use CHECK_N.
29106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29107 <bp-checks.h>.
29108 (__libc_pread): Don't use CHECK_N.
29109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29110 include <bp-checks.h>.
29111 (__libc_pread64): Don't use CHECK_N.
29112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29113 include <bp-checks.h>.
29114 (__libc_pwrite): Don't use CHECK_N.
29115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29116 include <bp-checks.h>.
29117 (__libc_pwrite64): Don't use CHECK_N.
29118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29119 <bp-checks.h>.
29120 (__libc_pread): Don't use CHECK_N.
29121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29122 include <bp-checks.h>.
29123 (__libc_pread64): Don't use CHECK_N.
29124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29125 include <bp-checks.h>.
29126 (__libc_pwrite): Don't use CHECK_N.
29127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29128 include <bp-checks.h>.
29129 (__libc_pwrite64): Don't use CHECK_N.
29130 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29131 (do_pread): Don't use CHECK_N.
29132 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29133 (do_pread64): Don't use CHECK_N.
29134 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29135 (do_pwrite): Don't use CHECK_N.
29136 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29137 (do_pwrite64): Don't use CHECK_N.
29138 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29139 (__libc_readv): Don't use CHECK_N.
29140 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29141 (semop): Don't use CHECK_N.
29142 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29143 <bp-checks.h>.
29144 (semtimedop): Don't use CHECK_N.
29145 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29146 (__libc_pread): Don't use CHECK_N.
29147 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29148 <bp-checks.h>.
29149 (__libc_pread64): Don't use CHECK_N.
29150 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29151 <bp-checks.h>.
29152 (__libc_pwrite): Don't use CHECK_N.
29153 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29154 <bp-checks.h>.
29155 (__libc_pwrite64): Don't use CHECK_N.
29156 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29157 <bp-checks.h>.
29158 (__libc_msgrcv): Don't use CHECK_N.
29159 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29160 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
29161 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29162 (__libc_writev): Don't use CHECK_N.
29163
b84660a8
RM
291642013-02-08 Roland McGrath <roland@hack.frob.com>
29165
7f3e75f8
RM
29166 * string/strcpy.c: Removed unused variable.
29167
b84660a8
RM
29168 * Makeconfig (+sysdep-includes): Define with := rather than =.
29169 Use an existing include/ subdir of each sysdeps dir before it.
29170
471514d3
CD
291712013-02-08 Carlos O'Donell <carlos@redhat.com>
29172
29173 * nscd/connection.c (register_traced_file): Comment function.
29174 [HAVE_INOTIFY] (union __inev): Define.
29175 [HAVE_INOTIFY] (inotify_check_files): New function.
29176 [HAVE_INOTIFY] (clear_db_cache): Likewise.
29177 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29178 clear_db_cache.
29179 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29180
b2d3c3be
CD
291812013-02-08 Carlos O'Donell <carlos@redhat.com>
29182
29183 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29184 loaded if not already and that a failure is permanent.
29185
b39949d2
CD
291862013-02-08 Carlos O'Donell <carlos@redhat.com>
29187
ddacd1db 29188 [BZ #15006]
b39949d2
CD
29189 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29190 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29191
b2c9eff4
JM
291922013-02-08 Joseph Myers <joseph@codesourcery.com>
29193
f3aae3f3
JM
29194 [BZ #13550]
29195 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29196 (CHECK_1_NULL_OK): Likewise.
29197 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29198 (__fxstat): Do not use CHECK_1.
29199 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29200 <bp-checks.h>.
29201 (___fxstat64): Do not use CHECK_1.
29202 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29203 <bp-checks.h>.
29204 (__fxstatat): Do not use CHECK_1.
29205 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29206 <bp-checks.h>.
29207 (__fxstatat64): Do not use CHECK_1.
29208 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29209 <bp-checks.h>.
29210 (__fxstat): Do not use CHECK_1.
29211 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29212 <bp-checks.h>.
29213 (__fxstatat): Do not use CHECK_1.
29214 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29215 <bp-checks.h>.
29216 (__getresgid): Do not use CHECK_1.
29217 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29218 <bp-checks.h>.
29219 (__getresuid): Do not use CHECK_1.
29220 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29221 <bp-checks.h>.
29222 (__lxstat): Do not use CHECK_1.
29223 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29224 <bp-checks.h>.
29225 (__old_msgctl): Do not use CHECK_1.
29226 (__new_msgctl): Likewise.
29227 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29228 <bp-checks.h>.
29229 (__new_setrlimit): Do not use CHECK_1.
29230 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29231 <bp-checks.h>.
29232 (__old_shmctl): Do not use CHECK_1.
29233 (__new_shmctl): Likewise.
29234 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29235 <bp-checks.h>.
29236 (__xstat): Do not use CHECK_1.
29237 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29238 (__lxstat): Do not use CHECK_1.
29239 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29240 <bp-checks.h>.
29241 (___lxstat64): Do not use CHECK_1.
29242 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29243 (__old_msgctl): Do not use CHECK_1.
29244 (__new_msgctl): Likewise.
29245 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29246 <bp-checks.h>.
29247 (__gettimeofday): Do not use CHECK_1.
29248 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29249 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29250 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29251 <bp-checks.h>.
29252 (__gettimeofday): Do not use CHECK_1.
29253 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29254 (__old_shmctl): Do not use CHECK_1_NULL_OK.
29255 (__new_shmctl): Do not use CHECK_1.
29256 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29257 <bp-checks.h>.
29258 (do_sigtimedwait): Do not use CHECK_1.
29259 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29260 <bp-checks.h>.
29261 (do_sigwaitinfo): Do not use CHECK_1.
29262 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29263 <bp-checks.h>.
29264 (msgctl): Do not use CHECK_1.
29265 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29266 <bp-checks.h>.
29267 (shmctl): Do not use CHECK_1.
29268 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29269 (ustat): Do not use CHECK_1.
29270 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29271 <bp-checks.h>.
29272 (__fxstat): Do not use CHECK_1.
29273 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29274 <bp-checks.h>.
29275 (__fxstatat): Do not use CHECK_1.
29276 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29277 <bp-checks.h>.
29278 (__lxstat): Do not use CHECK_1.
29279 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29280 <bp-checks.h>.
29281 (__xstat): Do not use CHECK_1.
29282 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29283 (__xstat): Do not use CHECK_1.
29284 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29285 (___xstat64): Do not use CHECK_1.
29286
b2c9eff4
JM
29287 [BZ #13550]
29288 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29289 definitions.
29290 (CHECK_BOUNDS_HIGH): Likewise.
29291 * string/strcpy.c: Do not include <bp-checks.h>.
29292 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29293
f1d70dad
RM
292942013-02-07 Roland McGrath <roland@hack.frob.com>
29295
29296 * nscd/nscd-client.h (__nscd_drop_map_ref):
29297 Add __attribute__ ((unused)).
29298 * nis/nss-nisplus.h (niserr2nss): Likewise.
29299
29300 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29301 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29302
29303 * csu/libc-tls.c (init_static_tls, init_slotinfo):
29304 Remove inline keyword.
29305 * include/rounding-mode.h (round_away): Likewise.
29306 * libio/wfileops.c (adjust_wide_data): Likewise.
29307 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29308 (__m128i_strloadu_tolower): Likewise.
29309 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29310 (__m128i_strloadu_tolower): Likewise.
29311 * time/mktime.c (ydhms_diff): Likewise.
29312 * locale/elem-hash.h (elem_hash): Likewise.
29313 * locale/setlocale.c (setdata): Likewise.
29314 * posix/regex_internal.h (re_string_char_size_at): Likewise.
29315 (re_string_wchar_at): Likewise.
29316 (bitset_not, bitset_merge, bitset_mask): Likewise.
29317 [!(__GNUC__ > 3)] (inline): Remove macro.
29318 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29319 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29320 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29321 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29322 * string/memcmp.c (memcmp_bytes): Likewise.
29323 * locale/programs/locarchive.c (compute_hashval): Likewise.
29324 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29325 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29326 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29327 * nss/getent.c (print_rpc, print_protocols): Likewise.
29328 (print_passwd, print_group, print_aliases): Likewise.
29329 * nis/nss-nisplus.h (niserr2nss): Likewise.
29330 * nscd/connections.c (restart_p): Likewise.
29331 Change return type to bool.
29332
eab55bfb
RM
293332013-02-05 Roland McGrath <roland@hack.frob.com>
29334
7bd642f5
RM
29335 * Makeconfig (all-Depend-files): Add existing
29336 $(sorted-subdirs:=/Depend) files.
29337 (all-subdirs): Remove nss.
29338 * sysdeps/unix/inet/Subdirs: Add it here instead.
29339 * hesiod/Depend: New file.
29340
573c29b2
RM
29341 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29342 instead of calling alloca.
29343
b2e25af0
RM
29344 * io/lseek.c (__lseek): Rename to __libc_lseek.
29345 Define __lseek as an alias.
29346
eab55bfb
RM
29347 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29348
9a0d1941
CD
293492013-02-04 Carlos O'Donell <carlos@redhat.com>
29350
29351 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29352 else clause and remove check for non-standard endianness.
29353
b83bbec4
DM
293542013-02-04 David S. Miller <davem@davemloft.net>
29355
29356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29357
6277fdab
JM
293582013-02-04 Joseph Myers <joseph@codesourcery.com>
29359
29360 [BZ #13550]
29361 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29362 (__ubp_memchr): Remove prototype.
29363 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29364 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29365 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29366 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29367 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29368 Remove alias.
29369 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29370 (__ubp_memchr): Likewise.
29371 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29372 (__ubp_memchr): Likewise.
29373 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29374 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29375 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29376 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29377 CHECK_STRING.
29378 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29379 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29380 (__getcwd): Do not use CHECK_STRING.
29381 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29382 <bp-checks.h>.
29383 (__real_chown): Do not use CHECK_STRING.
29384 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29385 <bp-checks.h>.
29386 (fchownat): Do not use CHECK_STRING.
29387 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29388 CHECK_STRING.
29389 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29390 <bp-checks.h>.
29391 (__lchown): Do not use CHECK_STRING.
29392 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29393 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29394 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29395 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29397 include <bp-checks.h>.
29398 (truncate64): Do not use CHECK_STRING.
29399 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29400 <bp-checks.h>.
29401 (__real_chown): Do not use CHECK_STRING.
29402 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29403 <bp-checks.h>.
29404 (__lchown): Do not use CHECK_STRING.
29405 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29406 <bp-checks.h>.
29407 (__chown): Do not use CHECK_STRING.
29408 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29409 <bp-checks.h>.
29410 (truncate64): Do not use CHECK_STRING.
29411 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29412 Likewise.
29413 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29414 (__xmknod): Do not use CHECK_STRING.
29415 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29416 <bp-checks.h>.
29417 (__xmknodat): Do not use CHECK_STRING.
29418 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29419 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29420
903ae060
AS
294212013-02-04 Andreas Schwab <schwab@suse.de>
29422
29423 [BZ #14142]
29424 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29425 * include/netdb.h: Likewise for h_errno.
29426 * elf/tst-stackguard1.c: Include <tls.h>.
29427
542f9466
JK
294282013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
29429
29430 * elf/link.h (struct link_map): Extend the l_addr comment.
29431 * include/link.h (struct link_map): Likewise.
29432
e782a927
JM
294332013-02-01 Joseph Myers <joseph@codesourcery.com>
29434
29435 [BZ #13550]
29436 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29437 (BOUNDED_1): Remove macro.
29438 * debug/backtrace.c: Don't include <bp-checks.h>.
29439 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29440 (__backtrace): Likewise.
29441 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29442 <bp-checks.h>.
29443 (__backtrace): Don't use BOUNDED_1.
29444 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29445 <bp-checks.h>.
29446 (__backtrace): Don't use BOUNDED_1.
29447 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29448 (__backtrace): Don't use BOUNDED_1.
29449 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29450 (shmat): Don't use BOUNDED_N.
29451
8cf28c5e
JM
294522013-01-31 Joseph Myers <joseph@codesourcery.com>
29453
3a7ac8a0
JM
29454 [BZ #13550]
29455 * sysdeps/generic/bp-start.h: Remove file.
29456 * csu/libc-start.c: Don't include <bp-start.h>.
29457 (LIBC_START_MAIN): Set up __environ directly instead of using
29458 INIT_ARGV_and_ENVIRON.
29459 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29460 <bp-start.h>.
29461
f3499f95
JM
29462 [BZ #13550]
29463 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29464 definitions.
29465 (CHECK_FCNTL): Likewise.
29466 (CHECK_N_PAGES): Likewise.
29467
32a45bea
JM
29468 [BZ #13550]
29469 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29470 definitions.
29471 (CHECK_SIGSET_NULL_OK): Likewise.
29472 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29473 <bp-checks.h>.
29474 (sigpending): Don't use CHECK_SIGSET.
29475 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29476 <bp-checks.h>.
29477 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29478 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29479 <bp-checks.h>.
29480 (do_sigsuspend): Don't use CHECK_SIGSET.
29481 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29482 use CHECK_SIGSET.
29483 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29484 (do_sigwait): Don't use CHECK_SIGSET.
29485 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29486 use CHECK_SIGSET.
29487 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29488 include <bp-checks.h>.
29489 (sigpending): Don't use CHECK_SIGSET.
29490 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29491 include <bp-checks.h>.
29492 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29493 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29494 <bp-checks.h>.
29495 (sigpending): Don't use CHECK_SIGSET.
29496 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29497 <bp-checks.h>.
29498 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29499
2e8a5c8c
JM
29500 [BZ #13550]
29501 * sysdeps/generic/bp-semctl.h: Remove file.
29502 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29503 <bp-checks.h> and <bp-semctl.h>.
29504 (__old_semctl): Don't use CHECK_SEMCTL.
29505 (__new_semctl): Likewise.
29506 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29507 and <bp-semctl.h>.
29508 (__old_semctl): Don't use CHECK_SEMCTL.
29509 (__new_semctl): Likewise.
29510 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29511 <bp-checks.h> and <bp-semctl.h>.
29512 (__old_semctl): Don't use CHECK_SEMCTL.
29513 (__new_semctl): Likewise.
29514 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29515 <bp-checks.h> and <bp-semctl.h>.
29516 (semctl): Don't use CHECK_SEMCTL.
29517
c2d54929
JM
29518 [BZ #13550]
29519 * Makerules (elide-bp-thunks): Remove variable.
29520 (elide-routines.oS): Don't use $(elide-bp-thunks).
29521 (elide-routines.os): Likewise.
29522 (elide-routines.o): Likewise.
29523 (elide-routines.op): Likewise.
29524 (elide-routines.og): Likewise.
29525 (objects): Don't use $(bp-thunks).
29526 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29527 include.
29528 (common-generated): Do not add s-proto-bp.d.
29529 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29530 (int): Likewise.
29531 (typ): Likewise.
29532 Do not generate makefile rules for bounded-pointer thunks.
29533 * sysdeps/generic/bp-thunks.h: Remove file.
29534 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29535 * sysdeps/unix/s-proto-bp.S: Likewise.
29536
8cf28c5e
JM
29537 [BZ #15062]
29538 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29539 parts of result separately when argument is not close to line from
29540 -i to i and one part of argument is small.
29541 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29542 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29543 * math/libm-test.inc (cacos_test): Add more tests.
29544 (casin_test): Likewise.
29545 (casinh_test): Likewise.
29546 * sysdeps/i386/fpu/libm-test-ulps: Update.
29547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29548
c4e33b8d
DM
295492013-01-31 David S. Miller <davem@davemloft.net>
29550
29551 * po/de.po: Update from translation team.
29552
3b60b421
MK
295532013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29554
29555 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29556
bb931195
TS
295572013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29558
b5a5da23
TS
29559 * configure.in (_AC_PROG_CC_C89): New definition.
29560 * configure: Regenerate.
29561
bb931195
TS
29562 * configure.in (AC_PROG_CPP): New definition.
29563 * configure: Regenerate.
29564
8c53a12c
JM
295652013-01-23 Joseph Myers <joseph@codesourcery.com>
29566
29567 * debug/tst-backtrace.h: New file.
29568 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29569 (ret): Remove variable.
29570 (x): Likewise.
29571 (FAIL): Remove macro.
29572 (NO_INLINE): Likewise.
29573 (fn1): Use match function instead of strstr.
29574 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29575 (ret): Remove variable.
29576 (x): Likewise.
29577 (FAIL): Remove macro.
29578 (NO_INLINE): Likewise.
29579 (fn): Use match function instead of strstr.
29580 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29581 (ret): Remove variable.
29582 (x): Likewise.
29583 (FAIL): Remove macro.
29584 (NO_INLINE): Likewise.
29585 (handle_signal): Use match function instead of strstr.
29586 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29587 (ret): Remove variable.
29588 (x): Likewise.
29589 (FAIL): Remove macro.
29590 (NO_INLINE): Likewise.
29591 (handle_signal): Use match function instead of strstr.
29592
4858fa2a
RM
295932013-01-23 Roland McGrath <roland@hack.frob.com>
29594
29595 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29596
bae8e7f5
DM
295972013-01-23 David S. Miller <davem@davemloft.net>
29598
29599 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29600 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29601 argument of CAS if possible.
29602 * sysdeps/sparc/sparc64/bits/atomic.h
29603 (__arch_compare_and_exchange_val_32_acq): Likewise.
29604 (__arch_compare_and_exchange_val_64_acq): Likewise.
29605
9cbbc4ae
PT
296062013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29607
29608 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29609 * sysdeps/posix/ulimit.c: ... this.
92a601b8 29610 Include <limits.h>.
67b3f58c 29611 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 29612
5655a0b5
AC
296132013-01-23 Adam Conrad <adconrad@0c3.net>
29614
29615 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29616 (LDFLAGS-tst-array5): Likewise.
29617
052aff95
JM
296182013-01-23 Joseph Myers <joseph@codesourcery.com>
29619
29620 [BZ #15036]
29621 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29622 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29623 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29624 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29625
7c1e01aa
DM
296262013-01-21 David S. Miller <davem@davemloft.net>
29627
29628 * sysdeps/sparc/backtrace.c: New file.
29629 * sysdeps/sparc/sparc32/backtrace.h: New file.
29630 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29631 * sysdeps/sparc/sparc64/backtrace.h: New file.
29632 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29633 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29634 -funwind-tables.
29635
ab087e0a
AS
296362013-01-21 Andreas Schwab <schwab@suse.de>
29637
29638 [BZ #15020]
29639 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29640 closed its stdout.
29641
ed689c2f
AS
296422013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29643
29644 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29645 "mpa2.h".
29646 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29647
31d470ac
JM
296482013-01-18 Joseph Myers <joseph@codesourcery.com>
29649 Mark Mitchell <mark@codesourcery.com>
29650 Tom de Vries <tom@codesourcery.com>
29651 Paul Pluzhnikov <ppluzhnikov@google.com>
29652
29653 * debug/tst-backtrace2.c: New file.
29654 * debug/tst-backtrace3.c: Likewise.
29655 * debug/tst-backtrace4.c: Likewise.
29656 * debug/tst-backtrace5.c: Likewise.
29657 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29658 (CFLAGS-tst-backtrace3.c): Likewise.
29659 (CFLAGS-tst-backtrace4.c): Likewise.
29660 (CFLAGS-tst-backtrace5.c): Likewise.
29661 (LDFLAGS-tst-backtrace2): Likewise.
29662 (LDFLAGS-tst-backtrace3): Likewise.
29663 (LDFLAGS-tst-backtrace4): Likewise.
29664 (LDFLAGS-tst-backtrace5): Likewise.
29665 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29666 tst-backtrace4 and tst-backtrace5.
29667
90567f30 296682013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
29669 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29670
29671 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29672 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29673 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29674 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29676 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29677 "+r" and remove output regs list as redundant. Add explicit inline
29678 asm to specify register of return val to work around compiler codegen
29679 bug. Remove (int) cast on return value. Add return type parameter to
29680 use in macro so that this macro does not truncate return value for
29681 64-bit values.
29682 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29683 pass to INTERNAL_VSYSCALL_NCS.
29684 (INLINE_VSYSCALL): Add 'long int' as return type to
29685 INTERNAL_VSYSCALL_NCS macro invocation.
29686 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29687 INTERNAL_VSYSCALL_NCS macro invocation.
29688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29689
d3b9ea61
SP
296902013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29691
0b57daeb
SP
29692 [BZ #14496]
29693 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29694 Fix application of SIMD FP exception mask.
29695
caa99d06
SP
29696 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29697 mp_no from a power of two.
29698 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29699 __mpexp_twomm1. Use __pow_mp.
29700
d3b9ea61
SP
29701 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29702 multiplication.
29703
1dbaee3c
DM
297042013-01-17 David S. Miller <davem@davemloft.net>
29705
29706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29707
728d7b43
JM
297082013-01-17 Joseph Myers <joseph@codesourcery.com>
29709
29710 [BZ #15023]
29711 * include/complex.h: Condition contents on [!_COMPLEX_H].
29712 (__kernel_casinhf): New prototype.
29713 (__kernel_casinh): Likewise.
29714 (__kernel_casinhl): Likewise.
29715 * math/Makefile (libm_calls): Add k_casinh.
29716 * math/k_casinh.c: New file.
29717 * math/k_casinhf.c: Likewise.
29718 * math/k_casinhl.c: Likewise.
29719 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29720 finite nonzero arguments.
29721 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29722 finite nonzero arguments.
29723 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29724 finite nonzero arguments.
29725 * math/s_casinh.c: Do not include <float.h>.
29726 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29727 * math/s_casinhf.c: Do not include <float.h>.
29728 (__casinhf): Move code for finite nonzero arguments to
29729 k_casinhf.c.
29730 * math/s_casinhl.c: Do not include <float.h>.
29731 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29732 redefine.
29733 (__casinhl): Move code for finite nonzero arguments to
29734 k_casinhl.c.
29735 * math/libm-test.inc (cacos_test): Add more tests.
29736 * sysdeps/i386/fpu/libm-test-ulps: Update.
29737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29738
2a26ef3a
PT
297392013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29740
29741 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29742 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29743 [!HAVE_MREMAP]: Remove [defined linux] case.
29744 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29745
a897655d
SP
297462013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29747
29748 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29749
881ebe89 297502013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
29751
29752 * elf/elf.h (R_386_SIZE32): New relocation.
29753 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29754 R_386_SIZE32.
29755 (elf_machine_rela): Likewise.
29756 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29757 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29758
59981e9b
JM
297592013-01-17 Joseph Myers <joseph@codesourcery.com>
29760
29761 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29762 (FP_FAST_FMA): Do not define.
29763 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29764 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29765 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29766 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29767 !_SOFT_FLOAT]: Likewise.
29768 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29769 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29770 value.
29771 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29772 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29773 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29774 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29775 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29776 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29777 file.
29778
cfa8054f
AS
297792013-01-16 Andreas Schwab <schwab@suse.de>
29780
29781 [BZ #14327]
29782 * include/stdlib.h (__mktemp): Add declaration.
29783 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29784 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29785
dd930cc5
SP
297862013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29787
881ebe89
SP
29788 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29789 definitions.
29790 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29791 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29792 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29793 definitions here.
29794 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29795 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29796 definitions.
29797 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29798 and ONE.
29799 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29800 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29801 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29802 definitions.
29803 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29804 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29805 definitions.
29806 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 29807
dd930cc5
SP
29808 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29809
c19a9f89
DM
298102013-01-15 David S. Miller <davem@davemloft.net>
29811
1aa61767
DM
29812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29813 trunc{,f} to libm-sysdep_routes.
29814 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29816 file.
29817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29819 file.
29820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29821 file.
29822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29824 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29825 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29826 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29827 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29828 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29829 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29830
c42d5e98
DM
29831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29832 nearbyint{,f} to libm-sysdep_routes.
29833 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29835 New file.
29836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29837 file.
29838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29839 New file.
29840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29841 file.
29842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29844 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29845 file.
29846 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29847 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29848 file.
29849 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29850 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29851 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29852
c19a9f89
DM
29853 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29854 libc_feholdexcept and libc_fesetenv.
29855
357679d2
MF
298562013-01-15 Mike Frysinger <vapier@gentoo.org>
29857
29858 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29859
65a82e3d
DM
298602013-01-14 David S. Miller <davem@davemloft.net>
29861
8b954ab9
DM
29862 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29863 (SPARC_ASM_VIS2_IFUNC): Likewise.
29864 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29866 use of 'siam' instruction.
29867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29868 Likewise.
29869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29870 Likewise.
29871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29872 Likewise.
29873 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29875 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29878 file.
29879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29880 file.
29881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29882 file.
29883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29884 file.
29885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29890 new VIS2 routines.
29891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29894 Likewise.
29895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29897 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29898 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29900 routines to libm-sysdep_routines.
29901 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29902
65a82e3d
DM
29903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29904 fdim/fdimf to libm-sysdep_routines.
29905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29906 file.
29907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29909 file.
29910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29913 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29914 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29915 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29916 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29917
e34ab705
SP
299182013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29919
2a91b573
SP
29920 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29921 to optimize copies.
29922
1066a534
SP
29923 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29926
e34ab705
SP
29927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29928 local variable MPTWO.
29929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29930 Likewise.
29931
aba5e596
MF
299322013-01-13 Mike Frysinger <vapier@gentoo.org>
29933
29934 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29935 GLOB_NOESCAPE.
29936
e557e9e5
MF
299372013-01-13 Mike Frysinger <vapier@gentoo.org>
29938
29939 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29940
0428cec9
MF
299412013-01-13 Mike Frysinger <vapier@gentoo.org>
29942
29943 * manual/pattern.texi (glob_t): Document gl_flags.
29944 (glob64_t): Likewise.
29945
8794a964
DM
299462013-01-11 David S. Miller <davem@davemloft.net>
29947
66438c3f
RM
29948 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29949 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29950 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
29951 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29952 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29953 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29954 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29955 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29956 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29957 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29958 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29959 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29960 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29961
4ae4244d
DM
29962 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29963 sparc V9 rather than using V8 code.
29964 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29965 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29966
8794a964
DM
29967 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29968 Move to...
29969 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29970 Here.
29971
6270516e
RM
299722013-01-11 Roland McGrath <roland@hack.frob.com>
29973
29974 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29975 not in the main loop.
29976 * configure: Regenerated.
29977
6a57d931
JM
299782013-01-11 Joseph Myers <joseph@codesourcery.com>
29979
29980 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29981 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29982 to just #else.
29983 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29984 [!__GLIBC_HAVE_LONG_LONG] case.
29985 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29986 condition to just #else.
29987 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29988 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29989 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29990 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29991 unconditional.
29992 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29993 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29994 #elif condition to just #else.
29995 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29996 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29997 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29998 #elif condition to just #else.
29999
0e8529e9
SE
300002013-01-11 Steve Ellcey <sellcey@mips.com>
30001
30002 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30003 (EF_MIPS_ARCH_64): Fix value.
30004 (EF_MIPS_ARCH_32R2): New.
30005 (EF_MIPS_ARCH_64R2): New.
30006
740b3dbe
L
300072013-01-11 H.J. Lu <hongjiu.lu@intel.com>
30008
30009 * Makeconfig (+link-pie-before-libc): New.
30010 (+link-pie-after-libc): Likewise.
30011 (+link-pie-tests): Likewise.
30012 (+link-pie): Rewritten.
30013 (link-before-libc): Remove $(config-LDFLAGS).
30014 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30015 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30016 (config-LDFLAGS): Renamed to ...
30017 (rtld-LDFLAGS): This.
30018 (rtld-tests-LDFLAGS): New macro.
30019 (link-libc-rpath-link): Likewise.
30020 (link-libc-tests-rpath-link): Likewise.
30021 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30022 (link-libc): Prepand $(link-libc-rpath-link).
30023 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30024 (test-program-prefix): New macro.
30025 (test-via-rtld-prefix): Likewise.
30026 (test-program-cmd): Likewise.
30027 (host-test-program-cmd): Likewise.
30028 * Makefile ($(common-objpfx)testrun.sh): Replace
30029 $(run-program-prefix) with $(test-program-prefix).
30030 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30031 $(rtld-LDFLAGS).
30032 ($(common-objpfx)shlib.lds): Likewise.
30033 (build-module-helper): Likewise.
30034 ($(common-objpfx)format.lds): Likewise.
30035 * Rules (binaries-pie-tests): New.
30036 (binaries-pie-notests): Likewise.
30037 (binaries-pie): Rewritten.
30038 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30039 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30040 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30041 (make-test-out): Replace $(host-built-program-cmd) with
30042 $(host-test-program-cmd).
30043 * config.make.in (build-hardcoded-path-in-tests): New variable.
30044 * configure.in (--enable-hardcoded-path-in-tests): New configure
30045 option.
30046 (hardcoded_path_in_tests): New AC_SUBST.
30047 * configure: Regenerated.
30048 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30049 $(built-program-cmd) with $(test-program-cmd).
30050 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30051 (test_program_cmd): This.
30052 * elf/Makefile ($(objpfx)order.out): Run test with
30053 $(test-program-prefix).
30054 ($(objpfx)order2.out): Likewise.
30055 ($(objpfx)tst-initorder.out): Likewise.
30056 ($(objpfx)tst-initorder2.out): Likewise.
30057 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30058 $(test-program-cmd).
30059 ($(objpfx)tst-array1-static.out): Likewise.
30060 ($(objpfx)tst-array2.out): Likewise.
30061 ($(objpfx)tst-array3.out): Likewise.
30062 ($(objpfx)tst-array4.out): Likewise.
30063 ($(objpfx)tst-array5.out): Likewise.
30064 ($(objpfx)tst-array5-static.out): Likewise.
30065 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30066 $(test-program-cmd).
30067 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30068 $(run-program-prefix) with $(test-program-prefix).
30069 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30070 (test_program_prefix): This.
30071 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30072 $(run-program-prefix) with $(test-program-prefix).
30073 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30074 (test_program_prefix): This.
30075 * iconvdata/tst-tables.sh: Likewise.
30076 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30077 $(run-program-prefix) with $(test-program-prefix).
30078 ($(objpfx)tst-translit.out): Likewise.
30079 ($(objpfx)tst-gettext2.out): Likewise.
30080 ($(objpfx)tst-gettext4.out): Likewise.
30081 ($(objpfx)tst-gettext6.out): Likewise.
30082 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30083 (test_program_prefix): This.
30084 * intl/tst-gettext2.sh: Likewise.
30085 * intl/tst-gettext4.sh Likewise.
30086 * intl/tst-gettext6.sh: Likewise.
30087 * intl/tst-translit.sh: Likewise.
30088 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30089 with $(test-program-cmd).
30090 * libio/Makefile ($(objpfx)test-freopen.out): Replace
30091 $(run-program-prefix) with $(test-program-prefix).
30092 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30093 (test_program_prefix): This.
30094 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30095 $(run-program-prefix) with $(test-program-prefix).
30096 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30097 (test_program_prefix): This.
30098 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30099 * posix/Makefile ($(objpfx)globtest.out): Replace
30100 $(run-via-rtld-prefix) and $(test-wrapper) with
30101 $(test-program-prefix) and $(test-via-rtld-prefix).
30102 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30103 $(test-program-prefix).
30104 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30105 $(host-test-program-cmd).
30106 (tst-spawn-ARGS): Likewise.
30107 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30108 $(test-program-prefix).
30109 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30110 (test_via_rtld_prefix): This.
30111 (test_wrapper): Renamed to ...
30112 (test_program_prefix): This.
30113 (run_program_prefix): Replaced by test_program_prefix.
30114 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30115 (test_program_prefix): This.
30116 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30117 with $(host-test-program-cmd).
30118 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30119 $(run-program-prefix) with $(test-program-prefix).
30120 ($(objpfx)tst-printf.out): Likewise.
30121 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30122 $(test-program-cmd).
30123 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30124 (test_program_prefix): This.
30125 * stdio-common/tst-unbputc.sh: Likewise.
30126 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30127 $(run-program-prefix) with $(test-program-prefix).
30128 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30129 (test_program_prefix): This.
30130 * string/Makefile ($(objpfx)tst-svc.out): Replace
30131 $(built-program-cmd) with $(test-program-cmd).
30132
c6fe55cf
AJ
301332013-01-11 Andreas Jaeger <aj@suse.de>
30134
30135 [BZ #15003]
30136 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30137 value. Sync with Linux 3.7.
30138
9e6919c8
DM
301392013-01-10 David S. Miller <davem@davemloft.net>
30140
30141 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30142 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30143 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30144
1c9f1a02
RM
301452013-01-10 Roland McGrath <roland@hack.frob.com>
30146
30147 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30148 never set.
30149 * configure: Regenerated.
30150
b9de2dde
DM
301512013-01-10 David S. Miller <davem@davemloft.net>
30152
30153 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30154 sparc V9 rather than using V8 code.
30155 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30156 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30157
e7f68ef4
RM
301582013-01-10 Roland McGrath <roland@hack.frob.com>
30159
30160 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30161 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30162 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30163 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30164 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30165 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30166 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30167 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30168 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30169 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30170 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30171 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30172 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30173 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30174 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30175 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30176 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30177 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30178 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30179 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30180 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30181 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30182 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30183 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30184 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30185 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30186 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30187
5a47cc9c
DM
301882013-01-10 David S. Miller <davem@davemloft.net>
30189
30190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30191
4cf8f209
L
301922013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30193
30194 * posix/Makefile (tests-static): New variable.
30195 (tests): Add $(tests-static).
30196 (tst-exec-static-ARGS): New variable.
30197 (tst-spawn-static-ARGS): Likewise.
30198 * posix/tst-exec-static.c: New file.
30199 * posix/tst-spawn-static.c: Likewise.
30200 * posix/tst-exec.c: Support run directly.
30201 * posix/tst-spawn.c: Likewise.
30202
fed0faa1
JM
302032013-01-10 Joseph Myers <joseph@codesourcery.com>
30204
828beb13
JM
30205 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30206 long.
30207 * math/bits/mathcalls.h (llrint): Likewise.
30208 (llround): Likewise.
30209 * stdlib/stdlib.h (struct drand48_data): Likewise.
30210 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30211 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30212 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30213 Likewise.
30214 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30215 Likewise.
30216 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30217 (elf_greg_t): Likewise.
30218 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30219 (__jmp_buf): Likewise.
30220 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30221 definitions.
30222 (llrint): Likewise, for all definitions.
30223 (llrintl): Likewise.
30224
fed0faa1
JM
30225 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30226 Remove [__GNUC__] condition.
30227 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30228 condition to just [__USE_ISOC99].
30229 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30230
1a20cb20
L
302312013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30232
30233 [BZ #14200]
30234 * sysdeps/unix/sysv/linux/x86/bits/environments.h
30235 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30236 defined.
30237 (_POSIX_V6_ILP32_OFF32): Likewise.
30238 (_XBS5_ILP32_OFF32): Likewise.
30239 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30240 (__ILP32_OFFBIG_LDFLAGS): Likewise.
30241
751b85f7
SP
302422013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30243
7490eb81
SP
30244 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30245
751b85f7
SP
30246 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30247 doubles __mpexp_twomm1. Adjust usage.
30248 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30249 Remove.
30250
988197f0
AS
302512013-01-10 Andreas Schwab <schwab@suse.de>
30252
30253 [BZ #14964]
30254 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30255 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30256
e83d7298
DM
302572013-01-09 David S. Miller <davem@davemloft.net>
30258
034ed64b 30259 [BZ #15003]
57f41c40
AS
30260 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30261 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30262 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30263 (TCP_FASTOPEN): Define.
e83d7298
DM
30264 (tcp_repair_opt): New structure.
30265 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30266 enum values.
57f41c40
AS
30267 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30268 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30269 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
30270 (tcp_cookie_transactions): New structure.
30271
d5e0b9bd
AB
302722013-01-09 Anton Blanchard <anton@samba.org>
30273
30274 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30275 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30276 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30277 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30278
0c07e3ea
JM
302792013-01-09 Joseph Myers <joseph@codesourcery.com>
30280
30281 * include/features.h (__USE_ANSI): Remove.
30282
232f7002
RM
302832013-01-09 Roland McGrath <roland@hack.frob.com>
30284
ad98e30c
RM
30285 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30286
232f7002
RM
30287 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30288
950c99ca
SP
302892013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
30290
b5792741
SP
30291 * sysdeps/s390/fpu/libm-test-ulps: Update.
30292
47cf2278
SP
30293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30294
950c99ca
SP
30295 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30296 (__acr): Likewise.
30297 (__cpy): Likewise.
30298 (norm): Likewise.
30299 (denorm): Likewise.
30300 (__mp_dbl): Likewise.
30301 (__dbl_mp): Likewise.
30302 (add_magnitudes): Likewise.
30303 (sub_magnitudes): Likewise.
30304 (__add): Likewise.
30305 (__sub): Likewise.
30306 (__mul): Likewise.
30307 (__inv): Likewise.
30308 (__dvd): Likewise.
30309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30310 (__acr): Likewise.
30311 (__cpy): Likewise.
30312 (norm): Likewise.
30313 (denorm): Likewise.
30314 (__mp_dbl): Likewise.
30315 (__dbl_mp): Likewise.
30316 (add_magnitudes): Likewise.
30317 (sub_magnitudes): Likewise.
30318 (__add): Likewise.
30319 (__sub): Likewise.
30320 (__mul): Likewise.
30321 (__inv): Likewise.
30322 (__dvd): Likewise.
30323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30324 (__acr): Likewise.
30325 (__cpy): Likewise.
30326 (norm): Likewise.
30327 (denorm): Likewise.
30328 (__mp_dbl): Likewise.
30329 (__dbl_mp): Likewise.
30330 (add_magnitudes): Likewise.
30331 (sub_magnitudes): Likewise.
30332 (__add): Likewise.
30333 (__sub): Likewise.
30334 (__mul): Likewise.
30335 (__inv): Likewise.
30336 (__dvd): Likewise.
30337
eede9df9
JM
303382013-01-08 Joseph Myers <joseph@codesourcery.com>
30339
30340 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30341 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30342 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30343 2 && __USE_EXTERN_INLINES]: Likewise.
30344
c40ea3d9
AJ
303452013-01-08 Andreas Jaeger <aj@suse.de>
30346
30347 [BZ# 14985]
30348 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30349 Remove.
30350 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30351 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30352
2ccdea26
AB
303532013-01-07 Anton Blanchard <anton@samba.org>
30354
30355 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30356 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30357 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30358 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30359 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30360 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30361 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30362 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30364 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30365 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30366 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30367 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30368 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30369 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30370 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30371 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30372 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30373 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30374 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30375 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30376 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30377 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30378 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30379 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30380 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30381 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30382 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30383 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30384 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30385 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30387 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30388 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30389 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30390 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30391 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30392 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30393 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30394 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30395 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30396 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30397 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30398
a9708fed
JM
303992013-01-07 Joseph Myers <joseph@codesourcery.com>
30400
375607b9
JM
30401 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30402 (__MALLOC_PMT): Likewise.
30403 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30404 [__GNUC__], only on [_LIBC].
30405 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30406 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30407 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30408 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30409 forward declaration.
30410 (realloc_hook_ini): Likewise.
30411 (memalign_hook_ini): Likewise.
30412 (__libc_memalign): Do not use __MALLOC_PMT in variable
30413 declaration.
30414 (__libc_valloc): Likewise.
30415 (__libc_pvalloc): Likewise.
30416 (__libc_calloc): Likewise.
30417 (__posix_memalign): Likewise.
30418
a9708fed
JM
30419 [BZ #14996]
30420 * math/s_casinh.c: Include <float.h>.
30421 (__casinh): Do not do computation with squaring and square root
30422 for large arguments.
30423 * math/s_casinhf.c: Include <float.h>.
30424 (__casinhf): Do not do computation with squaring and square root
30425 for large arguments.
30426 * math/s_casinhl.c: Include <float.h>.
30427 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30428 (__casinhl): Do not do computation with squaring and square root
30429 for large arguments.
30430 * math/libm-test.inc (casin_test): Add more tests.
30431 (casinh_test): Likewise.
30432 * sysdeps/i386/fpu/libm-test-ulps: Update.
30433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30434
afec409a
L
304352013-01-04 H.J. Lu <hongjiu.lu@intel.com>
30436
30437 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30438 (__x86_64_raw_data_cache_size): Likewise.
30439 (__x86_64_data_cache_size_half): Likewise.
30440 (__x86_64_raw_data_cache_size_half): Likewise.
30441 (__x86_64_shared_cache_size): Likewise.
30442 (__x86_64_raw_shared_cache_size): Likewise.
30443 (__x86_64_shared_cache_size_half): Likewise.
30444 (__x86_64_raw_shared_cache_size_half): Likewise.
30445 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30446 to ...
30447 (__x86_data_cache_size): This.
30448 (__x86_64_raw_data_cache_size): Renamed to ...
30449 (__x86_raw_data_cache_size): This.
30450 (__x86_64_data_cache_size_half): Renamed to ...
30451 (__x86_data_cache_size_half): This.
30452 (__x86_64_raw_data_cache_size_half): Renamed to ...
30453 (__x86_raw_data_cache_size_half): This.
30454 (__x86_64_shared_cache_size): Renamed to ...
30455 (__x86_shared_cache_size): This.
30456 (__x86_64_raw_shared_cache_size): Renamed to ...
30457 (__x86_raw_shared_cache_size): This.
30458 (__x86_64_shared_cache_size_half): Renamed to ...
30459 (__x86_shared_cache_size_half): This.
30460 (__x86_64_raw_shared_cache_size_half): Renamed to ...
30461 (__x86_raw_shared_cache_size_half): This.
30462 * sysdeps/x86_64/memcpy.S: Updated.
30463 * sysdeps/x86_64/memset.S: Likewise.
30464 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30465 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30466 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30467
0b3986d0
DM
304682013-01-04 David S. Miller <davem@davemloft.net>
30469
30470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30471
e47686e9
AS
304722013-01-04 Andreas Schwab <schwab@linux-m68k.org>
30473
d643bac1
AS
30474 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30475 1 to avoid redefinition warning.
30476 (__USE_GNU): Don't define.
30477 (init_signaling_nan): Protoize.
30478
e47686e9
AS
30479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30480
b18decba
SP
304812013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30482
fffb407f
SP
30483 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30484 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30485 (__cpymn): Likewise.
30486 (norm): Remove commented code.
30487 (denorm): Likewise.
30488 (__mp_dbl): Likewise.
30489 (__inv): Likewise.
30490 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30491 (__cpymn): Likewise.
30492 (norm): Remove commented code.
30493 (denorm): Likewise.
30494 (__mp_dbl): Likewise.
30495 (__inv): Likewise.
30496
b18decba
SP
30497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30498 mp_no value for 1.0 and 2.0.
30499 (norm): Use RADIXI instead of radixi.d.
30500 (denorm): Likewise.
30501 (__mul): Use 0.0 instead of zero.d.
30502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30503 mp_no value for 1.0 and 2.0.
30504 (norm): Use RADIXI instead of radixi.d.
30505 (denorm): Likewise.
30506 (__mul): Use 0.0 instead of zero.d.
30507
cdc1c96f
JM
305082013-01-04 Joseph Myers <joseph@codesourcery.com>
30509
30510 [BZ #14994]
30511 * math/s_casinh.c (__casinh): Reduce finite argument to first
30512 quadrant then set signs of results at the end.
30513 * math/s_casinhf.c (__casinhf): Likewise.
30514 * math/s_casinhl.c (__casinhl): Likewise.
30515 * math/libm-test.inc (casin_test): Add more tests.
30516 (casinh_test): Likewise.
30517 * sysdeps/i386/fpu/libm-test-ulps: Update.
30518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30519
302913e1
SP
305202013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30521
6420d207
SP
30522 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30523
a9e48ab4
SP
30524 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30525
b7837264
SP
30526 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30527 declarations.
30528 (denorm): Likewise.
30529 (__mp_dbl): Likewise.
30530 (__inv): Likewise.
30531
f8af25d2
SP
30532 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30533 and adjust the header comment.
30534
302913e1
SP
30535 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30536 variable name from declaration.
30537
5d7dd1ca
L
305382013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30539
30540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30541 Initialize COMMON_CPUID_INDEX_7 element.
30542 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30543 (CPUID_RTM): Likewise.
30544 (HAS_RTM): Likewise.
30545 (COMMON_CPUID_INDEX_7): New enum.
30546
2f5f40f4
AS
305472013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30548
30549 [BZ #14981]
30550 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30551 size is zero, record memory as freed.
30552
4056f4a0
AJ
305532013-01-03 Andreas Jaeger <aj@suse.de>
30554
30555 * po/ia.po: Add new Interlingua translation.
30556
ab15736f 305572012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
30558
30559 * locale/programs/localedef.c: Fix description of '--posix' flag.
30560
568035b7
JM
305612013-01-02 Joseph Myers <joseph@codesourcery.com>
30562
e6898b8d
JM
30563 * NEWS: Update dates in second copyright notice.
30564 * README: Update copyright dates in example.
30565 * manual/libc.texinfo: Update copyright dates.
30566 * scripts/test-installation.pl: Update copyright date in --version
30567 output.
30568
0e2f9562
JM
30569 * hurd/ctty-input.c: Fix copyright notice formatting.
30570 * hurd/ctty-output.c: Likewise.
30571 * hurd/dtable.c: Likewise.
30572 * hurd/hurd-raise.c: Likewise.
30573 * hurd/hurdprio.c: Likewise.
30574 * hurd/msgportdemux.c: Likewise.
30575 * misc/sys/file.h: Likewise.
30576 * misc/sys/ioctl.h: Likewise.
30577 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30578 * sysdeps/mach/hurd/chdir.c: Likewise.
30579 * sysdeps/mach/hurd/fchdir.c: Likewise.
30580 * sysdeps/mach/hurd/rename.c: Likewise.
30581 * sysdeps/mach/hurd/rmdir.c: Likewise.
30582 * sysdeps/mach/hurd/seekdir.c: Likewise.
30583 * sysdeps/mach/hurd/setsid.c: Likewise.
30584 * sysdeps/posix/wait3.c: Likewise.
30585
568035b7
JM
30586 * All files with FSF copyright notices: Update copyright dates
30587 using scripts/update-copyrights.
30588 * intl/plural.c: Regenerated.
30589 * locale/programs/charmap-kw.h: Likewise.
30590 * locale/programs/locfile-kw.h: Likewise.
30591
da08f647
SP
305922013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30593
0f5477af
SP
30594 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30595 four values.
30596
44e0d4c2
SP
30597 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30598 calculation loop and add branch prediction.
30599
4d55b4e5
SP
30600 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30601 check access beyond bounds of m1np.
30602
da08f647
SP
30603 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30604 MPTWO.
30605 (__inv): Remove local variable MPTWO to use the global
30606 constant.
30607 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30608 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30609 variable MPTWO.
30610 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30611 MP3HALFS static const.
30612
8e051029
DM
306132013-01-01 David S. Miller <davem@davemloft.net>
30614
30615 * po/ca.po: Update from translation team.
30616
f4cf5f2d
JM
306172013-01-01 Joseph Myers <joseph@codesourcery.com>
30618
30619 * scripts/update-copyrights: New file.
30620 * Makeconfig: Reformat copyright notice.
30621 * ctype/ctype.h: Likewise.
30622 * debug/swprintf_chk.c: Likewise.
30623 * elf/dl-cache.c: Likewise.
30624 * elf/dl-debug.c: Likewise.
30625 * elf/dl-object.c: Likewise.
30626 * grp/initgroups.c: Likewise.
30627 * hurd/Makefile: Likewise.
30628 * hurd/hurd/signal.h: Likewise.
30629 * hurd/hurdfault.c: Likewise.
30630 * hurd/hurdioctl.c: Likewise.
30631 * hurd/hurdlookup.c: Likewise.
30632 * hurd/intr-msg.c: Likewise.
30633 * iconv/gconv_open.c: Likewise.
30634 * libio/swprintf.c: Likewise.
30635 * locale/lc-ctype.c: Likewise.
30636 * locale/nl_langinfo.c: Likewise.
30637 * mach/Machrules: Likewise.
30638 * mach/Makefile: Likewise.
30639 * malloc/obstack.h: Likewise.
30640 * manual/Makefile: Likewise.
30641 * manual/tsort.awk: Likewise.
30642 * misc/bits/stab.def: Likewise.
30643 * nis/nis_print_group_entry.c: Likewise.
30644 * nis/nis_table.c: Likewise.
30645 * nis/nss_compat/compat-pwd.c: Likewise.
30646 * nis/nss_compat/compat-spwd.c: Likewise.
30647 * po/Makefile: Likewise.
30648 * posix/fnmatch.c: Likewise.
30649 * posix/regex.h: Likewise.
30650 * resolv/Makefile: Likewise.
30651 * resolv/nss_dns/dns-network.c: Likewise.
30652 * resolv/res_hconf.c: Likewise.
30653 * scripts/gen-sorted.awk: Likewise.
30654 * soft-fp/soft-fp.h: Likewise.
30655 * stdio-common/printf.h: Likewise.
30656 * stdlib/monetary.h: Likewise.
30657 * stdlib/random.c: Likewise.
30658 * stdlib/random_r.c: Likewise.
30659 * sysdeps/generic/Makefile: Likewise.
30660 * sysdeps/gnu/Makefile: Likewise.
30661 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30662 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30663 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30664 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30665 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30666 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30668 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30669 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30670 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30671 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30672 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30673 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30674 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30675 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30676 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30677 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30678 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30679 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30680 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30681 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30682 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30683 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30684 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30685 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30686 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30687 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30688 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30689 * sysdeps/mach/hurd/errnos.awk: Likewise.
30690 * sysdeps/mach/hurd/fork.c: Likewise.
30691 * sysdeps/mach/hurd/getcwd.c: Likewise.
30692 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30693 * sysdeps/mach/hurd/mmap.c: Likewise.
30694 * sysdeps/mach/hurd/utimes.c: Likewise.
30695 * sysdeps/mach/hurd/xmknod.c: Likewise.
30696 * sysdeps/posix/profil.c: Likewise.
30697 * sysdeps/posix/readdir_r.c: Likewise.
30698 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30699 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30700 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30701 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30703 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30704 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30705 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30707 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30708 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30709 * sysdeps/pthread/lio_listio.c: Likewise.
30710 * sysdeps/sparc/dl-procinfo.h: Likewise.
30711 * sysdeps/unix/i386/sysdep.S: Likewise.
30712 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30713 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30714 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30715 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30717 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30718 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30719 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30720 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30721 * sysdeps/wordsize-32/divdi3.c: Likewise.
30722 * time/sys/time.h: Likewise.
30723 * wcsmbs/Makefile: Likewise.
30724
0549fbba
DM
307252013-01-01 David S. Miller <davem@davemloft.net>
30726
a141f1a7
DM
30727 * po/fr.po: Update from translation team.
30728
0549fbba
DM
30729 * catgets/gencat.c: Update copyright year.
30730 * csu/version.c: Likewise.
30731 * debug/catchsegv.sh: Likewise.
30732 * debug/pcprofiledump.c: Likewise.
30733 * debug/xtrace.sh: Likewise.
30734 * elf/ldconfig.c: Likewise.
30735 * elf/ldd.bash.in: Likewise.
30736 * elf/pldd.c: Likewise.
30737 * elf/sotruss.ksh: Likewise.
30738 * elf/sprof.c: Likewise.
30739 * iconv/iconv_prog.c: Likewise.
30740 * iconv/iconvconfig.c: Likewise.
30741 * locale/programs/locale.c: Likewise.
30742 * locale/programs/localedef.c: Likewise.
30743 * login/programs/pt_chown.c: Likewise.
30744 * malloc/memusage.sh: Likewise.
30745 * malloc/memusagestat.c: Likewise.
30746 * malloc/mtrace.pl: Likewise.
30747 * nscd/nscd.c: Likewise.
30748 * nss/getent.c: Likewise.
30749 * nss/makedb.c: Likewise.
30750 * posix/getconf.c: Likewise.
30751
18ea052c
SP
307522012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30753
30754 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30755 numbers.
30756
9c89fca6
MF
307572012-12-30 Mike Frysinger <vapier@gentoo.org>
30758
30759 * math/bits/mathcalls.h (modf): Use __nonnull.
30760
085ec079
SP
307612012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30762
30763 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30764 (split): Use macro CN instead of the bare value.
30765 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30766 could be used.
30767 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30768 instead of the bare value.
30769 (power1): Likewise.
30770
6d9f97e1
SP
307712012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30772
d63f73be
SP
30773 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30774 __ATAN_TWOM.
30775 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30776
6d9f97e1
SP
30777 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30778 their values.
30779 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30780 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30781 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30782 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30783
4c4febf5
AJ
307842012-12-28 Andreas Jaeger <aj@suse.de>
30785
af5843ef
AJ
30786 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30787 values are from Linux 3.7.
30788
4c4febf5
AJ
30789 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30790 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30791
99136f82
SP
307922012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30793
2f216c3c 30794 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
30795 TRUE case.
30796
99136f82
SP
30797 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30798 (norm): Likewise.
30799 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30800 variables with preprocessor constants.
30801 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30802 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30803 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30804
7fffbdff
BH
308052012-12-27 Bruno Haible <bruno@clisp.org>
30806
30807 [BZ #14317]
30808 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30809 only if needed.
30810
b76eb5f0
SP
308112012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30812
31a7fe5c
SP
30813 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30814 and use variable directly.
30815 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30816
b76eb5f0
SP
30817 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30818 MPONE.
30819 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30820 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30821 variable MPONE.
30822 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30823 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30824 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30825 include directive. Remove local variable MPONE.
30826 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30827 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30828 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30829
2c8bfe7d
DM
308302012-12-25 David S. Miller <davem@davemloft.net>
30831
30832 * version.h (RELEASE): Set to "development".
30833 (VERSION): Set to "2.17.90".
30834 * NEWS: Add 2.18 section.
30835
147d03b0
DM
308362012-12-21 David S. Miller <davem@davemloft.net>
30837
30838 * po/hr.po: Update from translation team.
30839
a8ebb2b9
AK
308402012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30841
30842 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30843
95b4f1b6
SE
308442012-12-19 Steve Ellcey <sellcey@mips.com>
30845
b2d94007 30846 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 30847
cedb2a90
MS
308482012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30849
30850 * manual/contrib.texi (Contributors): Spelling correction.
30851
bbf527d6
DM
308522012-12-15 David S. Miller <davem@davemloft.net>
30853
30854 * po/ru.po: Update from translation team.
30855
bc38c906
DM
308562012-12-13 David S. Miller <davem@davemloft.net>
30857
85429b1a
DM
30858 * NEWS: Mention IFUNC testsuite enhancements.
30859
d283e353
DM
30860 * po/pl.po: Update from translation team.
30861 * po/bg.po: Likewise.
30862
bc38c906
DM
30863 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30864 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30865
a181b0d7
DM
308662012-12-11 David S. Miller <davem@davemloft.net>
30867
4641d57e
DM
30868 * po/sv.po: Update from translation team.
30869
f7bc6495
DM
30870 * po/vi.po: Update from translation team.
30871
6fc9048f
DM
30872 * po/cs.po: Update from translation team.
30873
a181b0d7
DM
30874 * po/de.po: Update from translation team.
30875 * po/eo.po: Likewise.
30876 * po/nl.po: Likewise.
30877
f70bfe80
SP
308782012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30879
3c8b4190
SP
30880 [BZ #14246]
30881 * manual/argp.texi (Argp Helper Functions): Move node to follow
30882 Argp Parsing State.
30883
f70bfe80
SP
30884 [BZ #14872]
30885 * manual/conf.texi (Limits on File System Capacity): Mention if
30886 terminating null is included in the max size.
30887
188f0adf
AJ
308882012-12-10 Andreas Jaeger <aj@suse.de>
30889
30890 * po/cs.po: Update from translation team.
30891
56e7d3ad
SP
308922012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30893
30894 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30895 void pointer and cast to uintptr_t.
30896 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30897 path.
30898 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30899 * sysdeps/s390/s390-64/memset.S: Likewise.
30900
76f2d2ea 309012012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
30902
30903 [BZ #14833]
30904 * menual/message.texi (Message Translation): Fix typos.
30905 (Helper programs for gettext): Likewise.
30906
67cbf9a2
AS
309072012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30908
30909 [BZ #14898]
30910 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30911 Change to -1.
30912
682d0e9a
DM
309132012-12-07 David S. Miller <davem@davemloft.net>
30914
30915 * po/libc.pot: Update.
30916
573cd484
RH
309172012-12-07 Richard Henderson <rth@redhat.com>
30918
7e9da188 30919 [BZ #10114]
573cd484
RH
30920 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30921 normal/normal case to before the switch.
30922 (_FP_DIV): Likewise.
30923
e933a943
MF
309242012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30925 Mike Frysinger <vapier@gentoo.org>
30926
30927 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30928 check for __NR_fadvise64_64.
30929
82123268
CM
309302012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30931
30932 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30933 0, not just to plain "0" as a statement.
30934 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30935 with cw.
30936
d9814526
JM
309372012-12-06 Joseph Myers <joseph@codesourcery.com>
30938
30939 * NEWS: Use sourceware.org in Bugzilla URL.
30940
7728c574
SP
309412012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30942
f16946dd
SP
30943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30944 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30945
5704bbcb
SP
30946 * stdio-common/tst-put-error.c (do_test): Add newline to the
30947 padded test to ensure flush.
30948
17aa0516
JL
309492012-12-05 Jeff Law <law@redhat.com>
30950
30951 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30952
363313b5
JM
309532012-12-05 Joseph Myers <joseph@codesourcery.com>
30954
effbd42a
JM
30955 * README: Don't refer to ports add-on as distributed separately.
30956 Mention AArch64 in list of systems supported in the ports add-on.
30957
87600365
JM
30958 * LICENSES: Add more non-FSF copyright and license notices.
30959
a0d7066a
JM
30960 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30961 ((unused)).
30962
66ca5a5b
JM
30963 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30964
363313b5
JM
30965 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30966 10000 as width of padded output.
30967
b37984ad
JM
309682012-12-04 Joseph Myers <joseph@codesourcery.com>
30969
9003570a
JM
30970 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30971
b37984ad
JM
30972 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30973 variable LX with __attribute__ ((unused)).
30974 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30975 Likewise.
30976 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30977 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30978 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30979 with __attribute__ ((unused)).
30980
c8df52ec
DM
309812012-12-04 David S. Miller <davem@abraco.davemloft.net>
30982
30983 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30984
b3b099af
JM
309852012-12-04 Joseph Myers <joseph@codesourcery.com>
30986
c33aa6e3
JM
30987 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30988 (CFLAGS-nldbl-acos.c): New variable.
30989 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30990 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30991 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30992 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30993 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30994 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30995 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30996 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30997 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30998 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30999 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31000 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31001 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31002 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31003 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31004 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31005 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31006 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31007 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31008 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31009 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31010 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31011 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31012 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31013 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31014 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31015 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31016 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31017 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31018 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31019 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31020 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31021 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31022 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31023 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31024 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31025 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31026 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31027 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31028 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31029 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31030 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31031 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31032 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31033 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31034 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31035 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31036 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31037 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31038 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31039 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31040 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31041 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31042 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31043 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31044 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31045 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31046 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31047 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31048 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31049 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31050 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31051 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31052 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31053 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31054 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31055 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31056 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31057 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31058 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31059 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31060 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31061 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31062 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31063 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31064 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31065 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31066 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31067 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31068 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31069 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31070 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31071 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31072 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31073 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31074 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31075 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31076 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31077 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31078 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31079 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31080 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31081 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31082 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31083 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31084 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31085 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31086
20f0018d
JM
31087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31088 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31089
b3b099af
JM
31090 [BZ #14914]
31091 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31092 whole low double instead of just low 47 bits when splitting values
31093 into two parts.
31094
029264d1
AM
310952012-12-03 Allan McRae <allan@archlinux.org>
31096
31097 * manual/stdio.texi (Predefined Printf Handlers): Remove
31098 @hsep and @vsep usage.
31099
c9d6789e
MF
311002012-12-03 Mike Frysinger <vapier@gentoo.org>
31101
31102 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31103 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31104
4b7634a5
JL
311052012-12-03 Jeff Law <law@redhat.com>
31106
31107 * time/sys/time.h (settimeofday): Do not mark TV argument
31108 as __nonnull.
31109
eb6cbd24
MF
311102012-12-01 Mike Frysinger <vapier@gentoo.org>
31111
31112 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31113 when currently writing and seek to current position when not.
31114 * libio/Makefile (tests): Remove bug-fclose1.
31115 * libio/bug-fclose1.c: Delete.
31116
f638872a
JM
311172012-12-01 Joseph Myers <joseph@codesourcery.com>
31118
31119 * manual/arith.texi (feenableexcept): Fix typo.
31120 (fedisableexcept): Likewise.
31121
48085d14
RM
311222012-11-30 Roland McGrath <roland@hack.frob.com>
31123
31124 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31125 second, differently-typed declaration, rather than a cast.
31126
1a538b9f
SP
311272012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31128
31129 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31130 * include/rpc/svc.h: ... here.
31131
d07f2ff1 311322012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
31133
31134 [BZ #13013]
31135 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31136 depending n and resplen2 to catch cases where answer
31137 equals answerp2.
31138
c93ec1f0
CD
311392012-11-29 Carlos O'Donell <carlos@systemhalted.org>
31140
31141 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31142 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31143
37db69de
MF
311442012-11-29 Mike Frysinger <vapier@gentoo.org>
31145
31146 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31147
e10c4e4f
RM
311482012-11-29 Roland McGrath <roland@hack.frob.com>
31149
31150 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31151
2af1b328
JL
311522012-11-28 Jeff Law <law@redhat.com>
31153
31154 [BZ #13761]
31155 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31156 dataset_temporary. Track alloca usage into alloca_used.
31157 If dataset is large allocate and release it via malloc/free.
31158
111db5b1
FW
311592012-06-04 Florian Weimer <fweimer@redhat.com>
31160
f06cc227 31161 [BZ #14197]
111db5b1
FW
31162 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31163
dd694abd
DM
311642012-11-28 David S. Miller <davem@davemloft.net>
31165
31166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31167
9984dd01
JM
311682012-11-28 Joseph Myers <joseph@codesourcery.com>
31169
31170 [BZ #14803]
31171 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31172 of pi/2 rounded to nearest to 64 bits.
31173 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31174 nearest to 64 bits.
31175 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31176 bits.
31177
14bc93a9
JL
311782012-11-28 Jeff Law <law@redhat.com>
31179 Martin Osvald <mosvald@redhat.com>
31180
31181 [BZ #14889]
31182 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31183 * sunrpc/svc.c: Include time.h.
31184 (__svc_accept_failed): New function.
31185 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31186 any reason other than EINTR, call __svc_accept_failed.
31187 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31188 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31189
e3c6aa3a
AS
311902012-11-28 Andreas Schwab <schwab@suse.de>
31191
31192 * scripts/abilist.awk: Also handle indirect functions in .opd
31193 section.
31194
1bead169
JM
311952012-11-28 Joseph Myers <joseph@codesourcery.com>
31196
31197 [BZ #13881]
31198 * sysdeps/x86/fpu/powl_helper.c: New file.
31199 * sysdeps/x86/fpu/Makefile: Likewise.
31200 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31201 (p3): New object.
31202 (__ieee754_powl): Use __powl_helper for finite arguments except
31203 integer exponents below 8.
31204 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31205 (p3): New object.
31206 (__ieee754_powl): Use __powl_helper for finite arguments except
31207 integer exponents below 8.
31208 * math/libm-test.inc (pow_test): Add more tests and enable some
31209 previously disabled tests.
31210 * sysdeps/i386/fpu/libm-test-ulps: Update.
31211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31212
0817d63d
SP
312132012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31214 Carlos O'Donell <carlos_odonell@mentor.com>
31215
31216 * nss/makedb.c (is_prime): Assert that input is odd and greater
31217 than 4. Note that fact in a comment too.
31218 (next_prime): Add 4 to input.
31219
de2fd463
SP
312202012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31221
31222 [BZ #11741]
31223 * libio/Makefile (tests): Add test case tst-fwrite-error.
31224 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31225 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31226 * libio/tst-fwrite-error.c: New test case.
31227
c515fb51
L
312282012-11-26 H.J. Lu <hongjiu.lu@intel.com>
31229
31230 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31231 before casting to void *.
31232 * include/libc-internal.h (__pointer_type): New macro.
31233 (__integer_if_pointer_type_sub): Likewise.
31234 (__integer_if_pointer_type): Likewise.
31235 (cast_to_integer): Likewise.
31236 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31237 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31238 before casting to atomic64_t.
31239 (atomic_exchange_acq): Likewise.
31240 (__arch_exchange_and_add_body): Likewise.
31241 (__arch_add_body): Likewise.
31242 (atomic_add_negative): Likewise.
31243 (atomic_add_zero): Likewise.
31244
4cf77aa9
JM
312452012-11-26 Joseph Myers <joseph@codesourcery.com>
31246
31247 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31248 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31249 (add_fdes): Likewise.
31250 (linear_search_fdes): Likewise.
31251 (binary_search_unencoded_fdes): Likewise.
31252
d260b3b4
AS
312532012-11-26 Andreas Schwab <schwab@linux-m68k.org>
31254
31255 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31256
67060746
AC
312572012-11-24 Adam Conrad <adconrad@0c3.net>
31258
31259 * configure.in: Autodetect C++ header directories.
31260 * configure: Regenerated.
31261
800938a1
MF
312622012-11-23 Mike Frysinger <vapier@gentoo.org>
31263
31264 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31265
4e6e34e6
AS
312662012-11-23 Andreas Schwab <schwab@linux-m68k.org>
31267
31268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31269
7c7feb47
JM
312702012-11-22 Joseph Myers <joseph@codesourcery.com>
31271
7184dcdf
JM
31272 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31273 LDBL_MANT_DIG == 106]: Disable some tests.
31274 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31275 Likewise.
31276 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31277 Likewise.
31278
0a42601f
JM
31279 [BZ #14871]
31280 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31281 input for small inputs. Return +/- pi/2 for large inputs.
31282 * math/libm-test.inc (atan_test): Add more tests.
31283
79c9b9fe
JM
31284 * sysdeps/generic/unwind-dw2-fde-glibc.c
31285 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31286 __attribute__ ((unused)).
31287
c60d3bf2
JM
31288 [BZ #14645]
31289 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31290 x * y if x and y are nonzero and z is zero.
31291
ef1e0867
JM
31292 [BZ #14811]
31293 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31294 nonzero exponents with absolute value below 0x1p-117 to +/-
31295 0x1p-117.
31296
1468ded3
JM
31297 [BZ #14869]
31298 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31299 up arguments below 2**-450, not just those below 2**-500.
31300 * math/libm-test.inc (hypot_test): Add another test.
31301
8e27e3cc
JM
31302 [BZ #14868]
31303 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31304 Return a+b for ratio over 2**120, not 2**60.
31305 * math/libm-test.inc (hypot_test): Add another test.
31306
c9c0279b
JM
31307 * math/libm-test.inc (clog_test): Use
31308 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31309 (clog10_test): Likewise.
31310
7c7feb47
JM
31311 [BZ #6778]
31312 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31313
fff1530e
AS
313142012-11-22 Andreas Schwab <schwab@suse.de>
31315
31316 * sysdeps/i386/fpu/libm-test-ulps: Update.
31317
94558d30
PT
313182012-11-22 Pino Toscano <toscano.pino@tiscali.it>
31319
31320 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31321 printf output with newline.
31322
7e1be741
L
313232012-11-21 H.J. Lu <hongjiu.lu@intel.com>
31324
6bfea974
L
31325 [BZ #14865]
31326 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31327 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31328 -z nodlopen, -z initfirst and -z execstack support.
31329 * configure: Regenerated.
31330
7e1be741
L
31331 * elf/elf.h (DF_1_NODIRECT): New macro.
31332 (DF_1_IGNMULDEF): Likewise.
31333 (DF_1_NOKSYMS): Likewise.
31334 (DF_1_NOHDR): Likewise.
31335 (DF_1_EDITED): Likewise.
31336 (DF_1_NORELOC): Likewise.
31337 (DF_1_SYMINTPOSE): Likewise.
31338 (DF_1_GLOBAUDIT): Likewise.
31339 (DF_1_SINGLETON): Likewise.
31340 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31341 DT_1_SUPPORTED_MASK bits.
31342 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31343
105ce2ce
CD
313442012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
31345
31346 * sysdeps/unix/make-syscalls.sh: Document prefixes.
31347
123be9de
TS
313482012-11-20 Thomas Schwinge <thomas@codesourcery.com>
31349
d072f3f7
TS
31350 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31351 macro.
31352
123be9de
TS
31353 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31354 (sendmmsg): Move declarations...
31355 * socket/sys/socket.h: ... here.
31356 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31357 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31358 include it from...
31359 * socket/recvmmsg.c: ... this new file.
31360 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31361 (sendmmsg): Rename to __sendmmsg, create weak alias and make
31362 definition of __sendmmsg hidden.
31363 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31364 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31365 Move ENOSYS stub into and include it from...
31366 * socket/sendmmsg.c: ... this new file.
31367 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31368 (sysdep_routines): Move recvmmsg and sendmmsg...
31369 * socket/Makefile (routines): ... here.
31370 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31371 (GLIBC_PRIVATE): Add __sendmmsg.
31372 * include/sys/socket.h (__sendmmsg): Add declarations.
31373 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31374 sendmmsg.
31375
cf9a5d18
JM
313762012-11-20 Joseph Myers <joseph@codesourcery.com>
31377
31378 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31379 variable I1 with __attribute__ ((unused)).
31380 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31381
ecd4caf9
JM
313822012-11-19 Joseph Myers <joseph@codesourcery.com>
31383
be14d48f
JM
31384 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31385 DUMMY variables with __attribute__ ((unused)).
31386
ecd4caf9
JM
31387 * bits/byteswap.h: Include <bits/types.h>.
31388 (__bswap_64): Use __uint64_t instead of unsigned long long int.
31389
986cab95
PT
313902012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31391
31392 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31393 string_t. Do not manually set errno.
31394 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31395 length with __strnlen. Make sure to both set errno and return it on
31396 failure.
31397
6d33cc9d
DM
313982012-11-19 David S. Miller <davem@davemloft.net>
31399
31400 With help from Joseph Myers.
31401 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31402 very large arguments properly.
31403 * math/libm-test.inc (atan_test): New tests.
31404 (atan2_test): New tests.
31405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31407
ee663277
JM
314082012-11-19 Joseph Myers <joseph@codesourcery.com>
31409
877f2d8e
JM
31410 [BZ #14856]
31411 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31412 Define to 3.
31413
116fc08a
JM
31414 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31415 [POSIX] (EADDRNOTAVAIL): Likewise.
31416 [POSIX] (EAFNOSUPPORT): Likewise.
31417 [POSIX] (EALREADY): Likewise.
31418 [POSIX] (ECONNABORTED): Likewise.
31419 [POSIX] (ECONNREFUSED): Likewise.
31420 [POSIX] (ECONNRESET): Likewise.
31421 [POSIX] (EDESTADDRREQ): Likewise.
31422 [POSIX] (EDQUOT): Likewise.
31423 [POSIX] (EHOSTUNREACH): Likewise.
31424 [POSIX] (EIDRM): Likewise.
31425 [POSIX] (EISCONN): Likewise.
31426 [POSIX] (ELOOP): Likewise.
31427 [POSIX] (EMULTIHOP): Likewise.
31428 [POSIX] (ENETDOWN): Likewise.
31429 [POSIX] (ENETUNREACH): Likewise.
31430 [POSIX] (ENOBUFS): Likewise.
31431 [POSIX] (ENODATA): Likewise.
31432 [POSIX] (ENOLINK): Likewise.
31433 [POSIX] (ENOMSG): Likewise.
31434 [POSIX] (ENOPROTOOPT): Likewise.
31435 [POSIX] (ENOSR): Likewise.
31436 [POSIX] (ENOSTR): Likewise.
31437 [POSIX] (ENOTCONN): Likewise.
31438 [POSIX] (ENOTSOCK): Likewise.
31439 [POSIX] (EOPNOTSUPP): Likewise.
31440 [POSIX] (EOVERFLOW): Likewise.
31441 [POSIX] (EPROTO): Likewise.
31442 [POSIX] (EPROTONOSUPPORT): Likewise.
31443 [POSIX] (EPROTOTYPE): Likewise.
31444 [POSIX] (ESTALE): Likewise.
31445 [POSIX] (ETIME): Likewise.
31446 [POSIX] (ETXTBSY): Likewise.
31447 [POSIX] (EWOULDBLOCK): Likewise.
31448 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31449 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31450 [POSIX] (SEEK_CUR): Likewise.
31451 [POSIX] (SEEK_END): Likewise.
31452 [POSIX || UNIX98] (mode_t): Do not require.
31453 [POSIX] (off_t): Likewise.
31454 [POSIX] (pid_t): Likewise.
31455 [POSIX] (sys/stat.h): Do not allow header.
31456 [POSIX] (unistd.h): Likewise.
31457 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31458 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31459 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31460 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31461 require.
31462 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31463 sigevent): Specify elements.
31464 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31465 entry.
31466 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31467 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31468
a483863f
JM
31469 * conform/data/cpio.h-data [POSIX]: Disable whole file.
31470 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31471 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31472 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31473 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31474 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31475 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31476 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31477 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31478 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31479 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31480 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31481 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31482 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31483 Likewise.
31484 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31485 Likewise.
31486 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31487 Likewise.
31488 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31489 Likewise.
31490 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31491 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31492 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31493 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31494 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31495 Specify lower bound on value.
31496 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31497 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31498 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31499 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31500 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31501 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31502 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31503 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31504 value.
31505 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31506 as optional.
31507 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31508 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31509 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31510 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31511 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31512 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31513 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31514 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31515 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31516 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31517 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31518 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31519 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31520 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31521 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31522 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31523 entry.
31524 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31525 optional.
31526 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31527 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31528 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31529 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31530 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31531 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31532 Likewise.
31533 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31534 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31535 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31536 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31537 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31538 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31539 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31540 as optional.
31541 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31542 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31543 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31544 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31545 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31546 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31547 specify as optional.
31548 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31549 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31550 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31551 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31552 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31553 [XPG3] (NL_LANGMAX): Likewise.
31554 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31555 [POSIX || XPG3] (NL_NMAX): Likewise.
31556 [POSIX || XPG3] (NL_SETMAX): Likewise.
31557 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31558 [XPG3] (NZERO): Likewise.
31559 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31560 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31561 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31562 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31563 (REG_ERANGE): Expect.
31564 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31565 optional-constant.
31566 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31567 Use (void) in prototype.
31568 [POSIX] (*_t): Allow.
31569 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31570 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31571 (WRDE_BADVAL): Expect.
31572
5ba924e3
JM
31573 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31574 expect.
31575 [XPG3 || XPG4] (O_RSYNC): Likewise.
31576 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31577 Likewise.
31578 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31579 [XPG3 || XPG4] (sigqueue): Likewise.
31580 [XPG3 || XPG4] (sigtimedwait): Likewise.
31581 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31582 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31583 [XPG3 || XPG4] (vsnprintf): Likewise.
31584 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31585 Likewise.
31586 [XPG3 || XPG4] (blksize_t): Likewise.
31587 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31588 Likewise.
31589 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31590 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31591 [XPG3 || XPG4] (struct itimerspec): Likewise.
31592 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31593 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31594 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31595 [XPG3 || XPG4] (clockid_t): Likewise.
31596 [XPG3 || XPG4] (timer_t): Likewise.
31597 [XPG3 || XPG4] (clock_getres): Likewise.
31598 [XPG3 || XPG4] (clock_gettime): Likewise.
31599 [XPG3 || XPG4] (clock_settime): Likewise.
31600 [XPG3 || XPG4] (nanosleep): Likewise.
31601 [XPG3 || XPG4] (timer_create): Likewise.
31602 [XPG3 || XPG4] (timer_delete): Likewise.
31603 [XPG3 || XPG4] (timer_gettime): Likewise.
31604 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31605 [XPG3 || XPG4] (timer_settime): Likewise.
31606 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31607 [XPG3 || XPG4] (getlogin_r): Likewise.
31608 [XPG3 || XPG4] (pread): Likewise.
31609 [XPG3 || XPG4] (pthread_atfork): Likewise.
31610 [XPG3 || XPG4] (pwrite): Likewise.
31611
ee663277
JM
31612 [BZ #14835]
31613 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31614 <bits/siginfo.h>.
31615
942caa16
PT
316162012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31617
e19af380
PT
31618 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31619 finalizing MALLSTREAM.
31620
942caa16
PT
31621 * sysdeps/mach/hurd/syncfs.c: New file.
31622
cfde9b46
SP
316232012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31624
31625 [BZ #14719]
31626 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31627 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31628 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31629 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31630 (_nss_dns_gethostbyname4_r): Likewise.
31631 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31632 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31633
f6da27e5
PH
316342012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31635
31636 [BZ #13763]
31637 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31638
6665d4a2
SM
316392012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31640
1f51ee92
SM
31641 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31642 * elf/cache.c (print_entry): Print ",AArch64" for
31643 FLAG_AARCH64_LIB64
31644
6665d4a2
SM
31645 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31646 * elf/cache.c (print_entry): Print ",hard-float" for
31647 FLAG_ARM_LIBHF.
31648
05b227bd
DM
316492012-11-18 David S. Miller <davem@davemloft.net>
31650
31651 With help from Joseph Myers.
31652 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31653 cutoff to 2**-13.
31654 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31655 cutoff to 2**-25.
31656 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31657 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31658 small.
31659 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31660 * math/libm-test.inc (y0_test): New tests.
31661 (y1_test): New tests.
31662 * sysdeps/i386/fpu/libm-test-ulps: Update.
31663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31665
786b0b67
AS
316662012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31667
31668 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31669 64-bit targets.
31670 * configure: Regenerated.
31671
8e18b86d
DM
316722012-11-17 David S. Miller <davem@davemloft.net>
31673
31674 [BZ #14811]
31675 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31676 nonzero exponents with absolute value below 0x1p-128 to +/-
31677 0x1p-128.
31678
531f1ae0
JM
316792012-11-17 Joseph Myers <joseph@codesourcery.com>
31680
12df29e2
JM
31681 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31682
150dc1a0
JM
31683 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31684
531f1ae0
JM
31685 * posix/getconf-speclist.c: New file.
31686 * posix/posix-envs.def: Likewise.
31687 * posix/confstr.c (START_ENV_GROUP): New macro.
31688 (END_ENV_GROUP): Likewise.
31689 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31690 (KNOWN_PRESENT_ENV_STRING): Likewise.
31691 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31692 (UNKNOWN_ENVIRONMENT): Likewise.
31693 (confstr): Include posix-envs.def instead of handling
31694 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31695 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31696 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31697 (END_ENV_GROUP): Likewise.
31698 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31699 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31700 (UNKNOWN_ENVIRONMENT): Likewise.
31701 (__sysconf): Include posix-envs.def instead of handling associated
31702 cases directly here.
31703 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31704 preprocessing getconf-speclist.c rather than running getconf or
31705 generating empty file.
31706
a93f9cbc
PT
317072012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31708
31709 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31710
d64d9f87
AL
317112012-11-16 Andrej Lajovic <natrij@gmail.com>
31712
31713 [BZ #14672]
31714 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31715
447885eb
DM
317162012-11-16 David S. Miller <davem@davemloft.net>
31717
31718 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31719 smaller than LDBL_EPSILON/2.0L, just return xm1.
31720
bcbf9830
L
317212012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31722
31723 * elf/tst-array1.c (init): Set constructor priority to 1000.
31724 (fini): Set destructor priority to 1000.
31725 * elf/tst-array2dep.c: Likewise.
31726
2b766585
SP
317272012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31728
31729 [BZ #11741]
31730 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31731 (_IO_new_file_xsputn): Also return EOF if none of the input
31732 data was written when overflow failed.
31733 * libio/iopadn.c (_IO_padn): Likewise.
31734 * libio/iowpadn.c (_IO_wpadn): Likewise.
31735 * stdio-common/tst-put-error.c: Add copyright notice.
31736 (do_test): Add case for printing padded string.
31737 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31738 _IO_padn returned error.
31739 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31740 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31741 return EOF.
31742
b1848fde
SP
317432012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31744
31745 * libio/libioP.h: Add comment note that the references to C++
31746 bits are now obsolete.
31747
2fd89785
MS
317482012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31749
31750 * math/libm-test.inc (check_complex): Use asprintf.
31751
e3ea5409
JM
317522012-11-14 Joseph Myers <joseph@codesourcery.com>
31753
31754 * debug/pcprofiledump.c (print_version): Update copyright year.
31755 * malloc/memusagestat.c (print_version): Likewise.
31756
2e64d265
L
317572012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31758
31759 [BZ #14831]
31760 * elf/Makefile (tests): Add tst-audit8.
31761 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31762 ($(objpfx)tst-audit8.out): New target.
31763 (tst-audit8-ENV): New variable.
31764 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31765 audit if l_reloc_result is NULL.
31766 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31767 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31768 * elf/tst-audit8.c: New file.
31769
c485e4d2
MS
317702012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31771
31772 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31773 * misc/Makefile (CFLAGS-select.c): Define.
31774 * posix/Makefile (CFLAGS-pause.c): Define.
31775
3a0d900a
DM
317762012-11-13 David S. Miller <davem@davemloft.net>
31777
31778 * crypt/Makefile: Move test targets after toplevel Rules
31779 inclusion. Grab any necessary sysdep routines when linking.
31780 * crypt/md5.c (md5_process_block): Remove define, we will always
31781 name it __md5_process_block.
31782 (md5_finish_ctx): Update md5_process_block call.
31783 (md5_stream): Likewise.
31784 (md5_process_bytes): Likewise.
31785 (md5_process_block): Rename to __md5_process_block and move to ...
31786 * crypt/md5-block.c: ... here.
31787 * crypt/sha256.c (sha256_process_block): Move to ...
31788 * crypt/sha256-block.c: ... here.
31789 * crypt/sha512.c (sha512_process_block): Move to ...
31790 * crypt/sha512-block.c: ... here.
31791 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31792 path.
31793 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31794 * sysdeps/sparc/sparc64/multiarch/Makefile
31795 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31796 crypt subdir.
31797 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31798 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31799 multiarch changes.
31800 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31801 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31802 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31803 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31804 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31805 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31806 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31807 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31808 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31809 file.
31810 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31811 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31812 file.
31813 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31814
8ca89318
JM
318152012-11-13 Joseph Myers <joseph@codesourcery.com>
31816
e27d476a
JM
31817 * timezone/tzselect.ksh: Update from tzcode git revision
31818 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31819 * timezone/zdump.c: Likewise.
31820 * timezone/zic.c: Likewise.
31821 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31822 in TZVERSION setting, not $(PKGVERSION).
31823 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31824 REPORT_BUGS_TO settings.
31825
8ca89318
JM
31826 [BZ #14838]
31827 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31828 macro.
31829
47594329
MS
318302012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31831
31832 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31833 detection to immediately after _FP_ROUND().
31834 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31835 bits are 0.
31836
640ac3f1
DM
318372012-11-11 David S. Miller <davem@davemloft.net>
31838
31839 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31840 inttypes.h
31841 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31842 __close rather than their public counterparts.
31843
3d2577bb
JM
318442012-11-10 Joseph Myers <joseph@codesourcery.com>
31845
31846 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31847 file.
31848 [UNIX98] (sem_timedwait): Do not expect.
31849 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31850 [XPG4 || UNIX98] (sockatmark): Do not expect.
31851 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31852 (clock_getcpuclockid): Do not expect.
31853 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31854 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31855 Do not expect.
31856 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31857 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31858 [UNIX98] (vwscanf): Likewise.
31859 [UNIX98] (vswscanf): Likewise.
31860
fb1ae1ee
JM
318612012-11-09 Joseph Myers <joseph@codesourcery.com>
31862
9ec6f8bd
JM
31863 * timezone/version.h: Remove file.
31864 * timezone/README: Do not refer to version.h.
31865 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31866 $(objpfx)version.h.
31867 ($(objpfx)zdump.o): Likewise.
c3f81911 31868 ($(objpfx)version.h): New target.
9ec6f8bd 31869
0aa8f8a1
JM
31870 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31871 2012i.
31872 * timezone/README: Don't mention modification to tzselect.ksh.
31873 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31874 work on unmodified tzselect.ksh. Substitute version numbers in
31875 tzselect.ksh.
31876
4e87147f
JM
31877 * Makefile (format-me): Remove.
31878 (INSTALL): Adjust indentation. Use commands directly instead of
31879 using $(format-me).
31880
8b748aed
JM
31881 * aclocal.m4 (ACX_PKGVERSION): New macro.
31882 (ACX_BUGURL): Likewise.
31883 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31884 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31885 (REPORT_BUGS_TO): Likewise.
31886 * configure: Regenerated.
31887 * config.h.in (PKGVERSION): New macro.
31888 (REPORT_BUGS_TO): Likewise.
31889 * config.make.in (PKGVERSION): New variable.
31890 (PKGVERSION_TEXI): Likewise.
31891 (REPORT_BUGS_TO): Likewise.
31892 (REPORT_BUGS_TEXI): Likewise.
31893 * Makefile (format-me): Use -I$(common-objpfx)manual.
31894 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31895 ($(common-objpfx)manual/%): New target.
31896 (manual/%): Remove target.
31897 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31898 (print_version): Use PKGVERSION.
31899 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31900 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31901 and REPORT_BUGS_TO.
31902 ($(objpfx)xtrace): Likewise.
31903 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31904 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31905 (print_version): Use PKGVERSION.
31906 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31907 (do_version): Use PKGVERSION.
31908 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31909 REPORT_BUGS_TO.
31910 (common-ldd-rewrite): Likewise.
31911 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31912 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31913 (print_version): Use PKGVERSION.
31914 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31915 * elf/pldd.c (argp_program_bug_address): Remove variable.
31916 (more_help): New function.
31917 (argp): Use more_help.
31918 (print_version): Use PKGVERSION.
31919 * elf/sln.c (main): Use PKGVERSION.
31920 (usage): Use REPORT_BUGS_TO.
31921 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31922 (top level): Use PKGVERSION.
31923 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31924 (print_version): Use PKGVERSION.
31925 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31926 (print_version): Use PKGVERSION.
31927 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31928 (print_version): Use PKGVERSION.
31929 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31930 (print_version): Use PKGVERSION.
31931 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31932 (print_version): Use PKGVERSION.
31933 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31934 (print_version): Use PKGVERSION.
31935 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31936 and BUGURL.
31937 ($(objpfx)memusage): Likewise.
31938 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31939 (do_version): Use PKGVERSION.
31940 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31941 (print_version): Use PKGVERSION.
31942 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31943 ($PKGVERSION): New variable.
31944 ($REPORT_BUGS_TO): Likewise.
31945 (usage): Use $REPORT_BUGS_TO.
31946 (top level): Use $PKGVERSION.
31947 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31948 ($(objpfx)pkgvers.texi): New rule.
31949 ($(objpfx)stamp-pkgvers): Likewise.
31950 * manual/install.texi: Include pkgvers.texi.
31951 (--with-pkgversion): Document new configure option.
31952 (--with-bugurl): Likewise.
31953 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31954 than necessarily for this particular distribution. Use
31955 REPORT_BUGS_TO for where to report bugs.
31956 * INSTALL: Regenerated.
31957 * manual/libc.texinfo: Include pkgvers.texi.
31958 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31959 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31960 (print_version): Use PKGVERSION.
31961 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31962 (print_version): Use PKGVERSION.
31963 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31964 (print_version): Use PKGVERSION.
31965 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31966 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31967 macro.
31968 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31969 (print_version): Use PKGVERSION.
31970 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31971 (print_version): Use PKGVERSION.
31972 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31973 and PKGVERSION.
31974
92e4b6a9
JM
31975 * timezone/checktab.awk: Update from tzcode 2012i.
31976 * timezone/ialloc.c: Likewise.
31977 * timezone/private.h: Likewise.
31978 * timezone/scheck.c: Likewise.
31979 * timezone/tzfile.h: Likewise.
31980 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31981 (TZVERSION): Hardcode tzcode version number.
31982 * timezone/zdump.c: Update from tzcode 2012i.
31983 * timezone/zic.c: Likewise.
31984 * timezone/version.h: New file.
31985 * timezone/README: Describe version.h. Update upstream location.
31986
9bde902c
JM
31987 [BZ #14824]
31988 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31989 (mktemp): Enable declaration.
31990 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31991 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31992 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31993 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31994 Likewise.
31995 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31996 Likewise.
31997 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31998 Likewise.
31999 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32000 Likewise.
32001 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32002 Likewise.
32003 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32004 Likewise.
32005
fb1ae1ee
JM
32006 [BZ #14821]
32007 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32008 offset in buffer as u_int32_t not u_long. Consistently use memcpy
32009 for copies of such integer values.
32010 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32011 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32012
2c1adbcb
AJ
320132012-11-09 Andreas Jaeger <aj@suse.de>
32014
32015 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32016 definitions and declarations that are provided by
32017 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32018
d0f8457e
AK
320192012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32020
3a235abb 32021 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
32022 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32023 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32024 definition.
32025
57241e26
MS
320262012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32027
32028 * elf/elf.h: Update comment before AArch64 relocations.
32029
60e8270d
DM
320302012-11-07 David S. Miller <davem@davemloft.net>
32031
32032 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32033 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32034 (__start_context): Declare.
32035 (__makecontext_ret): Delete.
32036 (__makecontext): Hook up __start_context instead of
32037 __makecontext_ret.
32038 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32039 (sysdep_routines): Add __start_context when in stdlib.
32040
0fbb0fbc
JM
320412012-11-07 Joseph Myers <joseph@codesourcery.com>
32042
32043 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32044 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32045 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
32046 hardcoded "nm".
32047 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
32048 (READELF): New variable. Use it instead of hardcoded "readelf".
32049
eb48db7e
L
320502012-11-07 H.J. Lu <hongjiu.lu@intel.com>
32051
32052 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32053 * sysdeps/x86/Makefile: Here.
32054 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32055 * sysdeps/x86/tst-xmmymm.sh: This.
32056
05bcf62a
JM
320572012-11-07 Joseph Myers <joseph@codesourcery.com>
32058
c4b6cf53
JM
32059 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32060 expectations.
32061 [UNIX98] (pthread_barrier_t): Do not expect.
32062 [UNIX98] (pthread_barrierattr_t): Likewise.
32063 [UNIX98] (pthread_spinlock_t): Likewise.
32064 [UNIX98] (pthread_barrier_destroy): Likewise.
32065 [UNIX98] (pthread_barrier_init): Likewise.
32066 [UNIX98] (pthread_barrier_wait): Likewise.
32067 [UNIX98] (pthread_barrierattr_destroy): Likewise.
32068 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32069 [UNIX98] (pthread_barrierattr_init): Likewise.
32070 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32071 [UNIX98] (pthread_getcpuclockid): Likewise.
32072 [UNIX98] (pthread_mutex_timedlock): Likewise.
32073 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32074 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32075 [UNIX98] (pthread_sigmask): Likewise.
32076 [UNIX98] (pthread_spin_destroy): Likewise.
32077 [UNIX98] (pthread_spin_init): Likewise.
32078 [UNIX98] (pthread_spin_lock): Likewise.
32079 [UNIX98] (pthread_spin_trylock): Likewise.
32080 [UNIX98] (pthread_spin_unlock): Likewise.
32081 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32082 Do not expect.
32083 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32084 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32085 [XPG3 || XPG4] (pthread_cond_t): Likewise.
32086 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32087 [XPG3 || XPG4] (pthread_key_t): Likewise.
32088 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32089 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32090 [XPG3 || XPG4] (pthread_once_t): Likewise.
32091 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32092 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32093 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32094 [XPG3 || XPG4] (pthread_t): Likewise.
32095
cbe6e120
JM
32096 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32097 not expect.
32098 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32099
1b126443
JM
32100 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32101 Change function return type to int.
32102
b961a573
JM
32103 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32104 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32105 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32106 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32107 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32108 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32109 [!POSIX] (posix_madvise): Likewise.
32110 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32111 && !UNIX98].
32112 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32113 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32114 (mode_t): Likewise.
32115 (posix_mem_offset): Likewise.
32116 (posix_typed_mem_get_info): Likewise.
32117 (posix_typed_mem_open): Likewise.
32118
9e188909
JM
32119 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32120 Change condition to [XOPEN2K8].
32121
05bcf62a
JM
32122 * conform/conformtest.pl: Preprocess allow-header data with -x c
32123 instead of from stdin.
32124 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32125 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32126 [C99-based standards] (cerfc): Likewise.
32127 [C99-based standards] (cexp2): Likewise.
32128 [C99-based standards] (cexpm1): Likewise.
32129 [C99-based standards] (clog10): Likewise.
32130 [C99-based standards] (clog1p): Likewise.
32131 [C99-based standards] (clog2): Likewise.
32132 [C99-based standards] (clgamma): Likewise.
32133 [C99-based standards] (ctgamma): Likewise.
32134 [C99-based standards] (cerff): Likewise.
32135 [C99-based standards] (cerfcf): Likewise.
32136 [C99-based standards] (cexp2f): Likewise.
32137 [C99-based standards] (cexpm1f): Likewise.
32138 [C99-based standards] (clog10f): Likewise.
32139 [C99-based standards] (clog1pf): Likewise.
32140 [C99-based standards] (clog2f): Likewise.
32141 [C99-based standards] (clgammaf): Likewise.
32142 [C99-based standards] (ctgammaf): Likewise.
32143 [C99-based standards] (cerfl): Likewise.
32144 [C99-based standards] (cerfcl): Likewise.
32145 [C99-based standards] (cexp2l): Likewise.
32146 [C99-based standards] (cexpm1l): Likewise.
32147 [C99-based standards] (clog10l): Likewise.
32148 [C99-based standards] (clog1pl): Likewise.
32149 [C99-based standards] (clog2l): Likewise.
32150 [C99-based standards] (clgammal): Likewise.
32151 [C99-based standards] (ctgammal): Likewise.
32152 * conform/data/inttypes.h-data [C99-based standards]: Include
32153 stdint.h-data. Remove all expectations for stdint.h contents.
32154 [C99-based standards] (PRI*): Do not allow.
32155 [C99-based standards] (SCN*): Likewise.
32156 [C99-based standards] (*_t): Likewise.
32157 [C99-based-standards] (PRId8): Expect macro.
32158 [C99-based-standards] (PRIi8): Likewise.
32159 [C99-based-standards] (PRIo8): Likewise.
32160 [C99-based-standards] (PRIu8): Likewise.
32161 [C99-based-standards] (PRIx8): Likewise.
32162 [C99-based-standards] (PRIX8): Likewise.
32163 [C99-based-standards] (SCNd8): Likewise.
32164 [C99-based-standards] (SCNi8): Likewise.
32165 [C99-based-standards] (SCNo8): Likewise.
32166 [C99-based-standards] (SCNu8): Likewise.
32167 [C99-based-standards] (SCNx8): Likewise.
32168 [C99-based-standards] (PRIdLEAST8): Likewise.
32169 [C99-based-standards] (PRIiLEAST8): Likewise.
32170 [C99-based-standards] (PRIoLEAST8): Likewise.
32171 [C99-based-standards] (PRIuLEAST8): Likewise.
32172 [C99-based-standards] (PRIxLEAST8): Likewise.
32173 [C99-based-standards] (PRIXLEAST8): Likewise.
32174 [C99-based-standards] (SCNdLEAST8): Likewise.
32175 [C99-based-standards] (SCNiLEAST8): Likewise.
32176 [C99-based-standards] (SCNoLEAST8): Likewise.
32177 [C99-based-standards] (SCNuLEAST8): Likewise.
32178 [C99-based-standards] (SCNxLEAST8): Likewise.
32179 [C99-based-standards] (PRIdFAST8): Likewise.
32180 [C99-based-standards] (PRIiFAST8): Likewise.
32181 [C99-based-standards] (PRIoFAST8): Likewise.
32182 [C99-based-standards] (PRIuFAST8): Likewise.
32183 [C99-based-standards] (PRIxFAST8): Likewise.
32184 [C99-based-standards] (PRIXFAST8): Likewise.
32185 [C99-based-standards] (SCNdFAST8): Likewise.
32186 [C99-based-standards] (SCNiFAST8): Likewise.
32187 [C99-based-standards] (SCNoFAST8): Likewise.
32188 [C99-based-standards] (SCNuFAST8): Likewise.
32189 [C99-based-standards] (SCNxFAST8): Likewise.
32190 [C99-based-standards] (PRId16): Likewise.
32191 [C99-based-standards] (PRIi16): Likewise.
32192 [C99-based-standards] (PRIo16): Likewise.
32193 [C99-based-standards] (PRIu16): Likewise.
32194 [C99-based-standards] (PRIx16): Likewise.
32195 [C99-based-standards] (PRIX16): Likewise.
32196 [C99-based-standards] (SCNd16): Likewise.
32197 [C99-based-standards] (SCNi16): Likewise.
32198 [C99-based-standards] (SCNo16): Likewise.
32199 [C99-based-standards] (SCNu16): Likewise.
32200 [C99-based-standards] (SCNx16): Likewise.
32201 [C99-based-standards] (PRIdLEAST16): Likewise.
32202 [C99-based-standards] (PRIiLEAST16): Likewise.
32203 [C99-based-standards] (PRIoLEAST16): Likewise.
32204 [C99-based-standards] (PRIuLEAST16): Likewise.
32205 [C99-based-standards] (PRIxLEAST16): Likewise.
32206 [C99-based-standards] (PRIXLEAST16): Likewise.
32207 [C99-based-standards] (SCNdLEAST16): Likewise.
32208 [C99-based-standards] (SCNiLEAST16): Likewise.
32209 [C99-based-standards] (SCNoLEAST16): Likewise.
32210 [C99-based-standards] (SCNuLEAST16): Likewise.
32211 [C99-based-standards] (SCNxLEAST16): Likewise.
32212 [C99-based-standards] (PRIdFAST16): Likewise.
32213 [C99-based-standards] (PRIiFAST16): Likewise.
32214 [C99-based-standards] (PRIoFAST16): Likewise.
32215 [C99-based-standards] (PRIuFAST16): Likewise.
32216 [C99-based-standards] (PRIxFAST16): Likewise.
32217 [C99-based-standards] (PRIXFAST16): Likewise.
32218 [C99-based-standards] (SCNdFAST16): Likewise.
32219 [C99-based-standards] (SCNiFAST16): Likewise.
32220 [C99-based-standards] (SCNoFAST16): Likewise.
32221 [C99-based-standards] (SCNuFAST16): Likewise.
32222 [C99-based-standards] (SCNxFAST16): Likewise.
32223 [C99-based-standards] (PRId32): Likewise.
32224 [C99-based-standards] (PRIi32): Likewise.
32225 [C99-based-standards] (PRIo32): Likewise.
32226 [C99-based-standards] (PRIu32): Likewise.
32227 [C99-based-standards] (PRIx32): Likewise.
32228 [C99-based-standards] (PRIX32): Likewise.
32229 [C99-based-standards] (SCNd32): Likewise.
32230 [C99-based-standards] (SCNi32): Likewise.
32231 [C99-based-standards] (SCNo32): Likewise.
32232 [C99-based-standards] (SCNu32): Likewise.
32233 [C99-based-standards] (SCNx32): Likewise.
32234 [C99-based-standards] (PRIdLEAST32): Likewise.
32235 [C99-based-standards] (PRIiLEAST32): Likewise.
32236 [C99-based-standards] (PRIoLEAST32): Likewise.
32237 [C99-based-standards] (PRIuLEAST32): Likewise.
32238 [C99-based-standards] (PRIxLEAST32): Likewise.
32239 [C99-based-standards] (PRIXLEAST32): Likewise.
32240 [C99-based-standards] (SCNdLEAST32): Likewise.
32241 [C99-based-standards] (SCNiLEAST32): Likewise.
32242 [C99-based-standards] (SCNoLEAST32): Likewise.
32243 [C99-based-standards] (SCNuLEAST32): Likewise.
32244 [C99-based-standards] (SCNxLEAST32): Likewise.
32245 [C99-based-standards] (PRIdFAST32): Likewise.
32246 [C99-based-standards] (PRIiFAST32): Likewise.
32247 [C99-based-standards] (PRIoFAST32): Likewise.
32248 [C99-based-standards] (PRIuFAST32): Likewise.
32249 [C99-based-standards] (PRIxFAST32): Likewise.
32250 [C99-based-standards] (PRIXFAST32): Likewise.
32251 [C99-based-standards] (SCNdFAST32): Likewise.
32252 [C99-based-standards] (SCNiFAST32): Likewise.
32253 [C99-based-standards] (SCNoFAST32): Likewise.
32254 [C99-based-standards] (SCNuFAST32): Likewise.
32255 [C99-based-standards] (SCNxFAST32): Likewise.
32256 [C99-based-standards] (PRId64): Likewise.
32257 [C99-based-standards] (PRIi64): Likewise.
32258 [C99-based-standards] (PRIo64): Likewise.
32259 [C99-based-standards] (PRIu64): Likewise.
32260 [C99-based-standards] (PRIx64): Likewise.
32261 [C99-based-standards] (PRIX64): Likewise.
32262 [C99-based-standards] (SCNd64): Likewise.
32263 [C99-based-standards] (SCNi64): Likewise.
32264 [C99-based-standards] (SCNo64): Likewise.
32265 [C99-based-standards] (SCNu64): Likewise.
32266 [C99-based-standards] (SCNx64): Likewise.
32267 [C99-based-standards] (PRIdLEAST64): Likewise.
32268 [C99-based-standards] (PRIiLEAST64): Likewise.
32269 [C99-based-standards] (PRIoLEAST64): Likewise.
32270 [C99-based-standards] (PRIuLEAST64): Likewise.
32271 [C99-based-standards] (PRIxLEAST64): Likewise.
32272 [C99-based-standards] (PRIXLEAST64): Likewise.
32273 [C99-based-standards] (SCNdLEAST64): Likewise.
32274 [C99-based-standards] (SCNiLEAST64): Likewise.
32275 [C99-based-standards] (SCNoLEAST64): Likewise.
32276 [C99-based-standards] (SCNuLEAST64): Likewise.
32277 [C99-based-standards] (SCNxLEAST64): Likewise.
32278 [C99-based-standards] (PRIdFAST64): Likewise.
32279 [C99-based-standards] (PRIiFAST64): Likewise.
32280 [C99-based-standards] (PRIoFAST64): Likewise.
32281 [C99-based-standards] (PRIuFAST64): Likewise.
32282 [C99-based-standards] (PRIxFAST64): Likewise.
32283 [C99-based-standards] (PRIXFAST64): Likewise.
32284 [C99-based-standards] (SCNdFAST64): Likewise.
32285 [C99-based-standards] (SCNiFAST64): Likewise.
32286 [C99-based-standards] (SCNoFAST64): Likewise.
32287 [C99-based-standards] (SCNuFAST64): Likewise.
32288 [C99-based-standards] (SCNxFAST64): Likewise.
32289 [C99-based-standards] (PRIdMAX): Likewise.
32290 [C99-based-standards] (PRIiMAX): Likewise.
32291 [C99-based-standards] (PRIoMAX): Likewise.
32292 [C99-based-standards] (PRIuMAX): Likewise.
32293 [C99-based-standards] (PRIxMAX): Likewise.
32294 [C99-based-standards] (PRIXMAX): Likewise.
32295 [C99-based-standards] (SCNdMAX): Likewise.
32296 [C99-based-standards] (SCNiMAX): Likewise.
32297 [C99-based-standards] (SCNoMAX): Likewise.
32298 [C99-based-standards] (SCNuMAX): Likewise.
32299 [C99-based-standards] (SCNxMAX): Likewise.
32300 [C99-based-standards] (PRIdPTR): Likewise.
32301 [C99-based-standards] (PRIiPTR): Likewise.
32302 [C99-based-standards] (PRIoPTR): Likewise.
32303 [C99-based-standards] (PRIuPTR): Likewise.
32304 [C99-based-standards] (PRIxPTR): Likewise.
32305 [C99-based-standards] (PRIXPTR): Likewise.
32306 [C99-based-standards] (SCNdPTR): Likewise.
32307 [C99-based-standards] (SCNiPTR): Likewise.
32308 [C99-based-standards] (SCNoPTR): Likewise.
32309 [C99-based-standards] (SCNuPTR): Likewise.
32310 [C99-based-standards] (SCNxPTR): Likewise.
32311 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32312 allow.
32313 * conform/data/stdint.h-data: Update comments to clarify
32314 requirements.
32315 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
32316 type.
32317 [C99-based standards] (INT8_MAX): Likewise.
32318 [C99-based standards] (INT16_MIN): Likewise.
32319 [C99-based standards] (INT16_MAX): Likewise.
32320 [C99-based standards] (INT32_MIN): Likewise.
32321 [C99-based standards] (INT32_MAX): Likewise.
32322 [C99-based standards] (INT64_MIN): Likewise.
32323 [C99-based standards] (INT64_MAX): Likewise.
32324 [C99-based standards] (UINT8_MAX): Likewise.
32325 [C99-based standards] (UINT16_MAX): Likewise.
32326 [C99-based standards] (UINT32_MAX): Likewise.
32327 [C99-based standards] (UINT64_MAX): Likewise.
32328 [C99-based standards] (INT_LEAST8_MIN): Likewise.
32329 [C99-based standards] (INT_LEAST8_MAX): Likewise.
32330 [C99-based standards] (INT_LEAST16_MIN): Likewise.
32331 [C99-based standards] (INT_LEAST16_MAX): Likewise.
32332 [C99-based standards] (INT_LEAST32_MIN): Likewise.
32333 [C99-based standards] (INT_LEAST32_MAX): Likewise.
32334 [C99-based standards] (INT_LEAST64_MIN): Likewise.
32335 [C99-based standards] (INT_LEAST64_MAX): Likewise.
32336 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32337 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32338 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32339 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32340 [C99-based standards] (INT_FAST8_MIN): Likewise.
32341 [C99-based standards] (INT_FAST8_MAX): Likewise.
32342 [C99-based standards] (INT_FAST16_MIN): Likewise.
32343 [C99-based standards] (INT_FAST16_MAX): Likewise.
32344 [C99-based standards] (INT_FAST32_MIN): Likewise.
32345 [C99-based standards] (INT_FAST32_MAX): Likewise.
32346 [C99-based standards] (INT_FAST64_MIN): Likewise.
32347 [C99-based standards] (INT_FAST64_MAX): Likewise.
32348 [C99-based standards] (UINT_FAST8_MAX): Likewise.
32349 [C99-based standards] (UINT_FAST16_MAX): Likewise.
32350 [C99-based standards] (UINT_FAST32_MAX): Likewise.
32351 [C99-based standards] (UINT_FAST64_MAX): Likewise.
32352 [C99-based standards] (INTPTR_MIN): Likewise.
32353 [C99-based standards] (INTPTR_MAX): Likewise.
32354 [C99-based standards] (UINTPTR_MAX): Likewise.
32355 [C99-based standards] (INTMAX_MIN): Likewise.
32356 [C99-based standards] (INTMAX_MAX): Likewise.
32357 [C99-based standards] (UINTMAX_MAX): Likewise.
32358 [C99-based standards] (PTRDIFF_MIN): Likewise.
32359 [C99-based standards] (PTRDIFF_MAX): Likewise.
32360 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32361 [C99-based standards] (SIZE_MAX): Likewise.
32362 [C99-based standards] (WCHAR_MAX): Likewise.
32363 [C99-based standards] (WINT_MAX): Likewise.
32364 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
32365 constraint on value.
32366 [C99-based standards] (WCHAR_MIN): Likewise.
32367 [C99-based standards] (WINT_MIN): Likewise.
32368 [C99-based standards] (*_t): Allow.
32369 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32370 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32371 Include math.h-data and complex.h-data. Remove all expectations
32372 of math.h and complex.h contents.
32373 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32374 at end of line.
32375 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32376 (struct tm): Expect tag.
32377 [C99-based-standards] (wcstof): Expect function.
32378 [C99-based-standards] (wcstold): Likewise.
32379 [C99-based-standards] (wcstoll): Likewise.
32380 [C99-based-standards] (wcstoull): Likewise.
32381 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32382 macro-int-constant. Specify type.
32383 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
32384 constraint on value.
32385 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32386 Specify type.
32387 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32388 Specify value.
32389 [ISO C standards]: Do not allow headers.
32390 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32391 wcs[abcdefghijklmnopqrstuvwxyz]*.
32392 [ISO C standards] (*_t): Do not allow.
32393 * conform/data/wctype.h-data [C99-based standards] (iswblank):
32394 Expect function.
32395 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32396 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32397 Specify type.
32398 [ISO C standards]: Do not allow headers.
32399 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32400 is[abcdefghijklmnopqrstuvwxyz]*.
32401 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32402 to[abcdefghijklmnopqrstuvwxyz]*.
32403 [ISO C standards] (*_t): Do not allow.
32404 * conform/data/stdalign.h-data: New file.
32405 * conform/data/stdbool.h-data: Likewise.
32406 * conform/data/stdnoreturn.h-data: Likewise.
32407
7514feb8
RM
324082012-11-07 Roland McGrath <roland@hack.frob.com>
32409
32410 [BZ #14815]
32411 * manual/filesys.texi (Directory Entries): Typo fix.
32412 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32413
19b2ecfc
MS
324142012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32415
32416 * elf/elf.h (EM_AARCH64): New macro.
32417 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32418 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32419 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32420 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32421 (R_AARCH64_TLSDESC): Likewise.
32422 (NT_ARM_TLS): Likewise.
32423 (NT_ARM_HW_BREAK): Likewise.
32424 (NT_ARM_HW_WATCH): Likewise.
32425
60e235ee
JM
324262012-11-07 Joseph Myers <joseph@codesourcery.com>
32427
32428 [BZ #14811]
32429 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32430 (__ieee754_powl): Saturate nonzero exponents with absolute value
32431 below 0x1p-79 to +/- 0x1p-79.
32432 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32433 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32434 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32435 nonzero exponents with absolute value below 0x1p-32 to +/-
32436 0x1p-32.
32437 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32438 (__ieee754_powl): Saturate nonzero exponents with absolute value
32439 below 0x1p-79 to +/- 0x1p-79.
32440 * math/libm-test.inc (pow_test): Add more tests.
32441
0ab234b7
AK
324422012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32443
32444 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32445 _dl_s390_cap_flags with kernel. Increase string length.
32446 (_dl_s390_platforms): Add z196 and zEC12.
32447
45832f74
JM
324482012-11-07 Joseph Myers <joseph@codesourcery.com>
32449
32450 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32451 Change XOPEN21K to XOPEN2K.
32452
19218757
MK
324532012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
32454
32455 * string/memmove.c: Use memcpy when possible.
32456
c5f45721
AJ
324572012-11-06 Andreas Jaeger <aj@suse.de>
32458
32459 * po/eo.po: Update from translation team.
32460
82477c28
JM
324612012-11-06 Joseph Myers <joseph@codesourcery.com>
32462
32463 [BZ #14793]
32464 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32465 exponent and small x and y exponents, scale x or y up. Increase
32466 by 2 the exponent used in scaling up.
32467 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32468 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32469 * math/libm-test.inc (fma_test): Add more tests.
32470 (fma_test_towardzero): Likewise.
32471 (fma_test_downward): Likewise.
32472 (fma_test_upward): Likewise.
32473
99252c8c
JM
324742012-11-05 Joseph Myers <joseph@codesourcery.com>
32475
acfa885f
JM
32476 [BZ #14805]
32477 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32478 fenv_t *.
32479
99252c8c
JM
32480 [BZ #14801]
32481 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32482 namespace for names of struct fields.
32483 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32484 fenv_t fields.
32485 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32486 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32487
d6d98dea
ST
324882012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32489
32490 [BZ #3665]
32491 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32492
e10bb107
TS
324932012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32494
32495 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32496 PTR_DEMANGLE.
32497
32498 [BZ #5246]
32499 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32500 PTR_DEMANGLE.
32501
a0c2940d
JM
325022012-11-04 Joseph Myers <joseph@codesourcery.com>
32503
32504 [BZ #14797]
32505 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32506 definitely overflow as x * y not x * y + z.
32507 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32508 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32509 * math/libm-test.inc (fma_test): Add more tests.
32510 (fma_test_towardzero): Likewise.
32511 (fma_test_downward): Likewise.
32512 (fma_test_upward): Likewise.
32513
b830319d
TS
325142012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32515
32516 [BZ #157]
32517
32518 * include/stub-tag.h: Remove file.
32519 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32520 '#include' of it.
32521 * manual/maint.texi (Porting): Don't reference it.
32522 * Makerules ($(objpfx)stubs): Likewise.
32523 * dirent/closedir.c: Don't include <stub-tag.h>.
32524 * dirent/dirfd.c: Likewise.
32525 * dirent/fdopendir.c: Likewise.
32526 * dirent/getdents.c: Likewise.
32527 * dirent/getdents64.c: Likewise.
32528 * dirent/opendir.c: Likewise.
32529 * dirent/readdir.c: Likewise.
32530 * dirent/readdir64.c: Likewise.
32531 * dirent/readdir64_r.c: Likewise.
32532 * dirent/readdir_r.c: Likewise.
32533 * dirent/rewinddir.c: Likewise.
32534 * dirent/seekdir.c: Likewise.
32535 * dirent/telldir.c: Likewise.
32536 * gmon/profil.c: Likewise.
32537 * grp/setgroups.c: Likewise.
32538 * inet/if_index.c: Likewise.
32539 * io/access.c: Likewise.
32540 * io/chdir.c: Likewise.
32541 * io/chmod.c: Likewise.
32542 * io/chown.c: Likewise.
32543 * io/close.c: Likewise.
32544 * io/dup.c: Likewise.
32545 * io/dup2.c: Likewise.
32546 * io/dup3.c: Likewise.
32547 * io/euidaccess.c: Likewise.
32548 * io/faccessat.c: Likewise.
32549 * io/fchdir.c: Likewise.
32550 * io/fchmod.c: Likewise.
32551 * io/fchmodat.c: Likewise.
32552 * io/fchown.c: Likewise.
32553 * io/fchownat.c: Likewise.
32554 * io/fcntl.c: Likewise.
32555 * io/flock.c: Likewise.
32556 * io/fstatfs.c: Likewise.
32557 * io/fstatfs64.c: Likewise.
32558 * io/fstatvfs.c: Likewise.
32559 * io/fstatvfs64.c: Likewise.
32560 * io/futimens.c: Likewise.
32561 * io/fxstat.c: Likewise.
32562 * io/fxstat64.c: Likewise.
32563 * io/fxstatat.c: Likewise.
32564 * io/fxstatat64.c: Likewise.
32565 * io/getcwd.c: Likewise.
32566 * io/isatty.c: Likewise.
32567 * io/lchmod.c: Likewise.
32568 * io/lchown.c: Likewise.
32569 * io/link.c: Likewise.
32570 * io/linkat.c: Likewise.
32571 * io/lseek.c: Likewise.
32572 * io/lseek64.c: Likewise.
32573 * io/lxstat64.c: Likewise.
32574 * io/mkdir.c: Likewise.
32575 * io/mkdirat.c: Likewise.
32576 * io/mkfifo.c: Likewise.
32577 * io/mkfifoat.c: Likewise.
32578 * io/open.c: Likewise.
32579 * io/open64.c: Likewise.
32580 * io/openat.c: Likewise.
32581 * io/openat64.c: Likewise.
32582 * io/pipe.c: Likewise.
32583 * io/pipe2.c: Likewise.
32584 * io/poll.c: Likewise.
32585 * io/posix_fadvise.c: Likewise.
32586 * io/posix_fadvise64.c: Likewise.
32587 * io/posix_fallocate.c: Likewise.
32588 * io/posix_fallocate64.c: Likewise.
32589 * io/read.c: Likewise.
32590 * io/readlink.c: Likewise.
32591 * io/readlinkat.c: Likewise.
32592 * io/rmdir.c: Likewise.
32593 * io/sendfile.c: Likewise.
32594 * io/sendfile64.c: Likewise.
32595 * io/statfs.c: Likewise.
32596 * io/statfs64.c: Likewise.
32597 * io/statvfs.c: Likewise.
32598 * io/statvfs64.c: Likewise.
32599 * io/symlink.c: Likewise.
32600 * io/symlinkat.c: Likewise.
32601 * io/ttyname.c: Likewise.
32602 * io/ttyname_r.c: Likewise.
32603 * io/umask.c: Likewise.
32604 * io/unlink.c: Likewise.
32605 * io/unlinkat.c: Likewise.
32606 * io/utime.c: Likewise.
32607 * io/utimensat.c: Likewise.
32608 * io/write.c: Likewise.
32609 * io/xmknod.c: Likewise.
32610 * io/xmknodat.c: Likewise.
32611 * io/xstat.c: Likewise.
32612 * io/xstat64.c: Likewise.
32613 * login/getpt.c: Likewise.
32614 * login/grantpt.c: Likewise.
32615 * login/unlockpt.c: Likewise.
32616 * math/e_acoshl.c: Likewise.
32617 * math/e_acosl.c: Likewise.
32618 * math/e_asinl.c: Likewise.
32619 * math/e_atan2l.c: Likewise.
32620 * math/e_atanhl.c: Likewise.
32621 * math/e_coshl.c: Likewise.
32622 * math/e_expl.c: Likewise.
32623 * math/e_fmodl.c: Likewise.
32624 * math/e_gammal_r.c: Likewise.
32625 * math/e_hypotl.c: Likewise.
32626 * math/e_j0l.c: Likewise.
32627 * math/e_j1l.c: Likewise.
32628 * math/e_jnl.c: Likewise.
32629 * math/e_lgammal_r.c: Likewise.
32630 * math/e_log10l.c: Likewise.
32631 * math/e_log2l.c: Likewise.
32632 * math/e_logl.c: Likewise.
32633 * math/e_powl.c: Likewise.
32634 * math/e_rem_pio2l.c: Likewise.
32635 * math/e_sinhl.c: Likewise.
32636 * math/e_sqrtl.c: Likewise.
32637 * math/fclrexcpt.c: Likewise.
32638 * math/fedisblxcpt.c: Likewise.
32639 * math/feenablxcpt.c: Likewise.
32640 * math/fegetenv.c: Likewise.
32641 * math/fegetexcept.c: Likewise.
32642 * math/fegetround.c: Likewise.
32643 * math/feholdexcpt.c: Likewise.
32644 * math/fesetenv.c: Likewise.
32645 * math/fesetround.c: Likewise.
32646 * math/feupdateenv.c: Likewise.
32647 * math/fgetexcptflg.c: Likewise.
32648 * math/fraiseexcpt.c: Likewise.
32649 * math/fsetexcptflg.c: Likewise.
32650 * math/ftestexcept.c: Likewise.
32651 * math/k_cosl.c: Likewise.
32652 * math/k_rem_pio2l.c: Likewise.
32653 * math/k_sinl.c: Likewise.
32654 * math/k_tanl.c: Likewise.
32655 * math/s_asinhl.c: Likewise.
32656 * math/s_atanl.c: Likewise.
32657 * math/s_cbrtl.c: Likewise.
32658 * math/s_erfl.c: Likewise.
32659 * math/s_expm1l.c: Likewise.
32660 * math/s_log1pl.c: Likewise.
32661 * math/s_tanhl.c: Likewise.
32662 * misc/acct.c: Likewise.
32663 * misc/brk.c: Likewise.
32664 * misc/chflags.c: Likewise.
32665 * misc/chroot.c: Likewise.
32666 * misc/fchflags.c: Likewise.
32667 * misc/fgetxattr.c: Likewise.
32668 * misc/flistxattr.c: Likewise.
32669 * misc/fremovexattr.c: Likewise.
32670 * misc/fsetxattr.c: Likewise.
32671 * misc/fsync.c: Likewise.
32672 * misc/ftruncate.c: Likewise.
32673 * misc/futimes.c: Likewise.
32674 * misc/futimesat.c: Likewise.
32675 * misc/getdomain.c: Likewise.
32676 * misc/getdtsz.c: Likewise.
32677 * misc/gethostid.c: Likewise.
32678 * misc/gethostname.c: Likewise.
32679 * misc/getloadavg.c: Likewise.
32680 * misc/getpagesize.c: Likewise.
32681 * misc/getsysstats.c: Likewise.
32682 * misc/getxattr.c: Likewise.
32683 * misc/gtty.c: Likewise.
32684 * misc/ioctl.c: Likewise.
32685 * misc/lgetxattr.c: Likewise.
32686 * misc/listxattr.c: Likewise.
32687 * misc/llistxattr.c: Likewise.
32688 * misc/lremovexattr.c: Likewise.
32689 * misc/lsetxattr.c: Likewise.
32690 * misc/lutimes.c: Likewise.
32691 * misc/madvise.c: Likewise.
32692 * misc/mincore.c: Likewise.
32693 * misc/mlock.c: Likewise.
32694 * misc/mlockall.c: Likewise.
32695 * misc/mmap.c: Likewise.
32696 * misc/mprotect.c: Likewise.
32697 * misc/msync.c: Likewise.
32698 * misc/munlock.c: Likewise.
32699 * misc/munlockall.c: Likewise.
32700 * misc/munmap.c: Likewise.
32701 * misc/preadv.c: Likewise.
32702 * misc/preadv64.c: Likewise.
32703 * misc/ptrace.c: Likewise.
32704 * misc/pwritev.c: Likewise.
32705 * misc/pwritev64.c: Likewise.
32706 * misc/readv.c: Likewise.
32707 * misc/reboot.c: Likewise.
32708 * misc/remap_file_pages.c: Likewise.
32709 * misc/removexattr.c: Likewise.
32710 * misc/revoke.c: Likewise.
32711 * misc/select.c: Likewise.
32712 * misc/setdomain.c: Likewise.
32713 * misc/setegid.c: Likewise.
32714 * misc/seteuid.c: Likewise.
32715 * misc/sethostid.c: Likewise.
32716 * misc/sethostname.c: Likewise.
32717 * misc/setregid.c: Likewise.
32718 * misc/setreuid.c: Likewise.
32719 * misc/setxattr.c: Likewise.
32720 * misc/sstk.c: Likewise.
32721 * misc/stty.c: Likewise.
32722 * misc/swapoff.c: Likewise.
32723 * misc/swapon.c: Likewise.
32724 * misc/sync.c: Likewise.
32725 * misc/syncfs.c: Likewise.
32726 * misc/syscall.c: Likewise.
32727 * misc/truncate.c: Likewise.
32728 * misc/ualarm.c: Likewise.
32729 * misc/usleep.c: Likewise.
32730 * misc/ustat.c: Likewise.
32731 * misc/utimes.c: Likewise.
32732 * misc/vhangup.c: Likewise.
32733 * misc/writev.c: Likewise.
32734 * posix/_exit.c: Likewise.
32735 * posix/alarm.c: Likewise.
32736 * posix/execve.c: Likewise.
32737 * posix/fexecve.c: Likewise.
32738 * posix/fork.c: Likewise.
32739 * posix/fpathconf.c: Likewise.
32740 * posix/getaddrinfo.c: Likewise.
32741 * posix/getegid.c: Likewise.
32742 * posix/geteuid.c: Likewise.
32743 * posix/getgid.c: Likewise.
32744 * posix/getgroups.c: Likewise.
32745 * posix/getlogin.c: Likewise.
32746 * posix/getlogin_r.c: Likewise.
32747 * posix/getpgid.c: Likewise.
32748 * posix/getpid.c: Likewise.
32749 * posix/getppid.c: Likewise.
32750 * posix/getresgid.c: Likewise.
32751 * posix/getresuid.c: Likewise.
32752 * posix/getsid.c: Likewise.
32753 * posix/getuid.c: Likewise.
32754 * posix/glob64.c: Likewise.
32755 * posix/nanosleep.c: Likewise.
32756 * posix/pathconf.c: Likewise.
32757 * posix/pause.c: Likewise.
32758 * posix/posix_madvise.c: Likewise.
32759 * posix/pread.c: Likewise.
32760 * posix/pread64.c: Likewise.
32761 * posix/pwrite.c: Likewise.
32762 * posix/pwrite64.c: Likewise.
32763 * posix/sched_getaffinity.c: Likewise.
32764 * posix/sched_getp.c: Likewise.
32765 * posix/sched_gets.c: Likewise.
32766 * posix/sched_primax.c: Likewise.
32767 * posix/sched_primin.c: Likewise.
32768 * posix/sched_rr_gi.c: Likewise.
32769 * posix/sched_setaffinity.c: Likewise.
32770 * posix/sched_setp.c: Likewise.
32771 * posix/sched_sets.c: Likewise.
32772 * posix/sched_yield.c: Likewise.
32773 * posix/setgid.c: Likewise.
32774 * posix/setlogin.c: Likewise.
32775 * posix/setpgid.c: Likewise.
32776 * posix/setresgid.c: Likewise.
32777 * posix/setresuid.c: Likewise.
32778 * posix/setsid.c: Likewise.
32779 * posix/setuid.c: Likewise.
32780 * posix/sleep.c: Likewise.
32781 * posix/spawni.c: Likewise.
32782 * posix/sysconf.c: Likewise.
32783 * posix/times.c: Likewise.
32784 * posix/wait.c: Likewise.
32785 * posix/wait3.c: Likewise.
32786 * posix/wait4.c: Likewise.
32787 * posix/waitpid.c: Likewise.
32788 * resolv/gai_sigqueue.c: Likewise.
32789 * resource/getpriority.c: Likewise.
32790 * resource/getrlimit.c: Likewise.
32791 * resource/getrusage.c: Likewise.
32792 * resource/nice.c: Likewise.
32793 * resource/setpriority.c: Likewise.
32794 * resource/setrlimit.c: Likewise.
32795 * resource/ulimit.c: Likewise.
32796 * rt/aio_cancel.c: Likewise.
32797 * rt/aio_fsync.c: Likewise.
32798 * rt/aio_read.c: Likewise.
32799 * rt/aio_sigqueue.c: Likewise.
32800 * rt/aio_suspend.c: Likewise.
32801 * rt/aio_write.c: Likewise.
32802 * rt/clock_getres.c: Likewise.
32803 * rt/clock_gettime.c: Likewise.
32804 * rt/clock_nanosleep.c: Likewise.
32805 * rt/clock_settime.c: Likewise.
32806 * rt/lio_listio.c: Likewise.
32807 * rt/mq_close.c: Likewise.
32808 * rt/mq_getattr.c: Likewise.
32809 * rt/mq_notify.c: Likewise.
32810 * rt/mq_open.c: Likewise.
32811 * rt/mq_receive.c: Likewise.
32812 * rt/mq_send.c: Likewise.
32813 * rt/mq_setattr.c: Likewise.
32814 * rt/mq_timedreceive.c: Likewise.
32815 * rt/mq_timedsend.c: Likewise.
32816 * rt/mq_unlink.c: Likewise.
32817 * rt/shm_open.c: Likewise.
32818 * rt/shm_unlink.c: Likewise.
32819 * rt/timer_create.c: Likewise.
32820 * rt/timer_delete.c: Likewise.
32821 * rt/timer_getoverr.c: Likewise.
32822 * rt/timer_gettime.c: Likewise.
32823 * rt/timer_settime.c: Likewise.
32824 * setjmp/__longjmp.c: Likewise.
32825 * setjmp/setjmp.c: Likewise.
32826 * signal/kill.c: Likewise.
32827 * signal/killpg.c: Likewise.
32828 * signal/raise.c: Likewise.
32829 * signal/sigaction.c: Likewise.
32830 * signal/sigaltstack.c: Likewise.
32831 * signal/sigblock.c: Likewise.
32832 * signal/sigignore.c: Likewise.
32833 * signal/sigintr.c: Likewise.
32834 * signal/signal.c: Likewise.
32835 * signal/sigpause.c: Likewise.
32836 * signal/sigpending.c: Likewise.
32837 * signal/sigqueue.c: Likewise.
32838 * signal/sigreturn.c: Likewise.
32839 * signal/sigset.c: Likewise.
32840 * signal/sigsetmask.c: Likewise.
32841 * signal/sigstack.c: Likewise.
32842 * signal/sigsuspend.c: Likewise.
32843 * signal/sigtimedwait.c: Likewise.
32844 * signal/sigvec.c: Likewise.
32845 * signal/sigwait.c: Likewise.
32846 * signal/sigwaitinfo.c: Likewise.
32847 * signal/sysv_signal.c: Likewise.
32848 * socket/accept.c: Likewise.
32849 * socket/accept4.c: Likewise.
32850 * socket/bind.c: Likewise.
32851 * socket/connect.c: Likewise.
32852 * socket/getpeername.c: Likewise.
32853 * socket/getsockname.c: Likewise.
32854 * socket/getsockopt.c: Likewise.
32855 * socket/isfdtype.c: Likewise.
32856 * socket/listen.c: Likewise.
32857 * socket/recv.c: Likewise.
32858 * socket/recvfrom.c: Likewise.
32859 * socket/recvmsg.c: Likewise.
32860 * socket/send.c: Likewise.
32861 * socket/sendmsg.c: Likewise.
32862 * socket/sendto.c: Likewise.
32863 * socket/setsockopt.c: Likewise.
32864 * socket/shutdown.c: Likewise.
32865 * socket/sockatmark.c: Likewise.
32866 * socket/socket.c: Likewise.
32867 * socket/socketpair.c: Likewise.
32868 * stdio-common/ctermid.c: Likewise.
32869 * stdio-common/cuserid.c: Likewise.
32870 * stdio-common/remove.c: Likewise.
32871 * stdio-common/rename.c: Likewise.
32872 * stdio-common/renameat.c: Likewise.
32873 * stdio-common/tempname.c: Likewise.
32874 * stdlib/getcontext.c: Likewise.
32875 * stdlib/makecontext.c: Likewise.
32876 * stdlib/setcontext.c: Likewise.
32877 * stdlib/swapcontext.c: Likewise.
32878 * stdlib/system.c: Likewise.
32879 * streams/fattach.c: Likewise.
32880 * streams/fdetach.c: Likewise.
32881 * streams/getmsg.c: Likewise.
32882 * streams/getpmsg.c: Likewise.
32883 * streams/putmsg.c: Likewise.
32884 * streams/putpmsg.c: Likewise.
32885 * sysdeps/unix/bsd/getpt.c: Likewise.
32886 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32887 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32888 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32890 Likewise.
32891 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32892 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32893 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32894 * sysvipc/msgctl.c: Likewise.
32895 * sysvipc/msgget.c: Likewise.
32896 * sysvipc/msgrcv.c: Likewise.
32897 * sysvipc/msgsnd.c: Likewise.
32898 * sysvipc/semctl.c: Likewise.
32899 * sysvipc/semget.c: Likewise.
32900 * sysvipc/semop.c: Likewise.
32901 * sysvipc/semtimedop.c: Likewise.
32902 * sysvipc/shmat.c: Likewise.
32903 * sysvipc/shmctl.c: Likewise.
32904 * sysvipc/shmdt.c: Likewise.
32905 * sysvipc/shmget.c: Likewise.
32906 * termios/tcdrain.c: Likewise.
32907 * termios/tcflow.c: Likewise.
32908 * termios/tcflush.c: Likewise.
32909 * termios/tcgetattr.c: Likewise.
32910 * termios/tcgetpgrp.c: Likewise.
32911 * termios/tcsendbrk.c: Likewise.
32912 * termios/tcsetattr.c: Likewise.
32913 * termios/tcsetpgrp.c: Likewise.
32914 * time/adjtime.c: Likewise.
32915 * time/clock.c: Likewise.
32916 * time/getitimer.c: Likewise.
32917 * time/gettimeofday.c: Likewise.
32918 * time/setitimer.c: Likewise.
32919 * time/settimeofday.c: Likewise.
32920 * time/stime.c: Likewise.
32921 * time/time.c: Likewise.
32922
329232012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 32924
a20492cf
PT
32925 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32926 /usr/old/bin.
32927
72e182e3
PT
32928 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32929 instead of spaces.
32930 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32931
fbeafede
JM
329322012-11-03 Joseph Myers <joseph@codesourcery.com>
32933
5b5b04d6
JM
32934 [BZ #14796]
32935 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32936 FE_TONEAREST before applying Dekker multiplication and Knuth
32937 addition. Clear inexact exceptions and check for exact zero
32938 results afterwards.
32939 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32940 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32941 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32942 * math/libm-test.inc (fma_test): Add more tests.
32943 (fma_test_towardzero): Likewise.
32944 (fma_test_downward): Likewise.
32945 (fma_test_upward): Likewise.
32946 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32947 function.
32948 (libc_fesetround): New macro.
32949 (libc_fesetroundf): Likewise.
32950 (libc_fesetroundl): Likewise.
32951 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32952 function.
32953 (libc_fesetround_387): Likewise.
32954 (libc_fesetroundf): New macro.
32955 (libc_fesetround): Likewise.
32956 (libc_fesetroundl): Likewise.
32957 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32958 function.
32959 (libc_fesetroundf): New macro.
32960 (libc_fesetround): Likewise.
32961 (libc_fesetroundl): Likewise.
32962 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32963 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32964 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32965 libm_hidden_ver.
32966 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32967 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32968 libm_hidden_def.
32969 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32970 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32971 libm_hidden_ver.
32972 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32973 libm_hidden_def.
32974
fbeafede
JM
32975 [BZ #3439]
32976 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32977 integer constant usable in #if and use that to give value to enum
32978 constant.
32979 (FE_DIVBYZERO): Likewise.
32980 (FE_UNDERFLOW): Likewise.
32981 (FE_OVERFLOW): Likewise.
32982 (FE_INVALID): Likewise.
32983 (FE_INVALID_SNAN): Likewise.
32984 (FE_INVALID_ISI): Likewise.
32985 (FE_INVALID_IDI): Likewise.
32986 (FE_INVALID_ZDZ): Likewise.
32987 (FE_INVALID_IMZ): Likewise.
32988 (FE_INVALID_COMPARE): Likewise.
32989 (FE_INVALID_SOFTWARE): Likewise.
32990 (FE_INVALID_SQRT): Likewise.
32991 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32992 (FE_TONEAREST): Likewise.
32993 (FE_TOWARDZERO): Likewise.
32994 (FE_UPWARD): Likewise.
32995 (FE_DOWNWARD): Likewise.
32996 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32997 (FE_DIVBYZERO): Likewise.
32998 (FE_OVERFLOW): Likewise.
32999 (FE_UNDERFLOW): Likewise.
33000 (FE_INEXACT): Likewise.
33001 (FE_TONEAREST): Likewise.
33002 (FE_DOWNWARD): Likewise.
33003 (FE_UPWARD): Likewise.
33004 (FE_TOWARDZERO): Likewise.
33005 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33006 (FE_UNDERFLOW): Likewise.
33007 (FE_OVERFLOW): Likewise.
33008 (FE_DIVBYZERO): Likewise.
33009 (FE_INVALID): Likewise.
33010 (FE_TONEAREST): Likewise.
33011 (FE_TOWARDZERO): Likewise.
33012 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33013 (FE_OVERFLOW): Likewise.
33014 (FE_UNDERFLOW): Likewise.
33015 (FE_DIVBYZERO): Likewise.
33016 (FE_INEXACT): Likewise.
33017 (FE_TONEAREST): Likewise.
33018 (FE_TOWARDZERO): Likewise.
33019 (FE_UPWARD): Likewise.
33020 (FE_DOWNWARD): Likewise.
33021 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33022 (FE_DIVBYZERO): Likewise.
33023 (FE_OVERFLOW): Likewise.
33024 (FE_UNDERFLOW): Likewise.
33025 (FE_INEXACT): Likewise.
33026 (FE_TONEAREST): Likewise.
33027 (FE_DOWNWARD): Likewise.
33028 (FE_UPWARD): Likewise.
33029 (FE_TOWARDZERO): Likewise.
33030
105ca950
CM
330312012-11-02 Chris Metcalf <cmetcalf@tilera.com>
33032
33033 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33034
a542b389
AS
330352012-11-03 Andreas Schwab <schwab@linux-m68k.org>
33036
33037 * scripts/cross-test-ssh.sh (command): Use newlines to separate
33038 commands. Quote $PWD.
33039 (blacklist_exports): Don't use remove_newlines. Replace "declare
33040 -x" by "export".
33041 (remove_newlines): Remove.
33042
f62c8abc
L
330432012-11-02 H.J. Lu <hongjiu.lu@intel.com>
33044
33045 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33046 * stdlib/stdlib.h (atof): Moved to ...
33047 * include/bits/stdlib-float.h: Here. New file.
33048 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33049 * stdlib/bits/stdlib-float.h: New file.
33050 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33051 -mno-sse -mno-mmx.
33052 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33053 <xmmintrin.h>.
33054
0155d5b2
JM
330552012-11-02 Joseph Myers <joseph@codesourcery.com>
33056
a68d0680
JM
33057 * conform/conformtest.pl (@headers): Add fenv.h.
33058 * conform/data/fenv.h-data: New file.
33059 * include/fenv.h [_ISOMAC]: Disable all contents of file except
33060 include of <math/fenv.h>.
33061
caf7f573
JM
33062 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33063 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33064 && !UNIX98]. Enables tests for XOPEN2K8.
33065 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33066 POSIX2008]: Likewise.
33067
6c073ad6
JM
33068 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33069 (struct rusage): Do not expect type or its members.
33070
0155d5b2
JM
33071 [BZ #3439]
33072 * math/math.h (FP_NAN): Define macro to integer constant usable in
33073 #if and use that to give value to enum constant.
33074 (FP_INFINITE): Likewise.
33075 (FP_ZERO): Likewise.
33076 (FP_SUBNORMAL): Likewise.
33077 (FP_NORMAL): Likewise.
33078
b5dcacb4
AS
330792012-11-02 Andreas Schwab <schwab@linux-m68k.org>
33080
33081 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33082 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33083 arguments.
33084
f7934be8
RM
330852012-11-02 Roland McGrath <roland@hack.frob.com>
33086
33087 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33088 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33089 autoconf-time if not.
33090 * configure.in: Remove AC_PREREQ.
33091
d7d08bde
TMQMF
330922012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33093
33094 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33095 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33096 of the internal implementation.
33097
dcdae19a
JM
330982012-11-02 Joseph Myers <joseph@codesourcery.com>
33099
33100 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33101 except include of <misc/sys/syslog.h>.
33102
d6cffd3e
AS
331032012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33104
33105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33106 function returns with a NULL context exit with zero.
33107
b3563932
TMQMF
331082012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33109
33110 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33111
b288a93d
L
331122012-11-01 H.J. Lu <hongjiu.lu@intel.com>
33113
33114 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33115 (run_program_cmd): This.
33116 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33117 (tst_langinfo): New variable. Use it.
33118
a2421a68
SAS
331192012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
33120
33121 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33122 floating point opcodes.
33123
6f796e1b
TS
331242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33125
7402596b
TS
33126 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33127 variable.
33128
d0d4f868
TS
33129 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33130
6f796e1b
TS
33131 * sysdeps/mach/hurd/powerpc: Remove directory.
33132 * sysdeps/mach/powerpc: Likewise.
33133
4da224a2
AS
331342012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33135
33136 * scripts/check-local-headers.sh: Ignore c++ headers.
33137
341dd673
TS
331382012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33139
33140 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33141 __libc_cleanup_region_start argument.
33142
473611b2
JM
331432012-11-01 Joseph Myers <joseph@codesourcery.com>
33144
33145 [BZ #14784]
33146 [BZ #14785]
33147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33148 x * y using scaling, not as x * y + z.
33149 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33150 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33151 * math/libm-test.inc (fma_test): Add more tests.
33152 (fma_test_towardzero): Likewise.
33153 (fma_test_downward): Likewise.
33154 (fma_test_upward): Likewise.
33155
4078da3d
TS
331562012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33157
33158 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33159
903252aa
JM
331602012-10-31 Joseph Myers <joseph@codesourcery.com>
33161
33162 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33163 New variable.
33164
cbc818d0
TS
331652012-10-31 Thomas Schwinge <thomas@codesourcery.com>
33166
33167 * rt/tst-shm.c (worker): Correct checking for mmap failure.
33168
5a03cb1e
AS
331692012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33170
33171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33172 Fix sort order.
33173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33174 Likewise.
33175
90aff2ff
TMQMF
331762012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33177
33178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33179 Fix the order of the list for glibc 2.17.
33180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33181 Likewise.
33182
1818fcb7
AS
331832012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33184
33185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33186
ef82f4da
JM
331872012-10-31 Joseph Myers <joseph@codesourcery.com>
33188
16a0e2ec
JM
33189 [BZ #14610]
33190 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33191 for low part of x being zero before using __atanl (y).
33192 * math/libm-test.inc (atan2_test): Add another test.
33193
0eb69512
JM
33194 * manual/install.texi (Configuring and compiling): Document
33195 general use of test-wrapper and test-wrapper-env.
33196 * INSTALL: Regenerated.
33197
ef82f4da
JM
33198 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33199 (__fma): Do not extract and scale down low bits on after-rounding
33200 systems when result rounded to normal precision would have normal
33201 exponent.
33202 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33203 (__fmal): Do not extract and scale down low bits on after-rounding
33204 systems when result rounded to normal precision would have normal
33205 exponent.
33206 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33207 (__fmal): Do not extract and scale down low bits on after-rounding
33208 systems when result rounded to normal precision would have normal
33209 exponent.
33210 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33211 macro.
33212 (fma_test): Add more tests.
33213 (fma_test_towardzero): Likewise.
33214 (fma_test_downward): Likewise.
33215 (fma_test_upward): Likewise.
33216
954ef0d9
L
332172012-10-30 H.J. Lu <hongjiu.lu@intel.com>
33218
33219 * sysdeps/i386/tininess.h: Renamed to ...
33220 * sysdeps/x86/tininess.h: This.
33221 * sysdeps/x86_64/tininess.h: Removed.
33222
df61ffb2
JM
332232012-10-30 Joseph Myers <joseph@codesourcery.com>
33224
33225 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33226 input. Use $(build-program-cmd).
33227 ($(objpfx)tst-array1-static.out): Likewise.
33228 ($(objpfx)tst-array2.out): Likewise.
33229 ($(objpfx)tst-array3.out): Likewise.
33230 ($(objpfx)tst-array4.out): Likewise.
33231 ($(objpfx)tst-array5.out): Likewise.
33232 ($(objpfx)tst-array5-static.out): Likewise.
33233
01767843
CM
332342012-10-30 Chris Metcalf <cmetcalf@tilera.com>
33235
47cc1490
CM
33236 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33237 if defined.
33238
01767843
CM
33239 * nss/nsswitch.h (nss_interface_function): Provide new
33240 macro for use with NSS functions.
33241 * grp/initgroups.c: Use new macro.
33242 * nss/getXXbyYY.c: Likewise.
33243 * nss/getXXbyYY_r.c: Likewise.
33244 * nss/getXXent.c: Likewise.
33245 * nss/getXXent_r.c: Likewise.
33246 * sysdeps/posix/getaddrinfo.c: Likewise.
33247
8321aa97
AJ
332482012-10-30 Andreas Jaeger <aj@suse.de>
33249
33250 * po/ru.po: Update Russion translation from translation project.
33251
2a27fd6d
JM
332522012-10-30 Joseph Myers <joseph@codesourcery.com>
33253
8627a232
JM
33254 [BZ #14152]
33255 [BZ #14783]
33256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33257 result and shift together with sticky bit instead of replicating
33258 round-to-nearest rounding.
33259 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33260 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33261 * math/libm-test.inc (fma_test): Add more tests. Do not permit
33262 missing underflow exceptions.
33263 (fma_test_towardzero): Add more tests.
33264 (fma_test_downward): Likewise.
33265 (fma_test_upward): Likewise.
33266
2a27fd6d
JM
33267 [BZ #14047]
33268 * sysdeps/generic/tininess.h: New file.
33269 * sysdeps/i386/tininess.h: Likewise.
33270 * sysdeps/sh/tininess.h: Likewise.
33271 * sysdeps/x86_64/tininess.h: Likewise.
33272 * stdlib/tst-strtod-underflow.c: Likewise.
33273 * stdlib/tst-tininess.c: Likewise.
33274 * stdlib/strtod_l.c: Include <tininess.h>.
33275 (round_and_return): Do not set errno for exact underflow cases.
33276 Force an underflow exception when setting errno for underflow.
33277 Determine underflow based on rounding to normal precision if
33278 TININESS_AFTER_ROUNDING.
33279 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33280 ERANGE for exact underflow cases.
33281 * stdlib/Makefile (tests): Add tst-tininess and
33282 tst-strtod-underflow.
33283 ($(objpfx)tst-tininess): Use $(link-libm).
33284 ($(objpfx)tst-strtod-underflow): Likewise.
33285
e7170363
AJ
332862012-10-30 Andreas Jaeger <aj@suse.de>
33287
e5088dc6
AJ
33288 [BZ#14767]
33289 * elf/Makefile (tests): Remove conditional for have-initfini-array
33290 since this is now always required and the variable does not exist
33291 anymore.
33292 (tests-static): Likewise.
33293 (modules-names): Likewise.
33294
e7170363 33295 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
33296
33297 * elf/tst-array1.c (fini_array): Make writeable so that it can be
33298 merged with constructor/destructor.
33299 (init_array): Likewise.
33300 * elf/tst-array2dep.c (fini_array): Likewise.
33301 (init_array): Likewise.
33302
60457d8a
MF
333032012-10-29 Mike Frysinger <vapier@gentoo.org>
33304
33305 * manual/message.texi: Delete @cartouche tags.
33306
8bece752
PT
333072012-10-29 Pino Toscano <toscano.pino@tiscali.it>
33308
94ce799f
PT
33309 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33310 EOPNOTSUPP.
33311 * sysdeps/mach/hurd/fsync.c: Likewise.
33312
8bece752
PT
33313 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33314 [_POSIX_REALTIME_SIGNALS]: Change condition to
33315 [_POSIX_REALTIME_SIGNALS > 0].
33316
86ebe6b1
AJ
333172012-10-27 Andreas Jaeger <aj@suse.de>
33318
33319 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33320 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33321 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33322 [__WORDSIZE != 64]: Likewise.
33323
54399c08
L
333242012-10-26 H.J. Lu <hongjiu.lu@intel.com>
33325
33326 * iconvdata/tst-table.sh: Remove ${SHELL}.
33327 * iconvdata/tst-tables.sh: Likewise.
33328
e2211bed
DM
333292012-10-25 David S. Miller <davem@davemloft.net>
33330
33331 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33332 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33333 of strtoull.
33334
f303f97c
DM
33335 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33336 ifunc-impl-list.c
33337 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33338 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33339 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33340 file.
33341
1e9d84cd
RM
333422012-10-25 Roland McGrath <roland@hack.frob.com>
33343
33344 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33345 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33346 __getdirentries.
33347
df381762
JM
333482012-10-25 Joseph Myers <joseph@codesourcery.com>
33349 Jim Blandy <jimb@codesourcery.com>
33350
33351 * scripts/cross-test-ssh.sh: New file.
33352 * manual/install.texi (Configuring and compiling): Document use of
33353 cross-test-ssh.sh.
33354 * INSTALL: Regenerated.
33355
bff64913
PT
333562012-10-25 Pino Toscano <toscano.pino@tiscali.it>
33357
33358 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33359 EOPNOTSUPP.
33360
25fe8932
JM
333612012-10-25 Joseph Myers <joseph@codesourcery.com>
33362
33363 * Makeconfig (run-program-prefix): Fix comment.
33364
cc1290d0
JM
333652012-10-24 Joseph Myers <joseph@codesourcery.com>
33366 Jim Blandy <jimb@codesourcery.com>
33367
33368 * Makeconfig (test-wrapper): New variable,
33369 (test-wrapper-env): Likewise.
33370 [$(cross-compiling) = yes && $(test-wrapper) != ""]
33371 (run-built-tests): Define to yes.
33372 (run-program-prefix): Use $(test-wrapper).
33373 (built-program-cmd): Likewise.
33374 * Rules (make-test-out): Use $(test-wrapper-env) and
33375 $(host-built-program-cmd).
33376 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33377 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33378 tst-pathopt.sh.
33379 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33380 $(test-wrapper-env) to tst-rtld-load-self.sh.
33381 ($(objpfx)order2.out): Use $(test-wrapper).
33382 ($(objpfx)tst-initorder.out): Likewise.
33383 ($(objpfx)tst-initorder2.out): Likewise.
33384 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33385 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33386 (test_wrapper_env): New variable. Use it to run ld.so.
33387 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33388 Use it to run ld.so.
33389 (test_wrapper_env): Likewise.
33390 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33391 $(test-wrapper) to run-iconv-test.sh.
33392 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33393 (ICONV): Use $test_wrapper.
33394 * posix/Makefile ($(objpfx)globtest.out): Pass
33395 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33396 globtest.sh, not $(run-program-prefix).
33397 * posix/globtest.sh (run_via_rtld_prefix): New variable.
33398 (test_wrapper): Likewise.
33399 (test_wrapper_env): Likewise. Use it to run globtest with HOME
33400 set together with run_via_rtld_prefix.
33401 (run_program_prefix): Define in terms of test_wrapper and
33402 run_via_rtld_prefix.
33403
6e6249d0
RM
334042012-10-24 Roland McGrath <roland@hack.frob.com>
33405
33406 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33407 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33408 Targets removed.
33409
33410 [BZ #14743]
33411 * include/time.h: Remove librt_hidden_proto (clock_gettime).
33412 Declare __clock_getres, __clock_gettime, __clock_settime,
33413 __clock_nanosleep, and __clock_getcpuclockid.
33414 * rt/clock_gettime.c: Define __clock_gettime as an alias.
33415 Remove librt_hidden_def (clock_gettime).
33416 * sysdeps/unix/clock_gettime.c: Likewise.
33417 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33418 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33419 * rt/clock_getres.c: Define __clock_getres as an alias.
33420 * sysdeps/posix/clock_getres.c: Likewise.
33421 * rt/clock_settime.c: Define __clock_settime as an alias.
33422 * sysdeps/unix/clock_settime.c: Likewise.
33423 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33424 * sysdeps/unix/clock_nanosleep.c: Likewise.
33425 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33426 * rt/clock-compat.c: New file.
33427 * rt/Makefile (librt-routines): Add clock-compat and move
33428 $(clock-routines) to ...
33429 (routines): ... here, new variable.
33430 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33431 Don't add get_clockfreq here.
33432 * rt/Versions (libc: GLIBC_2.17): New version set.
33433 Add clock_* symbols here.
33434 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
33435 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33436 (GLIBC_2.17): Add clock_* symbols.
33437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33439 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33441 Likewise.
33442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33443 Likewise.
33444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33448 * NEWS: Mention the move.
33449
33450 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33451 Use __open, __read, __close rather than their public counterparts.
33452 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33453 (__get_clockfreq_via_cpuinfo): Likewise.
33454 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33455 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33456
33457 * config.h.in (HAVE_IFUNC): New #undef.
33458 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33459 was successful.
33460 * configure: Regenerated.
33461
0cae3f4b
MF
334622012-10-24 Mike Frysinger <vapier@gentoo.org>
33463
33464 * configure.in: Move READELF check to start of file.
33465 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33466 libc_cv_asm_gnu_indirect_function in the process.
33467 * configure: Regenerated.
33468
8175a253
MF
334692012-10-24 Mike Frysinger <vapier@gentoo.org>
33470
33471 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33472 send the output to /dev/null.
33473 (libc_cv_cc_with_libunwind): Likewise.
33474 (libc_cv_as_noexecstack): Likewise.
33475 * configure: Regenerate.
33476
0708a7d1
JM
334772012-10-24 Joseph Myers <joseph@codesourcery.com>
33478
10b40d85
JM
33479 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33480
0708a7d1
JM
33481 * posix/globtest.sh (TMPDIR): Do not set.
33482 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33483 (testout): Likewise.
33484
9fddec1a
AJ
334852012-10-24 Andreas Jaeger <aj@suse.de>
33486
3a8db22f
AJ
33487 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33488 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33489 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33490 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33491 posix_fadvise64, posix_fallocate64.
33492
9fddec1a
AJ
33493 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33494 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33495 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33496 Likewise.
33497 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33498 Likewise.
33499 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33500
33501 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33502 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33503 <bits/fcntl-linux.h>.
33504 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33505
33506 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33507 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33508 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33509 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33510 [__WORDSIZE != 64]: Likewise.
33511
ebfd1bbd
JM
335122012-10-23 Joseph Myers <joseph@codesourcery.com>
33513
03ac099f
JM
33514 * Makeconfig (run-built-tests): New variable.
33515 * Rules [$(cross-compiling) = yes]: Change condition to
33516 [$(run-built-tests) = no].
33517 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33518 to [$(run-built-tests) = yes].
33519 * elf/Makefile [$(cross-compiling) = no]: Likewise
33520 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33521 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33522 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33523 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33524 * io/Makefile [$(cross-compiling) = no]: Likewise.
33525 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33526 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33527 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33528 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33529 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33530 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33531 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33532 * string/Makefile [$(cross-compiling) = no]: Likewise.
33533
ebfd1bbd
JM
33534 * posix/Makefile ($(objpfx)globtest.out): Pass
33535 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33536 $(rtld-installed-name).
33537 * posix/globtest.sh (elf_objpfx): Remove variable.
33538 (rtld_installed_name): Likewise.
33539 (library_path): Likewise.
33540 (run_program_prefix): New variable. Use for running globtest
33541 binary.
33542
166bca24
JB
335432012-10-23 Jim Blandy <jimb@codesourcery.com>
33544 Joseph Myers <joseph@codesourcery.com>
33545
33546 * Makeconfig (host-built-program-cmd): New variable.
33547 * elf/Makefile (tst-stackguard1-ARGS): Use
33548 $(host-built-program-cmd).
33549 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33550 (tst-spawn-ARGS): Likewise.
33551 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33552
88866099
JM
335532012-10-23 Joseph Myers <joseph@codesourcery.com>
33554 Jim Blandy <jimb@codesourcery.com>
33555
33556 * Makeconfig (run-via-rtld-prefix): New variable.
33557 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33558 (built-program-cmd): Likewise.
33559
b4b4c296
AJ
335602012-10-22 Andreas Jaeger <aj@suse.de>
33561
33562 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33563 __O_RSYNC if it exists, otherwise to O_SYNC.
33564
6fb54a22
JB
335652012-10-22 Jim Blandy <jimb@codesourcery.com>
33566 Joseph Myers <joseph@codesourcery.com>
33567
33568 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33569 /dev/null.
33570 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33571 from /dev/null
33572 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33573 /dev/null.
33574
481b90b9
AJ
335752012-10-22 Andreas Jaeger <aj@suse.de>
33576
2a0e2669
AJ
33577 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33578 Define always.
33579 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33580
76e38f9a
AJ
33581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33582 bits/fcntl-linux.h.
33583
7cd37b43
AJ
33584 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33585 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33586
481b90b9
AJ
33587 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33588 to __O_LARGEFILE.
33589 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33590 to __O_LARGEFILE.
33591
aba75984
JB
335922012-10-21 Jim Blandy <jimb@codesourcery.com>
33593 Joseph Myers <joseph@codesourcery.com>
33594
33595 * config.make.in (NM): New variable.
33596
88d4247f
AJ
335972012-10-21 Andreas Jaeger <aj@suse.de>
33598
33599 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33600 definitions and declarations that are provided by
33601 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33602
f2eed205
L
336032012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33604
33605 [BZ #14683]
33606 * elf/Makefile (tests-static): Add tst-leaks1-static.
33607 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33608 ($(objpfx)tst-leaks1-static): New rule.
33609 ($(objpfx)tst-leaks1-static-mem): Likewise.
33610 (tst-leaks1-static-ENV): New macro.
33611 * elf/dl-open.c (dl_open_worker): Check the main application
33612 only if SHARED is defined.
33613 * elf/tst-leaks1-static.c: New file.
33614
335e6931
AJ
336152012-10-20 Andreas Jaeger <aj@suse.de>
33616
33617 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33618 generic values for Linux.
33619 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33620 and declarations that are provided by <bits/fcntl-linux.h> and
33621 include <bits/fcntl-linux.h>.
33622 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33623 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33624
ac5c94d3
RM
336252012-10-20 Roland McGrath <roland@hack.frob.com>
33626
33627 * io/fcntl.h: Move include of <bits/types.h> to the top and
33628 include it unconditionally.
33629
de54b33a
L
336302012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33631
228cfb01
L
33632 * wcsmbs/Makefile (tests-ifunc): New variable.
33633 (tests): Add $(tests-ifunc).
33634 * wcsmbs/test-wcschr-ifunc.c: New file.
33635 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33636 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33637 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33638 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33639 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33640
69f07e5f
L
33641 * string/Makefile (tests-ifunc): New variable.
33642 (tests): Add $(tests-ifunc).
33643 * string/test-memccpy.c (TEST_NAME): New macro.
33644 * string/test-memchr.c (TEST_NAME): Likewise.
33645 * string/test-memcmp.c (TEST_NAME): Likewise.
33646 * string/test-memcpy.c (TEST_NAME): Likewise.
33647 * string/test-memmem.c (TEST_NAME): Likewise.
33648 * string/test-memmove.c (TEST_NAME): Likewise.
33649 * string/test-memset.c (TEST_NAME): Likewise.
33650 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33651 * string/test-stpcpy.c (TEST_NAME): Likewise.
33652 * string/test-stpncpy.c (TEST_NAME): Likewise.
33653 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33654 * string/test-strcasestr.c (TEST_NAME): Likewise.
33655 * string/test-strcat.c (TEST_NAME): Likewise.
33656 * string/test-strchr.c (TEST_NAME): Likewise.
33657 * string/test-strcmp.c(TEST_NAME): Likewise.
33658 * string/test-strcpy.c (TEST_NAME): Likewise.
33659 * string/test-strcspn.c (TEST_NAME): Likewise.
33660 * string/test-strlen.c (TEST_NAME): Likewise.
33661 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33662 * string/test-strncmp.c (TEST_NAME): Likewise.
33663 * string/test-strncpy.c (TEST_NAME): Likewise.
33664 * string/test-strnlen.c (TEST_NAME): Likewise.
33665 * string/test-strpbrk.c (TEST_NAME): Likewise.
33666 * string/test-strrchr.c (TEST_NAME): Likewise.
33667 * string/test-strspn.c (TEST_NAME): Likewise.
33668 * string/test-strstr.c (TEST_NAME): Likewise.
33669 * string/test-bcopy-ifunc.c: New file.
33670 * string/test-bzero-ifunc.c: Likewise.
33671 * string/test-memccpy-ifunc.c: Likewise.
33672 * string/test-memchr-ifunc.c: Likewise.
33673 * string/test-memcmp-ifunc.c: Likewise.
33674 * string/test-memcpy-ifunc.c: Likewise.
33675 * string/test-memmem-ifunc.c: Likewise.
33676 * string/test-memmove-ifunc.c: Likewise.
33677 * string/test-mempcpy-ifunc.c: Likewise.
33678 * string/test-memset-ifunc.c: Likewise.
33679 * string/test-rawmemchr-ifunc.c: Likewise.
33680 * string/test-stpcpy-ifunc.c: Likewise.
33681 * string/test-stpncpy-ifunc.c: Likewise.
33682 * string/test-strcasecmp-ifunc.c: Likewise.
33683 * string/test-strcasestr-ifunc.c: Likewise.
33684 * string/test-strcat-ifunc.c: Likewise.
33685 * string/test-strchr-ifunc.c: Likewise.
33686 * string/test-strchrnul-ifunc.c: Likewise.
33687 * string/test-strcmp-ifunc.c: Likewise.
33688 * string/test-strcpy-ifunc.c: Likewise.
33689 * string/test-strcspn-ifunc.c: Likewise.
33690 * string/test-strlen-ifunc.c: Likewise.
33691 * string/test-strncasecmp-ifunc.c: Likewise.
33692 * string/test-strncat-ifunc.c: Likewise.
33693 * string/test-strncmp-ifunc.c: Likewise.
33694 * string/test-strncpy-ifunc.c: Likewise.
33695 * string/test-strnlen-ifunc.c: Likewise.
33696 * string/test-strpbrk-ifunc.c: Likewise.
33697 * string/test-strrchr-ifunc.c: Likewise.
33698 * string/test-strspn-ifunc.c: Likewise.
33699 * string/test-strstr-ifunc.c: Likewise.
33700
de54b33a
L
33701 * debug/Makefile (tests-ifunc): New variable.
33702 (tests): Add $(tests-ifunc).
33703 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33704 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33705 * debug/test-stpcpy_chk-ifunc.c: New file.
33706 * debug/test-strcpy_chk-ifunc.c: Likewise.
33707
88481c16
SP
337082012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33709
33710 [BZ #13601]
33711 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33712 header is not read in.
33713
135948bd
JM
337142012-10-19 Joseph Myers <joseph@codesourcery.com>
33715
89f1c388
JM
33716 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33717 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33718 directly. Pass built executable to script as
33719 $(built-program-cmd).
33720 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33721 $testprogram without using LD_LIBRARY_PATH and $ldso.
33722
e40a0d21
JM
33723 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33724 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33725 $(rtld-installed-name).
33726 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33727 (rtld_installed_name): Likewise.
33728 (library_path): Likewise.
33729 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33730 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33731 $(run-program-prefix) to tst-tables.sh.
33732 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33733 it to run tst-table-from and tst-table-to.
33734 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33735 Pass it to tst-table.sh.
33736 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33737 $(run-program-prefix) to tst-gettext.sh.
33738 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33739 tst-translit.sh.
33740 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33741 tst-gettext2.sh.
33742 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33743 to run tst-gettext.
33744 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33745 to run tst-gettext2.
33746 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33747 to run tst-translit.
33748 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33749 $(run-program-prefix) to tst-mtrace.sh.
33750 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33751 to run tst-mtrace.
33752 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33753 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33754 $(rtld-installed-name).
33755 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33756 (rtld_installed_name): Likewise.
33757 (run_program_prefix): New variable. Use it to run wordexp-test.
33758
728e272a
JM
33759 * Makeconfig (ARCH): Remove all definitions.
33760 (machine): Likewise.
33761 [ARCH]: Remove conditional code.
33762 [!objdir]: Give error.
33763 [!objdir] (objpfx): Remove.
33764 [!objdir] (common-objpfx): Likewise.
33765 [!objdir] (common-objdir): Likewise.
33766 * configure.in (config_makefile): Remove. Hardcode Makefile in
33767 AC_CONFIG_FILES call.
33768 * configure: Regenerated.
33769
d528cdcf
JM
33770 [BZ #13888]
33771 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33772 or TMPDIR.
33773 (testout): Likewise.
33774
135948bd
JM
33775 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33776 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33777 $(rtld-installed-name).
33778 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33779 (rtld_installed_name): Likwise.
33780 (runit): Remove function.
33781 (run_getconf): New variable, Use it for running getconf binary.
33782
38c78296
L
337832012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33784
33785 [BZ #14716]
33786 * string/test-memmem.c (check_result): New function.
33787 (do_one_test): Use it.
33788 (check1): New function.
33789 (test_main): Use it.
33790
d077f65f
MT
337912012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33792
33793 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33794
ced52c71
JM
337952012-10-18 Joseph Myers <joseph@codesourcery.com>
33796
33797 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33798 (_G_LSEEK64): Likewise.
33799 (_G_MMAP64): Likewise.
33800 (_G_FSTAT64): Likewise.
33801 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33802 (_G_LSEEK64): Likewise.
33803 (_G_MMAP64): Likewise.
33804 (_G_FSTAT64): Likewise.
33805 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33806 unconditional. Call __mmap64 directly.
33807 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33808 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33809 __lseek64 directly.
33810 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33811 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33812 __mmap64 directly.
33813 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33814 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33815 __lseek64 directly.
33816 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33817 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33818 __lseek64 directly.
33819 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33820 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33821 __lseek64 directly.
33822 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33823 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33824 __fxstat64 directly.
33825 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33826 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33827 unconditional.
33828 (freopen64) [!_G_OPEN64]: Remove conditional code.
33829 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33830 unconditional.
33831 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33832 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33833 unconditional.
33834 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33835 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33836 unconditional.
33837 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33838 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33839 unconditional.
33840 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33841 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33842 unconditional.
33843 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33844 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33845 unconditional.
33846 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33847 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33848 unconditional.
33849 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33850
b741de23
SP
338512012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33852
33853 [BZ #12140]
33854 * manual/memory.texi (Malloc Tunable Parameters): Add note
33855 about free list pointers overwriting some perturb bytes.
33856 Wording suggested by Roland McGrath.
33857
f9b9d9c9
JM
338582012-10-17 Joseph Myers <joseph@codesourcery.com>
33859
33860 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33861 (lgamma_test): Likewise.
33862 (tgamma_test): Likewise.
33863
172a631a
FW
338642012-10-16 Florian Weimer <fweimer@redhat.com>
33865
33866 [BZ #14700]
33867 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33868 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33869
e9f37252
MK
338702012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33871
33872 * NEWS: Mention BZ #14716.
33873 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33874 when removing AVAILABLE1_USES_J macro.
33875
d394eb74
L
338762012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33877
33878 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33879 (__bswap_64): __uint64_t for unsigned 64-bit int.
33880
ca38dc17
AS
338812012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33882
33883 * include/string.h (memmem): Declare libc hidden alias.
33884 * string/memmem.c (memmem): Define libc hidden alias.
33885 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33886 __read, __close instead of open, read, close.
33887
9a387d1f
L
338882012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33889
ac49ecaf
L
33890 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33891 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33892 global and hidden.
33893 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33894 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33895 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33896 Likewise.
33897 (__rawmemchr_sse2): Likewise.
33898 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33899 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33900 (__strchr_sse2): Likewise.
33901 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33902 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33903 (__strcasecmp_sse2): Likewise.
33904 (__strncasecmp_sse2): Likewise.
33905 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33906 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33907 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33908 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33909 (__strrchr_sse2): Likewise.
33910 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33911 ifunc-impl-list.c.
33912 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33913 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33914 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33915 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33916 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33917 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33918 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33919 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33920 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33921 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33922 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33923 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33924 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33925 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33926 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33927 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33928 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33929 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33930 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33931 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33932 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33933 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33934 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33935 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33936 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33937 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33938 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33939 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33940 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33941 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33942
b090e8ea
L
33943 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33944 global and hidden.
33945 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33946 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33947 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33948 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33949 Likewise.
33950 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33951 Likewise.
33952 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33953 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33954 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33955 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33956 ifunc-impl-list.c.
33957 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33958 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33959 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33960 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33961 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33962 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33963 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33964 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33965 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33966 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33967 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33968 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33969 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33970 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33971 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33972 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33973 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33974 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33975 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33976 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33977 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33978 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33979 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33980 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33981 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33982 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33983 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33984 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33985 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33986 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33987 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33988 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33989 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33990 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33991 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33992 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33993 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33994 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33995 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33996 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33997 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33998
11dd4af6
L
33999 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34000 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34001 * include/ifunc-impl-list.h: New file.
34002 * misc/ifunc-impl-list.c: Likewise.
34003 * misc/Makefile (routines): Add ifunc-impl-list.
34004 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34005 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
34006 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34007 TEST_NAME]: New variables.
11dd4af6
L
34008 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34009 are defined.
34010 (test_init): Call __libc_ifunc_impl_list to initialize
34011 func_list if TEST_IFUNC and TEST_NAME are defined.
34012
9a387d1f
L
34013 * string/Makefile (strop-tests): Add bcopy and bzero.
34014 * string/test-bcopy.c: New file.
34015 * string/test-bzero.c: Likewise.
34016 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34017 defined.
34018 * string/test-memset.c: Support bzero test if TEST_BZERO is
34019 defined.
34020 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34021 __libc_memmove.
34022 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34023 __libc_memset.
34024 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34025 of memset.
34026
472371b9
JM
340272012-10-10 Joseph Myers <joseph@codesourcery.com>
34028
1e4a9536
JM
34029 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34030 * configure: Regenerated.
34031
d173d12e
JM
34032 * Makeconfig (+link-static-before-libc): Don't include
34033 $(link-static-libc).
34034
472371b9
JM
34035 * libio/libio.h (_IO_pos_t): Remove.
34036
89a3ad0b
AO
340372012-10-10 Alexandre Oliva <aoliva@redhat.com>
34038
34039 * NEWS: Add note about FIPS mode. Wording suggested by Roland
34040 McGrath.
34041
e7451425
AO
340422012-10-10 Alexandre Oliva <aoliva@redhat.com>
34043
34044 * crypt/crypt-entry.c: Include fips-private.h.
34045 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34046 * crypt/md5c-test.c (main): Tolerate disabled MD5.
34047 * sysdeps/unix/sysv/linux/fips-private.h: New file.
34048 * sysdeps/generic/fips-private.h: New file, dummy fallback.
34049
4ba74a35
AO
340502012-10-10 Alexandre Oliva <aoliva@redhat.com>
34051
34052 * crypt/crypt-private.h: Include stdbool.h.
34053 (_ufc_setup_salt_r): Return bool.
34054 * crypt/crypt-entry.c: Include errno.h.
34055 (__crypt_r): Return NULL with EINVAL for bad salt.
34056 * crypt/crypt_util.c (bad_for_salt): New.
34057 (_ufc_setup_salt_r): Check that salt is long enough and within
34058 the specified alphabet.
34059 * crypt/badsalttest.c: New file.
34060 * crypt/Makefile (tests): Add it.
34061 ($(objpfx)badsalttest): New.
34062
f96f1242
MK
340632012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
34064
34065 * NEWS: Add entry for BZ #14602.
34066
0e8e0c1c
JM
340672012-10-09 Joseph Myers <joseph@codesourcery.com>
34068
34069 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34070 type-generic.
34071 * math/libm-test.inc: Update comment listing what functions and
34072 macros are tested.
34073 (isgreater_test): New function.
34074 (isgreaterequal_test): Likewise.
34075 (isless_test): Likewise.
34076 (islessequal_test): Likewise.
34077 (islessgreater_test): Likewise.
34078 (isunordered_test): Likewise.
34079 (main): Call the new functions.
34080
273edc5e
RM
340812012-10-09 Roland McGrath <roland@hack.frob.com>
34082
b8493de0
RM
34083 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34084 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34085 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34086 * sysdeps/i386/configure: Regenerated.
34087 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34088 * sysdeps/mach/configure: Regenerated.
34089 * sysdeps/mach/hurd/configure: Regenerated.
34090 * sysdeps/powerpc/configure: Regenerated.
34091 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34092 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34093 * sysdeps/s390/s390-32/configure: Regenerated.
34094 * sysdeps/s390/s390-64/configure: Regenerated.
34095 * sysdeps/sh/configure: Regenerated.
34096 * sysdeps/sparc/configure: Regenerated.
34097 * sysdeps/unix/sysv/linux/configure: Regenerated.
34098 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34099 * sysdeps/x86_64/configure: Regenerated.
34100
273edc5e
RM
34101 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34102 defined. Don't check if MAP is NULL.
34103
c8450f70
JM
341042012-10-09 Joseph Myers <joseph@codesourcery.com>
34105
34106 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34107 (_G_stat64): Likewise.
34108 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34109 (_G_stat64): Likewise.
34110 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34111 instead of struct _G_stat64.
34112 * libio/fileops.c (mmap_remap_check): Likewise.
34113 (decide_maybe_mmap): Likewise.
34114 (_IO_new_file_seekoff): Likewise.
34115 (_IO_file_stat): Likewise.
34116 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34117 _G_off64_t.
34118 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34119 instead of struct _G_stat64.
34120 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34121
57e605ba
MK
341222012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
34123
34124 [BZ #14602]
34125 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34126 Replace with ...
34127 (CHECK_EOL): New macro.
34128 (two_way_short_needle): Check beginning of haystack for EOL. Use
34129 CHECK_EOL.
34130 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34131 Replace with CHECK_EOL.
34132 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34133 Replace with CHECK_EOL.
34134
ef1bb361
JM
341352012-10-08 Joseph Myers <joseph@codesourcery.com>
34136
34137 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34138 type-generic.
34139 * math/libm-test.inc: Update comment listing what functions and
34140 macros are tested.
34141 (finite_test): New function.
34142 (isinf_test): Likewise.
34143 (isnan_test): Likewise.
34144 (fpclassify_test): Test subnormal input.
34145 (isfinite_test): Likewise.
34146 (isnormal_test): Likewise.
34147 (main): Call the new functions.
34148
55f11534
JN
341492012-10-08 Jonathan Nieder <jrnieder@gmail.com>
34150
34151 [BZ #14660]
34152 * Makerules (%.dynsym): Force C locale when running
34153 $(OBJDUMP) --dynamic-syms.
34154
1ab29350
AS
341552012-10-08 Andreas Schwab <schwab@linux-m68k.org>
34156
34157 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34158 <stdint.h>.
34159
f1ecb7ef
DM
341602012-10-06 David S. Miller <davem@davemloft.net>
34161
34162 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34163 upper 32-bits of the length value in %o2 since we use branch-on-register
34164 tests which consider the entire 64-bit register.
34165
5d41d91a
L
341662012-10-06 H.J. Lu <hongjiu.lu@intel.com>
34167
34168 * string/test-strstr.c (check2): Add a test for page boundary.
34169
3baddb72
DM
341702012-10-05 David S. Miller <davem@davemloft.net>
34171
34172 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34173 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34174 file.
34175 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34176 sysdep_routines.
34177 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34178 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34179 and bzero when HWCAP_SPARC_CRYPTO is present.
34180
9cee5585
L
341812012-10-05 H.J. Lu <hongjiu.lu@intel.com>
34182
d7e0dab9
L
34183 [BZ #14602]
34184 * string/test-strstr.c (check2): New function.
34185 (test_main): Call check2.
34186
03759f47
L
34187 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34188 and bug-strchr1.
34189 * string/bug-strcasestr1.c (do_test): Moved to ...
34190 * string/test-strcasestr.c (check1): Here. New function.
34191 (do_one_test): Break out result checking code into ...
34192 (check_result): This. New function.
34193 (do_one_test): Call check_result.
34194 (test_main): Call check1.
34195 * string/bug-strchr1.c (do_test): Moved to ...
34196 * string/test-strchr.c (check1): Here. New function.
34197 (do_one_test): Break out result checking code into ...
34198 (check_result): This. New function.
34199 (do_one_test): Call check_result.
34200 (test_main): Call check1.
34201 * string/bug-strstr1.c (main): Moved to ...
046f153e 34202 * string/test-strstr.c (check1): Here. New function.
03759f47
L
34203 (do_one_test): Break out result checking code into ...
34204 (check_result): This. New function.
34205 (do_one_test): Call check_result.
34206 (test_main): Call check1.
34207 * string/bug-strcasestr1.c: Removed.
34208 * string/bug-strchr1.c: Likewise.
34209 * string/bug-strstr1.c: Likewise.
34210
53cea63e
L
34211 * elf/Makefile (dl-routines): Add hwcaps.
34212 * elf/dl-support.c (_dl_important_hwcaps): Removed.
34213 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34214 (_dl_important_hwcaps): Moved to ...
34215 * elf/dl-hwcaps.c: Here. New file.
34216 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34217
9cee5585 34218 [BZ #14557]
bb859b06
L
34219 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34220 if IS_IN_rtld isn't defined.
34221
9cee5585
L
34222 * elf/dl-support.c (_dl_sysinfo_map): New.
34223 Include "get-dynamic-info.h" and "setup-vdso.h".
34224 (_dl_non_dynamic_init): Call setup_vdso.
34225 * elf/dynamic-link.h: Don't include <assert.h>.
34226 (elf_get_dynamic_info): Moved to ...
34227 * elf/get-dynamic-info.h: Here. New file.
34228 * elf/dynamic-link.h: Include "get-dynamic-info.h".
34229 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34230 * elf/setup-vdso.h: Here. New file.
34231 * elf/rtld.c: Include "setup-vdso.h".
34232 (dl_main): Call setup_vdso.
34233
23c31b76
JM
342342012-10-05 Joseph Myers <joseph@codesourcery.com>
34235
28234b07
JM
34236 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34237 creal in comment listing functions tested. List finite, isinf,
34238 isnan, isless, islessequal, isgreater, isgreaterequal,
34239 islessgreater, isunordered, lgamma_r and pow10 as functions and
34240 macros not tested. Mention which functions not tested are aliases
34241 for other functions. Fix typo. Note that signs of NaNs are not
34242 tested.
34243
23c31b76
JM
34244 * scripts/config.guess: Update from config.git.
34245 * scripts/config.sub: Likewise.
34246
9043e228
RM
342472012-10-04 Roland McGrath <roland@hack.frob.com>
34248
34249 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34250 * misc/madvise.c (madvise): Renamed to __madvise.
34251 Make madvise a weak alias.
34252 * include/sys/mman.h: Declare __madvise.
34253 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34254 * sysdeps/unix/syscalls.list
34255 (madvise): Make __madvise the strong name, and madvise a weak alias.
34256 * sysdeps/unix/sysv/linux/syscalls.list
34257 (madvise, mmap): Remove redundant entries.
34258 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34259 * malloc/malloc.c (mtrim): Likewise.
34260 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34261
f57f8055
RM
342622012-10-03 Roland McGrath <roland@hack.frob.com>
34263
34264 * sysdeps/mach/hurd/dl-cache.c: File removed.
34265 * config.h.in (USE_LDCONFIG): New #undef.
34266 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34267 * configure: Regenerated.
34268 * elf/Makefile (dl-routines): Add dl-cache only under
34269 [$(use-ldconfig) = yes].
34270 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34271 cache on [USE_LDCONFIG].
34272 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34273 [USE_LDCONFIG].
34274 * elf/rtld.c (dl_main): Likewise.
34275
5bb0c10a
PT
342762012-10-03 Pino Toscano <toscano.pino@tiscali.it>
34277
34278 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34279 _SC_LEVEL4_CACHE_LINESIZE.
34280
010188c6
RM
342812012-10-03 Roland McGrath <roland@hack.frob.com>
34282
34283 * sysdeps/unix/bsd/confstr.h: File removed.
34284
b6c5ec07
AO
342852012-10-02 Alexandre Oliva <aoliva@redhat.com>
34286
34287 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34288 sys/sdt-config.h.
34289
408223d4
RM
342902012-10-02 Roland McGrath <roland@hack.frob.com>
34291
34292 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34293 Make 'mapoff' field ElfW(Off) rather than off_t.
34294
bb9510dc
DL
342952012-10-02 Dmitry V. Levin <ldv@altlinux.org>
34296
fc997c6e
DL
34297 * nscd/Makefile: Remove nscd-cflags and all its users.
34298 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34299 (CFLAGS-nonlib): Add compiler flags for nscd modules.
34300
bb9510dc
DL
34301 [BZ #10631]
34302 * malloc.c (malloc_printerr): Clarify error message.
34303
05699367
L
343042012-10-02 H.J. Lu <hongjiu.lu@intel.com>
34305
34306 [BZ #14648]
34307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34308 Set bit_FMA_Usable if FMA is supported.
34309 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34310 macro.
34311 (bit_FMA4_Usable): Updated.
34312 (index_FMA_Usable): New macro.
34313 (CPUID_FMA): Likewise
34314 (HAS_FMA): Defined with bit_FMA_Usable.
34315
51367701
RM
343162012-10-01 Roland McGrath <roland@hack.frob.com>
34317
34318 * bits/types.h (__swblk_t): Type removed.
34319 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34320 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34321 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34322 (__SWBLK_T_TYPE): Likewise.
34323 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34324 (__SWBLK_T_TYPE): Likewise.
34325 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34326 (__SWBLK_T_TYPE): Likewise.
34327 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34328 (__SWBLK_T_TYPE): Likewise.
34329
4d57bf63 343302012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 34331 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
34332
34333 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34334 (xdr_mapname): Use YPMAXMAP as maxsize.
34335 (xdr_peername): Use YPMAXPEER as maxsize.
34336 (xdr_keydat): Use YPAXRECORD as maxsize.
34337 (xdr_valdat): Use YPMAXRECORD as maxsize.
34338
93c65d43
RM
343392012-10-01 Roland McGrath <roland@hack.frob.com>
34340
497a03d6
RM
34341 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34342
93c65d43
RM
34343 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34344 * csu/init-first.c: ... here.
34345 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34346 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34347 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34348 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34349 * sysdeps/i386/init-first.c: File removed.
34350 * sysdeps/sh/init-first.c: File removed.
34351
bec749fd
JM
343522012-10-01 Joseph Myers <joseph@codesourcery.com>
34353
34354 [BZ #14645]
34355 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34356 if x * y might underflow to zero and z is zero.
34357 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34358 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34359 * math/libm-test.inc (min_subnorm_value): New variable.
34360 (fma_test): Add more tests.
34361 (fma_test_towardzero): Likewise.
34362 (fma_test_downward): Likewise
34363 (fma_test_upward): Likewise.
34364 (initialize): Set min_subnorm_value.
34365
8ec5b013
JM
343662012-09-29 Joseph Myers <joseph@codesourcery.com>
34367
34368 [BZ #14638]
34369 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34370 0 + 0.
34371 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34372 mode for addition resulting in exact zero.
34373 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34375 exact 0 + 0.
34376 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34377 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34378 * math/libm-test.inc (fma_test): Add more tests.
34379 (fma_test_towardzero): New function.
34380 (fma_test_downward): Likewise.
34381 (fma_test_upward): Likewise.
34382 (main): Call the new functions.
34383
b1fa802e
DM
343842012-09-28 David S. Miller <davem@davemloft.net>
34385
34386 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34387
d3b9fd9e
RM
343882012-09-28 Roland McGrath <roland@hack.frob.com>
34389
ea4d37b3
RM
34390 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34391 instead of SIGALRM.
34392
ac51c949
RM
34393 * sysdeps/gnu/_G_config.h: Moved to ...
34394 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34395 * sysdeps/mach/hurd/_G_config.h: Moved to ...
34396 * sysdeps/generic/_G_config.h: ... here.
34397
28c195f7
RM
34398 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
34399
848917f9
RM
34400 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34401
6bacf05b
RM
34402 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34403 Conditionalize target on [libnss_test1.so-version].
34404
91363dbb
RM
34405 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34406
cc87f7d8
RM
34407 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34408 (elfobjdir): Move out of conditionals.
34409
b1c608fe
RM
34410 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34411 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34412 (__nss_lookup_function): Conditionalize label remove_from_tree on
34413 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 34414
1d9a6d96
DM
344152012-09-28 David S. Miller <davem@davemloft.net>
34416
34417 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34418 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34419 file.
34420 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34421 sysdep_routines.
34422 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34423 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34424 when HWCAP_SPARC_CRYPTO is present.
34425
72581615
PT
344262012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34427
34428 * io/tst-mknodat.c: Create a FIFO instead of a socket.
34429
715a900c
JL
344302012-09-28 Andreas Schwab <schwab@linux-m68k.org>
34431
34432 [BZ #6530]
34433 * stdio-common/vfprintf.c (process_string_arg): Revert
34434 2000-07-22 change.
34435
344362011-09-28 Jonathan Nieder <jrnieder@gmail.com>
34437
34438 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34439 for testcase.
34440 * stdio-common/tst-sprintf.c: Include <locale.h>
34441 (main): Test sprintf's handling of incomplete multibyte
34442 characters.
34443
9bac1d86
L
344442012-09-28 H.J. Lu <hongjiu.lu@intel.com>
34445
34446 * elf/dl-runtime.c (VERSYMIDX): Removed.
34447 * elf/dl-version.c (VERSYMIDX): Likewise.
34448 * elf/do-rel.h (VERSYMIDX): Likewise.
34449 (VALIDX): Likewise.
34450 * elf/dynamic-link.h (VERSYMIDX): Likewise.
34451 * elf/rtld.c (VALIDX): Likewise.
34452 (ADDRIDX): Likewise.
9bac1d86
L
34453 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34454 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34455 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
34456 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34457 (VALIDX): Likewise.
34458 (ADDRIDX): Likewise.
9bac1d86 34459
b31606c0
PT
344602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34461
34462 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34463
11541177
JL
344642012-09-28 Dmitry V. Levin <ldv@altlinux.org>
34465
34466 [BZ #11438]
34467 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34468 to global scope.
34469 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34470 addresses are in the same scope as 192.0.2/24.
34471 * posix/gai.conf: Document new scope table defaults.
34472
adb26fae
SP
344732012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34474
34475 [BZ #5298]
34476 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34477 for ftell. Compute offsets from write pointers instead.
34478 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34479
4573c6b0
SP
344802012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34481
34482 [BZ #14543]
34483 * libio/Makefile (tests): New test case tst-fseek.
34484 * libio/tst-fseek.c: New test case to verify that fseek/ftell
34485 combination works in wide mode.
34486 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34487 state when the external buffer state changes.
34488
aa9bbfe6
DM
344892012-09-27 David S. Miller <davem@davemloft.net>
34490
34491 [BZ #14376]
34492 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34493 pass reloc->r_addend in as the 'high' argument to
34494 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34495
784421e7
DM
34496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34497
c39bc8b8
PT
344982012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34499
34500 * rt/tst-aio2.c: Include <pthread.h>.
34501 * rt/tst-aio3.c: Likewise.
34502
1ccc2399
SE
345032012-09-27 Steve Ellcey <sellcey@mips.com>
34504
34505 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34506
31ed4153
L
345072012-09-27 H.J. Lu <hongjiu.lu@intel.com>
34508
25f5f885
L
34509 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34510 contents on [SHARED].
31ed4153 34511
b7bfe116
MP
345122012-09-26 Marek Polacek <polacek@redhat.com>
34513
34514 [BZ #14530]
34515 [BZ #13741]
34516 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34517 for C++ and GCC <4.3 as well as for non GCC compilers.
34518
43c4edba
MT
345192012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34520
34521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34522
6a1bf82f
RM
345232012-09-25 Roland McGrath <roland@hack.frob.com>
34524
34525 * Makefile.in (all, install): Declare with .PHONY.
34526 Reported by Michael Hope <michael.hope@linaro.org>.
34527
8ad11b9a
TMQMF
345282012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34529
34530 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34531 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34532 system header.
34533 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34534 Likewise.
34535 (sydep_routines): Add the new and the internal functions.
34536 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34537 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34539 (GLIBC_2.17): Add the new function.
34540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34541 (GLIBC_2.17): Likewise.
34542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34543 (GLIBC_2.17): Likewise.
34544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34545 (GLIBC_2.17): Likewise.
34546 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34547
7e2fca8d
AM
345482012-09-25 Alan Modra <amodra@gmail.com>
34549
34550 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34551 Add release barrier before setting once_control to say
34552 initialisation is done. Add hints on lwarx. Use macro in
34553 place of isync.
34554 (clear_once_control): Add release barrier.
34555
b87c4b24
JM
345562012-09-25 Joseph Myers <joseph@codesourcery.com>
34557
d032e0d2
JM
34558 [BZ #13629]
34559 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34560 specially.
34561 * math/s_clog10.c (__clog10): Likewise.
34562 * math/s_clog10f.c (__clog10f): Likewise.
34563 * math/s_clog10l.c (__clog10l): Likewise.
34564 * math/s_clogf.c (__clogf): Likewise.
34565 * math/s_clogl.c (__clogl): Likewise.
34566 * math/Makefile (libm-calls): Add x2y2m1.
34567 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34568 (__x2y2m1): Likewise.
34569 (__x2y2m1l): Likewise.
34570 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34571 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34572 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34573 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34574 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34575 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34576 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34577 * sysdeps/i386/fpu/libm-test-ulps: Update.
34578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34579
b87c4b24
JM
34580 [BZ #14621]
34581 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34582 int as type of variable DEPTH.
34583 (glob): Use size_t instead of int as type of variables NEWCOUNT
34584 and OLD_PATHC.
34585
6d3bf199
LD
345862012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34587
22bf5c17
LD
34588 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34589 Add s_sincosf-sse2.
34590 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34591 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34592 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34593 macros for using routine as __sincosf_ia32.
34594 Use macro for function declaration and weak_alias.
34595 * sysdeps/i386/fpu/libm-test-ulps: Update.
34596
34597 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34599
34600 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
34601 subnormal argument.
34602 * math/s_cexpf.c (__cexpf): Likewise.
34603 * math/s_csinf.c (__csinf): Likewise.
34604 * math/s_csinhf.c (__csinhf): Likewise.
34605 * math/s_ctanf.c (__ctanf): Likewise.
34606 * math/s_ctanhf.c (__ctanhf): Likewise.
34607 * math/s_ccosh.c (__ccoshf): Likewise.
34608 * math/s_cexp.c (__cexpl): Likewise.
34609 * math/s_csin.c (__csin): Likewise.
34610 * math/s_csinh.c (__csinh): Likewise.
34611 * math/s_ctan.c (__ctan): Likewise.
34612 * math/s_ctanh.c (ctanh): Likewise.
34613 * math/s_ccoshl.c (__ccoshl): Likewise.
34614 * math/s_cexpl.c (__cexpl): Likewise.
34615 * math/s_csinl.c (__csinl): Likewise.
34616 * math/s_csinhl.c (__csinhl): Likewise.
34617 * math/s_ctanl.c (__ctanl): Likewise.
34618 * math/s_ctanhl.c (__ctanhl): Likewise.
34619
203e5603
JM
346202012-09-25 Joseph Myers <joseph@codesourcery.com>
34621
34622 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34623 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34624 (_IO_off_t): Define to __off_t, not _G_off_t.
34625 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34626 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34627 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34628 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34629 type of __dummy and __dummy2 fields.
34630 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34631 (_G_ssize_t): Likewise.
34632 (_G_off_t): Likewise.
34633 (_G_pid_t): Likewise.
34634 (_G_uid_t): Likewise.
34635 (_G_wchar_t): Likewise.
34636 (_G_wint_t): Likewise.
34637 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34638 (_G_ssize_t): Likewise.
34639 (_G_off_t): Likewise.
34640 (_G_pid_t): Likewise.
34641 (_G_uid_t): Likewise.
34642 (_G_wchar_t): Likewise.
34643 (_G_wint_t): Likewise.
34644 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34645 (_G_ssize_t): Likewise.
34646 (_G_off_t): Likewise.
34647 (_G_pid_t): Likewise.
34648 (_G_uid_t): Likewise.
34649 (_G_wchar_t): Likewise.
34650 (_G_wint_t): Likewise.
34651
9fab36eb
SP
346522012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34653
34654 * malloc/arena.c: Include malloc-sysdep.h.
34655 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34656 is sufficient to shrink the heap or an unmap is needed.
34657 * sysdeps/generic/malloc-sysdep.h: New file. Define
34658 new function check_may_shrink_heap.
34659 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34660 new function check_may_shrink_heap.
34661
2b4f00d1
SP
346622012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34663
34664 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34665 comments.
34666
9a9028b1
DL
346672012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34668
57c69bef
DL
34669 * catgets/test-gencat.sh: Add "set -e".
34670 * elf/tst-pathopt.sh: Likewise.
34671 * grp/tst_fgetgrent.sh: Likewise.
34672 * iconvdata/run-iconv-test.sh: Likewise.
34673 * intl/tst-gettext.sh: Likewise.
34674 * intl/tst-gettext2.sh: Likewise.
34675 * intl/tst-gettext4.sh: Likewise.
34676 * intl/tst-gettext6.sh: Likewise.
34677 * intl/tst-translit.sh: Likewise.
34678 * io/ftwtest-sh: Likewise.
34679 * libio/test-freopen.sh: Likewise.
34680 * malloc/tst-mtrace.sh: Likewise.
34681 * posix/globtest.sh: Likewise.
34682 * posix/tst-getconf.sh: Likewise.
34683 * posix/wordexp-tst.sh: Likewise.
34684 * stdio-common/tst-printf.sh: Likewise.
34685 * stdio-common/tst-unbputc.sh: Likewise.
34686 * stdlib/tst-fmtmsg.sh: Likewise.
34687 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34688 * catgets/Makefile: Do not specify -e option when running
34689 testsuite shell scripts.
34690 * elf/Makefile: Likewise.
34691 * grp/Makefile: Likewise.
34692 * iconvdata/Makefile: Likewise.
34693 * intl/Makefile: Likewise.
34694 * io/Makefile: Likewise.
34695 * libio/Makefile: Likewise.
34696 * malloc/Makefile: Likewise.
34697 * posix/Makefile: Likewise.
34698 * stdio-common/Makefile: Likewise.
34699 * stdlib/Makefile: Likewise.
34700 * sysdeps/x86_64/Makefile: Likewise.
34701
9a9028b1
DL
34702 * io/ftwtest-sh: Add copyright header.
34703 * posix/globtest.sh: Likewise.
34704 * posix/tst-getconf.sh: Likewise.
34705 * posix/wordexp-tst.sh: Likewise.
34706 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34707
ced6f16e
L
347082012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34709
94b32c39
L
34710 [BZ #13679]
34711 * Makeconfig (+link): Defined as $(+link-static) if
34712 $(build-shared) isn't yes.
34713 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34714 isn't yes.
34715 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34716
189e935b
L
34717 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34718
ced6f16e
L
34719 [BZ #14562]
34720 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34721 new chunk size with MALLOC_ALIGN_MASK.
34722
a9f8e53a
JM
347232012-09-24 Joseph Myers <joseph@codesourcery.com>
34724
34725 [BZ #5044]
34726 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34727 <rounding-mode.h>.
34728 (__printf_fphex): Determine rounding using get_rounding_mode and
34729 round_away.
34730 * stdio-common/tst-printf-round.c (struct hex_test): New
34731 structure.
34732 (hex_tests): New variable.
34733 (test_hex_in_one_mode): New function.
34734 (do_test): Also run tests for hex float output.
34735
43153109
JM
347362012-09-21 Joseph Myers <joseph@codesourcery.com>
34737
34738 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34739 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34740 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34741 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34742 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34743 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34744 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34745 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34746
8a26625d
JM
347472012-09-20 Joseph Myers <joseph@codesourcery.com>
34748
34749 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34750 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34751 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34752 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34753
f3fd569c
DL
347542012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34755
34756 [BZ #14579]
34757 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34758 mode only.
34759 * elf/tst-rtld-load-self.sh: New test.
34760 * elf/Makefile: Run it.
34761
63bbedd4
JM
347622012-09-18 Joseph Myers <joseph@codesourcery.com>
34763
34764 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34765 (tst-writev-ENV): Remove.
34766 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34767
626f8b6a
CM
347682012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34769
34770 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34771
b7aaa4d6
JM
347722012-09-17 Joseph Myers <joseph@codesourcery.com>
34773
34774 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34775 unconditional.
34776 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34777 Likewise.
34778 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34779 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34780 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34781 Likewise.
34782
65513990
L
347832012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34784
34785 [BZ #14587]
34786 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34787 * config.make.in (have-cpp-asm-debuginfo): Removed.
34788 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34789 * configure: Regenerated.
34790
784761be
JM
347912012-09-14 Joseph Myers <joseph@codesourcery.com>
34792
34793 [BZ #5044]
34794 * stdio-common/printf_fp.c: Include <stdbool.h> and
34795 <rounding-mode.h>.
34796 (___printf_fp): Determine rounding using get_rounding_mode and
34797 round_away.
34798 * stdio-common/tst-printf-round.c: New file.
34799 * stdio-common/Makefile (tests): Add tst-printf-round.
34800 (link-libm): New variable.
34801 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34802
9503345f
L
348032012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34804
34805 [BZ #14576]
34806 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34807 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34808 Likewise.
34809 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34810 Likewise.
34811
ad35fc00
JM
348122012-09-13 Joseph Myers <joseph@codesourcery.com>
34813
34814 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34815 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34816 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34817 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34818
6c9b0f68
JM
348192012-09-12 Joseph Myers <joseph@codesourcery.com>
34820
34821 [BZ #14518]
34822 * include/rounding-mode.h: New file.
34823 * sysdeps/generic/get-rounding-mode.h: Likewise.
34824 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34825 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34826 (MAX_VALUE): New macro.
34827 (MIN_VALUE): Likewise.
34828 (overflow_value): New function.
34829 (underflow_value): Likewise.
34830 (round_and_return): Use overflow_value and underflow_value to
34831 determine return values in overflow and underflow cases. Use
34832 round_away to determine rounding depending on rounding mode.
34833 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34834 determine return values in overflow and underflow cases.
34835 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34836 (struct test_results): New structure.
34837 (struct test): Use struct test_results to store expected results
34838 for all rounding modes.
34839 (TEST): Include expected results for all rounding modes.
34840 (test_in_one_mode): New function.
34841 (do_test): Use test_in_one_mode to compute and check results.
34842 Check results for all rounding modes.
34843 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34844 $(link-libm).
34845
19fcedd5
AM
348462012-12-09 Allan McRae <allan@archlinux.org>
34847
1e9d84cd 34848 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 34849
8bbfd2f1
JM
348502012-09-11 Joseph Myers <joseph@codesourcery.com>
34851
34852 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34853 (_G_int32_t): Likewise.
34854 (_G_uint16_t): Likewise.
34855 (_G_uint32_t): Likewise.
34856 (_G_HAVE_BOOL): Likewise.
34857 (_G_HAVE_ATEXIT): Likewise.
34858 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34859 (_G_HAVE_IO_FILE_OPEN): Likewise.
34860 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34861 (_G_int32_t): Likewise.
34862 (_G_uint16_t): Likewise.
34863 (_G_uint32_t): Likewise.
34864 (_G_HAVE_BOOL): Likewise.
34865 (_G_HAVE_ATEXIT): Likewise.
34866 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34867 (_G_HAVE_IO_FILE_OPEN): Likewise.
34868 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34869 (_G_int32_t): Likewise.
34870 (_G_uint16_t): Likewise.
34871 (_G_uint32_t): Likewise.
34872 (_G_HAVE_BOOL): Likewise.
34873 (_G_HAVE_ATEXIT): Likewise.
34874 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34875 (_G_HAVE_IO_FILE_OPEN): Likewise.
34876
b1dc5912
L
348772012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34878
34879 * csu/libc-tls.c: Update copyright years.
34880
0e886ef9
JM
348812012-09-10 Joseph Myers <joseph@codesourcery.com>
34882
28361c5e
JM
34883 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34884 [!_G_USING_THUNKS]: Remove conditional code.
34885 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34886 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34887
0e886ef9
JM
34888 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34889 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34890 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34891 (_G_VTABLE_LABEL_PREFIX): Likewise.
34892 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34893 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34894 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34895 (_G_VTABLE_LABEL_PREFIX): Likewise.
34896 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34897 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34898 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34899 (_G_VTABLE_LABEL_PREFIX): Likewise.
34900 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34901
bcba7aa2
L
349022012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34903
34904 * libio/Makefile: Include ../Makeconfig before tests.
34905 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34906 only if $(build-shared) is yes.
34907
06585ee8
L
34908 * iconv/gconv_db.c: Update copyright years.
34909
80ccd52c
LD
349102012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34911
34912 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34913 unwind info if defined PIC. Fix special cases description.
34914 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34915
34916 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34917 DP_HI_MASK entry.
34918 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34919
691bc9c1
L
349202012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34921
3d9b46b3
L
34922 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34923
de2139a9
L
34924 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34925 is NULL.
34926
5ca78dd0
L
34927 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34928 (LDLIBS-tst-chk4): This.
34929 (LDFLAGS-tst-chk5): Renamed to ...
34930 (LDLIBS-tst-chk5): This.
34931 (LDFLAGS-tst-chk6): Renamed to ...
34932 (LDLIBS-tst-chk6): This.
34933 (LDFLAGS-tst-lfschk4): Renamed to ...
34934 (LDLIBS-tst-lfschk4): This.
34935 (LDFLAGS-tst-lfschk5): Renamed to ...
34936 (LDLIBS-tst-lfschk5): This.
34937 (LDFLAGS-tst-lfschk6): Renamed to ...
34938 (LDLIBS-tst-lfschk6): This.
34939
691bc9c1
L
34940 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34941 on $(common-objpfx)soversions.mk.
34942
65cafb1c
JM
349432012-09-07 Joseph Myers <joseph@codesourcery.com>
34944
34945 [BZ #10014]
34946 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34947 example host name.
34948
c78ab094
SP
349492012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34950
34951 * malloc/arena.c (arena_get_retry): New function that gets
34952 another arena for the caller to try its request on.
34953 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34954 current arena cannot fulfill the request.
34955 (__libc_memalign): Likewise.
34956 (__libc_memalign): Likewise.
34957 (__libc_pvalloc): Likewise.
34958 (__libc_calloc): Likewise.
34959
01f49f59
JT
349602012-09-05 John Tobey <john.tobey@gmail.com>
34961
34962 [BZ #13542]
34963 * manual/arith.texi (Operations on Complex): Fix description
34964 of carg branch cut.
34965
4c23fed5
JM
349662012-09-06 Joseph Myers <joseph@codesourcery.com>
34967
1d3c8572
JM
34968 [BZ #10014]
34969 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34970 host name.
34971
4c23fed5
JM
34972 [BZ #10038]
34973 * manual/memory.texi (Memory): Make order of menu items match
34974 order of sections.
34975
04570aaa
L
349762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34977
34978 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34979 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34980 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34981
b80af2f4
L
349822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34983
34984 * csu/libc-tls.c (static_dtv): Renamed to ...
34985 (_dl_static_dtv): This. Make it global.
34986 (_dl_initial_dtv): Removed.
34987 (__libc_setup_tls): Updated.
34988 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34989 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34990 DL_INITIAL_DTV.
34991
2abe9f15
PM
349922012-09-06 Petr Machata <pmachata@redhat.com>
34993
34994 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34995 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34996 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34997 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34998
0948c3af
L
349992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35000
35001 [BZ #14545]
35002 * csu/libc-tls.c (_dl_initial_dtv): New variable.
35003 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35004 freeing dtv[-1].
35005
a5055ad1
L
350062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35007
35008 [BZ #14544]
35009 * Makeconfig (link-static-before-libc): Replace $(+prector)
35010 with $(+prectorT).
35011 (link-static-after-libc): Replace $(+postctor) with
35012 $(+postctorT).
35013 (link-bounded): Replace $(+prector)/$(+postctor) with
35014 $(+prectorT)/$(+postctorT).
35015 (+prectorT): New macro.
35016 (+postctorT): Likewise.
35017
ed8c2ecd
JM
350182012-09-06 Joseph Myers <joseph@codesourcery.com>
35019
35020 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35021 (round_str): Handle values above the maximum for IBM long double
35022 as inexact.
35023 * stdlib/tst-strtod-round.c (tests): Regenerated.
35024
14c996c8
AK
350252012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35026
35027 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35028 assembler flag.
35029 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35030 zarch_nohighgprs around the zarch optimized routines.
35031 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35032 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35033 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35034 for zarch.
35035
430d6ce6
DM
350362012-09-05 David S. Miller <davem@davemloft.net>
35037
35038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35039
57f41c40
AS
35040 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35041 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
35042 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35043 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35044 entries.
35045
24d4e01b
AO
350462012-09-05 Alexandre Oliva <aoliva@redhat.com>
35047
35048 * malloc/arena.c: Fold copyright years.
35049 * malloc/mcheck.c, malloc/memusage.c: Likewise.
35050
61d58174
AO
350512012-09-05 Alexandre Oliva <aoliva@redhat.com>
35052
35053 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35054
20196a5e
AO
350552012-09-05 Alexandre Oliva <aoliva@redhat.com>
35056
35057 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
35058
5c447383
AO
350592012-09-05 Alexandre Oliva <aoliva@redhat.com>
35060
35061 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35062 change internal state upon failure.
35063
fad64255
AO
350642012-09-05 Alexandre Oliva <aoliva@redhat.com>
35065
35066 * malloc/mcheck.c (mcheck_check_all): Fix typo.
35067 * malloc/memusage.c (mmap): Likewise.
35068 (mmap64, mremap): Likewise. Adjust name in comment.
35069
1ffb8c90
SP
350702012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35071
35072 * libio/fileops.c: Fix typos in comments.
35073 * libio/oldfileops.c: Likewise.
35074 * libio/wfileops.c: Likewise.
35075
6ef9cc37
SP
350762012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35077
35078 [BZ #1349]
35079 * malloc/Makefile (tests): Add tst-malloc-usable test case.
35080 (tst-malloc-usable-ENV): Set environment for test case.
35081 * malloc/hooks.c (malloc_check_get_size): New function to get
35082 requested size.
35083 * malloc/malloc.c (musable): Use malloc_check_get_size.
35084 * malloc/tst-malloc-usable.c: New test case.
35085
4d038ae3
AS
350862012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35087
35088 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35089
c4e85184
AM
350902012-09-05 Allan McRae <allan@archlinux.org>
35091
b9dafc56 35092 [BZ #13966]
c4e85184
AM
35093 * configure.in (CXX_SYSINCLUDES): Use compiler output to
35094 determine header location.
35095 * configure: Regenerated.
35096
e1343020
AS
350972012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35098
35099 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35100 float format.
35101 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
35102 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35103 format.
e1343020
AS
35104 (test): Regenerate.
35105
0a9f1987
DM
351062012-09-04 David S. Miller <davem@davemloft.net>
35107
35108 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35109 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35110 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35111
29237804
FW
351122012-09-04 Florian Weimer <fweimer@redhat.com>
35113
35114 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35115 failures.
35116
edb3cb88
FW
35117 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35118
60160d83
JM
351192012-09-04 Joseph Myers <joseph@codesourcery.com>
35120
35121 [BZ #9914]
35122 * libio/iogetdelim.c: Include <limits.h>.
35123 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35124 + len + 1 would overflow.
35125
bcd6c8dc
AJ
351262012-09-03 Andreas Jaeger <aj@suse.de>
35127
35128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35129 * sysdeps/i386/fpu/libm-test-ulps: Update.
35130
4ffffbd2
LD
351312012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35132
35133 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35134 Add s_sinf-sse2, s_conf-sse2.
35135
35136 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35137 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35138 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35139 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35140
35141 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35142 for using routine as __sinf_ia32.
35143 Use macro for function declaration and weak_alias.
35144 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35145 for using routine as __cosf_ia32.
35146 Use macro for function declaration and weak_alias.
35147
35148 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35149 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35150
35151 * sysdeps/x86_64/fpu/s_sinf.S: New file.
35152 * sysdeps/x86_64/fpu/s_cosf.S: New file.
35153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35154
35155 * math/libm-test.inc (cos_test): Add more test cases.
35156 (sin_test): Likewise.
35157 (sincos_test): Likewise.
35158
511fa286
AK
351592012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35160
35161 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35162 (IFUNC_RESOLVE): Make pointers to the specialized implementations
35163 hidden.
35164 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35165
5f30cfec
L
351662012-09-02 H.J. Lu <hongjiu.lu@intel.com>
35167
35168 [BZ #14538]
35169 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35170 first element of the GOT.
35171 (elf_machine_load_address): Return the difference between
35172 the runtime address of _DYNAMIC and elf_machine_dynamic ().
35173
0786794f
AM
351742012-09-01 Allan McRae <allan@archlinux.org>
35175
5f30cfec
L
35176 [BZ #13412]
35177 * configure.in (AWK): Require gawk version 3.0 or later.
35178 * configure: Regenerated.
0786794f 35179
26889eac
JM
351802012-09-01 Joseph Myers <joseph@codesourcery.com>
35181
35182 * sysdeps/unix/sysv/linux/kernel-features.h
35183 (__ASSUME_POSIX_CPU_TIMERS): Remove.
35184 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35185 [__NR_clock_getres]: Make code unconditional.
35186 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35187 (clock_getcpuclockid): Remove code left unreachable by removal of
35188 conditionals.
35189 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35190 code unconditional.
35191 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35192 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35193 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35194 Make code unconditional.
35195 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35196 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35197 * sysdeps/unix/sysv/linux/clock_settime.c
35198 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35199 conditional code.
35200 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35201 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35202
d22e28b0
L
352032012-08-29 H.J. Lu <hongjiu.lu@intel.com>
35204
35205 [BZ #14476]
35206 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35207 scripts/test-installation.pl.
35208
35209 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35210 and $ld_so_version if it is set.
35211
050af9c4
SP
352122012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35213
35214 [BZ #14516]
35215 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35216 failure if reading from procfs failed.
35217 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35218
ad845c0b
JM
352192012-08-27 Joseph Myers <joseph@codesourcery.com>
35220
35221 * sysdeps/unix/sysv/linux/kernel-features.h
35222 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35223 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35224 Remove conditional code.
35225 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35226 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35227 Remove conditional code.
35228 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35229 * sysdeps/unix/sysv/linux/i386/fxstat.c
35230 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35231 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35232 * sysdeps/unix/sysv/linux/i386/fxstatat.c
35233 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35234 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35235 * sysdeps/unix/sysv/linux/i386/lxstat.c
35236 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35237 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35238 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35239 Remove conditional code.
35240 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35241 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35242 Remove conditional code.
35243 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35244 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35245 <kernel-features.h>.
35246 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35247 Remove.
35248 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35249 Remove conditional code.
35250 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35251 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35252 Remove conditional.
35253
5dbf56af
MF
352542012-08-27 Mike Frysinger <vapier@gentoo.org>
35255
35256 [BZ #5400]
35257 * NEWS: Add fixed bug number.
35258
d6e70f43
JM
352592012-08-27 Joseph Myers <joseph@codesourcery.com>
35260
7efb4737
JM
35261 [BZ #14519]
35262 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35263 underflowing exponent in case of negative sign.
35264 * stdlib/tst-strtod-round-data: Add more tests.
35265 * stdlib/tst-strtod-round.c (tests): Regenerated.
35266
af92131a
JM
35267 [BZ #3479]
35268 * stdlib/strtod_l.c (NDIG): Remove.
35269 (HEXNDIG): Likewise.
35270 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35271 smallest representable value.
35272 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35273 lie within an exact representation of 1/2 ulp of the result.
35274 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35275 unconditionally.
35276 (TENS_P9_IDX): Define unconditionally.
35277 (TENS_P9_SIZE): Likewise.
35278 (TENS_P10_IDX): Likewise.
35279 (TENS_P10_SIZE): Likewise.
35280 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35281 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35282 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35283 entries for 10^2^13 and 10^2^14.
35284 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35285 (TENS_P13_IDX): Define.
35286 (TENS_P13_SIZE): Likewise.
35287 (TENS_P14_IDX): Likewise.
35288 (TENS_P14_SIZE): Likewise.
35289 (_fpioconst_pow10): Change array size to
35290 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
35291 unconditional.
35292 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35293 1024]: Add entries for 10^2^13 and 10^2^14.
35294 [LAST_POW10 > _LAST_POW10]: Remove #error.
35295 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35296 (_fpioconst_pow10): Change array size to
35297 FPIOCONST_POW10_ARRAY_SIZE.
35298 * stdlib/gen-fpioconst.c: New file.
35299 * stdlib/gen-tst-strtod-round.c: Likewise.
35300 * stdlib/tst-strtod-round-data: Likewise.
35301 * stdlib/tst-strtod-round.c: Likewise.
35302 * stdlib/Makefile (tests): Add tst-strtod-round.
35303
d6e70f43
JM
35304 [BZ #14459]
35305 * stdlib/strtod_l.c: Include <stdint.h>.
35306 (NDEBUG): Do not define.
35307 (round_and_return): Change EXPONENT parameter to type intmax_t.
35308 Rearrange calculations to avoid internal overflow possibilities.
35309 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35310 Rearrange calculations to avoid internal overflow possibilities.
35311 Assert that number fits inside MPNSIZE limbs.
35312 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35313 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
35314 calculations and add assertions to avoid internal overflow
35315 possibilities. Add casts to avoid signed/unsigned operations.
35316 * stdlib/tst-strtod-overflow.c: New file.
35317 * stdlib/Makefile (tests): Add tst-strtod-overflow.
35318
1f529f7d
MP
353192012-08-25 Marek Polacek <polacek@redhat.com>
35320
35321 * time/time.h: Fix some typos in comments.
35322
59a629f1
RM
353232012-08-23 Roland McGrath <roland@hack.frob.com>
35324
35325 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35326 * posix/tst-rfc3484-2.c: Likewise.
35327 * posix/tst-rfc3484-3.c: Likewise.
35328
d3bafbc9
SM
353292012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
35330
35331 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35332 (EF_ARM_ABI_FLOAT_HARD): Likewise.
35333
4efcc022
JM
353342012-08-23 Joseph Myers <joseph@codesourcery.com>
35335
35336 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35337 #include of fxstatat64.c.
35338
3cc3ef96
RM
353392012-08-22 Roland McGrath <roland@hack.frob.com>
35340
f04e2132
RM
35341 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35342 * shadow/getspent_r.c: Likewise.
35343 * shadow/getspnam.c: Likewise.
35344 * shadow/getspnam_r.c: Likewise.
35345 * gshadow/getsgent.c: Likewise.
35346 * gshadow/getsgent_r.c: Likewise.
35347 * gshadow/getsgnam.c: Likewise.
35348 * gshadow/getsgnam_r.c: Likewise.
35349 * inet/getnetbyad.c: Likewise.
35350 * inet/getnetbyad_r.c: Likewise.
35351 * inet/getnetbynm.c: Likewise.
35352 * inet/getnetbynm_r.c: Likewise.
35353 * inet/getnetent.c: Likewise.
35354 * inet/getnetent_r.c: Likewise.
35355 * inet/getproto.c: Likewise.
35356 * inet/getproto_r.c: Likewise.
35357 * inet/getprtent.c: Likewise.
35358 * inet/getprtent_r.c: Likewise.
35359 * inet/getprtname.c: Likewise.
35360 * inet/getprtname_r.c: Likewise.
35361 * inet/getrpcbyname.c: Likewise.
35362 * inet/getrpcbyname_r.c: Likewise.
35363 * inet/getrpcbynumber.c: Likewise.
35364 * inet/getrpcbynumber_r.c: Likewise.
35365 * inet/getrpcent.c: Likewise.
35366 * inet/getrpcent_r.c: Likewise.
35367 * inet/getaliasent.c: Likewise.
35368 * inet/getaliasent_r.c: Likewise.
35369 * inet/getaliasname.c: Likewise.
35370 * inet/getaliasname_r.c: Likewise.
35371 * nscd/getgrgid_r.c: Likewise.
35372 * nscd/getgrnam_r.c: Likewise.
35373 * nscd/gethstbyad_r.c: Likewise.
35374 * nscd/gethstbynm3_r.c: Likewise.
35375 * nscd/getpwnam_r.c: Likewise.
35376 * nscd/getpwuid_r.c: Likewise.
35377 * nscd/getsrvbynm_r.c: Likewise.
35378 * nscd/getsrvbypt_r.c: Likewise.
35379 * nscd/gai.c: Likewise.
35380
c53d909c
RM
35381 * configure.in (build_nscd): New substituted variable, set
35382 by --disable-build-nscd and defaults to $use_nscd.
35383 * configure: Regenerated.
35384 * config.make.in (build-nscd): New substituted variable.
35385 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35386 Change conditional to require [$(build-nscd) = yes] as well.
35387 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35388
3cc3ef96
RM
35389 [BZ# 13696]
35390 * configure.in (use_nscd): New substituted variable, set by
35391 --disable-nscd. If enabled, define USE_NSCD.
35392 * configure: Regenerated.
35393 * config.h.in: Add USE_NSCD.
35394 * config.make.in (use-nscd): New substituted variable.
35395 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35396 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35397 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35398 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35399 (CFLAGS-getgrnam_r.c): Likewise.
35400 (CFLAGS-initgroups.c): Likewise.
35401 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35402 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35403 Variables removed.
35404 * inet/getnetgrent_r.c
35405 (nscd_setnetgrent): New function, broken out of ...
35406 (setnetgrent): ... here. Call it.
35407 (innetgr): Conditionalize nscd bits on [USE_NSCD].
35408 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35409 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35410 * nscd/Makefile (routines, aux): Move definitions after include of
35411 Makeconfig. Conditionalize on [$(use-nscd) != no].
35412 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35413 Conditionalize on [USE_NSCD].
35414 (is_nscd, nscd_init_cb): Likewise.
35415 (nss_load_library): Conditionalize init callback on [USE_NSCD].
35416 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35417 * nss/nss_db/db-init.c: Likewise.
35418 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35419 [USE_NSCD].
35420 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35421 (make_request): Use it.
35422 (cache_valid_p): New function.
35423 (__check_pf): Use it.
35424 * NEWS: Add item for --disable-nscd.
35425
07e51550
DL
354262012-08-22 Dmitry V. Levin <ldv@altlinux.org>
35427
35428 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35429 to support sed >= 4.2.1-20-ga9bf076.
35430 * configure: Regenerated.
35431
35a5b08b
RM
354322012-08-22 Roland McGrath <roland@hack.frob.com>
35433
35434 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35435 Conditionalize whole body on [IREL].
35436
8479f23a
JL
354372012-08-22 Jeff Law <law@redhat.com>
35438
35439 [BZ #14505]
35440 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35441 if the family is PF_UNSPEC.
35442
48da0b21
MF
354432012-08-22 Mike Frysinger <vapier@gentoo.org>
35444
35445 * Makerules (lib-version): Rename from V.
35446 (install-lib-nosubdir): Change V to lib-version.
35447
15d0da8c
WS
354482012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
35449
35450 [BZ #14252]
35451 * powerpc32/power6/wcschr.c: New file.
35452 * powerpc32/power6/wcscpy.c: New file.
35453 * powerpc32/power6/wcsrchr.c: New file.
35454 * powerpc64/power6/wcschr.c: New file.
35455 * powerpc64/power6/wcscpy.c: New file.
35456 * powerpc64/power6/wcsrchr.c: New file.
35457
bcca0895
MK
354582012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35459
35460 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35461 (two_way_short_needle): Use it.
5a4aaa33
RM
35462 * string/strstr.c (AVAILABLE1_USES_J): Define.
35463 * string/strcasestr.c: Likewise.
99677e57
MK
35464
35465 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35466 array references.
35467 * string/strcasestr.c (TOLOWER): Make side-effect safe.
35468
400726de
MK
35469 [BZ #11607]
35470 * NEWS: Add an entry.
35471 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35472 define their defaults.
35473 (two_way_short_needle): Detect end-of-string on-the-fly.
35474 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35475 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35476 * string/bug-strcasestr1.c: New test.
35477 * string/Makefile: Run it.
35478
20a71f2c
MK
354792012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35480
35481 [BZ #11607]
35482 * string/str-two-way.h (two_way_short_needle): Optimize matching of
35483 the first character.
35484
21ad0558
RM
354852012-08-21 Roland McGrath <roland@hack.frob.com>
35486
35487 * csu/elf-init.c (__libc_csu_irel): Function removed.
35488 * csu/libc-start.c (apply_irel): New function.
35489 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35490
0e1d9911
JM
354912012-08-21 Joseph Myers <joseph@codesourcery.com>
35492
35493 * sysdeps/unix/sysv/linux/kernel-features.h
35494 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35495 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35496 <kernel-features.h>.
35497 [__NR_fadvise64_64]: Make code unconditional.
35498 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35499 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35500 !__NR_fadvise64_64)]: Likewise.
35501 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35502 !__NR_fadvise64_64))]: Likewise.
35503 [__NR_fadvise64]: Make code unconditional.
35504 [!__NR_fadvise64]: Remove conditional code.
35505 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35506 <kernel-features.h>.
35507 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35508 unconditional.
35509 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35510 conditional code.
35511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35512 not include <kernel-features.h>.
35513 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35514 unconditional.
35515 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35516 conditional code.
35517 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35518 include <kernel-features.h>.
35519 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35520 unconditional.
35521 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35522 conditional code.
35523
14a50c9d
WS
355242012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35525
35526 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35527 slight instruction rearrangements per scrollpipe analysis.
35528 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35529
c0f4faf0
RM
355302012-08-20 Roland McGrath <roland@hack.frob.com>
35531
696da859
RM
35532 * manual/syslog.texi (syslog; vsyslog, closelog):
35533 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35534 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35535
c0f4faf0
RM
35536 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35537 DSOCAPS to match condition on defining it.
35538
348363b2
JM
355392012-08-20 Joseph Myers <joseph@codesourcery.com>
35540
a35cbf28
JM
35541 * sysdeps/unix/sysv/linux/kernel-features.h
35542 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35544 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35545 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35547 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35548 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35550 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35551 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35552
445f7ecd
JM
35553 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35554 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35555
348363b2
JM
35556 * sysdeps/unix/sysv/linux/kernel-features.h
35557 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35558 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35559 unconditional.
35560 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35561 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35562 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35563 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35564 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35565 Make code unconditional.
35566 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35567 (__mmap64) [!__NR_mmap2]: Likewise.
35568 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35569 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35570 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35571 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35572 [__NR_mmap2]: Make code unconditional.
35573 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35574 (__mmap64) [!__NR_mmap2]: Likewise.
35575
bc5bc0e5
AK
355762012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35577
35578 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35579
88d506de
AJ
355802012-08-18 Andreas Jaeger <aj@suse.de>
35581
35582 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35583
493387d2
MF
355842012-08-18 Mike Frysinger <vapier@gentoo.org>
35585
35586 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35587 * include/unistd.h (__have_sock_cloexec): Likewise.
35588 (__have_pipe2): Likewise.
35589 (__have_dup3): Likewise.
35590
a277af22
MF
355912012-08-18 Mike Frysinger <vapier@gentoo.org>
35592
35593 [BZ #9685]
35594 * include/unistd.h (__have_pipe2): Change define into an extern int.
35595 (__have_dup3): Likewise.
35596 * socket/have_sock_cloexec.c: Include fcntl.h.
35597 (__have_pipe2): New variable.
35598 (__have_dup3): Likewise.
35599
fdab8fd3
MF
356002012-08-17 Mike Frysinger <vapier@gentoo.org>
35601
35602 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35603
31035e80
MP
356042012-08-17 Marek Polacek <polacek@redhat.com>
35605
35606 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35607 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35608
3bd9e993
RM
356092012-08-17 Roland McGrath <roland@hack.frob.com>
35610
c91c505f
RM
35611 * configure.in: Add AC_SUBST for sysheaders.
35612 * configure: Regenerated.
35613 * config.make.in (sysheaders): New substituted variable.
35614
7c6f9d53
RM
35615 * sysdeps/unix/mkfifo.c: Moved ...
35616 * sysdeps/posix/mkfifo.c: ... here.
35617 * sysdeps/unix/mkfifoat.c: Moved ...
35618 * sysdeps/posix/mkfifoat.c: ... here.
35619
35620 * sysdeps/unix/utime.c: Moved ...
35621 * sysdeps/posix/utime.c: ... here.
35622
35623 * sysdeps/unix/time.c: Moved ...
35624 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
35625 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35626 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
35627
35628 * sysdeps/unix/nice.c: Moved ...
35629 * sysdeps/posix/nice.c: ... here.
35630
35631 * sysdeps/unix/alarm.c: Moved ...
35632 * sysdeps/posix/alarm.c: ... here.
35633
3bd9e993
RM
35634 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35635
d1f09384
JL
356362012-08-17 Jeff Law <law@redhat.com>
35637
35638 * intl/Makefile (codeset_mo): New variable.
35639 ($(codeset_mo)): New target.
35640 (tst-codeset.out): Depend on that. Remove explicit rule.
35641 (tst-gettext3.out, tst-gettext5.out): Likewise.
35642 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35643 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35644 * intl/tst-codeset.sh: Remove.
35645 * intl/tst-gettext3.sh: Likewise.
35646 * intl/tst-gettext5.sh: Likewise.
35647
2ae1ae5c
RM
356482012-08-17 Roland McGrath <roland@hack.frob.com>
35649
c31fdb83
RM
35650 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35651 * sysdeps/unix/syscalls.list: ... here.
35652
a0844057
RM
35653 * sysdeps/posix/getaddrinfo.c
35654 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35655 (gaiconf_init, gaiconf_reload): Use them.
35656 [!_STATBUF_ST_NSEC]
35657 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35658 Define using time_t rather than struct timespec.
35659
750c1f2a
RM
35660 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35661 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35662 Macros removed.
35663 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35664 [!NO_THREADS].
35665 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35666 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35667 Likewise.
35668
2ae1ae5c
RM
35669 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35670 __libc_cleanup_push argument.
35671
e66a42f5
RM
35672 * bits/param.h: New file.
35673 * misc/sys/param.h: New file.
35674 * include/sys/param.h: New file.
35675 * misc/Makefile (headers): Add bits/param.h.
35676 * sysdeps/generic/sys/param.h: File removed.
35677 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35678 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35679 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 35680 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 35681
b7c08a66
RM
35682 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35683 last change.
35684
b2e1c562
RM
35685 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35686 [_IO_MTSAFE_IO].
35687 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35688 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35689 New macros.
35690
c75ccd4c
RM
35691 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35692 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35693 rather than -D_IO_MTSAFE_IO conditionally.
35694 * stdio-common/Makefile (CPPFLAGS): Likewise.
35695 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35696 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35697 Use $(libio-mtsafe).
35698 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35699 of -D_IO_MTSAFE_IO.
35700 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35701 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35702 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35703 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35704 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35705 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35706 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35707 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35708 (CFLAGS-fread_u_chk.c): Likewise.
35709 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35710 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35711 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35712 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35713 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35714 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35715 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35716 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35717 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35718
35719 * libio/Makefile: Test [$(libc-reentrant) = yes]
35720 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35721
35722 * Makeconfig
35723 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35724 * sysdeps/pthread/configure: File removed.
35725 * sysdeps/pthread/Makeconfig: New file.
35726 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35727 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35728
d9195db8
GB
357292012-08-16 Gary Benson <gbenson@redhat.com>
35730
35731 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35732 unmapping the first object in a namespace.
35733
86466cd9
RM
357342012-08-16 Roland McGrath <roland@hack.frob.com>
35735
35736 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35737 (__internal_setnetgrent): ... this. Add internal_function to
35738 definition. Add libc_hidden_def.
35739 (setnetgrent): Update caller.
35740 (internal_endnetgrent): Renamed to ...
35741 (__internal_endnetgrent): ... this. Add internal_function to
35742 definition. Add libc_hidden_def.
35743 (endnetgrent): Update caller.
35744 (internal_getnetgrent_r): Renamed to ...
35745 (__internal_getnetgrent_r): ... this. Add internal_function to
35746 definition. Add libc_hidden_def.
35747 (__getnetgrent_r): Update caller.
35748 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35749
c3c8283c
JM
357502012-08-16 Joseph Myers <joseph@codesourcery.com>
35751
35752 * stdlib/longlong.h: Update from GCC.
35753
db1ee0a8
RM
357542012-08-16 Roland McGrath <roland@hack.frob.com>
35755
35756 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35757 on _QL, which is set by umul_ppmm but never used.
35758 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35759 variables, which are set by GMP macros but never used.
35760 * stdio-common/_itowa.c (_itowa): Likewise.
35761 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35762 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35763
30f69637
CD
357642012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35765
35766 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35767 struct La_sh_regs is not constant.
35768 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35769 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35770 and struct La_sparc64_regs are not constant.
35771
93a78ac4
JM
357722012-08-16 Joseph Myers <joseph@codesourcery.com>
35773
35774 * sysdeps/unix/sysv/linux/kernel-features.h
35775 (__ASSUME_POSIX_TIMERS): Remove.
35776 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35777 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35778 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35779 Make code unconditional.
35780 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35781 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35782 Make code unconditional.
35783 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35784 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35785 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35786 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35787 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35788 Make code unconditional.
35789 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35790 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35791 (__libc_missing_posix_timers): Remove.
35792
dd924cd7
RM
357932012-08-15 Roland McGrath <roland@hack.frob.com>
35794
4b4f2771
RM
35795 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35796 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35797
601c888b
RM
35798 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35799
176790a7
RM
35800 * elf/dl-sym.c: Include <stdlib.h>.
35801
329bc018
RM
35802 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35803 constants, which avoids warnings in 32-bit builds.
35804
e04e272d
RM
35805 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35806 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35807
952bf94a
RM
35808 * misc/lseek.c: File moved to ...
35809 * io/lseek.c: ... here.
35810
7c99b50a
RM
35811 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35812
dd924cd7
RM
35813 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35814 shifting LEN more than 31 bits at once.
35815
b3f479a8
LD
358162012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35817
35818 [BZ #14195]
8c4ae0d4
RM
35819 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35820 segmentation fault for a case of two empty input strings.
b3f479a8
LD
35821 * string/test-strncasecmp.c (check1): Renamed to...
35822 (bz12205): ...this.
35823 (bz14195): Add new testcase for two empty input strings and N > 0.
35824 (test_main): Call new testcase, adapt for renamed function.
35825
9c55864e
AJ
358262012-08-15 Andreas Jaeger <aj@suse.de>
35827
35828 [BZ #14090]
35829 * crypt/md5test2.c: New test, based on test supplied by Serge
35830 Belyshev <belyshev@depni.sinp.msu.ru>.
35831 * crypt/Makefile (xtests): Add md5test-giant..
35832 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35833
02dcb6c5
PE
358342012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35835
35836 [BZ #14090]
35837 * crypt/md5.c (md5_process_block): Don't assume the buffer
35838 length is less than 2**32.
35839 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35840 length is less than 2**64.
35841
a3f95dcc
RM
358422012-08-15 Roland McGrath <roland@hack.frob.com>
35843
be75d758
RM
35844 * string/str-two-way.h: Include <sys/param.h>.
35845 (MAX): Macro removed.
35846
7312ca90
RM
35847 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35848 Move #define and #undef of memmove to just before and after
35849 including <string.h>.
35850
9a0a5486
RM
35851 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35852 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35853 and after including <string.h>. Move declarations of
35854 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35855 to before #include "string/memmove.c".
35856
67cc348d
RM
35857 * include/dirent.h: Declare __getdirentries.
35858
a3f95dcc
RM
35859 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35860 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35861
ca98e171
MF
358622012-08-14 Mike Frysinger <vapier@gentoo.org>
35863
35864 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35865 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35866 * sysdeps/i386/configure: Regenerated.
35867 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35868 STABS_CURRENT_FILE, and STABS_FUN.
35869 (END): Remove call to STABS_FUN_END.
35870 (STABS_CURRENT_FILE1): Delete.
35871 (STABS_CURRENT_FILE): Likewise.
35872 (STABS_FUN): Likewise.
35873 (STABS_FUN_END): Likewise.
35874 (STABS_FUN2): Likewise.
35875 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35876 * sysdeps/x86_64/configure: Regenerated.
35877
5908bf46
RM
358782012-08-14 Roland McGrath <roland@hack.frob.com>
35879
35880 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 35881 * elf/dl-lookup.c: Likewise.
5908bf46 35882
f2c05b9e
JM
358832012-08-14 Joseph Myers <joseph@codesourcery.com>
35884
35885 * sysdeps/unix/sysv/linux/kernel-features.h
35886 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35887 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35888 unconditionally.
35889 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35890 unconditionally.
35891 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35892 condition on __ASSUME_CLONE_THREAD_FLAGS.
35893
e11f5155
AJ
358942012-08-14 Andreas Jaeger <aj@suse.de>
35895
35896 * sysdeps/i386/fpu/libm-test-ulps: Update.
35897
51a9ba86
MK
358982012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35899
2fdd4f78
AJ
35900 * include/atomic.h (atomic_exchange_and_add): Split into ...
35901 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35902 New atomic macros.
51a9ba86 35903
ba6cba9e
MT
359042012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35905
35906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35907
42443a47
JL
359082012-08-13 Jeff Law <law@redhat.com>
35909
35910 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35911 null byte in the output string.
35912
121dce05
JM
359132012-08-10 Joseph Myers <joseph@codesourcery.com>
35914
35915 * sysdeps/unix/sysv/linux/kernel-features.h
35916 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35917 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35918 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35919 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35920 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35921 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35922 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35923
bf51f568
JL
359242012-08-09 Jeff Law <law@redhat.com>
35925
35926 [BZ #13939]
35927 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35928 When avoid_arena is set, don't retry in the that arena. Pick the
35929 next one, whatever it might be.
35930 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35931 (arena_lock): Pass in new parameter to arena_get2.
35932 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35933 arena_get2.
35934 (__libc_malloc): Unify retrying after main arena failure with
35935 __libc_memalign version.
35936 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35937
f85fa270
L
359382012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35939
35940 [BZ #14166]
35941 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35942 to __redirect_strstr.
35943 (__strstr_sse42): Use typeof __redirect_strstr.
35944 (__strstr_ia32): Likewise.
35945 (__libc_strstr): New prototype.
35946 (strstr): Renamed to ...
35947 (__libc_strstr): This.
35948 (strstr): New strong alias of __libc_strstr.
35949 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35950 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35951 __redirect_time.
35952 Include <time.h>.
35953 (__libc_time): New prototype.
35954 (time_ifunc): Replace time with __libc_time.
35955 (time): New strong alias and hidden definition of __libc_time.
35956 (__GI_time): Remove strong alias.
35957 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35958 Include <stddef.h>.
35959 (memmove): Redefined to __redirect_memmove.
35960 (__memmove_sse2): Use typeof __redirect_memmove.
35961 (__memmove_ssse3): Likewise.
35962 (__memmove_ssse3_back): Likewise.
35963 (__libc_memmove): New prototype.
35964 (memmove): Renamed to ...
35965 (__libc_memmove): This.
35966 (memmove): New strong alias of __libc_memmove.
35967
33b4a91e
MS
359682012-08-08 Mark Salter <msalter@redhat.com>
35969
35970 * elf/elf.h
35971 (R_MN10300_TLS_GD): Define.
35972 (R_MN10300_TLS_LD): Likewise.
35973 (R_MN10300_TLS_LDO): Likewise.
35974 (R_MN10300_TLS_GOTIE): Likewise.
35975 (R_MN10300_TLS_IE): Likewise.
35976 (R_MN10300_TLS_LE): Likewise.
35977 (R_MN10300_TLS_DTPMOD): Likewise.
35978 (R_MN10300_TLS_DTPOFF): Likewise.
35979 (R_MN10300_TLS_TPOFF): Likewise.
35980 (R_MN10300_SYM_DIFF): Likewise.
35981 (R_MN10300_ALIGN): Likewise.
35982 (R_MN10300_NUM): Update.
35983
b36137f1
JM
359842012-08-08 Joseph Myers <joseph@codesourcery.com>
35985
35986 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35987 Remove.
35988
cdd915fd
RM
359892012-08-08 Roland McGrath <roland@hack.frob.com>
35990
a2433aac
RM
35991 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35992
cdd915fd
RM
35993 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35994 sysdeps/unix -> sysdeps/posix move.
35995 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35996
bf9b740a
AM
359972012-08-07 Allan McRae <allan@archlinux.org>
35998
35999 [BZ #14303]
36000 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36001 (SUNOS_CPP): Likewise.
36002 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36003 not found.
36004 (open_input): Call CPP using execvp.
36005
93df14ee
JM
360062012-08-07 Joseph Myers <joseph@codesourcery.com>
36007
36008 * sysdeps/unix/sysv/linux/kernel-features.h
36009 (__ASSUME_PROT_GROWSUPDOWN): Remove.
36010 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36011 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36012 (__ASSUME_WAITID_SYSCALL): Likewise.
36013 * sysdeps/unix/sysv/linux/dl-execstack.c
36014 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36015 code unconditional.
36016 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36017 conditional code.
36018 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36019 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36020 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36021 code.
36022 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36023 unconditional.
36024 [__ASSUME_WAITID_SYSCALL]: Likewise.
36025 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36026
d34689de
RM
360272012-08-07 Roland McGrath <roland@hack.frob.com>
36028
a281decc
RM
36029 * sysdeps/unix/closedir.c: Renamed to ...
36030 * sysdeps/posix/closedir.c: ... here.
36031 * sysdeps/unix/dirfd.c: Renamed to ...
36032 * sysdeps/posix/dirfd.c: ... here.
36033 * sysdeps/unix/dirstream.h: Renamed to ...
36034 * sysdeps/posix/dirstream.h: ... here.
36035 * sysdeps/unix/fdopendir.c: Renamed to ...
36036 * sysdeps/posix/fdopendir.c: ... here.
36037 * sysdeps/unix/opendir.c: Renamed to ...
36038 * sysdeps/posix/opendir.c: ... here.
36039 * sysdeps/unix/readdir.c: Renamed to ...
36040 * sysdeps/posix/readdir.c: ... here.
36041 * sysdeps/unix/readdir_r.c: Renamed to ...
36042 * sysdeps/posix/readdir_r.c: ... here.
36043 * sysdeps/unix/rewinddir.c: Renamed to ...
36044 * sysdeps/posix/rewinddir.c: ... here.
36045 * sysdeps/unix/seekdir.c: Renamed to ...
36046 * sysdeps/posix/seekdir.c: ... here.
36047 * sysdeps/unix/telldir.c: Renamed to ...
36048 * sysdeps/posix/telldir.c: ... here.
36049 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36050 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36051 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36052 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36053
22895b47
RM
36054 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36055 * bits/fcntl.h: ... here.
36056
707a53b6
RM
36057 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36058 not 0.
36059 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36060 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36061 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36062 (struct flock): Move l_start, l_len to the beginning.
36063 Use __pid_t for l_pid.
36064 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36065 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36066 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36067 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36068 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36069 [__USE_LARGEFILE64] (struct flock64): New type.
36070 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36071
f0bd3e25
RM
36072 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36073 * bits/dirent.h: ... here.
36074
d34689de
RM
36075 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36076 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36077
6dad2c06
JM
360782012-08-07 Joseph Myers <joseph@codesourcery.com>
36079
36080 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36081 Change from 2.6.0 to 2.6.16.
36082 * sysdeps/unix/sysv/linux/configure: Regenerated.
36083 * sysdeps/unix/sysv/linux/kernel-features.h
36084 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36085 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36086 version.
36087 (__ASSUME_UTIMES): Likewise.
36088 (__ASSUME_CLONE_STOPPED): Remove.
36089 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36090 architectures, not kernel version.
36091 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36092 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36093 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36094 (__ASSUME_WAITID_SYSCALL): Likewise.
36095 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36096 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36097 * README: State 2.6.16 as minimum Linux kernel version. Do not
36098 refer to older versions.
36099
03af9520
RM
361002012-08-06 Roland McGrath <roland@hack.frob.com>
36101
8e49df1d
RM
36102 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36103 Define alphasort64 as an alias.
36104 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36105 Define versionsort64 as an alias.
36106 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36107 Define scandir64 as an alias.
36108 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36109 Define scandirat64 as an alias.
36110 * dirent/alphasort64.c (alphasort64):
36111 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36112 * dirent/versionsort64.c: Likewise.
36113 * dirent/scandir64.c: Likewise.
36114 * dirent/scandirat64.c: Likewise.
36115 * sysdeps/wordsize-64/alphasort.c: File removed.
36116 * sysdeps/wordsize-64/alphasort64.c: File removed.
36117 * sysdeps/wordsize-64/scandir.c: File removed.
36118 * sysdeps/wordsize-64/scandir64.c: File removed.
36119 * sysdeps/wordsize-64/scandirat.c: File removed.
36120 * sysdeps/wordsize-64/scandirat64.c: File removed.
36121 * sysdeps/wordsize-64/versionsort.c: File removed.
36122 * sysdeps/wordsize-64/versionsort64.c: File removed.
36123 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36124 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36125 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36126 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36127 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36128 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36129 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36130 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36131
36132 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36133 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36134 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36135 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36136 [defined __arch64__ || defined __sparcv9]
36137 (__INO_T_MATCHES_INO64_T): New macro.
36138 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36139 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36140 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36141 * sysdeps/unix/sysv/linux/bits/dirent.h
36142 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36143 (_DIRENT_MATCHES_DIRENT64): New macro.
36144
03af9520
RM
36145 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36146 Define lockf64 as an alias.
36147 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36148 Define fseeko64 as an alias.
36149 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36150 Define ftello64 as an alias.
36151 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36152 Define _IO_fgetpos64 and fgetpos64 as aliases.
36153 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36154 Define _IO_fsetpos64 and fsetpos64 as aliases.
36155 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36156 Conditionalize body on this.
36157 * libio/fseeko64.c: Likewise.
36158 * libio/ftello64.c: Likewise.
36159 * libio/iofgetpos64.c: Likewise.
36160 * libio/iofsetpos64.c: Likewise.
36161 * sysdeps/wordsize-64/lockf.c: File removed.
36162 * sysdeps/wordsize-64/lockf64.c: File removed.
36163 * sysdeps/wordsize-64/fseeko.c: File removed.
36164 * sysdeps/wordsize-64/fseeko64.c: File removed.
36165 * sysdeps/wordsize-64/ftello.c: File removed.
36166 * sysdeps/wordsize-64/ftello64.c: File removed.
36167 * sysdeps/wordsize-64/iofgetpos.c: File removed.
36168 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36169 * sysdeps/wordsize-64/iofsetpos.c: File removed.
36170 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36171 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36172 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36173 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36174 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36175 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36176 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36177 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36178 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36179 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36180 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36181
36182 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36183 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36184 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36185 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36186 [defined __arch64__ || defined __sparcv9]
36187 (__OFF_T_MATCHES_OFF64_T): New macro.
36188 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36189 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36190 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36191 (__OFF_T_MATCHES_OFF64_T): New macro.
36192
c5757acd
L
361932012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36194
36195 * stdlib/secure-getenv.c (__secure_getenv): Replace
36196 GLIBC_2_16 with GLIBC_2_17.
36197
3a31811e
L
361982012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36199
36200 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36201 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36202
faa2bccb
DM
362032012-08-03 David S. Miller <davem@davemloft.net>
36204
36205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36206
85fe1997
JM
362072012-08-03 Joseph Myers <joseph@codesourcery.com>
36208
36209 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36210 Remove.
36211 (__ASSUME_CORRECT_SI_PID): Likewise.
36212 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36213 (__ASSUME_TMPFS_NAME): Likewise.
36214 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36215 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36216 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36217 (HAVE_AUX_SECURE): Make definition unconditional.
36218 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36219 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36220
4f75b7a0
RM
362212012-08-03 Roland McGrath <roland@hack.frob.com>
36222
36223 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36224 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36225 * sysdeps/mach/hurd/eloop-threshold.h: New file.
36226 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36227 __eloop_threshold instead of SYMLOOP_MAX.
36228
36229 * sysdeps/generic/eloop-threshold.h: New file.
36230 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36231 of MAXSYMLINKS.
36232 * elf/chroot_canon.c (chroot_canon): Likewise.
36233
7aab07e4
JM
362342012-08-03 Joseph Myers <joseph@codesourcery.com>
36235
36236 [BZ #13717]
36237 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36238 Change to 2.6.0 everywhere.
36239 * sysdeps/unix/sysv/linux/configure: Regenerated.
36240 * sysdeps/unix/sysv/linux/kernel-features.h
36241 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36242 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36243 kernel versions.
36244 (__ASSUME_POSIX_TIMERS): Define unconditionally.
36245 (__ASSUME_FUTEX_REQUEUE): Remove.
36246 (__ASSUME_STATFS64): Define unconditionally.
36247 (__ASSUME_AT_SECURE): Likewise.
36248 (__ASSUME_CORRECT_SI_PID): Likewise.
36249 (__ASSUME_TGKILL): Define without depending on kernel version for
36250 i386.
36251 (__ASSUME_UTIMES): Likewise.
36252 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36253 kernel version.
36254 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36255 (__ASSUME_TMPFS_NAME): Likewise.
36256 * README: Update reference to Linux kernel versions.
36257
b67e9372
MP
362582012-08-02 Marek Polacek <polacek@redhat.com>
36259
1f529f7d 36260 [BZ# 14150]
b67e9372
MP
36261 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
36262 libc_cv_asm_type_prefix with %.
36263 * configure: Regenerated.
d2441631
RM
36264 * include/libc-symbols.h: Remove comment about
36265 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
36266 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36267 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36268 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36269 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36270 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36271 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36272 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36273 * elf/tst-unique2mod1.c: Likewise.
36274 * elf/tst-unique1mod2.c: Likewise.
36275 * elf/tst-unique1mod1.c: Likewise.
36276 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36277 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36278 Replace ASM_TYPE_DIRECTIVE with .type.
36279 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36280 * sysdeps/i386/sysdep.h: Likewise.
36281 * sysdeps/x86_64/sysdep.h: Likewise.
36282 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
36283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36284 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 36285 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
36286 * sysdeps/powerpc/powerpc32/sysdep.h:
36287 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
36288 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36289 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36290 * sysdeps/i386/fpu/e_powf.S: Likewise.
36291 * sysdeps/i386/fpu/e_expl.S: Likewise.
36292 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36293 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36294 * sysdeps/i386/fpu/e_pow.S: Likewise.
36295 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36296 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36297 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36298 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36299 * sysdeps/i386/fpu/e_log2.S: Likewise.
36300 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36301 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36302 * sysdeps/i386/fpu/e_powl.S: Likewise.
36303 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36304 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36305 * sysdeps/i386/fpu/e_logl.S: Likewise.
36306 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36307 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36308 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36309 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36310 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36311 * sysdeps/i386/fpu/e_log.S: Likewise.
36312 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36313 * sysdeps/i386/fpu/e_logf.S: Likewise.
36314 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36315 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36316 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36317 * sysdeps/i386/fpu/e_log10.S: Likewise.
36318 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36319 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36320 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36321 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36322 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36323 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36324 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36325 * sysdeps/i386/i686/strtok.S: Likewise.
36326 * sysdeps/i386/i386-mcount.S: Likewise.
36327 * sysdeps/i386/strtok.S: Likewise.
36328 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36329 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36330 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36331 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36332 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36333 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36334 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36335 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36336 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36337 * sysdeps/x86_64/_mcount.S: Likewise.
36338 * sysdeps/x86_64/strtok.S: Likewise.
36339 * sysdeps/sh/_mcount.S: Likewise.
36340
2747bf9a
RM
363412012-08-01 Roland McGrath <roland@hack.frob.com>
36342
36343 * libio/iofopen.c: Include <fcntl.h>.
36344 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36345 (_IO_fopen64, fopen64): Define as aliases.
36346 * libio/iofopen64.c: Include <fcntl.h>.
36347 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36348 Conditionalize body on this.
36349 * sysdeps/wordsize-64/iofopen.c: File removed.
36350 * sysdeps/wordsize-64/iofopen64.c: File removed.
36351
3fb791b8
MP
363522012-08-01 Marek Polacek <polacek@redhat.com>
36353
36354 * libc/Makeconfig: Use elf in place of binfmt-subdir.
36355 Use dlfcn directly instead of a variable.
36356 (binfmt-subdir): Do not define.
36357 (dlfcn): Likewise.
36358
a9f1039f
JM
363592012-08-01 Joseph Myers <joseph@codesourcery.com>
36360
23bddc06
JM
36361 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36362 Remove all definitions.
36363 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36364 <kernel-features.h>.
36365 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36366 (miss_F_GETOWN_EX): Remove all definitions.
36367 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36368 macro definition.
36369 [!__ASSUME_FCNTL64]: Remove conditional code.
36370 [__ASSUME_FCNTL64]: Make code unconditional.
36371 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36372 <kernel-features.h>.
36373 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36374 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36375 (lockf64) [__NR_fcntl64]: Make code unconditional.
36376 (lockf64) [__ASSUME_FCNTL64]: Likewise.
36377
a9f1039f
JM
36378 * sysdeps/unix/sysv/linux/kernel-features.h
36379 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36380 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36381 Make code unconditional.
36382 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36383 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36385 [__NR_vfork]: Make code unconditional.
36386 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36387 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36389 [__NR_vfork]: Make code unconditional.
36390 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36391 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36392
09c0ee5f
RM
363932012-08-01 Roland McGrath <roland@hack.frob.com>
36394
48aec5b9
RM
36395 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36396 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36397
cd97c966
RM
36398 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36399 Define mkstemp64 as an alias.
3f55550c
RM
36400 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36401 Define mkstemps64 as an alias.
cd97c966
RM
36402 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36403 Define mkostemp64 as an alias.
b8625cfc
RM
36404 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36405 Define mkostemps64 as an alias.
cd97c966
RM
36406 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36407 Conditionalize body on this.
36408 * misc/mkostemp64.c: Likewise.
b8625cfc 36409 * misc/mkostemps64.c: Likewise.
3f55550c 36410 * misc/mkstemps64.c: Likewise.
cd97c966
RM
36411 * sysdeps/wordsize-64/mkstemp64.c: File removed.
36412 * sysdeps/wordsize-64/mkostemp64.c: File removed.
36413 * sysdeps/wordsize-64/mkostemp.c: File removed.
36414 * sysdeps/wordsize-64/mkstemp.c: File removed.
36415 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36416 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36417 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36418 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36419
09c0ee5f
RM
36420 [BZ #14138]
36421 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36422 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36423 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36424 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36425
36426 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36427 compat_symbol macros from <shlib-compat.h> rather than the underlying
36428 default_symbol_version and symbol_version macros, so that DEFAULT
36429 lines in shlib-versions are respected.
36430 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36431
7e66ee51
FW
364322012-08-01 Florian Weimer <fweimer@redhat.com>
36433
36434 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36435 Declare with warn_unused_result.
36436 (setgid, setregid, setegid, setresgid): Likewise.
36437 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36438 Likewise.
36439 * WUR-REPORT: Remove set*id functions.
36440
d2a54255
PT
364412012-07-31 Pino Toscano <toscano.pino@tiscali.it>
36442
36443 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36444
7ecdb005
RM
364452012-07-31 Roland McGrath <roland@hack.frob.com>
36446
b4180a5e 36447 [BZ #10191]
789bd351
RM
36448 * include/sys/socket.h (__libc_accept, __libc_accept4):
36449 Add attribute_hidden.
36450 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36451
40ce302d
RM
36452 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36453 use of PTR_MANGLE.
36454 * inet/getnetgrent_r.c (setup): Likewise.
36455
7ecdb005
RM
36456 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36457
e2eabb2c
DM
364582012-07-31 David S. Miller <davem@davemloft.net>
36459
36460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36461
d0419dbf
JM
364622012-07-31 Joseph Myers <joseph@codesourcery.com>
36463
36464 [BZ #13629]
36465 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36466 value between 1.0 and 2.0 and smaller part has absolute value less
36467 than 1.0.
36468 * math/s_clog10.c (__clog10): Likewise.
36469 * math/s_clog10f.c (__clog10f): Likewise.
36470 * math/s_clog10l.c (__clog10l): Likewise.
36471 * math/s_clogf.c (__clogf): Likewise.
36472 * math/s_clogl.c (__clogl): Likewise.
36473 * math/libm-test.inc (clog_test): Add more tests.
36474 (clog10_test): Likewise.
36475 * sysdeps/i386/fpu/libm-test-ulps: Update.
36476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36477
2bc13872
FW
364782012-07-31 Florian Weimer <fweimer@redhat.com>
36479
36480 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36481 Exit with zero in case no suitable GID is found, and write a
36482 message to standard error.
36483
bea9b193
RM
364842012-07-30 Roland McGrath <roland@hack.frob.com>
36485
36486 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36487 rather than to 1.
36488 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36489 (MAXPATHLEN): Removed.
36490 (NOGROUP, NODEV): New macros.
36491 (setbit, clrbit, isset, isclr): New macros.
36492 (howmany, roundup, powerof2): New macros.
36493 (DEV_BSIZE): New macro.
36494
36495 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36496 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36497
36498 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36499 definition on [!__NO_LONG_DOUBLE_MATH].
36500
36501 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36502 PTR_MANGLE and PTR_DEMANGLE.
36503
36504 * socket/accept4.c (accept4): Rename to __libc_accept4.
36505 Define accept4 as a weak alias.
36506
36507 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36508 on [_DIRENT_HAVE_D_TYPE].
36509 * io/ftw.c (ftw_dir): Likewise.
36510
36511 * io/xmknod.c (__xmknod): Don't check PATH for being null.
36512
36513 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36514
36515 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36516 Use the BSD numbers rather than the arbitrary ones we had.
36517 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36518 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36519 (SIGXCPU, SIGXFSZ): New macros.
36520 (_NSIG): Now 32.
36521
36522 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36523 initializer on [_LIBC_REENTRANT].
36524
36525 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36526 definitions inside [_POSIX_MAPPED_FILES].
36527
36528 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36529
36530 * dirent/opendir.c: Include <fcntl.h>.
36531
36532 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36533 (__libc_getspecific): Likewise.
36534 (__libc_key_create): Likewise.
36535
36536 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36537 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36538 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36539 (tmpfile64): Define as alias.
36540 * sysdeps/wordsize-64/tmpfile.c: File removed.
36541 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36542 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36543 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36544
36545 * stdio-common/vfscanf.c: Include <stdbool.h>.
36546 * nss/makedb.c: Likewise.
36547 * stdio-common/_i18n_number.h: Likewise.
36548 * argp/argp-help.c: Likewise.
36549 * posix/wordexp.c: Likewise.
36550 * sysdeps/posix/spawni.c: Likewise.
36551 * nss/nss_files/files-initgroups.c: Likewise.
36552 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36553 * nss/nss_files/files-initgroups.c: Likewise.
36554 * nss/nss_db/db-netgrp.c: Likewise.
36555 * nss/nss_db/db-initgroups.c: Likewise.
36556 * io/fchmodat.c: Include <sys/stat.h>.
36557
36558 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36559 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36560
36561 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36562 [HAVE_MMAP].
36563
36564 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36565 Add multiple inclusion protection.
36566
e5abc686
DM
365672012-07-27 David S. Miller <davem@davemloft.net>
36568
36569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36570
815e6fa3
GB
365712012-07-27 Gary Benson <gbenson@redhat.com>
36572
36573 [BZ #14298]
36574 * elf/rtld.c: Include <stap-probe.h>.
36575 (dl_main): Added static probes "init_start" and "init_complete".
36576 * elf/dl-load.c: Include <stap-probe.h>.
36577 (lose): Take new parameter "nsid".
36578 Added static probe "map_failed".
36579 (_dl_map_object_from_fd): Pass namespace id to lose.
36580 Added static probe "map_start".
36581 (open_verify): Pass namespace id to lose.
36582 * elf/dl-open.c: Include <stap-probe.h>.
36583 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36584 and "reloc_complete".
36585 * elf/dl-close.c: Include <stap-probe.h>.
36586 (_dl_close_worker): Added static probes "unmap_start" and
36587 "unmap_complete".
36588 * elf/rtld-debugger-interface.txt: New file documenting the above.
36589
9f98c16c
RM
365902012-07-26 Roland McGrath <roland@hack.frob.com>
36591
36592 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36593 rather than a string variable.
36594 * sunrpc/rpc_main.c (h_output): Likewise.
36595 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36596
f3c22df3
PT
365972012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36598
36599 * inet/check_native.c: New file.
36600
3129cfc6
JM
366012012-07-26 Joseph Myers <joseph@codesourcery.com>
36602
da865e95
JM
36603 [BZ #13629]
36604 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36605 if larger part has absolute value 1.0.
36606 * math/s_clog10.c (__clog10): Likewise.
36607 * math/s_clog10f.c (__clog10f): Likewise.
36608 * math/s_clog10l.c (__clog10l): Likewise.
36609 * math/s_clogf.c (__clogf): Likewise.
36610 * math/s_clogl.c (__clogl): Likewise.
36611 * math/libm-test.inc (clog_test): Add more tests.
36612 (clog10_test): Likewise.
36613 * sysdeps/i386/fpu/libm-test-ulps: Update.
36614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36615
3129cfc6
JM
36616 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36617 (pltexit): Likewise.
36618 (La_regs): Likewise.
36619 (La_retval): Likewise.
36620 (int_retval): Likewise.
36621 Update #error for removed macros to refer only to definitions in
36622 tst-audit.h.
36623 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36624 macro.
36625 (pltexit): Likewise.
36626 (La_regs): Likewise.
36627 (La_retval): Likewise.
36628 (int_retval): Likewise.
36629 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36630 macro.
36631 (pltexit): Likewise.
36632 (La_regs): Likewise.
36633 (La_retval): Likewise.
36634 (int_retval): Likewise.
36635 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36636 macro.
36637 (pltexit): Likewise.
36638 (La_regs): Likewise.
36639 (La_retval): Likewise.
36640 (int_retval): Likewise.
36641 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36642 macro.
36643 (pltexit): Likewise.
36644 (La_regs): Likewise.
36645 (La_retval): Likewise.
36646 (int_retval): Likewise.
36647 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36648 macro.
36649 (pltexit): Likewise.
36650 (La_regs): Likewise.
36651 (La_retval): Likewise.
36652 (int_retval): Likewise.
36653 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36654 macro.
36655 (pltexit): Likewise.
36656 (La_regs): Likewise.
36657 (La_retval): Likewise.
36658 (int_retval): Likewise.
36659 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36660 macro definitions in tst-audit.h.
36661 * sysdeps/i386/tst-audit.h: New file.
36662 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36663 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36664 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36665 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36666 * sysdeps/sh/tst-audit.h: Likewise.
36667 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36668 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36669 * sysdeps/x86_64/tst-audit.h: Likewise.
36670
bfc07087
AJ
366712012-07-26 Andreas Jaeger <aj@suse.de>
36672
b1b2aaf8
AJ
36673 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36674 ptrace.
36675
36676 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36677 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36678 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36679 PTRACE_O_MASK.
36680 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36681 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36682 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36683
bfc07087
AJ
36684 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36685 value.
36686
36687 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36688 _sigsys.
36689 (si_call_addr, si_syscall, si_arch): Define new macro.
36690 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36691 _sigsys.
36692 (si_call_addr, si_syscall, si_arch): Define new marcro.
36693 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36694 _sigsys.
36695 (si_call_addr, si_syscall, si_arch): Define new macro.
36696 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36697 _sigsys.
36698 (si_call_addr, si_syscall, si_arch): Define new macro.
36699
89b4b02f
JM
367002012-07-25 Joseph Myers <joseph@codesourcery.com>
36701
36702 [BZ #13717]
36703 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36704 Change to 2.4.21 where previously 2.4.1.
36705 * sysdeps/unix/sysv/linux/configure: Regenerated.
36706 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36707 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36708 Linux kernel version.
36709 (__ASSUME_STD_AUXV): Remove.
36710 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36711 kernel version.
36712 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36713 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36714 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36715 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36716 (__ASSUME_NETLINK_SUPPORT): Likewise.
36717 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36718 (__no_netlink_support): Remove conditional definition.
36719 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36720 Remove.
36721 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36722 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36723 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36724 (if_nameindex_ioctl): Remove.
36725 (if_nameindex_netlink): Do not handle __no_netlink_support.
36726 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36727 code.
36728 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36729 Remove conditional code.
36730 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36731 code.
36732 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36733 unconditional.
36734 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36735 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36736 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36737 Remove.
36738 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36739 [!__ASSUME_STD_AUXV]: Remove conditional code.
36740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36741 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36742 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36744 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36745 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36746 code.
36747 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36749 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36750 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36751 conditional code.
36752 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36754 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36755 code.
36756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36757 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36758 conditional code.
36759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36760 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36761 code unconditional.
36762 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36763 conditional code.
36764 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36765 unconditional.
36766 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36767 conditional code.
36768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36769 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36770 unconditional.
36771 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36772 conditional code.
36773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36774 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36775 code unconditional.
36776 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36777 conditional code.
36778 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36779 unconditional.
36780 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36781 conditional code.
36782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36783 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36784 code unconditional.
36785 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36786 conditional code.
36787 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36788 unconditional.
36789 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36790 conditional code.
36791
842a39cd
AS
367922012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36793
36794 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36795 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36796 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36797 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36798 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36799 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36800 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36801 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36802 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36803 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36804 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36805 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36806 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36807 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36808 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36809 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36810 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36811 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36812 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36813 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36814 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36815 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36816 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36817
84b3fd84
FW
368182012-07-25 Florian Weimer <fweimer@redhat.com>
36819
36820 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
36821 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36822 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36823 Introduce __libc_secure_getenv.
0c7936d5
FW
36824 * stdlib/Versions (2.17): Add secure_getenv
36825 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36826 * stdlib/secure-getenv.c: Rename __secure_getenv to
36827 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36828 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
36829 * stdlib/tst-secure-getenv.c: New.
36830 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
36831 * manual/startup.texi (Environment Access): Document
36832 secure_getenv.
84b3fd84
FW
36833 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36834 __libc_secure_getenv.
36835 * inet/ruserpass.c (ruserpass): Likewise.
36836 * malloc/mtrace.c (mtrace): Likewise.
36837 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 36838 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
36839 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36840 * sysdeps/posix/tempname.c: Likewise. Evaluate
36841 HAVE_SECURE_GETENV.
36842 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 36843 __secure_getenv to __libc_secure_getenv.
84b3fd84 36844 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
36845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36846 Likewise.
36847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36848 Likewise.
36849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36851 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 36856
56e49b71
JM
368572012-07-25 Joseph Myers <joseph@codesourcery.com>
36858
36859 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36860 (struct La_i86_retval): Likewise.
36861 (struct La_x86_64_regs): Likewise.
36862 (struct La_x86_64_retval): Likewise.
36863 (struct La_x32_regs): Likewise.
36864 (struct La_x32_retval): Likewise.
36865 (struct La_ppc32_regs): Likewise.
36866 (struct La_ppc32_retval): Likewise.
36867 (struct La_ppc64_regs): Likewise.
36868 (struct La_ppc64_retval): Likewise.
36869 (struct La_sh_regs): Likewise.
36870 (struct La_sh_retval): Likewise.
36871 (struct La_s390_32_regs): Likewise.
36872 (struct La_s390_32_retval): Likewise.
36873 (struct La_s390_64_regs): Likewise.
36874 (struct La_s390_64_retval): Likewise.
36875 (struct La_sparc32_regs): Likewise.
36876 (struct La_sparc32_retval): Likewise.
36877 (struct La_sparc64_regs): Likewise.
36878 (struct La_sparc64_retval): Likewise.
36879 (struct audit_ifaces): Remove architecture-specific pltenter and
36880 pltexit members.
36881 * sysdeps/i386/ldsodefs.h: New file.
36882 * sysdeps/powerpc/ldsodefs.h: Likewise.
36883 * sysdeps/s390/ldsodefs.h: Likewise.
36884 * sysdeps/sh/ldsodefs.h: Likewise.
36885 * sysdeps/sparc/ldsodefs.h: Likewise.
36886 * sysdeps/x86_64/ldsodefs.h: Likewise.
36887
354691b7
MP
368882012-07-25 Marek Polacek <polacek@redhat.com>
36889
36890 [BZ #6808]
36891 * math/libm-test.inc (yn_test): Add another test.
36892 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36893 to ERANGE when the result is +-Inf.
36894 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36895 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36896 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36897 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36898
bf9e2071
JM
368992012-07-24 Joseph Myers <joseph@codesourcery.com>
36900
36901 * conform/data/time.h-data (NULL): Use macro-constant. Require
36902 equal to 0.
36903 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36904 clock_t.
36905 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36906
57633811
TS
369072012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36908
36909 * configure.in <sysdeps resolving>: Correct printing
36910 Implies_before.
36911 * configure: Regenerate.
36912
c23c33b0
TS
369132012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36914
36915 * math/w_ilogb.c: Include <limits.h>.
36916 * math/w_ilogbl.c: Likewise.
36917
b5982523
JM
369182012-07-20 Joseph Myers <joseph@codesourcery.com>
36919
36920 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36921 va_copy. Document allowing for unavailable va_copy only as
36922 pre-C99 compatibility.
36923 * manual/string.texi (Copying and Concatenation): Use va_copy
36924 instead of __va_copy in concat example.
36925
ac4ea442
PT
369262012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36927
36928 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36929 (__sendto): Use create_address_port. Initialize APORT and deallocate
36930 it if not null.
36931
f98eafbd
PT
36932 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36933 with O_NOLINK passed to __file_name_lookup.
36934
898c7aab
PT
36935 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36936 with O_NOLINK passed to __file_name_lookup.
36937
0ced335a
PT
36938 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36939 negative N or less than NGIDS.
36940
b3404dbd
PT
36941 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36942 type to string_t. Set ERANGE as errno and return it if NAME is not big
36943 enough. Use memcpy instead of strncpy.
36944
0f48659e
JM
369452012-07-20 Joseph Myers <joseph@codesourcery.com>
36946
36947 * elf/Makefile (check-data): Remove.
36948 (localplt.data): New vpath directive.
36949 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36950 instead of $(check-data).
36951 * scripts/data/localplt-generic.data: Move to ...
36952 * sysdeps/generic/localplt.data: ... here.
36953 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36954 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36955 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36957 ... here.
36958 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36960 ... here.
36961 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36963 ... here.
36964 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36966 ... here.
36967 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36969 ... here.
36970 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36972 ... here.
36973
d37cbdaa
AZ
369742012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36975
36976 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36977 PPC32 and PPC64 files.
36978 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36979 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36980
46f85fc2
AK
369812012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36982
36983 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36984 __makecontext_ret to ...
36985 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36986 ... here and call exit if uc_link is NULL. New file.
36987 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36988 __makecontext_ret.S.
36989 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36990 __makecontext_ret to ...
36991 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36992 ... here and call exit if uc_link is NULL. New file.
36993 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36994 __makecontext_ret.S.
36995
08f43f9b
AK
369962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36997
36998 * elf/elf.h (R_390_IRELATIVE): New definition.
36999 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37000 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
37001 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37002 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37003 (elf_machine_lazy_rel): Likewise.
37004 * sysdeps/s390/dl-irel.h: New file.
37005 * sysdeps/s390/s390-64/memcpy.S: New asm code.
37006 * sysdeps/s390/s390-64/memset.S: New asm code.
37007 * sysdeps/s390/s390-64/memcmp.S: New asm code.
37008 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37009 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37010 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37011 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37012 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37013 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37014 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37015 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37016 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37017 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37018 * sysdeps/s390/s390-32/memcpy.S: New asm code.
37019 * sysdeps/s390/s390-32/memset.S: New asm code.
37020 * sysdeps/s390/s390-32/memcmp.S: New asm code.
37021
3b05db33
MP
370222012-07-17 Marek Polacek <polacek@redhat.com>
37023
37024 [BZ #14349]
37025 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37026 * sysdeps/s390/s390-64/configure.in: Likewise.
37027 * sysdeps/sparc/configure.in: Likewise.
37028 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37029 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37030 * sysdeps/i386/configure.in: Likewise.
37031 * sysdeps/x86_64/configure.in: Likewise.
37032 * sysdeps/sh/configure.in: Likewise.
37033 * sysdeps/s390/s390-32/configure: Regenerated.
37034 * sysdeps/s390/s390-64/configure: Likewise.
37035 * sysdeps/x86_64/configure: Likewise.
37036 * sysdeps/sh/configure: Likewise.
37037 * sysdeps/powerpc/powerpc64/configure: Likewise.
37038 * sysdeps/powerpc/powerpc32/configure: Likewise.
37039 * sysdeps/sparc/configure: Likwise.
37040 * sysdeps/i386/configure: Likewise.
37041
a66877c6
MP
37042 * elf/dl-open.c: Comment fixes.
37043
cfc82fd8
JM
370442012-07-17 Joseph Myers <joseph@codesourcery.com>
37045
bd29910a
JM
37046 * Makefile [CXX] (check-data): Remove.
37047 [CXX] (c++-types.data): New vpath directive.
37048 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37049 vpath. Do not allow for C++ type data being missing.
37050 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37051 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37052 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37053 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37054 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37055 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37056 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37058 ... here.
37059 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37061 ... here.
37062 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37064 ... here.
37065 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37067 ... here.
37068 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37070 ... here.
37071 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37073 ... here.
37074 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37076 ... here.
37077 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37079
cfc82fd8
JM
37080 * elf/tls-macros.h (TLS_LE): Move architecture-specific
37081 definitions to architecture-specific files.
37082 (TLS_IE): Likewise.
37083 (TLS_LD): Likewise.
37084 (TLS_GD): Likewise.
37085 * sysdeps/i386/tls-macros.h: New file.
37086 * sysdeps/powerpc/tls-macros.h: Likewise.
37087 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37088 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37089 * sysdeps/sh/tls-macros.h: Likewise.
37090 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37091 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37092 * sysdeps/x86_64/tls-macros.h: Likewise.
37093
f7db3170
TS
370942012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37095
07cbfc23
TS
37096 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37097 zero value for regular exit case.
37098
f7db3170
TS
37099 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37100 (__start_context): Preserve zero value for regular exit case.
37101
dc97c227
TS
371022012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37103 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37104
37105 * manual/setjmp.texi (setcontext): Clarify normal process
37106 termination when uc_link is the null pointer.
37107 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37108 exit call.
37109
d0cd7d02
AS
371102012-07-16 Andreas Schwab <schwab@linux-m68k.org>
37111
37112 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37113 preprocessor. Test for each exception mask separately.
37114
dd318934
AJ
371152012-07-16 Andreas Jaeger <aj@suse.de>
37116
37117 * po/ru.po: Update from translation team.
37118
8048311a
JM
371192012-07-15 Joseph Myers <joseph@codesourcery.com>
37120
37121 * conform/data/string.h-data (NULL): Use macro-constant. Require
37122 equal to 0.
37123 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37124 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37125 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37126 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37127 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37128
b637d46e
AJ
371292012-07-13 Andreas Jaeger <aj@suse.de>
37130
37131 * po/fr.po: Update from translation team.
37132
541428fe
MP
371332012-07-12 Marek Polacek <polacek@redhat.com>
37134
37135 [BZ #14173]
37136 * math/libm-test.inc (yn_test): Add test for BZ #14173.
37137 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37138 loop condition.
37139
ec332e94
JM
371402012-07-12 Joseph Myers <joseph@codesourcery.com>
37141
37142 [BZ #13717]
37143 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37144 Change to 2.4.1 where previously 2.4.0.
37145 * sysdeps/unix/sysv/linux/configure: Regenerated.
37146 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37147 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37148 version.
37149 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37150 (__ASSUME_AT_CLKTCK): Remove.
37151 (__ASSUME_AT_PAGESIZE): Likewise.
37152 (__ASSUME_AT_XID): Likewise.
37153 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37154 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37155 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37156 unconditionally.
37157 (HAVE_AUX_PAGESIZE): Likewise.
37158 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37159 [__ASSUME_AT_CLKTCK]: Make code unconditional.
37160 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37161
7b6e99be
JB
371622012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
37163
37164 [BZ #14307]
37165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37166 the temporary buffer used to invoke __gethostbyname2_r,
37167 __gethostbyaddr_r and gethostbyname4_r to make room for struct
37168 host_data / struct gaih_addrtuple.
37169 * resolv/nss_dns/dns-host.c (global scope): Move definition of
37170 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37171 header file nss/nsswitch.h.
37172 * nss/nsswitch.h (global scope): Add definition of implementation
37173 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37174 resolv/nss_dns/dns-host.c).
37175
608404eb
AJ
371762012-07-11 Andreas Jaeger <aj@suse.de>
37177
37178 * po/fr.po: Update from translation team.
37179
71220aca
AJ
37180 * po/sv.po: Update from translation team
37181 * po/fr.po: Another update from translation team.
37182
28cfe843
AZ
371832012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37184
37185 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37186 for subnormals or multiply small sinh result by itself.
37187 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37189
6b90f981
DM
371902012-07-11 David S. Miller <davem@davemloft.net>
37191
37192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37193
c6825772
AS
371942012-07-10 Andreas Schwab <schwab@linux-m68k.org>
37195
37196 [BZ #14347]
37197 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37198 (INTERNAL_MARK): Shift it here.
37199
7b8e0d49
MP
372002012-07-10 Marek Polacek <polacek@redhat.com>
37201
37202 [BZ #14151]
37203 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
37204 libc_cv_asm_global_directive with .globl.
37205 * configure: Regenerated.
37206 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37207 with .globl.
37208 * sysdeps/i386/configure: Regenerated.
37209 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37210 with .globl.
37211 * sysdeps/x86_64/configure: Regenerated.
37212 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37213 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37214 * elf/tst-unique2mod2.c: Likewise.
37215 * elf/tst-unique2mod1.c: Likewise.
37216 * elf/tst-unique1mod2.c: Likewise.
37217 * elf/tst-unique1mod1.c: Likewise.
37218 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37219 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37220 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37221 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37222 * sysdeps/mach/sysdep.h: Likewise.
37223 * sysdeps/i386/sysdep.h: Likewise.
37224 * sysdeps/i386/i386-mcount.S: Likewise.
37225 * sysdeps/x86_64/_mcount.S: Likewise.
37226 * sysdeps/x86_64/sysdep.h: Likewise.
37227 * sysdeps/sh/_mcount.S: Likewise.
37228 * sysdeps/sh/sysdep.h: Likewise.
37229 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37230 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37231 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37232 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37233 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37234 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37235 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37236 * locale/localeinfo.h: Likewise.
37237 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37238 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37239
6c55cda3
RM
372402012-07-09 Roland McGrath <roland@hack.frob.com>
37241
37242 [BZ #14336]
37243 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37244 system".
37245 * manual/message.texi (The Uniforum approach): Likewise.
37246 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37247 (glibc iconv Implementation): Likewise.
37248
638a572e
JM
372492012-07-09 Joseph Myers <joseph@codesourcery.com>
37250
37251 [BZ #14337]
37252 * math/s_clog.c (__clog): Avoid scaling a value down where that
37253 could result in underflow.
37254 * math/s_clog10.c (__clog10): Likewise.
37255 * math/s_clog10f.c (__clog10f): Likewise.
37256 * math/s_clog10l.c (__clog10l): Likewise.
37257 * math/s_clogf.c (__clogf): Likewise.
37258 * math/s_clogl.c (__clogl): Likewise.
37259 * math/libm-test.inc (clog_test): Add more tests.
37260 (clog10_test): Likewise.
37261 * sysdeps/i386/fpu/libm-test-ulps: Update.
37262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37263
261f4859
AS
372642012-07-06 Andreas Schwab <schwab@linux-m68k.org>
37265
0abaf3e4
AS
37266 [BZ #14283]
37267 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37268 by 7 not 8 to examine high bit of fractional part.
37269
261f4859
AS
37270 [BZ #14042]
37271 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37272 for call to __mcount_internal.
37273 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37274 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37275 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37276
f17ac40d
JM
372772012-07-06 Joseph Myers <joseph@codesourcery.com>
37278
9ad63c23
JM
37279 [BZ #14154]
37280 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37281 approximation for values within 0x1p-13f of an odd multiple of
37282 pi/4.
37283 * math/libm-test.inc (tan_test): Do not allow spurious underflow
37284 exception. Add more tests.
37285 * sysdeps/i386/fpu/libm-test-ulps: Update.
37286
f17ac40d
JM
37287 [BZ #6778]
37288 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37289 inputs and return -1 for them. Do not check for +Inf in case not
37290 reachable for +Inf.
37291 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37292 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37293 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37294 and return -1 for them. Do not check for +Inf in case not
37295 reachable for +Inf.
37296 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37297 define.
37298 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37299 and return -1 for them. Do not check for +Inf in case not
37300 reachable for +Inf.
37301 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
37302 spurious underflow.
37303 * sysdeps/i386/fpu/libm-test-ulps: Update.
37304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37305
fb21f89b
MF
373062012-07-06 Mike Frysinger <vapier@gentoo.org>
37307
37308 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37309
cdfe2c5e
JM
373102012-07-05 Joseph Myers <joseph@codesourcery.com>
37311
37312 [BZ #14157]
37313 [BZ #14331]
37314 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37315 could result in spurious underflow. Scale down values above
37316 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37317 * math/s_csqrtf.c (__csqrtf): Likewise.
37318 * math/s_csqrtl.c (__csqrtl): Likewise.
37319 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
37320 spurious underflow.
37321 * sysdeps/i386/fpu/libm-test-ulps: Update.
37322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37323
70d35b67
AS
373242012-07-04 Andreas Schwab <schwab@linux-m68k.org>
37325
704bc459
AS
37326 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37327 xopen-msg.sed.
37328 * catgets/xopen-msg.awk: New file.
37329 * catgets/xopen-msg.sed: Removed.
37330
70d35b67
AS
37331 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37332 po2text.sed.
37333 * intl/po2test.awk: New file.
37334 * intl/po2test.sed: Removed.
37335
ca61cf32
JM
373362012-07-04 Joseph Myers <joseph@codesourcery.com>
37337
37338 [BZ #14328]
37339 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37340 or multiply small sinh result by itself.
37341 * math/s_ctanf.c (__ctanf): Likewise.
37342 * math/s_ctanh.c (__ctanh): Likewise.
37343 * math/s_ctanhf.c (__ctanhf): Likewise.
37344 * math/s_ctanhl.c (__ctanhl): Likewise.
37345 * math/s_ctanl.c (__ctanl): Likewise.
37346 * math/libm-test.inc (ctan_test_tonearest): New function.
37347 (ctan_test_towardzero): Likewise.
37348 (ctan_test_downward): Likewise.
37349 (ctan_test_upward): Likewise.
37350 (ctanh_test_tonearest): Likewise.
37351 (ctanh_test_towardzero): Likewise.
37352 (ctanh_test_downward): Likewise.
37353 (ctanh_test_upward): Likewise.
37354 (main): Call these new functions.
37355 * sysdeps/i386/fpu/libm-test-ulps: Update.
37356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37357
ca48a46a
MF
373582012-07-03 Mike Frysinger <vapier@gentoo.org>
37359
37360 * .gitignore: Delete /ports entry.
37361
9d63d37d
AJ
373622012-07-03 Andreas Jaeger <aj@suse.de>
37363
37364 * po/bg.po: Update from translation team.
37365 * po/cs.po: Likewise.
37366 * po/de.po: Likewise.
37367 * po/hr.po: Likewise.
37368 * po/nl.pl: Likewise.
37369 * po/pl.po: Likewise.
37370 * po/vi.po: Likewise.
37371
370ca3d2
JM
373722012-07-03 Joseph Myers <joseph@codesourcery.com>
37373
95f5a9a8
JM
37374 * Makeconfig [!+link] (+link-before-libc): New variable.
37375 [!+link] (+link-after-libc): Likewise.
37376 [!+link] (+link-tests): Likewise.
37377 [!+link] (+link): Define in terms of $(+link-before-libc) and
37378 $(+link-after-libc).
37379 [!+link-static] (+link-static-before-libc): New variable.
37380 [!+link-static] (+link-static-after-libc): Likewise.
37381 [!+link-static] (+link-static-tests): Likewise.
37382 [!+link-static] (+link-static): Define in terms of
37383 $(+link-static-before-libc) and $(+link-static-after-libc).
37384 [build-shared] (link-libc-before-gnulib): New variable.
37385 [build-shared] (link-libc-tests): Likewise.
37386 [build-shared] (link-libc): Define in terms of
37387 $(link-libc-before-gnulib).
37388 [!build-shared] (link-libc-tests): New variable.
37389 (link-libc-static-tests): New variable.
37390 [!gnulib] (gnulib-arch): New variable.
37391 [!gnulib] (gnulib-tests): Likewise.
37392 [!gnulib] (static-gnulib-arch): Likewise.
37393 [!gnulib] (static-gnulib-tests): Likewise.
37394 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
37395 Define with "=" instead of ":=".
37396 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
37397 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
37398 * Rules (binaries-all-notests): New variable.
37399 (binaries-all-tests): Likewise.
37400 (binaries-static-notests): Likewise.
37401 (binaries-static-tests): Likewise.
37402 (binaries-all): Define using $(binaries-all-notests) and
37403 $(binaries-all-tests).
37404 (binaries-static): Define using $(binaries-static-notests) and
37405 $(binaries-static-tests).
37406 (binaries-shared-tests): New variable.
37407 (binaries-shared-notests): Likewise.
37408 (binaries-shared): Remove variable.
37409 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37410 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37411 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37412 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37413 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37414 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37415 * elf/Makefile (sln-modules): New variable.
37416 (extra-objs): Add $(sln-modules:=.o).
37417 (ldconfig-modules): Add static-stubs.
37418 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37419 * elf/static-stubs.c: New file.
37420
7a845b2c
JM
37421 [BZ #14283]
37422 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37423 by 7 not 8 to examine high bit of fractional part. Use volatile
37424 variables when splitting into final array of floats if
37425 __FLT_EVAL_METHOD__ != 0.
37426 * math/libm-test.inc (cos_test): Add another test.
37427 (sin_test): Likewise.
37428 * sysdeps/i386/fpu/libm-test-ulps: Update.
37429
e2283f38
JM
37430 [BZ #14273]
37431 * math/libm-test.inc (cosh_test): Add more tests.
37432
370ca3d2
JM
37433 * version.h (RELEASE): Set to "development".
37434 (VERSION): Set to "2.16.90".
37435
ee9247c3
CD
374362012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
37437
37438 * NEWS: Update copyright. Remove last-updated date.
37439 Mention math library bug fixes and timezone data changes.
37440 * README: Mention GNU/Hurd, x32, and HPPA support status.
37441
4648c381
TS
374422012-06-28 Thomas Schwinge <thomas@codesourcery.com>
37443
37444 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37445
aac78a43
AJ
374462012-06-27 Andreas Jaeger <aj@suse.de>
37447
37448 * manual/contrib.texi (Contributors): Add Samuel Thibault.
37449
ed3dbfad
AJ
374502012-06-25 Andreas Jaeger <aj@suse.de>
37451
37452 * sysdeps/s390/fpu/libm-test-ulps: Update.
37453
4d0ee855
AS
374542012-06-23 Andreas Schwab <schwab@linux-m68k.org>
37455 Thomas Schwinge <thomas@codesourcery.com>
37456
37457 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37458 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37459 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37460 fanotify_mark.
37461
af1bce34
TS
374622012-06-23 Thomas Schwinge <thomas@codesourcery.com>
37463
a9fa33ba
TS
37464 * sysdeps/mach/start.c: Remove file.
37465 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37466 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37467 * sysdeps/sh/init-first.c: Likewise.
37468
58f902b8
TS
37469 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37470 registers for frame unwinding purposes, add CFI directives.
37471 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37472 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37473 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37474 Likewise.
37475
1518f58b
TS
37476 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37477 __fortify_fail returning.
37478 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37479
db9b5059
TS
37480 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37481 sysdeps/sh/____longjmp_chk.S.
37482 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37483 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37484 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37485 (gen-as-const-headers): Append sigaltstack-offsets.sym.
37486
967705fe
TS
37487 * sysdeps/sh/abort-instr.h: New file.
37488 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37489 process in case exit returns.
37490
a9def8c4
TS
37491 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37492 initialize the GOT register before use.
37493
2a649725
TS
37494 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37495 calculation of ARGC > 4.
37496
af1bce34
TS
37497 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37498 meaningful names to some local labels.
37499
d230f50a
KK
375002012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37501 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37502
37503 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37504 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37505 (__arch_compare_and_exchange_val_16_acq): Likewise.
37506 (__arch_compare_and_exchange_val_32_acq): Likewise.
37507 (atomic_exchange_and_add): Fix gUSA sequence.
37508 (atomic_add): Likewise.
37509 (atomic_add_negative): Likewise.
37510 (atomic_add_zero): Likewise.
37511 (atomic_bit_test_set): Likewise.
37512
0479b305
AS
375132012-06-22 Andreas Schwab <schwab@redhat.com>
37514
37515 [BZ #13579]
37516 * include/link.h (struct link_map): Add l_free_initfini.
37517 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37518 l_initfini.
37519 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37520 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37521 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37522 set.
37523
0e3933b9
CD
375242012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37525
37526 * configure.in: Use AC_LANG_SOURCE.
37527 * configure: Regenerate.
37528
4248b1b1
RM
375292012-06-22 Roland McGrath <roland@hack.frob.com>
37530
37531 * configure.in (libc_cv_localstatedir): New substituted variable.
37532 * configure: Regenerated.
37533 * config.make.in (localstatedir): New variable, substituted from
37534 libc_cv_localstatedir.
37535 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37536 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37537 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37538 * sysdeps/gnu/configure: Regenerated.
37539
006dd861
JL
375402012-06-21 Jeff Law <law@redhat.com>
37541
37542 [BZ #14277]
37543 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37544 free. Simplify list management for _LIBC case.
37545
79662d42
JM
375462012-06-21 Joseph Myers <joseph@codesourcery.com>
37547
b7abb4bf
JM
37548 [BZ #14273]
37549 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37550 Clear sign bit of 64-bit integer value before comparing against
37551 overflow value.
37552
79662d42
JM
37553 * sysdeps/mach/configure: Regenerated.
37554
1f150908
L
375552012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37556
37557 [BZ #14278]
37558 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37559
28363bbf
JL
375602012-06-21 Jeff Law <law@redhat.com>
37561
37562 [BZ #13882]
37563 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37564 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 37565 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
37566 * elf/dl-open.c (dl_open_worker): Likewise.
37567
09615db4
CD
375682012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37569
37570 * scripts/list-sources.sh: Scan PORTS for translations.
37571 * po/libc.pot: Regenerated.
37572
2174c6dd
AJ
375732012-06-21 Andreas Jaeger <aj@suse.de>
37574
37575 [BZ #12194]
37576 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37577 warning.
37578 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37579 * bits/byteswap-16.h (__bswap_16): Likewise.
37580 * bits/byteswap.h (__bswap_constant_16): Likewise.
37581
3ee947b1
L
375822012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37583
37584 [BZ #14117]
a2f34833
L
37585 * sysdeps/i386/fpu_control.h: Removed.
37586 * sysdeps/x86_64/fpu_control.h: Moved to ...
37587 * sysdeps/x86/fpu_control.h: Here.
37588
3ee947b1
L
37589 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37590 (_FPU_SETCW): Likewise.
37591
ed1825f8
L
375922012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37593
25f1282a
L
37594 [BZ #14117]
37595 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37596 * sysdeps/x86/fpu/bits/mathinline.h: This.
37597 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37598
ed1825f8
L
37599 [BZ #14050]
37600 [BZ #14117]
37601 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37602 functions if __x86_64__ is defined.
37603
36d54b74
CLT
376042012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37605
37606 * string/endian.h: Add !__ASSEMBLER__ condition for including
37607 conversion interfaces.
37608
10285c21
JM
376092012-06-15 Joseph Myers <joseph@codesourcery.com>
37610
37611 [BZ #14241]
37612 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37613 of ABS(x) in calculating zero to negative powers other than odd
37614 integers.
37615 * math/libm-test.inc (pow_test): Add more tests.
37616
06c5abbd
AJ
376172012-06-15 Andreas Jaeger <aj@suse.de>
37618
37619 * manual/contrib.texi (Contributors): Update entry of Liubov
37620 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37621 Machado Filho.
37622
a3aeac40
CH
376232012-06-15 Cyril Hrubis <metan@ucw.cz>
37624
37625 * string/string.h: Add __wur to GNU version of strerror_r.
37626
49bdf4c1
L
376272012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37628
37629 [BZ #14229]
37630 * string/Makefile (tests): Add tst-strtok_r.
37631 * string/tst-strtok_r.c: New file.
37632 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37633 RAX_LP/RDX_LP on SAVE_PTR.
37634
834f9b8d
RM
376352012-06-14 Roland McGrath <roland@hack.frob.com>
37636
37637 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37638
75fa1921
JM
376392012-06-14 Joseph Myers <joseph@codesourcery.com>
37640
37641 * libm_test.inc (csqrt_test): Allow more spurious underflow
37642 exceptions.
37643 (j0_test): Likewise.
37644 (j1_test): Likewise.
37645 (y0_test): Likewise.
37646 (y1_test): Likewise.
37647
771766df
CD
376482012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37649
37650 * po/Makefile (libc.pot): Use UTF-8 charset.
37651
ceb9e56b
PP
376522012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37653
37654 [BZ #14210]
37655 Suppress sign-conversion warning from FD_SET.
37656 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37657 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37658 not unsigned long int.
37659 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37660
ddb28975
L
376612012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37662
37663 [BZ #14050]
37664 [BZ #14117]
37665 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37666 __extern_always_inline instead of __extern_inline.
37667 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37668 (__signbit): Likewise.
37669 (__signbitl): Support C++ namespace.
37670 (lrintf): New inline function.
37671 (lrint): Likewise.
37672 (llrintf): Likewise.
37673 (llrint): Likewise.
37674 (fmaxf): Likewise.
37675 (fmax): Likewise.
37676 (fminf): Likewise.
37677 (fmin): Likewise.
37678 (rint): Likewise.
37679 (rintf): Likewise.
37680 (ceil): Likewise.
37681 (ceilf): Likewise.
37682 (floor): Likewise.
37683 (floorf): Likewise.
37684 (nearbyint): Likewise.
37685 (nearbyintf): Likewise.
37686
d7b4fb26
TS
376872012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37688
37689 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37690 non-default versions.
37691
eb55f5c2
RM
376922012-06-11 Roland McGrath <roland@hack.frob.com>
37693
37694 [BZ #14218]
37695 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37696
366af02c
TS
376972012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37698
99ff6e5c
TS
37699 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37700 (FE_UPWARD, FE_DOWNWARD): Don't define.
37701 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37702 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37703
366af02c
TS
37704 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37705 reading it.
37706 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37707 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37708
793ea851
KK
377092012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37710
37711 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37712 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37713 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37714 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37715
a728a38f
L
377162012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37717
37718 [BZ #14117]
c08010c7
L
37719 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37720 * sysdeps/i386/fpu/Implies: New file.
37721 * sysdeps/x86_64/fpu/Implies: Likewise.
37722 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37723 * sysdeps/x86/fpu/bits/fenv.h: This.
37724
a728a38f
L
37725 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37726 __SSE_MATH__.
37727
6e230d11
SP
377282012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37729
37730 [BZ #14134]
37731 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37732 character 0xffff that matches the last element of the
37733 conversion table.
37734
1b671feb
AZ
377352012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37736
37737 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37738 fmodl commit.
37739
6043738b
AZ
377402012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37741
37742 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37743 values higher than 25.6283.
37744
34ae0b32
AZ
377452012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37746
37747 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37748 subnormal exponent extraction and add some __builtin_expect.
37749 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37750 Fix for subnormal mantissa calculation.
37751
1214ec8f
MF
377522012-06-04 Mike Frysinger <vapier@gentoo.org>
37753
37754 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37755 cpu2 is -1 and errno is not ENOSYS.
37756
f3d1f93c
L
377572012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37758
37759 [BZ #14117]
0e4a3cd7
L
37760 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37761 * sysdeps/x86/bits/string.h: This.
37762 * sysdeps/x86_64/bits/string.h: Removed.
37763
6704c645
L
37764 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37765 if not compiling for x86-64, but compiling for >= i486.
37766
48495318
L
37767 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37768 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37769
14adcbfc
L
37770 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37771 New macro from Linux kernel 3.4.0.
37772 (FP_XSTATE_MAGIC2): Likewise.
37773 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37774 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37775 (struct _fpx_sw_bytes): New struct.
37776 (struct _xsave_hdr): Likewise.
37777 (struct _ymmh_state): Likewise.
37778 (struct _xstate): Likewise.
37779
68e408ab
L
37780 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37781 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37782 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37783 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37784 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37785 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37786
f3d1f93c
L
37787 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37788 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37789 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37790 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37791 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37792 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37793
d9dc34cd
TMQMF
377942012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37795
37796 [BZ #13743]
37797 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37798 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37799 (sysdep_headers): Include sys/platform/ppc.h.
37800 * sysdeps/powerpc/test-gettimebase.c: Test for
37801 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37802 * manual/Makefile (appendices): Include platform.texi.
37803 * manual/contrib.texi (Contributors): Update @node pointers.
37804 * manual/maint.texi (Maintenance): Likewise.
37805 (Platform): New node.
37806 * manual/platform.texi: New file. Document the new features.
37807
4af3879c
SP
378082012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37809 Jakub Jelinek <jakub@redhat.com>
37810
37811 [BZ #14188]
37812 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37813 where __builtin_expect is unavailable.
37814
2fd6ff13
DM
378152012-06-03 David S. Miller <davem@davemloft.net>
37816
37817 * stdlib/longlong.h: Updated from GCC.
37818
173f7220
AS
378192012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37820
37821 [BZ #14042]
37822 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37823 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37824 __mcount_internal.
37825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37826 (GLIBC_2.16): Likewise.
37827
f34a1c6f
L
378282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37829
37830 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37831
88a4576f
JM
378322012-06-01 Joseph Myers <joseph@codesourcery.com>
37833
ea32bcdd
JM
37834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37835 (default-abi): New variable.
37836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37837 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37838 variable.
37839 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37840 Likewise.
37841 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37842 Likewise.
37843 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37844 Likewise.
37845
88a4576f
JM
37846 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37847 definition. Document in comment.
37848
402fe938
DM
378492012-06-01 David S. Miller <davem@davemloft.net>
37850
37851 * stdlib/longlong.h: Updated from GCC.
37852
3553723f
L
378532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37854
37855 [BZ #14117]
3bd872c4
L
37856 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37857 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37858 sys/debugreg.h sys/io.h here.
37859 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37860 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37861 sys/io.h.
37862 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37863 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37864 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37865 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37866 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37867 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37868
3553723f
L
37869 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37870 Define only if __x86_64__ is defined.
37871
4842e4fe
JM
378722012-06-01 Joseph Myers <joseph@codesourcery.com>
37873
c5bfe3d5
JM
37874 [BZ #14048]
37875 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37876 Use int64_t for variable i.
37877 * math/libm-test.inc (fmod_test): Add more tests.
37878
4842e4fe
JM
37879 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37880 z computation is not scheduled after fetestexcept.
37881 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37882 Use math_force_eval instead of asm to ensure calculation scheduled
37883 before exception test.
37884 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37885 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37886
efb73488
AJ
378872012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37888
37889 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37890 computation is not scheduled after fetestexcept.
37891
29bcce7c
L
378922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37893
37894 [BZ #14117]
37895 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37896 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37897
73a68f94
AZ
378982012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37899
37900 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37901 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37902
67b6df78
L
379032012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37904
edf2933a 37905 [BZ #14117]
ebc64a18
L
37906 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37907 <bits/wordsize.h>.
37908 (__WCHAR_MIN): Support __WORDSIZE == 64.
37909 (__WCHAR_MAX): Likewise.
37910
edf2933a
L
37911 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37912 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37913
57c6cf40
L
37914 [BZ #14183]
37915 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37916 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37917
67b6df78 37918 [BZ #14117]
8eb6281e
L
37919 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37920 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37921
aac639f4
L
37922 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37923 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37924
67b6df78
L
37925 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37926 Defined to 1 if __x86_64__ isn't defined.
37927 (_STAT_VER_LINUX_OLD): New.
37928 (st_atime): Remove duplicate.
37929 (st_mtime): Likewise.
37930 (st_ctime): Likewise.
37931
1c2cfe81
DM
379322012-05-31 David S. Miller <davem@davemloft.net>
37933
37934 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37935 entries.
37936
5be8418c
AS
379372012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37938
e7725326
AS
37939 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37940 gen-libm-test.pl.
37941
5be8418c
AS
37942 [BZ #14132]
37943 * elf/dl-reloc.c: Include <_itoa.h>.
37944 (_dl_reloc_bad_type): Remove use of INTUSE.
37945 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37946 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37947 * stdio-common/psiginfo.c (psiginfo): Likewise.
37948 * stdio-common/psignal.c (psignal): Likewise.
37949 * string/strsignal.c (strsignal): Likewise.
37950 * include/signal.h (_sys_siglist): Declare hidden proto.
37951 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37952 INTVARDEF with libc_hidden_data_def.
37953 * stdio-common/itoa-udigits.c: Likewise.
37954 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37955 (_itoa_lower_digits_internal): Remove declaration.
37956 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37957 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37958 (_sys_sigabbrev_internal): Remove aliases.
37959 (_sys_siglist): Define hidden alias.
37960
507352f1
MT
379612012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37962
37963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37964 bits/sysctl.h.
37965
42bbb1c3
L
379662012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37967
37968 [BZ #14117]
6bd784b6
L
37969 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37970 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37971
8bca20f0
L
37972 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37973 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37974 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37975 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37976 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37977 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37978
f9e890a9
L
37979 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37980 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37981 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37982
471101a1
L
37983 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37984 with __addr.
37985 (insw): Likewise.
37986 (insl): Likewise.
37987 (outsb): Likewise.
37988 (outsw): Likewise.
37989 (outsl): Likewise.
37990
6451c862
L
37991 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37992 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37993 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37994
a254b8c9
L
37995 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37996 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37997 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37998 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37999 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38000 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38001
b8dfdd92
L
38002 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38003 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38004
578cd270
L
38005 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38006 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38007
de662f5f
L
38008 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38009 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38010 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38011
25653439
L
38012 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38013 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38014 to ...
38015 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38016
6bad24a0
L
38017 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38018 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38019 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38020
42bbb1c3
L
38021 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38022 for x86-64.
38023 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38024
2d10d547
JM
380252012-05-31 Joseph Myers <joseph@codesourcery.com>
38026
38027 * math/math.h (M_El): Use two more decimal places.
38028 (M_LOG2El): Likewise.
38029 (M_LOG10El): Likewise.
38030 (M_LN2l): Likewise.
38031 (M_LN10l): Likewise.
38032 (M_PIl): Likewise.
38033 (M_PI_2l): Likewise.
38034 (M_PI_4l): Likewise.
38035 (M_1_PIl): Likewise.
38036 (M_2_PIl): Likewise.
38037 (M_2_SQRTPIl): Likewise.
38038 (M_SQRT2l): Likewise.
38039 (M_SQRT1_2l): Likewise.
38040
f230c29b
DM
380412012-05-31 David S. Miller <davem@davemloft.net>
38042
38043 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38044 values between float registers.
38045 * sysdeps/sparc/sparc64/memset.S: Likewise.
38046 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38047
fed806c3
MF
380482012-05-31 Mike Frysinger <vapier@gentoo.org>
38049
38050 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38051 -D_FORTIFY_SOURCE=1.
38052 (CPPFLAGS-tst-longjmp_chk.c): Define.
38053 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38054 (CPPFLAGS-tst-longjmp_chk2.c): Define.
38055 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38056 CFLAGS-tst-wchar-h.c.
38057
30917259
MP
380582012-05-31 Marek Polacek <polacek@redhat.com>
38059
38060 [BZ #14132]
38061 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38062 __endmntent_internal): Remove declaration.
38063 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38064 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38065 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38066
1c58d5dc
DM
380672012-05-30 David S. Miller <davem@davemloft.net>
38068
38069 * sysdeps/sparc/sparc32/soft-fp/q_util.c
38070 (___Q_simulate_exceptions): Use real FP ops rather than writing
38071 into the %fsr.
38072 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38073 Likewise.
38074
7dc00e0d
L
380752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38076
38077 [BZ #14117]
0bd53985
L
38078 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38079 * sysdeps/x86/bits/xtitypes.h: This.
38080
3a257e66
L
38081 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38082 * sysdeps/x86/bits/wordsize.h: This.
38083
62f62904
L
38084 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38085 * sysdeps/x86/bits/huge_vall.h: This.
38086
404fe9d9
L
38087 * sysdeps/i386/bits/select.h: Removed.
38088 * sysdeps/x86_64/bits/select.h: Renamed to ...
38089 * sysdeps/x86/bits/select.h: This.
38090
d48d0446
L
38091 * sysdeps/i386/bits/setjmp.h: Removed.
38092 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38093 * sysdeps/x86/bits/setjmp.h: This.
38094
7dc00e0d
L
38095 * sysdeps/i386/bits/mathdef.h: Removed.
38096 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38097 * sysdeps/x86/bits/mathdef.h: This.
38098
03277f8f
AS
380992012-05-30 Andreas Schwab <schwab@linux-m68k.org>
38100
38101 [BZ #14132]
38102 * include/sys/socket.h (__connect_internal)
38103 (__libc_sa_len_internal): Remove declaration.
38104 (__connect, __libc_sa_len): Declare hidden_proto.
38105 (SA_LEN): Remove use of INTUSE.
38106 * socket/connect.c: Add libc_hidden_def.
38107 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38108 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38109 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38110 alias.
38111 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38112 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38113 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38114 of adding _internal alias.
38115
13764867
L
381162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38117
38118 [BZ #14117]
6bd97696
L
38119 * sysdeps/i386/bits/link.h: Removed.
38120 * sysdeps/i386/bits/linkmap.h: Likewise.
38121 * sysdeps/x86_64/bits/link.h: Renamed to ...
38122 * sysdeps/x86/bits/link.h: This.
38123 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38124 * sysdeps/x86/bits/linkmap.h: This.
38125
f726f0bb
L
38126 * sysdeps/i386/bits/endian.h: Removed.
38127 * sysdeps/x86_64/bits/endian.h: Renamed to ...
38128 * sysdeps/x86/bits/endian.h: This.
38129
13764867
L
38130 * sysdeps/i386/bits/byteswap.h: Removed.
38131 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38132 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38133 * sysdeps/x86/bits/byteswap.h: This.
38134 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38135 * sysdeps/x86/bits/byteswap-16.h: This.
38136 * sysdeps/i386/Implies: Add x86.
38137 * sysdeps/x86_64/Implies: Likewise.
38138
ae251b0b
DM
381392012-05-30 David S. Miller <davem@davemloft.net>
38140
38141 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38142 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38143 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38144 (FP_TRAPPING_EXCEPTIONS): Define.
38145 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38146 (FP_TRAPPING_EXCEPTIONS): Define.
38147 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38148 subnormals only when inexact has been signalled or underflow
38149 exceptions are enabled.
38150 (_FP_PACK_CANONICAL): Likewise.
38151
d5c90867
L
381522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38153
38154 [BZ #14183]
38155 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38156 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38157
63f1549e
RH
381582012-05-30 Richard Henderson <rth@twiddle.net>
38159
8d8f2279
RH
38160 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38161 with #ifndef NOT_IN_libc.
38162
63f1549e
RH
38163 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
38164 marked to avoid plt entry.
38165
0ab0291b
L
381662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38167
38168 [BZ #14112]
38169 * Makeconfig (default-abi): New macro.
38170 (abi-includes): Likewise.
38171 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
38172 $(abi-$(default-abi)-lib-soname) for soname if defined.
38173 ($(common-objpfx)gnu/lib-names.stmp): Generate from
38174 abi-variants.
38175 * Makefile (installed-stubs): Likewise.
38176 * include/stubs-biarch.h: Removed.
38177 * scripts/lib-names.awk: Only handle one library at a time.
38178 * scripts/soversions.awk: Remove WORDSIZE support.
38179 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38180 entries.
38181 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38182 Removed.
38183 (syscall-list-default-condition): Likewise.
38184 (syscall-list-default-condition): Likewise.
38185 (syscall-list-includes): Likewise.
38186 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38187 syscall-list-* with abi-*. Handle undefined abi-variants.
38188 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38189 * sysdeps/unix/sysv/linux/i386/Implies: New file.
38190 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38191 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38192 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38193 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38194 Removed.
38195 (syscall-list-32-options): Likewise.
38196 (syscall-list-32-condition): Likewise.
38197 (syscall-list-64-options): Likewise.
38198 (syscall-list-64-condition): Likewise.
38199 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38200 macro.
38201 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38202 Renamed to ...
38203 (abi-*): This.
38204 (abi-64-ld-soname): New macro.
38205 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38206 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38207 Renamed to ...
38208 (abi-*): This.
38209 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38210 * sysdeps/x86_64/x32/shlib-versions: Likewise.
38211
4da0431d
JM
382122012-05-30 Joseph Myers <joseph@codesourcery.com>
38213
3a85279c
JM
38214 * sysdeps/unix/sysv/linux/kernel-features.h
38215 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38216 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38217 include <kernel-features.h>.
38218 [!__NR_ftruncate64]: Remove conditional code.
38219 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38220 [__NR_ftruncate64]: Make code unconditional.
38221 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38222 * sysdeps/unix/sysv/linux/truncate64.c: Do not
38223 include <kernel-features.h>.
38224 [!__NR_ftruncate64]: Remove conditional code.
38225 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38226 [__NR_ftruncate64]: Make code unconditional.
38227 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38229 include <kernel-features.h>.
38230 [!__NR_ftruncate64]: Remove conditional code.
38231 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38232 [__NR_ftruncate64]: Make code unconditional.
38233 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38235 include <kernel-features.h>.
38236 [!__NR_ftruncate64]: Remove conditional code.
38237 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38238 [__NR_ftruncate64]: Make code unconditional.
38239 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38240
4da0431d
JM
38241 * configure.in (libc_cv_fpie): Weaken to a compile test using
38242 LIBC_TRY_CC_OPTION.
38243 * configure: Regenerated.
38244
11ef492c
AK
382452012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38246
38247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38251 Refreshed.
38252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38258 Refreshed.
38259
d66ef399
DM
382602012-05-27 David S. Miller <davem@davemloft.net>
38261
38262 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38263 (___Q_zero): New.
38264 (__Q_simulate_exceptions): Return void. Change to simulate
38265 exceptions by writing into the %fsr.
38266 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38267 (__Qp_handle_exceptions): Likewise.
38268 (numbers): Delete.
38269 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38270 __Qp_handle_exceptions.
38271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38272 __Qp_handle_exceptions.
38273 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38274 as unused and give dummy FP_RND_NEAREST initializer.
38275 (FP_INHIBIT_RESULTS): Define.
38276 (___Q_simulate_exceptions): Update declaration.
38277 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38278 formatting.
38279 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38280 as unused and give dummy FP_RND_NEAREST initializer.
38281 (__Qp_handle_exceptions): Update declaration.
38282 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38283 formatting.
38284
04fb54b5
TS
382852012-05-27 Thomas Schwinge <thomas@codesourcery.com>
38286
38287 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38288 the temporary FPU control word.
38289 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38290 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38291 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38292 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38293 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38294 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38295 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38296 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38297 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38298 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38299 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38300
3f99608f
KK
383012012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38302
38303 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38304 fields.
38305
65a4de4e
CLT
383062012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
38307
38308 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38309 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38310 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38311 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38312 Likewise.
38313 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38314 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38315 Likewise.
38316
15749d40
UD
383172012-05-27 Ulrich Drepper <drepper@gmail.com>
38318
38319 * po/h.po: Update from translation team.
38320
25dbcb27
AS
383212012-05-26 Andreas Schwab <schwab@linux-m68k.org>
38322
3d3f8e55
AS
38323 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38324
25dbcb27
AS
38325 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38326 handling of denormals.
38327 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38328 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38329 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38330 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38331 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38332 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38333 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38334 Likewise.
38335
7ad47a80 383362012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
38337
38338 [BZ #14152]
38339 * math/libm-test.inc (fma_test): Don't always expect underflow
38340 exception.
38341
9c6ea9fa
SP
383422012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38343
38344 [BZ #12416]
38345 * elf/tst-execstack.c: Include stackinfo.h.
38346 (do_test): Adjust test case to ensure that pthread_getattr_np
38347 behaviour remains the same after marking stack executable.
38348
a8239222
JM
383492012-05-25 Joseph Myers <joseph@codesourcery.com>
38350
38351 * sysdeps/unix/sysv/linux/kernel-features.h
38352 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38353 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38354 kernel-features.h.
38355 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38356 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38357 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38358 kernel-features.h.
38359 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38360 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38361
918b5606
L
383622012-05-25 H.J. Lu <hongjiu.lu@intel.com>
38363
38364 * configure.in: Define the default includes to being none.
38365 * configure: Regenerated.
38366
3a097cc7
RM
383672012-05-25 Roland McGrath <roland@hack.frob.com>
38368
8422c9a5
RM
38369 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38370 * sysdeps/x86_64/setjmp.S: Likewise.
38371 * sysdeps/i386/bsd-setjmp.S: Likewise.
38372 * sysdeps/i386/bsd-_setjmp.S: Likewise.
38373 * sysdeps/i386/setjmp.S: Likewise.
38374 * sysdeps/i386/__longjmp.S: Likewise.
38375 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38376 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38377
3a097cc7
RM
38378 * include/stap-probe.h: New file.
38379 * configure.in: Handle --enable-systemtap.
38380 * configure: Regenerated.
38381 * config.h.in (USE_STAP_PROBE): New #undef.
38382 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38383 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38384 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38385
21708942
JM
383862012-05-25 Joseph Myers <joseph@codesourcery.com>
38387
38388 [BZ #13717]
38389 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38390 to 2.4.0 where earlier.
38391 * sysdeps/unix/sysv/linux/configure: Regenerated.
38392 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38393 <kernel-features.h>.
38394 [__ASSUME_32BITUIDS]: Make code unconditional.
38395 [!__ASSUME_32BITUIDS]: Remove conditional code.
38396 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38397 <kernel-features.h>.
38398 [__ASSUME_32BITUIDS]: Make code unconditional.
38399 [!__ASSUME_32BITUIDS]: Remove conditional code.
38400 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38401 [__ASSUME_32BITUIDS]: Make code unconditional.
38402 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38403 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38404 <kernel-features.h>.
38405 [__ASSUME_32BITUIDS]: Make code unconditional.
38406 [!__ASSUME_32BITUIDS]: Remove conditional code.
38407 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38408 <kernel-features.h>.
38409 [__ASSUME_32BITUIDS]: Make code unconditional.
38410 [!__ASSUME_32BITUIDS]: Remove conditional code.
38411 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38412 <kernel-features.h>.
38413 [__ASSUME_32BITUIDS]: Make code unconditional.
38414 [!__ASSUME_32BITUIDS]: Remove conditional code.
38415 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38416 <kernel-features.h>.
38417 [__ASSUME_32BITUIDS]: Make code unconditional.
38418 [!__ASSUME_32BITUIDS]: Remove conditional code.
38419 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38420 <kernel-features.h>.
38421 [__ASSUME_32BITUIDS]: Make code unconditional.
38422 [!__ASSUME_32BITUIDS]: Remove conditional code.
38423 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38424 <kernel-features.h>.
38425 [__ASSUME_32BITUIDS]: Make code unconditional.
38426 [!__ASSUME_32BITUIDS]: Remove conditional code.
38427 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38428 <kernel-features.h>.
38429 [__ASSUME_32BITUIDS]: Make code unconditional.
38430 [!__ASSUME_32BITUIDS]: Remove conditional code.
38431 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38432 <kernel-features.h>.
38433 [__ASSUME_32BITUIDS]: Make code unconditional.
38434 [!__ASSUME_32BITUIDS]: Remove conditional code.
38435 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38436 <kernel-features.h>.
38437 [__ASSUME_32BITUIDS]: Make code unconditional.
38438 [!__ASSUME_32BITUIDS]: Remove conditional code.
38439 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38440 <kernel-features.h>.
38441 [__ASSUME_32BITUIDS]: Make code unconditional.
38442 [!__ASSUME_32BITUIDS]: Remove conditional code.
38443 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38444 <kernel-features.h>.
38445 [__NR_setresgid] (__setresgid): Do not declare.
38446 [__ASSUME_32BITUIDS]: Make code unconditional.
38447 [!__ASSUME_32BITUIDS]: Remove conditional code.
38448 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38449 <kernel-features.h>.
38450 [__NR_setresuid] (__setresuid): Do not declare.
38451 [__ASSUME_32BITUIDS]: Make code unconditional.
38452 [!__ASSUME_32BITUIDS]: Remove conditional code.
38453 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38454 <kernel-features.h>.
38455 [__ASSUME_32BITUIDS]: Make code unconditional.
38456 [!__ASSUME_32BITUIDS]: Remove conditional code.
38457 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38458 <kernel-features.h>.
38459 [__ASSUME_32BITUIDS]: Make code unconditional.
38460 [!__ASSUME_32BITUIDS]: Remove conditional code.
38461 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38462 <kernel-features.h>.
38463 [__ASSUME_32BITUIDS]: Make code unconditional.
38464 [!__ASSUME_32BITUIDS]: Remove conditional code.
38465 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38466 <kernel-features.h>.
38467 [__ASSUME_32BITUIDS]: Make code unconditional.
38468 [!__ASSUME_32BITUIDS]: Remove conditional code.
38469 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38470 <kernel-features.h>.
38471 [__ASSUME_32BITUIDS]: Make code unconditional.
38472 [!__ASSUME_32BITUIDS]: Remove conditional code.
38473 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38474 <kernel-features.h>.
38475 [__ASSUME_32BITUIDS]: Make code unconditional.
38476 [!__ASSUME_32BITUIDS]: Remove conditional code.
38477 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38478 <kernel-features.h>.
38479 [__ASSUME_32BITUIDS]: Make code unconditional.
38480 [!__ASSUME_32BITUIDS]: Remove conditional code.
38481 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38482 <kernel-features.h>.
38483 [__ASSUME_32BITUIDS]: Make code unconditional.
38484 [!__ASSUME_32BITUIDS]: Remove conditional code.
38485 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38486 <kernel-features.h>.
38487 [__ASSUME_32BITUIDS]: Make code unconditional.
38488 [!__ASSUME_32BITUIDS]: Remove conditional code.
38489 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38490 <kernel-features.h>.
38491 [__ASSUME_32BITUIDS]: Make code unconditional.
38492 [!__ASSUME_32BITUIDS]: Remove conditional code.
38493 * sysdeps/unix/sysv/linux/kernel-features.h
38494 (__ASSUME_SETRESUID_SYSCALL): Remove.
38495 (__ASSUME_SETRESGID_SYSCALL): Likewise.
38496 (__ASSUME_32BITUIDS): Likewise.
38497 (__ASSUME_LDT_WORKS): Likewise.
38498 (__ASSUME_O_DIRECTORY): Likewise.
38499 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38500 architecture but not kernel version.
38501 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38502 (__ASSUME_MMAP2_SYSCALL): Likewise.
38503 (__ASSUME_STAT64_SYSCALL): Likewise.
38504 (__ASSUME_IPC64): Likewise.
38505 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38506 <kernel-features.h>.
38507 [__ASSUME_32BITUIDS]: Make code unconditional.
38508 [!__ASSUME_32BITUIDS]: Remove conditional code.
38509 * sysdeps/unix/sysv/linux/opendir.c: Do not include
38510 <kernel-features.h>.
38511 [__ASSUME_O_DIRECTORY]: Make code unconditional.
38512 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38513 132096]: Remove conditional code.
38514 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38515 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38516 <kernel-features.h>.
38517 [__ASSUME_32BITUIDS]: Make code unconditional.
38518 [!__ASSUME_32BITUIDS]: Remove conditional code.
38519 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38520 <kernel-features.h>.
38521 [__ASSUME_32BITUIDS]: Make code unconditional.
38522 [!__ASSUME_32BITUIDS]: Remove conditional code.
38523 * sysdeps/unix/sysv/linux/setegid.c: Do not include
38524 <kernel-features.h>.
38525 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38526 unconditional.
38527 (__setresgid): Do not declare.
38528 [__ASSUME_32BITUIDS]: Make code unconditional.
38529 [!__ASSUME_32BITUIDS]: Remove conditional code.
38530 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38531 <kernel-features.h>.
38532 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38533 unconditional.
38534 (__setresuid): Do not declare.
38535 [__ASSUME_32BITUIDS]: Make code unconditional.
38536 [!__ASSUME_32BITUIDS]: Remove conditional code.
38537 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38538 <kernel-features.h>.
38539 [__ASSUME_32BITUIDS]: Make code unconditional.
38540 [!__ASSUME_32BITUIDS]: Remove conditional code.
38541 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38542 <kernel-features.h>.
38543 [__ASSUME_32BITUIDS]: Make code unconditional.
38544 [!__ASSUME_32BITUIDS]: Remove conditional code.
38545
a386f1cc
RH
385462012-05-25 Richard Henderson <rth@twiddle.net>
38547
38548 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38549 dl_hwcap to ifunc resolver.
38550 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38551 elf_ifunc_invoke.
38552 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38553 dl_hwcap to ifunc resolver.
38554 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38555
b6550497
JM
385562012-05-24 Joseph Myers <joseph@codesourcery.com>
38557
38558 [BZ #14153]
38559 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38560 for |x| <= 2**-26, not 2**-57.
38561 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38562 exception.
38563
b0bc23a1
JL
385642012-05-24 Jeff Law <law@redhat.com>
38565
38566 * stdio-common/Makefile (tests): Add bug25.
38567 * stdio-common/bug25.c: New test.
38568
347c92e9
L
385692012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38570
38571 [BZ #13576]
38572 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38573 multiple of MALLOC_ALIGNMENT in size.
38574 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38575
6bcc8b3f
JM
385762012-05-24 Joseph Myers <joseph@codesourcery.com>
38577
38578 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38579 Require >= 256.
38580 (FILENAME_MAX): Use macro-int-constant.
38581 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38582 (_IOFBF): Use macro-int-constant.
38583 (_IOLBF): Likewise.
38584 (_IONBF): Likewise.
38585 (SEEK_CUR): Likewise.
38586 (SEEK_END): Likewise.
38587 (SEEK_SET): Likewise.
38588 (TMP_MAX): Likewise.
38589 (EOF): Use macro-int-constant. Require < 0.
38590 (NULL): Use macro-constant. Require == 0.
38591 (stdin): Require type to be FILE *.
38592 (stdout): Likewise.
38593 (stderr): Likewise.
38594 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38595 macro-int-constant.
38596 (EXIT_SUCCESS): Likewise.
38597 (NULL): Use macro-constant. Require == 0.
38598 (RAND_MAX): Use macro-int-constant.
38599 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38600 [C99-based standards] (strtof): Require function.
38601 [C99-based standards] (strtold): Likewise.
38602 [C99-based standards] (strtoll): Likewise.
38603 [C99-based standards] (strtoull): Likewise.
38604 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38605 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38606 [ISO || ISO99 || ISO11] (math.h): Likewise.
38607 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38608 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38609 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38610
d18ea0c5
AS
386112012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38612
38613 [BZ #14132]
56d25bb8
AS
38614 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38615 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38616 * intl/dgettext.c (DCGETTEXT): Likewise.
38617 * intl/gettext.c (DCGETTEXT): Likewise.
38618 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38619 * posix/regex_internal.h (gettext): Likewise.
38620 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38621 Remove declaration.
38622 * include/argz.h (__argz_count_internal)
38623 (__argz_stringify_internal): Remove declaration.
38624 (__argz_count, __argz_stringify): Declare hidden proto.
38625 * intl/dcgettext.c: Remove use of INTDEF.
38626 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38627 * string/argz-stringify.c: Likewise.
38628 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38629 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38630 Declare hidden proto.
d18ea0c5
AS
38631 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38632 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38633 Declare hidden proto.
38634 * include/stdio.h (__asprintf_internal): Don't declare.
38635 (__asprintf): Don't define as macro. Declare hidden proto.
38636 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38637 (__fsetlocking): Declare hidden proto.
38638 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38639 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38640 hidden proto.
38641 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38642 (_IO_setlinebuf): Remove use of INTUSE.
38643 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38644 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38645 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38646 Remove declaration.
38647 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38648 (_IO_do_flush): Remove use of INTUSE.
38649 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38650 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38651 (_IO_adjust_column, _IO_least_wmarker)
38652 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38653 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38654 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38655 (_IO_default_doallocate, _IO_wdefault_doallocate)
38656 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38657 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38658 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38659 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38660 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38661 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38662 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38663 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38664 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38665 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38666 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38667 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38668 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38669 proto.
38670 (_IO_flush_all_internal, _IO_adjust_column_internal)
38671 (_IO_default_uflow_internal, _IO_default_finish_internal)
38672 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38673 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38674 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38675 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38676 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38677 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38678 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38679 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38680 (_IO_file_close_internal, _IO_file_close_it_internal)
38681 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38682 (_IO_file_init_internal, _IO_file_attach_internal)
38683 (_IO_file_fopen_internal, _IO_file_read_internal)
38684 (_IO_file_sync_internal, _IO_file_seek_internal)
38685 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38686 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38687 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38688 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38689 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38690 (_IO_list_all_internal, _IO_link_in_internal)
38691 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38692 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38693 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38694 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38695 (_IO_do_write_internal, _IO_padn_internal)
38696 (_IO_getline_info_internal, _IO_getline_internal)
38697 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38698 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38699 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38700 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38701 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38702 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38703 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38704 with libc_hidden_ver, remove use of INTUSE.
38705 * libio/genops.c: Likewise.
38706 * libio/freopen.c: Likewise.
38707 * libio/freopen64.c: Likewise.
38708 * libio/iofclose.c: Likewise.
38709 * libio/iofdopen.c: Likewise.
38710 * libio/iofflush.c: Likewise.
38711 * libio/iofflush_u.c: Likewise.
38712 * libio/iofgets.c: Likewise.
38713 * libio/iofgets_u.c: Likewise.
38714 * libio/iofopen.c: Likewise.
38715 * libio/iofopncook.c: Likewise.
38716 * libio/iofread.c: Likewise.
38717 * libio/iofread_u.c: Likewise.
38718 * libio/ioftell.c: Likewise.
38719 * libio/iofwrite.c: Likewise.
38720 * libio/iogetline.c: Likewise.
38721 * libio/iogets.c: Likewise.
38722 * libio/iogetwline.c: Likewise.
38723 * libio/iopadn.c: Likewise.
38724 * libio/iopopen.c: Likewise.
38725 * libio/ioseekoff.c: Likewise.
38726 * libio/ioseekpos.c: Likewise.
38727 * libio/iosetbuffer.c: Likewise.
38728 * libio/iosetvbuf.c: Likewise.
38729 * libio/ioungetc.c: Likewise.
38730 * libio/ioungetwc.c: Likewise.
38731 * libio/iovdprintf.c: Likewise.
38732 * libio/iovsprintf.c: Likewise.
38733 * libio/iovsscanf.c: Likewise.
38734 * libio/memstream.c: Likewise.
38735 * libio/obprintf.c: Likewise.
38736 * libio/oldfileops.c: Likewise.
38737 * libio/oldiofclose.c: Likewise.
38738 * libio/oldiofdopen.c: Likewise.
38739 * libio/oldiofopen.c: Likewise.
38740 * libio/oldiopopen.c: Likewise.
38741 * libio/oldstdfiles.c: Likewise.
38742 * libio/putc.c: Likewise.
38743 * libio/setbuf.c: Likewise.
38744 * libio/setlinebuf.c: Likewise.
38745 * libio/stdfiles.c: Likewise.
38746 * libio/strops.c: Likewise.
38747 * libio/vasprintf.c: Likewise.
38748 * libio/vscanf.c: Likewise.
38749 * libio/vsnprintf.c: Likewise.
38750 * libio/vswprintf.c: Likewise.
38751 * libio/wfiledoalloc.c: Likewise.
38752 * libio/wfileops.c: Likewise.
38753 * libio/wgenops.c: Likewise.
38754 * libio/wmemstream.c: Likewise.
38755 * libio/wstrops.c: Likewise.
38756 * libio/__fpurge.c: Likewise.
38757 * libio/__fsetlocking.c: Likewise.
38758 * assert/assert.c: Likewise.
38759 * debug/fgets_chk.c: Likewise.
38760 * debug/fgets_u_chk.c: Likewise.
38761 * debug/fread_chk.c: Likewise.
38762 * debug/fread_u_chk.c: Likewise.
38763 * debug/gets_chk.c: Likewise.
38764 * debug/obprintf_chk.c: Likewise.
38765 * debug/vasprintf_chk.c: Likewise.
38766 * debug/vdprintf_chk.c: Likewise.
38767 * debug/vsnprintf_chk.c: Likewise.
38768 * debug/vsprintf_chk.c: Likewise.
38769 * malloc/mtrace.c: Likewise.
38770 * misc/error.c: Likewise.
38771 * misc/syslog.c: Likewise.
38772 * stdio-common/asprintf.c: Likewise.
38773 * stdio-common/fxprintf.c: Likewise.
38774 * stdio-common/getw.c: Likewise.
38775 * stdio-common/isoc99_fscanf.c: Likewise.
38776 * stdio-common/isoc99_scanf.c: Likewise.
38777 * stdio-common/isoc99_vfscanf.c: Likewise.
38778 * stdio-common/isoc99_vscanf.c: Likewise.
38779 * stdio-common/isoc99_vsscanf.c: Likewise.
38780 * stdio-common/printf-prs.c: Likewise.
38781 * stdio-common/printf_fp.c: Likewise.
38782 * stdio-common/printf_fphex.c: Likewise.
38783 * stdio-common/printf_size.c: Likewise.
38784 * stdio-common/putw.c: Likewise.
38785 * stdio-common/scanf.c: Likewise.
38786 * stdio-common/sprintf.c: Likewise.
38787 * stdio-common/tmpfile.c: Likewise.
38788 * stdio-common/vfprintf.c: Likewise.
38789 * stdio-common/vfscanf.c: Likewise.
38790 * stdlib/strfmon_l.c: Likewise.
38791 * sunrpc/openchild.c: Likewise.
38792 * sunrpc/xdr_stdio.c: Likewise.
38793 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38794 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38795
d6c33fda
RM
387962012-05-24 Roland McGrath <roland@hack.frob.com>
38797
c1487492
RM
38798 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38799
38800 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38801 in the third column, to generate for the shared library an IFUNC
38802 that uses _dl_vdso_vsym.
38803 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38804 * Makeconfig (object-suffixes-noshared): New variable.
38805
38806 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38807 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38808 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38809 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38810
d6c33fda
RM
38811 [BZ #14132]
38812 * include/sys/time.h (__gettimeofday): Remove macro.
38813 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38814 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38815 Remove INTDEF.
38816 (__gettimeofday): Add libc_hidden_def.
38817 (gettimeofday): Add libc_hidden_weak.
38818 * sysdeps/mach/gettimeofday.c: Likewise.
38819 * sysdeps/posix/gettimeofday.c: Likewise.
38820 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38821 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38822 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38823 (__gettimeofday_internal): Remove strong_alias.
38824 (__gettimeofday): Add libc_hidden_def.
38825 (gettimeofday): Add libc_hidden_weak.
38826 * sysdeps/unix/syscalls.list (gettimeofday):
38827 Remove __gettimeofday_internal alias.
38828
b5a2bbe6
L
388292012-05-24 Daniel Jacobowitz <drow@false.org>
38830 H.J. Lu <hongjiu.lu@intel.com>
38831
38832 [BZ #12495]
38833 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38834 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38835 (largebin_index_32_big): New.
38836 (largebin_index): Use it for 16-byte alignment.
38837 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38838 correction with front_misalign.
38839
cfba4fda
L
388402012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38841
7f907421
L
38842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38844 Likewise.
38845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38846 Likewise.
38847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38848 Likewise.
38849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38850 Likewise.
38851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38852 Likewise.
38853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38854 Likewise.
38855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38856 Likewise.
38857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38858 Likewise.
38859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38860 Likewise.
38861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38862 Likewise.
38863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38864 Likewise.
38865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38866 Likewise.
38867
cfba4fda
L
38868 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38869 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38870
80bad0cc
JM
388712012-05-24 Joseph Myers <joseph@codesourcery.com>
38872
7a25eb06
JM
38873 [BZ #10846]
38874 [BZ #14036]
38875 * math/libm-test.inc (exp_test): Add test from bug 14036.
38876 (pow_test): Add test from bug 10846.
38877
795405f9
JM
38878 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38879 and other flags.
38880 (special_function): Do not include flags in test name.
38881 (parse_args): Likewise.
38882 * sysdeps/i386/fpu/libm-test-ulps: Update.
38883 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38884 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38885 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38887
80bad0cc
JM
38888 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38889 exceptions.
38890 * math/libm-test.inc ("Philosophy"): Update comment about
38891 exception testing.
38892 (UNDERFLOW_EXCEPTION): New macro.
38893 (UNDERFLOW_EXCEPTION_OK): Likewise.
38894 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38895 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38896 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38897 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38898 (INVALID_EXCEPTION_OK): Update value.
38899 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38900 (OVERFLOW_EXCEPTION_OK): Likewise.
38901 (IGNORE_ZERO_INF_SIGN): Likewise.
38902 (test_exceptions): Handle underflow exceptions.
38903 (acos_test): Update for underflow exception expectations.
38904 (cexp_test): Likewise.
38905 (clog_test): Likewise.
38906 (clog10_test): Likewise.
38907 (csqrt_test): Likewise.
38908 (ctan_test): Likewise.
38909 (ctanh_test): Likewise.
38910 (exp_test): Likewise.
38911 (exp10_test): Likewise.
38912 (exp2_test): Likewise.
38913 (expm1_test): Likewise.
38914 (fma_test): Likewise.
38915 (j0_test): Likewise.
38916 (jn_test): Likewise.
38917 (nexttoward_test): Likewise.
38918 (pow_test): Likewise.
38919 (scalbn_test): Likewise.
38920 (scalbln_test): Likewise.
38921 (tan_test): Likewise.
38922 (y1_test): Likewise.
38923 * sysdeps/i386/fpu/libm-test-ulps: Update.
38924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38925
9e0e3d0b
DM
389262012-05-23 David S. Miller <davem@davemloft.net>
38927
38928 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38929 (__libc_sigaction): Remove unused local variables.
38930
ccd0a08f
L
389312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38932
38933 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38934
62bdf9a6
PE
389352012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38936
f8591f80
PE
38937 mktime: avoid signed integer overflow
38938 * time/mktime.c (__mktime_internal): Do not mishandle the case
38939 where diff == INT_MIN.
38940
94c7d826
PE
38941 mktime: simplify computation of average
38942 * time/mktime.c (ranged_convert): Use new time_t_avg function
38943 instead of rolling our own (probably-slower) code.
38944
ce73d683
PE
38945 mktime: do not assume signed right shift propagates sign bit
38946 * time/mktime.c (isdst_differ): New static function.
38947 (__mktime_internal): No need to normalize tm_isdst now.
38948 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38949 tm_isdst values.
38950
72a22e59
PE
38951 mktime: merge another wrapv change from gnulib
38952 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38953 from some compilers.
38954
68605433
PE
38955 mktime: remove incorrect attempt at unusual arithmetics
38956 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38957 The code didn't really work on such machines anyway.
38958 (TYPE_MINIMUM): Assume two's complement.
38959 (twos_complement_arithmetic): Verify that long_int and time_t
38960 are two's complement (or unsigned, in the latter case).
38961
03cf7fe3
PE
38962 mktime: check signed shifts on long_int and time_t, too
38963 * time/mktime.c (SHR): Check that shifts work as desired
38964 on the types long_int and time_t too, as SHR is used on
38965 such types.
38966
f04dfbc2
PE
38967 mktime: do not assume 'long' is wide enough
38968 * time/mktime.c (verify): Move decl up.
38969 (long_int): New type.
38970 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38971 to remove assumption in the code that 'long' is wide enough to
38972 store year values. This assumption is not true on x32 and on
38973 some non-glibc platforms.
38974
62bdf9a6
PE
38975 mktime: merge wrapv change from gnulib
38976 * time/mktime.c (WRAPV): New macro.
38977 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38978 (guess_time_tm, __mktime_internal): Do not assume that signed
38979 integer overflow wraps around; modern compilers generate code
38980 where this assumption is no longer valid.
38981
5e292e4f
L
389822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38983
38984 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38985 Replace "jmp L(pseudo_end)" with "ret".
38986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38987 Likewise.
38988
8caf8c87
AJ
389892012-05-23 Andreas Jaeger <aj@suse.de>
38990
38991 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38992 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38993
1a09dc56
AJ
389942012-05-23 Andreas Jaeger <aj@suse.de>
38995 Maximilian Attems <max@stro.at>
38996
38997 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38998 New macros.
38999
1c87aba0
L
390002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39001
39002 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39003 code so that pseudo_end is just ret and the stack pointer is
39004 correct also for static library in error case.
39005
40e45bd5
JM
390062012-05-23 Joseph Myers <joseph@codesourcery.com>
39007
c2670533
JM
39008 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39009 move to syscalls.list.
39010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39014
40e45bd5
JM
39015 * manual/install.texi (Running make install): Do not mention Linux
39016 kernel version for which pt_chown is not needed.
39017 (Linux): Do not mention problems with nscd with 2.0 kernels.
39018 * INSTALL: Regenerated.
39019
be08eda5
AJ
390202012-05-23 Andreas Jaeger <aj@suse.de>
39021
39022 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39023 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39024 macro.
39025 * sysdeps/unix/sysv/linux/s390/bits/mman.h
39026 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39027 * sysdeps/unix/sysv/linux/sh/bits/mman.h
39028 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39029 * sysdeps/unix/sysv/linux/i386/bits/mman.h
39030 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39031 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39032 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39033 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39034 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39035 * sysdeps/unix/sysv/linux/bits/in.h
39036 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39037
a6a056bb
RM
390382012-05-22 Roland McGrath <roland@hack.frob.com>
39039
39040 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39041 (PREPARE_VERSION): Just use assert instead, it will be elided
39042 under [NDEBUG] anyway.
39043
c9009328
L
390442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39045
39046 * sysdeps/unix/sysv/linux/Makefile: Include
39047 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 39048 (sysdep_routines): Remove sysctl.
c9009328
L
39049 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39050 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39051 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39052 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39053 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39054
73338355
AJ
390552012-05-22 Andreas Jaeger <aj@suse.de>
39056
39057 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39058 that pseudo_end is just ret and the stack pointer is correct also
39059 for static library in error case.
39060
d44638b0
PP
390612012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39062
39063 [BZ #14122]
39064 * nss/nsswitch.c (defconfig_entries): New variable.
39065 (__nss_database_lookup): Don't leak defconfig entries.
39066 (nss_parse_service_list): Don't leak on error paths.
39067 (free_database_entries): New function.
39068 (free_defconfig): New function.
39069 (free_mem): Move common code to free_database_entries.
39070
31a39bd8
L
390712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39072
da0331a8
L
39073 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39074 Add arch_prctl.
39075 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39076
31a39bd8
L
39077 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39078 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39080 New macro.
39081 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39082 (INTERNAL_SYSCALL_TYPES): Likewise.
39083 (LOAD_ARGS_TYPES_[1-6]): Likewise.
39084 (LOAD_REGS_TYPES_[1-6]): Likewise.
39085 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39086 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39087
45470df3
AZ
390882012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39089
39090 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39091 copysignl for GLIBC_2_0.
39092 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39093 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39094 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39095 logbl for GLIBC_2_0.
39096 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39097 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39098
98a61bcb
L
390992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39100
a4f6e481
L
39101 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39102 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39103
f63d5db6
L
39104 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39105 Use "neg %eax".
39106
98a61bcb
L
39107 * time/mktime.c: Update copyright years.
39108
95770f14
PE
391092012-05-22 Paul Eggert <eggert@cs.ucla.edu>
39110
6226efbd
PE
39111 mktime: merge comment-quoting-style change from gnulib
39112 * time/mktime.c: Quote 'like this' in comments.
39113 The GNU coding standards suggest that we no longer quote `like this',
39114 as "`" and "'" are typically rendered asymmetrically nowadays.
39115 The typical gnulib style is to quote 'like this' when quoting
39116 code, and "like this" when quoting English.
39117
b99e4f78
PE
39118 * time/mktime.c (compile-command): Add "-I.".
39119
643e01e6
PE
39120 mktime: merge mktime-internal.h change from gnulib
39121 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39122
2554247d
PE
39123 mktime: merge time_r change from gnulib
39124 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39125
826dd0ab
PE
39126 mktime: merge DEBUG change from gnulib
39127 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39128 case system <time.h> has a #define.
39129
bd83aabe
PE
39130 mktime: merge <sys/types.h> change from gnulib
39131 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39132 since <time.t> is now guaranteed to define time_t.
39133
95770f14
PE
39134 mktime: merge HAVE_CONFIG_H change from gnulib
39135 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39136
5e1a27a9
L
391372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39138
0e44a77e
L
39139 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39140 Use "neg %eax".
39141
5e1a27a9
L
39142 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39143 __rlim_t cast.
39144 (struct rusage): Use anonymous union to pad each field to
39145 __syscall_slong_t.
39146
46259bec
DM
391472012-05-21 David S. Miller <davem@davemloft.net>
39148
39149 * Makefules (o-iterator): Remove .s cases.
39150 (compile-command.s): Delete.
39151 (COMPILE.s): Delete.
39152 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39153
59f0c22e
JM
391542012-05-21 Joseph Myers <joseph@codesourcery.com>
39155
39156 * configure.in (libc_cv_predef_stack_protector): Only consider
39157 "foobar" and "__stack_chk_fail" lines in libc_undefs.
39158 * configure: Regenerated.
39159
20c07380
L
391602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39161
bbb3154b
L
39162 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39163 New macro. Use R*LP on int and pointer.
39164 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
39165 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39166 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
39167 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39168
20c07380
L
39169 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39170 [__WORDSIZE_TIME64_COMPAT32] instead of
39171 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39172 (struct utmp): Likewise.
39173 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39174 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39175 Renamed to ...
39176 (__WORDSIZE_TIME64_COMPAT32): This.
39177 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39178 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39179 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39180 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39181 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39182 (__WORDSIZE_TIME64_COMPAT32): New macro.
39183
d8d1017e
AJ
391842012-05-21 Andreas Jaeger <aj@suse.de>
39185
39186 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39187 only if [SHARED]. Add prototype for __wcschr_ia32.
39188
6c7fb145
RM
391892012-05-21 Roland McGrath <roland@hack.frob.com>
39190
39191 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39192 of %rbp unmolested in the jmp_buf while mangling the low bits.
39193 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39194 unmolested high bits of %rbp while demangling the low bits.
39195 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39196
66274218
AJ
391972012-05-21 Andreas Jaeger <aj@suse.de>
39198
07c58f8f
AJ
39199 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39200 * sunrpc/svc_simple.c: Use it for registerrpc.
39201 * sunrpc/xcrypt.c: Use it for passwd2des.
39202
66274218
AJ
39203 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39204
61f65140
L
392052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39206
39207 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39208 Don't define if [__SYSCALL_WORDSIZE != 32].
39209 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39210 New macro.
39211
5fefb436
AJ
392122012-05-21 Bruno Haible <bruno@clisp.org>
39213 Andreas Jaeger <aj@suse.de>
39214
39215 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39216 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39217 inptr and inend for must_buffer_ch.
39218 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39219 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39220 * stdio-common/Makefile (tests): Remove bug15.
39221 (bug15-ENV): Remove macro.
39222 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39223 anymore.
39224
d8e272ab
AJ
392252012-05-19 Andreas Jaeger <aj@suse.de>
39226 Roland McGrath <roland@hack.frob.com>
39227
39228 * manual/contrib.texi: Completely rewritten. It contains now an
39229 alphabetical list of contributors and their contributions.
39230
4a56a162
RH
392312012-05-21 Richard Henderson <rth@twiddle.net>
39232
39233 * misc/getauxval.c (__getauxval): Use unsigned long int.
39234 * misc/sys/auxv.h: Include <sys/cdefs.h>.
39235 (getauxval): Use unsigned long int.
39236
d024d23c
L
392372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39238
39239 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39240
cbc00a03
RM
392412012-05-21 Roland McGrath <roland@hack.frob.com>
39242
39243 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39244 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39245 __alignof__ (long double).
39246
478143fa
AZ
392472012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39248
39249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39250
c7683a6d
RH
392512012-05-20 Richard Henderson <rth@twiddle.net>
39252
39253 * misc/getauxval.c: New file.
39254 * misc/sys/auxv.h: New file.
39255 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39256 (routines): Add getauxval.
39257 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39258 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39259 * elf/dl-sysdep.c (_dl_auxv): Remove.
39260 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39261 * elf/dl-support.c (_dl_auxv): New variable.
39262 (_dl_aux_init): Initialize it.
39263 * manual/startup.texi (Auxiliary Vector): New node.
39264 * sysdeps/generic/bits/hwcap.h: New file.
39265 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39266 * sysdeps/powerpc/sysdep.h: ... here. Include it.
39267 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39268 * sysdeps/sparc/sysdep.h: ... here. Include it.
39269 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39270 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
39271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39272 Update.
c7683a6d
RH
39273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39276 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39281
a6f1845d
AZ
392822012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39283
39284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39285
cbcbe830
DM
392862012-05-19 David S. Miller <davem@davemloft.net>
39287
39288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39289
e0b16cc2
JM
392902012-05-19 Joseph Myers <joseph@codesourcery.com>
39291
39292 [BZ #14123]
39293 * math/s_ccosh.c: Include <float.h>
39294 (__ccosh): Avoid internal overflow calculating sinh and cosh
39295 values before multiplying by sin and cos values.
39296 * math/s_ccoshf.c: Likewise.
39297 * math/s_ccoshl.c: Likewise.
39298 * math/s_csin.c: Likewise.
39299 * math/s_csinf.c: Likewise.
39300 * math/s_csinl.c: Likewise.
39301 * math/s_csinh.c: Likewise.
39302 * math/s_csinhf.c: Likewise.
39303 * math/s_csinhl.c: Likewise.
39304 * math/libm-test.inc (ccos_test): Add more tests.
39305 (ccosh_test): Likewise.
39306 (csin_test): Likewise.
39307 (csinh_test): Likewise.
39308 * sysdeps/i386/fpu/libm-test-ulps: Update.
39309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39310
6ad13e08
L
393112012-05-19 H.J. Lu <hongjiu.lu@intel.com>
39312
f66f0ce8
L
39313 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39314 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39315
6ad13e08
L
39316 * sysdeps/x86_64/x32/_itoa.h: Add comment.
39317
b1d072a7
JM
393182012-05-19 Joseph Myers <joseph@codesourcery.com>
39319
39320 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39321 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39322 * sysdeps/powerpc/soft-fp/Versions: Likewise.
39323 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39324 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39325 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39326 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39327 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39328 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39329 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39330 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39331 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39332 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39333 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39334 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39335 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39336 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39337 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39338 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39339 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39340 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39341 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39342 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39343 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39344 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39345 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39346 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39347 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39348 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39349 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39350 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39351
9eae47cb
AJ
393522012-05-18 Andreas Jaeger <aj@suse.de>
39353
39354 * csu/.gitignore: Delete.
39355
bb07f69f
L
393562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39357
39358 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39359 (timex): Use __syscall_slong_t.
39360
e6bdb741
AJ
393612012-05-18 Andreas Jaeger <aj@suse.de>
39362 Carlos O'Donell <carlos_odonell@mentor.com>
39363
39364 * manual/install.texi (Configuring and compiling): Update
39365 description about files modified in the source directory.
d6c33fda 39366 * INSTALL: Regenerated.
e6bdb741 39367
1b74487e
L
393682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39369
39370 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39371 value. Use "or" to set return value to -1.
39372 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39373 negate return value.
39374
a88b64b9
TMQMF
393752012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39376
57f41c40
AS
39377 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39378 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
39379 failure if the compiler has Graphite support disabled.
39380 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39381 Likewise.
57f41c40
AS
39382 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39383 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
39384 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39385 Likewise.
39386
3707636e
L
393872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39388
610b8622
L
39389 * sysdeps/x86_64/x32/_itoa.h: New file.
39390
7cd195df
L
39391 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39392 getdents system call only if kernel and user dirents have the
39393 same d_ino and d_off.
39394
94b07d20
L
39395 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39396 LLONG_MAX != LONG_MAX.
39397 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39398 (_fitoa_word): Likewise.
39399
18298070
L
39400 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39401 years.
39402 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39403 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39404 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39405
553c7ea4
L
39406 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39407 include <bits/wordsize.h>. Check __x86_64__ instead of
39408 __WORDSIZE.
39409 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39410 if __x86_64__ is defined. Use anonymous union on fpstate.
39411
3707636e
L
39412 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39413 anonymous union.
39414
b53ef01a
AS
394152012-05-18 Andreas Schwab <schwab@linux-m68k.org>
39416
37fb1dc0
AS
39417 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39418 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39419 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39420 Refer to _rtld_local_ro instead of _rtld_global_ro.
39421 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39422 Likewise.
39423 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39424 Likewise.
39425 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39426 Likewise.
39427 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39428 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39429 of _rtld_global, and rtld_progname instead of _dl_argv[0].
39430
b53ef01a
AS
39431 * sysdeps/powerpc/powerpc32/dl-machine.c
39432 (__elf_machine_runtime_setup) [PROF]: Don't reference
39433 _dl_prof_resolve.
39434
7a185db2
AJ
394352012-05-18 Andreas Jaeger <aj@suse.de>
39436
39437 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39438 function only available for GCCs before 3.4 since GCC 3.4
39439 introduced a builtin.
39440 (lrint): Likewise.
39441 (llrintf): Likewise.
39442 (llrint): Likewise.
39443 (fmaxf): Likewise.
39444 (fmax): Likewise.
39445 (fminf): Likewise.
39446 (fmin): Likewise.
39447 (rint): Likewise.
39448 (rintf): Likewise.
39449 (nearbyint): Likewise.
39450 (nearbyintf): Likewise.
39451 (ceil): Likewise.
39452 (ceilf): Likewise.
39453 (floor): Likewise.
39454 (floorf): Likewise.
39455
3e5aef87
L
394562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39457
428bd707
L
39458 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39459 on both fields and cast pointer to __syscall_ulong_t.
39460
3e5aef87
L
39461 * bits/types.h (__fsword_t): New type.
39462 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39463 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39464 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39465 (__FSWORD_T_TYPE): Likewise.
39466 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39467 (__FSWORD_T_TYPE): Likewise.
39468 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39469 (__FSWORD_T_TYPE): Likewise.
39470 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39471 (__FSWORD_T_TYPE): Likewise.
39472 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39473 __SWORD_TYPE with __fsword_t.
39474 (statfs64): Likewise.
39475
1ba7c3dc
DM
394762012-05-17 David S. Miller <davem@davemloft.net>
39477
39478 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39479
59910343
AJ
394802012-05-17 Andreas Jaeger <aj@suse.de>
39481
39482 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39483 warning.
39484
2e4c1e9e
L
394852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39486
39487 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39488
de7f5ce7
AJ
394892012-05-17 Andreas Jaeger <aj@suse.de>
39490
39491 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39492 when it is used.
39493
286abc3d
CM
394942012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39495
39496 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39497
477cc68e
L
394982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39499
39500 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39501 * sysdeps/x86_64/tst-mallocalign1.c: New file.
39502
1a0994f5
CD
395032012-05-17 Andreas Jaeger <aj@suse.de>
39504 Carlos O'Donell <carlos_odonell@mentor.com>
39505
39506 [BZ #14059]
39507 * sysdeps/x86_64/multiarch/init-arch.h
39508 (bit_YMM_Usable): Rename to...
39509 (bit_AVX_Usable): ... this.
39510 (bit_FMA4_Usable): New macro.
39511 (bit_XMM_state): New macro.
39512 (bit_YMM_state): New macro.
39513 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39514 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39515 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39516 (CPUID_OSXSAVE): New macro.
39517 (CPUID_AVX): New macro.
39518 (CPUID_FMA4): New macro.
39519 (index_YMM_Usable): Rename to...
39520 (index_AVX_Usable): ... this.
39521 (HAS_AVX): Use HAS_ARCH_FEATURE.
39522 (HAS_FMA4): Likewise.
39523 (HAS_YMM_USABLE): Remove.
39524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39525 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39526 are present.
39527 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39528 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39529 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39530 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39531 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39532
0af797de
CM
395332012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39534
39535 * math/libm-test.c: Support platforms without multiple rounding modes.
39536 * math/bug-nextafter.c: Support platforms without FP exceptions.
39537 * math/bug-nexttoward.c: Likewise.
39538 * math/test-fenv.c: Likewise.
39539 * math/test-misc.c: Likewise.
39540 * stdlib/bug-getcontext.c: Likewise.
39541
e39745ff
AJ
395422012-05-17 Andreas Jaeger <aj@suse.de>
39543
39544 * manual/examples/search.c (critter_cmp): Change signature to
39545 avoid warnings.
39546 * manual/string.texi (Collation Functions): Likewise.
39547
48970aba
L
395482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39549
39550 * bits/types.h: Fold copyright years.
39551 * bits/typesizes.h: Likewise.
39552 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39553 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39554 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39555 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39556 * time/time.h: Likewise.
39557
bedee953
PP
395582012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39559
39560 [BZ #208]
39561 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39562 in instead of returning them. Return void.
39563 (__libc_mallinfo): Accumulate over all arenas.
39564 (__malloc_stats): Adjust for change in int_mallinfo interface.
39565
61653dfb
RM
395662012-05-16 Roland McGrath <roland@hack.frob.com>
39567
30b99d79
RM
39568 [BZ #10375]
39569 * configure.in (NM): Add AC_CHECK_TOOL for it.
39570 (libc_extra_cflags): New substituted variable.
39571 Check for -fstack-protector being used implicitly.
39572 * configure: Regenerated.
39573 * config.make.in (config-extra-cflags): New variable,
39574 gets @libc_extra_cflags@.
39575 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39576
61653dfb
RM
39577 [BZ #10375]
39578 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39579 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39580 * configure: Regenerated.
39581 * config.make.in (CPPUNDEFS): New substituted variable.
39582 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39583 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39584 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39585
661768bb
L
395862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39587
39588 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39589 (mq_attr): Use __syscall_slong_t.
39590
d4261567
L
395912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39592
39593 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39594 Check __x86_64__ instead of __WORDSIZE.
39595 (_STAT_VER_LINUX): Likewise.
39596 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39597 __syscall_ulong_t and __syscall_slong_t.
39598 (stat64): Likewise.
39599
cf3ff365
L
396002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39601
39602 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39603
76cf3e4d
L
396042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39605
39606 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39607
a637753a
L
396082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39609
39610 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39611 __syscall_ulong_t.
39612
d5e05119
L
39613 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39614 include <bits/wordsize.h>. Check __x86_64__ instead of
39615 __WORDSIZE.
39616 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39617 defined.
39618 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39619
f62ee380
L
39620 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39621 include <bits/wordsize.h>. Check __x86_64__ instead of
39622 __WORDSIZE.
39623 (user_regs_struct): Use "__extension__ unsigned long long"
39624 instead of "unsigned long" if __x86_64__ is defined.
39625 (user): Likewise. Pad after pointer field if __ILP32__ is
39626 defined.
39627
4e124ced
JM
396282012-05-16 Joseph Myers <joseph@codesourcery.com>
39629
6a3951a0
JM
39630 * configure.in (makeinfo): Require version 4.5 or later. Allow
39631 versions 5 to 9.
39632 * configure: Regenerated.
39633 * manual/install.texi (texinfo): Increase version requirement to
39634 4.5 or later.
39635 * INSTALL: Regenerated.
39636
4e124ced
JM
39637 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39638
953ca31a
L
396392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39640
39641 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39642
617aca05
L
39643 * sysdeps/x86_64/x32/ffs.c: New file.
39644
5762f7ae
L
39645 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39646 __syscall_ulong_t.
39647 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39648 defined. Use __syscall_ulong_t.
39649 (shminfo): Use __syscall_ulong_t.
39650 (shm_info): Likewise.
39651
a26b6856
L
39652 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39653 __syscall_ulong_t.
39654
cb2b9ef7
L
39655 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39656 <bits/wordsize.h>.
39657 (msgqnum_t): Use __syscall_ulong_t.
39658 (msglen_t): Likewise.
39659 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39660 __syscall_ulong_t.
39661
34683bb0
L
39662 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39663 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39664
84a68786
L
39665 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39666
48baa5f1
L
39667 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39668 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39669
180be88b
L
39670 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39671 __syscall_slong_t.
39672
5e90c8ad
L
39673 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39674 include <bits/wordsize.h>. Check __x86_64__ instead of
39675 __WORDSIZE.
39676
23dfb58b
L
39677 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39678 "unsigned long long int" if __x86_64__ is defined.
39679 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39680
ce5d54b0
L
39681 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39682 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39683 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39684
13dc9eac
L
39685 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39686 <stdint.h>.
39687 (GET_PC): Cast to uintptr_t first.
39688 (GET_FRAME): Likewise.
39689 (GET_STACK): Likewise.
39690
a7895d15
L
39691 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39692 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39693 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39694 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39695 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39696 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39697 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39698 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39699 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39700 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39701 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39702 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39703 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39704 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39705 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39706 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39707 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39708 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39709 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39710 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39711 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39712 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39713 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39714 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39715 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39716 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39717 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39718 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39719 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39720
656416c9
AS
397212012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39722
5bd66283
AS
39723 * Makerules (+depfiles): Also collect depfiles from .oS in
39724 $(extra-objs).
39725 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39726 .oS, $(libnldbl-routines)).
39727
656416c9
AS
39728 * Makerules (native-compile-mkdep-flags): Define.
39729 * sunrpc/Makefile (extra-objs): Add $(addprefix
39730 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39731 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39732 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39733 calling $(make-target-directory).
39734
a46f2169
L
397352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39736
39737 * bits/types.h (__snseconds_t): Removed.
39738 * time/time.h (struct timespec): Replace __snseconds_t with
39739 __syscall_slong_t.
39740 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39741 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39742 Likewise.
39743 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39744 (__SNSECONDS_T_TYPE): Likewise.
39745 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39746 (__SNSECONDS_T_TYPE): Likewise.
39747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39748 (__SNSECONDS_T_TYPE): Likewise.
39749
6af6528b
L
397502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39751
39752 * sysdeps/mach/hurd/bits/typesizes.h
39753 (__SYSCALL_SLONG_TYPE): New macro.
39754 (__SYSCALL_ULONG_TYPE): Likewise.
39755
de986b56
L
397562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39757
39758 * bits/types.h (__syscall_slong_t): New type.
39759 (__syscall_ulong_t): Likewise.
39760
39761 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39762 (__SYSCALL_ULONG_TYPE): Likewise.
39763 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39764 (__SYSCALL_SLONG_TYPE): Likewise.
39765 (__SYSCALL_ULONG_TYPE): Likewise.
39766 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39767 (__SYSCALL_SLONG_TYPE): Likewise.
39768 (__SYSCALL_ULONG_TYPE): Likewise.
39769 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39770 (__SYSCALL_SLONG_TYPE): Likewise.
39771 (__SYSCALL_ULONG_TYPE): Likewise.
39772
85736dc7
L
397732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39774
39775 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39776 Add sigaltstack-offsets.sym.
39777 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39778 <sigaltstack-offsets.h>.
39779 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39780 longjmp_msg pointer.
39781 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39782 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39783 signal stack.
39784 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39785
cc03b296
JM
397862012-05-15 Joseph Myers <joseph@codesourcery.com>
39787
a9538892
JM
39788 * elf/stackguard-macros.h: Remove file.
39789 * sysdeps/generic/stackguard-macros.h: New file.
39790 * sysdeps/i386/stackguard-macros.h: Likewise.
39791 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39792 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39793 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39794 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39795 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39796 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39797 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39798 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39799 <elf/stackguard-macros.h>.
39800
cc03b296
JM
39801 [BZ #14109]
39802 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39803 __aligned__ in attribute.
39804 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39805 (gregset_t): Likewise.
39806
93171016
L
398072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39808
39809 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39810 * sysdeps/x86_64/64/Implies-after: Here. New file.
39811 * sysdeps/x86_64/x32/Implies-after: New file.
39812
d86813a0
L
398132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39814
39815 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39816 and access return value for _dl_profile_fixup. Use R10_LP to
39817 load frame size.
39818
2953ec75
L
398192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39820
39821 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39822
3b550e9e
L
398232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39824
39825 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39826 * sysdeps/x86_64/x32/sysdep.h: New file.
39827
eda41706
L
398282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39829
39830 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39831 * sysdeps/x86_64/setjmp.S: Likewise.
39832
9ea01d93
AZ
398332012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39834
39835 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39836 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39837 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39838 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39839 remove unused global constant.
39840
02a91938
CM
398412012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39842
39843 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39844 include of <not-cancel.h>.
39845
6540185f
RM
398462012-05-15 Roland McGrath <roland@hack.frob.com>
39847
39848 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39849
509072a0
AJ
398502012-05-15 Jeff Law <law@redhat.com>
39851 Andreas Jaeger <aj@suse.de>
39852
39853 [BZ #13594]
39854 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39855 out from...
39856 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39857 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39858 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39859 code changing __hst_map_handle.map.
39860
ba75122d
RM
398612012-05-15 Roland McGrath <roland@hack.frob.com>
39862
39863 * configure.in (sysnames): Look for Implies-before and Implies-after
39864 files.
39865 * configure: Regenerated.
39866
890d8bd8
L
398672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39868
39869 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39870 8-byte data alignment with LP_SIZE alignment.
39871
f6ee6623
L
398722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39873
39874 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39875 into R10_LP.
39876
ea2626f6
L
398772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39878
39879 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39880
085f715e
L
398812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39882
39883 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39884 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39885 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39886 Likewise.
39887 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39888
be8498fc
L
398892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39890
39891 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39892 (stackinfo_sub_sp): Likewise.
39893
70bc83b9
L
398942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39895
39896 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39897 RAX_LP.
39898
9bc0b730
L
398992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39900
39901 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39902 into R*_LP.
39903
6d2850e7
L
399042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39905
39906 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39907 sizes into R*_LP.
39908
3cb84561
L
399092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39910
39911 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39912
54e2ed81
L
399132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39914
39915 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39916 into R11_LP and load __x86_64_shared_cache_size_half into
39917 R8_LP.
39918
8a17f349
L
399192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39920
39921 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39922 R8_LP.
39923
777b1eea
AZ
399242012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39925
39926 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39927 logb for POWER7.
39928 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39929 logbf for POWER7.
39930 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39931 logbl for POWER7.
39932 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39933 powerpc32/power7/fpu/s_logb.c via #include.
39934 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39935 powerpc32/power7/fpu/s_logbf.c via #include.
39936 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39937 powerpc32/power7/fpu/s_logbl.c via #include.
39938
d20d4ac2
JM
399392012-05-15 Joseph Myers <joseph@codesourcery.com>
39940
39941 * README.libm: Remove file.
39942
6cdef1ab
L
399432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39944
39945 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39946 count for x32. Use R*_LP and omit operand-size suffix.
39947
0b254d8f
L
399482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39949
39950 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39951 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39952 * sysdeps/x86_64/x32/shlib-versions: New file.
39953
ceb809dc
RM
399542012-05-14 Roland McGrath <roland@hack.frob.com>
39955
39956 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39957 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39958 Use _dl_fatal_printf instead.
39959
37f1abd4
JM
399602012-05-14 Joseph Myers <joseph@codesourcery.com>
39961
39962 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39963 set if not set by the user. Do not allow for being unset.
39964 * sysdeps/unix/sysv/linux/configure: Regenerated.
39965
11de3a33
L
399662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39967
39968 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39969 the `q' suffix from lea and replace .quad with ASM_ADDR.
39970
e02f153a
L
399712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39972
39973 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39974 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39975 instead of $17.
39976 (PTR_DEMANGLE): Likewise.
39977
520ae0fd
L
399782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39979
39980 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39981 (LP_OP): Likewise.
39982 (ASM_ADDR): Likewise.
39983 (RAX_LP): Likewise.
39984 (RBP_LP): Likewise.
39985 (RBX_LP): Likewise.
39986 (RCX_LP): Likewise.
39987 (RDI_LP): Likewise.
39988 (RSI_LP): Likewise.
39989 (RSP_LP): Likewise.
39990 (R8_LP): Likewise.
39991 (R9_LP): Likewise.
39992 (R10_LP): Likewise.
39993 (R10_LP): Likewise.
39994 (R11_LP): Likewise.
39995 (R12_LP): Likewise.
39996 (R13_LP): Likewise.
39997 (R14_LP): Likewise.
39998 (R15_LP): Likewise.
39999
b985be81
L
400002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40001
40002 * sysdeps/x86_64/x32/dl-machine.h: New file.
40003
6a4888ff
AJ
400042012-05-14 Andreas Jaeger <aj@suse.de>
40005
40006 * manual/Makefile (subdir): Remove export of subdir.
40007 (all): Remove target.
40008 (.PHONY): Remove all from list.
40009 (mkinstalldirs): Remove.
40010 (.PHONY): Remove installdirs from list.
40011 ($(inst_infodir)/libc.info): Use make-target-directory.
40012 (installdirs): Remove.
40013 (subdir_%): Remove.
40014 (glibc-targets): Remove.
40015 (lib): Remove.
40016 (stubs): Remove.
40017 ($(objpfx)stubs ../po/manual.pot): Remove.
40018 ($(objpfx)stamp%): Remove.
40019 (make-target-directory): Remove.
40020 (subdir_install): Remove.
40021 (routines): Remove.
40022 (aux): Remove.
40023 (sources): Remove.
40024 (objects): Remove.
40025 (headers): Remove.
40026
40027 [BZ #13750]
40028 * manual/.gitignore: Remove, it's not needed anymore.
40029 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40030 all files in it.
40031 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40032 directory.
40033 (texis): Renamed to $(objpfx)texis.
40034 (texis-path): New, contains path to generated files.
40035 (chapters.%): Use texis-path for complete path, add extra argument
40036 libc-texinfo.sh.
40037 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40038 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40039 (summary,texi, stamp-summary): Use complete path of
40040 files. Generate files in build dir.
40041 (dir-add.texi): Build in build dir.
40042 (libm-err.texi,stamp-libm-err): Likewise.
40043 (version.texi, stamp-version): Likewise.
40044 (.%c.texi): Likewise.
40045 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40046 (mostlyclean): Remove target.
40047 (realclean): Remove target.
40048 (generated): Add new variable with contents from mostlyclean and
40049 realclean, remove entries duplicated in common-mostlyclean, add
40050 stamp-libm-err and stamp-version.
40051 (generated-dirs): Add libc directory.
40052 ($(inst_infodir)/libc.info): Install files from build dir.
40053
40054 * manual/install.texi (Configuring and compiling): Adjust since
40055 the info files are not part of the tar ball anymore.
40056
7ac77294
AJ
400572012-05-14 Andreas Jaeger <aj@suse.de>
40058
40059 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40060 variable.
40061
ffb7875d
JM
400622012-05-14 Joseph Myers <joseph@codesourcery.com>
40063
40064 [BZ #13717]
40065 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40066 to 2.2.0 where earlier.
40067 * sysdeps/unix/sysv/linux/configure: Regenerated.
40068 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40069 Remove conditional code.
40070 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40071 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40072 Remove conditional code.
40073 [!__NR_lchown]: Likewise.
40074 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40075 [__NR_lchown]: Likewise.
40076 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40077 comment referencing __ASSUME_LCHOWN_SYSCALL.
40078 * sysdeps/unix/sysv/linux/i386/sigaction.c
40079 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40080 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40081 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40082 Remove conditional code.
40083 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40084 (__protocol_available): Remove #if 0 code.
40085 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40086 conditional code.
40087 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40088 * sysdeps/unix/sysv/linux/kernel-features.h
40089 (__ASSUME_GETCWD_SYSCALL): Don't define.
40090 (__ASSUME_REALTIME_SIGNALS): Likewise.
40091 (__ASSUME_PREAD_SYSCALL): Likewise.
40092 (__ASSUME_PWRITE_SYSCALL): Likewise.
40093 (__ASSUME_POLL_SYSCALL): Likewise.
40094 (__ASSUME_LCHOWN_SYSCALL): Likewise.
40095 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40096 non-SPARC.
40097 (__ASSUME_SIOCGIFNAME): Don't define.
40098 (__ASSUME_MSG_NOSIGNAL): Likewise.
40099 (__ASSUME_SENDFILE): Define unconditionally.
40100 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40101 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40102 conditional code.
40103 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40104 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40105 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40106 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40107 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40108 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40109 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40111 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40112 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40114 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40115 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40117 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40118 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40120 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40121 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40123 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40124 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40126 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40127 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40129 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40130 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40132 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40133 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40134 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40135 Remove conditional code.
40136 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40137 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40138 Remove conditional code.
40139 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40140 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40141 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40142 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40143 Remove conditional code.
40144 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40145 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40146 Remove conditional code.
40147 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40148 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40149 Remove conditional code.
40150 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40151 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40152 Remove conditional code.
40153 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40154 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40155 Remove conditional code.
40156 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40157 * sysdeps/unix/sysv/linux/sh/pwrite64.c
40158 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40159 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40160 * sysdeps/unix/sysv/linux/sigaction.c
40161 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40162 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40163 * sysdeps/unix/sysv/linux/sigpending.c
40164 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40165 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40166 * sysdeps/unix/sysv/linux/sigprocmask.c
40167 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40168 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40169 * sysdeps/unix/sysv/linux/sigsuspend.c
40170 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40171 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40172 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40173 (__libc_missing_rt_sigs): Remove.
40174 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40175 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40176 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40177 Remove conditional code.
40178 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40179 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40180 return 1.
40181 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40182 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40183 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40184 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40185
1bfb7291
AJ
401862012-05-14 Andreas Jaeger <aj@suse.de>
40187
caae5a81
AJ
40188 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40189 it's not used in glibc.
40190 (__coshm1): Likewise.
40191 (__acosh1p): Likewise.
40192 (__sgn): Likewise.
40193
1bfb7291
AJ
40194 * manual/string.texi (Copying and Concatenation): Add missing
40195 variable in concat example.
40196 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40197
c044d724
L
401982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40199
144c5467 40200 [BZ #14103]
c044d724
L
40201 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40202 __builtin_clzl with __builtin_clzll.
40203
2523c62b
L
402042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40205
40206 [BZ #14104]
40207 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40208 libc_freeres_ptr.
40209
d7bb4c42
LD
402102012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40211
40212 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40213 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40214 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40215 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40216
9dc4e1fb
MF
402172012-05-14 Mike Frysinger <vapier@gentoo.org>
40218
40219 * NEWS: Update ia64 info.
40220
c7df0112
AS
402212012-05-12 Andreas Schwab <schwab@linux-m68k.org>
40222
40223 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40224 used as bcopy.
40225
dc70356c
TS
402262012-05-12 Thomas Schwinge <thomas@codesourcery.com>
40227
40228 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40229 * sysdeps/unix/syscalls.list (dup3): Likewise.
40230 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40231 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40232
9fb1a21f
L
402332012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40234
40235 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40236 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40237
4822a2a5
L
402382012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40239
40240 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40241 thread pointer.
40242 (TLS_IE): Use mov/add instead of movq/addq to load thread
40243 pointer.
40244 (TLS_GD_PREFIX): New.
40245 (TLS_GD): Use it.
40246
842b81d6
DM
402472012-05-11 David S. Miller <davem@davemloft.net>
40248
40249 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40250 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40251 (_FPU_SETCW): Likewise.
40252
1cf463cd
L
402532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40254
40255 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40256 is 32-byte aligned.
40257
60cc4a18
AS
402582012-05-11 Andreas Schwab <schwab@linux-m68k.org>
40259
40260 [BZ #11837]
40261 * iconvdata/gb18030.c: Update tables.
40262 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
40263 characters specially.
40264 (BODY for TO_LOOP): Add encoding of missing ranges.
40265
febb44a4
TS
402662012-05-11 Thomas Schwinge <thomas@codesourcery.com>
40267
40268 [BZ #13673]
40269 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40270 * sysdeps/mach/hurd/dup3.c: Likewise.
40271 * sysdeps/mach/hurd/readlinkat.c: Likewise.
40272 * sysdeps/powerpc/memmove.c:: Likewise.
40273
0a10fb9e
L
402742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40275
40276 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40277 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40278
df8a552f
L
402792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40280
40281 * elf/elf.h (R_X86_64_RELATIVE64): New.
40282 (R_X86_64_NUM): Updated.
40283 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40284 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
40285 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40286 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40287 tst-quad1pie tst-quad2pie
40288 (modules-names): Add tst-quadmod1 tst-quadmod2.
40289 ($(objpfx)tst-quad1): New dependency.
40290 ($(objpfx)tst-quad2): Likewise.
40291 ($(objpfx)tst-quad1pie): Likewise.
40292 ($(objpfx)tst-quad2pie): Likewise.
40293 * sysdeps/x86_64/tst-quad1.c: New file.
40294 * sysdeps/x86_64/tst-quad1pie.c: New file.
40295 * sysdeps/x86_64/tst-quad2.c: Likewise.
40296 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40297 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40298 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40299 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40300 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40301
f34d6f84
ST
403022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40303
f42d41d1
ST
40304 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40305 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40306 * streams/stropts.h (t_scalar_t): Define type.
40307
3c3571fc
ST
40308 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40309 (_PATH_PRESERVE): Set to "/var/lib".
40310 (_PATH_RWHODIR): Set to "/var/spool/rwho".
40311
61f06bd3
ST
40312 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40313 instead of int.
40314
918d4d71
ST
40315 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40316 if __dir_mkfile succeeded.
40317
f34d6f84
ST
40318 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40319 checking for _hurd_dtablesize. Unlock it right after having
40320 finished _hurd_dtable allocation.
40321
10589b4a
TS
403222012-05-10 Thomas Schwinge <thomas@schwinge.name>
40323
674cdbc7
TS
40324 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40325 * sysdeps/mach/hurd/configure: Regenerated.
40326 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40327 special-casing to...
40328 * sysdeps/gnu/configure.in: ... this new file.
40329 * sysdeps/unix/sysv/linux/configure: Regenerated.
40330 * sysdeps/gnu/configure: New generated file.
40331
8e41b99f
TS
40332 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40333 for Linux: use nsec instead of usec, as well as:
40334 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40335 members of type struct timespec.
40336 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40337 New macros.
40338 (struct stat64): Likewise.
40339 (_STATBUF_ST_NSEC): New macro.
40340 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40341
10589b4a
TS
40342 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40343 __strtoul_internal rather than strtoul.
40344
63643c85
PT
403452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40346
40347 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40348 and reject them.
40349
3faebe6a
ST
403502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40351
40352 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40353 which preserves existing values.
40354 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40355
c6474b07
PT
403562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40357
40358 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40359 TIMEOUT values. Return EINVAL for NFDS values either negative or
40360 greater than FD_SETSIZE.
40361
1043890b
ST
403622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40363
40364 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40365 allocated, call __vm_protect to finish enabling the existing space, and
40366 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40367 allocate the remainder.
40368
37ed8b9b
PT
403692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40370
40371 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40372 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
40373
db653660
ST
403742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40375
37ed8b9b
PT
40376 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40377 sysdeps/mach/hurd/readlink.c.
b29d4053 40378
db653660
ST
40379 * posix/tst-sysconf.c (posix_options): Only use
40380 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40381 _POSIX_SYNCHRONIZED_IO when they are defined
40382 * sysdeps/mach/hurd/bits/posix_opt.h:
40383 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40384 (_XOPEN_REALTIME): Undefine macro.
40385 (_XOPEN_REALTIME_THREADS): Undefine macro.
40386 (_XOPEN_SHM): Undefine macro.
40387 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40388 macro to -1.
40389 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40390 macro to -1.
40391 (_POSIX_ASYNC_IO): Undefine macro.
40392 (_POSIX_PRIORITIZED_IO): Undefine macro.
40393 (_POSIX_SPIN_LOCKS): Define macro to -1.
40394
ee16e894
ST
40395 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40396 SA_NODEFER, SA_RESETHAND.
40397 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40398 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40399 F_DUPFD_CLOEXEC.
40400
6103ae3b
TS
404012012-05-10 Thomas Schwinge <thomas@schwinge.name>
40402
40403 * elf/Makefile (pldd-modules): Define unconditionally.
40404
80b4e5f3
TS
404052012-05-10 Thomas Schwinge <thomas@schwinge.name>
40406
40407 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40408
edadcbd6
ST
404092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40410
40411 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40412 Return ENOENT when name is empty.
40413 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40414
80694780
TS
404152012-05-10 Thomas Schwinge <thomas@schwinge.name>
40416
1792c087
TS
40417 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40418
80694780
TS
40419 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40420
6b645f0d
ST
404212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40422
80694780
TS
40423 Fix mlock in all cases except non-readable pages.
40424 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40425 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 40426
6b645f0d
ST
40427 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40428 (__mkdir): When path is `/', just fail with EEXIST.
40429 * sysdeps/mach/hurd/mkdirat.c: Likewise.
40430
e468f8a3
TS
404312012-05-10 Thomas Schwinge <thomas@schwinge.name>
40432
40433 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40434 <sys/uio.h> (for writev).
40435 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40436 and <sys/param.h> (for MIN).
40437
a4186cff
PT
404382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40439
40440 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40441 REQUESTED_TIME. Properly set the remaining time and return EINTR
40442 if interrupted.
40443
510bbf14
TS
404442012-05-10 Thomas Schwinge <thomas@schwinge.name>
40445
40446 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40447 Depend on against $(link-rpcuserlibs).
40448
5d5722e8
ST
404492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40450
a4186cff
PT
40451 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40452 (__libc_stack_end): Do not use attribute_relro.
40453 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40454 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 40455 to libthread-provided value.
a4186cff
PT
40456 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40457 attribute_relro.
5d5722e8 40458
37233df9
TS
404592012-05-10 Thomas Schwinge <thomas@schwinge.name>
40460
be971a2b
TS
40461 [BZ #3748]
40462 * bits/libc-lock.h (__libc_once_get): New macro.
40463 * sysdeps/mach/bits/libc-lock.h: Likewise.
40464 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40465 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40466 instead of using implementation details.
40467
37233df9
TS
40468 * libio/fileops.c: Unconditionally include <kernel-features.h>.
40469 * libio/freopen.c: Likewise.
40470 * libio/freopen64.c: Likewise.
40471 * misc/syslog.c: Likewise.
40472 * nscd/connections.c: Likewise.
40473 * nscd/netgroupcache.c: Likewise.
40474 * sysdeps/posix/getcwd.c: Likewise.
40475
38de94a5
RM
404762012-05-10 Roland McGrath <roland@hack.frob.com>
40477
40478 * math/w_ilogbf.c: Add #include <limits.h>.
40479
67530489
ST
404802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40481
a4186cff 40482 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
40483 path instead of returning without unlocking.
40484
67530489
ST
40485 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40486 immediate-write ioctls.
40487 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40488
5aa3a74a
TS
404892012-05-10 Thomas Schwinge <thomas@schwinge.name>
40490
18bad2ae
TS
40491 * sysdeps/mach/hurd/i386/init-first.c (init): Use
40492 __builtin_frame_address instead of making assumptions about the
40493 location of the return address relative to DATA. Force early load of
40494 the return address.
40495 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40496 __builtin_frame_address.
40497
5aa3a74a
TS
40498 dup3 for GNU Hurd.
40499 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40500 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
40501 implement dup3 and do some further code clean-ups.
40502 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40503 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40504
ecd0de9a
ST
405052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40506
cd9fa985
ST
40507 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40508
a4186cff
PT
40509 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40510 HURD_CRITICAL_END around holding _hurd_dtable_lock.
40511 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40512 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40513 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40514 d->port.lock.
802ca5a5 40515
a4186cff
PT
40516 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40517 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40518 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 40519
bcf55240
TS
405202012-05-10 Thomas Schwinge <thomas@schwinge.name>
40521
6960eb42
TS
40522 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40523 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40524 definitions.
40525
eb43375f
TS
40526 accept4 for GNU Hurd.
40527 * include/sys/socket.h (__libc_accept4): New prototype.
40528 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40529 to implement __libc_accept4.
40530 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40531 __libc_accept4.
40532 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40533
bcf55240
TS
40534 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40535 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40536 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40537 signal-defines.sym.
40538
6178c55b
ST
405392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40540
a4186cff 40541 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 40542
6f080c2f
TS
405432012-05-10 Thomas Schwinge <thomas@schwinge.name>
40544
40545 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40546 assertion on O_CLOEXEC flag.
40547 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40548 * hurd/intern-fd.c: Likewise.
40549 * hurd/port2fd.c: Likewise.
40550
bcfe3a54
ST
405512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40552
40553 [BZ #3906]
40554 * bits/in.h (IPV6_PKTINFO): Define new macro.
40555 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40556
89c9aa49
AZ
405572012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40558
40559 [BZ #13954]
40560 [BZ #13955]
40561 [BZ #13956]
40562 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40563 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40564 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40565 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40566 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40567 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40568 * math/libm-test.inc (logb_test) : Additional logb tests.
40569
021db4be
AJ
405702012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40571 Andreas Jaeger <aj@suse.de>
40572
40573 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40574 * configure: Regenerated.
40575 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40576 * config.make.in (link-obsolete-rpc): New substituted variable.
40577 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40578 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40579 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40580 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40581 so that libc.a contains the symbols.
40582 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40583 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40584 * sunrpc/auth_none.c: Likewise.
40585 * sunrpc/auth_unix.c: Likewise.
40586 * sunrpc/authdes_prot.c: Likewise.
40587 * sunrpc/authuxprot.c: Likewise.
40588 * sunrpc/clnt_gen.c: Likewise.
40589 * sunrpc/clnt_perr.c: Likewise.
40590 * sunrpc/clnt_raw.c: Likewise.
40591 * sunrpc/clnt_simp.c: Likewise.
40592 * sunrpc/clnt_tcp.c: Likewise.
40593 * sunrpc/clnt_udp.c: Likewise.
40594 * sunrpc/clnt_unix.c: Likewise.
40595 * sunrpc/des_crypt.c: Likewise.
40596 * sunrpc/des_soft.c: Likewise.
40597 * sunrpc/get_myaddr.c: Likewise.
40598 * sunrpc/key_call.c: Likewise.
40599 * sunrpc/key_prot.c: Likewise.
40600 * sunrpc/netname.c: Likewise.
40601 * sunrpc/pm_getmaps.c: Likewise.
40602 * sunrpc/pm_getport.c: Likewise.
40603 * sunrpc/pmap_clnt.c: Likewise.
40604 * sunrpc/pmap_prot.c: Likewise.
40605 * sunrpc/pmap_prot2.c: Likewise.
40606 * sunrpc/pmap_rmt.c: Likewise.
40607 * sunrpc/publickey.c: Likewise.
40608 * sunrpc/rpc_cmsg.c: Likewise.
40609 * sunrpc/rpc_common.c: Likewise.
40610 * sunrpc/rpc_dtable.c: Likewise.
40611 * sunrpc/rpc_prot.c: Likewise.
40612 * sunrpc/rpc_thread.c: Likewise.
40613 * sunrpc/rtime.c: Likewise.
40614 * sunrpc/svc.c: Likewise.
40615 * sunrpc/svc_auth.c: Likewise.
40616 * sunrpc/svc_raw.c: Likewise.
40617 * sunrpc/svc_run.c: Likewise.
40618 * sunrpc/svc_tcp.c: Likewise.
40619 * sunrpc/svc_udp.c: Likewise.
40620 * sunrpc/svc_unix.c: Likewise.
40621 * sunrpc/svcauth_des.c: Likewise.
40622 * sunrpc/xcrypt.c: Likewise.
40623 * sunrpc/xdr.c: Likewise.
40624 * sunrpc/xdr_array.c: Likewise.
40625 * sunrpc/xdr_float.c: Likewise.
40626 * sunrpc/xdr_intXX_t.c: Likewise.
40627 * sunrpc/xdr_mem.c: Likewise.
40628 * sunrpc/xdr_rec.c: Likewise.
40629 * sunrpc/xdr_ref.c: Likewise.
40630 * sunrpc/xdr_sizeof.c: Likewise.
40631 * sunrpc/xdr_stdio.c: Likewise.
40632
b5c086a2
RM
406332012-05-10 Roland McGrath <roland@hack.frob.com>
40634
40635 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40636 change. Update copyright years.
40637
6d74dd09
JM
406382012-05-10 Joseph Myers <joseph@codesourcery.com>
40639
40640 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40641
28e72501
MK
406422012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40643 Joseph Myers <joseph@codesourcery.com>
40644 Paul Pluzhnikov <ppluzhnikov@google.com>
40645
40646 [BZ #14012]
40647 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40648 requiring rpcgen.
40649 [cross-compiling] (extra-libs): Likewise.
40650 [cross-compiling] (extra-libs-others): Likewise.
40651 [cross-compiling] (librpcsvc-routines): Likewise.
40652 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40653 [cross-compiling] (omit-deps): Likewise.
40654 (sunrpc-CPPFLAGS): New variable.
40655 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40656 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40657 (cross-rpcgen-objs): New variable.
40658 (extra-objs): Append $(cross-rpcgen-objs).
40659 ($(cross-rpcgen-objs)): New rule.
40660 ($(objpfx)cross-rpcgen): Likewise.
40661 (rpcgen-cmd): Define to use $(built-program-file). Expand
40662 comment.
40663 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40664 ($(objpfx)x%.stmp): Likewise.
40665 * sunrpc/proto.h [IS_IN_build] (_): Define.
40666 [IS_IN_build] (_libc_intl_domainname): Likewise.
40667
c8c59454
L
406682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40669
40670 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40671 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40672 and R_X86_64_TPOFF64.
40673
6f27cd16
JM
406742012-05-10 Joseph Myers <joseph@codesourcery.com>
40675
40676 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40677 sysdeps/unix/sysv/syscalls.list.
40678 (stime): Likewise.
40679 (utime): Likewise.
40680 * sysdeps/unix/sysv/syscalls.list: Remove file.
40681
02467e1c
PE
406822012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40683
40684 [BZ #3440]
40685 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40686 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40687 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40688 (__LC_IDENTIFICATION): Make these macros useful in #if
40689 expressions, as required by C99.
40690
da392631
AS
406912012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40692
40693 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40694 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40695 after this.
40696
8115f29b
L
406972012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40698
40699 * stdlib/longlong.h: Updated from GCC.
40700
bdd74070
AJ
407012012-05-09 Andreas Jaeger <aj@suse.de>
40702
edfe0dbe
AJ
40703 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40704 default is first entry.
40705 (run_mode): Set type.
40706 (main): Remove informal message about syslog.
40707 (options): Fix typo.
40708
bcfe3a54
ST
40709 [BZ #14053]
40710 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 40711 to asm.
bcfe3a54
ST
40712 (lrint): Likewise.
40713 (llrintf): Likewise.
40714 (llrint): Likewise.
40715 (rint): Likewise.
40716 (rintf): Likewise.
40717 (nearbyint): Likewise.
40718 (nearbyintf): Likewise.
bdd74070 40719
91d8d69e
AJ
407202012-05-09 Andreas Jaeger <aj@suse.de>
40721 Pedro Alves <palves@redhat.com>
40722
40723 * nscd/nscd.c (run_mode): Use enum.
40724 (main): Cleanup coding style issue.
40725
bb90b80b
AJ
407262012-05-09 Alexandre Oliva <aoliva@redhat.com>
40727 Andreas Jaeger <aj@suse.de>
40728
bcfe3a54
ST
40729 * nscd/nscd.c (go_background): Replaced with...
40730 (run_mode): ... this.
bb90b80b 40731 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
40732 (options): Add -F --foreground.
40733 (main): Implement it.
40734 (parse_opt): Parse it.
bb90b80b 40735
1a4b75a1
AJ
407362012-05-09 Andreas Jaeger <aj@suse.de>
40737
40738 [BZ #14083]
40739 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40740 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40741 -Wconversion warning.
40742 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40743 Likewise.
40744
b1cc2472
JM
407452012-05-09 Joseph Myers <joseph@codesourcery.com>
40746
40747 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40748 == 0.
40749 (LC_ALL): Use macro-int-constant.
40750 (LC_COLLATE): Likewise.
40751 (LC_CTYPE): Likewise.
40752 (LC_MESSAGES): Likewise.
40753 (LC_MONETARY): Likewise.
40754 (LC_NUMERIC): Likewise.
40755 (LC_TIME): Likewise.
40756 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40757 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40758 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40759 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40760 Specify type.
40761 [C99-based standards] (float_t): Expect type.
40762 [C99-based standards] (double_t): Expect type.
40763 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40764 type.
40765 [C99-based standards] (HUGE_VALL): Likewise.
40766 [C99-based standards] (INFINITY): Likewise.
40767 [C99-based standards] (NAN): Likewise.
40768 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40769 [C99-based standards] (FP_NAN): Likewise.
40770 [C99-based standards] (FP_NORMAL): Likewise.
40771 [C99-based standards] (FP_SUBNORMAL): Likewise.
40772 [C99-based standards] (FP_ZERO): Likewise.
40773 [C99-based standards] (FP_FAST_FMA): Use
40774 optional-macro-int-constant. Specify type. Require == 1.
40775 [C99-based standards] (FP_FAST_FMAF): Likewise.
40776 [C99-based standards] (FP_FAST_FMAL): Likewise.
40777 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40778 [C99-based standards] (FP_ILOGBNAN): Likewise.
40779 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40780 Specify type.
40781 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40782 [C99-based standards] (math_errhandling): Specify type.
40783 [ISO99 || ISO11] (signgam): Do not allow.
40784 [non-C99-based standards] (copysignf): Do not allow.
40785 [non-C99-based standards] (exp2f): Likewise.
40786 [non-C99-based standards] (log2f): Likewise.
40787 [non-C99-based standards] (modff): Allow.
40788 [non-C99-based standards] (erff): Do not allow.
40789 [non-C99-based standards] (erfcf): Likewise.
40790 [non-C99-based standards] (gammaf): Likewise.
40791 [non-C99-based standards] (hypotf): Likewise.
40792 [non-C99-based standards] (j0f): Likewise.
40793 [non-C99-based standards] (j1f): Likewise.
40794 [non-C99-based standards] (jnf): Likewise.
40795 [non-C99-based standards] (lgammaf): Likewise.
40796 [non-C99-based standards] (tgammaf): Likewise.
40797 [non-C99-based standards] (y0f): Likewise.
40798 [non-C99-based standards] (y1f): Likewise.
40799 [non-C99-based standards] (ynf): Likewise.
40800 [non-C99-based standards] (isnanf): Likewise.
40801 [non-C99-based standards] (acoshf): Likewise.
40802 [non-C99-based standards] (asinhf): Likewise.
40803 [non-C99-based standards] (atanhf): Likewise.
40804 [non-C99-based standards] (cbrtf): Likewise.
40805 [non-C99-based standards] (expm1f): Likewise.
40806 [non-C99-based standards] (ilogbf): Likewise.
40807 [non-C99-based standards] (log1pf): Likewise.
40808 [non-C99-based standards] (logbf): Likewise.
40809 [non-C99-based standards] (nextafterf): Likewise.
40810 [non-C99-based standards] (remainderf): Likewise.
40811 [non-C99-based standards] (rintf): Likewise.
40812 [non-C99-based standards] (scalbf): Likewise.
40813 [non-C99-based standards] (copysignl): Likewise.
40814 [non-C99-based standards] (exp2l): Likewise.
40815 [non-C99-based standards] (log2l): Likewise.
40816 [non-C99-based standards] (modfl): Allow.
40817 [non-C99-based standards] (erfl): Do not allow.
40818 [non-C99-based standards] (erfcl): Likewise.
40819 [non-C99-based standards] (gammal): Likewise.
40820 [non-C99-based standards] (hypotl): Likewise.
40821 [non-C99-based standards] (j0l): Likewise.
40822 [non-C99-based standards] (j1l): Likewise.
40823 [non-C99-based standards] (jnl): Likewise.
40824 [non-C99-based standards] (lgammal): Likewise.
40825 [non-C99-based standards] (tgammal): Likewise.
40826 [non-C99-based standards] (y0l): Likewise.
40827 [non-C99-based standards] (y1l): Likewise.
40828 [non-C99-based standards] (ynl): Likewise.
40829 [non-C99-based standards] (isnanl): Likewise.
40830 [non-C99-based standards] (acoshl): Likewise.
40831 [non-C99-based standards] (asinhl): Likewise.
40832 [non-C99-based standards] (atanhl): Likewise.
40833 [non-C99-based standards] (cbrtl): Likewise.
40834 [non-C99-based standards] (expm1l): Likewise.
40835 [non-C99-based standards] (ilogbl): Likewise.
40836 [non-C99-based standards] (log1pl): Likewise.
40837 [non-C99-based standards] (logbl): Likewise.
40838 [non-C99-based standards] (nextafterl): Likewise.
40839 [non-C99-based standards] (remainderl): Likewise.
40840 [non-C99-based standards] (rintl): Likewise.
40841 [non-C99-based standards] (scalbl): Likewise.
40842 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40843 [non-C99-based standards] (FP_*): Do not allow.
40844 [C99-based standards] (FP_*): Change to
40845 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40846 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40847 allow.
40848 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40849 (SIG_ERR): Likewise.
40850 [X/Open-based standards] (SIG_HOLD): Likewise.
40851 (SIG_IGN): Likewise.
40852 (SIGABRT): Use macro-int-constant. Specify type. Require
40853 positive value.
40854 (SIGFPE): Likewise.
40855 (SIGILL): Likewise.
40856 (SIGINT): Likewise.
40857 (SIGSEGV): Likewise.
40858 (SIGTER): Likewise.
40859 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40860 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40861 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40862 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40863 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40864 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40865 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40866 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40867 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40868 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40869 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40870 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40871 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40872 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40873 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40874 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40875 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40876 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40877 [X/Open-based standards] (SIGTRAP): Likewise.
40878 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40879 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40880 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40881 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40882 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40883 allow.
40884
b9f1922d
IW
408852012-05-08 Ian Wienand <ianw@vmware.com>
40886
40887 [BZ #14080]
40888 * time/tzset.c (__tzset_parse_tz): Update default rules for
40889 daylight time changes in the Energy Policy Act of 2005.
40890
1db86e88
AJ
408912012-05-09 Andreas Jaeger <aj@suse.de>
40892
40893 [BZ #13983]
40894 * elf/ldconfig.c (parse_conf): Change string to make clear that
40895 ldconfig only issued a warning if ld.so.conf does not exist.
40896
dee4a4e3
DM
408972012-05-08 David S. Miller <davem@davemloft.net>
40898
ee0db190
DM
40899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40900 movxtod instead of popping the value on the stack.
40901
dee4a4e3
DM
40902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40903
6a43ec98
CD
409042012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40905
40906 * config.h.in: Add HAVE_ARM_PCS_VFP.
40907
05c2c961
RMG
409082012-05-08 Roland Mc Grath <roland@hack.frob.com>
40909
bcfe3a54
ST
40910 [BZ #13979]
40911 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40912 checking but the checks are disabled for any reason.
05c2c961 40913
4b30f61a
L
409142012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40915
40916 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40917 and ELF64_R_TYPE with ELFW(R_TYPE).
40918
eee2bc67
JM
409192012-05-08 Joseph Myers <joseph@codesourcery.com>
40920
7ea5391a
JM
40921 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40922 (ulimit): Likewise.
40923
eee2bc67
JM
40924 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40925 (settimeofday): Likewise.
40926
abb66a67
MF
409272012-05-08 Mike Frysinger <vapier@gentoo.org>
40928
40929 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40930 a struct th_u2 inside the union, and move tu_block/tu_code into
40931 a new th_u3 union of tu_block/tu_code inside of that. Move
40932 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40933 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40934 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40935 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40936 (th_stuff): Change to th_u1.tu_stuff.
40937 (th_data): Define.
40938 (th_msg): Change to th_u1.th_u2.tu_data.
40939
7f18b530
DM
409402012-05-07 David S. Miller <davem@davemloft.net>
40941
05760585
DM
40942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40943
7f18b530
DM
40944 [BZ #14074]
40945 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40946 (SETUP_PIC_REG): Use it.
40947 (SETUP_PIC_REG_LEAF): Use it.
40948
495fd99f
JM
409492012-05-07 Joseph Myers <joseph@codesourcery.com>
40950
40951 [BZ #13885]
40952 [BZ #13923]
40953 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40954 USE_AS_EXPM1L.
40955 (EXPL_FINITE): Likewise.
40956 (FLDLOG): Likewise.
40957 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40958 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40959 e_expl.S.
40960 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40961 USE_AS_EXPM1L.
40962 (EXPL_FINITE): Likewise.
40963 (FLDLOG): Likewise.
40964 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40965 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40966 e_expl.S.
40967 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40968 test of -max_value argument for long double.
40969 * sysdeps/i386/fpu/libm-test-ulps: Update.
40970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40971
6693d694
DM
409722012-05-06 David S. Miller <davem@davemloft.net>
40973
40974 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40975 quad soft-float symbols whose references which are compiler
40976 generated.
40977 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40978
6c23e11c
JM
409792012-05-06 Joseph Myers <joseph@codesourcery.com>
40980
d8b82cad
JM
40981 [BZ #13884]
40982 [BZ #13914]
40983 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40984 USE_AS_EXP10L.
40985 (EXPL_FINITE): Likewise.
40986 (FLDLOG): Likewise.
40987 (c0): Likewise.
40988 (c1): Likewise.
40989 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40990 Adjust comments for base varying.
40991 (__expl_finite): Change alias to EXPL_FINITE.
40992 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40993 e_expl.S.
40994 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40995 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40996 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40997 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40998 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40999 USE_AS_EXP10L.
41000 (EXPL_FINITE): Likewise.
41001 (FLDLOG): Likewise.
41002 (c0): Likewise.
41003 (c1): Likewise.
41004 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41005 Adjust comments for base varying.
41006 (__expl_finite): Change alias to EXPL_FINITE.
41007 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
41008 tests for bugs.
41009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41010
6c23e11c
JM
41011 [BZ #14064]
41012 * math/libm-test.inc (check_float_internal): Correct ulp
41013 calculation for subnormal expected results.
41014
29ba805c
AJ
410152012-05-06 Andreas Jaeger <aj@suse.de>
41016
41017 * Makeconfig (+math-flags): New, set to -frounding-math.
41018 (+cflags): Add +math-flags so that all of glibc gets compiled with
41019 it.
41020
41021 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41022
7b17aeda
JM
410232012-05-05 Joseph Myers <joseph@codesourcery.com>
41024
5779f134
JM
41025 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41026 Disable one test.
41027
41498f4d
JM
41028 [BZ #13787]
41029 [BZ #13922]
41030 [BZ #14036]
41031 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41032 (__ieee754_expl): Allow for and saturate large arguments.
41033 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41034 (u_threshold): Likewise.
41035 (__exp): Call __ieee754_exp before checking for overflow and
41036 underflow.
41037 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41038 (u_threshold): Likewise.
41039 (__expf): Call __ieee754_expf before checking for overflow and
41040 underflow.
41041 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41042 (u_threshold): Likewise.
41043 (__expl): Call __ieee754_expl before checking for overflow and
41044 underflow.
41045 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41046 (__ieee754_expl): Allow for and saturate large arguments.
41047 * math/libm-test.inc (exp_test): Add another test. Do not allow
41048 missing overflow exception on overflow.
41049 (expm1_test): Do not allow missing overflow exception on overflow.
41050
6698b8bf
JM
41051 * sysdeps/i386/fpu/e_expl.c: Move to ...
41052 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
41053 rather than using inline asm.
41054 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41055 * sysdeps/x86_64/fpu/e_expl.S: Copy from
41056 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41057
7b17aeda
JM
41058 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41059 (nice): Likewise.
41060 (poll): Likewise.
41061 (signal): Likewise.
41062 (time): Likewise.
41063 (times): Likewise.
41064
f7c85819
JM
410652012-05-04 Joseph Myers <joseph@codesourcery.com>
41066
41067 * sysdeps/unix/syscalls.list (adjtime): Add entry from
41068 sysdeps/unix/common/syscalls.list.
41069 (fchmod): Likewise.
41070 (fchown): Likewise.
41071 (ftruncate): Likewise.
41072 (getrusage): Likewise.
41073 (gettimeofday): Likewise.
41074 (setpgid): Likewise.
41075 (setregid): Likewise.
41076 (setreuid): Likewise.
41077 (sigaction): Likewise.
41078 (truncate): Likewise.
41079 (vhangup): Likewise.
41080 * sysdeps/unix/common/syscalls.list: Remove file.
41081 * sysdeps/unix/bsd/Implies: Don't include unix/common.
41082 * sysdeps/unix/sysv/linux/Implies: Likewise.
41083
336270d0
L
410842012-05-04 H.J. Lu <hongjiu.lu@intel.com>
41085
41086 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41088 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41089 Moved to ...
41090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41091 Here.
41092 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41093 to ...
41094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41095 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41096 to ...
41097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41098 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41099 to ...
41100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41101 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41102 to ...
41103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41104 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41105 to ...
41106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41107 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41108 to ...
41109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41110 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41111 to ...
41112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41113 Here.
41114 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41115 to ...
41116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41117 Here.
41118 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41119 to ...
41120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41121 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41122 Moved to ...
41123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41124 Here.
41125 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41126 to ...
41127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41128
d128e450
JM
411292012-05-04 Joseph Myers <joseph@codesourcery.com>
41130
fa8ee516
JM
41131 * sysdeps/unix/common/bits/dirent.h: Remove file.
41132 * sysdeps/unix/common/bits/fcntl.h: Likewise.
41133
d128e450
JM
41134 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41135 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41136 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41137 * sysdeps/unix/bsd/isatty.c: Likewise.
41138 * sysdeps/unix/bsd/tcdrain.c: Likewise.
41139 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41140 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41141
ff8faaf0 411422012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 41143
62881be4 41144 [BZ #13563]
31dc8730
AZ
41145 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41146 long double comparison inaccuracies.
41147 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41149
6fef930c
AS
411502012-05-04 Andreas Schwab <schwab@linux-m68k.org>
41151
41152 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41153 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41154
8f203e6c
JM
411552012-05-04 Joseph Myers <joseph@codesourcery.com>
41156
41157 [BZ #14049]
41158 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41159 nonzero digits before rounding a hex value.
41160 * stdlib/tst-strtod.c (tests): Add another test.
41161
5197d9c2
AK
411622012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41163
41164 * sysdeps/s390/fpu/libm-test-ulps: Update.
41165
f0c1dedf
AJ
411662012-05-03 Andreas Jaeger <aj@suse.de>
41167
41168 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41169 does not get optimized out.
41170 (malloc_opt_barrier): New.
41171
a65ef2ae 411722012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 41173 Roland McGrath <roland@hack.frob.com>
a65ef2ae 41174
2b942cb7 41175 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 41176 intermediate file deletion.
2b942cb7 41177 (generated): Add .symlist files.
a65ef2ae 41178
54b71e02
JM
411792012-05-03 Joseph Myers <joseph@codesourcery.com>
41180
41181 [BZ #13775]
41182 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41183 Redirect under this condition.
41184 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41185 [__USE_GNU] (__dprintf_chk): Not under this condition.
41186 [__USE_GNU] (__vdprintf_chk): Likewise.
41187 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41188 under this condition.
41189 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41190 [__USE_XOPEN2K8] (dprintf): Define under this condition.
41191 [__USE_XOPEN2K8] (vdprintf): Likewise.
41192 [__USE_GNU] (__dprintf_chk): Not under this condition.
41193 [__USE_GNU] (__vdprintf_chk): Likewise.
41194 [__USE_GNU] (dprintf): Likewise.
41195 [__USE_GNU] (vdprintf): Likewise.
41196
d3dfcc41
RM
411972012-05-03 Roland McGrath <roland@hack.frob.com>
41198
41199 * elf/Makefile (common-generated): Set this instead of generated for
41200 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
41201 $(all-built-dso)-derived lists.
41202
7ac30cc5
AJ
412032012-05-03 Andreas Jaeger <aj@suse.de>
41204
0c51e550
AJ
41205 * sysdeps/i386/fpu/libm-test-ulps: Update.
41206
7ac30cc5
AJ
41207 * FAQ: Removed.
41208 * FAQ.in: Likewise.
41209 * scripts/gen-FAQ.pl: Likewise.
41210 * manual/install.texi (Installation): Point to online location of
41211 FAQ.
41212 * Makefile (files-for-dist): Remove FAQ.
41213 (FAQ): Remove.
41214
d4c2917f
AM
412152012-05-02 Allan McRae <allan@archlinux.org>
41216
41217 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41218 (LDFLAGS-reldepmod5.so): Likewise.
41219 (LDFLAGS-reldep6mod1.so): Likewise.
41220 (LDFLAGS-reldep6mod4.so): Likewise.
41221 (LDFLAGS-reldep8mod3.so): Likewise.
41222 (LDFLAGS-unload4mod1.so): Likewise.
41223 (LDFLAGS-unload4mod2.so): Likewise.
41224 (LDFLAGS-tst-initorder): Likewise.
41225 (LDFLAGS-tst-initordera2.so): Likewise.
41226 (LDFLAGS-tst-initordera3.so): Likewise.
41227 (LDFLAGS-tst-initordera4.so): Likewise.
41228 (LDFLAGS-tst-initorderb2.so): Likewise.
41229 (LDFLAGS-noload): Likewise.
41230 (LDFLAGS-next): Likewise.
41231 (LDFLAGS-order2mod1.so): Likewise.
41232 (LDFLAGS-order2mod2.so): Likewise.
41233 (LDFLAGS-tst-initorder2): Likewise.
41234 (LDFLAGS-tst-initorder2a.so): Likewise.
41235 (LDFLAGS-tst-initorder2b.so): Likewise.
41236 (LDFLAGS-tst-initorder2c.so): Likewise.
41237 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41238
d77f993f
DM
412392012-05-02 David S. Miller <davem@davemloft.net>
41240
41241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41242
171a70b4
PP
412432012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
41244
41245 [BZ #14055]
41246 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41247
0be196ad
AJ
412482012-05-02 Andreas Jaeger <aj@suse.de>
41249
41250 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41251 since we manipulate rounding mode.
41252 (CPPFLAGS-test-idouble.c): Likewise.
41253 (CPPFLAGS-test-ifloat.c): Likewise.
41254 (CFLAGS-test-ldouble.c): Likewise.
41255 (CFLAGS-test-double.c): Likewise.
41256 (CFLAGS-test-float.c): Likewise.
41257 (CFLAGS-test-misc.c): Likewise.
41258 (CFLAGS-test-test-fenv.c): Likewise.
41259
4f9d04aa
AZ
412602012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41261
2b942cb7
RM
41262 [BZ #2550]
41263 [BZ #2570]
41264 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41265 comparisons to determine direction to adjust input.
4f9d04aa 41266
82a79e7d
RM
412672012-05-01 Roland McGrath <roland@hack.frob.com>
41268
f5a01ca9
RM
41269 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41270 output to the target.
41271
90fe4186
RM
41272 * scripts/localplt.awk: New file.
41273 * elf/Makefile ($(objpfx)check-localplt): Target removed.
41274 (check-localplt-CFLAGS): Variable removed.
41275 ($(all-built-dso:=.jmprel)): New static pattern rule.
41276 (generated): Add those targets.
41277 (localplt-built-dso): New variable.
41278 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41279
41280 * elf/check-localplt.c: File removed.
41281
82397ed6
RM
41282 * scripts/check-execstack.awk: New file.
41283 * elf/Makefile ($(objpfx)check-execstack): Target removed.
41284 (check-execstack-CFLAGS): Variable removed.
41285 ($(objpfx)check-execstack.h): Target removed.
41286 ($(objpfx)execstack-default): New target.
41287 (generated): Add that instead of check-execstack.h.
41288 ($(all-built-dso:=.phdr)): New static pattern rule.
41289 (generated): Add those targets.
41290 * elf/check-execstack.c: File removed.
41291
82a79e7d
RM
41292 * scripts/check-textrel.awk: New file.
41293 * elf/Makefile ($(objpfx)check-textrel): Target removed.
41294 (check-textrel-CFLAGS): Variable removed.
41295 (all-built-dso): Use := to define.o
41296 ($(all-built-dso:=.dyn)): New static pattern rule.
41297 (generated): Add those targets.
41298 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41299 * config.make.in (READELF): New substituted variable.
41300 * elf/check-textrel.c: File removed.
41301
62fde54f 413022012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 41303
615605c9
JM
41304 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41305 allow.
41306 * conform/data/ctype.h-data [C99-based standards] (isblank):
41307 Expect function.
41308 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41309 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41310 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41311 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41312 Specify type. Require positive value.
41313 (EILSEQ): Likewise.
41314 (ERANGE): Likewise.
41315 [ISO || POSIX] (EILSEQ): Do not expect.
41316 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41317 Specify type. Require positive value.
41318 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41319 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41320 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41321 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41322 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41323 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41324 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41325 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41326 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41327 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41328 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41329 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41330 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41331 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41332 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41333 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41334 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41335 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41336 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41337 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41338 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41339 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41340 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41341 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41342 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41343 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41344 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41345 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41346 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41347 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41348 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41349 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41350 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41351 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41352 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41353 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41354 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41355 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41356 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41357 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41358 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41359 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41360 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41361 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41362 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41363 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41364 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41365 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41366 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41367 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41368 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41369 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41370 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41371 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41372 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41373 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41374 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41375 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41376 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41377 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41378 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41379 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41380 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41381 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41382 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41383 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41384 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41385 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41386 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41387 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41388 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41389 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41390 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41391 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41392 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41393 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41394 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41395 Require >= 2.
41396 (FLT_ROUNDS): Expect as macro, not constant.
41397 (FLT_MANT_DIG): Use macro-int-constant.
41398 (DBL_MANT_DIG): Likewise.
41399 (LDBL_MANT_DIG): Likewise.
41400 (FLT_DIG): Likewise.
41401 (DBL_DIG): Likewise.
41402 (LDBL_DIG): Likewise.
41403 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
41404 (DBL_MIN_EXP): Likewise.
41405 (LDBL_MIN_EXP): Likewise.
41406 (FLT_MAX_EXP): Use macro-int-constant.
41407 (DBL_MAX_EXP): Likewise.
41408 (LDBL_MAX_EXP): Likewise.
41409 (FLT_MAX_10_EXP): Likewise.
41410 (DBL_MAX_10_EXP): Likewise.
41411 (LDBL_MAX_10_EXP): Likewise.
41412 (FLT_MAX): Use macro-constant.
41413 (DBL_MAX): Likewise.
41414 (LDBL_MAX): Likewise.
41415 (FLT_EPSILON): Use macro-constant. Give upper bound.
41416 (DBL_EPSILON): Likewise.
41417 (LDBL_EPSILON): Likewise.
41418 (FLT_MIN): Likewise.
41419 (DBL_MIN): Likewise.
41420 (LDBL_MIN): Likewise.
41421 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41422 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41423 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41424 [ISO11] (FLT_HAS_SUBNORM): Likewise.
41425 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41426 [ISO11] (DBL_DECIMAL_DIG): Likewise.
41427 [ISO11] (FLT_DECIMAL_DIG): Likewise.
41428 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41429 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41430 [ISO11] (FLT_TRUE_MIN): Likewise.
41431 [ISO11] (LDBL_TRUE_MIN): Likewise.
41432 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41433 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41434 (SCHAR_MIN): Use macro-int-constant. Specify type.
41435 (SCHAR_MAX): Likewise.
41436 (UCHAR_MAX): Likewise.
41437 (CHAR_MIN): Likewise.
41438 (CHAR_MAX): Likewise.
41439 (MB_LEN_MAX): Use macro-int-constant.
41440 (SHRT_MIN): Use macro-int-constant. Specify type.
41441 (SHRT_MAX): Likewise.
41442 (USHRT_MAX): Likewise.
41443 (INT_MAX): Likewise.
41444 (INT_MIN): Use macro-int-constant. Specify type. Make upper
41445 bound negative.
41446 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
41447 bound with "U".
41448 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41449 bound with "L".
41450 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
41451 bound negative. Suffix upper bound with "L".
41452 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41453 bound with "UL".
41454 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41455 Specify type.
41456 [C99-based standards] (LLONG_MAX): Likewise.
41457 [C99-based standards] (ULLONG_MAX): Likewise.
41458 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
41459 == 0.
41460 [ISO11] (max_align_t): Require type.
41461 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41462
c9140a62
JM
41463 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41464 from $CFLAGS, without defining away __attribute__ calls.
41465 (checknamespace): Use $CFLAGS_namespace.
41466
9af0bf29
JM
41467 * conform/conformtest.pl (@keywords): Only include C99 keywords
41468 for standards based on C99 or C11.
41469
343222a2
JM
41470 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41471 Disable tests.
41472 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41473 UNIX98]: Likewise.
41474
661f8cf0
JM
41475 * conform/conformtest.pl: Handle "macro-int-constant" and test for
41476 usability of symbols in #if.
41477
ee74b9cb
JM
41478 * conform/conformtest.pl: If macro or constant types start
41479 "promoted:", expect the symbol to be of the following type
41480 promoted by the integer promotions.
62fde54f 41481
aafc49b3
JM
41482 * conform/conformtest.pl: Parse all "constant" and "macro" lines
41483 in one place. Also handle "macro-constant".
41484
fefdf574
JM
41485 * conform/conformtest.pl: Only accept expected macro values with
41486 "==". Parse all "macro" lines in one place.
41487 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41488
f2d922fe
JM
41489 * conform/conformtest.pl: Handle braced types on "constant" lines
41490 instead of handling "typed-constant".
41491 * conform/data/signal.h-data: Use "constant" instead of
41492 "typed-constant".
41493
d22956c9
JM
41494 * conform/conformtest.pl: Handle "optional-" at start of lines in
41495 one place rather than duplicating several cases. Handle each
41496 format of "macro" line with initial "optional-".
41497
028e2e38
JM
41498 * conform/conformtest.pl: Only accept expected constant or
41499 optional-constant values with "==". Parse all "constant" lines in
41500 one place. Parse all "optional-constant" lines in one place.
41501 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41502 * conform/data/fmtmsg.h-data: Likewise.
41503 * conform/data/netinet/in.h-data: Likewise.
41504 * conform/data/tar.h-data: Likewise.
41505 * conform/data/limits.h-data: Use "==" form on "constant" and
41506 "optional-constant" lines.
41507
1b8f2850
JM
41508 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41509 Use -std=c99 for XOPEN2K.
41510 (@knownproblems): Remove.
41511 (newtoken): Don't check %isknown.
41512
a05a144b
JM
41513 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41514 Do not expect macro.
41515 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41516 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41517 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41518 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41519 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41520 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41521 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41522 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41523 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41524 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41525 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41526 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41527 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41528 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41529 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41530 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41531 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41532 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41533 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41534 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41535 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41536 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41537 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41538 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41539 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41540 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41541 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41542 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41543 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41544 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41545 [XPG3] (acosh): Likewise.
41546 [XPG3] (asinh): Likewise.
41547 [XPG3] (atanh): Likewise.
41548 [XPG3] (cbrt): Likewise.
41549 [XPG3] (expm1): Likewise.
41550 [XPG3] (ilogb): Likewise.
41551 [XPG3] (log1p): Likewise.
41552 [XPG3] (logb): Likewise.
41553 [XPG3] (nextafter): Likewise.
41554 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41555 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41556 [XPG3] (remainder): Likewise.
41557 [XPG3] (rint): Likewise.
41558 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41559 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41560 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41561 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41562 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41563 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41564 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41565 [UNIX98 || XOPEN2K] (scalb): Expect.
41566 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41567 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41568 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41569 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41570 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41571 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41572 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41573 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41574 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41575 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41576 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41577 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41578 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41579 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41580 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41581 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41582 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41583 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41584 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41585 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41586 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41587 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41588 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41589 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41590 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41591 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41592 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41593 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41594 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41595 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41596 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41597 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41598 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41599 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41600 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41601 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41602 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41603 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41604 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41605 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41606 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41607 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41608 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41609 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41610 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41611 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41612 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41613 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41614 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41615 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41616 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41617 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41618 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41619 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41620 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41621 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41622 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41623 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41624 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41625 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41626 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41627 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41628 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41629 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41630 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41631 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41632 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41633 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41634 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41635 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41636 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41637 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41638 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41639 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41640 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41641 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41642 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41643 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41644 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41645 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41646 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41647 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41648 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41649 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41650 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41651 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41652 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41653 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41654 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41655 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41656 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41657 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41658 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41659 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41660 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41661 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41662 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41663 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41664 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41665 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41666 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41667 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41668 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41669 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41670 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41671 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41672 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41673 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41674 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41675 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41676 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41677 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41678 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41679 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41680 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41681 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41682 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41683 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41684 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41685 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41686 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41687 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41688 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41689 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41690 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41691 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41692 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41693 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41694 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41695 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41696 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41697 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41698 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41699 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41700 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41701 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41702 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41703
73c5ebe3
JM
41704 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41705 _XOPEN_SOURCE_EXTENDED for XPG4.
41706
39c33b6c
JM
41707 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41708
62fde54f
JM
41709 * Makeconfig (localtime): Remove variable.
41710 (inst_localtime-file): Likewise.
41711
0741d64c
AS
417122012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41713
41714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41715 Update.
41716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41717 Update.
41718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41719 Update.
41720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41721 Update.
41722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41723 Update.
41724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41725 Update.
41726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41727 Update.
41728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41729 Update.
41730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41731 Update.
41732
7cb029ee
JM
417332012-05-01 Joseph Myers <joseph@codesourcery.com>
41734
41735 [BZ #2550]
41736 [BZ #2570]
41737 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41738 comparisons to determine direction to adjust input.
41739 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41740 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41741 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41742 Likewise.
41743 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41744 Likewise.
41745 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41746 Likewise.
41747 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41748 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41749 Likewise.
41750 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41751 Likewise.
41752 * math/libm-test.inc (nexttoward_test): Add more tests.
41753
412bd966
AS
417542012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41755
41756 [BZ #14040]
41757 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41758 in version GLIBC_2.1, not GLIBC_2.0.
41759 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41760 Likewise.
41761
9568c0c2
JM
417622012-04-30 Joseph Myers <joseph@codesourcery.com>
41763
adfbc8ac
JM
41764 [BZ #13942]
41765 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41766 (1 - x) * (1 + x).
41767 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41768 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41769 * math/libm-test.inc (acos_test): Add more tests.
41770 (asin_test): Likewise.
41771 * sysdeps/i386/fpu/libm-test-ulps: Update.
41772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41773
5ba3cc69
JM
41774 [BZ #14034]
41775 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41776 of square root.
41777 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41778 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41779 * math/libm-test.inc (acos_test_tonearest): New function.
41780 (acos_test_towardzero): Likewise.
41781 (acos_test_downward): Likewise.
41782 (acos_test_upward): Likewise.
41783 (asin_test_tonearest): Likewise.
41784 (asin_test_towardzero): Likewise.
41785 (asin_test_downward): Likewise.
41786 (asin_test_upward): Likewise.
41787 (main): Call the new functions.
41788 * sysdeps/i386/fpu/libm-test-ulps: Update.
41789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41790
9568c0c2
JM
41791 [BZ #13884]
41792 [BZ #13924]
41793 * math/e_exp10.c: Include <float.h>.
41794 (__ieee754_exp10): Handle underflow here rather than multiplying
41795 large negative argument by M_LN10.
41796 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41797 of __ieee754_expf.
41798 * math/e_exp10l.c: Include <float.h>.
41799 (__ieee754_exp10l): Handle underflow here rather than multiplying
41800 large negative argument by M_LN10l.
41801 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41802 spurious overflow exception on underflow.
41803
5ac3ea17
MP
418042012-04-29 Marek Polacek <polacek@redhat.com>
41805
41806 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41807 (__fortify_function): New macro.
41808 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41809 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41810 __extern_always_inline.
41811 * libio/bits/stdio2.h: Likewise.
41812 * libio/bits/stdio.h: Likewise.
41813 * string/string.h: Likewise.
41814 * string/bits/string3.h: Likewise.
41815 * include/stdio.h: Likewise.
41816 * stdlib/bits/stdlib.h: Likewise.
41817 * stdlib/stdlib.h: Likewise.
41818 * rt/bits/mqueue2.h: Likewise.
41819 * rt/mqueue.h: Likewise.
41820 * posix/bits/unistd.h: Likewise.
41821 * posix/unistd.h: Likewise.
41822 * io/bits/poll2.h: Likewise.
41823 * io/bits/fcntl2.h: Likewise.
41824 * io/fcntl.h: Likewise.
41825 * io/sys/poll.h: Likewise.
41826 * misc/bits/syslog.h: Likewise.
41827 * misc/bits/syslog-ldbl.h: Likewise.
41828 * misc/sys/syslog.h: Likewise.
41829 * socket/bits/socket2.h: Likewise.
41830 * socket/sys/socket.h: Likewise.
41831 * debug/tst-chk1.c: Likewise.
41832 * wcsmbs/bits/wchar2.h: Likewise.
41833 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41834 * wcsmbs/wchar.h: Likewise.
41835
ecf0ebfb
AJ
418362012-04-29 Andreas Jaeger <aj@suse.de>
41837
41838 * Makerules (tests): Remove enable-check-abi protection.
41839 (check-abi-warn): Remove.
41840 (check-abi-%): Remove check-abi-warn usage.
41841
41842 * configure.in: Remove check-abi configure option.
41843 * configure: Regenerated.
41844 * config.make.in (enable-check-abi): Remove.
41845
6d5c57fa
AS
418462012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41847
24c5d07e 41848 [BZ #14033]
ded5180a
AS
41849 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41850 double functions to double *_finite functions.
41851
7e0d315d
AS
41852 [BZ #13941]
41853 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41854 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41855 LDBL_MIN_EXP.
41856 * stdio-common/Makefile (tests): Add tst-sprintf3.
41857 * stdio-common/tst-sprintf3.c: New file.
41858
6d5c57fa
AS
41859 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41860 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41861
0749ff8b
JM
418622012-04-28 Joseph Myers <joseph@codesourcery.com>
41863
41864 * conform/conformtest.pl: Remove duplicate typed-constant
41865 handling.
41866
8dbd5d7b
DM
418672012-04-28 David S. Miller <davem@davemloft.net>
41868
41869 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41870 (check-abi-%): Remove AWK script prerequisite and explicit
41871 abilist directory.
41872 (check-abi): Rewrite to just diff the symlist with the abilist.
41873 (config-tls, config-abi-config): Delete, no longer used.
41874 (update-abi-%): Remove AWK script and explicit abilist directory.
41875 (update-abi): Rewrite to simply compare and conditionally copy the
41876 symlist and the sysdep abilist file. Remove update-abi-config
41877 checks.
41878 * abilist/ld.abilist: Remove.
41879 * abilist/libBrokenLocale.abilist: Remove.
41880 * abilist/libanl.abilist: Remove.
41881 * abilist/libcrypt.abilist: Remove.
41882 * abilist/libdl.abilist: Remove.
41883 * abilist/librt.abilist: Remove.
41884 * abilist/libthread_db.abilist: Remove.
41885 * abilist/libutil.abilist: Remove.
41886 * scripts/extract-abilist.awk: Remove.
41887 * scripts/merge-abilist.awk: Remove.
41888 * sysdeps/generic/libcidn.abilist: New file.
41889 * sysdeps/generic/libnss_compat.abilist: New file.
41890 * sysdeps/generic/libnss_db.abilist: New file.
41891 * sysdeps/generic/libnss_dns.abilist: New file.
41892 * sysdeps/generic/libnss_files.abilist: New file.
41893 * sysdeps/generic/libnss_hesiod.abilist: New file.
41894 * sysdeps/generic/libnss_nis.abilist: New file.
41895 * sysdeps/generic/libnss_nisplus.abilist: New file.
41896 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41897 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41898 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41899 file.
41900 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41901 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41902 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41903 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41904 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41905 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41906 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41907 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41908 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41909 file.
41910 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41911 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41912 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41913 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41914 file.
41915 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41916 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41917 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41918 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41919 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41920 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41921 file.
41922 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41923 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41924 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41925 file.
41926 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41927 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41928 New file.
41929 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41930 New file.
41931 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41932 New file.
41933 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41934 New file.
41935 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41936 New file.
41937 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41938 New file.
41939 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41940 New file.
41941 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41942 New file.
41943 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41944 New file.
41945 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41946 New file.
41947 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41948 New file.
41949 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41950 New file.
41951 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41952 New file.
41953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41954 file.
41955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41956 New file.
41957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41958 New file.
41959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41960 file.
41961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41962 New file.
41963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41964 New file.
41965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41966 file.
41967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41968 New file.
41969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41970 New file.
41971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41972 New file.
41973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41974 New file.
41975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41976 New file.
41977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41978 New file.
41979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41981 file.
41982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41983 New file.
41984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41985 file.
41986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41987 file.
41988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41989 file.
41990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41991 file.
41992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41993 file.
41994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41995 New file.
41996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41997 file.
41998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41999 file.
42000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42001 New file.
42002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42003 file.
42004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42006 file.
42007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42008 New file.
42009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42010 file.
42011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42012 file.
42013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42014 file.
42015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42016 file.
42017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42018 file.
42019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42020 New file.
42021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42022 file.
42023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42024 file.
42025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42026 New file.
42027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42028 file.
42029 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42030 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42031 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42032 file.
42033 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42034 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42035 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42036 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42037 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42038 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42039 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42040 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42041 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42042 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42045 file.
42046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42047 New file.
42048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42049 file.
42050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42051 file.
42052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42053 file.
42054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42055 file.
42056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42057 file.
42058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42059 New file.
42060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42061 New file.
42062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42063 file.
42064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42065 New file.
42066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42067 file.
42068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42070 file.
42071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42072 New file.
42073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42074 file.
42075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42076 file.
42077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42078 file.
42079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42080 file.
42081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42082 file.
42083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42084 New file.
42085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42086 New file.
42087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42088 file.
42089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42090 New file.
42091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42092 file.
42093
41d73a1b
JM
420942012-04-28 Joseph Myers <joseph@codesourcery.com>
42095
42096 * conform/conformtest.pl: Fix typo in handling typed-constant from
42097 allow-header.
42098
28aeeda4
JM
420992012-04-27 Joseph Myers <joseph@codesourcery.com>
42100
adae8f5e
JM
42101 * README: Cut down references to pre-2.6 Linux kernels and
42102 Linuxthreads. Update lists of configurations in libc and ports
42103 and sort alphabetically. Say "or newer" with Linux kernel version
42104 requirements.
42105
28aeeda4
JM
42106 * config.h.in [IS_IN_build]: Allow compiling without optimization.
42107
a462cb63
RA
421082012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42109
42110 [BZ #887]
42111 * math/libm-test.inc (logb_test_downward): New test to expose
42112 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42113 rounding mode.
42114
6ad3493e
JM
421152012-04-27 Joseph Myers <joseph@codesourcery.com>
42116
42117 [BZ #14027]
42118 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42119 to be done.
42120 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42121 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42122
2ce4f015
JM
421232012-04-26 Joseph Myers <joseph@codesourcery.com>
42124
5aeb141a
JM
42125 * sysdeps/unix/i386/brk.S: Remove file.
42126 * sysdeps/unix/i386/dl-brk.S: Likewise.
42127 * sysdeps/unix/i386/pipe.S: Likewise.
42128 * sysdeps/unix/i386/sigreturn.S: Likewise.
42129 * sysdeps/unix/i386/syscall.S: Likewise.
42130 * sysdeps/unix/i386/vfork.S: Likewise.
42131 * sysdeps/unix/i386/wait.S: Likewise.
42132
7143acae
JM
42133 * sysdeps/unix/common/tcsendbrk.c: Move to ...
42134 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42135
2ce4f015
JM
42136 * configure.in (arm*-none*): Do not allow without
42137 --enable-hacker-mode.
42138 (netbsd*): Remove case setting base_os.
42139 (386bsd*): Likewise.
42140 (freebsd*): Likewise.
42141 (bsdi*): Likewise.
42142 (osf*): Likewise.
42143 (sunos*): Likewise.
42144 (ultrix*): Likewise.
42145 (newsos*): Likewise.
42146 (dynix*): Likewise.
42147 (*bsd*): Likewise.
42148 (sysv*): Likewise.
42149 (isc*): Likewise.
42150 (esix*): Likewise.
42151 (sco*): Likewise.
42152 (minix*): Likewise.
42153 (irix4*): Likewise.
42154 (irix6*): Likewise.
42155 (solaris[2-9]*): Likewise.
42156 (none): Likewise.
42157 * configure: Regenerated.
42158
0ac229c8
AZ
421592012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42160
42161 [BZ #11521]
42162 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42163 overflow or cancellation in calculating denominator.
42164 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42165 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42166 down expression to avoid unexpected rounding in newer GCCs.
42167 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42168
33f244f4
DM
421692012-04-26 David S. Miller <davem@davemloft.net>
42170
42171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42172 long-double compat symbols.
42173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42186
cfa1f3e8
DM
421872012-04-25 David S. Miller <davem@davemloft.net>
42188
42189 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42190 HWCAP_* values only after the memory barriers have been defined.
42191 (atomic_full_barrier): Define.
42192 (atomic_read_barrier): Define.
42193 (atomic_write_barrier): Define.
42194
6e236b92
SP
421952012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42196
42197 * shlib-versions: Add libgcc_s version information.
42198 * sysdeps/generic/libgcc_s.h: Remove.
42199 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42200 libgcc_s.h.
42201 * sysdeps/gnu/unwind-resume.c: Likewise.
42202 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42203
aab39a09
DM
422042012-04-25 David S. Miller <davem@davemloft.net>
42205
42206 * sysdeps/unix/sparc/brk.S: Delete.
42207 * sysdeps/unix/sparc/dl-brk.S: Delete.
42208 * sysdeps/unix/sparc/pipe.S: Delete.
42209 * sysdeps/unix/sparc/sysdep.S: Delete.
42210 * sysdeps/unix/sparc/sysdep.h: Delete.
42211 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
42212 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42213 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42214 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42215 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
42216 (JUMPTARGET): Remove.
42217 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42218 sysdeps/unix/sparc/sysdep.h
42219 (ENTRY, END): Remove.
42220 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42221
a3cc4f48
JM
422222012-04-25 Joseph Myers <joseph@codesourcery.com>
42223
2ed8cda2
JM
42224 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42225 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42226 -DIS_IN_build.
42227
35d76d59
JM
42228 * timezone/README: Update upstream location and email address for
42229 tzcode and tzdata.
42230 * timezone/zdump.c: Update from tzcode 2012b.
42231 * timezone/zic.c: Likewise.
42232
a3cc4f48
JM
42233 * configure.in (libc_cv_as_needed): Remove test.
42234 * configure: Regenerated.
42235 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42236 conditional definition.
42237 [$(have-as-needed) != yes] (no-as-needed): Likewise.
42238 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42239 * config.make.in (have-as-needed): Remove variable.
42240
ceab42c3
SP
422412012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42242 Paul Pluzhnikov <ppluzhnikov@google.com>
42243
42244 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42245 strings correctly.
42246
3ce2865f
CLT
422472012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
42248
42249 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42250 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42251 * sysdeps/sh/strlen.S: Likewise.
42252
f37e0d68
JM
422532012-04-24 Joseph Myers <joseph@codesourcery.com>
42254
ae186e9a
JM
42255 * sysdeps/unix/fork.S: Remove file.
42256 * sysdeps/unix/i386/fork.S: Likewise.
42257 * sysdeps/unix/sparc/fork.S: Likewise.
42258
b96914af
JM
42259 * sysdeps/unix/system.c: Remove file.
42260 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42261
f37e0d68
JM
42262 * sysdeps/unix/getegid.S: Remove file.
42263 * sysdeps/unix/geteuid.S: Likewise.
42264
87ef29ca
RM
422652012-04-24 Roland McGrath <roland@hack.frob.com>
42266
83bcd236
RM
42267 * scripts/check-localplt.awk: New file.
42268 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42269 of diff.
42270 * scripts/data/localplt-generic.data: Add a comment.
42271
87ef29ca
RM
42272 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42273 NODE when __dir_mkfile failed.
42274 * sysdeps/mach/hurd/symlinkat.c: Likewise.
42275 Reported by Ludovic Courtès <ludo@gnu.org>.
42276
e5a6e567
AJ
422772012-04-24 Andreas Jaeger <aj@suse.de>
42278
42279 * Makerules (common-clean): Also remove gen-as-const-headers
42280 files.
42281
c1820385
JM
422822012-04-24 Joseph Myers <joseph@codesourcery.com>
42283
42284 * Makerules (native-compile): Do not change working directory for
42285 build. Use $(OUTPUT_OPTION) in command.
42286 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42287
94e02fc4
AZ
422882012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42289
42290 [BZ #13886]
42291 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42292 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42293 * math/libm-test.inc (floor_test): Add more tests.
42294 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42295
3a533ca3
JM
422962012-04-24 Joseph Myers <joseph@codesourcery.com>
42297
940ab4b3
JM
42298 * sysdeps/unix/getdents.c: Remove file.
42299 * sysdeps/unix/sysv/getdents.c: Likewise.
42300 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42301
90e037bd
JM
42302 * sysdeps/unix/syscalls.list (madvise): Add syscall from
42303 sysdeps/unix/mman/syscalls.list.
42304 (mmap): Likewise.
42305 (mprotect): Likewise.
42306 (msync): Likewise.
42307 (munmap): Likewise.
42308 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42309 * sysdeps/unix/mman/syscalls.list: Remove.
42310 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42311
3a533ca3
JM
42312 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42313 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42314 * configure: Regenerated.
42315 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42316 $(libgcc_s_suffix).
42317 * config.make.in (libgcc_s_suffix): Remove variable.
42318
1ad743de
JM
423192012-04-23 Joseph Myers <joseph@codesourcery.com>
42320
4ad451e2
JM
42321 * sysdeps/unix/sysv/gethostname.c: Move to ...
42322 * sysdeps/posix/gethostname.c: ... here.
42323
5e37ce39
JM
42324 * sysdeps/unix/execve.S: Remove file.
42325
1ad743de
JM
42326 * sysdeps/unix/_exit.S: Remove file.
42327
4e681b5b
AJ
423282012-04-23 Andreas Jaeger <aj@suse.de>
42329
42330 [BZ #13739]
42331 * manual/Makefile: Remove make dist support, there's no
42332 need for a stand-alone documentation tar ball.
42333 (TEXI2DVI): Define always, it's not in Makeconfig.
42334 (dist): Removed.
42335 (tar-it): Removed.
42336 (edition): Removed.
42337 (glibc-doc-$(edition).tar): Removed
42338 (%.Z): Removed.
42339 (%.gz): Removed.
42340 (%.uu): Removed.
42341 (ETAGS): Remove, it's in Makeconfig.
42342 (move-if-change): Remove, it's in Makeconfig.
42343
38686a03 423442012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
42345
42346 [BZ #13970]
42347 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42348 (strtod, strtof, strtold, strtol, strtoul, strtoq)
42349 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42350 (strtod_l, strtof_l, strtold_l): Remove __wur.
42351 It is not necessarily an error to ignore strtol's return value.
42352 One can reliably look at the stored endptr to decide whether
42353 the number had valid syntax.
42354
7c0616fa
AJ
423552012-04-21 Andreas Jaeger <aj@suse.de>
42356
803cb6b7 42357 [BZ #13739]
7c0616fa
AJ
42358 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42359
b0fe253f
JM
423602012-04-21 Joseph Myers <joseph@codesourcery.com>
42361
42362 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42363 * sysdeps/unix/sysv/Versions: Remove file.
42364
8280f22d
MT
423652012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
42366
42367 [BZ #13927]
42368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42369
75ce411f 423702012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
42371
42372 [BZ #7064]
42373 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42374 version from __vm86.
42375
097d59fa
JM
423762012-04-20 Joseph Myers <joseph@codesourcery.com>
42377
a90f3bcb
JM
42378 * sysdeps/unix/common/lxstat.c: Remove file.
42379 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42380
edc7ea78
JM
42381 * sysdeps/unix/sysv/Makefile: Remove file.
42382
cb78c221
JM
42383 * sysdeps/unix/sysv/direct.h: Remove file.
42384
efa6a45f
JM
42385 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42386 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42387 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42388 * sysdeps/unix/sysv/bits/signum.h: Likewise.
42389 * sysdeps/unix/sysv/bits/stat.h: Likewise.
42390 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42391 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42392
9c9f2d0c
JM
42393 * sysdeps/unix/sysv/setrlimit.c: Remove file.
42394
4541c83b
JM
42395 * sysdeps/unix/xmknod.c: Remove file.
42396 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42397
f5d153a0
JM
42398 * sysdeps/unix/sysv/settimeofday.c: Remove file.
42399
aa746595
JM
42400 * sysdeps/unix/sysv/i386/time.S: Remove file.
42401
cce5905e
JM
42402 * sysdeps/unix/fxstat.c: Remove file.
42403 * sysdeps/unix/xstat.c: Likewise.
42404 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42405
37fa3841
JM
42406 * sysdeps/unix/sysv/sigaction.c: Remove file.
42407
ff1962a3
JM
42408 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42409 (sysdep_headers): Remove variable.
42410 [termio.h not in sysdep_headers] (generated): Likewise.
42411 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42412 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42413 * sysdeps/unix/sysv/tcdrain.c: Likewise.
42414 * sysdeps/unix/sysv/tcflow.c: Likewise.
42415 * sysdeps/unix/sysv/tcflush.c: Likewise.
42416 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42417 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42418 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42419 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42420 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42421
e7740d31
JM
42422 * sysdeps/unix/siglist.c: Remove file.
42423
ee06f18b
JM
42424 * sysdeps/unix/getppid.S: Remove file.
42425
097d59fa
JM
42426 * sysdeps/unix/mkdir.c: Remove file.
42427 * sysdeps/unix/rmdir.c: Likewise.
42428
ff3d51ec
AS
424292012-04-19 Andreas Schwab <schwab@linux-m68k.org>
42430
42431 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42432 ERR_MAX value.
42433 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42434 errlist-compat value.
42435
50f81fd7
DM
424362012-04-18 David S. Miller <davem@davemloft.net>
42437
42438 * sysdeps/generic/memcopy.h (reg_char): Delete.
42439 * debug/strcat_chk.c: Use char, not reg_char.
42440 * debug/strcpy_chk.c: Likewise.
42441 * debug/strncat_chk.c: Likewise.
42442 * debug/strncpy_chk.c: Likewise.
42443 * string/memchr.c: Likewise.
42444 * string/memrchr.c: Likewise.
42445 * string/rawmemchr.c: Likewise.
42446 * string/strcat.c: Likewise.
42447 * string/strchr.c: Likewise.
42448 * string/strchrnul.c: Likewise.
42449 * string/strcmp.c: Likewise.
42450 * string/strcpy.c: Likewise.
42451 * string/strncat.c: Likewise.
42452 * string/strncmp.c: Likewise.
42453 * string/strncpy.c: Likewise.
42454
8ff41c46
WS
424552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42456
42457 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42458 __builtin_memcopy is called when src and dest ranges are known to not
42459 overlap.
42460
6b652f46
WS
424612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42462
42463 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42464 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42465 fwd_align_merge macro call.
42466 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42467 bwd_align_merge macro call.
42468 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42469
b282631e
WS
424702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42471
42472 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42473 bwd_align_merge macros.
42474 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42475 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42476 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42477
95aa737c
DM
424782012-04-18 David S. Miller <davem@davemloft.net>
42479
42480 * sysdeps/sparc/sparc64/memcopy.h: Delete.
42481
7a99a614
AJ
424822012-04-18 Andreas Jaeger <aj@suse.de>
42483
42484 [BZ# 6794]
42485 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42486 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42487 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42488
42489 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42490 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42491 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42492
42493 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42494 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42495 Adjust for changed ldbl-128 files.
42496
42497 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42498 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42499 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42500
e5270c23
DM
425012012-04-17 David S. Miller <davem@davemloft.net>
42502
42503 * sysdeps/sparc/sparc32/memcopy.h: Delete.
42504
fb5e92c9
AS
425052012-04-17 Andreas Schwab <schwab@linux-m68k.org>
42506
42507 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42508 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42509 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42510 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42511 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42512 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42513
76da7265
AZ
425142012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42515
42516 [BZ #6794]
42517 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42518 * math/libm-test.inc: Add ilogb errno and exception tests.
42519 * math/w_ilogb.c: New file: ilogb wrapper.
42520 * math/w_ilogbf.c: New file: ilogbf wrapper.
42521 * math/w_ilogbl.c: New file: ilogbl wrapper.
42522 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42523 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42524 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42525 exception being thrown with 0.0 as argument.
42526 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42527 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42528 exception being thrown with 0.0 as argument.
42529 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42530 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42531 exception being thrown with 0.0 as argument.
42532 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42533 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42534 exception being thrown with 0.0 as argument.
42535 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42536 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 42537 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
42538 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42539 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42540 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42541 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42542 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42543 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42544
0396e69d
PB
425452012-04-17 Petr Baudis <pasky@ucw.cz>
42546
42547 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42548 with altivec.
42549
750b5926
MP
425502012-04-16 Marek Polacek <polacek@redhat.com>
42551
42552 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42553
751728a1
MP
425542012-04-16 Marek Polacek <polacek@redhat.com>
42555
42556 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42557 operands of fdivp instruction.
42558
34a27407
L
425592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42560
42561 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42562 * elf/tst-auditmod3b.c: Likewise.
42563 * elf/tst-auditmod4b.c: Likewise.
42564 * elf/tst-auditmod5b.c: Likewise.
42565 * elf/tst-auditmod6b.c: Likewise.
42566 * elf/tst-auditmod6c.c: Likewise.
42567 * elf/tst-auditmod7b.c: Likewise.
42568 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42569 * sysdeps/x86_64/preconfigure.in: Likewise.
42570 * sysdeps/x86_64/preconfigure: Regenerated.
42571
7e73e17d
L
425722012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42573
42574 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42575 __ILP32__.
42576
c7a6ab72
AB
425772012-04-13 Antoine Balestrat <merkil33@gmail.com>
42578
42579 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42580 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42581
a9e8e0e0
CL
425822012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42583
42584 [BZ #13973]
42585 * locale/iso-639.def: Fix gl language name. Spotted by
42586 Yaron Shahrabani.
42587
ec98af7d
RM
425882012-04-12 Roland McGrath <roland@hack.frob.com>
42589
42590 [BZ #2074]
42591 * libio/libio.h (__io_write_fn): Update comment.
42592
247c3ede
PB
425932012-04-12 Petr Baudis <pasky@ucw.cz>
42594
42595 [BZ #2074]
42596 * stdio.texi (Hook Functions): The user provided writer function
42597 is not allowed to return -1.
42598
55939d6d
DM
425992012-04-11 David S. Miller <davem@davemloft.net>
42600
42601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42602
90020f5a
MF
426032012-04-11 Mike Frysinger <vapier@gentoo.org>
42604
42605 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42606 Add a leading slash to rtkaio.
42607
288f9098
JM
426082012-04-11 Jim Meyering <meyering@redhat.com>
42609
90020f5a
MF
42610 [BZ #11959]
42611 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42612 It is not necessarily an error to ignore fwrite's return
42613 value. One can reliably use ferror to test for errors after
42614 the fact.
288f9098 42615
4be2b570
L
426162012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42617
42618 * bits/types.h (__snseconds_t): New type.
42619 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42620
42621 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42622 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42623 (__SNSECONDS_T_TYPE): Likewise.
42624 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42625 (__SNSECONDS_T_TYPE): Likewise.
42626 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42627 (__SNSECONDS_T_TYPE): Likewise.
42628
288f9098 426292012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
42630
42631 [BZ #2636]
42632 * manual/time.texi (Processor Time): Return type of times is
42633 elapsed real time since an arbitrary point in the past.
42634 (CPU Time): Move CLK_TCK from here...
42635 (Processor Time): ...to here. Correct description.
42636 * manual/conf.texi (Constants for Sysconf): Correct description of
42637 _SC_CLK_TCK.
42638
d7dd4413
DM
426392012-04-10 David S. Miller <davem@davemloft.net>
42640
42641 [BZ #13967]
42642 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42643 where the is a gap between DT_REL(A) and DT_JMPREL.
42644
b46068fc
L
426452012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42646
42647 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42648 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42649 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42650
73d65cc3
SP
426512012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42652
42653 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42654 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42655 (dl_main): Handle --inhibit-cache.
42656 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42657 _dl_inhibit_cache.
42658 * elf/dl-load.c (_dl_map_object): Use it.
42659 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42660
bcc8d661
JM
426612012-04-09 Joseph Myers <joseph@codesourcery.com>
42662
8f9a2fae
JM
42663 [BZ #13872]
42664 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42665 (__ieee754_powl): Saturate large exponents rather than testing for
42666 overflow of y*log2(x).
42667 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42668 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42669 exceptions.
42670
bcc8d661
JM
42671 [BZ #11521]
42672 * math/s_ctan.c: Include <float.h>.
42673 (__ctan): Avoid internal overflow or cancellation in calculating
42674 denominator.
42675 * math/s_ctanf.c: Likewise.
42676 * math/s_ctanl.c: Likewise.
42677 * math/s_ctanh.c: Likewise.
42678 * math/s_ctanhf.c: Likewise.
42679 * math/s_ctanhl.c: Likewise.
42680 * math/libm-test.inc (ctan_test): Add more tests.
42681 (ctanh_test): Likewise.
42682 * sysdeps/i386/fpu/libm-test-ulps: Update.
42683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42684
823fbbb4
AJ
426852012-04-09 Andreas Jaeger <aj@suse.de>
42686
03879793
AJ
42687 [BZ #6894]
42688 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42689 is an optional BSD extension.
42690
823fbbb4
AJ
42691 [BZ #10254]
42692 * manual/stdio.texi (Opening Streams): Document additional fopen
42693 parameters.
42694
8de131cb
RM
426952012-04-09 Roland McGrath <roland@hack.frob.com>
42696
42697 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42698 %eax without telling the compiler.
42699
c0ed9d7d
CD
427002012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42701
42702 [BZ # 13963]
42703 * manual/install.texi: Use sourceware.org.
42704
c483f6b4
JM
427052012-04-09 Joseph Myers <joseph@codesourcery.com>
42706
d7dd9453
JM
42707 [BZ #13873]
42708 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42709 (__ieee754_pow): Generate overflow and underflow using huge*huge
42710 and tiny*tiny rather than just returning constant infinity or zero
42711 for large exponents.
42712 * math/libm-test.inc (pow_test): Require overflow exceptions for
42713 applicable cases of large exponents.
42714
c483f6b4
JM
42715 [BZ #706]
42716 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42717 (__ieee754_pow): Use iterative multiplication algorithm only for
42718 integer exponents with absolute value below 1024. Check for odd
42719 integer exponents when using algorithm for real exponents.
42720 * math/libm-test.inc (pow_test): Add more tests.
42721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42722
d2de7579
JM
427232012-04-08 Joseph Myers <joseph@codesourcery.com>
42724
42725 [BZ #13705]
42726 * math/libm-test.inc (exp_test): Do not allow overflow exception
42727 on underflow test.
42728
f77f1232
AJ
427292012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42730
42731 [BZ #13705]
42732 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42733 instead of __kernel_standard_f.
42734
3884932b
MF
427352012-04-08 Mike Frysinger <vapier@gentoo.org>
42736
42737 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42738 * sysdeps/x86_64/memset_chk.S: Likewise.
42739
54472e9c
AJ
427402012-04-08 Andreas Jaeger <aj@suse.de>
42741
6ab0fbfc
AJ
42742 [BZ #10153]
42743 * manual/startup.texi (Environment Access): Describe return value
42744 for putenv and setenv.
42745
61efba8c
AJ
42746 [BZ #6895]
42747 * manual/filesys.texi (Directory Entries): Add description for
42748 DT_LNK.
42749
95c3f29a
AJ
42750 [BZ #6890]
42751 * manual/filesys.texi (Directory Entries): Clarify that it's file
42752 system not operating system in the description of DT_UNKNOWN.
42753
54472e9c
AJ
42754 [BZ #6578]
42755 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42756
624254b1
SC
427572012-04-08 Stephen Compall <s11@member.fsf.org>
42758
42759 [BZ #6649]
42760 * manual/llio.texi (Opening and Closing Files): Add cross
42761 reference to explain mode argument.
42762
1e4920e0
MF
427632012-04-07 Mike Frysinger <vapier@gentoo.org>
42764
42765 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42766 * sysdeps/x86_64/memset_chk.S: Likewise.
42767
5ed848f3
DM
427682012-04-07 David S. Miller <davem@davemloft.net>
42769
42770 * elf/elf.h (R_SPARC_WDISP10): Define.
42771 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42772 R_SPARC_SIZE32.
42773 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42774 R_SPARC_SIZE64 and R_SPARC_H34.
42775
96154cd8
CD
427762012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42777
42778 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42779 conditions and remove no longer applicable assertion.
42780
9904dc47
L
427812012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42782
42783 * bits/byteswap.h: Include <features.h>.
42784 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42785 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42786
f8887d0a
L
427872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42788
42789 * bits/byteswap.h (__bswap_16): Removed.
42790 Include <bits/byteswap-16.h> to get __bswap_16.
42791 * sysdeps/i386/bits/byteswap.h: Likewise.
42792 * sysdeps/s390/bits/byteswap.h: Likewise.
42793 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42794 * bits/byteswap-16.h: New file.
42795 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42796 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42797 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42798 * string/Makefile (headers): Add bits/byteswap-16.h.
42799
62470f60
PP
428002012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42801
42802 [BZ #13895]
42803 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42804 extra indirection.
42805 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42806 * nss/tst-nss-static.c: New.
42807
4dad7bab
RM
428082012-04-06 Robert Millan <rmh@gnu.org>
42809
42810 [BZ #6486]
42811 * manual/llio.texi (File Position Primitive): lseek
42812 refers to WHENCE when it really means OFFSET.
42813
e9142a17
AJ
428142012-04-06 Andreas Jaeger <aj@suse.de>
42815
2c040eff
AJ
42816 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42817 strncmp declarations.
42818
e9142a17
AJ
42819 * abilist/libc.abilist: Add __poll and __ppoll.
42820
ff9f1c5f
DM
428212012-04-05 David S. Miller <davem@davemloft.net>
42822
dcd2ae90
DM
42823 * scripts/check-local-headers.sh: Accept a host triplet in the
42824 path matched by the exclude regexp.
42825
993eb054
DM
42826 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42827 definition.
42828 * sysdeps/powerpc/powerpc32/dl-machine.h
42829 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42830 * sysdeps/s390/s390-32/dl-machine.h
42831 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42832 * sysdeps/sparc/sparc32/dl-machine.h
42833 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42834 * sysdeps/sparc/sparc64/dl-machine.h
42835 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42836
ff9f1c5f
DM
42837 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42838 lazy binding.
48e2e132 42839 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
42840 undefined symbol errors.
42841
48e2e132 42842 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
42843 DT_NEEDED entries.
42844
e80d6f94
MM
428452012-04-05 Michael Matz <matz@suse.de>
42846
42847 [BZ #13592]
42848 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42849
349fa79f
AJ
428502012-04-05 Andreas Jaeger <aj@suse.de>
42851
42852 [BZ #13908]
42853 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42854 comment.
42855
f402708f
KK
428562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42857
42858 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42859 which ROUND is no valid rounding mode.
42860
2ecccfc9
KK
428612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42862
42863 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42864 read again.
42865 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42866
8a53f50f
KK
428672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42868
42869 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42870 an exception using FPU order intentionally.
42871
428722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42873
42874 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42875 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42876 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42877 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42878
d653abb7
SJ
428792012-04-05 Simon Josefsson <simon@josefsson.org>
42880
42881 [BZ #12340]
42882 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42883 EINVAL when BUFLEN is too smal.
42884
c3b1bf7d
TS
428852012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42886
42887 [BZ #13553]
42888 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42889 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42890
b1aa60f3
AJ
428912012-04-03 Andreas Jaeger <aj@suse.de>
42892
c3b1bf7d 42893 [BZ #13938]
67f60a26
AJ
42894 * manual/setjmp.texi (System V contexts): Fix sentence.
42895
b1aa60f3
AJ
42896 [BZ #13926]
42897 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42898 New macro for this case.
42899 [!__GNUC__] (__bswap_64): New inline function for this case.
42900 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42901 * bits/byteswap.h: Likewise.
42902 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42903 ull, guard with __GLIBC_HAVE_LONG_LONG.
42904
42905 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42906 __GLIBC_HAVE_LONG_LONG.
42907
42908 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42909 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42910
39c59c35
TMQMF
429112012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42912
42913 [BZ #13691]
42914 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42915 inptr and inend, rather than using last_ch.
42916
135ffda8
DM
429172012-04-02 David S. Miller <davem@davemloft.net>
42918
42919 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42920 * stdio-common/printf-parse.h (read_int): Change return type to
42921 'int', return -1 on INT_MAX overflow.
42922 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42923 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42924 overflows INT_MAX. Check for overflow of in-format-string precision
42925 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42926 SIZE_MAX not INT_MAX for integer overflow test.
42927 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42928 skip the construct in the format string but do not record anything.
42929 * stdio-common/bug22.c: Adjust to test both width/prevision
42930 INT_MAX overflow as well as total length INT_MAX overflow. Check
42931 explicitly for proper errno values.
42932
228c019e
TS
429332012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42934
302cadd3
TS
42935 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42936 CHAR_MAX.
42937 * string/test-strcmp.c [! WIDE]: Likewise.
42938 * time/tst-mktime2.c: Likewise for INT_MAX.
42939 * string/test-string.h: #include <sys/param.h> for MIN.
42940
228c019e
TS
42941 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42942 * sysdeps/i386/init-first.c (init): Likewise.
42943 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42944 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42945 * sysdeps/sh/init-first.c (init): Likewise.
42946
cfa633f5
UD
429472012-04-01 Ulrich Drepper <drepper@gmail.com>
42948
42949 * po/ru.po: Update from translation team.
d1635ef8 42950 * po/vi.po: Likewise.
cfa633f5 42951
6cd0a5ea
SP
429522012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42953
42954 * resolv/nss_dns/dns-host.c: Merge copyright years.
42955
4b43400f
LD
429562012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42957
42958 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42959 Optimize memcpy with prefetch if
42960 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42961 src, dst pointers have unequal 16 byte alignments.
42962
48c41d04
SP
429632012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42964
42965 [BZ #13928]
42966 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42967 from a CNAME entry and return the minimum ttl for the query.
42968 (gaih_getanswer_slice): Likewise.
42969
b8dc394d
JL
429702012-03-30 Jeff Law <law@redhat.com>
42971
42972 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42973 due to long keys.
42974 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42975 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42976
2f5a5ed0
JL
42977 * resolv/nss_dns/dns-host.c: Update copyright year.
42978
1d39e359
UD
429792012-03-30 Ulrich Drepper <drepper@gmail.com>
42980
c030f70c 42981 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 42982 requests to save a system call. Fix check that all bytes are sent.
c030f70c 42983
1d39e359
UD
42984 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42985 comments for sendmmsg.
42986
429872012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
42988
42989 [BZ #13691]
42990 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42991 with only 1 character between 0x0041 and 0x01b0.
42992 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42993 * wcsmbs/tst-mbsnrtowcs.c: New file.
42994
20fde227
DM
429952012-03-29 David S. Miller <davem@davemloft.net>
42996
42997 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42998 small copies by hand.
42999
984a4237
JL
430002012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43001
43002 [BZ #13761]
57f41c40
AS
43003 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43004 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43005 group memberships.
984a4237 43006
18c9d62b
DM
430072012-03-28 David S. Miller <davem@davemloft.net>
43008
88d85d4f
DM
43009 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43010 that branches into memcpy.
43011 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43012 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43013 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43014 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43015 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43016 bits.
43017 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43018 implementation too.
43019 * sysdeps/sparc/mempcpy.S: New file.
43020
e5aa83e1
DM
43021 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43022 the IFUNC routine in the libc case.
43023 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43024
88570753
DM
43025 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43026 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43027 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43028 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43029 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43030 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43031 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43032 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43033
249d7567
DM
43034 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43035 loop to 256 bytes instead of 64 bytes and fix test signedness.
43036
18c9d62b
DM
43037 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43038 * sysdeps/sparc/sparc32/Makefile: rather than here...
43039 * sysdeps/sparc/sparc64/Makefile: and here.
43040
05f3d1f6
UD
430412012-03-28 Ulrich Drepper <drepper@gmail.com>
43042
43043 * malloc/mallocbug.c: Avoid warnings about unused variables.
43044
86ae07a8
JL
430452012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43046
43047 [BZ #13760]
43048 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43049 in the right place. Discard and retry query if response is
43050 larger than input buffer size.
43051
41bf21a1
JM
430522012-03-28 Joseph Myers <joseph@codesourcery.com>
43053
d6270972
JM
43054 [BZ #369]
43055 [BZ #2678]
43056 [BZ #3866]
43057 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43058 x for large integer exponent.
43059 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43060 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
43061 sign of result as needed afterwards.
43062 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43063 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43064 result for underflowing pow the same as for overflow.
43065 (__kernel_standard_l): Handle powl overflow and underflow here
43066 rather than calling __kernel_standard.
43067 * math/libm-test.inc (pow_test): Add more tests.
43068
414fca03 43069 [BZ #3868]
41bf21a1
JM
43070 [BZ #13879]
43071 [BZ #13910]
43072 [BZ #13911]
43073 [BZ #13912]
43074 [BZ #13913]
43075 [BZ #13915]
43076 [BZ #13916]
43077 [BZ #13917]
43078 [BZ #13918]
43079 [BZ #13919]
43080 [BZ #13920]
43081 [BZ #13921]
43082 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43083 * sysdeps/ieee754/k_standard.c: Include <float.h>.
43084 (__kernel_standard_l): New function.
43085 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43086 __kernel_standard.
43087 * math/w_acosl.c (__acosl): Likewise.
43088 * math/w_asinl.c (__asinl): Likewise.
43089 * math/w_atan2l.c (__atan2l): Likewise.
43090 * math/w_atanhl.c (__atanhl): Likewise.
43091 * math/w_coshl.c (__coshl): Likewise.
43092 * math/w_exp10l.c (__exp10l): Likewise.
43093 * math/w_exp2l.c (__exp2l): Likewise.
43094 * math/w_fmodl.c (__fmodl): Likewise.
43095 * math/w_hypotl.c (__hypotl): Likewise.
43096 * math/w_j0l.c (__j0l, __y0l): Likewise.
43097 * math/w_j1l.c (__j1l, __y1l): Likewise.
43098 * math/w_jnl.c (__jnl, __ynl): Likewise.
43099 * math/w_lgammal.c (__lgammal): Likewise.
43100 * math/w_log10l.c (__log10l): Likewise.
43101 * math/w_log2l.c (__log2l): Likewise.
43102 * math/w_logl.c (__logl): Likewise.
43103 * math/w_powl.c (__powl): Likewise.
43104 * math/w_remainderl.c (__remainderl): Likewise.
43105 * math/w_scalbl.c (sysv_scalbl): Likewise.
43106 * math/w_sinhl.c (__sinhl): Likewise.
43107 * math/w_sqrtl.c (__sqrtl): Likewise.
43108 * math/w_tgammal.c (__tgammal): Likewise.
43109 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43110 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43111 * math/libm-test.inc (acos_test): Add more tests.
43112 (acosh_test): Likewise.
43113 (asin_test): Likewise.
43114 (atanh_test): Likewise.
43115 (exp_test): Likewise.
43116 (exp10_test): Likewise.
43117 (exp2_test): Likewise.
43118 (expm1_test): Likewise.
43119 (lgamma_test): Likewise.
43120 (log_test): Likewise.
43121 (log10_test): Likewise.
43122 (log1p_test): Likewise.
43123 (log2_test): Likewise.
43124 (pow_test): Do not allow some spurious overflow exceptions.
43125 (sqrt_test): Add more tests.
43126 (tgamma_test): Likewise.
43127 (y0_test): Likewise.
43128 (y1_test): Likewise.
43129 (yn_test): Likewise.
43130
dd62fda6
AB
431312012-03-27 Anton Blanchard <anton@samba.org>
43132
43133 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43134 MAP_HUGETLB.
43135 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43136 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43137 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43138
1e3cdfda
AJ
431392012-03-27 David S. Miller <davem@davemloft.net>
43140
b855ab85
DM
43141 * conform/Makefile: Run run-conformtest.sh using $(BASH).
43142
1e3cdfda
AJ
43143 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43144 have-as-vis3 check.
43145
431462012-03-27 Andreas Jaeger <aj@suse.de>
43147
43148 * sysdeps/x86_64/elf/configure.in: Moved to ...
43149 * sysdeps/x86_64/configure.in: ... here.
43150 * sysdeps/x86_64/elf/start.S: Moved to ...
43151 * sysdeps/x86_64/start.S: ... here.
43152 * sysdeps/x86_64/elf/configure: Delete.
43153
43154 * sysdeps/x86_64/configure.in: Merge contents from
43155 sysdeps/i386/configure.in (without i686 check).
43156
43157 * sysdeps/i386/elf/Versions: Merge into ...
43158 * sysdeps/i386/Versions: ... this.
43159 * sysdeps/i386/elf/Versions: Delete file.
43160 * sysdeps/i386/elf/start.S: Moved to ...
43161 * sysdeps/i386/start.S: ...here.
43162 * sysdeps/i386/elf/configure.in: Merge into...
43163 * sysdeps/i386/configure.in: ...here.
43164 * sysdeps/i386/elf/configure.in: Delete file.
43165 * sysdeps/i386/elf/configure: Delete file.
43166
43167 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43168 * debug/backtracesyms.c: ... here.
43169 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43170 * debug/backtracesymsfd.c: ... here.
43171 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43172 * sysdeps/generic/ifunc-sel.h: ... here.
43173
43174 * sysdeps/unix/i386/start.c: Delete file.
43175 * sysdeps/unix/sparc/start.c: Delete file.
43176 * sysdeps/unix/start.c: Delete file.
43177
43178 * sysdeps/sh/elf/configure.in: Moved to ...
43179 * sysdeps/sh/configure.in: ... here.
43180 * sysdeps/sh/elf/start.S: Moved to ...
43181 * sysdeps/sh/start.S: ... here.
43182 * sysdeps/sh/elf/configure: Delete file.
43183
43184 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43185 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43186 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43187 * sysdeps/powerpc/powerpc64/entry.h: ... here.
43188 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43189 * sysdeps/powerpc/powerpc64/start.S: here.
43190 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43191 * sysdeps/powerpc/powerpc64/Makefile: ... this.
43192 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43193 * sysdeps/powerpc/powerpc64/configure.in: ... this.
43194 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43195
43196 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43197 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43198 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43199 * sysdeps/powerpc/powerpc32/start.S: ... here.
43200 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43201 * sysdeps/powerpc/powerpc32/configure.in: ... this.
43202 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43203
43204 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43205 * sysdeps/powerpc/ifunc-sel.h: ... here.
43206 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43207 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43208
43209 * sysdeps/sparc/elf/configure.in: Moved to ...
43210 * sysdeps/sparc/configure.in: ... here.
43211 * sysdeps/sparc/elf/configure: Delete file.
43212 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43213 * sysdeps/sparc/sparc32/start.S: ... here.
43214 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43215 * sysdeps/sparc/sparc64/start.S: ... here.
43216 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43217 * sysdeps/sparc/sparc32/Makefile: ... this.
43218 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43219 * sysdeps/sparc/sparc64/Makefile: ... this.
43220
43221 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43222 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43223 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43224 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43225 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43226 * sysdeps/s390/s390-32/setjmp.S: ... here.
43227 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43228 * sysdeps/s390/s390-32/configure.in: ... here.
43229 * sysdeps/s390/s390-32/elf/configure: Delete file.
43230 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43231 * sysdeps/s390/s390-32/start.S: ... here.
43232
43233 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43234 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43235 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43236 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43237 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43238 * sysdeps/s390/s390-64/setjmp.S: ... here.
43239 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43240 * sysdeps/s390/s390-64/configure.in: ... here
43241 * sysdeps/s390/s390-64/elf/configure: Delete file.
43242 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43243 * sysdeps/s390/s390-64/start.S: ... here.
43244 * sysdeps/s390/s390-64/elf/configure: Delete.
43245
43246 * configure.in: Remove support for elf directories in sysdeps.
43247
43248 * configure: Regenerated.
43249 * sysdeps/i386/configure: Regenerated.
43250 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43251 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43252 * sysdeps/s390/s390-32/configure: Regenerated.
43253 * sysdeps/s390/s390-64/configure: Regenerated.
43254 * sysdeps/sh/configure: Regenerated.
43255 * sysdeps/sparc/configure: Regenerated.
43256 * sysdeps/x86_64/configure: Regenerated.
43257
a3f61311
AS
432582012-03-26 Andreas Schwab <schwab@linux-m68k.org>
43259
c876e002
AS
43260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43261
a3f61311
AS
43262 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43263 denormal result into account.
43264
ac4c54f0
RM
432652012-03-25 Roland McGrath <roland@hack.frob.com>
43266
43267 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43268 Reported by Allan McRae <allan@archlinux.org>.
43269
6a9b9c02
JL
432702012-03-23 Jeff Law <law@redhat.com>
43271
43272 * nss/getnssent.c (__nss_getent): Fix typo.
43273
4c42a0c1
DM
432742012-03-23 David S. Miller <davem@davemloft.net>
43275
43276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43277
1532c7ac
L
432782012-03-23 H.J. Lu <hongjiu.lu@intel.com>
43279
43280 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43281 to pad to uint64_t for each field.
43282 (dl_tls_index): Replace unsigned long with uint64_t.
43283
3ff42526
PP
432842012-03-23 Daniel Jacobowitz <dmj@google.com>
43285 Paul Pluzhnikov <ppluzhnikov@google.com>
43286
43287 [BZ #6528]
43288 * grp/Makefile (otherlibs): Don't set it.
43289 * inet/Makefile (otherlibs): Likewise.
43290 * login/Makefile (otherlibs): Likewise.
43291 * nscd/Makefile (otherlibs): Likewise.
43292 * posix/Makefile (otherlibs): Likewise.
43293 * pwd/Makefile (otherlibs): Likewise.
43294 * rt/Makefile (otherlibs): Likewise.
43295 * sunrpc/Makefile (otherlibs): Likewise.
43296 * nss/Makefile (otherlibs): Likewise.
43297 Add libnss_files to routines and static-only-routines.
43298 ($(objpfx)getent): Remove rule.
43299 * resolv/Makefile: Add libnss_dns and libresolv to routines and
43300 static-only-routines.
43301
7c69cd14
JM
433022012-03-22 Joseph Myers <joseph@codesourcery.com>
43303
43304 [BZ #13892]
43305 * math/s_cexp.c: Include <float.h>.
43306 (__cexp): Handle exp result overflowing not necessarily
43307 overflowing both real and imaginary parts of result.
43308 * math/s_cexpf.c: Likewise.
43309 * math/s_cexpl.c: Likewise.
43310 * math/libm-test.inc (cexp_test): Add more tests.
43311 * sysdeps/i386/fpu/libm-test-ulps: Update.
43312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43313
81b035fe
L
433142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43315
43316 * include/link.h (ELFW): New macro.
43317 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43318 Replace ELF64_R_TYPE with ELFW(R_TYPE).
43319
1da7940c
L
433202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43321
43322 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43323 with uint64_t.
43324
b749dbb9
L
433252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43326
43327 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43328 declaration.
43329 (struct La_x32_retval): Likewise.
43330
2ff87f3f
L
433312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43332
43333 * sysdeps/x86_64/preconfigure.in: New file.
43334 * sysdeps/x86_64/preconfigure: New generated file.
43335
c0df8e69
JM
433362012-03-22 Joseph Myers <joseph@codesourcery.com>
43337
48e44791
JM
43338 [BZ #13824]
43339 * math/e_exp2l.c: Include <float.h>.
43340 (__ieee754_exp2l): Handle overflow and underflow cases
43341 separately. Only pass fractional part of argument to
43342 __ieee754_expl.
43343 * math/libm-test.inc (exp2_test): Add more tests.
43344
c0df8e69
JM
43345 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43346 negating x to take absolute value.
43347 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43348 Likewise.
43349 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43350 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43351 Likewise.
43352 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43353 computing low part if x was negated.
43354 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43355
c8e43ba7
L
433562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43357
43358 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43359 la_x32_gnu_pltexit.
43360 (pltexit): Cast int_retval to ptrdiff_t.
43361 * elf/tst-auditmod3b.c: Likewise.
43362 * elf/tst-auditmod4b.c: Likewise.
43363 * elf/tst-auditmod5b.c: Likewise.
43364 * elf/tst-auditmod6b.c: Likewise.
43365 * elf/tst-auditmod6c.c: Likewise.
43366 * elf/tst-auditmod7b.c: Likewise.
43367
43368 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43369 and x32_gnu_pltexit.
43370
43371 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43372 __ELF_NATIVE_CLASS.
43373 (La_x32_regs): New macro.
43374 (La_x32_retval): Likewise.
43375 (la_x32_gnu_pltenter): New function prototype.
43376 (la_x32_gnu_pltexit): Likewise.
43377
7998fa78
AS
433782012-03-21 Andreas Schwab <schwab@linux-m68k.org>
43379
dcb33988
AS
43380 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43381 exponent.
43382
233fc563
AS
43383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43384
7998fa78
AS
43385 * configure.in (libc_cv_cc_nofma): Check for option to disable
43386 generation of FMA instructions.
43387 * configure: Regenerate.
43388 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43389 * sysdeps/ieee754/dbl-64/Makefile: New file.
43390 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43391 Remove brandred-fma4.
43392 (CFLAGS-brandred-fma4.c): Remove.
43393 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43394 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43395 define.
43396 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43397 define.
43398
8e95c99a
L
433992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43400
43401 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43402 LLONG_MAX != LONG_MAX.
43403 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43404 (_fitoa_word): Likewise.
43405 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43406 LLONG_MAX != LONG_MAX.
43407 * stdio-common/_itowa.h: Include <_itoa.h>.
43408 (_itowa_word): Use _ITOA_WORD_TYPE on value.
43409 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
43410 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
43411 only if not defined.
43412 (_ITOA_WORD_TYPE): Likewise.
43413 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43414 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43415
6f4db457
DM
434162012-03-21 David S. Miller <davem@davemloft.net>
43417
43418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43419
7785fe5a
L
434202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43421
43422 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43423 of x86_64 when setting libc_cv_slibdir, libdir and
43424 libc_cv_localedir.
43425 * sysdeps/unix/sysv/linux/configure: Regenerated.
43426
4535cd55
JM
434272012-03-21 Joseph Myers <joseph@codesourcery.com>
43428
43429 * manual/lang.texi (Old Varargs): Remove section.
43430 (How Variadic): Update menu.
43431 (va_start): Do not mention varargs.h.
43432
17228132
TS
434332012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43434 Joseph Myers <joseph@codesourcery.com>
43435
43436 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43437 link test.
43438 * configure: Regenerated.
43439
8149f976
TS
434402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43441
05f3d1f6
UD
43442 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43443 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43444 conformtest.pl
8149f976 43445
1a4ac776
JM
434462012-03-21 Joseph Myers <joseph@codesourcery.com>
43447
be22ce65
JM
43448 * NOTES: Remove.
43449 * Makefile (files-for-dist): Remove NOTES.
43450 (NOTES): Remove rule.
43451 * README: Don't refer to NOTES.
43452 * manual/creature.texi: Don't include macros.texi.
43453 * manual/intro.texi (creature.texi): Remove comment referring to
43454 NOTES.
43455
40b601fb
JM
43456 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43457 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43458 * configure: Regenerated.
43459 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43460 LIBC_TRY_CC_OPTION.
43461 (libc_cv_as_i686): Likewise.
43462 (libc_cv_cc_avx): Likewise.
43463 (libc_cv_cc_sse2avx): Likewise.
43464 (libc_cv_cc_fma4): Likewise.
43465 (libc_cv_cc_novzeroupper): Likewise.
43466 * sysdeps/i386/configure: Regenerated.
43467
1a4ac776
JM
43468 [BZ #13883]
43469 * sysdeps/i386/fpu/s_cexp.S: Remove.
43470 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43471 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43472 * math/libm-test.inc (cexp_test): Add more tests.
43473 * sysdeps/i386/fpu/libm-test-ulps: Update.
43474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43475
a458e7fe
AM
434762012-03-21 Allan McRae <allan@archlinux.org>
43477
43478 * timezone/Makefile: Do not install iso3166.tab and zone.tab
43479
0cb7efc5
JM
434802012-03-21 Joseph Myers <joseph@codesourcery.com>
43481
43482 [BZ #13871]
43483 * math/w_exp2.c: Do not include <float.h>.
43484 (o_threshold, u_threshold): Remove.
43485 (__exp2): Calculate result before checking finiteness and calling
43486 __kernel_standard.
43487 * math/w_exp2f.c: Likewise.
43488 * math/w_exp2l.c: Likewise.
43489 * math/libm-test.inc (exp2_test): Require overflow exception for
43490 1e6 input.
2460d3aa
JM
43491
43492 [BZ #3866]
43493 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43494 range of signed 64-bit integers before using fistpll. Remove
43495 checks for whether integers fit in mantissa bits.
43496 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43497 the range of signed 32-bit integers before using fistpl. Remove
43498 checks for whether integers fit in mantissa bits.
43499 * sysdeps/i386/fpu/e_powl.S (p64): New object.
43500 (__ieee754_powl): Test for y outside the range of signed 64-bit
43501 integers before using fistpll. Reduce 64-bit values to 63-bit
43502 ones as needed.
43503 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43504 divide-by-zero is raised for zero to large negative powers.
43505 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43506 (__ieee754_powl): Test for y outside the range of signed 64-bit
43507 integers before using fistpll. Reduce 64-bit values to 63-bit
43508 ones as needed.
43509 * math/libm-test.inc (pow_test): Add more tests.
43510
eb96ffb0
L
435112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43512
43513 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43514 <stdio-common/_itoa.h>.
43515 * debug/segfault.c: Likewise.
43516 * elf/dl-cache.c: Likewise.
43517 * elf/dl-minimal.c: Likewise.
43518 * elf/dl-misc.c: Likewise.
43519 * elf/dl-sysdep.c: Likewise.
43520 * elf/dl-version.c: Likewise.
43521 * elf/rtld.c: Likewise.
43522 * hurd/hurdsock.c: Likewise.
43523 * hurd/lookup-retry.c: Likewise.
43524 * malloc/malloc.c: Likewise.
43525 * malloc/mtrace.c: Likewise.
43526 * nscd/nscd_getgr_r.c: Likewise.
43527 * nscd/nscd_getpw_r.c: Likewise.
43528 * nscd/nscd_getserv_r.c: Likewise.
43529 * posix/getopt_init.c: Likewise.
43530 * posix/wordexp.c: Likewise.
43531 * stdio-common/_itoa.c: Likewise.
43532 * stdio-common/printf_fphex.c: Likewise.
43533 * stdio-common/vfprintf.c: Likewise.
43534 * string/_strerror.c: Likewise.
43535 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43536 * sysdeps/i386/i686/hp-timing.h: Likewise.
43537 * sysdeps/mach/_strerror.c: Likewise.
43538 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43539 * sysdeps/mach/hurd/sethostid.c: Likewise.
43540 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43541 * sysdeps/mach/xpg-strerror.c: Likewise.
43542 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43543 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43544 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43545 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43546 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43547 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43548 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43549 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43550 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43551 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43552 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43553 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43554 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43555 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43556 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43557 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43558 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43559 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43560 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43561 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43562 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43563
43564 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43565
43566 * stdio-common/_itoa.h: Moved to ...
43567 * sysdeps/generic/_itoa.h: Here.
43568
43569 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43570
43571 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43572 instead of "_itoa.h" and "_itowa.h".
43573 * stdio-common/vfprintf.: Likewise.
43574
d1af992d
L
435752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43576
43577 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43578 <bits/wordsize.h>.
43579 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43580 (__signbit): Likwise.
43581 (llrintf): Likwise.
43582 (llrint): Likwise.
43583
114883e0
L
435842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43585
43586 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43587 __WORDSIZE != 64.
43588
c135cc1b
JM
435892012-03-20 Joseph Myers <joseph@codesourcery.com>
43590
43591 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43592 OVERFLOW_EXCEPTION_OK.
43593 * math/libm-test.inc ("Philosophy"): Update comment about
43594 exception testing.
43595 (OVERFLOW_EXCEPTION): Define.
43596 (OVERFLOW_EXCEPTION_OK): Likewise.
43597 (INVALID_EXCEPTION_OK): Renumber.
43598 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43599 (IGNORE_ZERO_INF_SIGN): Likewise.
43600 (test_exceptions): Handle FE_OVERFLOW.
43601 (exp10_test): Expect overflow exceptions.
43602 (exp2_test): Likewise.
43603 (expm1_test): Likewise.
43604 (nextafter_test): Likewise.
43605 (pow_test): Likewise.
43606 (scalbn_test): Likewise.
43607 (scalbln_test): Likewise.
43608
95443d88
L
436092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43610
43611 * sysdeps/x86_64/bits/atomic.h
43612 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43613 64bit integer.
43614 (atomic_exchange_acq): Likewise.
43615 (__arch_exchange_and_add_body): Likewise.
43616 (__arch_add_body): Likewise.
43617 (atomic_add_negative): Likewise.
43618 (atomic_add_zero): Likewise.
43619
490df6c4
L
436202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43621
c2722551 43622 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
43623 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43624
5e52b189
L
436252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43626
43627 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43628 Check __x86_64__ instead of __WORDSIZE.
43629
a9879d4c
L
436302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43631
43632 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43633
5df98260
DM
436342012-03-19 David S. Miller <davem@davemloft.net>
43635
e1497744
DM
43636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43637
5df98260
DM
43638 * sysdeps/sparc/fpu/fenv_private.h: New file.
43639 * sysdeps/sparc/fpu/math_private.h: Use it.
43640 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43641 Remove.
57f41c40 43642 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
43643 (libc_feholdexcept_setroundl): Remove.
43644 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43645 Remove.
43646 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43647 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43648
b4c35121
L
436492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43650
43651 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43652 int64_t instead of long int.
43653 (INSERT_WORDS64): Likwise.
43654
56965fd7
L
436552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43656
43657 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43658 _Unwind_GetCFA return to _Unwind_Ptr first.
43659
83d1aec8
JM
436602012-03-19 Joseph Myers <joseph@codesourcery.com>
43661
1897ad44
JM
43662 [BZ #13629]
43663 * math/s_clog.c: Include <float.h>.
43664 (__clog): Scale large or subnormal inputs.
43665 * math/s_clogf.c: Likewise.
43666 * math/s_clogl.c: Likewise.
43667 * math/s_clog10.c: Include <float.h>.
43668 (M_LOG10_2): Define.
43669 (__clog10): Scale large or subnormal inputs.
43670 * math/s_clog10f.c: Likewise.
43671 * math/s_clog10l.c: Likewise.
43672 * math/libm-test.inc (clog_test): Add more tests.
43673 (clog10_test): Likewise.
43674 * sysdeps/i386/fpu/libm-test-ulps: Update.
43675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43676
7726d6a9
JM
43677 [BZ #11451]
43678 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43679 x and y.
43680 * math/libm-test.inc (atan2_test): Add another test.
43681
83d1aec8
JM
43682 * Makerules (common-objdir-compile): Remove.
43683 * sysdeps/unix/Makefile (config-generated): Do not add
43684 $(unix-generated) to variable.
43685 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43686 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43687 Remove rule.
43688 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43689 Likewise.
43690 [generic bits/local_lim.h] (before-compile): Do not append to
43691 variable.
43692 [generic bits/local_lim.h] (common-generated): Likewise.
43693 [generic sys/param.h] (before-compile): Do not append to variable.
43694 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43695 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43696 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43697 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43698 include.
43699 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43700 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43701 [generic sys/param.h] ($(addprefix
43702 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43703 [generic sys/param.h] (common-generated): Do not append to
43704 variable.
43705 [generic sys/param.h] (sysdep_headers): Likewise.
43706 [generic bits/errno.h] (before-compile): Do not append to
43707 variable.
43708 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43709 rule.
43710 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43711 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43712 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43713 [generic bits/errno.h] (common-generated): Do not append to
43714 variable.
43715 [generic bits/ioctls.h] (before-compile): Do not append to
43716 variable.
43717 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43718 rule.
43719 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43720 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43721 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43722 rule.
43723 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43724 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43725 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43726 [generic bits/ioctls.h] (common-generated): Do not append to
43727 variable.
43728 [generic sys/syscall.h] (syscall.h): Remove variable.
43729 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43730 rule.
43731 [generic sys/syscall.h] (before-compile): Do not append to
43732 variable.
43733 [generic sys/syscall.h] (common-generated): Likewise.
43734 * sysdeps/unix/errnos-tmpl.c: Remove file.
43735 * sysdeps/unix/errnos.awk: Likewise.
43736 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43737 * sysdeps/unix/ioctls.awk: Likewise.
43738 * sysdeps/unix/mk-local_lim.c: Likewise.
43739 * sysdeps/unix/snarf-ioctls: Likewise.
43740
4851a949
RH
437412012-03-19 Richard Henderson <rth@twiddle.net>
43742
bd37f2ee
RH
43743 * sysdeps/i386/fpu/fenv_private.h: New file.
43744 * sysdeps/i386/fpu/math_private.h: Use it.
43745 (math_opt_barrier, math_force_eval): Remove.
43746 (libc_feholdexcept_setround_53bit): Remove.
43747 (libc_feupdateenv_53bit): Remove.
43748 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43749 (math_opt_barrier, math_force_eval): Remove.
43750 (libc_feholdexcept): Remove.
43751 (libc_feholdexcept_setround): Remove.
43752 (libc_fetestexcept, libc_fesetenv): Remove.
43753 (libc_feupdateenv_test): Remove.
43754 (libc_feupdateenv, libc_feholdsetround): Remove.
43755 (libc_feresetround): Remove.
43756
d0adc922
RH
43757 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43758 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43759
0fe0f1f8
RH
43760 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43761 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43762 (libc_feupdateenv_testl): New.
43763 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43764 (libc_feupdateenv_testf): New.
43765 (libc_feupdateenv): Use libc_feupdateenv_test.
43766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43767 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43768
eb92c487
RH
43769 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43770 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43771 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43772 (libc_feresetround_noex): New.
43773 (libc_feresetround_noexf): New.
43774 (libc_feresetround_noexl): New.
43775 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43776 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43777 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43778 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43779 SET_RESTORE_ROUND.
43780 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43781 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43782 (__cos): Likewise.
43783 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43784 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43785 SET_RESTORE_ROUND_NOEX.
43786 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43787 SET_RESTORE_ROUND_NOEXF.
43788 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43789 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43790 (libc_feholdsetroundf): New.
43791 (libc_feresetround, libc_feresetroundf): New.
43792
7d2e8012
RH
43793 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43794 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43795 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43796
b4dabbb4
RH
43797 * sysdeps/generic/math_private.h: Include <fenv.h>.
43798 (default_libc_feholdexcept): New.
43799 (default_libc_feholdexcept_setround): New.
43800 (default_libc_fesetenv, default_libc_feupdateenv): New.
43801 (libc_feholdexcept): Only define if undefined.
43802 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43803 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43804 (libc_feholdexcept_setroundl): Likewise.
43805 (libc_feholdexcept_setround_53bit): Likewise.
43806 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43807 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43808 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43809 (libc_feupdateenv_53bit): Likewise.
43810 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43811 (libc_feholdexcept): Convert from macro to inline function.
43812 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43813 (libc_fesetenv, libc_feupdateenv): Likewise.
43814
4851a949
RH
43815 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43816 not previously defined.
43817 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43818 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43819 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43820 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43821 * sysdeps/ieee754/flt-32/math_private.h: New file.
43822 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43823 math_private.h below SET_FLOAT_WORD.
43824 (__isnan, __isinf_ns, __finite): Remove.
43825 (__isnanf, __isinf_nsf, __finitef): Remove.
43826
e79d442e
AS
438272012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43828
43829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43830
90b80344
DM
438312012-03-17 David S. Miller <davem@davemloft.net>
43832
43833 [BZ #6471]
43834 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43835 for 2.16.
43836
edc21804
DM
438372012-03-16 David S. Miller <davem@davemloft.net>
43838
77e927af
DM
43839 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43840 warnings.
43841
374976dd
DM
43842 [BZ #6471]
43843 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43844 properly.
43845 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43846 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43847 sysdep_routines when subdir is sysvipc.
43848 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43849 __getshmlba helper.
43850
edc21804
DM
43851 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43852
473c3ef3
L
438532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43854
43855 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43856 [__LP64__].
43857
eb0f39b6
L
438582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43859
43860 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43861 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43862 (__lround): Renamed to ...
43863 (__llround): This. Replace long int with long long int.
43864 Define lround functions as aliases of llround functions.
43865 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43866
6b6cd74b
L
438672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43868
43869 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43870 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43871 adresses to uintptr_t. Replace "long int" and "unsigned long
43872 int" with "greg_t" on va_arg.
43873
f1a77b01
L
438742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43875
43876 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43877 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43878
43879 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43880 Move e_machine check before EI_CLASS check. Handle x32
43881 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43882 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43883 SKIP_EM_IA_64 and include
43884 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43885
43886 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43887 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43888 (add_system_dir): New macro.
43889
43890 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43891 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43892
11b90b9f
JM
438932012-03-16 Joseph Myers <joseph@codesourcery.com>
43894
c36e1d23
JM
43895 [BZ #2551]
43896 [BZ #2552]
43897 [BZ #2553]
43898 [BZ #2554]
43899 [BZ #2562]
43900 [BZ #2563]
43901 [BZ #2565]
43902 [BZ #2566]
43903 [BZ #2576]
43904 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43905 (y0): Likewise.
43906 * math/w_j0f.c (j0f): Likewise.
43907 (y0f): Likewise.
43908 * math/w_j0l.c (__j0l): Likewise.
43909 (__y0l): Likewise.
43910 * math/w_j1.c (j1): Likewise.
43911 (y1): Likewise.
43912 * math/w_j1f.c (j1f): Likewise.
43913 (y1f): Likewise.
43914 * math/w_j1l.c (__j1l): Likewise.
43915 (__y1l): Likewise.
43916 * math/w_jn.c (jn): Likewise.
43917 (yn): Likewise.
43918 * math/w_jnf.c (jnf): Likewise.
43919 (ynf): Likewise.
43920 * math/w_jnl.c (__jnl): Likewise.
43921 (__ynl): Likewise.
43922 * math/libm-test.inc (j0_test): Add more tests.
43923 (j1_test): Likewise.
43924 (jn_test): Likewise. Add trailing semicolon to existing test.
43925 (y0_test): Likewise.
43926 (y1_test): Likewise.
43927 * sysdeps/i386/fpu/libm-test-ulps: Update.
43928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43929
11b90b9f
JM
43930 [BZ #13851]
43931 [BZ #13854]
43932 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43933 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43934 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43935 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43936 (__tanl): Set errno for infinite argument.
43937 * sysdeps/i386/fpu/mptan.c: Remove.
43938 * sysdeps/i386/fpu/s_tan.S: Likewise.
43939 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43940 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43941 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43942 * math/libm-test.inc (tan_test): Add more tests and enable more
43943 tests for double and long double.
43944 * sysdeps/i386/fpu/libm-test-ulps: Update.
43945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43946
6a1bd2a1
JK
439472012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43948
43949 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43950 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43951
10a803e0
RM
439522012-03-16 Roland McGrath <roland@hack.frob.com>
43953
43954 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43955 * configure.in: Use it for both main tree and add-ons.
43956 * configure: Regenerated.
43957
f196c7f7
L
439582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43959
43960 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43961
8848d99d
JM
439622012-03-16 Joseph Myers <joseph@codesourcery.com>
43963
96cbe7f4
JM
43964 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43965 in comment.
43966
8848d99d
JM
43967 [BZ #13851]
43968 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43969 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43970 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43971 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43972 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43973 infinite argument.
43974 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43975 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43976 != 0 for prec == 2.
43977 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43978 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43979 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43980 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43981 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43982 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43983 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43984 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43985 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43986 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43987 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43988 * math/libm-test.inc (cos_test): Add more tests and enable more
43989 tests for long double.
43990 (sin_test): Likewise.
43991 (sincos_test): Likewise.
43992 * sysdeps/i386/fpu/libm-test-ulps: Update.
43993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43994
dd7f4703
DM
439952012-03-16 David S. Miller <davem@davemloft.net>
43996
43997 * sysdeps/sparc/fpu/math_private.h: New file.
43998
006f1daa
DM
439992012-03-15 David S. Miller <davem@davemloft.net>
44000
c0c83bc8
DM
44001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44002 file.
e6a62e18 44003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
44004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44005 file.
e6a62e18
DM
44006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44011 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44012 sysdep routines.
44013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44014
88cb87d9
DM
44015 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44016 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44017
006f1daa 44018 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
44019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44020 sparc-ifunc.h
006f1daa 44021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
44022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44023 Likewise.
44024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44025 Likewise.
006f1daa
DM
44026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
44029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44030 Likewise.
006f1daa
DM
44031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
44035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44036 Likewise.
44037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44038 Likewise.
006f1daa
DM
44039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44043 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44045 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44046 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44047 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44048 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44053 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44057 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44058 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44059 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44060 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44061 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44062 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44063
11e0098e
AS
440642012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44065
44066 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44067 scaling.
44068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44069
e85b09d0
AJ
440702012-03-15 Andreas Jaeger <aj@suse.de>
44071
44072 [BZ #13852]
44073 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44074 ieee754/flt-32 implementation for sin, cos and sincos.
44075 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44076 * sysdeps/i386/fpu/s_cosf.S: Likewise.
44077 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44078 * sysdeps/i386/fpu/s_sinf.S: Likewise.
44079 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44080 ieee754/flt-32 implementation for tan.
44081
44082 * math/libm-test.inc (cos_test): Enable some large input tests for
44083 float as well
44084 (sin_test): Likewise.
44085 (sincos_test): Likewise.
44086 (tan_test): Add tests for large input.
44087
44088 * sysdeps/i386/fpu/libm-test-ulps: Update.
44089
81c64153
AJ
440902012-03-15 Andreas Jaeger <aj@suse.de>
44091
44092 [BZ #13658]
44093 * math/libm-test.inc (cos_test): Add more test cases.
44094 (sin_test): Likewise.
44095 (sincos_test): Likewise.
44096
7bbfa5c6
AJ
440972012-03-15 Andreas Jaeger <aj@suse.de>
44098
44099 [BZ #13837]
44100 * math/libm-test.inc (cos_test): Add a test case for large input
44101 value.
44102 (sin_test): Likewise.
44103 (sincos_test): Likewise.
44104
57f41c40
AS
441052012-03-15 Andreas Jaeger <aj@suse.de>
44106 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
44107
44108 [BZ #13658]
0671f479 44109 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
44110 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44111 * sysdeps/i386/fpu/branred.c: Likewise.
44112 * sysdeps/i386/fpu/dosincos.c: Likewise.
44113 * sysdeps/i386/fpu/mpa.c: Likewise.
44114 * sysdeps/i386/fpu/s_cos.S: Likewise.
44115 * sysdeps/i386/fpu/s_sin.S: Likewise.
44116 * sysdeps/i386/fpu/s_sincos.S: Likewise.
44117 * sysdeps/i386/fpu/sincos32.c: Likewise.
44118
44119 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44120 Define.
44121 (libc_feupdateenv_53bit): Define.
44122 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44123 Define.
44124 (libc_feupdateenv_53bit): Define.
44125
44126 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44127 53 bit (without extend i386 double precision).
44128
44129 * math/libm-test.inc (sincos_test): Add tests for large input.
44130 (sin): Likewise.
44131 (cos): Likewise.
44132
44133 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44134
9cad04ea
AS
441352012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44136
44137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44138
f7062b9a
DM
441392012-03-15 David S. Miller <davem@davemloft.net>
44140
44141 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44142 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44143 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44144 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
44156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44157 file.
f7062b9a 44158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
44159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44160 file.
f7062b9a 44161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
44162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44163 file.
f7062b9a 44164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
44165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44166 file.
f7062b9a
DM
44167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44168 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44169 fmin/fmax sysdep routines.
44170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44171
7bd951ff
DM
441722012-03-14 David S. Miller <davem@davemloft.net>
44173
559398ab
DM
44174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44178 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44179 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44180 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44181 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44182 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44183 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44185 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44194 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44195 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44196 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44197 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44198 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44199 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44200 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44201 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
44202 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44203 routines.
44204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44205 file.
559398ab 44206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
44207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44208 file.
559398ab 44209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
44210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44211 file.
559398ab 44212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
44213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44214 file.
559398ab 44215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
44216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44217 file.
559398ab 44218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
44219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44220 file.
44221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44222 file.
44223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44224 file.
44225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44226 file.
44227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44228 New file.
44229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44230 file.
44231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44232 file.
559398ab 44233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
44234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44235 file.
559398ab 44236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
44237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44238 file.
559398ab 44239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
44240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44241 file.
559398ab 44242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
44243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44244 VIS3 routines.
559398ab
DM
44245
44246 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44247 New file.
44248
5a1c1e32
DM
44249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44250
eae47a36
DM
44251 * sysdeps/sparc/configure.in: New file.
44252 * sysdeps/sparc/configure: Generate.
44253 * configure.in (libc_cv_sparc_as_vis3): Substitute.
44254 * configure: Regenerate.
44255 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44256 * config.make.in (have-as-vis3): New.
44257 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44258 available use -Av9d instead of -Av9a.
44259 * sysdeps/sparc/sparc64/Makefile: Likewise.
44260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
44261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44262 New file.
44263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44264 file.
44265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44266 New file.
44267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44268 file.
eae47a36
DM
44269 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44270 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44271 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44272 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44273 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44274
c0c83bc8
DM
44275 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44276 fzeros/fnegs to load 0x80000000 into a float register instead of
44277 using the stack.
7bd951ff
DM
44278 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44279
bd951ccb
JM
442802012-03-14 Joseph Myers <joseph@codesourcery.com>
44281
44282 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44283 bits/syscall.h.
44284 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44285 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44286 ($(inst_includedir)/bits/syscall.h): Remove rule.
44287 ($(objpfx)bits/syscall.d): Include instead of
44288 $(objpfx)syscall-list.d.
44289 (generated): Change syscall-list.h and syscall-list.d to
44290 bits/syscall.h and bits/syscall.d.
44291
bb4e6db2
RM
442922012-03-14 Roland McGrath <roland@hack.frob.com>
44293
44294 [BZ #13846]
44295 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44296
aa4a2ae1
JM
442972012-03-14 Joseph Myers <joseph@codesourcery.com>
44298
e456826d
JM
44299 [BZ #13841]
44300 * math/s_csqrt.c: Include <float.h>.
44301 (__csqrt): Scale large or subnormal inputs.
44302 * math/s_csqrtf.c: Likewise.
44303 * math/s_csqrtl.c: Likewise.
44304 * math/libm-test.inc (csqrt_test): Add more tests.
44305 * sysdeps/i386/fpu/libm-test-ulps: Update.
44306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44307
aa4a2ae1
JM
44308 [BZ #13840]
44309 * math/libm-test.inc (hypot_test): Add more tests.
44310
7c10fd35
DM
443112012-03-13 David S. Miller <davem@davemloft.net>
44312
44313 [BZ #13840]
44314 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44315 double-precision for the calculation instead of scaling.
44316
f453b98b
JM
443172012-03-13 Joseph Myers <joseph@codesourcery.com>
44318
44319 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44320 manipulate bits before adding and subtracting TWO52[sx].
44321 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44322 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44323 Likewise.
44324 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44325
09a3453f
DM
443262012-03-13 David S. Miller <davem@davemloft.net>
44327
8e59da90
DM
44328 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44329 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44330 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44331 rtld-global-offsets.h
44332 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44333
2a8ab7f2
DM
44334 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44335 large parameters.
44336
10f62770
DM
44337 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44338
5f0bdb18
DM
44339 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44340 'err' in the ifdef scope in which it is actually used.
44341
09a3453f
DM
44342 * nss/nss_db/db-init.c: Include string.h
44343
b4b2eb5e
DM
443442012-03-12 David S. Miller <davem@davemloft.net>
44345
98bb2f1c
DM
44346 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44347 masking out of the most significant byte of random value used.
44348 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44349 Fix coding style in previous change.
44350
b4b2eb5e
DM
44351 * sysdeps/unix/sysv/linux/kernel-features.h
44352 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44353 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44354 expression.
44355 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44356 later.
44357
6e226b09
DM
443582012-03-11 David S. Miller <davem@davemloft.net>
44359
a1bcbd40
DM
44360 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44361 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44362 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44363 for 'resultvar' otherwise things get truncated on 64-bit.
44364
cb9d6174
DM
44365 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44366 Fix masking out of the most significant byte of random value used.
44367
6e226b09
DM
44368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44369
058c132d
AS
443702012-03-10 Andreas Schwab <schwab@linux-m68k.org>
44371
44372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44373
2d2cd515
DM
443742012-03-09 David S. Miller <davem@davemloft.net>
44375
44376 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44377 variables with appropriate CPP guards.
57f41c40
AS
44378 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44379 from the frame pointer, not the stack pointer. Correct layout
44380 comments. Fix test on resulting framesize and the management of
44381 the outregs buffer for pltexit. Preserve floating point return
44382 values across _dl_call_pltexit call.
2d2cd515
DM
44383 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44384 framesize and the management of the outregs buffer for pltexit.
44385 Preserve floating point return values across _dl_call_pltexit
44386 call.
57f41c40
AS
44387 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44388 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44389 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
44390 (print_exit): Fix format string for return register value.
44391
9a07f9d0
JM
443922012-03-10 Joseph Myers <joseph@codesourcery.com>
44393
44394 * sunrpc/Makefile (others): Add rpcgen.
44395 ($(objpfx)rpcgen): Remove special build rule and dependency on
44396 libc.
44397 * sunrpc/rpcgen.c: New file.
44398
547b5e30
PE
443992012-03-09 Paul Eggert <eggert@cs.ucla.edu>
44400
c524201a
PE
44401 [BZ #13673]
44402 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44403 * stdio-common/bug-vfprintf-nargs.c: Likewise.
44404 * sysdeps/i386/crti.S: Likewise.
44405 * sysdeps/i386/crtn.S: Likewise.
44406 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44407 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44408 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44409 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44410 * sysdeps/sh/crti.S: Likewise.
44411 * sysdeps/sh/crtn.S: Likewise.
44412 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44413
7b6235f2
PE
44414 [BZ #13673]
44415 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44416 with URL.
44417 * locale/programs/locfile-kw.gperf: Likewise.
44418 * locale/programs/charmap-kw.h: Regenerated.
44419 * locale/programs/locfile-kw.h: Likewise.
44420
547b5e30
PE
44421 [BZ #13673]
44422 * intl/plural.y: Replace FSF snail mail address with URL.
44423 * intl/plural.c: Regenerated.
44424
5f0a5dae
RH
444252012-03-09 Richard Henderson <rth@twiddle.net>
44426
44427 * include/math_private.h: Remove file.
44428 * math/math_private.h: Move file ...
44429 * sysdeps/generic/math_private.h: ... here.
44430
b8c03620
RH
44431 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44432 * sysdeps/powerpc/fpu/math_private.h: Likewise.
44433 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44434
4e234f5d 44435 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
44436 and <math_private.h>.
44437 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44438 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44439 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44440 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44441 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44442 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44443 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44444 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44445 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44446 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44447 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44448 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44449 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44450 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44451 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44452 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44453 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44454 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44455 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44456 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44457 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44458 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44459 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44460 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44461 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44462 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44463 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44464 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44465 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44466 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44467 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44468 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44469 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44470 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44471 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44472 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44473 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44474 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44475 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44476 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44477 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44478 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44479 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44480 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44481 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44482 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44483 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44484 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44485 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44486 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44487 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44488 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44489 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44490 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44491 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44492 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44493 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44494 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44495 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44496 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44497 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44498 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44499 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44500 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44501 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44502 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44503 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44504 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44505 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44506 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44507 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44508 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44509 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44510 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44511 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44512 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44513 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44514 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44515 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44516 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44517 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44518 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44519 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44520 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44521 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44522 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44524 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44525 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44526 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44527 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44528 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44529 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44530 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44531 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44532 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44533 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44534 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44535 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44536 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44537 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44538 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44539 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44540 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44541 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44542 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44543 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44544 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44545 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44546 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44547 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44548 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44549 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44550 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44551 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44552 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44553 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44554 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44555 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44556 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44557 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44558 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44559 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44560 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44561 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44562 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44563 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44564 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44565 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44566 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44567 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44568 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44569 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44570 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44571 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44572 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44573 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44574 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44575 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44576 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44577 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44578 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44579 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44580 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44581 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44582 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44583 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44584 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44585 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44586 * sysdeps/ieee754/k_standard.c: Likewise.
44587 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44588 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44589 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44590 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44591 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44592 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44593 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44594 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44595 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44596 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44597 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44598 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44599 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44600 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44601 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44602 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44603 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44604 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44605 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44606 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44607 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44608 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44609 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44610 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44611 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44612 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44613 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44614 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44615 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44616 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44617 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44618 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44619 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44620 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44621 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44622 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44623 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44624 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44625 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44626 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44627 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44628 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44629 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44630 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44631 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44632 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44633 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44634 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44635 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44636 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44637 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44638 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44639 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44640 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44641 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44642 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44643 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44644 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44645 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44646 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44647 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44648 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44649 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44650 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44651 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44652 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44653 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44654 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44655 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44656 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44657 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44658 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44659 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44660 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44661 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44662 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44663 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44664 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44665 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44666 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44667 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44668 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44669 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44670 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44671 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44672 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44673 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44674 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44675 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44676 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44677 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44678 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44679 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44680 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44681 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44682 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44683 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44684 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44685 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44686 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44687 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44688 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44689 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44690 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44691 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44692 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44693 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44694 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44695 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44696 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44697 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44698 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44699 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44700 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44701 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44702 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44703 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44704 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44705 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44706 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44707 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44708 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44709 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44710 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44711 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44712 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44713 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44714 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44715 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44716 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44717 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44718 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44719 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44720 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44721 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44722 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44723 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44724 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44725 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44726 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44727 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44728 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44729 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44730 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44731 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44732 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44733 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44734 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44735 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44736 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44737 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44738 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44739 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44740 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44741 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44742 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44743 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44744 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44745 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44746 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44747 * sysdeps/ieee754/s_lib_version.c: Likewise.
44748 * sysdeps/ieee754/s_matherr.c: Likewise.
44749 * sysdeps/ieee754/s_signgam.c: Likewise.
44750 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44751 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44752 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44753 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44754 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44755 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44756 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44757 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44758 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44759 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44760 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44761 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44762 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44763 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44764 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44765 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44766 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44767 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44768 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44769 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44770 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 44771
1991fa03
JM
447722012-03-09 Joseph Myers <joseph@codesourcery.com>
44773
44774 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44775 * sunrpc/rpc_main.c: Likewise.
44776 * sunrpc/rpc_svcout.c: Likewise.
44777
60d6f5a6
DM
447782012-03-09 David S. Miller <davem@davemloft.net>
44779
44780 * include/math_private.h: New file.
44781
4962050e
JM
447822012-03-09 Joseph Myers <joseph@codesourcery.com>
44783
02a6f887
JM
44784 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44785 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44786 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44787 from <bits/socket_type.h>.
44788 (enum __socket_type): Don't define here.
44789 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44790 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44791 bits/socket_type.h.
44792
c6e013c1
JM
44793 [BZ #13566]
44794 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44795 checking __USE_GNU.
44796
4962050e
JM
44797 * Makerules ($(inst_includedir)/%.h): New rule.
44798 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44799 (install-others): Remove variable setting.
44800 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44801
38842f45
RH
448022012-03-08 Richard Henderson <rth@twiddle.net>
44803
67bb6da6
RH
44804 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44805 from macro to inline function; merge with the
44806 !__LIBC_INTERNAL_MATH_INLINES version.
44807 (__ieee754_sqrtf): Likewise.
44808
15194b4b
RH
44809 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44810 to inline function.
44811 (__rintf, __floor, __floorf): Likewise.
44812
64e21ede
RH
44813 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44814 macro to inline function.
44815 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44816
38842f45
RH
44817 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44818 not <math/math_private.h>.
44819
c64bf5fe
DM
448202012-03-08 David S. Miller <davem@davemloft.net>
44821
44822 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44823 copyright year.
44824 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44825
82d86f28
TS
448262012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44827
44828 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44829 normalization.
44830 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44831 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44832
aea5d727
UD
448332012-03-08 Ulrich Drepper <drepper@gmail.com>
44834
44835 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44836 be defined individually, they must be defined as a block. Define
44837 S for printing a string instead of hidint the different by using a
44838 macro for adding the 'l'.
44839 * stdio-common/tst-fphex-wide.c: Adjust.
44840
70bca0a3
MP
448412012-03-07 Marek Polacek <polacek@redhat.com>
44842
44843 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44844
65b81130
MP
448452012-03-08 Marek Polacek <polacek@redhat.com>
44846
44847 [BZ #13806]
44848 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44849 * stdio-common/tst-fphex.c: Define a few macros to make the
44850 test reusable. Use them.
44851 * stdio-common/tst-fphex-wide.c: New file.
44852
07037eeb
JM
448532012-03-08 Joseph Myers <joseph@codesourcery.com>
44854
a7a93d50
JM
44855 [BZ #6911]
44856 * manual/macros.texi (gnusystems): New macro.
44857 (nongnusystems): Likewise.
44858 (gnulinuxhurdsystems): Likewise.
44859 (gnuhurdsystems): Likewise..
44860 (gnulinuxsystems): Likewise.
44861 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44862 variants of the GNU system, not "GNU system".
44863 * manual/conf.texi: Likewise.
44864 * manual/errno.texi: Likewise. Update example of errno macro
44865 expansion.
44866 * manual/filesys.texi: Likewise.
44867 (getumask): Document as specific to GNU/Hurd.
44868 * manual/install.texi: Likewise. Reword some references to
44869 GNU/Linux.
44870 * manual/intro.texi: Likewise.
44871 * manual/io.texi: Likewise.
44872 (File Name Portability): Detail which constraints are inapplicable
44873 to all GNU systems and which are only inapplicable to GNU/Hurd.
44874 * manual/job.texi: Likewise.
44875 * manual/llio.texi: Likewise.
44876 (O_NOCTTY): Document as present on GNU/Linux.
44877 * manual/maint.texi: Likewise.
44878 * manual/memory.texi: Likewise.
44879 * manual/pattern.texi: Likewise.
44880 * manual/pipe.texi: Likewise.
44881 * manual/process.texi: Likewise.
44882 * manual/resource.texi: Likewise.
44883 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44884 child on GNU/Hurd.
44885 * manual/setjmp.texi: Likewise.
44886 * manual/signal.texi: Likewise.
44887 * manual/startup.texi: Likewise.
44888 * manual/stdio.texi: Likewise.
44889 * manual/terminal.texi: Likewise.
44890 (ONLCR): Document as POSIX.
44891 (OXTABS): Document availability on GNU/Linux as XTABS.
44892 (ONOEOT): Document availability separately from other bits.
44893 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44894 * manual/time.texi: Likewise.
44895 * manual/users.texi: Likewise.
44896 * INSTALL: Regenerated.
44897 * sysdeps/gnu/errlist.c: Regenerated.
44898
07037eeb
JM
44899 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44900 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44901 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44902 puts.
44903 * configure: Regenerated.
44904
d1d3431a
JM
449052012-03-07 Joseph Myers <joseph@codesourcery.com>
44906
af6a1e37
JM
44907 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44908 default includes instead of AC_HEADER_CHECK.
44909 * sysdeps/i386/configure: Regenerated.
44910
d1d3431a
JM
44911 [BZ #10716]
44912 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44913 * math/s_cacoshf.c (__cacoshf): Likewise.
44914 * math/s_cacoshl.c (__cacoshl): Likewise.
44915 * math/s_casinh.c (__casinh): Set signs of result from argument.
44916 * math/s_casinhf.c (__casinhf): Likewise.
44917 * math/s_casinhl.c (__casinhl): Likewise.
44918 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44919 (casinh_test): Add more tests.
44920 * sysdeps/i386/fpu/libm-test-ulps: Update.
44921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44922
482ff4da
UD
449232012-03-07 Ulrich Drepper <drepper@gmail.com>
44924
872fda05
UD
44925 * po/zh_TW.po: Update from translation team.
44926
a4300c7a
UD
44927 * login/Makefile (distribute): Remove variable.
44928 * catgets/Makefile: Likewise.
44929 * mach/Makefile: Likewise.
44930 * malloc/Makefile: Likewise.
44931 * misc/Makefile: Likewise.
44932 * iconv/Makefile: Likewise.
44933 * nscd/Makefile: Likewise.
44934 * hurd/Makefile: Likewise.
44935 * manual/Makefile: Likewise.
44936 * locale/Makefile: Likewise.
44937 * intl/Makefile: Likewise.
44938 * conform/Makefile: Likewise.
44939 * nss/Makefile: Likewise.
44940 * time/Makefile: Likewise.
44941 * soft-fp/Makefile: Likewise.
44942 * dirent/Makefile: Likewise.
44943 * gmon/Makefile: Likewise.
44944 * po/Makefile: Likewise.
44945 * rt/Makefile: Likewise.
44946 * socket/Makefile: Likewise.
44947 * math/Makefile: Likewise.
44948 * signal/Makefile: Likewise.
44949 * debug/Makefile: Likewise.
44950 * elf/Makefile: Likewise.
44951 * timezone/Makefile: Likewise.
44952 * stdlib/Makefile: Likewise.
44953 * iconvdata/Makefile: Likewise.
44954 * sunrpc/Makefile: Likewise.
44955 * io/Makefile: Likewise.
44956 * argp/Makefile: Likewise.
44957 * inet/Makefile: Likewise.
44958 * hesiod/Makefile: Likewise.
44959 * grp/Makefile: Likewise.
44960 * csu/Makefile: Likewise.
44961 * wctype/Makefile: Likewise.
44962 * crypt/Makefile: Likewise.
44963 * libio/Makefile: Likewise.
44964 * string/Makefile: Likewise.
44965 * nis/Makefile: Likewise.
44966 * resolv/Makefile: Likewise.
44967 * stdio-common/Makefile: Likewise.
44968 * wcsmbs/Makefile: Likewise.
44969 * dlfcn/Makefile: Likewise.
44970 * posix/Makefile: Likewise.
44971
3b7c4e74 44972 [BZ #6959]
482ff4da
UD
44973 * timezone/Makefile: Don't install timezone files, just the programs
44974 and scripts.
44975
f72ed77d
UD
449762012-03-06 Ulrich Drepper <drepper@gmail.com>
44977
a000466f
UD
44978 * nss/databases.def: Add missing gshadow entry.
44979
f72ed77d
UD
44980 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44981
a53b7a4e
MP
449822012-03-06 Marek Polacek <polacek@redhat.com>
44983
44984 [BZ #13726]
44985 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44986 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44987 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44988 * stdio-common/tst-long-dbl-fphex.c: New file.
44989
e9258400
DM
449902012-03-06 David S. Miller <davem@davemloft.net>
44991
44992 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44993 (set_obp_int): New function.
44994 (get_obp_int): New function.
44995 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
44996 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44997 Avoid unused variable warnings on 'val' and use builtin_expect.
44998 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44999 __builtin_expect.
e9258400
DM
45000 (INLINE_CLONE_SYSCALL): Likewise.
45001
3bd2c723
DM
450022012-03-05 David S. Miller <davem@davemloft.net>
45003
45004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45005
bbb78d03
AS
450062012-03-05 Andreas Schwab <schwab@linux-m68k.org>
45007
884c5db4
AS
45008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45009
bbb78d03
AS
45010 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45011 only for |x| >= 40.
45012 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45013
1c9f702a 450142012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
45015
45016 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45017 Replace gettimeofday with __vdso_gettimeofday.
45018
7be16f82
RM
45019 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45020 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45021 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
45022
45023 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45024 time with __vdso_time.
45025
ed58a00f
JM
450262012-03-05 Joseph Myers <joseph@codesourcery.com>
45027
45028 * manual/lang.texi (size_t): Note types to which size_t may be
45029 equivalent with the GNU C Library, but do not describe when
45030 differences between them are significant.
45031
30ee4ced
AJ
450322012-03-05 Andreas Jaeger <aj@suse.de>
45033
45034 * sysdeps/i386/fpu/libm-test-ulps: Update.
45035
b7cd39e8
JM
450362012-03-05 Joseph Myers <joseph@codesourcery.com>
45037
45038 [BZ #3976]
45039 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45040 (__ieee754_pow): Save and restore rounding mode and use
45041 round-to-nearest for main computations.
45042 * math/libm-test.inc (pow_test_tonearest): New function.
45043 (pow_test_towardzero): Likewise.
45044 (pow_test_downward): Likewise.
45045 (pow_test_upward): Likewise.
45046 (main): Call the new functions.
45047 * sysdeps/i386/fpu/libm-test-ulps: Update.
45048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
45049
45050 [BZ #3976]
45051 * math/libm-test.inc (cosh_test_tonearest): New function.
45052 (cosh_test_towardzero): Likewise.
45053 (cosh_test_downward): Likewise.
45054 (cosh_test_upward): Likewise.
45055 (sinh_test_tonearest): Likewise.
45056 (sinh_test_towardzero): Likewise.
45057 (sinh_test_downward): Likewise.
45058 (sinh_test_upward): Likewise.
45059 (main): Call the new functions.
45060 * sysdeps/i386/fpu/libm-test-ulps: Update.
45061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45062
6c6a98c9
TV
450632012-03-05 Tom de Vries <tom@codesourcery.com>
45064
45065 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45066 default stack guard is set in last bytes.
45067 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45068
21bb2d2e 450692012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 45070
21bb2d2e 45071 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 45072
21bb2d2e
AJ
45073 [BZ #13656]
45074 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45075 possibly allocate from heap instead of stack.
45076 * stdio-common/bug-vfprintf-nargs.c: New file.
45077 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 45078
c6922934
AS
450792012-03-03 Andreas Schwab <schwab@linux-m68k.org>
45080
45081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45082
bc957d53
MP
450832012-03-03 Marek Polacek <polacek@redhat.com>
45084
45085 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45086 * math/math_private.h: Likewise.
45087 * stdlib/tst-strtod.c: Likewise.
45088 * sysdeps/i386/i486/bits/atomic.h: Likewise.
45089 * sysdeps/x86_64/bits/atomic.h: Likewise.
45090
6358490d
DM
450912012-03-02 David S. Miller <davem@davemloft.net>
45092
45093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45097 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45098 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45099 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45100 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45101
01ae168d
RM
451022012-03-02 Roland McGrath <roland@hack.frob.com>
45103
d9a17c07
RM
45104 [BZ #13792]
45105 * manual/examples/README: New file, says the example source files
45106 can be used under GPL>=2.
45107 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45108 line containing just "*/".
45109 * manual/examples/add.c: Add copyright header (GPL>=2).
45110 * manual/examples/argp-ex1.c: Likewise.
45111 * manual/examples/argp-ex2.c: Likewise.
45112 * manual/examples/argp-ex3.c: Likewise.
45113 * manual/examples/argp-ex4.c: Likewise.
45114 * manual/examples/atexit.c: Likewise.
45115 * manual/examples/db.c: Likewise.
45116 * manual/examples/dir.c: Likewise.
45117 * manual/examples/dir2.c: Likewise.
45118 * manual/examples/execinfo.c: Likewise.
45119 * manual/examples/filecli.c: Likewise.
45120 * manual/examples/filesrv.c: Likewise.
45121 * manual/examples/fmtmsgexpl.c: Likewise.
45122 * manual/examples/genpass.c: Likewise.
45123 * manual/examples/inetcli.c: Likewise.
45124 * manual/examples/inetsrv.c: Likewise.
45125 * manual/examples/isockad.c: Likewise.
45126 * manual/examples/longopt.c: Likewise.
45127 * manual/examples/memopen.c: Likewise.
45128 * manual/examples/memstrm.c: Likewise.
45129 * manual/examples/mkfsock.c: Likewise.
45130 * manual/examples/mkisock.c: Likewise.
45131 * manual/examples/mygetpass.c: Likewise.
45132 * manual/examples/pipe.c: Likewise.
45133 * manual/examples/popen.c: Likewise.
45134 * manual/examples/rprintf.c: Likewise.
45135 * manual/examples/search.c: Likewise.
45136 * manual/examples/select.c: Likewise.
45137 * manual/examples/setjmp.c: Likewise.
45138 * manual/examples/sigh1.c: Likewise.
45139 * manual/examples/sigusr.c: Likewise.
45140 * manual/examples/stpcpy.c: Likewise.
45141 * manual/examples/strdupa.c: Likewise.
45142 * manual/examples/strftim.c: Likewise.
45143 * manual/examples/strncat.c: Likewise.
45144 * manual/examples/subopt.c: Likewise.
45145 * manual/examples/swapcontext.c: Likewise.
45146 * manual/examples/termios.c: Likewise.
45147 * manual/examples/testopt.c: Likewise.
45148 * manual/examples/testpass.c: Likewise.
45149 * manual/examples/timeval_subtract.c: Likewise.
45150
01ae168d
RM
45151 [BZ #13792]
45152 * manual/time.texi (Elapsed Time): Move timeval_subtract example
45153 function to ...
45154 * manual/timeval_subtract.c.texi: ... here, new file.
45155
49efa33d
DM
451562012-03-02 David S. Miller <davem@davemloft.net>
45157
45158 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45159
28afd92d
JM
451602012-03-02 Joseph Myers <joseph@codesourcery.com>
45161
804360ed
JM
45162 [BZ #3976]
45163 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45164 (__sin): Save and restore rounding mode and use round-to-nearest
45165 for all computations.
45166 (__cos): Save and restore rounding mode and use round-to-nearest
45167 for all computations.
45168 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45169 <fenv.h>.
45170 (tan): Save and restore rounding mode and use round-to-nearest for
45171 all computations.
45172 * math/libm-test.inc (cos_test_tonearest): New function.
45173 (cos_test_towardzero): Likewise.
45174 (cos_test_downward): Likewise.
45175 (cos_test_upward): Likewise.
45176 (sin_test_tonearest): Likewise.
45177 (sin_test_towardzero): Likewise.
45178 (sin_test_downward): Likewise.
45179 (sin_test_upward): Likewise.
45180 (tan_test_tonearest): Likewise.
45181 (tan_test_towardzero): Likewise.
45182 (tan_test_downward): Likewise.
45183 (tan_test_upward): Likewise.
45184 (main): Call the new functions.
45185 * sysdeps/i386/fpu/libm-test-ulps: Update.
45186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45187
a6d06d7b
JM
45188 [BZ #10135]
45189 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45190 small n, then large n, before computing and testing k+n.
45191 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45192 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45193 Likewise.
45194 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45195 Likewise.
45196 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45197 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45198 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45199 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45200 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45201 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45202 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45203 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45204 * math/libm-test.inc (scalbn_test): Add more tests.
45205 (scalbln_test): Likewise.
45206
07e12bb3
JM
45207 * manual/filesys.texi (mode_t): Describe constraints on size and
45208 signedness, not exact equivalence to a particular type.
45209 (ino_t): Likewise.
45210 (ino64_t): Likewise.
45211 (dev_t): Likewise.
45212 (nlink_t): Likewise.
45213 (blkcnt_t): Likewise.
45214 (blkcnt64_t): Likewise.
45215 * manual/llio.texi (off_t): Likewise.
45216
28afd92d
JM
45217 [BZ #3976]
45218 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45219 (__ieee754_exp): Save and restore rounding mode and use
45220 round-to-nearest for all computations.
45221 * math/libm-test.inc (exp_test_tonearest): New function.
45222 (exp_test_towardzero): Likewise.
45223 (exp_test_downward): Likewise.
45224 (exp_test_upward): Likewise.
45225 (main): Call the new functions.
45226 * sysdeps/i386/fpu/libm-test-ulps: Update.
45227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45228
b1eeb65d
CD
452292012-03-01 Chris Demetriou <cgd@google.com>
45230
45231 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45232 have predictable order.
45233
53362a4b
DM
452342012-03-01 David S. Miller <davem@davemloft.net>
45235
3c969083
DM
45236 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45237
759707de
DM
45238 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45239 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45240 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45241 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45242
dfdb8ff2
DM
45243 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45244 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45245 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45247 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45248 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45249 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45250 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45251 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45252
ead89f96
DM
45253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45254
7f66bd07
DM
45255 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45256 * sysdeps/sparc/fpu/libm-test-ulps: to here.
45257 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45258
53362a4b
DM
45259 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45260 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45261 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45262 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45263 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45264 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45265 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45266 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45267 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45268 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45269 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45270 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45271 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45272 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45273 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45274 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45275 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45276 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45277 * sysdeps/sparc/elf/configure: Regenerated.
45278
7b1902cb
JM
452792012-03-01 Joseph Myers <joseph@codesourcery.com>
45280
bec039bc
JM
45281 * configure.in (AS, LD): Require binutils 2.20 or later.
45282 * configure: Regenerated.
45283 * manual/install.texi (Tools for Compilation): Give binutils 2.20
45284 as required minimum version.
45285 * INSTALL: Regenerated.
45286
7b1902cb
JM
45287 [BZ #2541]
45288 [BZ #4108]
45289 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45290 before squaring exponent.
45291 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45292 bottom long double and 27 bits of top long double before squaring
45293 exponent.
45294 * math/libm-test.inc (erfc_test): Add more tests.
45295 * sysdeps/i386/fpu/libm-test-ulps: Update.
45296 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45298
f775c276
KT
452992012-03-01 Kai Tietz <ktietz@redhat.com>
45300
45301 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45302 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45303 containing bit-fields.
45304 * soft-fp/extended.h (_FP_UNION_E): Likewise.
45305 * soft-fp/single.h (_FP_UNION_S): Likewise.
45306 * soft-fp/double.h (_FP_UNION_D): Likewise.
45307
5b8a4d4a
JM
453082012-02-29 Joseph Myers <joseph@codesourcery.com>
45309
0bab47b6
JM
45310 [BZ #13786]
45311 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45312 not include ../strcmp.S.
45313 [USE_AS_STRNCASECMP_L]: Likewise.
45314 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45315 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45316 * sysdeps/i386/i686/multiarch/strncase_l-c.c
45317 (__strncasecmp_l_ia32): Define as alias to
45318 __strncasecmp_l_nonascii.
45319
0fcad3e2
JM
45320 [BZ #5794]
45321 * math/libm-test.inc (expm1_test): Add test for bug 5794.
45322 * sysdeps/i386/fpu/libm-test-ulps: Update.
45323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45324
5b8a4d4a
JM
45325 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45327
8fdceb2e
JL
453282012-02-29 Jeff Law <law@redhat.com>
45329
45330 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45331 out of bounds read.
45332
1f393a11
MP
453332012-02-29 Marek Polacek <polacek@redhat.com>
45334
45335 [BZ #13706]
45336 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45337 * elf/Makefile: Add rules to run tst-unused-dep.out.
45338
8847f037
DM
453392012-02-28 David S. Miller <davem@davemloft.net>
45340
45341 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45342 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45343 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45344 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45345 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45346 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45347
169d7f11
JM
453482012-02-29 Joseph Myers <joseph@codesourcery.com>
45349
45350 * math/libm-test.inc (llround_test): Move one test from
45351 lround_test. Use TEST_f_L in moved test.
45352 (lround_test): Move misplaced test to llround_test. Add testcase
45353 from bug 2561.
45354
39adf059
UD
453552012-02-28 Ulrich Drepper <drepper@gmail.com>
45356
45357 * sysdeps/x86_64/fpu/e_expf.S: New file.
45358 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45359
71b5d1c5
SB
453602012-02-28 Stanislav Brabec <sbrabec@suse.cz>
45361
45362 [BZ #13637]
45363 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45364 of remain_len that may cause incomplete multi-byte character and
45365 false match.
45366 * posix/bug-regex33.c: New file.
45367 * posix/Makefile (tests): Add bug-regex33.
45368
1f77f049
JM
453692012-02-28 Joseph Myers <joseph@codesourcery.com>
45370
45371 * manual/macros.texi: New file.
45372 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45373 * manual/libc.texinfo: Include macros.texi.
45374 * manual/creatute.texi: Likewise.
45375 * manual/install.texi: Likewise.
45376 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45377 @glibcadj{} in references to the GNU C Library.
45378 * manual/charset.texi: Likewise.
45379 * manual/conf.texi: Likewise.
45380 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
45381 when not using those macros.
45382 * manual/creature.texi: Likewise.
45383 * manual/crypt.texi: Likewise.
45384 * manual/errno.texi: Likewise.
45385 * manual/filesys.texi: Likewise.
45386 * manual/header.texi: Likewise.
45387 * manual/install.texi: Likewise.
45388 * manual/intro.texi: Likewise.
45389 * manual/io.texi: Likewise.
45390 * manual/job.texi: Likewise.
45391 * manual/lang.texi: Likewise.
45392 * manual/libc.texiinfo: Likewise.
45393 * manual/llio.texi: Likewise.
45394 * manual/locale.texi: Likewise.
45395 * manual/maint.texi: Likewise.
45396 * manual/math.texi: Likewise.
45397 * manual/memory.texi: Likewise.
45398 * manual/message.texi: Likewise.
45399 * manual/nss.texi: Likewise.
45400 * manual/pattern.texi: Likewise.
45401 * manual/process.texi: Likewise.
45402 * manual/resource.texi: Likewise.
45403 * manual/search.texi: Likewise.
45404 * manual/setjmp.texi: Likewise.
45405 * manual/signal.texi: Likewise.
45406 * manual/socket.texi: Likewise.
45407 * manual/startup.texi: Likewise.
45408 * manual/stdio.texi: Likewise.
45409 * manual/string.texi: Likewise.
45410 * manual/sysinfo.texi: Likewise.
45411 * manual/syslog.texi: Likewise.
45412 * manual/terminal.texi: Likewise.
45413 * manual/time.texi: Likewise.
45414 * manual/users.texi: Likewise.
45415 * INSTALL: Regenerated.
45416 * NOTES: Regenerated.
d40c5d54 45417 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 45418
450bf206
AS
454192012-02-28 Andreas Schwab <schwab@linux-m68k.org>
45420
45421 * include/dirent.h: Include <dirstream.h> before
45422 <dirent/dirent.h>.
45423
741a235b
DM
454242012-02-28 David S. Miller <davem@davemloft.net>
45425
45426 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45427 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45428 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45429 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45430
d6b5aa58
DM
454312012-02-27 David S. Miller <davem@davemloft.net>
45432
1aff59a3
DM
45433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45435 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45436 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45437
d6b5aa58
DM
45438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45439 frame pointer instead of stack pointer relative arg slot.
45440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45441 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45442 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45443
433f48bf
CD
454442012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
45445
45446 [BZ #3992]
45447 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45448
d674b76d
DM
454492012-02-27 David S. Miller <davem@davemloft.net>
45450
45451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45455 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45456 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45457 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45458 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45459
0e7727f7
JM
454602012-02-27 Joseph Myers <joseph@codesourcery.com>
45461
45462 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45463 later. Allow versions 5-9.
43be4ca2 45464 * configure: Regenerated.
0e7727f7
JM
45465 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45466 required minimum version and 4.6 as recommended version. Do not
45467 mention bugs in GCC 2.7 and 2.8.
43be4ca2 45468 * INSTALL: Regenerated.
0e7727f7 45469
a78bc654
DM
454702012-02-27 David S. Miller <davem@davemloft.net>
45471
428d5830
DM
45472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45476 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45477 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45478 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45479 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45480
a78bc654
DM
45481 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45482 manipulate bits before adding and subtracting TWO112[sx].
45483 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45484
4579f81c
RM
454852012-02-27 Roland McGrath <roland@hack.frob.com>
45486
36c8acb4
RM
45487 [BZ #13775]
45488 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45489 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45490 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45491 being in POSIX, because they are in 1003.1-2008.
45492
84ad622b
RM
45493 * rt/tst-aio.c: Include <fcntl.h>.
45494 * rt/tst-aio7.c: Likewise.
45495 * rt/tst-aio64.c: Likewise.
45496
4579f81c
RM
45497 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45498
abd923db
JM
454992012-02-27 Joseph Myers <joseph@codesourcery.com>
45500
45501 * manual/install.texi (--with-headers): Describe headers as
45502 interface headers, not private headers.
45503 (Specific advice for GNU/Linux systems): Describe use of headers
45504 from "make headers_install", not private headers from older
45505 kernels.
43be4ca2 45506 * INSTALL: Regenerated.
abd923db
JM
45507 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45508 Change to 2.6.19.
45509 * sysdeps/unix/sysv/linux/configure: Regenerated.
45510
6664049b
JM
45511 * manual/llio.texi (fclean): Remove documentation.
45512
bb8b6697
JM
45513 * manual/Makefile (libc-texi-generated): New variable. Include
45514 version.texi.
45515 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45516 $(libc-texi-generated), not duplicated list of files.
45517 (version.texi, stamp-version): New rules.
45518 (realclean): Remove $(libc-texi-generated), not individual files
45519 from that list. Do not remove dir-add.texinfo.
45520 * manual/libc.texinfo: Comment out uses of edition numbers and
45521 references to printed manual. Remove last-updated dates.
45522 (EDITION): Comment out.
45523 (ISBN): Likewise.
45524 (VERSION, UPDATED): Remove.
45525 (version.texi): Include.
45526
12e5c3b9
AS
455272012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45528
45529 * sysdeps/posix/spawni.c: Include <signal.h>.
45530 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45531 * sysdeps/pthread/aio_fsync.c: Likewise.
45532
4efeffc1 455332012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 45534
ba63ba08
UD
45535 * conform/Makefile (tests): Run only when not cross-compiling and
45536 when fast-check is not defined.
45537
d94a4670
UD
45538 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45539 * conform/data/limits.h-data: Fixes for POSIX2008.
45540 * conform/run-conformtest.sh: Run all tests.
45541 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45542 headers.
45543 * include/bits/dlfcn.h: Likewise.
45544 * include/langinfo.h: Likewise.
45545 * include/monetary.h: Likewise.
45546 * include/sys/poll.h: Likewise.
45547
45548 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45549 for __USE_GNU.
45550 * posix/spawn.h: Define __need_sigset_t.
45551 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45552 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45553 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45554 to get sigevent_t only.
45555 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45556 only for __USE_GNU.
45557 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45558 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45559 process_vm_writev only for __USE_GNU.
45560 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
45561
45562 * conform/Makefile: For now ignore errors from run-conformtest.
45563 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45564 POSIX to avoid namespace pollution. Don't prepend headers.
45565 * conform/data/aio.h-data: Fixes for POSIX testing.
45566 * conform/data/fcntl.h-data: Likewise.
45567 * conform/data/glob.h-data: Likewise.
45568 * conform/data/grp.h-data: Likewise.
45569 * conform/data/pthread.h-data: Likewise.
45570 * conform/data/pwd.h-data: Likewise.
45571 * conform/data/signal.h-data: Likewise.
45572 * conform/data/spawn.h-data: Likewise.
45573 * conform/data/stdio.h-data: Likewise.
45574 * conform/data/stdlib.h-data: Likewise.
45575 * conform/data/stropts.h-data: Likewise.
45576 * conform/data/sys/mman.h-data: Likewise.
45577 * conform/data/sys/stat.h-data: Likewise.
45578 * conform/data/sys/types.h-data: Likewise.
45579 * conform/data/sys/wait.h-data: Likewise.
45580 * conform/data/time.h-data: Likewise.
45581 * conform/data/unistd.h-data: Likewise.
45582 * conform/data/utime.h-data: Likewise.
45583
45584 * io/sys/stat.h: fchmod was always in POSIX.
45585 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45586 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45587 * rt/aio.h: Define __need_timespec before including <time.h>.
45588 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45589 struct. Add forward declaration of pthread_attr_t and use it in
45590 sigevent.
45591 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45592 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45593 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45594 always remove CLK_TCK definition.
45595
c20105c3
AS
455962012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45597
45598 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45599
7a270350
UD
456002012-02-25 Ulrich Drepper <drepper@gmail.com>
45601
31341567
UD
45602 * conform/run-conformtest.sh: New file.
45603 * conform/Makefile: Run run-conformtest for tests.
45604 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45605 support.
45606
45607 * conform/data/uchar.h-data: New file.
45608 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45609 * conform/data/arpa/inet.h-data: Likewise.
45610 * conform/data/assert.h-data: Likewise.
45611 * conform/data/complex.h-data: Likewise.
45612 * conform/data/cpio.h-data: Likewise.
45613 * conform/data/ctype.h-data: Likewise.
45614 * conform/data/dirent.h-data: Likewise.
45615 * conform/data/dlfcn.h-data: Likewise.
45616 * conform/data/errno.h-data: Likewise.
45617 * conform/data/fcntl.h-data: Likewise.
45618 * conform/data/float.h-data: Likewise.
45619 * conform/data/fmtmsg.h-data: Likewise.
45620 * conform/data/fnmatch.h-data: Likewise.
45621 * conform/data/ftw.h-data: Likewise.
45622 * conform/data/glob.h-data: Likewise.
45623 * conform/data/grp.h-data: Likewise.
45624 * conform/data/iconv.h-data: Likewise.
45625 * conform/data/inttypes.h-data: Likewise.
45626 * conform/data/langinfo.h-data: Likewise.
45627 * conform/data/libgen.h-data: Likewise.
45628 * conform/data/limits.h-data: Likewise.
45629 * conform/data/locale.h-data: Likewise.
45630 * conform/data/math.h-data: Likewise.
45631 * conform/data/monetary.h-data: Likewise.
45632 * conform/data/mqueue.h-data: Likewise.
45633 * conform/data/ndbm.h-data: Likewise.
45634 * conform/data/net/if.h-data: Likewise.
45635 * conform/data/netdb.h-data: Likewise.
45636 * conform/data/netinet/in.h-data: Likewise.
45637 * conform/data/nl_types.h-data: Likewise.
45638 * conform/data/poll.h-data: Likewise.
45639 * conform/data/pthread.h-data: Likewise.
45640 * conform/data/pwd.h-data: Likewise.
45641 * conform/data/regex.h-data: Likewise.
45642 * conform/data/sched.h-data: Likewise.
45643 * conform/data/search.h-data: Likewise.
45644 * conform/data/semaphore.h-data: Likewise.
45645 * conform/data/setjmp.h-data: Likewise.
45646 * conform/data/signal.h-data: Likewise.
45647 * conform/data/spawn.h-data: Likewise.
45648 * conform/data/stdarg.h-data: Likewise.
45649 * conform/data/stdio.h-data: Likewise.
45650 * conform/data/stdlib.h-data: Likewise.
45651 * conform/data/string.h-data: Likewise.
45652 * conform/data/strings.h-data: Likewise.
45653 * conform/data/stropts.h-data: Likewise.
45654 * conform/data/sys/ipc.h-data: Likewise.
45655 * conform/data/sys/mman.h-data: Likewise.
45656 * conform/data/sys/msg.h-data: Likewise.
45657 * conform/data/sys/resource.h-data: Likewise.
45658 * conform/data/sys/select.h-data: Likewise.
45659 * conform/data/sys/sem.h-data: Likewise.
45660 * conform/data/sys/shm.h-data: Likewise.
45661 * conform/data/sys/socket.h-data: Likewise.
45662 * conform/data/sys/stat.h-data: Likewise.
45663 * conform/data/sys/statvfs.h-data: Likewise.
45664 * conform/data/sys/time.h-data: Likewise.
45665 * conform/data/sys/timeb.h-data: Likewise.
45666 * conform/data/sys/times.h-data: Likewise.
45667 * conform/data/sys/types.h-data: Likewise.
45668 * conform/data/sys/uio.h-data: Likewise.
45669 * conform/data/sys/un.h-data: Likewise.
45670 * conform/data/sys/utsname.h-data: Likewise.
45671 * conform/data/sys/wait.h-data: Likewise.
45672 * conform/data/syslog.h-data: Likewise.
45673 * conform/data/tar.h-data: Likewise.
45674 * conform/data/termios.h-data: Likewise.
45675 * conform/data/utime.h-data: Likewise.
45676 * conform/data/utmpx.h-data: Likewise.
45677 * conform/data/varargs.h-data: Likewise.
45678 * conform/data/wchar.h-data: Likewise.
45679 * conform/data/wctype.h-data: Likewise.
45680 * conform/data/wordexp.h-data: Likewise.
45681
45682 * include/stropts.h: New file.
45683 * include/uchar.h: New file.
45684 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45685 * include/assert.h: Likewise.
45686 * include/ctype.h: Likewise.
45687 * include/dirent.h: Likewise.
45688 * include/dlfcn.h: Likewise.
45689 * include/fcntl.h: Likewise.
45690 * include/fnmatch.h: Likewise.
45691 * include/glob.h: Likewise.
45692 * include/grp.h: Likewise.
45693 * include/libio.h: Likewise.
45694 * include/locale.h: Likewise.
45695 * include/math.h: Likewise.
45696 * include/net/if.h: Likewise.
45697 * include/netdb.h: Likewise.
45698 * include/netinet/in.h: Likewise.
45699 * include/pthread.h: Likewise.
45700 * include/pwd.h: Likewise.
45701 * include/regex.h: Likewise.
45702 * include/sched.h: Likewise.
45703 * include/search.h: Likewise.
45704 * include/setjmp.h: Likewise.
45705 * include/signal.h: Likewise.
45706 * include/stdio.h: Likewise.
45707 * include/stdlib.h: Likewise.
45708 * include/string.h: Likewise.
45709 * include/sys/cdefs.h: Likewise.
45710 * include/sys/mman.h: Likewise.
45711 * include/sys/msg.h: Likewise.
45712 * include/sys/resource.h: Likewise.
45713 * include/sys/select.h: Likewise.
45714 * include/sys/socket.h: Likewise.
45715 * include/sys/stat.h: Likewise.
45716 * include/sys/statvfs.h: Likewise.
45717 * include/sys/time.h: Likewise.
45718 * include/sys/times.h: Likewise.
45719 * include/sys/uio.h: Likewise.
45720 * include/sys/utsname.h: Likewise.
45721 * include/sys/wait.h: Likewise.
45722 * include/termios.h: Likewise.
45723 * include/time.h: Likewise.
45724 * include/ulimit.h: Likewise.
45725 * include/unistd.h: Likewise.
45726 * include/utime.h: Likewise.
45727 * include/wchar.h: Likewise.
45728 * include/wctype.h: Likewise.
45729 * include/wordexp.h: Likewise.
45730
45731 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45732
7a270350
UD
45733 * time/time.h: TIME_UTC must be a macro.
45734 Make timespec_get available for ISO C11 only as well.
45735
7724defc
UD
457362012-02-24 Ulrich Drepper <drepper@gmail.com>
45737
45738 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45739 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45740
6b1d1d46
JM
457412012-02-24 Joseph Myers <joseph@codesourcery.com>
45742
45743 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 45744
0f8bbd69
JM
457452012-02-24 Joseph Myers <joseph@codesourcery.com>
45746
45747 * manual/texinfo.tex: Update to version 2012-01-19.16.
45748
66ab80bc
JM
457492012-02-24 Joseph Myers <joseph@codesourcery.com>
45750
45751 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45752
74981cc5
RM
457532012-02-24 Roland McGrath <roland@hack.frob.com>
45754
ee968201
RM
45755 [BZ #13738]
45756 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45757 * manual/fdl-1.3.texi: New file.
45758 * manual/fdl-1.1.texi: File removed.
45759
74981cc5
RM
45760 [BZ #13738]
45761 * manual/libc.texinfo (FDL_VERSION): New @set.
45762 Use it for mention of FDL in cover text.
45763 (Documentation License): Use it in @include file name.
45764
7bb764bc
JM
457652012-02-22 Joseph Myers <joseph@codesourcery.com>
45766 Roland McGrath <roland@hack.frob.com>
45767
45768 [BZ #5461]
57f41c40
AS
45769 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45770 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
45771 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45772 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45773 name.
45774 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45775
6cbeae47
JM
457762012-02-22 Joseph Myers <joseph@codesourcery.com>
45777
45778 [BZ #2547]
45779 [BZ #11365]
45780 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45781 manipulate bits before adding and subtracting TWO23[sx].
45782 * math/libm-test.inc (nearbyint_test): Add more tests.
45783
fe45ce09
JM
457842012-02-22 Joseph Myers <joseph@codesourcery.com>
45785
45786 [BZ #2548]
45787 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45788 bits before adding and subtracting TWO23[sx].
45789 * math/libm-test.inc (rint_test): Add more tests.
45790 (rint_test_tonearest): Likewise.
45791 (rint_test_towardzero): Likewise.
45792 (rint_test_downward): Likewise.
45793 (rint_test_upward: Likewise.
45794
ff3b3d82
JM
457952012-02-22 Joseph Myers <joseph@codesourcery.com>
45796
45797 [BZ #10110]
45798 * include/stdc-predef.h: New file. Extracted from features.h.
45799 * include/features.h: Include stdc-predef.h.
45800 * Makefile (headers): Add stdc-predef.h.
45801 * CONFORMANCE (Compiler limitations): Update.
45802
ef0aab35
JM
458032012-02-22 Joseph Myers <joseph@codesourcery.com>
45804
45805 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45806
58639409
DM
458072012-02-21 David S. Miller <davem@davemloft.net>
45808
45809 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45810 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45811
c0e70b25
DM
458122012-02-20 David S. Miller <davem@davemloft.net>
45813
45814 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45815 using a normal save/restore sequence, rather than allocating a
45816 dummy stack frame just to store a frame pointer and restore.
45817 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45818
fb06851d
JM
458192012-02-21 Joseph Myers <joseph@codesourcery.com>
45820
45821 * manual/install.texi: Fix stray word in line-wrapped comment.
45822
7a8b71c3
DM
458232012-02-20 David S. Miller <davem@davemloft.net>
45824
d510c123
DM
45825 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45826 both binutils and gcc support GOTDATA.
45827
0722d7c2
DM
45828 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45829 "rd %pc" in the PIC register setup sequences.
45830
3d2b3019
DM
45831 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45832 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45833 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45834 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45835 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45836 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45837 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45838 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45839 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45840 (SYSCALL_ERROR_HANDLER): Likewise.
45841 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45842 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45843 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45844 (SYSCALL_ERROR_HANDLER): Likewise.
45845
c80098a9
DM
45846 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45847 (HAVE_GCC_GOTDATA): New.
45848 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45849 relocation support in both binutils and gcc.
45850 * sysdeps/sparc/elf/configure: Regenerate.
45851
3a2545a0
DM
45852 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45853 * sysdeps/sparc/sparc32/elf/configure: Delete.
45854 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45855 * sysdeps/sparc/sparc64/elf/configure: Delete.
45856 * sysdeps/sparc/elf/configure.in: New file.
45857 * sysdeps/sparc/elf/configure: Generate.
45858
7a8b71c3
DM
45859 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45860 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45861 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45862 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45863 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45864
f1e86fca
JM
458652012-02-21 Joseph Myers <joseph@codesourcery.com>
45866
45867 * manual/install.texi: Do not mention specific glibc version
45868 numbers.
45869 * manual/libc.texinfo (VERSION, UPDATED): Update.
45870 (@copying): Use @copyright{} and range of years.
45871
0e7dfaef
JM
458722012-02-21 Joseph Myers <joseph@codesourcery.com>
45873
45874 [BZ #13695]
45875 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45876 [crti.S not in sysdirs] (generated): Do not append.
45877 [crti.S not in sysdirs] (omit-deps): Likewise.
45878 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45879 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45880 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45881 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45882 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45883 Likewise.
45884 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45885 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45886 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45887 * csu/defs.awk: Remove file.
45888 * sysdeps/generic/initfini.c: Likewise.
45889 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45890 variable.
45891 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45892 Likewise.
45893
599af3ca
JM
458942012-02-20 Joseph Myers <joseph@codesourcery.com>
45895
45896 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45897 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45898 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45899 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45900 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45901 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45902 <bits/epoll.h>.
45903 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45904 (__EPOLL_PACKED): Define to empty if not defined by
45905 <bits/epoll.h>.
45906 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45908 bits/epoll.h.
45909
0e499750
JM
459102012-02-20 Joseph Myers <joseph@codesourcery.com>
45911
45912 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45913 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45914 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45915 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45916 <bits/timerfd.h>.
45917 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45919 bits/timerfd.h.
45920
5ad91f6e
JM
459212012-02-20 Joseph Myers <joseph@codesourcery.com>
45922
45923 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45924 in C locale.
45925 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45926 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45927 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45929
06b99b02
AJ
459302012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45931
45932 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45933 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45934
7638c0fd
AS
459352012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45936
45937 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45938 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45939 defined.
45940 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45941 Likewise.
45942 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45943 entry for 2.16.
45944
92221550
AJ
459452012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45946
45947 * math/w_acos.c: Use non-signaling floating-point comparisons.
45948 * math/w_acosf.c: Likewise.
45949 * math/w_acosh.c: Likewise.
45950 * math/w_acoshf.c: Likewise.
45951 * math/w_acoshl.c: Likewise.
45952 * math/w_acosl.c: Likewise.
45953 * math/w_asin.c: Likewise.
45954 * math/w_asinf.c: Likewise.
45955 * math/w_asinl.c: Likewise.
45956 * math/w_atanh.c: Likewise.
45957 * math/w_atanhf.c: Likewise.
45958 * math/w_atanhl.c: Likewise.
45959 * math/w_exp2.c: Likewise.
45960 * math/w_exp2f.c: Likewise.
45961 * math/w_exp2l.c: Likewise.
45962 * math/w_j0.c: Likewise.
45963 * math/w_j0f.c: Likewise.
45964 * math/w_j0l.c: Likewise.
45965 * math/w_j1.c: Likewise.
45966 * math/w_j1f.c: Likewise.
45967 * math/w_j1l.c: Likewise.
45968 * math/w_jn.c: Likewise.
45969 * math/w_jnf.c: Likewise.
45970 * math/w_log.c: Likewise.
45971 * math/w_log10.c: Likewise.
45972 * math/w_log10f.c: Likewise.
45973 * math/w_log10l.c: Likewise.
45974 * math/w_log2.c: Likewise.
45975 * math/w_log2f.c: Likewise.
45976 * math/w_log2l.c: Likewise.
45977 * math/w_logf.c: Likewise.
45978 * math/w_logl.c: Likewise.
45979 * math/w_sqrt.c: Likewise.
45980 * math/w_sqrtf.c: Likewise.
45981 * math/w_sqrtl.c: Likewise.
45982 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45983 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45984 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45985 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45986 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45987
ebaf36eb
JM
459882012-02-19 Joseph Myers <joseph@codesourcery.com>
45989
45990 [BZ #9739]
45991 * manual/string.texi (strnlen): Use correct parameter name in
45992 equivalent expression.
45993
71c254a6
JM
459942012-02-19 Joseph Myers <joseph@codesourcery.com>
45995
45996 [BZ #11174]
45997 * manual/users.texi (seteuid): Consistently use neweuid for
45998 argument name.
45999
16d2c631
JM
460002012-02-19 Joseph Myers <joseph@codesourcery.com>
46001
46002 [BZ #13704]
46003 * manual/nss.texi (Services in the NSS configuration): Correct
46004 list of services in example configuration file.
46005
cd837b09
NB
460062012-02-19 Nick Bowler <nbowler@draconx.ca>
46007
46008 [BZ #11322]
46009 * manual/arith.texi: Remove statements about negative zero
46010 behaving identically to zero.
46011
02c4bbad
JM
460122012-02-18 Joseph Myers <joseph@codesourcery.com>
46013
46014 [BZ #5993]
46015 * manual/install.texi: Do not document upgrading from libc5.
46016
366842e7
JM
460172012-02-18 Joseph Myers <joseph@codesourcery.com>
46018
46019 [BZ #4596]
46020 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46021
dd54084d
DM
460222012-02-18 David S. Miller <davem@davemloft.net>
46023
46024 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46025 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46026 %o7 across the call.
46027 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46028 instead.
46029 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46030 SETUP_PIC_REG_LEAF.
46031 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46032 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46033 * sysdeps/sparc/crtn.S: Likewise.
46034
2bcc53a3
UD
460352012-02-17 Ulrich Drepper <drepper@gmail.com>
46036
46037 * aout/Makefile: Remove.
46038
09c093b5
RK
460392012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
46040
46041 [BZ #13058]
46042 * manual/examples/argp-ex1.c (main): Format definition in GNU
46043 style.
46044 * manual/examples/argp-ex2.c (main): Likewise.
46045 * manual/examples/argp-ex3.c (main): Likewise.
46046 * manual/examples/argp-ex4.c (main): Likewise.
46047 * manual/examples/longopt.c (main): Use new-style prototype
46048 definition.
46049 * manual/examples/strncat.c (main): Specify return type and use
46050 (void) for arguments.
46051 * manual/examples/subopt.c (main): Use char **argv argument.
46052
2ee633a2
JM
460532012-02-17 Joseph Myers <joseph@codesourcery.com>
46054
46055 [BZ #5077]
46056 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46057 rounding modes.
46058
0520adde
FB
460592012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
46060
46061 [BZ #6907]
46062 * manual/string.texi (strchr): Change when strchrnul is
46063 recommended.
46064
3f4081cd
DGM
460652012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
46066
46067 [BZ #174]
46068 * manual/locale.texi (setlocale): Document LOCPATH.
46069
d1b10e78
JM
460702012-02-17 Joseph Myers <joseph@codesourcery.com>
46071
46072 [BZ #10210]
46073 * manual/process.texi (execle): Move @dots{} before last argument.
46074
79c6869c
PB
460752012-02-17 Paul Bolle <pebolle@tiscali.nl>
46076
46077 [BZ #12047]
46078 * manual/charset.texi (Generic Charset Conversion): Fix typo
46079 (LC_TYPE -> LC_CTYPE).
46080
cc6e48bc
NB
460812012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
46082
46083 [BZ #5805]
46084 * manual/arith.texi (scalbn): Use @var{} on parameter names.
46085 (scalbnf): Likewise.
46086 (scalbnl): Likewise.
46087 (scalbln): Likewise.
46088 (scalblnf): Likewise.
46089 (scalblnl): Likewise.
46090 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46091 (vwarnx): Likewise.
46092 (verr): Likewise.
46093 (verrx): Likewise.
46094 * manual/filesys.texi (telldir): Use braces around return type.
46095 * manual/llio.texi (mmap): Add space after comma.
46096 (mmap64): Likewise.
46097 * manual/math.texi (jn): Use @var{} on parameter names.
46098 (jnf): Likewise.
46099 (jnl): Likewise.
46100 (yn): Likewise.
46101 (ynf): Likewise.
46102 (ynl): Likewise.
46103 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46104 line.
46105 * manual/resource.texi (ulimit): Use @dots{} instead of literal
46106 "...".
46107 (sched_get_priority_min): Remove semicolon on @deftypefun line.
46108 (sched_get_priority_max): Likewise.
46109 * manual/signal.texi (sigvec): Add space after comma.
46110 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46111 names.
46112 (if_indextoname): Likewise.
46113 (if_freenameindex): Likewise.
46114 (sendto): Use ',' instead of '.' in prototype.
46115 * manual/startup.texi (syscall): Use @dots{} instead of literal
46116 "...".
46117 * manual/stdio.texi (__fpending): Separate initial words of
46118 paragraph from @deftypefun line.
46119 * manual/syslog.texi (syslog): Use @dots{} instead of literal
46120 "...".
46121 (vsyslog): Use @var{} on parameter names.
46122 * manual/terminal.texi (stty): Use @var{} on parameter names.
46123 * manual/users.texi (getutmp): Use @var{} on parameter names.
46124 (getutmpx): Likewise.
46125
5b23062f
JM
461262012-02-17 Joseph Myers <joseph@codesourcery.com>
46127
46128 [BZ #6884]
46129 * manual/stdio.texi (fopen): Fix typos in description of
46130 ",ccs=STRING".
46131
8dee4833
AJ
461322012-02-17 Aurelien Jarno <aurelien@aurel32.net>
46133
46134 [BZ #4026]
46135 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46136 get clock_id definition.
46137
9078ce93
TS
461382012-02-17 Thomas Schwinge <thomas@schwinge.name>
46139
46140 [BZ #4822]
46141 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46142 (madvise): Cast every argument to void on its own.
46143
3835c55f
JM
461442012-02-17 Joseph Myers <joseph@codesourcery.com>
46145
46146 [BZ #9902]
46147 * manual/startup.texi (Exit Status): Fix typo.
46148
35c47e37
JM
461492012-02-17 Joseph Myers <joseph@codesourcery.com>
46150
46151 [BZ #10140]
46152 * manual/examples/argp-ex1.c: Include <stdlib.h>.
46153 * manual/examples/argp-ex2.c: Likewise.
46154 * manual/examples/argp-ex3.c: Likewise.
46155
e3b69ca7
RH
461562012-02-16 Richard Henderson <rth@redhat.com>
46157
46158 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46159 * sysdeps/s390/s390-32/initfini.c: Remove.
46160 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46161 * sysdeps/s390/s390-64/initfini.c: Remove.
46162
df83af67
KK
461632012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46164
46165 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46166 compiler output for sysdeps/generic/initfini.c.
46167 * sysdeps/sh/elf/initfini.c: Remove file.
46168
f63f3380
DM
461692012-02-16 David S. Miller <davem@davemloft.net>
46170
fb59b3a4
DM
46171 [BZ #11494]
46172 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46173
f63f3380
DM
46174 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46175 * sysdeps/sparc/crti.S: New file.
46176 * sysdeps/sparc/crtn.S: New file.
46177 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46178 * sysdeps/sparc/sparc64/Makefile: Likewise.
46179
df6a4a4a
MF
461802012-02-15 Mike Frysinger <vapier@gentoo.org>
46181
6dd8f3dc 46182 [BZ #3335]
df6a4a4a
MF
46183 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46184
1cac7236
RM
461852012-02-15 Roland McGrath <roland@hack.frob.com>
46186
d2c736f8
RM
46187 [BZ #4822]
46188 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46189
1cac7236
RM
46190 * mach/devstream.c (cookie_io_functions_t): Macro removed.
46191 (write, read, close): Likewise.
46192 Patch by Aurelien Jarno <aurelien@aurel32.net>.
46193
8e475601
JM
461942012-02-15 Joseph Myers <joseph@codesourcery.com>
46195
46196 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46197 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46198 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46199 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46200 <bits/signalfd.h>.
46201 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46203 bits/signalfd.h.
46204
ed656b40
MP
462052012-02-14 Marek Polacek <polacek@redhat.com>
46206
46207 * sysdeps/x86_64/crti.S: New file.
46208 * sysdeps/x86_64/crtn.S: New file.
46209 * sysdeps/x86_64/elf/initfini.c: Remove file.
46210
2a979d3a
JM
462112012-02-13 Joseph Myers <joseph@codesourcery.com>
46212
46213 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46214 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46215 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46216 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46217 <bits/inotify.h>.
46218 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46220 bits/inotify.h.
46221
2a418ac3
JM
462222012-02-13 Joseph Myers <joseph@codesourcery.com>
46223
46224 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46225 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46226 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46227 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46228 <bits/eventfd.h>.
46229 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46231 bits/eventfd.h.
46232
fb779be7
TS
462332012-02-10 Thomas Schwinge <thomas@codesourcery.com>
46234
e19e83c5
RM
46235 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46236 __feraiseexcept instead of feraiseexcept.
7c35ffed 46237
fb779be7
TS
46238 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46239 nanosleep invocations.
46240 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46241 strings, and add error checking for a nanosleep invocations.
46242
59ba27a6
PE
462432012-02-09 Paul Eggert <eggert@cs.ucla.edu>
46244
46245 Replace FSF snail mail address with URLs, as per GNU coding standards.
46246 Most of the snail mail addresses were wrong anyway, and omitting
46247 them makes the source code easier to maintain. Almost all of the
46248 changes are to license notices and to locale LC_IDENTIFICATION
46249 addresses, except for this one:
46250 * manual/libc.texinfo: In "Published by", give the FSF's URL,
46251 not its snail mail address.
46252
57b957eb
RH
462532012-02-09 Richard Henderson <rth@twiddle.net>
46254
af850b1c
RH
46255 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46256 of kernel-features.h.
46257
57b957eb
RH
46258 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46259
6b73181a
MP
462602012-02-08 Marek Polacek <polacek@redhat.com>
46261
46262 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46263 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46264 * sysdeps/gnu/_G_config.h: Likewise.
46265 * sysdeps/generic/_G_config.h: Likewise.
46266
26ecc33a
AS
462672012-02-08 Andreas Schwab <schwab@linux-m68k.org>
46268
6c6dbc63
AS
46269 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46270 tests.
46271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46272
e216c012
AS
46273 * sysdeps/powerpc/powerpc32/crti.S: New file.
46274 * sysdeps/powerpc/powerpc32/crtn.S: New file.
46275 * sysdeps/powerpc/powerpc64/crti.S: New file.
46276 * sysdeps/powerpc/powerpc64/crtn.S: New file.
46277
26ecc33a
AS
46278 * Makeconfig (have-initfini): Don't set.
46279 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46280 * configure.in (nopic_initfini): Don't substitute.
46281 * config.h.in (HAVE_INITFINI): Don't #undef.
46282 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46283 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46284
3add8e13
JM
462852012-02-08 Joseph Myers <joseph@codesourcery.com>
46286
46287 Support crti.S and crtn.S provided directly by architectures.
46288 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46289 [crti.S in sysdirs] (omit-deps): Likewise.
46290 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46291 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46292 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46293 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46294 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46295 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46296 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46297 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46298 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46299 compiler output for sysdeps/generic/initfini.c.
46300 * sysdeps/i386/elf/Makefile: Remove file.
46301 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46302
a22f12b4
MP
463032012-02-07 Marek Polacek <polacek@redhat.com>
46304
46305 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46306 * sysdeps/gnu/_G_config.h: Likewise.
46307 * sysdeps/mach/hurd/_G_config.h: Likewise.
46308
148cf100
MP
463092012-02-07 Marek Polacek <polacek@redhat.com>
46310
46311 * math/Makefile (tests): Add tst-CMPLX2.
46312 * math/tst-CMPLX2.c: New file.
46313
cfdc0dd7
AS
463142012-02-07 Andreas Schwab <schwab@linux-m68k.org>
46315
84ba42c4
AS
46316 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46317
cfdc0dd7
AS
46318 * math/libm-test.inc (jn_test): Add missing L suffix.
46319
622c86f4
MP
463202012-02-06 Marek Polacek <polacek@redhat.com>
46321
46322 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46323 * sysdeps/i386/fpu/e_powf.S: Likewise.
46324 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46325 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46326 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46327 * sysdeps/i386/fpu/e_pow.S: Likewise.
46328 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46329 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46330 * sysdeps/i386/fpu/s_expm1.S: Likewise.
46331 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46332 * sysdeps/i386/fpu/e_log2.S: Likewise.
46333 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46334 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46335 * sysdeps/i386/fpu/e_powl.S: Likewise.
46336 * sysdeps/i386/fpu/s_log1p.S: Likewise.
46337 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46338 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46339 * sysdeps/i386/fpu/e_logl.S: Likewise.
46340 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46341 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46342 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46343 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46344 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46345 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46346 * sysdeps/i386/fpu/e_log.S: Likewise.
46347 * sysdeps/i386/fpu/s_cexp.S: Likewise.
46348 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46349 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46350 * sysdeps/i386/fpu/e_logf.S: Likewise.
46351 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46352 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46353 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46354 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46355 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46356 * sysdeps/i386/fpu/e_log10.S: Likewise.
46357 * sysdeps/i386/fpu/s_frexp.S: Likewise.
46358 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46359 * sysdeps/i386/fpu/s_asinh.S: Likewise.
46360 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46361 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46362 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46363 * sysdeps/i386/asm-syntax.h: Likewise.
46364 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46365 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46366 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46367 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46368 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46369 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46370 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46371 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46372 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46373 * sysdeps/powerpc/sysdep.h: Likewise.
46374 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46375 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46376
d4a54ac6
JM
463772012-02-06 Joseph Myers <joseph@codesourcery.com>
46378
46379 [BZ #411]
46380 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46381
314054ea
JM
463822012-02-06 Joseph Myers <joseph@codesourcery.com>
46383
46384 * sysdeps/i386/sysdep.h: Include <features.h>.
46385 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46386 version.
46387
d8e0ca50
JM
463882012-02-05 Joseph Myers <joseph@codesourcery.com>
46389
46390 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46391 Define.
46392 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46393 LOAD_PIC_REG_STR.
46394
b1da7dd9
JM
463952012-02-03 Joseph Myers <joseph@codesourcery.com>
46396
46397 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46398 (SETUP_PIC_REG): Use GET_PC_THUNK.
46399 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46400 macro.
46401
9a1d9254
JM
464022012-02-03 Joseph Myers <joseph@codesourcery.com>
46403
46404 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46405 for non-PIC compilation.
46406 (SETUP_PIC_REG): Add .p2align directive.
46407 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46408 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46409 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46410 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46411 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46412 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46413 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46414 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46415 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46416 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46417 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46418 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46419 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46420 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46421 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46422 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46423 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46424 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46425 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46426 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46427 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46428 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46429 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46430 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46431 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46432 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46433 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46434 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46435 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46436 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46437 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46438 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46439 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46440 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46441 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46442 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46443 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46444 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46445 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46446 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46447 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46448
65dc3b75
JM
464492012-02-03 Joseph Myers <joseph@codesourcery.com>
46450
46451 * math/tst-CMPLX.c: Include <stdio.h>.
46452
d55bf177
JM
464532012-01-31 Joseph Myers <joseph@codesourcery.com>
46454
46455 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46456 float.
46457 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46458 * sysdeps/sparc/bits/mathdef.h: Likewise.
46459
69db4f8f
MP
464602012-01-31 Marek Polacek <polacek@redhat.com>
46461
46462 * libio/libio.h: Don't define _PARAMS.
46463 * locale/programs/config.h: Don't define PARAMS.
46464 * stdlib/strtol_l.c: Likewise.
46465 (__strtol_l): Remove PARAMS from the prototype.
46466
41b81892
UD
464672012-01-31 Ulrich Drepper <drepper@gmail.com>
46468
3b49edc0
UD
46469 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
46470 names. Just use the correct names. Remove unnecessary wrapper
46471 functions.
46472 * malloc/arena.c: Likewise.
46473 * malloc/hooks.c: Likewise.
46474
41b81892
UD
46475 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46476 ARENA_TEST says not to. Simplify test for creation of a new arena.
46477 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46478
27a25b6e
UD
464792012-01-30 Ulrich Drepper <drepper@gmail.com>
46480
46481 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46482 into tail calls.
46483 (update_get_addr): New function.
46484 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46485 GET_ADDR_MODULE parameter.
46486
c8a89e7d
JM
464872012-01-30 Joseph Myers <joseph@codesourcery.com>
46488
46489 * crypt/cert.c: Remove __STDC__ conditionals.
46490 * crypt/crypt-entry.c: Likewise.
46491 * crypt/crypt_util.c: Likewise.
46492 * libio/filedoalloc.c: Likewise.
46493 * libio/fileops.c: Likewise.
46494 * libio/genops.c: Likewise.
46495 * libio/iofclose.c: Likewise.
46496 * libio/iofdopen.c: Likewise.
46497 * libio/iofopen.c: Likewise.
46498 * libio/iofopen64.c: Likewise.
46499 * libio/iogetdelim.c: Likewise.
46500 * libio/iopopen.c: Likewise.
46501 * libio/obprintf.c: Likewise.
46502 * libio/oldfileops.c: Likewise.
46503 * libio/oldiofclose.c: Likewise.
46504 * libio/oldiofdopen.c: Likewise.
46505 * libio/oldiofopen.c: Likewise.
46506 * libio/oldiopopen.c: Likewise.
46507 * libio/wfiledoalloc.c: Likewise.
46508 * libio/wgenops.c: Likewise.
46509 * locale/programs/xmalloc.c: Likewise.
46510 * misc/syslog.c: Likewise.
46511 * stdio-common/xbug.c: Likewise.
46512 * string/memchr.c: Likewise.
46513 * string/memcmp.c: Likewise.
46514 * string/memrchr.c: Likewise.
46515 * string/rawmemchr.c: Likewise.
46516 * sysdeps/posix/getcwd.c: Likewise.
46517 * time/strftime_l.c: Likewise.
46518
3b100462
JM
465192012-01-30 Joseph Myers <joseph@codesourcery.com>
46520
46521 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
46522 * config.make.in (config-cflags-sse2avx): Define.
46523 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46524 Fix typo.
46525
607998af
CM
465262012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46527
46528 * scripts/config.guess: Update from upstream config git repository.
46529 * scripts/config.sub: Likewise.
46530
3601428f
CM
465312012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46532
3ac8b282
CM
46533 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46534 (EM_NUM): Update.
46535 (R_TILEPRO_*, R_TILEGX_*): New macros.
46536
e034841e
CM
46537 * scripts/firstversions.awk: Fix bug in version range handling.
46538
540d7568
CM
46539 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46540
3601428f
CM
46541 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46542
463de862
CM
46543 * include/sys/epoll.h: New file.
46544 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46545 libc_hidden_def.
46546
73139a76
UD
465472012-01-28 Ulrich Drepper <drepper@gmail.com>
46548
96bc5b45
UD
46549 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46550 Avoid unnecessary __WORDSIZE == 64 test.
46551 (fmaxf): Use VEX format if possible.
46552 (fmax): Likewise.
46553 (fminf): Likewise.
46554 (fmin): Likewise.
46555
56f6f6a2
UD
46556 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46557 * math/math_private.h: Remove libc_fegetround* and
46558 libc_fesetround*.
46559 * sysdeps/i386/configure.in: Check for -msse2avx.
46560 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46561 also if SSE2AVX is defined.
46562 Remove libc_fegetround* and libc_fesetround*.
46563 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46564 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46565 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46566 of HAS_YMM_USABLE.
46567 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46568 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46569 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46570 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46571 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46572
73139a76
UD
46573 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46574
d73f93a4
AZ
465752012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46576
46577 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46578 size is not set.
46579 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46580
6ee65ed6
UD
465812012-01-27 Ulrich Drepper <drepper@gmail.com>
46582
46583 [BZ #13618]
46584 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46585 relocation.
46586 * Makeconfig (libm): Define.
46587 * elf/Makefile: Add rules to build and run tst-relsort1.
46588 * elf/tst-relsort1.c: New file.
46589 * elf/tst-relsort1mod1.c: New file.
46590 * elf/tst-relsort1mod2.c: New file.
46591
8db21882
JM
465922012-01-27 Joseph Myers <joseph@codesourcery.com>
46593
46594 * math/s_ldexp.c: Remove __STDC__ conditionals.
46595 * math/s_ldexpf.c: Likewise.
46596 * math/s_ldexpl.c: Likewise.
46597 * math/s_nextafter.c: Likewise.
46598 * math/s_nexttowardf.c: Likewise.
46599 * math/s_significand.c: Likewise.
46600 * math/s_significandf.c: Likewise.
46601 * math/s_significandl.c: Likewise.
46602 * math/w_jnl.c: Likewise.
46603 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46604 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46605 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46606 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46607 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46608 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46609 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46610 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46611 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46612 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46613 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46614 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46615 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46616 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46617 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46618 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46619 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46620 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46621 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46622 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46623 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46624 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46625 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46626 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46627 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46628 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46629 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46630 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46631 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46632 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46633 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46634 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46635 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46636 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46637 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46638 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46639 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46640 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46641 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46642 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46643 * sysdeps/ieee754/k_standard.c: Likewise.
46644 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46645 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46646 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46647 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46648 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46649 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46650 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46651 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46652 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46653 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46654 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46655 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46656 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46657 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46658 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46659 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46660 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46661 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46662 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46663 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46664 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46665 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46666 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46667 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46668 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46669 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46670 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46671 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46672 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46673 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46674 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46675 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46676 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46677 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46678 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46679 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46680 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46681 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46682 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46683 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46684 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46685 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46686 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46687 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46688 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46689 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46690 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46691 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46692 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46693 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46694 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46695 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46696 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46697 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46698 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46699 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46700 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46701 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46702 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46703 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46704 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46705 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46706 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46707 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46708 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46709 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46710 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46711 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46712 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46713 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46714 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46715 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46716 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46717 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46718 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46719 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46720 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46721 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46722 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46723 * sysdeps/ieee754/s_matherr.c: Likewise.
46724 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46725 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46726 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46727 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46728
965a54a4
JM
467292012-01-26 Joseph Myers <joseph@codesourcery.com>
46730
46731 * crypt/md5.h: Remove __STDC__ conditionals.
46732 * libio/libioP.h: Likewise.
46733 * locale/programs/config.h: Likewise.
46734 * sysdeps/generic/sysdep.h: Likewise.
46735 * sysdeps/i386/asm-syntax.h: Likewise.
46736 * sysdeps/s390/asm-syntax.h: Likewise.
46737 * sysdeps/unix/sysdep.h: Likewise.
46738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46740
7071ad79
JM
467412012-01-26 Joseph Myers <joseph@codesourcery.com>
46742
46743 * libio/libio.h: Remove __STDC__ conditionals.
46744 * malloc/obstack.h: Likewise.
46745 * math/complex.h: Likewise.
46746 * math/math.h: Likewise.
46747 * sysdeps/generic/_G_config.h: Likewise.
46748 * sysdeps/gnu/_G_config.h: Likewise.
46749 * sysdeps/mach/hurd/_G_config.h: Likewise.
46750 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46751 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46752 * sysdeps/sparc/bits/mathdef.h: Likewise.
46753
afc5ed09
UD
467542012-01-26 Ulrich Drepper <drepper@gmail.com>
46755
46756 [BZ #13583]
46757 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 46758 Clean up HAS_* macros.
afc5ed09 46759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
46760 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46761 possible.
46762 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46763 HAS_AVX.
46764 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46765 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46766 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46767 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46768 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 46769
bdb6de1d
JM
467702012-01-25 Joseph Myers <joseph@codesourcery.com>
46771
46772 * elf/tst-unique3.cc (gets): Remove declaration.
46773 * elf/tst-unique3lib.cc (gets): Likewise.
46774 * elf/tst-unique3lib2.cc (gets): Likewise.
46775 * elf/tst-unique4.cc (gets): Likewise.
46776
b15549e6
UD
467772012-01-24 Ulrich Drepper <drepper@gmail.com>
46778
46779 * include/stdio.h: Add C++ protection. Add gets declarations and
46780 definitions.
46781 * debug/tst-chk1.c: Don't declare gets here.
46782 * stdio-common/tst-gets.c: Likewise.
46783
a037381f
JM
467842012-01-24 Joseph Myers <joseph@codesourcery.com>
46785
46786 * posix/glob: Remove directory.
46787
f1d4aa75
JM
467882012-01-24 Joseph Myers <joseph@codesourcery.com>
46789
46790 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46791
81c0c964
PT
467922012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46793
46794 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46795 of the non-standard EPFNOSUPPORT.
46796
0ea698ae
ST
467972011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46798
46799 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46800 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46801 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46802
d220b117
UD
468032012-01-21 Ulrich Drepper <drepper@gmail.com>
46804
46805 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46806
3e1aa84e
UD
468072012-01-20 Ulrich Drepper <drepper@gmail.com>
46808
46809 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46810 transient errors.
46811 * nscd/grpcache.c (cache_addgr): Likewise.
46812 * nscd/hstcache.c (cache_addhst): Likewise.
46813 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46814 * nscd/pwdcache.c (cache_addpw): Likewise.
46815 * nscd/servicescache.c (cache_addserv): Likewise.
46816
400aa020
UD
468172012-01-16 Ulrich Drepper <drepper@gmail.com>
46818
d77e7869
UD
46819 * malloc/malloc.c: Various cleanups.
46820 * malloc/hooks.c: Likewise.
46821
400aa020
UD
46822 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46823 * stdlib/bug-fmtmsg1.c: New file.
46824
46825 * stdlib/fmtmsg.c (init): Add missing unlock.
46826 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46827
e0a309cf
MP
468282012-01-12 Marek Polacek <polacek@redhat.com>
46829
46830 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46831 and _GNU_SOURCE.
46832
929d11c7
WS
468332012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46834
46835 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46836 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46837 macro to ensure uniqueness of label name.
46838 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46839 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46840
41d0e869
UD
468412012-01-11 Ulrich Drepper <drepper@gmail.com>
46842
0cc5ed3b
UD
46843 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46844
41d0e869
UD
46845 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46846 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46847 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46848 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46849
a47a831a
UD
468502012-01-10 Ulrich Drepper <drepper@gmail.com>
46851
daa891c0
UD
46852 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46853
46854 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46855 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46856 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46857
e58ef0f2
UD
46858 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46859
a47a831a 46860 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
46861 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46862 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 46863 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
46864
46865 * math/bits/math-finite.h: Add ldexp support.
46866
a0bfc9c7
MP
468672012-01-10 Marek Polacek <polacek@redhat.com>
46868
46869 * locale/programs/localedef.h (show_archive_content): Add noreturn
46870 attribute.
46871
d6e97a1d
UD
468722012-01-09 Ulrich Drepper <drepper@gmail.com>
46873
46874 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46875
d5835c26
UD
468762012-01-08 Ulrich Drepper <drepper@gmail.com>
46877
e5f484c6
UD
46878 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46879
d5835c26
UD
46880 * io/Makefile (headers): Add bits/poll2.h.
46881
d1f741e9
WS
468822011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46883
46884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46885 typo #include statement.
46886
ec09c1c4
UD
468872012-01-08 Ulrich Drepper <drepper@gmail.com>
46888
46889 * include/sys/cdefs.h: Define __attribute_alloc_size.
46890 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46891 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46892 * elf/pldd.c: Likewise.
46893 * iconv/iconv_charmap.c: Likewise.
46894 * iconv/iconvconfig.c: Likewise.
46895 * iconv/strtab.c: Likewise.
46896 * locale/programs/locale.c: Likewise.
46897 * locale/programs/localedef.h: Likewise.
46898 * locale/programs/simple-hash.c: Likewise.
46899 * nscd/nscd.h: Likewise.
46900 * nss/makedb.c: Likewise.
46901 * sysdeps/generic/ldconfig.h: Likewise.
46902 * locale/programs/localedef.c: Remove xmalloc prototype.
46903 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46904
20b38e03
PP
469052012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46906
46907 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46908 appropriate.
46909
a0da5fe1
UD
469102012-01-08 Ulrich Drepper <drepper@gmail.com>
46911
1d5a644a 46912 * math/Makefile (tests): Add tst-CMPLX.
669704fd 46913 * math/tst-CMPLX.c: New file.
1d5a644a 46914
8784a6db
UD
46915 * math/complex.h (CMPLXL): Fix typo.
46916
d9a216c0
UD
46917 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46918 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46919 GLIBC_2.16.
46920 * debug/tst-chk1.c: Add poll and ppoll tests.
46921 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46922 * include/sys/poll.h: Add hidden proto for ppoll.
46923 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46924 * sysdeps/mach/hurd/ppoll.c: Likewise.
46925 * io/ppoll.c: Likewise.
46926 * debug/poll_chk.c: New file.
46927 * debug/ppoll_chk.c: New file.
46928 * include/bits/poll2.h: New file.
46929 * io/bits/poll2.h: New file.
46930
ac097f5c
UD
46931 [BZ #1350]
46932 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46933
2119dcfa
UD
46934 * configure.in: static is always set to yes. Remove.
46935 * config.make.in: Don't set build-static.
46936 * Makeconfig: Remove use of build-static.
46937 * dlfcn/Makefile: Likewise.
46938 * elf/Makefile: Likewise.
46939 * math/Makefile: Likewise.
46940 * misc/Makefile: Likewise.
46941 * nptl/Makefile: Likewise.
46942 * sysdeps/mach/hurd/Makefile: Likewise.
46943
121766a9
UD
46944 * configure.in: PWD_P is not used anymore.
46945 * config.make.in: Remove PWD_P entry.
46946
51a1d39c 46947 * configure.in: Remove last remnants of RANLIB.
8720d066 46948 No need to check for signed size_t anymore.
215f4bdc
UD
46949 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46950 and IA-64.
3857022a 46951 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
46952 * aclocal.m4: Likewise.
46953
d3ed7225
UD
46954 * wcsmbs/mbrtoc16.c: Implement using towc function.
46955 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46956 * wcsmbs/wcsmbsload.c: Likewise.
46957 * iconv/gconv_simple.c: Likewise.
46958 * iconv/gconv_int.h: Likewise.
46959 * iconv/gconv_builtin.h: Likewise.
46960 * iconv/iconv_prog.c: Remove CHAR16 handling.
46961
46962 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46963
46964 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46965
a0da5fe1
UD
46966 * configure.in: Remove --with-elf and --enable-bounded options.
46967 Dont set base_machine for ia64. More non-ELF conditions removed.
46968 Remove testing and setting of leading underscore information.
46969 * config.make.in (build-bounded): Set to no.
46970 * config.h.in: Remove NO_UNDERSCORES entry.
46971 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46972 them.
46973 * csu/start.c: Remove !NO_UNDERSCORE code.
46974 * locale/localeinfo.h: Likewise.
46975 * sysdeps/generic/machine-gmon.h: Likewise.
46976 * sysdeps/generic/sysdep.h: Likewise.
46977 * sysdeps/i386/sysdep.h: Likewise.
46978 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46979 * sysdeps/mach/sysdep.h: Likewise.
46980 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46981 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46982 * sysdeps/sh/sysdep.h: Likewise.
46983 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46984 * sysdeps/unix/i386/sysdep.S: Likewise.
46985 * sysdeps/unix/sparc/start.c: Likewise.
46986 * sysdeps/unix/sparc/sysdep.S: Likewise.
46987 * sysdeps/unix/sparc/sysdep.h: Likewise.
46988 * sysdeps/unix/start.c: Likewise.
46989 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46990 * sysdeps/x86_64/sysdep.h: Likewise.
46991
df78418a
UD
469922012-01-07 Ulrich Drepper <drepper@gmail.com>
46993
a784e502
UD
46994 [BZ #13553]
46995 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46996 for non-gcc.
46997 * argp/argp-fmtstream.h: Use const instead __const.
46998 * argp/argp.h: Likewise.
46999 * assert/assert.h: Likewise.
47000 * bits/fenv.h: Likewise.
47001 * bits/sched.h: Likewise.
47002 * bits/sigset.h: Likewise.
47003 * bits/sigthread.h: Likewise.
47004 * catgets/nl_types.h: Likewise.
47005 * conform/data/pthread.h-data: Likewise.
47006 * crypt/crypt-private.h: Likewise.
47007 * crypt/crypt.h: Likewise.
47008 * crypt/crypt_util.c: Likewise.
47009 * ctype/ctype.h: Likewise.
47010 * debug/execinfo.h: Likewise.
47011 * debug/mbsnrtowcs_chk.c: Likewise.
47012 * debug/mbsrtowcs_chk.c: Likewise.
47013 * debug/wcsnrtombs_chk.c: Likewise.
47014 * debug/wcsrtombs_chk.c: Likewise.
47015 * debug/wcstombs_chk.c: Likewise.
47016 * dirent/dirent.h: Likewise.
47017 * dlfcn/dlfcn.h: Likewise.
47018 * elf/neededtest4.c: Likewise.
47019 * grp/grp.h: Likewise.
47020 * gshadow/gshadow.h: Likewise.
47021 * iconv/gconv.h: Likewise.
47022 * iconv/gconv_int.h: Likewise.
47023 * iconv/gconv_simple.c: Likewise.
47024 * iconv/iconv.h: Likewise.
47025 * iconv/loop.c: Likewise.
47026 * iconv/skeleton.c: Likewise.
47027 * include/aio.h: Likewise.
47028 * include/aliases.h: Likewise.
47029 * include/argz.h: Likewise.
47030 * include/arpa/inet.h: Likewise.
47031 * include/assert.h: Likewise.
47032 * include/dirent.h: Likewise.
47033 * include/dlfcn.h: Likewise.
47034 * include/execinfo.h: Likewise.
47035 * include/fcntl.h: Likewise.
47036 * include/fenv.h: Likewise.
47037 * include/glob.h: Likewise.
47038 * include/grp.h: Likewise.
47039 * include/libintl.h: Likewise.
47040 * include/mntent.h: Likewise.
47041 * include/netdb.h: Likewise.
47042 * include/pwd.h: Likewise.
47043 * include/rpc/netdb.h: Likewise.
47044 * include/sched.h: Likewise.
47045 * include/search.h: Likewise.
47046 * include/shadow.h: Likewise.
47047 * include/signal.h: Likewise.
47048 * include/stdio.h: Likewise.
47049 * include/stdlib.h: Likewise.
47050 * include/string.h: Likewise.
47051 * include/sys/socket.h: Likewise.
47052 * include/sys/stat.h: Likewise.
47053 * include/sys/statfs.h: Likewise.
47054 * include/sys/statvfs.h: Likewise.
47055 * include/sys/syslog.h: Likewise.
47056 * include/sys/time.h: Likewise.
47057 * include/sys/uio.h: Likewise.
47058 * include/time.h: Likewise.
47059 * include/unistd.h: Likewise.
47060 * include/utmp.h: Likewise.
47061 * include/wchar.h: Likewise.
47062 * include/wctype.h: Likewise.
47063 * inet/aliases.h: Likewise.
47064 * inet/arpa/inet.h: Likewise.
47065 * inet/netinet/ether.h: Likewise.
47066 * inet/netinet/in.h: Likewise.
47067 * intl/libintl.h: Likewise.
47068 * io/bits/fcntl2.h: Likewise.
47069 * io/fcntl.h: Likewise.
47070 * io/ftw.h: Likewise.
47071 * io/sys/poll.h: Likewise.
47072 * io/sys/stat.h: Likewise.
47073 * io/sys/statfs.h: Likewise.
47074 * io/sys/statvfs.h: Likewise.
47075 * io/utime.h: Likewise.
47076 * libio/bits/stdio.h: Likewise.
47077 * libio/bits/stdio2.h: Likewise.
47078 * libio/libio.h: Likewise.
47079 * libio/libioP.h: Likewise.
47080 * libio/stdio.h: Likewise.
47081 * locale/lc-ctype.c: Likewise.
47082 * locale/locale.h: Likewise.
47083 * login/utmp.h: Likewise.
47084 * malloc/arena.c: Likewise.
47085 * malloc/malloc.c: Likewise.
47086 * malloc/malloc.h: Likewise.
47087 * malloc/mcheck.c: Likewise.
47088 * malloc/mtrace.c: Likewise.
47089 * math/bits/mathcalls.h: Likewise.
47090 * math/fenv.h: Likewise.
47091 * math/math_private.h: Likewise.
47092 * misc/bits/error.h: Likewise.
47093 * misc/bits/syslog.h: Likewise.
47094 * misc/err.h: Likewise.
47095 * misc/error.h: Likewise.
47096 * misc/fstab.h: Likewise.
47097 * misc/mntent.h: Likewise.
47098 * misc/regexp.h: Likewise.
47099 * misc/search.h: Likewise.
47100 * misc/sgtty.h: Likewise.
47101 * misc/sys/mman.h: Likewise.
47102 * misc/sys/syslog.h: Likewise.
47103 * misc/sys/uio.h: Likewise.
47104 * misc/sys/xattr.h: Likewise.
47105 * misc/ttyent.h: Likewise.
47106 * nis/rpcsvc/ypclnt.h: Likewise.
47107 * nss/nss.h: Likewise.
47108 * posix/bits/unistd.h: Likewise.
47109 * posix/fnmatch.h: Likewise.
47110 * posix/glob.h: Likewise.
47111 * posix/sched.h: Likewise.
47112 * posix/spawn.h: Likewise.
47113 * posix/sys/wait.h: Likewise.
47114 * posix/unistd.h: Likewise.
47115 * posix/wordexp.h: Likewise.
47116 * pwd/pwd.h: Likewise.
47117 * resolv/netdb.h: Likewise.
47118 * resource/sys/resource.h: Likewise.
47119 * rt/aio.h: Likewise.
47120 * rt/bits/mqueue2.h: Likewise.
47121 * rt/mqueue.h: Likewise.
47122 * shadow/shadow.h: Likewise.
47123 * signal/signal.h: Likewise.
47124 * socket/send.c: Likewise.
47125 * socket/sendto.c: Likewise.
47126 * socket/sys/socket.h: Likewise.
47127 * stdio-common/printf.h: Likewise.
47128 * stdlib/bits/stdlib.h: Likewise.
47129 * stdlib/fmtmsg.h: Likewise.
47130 * stdlib/monetary.h: Likewise.
47131 * stdlib/stdlib.h: Likewise.
47132 * stdlib/ucontext.h: Likewise.
47133 * streams/stropts.h: Likewise.
47134 * string/argz.h: Likewise.
47135 * string/bits/string2.h: Likewise.
47136 * string/string.h: Likewise.
47137 * string/strings.h: Likewise.
47138 * sunrpc/rpc/auth.h: Likewise.
47139 * sunrpc/rpc/auth_des.h: Likewise.
47140 * sunrpc/rpc/clnt.h: Likewise.
47141 * sunrpc/rpc/netdb.h: Likewise.
47142 * sunrpc/rpc/pmap_clnt.h: Likewise.
47143 * sunrpc/rpc/xdr.h: Likewise.
47144 * sysdeps/generic/inttypes.h: Likewise.
47145 * sysdeps/generic/net/if.h: Likewise.
47146 * sysdeps/generic/sys/swap.h: Likewise.
47147 * sysdeps/gnu/net/if.h: Likewise.
47148 * sysdeps/gnu/utmpx.h: Likewise.
47149 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47150 * sysdeps/i386/i486/bits/string.h: Likewise.
47151 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47152 * sysdeps/s390/bits/string.h: Likewise.
47153 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47154 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47155 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47156 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47157 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47158 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47159 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47160 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47161 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47162 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47163 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47164 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47165 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47166 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47167 * sysdeps/unix/sysv/linux/readv.c: Likewise.
47168 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47169 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47170 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47171 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47172 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47173 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47174 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47175 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47176 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47177 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47178 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47179 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47180 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47181 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47182 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47183 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47184 * sysvipc/sys/ipc.h: Likewise.
47185 * sysvipc/sys/msg.h: Likewise.
47186 * sysvipc/sys/sem.h: Likewise.
47187 * sysvipc/sys/shm.h: Likewise.
47188 * termios/termios.h: Likewise.
47189 * time/sys/time.h: Likewise.
47190 * time/time.h: Likewise.
47191 * wcsmbs/bits/wchar2.h: Likewise.
47192 * wcsmbs/uchar.h: Likewise.
47193 * wcsmbs/wchar.h: Likewise.
47194 * wctype/wctype.h: Likewise.
47195
0269750c
UD
47196 [BZ #13551]
47197 * Makeconfig: Remove all but ELF support including AIX support.
47198 * Makerules: Likewise.
47199 * config.h.in: Likewise.
47200 * config.make.in: Likewise.
47201 * configure: Likewise.
47202 * configure.in: Likewise.
47203 * csu/Makefile: Likewise.
47204 * csu/version.c: Likewise.
47205 * debug/Makefile: Likewise.
47206 * dlfcn/Makefile: Likewise.
47207 * elf/Makefile: Likewise.
47208 * extra-lib.mk: Likewise.
47209 * iconv/Makefile: Likewise.
47210 * include/libc-symbols.h: Likewise.
47211 * include/shlib-compat.h: Likewise.
47212 * resolv/Makefile: Likewise.
47213 * resolv/res_libc.c: Likewise.
47214 * rt/Makefile: Likewise.
47215 * sysdeps/i386/asm-syntax.h: Likewise.
47216 * sysdeps/i386/sysdep.h: Likewise.
47217 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47218 * sysdeps/mach/sysdep.h: Likewise.
47219 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47220 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47221 * sysdeps/s390/asm-syntax.h: Likewise.
47222 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47223 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47224 * sysdeps/sh/sysdep.h: Likewise.
47225 * sysdeps/unix/sparc/sysdep.h: Likewise.
47226 * sysdeps/wordsize-32/divdi3.c: Likewise.
47227 * sysdeps/x86_64/sysdep.h: Likewise.
47228
00bbd29b
UD
47229 * argp/Versions: Remove _argp_unlock_xxx.
47230
47231 [BZ #13559]
47232 * abilist/ld.abilist: Update. Adjust for removal of tls option.
47233 * abilist/libBrokenLocale.abilist: Likewise.
47234 * abilist/libanl.abilist: Likewise.
47235 * abilist/libc.abilist: Likewise.
47236 * abilist/libcrypt.abilist: Likewise.
47237 * abilist/libdl.abilist: Likewise.
47238 * abilist/libm.abilist: Likewise.
47239 * abilist/libnsl.abilist: Likewise.
47240 * abilist/libpthread.abilist: Likewise.
47241 * abilist/libresolv.abilist: Likewise.
47242 * abilist/librt.abilist: Likewise.
47243 * abilist/libthread_db.abilist: Likewise.
47244 * abilist/libutil.abilist: Likewise.
47245 * abilist/libnss_db.abilist: New file.
47246
47247 * scripts/abilist.awk: Add support for indirect functions.
47248
a2693a0e
UD
47249 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47250
3f05895f
UD
47251 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47252
ecb6fb48
UD
47253 * shlib-versions: Remove entries for ports architectures.
47254
664f8cb9
UD
47255 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
47256 files in ports.
47257 * elf/stackguard-macros.h: Remove support for IA-64.
47258 * elf/tst-auditmod1.c: Likewise.
47259 * sysdeps/generic/ldsodefs.h: Likewise.
47260
7ae81d88
UD
47261 * sysdeps/unix/sysv/linux/configure.in: Ports should define
47262 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47263 configure files.
47264
bdeba135
UD
47265 [BZ #13552]
47266 * configure.in: Remove --enable-omitfp support.
47267 * FAQ.in: Adjust.
47268 * config.make.in: Likewise.
47269 * Makeconfig: Likewise.
47270 * manual/install.texi: Likewise.
47271
d75a0a62
UD
47272 In case anyone cares, the IA-64 architecture could move to ports.
47273 * sysdeps/ia64/*: Removed.
47274 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 47275 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 47276
dcc9756b
UD
47277 [BZ #13555]
47278 * configure.in: Remove entries for unsupported architectures.
47279
d3761ebc 47280 [BZ #13533]
9954432e
UD
47281 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47282 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
47283 routines.
47284 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47285 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47286 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
47287 fall back to using wcrtomb.
47288 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47289 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
47290 renaming.
47291 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47292 * wcsmbs/tst-c16c32-1.c: New file.
47293
47294 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47295 local variable.
47296
c3a87236
UD
47297 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47298
28926a1b
UD
47299 * elf/tst-unique3.cc: Add explicit declaration of gets.
47300 * elf/tst-unique3lib.cc: Likewise.
47301 * elf/tst-unique3lib2.cc: Likewise.
47302 * elf/tst-unique4.cc: Likewise.
47303
df78418a
UD
47304 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47305
8ecd6b2a
JM
473062012-01-06 Joseph Myers <joseph@codesourcery.com>
47307
47308 [BZ #13566]
47309 * assert/assert.h (static_assert): Don't define for C++.
47310 * libio/stdio.h (gets): Do declare for C++ <= C++11.
47311 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47312
9f115170
UD
473132012-01-03 Ulrich Drepper <drepper@gmail.com>
47314
5e0d0300
UD
47315 * iconv/loop.c (single loop): Fix assertion in storing of
47316 remaining bytes.
47317
9f115170
UD
47318 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47319
81fb02b0
UD
473202012-01-01 Ulrich Drepper <drepper@gmail.com>
47321
47322 * posix/getconf.c: Update copyright year.
47323 * nss/getent.c: Likewise.
a316c1f6 47324 * nss/makedb.c: Likewise.
81fb02b0
UD
47325 * iconv/iconvconfig.c: Likewise.
47326 * iconv/iconv_prog.c: Likewise.
47327 * elf/ldconfig.c: Likewise.
a316c1f6
UD
47328 * elf/pldd.c: Likewise.
47329 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
47330 * catgets/gencat.c: Likewise.
47331 * csu/version.c: Likewise.
47332 * elf/ldd.bash.in: Likewise.
47333 * elf/sprof.c (print_version): Likewise.
47334 * locale/programs/locale.c: Likewise.
47335 * locale/programs/localedef.c: Likewise.
a316c1f6 47336 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
47337 * nscd/nscd.c (print_version): Likewise.
47338 * debug/xtrace.sh: Likewise.
47339 * malloc/memusage.sh: Likewise.
47340 * malloc/mtrace.pl: Likewise.
47341 * debug/catchsegv.sh: Likewise.
47342
2ba92745
JJ
473432011-12-30 Jakub Jelinek <jakub@redhat.com>
47344
47345 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47346 pure attribute.
47347
dadebdae
UD
473482011-12-24 Ulrich Drepper <drepper@gmail.com>
47349
d3761ebc 47350 [BZ #13533]
db6af3eb
UD
47351 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47352 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47353 transformations.
47354 * iconv/gconv_int.h: Likewise.
47355 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47356 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47357 from libc for GLIBC_2.16.
47358 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47359 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47360 * wcsmbs/uchar.h: Really define mbstate_t.
47361 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47362 * wcsmbs/c16rtomb.c: New file.
47363 * wcsmbs/mbrtoc16.c: New file.
47364 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47365 for C/POSIX locale.
47366 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47367 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47368
dadebdae
UD
47369 * wcsmbs/wchar.h: Add missing __restrict.
47370
67371b56
UD
473712011-12-23 Ulrich Drepper <drepper@gmail.com>
47372
74033a25
UD
47373 [BZ #13532]
47374 * time/Makefile (routines): Add timespec_get.
47375 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47376 * time/time.h: Define TIME_UTC and declare timespec_get. Define
47377 timespec for ISO C11.
47378 * time/timespec_get.c: New file.
47379 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47380 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47381
380d7e87
UD
47382 [BZ #13531]
47383 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47384 * stdlib/stdlib.h: Declare aligned_alloc.
47385 * Versions.def: Add GLIBC_2.16 for libc.
47386 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47387
4e9e7a35
UD
47388 [BZ 13527]
47389 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47390 ISO C11.
47391
380d7e87 47392 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
47393 code.
47394
03a71829
UD
47395 [BZ #13528]
47396 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47397
839e283e
UD
47398 [BZ #13529]
47399 * assert/assert.h (static_assert): Define.
47400
ce5294e2 47401 * version.h: Update for 2.16 development version.
90fa7312 47402
8d44e150 47403 [BZ #13526]
d7809905
UD
47404 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47405 _ISOC11_SOURCE.
47406
c0da14cd
UD
47407 * version.h (RELEASE): Bump for 2.15 release.
47408 * include/features.h (__GLIBC_MINOR__): Bump to 15.
47409
530a3249
MP
47410 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47411 Patch by Marek Polacek <mpolacek@redhat.com>.
47412
67371b56
UD
47413 * bits/byteswap.h: Protect long long constants with __extension__.
47414 * sysdeps/i386/bits/byteswap.h: Likewise.
47415 * sysdeps/ia64/bits/byteswap.h: Likewise.
47416 * sysdeps/s390/bits/byteswap.h: Likewise.
47417 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47418
15db4de1
LD
474192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47420
47421 [BZ #13540]
bbe315ea
LD
47422 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47423 destination buffer.
15db4de1
LD
47424 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47425
2b2596b1
MP
474262011-12-23 Marek Polacek <polacek@redhat.com>
47427
47428 * elf/dl-addr.c (determine_info): Add inline keyword.
47429 * elf/tst-auditmod4b.c (check_avx): Likewise.
47430 * elf/tst-auditmod6b.c (check_avx): Likewise.
47431 * elf/tst-auditmod6c.c (check_avx): Likewise.
47432 * elf/tst-auditmod7b.c (check_avx): Likewise.
47433
70c6c246
UD
474342011-12-23 Ulrich Drepper <drepper@gmail.com>
47435
47436 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47437 !__SSE_MATH__.
47438
c044cf14
LD
474392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47440
15db4de1 47441 [BZ #13540]
c044cf14
LD
47442 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47443 processing for last bytes.
47444
6b13d9d9
BH
474452011-08-06 Bruno Haible <bruno@clisp.org>
47446
d455f537
BH
47447 [BZ #13061]
47448 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47449 U+0385, not to U+1FEE.
47450
6b13d9d9
BH
47451 [BZ #13062]
47452 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47453 entry for U+00A5 U+0301.
47454
db910efd
UD
474552011-12-22 Ulrich Drepper <drepper@gmail.com>
47456
27deeafc
UD
47457 [BZ #13166]
47458 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47459 buffer for the output is too small.
47460
aed9d171
UD
47461 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47462 optimization.
47463
db910efd
UD
47464 [BZ #13185]
47465 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47466 SSE flags if possible.
47467
2bd779ae
LD
474682011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47469
e7f9dac3 47470 [BZ #13540]
2bd779ae
LD
47471 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47472 processing for last bytes.
47473
154bfc16
JM
474742011-12-22 Joseph Myers <joseph@codesourcery.com>
47475
47476 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47477 (syscall-list-default-options, syscall-list-default-condition)
47478 (syscall-list-includes): Define.
47479 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47480 list of ABIs and options and #if conditions for each ABI. Do not
47481 handle common syscalls between ABIs specially.
47482 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47483 Remove.
47484 (syscall-list-variants, syscall-list-32bit-options)
47485 (syscall-list-32bit-condition, syscall-list-64bit-options)
47486 (syscall-list-64bit-condition): Define.
47487 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47488 (syscall-list-variants, syscall-list-32bit-options)
47489 (syscall-list-32bit-condition, syscall-list-64bit-options)
47490 (syscall-list-64bit-condition): Define.
47491 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47492 Remove.
47493 (syscall-list-variants, syscall-list-32bit-options)
47494 (syscall-list-32bit-condition, syscall-list-64bit-options)
47495 (syscall-list-64bit-condition): Define.
47496 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47497 Remove.
47498 (syscall-list-variants, syscall-list-32bit-options)
47499 (syscall-list-32bit-condition, syscall-list-64bit-options)
47500 (syscall-list-64bit-condition): Define.
47501
21eaf3a5
UD
475022011-12-22 Ulrich Drepper <drepper@gmail.com>
47503
16c6f992
UD
47504 * locale/iso-639.def: Add brx entry.
47505
41043168
UD
47506 [BZ #13328]
47507 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47508 Proposed by Mariusz_Cukr <marcukr@op.pl>.
47509
21eaf3a5
UD
47510 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47511 __feraiseexcept_renamed.
47512
e3a851a2
UD
475132011-12-21 Ulrich Drepper <drepper@gmail.com>
47514
4920765e
UD
47515 [BZ #13538]
47516 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47517 EPOLLET with unsigned values.
47518 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47519 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47520
e3a851a2
UD
47521 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47522 to large cancellation.
47523 * math/s_cacoshf.c: Likewise.
47524 * math/s_cacoshl.c: Likewise.
47525
b27e24b8
RK
475262011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47527
47528 [BZ #13305]
aebefeee 47529 [BZ #12786]
b27e24b8
RK
47530 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47531 * math/s_cacoshf.c: Likewise.
47532 * math/s_cacoshl.c: Likewise.
47533
ee190f67
UD
475342011-12-21 Ulrich Drepper <drepper@gmail.com>
47535
47536 [BZ #13439]
47537 * iconv/gconv.h: Define __GCONV_SWAP.
47538 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47539 * iconvdata/utf-16.c: Likewise.
47540 * iconvdata/utf-32.c: Likewise.
47541
707f25df
AS
475422011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47543
47544 [BZ #13524]
47545 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47546 numerator after shifting it by one limb.
47547
d2daaa1e
RÁE
475482011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47549
47550 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47551 under [__USE_EXTERN_INLINES].
47552
a4647e72
UD
475532011-12-17 Ulrich Drepper <drepper@gmail.com>
47554
47555 [BZ #13446]
47556 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47557
f0b264f1
AZ
475582011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47559
47560 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47561 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47562 optimized code.
47563 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47564 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47565 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47566 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47567 for strncasecmp/strncasecmp_l compilation.
47568 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47569 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47570
8ef4f244
MP
475712011-12-08 Marek Polacek <mpolacek@redhat.com>
47572
47573 [BZ #13484]
47574 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47575 of __asm__.
47576
97ac2654
UD
475772011-12-17 Ulrich Drepper <drepper@gmail.com>
47578
47579 [BZ #13506]
47580 * time/tzfile.c (__tzfile_read): Check values from file header.
47581
91d2a845
WS
475822011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47583
47584 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47585 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47586 * powerpc/powerpc32/dl-start.S: Likewise.
47587 * powerpc/powerpc32/elf/start.S: Likewise.
47588 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47589 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47590 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47591 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47592 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47593 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47594 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47595 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47596 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47597 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47598 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47599 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47600 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47601 * powerpc/powerpc32/memset.S: Likewise.
47602 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47603 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47604 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47605 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47606 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47607 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47608 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47609 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47610 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47611 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47612 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47613 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47614 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47615
a1267ba1
AZ
476162011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47617
47618 * math/libm-test.inc: Added more nearbyint tests.
47619 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47620 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47621 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47622 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47623
ad8ac1bd
RL
476242011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47625
47626 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47627 FD_CLOEXEC.
47628
1d3e4b61
UD
476292011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47630
47631 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47632 Add wcscpy-ssse3 wcscpy-c.
47633 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47634 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47635 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47636 * sysdeps/x86_64/wcschr.S: New file.
47637 * sysdeps/x86_64/wcsrchr.S: New file.
47638 * string/test-strcmp.c: Remove checking of wcscmp function for
47639 wrong alignments.
47640 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47641 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47642 wcsrchr-sse2 wcsrchr-c.
47643 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47644 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47645 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47646 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47647 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47648 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47649 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47650 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47651 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47652 * wcsmbc/wcschr.c (WCSCHR): New macro.
47653
5b330a2d
UD
476542011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47655
47656 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47657 * wcsmbs/test-wcsrchr.c: New file.
47658 * string/test-strrchr.c: Add wcsrchr support.
47659 (WIDE): New macro.
47660 * wcsmbs/test-wcscpy.c: New file.
47661 * string/test-strcpy.c: Add wcscpy support.
47662 (WIDE): New macro.
26428b7c 47663
f039c043
UD
476642011-12-10 Ulrich Drepper <drepper@gmail.com>
47665
47666 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47667 the inner loop.
47668
850fb039
AS
476692011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47670
47671 [BZ #13472]
47672 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47673
4efbd5cb
UD
476742011-12-04 Ulrich Drepper <drepper@gmail.com>
47675
52ff5dd0 47676 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 47677 Minor optimizations.
52ff5dd0 47678
4efbd5cb
UD
47679 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47680 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47681 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47682
8a426e12
UD
476832011-12-03 Ulrich Drepper <drepper@gmail.com>
47684
aff2453d
UD
47685 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47686 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47687 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47688 for gcc to avoid warnings.
47689 * inet/Makefile (tests): Add tst-checks.
47690 * inet/tst-checks.c: New file.
47691
47692 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47693 warning.
47694
47695 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47696 __wmemcmp_sse2.
47697
47698 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47699 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47700
8a426e12
UD
47701 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47702
9bea3473
UD
477032011-12-02 Ulrich Drepper <drepper@gmail.com>
47704
3a965496
UD
47705 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47706 problem.
47707
9bea3473
UD
47708 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47709
f101631b
UD
477102011-11-29 Joseph Myers <joseph@codesourcery.com>
47711
47712 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47713 conditional on GCC version.
47714 (__arch_compare_and_exchange_val_8_acq)
47715 (__arch_compare_and_exchange_val_16_acq)
47716 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47717 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47718 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47719
a98275aa
UD
477202011-12-02 Joseph Myers <joseph@codesourcery.com>
47721
47722 * sysdeps/sh/backtrace.c: New file.
47723
d4cc29a2
AS
477242011-12-02 Andreas Schwab <schwab@redhat.com>
47725
47726 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47727 parenthesis.
47728
6257af2d
AS
477292011-12-01 Andreas Schwab <schwab@redhat.com>
47730
47731 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47732 falling back to utime.
47733
b5f44c1a
AS
477342011-11-30 Andreas Schwab <schwab@redhat.com>
47735
47736 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47737 expectations for float.
47738
f3a6cc0a
AS
477392011-11-29 Andreas Schwab <schwab@redhat.com>
47740
47741 * locale/weight.h (findidx): Add parameter len.
47742 * locale/weightwc.h (findidx): Likewise.
47743 * posix/fnmatch_loop.c (FCT): Adjust caller.
47744 * posix/regcomp.c (build_equiv_class): Likewise.
47745 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47746 * posix/regexec.c (check_node_accept_bytes): Likewise.
47747 * string/strcoll_l.c (STRCOLL): Likewise.
47748 * string/strxfrm_l.c (STRXFRM): Likewise.
47749
9d65ea3a
UD
477502011-11-17 Ulrich Drepper <drepper@gmail.com>
47751
47752 * Makefile.in: Remove CVSOPT handling.
47753 * configure.in: Remove use of AC_REVISION.
47754 * iconvdata/Makefile (distribute): No need to filter out CVS.
47755 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47756 handling.
47757
5583a086
AS
477582011-11-16 Andreas Schwab <schwab@redhat.com>
47759
47760 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47761 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47762 [USE_AS_STRNCASECMP_L]: Likewise.
47763 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47764 NO_TLS_DIRECT_SEG_REFS.
47765 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47766 Fix argument offsets for non-PIC.
47767 [USE_AS_STRNCASECMP_L]: Likewise.
47768 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47769 NO_TLS_DIRECT_SEG_REFS.
47770
d62a8200
UD
477712011-11-15 Ulrich Drepper <drepper@gmail.com>
47772
9d65ea3a 47773 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
47774 O_CLOEXEC.
47775 * locale/loadlocale.c (_nl_load_locale): Likewise.
47776
09f93bd3
AS
477772011-11-15 Andreas Schwab <schwab@redhat.com>
47778
446514f9
AS
47779 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47780 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47781 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47782 (SYSCALL_GETTIME): Set errno on error.
47783
09f93bd3
AS
47784 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47785 count references to noai6ai_cached.
47786
312be3f9
UD
477872011-11-15 Ulrich Drepper <drepper@gmail.com>
47788
47789 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47790
47791 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47792 FD_CLOEXEC for /proc/self/maps.
47793
47794 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47795 FD_CLOEXEC for /proc/meminfo.
47796
47797 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47798 gai.conf.
47799
47800 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47801 FD_CLOEXEC for given file.
47802
47803 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47804
47805 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47806 FD_CLOEXEC for /etc/hosts.
47807 (_gethtent): Likewise.
47808
47809 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47810
47811 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47812 cancellation and set FD_CLOEXEC for /etc/netgroup.
47813
47814 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47815 reading /etc/publickey.
47816
47817 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47818 allow cancellation when reading /etc/group.
47819
47820 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47821 cancellation.
47822 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47823
47824 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47825 when using data file.
47826
47827 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47828
47829 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47830 (write_nis_obj): Use "c" and "e" in fopen.
47831
47832 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47833
47834 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47835
47836 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47837
47838 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47839
47840 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47841 locale.alias.
47842
47843 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47844
47845 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47846
47847 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47848
47849 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47850 file parsing and set FD_CLOEXEC.
47851
82af0fa8
UD
478522011-11-14 Ulrich Drepper <drepper@gmail.com>
47853
47854 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47855
a5fb313c
AS
478562011-11-14 Andreas Schwab <schwab@redhat.com>
47857
47858 * malloc/arena.c (arena_get2): Don't call reused_arena when
47859 _int_new_arena failed.
47860
6abf3465
UD
478612011-11-14 Ulrich Drepper <drepper@gmail.com>
47862
47863 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47864 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47865 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47866 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47867 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47868 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47869 to compile strcasecmp and strncasecmp.
47870 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47871 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47872
47873 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47874
76e3966e
UD
478752011-11-13 Ulrich Drepper <drepper@gmail.com>
47876
47877 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47878 locale-defines.sym to gen-as-const-headers.
47879 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47880 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47881 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47882 to compile strcasecmp and strncasecmp.
47883 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47884 strcasecmp_l and strncasecmp_l.
47885 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47886 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47887 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47888 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47889 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47890 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47891 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47892 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47893 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47894 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47895 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47896
ab26144e
UD
478972011-11-12 Ulrich Drepper <drepper@gmail.com>
47898
7edb22ef
UD
47899 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47900 result of SYSDEP_GETTIME_CPU to retval.
47901 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47902 parameter list to macro. Remove trailing semicolon. Adjust users.
47903
9694fc44
UD
47904 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47905 variable.
47906
8ad89ef8
UD
47907 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47908 mantissa words.
47909 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47910
0c822ef9
UD
47911 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47912 from unused variable.
47913
874e0564
UD
47914 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47915 DWARF definitions.
47916 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47917 for assembling.
47918
3a2edc79
UD
47919 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47920 over namespaces.
47921
f3c2577f
UD
47922 * sunrpc/rpc_prot.c (rejected): Fix case value.
47923
294ce126
UD
47924 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47925 unsigned long long int to avoid warnings in shift.
47926
5e2b63c6
UD
47927 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47928 of use of trans.
47929 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47930 variable tmp.
47931
e7f4b08e
UD
47932 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47933 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47934 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47935
ab26144e
UD
47936 * nis/nis_table.c (nis_list): Use variable of correct type for
47937 result of __follow_path call.
47938
8a6d5255
AZ
479392011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47940
47941 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47942 of math functions ceil, trunc, floor, round, and sqrt, when
47943 avaliable on the platform.
47944 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47945 name clash.
47946 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47947 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47948 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47949
aaddc98c
MP
479502011-10-30 Marek Polacek <mpolacek@redhat.com>
47951
47952 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47953 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47954
95b7042b
RM
479552011-11-11 Roland McGrath <roland@hack.frob.com>
47956
47957 * include/unistd.h: Fix __readlink return type.
47958 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47959
57769839
UD
479602011-11-11 Ulrich Drepper <drepper@gmail.com>
47961
47962 * stdlib/ucontext.h: Undo last change for makecontext.
47963
edc5984d
AS
479642011-11-11 Andreas Schwab <schwab@redhat.com>
47965
98591e58
AS
47966 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47967
edc5984d
AS
47968 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47969 * setjmp/setjmp.h: Mark functions as non-leaf.
47970 * setjmp/bits/setjmp2.h: Likewise.
47971 * stdlib/ucontext.h: Likewise.
47972
77cdc054
AS
479732011-11-10 Andreas Schwab <schwab@redhat.com>
47974
47975 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47976 (reused_arena): Don't check arena limit.
47977 (arena_get2): Atomically check arena limit.
47978
fe72eebd
UD
479792011-11-08 Ulrich Drepper <drepper@gmail.com>
47980
5f078c32
UD
47981 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47982 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47983
fe72eebd
UD
47984 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47985 instructions.
47986
ae1bc2fa
AS
479872011-11-07 Andreas Schwab <schwab@redhat.com>
47988
7583a88d
AS
47989 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47990 handler when locking.
47991
ae1bc2fa
AS
47992 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47993 Fix size of allocated buffer.
47994
10fb0bfa
AS
479952011-11-04 Andreas Schwab <schwab@redhat.com>
47996
998832a4
AS
47997 [BZ #10103]
47998 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47999 declarations for long double functions.
48000 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48001
10fb0bfa
AS
48002 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48003
3d7ba52b
AS
480042011-11-03 Andreas Schwab <schwab@redhat.com>
48005
a9ae54a1
AS
48006 * nscd/nscd.c (main): Don't start AVC thread until credentials are
48007 installed.
48008
3d7ba52b
AS
48009 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48010 is disabled.
48011
bc8db248
ST
480122011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
48013
48014 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48015
45b96dd6
AS
480162011-11-01 Andreas Schwab <schwab@linux-m68k.org>
48017
647776f6
AS
48018 * include/alloca.h (stackinfo_alloca_round): Define.
48019 (extend_alloca): Use it.
48020 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48021 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48022 here.
48023
d91a8b93
AS
48024 * scripts/check-local-headers.sh: Ignore libaudit.h.
48025
45b96dd6
AS
48026 * nscd/Makefile (extra-objs): Make recursively expanded.
48027
432d41ce
UD
480282011-11-01 Ulrich Drepper <drepper@gmail.com>
48029
34372fc6
UD
48030 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48031 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48032
fadb59f8
UD
48033 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48034 * posix/tst-rfc3484-2.c: Likewise.
48035 * posix/tst-rfc3484-3.c: Likewise.
48036
78239589
UD
48037 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48038 process_vm_writev.
48039 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48040 process_vm_writev.
48041 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48042 process_vm_writev from libc using GLIBC_2.15 version.
48043
432d41ce
UD
48044 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48045
02f9c6cf
PP
480462011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
48047
48048 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48049 stack usage.
48050
3a2c0242
UD
480512011-10-31 Ulrich Drepper <drepper@gmail.com>
48052
f4ec4833
UD
48053 [BZ #13367]
48054 * nss/getent.c (initgroups_keys): Show error message in case no group
48055 names are given.
48056
3a2c0242
UD
48057 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48058 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48059 __bump_nl_timestamp.
48060 * nscd/connections (nscd_init): When host database is served open
48061 netlink socket and request notification about configuration changes.
48062 (main_loop_poll): Track netlink file descriptor and bump timestamp
48063 in case data becomes available.
48064 (main_loop_epoll): Likewise.
48065 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48066 (database_pers_head): Add extra_data fileds.
48067 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48068 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48069 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48070 Adjust caller.
48071 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48072 in6ai data, call __free_in6ai.
48073 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48074 Add -DHAVE_NETLINK.
48075 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
48076 interface information. Reuse previous data if netlink timestamp
48077 is not changed.
48078 (__bump_nl_timestamp): New function.
48079 (__free_in6ai): New function.
48080
636064eb
UD
480812011-10-30 Ulrich Drepper <drepper@gmail.com>
48082
48083 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48084 close_not_cancel_no_status here.
48085 (__check_pf): Reorganize code a bit to not call close twice if OOM.
48086
9beb2334
UD
480872011-10-29 Ulrich Drepper <drepper@gmail.com>
48088
6ef76f3b
UD
48089 [BZ #13276]
48090 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48091 return value.
48092
0ffc4f3e 48093 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
48094 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48095 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48096
cb95113e
UD
480972011-07-03 Andreas Jaeger <aj@suse.de>
48098
48099 [BZ #10709]
48100 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48101 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48102 * math/libm-test.inc (sin_test): Add test case.
48103
a1b560ff
UD
481042011-10-29 Ulrich Drepper <drepper@gmail.com>
48105
c9aaface
UD
48106 [BZ #13337]
48107 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48108 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48109
d272e7f1
UD
48110 * elf/chroot_canon.c (chroot_canon): Cleanups.
48111
1bc33071
UD
48112 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48113
1760874d
TJ
48114 [BZ #13335]
48115 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48116 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48117
51d91b18
UD
48118 * string/test-strchr.c: Make usable for strchrnul testing.
48119 * string/test-strchrnul.c: New file.
48120 * string/Makefile (strop-tests): Add strchrnul.
48121
a1b560ff 48122 * po/it.po: Update from translation team.
b611fb81 48123 * po/es.po: Likewise.
a1b560ff 48124
a5b81e1f
UD
481252011-10-28 Ulrich Drepper <drepper@gmail.com>
48126
fd52bc6d
UD
48127 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48128 the three constants needed as parameters. Drop the others.
48129 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48130 __m128i_strloadu_tolower.
52e4b9eb
UD
48131 Create and initialize variable zero and use it in all the places
48132 where _mm_setzero_si128 was used.
fd52bc6d 48133
a5b81e1f
UD
48134 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48135 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48136 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48137 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48138 anymore.
48139 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48140 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48141 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48142 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48143 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48144 __mpranred, __mptan.
48145 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48146 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48147 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48148 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48149 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48150 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48151 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48152 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48153 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48154
b4343346
AS
481552011-10-28 Andreas Schwab <schwab@redhat.com>
48156
0c92d8a8
AS
48157 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48158 redefine if SHARED.
48159 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48160
b4343346
AS
48161 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48162 wide char related routines to wcsmbs subdir.
48163
3871f58f
AS
481642011-10-27 Andreas Schwab <schwab@redhat.com>
48165
48166 [BZ #13344]
48167 * misc/sys/cdefs.h (__THROWNL): Define.
48168 * posix/unistd.h: Use __THREADNL instead of __THREAD
48169 for memory synchronization functions.
48170
94d44d9f
RM
481712011-10-26 Roland McGrath <roland@hack.frob.com>
48172
21b64b15 48173 [BZ #13349]
94d44d9f
RM
48174 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48175 doesn't exist.
48176 * manual/stdio.texi (Obstack Streams): Node removed.
48177
f6ce9294
AS
481782011-10-26 Andreas Schwab <schwab@redhat.com>
48179
80479147
AS
48180 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48181 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48182 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48183
f6ce9294
AS
48184 * math/math_private.h (math_force_eval): Allow non-addressable
48185 arguments.
48186 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48187
618280a1
UD
481882011-10-25 Ulrich Drepper <drepper@gmail.com>
48189
e0016b11
UD
48190 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48191 file is not needed.
48192
48193 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48194 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48195 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48196 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48197 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48198 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48199 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48200 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48201 Add AVX variants.
48202 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48203 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48204 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48205 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48206 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48207 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48208 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48209 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48210 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48211 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48212 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48213 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48214 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48215 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48216 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48217 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48218 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48219 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48220 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48221
48222 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48223 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
48224
618280a1
UD
48225 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48226 place. Use VEX encoding when compiling for AVX.
48227
37822576
AS
482282011-10-25 Andreas Schwab <schwab@redhat.com>
48229
1f1e1947
AS
48230 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48231 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48232
37822576
AS
48233 * string/test-strchr.c (do_test): Don't generate NUL bytes.
48234
31ea014d
UD
482352011-10-25 Ulrich Drepper <drepper@gmail.com>
48236
d7826aa1 48237 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 48238 useless if() expression.
d7826aa1
UD
48239 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48240 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48241 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48242 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48243 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48244 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48245 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48246 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48247 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48248 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48249 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48250 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48251 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48252 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48253 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48254 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48255 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48256 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48257 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48258
31ea014d
UD
48259 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48260
16437fec
AS
482612011-10-25 Andreas Schwab <schwab@redhat.com>
48262
48263 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48264 condition.
48265 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48266
31d3cc00
UD
482672011-10-25 Ulrich Drepper <drepper@gmail.com>
48268
48269 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48270 .text section. Avoid duplicate constants.
48271 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48272 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48273 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48274 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48275 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48276 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48277 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48278 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48279 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48280 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48281 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48282 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48283 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48284 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48285 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48286 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48287 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48288 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48289 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48290 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48291 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48292 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48293 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48294 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48295 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48296 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48297 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48298 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48299 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48300 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48301 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48302 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48303 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48304 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48305 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48306 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48307 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48308 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48309 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48310 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48311 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48312 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48313 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48314 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48315 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48316
58985aa9
UD
483172011-10-24 Ulrich Drepper <drepper@gmail.com>
48318
202c9deb
UD
48319 * sysdeps/x86_64/dla.h: Move to ...
48320 * sysdeps/x86_64/fpu/dla.h: ...here.
48321 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48322 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 48323
af968f62
UD
48324 * config.make.in: Add have-mfma4 entry.
48325 * configure.in: Substitute libc_cv_cc_fma4.
48326 * math/Makefile (dbl-only-routines): Add sincostab.
48327 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48328 Use __sincostab not sincos.
48329 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48330 name is a macro.
48331 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48332 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48333 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48334 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
48335 using __copysign.
48336 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
48337 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
48338 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48339 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48340 and __inv.
48341 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48342 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48343 __copysign.
48344 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
48345 define aliases when function name is a macro.
48346 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48347 sysdeps/ieee754/dbl-64/sincos.tbl.
48348 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48349 fma4-enabled routines.
48350 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48351 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48352 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48353 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48354 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48355 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48356 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48357 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48358 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48359 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48360 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48361 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48362 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48363 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48364 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48365 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48366 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48367 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48368 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48369 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48370 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48371 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48372 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48373 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48374 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48375 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48376 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48377 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48378 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48379 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48380
58985aa9
UD
48381 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48382 rename.
48383 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48384 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48385 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48386 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48387 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48388 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48389 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48390 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48391
a201fbcf
AS
483922011-10-24 Andreas Schwab <schwab@redhat.com>
48393
48394 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48395
fc2ee42a
LD
483962011-10-23 Ulrich Drepper <drepper@gmail.com>
48397
bb3129bd
UD
48398 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48399
0275fff8
UD
48400 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48401 prediction.
48402 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48403
2fa2ae85
UD
48404 * string/strnlen.c: Don't define STRNLEN, reverse logic.
48405 Remove unused variable magic_bits.
48406 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48407
fc2ee42a
LD
48408 * string/strnlen.c: Define and use STRNLEN macro.
48409 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48410 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48411 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48412 * wcsmbs/wcslen.c: Define and use WCSLEN.
48413 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48414 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48415 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48416 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48417 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48418 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48419 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48420
ce7dd29f
LD
484212011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48422
48423 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48424 strnlen-sse2-no-bsf.
48425 Rename strlen-no-bsf to strlen-sse2-no-bsf.
48426 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48427 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48428 Add strnlen support.
48429 (USE_AS_STRNLEN): New macro.
48430 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48431 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48432 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48433 * sysdeps/x86_64/wcslen.S: New file.
48434
979c70a3
MZ
484352011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
48436
48437 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48438 XMM-moves are used for copying on small sizes.
48439
2d09f82f
LD
484402011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48441
48442 * wcsmbs/Makefile (strop-tests): Add wcschr.
48443 * wcsmbs/test-wcschr.c: New file.
48444 * string/test-strchr.c: Update.
48445 Add wcschr support.
48446 (WIDE): New macro.
48447
619fccca
LD
484482011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48449
2d09f82f 48450 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
48451 * wcsmbs/test-wcslen.c: New file.
48452 * string/test-strlen.c: Update.
48453 Add wcslen support.
48454 (WIDE): New macro.
48455
09f699ea
UD
484562011-10-23 Ulrich Drepper <drepper@gmail.com>
48457
48458 * po/it.po: Update from translation team.
48459
95584d3b
LD
484602011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48461
48462 * sysdeps/x86_64/wcscmp.S: Update.
48463 Fix wrong comparison semantics.
48464 wcscmp shall use signed comparison not unsigned.
48465 Don't use substraction to avoid overflow bug.
48466 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48467 * wcsmbc/wcscmp.c: Likewise.
48468 * string/test-strcmp.c: Likewise.
48469 Add new tests to check cases with negative values.
48470
c8b3296b
UD
484712011-10-23 Ulrich Drepper <drepper@gmail.com>
48472
48473 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48474 * sysdeps/x86_64/dla.h: ...here. New file.
48475 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48476 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48477 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48478 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48479 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48480 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48481 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48482 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48483 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48484
246ad57a
AS
484852011-10-23 Andreas Schwab <schwab@linux-m68k.org>
48486
48487 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48488 __ynl_finite aliases.
48489
a1a87169
UD
484902011-10-22 Ulrich Drepper <drepper@gmail.com>
48491
0d355eb7
UD
48492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48493
a1a87169
UD
48494 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48495 define DLA_FMA.
48496 [DLA_FMA] (EMULV): Use DLA_FMA.
48497 [DLA_FMA] (MUL12): Use EMULV.
48498 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48499 that are not needed.
48500 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48501 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48502 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48503 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48504 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48505 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48506 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48507
ee2aafe0
AS
485082011-10-22 Andreas Schwab <schwab@linux-m68k.org>
48509
48510 * math/s_nan.c: Undef __nan.
48511 * math/s_nanf.c: Undef __nanf.
48512 * math/s_nanl.c: Undef __nanl.
48513 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48514 "math_private.h".
48515
bc62c2fb
UD
485162011-10-22 Ulrich Drepper <drepper@gmail.com>
48517
77425c63
UD
48518 * math/s_catan.c: Add branch predictions.
48519 * math/s_catanf.c: Likewise.
48520 * math/s_catanh.c: Likewise.
48521 * math/s_catanhf.c: Likewise.
48522 * math/s_catanhl.c: Likewise.
48523 * math/s_catanl.c: Likewise.
48524 * math/s_cexp.c: Likewise.
48525 * math/s_cexpf.c: Likewise.
48526 * math/s_cexpl.c: Likewise.
48527 * math/s_clog.c: Likewise.
48528 * math/s_clog10.c: Likewise.
48529 * math/s_clog10f.c: Likewise.
48530 * math/s_clog10l.c: Likewise.
48531 * math/s_clogf.c: Likewise.
48532 * math/s_clogl.c: Likewise.
48533 * math/s_csqrt.c: Likewise.
48534 * math/s_csqrtf.c: Likewise.
48535 * math/s_csqrtl.c: Likewise.
48536 * math/s_ctanf.c: Likewise.
48537 * math/s_ctanh.c: Likewise.
48538 * math/s_ctanhf.c: Likewise.
48539 * math/s_ctanhl.c: Likewise.
48540 * math/s_ctanl.c: Likewise.
48541
bc62c2fb
UD
48542 * math/math_private.h: Define __nan, __nanf, __nanl.
48543 * math/s_cacosh.c: Include <math_private.h>.
48544 * math/s_cacoshl.c: Likewise.
48545 * math/s_casinh.c: Likewise.
48546 * math/s_casinhf.c: Likewise.
48547 * math/s_casinhl.c: Likewise.
48548 * math/s_ccos.c: Rely entire on ccosh.
48549 * math/s_ccosf.c: Rely entire on ccoshf.
48550 * math/s_ccosl.c: Rely entirely on ccoshl.
48551 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48552 Remove tests for FE_INVALID.
48553 * math/s_ccoshf.c: Likewise.
48554 * math/s_ccoshl.c: Likewise.
48555 * math/s_csin.c: Likewise.
48556 * math/s_csinf.c: Likewise.
48557 * math/s_csinh.c Likewise.
48558 * math/s_csinhf.c: Likewise.
48559 * math/s_csinhl.c: Likewise.
48560 * math/s_csinl.c: Likewise.
48561 * math/s_ctan.c: Likewise.
48562 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48563 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48564 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48565
8ec250a4
UD
485662011-10-21 Ulrich Drepper <drepper@gmail.com>
48567
c196fed8
UD
48568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48569 compilation problems.
48570
8ec250a4
UD
48571 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48572 __builtin_expect.
48573
8d4f46c6
UD
485742011-10-20 Ulrich Drepper <drepper@gmail.com>
48575
ed72b654
UD
48576 * sysdeps/i386/configure.in: Test for -mfma4 option.
48577 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48578 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48579 COMMON_CPUID_INDEX_80000001.
48580 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48581 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48582 use it if FMA3 is not supported.
48583 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48584
8d4f46c6
UD
48585 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48586 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48587
d45c60c2
AS
485882011-10-20 Andreas Schwab <schwab@redhat.com>
48589
48590 [BZ #12892]
48591 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48592 it would create a cycle with a link time dependency.
48593
d9a4d2ab
UD
485942011-10-19 Ulrich Drepper <drepper@gmail.com>
48595
855d1560
UD
48596 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48597 instruction.
48598 * string/Makefile (strop-tests): Add rawmemchr.
48599 * string/test-rawmemchr.c: New file.
48600
d9a4d2ab
UD
48601 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48602 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48603 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48604 when compiling str{,n}casecmp and when AVX is available. Hook up
48605 new optimized code in initializers.
48606
8f3b1ffe
AS
486072011-10-19 Andreas Schwab <schwab@redhat.com>
48608
48609 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48610 __feraiseexcept instead of feraiseexcept.
48611
d38f1dba
UD
486122011-10-18 Ulrich Drepper <drepper@gmail.com>
48613
d9a8d0ab
UD
48614 * math/math_private.h: Define defaults for libc_fetestexcept and
48615 libc_feupdateenv.
48616 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48617 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48618 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48619 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48620 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48621 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48622 libc_fetestexcept and libc_feupdateenv.
48623
4855e3dd
UD
48624 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48625 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48626 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48627 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48628 libc_feholdexcept_setround.
48629
581d30e3
UD
48630 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48631 Add s_nearbyint-c and s_nearbyintf-c.
48632 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48633 nearbyintf inlines.
48634 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48635 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48636 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48637 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48638
d38f1dba
UD
48639 * math/math_private.h: Define defaults for libc_fegetround,
48640 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48641 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48642 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48643 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48644 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48645 standard functions.
48646 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48647 Remove comments and hacks for old compiler versions.
48648 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48649 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48650 libc_feholdexceptl.
48651
caa6c9d8
AS
486522011-10-18 Andreas Schwab <schwab@redhat.com>
48653
48654 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
48655 (__feraiseexcept_renamed): Add __NTH.
48656 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
48657 namespace violations.
48658
97c066e6
UD
486592011-10-17 Ulrich Drepper <drepper@gmail.com>
48660
99ce7b04
UD
48661 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48662
1004d182
UD
48663 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48664
228a984d
UD
48665 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48666 recently added interfaces.
48667 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48668
c8553a6a
UD
48669 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48670 about macro parameter expansion.
48671
ed22dcf6
UD
48672 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48673 __NO_MATH_INLINES is defined. Cleanups.
48674
48675 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48676 and __floorf is target has SSE4.1.
48677 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48678 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48679 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48680 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48681
b171c137
UD
48682 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48683 name.
48684 (floorf): Likewise.
48685
97c066e6
UD
48686 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48687
629f62ef
AS
486882011-10-17 Andreas Schwab <schwab@redhat.com>
48689
49a43d80
AS
48690 * misc/sys/cdefs.h: Fix last change.
48691
629f62ef
AS
48692 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48693 database lookup.
48694
e453f6cd
UD
486952011-10-16 Ulrich Drepper <drepper@gmail.com>
48696
aa78043a
UD
48697 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48698
ad0f5cad
UD
48699 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48700 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48701 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48702 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48703 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48704 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48705 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48706 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48707 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48708 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48709 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48710 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48711 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48712 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48713 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48714 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48715 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48716 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48717 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48718 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48719 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48720 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48721
48722 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48723 ceil, ceilf, floor, floorf.
48724
48725 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48726 Perform IRELATIVE relocations last.
48727
e453f6cd
UD
48728 * elf/do-rel.h: Add another parameter nrelative, replacing the
48729 local variable with the same name. Change name of the function
48730 to end in Rel or Rela (uppercase).
48731 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48732 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48733 elf_dynamic_do_##reloc function.
48734
fd5bdc09
UD
487352011-10-15 Ulrich Drepper <drepper@gmail.com>
48736
79b195b5
UD
48737 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48738 is sufficient, at least on modern CPUs.
48739
d4a28569
UD
48740 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48741
b61099b5
UD
48742 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48743 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48744
bcf01e6d
UD
48745 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48746 __expl_finite.
48747 * math/bits/math-finite.h: Add entries for exp.
48748 * math/e_expl.c: Add __*_finite alias.
48749 * sysdeps/i386/fpu/e_exp.S: Likewise.
48750 * sysdeps/i386/fpu/e_expf.S: Likewise.
48751 * sysdeps/i386/fpu/e_expl.c: Likewise.
48752 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48753 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48754 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48755 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48756 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48757 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48758 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48759
ba1a0d59
UD
48760 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48761 is sufficient, at least on modern CPUs.
48762
fd5bdc09
UD
48763 * ctype/ctype-info.c (__ctype_init): Define.
48764 * include/ctype.h (__ctype_init): Declare.
48765 (__ctype_b_loc): The variable is always initialized.
48766 (__ctype_toupper_loc): Likewise.
48767 (__ctype_tolower_loc): Likewise.
48768 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48769 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48770
7872cfb0
AS
487712011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48772
b468825a
AS
48773 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48774
7872cfb0
AS
48775 * configure.in: Also look in $cxxmachine/include for C++ system
48776 headers.
48777
be13f7bf
LD
487782011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48779
48780 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48781 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48782 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48783 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48784 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48785 (USE_AS_WMEMCMP): New macro.
48786 Fixing indents.
48787 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48788 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48789 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48790 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48791 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48792 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48793 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48794 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48795 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48796 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48797 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48798 (USE_AS_WMEMCMP): New macro.
48799 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48800 * sysdeps/string/test-memcmp.c: Update.
48801 Fix simple_wmemcmp.
48802 Add new tests.
48803 * wcsmbs/wmemcmp.c: Update.
48804 (WMEMCMP): New macro.
48805 Fix overflow bug.
48806
556a2007
AJ
488072011-10-12 Andreas Jaeger <aj@suse.de>
48808
48809 [BZ #13268]
48810 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48811
538faaa7
UD
488122011-10-15 Ulrich Drepper <drepper@gmail.com>
48813
ab6737ff
UD
48814 * libio/iofwide.c (do_length): Avoid warning.
48815
538faaa7
UD
48816 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48817
396a21b1
UD
488182011-10-14 Ulrich Drepper <drepper@gmail.com>
48819
cdf2901f
UD
48820 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48821
38ad40ce
UD
48822 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48823 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48824 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48825 * sysdeps/i386/i686/fpu/e_log.S: New file.
48826 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48827 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48828
396a21b1
UD
48829 * ctype/ctype.h: Add support for inlined isXXX functions when
48830 compiling C++ code.
48831
6b1f68c9
AS
488322011-10-14 Andreas Schwab <schwab@redhat.com>
48833
349290c0
AS
48834 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48835
6b1f68c9
AS
48836 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48837
f2282d42
RM
488382011-10-13 Roland McGrath <roland@hack.frob.com>
48839
48840 [BZ #13291]
48841 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48842
5298ffa8
AS
488432011-10-13 Andreas Schwab <schwab@redhat.com>
48844
714fad23
AS
48845 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48846 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48847 feraiseexcept.
48848
81dcc7fb
AS
48849 * sysdeps/x86_64/memrchr.S: Check for zero size.
48850
5298ffa8
AS
48851 * string/stratcliff.c: Add memrchr tests.
48852
951fbcec
LD
488532011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48854
48855 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48856 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48857 rawmemchr-sse2 rawmemchr-sse2-bsf.
48858 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48859 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48860 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48861 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48862 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48863 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48864 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48865 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48866 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48867 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48868 * string/memrchr.c (MEMRCHR): New macro.
48869
0ac5ae23
UD
488702011-10-12 Ulrich Drepper <drepper@gmail.com>
48871
48872 Add integration with gcc's -ffinite-math-only and optimize wrapper
48873 functions in libm.
48874 * Versions.def: Define GLIBC_2.15 version for libm.
48875 * math/Makefile (headers): Add bits/math-finite.h.
48876 * math/bits/math-finite.h: New file.
48877 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48878 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48879 * math/e_acoshl.c: Add __*_finite alias.
48880 * math/e_acosl.c: Likewise.
48881 * math/e_asinl.c: Likewise.
48882 * math/e_atan2l.c: Likewise.
48883 * math/e_atanhl.c: Likewise.
48884 * math/e_coshl.c: Likewise.
48885 * math/e_exp10.c: Likewise.
48886 * math/e_exp10f.c: Likewise.
48887 * math/e_exp10l.c: Likewise.
48888 * math/e_exp2l.c: Likewise.
48889 * math/e_fmodl.c: Likewise.
48890 * math/e_gammal_r.c: Likewise.
48891 * math/e_hypotl.c: Likewise.
48892 * math/e_j0l.c: Likewise.
48893 * math/e_j1l.c: Likewise.
48894 * math/e_jnl.c: Likewise.
48895 * math/e_lgammal_r.c: Likewise.
48896 * math/e_log10l.c: Likewise.
48897 * math/e_log2l.c: Likewise.
48898 * math/e_logl.c: Likewise.
48899 * math/e_powl.c: Likewise.
48900 * math/e_sinhl.c: Likewise.
48901 * math/e_sqrtl.c: Likewise.
48902 * math/e_scalb.c: Completely rewritten and optimized.
48903 * math/e_scalbf.c: Likewise.
48904 * math/e_scalbl.c: Likewise.
48905 * math/w_acos.c: Likewise.
48906 * math/w_acosf.c: Likewise.
48907 * math/w_acosl.c: Likewise.
48908 * math/w_acosh.c: Likewise.
48909 * math/w_acoshf.c: Likewise.
48910 * math/w_acoshl.c: Likewise.
48911 * math/w_asin.c: Likewise.
48912 * math/w_asinf.c: Likewise.
48913 * math/w_asinl.c: Likewise.
48914 * math/w_atan2.c: Likewise.
48915 * math/w_atan2f.c: Likewise.
48916 * math/w_atan2l.c: Likewise.
48917 * math/w_atanh.c: Likewise.
48918 * math/w_atanhf.c: Likewise.
48919 * math/w_atanhl.c: Likewise.
48920 * math/w_exp10.c: Likewise.
48921 * math/w_exp10f.c: Likewise.
48922 * math/w_exp10l.c: Likewise.
48923 * math/w_fmod.c: Likewise.
48924 * math/w_fmodf.c: Likewise.
48925 * math/w_fmodl.c: Likewise.
48926 * math/w_j0.c: Likewise.
48927 * math/w_j0f.c: Likewise.
48928 * math/w_j0l.c: Likewise.
48929 * math/w_j1.c: Likewise.
48930 * math/w_j1f.c: Likewise.
48931 * math/w_j1l.c: Likewise.
48932 * math/w_jn.c: Likewise.
48933 * math/w_jnf.c: Likewise.
48934 * math/w_log.c: Likewise.
48935 * math/w_logf.c: Likewise.
48936 * math/w_logl.c: Likewise.
48937 * math/w_log10.c: Likewise.
48938 * math/w_log10f.c: Likewise.
48939 * math/w_log10l.c: Likewise.
48940 * math/w_log2.c: Likewise.
48941 * math/w_log2f.c: Likewise.
48942 * math/w_log2l.c: Likewise.
48943 * math/w_pow.c: Likewise.
48944 * math/w_powf.c: Likewise.
48945 * math/w_powl.c: Likewise.
48946 * math/w_remainder.c: Likewise.
48947 * math/w_remainderf.c: Likewise.
48948 * math/w_remainderl.c: Likewise.
48949 * math/w_scalb.c: Likewise.
48950 * math/w_scalbf.c: Likewise.
48951 * math/w_scalbl.c: Likewise.
48952 * math/w_sqrt.c: Likewise.
48953 * math/w_sqrtf.c: Likewise.
48954 * math/w_sqrtl.c: Likewise.
48955 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48956 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48957 used.
48958 * math/math_private.h: Declare __kernel_standard_f.
48959 * math/w_cosh.c: Remove cruft and optimize a bit.
48960 * math/w_coshf.c: Likewise.
48961 * math/w_coshl.c: Likewise.
48962 * math/w_exp2.c: Likewise.
48963 * math/w_exp2f.c: Likewise.
48964 * math/w_exp2l.c: Likewise.
48965 * math/w_hypot.c: Likewise.
48966 * math/w_hypotf.c: Likewise.
48967 * math/w_hypotl.c: Likewise.
48968 * math/w_lgamma.c: Likewise.
48969 * math/w_lgamma_r.c: Likewise.
48970 * math/w_lgammaf.c: Likewise.
48971 * math/w_lgammaf_r.c: Likewise.
48972 * math/w_lgammal.c: Likewise.
48973 * math/w_lgammal_r.c: Likewise.
48974 * math/w_sinh.c: Likewise.
48975 * math/w_sinhf.c: Likewise.
48976 * math/w_sinhl.c: Likewise.
48977 * math/w_tgamma.c: Likewise.
48978 * math/w_tgammaf.c: Likewise.
48979 * math/w_tgammal.c: Likewise.
48980 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48981 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48982 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48983 Minor optimizations. Pretty printing. Remove cruft.
48984 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48985 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48986 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48987 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48988 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48989 * sysdeps/i386/fpu/e_asin.S: Likewise.
48990 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48991 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48992 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48993 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48994 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48995 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48996 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48997 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48998 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48999 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49000 * sysdeps/i386/fpu/e_exp2.S: Likewise.
49001 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49002 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49003 * sysdeps/i386/fpu/e_fmod.S: Likewise.
49004 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49005 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49006 * sysdeps/i386/fpu/e_hypot.S: Likewise.
49007 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49008 * sysdeps/i386/fpu/e_log.S: Likewise.
49009 * sysdeps/i386/fpu/e_log10.S: Likewise.
49010 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49011 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49012 * sysdeps/i386/fpu/e_log2.S: Likewise.
49013 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49014 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49015 * sysdeps/i386/fpu/e_logf.S: Likewise.
49016 * sysdeps/i386/fpu/e_logl.S: Likewise.
49017 * sysdeps/i386/fpu/e_pow.S: Likewise.
49018 * sysdeps/i386/fpu/e_powf.S: Likewise.
49019 * sysdeps/i386/fpu/e_powl.S: Likewise.
49020 * sysdeps/i386/fpu/e_remainder.S: Likewise.
49021 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49022 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49023 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49024 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49025 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49026 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49027 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49028 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49029 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49030 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49031 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49032 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49033 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49034 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49035 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49036 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49037 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49038 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49039 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49040 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49041 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49042 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49043 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49044 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49045 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49046 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49047 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49048 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49049 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49050 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49051 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49052 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49053 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49054 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49055 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49056 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49057 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49058 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49059 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49060 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49061 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49062 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49063 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49064 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49065 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49066 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49067 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49068 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49069 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49070 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49071 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49072 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49073 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49074 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49075 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49076 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49077 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49078 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49079 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49080 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49081 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49082 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49083 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49084 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49085 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49086 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49087 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49088 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49089 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49090 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49091 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49092 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49093 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49094 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49095 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49096 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49097 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49098 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49099 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49100 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49101 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49102 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49103 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49104 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49105 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49106 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49107 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49108 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49109 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49110 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49111 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49112 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49113 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49114 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49115 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49116 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49117 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49118 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49119 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49120 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49121 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49122 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49123 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49124 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49125 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49126 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49127 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49128 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49129 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49130 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49131 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49132 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49133 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49134 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49135 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49136 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49137 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49138 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49139 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
49140 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49141 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49142 (__isnanf): Likewise.
49143 (__isinf_ns): Likewise.
49144 (__isinf_nsf): Likewise.
49145 (__finite): Likewise.
49146 (__finitef): Likewise.
49147 (__ieee754_sqrt): Define as macro.
49148 (__ieee754_sqrtf): Define as macro.
49149 (__ieee754_sqrtl): Define as macro.
49150 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49151 inlined copy.
49152 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49153 __FINITE_MATH_ONLY__ consistent.
49154 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49155
12cc2fcd
AS
491562011-10-10 Andreas Schwab <schwab@linux-m68k.org>
49157
a843a204
AS
49158 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49159 of rawmemchr.
49160
12cc2fcd
AS
49161 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49162
c853acd5
UD
491632011-10-09 Ulrich Drepper <drepper@gmail.com>
49164
49165 * po/ja.po: Update from translation team.
49166
c658d255
RM
491672011-10-08 Roland McGrath <roland@hack.frob.com>
49168
110946e4
RM
49169 * locale/programs/locarchive.c (prepare_address_space): New function.
49170 (create_archive, enlarge_archive, open_archive): Use it.
49171
50604220
RM
49172 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49173 inside [SHARED], where it is used.
49174
c658d255
RM
49175 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49176
49177 * nss/getent.c (netgroup_keys): Remove unused variable.
49178 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49179
6a621eb7
UD
491802011-10-08 Ulrich Drepper <drepper@gmail.com>
49181
7edb55ce
UD
49182 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49183 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49184 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49185 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49186 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49187 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49188 * math/Makefile (libm-calls): Add s_isinf_ns.
49189 * math/divtc3.c: Use __isinf_nsl instead of isinf.
49190 * math/multc3.c: Likewise.
49191 * math/s_casin.c: Likewise.
49192 * math/s_casinf.c: Likewise.
49193 * math/s_casinl.c: Likewise.
49194 * math/s_ccos.c: Likewise.
49195 * math/s_ccosf.c: Likewise.
49196 * math/s_ccosl.c: Likewise.
49197 * math/s_ctan.c: Likewise.
49198 * math/s_ctanf.c: Likewise.
49199 * math/s_ctanh.c: Likewise.
49200 * math/s_ctanhf.c: Likewise.
49201 * math/s_ctanhl.c: Likewise.
49202 * math/s_ctanl.c: Likewise.
49203 * math/w_fmod.c: Likewise.
49204 * math/w_fmodf.c: Likewise.
49205 * math/w_fmodl.c: Likewise.
49206 * math/w_remainder.c: Likewise.
49207 * math/w_remainderf.c: Likewise.
49208 * math/w_remainderl.c: Likewise.
49209 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49210 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49211 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49212 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49213 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49214 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49215 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49216 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49217
187da0ae
UD
49218 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49219 of the number.
49220 * stdio-common/printf_fphex.c: Likewise.
49221 * stdio-common/printf_size.c: Likewise.
49222
9277c064
UD
49223 * math/e_exp10.c: Include math_private.h using <...> not "...".
49224 * math/e_exp10f.c: Likewise.
49225 * math/e_exp10l.c: Likewise.
49226 * math/e_exp2l.c: Likewise.
49227 * math/e_j0l.c: Likewise.
49228 * math/e_j1l.c: Likewise.
49229 * math/e_jnl.c: Likewise.
49230 * math/e_lgammal_r.c: Likewise.
49231 * math/e_rem_pio2l.c: Likewise.
49232 * math/e_scalb.c: Likewise.
49233 * math/e_scalbf.c: Likewise.
49234 * math/e_scalbl.c: Likewise.
49235 * math/k_cosl.c: Likewise.
49236 * math/k_sinl.c: Likewise.
49237 * math/k_tanl.c: Likewise.
49238 * math/s_cacoshf.c: Likewise.
49239 * math/s_catan.c: Likewise.
49240 * math/s_catanf.c: Likewise.
49241 * math/s_catanh.c: Likewise.
49242 * math/s_catanhf.c: Likewise.
49243 * math/s_catanhl.c: Likewise.
49244 * math/s_catanl.c: Likewise.
49245 * math/s_ccosh.c: Likewise.
49246 * math/s_ccoshf.c: Likewise.
49247 * math/s_ccoshl.c: Likewise.
49248 * math/s_cexp.c: Likewise.
49249 * math/s_cexpf.c: Likewise.
49250 * math/s_cexpl.c: Likewise.
49251 * math/s_clog.c: Likewise.
49252 * math/s_clog10.c: Likewise.
49253 * math/s_clog10f.c: Likewise.
49254 * math/s_clog10l.c: Likewise.
49255 * math/s_clogf.c: Likewise.
49256 * math/s_clogl.c: Likewise.
49257 * math/s_csin.c: Likewise.
49258 * math/s_csinf.c: Likewise.
49259 * math/s_csinh.c: Likewise.
49260 * math/s_csinhf.c: Likewise.
49261 * math/s_csinhl.c: Likewise.
49262 * math/s_csinl.c: Likewise.
49263 * math/s_csqrt.c: Likewise.
49264 * math/s_csqrtf.c: Likewise.
49265 * math/s_csqrtl.c: Likewise.
49266 * math/s_ctan.c: Likewise.
49267 * math/s_ctanf.c: Likewise.
49268 * math/s_ctanh.c: Likewise.
49269 * math/s_ctanhf.c: Likewise.
49270 * math/s_ctanhl.c: Likewise.
49271 * math/s_ctanl.c: Likewise.
49272 * math/s_ldexp.c: Likewise.
49273 * math/s_ldexpf.c: Likewise.
49274 * math/s_ldexpl.c: Likewise.
49275 * math/s_significand.c: Likewise.
49276 * math/s_significandf.c: Likewise.
49277 * math/s_significandl.c: Likewise.
49278 * math/w_acos.c: Likewise.
49279 * math/w_acosf.c: Likewise.
49280 * math/w_acosh.c: Likewise.
49281 * math/w_acoshf.c: Likewise.
49282 * math/w_acoshl.c: Likewise.
49283 * math/w_acosl.c: Likewise.
49284 * math/w_asin.c: Likewise.
49285 * math/w_asinf.c: Likewise.
49286 * math/w_asinl.c: Likewise.
49287 * math/w_atan2.c: Likewise.
49288 * math/w_atan2f.c: Likewise.
49289 * math/w_atan2l.c: Likewise.
49290 * math/w_atanh.c: Likewise.
49291 * math/w_atanhf.c: Likewise.
49292 * math/w_atanhl.c: Likewise.
49293 * math/w_cosh.c: Likewise.
49294 * math/w_coshf.c: Likewise.
49295 * math/w_coshl.c: Likewise.
49296 * math/w_dremf.c: Likewise.
49297 * math/w_exp10.c: Likewise.
49298 * math/w_exp10f.c: Likewise.
49299 * math/w_exp10l.c: Likewise.
49300 * math/w_exp2.c: Likewise.
49301 * math/w_exp2f.c: Likewise.
49302 * math/w_fmod.c: Likewise.
49303 * math/w_fmodf.c: Likewise.
49304 * math/w_fmodl.c: Likewise.
49305 * math/w_hypot.c: Likewise.
49306 * math/w_hypotf.c: Likewise.
49307 * math/w_hypotl.c: Likewise.
49308 * math/w_j0.c: Likewise.
49309 * math/w_j0f.c: Likewise.
49310 * math/w_j0l.c: Likewise.
49311 * math/w_j1.c: Likewise.
49312 * math/w_j1f.c: Likewise.
49313 * math/w_j1l.c: Likewise.
49314 * math/w_jn.c: Likewise.
49315 * math/w_jnf.c: Likewise.
49316 * math/w_jnl.c: Likewise.
49317 * math/w_lgamma.c: Likewise.
49318 * math/w_lgamma_r.c: Likewise.
49319 * math/w_lgammaf.c: Likewise.
49320 * math/w_lgammaf_r.c: Likewise.
49321 * math/w_lgammal.c: Likewise.
49322 * math/w_lgammal_r.c: Likewise.
49323 * math/w_log.c: Likewise.
49324 * math/w_log10.c: Likewise.
49325 * math/w_log10f.c: Likewise.
49326 * math/w_log10l.c: Likewise.
49327 * math/w_log2.c: Likewise.
49328 * math/w_log2f.c: Likewise.
49329 * math/w_log2l.c: Likewise.
49330 * math/w_logf.c: Likewise.
49331 * math/w_logl.c: Likewise.
49332 * math/w_pow.c: Likewise.
49333 * math/w_powf.c: Likewise.
49334 * math/w_powl.c: Likewise.
49335 * math/w_remainder.c: Likewise.
49336 * math/w_remainderf.c: Likewise.
49337 * math/w_remainderl.c: Likewise.
49338 * math/w_scalb.c: Likewise.
49339 * math/w_scalbf.c: Likewise.
49340 * math/w_scalbl.c: Likewise.
49341 * math/w_sinh.c: Likewise.
49342 * math/w_sinhf.c: Likewise.
49343 * math/w_sinhl.c: Likewise.
49344 * math/w_sqrt.c: Likewise.
49345 * math/w_sqrtf.c: Likewise.
49346 * math/w_sqrtl.c: Likewise.
49347 * math/w_tgamma.c: Likewise.
49348 * math/w_tgammaf.c: Likewise.
49349 * math/w_tgammal.c: Likewise.
49350
6a621eb7
UD
49351 * po/ja.po: Update from translation team.
49352
bf582445
AJ
493532011-09-29 Andreas Jaeger <aj@suse.de>
49354
f9efbf3a
AJ
49355 [BZ #13179]
49356 * sunrpc/netname.c (netname2host): Fix logic.
49357
bf582445
AJ
49358 [BZ #6779]
49359 [BZ #6783]
49360 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49361 correctly.
49362 * math/w_remainder.c (__remainder): Likewise.
49363 * math/w_remainderf.c (__remainderf): Likewise.
49364 * math/libm-test.inc (remainder_test): Add test cases.
49365
48693bea
AK
493662011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49367
49368 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
49369 sdiv_qrnnd.
49370
42622229
LD
493712011-10-07 Ulrich Drepper <drepper@gmail.com>
49372
49373 * string/test-memcmp.c: Avoid unncessary #defines.
49374 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49375
093ecf92
LD
493762011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49377
49378 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49379 Use new sse2 version for core i3 - i7 as it's faster
49380 than sse42 version.
49381 (bit_Prefer_PMINUB_for_stringop): New.
49382 * sysdeps/x86_64/rawmemchr.S: Update.
49383 Replace with faster SSE2 version.
49384 * sysdeps/x86_64/memrchr.S: New file.
49385 * sysdeps/x86_64/memchr.S: Update.
49386 Replace with faster SSE2 version.
49387
fde56e5c
MP
493882011-09-12 Marek Polacek <mpolacek@redhat.com>
49389
49390 * elf/dl-load.c (lose): Add cast to avoid warning.
49391
21fd49a9
UD
493922011-10-07 Ulrich Drepper <drepper@gmail.com>
49393
5a06e643
UD
49394 * po/ca.po: Update from translation team.
49395
684ae515
UD
49396 * inet/getnetgrent_r.c: Hook up nscd.
49397 * nscd/Makefile (routines): Add nscd_netgroup.
49398 (nscd-modules): Add netgroupcache.
49399 (CFLAGS-netgroupcache.c): Define.
49400 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49401 (cache_search): Add const to second parameter.
49402 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49403 INNETGR.
49404 (dbs): Add netgrdb entry.
49405 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49406 (verify_persistent_db): Handle netgrdb.
49407 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49408 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49409 GETFDNETGR.
49410 (netgroup_response_header): Define.
49411 (innetgroup_response_header): Define.
49412 (datahead): Add netgroup_response_header and innetgroup_response_header
49413 elements.
49414 * nscd/nscd.conf: Add entries for netgroup cache.
49415 * nscd/nscd.h (dbtype): Add netgrdb.
49416 (_PATH_NSCD_NETGROUP_DB): Define.
49417 (netgroup_iov_disabled): Declare.
49418 (xmalloc, xcalloc, xrealloc): Move declarations here.
49419 (cache_search): Adjust prototype.
49420 Add netgroup-related prototypes.
49421 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49422 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49423 (__nscd_innetgr): Declare.
49424 * nscd/selinux.c (perms): Use access_vector_t as element type and
49425 add netgroup-related initializers.
49426 * nscd/netgroupcache.c: New file.
49427 * nscd/nscd_netgroup.c: New file.
49428 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49429 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49430 For four parameters use innetgr.
49431 * nss/nss_files/files-init.c: Add definition and callback for netgr.
49432 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49433 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49434 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49435
21fd49a9
UD
49436 * nscd/connections.c (register_traced_file): Don't register file
49437 for disabled databases.
49438
054c0457
UD
494392011-10-06 Ulrich Drepper <drepper@gmail.com>
49440
32b63198
UD
49441 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49442
054c0457
UD
49443 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49444 from tree and freeing node.
49445
64031225
JO
494462011-09-25 Jiri Olsa <jolsa@redhat.com>
49447
49448 * nss/nsswitch.c (__nss_database_lookup): Handle
49449 nss_parse_service_list out of memory case.
49450
0490345c
JO
494512011-09-15 Jiri Olsa <jolsa@redhat.com>
49452
49453 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49454 out of memory case.
49455
3a62d00d
AS
494562011-10-04 Andreas Schwab <schwab@redhat.com>
49457
49458 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49459 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49460 pass it down.
49461 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49462 elf_machine_rela, elf_machine_lazy_rel.
49463 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49464 (ELF_DYNAMIC_DO_REL): Likewise.
49465 (ELF_DYNAMIC_DO_RELA): Likewise.
49466 (ELF_DYNAMIC_RELOCATE): Likewise.
49467 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49468 to ELF_DYNAMIC_DO_REL.
49469 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49470 (dl_main): In trace mode always set __RTLD_NOIFUNC.
49471 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49472 elf_machine_rela.
49473 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49474 skip_ifunc, don't call ifunc function if non-zero.
49475 (elf_machine_rela): Likewise.
49476 (elf_machine_lazy_rel): Likewise.
49477 (elf_machine_lazy_rela): Likewise.
49478 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49479 (elf_machine_lazy_rel): Likewise.
49480 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49481 Likewise.
49482 (elf_machine_lazy_rel): Likewise.
49483 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49484 Likewise.
49485 (elf_machine_lazy_rel): Likewise.
49486 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49487 (elf_machine_lazy_rel): Likewise.
49488 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49489 (elf_machine_lazy_rel): Likewise.
49490 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49491 (elf_machine_lazy_rel): Likewise.
49492 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49493 (elf_machine_lazy_rel): Likewise.
49494 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49495 (elf_machine_lazy_rel): Likewise.
49496 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49497 (elf_machine_lazy_rel): Likewise.
49498
68577918
UD
494992011-09-28 Ulrich Drepper <drepper@gmail.com>
49500
49501 * nss/nss_files/files-init.c (_nss_files_init): Use static
49502 initialization for all the *_traced_file variables.
49503
68822d74
AS
495042011-09-28 Andreas Schwab <schwab@redhat.com>
49505
49506 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49507
2056100b
RM
495082011-09-27 Roland McGrath <roland@hack.frob.com>
49509
49510 [BZ #13226]
49511 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49512
32c76b63
AS
495132011-09-27 Andreas Schwab <schwab@redhat.com>
49514
49515 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49516 Reread the line before reparsing it.
49517
bf972c9d
AS
495182011-09-26 Andreas Schwab <schwab@redhat.com>
49519
49520 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49521
e057a1b5
JM
495222011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49523 Maxim Kuvyrkov <maxim@codesourcery.com>
49524 Joseph Myers <joseph@codesourcery.com>
49525
49526 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49527 if needed for __stack_chk_guard.
49528
bc7e1c36
RM
495292011-09-19 Roland McGrath <roland@hack.frob.com>
49530
ecb1482f
RM
49531 * sysdeps/posix/spawni.c (script_execute): Always define it.
49532 It will be optimized away if unused.
49533 (maybe_script_execute): New function.
49534 (__spawni): Call it.
49535
bc7e1c36
RM
49536 * Makerules: Don't include tls.make.
49537 (config-tls): Always set to thread.
49538 * tls.make.c: File removed.
49539
1c3b002b
MF
495402011-09-19 Mike Frysinger <vapier@gentoo.org>
49541
49542 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49543 * config.make.in (CPPFLAGS-config): New substituted variable.
49544
2840865d
UD
495452011-09-15 Ulrich Drepper <drepper@gmail.com>
49546
88738eb6
UD
49547 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49548
cbf645a6 49549 [BZ #13192]
2840865d
UD
49550 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49551 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49552
b402e91a
RM
495532011-09-15 Roland McGrath <roland@hack.frob.com>
49554
49555 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49556 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49557 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49558 (CALL_FAIL): Likewise.
49559 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49560 (CALL_FAIL): Macro removed.
49561 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49562
4c1a1f71
UD
495632011-09-15 Ulrich Drepper <drepper@gmail.com>
49564
49565 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49566 for __FINITE_MATH_ONLY__ == 1.
49567
edc121be
AS
495682011-09-15 Andreas Schwab <schwab@redhat.com>
49569
49570 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49571 __ieee754_sqrt instead of sqrt.
49572 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49573 __ieee754_sqrtf instead of sqrtf.
49574 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49575 __floorf instead of floorf.
49576 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49577 __floorf, __truncf instead of floorf, truncf.
49578
cd205654
UD
495792011-09-14 Ulrich Drepper <drepper@gmail.com>
49580
ee4d0315
UD
49581 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49582
cd205654
UD
49583 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49584 __extern_always_inline.
49585 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49586 32-bit.
49587
48b67d71
AS
495882011-09-14 Andreas Schwab <schwab@redhat.com>
49589
49590 * elf/rtld.c (dl_main): Also relocate in dependency order when
49591 doing symbol dependency testing.
49592
1ae12c75
AS
495932011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49594
49595 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49596 Always define `refsym'.
49597
995a80df
AS
495982011-09-13 Andreas Schwab <schwab@redhat.com>
49599
e529793b
AS
49600 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49601 (__FD_ELT): Renamed from __FDELT.
49602 * misc/bits/select2.h (__FD_ELT): Likewise.
49603 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49604 __FD_MASK instead of __FDELT, __FDMASK.
49605 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49606 Likewise.
49607 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49608 Likewise.
49609
52d4fef8
AS
49610 * elf/Makefile (gen-ldd): Fix pattern.
49611
995a80df
AS
49612 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49613 (init_tls): Likewise.
49614
8682f8b0
UD
496152011-09-12 Ulrich Drepper <drepper@gmail.com>
49616
49617 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49618
de82006d
AS
496192011-09-12 Andreas Schwab <schwab@redhat.com>
49620
a7c8e6a1
AS
49621 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49622 `struct cmsghdr *' instead of `void *'.
49623 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49624 Likewise.
49625
0f31fe77
AS
496262011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49627
49628 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49629 if non-absolute.
49630 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49631 ldd_rewrite_script.
0f31fe77 49632
32b4c839
UD
496332011-09-11 Ulrich Drepper <drepper@gmail.com>
49634
83cd1420
UD
49635 * configure.in: Remove --with-tls option.
49636 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49637 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49638 out in case it is missing.
49639 * sysdeps/ia64/elf/configure.in: Likewise.
49640 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49641 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49642 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49643 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49644 * sysdeps/sh/elf/configure.in: Likewise.
49645 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49646 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49647 * sysdeps/x86_64/elf/configure.in: Likewise.
49648 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49649 * sysdeps/mach/hurd/tls.h: Likewise.
49650
633f745d
UD
49651 [BZ #13067]
49652 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49653
f318beb8
UD
49654 [BZ #13090]
49655 * configure.in: Fix use of AC_INIT.
49656
32b4c839
UD
49657 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49658
3ce1f295
UD
496592011-09-10 Ulrich Drepper <drepper@gmail.com>
49660
bb016596
UD
49661 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49662 __set_errno.
8e58439c
UD
49663 * malloc/hooks.c: Likewise.
49664
aebae053 49665 [BZ #11929]
02d46fc4
UD
49666 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49667 variables statically.
49668 (narenas): Initialize.
49669 (list_lock): Initialize.
bb016596
UD
49670 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49671 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
49672 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49673 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49674 Add initializers to main_arena and mp_.
49675 (malloc_state): Remove pagesize member. Change all users to use
49676 GLRO(dl_pagesize).
49677
49678 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49679 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49680 is always initialized.
49681
22a89187
UD
49682 * malloc/malloc.c: Removed unused configurations and dead code.
49683 * malloc/arena.c: Likewise.
49684 * malloc/hooks.c: Likewise.
02d46fc4 49685 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 49686
d063d164
UD
49687 * include/tls.h: Removed. USE___THREAD must always be defined.
49688 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49689 * elf/dl-libc.c: Likewise.
49690 * elf/dl-tsd.c: Likewise.
49691 * include/errno.h: Likewise.
49692 * include/netdb.h: Likewise.
49693 * include/resolv.h: Likewise.
49694 * inet/herrno-loc.c: Likewise.
49695 * inet/herrno.c: Likewise.
49696 * malloc/arena.c: Likewise.
49697 * malloc/hooks.c: Likewise.
49698 * malloc/malloc.c: Likewise.
49699 * resolv/res-state.c: Likewise.
49700 * resolv/res_libc.c: Likewise.
49701 * sysdeps/i386/dl-machine.h: Likewise.
49702 * sysdeps/ia64/dl-machine.h: Likewise.
49703 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49704 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49705 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49706 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49707 * sysdeps/sh/dl-machine.h: Likewise.
49708 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49709 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49710 * sysdeps/unix/i386/sysdep.S: Likewise.
49711 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49712 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49713 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49714 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49715 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49716 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49717 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49718 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49719 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49720 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49721 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49722 * sysdeps/x86_64/dl-machine.h: Likewise.
49723 * tls.make.c: Likewise.
49724
3ce1f295
UD
49725 * configure.in: Remove --with-__thread option. Make tests for
49726 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49727 tls_model attribute fail if no support is available. Remove
49728 USE_IN_LIBIO.
49729 * Makeconfig: Adjust for dropped configure option. All features are
49730 now mandatory.
49731 * Makerules: Likewise.
49732 * Versions.def: Likewise.
49733 * argp/argp-fmtstream.c: Likewise.
49734 * argp/argp-fmtstream.h: Likewise.
49735 * argp/argp-help.c: Likewise.
49736 * assert/assert.c: Likewise.
49737 * config.h.in: Likewise.
49738 * config.make.in: Likewise.
49739 * configure: Likewise.
49740 * configure.in: Likewise.
49741 * csu/Versions: Likewise.
49742 * csu/init.c: Likewise.
49743 * elf/tst-audit2.c: Likewise.
49744 * elf/tst-tls10.c: Likewise.
49745 * elf/tst-tls10.h: Likewise.
49746 * elf/tst-tls11.c: Likewise.
49747 * elf/tst-tls12.c: Likewise.
49748 * elf/tst-tls14.c: Likewise.
49749 * elf/tst-tlsmod11.c: Likewise.
49750 * elf/tst-tlsmod12.c: Likewise.
49751 * elf/tst-tlsmod13.c: Likewise.
49752 * elf/tst-tlsmod13a.c: Likewise.
49753 * elf/tst-tlsmod14a.c: Likewise.
49754 * elf/tst-tlsmod15b.c: Likewise.
49755 * elf/tst-tlsmod16a.c: Likewise.
49756 * elf/tst-tlsmod16b.c: Likewise.
49757 * elf/tst-tlsmod7.c: Likewise.
49758 * elf/tst-tlsmod8.c: Likewise.
49759 * elf/tst-tlsmod9.c: Likewise.
49760 * gmon/gmon.c: Likewise.
49761 * grp/fgetgrent_r.c: Likewise.
49762 * grp/putgrent.c: Likewise.
49763 * hurd/fopenport.c: Likewise.
49764 * include/libc-symbols.h: Likewise.
49765 * include/tls.h: Likewise.
49766 * intl/gettextP.h: Likewise.
49767 * intl/loadinfo.h: Likewise.
49768 * locale/global-locale.c: Likewise.
49769 * locale/localeinfo.h: Likewise.
49770 * mach/devstream.c: Likewise.
49771 * malloc/arena.c: Likewise.
49772 * malloc/set-freeres.c: Likewise.
49773 * misc/err.c: Likewise.
49774 * misc/getttyent.c: Likewise.
49775 * misc/mntent_r.c: Likewise.
49776 * posix/getopt.c: Likewise.
49777 * posix/wordexp.c: Likewise.
49778 * pwd/fgetpwent_r.c: Likewise.
49779 * resolv/Versions: Likewise.
49780 * resolv/res_hconf.c: Likewise.
49781 * shadow/fgetspent_r.c: Likewise.
49782 * shadow/putspent.c: Likewise.
49783 * stdio-common/printf_fphex.c: Likewise.
49784 * stdio-common/tmpfile.c: Likewise.
49785 * stdlib/abort.c: Likewise.
49786 * stdlib/fmtmsg.c: Likewise.
49787 * sunrpc/auth_unix.c: Likewise.
49788 * sunrpc/clnt_perr.c: Likewise.
49789 * sunrpc/clnt_tcp.c: Likewise.
49790 * sunrpc/clnt_udp.c: Likewise.
49791 * sunrpc/clnt_unix.c: Likewise.
49792 * sunrpc/openchild.c: Likewise.
49793 * sunrpc/svc_simple.c: Likewise.
49794 * sunrpc/svc_tcp.c: Likewise.
49795 * sunrpc/svc_udp.c: Likewise.
49796 * sunrpc/svc_unix.c: Likewise.
49797 * sunrpc/xdr.c: Likewise.
49798 * sunrpc/xdr_array.c: Likewise.
49799 * sunrpc/xdr_rec.c: Likewise.
49800 * sunrpc/xdr_ref.c: Likewise.
49801 * sunrpc/xdr_stdio.c: Likewise.
49802
1248c1c4
PB
498032011-09-09 Ulrich Drepper <drepper@gmail.com>
49804
49805 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49806
498072011-07-03 Andreas Jaeger <aj@suse.de>
49808
49809 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49810 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49811 regenerate with gen-libm-tests.pl.
49812
498132010-05-12 Petr Baudis <pasky@suse.cz>
49814
49815 [BZ #11589]
49816 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49817 around j0() zero points by switching to j1().
49818 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49819 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49820 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49821 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49822
f22e1074
UD
498232011-09-09 Ulrich Drepper <drepper@gmail.com>
49824
f19009c1
UD
49825 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49826 instead of 0.
49827 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 49828 instead of 0.
f19009c1
UD
49829 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49830 Patch in part by Pavel Roskin <proski@gnu.org>.
49831
3f8cc204
UD
49832 [BZ #13138]
49833 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49834 realloc.
49835 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49836 Free memory block if necessary.
49837
f22e1074
UD
49838 [BZ #12847]
49839 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49840 be NULL. Don't lock in this case.
49841
0a2349f9
RM
498422011-09-09 Roland McGrath <roland@hack.frob.com>
49843
49844 * elf/elf.h (ELFOSABI_GNU): New macro.
49845 (ELFOSABI_LINUX): Define to that.
49846
f3cdd467
DZ
498472011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49848
49849 * string/strncat.c (strncat): Undef the symbol in case it has been
49850 defined in bits/string.h.
49851
74718d13
UD
498522011-09-09 Ulrich Drepper <drepper@gmail.com>
49853
633e9e0f
UD
49854 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49855
0a2349f9 49856 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
49857 link map.
49858
f9924780
AJ
498592011-08-17 Andreas Jaeger <aj@suse.de>
49860
49861 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49862
7f5517aa
PP
498632011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49864 Ian Lance Taylor <iant@google.com>
49865
49866 * math/libm-test.inc (lround_test): New testcase.
49867 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49868
762011fe
UD
498692011-09-08 Ulrich Drepper <drepper@gmail.com>
49870
92963737
UD
49871 * Makefile: Remove support for automatic cvs check-ins.
49872 * Makerules: Likewise.
49873 * config.make.in: Likewise.
49874 * configure.in: Likewise.
49875 * intl/Makefile: Likewise.
49876 * locale/Makefile: Likewise.
49877 * po/Makefile: Likewise.
49878 * posix/Makefile: Likewise.
49879 * sysdeps/gnu/Makefile: Likewise.
49880 * sysdeps/mach/hurd/Makefile: Likewise.
49881 * sysdeps/sparc/sparc32/Makefile: Likewise.
49882
b0727fd8
JS
49883 [BZ #13118]
49884 * posix/Makefile (bug-regex32-ENV): Define.
49885 Patch by John Stanley <jpsinthemix@verizon.net>.
49886
a0f33f99
UD
49887 * misc/Makefile (headers): Add bits/select2.h.
49888 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49889 * misc/bits/select2.h: New file.
49890 * include/bits/select2.h: New file.
49891 * debug/Makefile (routines): Add fdelt_chk.
49892 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49893 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49894 FD_ISSET.
49895 * debug/fdelt_chk.c: New file.
49896
762011fe
UD
49897 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49898 * wcsmbs/test-wmemcmp.c: Likewise.
49899 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 49900 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
49901
499022011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49903
49904 * string/Makefile (strop-tests): Add memcmp.
49905 * string/test-wmemcmp.c: New file.
49906 * string/test-memcmp.c: Add wmemcmp support.
49907
7f513ec8
RM
499082011-09-08 Roland McGrath <roland@hack.frob.com>
49909
0442afb4
RM
49910 [BZ #13153]
49911 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49912 2011-07-19 change.
49913
7f513ec8
RM
49914 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49915 garbage value in a __mach_port_mod_refs call in the cases of the
49916 task-self and thread-self ports.
49917
a12b2239
ST
499182011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49919
49920 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49921
610f9ab4
AS
499222011-09-08 Andreas Schwab <schwab@redhat.com>
49923
7f513ec8 49924 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 49925
48882a1a
LD
499262011-09-07 Ulrich Drepper <drepper@gmail.com>
49927
b49865be
UD
49928 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49929
fdc86bc9
UD
49930 * elf/dl-libc.c (dlerror_run): Pass back error code from
49931 dl_catch_error.
49932
c966526a
UD
49933 [BZ #13123]
49934 * elf/dl-load.c (lose): Free l_origin if it is valid.
49935
48882a1a
LD
49936 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49937 names.
49938 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49939 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49940 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49941 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49942 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49943 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49944
77a2a8b4
AZ
499452011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49946
49947 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49948 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49949 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49950 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49951 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49952 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49953 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49954 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49955 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49956 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49957
24f579d8
AM
499582011-08-15 Alan Modra <amodra@gmail.com>
49959
49960 [BZ #13092]
49961 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49962 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49963 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49964 ppc_mcount to static-only-routines.
49965 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49966 __mcount_internal.
49967 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49968 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49969
3d4837df
UD
499702011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49971
49972 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49973 for finite and infinity parameters.
49974
22700377
WS
499752011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49976
49977 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49978 and add nop instructions for throughput optimization.
49979 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49980
5025581e
WS
499812011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49982
49983 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49984 aligned copy for power7 with vector-scalar instructions.
49985 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49986
08a300c9
L
499872011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49988
49989 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49990 AVX check.
49991
59178ef9
AS
499922011-09-07 Andreas Schwab <schwab@redhat.com>
49993
49994 [BZ #13144]
49995 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49996 last change.
49997
e38ba7ab
UD
499982011-09-07 Ulrich Drepper <drepper@gmail.com>
49999
50000 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50001 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50002 syscall wrapper around clock_gettime in __vdso_clock_gettime.
50003 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50004 clock_gettime.
50005
d53a73ac
UD
500062011-09-06 Ulrich Drepper <drepper@gmail.com>
50007
fc8bffcc
UD
50008 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50009 Forgot to demangle the pointer.
50010
ceaa0c5d
UD
50011 * sysdeps/i386/sysdep.h: Define atom_text_section.
50012 * sysdeps/x86_64/sysdep.h: Likewise.
50013 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50014 section with atom_text_section.
50015 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50016 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50017 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50018 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50019 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50020
a77d3c17
UD
50021 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50022 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50023 already be defined. Change to take two parameters and don't assign
50024 result to variable. Adjust all users.
50025 Define INTERNAL_GETTIME if not already defined.
50026 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50027 call.
50028 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50029 HAVE_CLOCK_GETTIME_VSYSCALL.
50030 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50031
d53a73ac
UD
50032 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50033 gettimeofday vsyscall, just use time.
50034
a8f84144
AS
500352011-09-06 Andreas Schwab <schwab@redhat.com>
50036
50037 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50038 <errno.h>.
50039
ef606249
UD
500402011-09-06 Ulrich Drepper <drepper@gmail.com>
50041
50042 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50043 syscall on x86-64.
50044 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50045 syscall.
50046 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50047 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50048 syscall if possible.
50049
6585cb60
UD
500502011-09-05 Ulrich Drepper <drepper@gmail.com>
50051
50052 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50053 e_ident. Don't pass to find_mapsXX.
50054 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50055
a5f524e4
LD
500562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50057
50058 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50059 strchr-sse2-no-bsf strrchr-sse2-no-bsf
50060 * sysdeps/x86_64/multiarch/strchr.S: Update.
50061 Check bit_slow_BSF bit.
50062 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50063 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50064 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50065
554881ef
UD
500662011-09-05 Ulrich Drepper <drepper@gmail.com>
50067
d96de963
UD
50068 [BZ #13134]
50069 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50070 before glibc 2.15.
50071 (tryshell): Define.
50072 (__spawni): Change last parameter to be flag. Test
50073 SPAWN_XFLAGS_USE_PATH flag to use path or not.
50074 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50075 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50076 * posix/spawni.c: Likewise.
50077 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50078 * posix/spawnp.c: Likewise. Change normal version to use
50079 SPAWN_XFLAGS_USE_PATH.
50080 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50081 SPAWN_XFLAGS_TRY_SHELL.
50082
d48e5868
UD
50083 [BZ #13150]
50084 * posix/glob.h: Remove gcc 1.x support.
50085
554881ef
UD
50086 [BZ #13068]
50087 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50088
693fb948
LD
500892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50090
50091 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50092 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50093 strrchr-sse2-bsf
50094 * sysdeps/i386/i686/multiarch/strchr.S: New file.
50095 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50096 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50097 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50098 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50099 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50100
1b48c537
UD
501012011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50102
49d42c37
UD
50103 * sysdeps/x86_64/wcscmp.S: New file.
50104
1b48c537
UD
50105 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50106 wcscmp-c wcscmp-sse2
50107 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50108 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50109 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50110 * wcsmbs/wcscmp.c: Allow renaming.
50111
15c95c5d
DM
501122011-09-05 David S. Miller <davem@davemloft.net>
50113
50114 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50115 stack slot, rather than the struct return pointer slot.
50116 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50117 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50119 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50120
2f0ad8f3
UD
501212011-09-05 Ulrich Drepper <drepper@gmail.com>
50122
d88ae418
UD
50123 * po/ja.po: Update from translation team.
50124
2f0ad8f3
UD
50125 [BZ #13144]
50126 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50127 kernel in 64-bit binaries.
50128
5f4318d1
DM
501292011-09-01 David S. Miller <davem@davemloft.net>
50130
50131 * elf/elf.h (HWCAP_SPARC_*): Move to..
50132 * sysdeps/sparc/sysdep.h: this new file and add new values.
50133 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50134 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50135 _DL_HWCAP_COUNT to 24.
50136 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50137 entries.
50138 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50139 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50140 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50141 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50142 instead of magic constants.
50143 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50144
3ba57516
DM
501452011-08-31 David S. Miller <davem@davemloft.net>
50146
50147 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50148 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50149 Reimplement to do errno handling inline.
50150 (SYSCALL_ERROR_HANDLER): New macro.
50151 (__SYSCALL_STRING): Do not do errno handling in asm.
50152 (__CLONE_SYSCALL_STRING): Delete.
50153 (__INTERNAL_SYSCALL_STRING): Delete.
50154 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50155 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50156 (PSEUDO): Reimplement to do errno handling inline.
50157 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50158 (SYSCALL_ERROR_HANDLER): New macro.
50159 (__SYSCALL_STRING): Do not do errno handling in asm.
50160 (__CLONE_SYSCALL_STRING): Delete.
50161 (__INTERNAL_SYSCALL_STRING): Delete.
50162 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50163 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50164 i386.
50165 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50166 (inline_syscall*): Add 'err' argument.
50167 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50168 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50169 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50170 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50171
50172 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50173 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50174
2bc17433
AS
501752011-08-30 Andreas Schwab <schwab@redhat.com>
50176
50177 * elf/rtld.c (dl_main): Relocate objects in dependency order.
50178
fbeb5f4d
JO
501792011-08-29 Jiri Olsa <jolsa@redhat.com>
50180
50181 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50182 directive.
50183
ad69cc26
DM
501842011-08-24 David S. Miller <davem@davemloft.net>
50185
50186 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50187
39dd69df
AS
501882011-08-24 Andreas Schwab <schwab@redhat.com>
50189
50190 * elf/Makefile: Add rules to build and run unload8 test.
50191 * elf/unload8.c: New file.
50192 * elf/unload8mod1.c: New file.
50193 * elf/unload8mod1x.c: New file.
50194 * elf/unload8mod2.c: New file.
50195 * elf/unload8mod3.c: New file.
50196
50197 * elf/dl-close.c (_dl_close_worker): Reset private search list if
50198 it wasn't used.
50199
2c0b250a
DM
502002011-08-23 David S. Miller <davem@davemloft.net>
50201
50202 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50203 subtract stack bias.
50204 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50205 %sp not %fp in calculations.
50206 (_JMPBUF_UNWINDS_ADJ): Likewise.
50207
22044b48
DM
50208 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50209 (aio_suspend): Call it to force an exception region around the
50210 AIO_MISC_WAIT() invocation.
50211
2cae4995
AS
502122011-08-23 Andreas Schwab <schwab@redhat.com>
50213
50214 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50215 backslash.
50216
873a772e
AJ
502172011-07-04 Aurelien Jarno <aurelien@aurel32.net>
50218
50219 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50220 protection macro.
50221 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50222 and <dl-machine.h>.
50223 (Elf64_FuncDesc): Remove.
50224
25ad0df1
DM
502252011-08-22 David S. Miller <davem@davemloft.net>
50226
50227 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50228 sigaltstack check, add missing cfi directives.
50229 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50230 missing cfi directives, and sigaltstack handling.
50231
e888bcbe
AS
502322011-08-16 Andreas Schwab <schwab@redhat.com>
50233
50234 [BZ #11724]
50235 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50236 object is seen twice.
50237 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50238
50239 * elf/Makefile (distribute): Add tst-initorder2.c.
50240 (tests): Add tst-initorder2.
50241 (modules-names): Add tst-initorder2a tst-initorder2b
50242 tst-initorder2c tst-initorder2d. Add rules to build them.
50243 ($(objpfx)tst-initorder2.out): New rule.
50244 * elf/tst-initorder2.c: New file.
50245 * elf/tst-initorder2.exp: New file.
50246
87162f46
AS
502472011-08-22 Andreas Schwab <schwab@redhat.com>
50248
70538b7f
AS
50249 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50250
f55ffe58
AS
50251 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50252 dependencies back to end of function.
50253
87162f46
AS
50254 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50255 $(elfobjdir)/ld.so.
50256
91b392a4
UD
502572011-08-21 Ulrich Drepper <drepper@gmail.com>
50258
50259 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50260 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50261 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50262 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50263 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50264 of __vdso_gettimeofday.
50265 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50266 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
50267 attribute_hidden.
50268 (_libc_vdso_platform_setup): Remove initialization of
50269 __vdso_gettimeofday and __vdso_time.
50270
5c43483f
UD
502712011-08-20 Ulrich Drepper <drepper@gmail.com>
50272
775a77e7
UD
50273 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50274 and fgetc_unlocked.
50275 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50276 getc_unlocked.
89f447ed 50277
49c74ba9
UD
50278 * elf/dl-open.c (add_to_global): Report additions to the global scope
50279 for LD_DEBUG=scopes.
50280 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 50281 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 50282
5c43483f
UD
50283 [BZ #13114]
50284 * stdio-common/Makefile (tests): Add bug24.
50285 * stdio-common/bug24.c: New file.
50286
a101b025
AJ
502872011-08-19 Andreas Jaeger <aj@suse.de>
50288
50289 [BZ #13114]
50290 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50291 non-existant file when using close-on-exec mode.
50292
c88f1766
UD
502932011-08-20 Ulrich Drepper <drepper@gmail.com>
50294
0276a718
UD
50295 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50296 the very first instruction.
50297
c88f1766
UD
50298 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50299 the CFI state in the end.
50300 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50301 inclusion of dl-trampoline.h.
50302 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50303
51ccffa0
AS
503042011-08-19 Andreas Schwab <schwab@redhat.com>
50305
94d7165f
AS
50306 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50307 expectations for long double.
50308
51ccffa0
AS
50309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50310 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50311
fd708658 503122011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
50313
50314 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50315 artificual limit depends upon the system page size.
50316
44f0a71e
UD
503172011-08-17 Ulrich Drepper <drepper@gmail.com>
50318
50319 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50320 * resolv/Makefile: Define CFLAGS-libresolv.
50321
8de79a24
AS
503222011-08-17 Andreas Schwab <schwab@redhat.com>
50323
50324 * nss/makedb.c (compute_tables): Make variables used in nested
50325 function static.
50326
27724598
UD
503272011-08-17 Ulrich Drepper <drepper@gmail.com>
50328
c5305d88
UD
50329 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50330 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50331 if buffer was too small.
50332
27724598
UD
50333 * elf/pldd.c (main): Attach to all threads in the process.
50334 Rewrite /proc handling to use *at functions.
50335
076fe015
UD
503362011-08-16 Ulrich Drepper <drepper@gmail.com>
50337
174baab3
UD
50338 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50339 specifies first scope to show.
50340 (dl_open_worker): Update callers. Move printing scope of new
50341 object to before the relocation.
44f0a71e 50342 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
50343 * sysdeps/generic/ldsodefs.h: Update declaration.
50344
076fe015
UD
50345 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50346 string for the scope number.
50347
a60df2c3
UD
503482011-08-14 Ulrich Drepper <drepper@gmail.com>
50349
50350 * nscd/servicescache.c (cache_addserv): Make sure written is always
50351 initialized.
50352
5e4287d1
RM
503532011-08-14 Roland McGrath <roland@hack.frob.com>
50354
85ae0589
RM
50355 * sysdeps/i386/i486/bits/atomic.h
50356 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50357 statement expression, so as to suppress "set but not used" warning.
50358 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50359
69f63097
RM
50360 * string/strncat.c (STRNCAT): Use prototype definition.
50361
675456ef
RM
50362 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50363 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50364 -Iprograms here.
50365 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50366 (localedef-modules): Add localedef.
50367 (locale-modules): Add locale.
50368
5e4287d1
RM
50369 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50370 * elf/rtld.c (dl_main): Invert order of assignment in last change,
50371 to avoid a warning.
50372
9c96ff23
DM
503732011-08-14 David S. Miller <davem@davemloft.net>
50374
50375 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50376 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50377
f9ddf089
UD
503782011-08-13 Ulrich Drepper <drepper@gmail.com>
50379
44f0a71e 50380 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
50381 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50382 * elf/rtld.c (dl_main): Set l_name of vDSO.
50383 Call _dl_show_scope when DL_DEBUG_SCOPES.
50384 (process_dl_debug): Recognize scopes flag and also set it for all.
50385 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50386 Declare _dl_show_scope.
50387
1dc27704
UD
50388 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50389 (do_dlopen): Pass caller_dlopen to dl_open.
50390 (__libc_dlopen_mode): Initialize caller_dlopen.
50391
f9ddf089
UD
50392 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50393 of libc. Make tolower call locale-independent. Optimize a bit by
50394 using isdigit instead of isalnum.
50395 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50396
9ac533d3
UD
503972011-08-12 Ulrich Drepper <drepper@gmail.com>
50398
50399 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50400 was a dependency or dynamically loaded.
50401
89edf2e9
UD
504022011-08-11 Ulrich Drepper <drepper@gmail.com>
50403
8e999d29
UD
50404 * intl/l10nflist.c: Allow architecture-specific pop function.
50405 * sysdeps/x86_64/l10nflist.c: New file.
50406
89edf2e9
UD
50407 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50408 classification.
50409
14d96785
AS
504102011-08-10 Andreas Schwab <schwab@redhat.com>
50411
50412 * include/dirent.h: Add libc_hidden_proto for scandirat and
50413 scandirat64. Don't declare __scandirat64.
50414 * dirent/scandirat.c: Add libc_hidden_def.
50415 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50416 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50417
6761ac04
DM
504182011-08-10 David S. Miller <davem@davemloft.net>
50419
50420 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50421 enum.
50422 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50423 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50424 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50425
c55fbd1e
UD
504262011-08-09 Ulrich Drepper <drepper@gmail.com>
50427
50428 * Versions.def [libc]: Add GLIBC_2.15.
50429 * dirent/Makefile (routines): Add scandirat and scandirat64.
50430 * dirent/Versions [libc]: Export scandirat and scandirat64 for
50431 GLIBC_2.15.
50432 * dirent/dirent.h: Declare scandirat and scandirat64.
50433 * dirent/scandirat.c: New file.
50434 * dirent/scandirat64.c: New file.
50435 * sysdeps/wordsize-64/scandirat.c: New file.
50436 * sysdeps/wordsize-64/scandirat64.c: New file.
50437 * dirent/opendir.c: Define opendirat.
50438 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
50439 using scandirat.
50440 * dirent/scandir64.c: Adjust for scandir.c change.
50441 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
50442 __scandirat64, and __scandir_cancel_handler.
50443 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
50444 additional parameter and use openat instead of open (outside of ld.so).
50445 Add new __opendir as wrapper around __opendirat.
50446 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50447 here without requiring old scandirat implementation.
50448
879165f2
UD
504492011-08-08 Ulrich Drepper <drepper@gmail.com>
50450
50451 * dirent/scandir.c (cancel_handler): Renamed to
50452 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
50453 defined. Adjust users.
50454 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50455 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50456
cb7e923b
UD
504572011-08-04 Ulrich Drepper <drepper@gmail.com>
50458
16292edd
UD
50459 * string/test-string.h (IMPL): Use __STRING to expand name and then
50460 stringify it.
50461
cb7e923b
UD
50462 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
50463 of cleanups.
50464
cff82933
LD
504652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50466
50467 * string/Makefile: Update.
50468 (strop-tests): Append strncat.
50469 * string/test-wcscmp.c: New file.
50470 New comprehensive test for wcscmp.
50471 * string/test-strcmp.c: Update.
50472 (WIDE): New define.
50473
9be9bfcc
AS
504742011-07-22 Andreas Schwab <schwab@redhat.com>
50475
50476 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50477 line.
50478
2e96f1c7
AS
504792011-07-26 Andreas Schwab <schwab@redhat.com>
50480
50481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50482 encoding to ACE if AI_IDN.
50483
85188888
JJ
504842011-08-01 Jakub Jelinek <jakub@redhat.com>
50485
50486 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50487 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50488
5fa16e9b
LD
504892011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50490
50491 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50492 Fix overflow bug in strncat.
50493 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50494
50495 * string/test-strncat.c: Update.
50496 Add new tests for checking overflow bugs.
50497
504982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50499
50500 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50501 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50502 * sysdeps/i386/i686/multiarch/strcat.S: New file.
50503 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50504 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50505 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50506 * sysdeps/i386/i686/multiarch/strncat.S: New file.
50507 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50508 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50509
50510 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50511 (USE_AS_STRCAT): Define.
50512 Add strcat and strncat support.
50513 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50514
8c1a459f
AS
505152011-07-25 Andreas Schwab <schwab@redhat.com>
50516
50517 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50518 __n bigger than INT_MAX+1.
50519 (__strncmp_g): Likewise.
50520
bba33c28
UD
505212011-07-23 Ulrich Drepper <drepper@gmail.com>
50522
798be72d
UD
50523 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50524 * libio/stido.h: Likewise.
50525
8accd4dc
UD
50526 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50527 (AF_NFC): Define.
50528 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50529 (AF_NFC): Define.
50530
cbff0d96
UD
50531 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50532 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50533 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50534 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50535 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50536
9191c04a
UD
50537 [BZ #13021]
50538 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50539 installed.
50540
bba33c28
UD
50541 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50542 typo.
50543 (_dl_x86_64_save_sse): Likewise.
50544
90f139dd
UD
505452011-07-22 Ulrich Drepper <drepper@gmail.com>
50546
1aae088a
UD
50547 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50548 OSXSAVE.
50549 (_dl_x86_64_save_sse): Likewise.
50550
8e2045f5
UD
50551 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50552
90f139dd
UD
50553 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50554
1d002f25
AS
505552011-07-21 Andreas Schwab <schwab@redhat.com>
50556
50557 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50558 change.
50559 (_dl_x86_64_save_sse): Use correct AVX check.
50560
21137f89
UD
505612011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50562
50563 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50564 bug in strncpy/strncat.
50565 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50566
a65c0b7a
UD
505672011-07-21 Ulrich Drepper <drepper@gmail.com>
50568
50569 * string/tester.c (test_strcat): Add tests for different alignments
50570 of source and destination.
50571 (test_strncat): Likewise.
50572
6986b98a
UD
505732011-07-20 Ulrich Drepper <drepper@gmail.com>
50574
90bb2039
UD
50575 [BZ #12852]
50576 * posix/glob.c (glob): Check passed in values before using them in
50577 expressions to avoid some overflows.
50578 (glob_in_dir): Likewise.
50579
5644ef54
UD
50580 [BZ #13007]
50581 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50582 check for AVX enablement so that we don't crash with old kernels and
50583 new hardware.
50584 * elf/tst-audit4.c: Add same checks here.
50585 * elf/tst-audit6.c: Likewise.
50586
50587 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 50588
bfc9dc9b
AS
505892011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50590
50591 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50592
702e64bb
UD
505932011-07-20 Ulrich Drepper <drepper@gmail.com>
50594
50595 * po/cs.po: Update from translation team.
50596 * po/bg.po: Likewise.
50597
295e904f
MP
505982011-07-12 Marek Polacek <mpolacek@redhat.com>
50599
50600 * misc/sys/cdefs.h: Add support for const attribute.
50601 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50602 to gnu_dev_{major,minor,makedev} functions.
50603
3ff94596
MP
506042011-07-20 Marek Polacek <mpolacek@redhat.com>
50605
50606 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50607
28b59fca
AS
506082011-07-20 Andreas Schwab <schwab@redhat.com>
50609
50610 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50611 strlen results.
50612
19df733e
AK
506132011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50614
50615 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50616 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50617 register in order to avoid conflicts with the soft frame pointer
50618 being held in r11 when necessary.
50619 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50620 (INTERNAL_VSYSCALL_NCS): Likewise.
50621
c8835729
MP
506222011-07-14 Marek Polacek <mpolacek@redhat.com>
50623
50624 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50625 * elf/dl-fini.c (_dl_fini): Adjust caller.
50626 * elf/dl-close.c (_dl_close_worker): Likewise.
50627 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50628
b902330c
MP
506292011-07-15 Marek Polacek <mpolacek@redhat.com>
50630
8991e135
MP
50631 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50632 "aux_cache->nlibs < 0".
50633
b902330c
MP
50634 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50635 in the reload-count case.
50636
99710781
LD
506372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50638
50639 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50640 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50641 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50642 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50643 * sysdeps/x86_64/multiarch/strcat.S: New file.
50644 * sysdeps/x86_64/multiarch/strncat.S: New file.
50645 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50646 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50647 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50648 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50649 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50650 (USE_AS_STRCAT): Define.
50651 Add strcat and strncat support.
50652 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50653 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50654 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50655 * string/strncat.c: Update.
50656 (USE_AS_STRNCAT): Define.
50657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50658 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50659 and i7.
50660 * sysdeps/x86_64/multiarch/init-arch.h
50661 (bit_Prefer_PMINUB_for_stringop): New.
50662 (index_Prefer_PMINUB_for_stringop): Likewise.
50663 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50664 bit_Prefer_PMINUB_for_stringop.
50665
7dc6bd90
UD
506662011-07-19 Ulrich Drepper <drepper@gmail.com>
50667
50668 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50669 buffer64.
50670 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50671 of casting of buffer.
50672 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50673 buffer32 and buffer64.
50674 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50675 writes instead of casting of buffer.
50676 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50677 buffer32.
50678 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50679 casting of buffer.
50680
e0e72284
AS
506812011-07-19 Andreas Schwab <schwab@redhat.com>
50682
50683 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50684
feb1eb0b
UD
506852011-07-19 Ulrich Drepper <drepper@gmail.com>
50686
50687 * nscd/nscd.c (termination_handler): Don't do anything for a database
50688 if it has not yet been initialized.
50689
298711ff
UD
506902011-07-18 Ulrich Drepper <drepper@gmail.com>
50691
50692 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50693
506942011-07-15 Marek Polacek <mpolacek@redhat.com>
50695
50696 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50697
f9d68389
UD
506982011-07-18 Ulrich Drepper <drepper@gmail.com>
50699
50700 * po/nl.po: Update from translation team.
50701 * po/sv.po: Likewise.
50702
db290cf5
RM
507032011-07-16 Roland McGrath <roland@hack.frob.com>
50704
50705 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50706 now disallowed by GCC.
5c550700 50707
fd5e21c7
RM
50708 * configure.in (use-default-link): Default to yes if a test -shared
50709 link meets our qualifications.
50710 * configure: Regenerated.
50711
5c550700
RM
50712 * config.make.in (output-format): New variable.
50713 * configure.in: Check for ld --print-output-format support.
50714 * configure: Regenerated.
50715 * Makerules ($(common-objpfx)format.lds)
50716 [$(output-format) != unknown]: Just use $(output-format),
50717 instead of the linker-script munging.
50718
9fa2c032
RM
507192011-07-14 Roland McGrath <roland@hack.frob.com>
50720
a6928d51
RM
50721 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50722 of $(common-objpfx)shlib.lds.
50723 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50724
661607b3
RM
50725 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50726 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50727
9fa2c032
RM
50728 * configure.in (-z relro check): Adjust test code to add a large
50729 writable data section after it.
50730 * configure: Regenerated.
50731
defe9061
RM
507322011-07-11 Roland McGrath <roland@hack.frob.com>
50733
50734 * configure.in (-z relro check): Fix test code to make the variable
50735 truly const.
50736 * configure: Regenerated.
50737
319b9ad4
UD
507382011-07-11 Ulrich Drepper <drepper@gmail.com>
50739
50740 * nscd/nscd.h (struct traced_file): Define.
50741 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50742 elements. Add traced_files.
50743 (inotify_fd): Declare.
50744 (register_traced_file): Declare.
50745 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50746 (inotify_fd): Export.
50747 (resolv_conf_descr): Remove.
50748 (nscd_init): Move inotify descriptor creation to main.
50749 Don't register files for notification here.
50750 (register_traced_file): New function.
50751 (invalidate_cache): Don't use reset_res to determine whether to call
50752 res_init, go through the list of registered files.
50753 (main_loop_poll): The inotify descriptors are now stored in the
50754 structures for the traced files.
50755 (main_loop_epoll): Likewise
50756 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50757 to __nss_disable_nscd.
50758 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50759 for a database anymore. Check the records for all the registered
50760 files instead.
50761 * nss/Makefile (libnss_files-routines): Add files-init.
50762 (libnss_db-routines): Add db-init.
50763 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50764 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50765 * nss/nss_db/db-init.c: New file.
50766 * nss/nss_files/files-init.c: New file.
50767 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50768 __nss_lookup_function.
50769 (__nss_lookup_function): Call nss_load_library.
50770 (nss_load_all_libraries): New function.
50771 (__nss_disable_nscd): Take parameter with callback function for files
50772 to register. Set is_nscd. Load all the DSOs for the NSS modules
50773 used for the cached services.
50774 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50775 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50776 options for features to all the files in nscd.
50777
50778 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50779
23bee3e8
RM
507802011-07-10 Roland McGrath <roland@hack.frob.com>
50781
50782 * csu/elf-init.c (__libc_csu_init): Comment typo.
50783
46a5b7f0
UD
507842011-07-09 Ulrich Drepper <drepper@gmail.com>
50785
50786 * po/pl.po: Update from translation team.
50787 * po/ja.po: Likewise.
50788 * po/ru.po: Likewise.
50789 * po/ko.po: Likewise.
50790 * po/fr.po: Likewise.
50791
d30cf5bb
RM
507922011-07-09 Roland McGrath <roland@hack.frob.com>
50793
113ddea4
RM
50794 * configure.in (.ctors/.dtors header and trailer check):
50795 Use an empirical test on a built program.
50796 * configure: Regenerated.
50797
574920b4
RM
50798 * configure.in (-z relro check): Use an empirical test on a built DSO.
50799 Detect, but do not require, on ia64.
50800 * configure: Regenerated.
50801
d30cf5bb
RM
50802 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50803 Update tests that use readelf to use $READELF instead.
50804 * configure: Regenerated.
50805
8538fdb3
UD
508062011-07-08 Ulrich Drepper <drepper@gmail.com>
50807
50808 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50809 if the result is not used.
50810
04d08991
AJ
508112011-07-05 Andreas Jaeger <aj@suse.de>
50812
50813 [BZ#9696]
50814 * stdlib/tst-strtod.c: Add testcase.
50815
de283087
AD
508162011-07-07 Ulrich Drepper <drepper@gmail.com>
50817
4e5f31c8 50818 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 50819 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
50820 The latter has a higher limit. Take additional parameter to pass to
50821 the new function.
50822 (__pathconf): Pass file to __statfs_link_max.
50823 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50824 __statfs_link_max.
50825 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50826 __statfs_link_max.
50827
de283087
AD
50828 [BZ #12868]
50829 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50830 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50831 Handle Lustre.
50832 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50833 (__statfs_filesize_max): Likewise.
50834 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50835
c75fa153
AJ
508362011-07-05 Andreas Jaeger <aj@suse.de>
50837
50838 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50839
1a544854
UD
508402011-07-06 Marek Polacek <mpolacek@redhat.com>
50841
50842 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50843 `status' variable.
50844 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50845 Likewise.
50846
6f0eec67
UD
508472011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50848
50849 * Makefile (strop-tests): Add strncat.
50850 * string/test-strncat.c: New file.
50851
aae30307
UD
508522011-06-30 Marek Polacek <mpolacek@redhat.com>
50853
50854 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50855
c0cfb5eb
UD
508562011-06-21 Andreas Jaeger <aj@suse.de>
50857
50858 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50859 Copy rule from iconvdata/Makefile.
50860
01636b21
UD
508612011-07-06 Ulrich Drepper <drepper@gmail.com>
50862
50863 [BZ #12922]
50864 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50865 but no long options are defined, just return 'W'.
50866
9895c8bc
UD
508672011-06-22 Marek Polacek <mpolacek@redhat.com>
50868
50869 [BZ #9696]
50870 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50871
5d4cf042
UD
508722011-07-06 Ulrich Drepper <drepper@gmail.com>
50873
50874 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50875 netgroups to read.
960e5535 50876 (innetgr): Likewise.
5d4cf042 50877
751eb97e
RM
508782011-07-05 Roland McGrath <roland@hack.frob.com>
50879
50880 * config.make.in (install_root): Default to $(DESTDIR).
50881
f15f1e45
UD
508822011-07-05 Ulrich Drepper <drepper@gmail.com>
50883
50884 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50885
4e34ac6a
RM
508862011-07-02 Roland McGrath <roland@hack.frob.com>
50887
5e9b6af4
RM
50888 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50889
84f9ea0f
RM
50890 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50891 containing directory rather than embedding absolute directory names.
50892
ea5ee9f7
RM
50893 * scripts/check-local-headers.sh: Rewritten using awk.
50894 Match by word, not by line. Print error messages for matches.
50895 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50896
1b74661a
RM
50897 * Makerules [shlib-lds-flags empty]:
50898 ($(common-objpfx)libc_pic.opts): New target.
50899 ($(common-objpfx)libc_pic.os.clean): New target.
50900 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50901
50902 * config.make.in (OBJCOPY): New variable.
50903 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50904 * configure: Regenerated.
50905
f781ef40
RM
50906 * config.make.in (use-default-link): New variable.
50907 * configure.in (use_default_link): Grok --with-default-link to set it.
50908 * configure: Regenerated.
50909 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50910 (shlib-lds, shlib-lds-flags): Define to empty.
50911
2d4fa81e
RM
50912 * Makerules (shlib-lds): New variable.
50913 (shlib-lds-flags): New variable.
50914 (build-shlib, build-moduile, build-module-asneeded): Use it.
50915 ($(common-objpfx)libc.so): Use $(shlib-lds).
50916 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50917 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50918
31fffa6b
RM
50919 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50920 DT_FLAGS/DT_FLAGS_1 with zero flags.
50921
4e34ac6a
RM
50922 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50923 linker script munging.
50924
fcfc776b
UD
509252011-07-02 Ulrich Drepper <drepper@gmail.com>
50926
50927 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50928 as 128-bit value.
50929 * crypt/sha512.c (sha512_process_block): Perform total addition using
50930 128-bit if possible.
50931 (__sha512_finish_ctx): Likewise.
50932 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50933 as 64-bit value.
50934 * crypt/sha256.c (SWAP64): Define.
50935 (sha256_process_block): Perform total addition using 64-bit if
50936 possible.
50937 (__sha256_finish_ctx): Likewise.
50938
99231d9a
UD
509392011-07-01 Ulrich Drepper <drepper@gmail.com>
50940
50941 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50942 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50943 * nscd/hstcache.c (cache_addhst): Likewise.
50944 * nscd/grpcache.c (cache_addgr): Likewise.
50945 * nscd/aicache.c (addhstaiX): Likewise
50946 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50947
445b4a53
TK
509482011-07-01 Thorsten Kukuk <kukuk@suse.de>
50949
50950 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50951 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50952 * nscd/hstcache.c (cache_addhst): Likewise.
50953 * nscd/grpcache.c (cache_addgr): Likewise.
50954 * nscd/aicache.c (addhstaiX): Likewise
50955
6d4d8e8e
AS
509562011-07-01 Andreas Schwab <schwab@redhat.com>
50957
50958 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50959 domain only when needed.
50960
89f654c5
AS
509612011-06-30 Andreas Schwab <schwab@redhat.com>
50962
50963 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50964 is always restored.
50965
cf3b23ff
UD
509662011-06-29 Ulrich Drepper <drepper@gmail.com>
50967
50968 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50969 are re-adding the entry.
50970 * nscd/servicescache.c (cache_addserv): Likewise.
50971
751626f9
AJ
509722011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50973
50974 * sysdeps/generic/dl-irel.h: fix protection against multiple
50975 inclusions.
50976 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50977
9113ea1f
UD
509782011-06-28 Ulrich Drepper <drepper@gmail.com>
50979
5c0b8d90
UD
50980 [BZ #12935]
50981 * malloc/memusage.sh: Fix quoting in message.
50982 * debug/xtrace.sh: Likewise.
50983
9113ea1f
UD
50984 * configure.in: Remove support for --experimental-malloc option, make
50985 it the default.
50986 * config.make.in: Likewise.
50987 * malloc/Makefile: Likewise.
50988
a4172181
AS
509892011-06-27 Andreas Schwab <schwab@redhat.com>
50990
50991 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50992 two-byte characters.
50993
78a7eee7
RM
509942011-06-27 Roland McGrath <roland@hack.frob.com>
50995
62bede13
RM
50996 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50997 AC_CACHE_CHECK invocation.
50998 * configure: Regenerated.
50999
78a7eee7
RM
51000 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51001
5ce33a62
UD
510022011-06-27 Ulrich Drepper <drepper@gmail.com>
51003
034807a9
UD
51004 [BZ #12350]
51005 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
51006 bit from old_res_options.
51007
4902da17
UD
51008 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51009
5ce33a62
UD
51010 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51011 value type for setfct.
51012
c2344f56
L
510132011-06-23 H.J. Lu <hongjiu.lu@intel.com>
51014
51015 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51016 __gettimeofday instead of gettimeofday.
51017
68468076
UD
510182011-06-26 Ulrich Drepper <drepper@gmail.com>
51019
51020 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51021
acb0d739
L
510222011-06-24 H.J. Lu <hongjiu.lu@intel.com>
51023
51024 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51025
51026 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51027 info.
51028
8912479f
L
510292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51030
51031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51032 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51033 strcpy-sse2-unaligned strncpy-sse2-unaligned
51034 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51035 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51036 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51037 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51038 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51039 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51040 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51041 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51042 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51043 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51044 (STRCPY): Support SSE2 and SSSE3 versions.
51045
d5495a11
UD
510462011-06-24 Ulrich Drepper <drepper@gmail.com>
51047
51048 [BZ #12874]
51049 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51050 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51051 kernels which artificially limit size of requests.
51052
0b1cbaae
L
510532011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51054
51055 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51056 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51057 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51058 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51059 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51060 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51061 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51062 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51063 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51064 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51065 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51066 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51067 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51068 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51069 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51070 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51071 Enable unaligned load optimization for Intel Core i3, i5 and i7
51072 processors.
51073 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51074 Define.
51075 (index_Fast_Unaligned_Load): Define.
51076 (HAS_FAST_UNALIGNED_LOAD): Define.
51077
07f494a0
MP
510782011-06-23 Marek Polacek <mpolacek@redhat.com>
51079
51080 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51081
fa3fc0fe
UD
510822011-06-22 Ulrich Drepper <drepper@gmail.com>
51083
51084 [BZ #12907]
51085 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51086 until it is clear that the information is realy needed.
51087 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51088
e12df166
AS
510892011-06-22 Andreas Schwab <schwab@redhat.com>
51090
51091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51092
852eb34d
UD
510932011-06-22 Ulrich Drepper <drepper@gmail.com>
51094
84e2a551
UD
51095 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51096 /sys/devices/system/cpu/online if it is usable.
51097
852eb34d
UD
51098 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51099 reading the information from the /proc filesystem to once a second.
51100
6e502e19
UD
511012011-06-21 Andreas Jaeger <aj@suse.de>
51102
51103 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51104 NULL after inclusion of kernel headers.
51105
75d39ff2
UD
511062011-06-21 Ulrich Drepper <drepper@gmail.com>
51107
51f9aa6a
UD
51108 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51109 calls to internal_setent.
51110
c0244a9d
UD
51111 [BZ #12885]
51112 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51113 addresses using gethostbyname4_r ignore IPv4 addresses.
51114
c5e3c2ae
UD
51115 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51116 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
51117
75d39ff2
UD
51118 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51119
42675c6f
DM
511202011-06-20 David S. Miller <davem@davemloft.net>
51121
51122 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51123 inclusions.
51124 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51125
51126 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51127 (elf_irel): Use it.
51128 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51129 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51130 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51131 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51132 * sysdeps/x86_64/dl-irel.h: Likewise.
51133
51134 * elf/dl-runtime.c: Use elf_ifunc_invoke.
51135 * elf/dl-sym.c: Likewise.
51136
57912a71
UD
511372011-06-15 Ulrich Drepper <drepper@gmail.com>
51138
51139 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
51140 need to dereference resplen2.
51141
ee22793d
AS
511422011-06-14 Andreas Schwab <schwab@redhat.com>
51143
51144 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51145
a9e836b0
UD
511462011-06-15 Ulrich Drepper <drepper@gmail.com>
51147
77fb9117
UD
51148 * Makeconfig: Define vardbdir and inst_vardbdir.
51149 * nss/Makefile: Add rules to install db-Makefile.
51150
40c1b22c
UD
51151 * nss/nss_db/db-XXX.c: Cleanup.
51152
9f2da732
UD
51153 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51154 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51155 GLIBC_PRIVATE.
51156 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51157 * nss/makedb.c: Implement -g option to specify that value strings
51158 are generated and should not be added to table iterated over for
51159 get*ent calls.
51160 * nss/nss_db/db-initgroups.c: New file.
51161
82e9a1f7
UD
51162 * nss/getent.c: Add support for initgroups lookups through getgrouplist
51163 interface.
51164
c41af17e
UD
51165 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51166 (internal_getgrouplist): Adjust to name change.
51167 Update use_initgroups_entry if this is not the first call.
51168 * nss/databases.def: Add initgroups entry.
51169
a9e836b0
UD
51170 * nss/makedb.c (compute_tables): Check result of multiple hash table
51171 sizes to minimize maximum chain length.
51172
2666d441
UD
511732011-06-14 Ulrich Drepper <drepper@gmail.com>
51174
51175 * Versions.def: Add entry for libnss_db.
51176 * shlib-versions: Likewise.
51177 * nss/Makefile: Add rules to build libnss_db.
51178 * nss/Versions: Add libnss_db information. Organize libnss_files
51179 entries better.
51180 * nss/db-Makefile: Add gshadow support. Change rules for the new
51181 makedb progra. Some minor improvements to generate smaller files.
51182 * nss/nss_db/nss_db.h: Move NSS database header data structures to
51183 here from...
51184 * nss/makedb.c: ...here.
51185 Improve database format to be smaller and require less memory at
51186 runtime.
51187 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
51188 db anymore.
51189 * nss/nss_db/db-netgrp.c: Likewise.
51190 * nss/nss_db/db-open.c: Likewise.
51191 * nss/nss_files/flies-XXX.x: Adjust comments.
51192 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51193 * nss/nss_files/files-grp.c: Likewise.
51194 * nss/nss_files/files-hosts.c: Likewise.
51195 * nss/nss_files/files-network.c: Likewise.
51196 * nss/nss_files/files-proto.c: Likewise.
51197 * nss/nss_files/files-pwd.c: Likewise.
51198 * nss/nss_files/files-rpc.c: Likewise.
51199 * nss/nss_files/files-service.c: Likewise.
51200 * nss/nss_files/files-sgrp.c: Likewise.
51201 * nss/nss_files/files-spwd.c: Likewise.
51202 * nss/nss_db/db-alias.c: Removed.
51203 * nss/nss_db/dummy-db.h: Removed.
51204
9ee76b5a
UD
512052011-06-02 Ulrich Drepper <drepper@gmail.com>
51206
51207 * nss/makedb.c: Rewritten to not use database library.
51208 * nss/Makefile: Update to build new makedb program.
51209
c71ca1f8
AJ
512102011-06-14 Andreas Jaeger <aj@suse.de>
51211
51212 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51213 memset declaration.
51214
3154bfb8
UD
512152011-06-10 Andreas Schwab <schwab@redhat.com>
51216
51217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51218 tmpbuf.
51219
b350afab
RM
512202011-06-10 Roland McGrath <roland@hack.frob.com>
51221
decd4e50
RM
51222 * Makerules (shlib.lds): Fail if the linker script comes out empty.
51223 * elf/Makefile ($(objpfx)ld.so): Likewise.
51224
5615eaf2
RM
51225 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51226 Don't list ld.so twice in dependencies.
51227
51228 * posix/bug-regex31.c: Include <stdlib.h>.
51229
51230 * nscd/hstcache.c (cache_addhst): Remove unused variable.
51231
51232 * nis/nss_compat/compat-spwd.c
51233 (getspent_next_nss_netgr): Remove unused variable.
51234 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51235
51236 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51237 nonmembers" output to use the right array.
51238
51239 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51240
51241 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51242
51243 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51244 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51245 * catgets/gencat.c (read_input_file): Likewise.
51246 * locale/programs/locarchive.c (enlarge_archive): Likewise.
51247
51248 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51249 variable definition inside #if's controlling its use.
51250
51251 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51252
51253 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51254
51255 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51256
51257 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51258 unreachable code.
51259
51260 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51261
b68e08db
RM
51262 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51263 * configure: Regenerated.
51264
b350afab
RM
51265 * Makerules: Revert last change.
51266 * elf/Makefile: Likewise.
51267
28368601
RM
512682011-06-09 Roland McGrath <roland@hack.frob.com>
51269
51270 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51271 * elf/Makefile ($(objpfx)librtld.os): Likewise.
51272 (reloc-link): Likewise.
51273
11988f8f
UD
512742011-06-09 Ulrich Drepper <drepper@gmail.com>
51275
51276 * elf/Makefile: Add rules to build pldd.
51277 * elf/pldd.c: New file.
51278 * elf/pldd-xx.c: New file.
51279
e80fab37
UD
512802011-06-07 Ulrich Drepper <drepper@gmail.com>
51281
51282 * version.h: Update for 2.15 development version.
51283
9b849836
DM
512842011-06-07 David S. Miller <davem@davemloft.net>
51285
51286 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51287 ifuncs.
51288 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51289 elf_machine_lazy_rel): Likewise.
51290 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51291 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51292 elf_machine_lazy_rel): Likewise.
51293 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51294 dl_hwcap via passed in argument.
51295 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51296 Likewise.
51297
5a31b283
AK
512982011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51299
51300 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
51301
069e52f8
RM
513022011-06-06 Roland McGrath <roland@hack.frob.com>
51303
51304 [BZ #12849]
51305 * manual/fdl-1.1.texi: New file, verbatim from:
51306 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51307 * manual/lgpl-2.1.texi: New file, verbatim from:
51308 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51309 * manual/Makefile (licenses): New variable, list those new file names.
51310 (texis): Use it.
51311 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51312
51313 * manual/fdl.texi: File removed.
51314 * manual/lesser.texi: File removed.
51315 * manual/libc.texinfo (Copying, Documentation License):
51316 Use new @include file names, put @appendix directive before @include.
51317
f16846a5
JJ
513182011-06-04 Jakub Jelinek <jakub@redhat.com>
51319
51320 [BZ #12841]
51321 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51322 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51323 (mq_open): Add __NTH.
51324
3d29045b
L
513252011-06-02 H.J. Lu <hongjiu.lu@intel.com>
51326
51327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51328 Assume Intel Core i3/i5/i7 processor if AVX is available.
51329
8c297311
UD
513302011-05-31 Ulrich Drepper <drepper@gmail.com>
51331
51332 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51333 typo.
51334
c8fc0c91
UD
513352011-05-31 Andreas Schwab <schwab@redhat.com>
51336
51337 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51338 memory. Use alloca_account. Fix memory leak when retrying.
51339
5b27a807
UD
513402011-05-31 Ulrich Drepper <drepper@gmail.com>
51341
356f8bc6
UD
51342 * version.h (RELEASE): Bump for 2.14 release.
51343 * include/features.h (__GLIBC_MINOR__): Bump to 14.
51344
5b27a807
UD
51345 * config.make.in (RANLIB): Remove entry.
51346
01f16ab0
UD
513472011-05-30 Ulrich Drepper <drepper@gmail.com>
51348
41fce8bd
UD
51349 * po/Makefile (po-sed-cmd): Add ksh to extensions.
51350 (libc.pot): Work around missing support for .ksh extension in xgettext.
51351
4769ae77
UD
51352 [BZ #12684]
51353 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51354 if both request failed.
51355 (send_dg): In case of server errors clear resplen or *resplen2.
51356
6b1e7d19
UD
51357 [BZ #12454]
51358 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51359 when there are multiple maps.
51360 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51361 (_dl_fini): Remove test here.
51362
01f16ab0
UD
51363 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51364
b1ebd700
UD
513652011-05-29 Ulrich Drepper <drepper@gmail.com>
51366
7ae22829
UD
51367 [BZ #12350]
51368 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51369 bit from old_res_options.
51370 (gaih_inet): Likewise.
51371
553149f6 51372 [BZ #11099]
18a84741 51373 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
51374 as signed.
51375
652ffab1
UD
51376 * resolv/res_init.c (res_setoptions): Make the code more compact.
51377
16985fd0
UD
51378 [BZ #11558]
51379 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51380 set RES_USEVC.
51381
0464f746
UD
51382 [BZ #11634]
51383 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51384
7d17596c
UD
51385 * malloc/malloc.h: Mark malloc hook variables as deprecated.
51386
cf6bbbd7
UD
51387 [BZ #11781]
51388 * malloc/malloc.h: Declare malloc hook variables as volatile.
51389
13f1ab36
UD
51390 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51391 in last patch.
51392
b1ebd700
UD
51393 [BZ #11799]
51394 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 51395 raise in the comment.
80e2212d
UD
51396 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51397 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51398 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 51399
ce67228d
UD
514002011-05-28 Ulrich Drepper <drepper@gmail.com>
51401
8887a920
UD
51402 [BZ #12811]
51403 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51404 grow the buffers more if it already has to be sufficient.
51405 (build_wcs_upper_buffer): Likewise.
51406 * posix/regexec.c (check_matching): Likewise.
51407 (clean_state_log_if_needed): Likewise.
51408 (extend_buffers): Don't enlarge buffers beyond size of the input
51409 buffer.
51410 Patches mostly by Emil Wojak <emil@wojak.eu>.
51411 * posix/bug-regex32.c: New file.
51412 * posix/Makefile (tests): Add bug-regex32.
51413
4f031072
UD
51414 * locale/findlocale.c (_nl_find_locale): Return right away if
51415 _nl_explode_name failed.
51416 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51417
d0478f0c
UD
51418 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51419
de81b246
UD
51420 * debug/xtrace.sh: Unify messages.
51421 * malloc/memusage.sh: Likewise.
51422
c738465a
UD
51423 [BZ #12813]
51424 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51425 time symbol from vDSO. Substitute with vsyscall if not available.
51426 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51427 __vdso_time.
51428
f1f929d7
UD
51429 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51430 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51431 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51432 Add sendmmsg and internal_sendmmsg.
51433 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51434 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51435 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51436
ce67228d
UD
51437 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51438 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51439 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51440
e57420c6
UD
514412011-05-27 Ulrich Drepper <drepper@gmail.com>
51442
a8509ca5
UD
51443 [BZ #12813]
51444 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51445 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
51446 available.
51447 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51448 __vdso_getcpu.
51449
e57420c6
UD
51450 [BZ #12814]
51451 * iconvdata/Makefile (tests): Add bug-iconv9.
51452 * iconvdata/bug-iconv9.c: New file.
51453
4d07db15
AS
514542011-05-27 Andreas Schwab <schwab@redhat.com>
51455
51456 [BZ #12814]
51457 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51458
ea486f69
JJ
514592011-05-25 Jakub Jelinek <jakub@redhat.com>
51460
51461 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51462 (struct user_regs_struct): Change intcs field back to cs.
51463
6f038433
UD
514642011-05-25 Ulrich Drepper <drepper@gmail.com>
51465
51466 * po/ja.po: Update from translation team.
51467
67f86a25
UD
514682011-05-23 Ulrich Drepper <drepper@gmail.com>
51469
51470 [BZ #12795]
51471 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51472 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51473
def7fbd6
AS
514742011-05-20 Andreas Schwab <schwab@redhat.com>
51475
51476 * stdlib/longlong.h: Update from GCC.
51477
f50ef8f1
AS
514782011-05-23 Andreas Schwab <schwab@redhat.com>
51479
51480 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51481 parameter name.
51482 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51483 Add parameter name.
51484 (__sysconf): Pass it down.
51485
de7ce8f1
UD
514862011-05-22 Ulrich Drepper <drepper@gmail.com>
51487
f2962a71
UD
51488 [BZ #12671]
51489 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51490 some situations.
51491 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51492 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51493 add in in __libc_use_alloca calls. Adjust callers.
51494 (glob): Use malloc in some situations.
51495
de7ce8f1
UD
51496 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51497 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51498 pltexit.
51499
aec84f53
UD
515002011-05-21 Ulrich Drepper <drepper@gmail.com>
51501
05bb4a68
UD
51502 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51503 and CLOCK_BOOTTIME_ALARM.
51504
7ea72f99
UD
51505 [BZ #12782]
51506 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51507 is returned.
51508
7e4afad5
UD
51509 * string/_strerror.c (__strerror_r): Print negative errors as signed
51510 numbers.
51511
8e211fec
UD
51512 [BZ #12777]
51513 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51514 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51515 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51516
f7d82dc9
UD
51517 * configure.in: Fix typo in redirection and correct removal of test
51518 files in two cases.
51519
cc9e536d
UD
51520 [BZ #12788]
51521 * locale/setlocale.c (new_composite_name): Fix test to check for
51522 identical name of all categories.
51523
aec84f53
UD
51524 [BZ #12792]
51525 * libio/filedoalloc.c (local_isatty): New function.
51526 (_IO_file_doallocate): Use local_isatty.
51527 * stdio-common/perror.c (perror): In case a new stream is used
51528 forward the stream error.
51529 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51530 error flag.
51531
78e64fdc
RT
515322011-05-20 Ulrich Drepper <drepper@gmail.com>
51533
34a9094f
UD
51534 [BZ #11869]
51535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51536 alloca.
51537 * include/alloca.h (extend_alloca_account): Define.
51538
78e64fdc
RT
51539 [BZ #11857]
51540 * posix/regex.h: Fix comments with documentation of user-accessible
51541 fields after compilation and describe correct free'ing of pattern
51542 after re_compile_pattern.
51543 Patch by Reuben Thomas <rrt@sc3d.org>.
51544
457bddfc
RA
515452011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51546
51547 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51548 and -mno-altivec to prevent the compiler from using Altivec and/or
51549 VSX instructions when the corresponding registers are not available.
51550
a4527b51
AS
515512011-05-19 Andreas Schwab <schwab@redhat.com>
51552
51553 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51554
ed690b2f
UD
515552011-05-19 Ulrich Drepper <drepper@gmail.com>
51556
51557 * libio/freopen.c (freopen): Use __dup2, not dup2.
51558 * libio/freopen64.c (freopen64): Likewise.
51559
8db73634
L
515602011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51561
51562 [BZ #12775]
51563 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51564 * math/Makefile (tests): Add test-powl.
51565 (CFLAGS-test-powl.c): Define.
51566 * math/test-powl.c: New file.
51567
0a197a9d
L
515682011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51569
51570 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51571
ee30c380
UD
515722011-05-17 Ulrich Drepper <drepper@gmail.com>
51573
51574 [BZ #11837]
51575 * iconvdata/gb18030.c: Update to GB18020-2005.
51576
6ce75379
UD
515772011-05-16 Ulrich Drepper <drepper@gmail.com>
51578
a4b89fd8
AR
51579 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51580 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51581 Patch by Aharon Robbins <arnold@skeeve.com>.
51582
ea389b12
UD
51583 [BZ #11892]
51584 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51585 on the stack.
51586
68a3f91f
UD
51587 [BZ #11895]
51588 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51589 through underflows.
51590
15cc7dd1
UD
51591 [BZ #12766]
51592 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51593 point to strings before performing equality test for error_one_per_line
51594 mode.
51595
f3799213
UD
51596 [BZ #11697]
51597 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51598
d79a9c94
UD
51599 [BZ #11820]
51600 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51601 (struct user_fpregs_struct): Avoid __uint*_t types.
51602
56e5eb46
UD
51603 [BZ #6420]
51604 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51605 symbol info. Use it instead of calling _dl_addr locally.
51606 (lock_and_info): New function.
51607 (tr_freehook): Call lock_and_info and pass symbol info as additional
51608 parameter to tr_where.
51609 (tr_mallochook): Likewise.
51610 (tr_reallochook): Likewise.
51611 (tr_memalignhook): Likewise.
51612
6ce75379
UD
51613 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51614 used and couldn't be at all thread-safe.
51615
f8a3b5bf
UD
516162011-05-15 Ulrich Drepper <drepper@gmail.com>
51617
94b7cc37
UD
51618 * libio/freopen.c (freopen): Don't close old file descriptor
51619 before the new one is opened. Instead dup the new file descriptor
51620 to the old one after the new stream is created.
51621 * libio/freopen64.c (freopen64): Likewise.
51622 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51623 * libio/fileops.c (_IO_new_file_close_it): Handle new
51624 _IO_FLAGS2_NOCLOSE flag.
51625 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51626 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51627 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51628 _IO_FLAGS2_NOCLOSE flag.
51629 * include/unistd.h: Add hidden_proto for dup3.
51630 Define __have_dup3.
51631 * io/dup3.c: Define hidden symbol.
51632 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51633
bd25564e
UD
51634 [BZ #7101]
51635 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51636 when an incomplete long option is used.
51637 * posix/tst-getopt_long1.c: New file.
51638 * posix/Makefile (tests): Add tst-getopt_long1.
51639
c84cfef4
UD
51640 [BZ #10138]
51641 * scripts/config.guess: Update from autoconf-2.68.
51642 * scripts/config.sub: Likewise.
51643
3b85df27
UD
51644 [BZ #10157]
51645 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51646 tests into ...
51647 (has_cpuclock): ...this. New function.
51648 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51649 macro here based on has_cpuclock code.
51650
15a856b1
UD
51651 [BZ #10149]
51652 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51653 First byte (not low byte) is now always NUL.
51654 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51655
05f399e6
UD
51656 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51657 Use non-cancelable interfaces.
51658
10a52685 51659 [BZ #9809]
94ecc67d
UD
51660 * locale/iso-639.def: Add entry for Sorani.
51661
f8a3b5bf
UD
51662 [BZ #11901]
51663 * include/stdlib.h: Move include protection to the right place.
51664 Define abort_msg_s. Declare __abort_msg with it.
51665 * stdlib/abort.c (__abort_msg): Adjust type.
51666 * assert/assert.c (__assert_fail_base): New function. Majority
51667 of code from __assert_fail. Allocate memory for __abort_msg with
51668 mmap.
51669 (__assert_fail): Now call __assert_fail_base.
51670 * assert/assert-perr.c: Remove bulk of implementation. Use
51671 __assert_fail_base.
51672 * include/assert.hL Declare __assert_fail_base.
51673 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51674 mmap.
51675 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51676
1af4e298
UD
516772011-05-14 Ulrich Drepper <drepper@gmail.com>
51678
f8a3b5bf 51679 [BZ #11952]
d26dfc60
MG
51680 [BZ #12453]
51681 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51682 until all modules are registered in the DTV.
51683 * elf/Makefile: Add rules to build and run tst-tls19.
51684 * elf/tst-tls19.c: New file.
51685 * elf/tst-tls19mod1.c: New file.
51686 * elf/tst-tls19mod2.c: New file.
51687 * elf/tst-tls19mod3.c: New file.
51688 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51689
2fc54d6f
UD
51690 [BZ #12083]
51691 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51692 correctly.
51693
98d76b46
UD
51694 [BZ #12601]
51695 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51696 two-byte sequence errors.
51697 * iconvdata/Makefile (tests): Add bug-iconv8.
51698 * iconvdata/bug-iconv8.c: New file.
51699
da3c19ef
UD
51700 [BZ #12626]
51701 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51702 buf2 definition.
51703
ca408c15
UD
51704 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51705
d6f67f7d
UD
51706 [BZ #12432]
51707 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51708 (dummy_getcfa): New function.
51709 (init): Get _Unwind_GetCFA address, use dummy if not found.
51710 (backtrace_helper): In recursion check, also check whether CFA changes.
51711 (__backtrace): Completely initialize arg.
51712
1af4e298 51713 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
51714 storing incomplete byte sequence in state object. Avoid testing for
51715 guaranteed too small input if we know there is enough data available.
1af4e298 51716
da62f81b
AS
517172011-05-11 Andreas Schwab <schwab@redhat.com>
51718
51719 * Makeconfig (+link-pie): Indent.
51720 * Rules (binaries-pie): Define if $(have-fpie) and
51721 $(build-shared).
51722 (binaries-shared): Also filter out $(binaries-pie).
51723 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51724 * nscd/Makefile (others-pie): Add nscd.
51725 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51726 ($(objpfx)nscd): Remove command override.
51727 * login/Makefile (others-pie): Add pt_chown.
51728 ($(objpfx)pt_chown): Remove command override.
51729 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51730 remove command overrides.
51731
fcabc0f8
UD
517322011-05-13 Ulrich Drepper <drepper@gmail.com>
51733
20030ae6
UD
51734 * libio/tst_putwc.c: Fix error messages.
51735
fcabc0f8
UD
51736 [BZ #12724]
51737 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51738 currently writing and seek to current position when not.
51739 * libio/Makefile (tests): Add bug-fclose1.
51740 * libio/bug-fclose1.c: New file.
51741
320a5dc0
PB
517422011-05-12 Ulrich Drepper <drepper@gmail.com>
51743
51744 [BZ #12511]
51745 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51746 don't set DF_1_NODELETE here.
51747 (do_lookup_x): When entering new entry test for copy relocation
51748 and if necessary set DF_1_NODELETE flag.
51749 * elf/tst-unique4.cc: New file.
51750 * elf/tst-unique4.h: New file.
51751 * elf/tst-unique4lib.cc: New file.
51752 * elf/Makefile: Add rules to build and run tst-unique4.
51753 Patch by Piotr Bury <pbury@goahead.com>.
51754
22836f52
UD
517552011-05-11 Ulrich Drepper <drepper@gmail.com>
51756
f574184a
UD
51757 [BZ #12052]
51758 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51759
e1fb097f
UD
51760 [BZ #12625]
51761 * misc/mntent_r.c (addmntent): Flush the stream after the output
51762
22836f52
UD
51763 [BZ #12393]
51764 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51765 (is_trusted_path_normalize): Skip initial colon. Append slash
51766 to empty buffer. Duplicate is_trusted_path code but allow
51767 constructed patch to be prefix.
51768 (is_dst): Allow $ORIGIN followed by /.
51769 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51770 Correct testing of result of is_trusted_path_normalize
51771 (decompose_rpath): Fix warning.
51772
7b3b0b2a
UD
517732011-05-10 Ulrich Drepper <drepper@gmail.com>
51774
51775 [BZ #11257]
51776 * grp/initgroups.c (internal_getgrouplist): When we found the service
51777 list through the initgroups entry in nsswitch.conf do not always
51778 continue on a successful lookup. Don't always use the
eac80ce2 51779 __nss_group_database value if it is set.
7b3b0b2a
UD
51780 * nss/nsswitch.conf (initgroups): Change action for successful db
51781 lookup to continue for compatibility.
51782
2a81eaa5
UD
517832011-05-09 Ulrich Drepper <drepper@gmail.com>
51784
be97a69e
UD
51785 [BZ #11532]
51786 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51787 and CP774 modules.
51788 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51789 and CP774 modules.
51790 * iconvdata/tst-tables.sh: Likewise.
51791 * iconvdata/cp770.c: New file.
51792 * iconvdata/cp771.c: New file.
51793 * iconvdata/cp772.c: New file.
51794 * iconvdata/cp773.c: New file.
51795 * iconvdata/cp774.c: New file.
51796 * iconvdata/testdata/CP770: New file.
51797 * iconvdata/testdata/CP770..UTF8: New file.
51798 * iconvdata/testdata/CP771: New file.
51799 * iconvdata/testdata/CP771..UTF8: New file.
51800 * iconvdata/testdata/CP772: New file.
51801 * iconvdata/testdata/CP772..UTF8: New file.
51802 * iconvdata/testdata/CP773: New file.
51803 * iconvdata/testdata/CP773..UTF8: New file.
51804 * iconvdata/testdata/CP774: New file.
51805 * iconvdata/testdata/CP774..UTF8: New file.
51806
51807 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51808 END CHARMAP line.
51809 * iconvdata/gen-8bit-gap.sh: Likewise.
51810 * iconvdata/gen-8bit.sh: Likewise.
51811
c1e9e399
UD
51812 * locale/iso-639.def: Add ary entry.
51813
24c55fb3 51814 [BZ #11258]
96b4b1b0
UD
51815 * locale/C-translit.h.in: Add U20A1 transliteration.
51816
bdc2f971
KB
51817 [BZ #12178]
51818 * locale/iso-639.def: Add wae entry.
51819 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51820
2952b117
UD
51821 [BZ #12545]
51822 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51823 for n.
51824
2a81eaa5
UD
51825 [BZ #12711]
51826 * locale/C-translit.h.in: Add entry for U20B9.
51827 Patch by pravin.d.s@gmail.com.
51828
28377d1b
UD
518292011-05-08 Ulrich Drepper <drepper@gmail.com>
51830
7fb90fb8
UD
51831 [BZ #12713]
51832 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51833 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
51834 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51835 in rtld. Use *stat64.
7fb90fb8 51836 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 51837 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 51838 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
51839 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51840 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51841 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51842 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51843 __fstatat64 macros.
7fb90fb8
UD
51844 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51845 * dirent/rewinddir.c: Add libc_hidden_def.
51846 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 51847 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 51848
28377d1b
UD
51849 * include/dirent.h (__alloc_dir): Add flags parameter.
51850 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51851 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51852 __alloc_dir.
51853 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51854 from fdopendir if O_CLOEXEC is already set.
51855
66bdbaa4
AM
518562011-03-15 Alan Modra <amodra@gmail.com>
51857
51858 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51859 l_tls_firstbyte_offset non-zero. Save padding offset in
51860 l_tls_firstbyte_offset for later use.
51861 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51862 freeing static tls block.
51863
95721191
JN
518642011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51865
51866 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51867 where #ifdef was intended. The intent is to prevent ARG_MAX from
51868 being defined by the kernel headers.
51869
f87dfb1f
UD
518702011-05-07 Ulrich Drepper <drepper@gmail.com>
51871
51872 [BZ #12734]
51873 * resolv/resolv.h: Define RES_NOTLDQUERY.
51874 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51875 no-tld-query and set RES_NOTLDQUERY.
51876 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51877 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51878 modern BIND to search name as TLD unless forbidden.
51879
47c3cd7a
UD
518802011-05-07 Petr Baudis <pasky@suse.cz>
51881 Ulrich Drepper <drepper@gmail.com>
51882
51883 [BZ #12393]
51884 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51885 (is_trusted_path): ...to here.
c1e9ea35 51886 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 51887 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 51888 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 51889
8a35c912
PP
518902011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51891
51892 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51893 __BEGIN/__END_DECLS.
51894
acd41f47
UD
518952011-05-06 Ulrich Drepper <drepper@gmail.com>
51896
51897 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51898 NSS_STATUS_NOTFOUND if no record was found.
51899
597df647
AS
519002011-05-05 Andreas Schwab <schwab@redhat.com>
51901
51902 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51903 (headers-not-in-tirpc): Remove rpc/netdb.h
51904 * resolv/netdb.h: Revert last change.
51905
b9af1301
PP
519062011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51907
51908 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51909 circular dependency between libgcc.a and libc.a.
51910
4e34d5f5
AS
519112011-05-05 Andreas Schwab <schwab@redhat.com>
51912
51913 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51914 * nis/Makefile: Don't install rpcsvc/*.
51915 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51916 instead of <rpc/types.h>.
51917 (MAXHOSTNAMELEN): Define.
51918
00ee369c
AS
519192011-05-03 Andreas Schwab <schwab@redhat.com>
51920
51921 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51922
0b592a30
MB
519232011-04-28 Maciej Babinski <mbabinski@google.com>
51924
51925 [BZ #12714]
51926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51927 gethostbyname4_r when IPv6 results are possible.
51928
6e04cbbe
UD
519292011-05-02 Ulrich Drepper <drepper@gmail.com>
51930
51931 [BZ #12723]
51932 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51933 _PC_PIPE_BUF handling.
51934
e4ecafe0
BH
519352011-04-30 Bruno Haible <bruno@clisp.org>
51936
51937 [BZ #12717]
51938 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51939 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51940 to 'int'.
51941 * inet/getnameinfo.c (getnameinfo): Likewise.
51942
125ee683
UD
519432011-04-29 Ulrich Drepper <drepper@gmail.com>
51944
51945 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51946 to groups setting in database lookup.
51947 * nss/nsswitch.conf: Add initgroups entry.
51948
b722481a
EB
519492011-04-22 Ulrich Drepper <drepper@gmail.com>
51950
51951 [BZ #12685]
51952 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51953 mode string.
51954 Patch by Eric Blake <eblake@redhat.com>.
51955
4df46dbd
L
519562011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51957
51958 * sunrpc/Makefile (need-export-routines): Add svc_run.
51959 (routines): Remove svc_run.
51960 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51961 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51962 * sunrpc/svc_run.c (svc_run): Likewise.
51963 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51964
e84142d2
UD
519652011-04-21 Ulrich Drepper <drepper@gmail.com>
51966
51967 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51968 problem in reallocation in last patch.
51969
877175d8
UD
519702011-04-20 Ulrich Drepper <drepper@gmail.com>
51971
51972 * sunrpc/Makefile: Move inclusion of Rules.
51973
ab8eed78
UD
519742011-04-19 Ulrich Drepper <drepper@gmail.com>
51975
51976 * nss/nss_files/files-initgroups.c: New file.
51977 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51978 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51979 _nss_files_initgroups_dyn.
51980
e3d8f584
RS
519812011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51982
51983 * elf/elf.h (R_ARM_IRELATIVE): Define.
51984
af190f45
UD
519852011-04-19 Ulrich Drepper <drepper@gmail.com>
51986
51987 * po/ru.po: Update from translation team.
51988
53cf59ef
UD
519892011-04-17 Ulrich Drepper <drepper@gmail.com>
51990
51991 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51992 dependencies.
51993
4c559bcd
MF
519942011-02-06 Mike Frysinger <vapier@gentoo.org>
51995
51996 [BZ #12653]
51997 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51998 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51999 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52000 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52001 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52002
4420675c
AS
520032011-03-28 Andreas Schwab <schwab@linux-m68k.org>
52004
52005 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52006 differing bytes.
52007 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52008 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52009 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52010
75ea32ab
UD
520112011-04-17 Ulrich Drepper <drepper@gmail.com>
52012
52013 [BZ #12420]
52014 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52015 storing it.
52016 * stdlib/bug-getcontext.c: New file.
52017 * stdlib/Makefile: Add rules to build and run bug-getcontext.
52018
27390476
AK
520192011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52020
52021 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52022 instructions into .machine "z9-109".
52023 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52024 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52025
10442705
AK
520262011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52027
52028 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52029 between environment variables and auxiliary vector.
52030
7b57bfe5
UD
520312011-04-16 Ulrich Drepper <drepper@gmail.com>
52032
52033 * Makefile: Add rules to build linkobj/libc.so.
52034 * include/libc-symbols.h: Define libc_hidden_nolink.
52035 * include/rpc/auth.h: Mark functions which are to be hidden.
52036 * include/rpc/auth_des.h: Likewise.
52037 * include/rpc/auth_unix.h: Likewise.
52038 * include/rpc/clnt.h: Likewise.
52039 * include/rpc/des_crypt.h: Likewise.
52040 * include/rpc/key_prot.h: Likewise.
52041 * include/rpc/pmap_clnt.h: Likewise.
52042 * include/rpc/pmap_prot.h: Likewise.
52043 * include/rpc/pmap_rmt.h: Likewise.
52044 * include/rpc/rpc_msg.h: Likewise.
52045 * include/rpc/svc.h: Likewise.
52046 * include/rpc/svc_auth.h: Likewise.
52047 * include/rpc/xdr.h: Likewise.
52048 * nis/Makefile: Link all DSOs against linkobj/libc.so.
52049 * nss/Makefile: Likewise.
52050 * sunrpc/Makefile: Don't install headers. Build library with normal
52051 entry points. Don't build rpcinfo. Link RPC tests appropriately.
52052 * sunrpc/auth_des.c: Hide exported symbols by default, export some
52053 for the compat linking library. Remove use of INTDEF/INTUSE.
52054 * sunrpc/auth_none.c: Likewise.
52055 * sunrpc/auth_unix.c: Likewise.
52056 * sunrpc/authdes_prot.c: Likewise.
52057 * sunrpc/authuxprot.c: Likewise.
52058 * sunrpc/clnt_gen.c: Likewise.
52059 * sunrpc/clnt_perr.c: Likewise.
52060 * sunrpc/clnt_raw.c: Likewise.
52061 * sunrpc/clnt_simp.c: Likewise.
52062 * sunrpc/clnt_tcp.c: Likewise.
52063 * sunrpc/clnt_udp.c: Likewise.
52064 * sunrpc/clnt_unix.c: Likewise.
52065 * sunrpc/des_crypt.c: Likewise.
52066 * sunrpc/des_soft.c: Likewise.
52067 * sunrpc/get_myaddr.c: Likewise.
52068 * sunrpc/key_call.c: Likewise.
52069 * sunrpc/key_prot.c: Likewise.
52070 * sunrpc/netname.c: Likewise.
52071 * sunrpc/pm_getmaps.c: Likewise.
52072 * sunrpc/pm_getport.c: Likewise.
52073 * sunrpc/pmap_clnt.c: Likewise.
52074 * sunrpc/pmap_prot.c: Likewise.
52075 * sunrpc/pmap_prot2.c: Likewise.
52076 * sunrpc/pmap_rmt.c: Likewise.
52077 * sunrpc/publickey.c: Likewise.
52078 * sunrpc/rpc_cmsg.c: Likewise.
52079 * sunrpc/rpc_common.c: Likewise.
52080 * sunrpc/rpc_dtable.c: Likewise.
52081 * sunrpc/rpc_prot.c: Likewise.
52082 * sunrpc/rpc_thread.c: Likewise.
52083 * sunrpc/rtime.c: Likewise.
52084 * sunrpc/svc.c: Likewise.
52085 * sunrpc/svc_auth.c: Likewise.
52086 * sunrpc/svc_authux.c: Likewise.
52087 * sunrpc/svc_raw.c: Likewise.
52088 * sunrpc/svc_run.c: Likewise.
52089 * sunrpc/svc_simple.c: Likewise.
52090 * sunrpc/svc_tcp.c: Likewise.
52091 * sunrpc/svc_udp.c: Likewise.
52092 * sunrpc/svc_unix.c: Likewise.
52093 * sunrpc/svcauth_des.c: Likewise.
52094 * sunrpc/xcrypt.c: Likewise.
52095 * sunrpc/xdr.c: Likewise.
52096 * sunrpc/xdr_array.c: Likewise.
52097 * sunrpc/xdr_float.c: Likewise.
52098 * sunrpc/xdr_intXX_t.c: Likewise.
52099 * sunrpc/xdr_mem.c: Likewise.
52100 * sunrpc/xdr_rec.c: Likewise.
52101 * sunrpc/xdr_ref.c: Likewise.
52102 * sunrpc/xdr_sizeof.c: Likewise.
52103 * sunrpc/xdr_stdio.c: Likewise.
52104
e6c61494
UD
521052011-04-10 Ulrich Drepper <drepper@gmail.com>
52106
52107 [BZ #12650]
52108 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52109 * sysdeps/ia64/dl-tls.h: Likewise.
52110 * sysdeps/powerpc/dl-tls.h: Likewise.
52111 * sysdeps/s390/dl-tls.h: Likewise.
52112 * sysdeps/sh/dl-tls.h: Likewise.
52113 * sysdeps/sparc/dl-tls.h: Likewise.
52114 * sysdeps/x86_64/dl-tls.h: Likewise.
52115 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52116
34fe483e
AS
521172011-03-14 Andreas Schwab <schwab@redhat.com>
52118
52119 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52120 rpath element also skip the following colon.
52121 (expand_dynamic_string_token): Add is_path parameter and pass
52122 down to DL_DST_REQUIRED and _dl_dst_substitute.
52123 (decompose_rpath): Call expand_dynamic_string_token with
52124 non-zero is_path. Ignore empty rpaths.
52125 (_dl_map_object_from_fd): Call expand_dynamic_string_token
52126 with zero is_path.
52127
f12a32e6
AS
521282011-04-08 Andreas Schwab <schwab@linux-m68k.org>
52129
52130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52131 Make cancelable.
52132
38a7d692
UD
521332011-04-09 Ulrich Drepper <drepper@gmail.com>
52134
52135 [BZ #12655]
52136 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52137 Patch by Filipe David Manana <fdmanana@apache.org>.
52138
e451d22b
AS
521392011-04-07 Andreas Schwab <schwab@redhat.com>
52140
52141 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52142 Maintain aligned stack.
52143 (CHECK_RSP): Remove unused macro.
52144
dedc7c7b
UD
521452011-04-03 Ulrich Drepper <drepper@gmail.com>
52146
52147 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52148 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52149
94521213
UD
521502011-04-02 Ulrich Drepper <drepper@gmail.com>
52151
52152 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52153
8cb700c0 52154 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 52155
0354e355
L
521562011-03-26 H.J. Lu <hongjiu.lu@intel.com>
52157
52158 [BZ #12518]
52159 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52160 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52161 * sysdeps/x86_64/memmove.c: New file.
52162 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52163 (memcpy): Renamed to ...
52164 (__new_memcpy): This.
52165 (memcpy): Provide GLIBC_2_14 memcpy.
52166 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52167 (memcpy): Provide GLIBC_2_2_5 memcpy.
52168
8593482f
UD
521692011-04-01 Ulrich Drepper <drepper@gmail.com>
52170
52171 [BZ #12631]
52172 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52173
81a5726b
AS
521742011-03-30 Andreas Schwab <schwab@redhat.com>
52175
52176 * misc/syncfs.c: New file.
52177 * misc/Makefile (routines): Add syncfs.
52178 * posix/unistd.h: Declare syncfs.
52179 * sysdeps/unix/syscalls.list: Add syncfs.
52180
00e5419f
AS
521812011-04-01 Andreas Schwab <schwab@redhat.com>
52182
52183 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52184 open_by_handle_at.
52185 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52186 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52187 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52188 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52190 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52191 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52192
748876bf
UD
521932011-04-01 Ulrich Drepper <drepper@gmail.com>
52194
658e451d
UD
52195 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52196 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52197 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52198 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52199 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52201 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52202
748876bf
UD
52203 * io/Makefile: Compile fallocate.c, fallocate64.c, and
52204 sync_file_range.c with -fexceptions.
52205 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52206 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52207 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52208 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52209 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52210 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52211 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
52212 sync_file_range as cancellation point
52213 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
52214 now a wrapper around __call_sync_file_range with cancellation handling.
52215 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52216 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
52217 function name to __call_sync_file_range.
52218 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52219 Add call_sync_file_range.
748876bf 52220
6e63d5e1
AS
522212011-04-01 Andreas Schwab <schwab@redhat.com>
52222
52223 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 52224 bits/timex.h.
6e63d5e1 52225
46998f74
UD
522262011-04-01 Ulrich Drepper <drepper@gmail.com>
52227
4c1423ed
UD
52228 * iconv/iconv.h: Fix typo in comment.
52229 * io/fcntl.h: Likewise.
52230 * libio/stdio.h: Likewise.
52231 * posix/spawn.h: Likewise.
52232 * posix/unistd.h: Likewise.
52233 * stdlib/stdlib.h: Likewise.
52234 * time/time.h: Likewise.
52235 * wcsmbs/wchar.h: Likewise.
52236
158648c0
UD
52237 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52238 open_by_handle): Add.
52239 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52240 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
52241 Augment a few comments.
52242 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52243 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52244 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52246 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52247 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52248 open_by_handle.
52249
46998f74
UD
52250 * io/fcntl.h (AT_EMPTY_PATH): Define.
52251
83fe108b
UD
522522011-03-30 Ulrich Drepper <drepper@gmail.com>
52253
52254 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52255 * sysdeps/unix/sysv/linux/bits/time.h: New file.
52256 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52257 to...
52258 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
52259 * Versions.def: Add GLIBC_2.14.
52260 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52261 Export.
83fe108b 52262
bb242059
UD
522632011-03-22 Ulrich Drepper <drepper@gmail.com>
52264
52265 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52266 round counter.
52267 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52268
c97a1282
L
522692011-03-20 H.J. Lu <hongjiu.lu@intel.com>
52270
52271 [BZ #12597]
52272 * string/test-strncmp.c (do_page_test): New function.
52273 (check2): Likewise.
52274 (test_main): Call check2.
52275 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52276
2a115601
UD
522772011-03-20 Ulrich Drepper <drepper@gmail.com>
52278
52279 [BZ #12587]
52280 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52281 Handle cache information in CPU leaf 4.
52282 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52283
8126d904
UD
522842011-03-18 Ulrich Drepper <drepper@gmail.com>
52285
042c49c6 52286 [BZ #12583]
8126d904
UD
52287 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52288 character representation.
52289 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52290
ccfe366e
RA
522912011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
52292
52293 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52294 END(__isnan) to END(__isnanf) to match function entry point/label
52295 EALIGN(__isnanf,...).
52296
c6e13027
JJ
522972011-03-10 Jakub Jelinek <jakub@redhat.com>
52298
52299 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52300
33f85a3f
UD
523012011-03-10 Ulrich Drepper <drepper@gmail.com>
52302
028478fa
UD
52303 [BZ #12510]
52304 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52305 copy from the symbol referenced in the relocation to initialize the
52306 used variable.
52307 Patch by Piotr Bury <pbury@goahead.com>.
52308 * elf/Makefile: Add rules to build and tst-unique3.
52309 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52310 * elf/tst-unique3.cc: New file.
52311 * elf/tst-unique3.h: New file.
52312 * elf/tst-unique3lib.cc: New file.
52313 * elf/tst-unique3lib2.cc: New file.
52314
33f85a3f
UD
52315 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52316
03592fc7
MF
523172011-03-10 Mike Frysinger <vapier@gentoo.org>
52318
52319 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52320 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
52321 to _start.
03592fc7 52322
6a5ee102
UD
523232011-03-06 Ulrich Drepper <drepper@gmail.com>
52324
52325 * elf/dl-load.c (_dl_map_object): If we are looking for the first
52326 to-be-loaded object along a path to loader is ld.so.
52327
7e4ba49c
HJ
523282011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52329 Ulrich Drepper <drepper@gmail.com>
52330
52331 * sysdeps/x86_64/memset.S: After aligning destination, code
52332 branches to different locations depending on the value of
52333 misalignment, when multiarch is enabled. Fix this.
52334
523352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52336
52337 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52338 Set _x86_64_preferred_memory_instruction for AMD processsors.
52339 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52340 Set bit_Prefer_SSE_for_memop for AMD processors.
52341
13a804de
UD
523422011-03-04 Ulrich Drepper <drepper@gmail.com>
52343
52344 * libio/fmemopen.c (fmemopen): Optimize a bit.
52345
9d25c392
AS
523462011-03-03 Andreas Schwab <schwab@redhat.com>
52347
52348 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52349
a5543c6a
RM
523502011-03-03 Roland McGrath <roland@redhat.com>
52351
52352 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52353
012d35f7
DM
523542011-02-28 Aurelien Jarno <aurelien@aurel32.net>
52355
7e4ba49c 52356 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
52357 __bzero_ultra1 instead of __memset_ultra1.
52358
4bff6e01
AS
523592011-02-23 Andreas Schwab <schwab@redhat.com>
52360 Ulrich Drepper <drepper@gmail.com>
52361
52362 [BZ #12509]
52363 * include/link.h (struct link_map): Add l_orig_initfini.
52364 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52365 returning unsuccessfully.
52366 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52367 close of a file loaded at startup, restore the original l_initfini
52368 list.
52369 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52370 list, store the pointer.
52371 * elf/Makefile ($(objpfx)noload-mem): New rule.
52372 (noload-ENV): Define.
52373 (tests): Add $(objpfx)noload-mem.
52374 * elf/noload.c: Include <memcheck.h>.
52375 (main): Call mtrace. Close all opened handles.
52376
f2092faf
AS
523772011-02-17 Andreas Schwab <schwab@redhat.com>
52378
52379 [BZ #12454]
52380 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52381 dependencies are missing.
52382
6c8a2e88
ST
523832011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
52384
f2092faf 52385 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
52386 Hurd needs munmap.
52387 * sysdeps/mach/hurd/ifreq.h: New file.
52388
84a42118
PB
523892011-01-27 Petr Baudis <pasky@suse.cz>
52390 Ulrich Drepper <drepper@gmail.com>
52391
071f805e 52392 [BZ 12445]#
84a42118
PB
52393 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52394 to extend_alloca().
52395 * stdio-common/bug23.c: New file.
52396 * stdio-common/Makefile (tests): Add bug23.
52397
e23fe25b
AS
523982010-09-28 Andreas Schwab <schwab@redhat.com>
52399 Ulrich Drepper <drepper@gmail.com>
52400
52401 [BZ #12489]
52402 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52403 before performing relro protection. At old place add assertion
52404 to make sure nothing changed.
52405
d3f02e10
NS
524062011-02-17 Nathan Sidwell <nathan@codesourcery.com>
52407 Glauber de Oliveira Costa <glommer@gmail.com>
52408
52409 * elf/elf.h: Add new ARM TLS relocs.
52410
d55fd7a5
RA
524112011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
52412
52413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52414 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52415 cast from r3.
52416 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
52417 'tests' variable.
52418 * sysdeps/wordsize-64/tst-writev.c: New file.
52419
2206397e
RA
524202011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
52421
52422 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52423 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52424 insns in _dl_start to prevent a TOC reference before relocs are
52425 resolved.
52426
e9433893
UD
524272011-02-15 Ulrich Drepper <drepper@gmail.com>
52428
52429 [BZ #12469]
52430 * Makeconfig: Remove RANLIB definition.
52431 * Makerules: Don't use RANLIB.
52432 * aclocal.m4: Remove ranlib test.
52433 * configure.in: No need to check for ranlib.
52434 * elf/rtld-Rules: Don't use RANLIB.
52435
f75286c6
ST
524362011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
52437
8e31c82d
ST
52438 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52439 protection macro.
52440 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52441 inclusion protection macro.
52442
f75286c6
ST
52443 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52444 SIGRTMIN and SIGRTMAX and print information in that case only when
52445 SIGRTMIN is defined.
52446
c1d0e639
JJ
524472011-02-11 Jakub Jelinek <jakub@redhat.com>
52448
52449 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52450 arginfo fn returning -1.
52451
52452 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52453 and thousands string is zero terminated.
52454
edf9294e
AS
524552011-02-03 Andreas Schwab <schwab@redhat.com>
52456
52457 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52458 sysdeps/unix/sysv/linux/bits/socket.h.
52459
2b7e92df
ST
524602011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
52461
edf9294e
AS
52462 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52463 (__CPU_COUNT): Remove old macros.
52464 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52465 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52466 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
52467 (__sched_cpualloc, __sched_cpufree): Add declarations.
52468
a4c7ea7b
UD
524692011-02-05 Ulrich Drepper <drepper@gmail.com>
52470
52471 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52472 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52473 * nscd/aicache.c (addhstaiX): Return timeout of added value.
52474 (readdhstai): Return value of addhstaiX call.
52475 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52476 (addgrbyX): Return value returned by cache_addgr.
52477 (readdgrbyname): Return value returned by addgrbyX.
52478 (readdgrbygid): Likewise.
52479 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52480 (addpwbyX): Return value returned by cache_addpw.
52481 (readdpwbyname): Return value returned by addhstbyX.
52482 (readdpwbyuid): Likewise.
52483 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52484 (addservbyX): Return value returned by cache_addserv.
52485 (readdservbyname): Return value returned by addservbyX:
52486 (readdservbyport): Likewise.
52487 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52488 (addhstbyX): Return value returned by cache_addhst.
52489 (readdhstbyname): Return value returned by addhstbyX.
52490 (readdhstbyaddr): Likewise.
52491 (readdhstbynamev6): Likewise.
52492 (readdhstbyaddrv6): Likewise.
52493 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52494 (readdinitgroups): Return value returned by addinitgroupsX.
52495 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52496 (prune_cache): Keep track of timeout value of re-added entries.
52497 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52498 * nscd/nscd.h: Adjust prototypes of readd* functions.
52499
a0bf67cc
RM
525002011-02-04 Roland McGrath <roland@redhat.com>
52501
52502 * nis/nis_server.c (nis_servstate): Use the right name for 0.
52503 (nis_stats): Likewise.
52504 * nis/nis_modify.c (nis_modify): Likewise.
52505 * nis/nis_remove.c (nis_remove): Likewise.
52506 * nis/nis_add.c (nis_add): Likewise.
52507
52508 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52509
52510 * posix/fnmatch_loop.c: Add some consts.
52511
52512 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52513
435b95eb
L
525142011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52515
52516 [BZ #12460]
52517 * config.make.in (config-cflags-novzeroupper): Define.
52518 * configure.in: Substitute libc_cv_cc_novzeroupper.
52519 * elf/Makefile (AVX-CFLAGS): Define.
52520 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52521 (CFLAGS-tst-auditmod4a.c): Likewise.
52522 (CFLAGS-tst-auditmod4b.c): Likewise.
52523 (CFLAGS-tst-auditmod6b.c): Likewise.
52524 (CFLAGS-tst-auditmod6c.c): Likewise.
52525 (CFLAGS-tst-auditmod7b.c): Likewise.
52526 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52527
8517b15e
UD
525282011-02-02 Ulrich Drepper <drepper@gmail.com>
52529
52530 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52531 function to the callback.
52532 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52533
10a656fe
AS
525342011-02-02 Andreas Schwab <schwab@redhat.com>
52535
52536 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52537 of errno.
52538
968dad0a
UD
525392011-01-19 Ulrich Drepper <drepper@gmail.com>
52540
9f94d2ea 52541 [BZ #11724]
968dad0a
UD
52542 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52543 of constructors.
52544 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52545 of destructors.
52546 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52547
52548 [BZ #11724]
52549 * elf/Makefile: Add rules to build and run new test.
52550 * elf/tst-initorder.c: New file.
52551 * elf/tst-initorder.exp: New file.
52552 * elf/tst-initordera1.c: New file.
52553 * elf/tst-initordera2.c: New file.
52554 * elf/tst-initordera3.c: New file.
52555 * elf/tst-initordera4.c: New file.
52556 * elf/tst-initorderb1.c: New file.
52557 * elf/tst-initorderb2.c: New file.
52558 * elf/tst-order-a1.c: New file.
52559 * elf/tst-order-a2.c: New file.
52560 * elf/tst-order-a3.c: New file.
52561 * elf/tst-order-a4.c: New file.
52562 * elf/tst-order-b1.c: New file.
52563 * elf/tst-order-b2.c: New file.
52564 * elf/tst-order-main.c: New file.
52565 New test case by George Gensure <werkt0@gmail.com>.
52566
86e92359
UD
525672010-10-01 Andreas Schwab <schwab@redhat.com>
52568
52569 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52570 decoding ACE if AI_CANONIDN.
52571
5d5732b0
UD
525722011-01-18 Ulrich Drepper <drepper@gmail.com>
52573
52574 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52575
a77e8cbc
UD
525762011-01-17 Ulrich Drepper <drepper@gmail.com>
52577
6392473f
UD
52578 * version.h (RELEASE): Bump for 2.13 release.
52579 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52580
620a0529
UD
52581 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52582
18ba70a5
UD
52583 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52584 MADV_NOHUGEPAGE.
32465c3e
UD
52585 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52586 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52587 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52588 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52589 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52590 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52591
c0dafcf1
UD
52592 * posix/getconf.c: Update copyright year.
52593 * catgets/gencat.c: Likewise.
52594 * csu/version.c: Likewise.
52595 * debug/catchsegv.sh: Likewise.
52596 * debug/xtrace.sh: Likewise.
52597 * elf/ldconfig.c: Likewise.
52598 * elf/ldd.bash.in: Likewise.
52599 * elf/sprof.c (print_version): Likewise.
52600 * iconv/iconv_prog.c: Likewise.
52601 * iconv/iconvconfig.c: Likewise.
52602 * locale/programs/locale.c: Likewise.
52603 * locale/programs/localedef.c: Likewise.
52604 * malloc/memusage.sh: Likewise.
52605 * malloc/mtrace.pl: Likewise.
52606 * nscd/nscd.c (print_version): Likewise.
52607 * nss/getent.c: Likewise.
52608
a77e8cbc
UD
52609 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52610 PF_CAIF, and PF_ALG.
52611 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52612
77e8bddf
AS
526132011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52614
1f20b93a
AS
52615 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52616 (modules-names): Use them.
52617 (ifunc-test-modules, ifunc-pie-tests): Define.
52618 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52619 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52620 (test-extras): Likewise.
52621 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52622 $(compile-command.c).
52623 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52624 (all-built-dso): Define.
52625 (check-textrel.out, check-execstack.out): Depend on it.
52626
77e8bddf
AS
52627 * configure.in: Don't override --enable-multi-arch.
52628
bc425b33
UD
526292011-01-15 Ulrich Drepper <drepper@gmail.com>
52630
52631 [BZ #6812]
52632 * nscd/hstcache.c (tryagain): Define.
52633 (cache_addhst): Return tryagain not notfound for temporary errors.
52634 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52635 failed.
52636
794c3ad3
UD
526372011-01-14 Ulrich Drepper <drepper@gmail.com>
52638
70181fdd
UD
52639 [BZ #10563]
52640 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52641 to make the syscall.
52642 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52643
794c3ad3
UD
52644 [BZ #12378]
52645 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52646 and fall back to matching as normal character if the string ends before
52647 the matching ']' is found. This is what POSIX requires.
52648 * posix/testfnm.c: Adjust test result.
52649 * posix/globtest.sh: Adjust test result. Add new test.
52650 * posix/tst-fnmatch.input: Likewise.
52651 * posix/tst-fnmatch2.c: Add new test.
52652
68dc9497
AS
526532010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52654
52655 * elf/Makefile (check-execstack): Revert last change. Depend on
52656 check-execstack.h.
52657 (check-execstack.h): New target.
52658 (generated): Add check-execstack.h.
52659 * elf/check-execstack.c: Include "check-execstack.h".
52660 (main): Revert last change.
52661 (handle_file): Return zero if GNU_STACK is absent and
52662 DEFAULT_STACK_PERMS doesn't include PF_X.
52663
451f001b
UD
526642011-01-13 Ulrich Drepper <drepper@gmail.com>
52665
cfa28e56
UD
52666 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52667 in child fails because the descriptor is already closed.
8cf8ce17
UD
52668 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52669 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52670 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 52671
1086d70d
UD
52672 [BZ #12397]
52673 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52674 syscall.
52675
451f001b
UD
52676 [BZ #10484]
52677 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52678 temporary buffer used to handle multi lookups locally.
a85b5cb4 52679 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 52680
08769175
UD
526812011-01-12 Ulrich Drepper <drepper@gmail.com>
52682
52683 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52684 loader is ld.so.
52685
5e49c52e
UD
526862011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52687
52688 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52689 alignment for SSE2.
52690
60522a5f
UD
526912011-01-12 Ulrich Drepper <drepper@gmail.com>
52692
52693 [BZ #12394]
52694 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52695 characters. When rounding increased number of integer digits recompute
52696 number of groups.
52697 * stdio-common/tst-grouping.c: New file.
52698 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52699
f257bbd7
UD
527002011-01-09 Ulrich Drepper <drepper@gmail.com>
52701
52702 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52703 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52704
52705 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52706 void.
52707 * bits/select.h: Likewise.
52708
fa9c15cb
UD
527092011-01-08 Ulrich Drepper <drepper@gmail.com>
52710
52711 * po/ja.po: Update from translation team.
52712
16c2895f
DM
527132011-01-04 David S. Miller <davem@sunset.davemloft.net>
52714
52715 [BZ #11155]
52716 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52717 implementation just like for lxstat, fxstatat, et al.
52718
2543fef2
JM
527192010-12-27 Jim Meyering <meyering@redhat.com>
52720
52721 [BZ #12348]
52722 * posix/regexec.c (build_trtable): Return failure indication upon
52723 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52724
98727dbe
UD
527252010-12-25 Ulrich Drepper <drepper@gmail.com>
52726
5bd6dc5c
UD
52727 [BZ #12201]
52728 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52729 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52730 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52731 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52732
97983464
UD
52733 [BZ #12207]
52734 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52735
98727dbe
UD
52736 [BZ #12204]
52737 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52738 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52739
4a531bb0
L
527402010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52741
52742 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52743 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52744 script has SORT_BY_INIT_PRIORITY.
52745 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52746 NO_CTORS_DTORS_SECTIONS is defined.
52747 * elf/soinit.c: Likewise.
52748 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52749 NO_CTORS_DTORS_SECTIONS is defined.
52750 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52751 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52752 * sysdeps/sh/init-first.c: Likewise.
52753 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52754
07eb4b71
UD
527552010-12-24 Ulrich Drepper <drepper@gmail.com>
52756
52757 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52758 always use the slow path.
52759
30950a5f
RA
527602010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52761
52762 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52763 similar rule which adds the sysdep directories to the header search in
52764 order to pick up the correct platform stackinfo.h.
52765 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52766 perform test if it is, otherwise return successfully without testing.
52767 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52768 DEFAULT_STACK_PERMS define in stackinfo.h.
52769 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52770 defined in stackinfo.h.
52771 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52772 DEFAULT_STACK_PERMS defined in stackinfo.h.
52773 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52774 * sysdeps/ia64/stackinfo.h: Likewise.
52775 * sysdeps/s390/stackinfo.h: Likewise.
52776 * sysdeps/sh/stackinfo.h: Likewise.
52777 * sysdeps/sparc/stackinfo.h: Likewise.
52778 * sysdeps/x86_64/stackinfo.h: Likewise.
52779 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52780 PF_X for powerpc64. Retain PF_X for powerpc32.
52781
db753e2c
UD
527822010-12-19 Ulrich Drepper <drepper@gmail.com>
52783
14b697f7
UD
52784 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52785 accurately.
db753e2c
UD
52786 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52787 GETDENTS_64BIT_ALIGNED.
52788
28300719
UD
527892010-12-14 Ulrich Drepper <dreper@gmail.com>
52790
14b697f7 52791 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 52792
4f197237
AS
527932010-12-10 Andreas Schwab <schwab@redhat.com>
52794
dbb0472f
AS
52795 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52796 _GNU_SOURCE.
52797
4f197237
AS
52798 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52799 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52800 Remove __restrict.
52801 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52802 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52803
fb88ac72
UD
528042010-12-09 Ulrich Drepper <drepper@gmail.com>
52805
52806 [BZ #11655]
52807 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52808 are initialized.
52809
42acbb92
JJ
528102010-12-09 Jakub Jelinek <jakub@redhat.com>
52811
52812 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52813
c038d98d
UD
528142010-12-03 Ulrich Drepper <drepper@gmail.com>
52815
52816 * po/it.po: Update from translation team.
52817
3a4a2499
L
528182010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52819
52820 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52821 unused codes.
52822
1e24cf6e
UD
528232010-11-30 Ulrich Drepper <drepper@gmail.com>
52824
52825 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52826
a7690819
AS
528272010-11-24 Andreas Schwab <schwab@redhat.com>
52828
52829 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52830 specially.
52831 (gaih_getanswer_slice): Likewise.
52832
3bf8d1b1
JJ
528332010-10-20 Jakub Jelinek <jakub@redhat.com>
52834
52835 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52836
6db52fbb
PB
528372010-05-31 Petr Baudis <pasky@suse.cz>
52838
52839 [BZ #11149]
52840 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52841 silently even in the chroot mode.
52842
eaca7569
UD
528432010-11-22 Ulrich Drepper <drepper@gmail.com>
52844
52845 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52846 last patch a bit. Pretty printing
52847
3056dcdb
UD
528482010-05-31 Petr Baudis <pasky@suse.cz>
52849
52850 [BZ #10085]
52851 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52852 initialization of skip_initgroups_dyn.
52853
cf7c9078
UD
528542010-11-19 Ulrich Drepper <drepper@gmail.com>
52855
52856 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52857 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52858
a1fb5e3e
UD
528592010-11-16 Ulrich Drepper <drepper@gmail.com>
52860
52861 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52862
3540d66b
AS
528632010-11-11 Andreas Schwab <schwab@redhat.com>
52864
52865 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52866 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52867 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52868 ($(objpfx)tst-fnmatch-mem): New rule.
52869 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52870 * posix/tst-fnmatch.c (main): Call mtrace.
52871
13b69574
L
528722010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52873
52874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52875 Support Intel processor model 6 and model 0x2c.
52876
da93d214
LM
528772010-11-10 Luis Machado <luisgpm@br.ibm.com>
52878
52879 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52880 signed comparison.
52881
8ca52c6e
L
528822010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52883
52884 [BZ #12205]
52885 * string/test-strncasecmp.c (check_result): New function.
52886 (do_one_test): Use it.
52887 (check1): New function.
52888 (test_main): Use it.
52889 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52890 Support strcasecmp and strncasecmp.
52891
69da074d
UD
528922010-11-08 Ulrich Drepper <drepper@gmail.com>
52893
52894 [BZ #12194]
52895 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52896 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52897
ff02d528
L
528982010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52899
52900 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52901 IFUNC support.
52902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52903 memset-x86-64.
52904 * sysdeps/x86_64/multiarch/bzero.S: New file.
52905 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52906 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52907 * sysdeps/x86_64/multiarch/memset.S: New file.
52908 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52910 Set bit_Prefer_SSE_for_memop for Intel processors.
52911 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52912 Define.
52913 (index_Prefer_SSE_for_memop): Define.
52914 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52915
344d0b54
LM
529162010-11-04 Luis Machado <luisgpm@br.ibm.com>
52917
52918 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52919 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52920
c0dde15b
UD
529212010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52922
52923 [BZ #12191]
52924 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52925 (__x86_64_raw_data_cache_size_half): Likewise.
52926 (__x86_64_raw_shared_cache_size): Likewise.
52927 (__x86_64_raw_shared_cache_size_half): Likewise.
52928
52929 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52930 (__x86_64_raw_data_cache_size_half): Likewise.
52931 (__x86_64_raw_shared_cache_size): Likewise.
52932 (__x86_64_raw_shared_cache_size_half): Likewise.
52933 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52934 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52935 and __x86_64_raw_shared_cache_size_half. Round
52936 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52937 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52938 to multiple of 256 bytes.
52939
0e516e0e
MS
529402010-11-03 Ulrich Drepper <drepper@gmail.com>
52941
52942 [BZ #12167]
52943 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52944 of inacessible symlinks. Verify result of symlink before returning it.
52945 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52946 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52947
0e012e87
ER
529482010-10-28 Erich Ritz <erichritz@gmail.com>
52949
52950 * math/math.h (isinf): Fix typo in comment.
52951
de0ff7bc
UD
529522010-11-01 Ulrich Drepper <drepper@gmail.com>
52953
52954 * po/da.po: Update from translation team.
52955
fa41c84d
UD
529562010-10-26 Ulrich Drepper <drepper@gmail.com>
52957
52958 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52959 is added to the list.
52960
f0967738
AK
529612010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52962 Ulrich Drepper <drepper@gmail.com>
52963
52964 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52965 the global list here. Move code to...
52966 (_dl_add_to_namespace_list): ...here. New function.
52967 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52968 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52969 * elf/dl-load.c (lose): Don't remove the element from the list.
52970 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52971 (_dl_map_object): Likewise.
52972
529732010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
52974
52975 [BZ #12159]
52976 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52977 into all bytes of SSE register.
52978 Patch by Richard Li <richardpku@gmail.com>.
52979
f0967738 529802010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
52981
52982 [BZ #12140]
52983 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52984 perturbing.
52985
d0b9e94f
MB
529862010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52987
52988 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52989 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52990 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52991 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52993 submachine.
52994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52995
8e9f92e9
AS
529962010-10-22 Andreas Schwab <schwab@redhat.com>
52997
52998 * include/dlfcn.h (__RTLD_SECURE): Define.
52999 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
53000 mode & __RTLD_SECURE instead.
53001 (open_path): Rename preloaded parameter to secure.
53002 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53003 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53004 * elf/dl-deps.c (openaux): Likewise.
53005 * elf/rtld.c (struct map_args): Remove is_preloaded.
53006 (map_doit): Don't use it.
53007 (dl_main): Likewise.
53008 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53009 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53010
bc96fbda
AS
530112010-09-09 Andreas Schwab <schwab@redhat.com>
53012
53013 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53014 (sysd-rules-targets): Remove duplicates.
53015 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53016 rtld-%.$o dependency.
53017
22cd1c9b
AS
530182010-10-18 Andreas Schwab <schwab@redhat.com>
53019
53020 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53021 _dl_map_object do it.
53022
18edac48
UD
530232010-10-19 Ulrich Drepper <drepper@gmail.com>
53024
53025 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53026 fast fma builtins, define the macros in the C99 standard.
53027 (FP_FAST_FMAF): Likewise.
53028 (FP_FAST_FMAL): Likewise.
53029 * sysdeps/x86_64/bits/mathdef.h: Likewise.
53030
53031 * bits/mathdef.h: Update copyright year.
53032 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53033
d2050124
MM
530342010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
53035
53036 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53037 builtins, define the macros in the C99 standard.
53038 (FP_FAST_FMAF): Likewise.
53039 (FP_FAST_FMAL): Likewise.
53040 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53041 multiply/add.
53042 (FP_FAST_FMAF): Likewise.
53043
475facd1
JJ
530442010-10-15 Jakub Jelinek <jakub@redhat.com>
53045
53046 [BZ #3268]
53047 * math/libm-test.inc (fma_test): Some new testcases.
53048 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53049 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53050 y and infinite z. Do multiplication by C already in long double.
53051 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53052 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53053 y and infinite z. Do bitwise or of inexact bit into u.d.
53054 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53055 * sysdeps/i386/fpu/s_fmaf.S: Removed.
53056 * sysdeps/i386/fpu/s_fma.S: Removed.
53057 * sysdeps/i386/fpu/s_fmal.S: Removed.
53058
7c08a05c
JJ
530592010-10-16 Jakub Jelinek <jakub@redhat.com>
53060
53061 [BZ #3268]
53062 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53063 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53064 computation is not scheduled after fetestexcept. Fix value
53065 of minimum denormal long double.
53066
f3f7372d
JJ
530672010-10-14 Jakub Jelinek <jakub@redhat.com>
53068
53069 [BZ #3268]
53070 * math/libm-test.inc (fma_test): Add some more tests.
53071 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53072 correctly.
53073
14d43591
AS
530742010-10-15 Andreas Schwab <schwab@redhat.com>
53075
53076 * scripts/data/localplt-s390-linux-gnu.data: New file.
53077 * scripts/data/localplt-s390x-linux-gnu.data: New file.
53078
5e908464
JJ
530792010-10-13 Jakub Jelinek <jakub@redhat.com>
53080
53081 [BZ #3268]
53082 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53083 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53084 instead of dbl-64.
53085 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53086 inlines.
53087 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53088 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53089 if one of x and y is very large and the other is subnormal.
53090 * sysdeps/s390/fpu/s_fmaf.c: New file.
53091 * sysdeps/s390/fpu/s_fma.c: New file.
53092 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53093 * sysdeps/powerpc/fpu/s_fma.S: New file.
53094 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53095 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53096 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53097
530982010-10-12 Jakub Jelinek <jakub@redhat.com>
53099
53100 [BZ #3268]
53101 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53102 fma tests.
53103 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53104 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53105 * sysdeps/i386/i686/multiarch/s_fma.c: Include
53106 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53107 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53108 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53109 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53110
b833d51f
UD
531112010-10-12 Ulrich Drepper <drepper@redhat.com>
53112
53113 [BZ #12078]
53114 * posix/regcomp.c (parse_branch): One more memory leak plugged.
53115 * posix/bug-regex31.input: Add test case.
53116
1751705d
UD
531172010-10-11 Ulrich Drepper <drepper@gmail.com>
53118
e9b9cbf5
UD
53119 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53120 * posix/bug-regex31.input: New file.
53121
53122 [BZ #12078]
53123 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53124 (parse_sub_exp): Fix last change, use postorder.
53125
ef06edbe
UD
53126 * posix/bug-regex31.c: New file.
53127 * posix/Makefile: Add rules to build and run bug-regex31.
53128
a129c80d
UD
53129 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53130
53131 [BZ #12078]
53132 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53133
b76b818e
UD
53134 [BZ #12108]
53135 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53136 to have entries in sys_siglist.
53137
1751705d
UD
53138 [BZ #12093]
53139 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53140 be NULL.
53141
9ff8d36f
JJ
531422010-10-07 Jakub Jelinek <jakub@redhat.com>
53143
53144 [BZ #3268]
53145 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53146 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53147 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53148 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53149 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53150 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53151 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53152 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53153 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53154 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53155 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53156 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53157 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53158 * math/ftestexcept.c (fetestexcept): Likewise.
53159 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53160 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53161 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53162 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53163 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53164 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53165 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53166
af325969
UD
531672010-10-11 Ulrich Drepper <drepper@gmail.com>
53168
c579b202 53169 [BZ #12107]
af325969
UD
53170 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53171 newline.
53172
67a67b95
UD
531732010-10-06 Ulrich Drepper <drepper@gmail.com>
53174
53175 * string/bug-strstr1.c: New file.
53176 * string/Makefile: Add rules to build and run bug-strstr1.
53177
5fb308bc
EB
531782010-10-05 Eric Blake <eblake@redhat.com>
53179
53180 [BZ #12092]
53181 * string/str-two-way.h (two_way_long_needle): Always clear memory
53182 when skipping input due to the shift table.
53183
45db99c7
UD
531842010-10-03 Ulrich Drepper <drepper@gmail.com>
53185
3b111893
UD
53186 [BZ #12005]
53187 * malloc/mcheck.c: Handle large requests.
53188
45db99c7
UD
53189 [BZ #12077]
53190 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53191 for strncmp and strncasecmp.
53192 * string/stratcliff.c: Add tests for strcmp and strncmp.
53193 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53194
cf7a1eb8
NI
531952010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53196
53197 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53198 __set_fpscr.
53199
6484ba5e
AJ
532002010-09-30 Andreas Jaeger <aj@suse.de>
53201
53202 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53203 (CGROUP_SUPER_MAGIC): Define.
53204 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53205 Handle btrfs and cgroup file systems.
53206 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53207 Likewise.
53208
91c42559
LM
532092010-09-27 Luis Machado <luisgpm@br.ibm.com>
53210
53211 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53212 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53213
87a97932
AK
532142010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53215
53216 [BZ #12067]
53217 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53218 trying to locate the ELF header.
53219
c21cc9bc
AS
532202010-09-27 Andreas Schwab <schwab@redhat.com>
53221
53222 [BZ #11611]
53223 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53224 Mask out sign-bit copies when constructing f_fsid.
53225
315970f6
PB
532262010-09-24 Petr Baudis <pasky@suse.cz>
53227
53228 * debug/stack_chk_fail_local.c: Add missing licence exception.
53229 * debug/warning-nop.c: Likewise.
53230
1ac7a2c7
JM
532312010-09-15 Joseph Myers <joseph@codesourcery.com>
53232
53233 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53234 implementing getdents64 using getdents syscall, set d_type if
53235 __ASSUME_GETDENTS32_D_TYPE.
53236
56801c50
AS
532372010-09-16 Andreas Schwab <schwab@redhat.com>
53238
53239 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53240 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53241
dda51327
UD
532422010-09-21 Ulrich Drepper <drepper@redhat.com>
53243
53244 [BZ #12037]
53245 * posix/unistd.h: Undo change of feature selection for ftruncate from
53246 2010-01-11.
53247
8ffcee4a
UD
532482010-09-20 Ulrich Drepper <drepper@redhat.com>
53249
a545ecd9 53250 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
53251 detection.
53252
e24f0a8b
AS
532532010-09-20 Andreas Schwab <schwab@redhat.com>
53254
53255 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53256 fanotify_mark.
53257 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53258
7291c56f
AS
532592010-09-14 Andreas Schwab <schwab@redhat.com>
53260
53261 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53262 variables after CHECK_SP call.
53263 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53264
bc5fb037
AS
532652010-09-13 Andreas Schwab <schwab@redhat.com>
53266 Ulrich Drepper <drepper@redhat.com>
53267
53268 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53269 re-relocationg ld.so.
53270 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53271 _dl_init_paths call.
53272 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
53273 here anymore.
53274
e66e7419
UD
532752010-09-14 Ulrich Drepper <drepper@redhat.com>
53276
53277 * resolv/res_init.c (__res_vinit): Count the default server we added.
53278
c044aa75
CLT
532792010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
53280 Ulrich Drepper <drepper@redhat.com>
53281
53282 [BZ #11968]
53283 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53284 (____longjmp_chk): Use %ebx for saving value across system call.
53285 Add unwind info.
53286
32cf4069
AS
532872010-09-06 Andreas Schwab <schwab@redhat.com>
53288
53289 * manual/Makefile: Don't mix pattern rules with normal rules.
53290
817328ee
AS
532912010-09-05 Andreas Schwab <schwab@linux-m68k.org>
53292
53293 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53294 operation.
53295 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53296 * libio/iofopncook.c (_IO_cookie_init): Likewise.
53297 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53298 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53299 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53300 Likewise.
53301
29fddf61
UD
533022010-09-04 Ulrich Drepper <drepper@redhat.com>
53303
53304 [BZ #11979]
53305 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53306 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53307
0959ffc9
UD
533082010-09-02 Ulrich Drepper <drepper@redhat.com>
53309
53310 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53311 * sysdeps/x86_64/addmul_1.S: Likewise.
53312 * sysdeps/x86_64/lshift.S: Likewise.
53313 * sysdeps/x86_64/mul_1.S: Likewise.
53314 * sysdeps/x86_64/rshift.S: Likewise.
53315 * sysdeps/x86_64/sub_n.S: Likewise.
53316 * sysdeps/x86_64/submul_1.S: Likewise.
53317
ece29840
ST
533182010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
53319
0959ffc9
UD
53320 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53321 Define __sched_param instead of SCHED_* and sched_param when
ece29840 53322 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 53323 * bits/sched.h [__need_schedparam]
ece29840 53324 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
53325 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53326 (__defined_schedparam): Define to 1.
ece29840
ST
53327 (__sched_param): New structure, identical to sched_param.
53328 (__need_schedparam): Undefine.
53329
e53a31fe
MF
533302010-08-31 Mike Frysinger <vapier@gentoo.org>
53331
fdc0c10d
MF
53332 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53333 (epoll_create1): Declare.
53334
e53a31fe
MF
53335 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53336
a726d796
AS
533372010-08-31 Andreas Schwab <schwab@redhat.com>
53338
53339 [BZ #7066]
53340 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53341 shifting retval into place.
53342
2f3e3dc7
UD
533432010-09-01 Ulrich Drepper <drepper@redhat.com>
53344
f2933da9
UD
53345 * nis/rpcsvc/nis.h: Update copyright notice.
53346 * nis/rpcsvc/nis.x: Likewise.
53347 * nis/rpcsvc/nis_callback.h: Likewise.
53348 * nis/rpcsvc/nis_callback.x: Likewise.
53349 * nis/rpcsvc/nis_object.x: Likewise.
53350 * nis/rpcsvc/nis_tags.h: Likewise.
53351 * nis/rpcsvc/yp.h: Likewise.
53352 * nis/rpcsvc/yp.x: Likewise.
53353 * nis/rpcsvc/ypupd.h: Likewise.
53354 * nis/yp_xdr.c: Likewise.
53355 * nis/ypupdate_xdr.c: Likewise.
53356
2f3e3dc7
UD
53357 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
53358 mainly the body of pmap_getport. Add parameters to specify timeouts.
53359 (pmap_getport): Use __libc_rpc_getport.
53360 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53361 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53362 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53363
f3dcc2f9
AS
533642010-08-31 Andreas Schwab <schwab@linux-m68k.org>
53365
53366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53367 fanotify_mark.
53368
6d34eb5b
RM
533692010-08-27 Roland McGrath <roland@redhat.com>
53370
53371 * sysdeps/i386/i686/multiarch/Makefile
53372 (CFLAGS-varshift.c): New variable.
53373
9ea3de11
UD
533742010-08-27 Ulrich Drepper <drepper@redhat.com>
53375
c96d23fc
UD
53376 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53377 * sysdeps/i386/i686/multiarch/varshift.c: New file.
53378
9ea3de11
UD
53379 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53380
53381 * sysdeps/x86_64/strlen.S: Minimal code improvement.
53382
623aac7f
L
533832010-08-26 H.J. Lu <hongjiu.lu@intel.com>
53384
53385 * sysdeps/x86_64/strlen.S: Unroll the loop.
53386 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53387 strlen-sse2 strlen-sse2-bsf.
53388 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53389 __strlen_no_bsf if bit_Slow_BSF is set.
53390 (__strlen_sse42): Removed.
53391 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53392 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53393
8b2b7715
RM
533942010-08-25 Roland McGrath <roland@redhat.com>
53395
53396 * sysdeps/x86_64/multiarch/varshift.S: File removed.
53397 * sysdeps/x86_64/multiarch/varshift.c: New file.
53398 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53399 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53400 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53401 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53402
e73015f2
L
534032010-08-25 H.J. Lu <hongjiu.lu@intel.com>
53404
53405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53406 strlen-sse2 strlen-sse2-bsf.
53407 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53408 __strlen_sse2_bsf if bit_Slow_BSF is unset.
53409 (__strlen_sse2): Removed.
53410 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53411 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53413 bit_Slow_BSF for Atom.
53414 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53415 (index_Slow_BSF): Define.
53416 (HAS_SLOW_BSF): Define.
53417
df24a73e
UD
534182010-08-25 Ulrich Drepper <drepper@redhat.com>
53419
53420 [BZ #10851]
53421 * resolv/res_init.c (__res_vinit): When no server address at all
53422 is given default to loopback.
53423
f2ac4868
RM
534242010-08-24 Roland McGrath <roland@redhat.com>
53425
09055553
RM
53426 * configure.in: Remove config-name.h generation.
53427 * configure: Regenerated.
53428 * config-name.in: File removed.
53429 * scripts/config-uname.sh: New file.
53430 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53431 ($(objdir)config-name.h): New target.
53432
f2ac4868
RM
53433 * sunrpc/rpc_parse.h: Avoid nested comment.
53434
73f27d5e
RH
534352010-08-24 Richard Henderson <rth@redhat.com>
53436 Ulrich Drepper <drepper@redhat.com>
53437 H.J. Lu <hongjiu.lu@intel.com>
53438
53439 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53441 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53442 Replace _mm_srli_si128 with __m128i_shift_right. Replace
53443 _mm_alignr_epi8 with _mm_loadu_si128.
53444 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53445 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53446 (__m128i_shift_right): Removed.
53447 * sysdeps/i386/i686/multiarch/varshift.h: New file.
53448 * sysdeps/i386/i686/multiarch/varshift.S: New file.
53449 * sysdeps/x86_64/multiarch/varshift.h: New file.
53450 * sysdeps/x86_64/multiarch/varshift.S: New file.
53451
84b9230c
MF
534522010-08-21 Mike Frysinger <vapier@gentoo.org>
53453
53454 * configure.in: Move assembler checks to before sysdep dir checking.
53455
9bbd0ddc
PB
534562010-08-20 Petr Baudis <pasky@suse.cz>
53457
53458 * LICENSES: Sync the sunrpc license.
53459
9da4bb31
UD
534602010-08-19 Ulrich Drepper <drepper@redhat.com>
53461
a7ab6ec8
UD
53462 * sunrpc/auth_des.c: Update copyright notice once again.
53463 * sunrpc/auth_none.c: Likewise.
53464 * sunrpc/auth_unix.c: Likewise.
53465 * sunrpc/authdes_prot.c: Likewise.
53466 * sunrpc/authuxprot.c: Likewise.
53467 * sunrpc/bindrsvprt.c: Likewise.
53468 * sunrpc/clnt_gen.c: Likewise.
53469 * sunrpc/clnt_perr.c: Likewise.
53470 * sunrpc/clnt_raw.c: Likewise.
53471 * sunrpc/clnt_simp.c: Likewise.
53472 * sunrpc/clnt_tcp.c: Likewise.
53473 * sunrpc/clnt_udp.c: Likewise.
53474 * sunrpc/clnt_unix.c: Likewise.
53475 * sunrpc/des_crypt.c: Likewise.
53476 * sunrpc/des_soft.c: Likewise.
53477 * sunrpc/get_myaddr.c: Likewise.
53478 * sunrpc/getrpcport.c: Likewise.
53479 * sunrpc/key_call.c: Likewise.
53480 * sunrpc/key_prot.c: Likewise.
53481 * sunrpc/openchild.c: Likewise.
53482 * sunrpc/pm_getmaps.c: Likewise.
53483 * sunrpc/pm_getport.c: Likewise.
53484 * sunrpc/pmap_clnt.c: Likewise.
53485 * sunrpc/pmap_prot.c: Likewise.
53486 * sunrpc/pmap_prot2.c: Likewise.
53487 * sunrpc/pmap_rmt.c: Likewise.
53488 * sunrpc/rpc/auth.h: Likewise.
53489 * sunrpc/rpc/auth_unix.h: Likewise.
53490 * sunrpc/rpc/clnt.h: Likewise.
53491 * sunrpc/rpc/des_crypt.h: Likewise.
53492 * sunrpc/rpc/key_prot.h: Likewise.
53493 * sunrpc/rpc/netdb.h: Likewise.
53494 * sunrpc/rpc/pmap_clnt.h: Likewise.
53495 * sunrpc/rpc/pmap_prot.h: Likewise.
53496 * sunrpc/rpc/pmap_rmt.h: Likewise.
53497 * sunrpc/rpc/rpc.h: Likewise.
53498 * sunrpc/rpc/rpc_des.h: Likewise.
53499 * sunrpc/rpc/rpc_msg.h: Likewise.
53500 * sunrpc/rpc/svc.h: Likewise.
53501 * sunrpc/rpc/svc_auth.h: Likewise.
53502 * sunrpc/rpc/types.h: Likewise.
53503 * sunrpc/rpc/xdr.h: Likewise.
53504 * sunrpc/rpc_clntout.c: Likewise.
53505 * sunrpc/rpc_cmsg.c: Likewise.
53506 * sunrpc/rpc_common.c: Likewise.
53507 * sunrpc/rpc_cout.c: Likewise.
53508 * sunrpc/rpc_dtable.c: Likewise.
53509 * sunrpc/rpc_hout.c: Likewise.
53510 * sunrpc/rpc_main.c: Likewise.
53511 * sunrpc/rpc_parse.c: Likewise.
53512 * sunrpc/rpc_parse.h: Likewise.
53513 * sunrpc/rpc_prot.c: Likewise.
53514 * sunrpc/rpc_sample.c: Likewise.
53515 * sunrpc/rpc_scan.c: Likewise.
53516 * sunrpc/rpc_scan.h: Likewise.
53517 * sunrpc/rpc_svcout.c: Likewise.
53518 * sunrpc/rpc_tblout.c: Likewise.
53519 * sunrpc/rpc_util.c: Likewise.
53520 * sunrpc/rpc_util.h: Likewise.
53521 * sunrpc/rpcinfo.c: Likewise.
53522 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53523 * sunrpc/rpcsvc/key_prot.x: Likewise.
53524 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53525 * sunrpc/rpcsvc/mount.x: Likewise.
53526 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53527 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53528 * sunrpc/rpcsvc/rex.x: Likewise.
53529 * sunrpc/rpcsvc/rstat.x: Likewise.
53530 * sunrpc/rpcsvc/rusers.x: Likewise.
53531 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53532 * sunrpc/rpcsvc/spray.x: Likewise.
53533 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53534 * sunrpc/rtime.c: Likewise.
53535 * sunrpc/svc.c: Likewise.
53536 * sunrpc/svc_auth.c: Likewise.
53537 * sunrpc/svc_authux.c: Likewise.
53538 * sunrpc/svc_raw.c: Likewise.
53539 * sunrpc/svc_run.c: Likewise.
53540 * sunrpc/svc_simple.c: Likewise.
53541 * sunrpc/svc_tcp.c: Likewise.
53542 * sunrpc/svc_udp.c: Likewise.
53543 * sunrpc/svc_unix.c: Likewise.
53544 * sunrpc/svcauth_des.c: Likewise.
53545 * sunrpc/xcrypt.c: Likewise.
53546 * sunrpc/xdr.c: Likewise.
53547 * sunrpc/xdr_array.c: Likewise.
53548 * sunrpc/xdr_float.c: Likewise.
53549 * sunrpc/xdr_mem.c: Likewise.
53550 * sunrpc/xdr_rec.c: Likewise.
53551 * sunrpc/xdr_ref.c: Likewise.
53552 * sunrpc/xdr_sizeof.c: Likewise.
53553 * sunrpc/xdr_stdio.c: Likewise.
53554
9da4bb31
UD
53555 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53556 handling.
53557
bdaa77bc
AS
535582010-08-19 Andreas Schwab <schwab@redhat.com>
53559
53560 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53561
fe2f79db
LM
535622010-08-19 Luis Machado <luisgpm@br.ibm.com>
53563
53564 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53565 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53566 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53567 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53568 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53569 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53570 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53571 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53572 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53573 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53574 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53575 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53576 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53577 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53578
b9b42ee0
AB
535792010-07-26 Anton Blanchard <anton@samba.org>
53580
53581 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53582 * malloc/arena.c (heap_trim): Likewise.
53583
1c06ba31
UD
535842010-08-16 Ulrich Drepper <drepper@redhat.com>
53585
53586 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53587 here. Not...
53588 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53589 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53590
f8392f40
L
535912010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53592
53593 * sysdeps/i386/elf/Makefile: New file.
53594
3162f12e
AS
535952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53596
53597 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53598 from fanotify_init.
53599 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53600 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53601
28c90b2c
UD
536022010-08-15 Ulrich Drepper <drepper@redhat.com>
53603
53604 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53605 of strncasecmp_l.
1feccb6c 53606 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 53607
ca6bb004
UD
536082010-08-14 Ulrich Drepper <drepper@redhat.com>
53609
e9f82e0d
UD
53610 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53611 strncase_l-nonascii.
53612 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53613 Add strncase_l-ssse3.
53614 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53615 * sysdeps/x86_64/strcmp.S: Likewise.
53616 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53617 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53618 * sysdeps/x86_64/strncase.S: New file.
53619 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53620 * sysdeps/x86_64/strncase_l.S: New file.
53621 * string/Makefile (strop-tests): Add strncasecmp.
53622 * string/test-strncasecmp.c: New file.
53623
53624 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53625 warning.
53626
ca6bb004
UD
53627 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53628 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53629
052fa7b3
AS
536302010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53631
53632 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53633
962dba78
UD
536342010-08-12 Ulrich Drepper <drepper@redhat.com>
53635
53636 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53637 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53638 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53639
bebff237
AM
536402010-05-01 Alan Modra <amodra@gmail.com>
53641
53642 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53643 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53644 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53645 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53646 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53647 tidying. Don't tail-call __sigjmp_save for static lib.
53648 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53649 save location.
53650 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53651 (CALL_MCOUNT): Add eh info, and nop after bl.
53652 (TAIL_CALL_SYSCALL_ERROR): New macro.
53653 (PSEUDO_RET): Use it.
53654 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53655 Correct save location of integer regs and cr.
53656 (_dl_profile_resolve): Correct cr save location. Delete nops
53657 after bl when SHARED. Reduce cfi size a little by better
53658 placement of cfi directives.
53659 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53660 make a stack frame. Instead use parm save area as a temp.
53661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53662 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53664 Don't make a stack frame for parent, use parm save area.
53665 Increase child stack frame to 112 bytes. Don't save unused reg,
53666 and adjust reg usage. Set up cfi on error recovery and
53667 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53669 (__makecontext): Add dummy nop after jump to exit.
53670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53671 Use correct parm save area and cr save, reduce stack frame.
53672 Correct cfi for possible PSEUDO_RET frame setup.
53673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53674 Branch to local label emitted by PSEUDO_RET rather than
53675 __syscall_error.
53676
02637374
AS
536772010-08-12 Andreas Schwab <schwab@redhat.com>
53678
53679 [BZ #11904]
53680 * locale/programs/locale.c (print_assignment): New function.
53681 (show_locale_vars): Use it.
53682
c3e2f19b
UD
536832010-08-11 Ulrich Drepper <drepper@redhat.com>
53684
3cdaa6ad
UD
53685 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53686 field.
53687 (struct statfs64): Likewise.
53688 (_STATFS_F_FLAGS): Define.
53689 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53690 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53691 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53692 (ST_VALID): Define locally.
53693 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53694 __statvfs_getflags, use the provided value.
53695 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53696 __ASSUME_STATFS_F_FLAGS.
53697
754f7da3
UD
53698 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53699
10b3bedc
UD
53700 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53701 Add sys/fanotify.h.
53702 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53703 fanotify_mask for GLIBC_2.13.
53704 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53705 fanotify_init and fanotify_mark.
53706 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53707 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53708
c08fb0d7
UD
53709 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53710 Add prlimit.
53711 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53712 prlimit64 for GLIBC_2.13.
53713 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53714 prlimit64.
53715 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53716 syscall.
53717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53718 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53719 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53720 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53721 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53722 add prlimit alias.
53723 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53724
15bac72b
UD
53725 [BZ #11903]
53726 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53727 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53728
c3e2f19b
UD
53729 * nss/Makefile: Add rules to build and run tst-nss-test1.
53730 * shlib-versions: Add entry for libnss_test1.
53731 * nss/nss_test1.c: New file.
53732 * nss/tst-nss-test1.c: New file.
53733
53734 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53735 (__nss_configure_lookup): Set appropriate entry in
53736 __nss_configure_lookup to true.
53737 * nss/nsswitch.h: Define enum with indeces of databases in
53738 databases and __nss_database_custom arrays. Declare
53739 __nss_database_custom.
53740 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53741 to avoid using nscd when custom rules are installed.
53742 * nss/getXXbyYY_r.c: Likewise.
53743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53744
53745 * nss/nss_files/files-parse.c: Whitespace fixes.
53746
f15ce4d8
UD
537472010-08-09 Ulrich Drepper <drepper@redhat.com>
53748
53749 [BZ #11883]
53750 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53751 * posix/fnmatch_loop.c: Likewise.
53752
d22e4cc9
AK
537532010-07-17 Andi Kleen <ak@linux.intel.com>
53754
53755 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53756 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53757 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53758 * Versions.def [GLIBC_2.13]: Add.
53759
805bc17d
UD
537602010-08-06 Ulrich Drepper <drepper@redhat.com>
53761
53762 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53763 Also fail if tpwd after pwuid call is NULL.
53764
5a42321d
ST
537652010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53766
53767 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53768 when converting to ms.
53769
fd3ebeda
ST
537702010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53771
53772 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53773 EOPNOTSUPP errors with ENOTTY.
53774 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53775 EOPNOTSUPP errors with ENOTTY.
53776
73507d3a
UD
537772010-07-31 Ulrich Drepper <drepper@redhat.com>
53778
53779 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53780 Add strcasecmp_l-ssse3.
53781 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53782 strcasecmp.
53783 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53784 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53785 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53786
fe36dd02
UD
537872010-07-30 Ulrich Drepper <drepper@redhat.com>
53788
66f6765a
UD
53789 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53790
42e08a54
UD
53791 * string/Makefile (strop-tests): Add strcasecmp.
53792 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53793 strcasecmp_l-nonascii.
53794 (gen-as-const-headers): Add locale-defines.sym.
53795 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53796 * sysdeps/x86_64/strcasecmp.S: New file.
53797 * sysdeps/x86_64/strcasecmp_l.S: New file.
53798 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53799 * sysdeps/x86_64/locale-defines.sym: New file.
53800 * string/test-strcasecmp.c: New file.
53801
fe36dd02
UD
53802 * string/test-strcasestr.c: Test both ends of the range of characters.
53803 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53804
48cbc0d6
RM
538052010-07-29 Roland McGrath <roland@redhat.com>
53806
76e6d6bc 53807 [BZ #11856]
48cbc0d6
RM
53808 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53809
880113d9
UD
538102010-07-27 Ulrich Drepper <drepper@redhat.com>
53811
53812 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53813 for ld.so.
53814
deb9cabb
AS
538152010-07-27 Andreas Schwab <schwab@redhat.com>
53816
53817 * manual/memory.texi (Malloc Tunable Parameters): Document
53818 M_PERTURB.
53819
1c7570ff
RM
538202010-07-26 Roland McGrath <roland@redhat.com>
53821
53822 [BZ #11840]
53823 * configure.in (-fgnu89-inline check): Set and substitute
53824 gnu89_inline, not libc_cv_gnu89_inline.
53825 * configure: Regenerated.
53826 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53827
24fb0f88
UD
538282010-07-26 Ulrich Drepper <drepper@redhat.com>
53829
53830 * string/test-strnlen.c: New file.
53831 * string/Makefile (strop-tests): Add strnlen.
53832 * string/tester.c (test_strnlen): Add a few more test cases.
53833 * string/tst-strlen.c: Better error reporting.
53834
53835 * sysdeps/x86_64/strnlen.S: New file.
53836
8e96b93a
UD
538372010-07-24 Ulrich Drepper <drepper@redhat.com>
53838
53839 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53840 lower-latency instructions.
53841
dbc676d4
UD
538422010-07-23 Ulrich Drepper <drepper@redhat.com>
53843
53844 * string/test-strcasestr.c: New file.
53845 * string/test-strstr.c: New file.
53846 * string/Makefile (strop-tests): Add strstr and strcasestr.
53847 * string/str-two-way.h: Don't undefine MAX.
53848 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53849
f6a31e0e
AS
538502010-07-21 Andreas Schwab <schwab@redhat.com>
53851
53852 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53853 strcasestr-nonascii.
53854 (CFLAGS-strcasestr-nonascii.c): Define.
53855 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53856 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53857 Remove unused attribute.
53858
5dbc3b6c
RM
538592010-07-20 Roland McGrath <roland@redhat.com>
53860
53861 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53862 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53863 ld.so.cache was broken. With it, there is no way to disable dsocaps
53864 like LD_HWCAP_MASK can disable hwcaps.
53865
23d101d8
EPM
538662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53867
53868 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53869
cc9f2e47
UD
538702010-07-16 Ulrich Drepper <drepper@redhat.com>
53871
53872 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53873 call in strcasestr.
53874 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53875 __strcasestr_sse42_nonascii.
53876 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53877 strcasestr-nonascii.c.
53878 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53879
77c1b069
LM
538802010-06-15 Luis Machado <luisgpm@br.ibm.com>
53881
53882 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53883 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53884 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53885 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53886
440566c3
UD
538872010-07-09 Ulrich Drepper <drepper@redhat.com>
53888
53889 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53890 fcntl.
53891
5be9d05d
AS
538922010-07-06 Andreas Schwab <schwab@redhat.com>
53893
c30b7ee2 53894 [BZ #11577]
5be9d05d
AS
53895 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53896 dl_signal_cerror.
53897
8a492a67
UD
538982010-07-06 Ulrich Drepper <drepper@redhat.com>
53899
53900 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53901 _PC_PIPE_BUF using F_GETPIPE_SZ.
53902
713df3d5
RM
539032010-07-05 Roland McGrath <roland@redhat.com>
53904
53905 * manual/arith.texi (Rounding Functions): Fix rint description
53906 implicit in round description.
53907
702e8f14
UD
539082010-07-02 Ulrich Drepper <drepper@redhat.com>
53909
53910 * elf/Makefile: Fix linking for a few tests to make recent linker
53911 happy.
53912
52ed8be9
AS
539132010-06-30 Andreas Schwab <schwab@redhat.com>
53914
53915 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53916 $(common-objpfx)libc_nonshared.a.
53917
f47c9a11
LM
539182010-06-21 Luis Machado <luisgpm@br.ibm.com>
53919
53920 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53921 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53922 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53923 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53924 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53925 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53926 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53927 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53942 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53943 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53944 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53945 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53946 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53947 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53948 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53949 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53950 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53951 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53952 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53953 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53968
6fb8cbcb
L
539692010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53970
53971 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53972 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53973 * string/memmove.c (memmove): Renamed to ...
53974 (MEMMOVE): ...this. Default to memmove.
53975 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53976 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53977 (END_CHK): Define.
53978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53979 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53980 mempcpy-ssse3-back memmove-ssse3-back.
53981 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53982 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53983 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53984 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53985 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53986 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53987 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53988 * sysdeps/x86_64/multiarch/memmove.c: New file.
53989 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53990 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53991 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53992 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53993 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53994 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53995 Define.
53996 (index_Fast_Copy_Backward): Define.
53997 (HAS_ARCH_FEATURE): Define.
53998 (HAS_FAST_REP_STRING): Define.
53999 (HAS_FAST_COPY_BACKWARD): Define.
54000
4e733bac 540012010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
54002
54003 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54004 Restore proper fallback handling.
54005
63c4ed22
UD
540062010-06-19 Ulrich Drepper <drepper@redhat.com>
54007
ac2b484c
UD
54008 [BZ #11701]
54009 * posix/group_member.c (__group_member): Correct checking loop.
54010
63c4ed22
UD
54011 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54012 OOM in getpwuid_r correctly. Return error number when the caller
54013 should return, otherwise -1.
54014 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54015 call returning > 0 value.
54016 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54017
765ade4b
AS
540182010-06-07 Andreas Schwab <schwab@redhat.com>
54019
54020 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54021 libc_nonshared.a from targets in modules-names.
54022
80da2e09
KS
540232010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
54024
54025 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54026 requires it.
54027
158db122
LM
540282010-06-10 Luis Machado <luisgpm@br.ibm.com>
54029
54030 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54031 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54032 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54033 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54034
caa78cf8
AS
540352010-06-02 Andreas Schwab <schwab@redhat.com>
54036
54037 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54038
b2ef2c01
UD
540392010-06-14 Ulrich Drepper <drepper@redhat.com>
54040
54041 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54042 and F_GETPIPE_SZ.
54043 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54044 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54045 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54046 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54047 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54048 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54049
fbd643b6
RM
540502010-06-14 Roland McGrath <roland@redhat.com>
54051
54052 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54053
f32f2869
JJ
540542010-06-07 Jakub Jelinek <jakub@redhat.com>
54055
54056 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54057 __REDIRECT followed by __THROW.
54058 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54059 * posix/getopt.h (getopt): Likewise.
54060
2a50c078
EPM
540612010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54062
54063 * hurd/lookup-at.c (__file_name_lookup_at): Accept
54064 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
54065 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54066 in AT_FLAGS.
54067 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54068 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54069
eb5ad2eb
LM
540702010-05-28 Luis Machado <luisgpm@br.ibm.com>
54071
54072 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54073
3c88fe1e
L
540742010-05-26 H.J. Lu <hongjiu.lu@intel.com>
54075
54076 [BZ #11640]
54077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54078 Properly check family and model.
54079
d2f73151
TY
540802010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
54081
54082 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54083
ebd2e13d
LM
540842010-05-24 Luis Machado <luisgpm@br.ibm.com>
54085
54086 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54087
b32b8b45
UD
540882010-05-21 Ulrich Drepper <drepper@redhat.com>
54089
54090 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54091 symbol reference.
54092
9acbe24d
AS
540932010-05-19 Andreas Schwab <schwab@redhat.com>
54094
54095 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54096 symbol reference.
54097
f0ccf6ea
AS
540982010-05-21 Andreas Schwab <schwab@redhat.com>
54099
3d04ff3a
AS
54100 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54101 and internal_recvmmsg.
54102 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54103 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54104 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54105 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54106
f0ccf6ea
AS
54107 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54108 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54109 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54110
5b08ac57
AS
541112010-05-20 Andreas Schwab <schwab@redhat.com>
54112
54113 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54114
4828935d
LM
541152010-05-17 Luis Machado <luisgpm@br.ibm.com>
54116
54117 POWER7 optimizations.
54118 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54119 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54120
373d545e
UD
541212010-05-19 Ulrich Drepper <drepper@redhat.com>
54122
54123 * version.h: Update for 2.13 development version.
54124
21a2b1ae
AS
541252010-05-12 Andrew Stubbs <ams@codesourcery.com>
54126
54127 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54128 exceptions. Return 0.
54129
3f7dcb2b
RM
541302010-05-07 Roland McGrath <roland@redhat.com>
54131
54132 * elf/ldconfig.c (main): Add a const.
54133
5f24d53a 541342010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 54135
a160f8d8
UD
54136 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54137 (args_options): Add no-idn option.
54138 (ahosts_keys_int): Add idn_flags to ai_flags.
54139 (parse_option): Handle 'i' option to clear idn_flags.
54140
5f24d53a
UD
54141 * malloc/malloc.c (_int_free): Possible race in the most recently
54142 added check. Only act on the data if no current modification
54143 happened.
265bb1ce
UD
54144
54145See ChangeLog.17 for earlier changes.
This page took 7.832689 seconds and 5 git commands to generate.